nira-falcon 0.1.25 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/environments/environment.d.ts +4 -0
- package/esm2022/environments/environment.mjs +7 -0
- package/esm2022/lib/core-auto-complete/core-auto-complete.component.mjs +82 -0
- package/esm2022/lib/core-btn/core-btn.component.mjs +71 -0
- package/esm2022/lib/core-card/core-card.component.mjs +16 -0
- package/esm2022/lib/core-checkbox/core-checkbox.component.mjs +33 -0
- package/esm2022/lib/core-confirm-dialog/core-confirm-dialog.component.mjs +31 -0
- package/esm2022/lib/core-date-picker/core-date-picker.component.mjs +50 -0
- package/esm2022/lib/core-input/core-input.component.mjs +136 -0
- package/esm2022/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.mjs +28 -0
- package/esm2022/lib/core-multi-select/core-multi-select.component.mjs +145 -0
- package/esm2022/lib/core-number/core-number.component.mjs +64 -0
- package/esm2022/lib/core-page-title/core-page-title.component.mjs +19 -0
- package/esm2022/lib/core-radio-buttons/core-radio-buttons.component.mjs +75 -0
- package/esm2022/lib/core-search-box/core-search-box.component.mjs +25 -0
- package/esm2022/lib/core-select/core-select.component.mjs +96 -0
- package/esm2022/lib/core-spinner/core-spinner.component.mjs +23 -0
- package/esm2022/lib/core-switch/core-switch.component.mjs +33 -0
- package/esm2022/lib/core-table/core-column-date-picker/core-column-date-picker.component.mjs +62 -0
- package/esm2022/lib/core-table/core-column-input/core-column-input.component.mjs +43 -0
- package/esm2022/lib/core-table/core-column-selector/core-column-selector.component.mjs +100 -0
- package/esm2022/lib/core-table/core-row-pelak/core-row-pelak.component.mjs +21 -0
- package/esm2022/lib/core-table/core-table/core-table.component.mjs +182 -0
- package/esm2022/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.mjs +34 -0
- package/esm2022/lib/core-table/core-table-action-column/core-table-action-column.component.mjs +27 -0
- package/esm2022/lib/core-table/core-table-card-manager/core-table-card-manager.component.mjs +84 -0
- package/esm2022/lib/core-table/core-table-color-column/core-table-color-column.component.mjs +23 -0
- package/esm2022/lib/core-table/core-table-column-manager/core-table-column-manager.component.mjs +86 -0
- package/esm2022/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.mjs +29 -0
- package/esm2022/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.mjs +82 -0
- package/esm2022/lib/core-table/core-table-no-content/core-table-no-content.component.mjs +23 -0
- package/esm2022/lib/core-table/core-table-no-content/core-table-no-content.label.mjs +9 -0
- package/esm2022/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.mjs +68 -0
- package/esm2022/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.mjs +34 -0
- package/esm2022/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.mjs +20 -0
- package/esm2022/lib/core-table/core-table-status-column/core-table-status-column.component.mjs +18 -0
- package/esm2022/lib/core-textarea/core-textarea.component.mjs +47 -0
- package/esm2022/lib/core-time-picker/core-time-picker.component.mjs +118 -0
- package/esm2022/lib/core-time-picker/time-picker-modal/time-picker-modal.component.mjs +147 -0
- package/esm2022/lib/falcon-lib.module.mjs +255 -0
- package/esm2022/lib/falconTypes.mjs +9 -0
- package/esm2022/lib/pipes/digit-group.pipe.mjs +16 -0
- package/esm2022/lib/pipes/form-control.pipe.mjs +16 -0
- package/esm2022/lib/pipes/persian-digits.pipe.mjs +40 -0
- package/esm2022/lib/pipes/price-format.pipe.mjs +23 -0
- package/esm2022/lib/pipes/shamsi-date.pipe.mjs +24 -0
- package/esm2022/lib/pipes/time-format.pipe.mjs +28 -0
- package/esm2022/lib/pipes/weight.pipe.mjs +16 -0
- package/esm2022/lib/wordify.mjs +109 -0
- package/esm2022/nira-falcon.mjs +5 -0
- package/esm2022/public-api.mjs +31 -0
- package/esm2022/svg-icon/arrow-down-icon/arrow-down-icon.component.mjs +11 -0
- package/esm2022/svg-icon/calendar-icon/calendar-icon.component.mjs +11 -0
- package/esm2022/svg-icon/caret-up-icon/caret-up-icon.component.mjs +11 -0
- package/esm2022/svg-icon/close-icon/close-icon.component.mjs +11 -0
- package/esm2022/svg-icon/edit-square-icon/edit-square-icon.component.mjs +11 -0
- package/esm2022/svg-icon/pelak-icon/pelak-icon.component.mjs +11 -0
- package/esm2022/svg-icon/search-icon/search-icon.component.mjs +11 -0
- package/esm2022/svg-icon/sort-down-icon/sort-down-icon.component.mjs +11 -0
- package/esm2022/svg-icon/sort-solid-icon/sort-solid-icon.component.mjs +11 -0
- package/esm2022/svg-icon/sort-up-icon/sort-up-icon.component.mjs +11 -0
- package/esm2022/svg-icon/time-icon/time-icon.component.mjs +11 -0
- package/esm2022/svg-icon/warning-icon/warning-icon.component.mjs +11 -0
- package/esm2022/utils/constants.mjs +185 -0
- package/esm2022/utils/directives/detail-viewer-manager.directive.mjs +71 -0
- package/esm2022/utils/directives/table-detail-viewer-manager.directive.mjs +49 -0
- package/esm2022/utils/util.mjs +26 -0
- package/fesm2022/nira-falcon.mjs +2905 -0
- package/fesm2022/nira-falcon.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/core-auto-complete/core-auto-complete.component.d.ts +30 -0
- package/lib/core-btn/core-btn.component.d.ts +23 -0
- package/lib/core-card/core-card.component.d.ts +6 -0
- package/lib/core-checkbox/core-checkbox.component.d.ts +13 -0
- package/lib/core-confirm-dialog/core-confirm-dialog.component.d.ts +14 -0
- package/lib/core-date-picker/core-date-picker.component.d.ts +21 -0
- package/lib/core-input/core-input.component.d.ts +29 -0
- package/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.d.ts +11 -0
- package/lib/core-multi-select/core-multi-select.component.d.ts +43 -0
- package/lib/core-number/core-number.component.d.ts +12 -0
- package/lib/core-page-title/core-page-title.component.d.ts +7 -0
- package/lib/core-radio-buttons/core-radio-buttons.component.d.ts +29 -0
- package/lib/core-search-box/core-search-box.component.d.ts +10 -0
- package/lib/core-select/core-select.component.d.ts +37 -0
- package/lib/core-spinner/core-spinner.component.d.ts +9 -0
- package/lib/core-switch/core-switch.component.d.ts +17 -0
- package/lib/core-table/core-column-date-picker/core-column-date-picker.component.d.ts +21 -0
- package/lib/core-table/core-column-input/core-column-input.component.d.ts +16 -0
- package/lib/core-table/core-column-selector/core-column-selector.component.d.ts +35 -0
- package/lib/core-table/core-row-pelak/core-row-pelak.component.d.ts +8 -0
- package/lib/core-table/core-table/core-table.component.d.ts +42 -0
- package/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.d.ts +11 -0
- package/lib/core-table/core-table-action-column/core-table-action-column.component.d.ts +11 -0
- package/lib/core-table/core-table-card-manager/core-table-card-manager.component.d.ts +24 -0
- package/lib/core-table/core-table-color-column/core-table-color-column.component.d.ts +9 -0
- package/lib/core-table/core-table-column-manager/core-table-column-manager.component.d.ts +24 -0
- package/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.d.ts +11 -0
- package/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.d.ts +22 -0
- package/lib/core-table/core-table-no-content/core-table-no-content.component.d.ts +9 -0
- package/lib/core-table/core-table-no-content/core-table-no-content.label.d.ts +5 -0
- package/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.d.ts +14 -0
- package/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.d.ts +13 -0
- package/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.d.ts +8 -0
- package/lib/core-table/core-table-status-column/core-table-status-column.component.d.ts +7 -0
- package/lib/core-textarea/core-textarea.component.d.ts +13 -0
- package/lib/core-time-picker/core-time-picker.component.d.ts +26 -0
- package/lib/core-time-picker/time-picker-modal/time-picker-modal.component.d.ts +35 -0
- package/lib/falcon-lib.module.d.ts +67 -0
- package/lib/falconTypes.d.ts +24 -0
- package/lib/pipes/digit-group.pipe.d.ts +7 -0
- package/lib/pipes/form-control.pipe.d.ts +8 -0
- package/lib/pipes/persian-digits.pipe.d.ts +7 -0
- package/lib/pipes/price-format.pipe.d.ts +7 -0
- package/lib/pipes/shamsi-date.pipe.d.ts +9 -0
- package/lib/pipes/time-format.pipe.d.ts +7 -0
- package/lib/pipes/weight.pipe.d.ts +7 -0
- package/lib/wordify.d.ts +2 -0
- package/package.json +26 -13
- package/{src/public-api.ts → public-api.d.ts} +27 -31
- package/svg-icon/arrow-down-icon/arrow-down-icon.component.d.ts +5 -0
- package/svg-icon/calendar-icon/calendar-icon.component.d.ts +5 -0
- package/svg-icon/caret-up-icon/caret-up-icon.component.d.ts +5 -0
- package/svg-icon/close-icon/close-icon.component.d.ts +5 -0
- package/svg-icon/edit-square-icon/edit-square-icon.component.d.ts +5 -0
- package/svg-icon/pelak-icon/pelak-icon.component.d.ts +5 -0
- package/svg-icon/search-icon/search-icon.component.d.ts +5 -0
- package/svg-icon/sort-down-icon/sort-down-icon.component.d.ts +5 -0
- package/svg-icon/sort-solid-icon/sort-solid-icon.component.d.ts +5 -0
- package/svg-icon/sort-up-icon/sort-up-icon.component.d.ts +5 -0
- package/svg-icon/time-icon/time-icon.component.d.ts +5 -0
- package/svg-icon/warning-icon/warning-icon.component.d.ts +5 -0
- package/utils/constants.d.ts +71 -0
- package/utils/directives/detail-viewer-manager.directive.d.ts +18 -0
- package/utils/directives/table-detail-viewer-manager.directive.d.ts +16 -0
- package/utils/util.d.ts +11 -0
- package/ng-package.json +0 -7
- package/package copy.json +0 -13
- package/src/assets/images/hub-dashboard-title-bg.png +0 -0
- package/src/assets/images/iran.png +0 -0
- package/src/environments/environment.ts +0 -7
- package/src/lib/core-auto-complete/core-auto-complete.component.html +0 -30
- package/src/lib/core-auto-complete/core-auto-complete.component.scss +0 -89
- package/src/lib/core-auto-complete/core-auto-complete.component.ts +0 -92
- package/src/lib/core-btn/core-btn-bluebird.component.html +0 -21
- package/src/lib/core-btn/core-btn-bluebird.component.scss +0 -123
- package/src/lib/core-btn/core-btn-falcon.component.html +0 -20
- package/src/lib/core-btn/core-btn-falcon.component.scss +0 -115
- package/src/lib/core-btn/core-btn.component.ts +0 -54
- package/src/lib/core-card/core-card.component.html +0 -3
- package/src/lib/core-card/core-card.component.scss +0 -0
- package/src/lib/core-card/core-card.component.ts +0 -10
- package/src/lib/core-checkbox/core-checkbox.component.html +0 -9
- package/src/lib/core-checkbox/core-checkbox.component.scss +0 -60
- package/src/lib/core-checkbox/core-checkbox.component.ts +0 -19
- package/src/lib/core-confirm-dialog/core-confirm-dialog.component.html +0 -28
- package/src/lib/core-confirm-dialog/core-confirm-dialog.component.scss +0 -131
- package/src/lib/core-confirm-dialog/core-confirm-dialog.component.ts +0 -29
- package/src/lib/core-date-picker/core-date-picker-bluebird.component.html +0 -15
- package/src/lib/core-date-picker/core-date-picker-bluebird.component.scss +0 -0
- package/src/lib/core-date-picker/core-date-picker-falcon.component.html +0 -14
- package/src/lib/core-date-picker/core-date-picker-falcon.component.scss +0 -0
- package/src/lib/core-date-picker/core-date-picker.component.ts +0 -44
- package/src/lib/core-input/core-input-bluebird.component.html +0 -95
- package/src/lib/core-input/core-input-bluebird.component.scss +0 -152
- package/src/lib/core-input/core-input-falcon.component.html +0 -90
- package/src/lib/core-input/core-input-falcon.component.scss +0 -141
- package/src/lib/core-input/core-input.component.ts +0 -112
- package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.html +0 -3
- package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.scss +0 -15
- package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.ts +0 -19
- package/src/lib/core-multi-select/core-multi-select.component.html +0 -41
- package/src/lib/core-multi-select/core-multi-select.component.scss +0 -119
- package/src/lib/core-multi-select/core-multi-select.component.ts +0 -139
- package/src/lib/core-number/core-number.component.html +0 -3
- package/src/lib/core-number/core-number.component.scss +0 -1
- package/src/lib/core-number/core-number.component.ts +0 -45
- package/src/lib/core-page-title/core-page-title.component.html +0 -14
- package/src/lib/core-page-title/core-page-title.component.scss +0 -16
- package/src/lib/core-page-title/core-page-title.component.ts +0 -11
- package/src/lib/core-radio-buttons/core-radio-buttons.component.html +0 -17
- package/src/lib/core-radio-buttons/core-radio-buttons.component.scss +0 -46
- package/src/lib/core-radio-buttons/core-radio-buttons.component.spec.ts +0 -21
- package/src/lib/core-radio-buttons/core-radio-buttons.component.ts +0 -64
- package/src/lib/core-search-box/core-search-box.component.html +0 -14
- package/src/lib/core-search-box/core-search-box.component.scss +0 -37
- package/src/lib/core-search-box/core-search-box.component.ts +0 -15
- package/src/lib/core-select/core-select-bluebird.component.html +0 -57
- package/src/lib/core-select/core-select-bluebird.component.scss +0 -129
- package/src/lib/core-select/core-select-falcon.component.html +0 -56
- package/src/lib/core-select/core-select-falcon.component.scss +0 -123
- package/src/lib/core-select/core-select.component.spec.ts +0 -21
- package/src/lib/core-select/core-select.component.ts +0 -93
- package/src/lib/core-spinner/core-spinner.component.html +0 -14
- package/src/lib/core-spinner/core-spinner.component.scss +0 -162
- package/src/lib/core-spinner/core-spinner.component.ts +0 -13
- package/src/lib/core-switch/core-switch.component.html +0 -13
- package/src/lib/core-switch/core-switch.component.scss +0 -58
- package/src/lib/core-switch/core-switch.component.spec.ts +0 -21
- package/src/lib/core-switch/core-switch.component.ts +0 -28
- package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.html +0 -21
- package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.scss +0 -3
- package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.ts +0 -55
- package/src/lib/core-table/core-column-input/core-column-input.component.html +0 -17
- package/src/lib/core-table/core-column-input/core-column-input.component.scss +0 -21
- package/src/lib/core-table/core-column-input/core-column-input.component.ts +0 -23
- package/src/lib/core-table/core-column-selector/core-column-selector.component.html +0 -47
- package/src/lib/core-table/core-column-selector/core-column-selector.component.scss +0 -113
- package/src/lib/core-table/core-column-selector/core-column-selector.component.ts +0 -94
- package/src/lib/core-table/core-row-pelak/core-row-pelak.component.html +0 -12
- package/src/lib/core-table/core-row-pelak/core-row-pelak.component.scss +0 -21
- package/src/lib/core-table/core-row-pelak/core-row-pelak.component.ts +0 -12
- package/src/lib/core-table/core-table/core-table.component.html +0 -168
- package/src/lib/core-table/core-table/core-table.component.scss +0 -65
- package/src/lib/core-table/core-table/core-table.component.ts +0 -179
- package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.html +0 -10
- package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.scss +0 -3
- package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.ts +0 -24
- package/src/lib/core-table/core-table-action-column/core-table-action-column.component.html +0 -6
- package/src/lib/core-table/core-table-action-column/core-table-action-column.component.scss +0 -3
- package/src/lib/core-table/core-table-action-column/core-table-action-column.component.ts +0 -19
- package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.html +0 -94
- package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.scss +0 -0
- package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.ts +0 -58
- package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.html +0 -99
- package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.scss +0 -0
- package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.ts +0 -59
- package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.html +0 -5
- package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.scss +0 -8
- package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.ts +0 -28
- package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.html +0 -24
- package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.scss +0 -10
- package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.ts +0 -76
- package/src/lib/core-table/core-table-no-content/core-table-no-content.component.html +0 -6
- package/src/lib/core-table/core-table-no-content/core-table-no-content.component.scss +0 -7
- package/src/lib/core-table/core-table-no-content/core-table-no-content.component.ts +0 -14
- package/src/lib/core-table/core-table-no-content/core-table-no-content.label.ts +0 -14
- package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.html +0 -5
- package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.scss +0 -0
- package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.ts +0 -60
- package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.html +0 -3
- package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.scss +0 -0
- package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.ts +0 -24
- package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.html +0 -3
- package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.scss +0 -14
- package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.ts +0 -14
- package/src/lib/core-table/core-table-status-column/core-table-status-column.component.html +0 -3
- package/src/lib/core-table/core-table-status-column/core-table-status-column.component.scss +0 -14
- package/src/lib/core-table/core-table-status-column/core-table-status-column.component.ts +0 -11
- package/src/lib/core-textarea/core-textarea.component.html +0 -18
- package/src/lib/core-textarea/core-textarea.component.scss +0 -62
- package/src/lib/core-textarea/core-textarea.component.ts +0 -31
- package/src/lib/core-time-picker/core-time-picker.component.html +0 -51
- package/src/lib/core-time-picker/core-time-picker.component.scss +0 -144
- package/src/lib/core-time-picker/core-time-picker.component.ts +0 -102
- package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.html +0 -50
- package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.scss +0 -424
- package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.spec.ts +0 -21
- package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.ts +0 -172
- package/src/lib/falcon-lib.module.ts +0 -157
- package/src/lib/falconTypes.ts +0 -35
- package/src/lib/pipes/digit-group.pipe.ts +0 -10
- package/src/lib/pipes/form-control.pipe.ts +0 -11
- package/src/lib/pipes/persian-digits.pipe.ts +0 -33
- package/src/lib/pipes/price-format.pipe.ts +0 -20
- package/src/lib/pipes/shamsi-date.pipe.ts +0 -24
- package/src/lib/pipes/time-format.pipe.ts +0 -21
- package/src/lib/pipes/weight.pipe.ts +0 -10
- package/src/lib/wordify.ts +0 -116
- package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.html +0 -8
- package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.scss +0 -0
- package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.ts +0 -8
- package/src/svg-icon/calendar-icon/calendar-icon.component.html +0 -10
- package/src/svg-icon/calendar-icon/calendar-icon.component.scss +0 -0
- package/src/svg-icon/calendar-icon/calendar-icon.component.ts +0 -8
- package/src/svg-icon/caret-up-icon/caret-up-icon.component.html +0 -16
- package/src/svg-icon/caret-up-icon/caret-up-icon.component.scss +0 -0
- package/src/svg-icon/caret-up-icon/caret-up-icon.component.ts +0 -10
- package/src/svg-icon/close-icon/close-icon.component.html +0 -10
- package/src/svg-icon/close-icon/close-icon.component.scss +0 -0
- package/src/svg-icon/close-icon/close-icon.component.ts +0 -8
- package/src/svg-icon/edit-square-icon/edit-square-icon.component.html +0 -10
- package/src/svg-icon/edit-square-icon/edit-square-icon.component.scss +0 -0
- package/src/svg-icon/edit-square-icon/edit-square-icon.component.ts +0 -8
- package/src/svg-icon/pelak-icon/pelak-icon.component.html +0 -32
- package/src/svg-icon/pelak-icon/pelak-icon.component.scss +0 -0
- package/src/svg-icon/pelak-icon/pelak-icon.component.ts +0 -8
- package/src/svg-icon/search-icon/search-icon.component.html +0 -10
- package/src/svg-icon/search-icon/search-icon.component.scss +0 -0
- package/src/svg-icon/search-icon/search-icon.component.spec.ts +0 -21
- package/src/svg-icon/search-icon/search-icon.component.ts +0 -8
- package/src/svg-icon/sort-down-icon/sort-down-icon.component.html +0 -5
- package/src/svg-icon/sort-down-icon/sort-down-icon.component.scss +0 -0
- package/src/svg-icon/sort-down-icon/sort-down-icon.component.ts +0 -10
- package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.html +0 -5
- package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.scss +0 -0
- package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.ts +0 -8
- package/src/svg-icon/sort-up-icon/sort-up-icon.component.html +0 -5
- package/src/svg-icon/sort-up-icon/sort-up-icon.component.scss +0 -0
- package/src/svg-icon/sort-up-icon/sort-up-icon.component.ts +0 -8
- package/src/svg-icon/time-icon/time-icon.component.html +0 -10
- package/src/svg-icon/time-icon/time-icon.component.scss +0 -0
- package/src/svg-icon/time-icon/time-icon.component.ts +0 -8
- package/src/svg-icon/warning-icon/warning-icon.component.html +0 -10
- package/src/svg-icon/warning-icon/warning-icon.component.scss +0 -0
- package/src/svg-icon/warning-icon/warning-icon.component.ts +0 -10
- package/src/utils/constants.ts +0 -182
- package/src/utils/directives/detail-viewer-manager.directive.ts +0 -78
- package/src/utils/directives/filterTableDirective.ts +0 -36
- package/src/utils/directives/table-detail-viewer-manager.directive.ts +0 -57
- package/src/utils/interfaces.ts +0 -0
- package/src/utils/jsonparser.ts +0 -49
- package/src/utils/links.ts +0 -67
- package/src/utils/toast.ts +0 -35
- package/src/utils/types.ts +0 -20
- package/src/utils/util.ts +0 -32
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CoreBtnComponent } from './core-btn/core-btn.component';
|
|
3
|
-
import { CoreSpinnerComponent } from './core-spinner/core-spinner.component';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { CoreAutoCompleteComponent } from './core-auto-complete/core-auto-complete.component';
|
|
6
|
-
import { CoreCardComponent } from './core-card/core-card.component';
|
|
7
|
-
import { CoreCheckboxComponent } from './core-checkbox/core-checkbox.component';
|
|
8
|
-
import { CoreConfirmDialogComponent } from './core-confirm-dialog/core-confirm-dialog.component';
|
|
9
|
-
import { CoreDatePickerComponent } from './core-date-picker/core-date-picker.component';
|
|
10
|
-
import { CoreInputComponent } from './core-input/core-input.component';
|
|
11
|
-
import { CorePageTitleComponent } from './core-page-title/core-page-title.component';
|
|
12
|
-
import { CoreRadioButtonsComponent } from './core-radio-buttons/core-radio-buttons.component';
|
|
13
|
-
import { CoreSearchBoxComponent } from './core-search-box/core-search-box.component';
|
|
14
|
-
import { CoreSelectComponent } from './core-select/core-select.component';
|
|
15
|
-
import { CoreSwitchComponent } from './core-switch/core-switch.component';
|
|
16
|
-
import { CoreTableComponent } from './core-table/core-table/core-table.component';
|
|
17
|
-
import { CoreColumnDatePickerComponent } from './core-table/core-column-date-picker/core-column-date-picker.component';
|
|
18
|
-
import { CoreColumnInputComponent } from './core-table/core-column-input/core-column-input.component';
|
|
19
|
-
import { CoreColumnSelectorComponent } from './core-table/core-column-selector/core-column-selector.component';
|
|
20
|
-
import { CoreTableActionButtonsColumnComponent } from './core-table/core-table-action-buttons-column/core-table-action-buttons-column.component';
|
|
21
|
-
import { CoreTableActionColumnComponent } from './core-table/core-table-action-column/core-table-action-column.component';
|
|
22
|
-
import { CoreTableCardManagerComponent } from './core-table/core-table-card-manager/core-table-card-manager.component';
|
|
23
|
-
import { CoreTableColumnManagerComponent } from './core-table/core-table-column-manager/core-table-column-manager.component';
|
|
24
|
-
import { CoreTableFilterDialogComponent } from './core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component';
|
|
25
|
-
import { CoreTableNoContentComponent } from './core-table/core-table-no-content/core-table-no-content.component';
|
|
26
|
-
import { CoreTableRowSelectorColumnComponent } from './core-table/core-table-row-selector-column/core-table-row-selector-column.component';
|
|
27
|
-
import { CoreTableShamsiDateComponent } from './core-table/core-table-shamsi-date/core-table-shamsi-date.component';
|
|
28
|
-
import { CoreTableStatusColumnComponent } from './core-table/core-table-status-column/core-table-status-column.component';
|
|
29
|
-
import { CoreTextareaComponent } from './core-textarea/core-textarea.component';
|
|
30
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
31
|
-
import { SearchIconComponent } from '../svg-icon/search-icon/search-icon.component';
|
|
32
|
-
import { CloseIconComponent } from '../svg-icon/close-icon/close-icon.component';
|
|
33
|
-
import { NiraSnackBarModule } from 'nira-snack-bar';
|
|
34
|
-
import { NiraDatePickerModule } from 'nira-date-picker';
|
|
35
|
-
import { CoreTimePickerComponent } from './core-time-picker/core-time-picker.component';
|
|
36
|
-
import { TimePickerModalComponent } from './core-time-picker/time-picker-modal/time-picker-modal.component';
|
|
37
|
-
import { WarningIconComponent } from '../svg-icon/warning-icon/warning-icon.component';
|
|
38
|
-
import { EditSquareIconComponent } from '../svg-icon/edit-square-icon/edit-square-icon.component';
|
|
39
|
-
import { SortDownIconComponent } from '../svg-icon/sort-down-icon/sort-down-icon.component';
|
|
40
|
-
import { SortSolidIconComponent } from '../svg-icon/sort-solid-icon/sort-solid-icon.component';
|
|
41
|
-
import { SortUpIconComponent } from '../svg-icon/sort-up-icon/sort-up-icon.component';
|
|
42
|
-
import { TimeIconComponent } from '../svg-icon/time-icon/time-icon.component';
|
|
43
|
-
import { CoreNumberComponent } from './core-number/core-number.component';
|
|
44
|
-
import { CaretUpIconComponent } from '../svg-icon/caret-up-icon/caret-up-icon.component';
|
|
45
|
-
import { TableDetailViewerManagerDirective } from '../utils/directives/table-detail-viewer-manager.directive';
|
|
46
|
-
import { CoreTableStatusActiveColumnComponent } from './core-table/core-table-status-active-column/core-table-status-active-column.component';
|
|
47
|
-
import { CoreRowPelakComponent } from './core-table/core-row-pelak/core-row-pelak.component';
|
|
48
|
-
import { CoreTableDetailViewerForReportComponent } from './core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component';
|
|
49
|
-
import { DetailViewerManagerDirective } from '../utils/directives/detail-viewer-manager.directive';
|
|
50
|
-
import { PelakIconComponent } from '../svg-icon/pelak-icon/pelak-icon.component';
|
|
51
|
-
import { PersianDigitsPipe } from './pipes/persian-digits.pipe';
|
|
52
|
-
import { FormControlPipe } from './pipes/form-control.pipe';
|
|
53
|
-
import { DigitGroupPipe } from './pipes/digit-group.pipe';
|
|
54
|
-
import { PriceFormatPipe } from './pipes/price-format.pipe';
|
|
55
|
-
import { TimeFormatPipe } from './pipes/time-format.pipe';
|
|
56
|
-
import { WeightPipe } from './pipes/weight.pipe';
|
|
57
|
-
import { ShamsiDatePipe } from './pipes/shamsi-date.pipe';
|
|
58
|
-
import { CalendarIconComponent } from '../svg-icon/calendar-icon/calendar-icon.component';
|
|
59
|
-
import { ArrowDownIconComponent } from '../svg-icon/arrow-down-icon/arrow-down-icon.component';
|
|
60
|
-
import { CoreMultiSelectComponent } from './core-multi-select/core-multi-select.component';
|
|
61
|
-
import { CoreMultiSelectRowComponent } from './core-multi-select/core-multi-select-row/core-multi-select-row.component';
|
|
62
|
-
|
|
63
|
-
@NgModule({
|
|
64
|
-
declarations: [
|
|
65
|
-
CoreAutoCompleteComponent,
|
|
66
|
-
CoreBtnComponent,
|
|
67
|
-
CoreSearchBoxComponent,
|
|
68
|
-
CoreCheckboxComponent,
|
|
69
|
-
CoreDatePickerComponent,
|
|
70
|
-
CoreConfirmDialogComponent,
|
|
71
|
-
CoreInputComponent,
|
|
72
|
-
CorePageTitleComponent,
|
|
73
|
-
CoreRadioButtonsComponent,
|
|
74
|
-
CoreSearchBoxComponent,
|
|
75
|
-
CoreCardComponent,
|
|
76
|
-
CoreSelectComponent,
|
|
77
|
-
CoreSpinnerComponent,
|
|
78
|
-
CoreSwitchComponent,
|
|
79
|
-
CoreColumnDatePickerComponent,
|
|
80
|
-
CoreColumnInputComponent,
|
|
81
|
-
CoreColumnSelectorComponent,
|
|
82
|
-
CoreTableComponent,
|
|
83
|
-
CoreTableActionButtonsColumnComponent,
|
|
84
|
-
CoreTableActionColumnComponent,
|
|
85
|
-
CoreTableCardManagerComponent,
|
|
86
|
-
CoreTableColumnManagerComponent,
|
|
87
|
-
CoreTableFilterDialogComponent,
|
|
88
|
-
CoreTableNoContentComponent,
|
|
89
|
-
CoreTableRowSelectorColumnComponent,
|
|
90
|
-
CoreTableShamsiDateComponent,
|
|
91
|
-
CoreTableStatusColumnComponent,
|
|
92
|
-
TimePickerModalComponent,
|
|
93
|
-
CoreTextareaComponent,
|
|
94
|
-
CoreTimePickerComponent,
|
|
95
|
-
CoreNumberComponent,
|
|
96
|
-
PersianDigitsPipe,
|
|
97
|
-
FormControlPipe,
|
|
98
|
-
DigitGroupPipe,
|
|
99
|
-
PriceFormatPipe,
|
|
100
|
-
TimeFormatPipe,
|
|
101
|
-
ShamsiDatePipe,
|
|
102
|
-
WeightPipe,
|
|
103
|
-
SearchIconComponent,
|
|
104
|
-
CloseIconComponent,
|
|
105
|
-
WarningIconComponent,
|
|
106
|
-
EditSquareIconComponent,
|
|
107
|
-
SortDownIconComponent,
|
|
108
|
-
CaretUpIconComponent,
|
|
109
|
-
TimeIconComponent,
|
|
110
|
-
SortSolidIconComponent,
|
|
111
|
-
SortUpIconComponent,
|
|
112
|
-
PelakIconComponent,
|
|
113
|
-
CoreMultiSelectComponent,
|
|
114
|
-
CoreMultiSelectRowComponent,
|
|
115
|
-
TableDetailViewerManagerDirective,
|
|
116
|
-
DetailViewerManagerDirective,
|
|
117
|
-
CoreTableStatusActiveColumnComponent,
|
|
118
|
-
CoreRowPelakComponent,
|
|
119
|
-
CoreTableDetailViewerForReportComponent,
|
|
120
|
-
CalendarIconComponent,
|
|
121
|
-
ArrowDownIconComponent,
|
|
122
|
-
],
|
|
123
|
-
imports: [
|
|
124
|
-
CommonModule,
|
|
125
|
-
ReactiveFormsModule,
|
|
126
|
-
FormsModule,
|
|
127
|
-
NiraSnackBarModule,
|
|
128
|
-
NiraDatePickerModule,
|
|
129
|
-
],
|
|
130
|
-
exports: [
|
|
131
|
-
CoreAutoCompleteComponent,
|
|
132
|
-
CoreCardComponent,
|
|
133
|
-
CoreCheckboxComponent,
|
|
134
|
-
CoreDatePickerComponent,
|
|
135
|
-
CorePageTitleComponent,
|
|
136
|
-
CoreSelectComponent,
|
|
137
|
-
CoreRadioButtonsComponent,
|
|
138
|
-
CoreInputComponent,
|
|
139
|
-
CoreSpinnerComponent,
|
|
140
|
-
CoreSwitchComponent,
|
|
141
|
-
CoreMultiSelectComponent,
|
|
142
|
-
CoreTableComponent,
|
|
143
|
-
CoreBtnComponent,
|
|
144
|
-
CoreTimePickerComponent,
|
|
145
|
-
CoreNumberComponent,
|
|
146
|
-
CoreConfirmDialogComponent,
|
|
147
|
-
PersianDigitsPipe,
|
|
148
|
-
CoreSearchBoxComponent,
|
|
149
|
-
FormControlPipe,
|
|
150
|
-
DigitGroupPipe,
|
|
151
|
-
PriceFormatPipe,
|
|
152
|
-
ShamsiDatePipe,
|
|
153
|
-
TimeFormatPipe,
|
|
154
|
-
WeightPipe,
|
|
155
|
-
],
|
|
156
|
-
})
|
|
157
|
-
export class FalconLibModule {}
|
package/src/lib/falconTypes.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export type ThemePalette = 'square' | 'round';
|
|
2
|
-
export type ColorState =
|
|
3
|
-
| 'default'
|
|
4
|
-
| 'primary'
|
|
5
|
-
| 'success'
|
|
6
|
-
| 'warning'
|
|
7
|
-
| 'danger';
|
|
8
|
-
|
|
9
|
-
export type ButtonType = 'button';
|
|
10
|
-
|
|
11
|
-
export type LayoutRadioButtons = 'row' | 'column';
|
|
12
|
-
|
|
13
|
-
export type InputType = 'number' | 'password' | 'text';
|
|
14
|
-
|
|
15
|
-
export type MenuItem<T> = {
|
|
16
|
-
title: T;
|
|
17
|
-
value: T;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export type ButtonSize = 'xsmall' | 'small' | 'medium';
|
|
21
|
-
export type Color = 'White' | 'Orange' | 'Purple';
|
|
22
|
-
export type ConfirmDialog = {
|
|
23
|
-
title: string;
|
|
24
|
-
text: string;
|
|
25
|
-
confirmBtn: string;
|
|
26
|
-
cancelBtn: string;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export enum DetailViewers {
|
|
30
|
-
BILL = 'bill',
|
|
31
|
-
DRIVER = 'driver',
|
|
32
|
-
MANIFEST = 'manifest',
|
|
33
|
-
SERVICE = 'service',
|
|
34
|
-
VEHICLE = 'vehicle',
|
|
35
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Pipe({
|
|
4
|
-
name: 'digitGroup',
|
|
5
|
-
})
|
|
6
|
-
export class DigitGroupPipe implements PipeTransform {
|
|
7
|
-
transform(el: string | number): string {
|
|
8
|
-
return el.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
-
import { AbstractControl, FormControl } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
@Pipe({
|
|
5
|
-
name: 'formControl',
|
|
6
|
-
})
|
|
7
|
-
export class FormControlPipe implements PipeTransform {
|
|
8
|
-
transform(value: AbstractControl): FormControl<(typeof value)['value']> {
|
|
9
|
-
return value as FormControl<(typeof value)['value']>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Pipe({
|
|
4
|
-
name: 'persianDigits',
|
|
5
|
-
})
|
|
6
|
-
export class PersianDigitsPipe implements PipeTransform {
|
|
7
|
-
transform(el: number | string): string {
|
|
8
|
-
const persian: Record<number, string> = {
|
|
9
|
-
0: '۰',
|
|
10
|
-
1: '۱',
|
|
11
|
-
2: '۲',
|
|
12
|
-
3: '۳',
|
|
13
|
-
4: '۴',
|
|
14
|
-
5: '۵',
|
|
15
|
-
6: '۶',
|
|
16
|
-
7: '۷',
|
|
17
|
-
8: '۸',
|
|
18
|
-
9: '۹',
|
|
19
|
-
} as const;
|
|
20
|
-
|
|
21
|
-
if (el != undefined && el != '') {
|
|
22
|
-
let elements = el.toString();
|
|
23
|
-
let list = elements.match(/[0-9]/g);
|
|
24
|
-
if (list != null && list.length != 0) {
|
|
25
|
-
for (let i = 0; i < list.length; i++) {
|
|
26
|
-
elements = elements.replace(list[i], persian[Number(list[i])]);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
elements = elements.replace(/-/g, '/');
|
|
30
|
-
return elements;
|
|
31
|
-
} else return '';
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
// type Currency = 'RII' | 'T';
|
|
4
|
-
@Pipe({
|
|
5
|
-
name: 'priceFormat',
|
|
6
|
-
})
|
|
7
|
-
export class PriceFormatPipe implements PipeTransform {
|
|
8
|
-
transform(
|
|
9
|
-
value: string | number | undefined,
|
|
10
|
-
currency: string,
|
|
11
|
-
...args: unknown[]
|
|
12
|
-
): string {
|
|
13
|
-
if (currency == 'IRR') {
|
|
14
|
-
value = value + ' ریال ';
|
|
15
|
-
} else {
|
|
16
|
-
value = value + ' تومان ';
|
|
17
|
-
}
|
|
18
|
-
return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
-
import moment from 'jalali-moment';
|
|
3
|
-
type Format = 'HH:mm' | 'jYYYY/jMM/jDD' | 'jYYYY/jMM/jDD HH:mm';
|
|
4
|
-
@Pipe({
|
|
5
|
-
name: 'shamsiDate',
|
|
6
|
-
})
|
|
7
|
-
export class ShamsiDatePipe implements PipeTransform {
|
|
8
|
-
transform(
|
|
9
|
-
value: string | undefined,
|
|
10
|
-
format: Format | string,
|
|
11
|
-
...args: unknown[]
|
|
12
|
-
): string {
|
|
13
|
-
if (!value) return '';
|
|
14
|
-
const m = moment(
|
|
15
|
-
value,
|
|
16
|
-
value.length === 10
|
|
17
|
-
? 'YYYY-MM-DD'
|
|
18
|
-
: value.length === 16
|
|
19
|
-
? 'YYYY-MM-DD HH:mm'
|
|
20
|
-
: 'YYYY-MM-DD HH:mm:ss'
|
|
21
|
-
);
|
|
22
|
-
return m.format(format);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Pipe({
|
|
4
|
-
name: 'timeFormat',
|
|
5
|
-
})
|
|
6
|
-
export class TimeFormatPipe implements PipeTransform {
|
|
7
|
-
transform(value: number, ...args: unknown[]): string {
|
|
8
|
-
let hour = value / 60;
|
|
9
|
-
let result = '';
|
|
10
|
-
hour = value % 60 > 0 ? hour + 1 : hour;
|
|
11
|
-
if (hour >= 24) {
|
|
12
|
-
result = Number.parseInt(String(hour / 24)) + ' روز ';
|
|
13
|
-
if (Number.parseInt(String(hour % 24)) != 0) {
|
|
14
|
-
result = result + ', ' + Number.parseInt(String(hour % 24)) + ' ساعت ';
|
|
15
|
-
}
|
|
16
|
-
} else {
|
|
17
|
-
result = hour + ' ساعت ';
|
|
18
|
-
}
|
|
19
|
-
return result;
|
|
20
|
-
}
|
|
21
|
-
}
|
package/src/lib/wordify.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
type DateFormat = 'HH:mm' | 'YYYY-MM-DD' | 'YYYY-MM-DD HH:mm';
|
|
2
|
-
type ShamsiDateFormat = 'HH:mm' | 'jYYYY-jMM-jDD' | 'jYYYY-jMM-jDD HH:mm';
|
|
3
|
-
|
|
4
|
-
export function toEnglishDigits(num: string | number): string {
|
|
5
|
-
if (num === null || num === undefined) {
|
|
6
|
-
return '';
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
if (typeof num !== 'string' || num.length === 0) return num.toString();
|
|
10
|
-
|
|
11
|
-
const faDigits = '۰۱۲۳۴۵۶۷۸۹';
|
|
12
|
-
const arDigits = '٠١٢٣٤٥٦٧٨٩';
|
|
13
|
-
let output = '';
|
|
14
|
-
for (let ipos = 0; ipos < num.length; ipos++) {
|
|
15
|
-
let faIndex = faDigits.indexOf(num[ipos]);
|
|
16
|
-
if (faIndex >= 0) {
|
|
17
|
-
output += faIndex.toString();
|
|
18
|
-
continue;
|
|
19
|
-
}
|
|
20
|
-
let arIndex = arDigits.indexOf(num[ipos]);
|
|
21
|
-
if (arIndex >= 0) {
|
|
22
|
-
output += arIndex.toString();
|
|
23
|
-
continue;
|
|
24
|
-
}
|
|
25
|
-
output += num[ipos];
|
|
26
|
-
}
|
|
27
|
-
return output.replace(/,/g, '');
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export function WordifyFa(
|
|
31
|
-
input: string | number | undefined,
|
|
32
|
-
level: number = 0
|
|
33
|
-
): string {
|
|
34
|
-
if (input === null || input === undefined) {
|
|
35
|
-
return '';
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
let num: number = parseInt(toEnglishDigits(input));
|
|
39
|
-
|
|
40
|
-
// convert negative number to positive and get wordify value
|
|
41
|
-
if (num < 0) {
|
|
42
|
-
num = num * -1;
|
|
43
|
-
return 'منفی ' + WordifyFa(num, level);
|
|
44
|
-
}
|
|
45
|
-
if (num === 0) {
|
|
46
|
-
if (level === 0) {
|
|
47
|
-
return 'صفر';
|
|
48
|
-
} else {
|
|
49
|
-
return '';
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
let result = '';
|
|
53
|
-
const yekan = ['یک', 'دو', 'سه', 'چهار', 'پنج', 'شش', 'هفت', 'هشت', 'نه'],
|
|
54
|
-
dahgan = ['بیست', 'سی', 'چهل', 'پنجاه', 'شصت', 'هفتاد', 'هشتاد', 'نود'],
|
|
55
|
-
sadgan = [
|
|
56
|
-
'یکصد',
|
|
57
|
-
'دویست',
|
|
58
|
-
'سیصد',
|
|
59
|
-
'چهارصد',
|
|
60
|
-
'پانصد',
|
|
61
|
-
'ششصد',
|
|
62
|
-
'هفتصد',
|
|
63
|
-
'هشتصد',
|
|
64
|
-
'نهصد',
|
|
65
|
-
],
|
|
66
|
-
dah = [
|
|
67
|
-
'ده',
|
|
68
|
-
'یازده',
|
|
69
|
-
'دوازده',
|
|
70
|
-
'سیزده',
|
|
71
|
-
'چهارده',
|
|
72
|
-
'پانزده',
|
|
73
|
-
'شانزده',
|
|
74
|
-
'هفده',
|
|
75
|
-
'هیجده',
|
|
76
|
-
'نوزده',
|
|
77
|
-
];
|
|
78
|
-
|
|
79
|
-
if (level > 0) {
|
|
80
|
-
result += ' و ';
|
|
81
|
-
level -= 1;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
if (num < 10) {
|
|
85
|
-
result += yekan[num - 1];
|
|
86
|
-
} else if (num < 20) {
|
|
87
|
-
result += dah[num - 10];
|
|
88
|
-
} else if (num < 100) {
|
|
89
|
-
result += dahgan[Math.floor(num / 10) - 2] + WordifyFa(num % 10, level + 1);
|
|
90
|
-
} else if (num < 1000) {
|
|
91
|
-
result +=
|
|
92
|
-
sadgan[Math.floor(num / 100) - 1] + WordifyFa(num % 100, level + 1);
|
|
93
|
-
} else if (num < 1000000) {
|
|
94
|
-
result +=
|
|
95
|
-
WordifyFa(Math.floor(num / 1000), level) +
|
|
96
|
-
' هزار' +
|
|
97
|
-
WordifyFa(num % 1000, level + 1);
|
|
98
|
-
} else if (num < 1000000000) {
|
|
99
|
-
result +=
|
|
100
|
-
WordifyFa(Math.floor(num / 1000000), level) +
|
|
101
|
-
' میلیون' +
|
|
102
|
-
WordifyFa(num % 1000000, level + 1);
|
|
103
|
-
} else if (num < 1000000000000) {
|
|
104
|
-
result +=
|
|
105
|
-
WordifyFa(Math.floor(num / 1000000000), level) +
|
|
106
|
-
' میلیارد' +
|
|
107
|
-
WordifyFa(num % 1000000000, level + 1);
|
|
108
|
-
} else if (num < 1000000000000000) {
|
|
109
|
-
result +=
|
|
110
|
-
WordifyFa(Math.floor(num / 1000000000000), level) +
|
|
111
|
-
' تریلیارد' +
|
|
112
|
-
WordifyFa(num % 1000000000000, level + 1);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
return result;
|
|
116
|
-
}
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
viewBox="0 -960 960 960"
|
|
4
|
-
height="100%"
|
|
5
|
-
width="100%"
|
|
6
|
-
>
|
|
7
|
-
<path
|
|
8
|
-
d="M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"
|
|
9
|
-
/>
|
|
10
|
-
</svg>
|
|
File without changes
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
class="svg-inline--fa fa-caret-up fa-w-10 me-1"
|
|
3
|
-
aria-hidden="true"
|
|
4
|
-
focusable="false"
|
|
5
|
-
data-prefix="fas"
|
|
6
|
-
data-icon="caret-up"
|
|
7
|
-
role="img"
|
|
8
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
-
viewBox="0 0 320 512"
|
|
10
|
-
data-fa-i2svg=""
|
|
11
|
-
>
|
|
12
|
-
<path
|
|
13
|
-
fill="currentColor"
|
|
14
|
-
d="M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"
|
|
15
|
-
></path>
|
|
16
|
-
</svg>
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
viewBox="0 -960 960 960"
|
|
4
|
-
height="100%"
|
|
5
|
-
width="100%"
|
|
6
|
-
>
|
|
7
|
-
<path
|
|
8
|
-
d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h357l-80 80H200v560h560v-278l80-80v358q0 33-23.5 56.5T760-120H200Zm280-360ZM360-360v-170l367-367q12-12 27-18t30-6q16 0 30.5 6t26.5 18l56 57q11 12 17 26.5t6 29.5q0 15-5.5 29.5T897-728L530-360H360Zm481-424-56-56 56 56ZM440-440h56l232-232-28-28-29-28-231 231v57Zm260-260-29-28 29 28 28 28-28-28Z"
|
|
9
|
-
/>
|
|
10
|
-
</svg>
|
|
File without changes
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="none">
|
|
2
|
-
<path
|
|
3
|
-
fill="#004A96"
|
|
4
|
-
d="M0 12C0 5.37258 5.37258 0 12 0h17v48H12C5.37258 48 0 42.6274 0 36V12Z"
|
|
5
|
-
></path>
|
|
6
|
-
<path
|
|
7
|
-
fill="#fff"
|
|
8
|
-
d="M6.69405 28.0899h-.53303V24h.53303v4.0899Zm1.10627-.1011c-.06848-.0712-.10272-.1564-.10272-.2557 0-.1011.03424-.1863.10272-.2556.07033-.0693.15546-.1048.25541-.1067.09994.0019.18415.0374.25263.1067.07033.0693.1055.1545.1055.2556 0 .0993-.03517.1845-.1055.2557-.06848.0693-.15176.1039-.24986.1039-.10179 0-.18785-.0346-.25818-.1039Zm3.05518-1.5534h-.94948v1.6545h-.53581V24h1.33809c.4553 0 .8051.1049 1.0494.3146.2462.2097.3693.515.3693.9157 0 .2547-.0685.4766-.2055.6658-.1351.1891-.3238.3305-.5663.4241l.9495 1.736v.0337h-.5719l-.8773-1.6545Zm-.94948-.441h.81898c.1444 0 .2702-.0197.3776-.059.1092-.0412.1999-.0955.272-.1629.0722-.0693.1259-.1498.1611-.2416.037-.0936.0555-.1938.0555-.3006 0-.1179-.0176-.2247-.0528-.3202-.0333-.0974-.086-.1807-.1582-.25-.0722-.0693-.1638-.1226-.2749-.1601-.111-.0375-.2433-.0562-.397-.0562h-.80228v1.5506Zm3.09958 1.9944c-.0685-.0712-.1027-.1564-.1027-.2557 0-.1011.0342-.1863.1027-.2556.0703-.0693.1555-.1048.2554-.1067.1.0019.1842.0374.2526.1067.0704.0693.1055.1545.1055.2556 0 .0993-.0351.1845-.1055.2557-.0684.0693-.1517.1039-.2498.1039-.1018 0-.1879-.0346-.2582-.1039ZM6.53303 36H6v-4.0899h.53303V36Zm2.51658-1.6545h-.94946V36h-.53581v-4.0899h1.33813c.4553 0 .8051.1049 1.04941.3146.24612.2098.36922.515.36922.9157 0 .2547-.0685.4766-.2054.6658-.13513.1891-.32392.3305-.56637.4241l.94947 1.736V36h-.57191l-.87728-1.6545Zm-.94946-.441h.81898c.14436 0 .27022-.0197.37756-.059.1092-.0412.19989-.0955.27207-.1629.07218-.0693.12586-.1498.16102-.2416.03702-.0936.05553-.1938.05553-.3006 0-.1179-.01759-.2247-.05275-.3202-.03332-.0974-.08606-.1807-.15824-.25-.07219-.0693-.1638-.1226-.27485-.1601-.11105-.0374-.24338-.0562-.397-.0562h-.80232v1.5506Zm5.25945 1.0281h-1.6935L11.2858 36h-.5497l1.5436-4.0899h.4664L14.2924 36h-.5469l-.3859-1.0674Zm-1.5324-.4438h1.3742l-.6885-1.913-.6857 1.913ZM18 36h-.5358l-2.035-3.1517V36h-.5358v-4.0899h.5358l2.0405 3.1657v-3.1657H18V36Z"
|
|
9
|
-
></path>
|
|
10
|
-
<path
|
|
11
|
-
fill="#00A03C"
|
|
12
|
-
d="M6 11.334c0-.8284.67157-1.50002 1.5-1.50002H21V12.334H6v-1Z"
|
|
13
|
-
></path>
|
|
14
|
-
<path fill="#fff" d="M6 12.334h15v4.16667H6z"></path>
|
|
15
|
-
<path
|
|
16
|
-
fill="#FC000B"
|
|
17
|
-
d="M6 16.501h15v2.5H7.5c-.82843 0-1.5-.6716-1.5-1.5v-1Z"
|
|
18
|
-
></path>
|
|
19
|
-
<g clip-path="url(#a)">
|
|
20
|
-
<path
|
|
21
|
-
fill="#FC000B"
|
|
22
|
-
fill-rule="evenodd"
|
|
23
|
-
d="M12.9795 13.539c-.2964.2013-.4926.5118-.5073.8656-.0192.4651.2808.8754.7279 1.0692-.1751.0475-.3606.0605-.5424.038-.0102-.0012-.0203-.0026-.0303-.0041.1708.061.3551.0896.5402.0837.0478-.0015.0955-.0053.1428-.0113l.1398.1875.1398-.1875c.0474.006.095.0098.1428.0113.1852.0059.3697-.0226.5405-.0837-.01.0015-.0201.0029-.0303.0041-.1818.0225-.3673.0095-.5424-.038.4472-.1938.7471-.6039.7279-1.0692-.0149-.3538-.2111-.6644-.5075-.8656.2098.2509.3094.5814.2477.9263-.0616.3449-.2726.6368-.5609.8259l.0373-1.6937c-.0831-.0194-.1462-.0686-.1949-.1205-.0484.0519-.1117.1011-.1948.1205l.0373 1.6938c-.2885-.1892-.4993-.4811-.561-.826-.0617-.345.0381-.6754.2478-.9263Zm.836-.3212c.0045.018.0067.0364.0067.0549 0 .1217-.0964.2204-.2154.2204-.0621 0-.1183-.027-.1574-.0701-.0393.0431-.0953.0701-.1574.0701-.1189 0-.2151-.0987-.2151-.2204-.0001-.0185.0022-.0369.0067-.0549.0111.089.0939.1581.1944.1581.074 0 .1384-.0374.1717-.0928.0331.0554.0976.0928.1714.0928.1004 0 .1832-.0691.1944-.1581Zm-1.2709 2.1219c-.1776-.0872-.3252-.2127-.4276-.3639-.1025-.1512-.1563-.3226-.1561-.4971 0-.4695.3819-.8629.8939-.9657-.3687.1685-.6276.5634-.6276 1.0237 0 .3156.1219.6007.3173.803h.0001Zm1.8113 0c.1777-.0872.3252-.2127.4276-.3639.1025-.1512.1563-.3226.1561-.4971 0-.4695-.3816-.8629-.8938-.9657.3686.1685.6275.5634.6275 1.0237 0 .3156-.1219.6007-.3173.803h-.0001Z"
|
|
24
|
-
clip-rule="evenodd"
|
|
25
|
-
></path>
|
|
26
|
-
</g>
|
|
27
|
-
<defs>
|
|
28
|
-
<clipPath id="a">
|
|
29
|
-
<path fill="#fff" d="M11.834 13.167h3.33333v2.5H11.834z"></path>
|
|
30
|
-
</clipPath>
|
|
31
|
-
</defs>
|
|
32
|
-
</svg>
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
viewBox="0 -960 960 960"
|
|
4
|
-
height="100%"
|
|
5
|
-
width="100%"
|
|
6
|
-
>
|
|
7
|
-
<path
|
|
8
|
-
d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"
|
|
9
|
-
/>
|
|
10
|
-
</svg>
|
|
File without changes
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { SearchSvgComponent } from './search-svg.component';
|
|
4
|
-
|
|
5
|
-
describe('SearchSvgComponent', () => {
|
|
6
|
-
let component: SearchSvgComponent;
|
|
7
|
-
let fixture: ComponentFixture<SearchSvgComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(() => {
|
|
10
|
-
TestBed.configureTestingModule({
|
|
11
|
-
declarations: [SearchSvgComponent]
|
|
12
|
-
});
|
|
13
|
-
fixture = TestBed.createComponent(SearchSvgComponent);
|
|
14
|
-
component = fixture.componentInstance;
|
|
15
|
-
fixture.detectChanges();
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('should create', () => {
|
|
19
|
-
expect(component).toBeTruthy();
|
|
20
|
-
});
|
|
21
|
-
});
|