ca-components 1.3.34 → 1.3.36
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/assets/scss/background.scss +44 -0
- package/assets/scss/border-radius.scss +17 -0
- package/assets/scss/filters.scss +151 -0
- package/assets/scss/icons.scss +39 -0
- package/assets/scss/input-dropdown-test.scss +2030 -0
- package/assets/scss/spacing.scss +59 -0
- package/assets/scss/styles.scss +22 -1
- package/assets/scss/text-selection.scss +15 -0
- package/assets/theme/variables.scss +1 -1
- package/esm2022/lib/ca-components.module.mjs +26 -2
- package/esm2022/lib/components/ca-activity-log-list/ca-activity-log-list.component.mjs +3 -3
- package/esm2022/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.mjs +6 -3
- package/esm2022/lib/components/ca-checkbox/ca-checkbox.component.mjs +2 -2
- package/esm2022/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-comment/ca-comment.component.mjs +2 -2
- package/esm2022/lib/components/ca-comment/modals/comment-modal/comment-modal.component.mjs +3 -3
- package/esm2022/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.mjs +3 -3
- package/esm2022/lib/components/ca-details-dropdown/ca-details-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/ca-filter.component.mjs +4 -4
- package/esm2022/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.mjs +3 -3
- package/esm2022/lib/components/ca-filters/components/ca-location-filter/ca-location-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.mjs +4 -4
- package/esm2022/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/pipes/index.mjs +7 -0
- package/esm2022/lib/components/ca-filters/utils/helpers/index.mjs +2 -1
- package/esm2022/lib/components/ca-filters/utils/helpers/time-filter.helper.mjs +117 -0
- package/esm2022/lib/components/ca-filters/utils/svg-routes/index.mjs +2 -0
- package/esm2022/lib/components/ca-input/ca-input.component.mjs +2 -2
- package/esm2022/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +3 -3
- package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-note/ca-input-note.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-test/base-classes/ca-input-event-manager.mjs +24 -0
- package/esm2022/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.mjs +66 -0
- package/esm2022/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.mjs +48 -0
- package/esm2022/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.mjs +63 -0
- package/esm2022/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +85 -0
- package/esm2022/lib/components/ca-input-test/config/ca-input.config.mjs +2 -0
- package/esm2022/lib/components/ca-input-test/config/index.mjs +2 -0
- package/esm2022/lib/components/ca-input-test/directives/caps-lock.directive.mjs +50 -0
- package/esm2022/lib/components/ca-input-test/directives/command-visible.directive.mjs +48 -0
- package/esm2022/lib/components/ca-input-test/directives/index.mjs +6 -0
- package/esm2022/lib/components/ca-input-test/directives/input-max-value.directive.mjs +53 -0
- package/esm2022/lib/components/ca-input-test/directives/min-max-value.directive.mjs +41 -0
- package/esm2022/lib/components/ca-input-test/directives/price_format.directive.mjs +41 -0
- package/esm2022/lib/components/ca-input-test/directives/restrict-input.directive.mjs +94 -0
- package/esm2022/lib/components/ca-input-test/enums/index.mjs +5 -0
- package/esm2022/lib/components/ca-input-test/enums/input-commands-action.enum.mjs +11 -0
- package/esm2022/lib/components/ca-input-test/enums/input-commands-type.enum.mjs +8 -0
- package/esm2022/lib/components/ca-input-test/enums/input-config-name-string.enum.mjs +9 -0
- package/esm2022/lib/components/ca-input-test/enums/input-string.enum.mjs +114 -0
- package/esm2022/lib/components/ca-input-test/enums/input-text-transform.enum.mjs +9 -0
- package/esm2022/lib/components/ca-input-test/input-test.component.mjs +273 -0
- package/esm2022/lib/components/ca-input-test/mixins/input-command.mixin.mjs +124 -0
- package/esm2022/lib/components/ca-input-test/mixins/input-helper.mixin.mjs +49 -0
- package/esm2022/lib/components/ca-input-test/mixins/restriction-pipe.mixin.mjs +34 -0
- package/esm2022/lib/components/ca-input-test/models/base.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-test/models/command-click.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-test/models/commands-event.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-test/models/index.mjs +4 -0
- package/esm2022/lib/components/ca-input-test/models/label-color.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-test/pipes/color-finder.pipe.mjs +62 -0
- package/esm2022/lib/components/ca-input-test/pipes/form-control.pipe.mjs +17 -0
- package/esm2022/lib/components/ca-input-test/pipes/index.mjs +20 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-class.pipe.mjs +155 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-clear-class.pipe.mjs +87 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-container-class.pipe.mjs +58 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.mjs +77 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.mjs +61 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-error.pipe.mjs +88 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.mjs +37 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-pattern.pipe.mjs +326 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.mjs +46 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.mjs +58 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.mjs +45 -0
- package/esm2022/lib/components/ca-input-test/pipes/input-type.pipe.mjs +25 -0
- package/esm2022/lib/components/ca-input-test/pipes/label-class.pipe.mjs +38 -0
- package/esm2022/lib/components/ca-input-test/pipes/show-clear.pipe.mjs +22 -0
- package/esm2022/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.mjs +26 -0
- package/esm2022/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.mjs +27 -0
- package/esm2022/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.mjs +24 -0
- package/esm2022/lib/components/ca-input-test/pipes/show-valid-check.pipe.mjs +27 -0
- package/esm2022/lib/components/ca-input-test/utils/index.mjs +3 -0
- package/esm2022/lib/components/ca-input-test/utils/input-change-value.type.mjs +2 -0
- package/esm2022/lib/components/ca-input-test/utils/input-svg-routes.mjs +17 -0
- package/esm2022/lib/components/ca-logo-change/ca-logo-change.component.mjs +3 -3
- package/esm2022/lib/components/ca-map/ca-map.component.mjs +2 -2
- package/esm2022/lib/components/ca-map-dropdown/ca-map-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-modal/ca-modal.component.mjs +2 -2
- package/esm2022/lib/components/ca-modal-button/ca-modal-button.component.mjs +3 -3
- package/esm2022/lib/components/ca-new-filter/ca-filter-dropdown.component.mjs +98 -0
- package/esm2022/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.mjs +142 -0
- package/esm2022/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.mjs +131 -0
- package/esm2022/lib/components/ca-new-filter/components/ca-filter-time-dropdown/ca-filter-time-dropdown.component.mjs +131 -0
- package/esm2022/lib/components/ca-new-filter/constant/filter-dropdown-icons.constant.mjs +87 -0
- package/esm2022/lib/components/ca-new-filter/constant/index.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/enums/filter-dropdown-types.enum.mjs +15 -0
- package/esm2022/lib/components/ca-new-filter/enums/filter-sorting-key.enum.mjs +6 -0
- package/esm2022/lib/components/ca-new-filter/enums/filter-time.enum.mjs +37 -0
- package/esm2022/lib/components/ca-new-filter/enums/index.mjs +4 -0
- package/esm2022/lib/components/ca-new-filter/interface/country.interface.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/interface/filter-action.interface.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/interface/filter-dropdown-configuration.interface.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/interface/filter-dropdown-list.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/interface/index.mjs +7 -0
- package/esm2022/lib/components/ca-new-filter/interface/sorting-emmiter.interface.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/interface/time-options.interface.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/pipes/filter-search.pipe.mjs +31 -0
- package/esm2022/lib/components/ca-new-filter/types/filter-dropdown.types.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/types/filter-sorting-key.type.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/types/filter-time.types.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/types/index.mjs +4 -0
- package/esm2022/lib/components/ca-new-filter/utils/configs/filter-dropdown-fields.config.mjs +37 -0
- package/esm2022/lib/components/ca-new-filter/utils/configs/index.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/utils/helpers/index.mjs +2 -0
- package/esm2022/lib/components/ca-new-filter/utils/helpers/time-filter.helper.mjs +133 -0
- package/esm2022/lib/components/ca-ngx-slider/ca-ngx-slider.component.mjs +2 -2
- package/esm2022/lib/components/ca-note/ca-note.component.mjs +2 -2
- package/esm2022/lib/components/ca-note-container/ca-note-container.component.mjs +2 -2
- package/esm2022/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.mjs +2 -2
- package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +2 -2
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.mjs +3 -3
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +2 -2
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.mjs +3 -3
- package/esm2022/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.mjs +3 -3
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.mjs +3 -3
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.mjs +3 -3
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +3 -3
- package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +3 -3
- package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +2 -2
- package/esm2022/lib/components/ca-progress-expiration/ca-progress-expiration.component.mjs +2 -2
- package/esm2022/lib/components/ca-rating-review/ca-rating-review.component.mjs +2 -2
- package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +2 -2
- package/esm2022/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.mjs +2 -2
- package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.mjs +3 -3
- package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.mjs +3 -3
- package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.mjs +3 -3
- package/esm2022/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.mjs +3 -3
- package/esm2022/lib/components/ca-search-multiple-states/models/tab-data.model.mjs +1 -1
- package/esm2022/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.mjs +21 -8
- package/esm2022/lib/components/ca-sort-dropdown/types/index.mjs +2 -0
- package/esm2022/lib/components/ca-sort-dropdown/types/sort-directions.type.mjs +2 -0
- package/esm2022/lib/components/ca-sort-dropdown/utils/svg-routes/ca-sort-dropdown-svg-routes.mjs +3 -2
- package/esm2022/lib/components/ca-spinner/ca-spinner.component.mjs +2 -2
- package/esm2022/lib/components/ca-tab-switch/ca-tab-switch.component.mjs +3 -3
- package/esm2022/lib/components/ca-todo/ca-todo.component.mjs +3 -3
- package/esm2022/lib/components/ca-todo/components/ca-todo-card.component.mjs +3 -3
- package/esm2022/lib/components/ca-tooltip-list/ca-tooltip-list.component.mjs +3 -3
- package/esm2022/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.mjs +2 -2
- package/esm2022/lib/components/ca-upload-files/ca-upload-files.component.mjs +3 -3
- package/esm2022/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.mjs +3 -3
- package/esm2022/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.mjs +2 -2
- package/esm2022/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.mjs +3 -3
- package/esm2022/public-api.mjs +9 -2
- package/fesm2022/ca-components.mjs +3411 -637
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/ca-components.module.d.ts +38 -34
- package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.d.ts +2 -1
- package/lib/components/ca-filters/pipes/index.d.ts +6 -0
- package/lib/components/ca-filters/utils/helpers/index.d.ts +1 -0
- package/lib/components/ca-filters/utils/{constants/time-filter.constants.d.ts → helpers/time-filter.helper.d.ts} +14 -2
- package/lib/components/ca-filters/utils/svg-routes/index.d.ts +1 -0
- package/lib/components/ca-input-test/base-classes/ca-input-event-manager.d.ts +16 -0
- package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.d.ts +20 -0
- package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.d.ts +16 -0
- package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.d.ts +20 -0
- package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.d.ts +26 -0
- package/lib/components/ca-input-test/config/ca-input.config.d.ts +168 -0
- package/lib/components/ca-input-test/config/index.d.ts +1 -0
- package/lib/components/ca-input-test/directives/caps-lock.directive.d.ts +14 -0
- package/lib/components/ca-input-test/directives/index.d.ts +5 -0
- package/lib/components/ca-input-test/directives/input-max-value.directive.d.ts +12 -0
- package/lib/components/ca-input-test/directives/min-max-value.directive.d.ts +13 -0
- package/lib/components/ca-input-test/directives/price_format.directive.d.ts +11 -0
- package/lib/components/ca-input-test/directives/restrict-input.directive.d.ts +27 -0
- package/lib/components/ca-input-test/enums/index.d.ts +4 -0
- package/lib/components/ca-input-test/enums/input-commands-action.enum.d.ts +9 -0
- package/lib/components/ca-input-test/enums/input-commands-type.enum.d.ts +6 -0
- package/lib/components/ca-input-test/enums/input-config-name-string.enum.d.ts +7 -0
- package/lib/components/ca-input-test/enums/input-string.enum.d.ts +112 -0
- package/lib/components/ca-input-test/enums/input-text-transform.enum.d.ts +6 -0
- package/lib/components/{ca-input/input-test → ca-input-test}/input-test.component.d.ts +13 -12
- package/lib/components/ca-input-test/mixins/restriction-pipe.mixin.d.ts +12 -0
- package/lib/components/ca-input-test/models/command-click.model.d.ts +5 -0
- package/lib/components/ca-input-test/models/commands-event.model.d.ts +5 -0
- package/lib/components/ca-input-test/models/index.d.ts +3 -0
- package/lib/components/ca-input-test/models/label-color.model.d.ts +11 -0
- package/lib/components/ca-input-test/pipes/color-finder.pipe.d.ts +7 -0
- package/lib/components/ca-input-test/pipes/form-control.pipe.d.ts +8 -0
- package/lib/components/ca-input-test/pipes/index.d.ts +19 -0
- package/lib/components/ca-input-test/pipes/input-class.pipe.d.ts +13 -0
- package/lib/components/ca-input-test/pipes/input-clear-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-test/pipes/input-container-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-test/pipes/input-error.pipe.d.ts +7 -0
- package/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-test/pipes/input-pattern.pipe.d.ts +38 -0
- package/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.d.ts +11 -0
- package/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.d.ts +12 -0
- package/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-test/pipes/input-type.pipe.d.ts +7 -0
- package/lib/components/ca-input-test/pipes/label-class.pipe.d.ts +10 -0
- package/lib/components/ca-input-test/pipes/show-clear.pipe.d.ts +8 -0
- package/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.d.ts +8 -0
- package/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.d.ts +9 -0
- package/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.d.ts +9 -0
- package/lib/components/ca-input-test/pipes/show-valid-check.pipe.d.ts +9 -0
- package/lib/components/ca-input-test/utils/index.d.ts +2 -0
- package/lib/components/ca-input-test/utils/input-change-value.type.d.ts +1 -0
- package/lib/components/ca-input-test/utils/input-svg-routes.d.ts +16 -0
- package/lib/components/ca-new-filter/ca-filter-dropdown.component.d.ts +35 -0
- package/lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component.d.ts +43 -0
- package/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.d.ts +35 -0
- package/lib/components/ca-new-filter/components/ca-filter-time-dropdown/ca-filter-time-dropdown.component.d.ts +43 -0
- package/lib/components/ca-new-filter/constant/filter-dropdown-icons.constant.d.ts +3 -0
- package/lib/components/ca-new-filter/constant/index.d.ts +1 -0
- package/lib/components/ca-new-filter/enums/filter-dropdown-types.enum.d.ts +13 -0
- package/lib/components/ca-new-filter/enums/filter-sorting-key.enum.d.ts +4 -0
- package/lib/components/ca-new-filter/enums/filter-time.enum.d.ts +35 -0
- package/lib/components/ca-new-filter/enums/index.d.ts +3 -0
- package/lib/components/ca-new-filter/interface/country.interface.d.ts +13 -0
- package/lib/components/ca-new-filter/interface/filter-action.interface.d.ts +18 -0
- package/lib/components/ca-new-filter/interface/filter-dropdown-configuration.interface.d.ts +13 -0
- package/lib/components/ca-new-filter/interface/filter-dropdown-list.d.ts +17 -0
- package/lib/components/ca-new-filter/interface/index.d.ts +6 -0
- package/lib/components/ca-new-filter/interface/sorting-emmiter.interface.d.ts +5 -0
- package/lib/components/ca-new-filter/interface/time-options.interface.d.ts +9 -0
- package/lib/components/ca-new-filter/pipes/filter-search.pipe.d.ts +8 -0
- package/lib/components/ca-new-filter/types/filter-dropdown.types.d.ts +2 -0
- package/lib/components/ca-new-filter/types/filter-sorting-key.type.d.ts +2 -0
- package/lib/components/ca-new-filter/types/filter-time.types.d.ts +2 -0
- package/lib/components/ca-new-filter/types/index.d.ts +3 -0
- package/lib/components/ca-new-filter/utils/configs/filter-dropdown-fields.config.d.ts +7 -0
- package/lib/components/ca-new-filter/utils/configs/index.d.ts +1 -0
- package/lib/components/ca-new-filter/utils/helpers/index.d.ts +1 -0
- package/lib/components/ca-new-filter/utils/helpers/time-filter.helper.d.ts +6 -0
- package/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.d.ts +2 -2
- package/lib/components/ca-search-multiple-states/models/tab-data.model.d.ts +11 -11
- package/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.d.ts +12 -5
- package/lib/components/ca-sort-dropdown/types/index.d.ts +1 -0
- package/lib/components/ca-sort-dropdown/types/sort-directions.type.d.ts +5 -0
- package/lib/components/ca-sort-dropdown/utils/svg-routes/ca-sort-dropdown-svg-routes.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +8 -1
- package/src/assets/ca-components/svg/common/ic_arrow_desc.svg +3 -0
- package/esm2022/lib/components/ca-filters/utils/constants/time-filter.constants.mjs +0 -102
- package/esm2022/lib/components/ca-input/directives/command-visible.directive.mjs +0 -48
- package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +0 -266
- package/esm2022/lib/components/ca-input/mixins/input-command.mixin.mjs +0 -127
- package/esm2022/lib/components/ca-input/mixins/input-helper.mixin.mjs +0 -49
- package/esm2022/lib/components/ca-input/models/base.model.mjs +0 -2
- /package/lib/components/{ca-input → ca-input-test}/directives/command-visible.directive.d.ts +0 -0
- /package/lib/components/{ca-input → ca-input-test}/mixins/input-command.mixin.d.ts +0 -0
- /package/lib/components/{ca-input → ca-input-test}/mixins/input-helper.mixin.d.ts +0 -0
- /package/lib/components/{ca-input → ca-input-test}/models/base.model.d.ts +0 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export declare enum InputStringEnum {
|
|
2
|
+
PHONE = "phone",
|
|
3
|
+
CAPITALIZE = "capitalize",
|
|
4
|
+
UPPERCASE = "uppercase",
|
|
5
|
+
CAPITALIZED_CASE = "capitalizedcase",
|
|
6
|
+
YEAR = "year",
|
|
7
|
+
MONTHS = "months",
|
|
8
|
+
AXLES = "axles",
|
|
9
|
+
FULL_NAME = "full name",
|
|
10
|
+
EMAIL = "email",
|
|
11
|
+
INVOICE = "invoice",
|
|
12
|
+
ADDRESS = "address",
|
|
13
|
+
PERSONS = "persons",
|
|
14
|
+
VEHICLES = "vehicles",
|
|
15
|
+
PRICE_SEPARATOR = "price-separator",
|
|
16
|
+
BUSINESS_NAME = "business name",
|
|
17
|
+
SHOP_NAME = "shop name",
|
|
18
|
+
FUEL_STOP = "fuel stop",
|
|
19
|
+
PRODUCER_NAME = "producer name",
|
|
20
|
+
TERMINAL_NAME = "terminal name",
|
|
21
|
+
EIN = "ein",
|
|
22
|
+
MC_FF = "mc/ff",
|
|
23
|
+
PHONE_EXTENSION = "phone-extension",
|
|
24
|
+
ACCOUNT_BANK = "account-bank",
|
|
25
|
+
ROUTING_BANK = "routing-bank",
|
|
26
|
+
SSN = "ssn",
|
|
27
|
+
FUEL_CARD = "fuel-card",
|
|
28
|
+
EMPTY_WEIGHT = "empty-weight",
|
|
29
|
+
CREDIT_LIMIT = "credit limit",
|
|
30
|
+
PO_BOX = "po box",
|
|
31
|
+
PRICE = "price",
|
|
32
|
+
TRAILER_VOLUME = "trailer-volume",
|
|
33
|
+
REPAIR_ODOMETER = "repair-odometer",
|
|
34
|
+
USDOT = "usdot",
|
|
35
|
+
IRP = "irp",
|
|
36
|
+
STARTING = "starting",
|
|
37
|
+
CUSTOMER_PAY_TERM = "customer pay term",
|
|
38
|
+
CUSTOMER_CREDIT = "customer credit",
|
|
39
|
+
DEFAULT_BASE = "default base",
|
|
40
|
+
EACH_OCCURRENCE = "each occurrence",
|
|
41
|
+
DAMAGE = "damage",
|
|
42
|
+
PERSONAL_ADVER_INJ = "personal-adver-inj",
|
|
43
|
+
MEDICAL_EXPENSES = "medical expenses",
|
|
44
|
+
BODILY_INJURY = "bodily injury",
|
|
45
|
+
GENERAL_AGGREGATE = "general aggregate",
|
|
46
|
+
PRODUCTS_COMP_OP_AGG = "products-comp-op-agg",
|
|
47
|
+
COMBINED_SINGLE_LIMIT = "combined-single-limit",
|
|
48
|
+
SINGLE_CONVEYANCE = "single-conveyance",
|
|
49
|
+
DEDUCTABLE = "deductable",
|
|
50
|
+
COMPREH_COLLISION = "compreh-collision",
|
|
51
|
+
TRAILER_VALUE_INSURANCE_POLICY = "trailer-value-insurance-policy",
|
|
52
|
+
RENT = "rent",
|
|
53
|
+
SALARY = "salary",
|
|
54
|
+
MILEAGE = "mileage",
|
|
55
|
+
EMPTY_WEIGHT_SPACE = "empty weight",
|
|
56
|
+
QTY = "qty",
|
|
57
|
+
PURCHASE_PRICE = "purchase price",
|
|
58
|
+
FUEL_TANK_SIZE = "fuel tank size",
|
|
59
|
+
DEVICE_NO = "device no",
|
|
60
|
+
WEIGHT = "weight",
|
|
61
|
+
FUEL_PER_MILES = "fuel per miles",
|
|
62
|
+
FUEL_PRICE_MAP = "fuel price map",
|
|
63
|
+
AMOUNT = "amount",
|
|
64
|
+
BOL_NO = "bol no.",
|
|
65
|
+
SEAL_NO = "seal no.",
|
|
66
|
+
PICKUP_NO = "pickup no.",
|
|
67
|
+
CODE = "code",
|
|
68
|
+
MULTI_FROM_FIRST_FROM = "multifromfirstfrom",
|
|
69
|
+
MULTI_FROM_FIRST_TO = "multifromfirstto",
|
|
70
|
+
MULTI_FORM_SECOND_FROM = "multiformsecondfrom",
|
|
71
|
+
MULTI_FORM_SECOND_TO = "multiformsecondto",
|
|
72
|
+
MULTI_FORM_THIRD_FROM = "multiformthirdfrom",
|
|
73
|
+
MULTI_FORM_THIRD_TO = "multiformthirdto",
|
|
74
|
+
ADDRESS_UNIT = "address-unit",
|
|
75
|
+
DEPARTMENT = "department",
|
|
76
|
+
VEHICLE_UNIT = "vehicle-unit",
|
|
77
|
+
FIRST_NAME = "first name",
|
|
78
|
+
LAST_NAME = "last name",
|
|
79
|
+
BANK_NAME = "bank name",
|
|
80
|
+
VIN_NUMBER = "vin-number",
|
|
81
|
+
INSURANCE_POLICY = "insurance-policy",
|
|
82
|
+
IFTA = "ifta",
|
|
83
|
+
TRUCK_TRAILER_MODEL = "truck-trailer-model",
|
|
84
|
+
LICENSE_PLATE = "license plate",
|
|
85
|
+
DESCRIPTION = "description",
|
|
86
|
+
ALLOW_ALL = "allow all",
|
|
87
|
+
DBA_NAME = "dba name",
|
|
88
|
+
PER_MILE = "per mile",
|
|
89
|
+
PER_STOP = "per stop",
|
|
90
|
+
FLAT_RATE = "flat rate",
|
|
91
|
+
PER_LOAD = "per load",
|
|
92
|
+
RELATIONSHIP = "relationship",
|
|
93
|
+
SCAC = "scac",
|
|
94
|
+
EMERGENCY_NAME = "emergency name",
|
|
95
|
+
FULL_CONTACT_NAME = "full contact name",
|
|
96
|
+
FUEL_STORE = "fuel-store",
|
|
97
|
+
HOS = "hos",
|
|
98
|
+
FULL_PARKING_SLOT = "full parking slot",
|
|
99
|
+
PARKING_SLOT = "parking slot",
|
|
100
|
+
CDL_NUMBER = "cdl-number",
|
|
101
|
+
USERNAME = "username",
|
|
102
|
+
NICKNAME = "nickname",
|
|
103
|
+
PASSWORD = "password",
|
|
104
|
+
TOLL_VALIDATION = "tollvalidation",
|
|
105
|
+
PREFIX = "prefix",
|
|
106
|
+
SUFFIX = "suffix",
|
|
107
|
+
PARKING_NAME = "parking name",
|
|
108
|
+
FILE_NAME = "file name",
|
|
109
|
+
INSURER_NAME = "insurer name",
|
|
110
|
+
OFFICE_NAME = "office name",
|
|
111
|
+
INPUT_DROPDOWN_LABEL = "input dropdown label"
|
|
112
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import { ICaInput } from '
|
|
4
|
-
import { InputChangeValue, InputSvgRoutes } from '
|
|
5
|
-
import { CommandsEvent, LabelColor } from '
|
|
6
|
-
import { InputCommandsType, InputStringEnum } from '
|
|
7
|
-
import { DropdownTemplateTypeEnum } from '
|
|
8
|
-
import { ThousandSeparatorPipe } from '
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
+
import { ICaInput } from './config';
|
|
4
|
+
import { InputChangeValue, InputSvgRoutes } from './utils';
|
|
5
|
+
import { CommandsEvent, LabelColor } from './models';
|
|
6
|
+
import { InputCommandsType, InputStringEnum } from './enums';
|
|
7
|
+
import { DropdownTemplateTypeEnum } from '../ca-input-dropdown/enums';
|
|
8
|
+
import { ThousandSeparatorPipe } from '../../pipes';
|
|
9
9
|
import { NgxMaskService } from 'ngx-mask';
|
|
10
|
-
import { EventInputManager } from '
|
|
11
|
-
import { OptionModel } from '
|
|
10
|
+
import { EventInputManager } from './base-classes/ca-input-event-manager';
|
|
11
|
+
import { OptionModel } from '../ca-input-dropdown/models';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
declare class InputBase {
|
|
14
14
|
inputElement: ElementRef;
|
|
@@ -34,7 +34,7 @@ declare const InputTestComponent_base: {
|
|
|
34
34
|
cancelCommand(): void;
|
|
35
35
|
confirmCommand(): void;
|
|
36
36
|
handlePmIncrementDecrement(action: string): void;
|
|
37
|
-
decrementIncrementDecrementPmValue(value: number, action: import("
|
|
37
|
+
decrementIncrementDecrementPmValue(value: number, action: import("./enums").InputCommandsAction): number;
|
|
38
38
|
resetPmValue(): void;
|
|
39
39
|
inputElement: ElementRef;
|
|
40
40
|
_inputConfig: ICaInput;
|
|
@@ -81,6 +81,7 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
|
|
|
81
81
|
_inputConfig: ICaInput;
|
|
82
82
|
inputSvgRoutes: typeof InputSvgRoutes;
|
|
83
83
|
inputElement: ElementRef;
|
|
84
|
+
parentControl: AbstractControl<any, any> | null;
|
|
84
85
|
selectedDropdownLabelColor: LabelColor | null;
|
|
85
86
|
template: string;
|
|
86
87
|
incorrectValue: boolean;
|
|
@@ -107,7 +108,7 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
|
|
|
107
108
|
get inputConfig(): ICaInput;
|
|
108
109
|
constructor(ngControl: NgControl, chdet: ChangeDetectorRef, maskApplier: NgxMaskService, thousandSeparatorPipe: ThousandSeparatorPipe);
|
|
109
110
|
ngAfterViewInit(): void;
|
|
110
|
-
get control():
|
|
111
|
+
get control(): AbstractControl<any, any> | null;
|
|
111
112
|
registerOnChange(fn: any): void;
|
|
112
113
|
registerOnTouched(fn: () => void): void;
|
|
113
114
|
writeValue(obj: InputChangeValue): void;
|
|
@@ -124,6 +125,6 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
|
|
|
124
125
|
identify(index: number): number;
|
|
125
126
|
handleKeyDown(event: KeyboardEvent): void;
|
|
126
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTestComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
127
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "parentControl": { "alias": "parentControl"; "required": false; }; "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
|
|
128
129
|
}
|
|
129
130
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Constructor } from '../../../models/mixin.model';
|
|
2
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
3
|
+
import { InputTransformStringEnum } from '../enums/input-text-transform.enum';
|
|
4
|
+
export declare function RestrictionPipeMixin<T extends Constructor<{
|
|
5
|
+
restrictInput: ICaInput;
|
|
6
|
+
}>>(Base: T): {
|
|
7
|
+
new (...args: any[]): {
|
|
8
|
+
checkRangeRegex(value: string): boolean;
|
|
9
|
+
getTextTransformation(value: string, textTransform: InputTransformStringEnum | undefined): string | undefined;
|
|
10
|
+
restrictInput: ICaInput;
|
|
11
|
+
};
|
|
12
|
+
} & T;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ColorFinderPipe implements PipeTransform {
|
|
4
|
+
transform(id: number, type: string, isTooltip?: boolean): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorFinderPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ColorFinderPipe, "colorFinder", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormControlPipe implements PipeTransform {
|
|
5
|
+
transform(value: AbstractControl): UntypedFormControl;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormControlPipe, "formControl", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './color-finder.pipe';
|
|
2
|
+
export * from './form-control.pipe';
|
|
3
|
+
export * from './input-class.pipe';
|
|
4
|
+
export * from './input-clear-class.pipe';
|
|
5
|
+
export * from './input-container-class.pipe';
|
|
6
|
+
export * from './input-datetime-picker-class.pipe';
|
|
7
|
+
export * from './input-dropdown-arrow-class.pipe';
|
|
8
|
+
export * from './input-error.pipe';
|
|
9
|
+
export * from './input-password-eye-class.pipe';
|
|
10
|
+
export * from './input-placeholder-icon.class.pipe';
|
|
11
|
+
export * from './input-type.pipe';
|
|
12
|
+
export * from './label-class.pipe';
|
|
13
|
+
export * from './show-clear.pipe';
|
|
14
|
+
export * from './show-dropdown-arrow.pipe';
|
|
15
|
+
export * from './show-invalid-danger-mark.pipe';
|
|
16
|
+
export * from './show-valid-check.pipe';
|
|
17
|
+
export * from './input-placeholder-icon-right.pipe';
|
|
18
|
+
export * from './input-placeholder-text-class.pipe';
|
|
19
|
+
export * from './show-placeholder-text.pipe';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, input: {
|
|
7
|
+
value: string;
|
|
8
|
+
}, isVisibleCommands: boolean, value: string | number, superControlInvalid: boolean | undefined, superControlTouched: boolean | undefined, isDropdownToggler: boolean, isEditInput: boolean, template: string): {
|
|
9
|
+
[key: string]: boolean | undefined | number | null | string;
|
|
10
|
+
};
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputClassPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputClassPipe, "inputClass", true>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputClearClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, incorrectValue: boolean, selectedDropdownLabelColor: boolean, template: string, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputClearClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputClearClassPipe, "inputClearClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputContainerClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, inputConfig: ICaInput, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined | null | string;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputContainerClassPipe, "inputContainerClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
3
|
+
import { AbstractControl } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputDatetimePickerClassPipe implements PipeTransform {
|
|
6
|
+
transform(isFocusInput: boolean | undefined, isVisibleCommands: boolean, getSuperControl: AbstractControl<any, any> | null, inputConfig: Partial<ICaInput>, isTouchedInput: boolean | undefined, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined | number;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputDatetimePickerClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputDatetimePickerClassPipe, "inputDatetimePickerClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputDropdownArrowClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputDropdownArrowClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputDropdownArrowClassPipe, "inputDropdownArrowClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputErrorPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, inputName?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputErrorPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputErrorPipe, "inputError", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "../config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputPasswordEyeClassPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
|
|
7
|
+
[key: string]: boolean;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordEyeClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputPasswordEyeClassPipe, "inputPasswordEyeClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ICaInput } from '../config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InputPatternPipe implements PipeTransform {
|
|
5
|
+
transform(inputName: string, inputConfig: ICaInput): {
|
|
6
|
+
regex: RegExp;
|
|
7
|
+
restrictMultipeDots: boolean;
|
|
8
|
+
isDecimalAndDotOnly: boolean;
|
|
9
|
+
restrictConsecutiveSpaces?: undefined;
|
|
10
|
+
restrictConsecutiveDots?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
regex: RegExp;
|
|
13
|
+
isDecimalAndDotOnly: boolean;
|
|
14
|
+
restrictMultipeDots?: undefined;
|
|
15
|
+
restrictConsecutiveSpaces?: undefined;
|
|
16
|
+
restrictConsecutiveDots?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
regex: RegExp;
|
|
19
|
+
restrictConsecutiveSpaces: boolean;
|
|
20
|
+
restrictConsecutiveDots: boolean;
|
|
21
|
+
restrictMultipeDots: boolean;
|
|
22
|
+
isDecimalAndDotOnly?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
regex: RegExp;
|
|
25
|
+
restrictMultipeDots?: undefined;
|
|
26
|
+
isDecimalAndDotOnly?: undefined;
|
|
27
|
+
restrictConsecutiveSpaces?: undefined;
|
|
28
|
+
restrictConsecutiveDots?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
regex: RegExp;
|
|
31
|
+
restrictConsecutiveSpaces: boolean;
|
|
32
|
+
restrictConsecutiveDots: boolean;
|
|
33
|
+
restrictMultipeDots: boolean;
|
|
34
|
+
isDecimalAndDotOnly: boolean;
|
|
35
|
+
};
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPatternPipe, never>;
|
|
37
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputPatternPipe, "inputPattern", true>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ICaInput } from '../config';
|
|
3
|
+
import { AbstractControl } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputPlaceholderIconRightClassPipe implements PipeTransform {
|
|
6
|
+
transform(isFocusInput: boolean, getSuperControl: AbstractControl<any, any> | null, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderIconRightClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderIconRightClassPipe, "inputPlaceholderIconRightClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "../config/ca-input.config";
|
|
4
|
+
import { LabelColor } from "../models/label-color.model";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InputPlaceholderIconClassPipe implements PipeTransform {
|
|
7
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, selectedDropdownLabelColor: LabelColor | null, isTouchedInput: boolean, isEditInput: boolean, value: string): {
|
|
8
|
+
[key: string]: boolean | undefined;
|
|
9
|
+
};
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderIconClassPipe, never>;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderIconClassPipe, "inputPlaceholderIconClass", true>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ICaInput } from '../config';
|
|
3
|
+
import { AbstractControl } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputPlaceholderTextClassPipe implements PipeTransform {
|
|
6
|
+
transform(isFocusInput: boolean, isTouchedInput: boolean, getSuperControl: AbstractControl<any, any> | null, inputConfig: ICaInput, isVisibleCommands: boolean, value: string): {
|
|
7
|
+
[key: string]: boolean | undefined;
|
|
8
|
+
};
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderTextClassPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderTextClassPipe, "inputPlaceholderTextClass", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputTypePipe implements PipeTransform {
|
|
4
|
+
transform(type: string, value: boolean): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTypePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputTypePipe, "inputType", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LabelClassPipe implements PipeTransform {
|
|
5
|
+
transform(value: string | number, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, superControlInvalid?: boolean, superControlTouched?: boolean): {
|
|
6
|
+
[key: string]: boolean | null | undefined | string | number;
|
|
7
|
+
};
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelClassPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LabelClassPipe, "labelClass", true>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { ICaInput } from "../config/ca-input.config";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShowClearPipe implements PipeTransform {
|
|
5
|
+
transform(inputConfig: ICaInput): boolean | undefined;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowClearPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowClearPipe, "showClear", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShowDropdownArrowPipe implements PipeTransform {
|
|
5
|
+
transform(inputConfig: ICaInput): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowDropdownArrowPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowDropdownArrowPipe, "showDropdownArrow", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "../config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShowInvalidDangerMarkPipe implements PipeTransform {
|
|
6
|
+
transform(inputConfig: ICaInput, getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, isTouchedInput: boolean, value: string): boolean | undefined;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowInvalidDangerMarkPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowInvalidDangerMarkPipe, "showInvalidDangerMark", true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { ICaInput } from '../config/ca-input.config';
|
|
3
|
+
import { AbstractControl } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShowPlaceholderTextPipe implements PipeTransform {
|
|
6
|
+
transform(inputConfig: ICaInput, getSuperControl: AbstractControl<any, any> | null, isVisibleCommands: boolean, value: string): boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowPlaceholderTextPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowPlaceholderTextPipe, "showPlaceholderText", true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { AbstractControl } from "@angular/forms";
|
|
3
|
+
import { ICaInput } from "../config/ca-input.config";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShowValidCheckPipe implements PipeTransform {
|
|
6
|
+
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, value: string): boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowValidCheckPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShowValidCheckPipe, "showValidCheck", true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InputChangeValue = string | number | Date;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class InputSvgRoutes {
|
|
2
|
+
static removeInputSvg: string;
|
|
3
|
+
static xClearSvg: string;
|
|
4
|
+
static xClearCommonSvg: string;
|
|
5
|
+
static confirmSvg: string;
|
|
6
|
+
static dangerSvg: string;
|
|
7
|
+
static eyeVisibleSvg: string;
|
|
8
|
+
static eyeHiddenSvg: string;
|
|
9
|
+
static decrementSvg: string;
|
|
10
|
+
static incrementSvg: string;
|
|
11
|
+
static inputPenSvg: string;
|
|
12
|
+
static inputDropdownArrowSvg: string;
|
|
13
|
+
static dynamicLabelSvg: string;
|
|
14
|
+
static dynamicFocusLabelSvg: string;
|
|
15
|
+
static ownerBadgeBlueSvg: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { SortColumn } from '../ca-sort-dropdown/models/sort-column.model';
|
|
4
|
+
import { FilterDropdownTypes } from './types';
|
|
5
|
+
import { IFilterAction, IFilterDropdownConfiguration, IFilterDropdownList, ISortEmit } from './interface';
|
|
6
|
+
import { CaFiltersSvgRoutes } from '../ca-filters/utils/svg-routes';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CaFilterDropdownComponent {
|
|
9
|
+
type: FilterDropdownTypes;
|
|
10
|
+
config: IFilterDropdownConfiguration;
|
|
11
|
+
bodyTemplate: TemplateRef<any>;
|
|
12
|
+
isFormChanged: boolean;
|
|
13
|
+
appliedFiltersCount: number;
|
|
14
|
+
customTitle: string | false;
|
|
15
|
+
customCancelButton: string | false;
|
|
16
|
+
setFilter: EventEmitter<IFilterAction>;
|
|
17
|
+
handleFiltersClear: EventEmitter<boolean>;
|
|
18
|
+
sorting: EventEmitter<ISortEmit>;
|
|
19
|
+
selectedList: IFilterDropdownList[];
|
|
20
|
+
unselectedList: IFilterDropdownList[];
|
|
21
|
+
activeSortType: SortColumn;
|
|
22
|
+
filterPopoverOpen: NgbPopover | null;
|
|
23
|
+
caFiltersSvgRoutes: typeof CaFiltersSvgRoutes;
|
|
24
|
+
handleSortClick(event: {
|
|
25
|
+
column: SortColumn;
|
|
26
|
+
sortName: string;
|
|
27
|
+
direction: string;
|
|
28
|
+
}): void;
|
|
29
|
+
openClosePopover(popover: NgbPopover): void;
|
|
30
|
+
applyFilters(): void;
|
|
31
|
+
onFilterClear(): void;
|
|
32
|
+
private sortLists;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaFilterDropdownComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaFilterDropdownComponent, "app-ca-filter-dropdown", never, { "type": { "alias": "type"; "required": false; }; "config": { "alias": "config"; "required": false; }; "bodyTemplate": { "alias": "bodyTemplate"; "required": false; }; "isFormChanged": { "alias": "isFormChanged"; "required": false; }; "appliedFiltersCount": { "alias": "appliedFiltersCount"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "customCancelButton": { "alias": "customCancelButton"; "required": false; }; }, { "setFilter": "setFilter"; "handleFiltersClear": "handleFiltersClear"; "sorting": "sorting"; }, never, never, true, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter, PipeTransform } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
|
+
import { LoadStatusEnum } from '../../../../enums/load-status.enum';
|
|
4
|
+
import { FilterDropdownTypes } from '../../types';
|
|
5
|
+
import { IFilterAction, IFilterDropdownConfiguration, IFilterDropdownList, ISortEmit } from '../../interface';
|
|
6
|
+
import { CaFiltersSvgRoutes } from '../../../ca-filters/utils/svg-routes';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CaFilterListDropdownComponent {
|
|
9
|
+
private formBuilder;
|
|
10
|
+
set type(value: FilterDropdownTypes);
|
|
11
|
+
set list(value: IFilterDropdownList[]);
|
|
12
|
+
setFilter: EventEmitter<IFilterAction>;
|
|
13
|
+
caFiltersSvgRoutes: typeof CaFiltersSvgRoutes;
|
|
14
|
+
loadStatusEnum: typeof LoadStatusEnum;
|
|
15
|
+
srollLimitSize: number;
|
|
16
|
+
selectedList: IFilterDropdownList[];
|
|
17
|
+
unselectedList: IFilterDropdownList[];
|
|
18
|
+
searchForm: import("@angular/forms").UntypedFormGroup;
|
|
19
|
+
sortKey: keyof IFilterDropdownList;
|
|
20
|
+
directionMultiplier: number;
|
|
21
|
+
initialListSize: number;
|
|
22
|
+
config: IFilterDropdownConfiguration;
|
|
23
|
+
selectedCount: number;
|
|
24
|
+
activeCount: number;
|
|
25
|
+
private _type;
|
|
26
|
+
private _list;
|
|
27
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
28
|
+
get type(): FilterDropdownTypes;
|
|
29
|
+
selectItem: (item: IFilterDropdownList) => void;
|
|
30
|
+
unSelectItem: (item: IFilterDropdownList) => void;
|
|
31
|
+
get truckOrTrailerIconPipe(): PipeTransform;
|
|
32
|
+
clearValues(): void;
|
|
33
|
+
passFilterValue(): void;
|
|
34
|
+
sortValues(sorting: ISortEmit): void;
|
|
35
|
+
private emitData;
|
|
36
|
+
private updateLists;
|
|
37
|
+
private moveItem;
|
|
38
|
+
private calculateSelectedCount;
|
|
39
|
+
private setInitalList;
|
|
40
|
+
private setInitalType;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaFilterListDropdownComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaFilterListDropdownComponent, "app-ca-filter-list-dropdown", never, { "type": { "alias": "type"; "required": false; }; "list": { "alias": "list"; "required": false; }; }, { "setFilter": "setFilter"; }, never, never, true, never>;
|
|
43
|
+
}
|