1.0.16 • Published 2 years ago
@asurraa/sura-ui-utilities v1.0.16
@asurraa/sura-ui-utilities
Utilities functions!
yarn add @asurraa/sura-ui-utilities
Utilities as Kanban
Name | Description |
---|---|
getBlockStringInput | Block 100% string in Input Number. |
getCalculatorForDate | Generate Days From Month. |
getCheckIsEditableOrNot | Check weather editable true or not. |
getCheckIsExpiredToken | Check weather Token is expired. |
getCurrentDate | Get Current Date from Moments. |
getDateFormate | Generate Date Base on Date & Time. |
getDeleteValueFromObjectAndArray | Delete and exclude value from obj and array. |
getEnumToArray | Generate Enumeration to Array. |
getFindReturnSingleArrayObj | Generate Enumeration to Array. |
getFixNumberSeparator | Check Weather Developments is Production or developments. |
getGenerateColumnTableKey | Generate key To avoid the collisions so we consider to use timestamp. |
getGenerateLoopNumberOutArray | Generate Loop out from Array |
getIsImageUrlIsValid | Check wether image is valid or not |
getIsProductionMode | Check Weather Developments is Production or developments. |
getPhraseValidityToMonth | Generate Day from Month. |
getPushRouteNewTab | Get push route by window object. |
getQueryDataDetail | A utility that return full data as obj using search of. |
getRemoveStringWhiteSpace | Get remove white space from string. |
getRenderStatusColor | Generate render color from STATUS |
getReturnZeroWhenUndefine | Generate 0 when data is undefine |
getStringAndArray | Generate array to string & string to array |
getToFixNumberType | Generate 2 Precision for number |
getReturnEmptyTag | Generate Empty Tag when data is empty |
getTrimColumnWithDateTime | Trim date format to only date |
logger | log of asurraa |