nira-falcon 0.1.25 → 0.1.26
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 +83 -0
- package/esm2022/lib/core-table/core-table-column-manager/core-table-column-manager.component.mjs +85 -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 +252 -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 +184 -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 +2881 -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-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 +66 -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 +70 -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,131 +0,0 @@
|
|
|
1
|
-
.header {
|
|
2
|
-
background-color: var(--default-confirm-dialog-header-background-color);
|
|
3
|
-
}
|
|
4
|
-
.header-icon {
|
|
5
|
-
fill: var(--default-confirm-dialog-header-close-icon-color);
|
|
6
|
-
:hover {
|
|
7
|
-
fill: var(--default-confirm-dialog-header-close-icon-hover-color);
|
|
8
|
-
background-color: var(
|
|
9
|
-
--default-confirm-dialog-header-close-icon-hover-background-color
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.button {
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: 30px;
|
|
17
|
-
outline: none;
|
|
18
|
-
border: none;
|
|
19
|
-
text-align: center;
|
|
20
|
-
color: var(--default);
|
|
21
|
-
background-color: transparent;
|
|
22
|
-
box-shadow: 0 0 0 1px rgba(43, 45, 80, 0.1),
|
|
23
|
-
0 2px 5px 0 rgba(43, 45, 80, 0.08), 0 1px 1.5px 0 rgba(0, 0, 0, 0.07),
|
|
24
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.08);
|
|
25
|
-
line-height: 1.5;
|
|
26
|
-
font-size: 14px;
|
|
27
|
-
font-weight: 500;
|
|
28
|
-
display: inline-block;
|
|
29
|
-
margin-inline-start: auto;
|
|
30
|
-
white-space: nowrap;
|
|
31
|
-
vertical-align: middle;
|
|
32
|
-
user-select: none;
|
|
33
|
-
transition: 0.3s;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
&:hover {
|
|
36
|
-
box-shadow: 0 0 0 1px rgba(43, 45, 80, 0.1),
|
|
37
|
-
0 2px 5px 0 rgba(43, 45, 80, 0.1), 0 3px 9px 0 rgba(43, 45, 80, 0.08),
|
|
38
|
-
0 1px 1.5px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
|
|
39
|
-
}
|
|
40
|
-
&.small {
|
|
41
|
-
height: 30px;
|
|
42
|
-
}
|
|
43
|
-
&.medium {
|
|
44
|
-
height: 38px;
|
|
45
|
-
}
|
|
46
|
-
&.round {
|
|
47
|
-
border: 2px solid #7b1fa2;
|
|
48
|
-
height: 44px;
|
|
49
|
-
border-radius: 30px;
|
|
50
|
-
background-color: #7b1fa2;
|
|
51
|
-
&:hover {
|
|
52
|
-
color: #fff;
|
|
53
|
-
background-color: #7b1fa2;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&:active {
|
|
57
|
-
color: #fff;
|
|
58
|
-
background-color: #7b1fa2;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&:disabled {
|
|
62
|
-
cursor: not-allowed;
|
|
63
|
-
opacity: 0.4;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&.success {
|
|
68
|
-
color: var(--success-button-color);
|
|
69
|
-
&:active {
|
|
70
|
-
background-color: var(--success-button-background-color);
|
|
71
|
-
box-shadow: none;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.warning {
|
|
76
|
-
color: var(--warning-button-color);
|
|
77
|
-
&:active {
|
|
78
|
-
background-color: var(--warning-button-background-color);
|
|
79
|
-
box-shadow: none;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&.default {
|
|
84
|
-
color: var(--default-button-color);
|
|
85
|
-
&:active {
|
|
86
|
-
background-color: var(--default-button-background-color);
|
|
87
|
-
box-shadow: none;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&.primary {
|
|
92
|
-
color: var(--primary-button-color);
|
|
93
|
-
&:active {
|
|
94
|
-
background-color: var(--primary-button-background-color);
|
|
95
|
-
box-shadow: none;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&.danger {
|
|
100
|
-
color: var(--danger-button-color);
|
|
101
|
-
&:active {
|
|
102
|
-
background-color: var(--danger-button-background-color);
|
|
103
|
-
box-shadow: none;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.round {
|
|
108
|
-
border-radius: 30px;
|
|
109
|
-
background: transparent;
|
|
110
|
-
|
|
111
|
-
&:active {
|
|
112
|
-
color: #fff;
|
|
113
|
-
background-color: transparent;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&:disabled {
|
|
117
|
-
cursor: not-allowed;
|
|
118
|
-
opacity: 0.4;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&.square {
|
|
123
|
-
padding-inline: 16px;
|
|
124
|
-
border-radius: 0.25rem;
|
|
125
|
-
|
|
126
|
-
&:disabled {
|
|
127
|
-
cursor: not-allowed;
|
|
128
|
-
opacity: 0.4;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { IModal, NiraModalConfig } from 'nira-modal';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { ConfirmDialog } from '../falconTypes';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'app-core-confirm-dialog',
|
|
8
|
-
templateUrl: './core-confirm-dialog.component.html',
|
|
9
|
-
styleUrls: ['./core-confirm-dialog.component.scss'],
|
|
10
|
-
})
|
|
11
|
-
export class CoreConfirmDialogComponent implements IModal {
|
|
12
|
-
@Input() closeSubject!: Subject<any>;
|
|
13
|
-
@Input() config!: NiraModalConfig;
|
|
14
|
-
confirmDialog!: ConfirmDialog;
|
|
15
|
-
async ngOnInit() {
|
|
16
|
-
this.confirmDialog = {
|
|
17
|
-
cancelBtn: this.config.data.cancelBtn,
|
|
18
|
-
confirmBtn: this.config.data.confirmBtn,
|
|
19
|
-
text: this.config.data.text,
|
|
20
|
-
title: this.config.data.title,
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
close() {
|
|
24
|
-
this.closeSubject.next('false');
|
|
25
|
-
}
|
|
26
|
-
confirm() {
|
|
27
|
-
this.closeSubject.next('true');
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<core-input
|
|
2
|
-
[placeholder]="label"
|
|
3
|
-
[inputFormControl]="_inputFormControl"
|
|
4
|
-
(click)="isOpenCalendar = true"
|
|
5
|
-
[size]="size"
|
|
6
|
-
>
|
|
7
|
-
</core-input>
|
|
8
|
-
<lib-nira-date-picker
|
|
9
|
-
[(isOpenCalendar)]="isOpenCalendar"
|
|
10
|
-
[defaultDate]="date ? date : defaultDate"
|
|
11
|
-
(datePickerResult)="onDatePickerResult($event)"
|
|
12
|
-
[selectToday]="canSelectToday"
|
|
13
|
-
(todayDate)="onTodayDate($event)"
|
|
14
|
-
>
|
|
15
|
-
</lib-nira-date-picker>
|
|
File without changes
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<core-input
|
|
2
|
-
[placeholder]="label"
|
|
3
|
-
[inputFormControl]="_inputFormControl"
|
|
4
|
-
(click)="isOpenCalendar = true"
|
|
5
|
-
>
|
|
6
|
-
</core-input>
|
|
7
|
-
<lib-nira-date-picker
|
|
8
|
-
[(isOpenCalendar)]="isOpenCalendar"
|
|
9
|
-
[defaultDate]="date ? date : defaultDate"
|
|
10
|
-
(datePickerResult)="onDatePickerResult($event)"
|
|
11
|
-
[selectToday]="canSelectToday"
|
|
12
|
-
(todayDate)="onTodayDate($event)"
|
|
13
|
-
>
|
|
14
|
-
</lib-nira-date-picker>
|
|
File without changes
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectorRef,
|
|
3
|
-
Component,
|
|
4
|
-
EventEmitter,
|
|
5
|
-
Input,
|
|
6
|
-
OnInit,
|
|
7
|
-
Output,
|
|
8
|
-
} from '@angular/core';
|
|
9
|
-
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
|
10
|
-
import { environment } from '../../environments/environment';
|
|
11
|
-
|
|
12
|
-
@Component({
|
|
13
|
-
selector: 'core-date-picker',
|
|
14
|
-
templateUrl: './core-date-picker' + environment.tempName,
|
|
15
|
-
styleUrls: ['./core-date-picker' + environment.styleName],
|
|
16
|
-
})
|
|
17
|
-
export class CoreDatePickerComponent implements OnInit {
|
|
18
|
-
_inputFormControl = new FormControl('', []);
|
|
19
|
-
|
|
20
|
-
@Input() canSelectToday: boolean = false;
|
|
21
|
-
@Input() defaultDate: string = '';
|
|
22
|
-
@Input() label: string = '';
|
|
23
|
-
@Input() set inputFormControl(value: FormControl) {
|
|
24
|
-
this._inputFormControl = value;
|
|
25
|
-
}
|
|
26
|
-
@Input() size = '';
|
|
27
|
-
isOpenCalendar: boolean = false;
|
|
28
|
-
date: string = '';
|
|
29
|
-
constructor(private changeDetectorRef: ChangeDetectorRef) {}
|
|
30
|
-
ngOnInit(): void {}
|
|
31
|
-
|
|
32
|
-
ngAfterViewInit(): void {
|
|
33
|
-
this.changeDetectorRef.detectChanges();
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
onDatePickerResult(result: string) {
|
|
37
|
-
this._inputFormControl.setValue(result);
|
|
38
|
-
this.date = result;
|
|
39
|
-
}
|
|
40
|
-
onTodayDate(todayDate: string) {
|
|
41
|
-
this.date = todayDate;
|
|
42
|
-
this._inputFormControl.setValue(todayDate);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
<div>
|
|
2
|
-
<div
|
|
3
|
-
class="container-input"
|
|
4
|
-
[ngClass]="{
|
|
5
|
-
error:
|
|
6
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
7
|
-
inputFormControl.errors
|
|
8
|
-
}"
|
|
9
|
-
>
|
|
10
|
-
<input
|
|
11
|
-
[type]="'text'"
|
|
12
|
-
class="a-input-style"
|
|
13
|
-
[formControl]="inputFormControl"
|
|
14
|
-
(blur)="onBlur()"
|
|
15
|
-
(keyup)="change($event)"
|
|
16
|
-
(paste)="onPaste($event)"
|
|
17
|
-
[ngClass]="{
|
|
18
|
-
xsmall: size == 'xsmall',
|
|
19
|
-
'have-value': inputFormControl.value.toString().length > 0,
|
|
20
|
-
'highlight-background':
|
|
21
|
-
canHighlightBackground &&
|
|
22
|
-
inputFormControl.value.toString().length === 0 &&
|
|
23
|
-
!(
|
|
24
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
25
|
-
inputFormControl.errors
|
|
26
|
-
),
|
|
27
|
-
'disable-input': isDisable
|
|
28
|
-
}"
|
|
29
|
-
(keypress)="onKeyPress()"
|
|
30
|
-
/>
|
|
31
|
-
<label
|
|
32
|
-
*ngIf="placeholder.length > 0"
|
|
33
|
-
[ngClass]="{ xsmall: size == 'xsmall' }"
|
|
34
|
-
>{{ placeholder }}
|
|
35
|
-
</label>
|
|
36
|
-
<div class="label-error overflow-hidden">
|
|
37
|
-
<span
|
|
38
|
-
class="label-number"
|
|
39
|
-
*ngIf="
|
|
40
|
-
canShowWordifyFa &&
|
|
41
|
-
inputFormControl.value.toString().length > 0 &&
|
|
42
|
-
inputType === 'number'
|
|
43
|
-
"
|
|
44
|
-
><app-core-number
|
|
45
|
-
[canShowWordInToolTip]="false"
|
|
46
|
-
[type]="'word'"
|
|
47
|
-
[number]="inputFormControl.value"
|
|
48
|
-
></app-core-number
|
|
49
|
-
></span>
|
|
50
|
-
|
|
51
|
-
<span
|
|
52
|
-
*ngIf="
|
|
53
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
54
|
-
inputFormControl.errors?.['required']
|
|
55
|
-
"
|
|
56
|
-
>این فیلد خالی است</span
|
|
57
|
-
>
|
|
58
|
-
<span
|
|
59
|
-
*ngIf="
|
|
60
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
61
|
-
inputFormControl.errors?.['prePayment']
|
|
62
|
-
"
|
|
63
|
-
>مبلغ صحیح نیست</span
|
|
64
|
-
>
|
|
65
|
-
<span
|
|
66
|
-
*ngIf="
|
|
67
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
68
|
-
inputFormControl.errors?.['minlength']
|
|
69
|
-
"
|
|
70
|
-
>
|
|
71
|
-
حداقل تعداد کارکتر
|
|
72
|
-
{{inputFormControl.errors?.['minlength'].requiredLength|persianDigits}}
|
|
73
|
-
عدد باشد
|
|
74
|
-
</span>
|
|
75
|
-
<span
|
|
76
|
-
*ngIf="
|
|
77
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
78
|
-
inputFormControl.errors?.['maxlength']
|
|
79
|
-
"
|
|
80
|
-
>
|
|
81
|
-
حداکثر تعداد کارکتر
|
|
82
|
-
{{inputFormControl.errors?.['maxlength'].requiredLength |persianDigits}}
|
|
83
|
-
عدد باشد
|
|
84
|
-
</span>
|
|
85
|
-
<span
|
|
86
|
-
*ngIf="
|
|
87
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
88
|
-
inputFormControl.errors?.['pattern']?.requiredPattern=='^09[0-9]{9}$'
|
|
89
|
-
"
|
|
90
|
-
>
|
|
91
|
-
شماره همراه اشتباه هست
|
|
92
|
-
</span>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
position: relative;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
input:focus {
|
|
6
|
-
border: 2px solid blue;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
input {
|
|
10
|
-
border: 1px solid #ced4da;
|
|
11
|
-
border-radius: 0.25rem;
|
|
12
|
-
&.xsmall {
|
|
13
|
-
height: 30px !important;
|
|
14
|
-
border-radius: 8px !important;
|
|
15
|
-
padding: 15px !important;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.highlight-background {
|
|
20
|
-
background-color: #dcf6ff !important;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.icon-style {
|
|
24
|
-
position: absolute;
|
|
25
|
-
right: 16px;
|
|
26
|
-
top: 16px;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.icon-style-email {
|
|
32
|
-
position: absolute;
|
|
33
|
-
right: 16px;
|
|
34
|
-
top: 16px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.a-input-style {
|
|
38
|
-
height: 42px;
|
|
39
|
-
width: 100%;
|
|
40
|
-
padding: 16px;
|
|
41
|
-
outline: none;
|
|
42
|
-
caret-color: rgba(2, 2, 2, 0.7);
|
|
43
|
-
background-color: rgb(255, 255, 255);
|
|
44
|
-
color: rgba(0, 0, 0, 0.7);
|
|
45
|
-
box-sizing: border-box;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.a-input-style:focus {
|
|
49
|
-
// background-color: rgba(242, 244, 247, 0.05);
|
|
50
|
-
border-radius: 3px;
|
|
51
|
-
border: 1px solid rgba(19, 92, 175, 0.397);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.a-input-style::placeholder {
|
|
55
|
-
height: 15px;
|
|
56
|
-
font-style: normal;
|
|
57
|
-
font-weight: normal;
|
|
58
|
-
font-size: 12px;
|
|
59
|
-
line-height: 15px;
|
|
60
|
-
letter-spacing: -0.03em;
|
|
61
|
-
color: rgba(194, 194, 194, 0.7);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
input:-webkit-autofill,
|
|
65
|
-
input:-webkit-autofill:hover,
|
|
66
|
-
input:-webkit-autofill:focus {
|
|
67
|
-
-webkit-text-fill-color: #ffffff00;
|
|
68
|
-
&.have-value {
|
|
69
|
-
-webkit-text-fill-color: #181818 !important;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* Chrome, Safari, Edge, Opera */
|
|
74
|
-
input::-webkit-outer-spin-button,
|
|
75
|
-
input::-webkit-inner-spin-button {
|
|
76
|
-
-webkit-appearance: none;
|
|
77
|
-
margin: 0;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* Firefox */
|
|
81
|
-
input[type="number"] {
|
|
82
|
-
-moz-appearance: textfield;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.label-error {
|
|
86
|
-
color: red;
|
|
87
|
-
font-size: 13px;
|
|
88
|
-
margin-block-start: 4px;
|
|
89
|
-
min-height: 21px;
|
|
90
|
-
width: 100%;
|
|
91
|
-
display: inline-block !important;
|
|
92
|
-
text-align: start;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.label-number {
|
|
96
|
-
color: #6a6a6a;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.error input {
|
|
100
|
-
border: 1px solid #fe5f5f;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.container-input {
|
|
104
|
-
background: transparent;
|
|
105
|
-
position: relative;
|
|
106
|
-
|
|
107
|
-
.disable-input {
|
|
108
|
-
background-color: #f7f7f7;
|
|
109
|
-
border: 1px dashed #ced4da;
|
|
110
|
-
pointer-events: none;
|
|
111
|
-
}
|
|
112
|
-
label {
|
|
113
|
-
position: absolute;
|
|
114
|
-
right: 20px;
|
|
115
|
-
top: 12px;
|
|
116
|
-
color: gray;
|
|
117
|
-
font-size: 12px;
|
|
118
|
-
padding: 0px 8px;
|
|
119
|
-
border-radius: 15px;
|
|
120
|
-
pointer-events: none;
|
|
121
|
-
transition: 0.2s;
|
|
122
|
-
&.xsmall {
|
|
123
|
-
top: 8px !important;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
input {
|
|
128
|
-
&:focus + label,
|
|
129
|
-
&.have-value + label {
|
|
130
|
-
top: -10px;
|
|
131
|
-
font-size: 10px;
|
|
132
|
-
z-index: 3;
|
|
133
|
-
&.xsmall {
|
|
134
|
-
top: -8px !important;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&:focus + label::after,
|
|
139
|
-
&.have-value + label::after {
|
|
140
|
-
content: "";
|
|
141
|
-
display: block;
|
|
142
|
-
background: rgb(255, 255, 255);
|
|
143
|
-
position: absolute;
|
|
144
|
-
width: 100%;
|
|
145
|
-
height: 1px;
|
|
146
|
-
top: 10px;
|
|
147
|
-
right: 0;
|
|
148
|
-
transition: 0.3s;
|
|
149
|
-
z-index: -1;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<div>
|
|
2
|
-
<div
|
|
3
|
-
class="container-input"
|
|
4
|
-
[ngClass]="{
|
|
5
|
-
error:
|
|
6
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
7
|
-
inputFormControl.errors
|
|
8
|
-
}"
|
|
9
|
-
>
|
|
10
|
-
<input
|
|
11
|
-
[type]="inputType"
|
|
12
|
-
class="a-input-style"
|
|
13
|
-
[formControl]="inputFormControl"
|
|
14
|
-
(blur)="onBlur()"
|
|
15
|
-
(keyup)="change($event)"
|
|
16
|
-
(paste)="onPaste($event)"
|
|
17
|
-
[ngClass]="{
|
|
18
|
-
'have-value': inputFormControl.value.toString().length > 0,
|
|
19
|
-
'highlight-background':
|
|
20
|
-
canHighlightBackground &&
|
|
21
|
-
inputFormControl.value.toString().length === 0 &&
|
|
22
|
-
!(
|
|
23
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
24
|
-
inputFormControl.errors
|
|
25
|
-
),
|
|
26
|
-
'disable-input': isDisable
|
|
27
|
-
}"
|
|
28
|
-
(keypress)="onKeyPress()"
|
|
29
|
-
/>
|
|
30
|
-
<label *ngIf="placeholder.length > 0">{{ placeholder }} </label>
|
|
31
|
-
<div class="label-error overflow-hidden">
|
|
32
|
-
<span
|
|
33
|
-
class="label-number"
|
|
34
|
-
*ngIf="
|
|
35
|
-
canShowWordifyFa &&
|
|
36
|
-
inputFormControl.value.toString().length > 0 &&
|
|
37
|
-
inputType === 'number'
|
|
38
|
-
"
|
|
39
|
-
><app-core-number
|
|
40
|
-
[canShowWordInToolTip]="false"
|
|
41
|
-
[type]="'word'"
|
|
42
|
-
[number]="inputFormControl.value"
|
|
43
|
-
></app-core-number
|
|
44
|
-
></span>
|
|
45
|
-
|
|
46
|
-
<span
|
|
47
|
-
*ngIf="
|
|
48
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
49
|
-
inputFormControl.errors?.['required']
|
|
50
|
-
"
|
|
51
|
-
>این فیلد خالی است</span
|
|
52
|
-
>
|
|
53
|
-
<span
|
|
54
|
-
*ngIf="
|
|
55
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
56
|
-
inputFormControl.errors?.['prePayment']
|
|
57
|
-
"
|
|
58
|
-
>مبلغ صحیح نیست</span
|
|
59
|
-
>
|
|
60
|
-
<span
|
|
61
|
-
*ngIf="
|
|
62
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
63
|
-
inputFormControl.errors?.['minlength']
|
|
64
|
-
"
|
|
65
|
-
>
|
|
66
|
-
حداقل تعداد کارکتر
|
|
67
|
-
{{inputFormControl.errors?.['minlength'].requiredLength|persianDigits}}
|
|
68
|
-
عدد باشد
|
|
69
|
-
</span>
|
|
70
|
-
<span
|
|
71
|
-
*ngIf="
|
|
72
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
73
|
-
inputFormControl.errors?.['maxlength']
|
|
74
|
-
"
|
|
75
|
-
>
|
|
76
|
-
حداکثر تعداد کارکتر
|
|
77
|
-
{{inputFormControl.errors?.['maxlength'].requiredLength |persianDigits}}
|
|
78
|
-
عدد باشد
|
|
79
|
-
</span>
|
|
80
|
-
<span
|
|
81
|
-
*ngIf="
|
|
82
|
-
(inputFormControl.touched || inputFormControl.dirty) &&
|
|
83
|
-
inputFormControl.errors?.['pattern']?.requiredPattern=='^09[0-9]{9}$'
|
|
84
|
-
"
|
|
85
|
-
>
|
|
86
|
-
شماره همراه اشتباه هست
|
|
87
|
-
</span>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
</div>
|