This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Iranian National Code - For Humans | |
checkIranianNationalCode(id: string): any { | |
if(id.length != 10) { | |
return false; | |
} | |
const outputNumber = []; | |
for (var i = 0, len = id.length - 1; i < len; i += 1) { | |
if(+id.charAt(i) == NaN) { | |
return false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Property | Default Value | Options | Description | |
---|---|---|---|---|
emptyLabel | No results found | string | label for no result found after search | |
searchBoxPlaceholder | Search ... | string | `placeholder` for search box | |
maximumResultForShow | 30 | number | For better performance (especially in mobile), you must set maximum record for showing the records | |
valueMember | id | string | when your value is an object, it must be defined | |
displayMember | name | string | for searching, it must be defined | |
maxWidthForMobileView | 599.9 | number | unit is px | |
useMobileView | TRUE | boolean | if this value is true and your screen width is less than value of maxWidthForMobileView, 'mat-select' Will be displayed in 'FullScreen' or 'Bottom Sheet' | |
mobileViewType | 'FullScreen' | 'BottomSheet' | string | ||
lazyLoad | FALSE | boolean | for use searcher function, it must be true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$spacer: 1; | |
$unit: rem; | |
/* ----- Margin Classes ----- */ | |
.m-auto { margin: auto !important; } | |
.mx-auto { margin: 0 auto !important; } | |
.my-auto { margin: auto 0 !important; } | |
.m-0 { margin: 0 !important; } | |
.mt-0 { margin-top: 0 !important; } |