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,35 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
|
+
import { eFilterDropdownEnum } from '../../enums';
|
|
4
|
+
import { IFilterDropdownList, ICountry, IFilterAction, ISortEmit } from '../../interface';
|
|
5
|
+
import { CaFiltersSvgRoutes } from '../../../ca-filters/utils/svg-routes';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CaFilterStateDropdownComponent {
|
|
8
|
+
private formBuilder;
|
|
9
|
+
set states(value: ICountry[]);
|
|
10
|
+
setFilter: EventEmitter<IFilterAction>;
|
|
11
|
+
sortKey: keyof IFilterDropdownList;
|
|
12
|
+
directionMultiplier: number;
|
|
13
|
+
config: import("../../interface").IFilterDropdownConfiguration;
|
|
14
|
+
eFilterDropdownEnum: typeof eFilterDropdownEnum;
|
|
15
|
+
caFiltersSvgRoutes: typeof CaFiltersSvgRoutes;
|
|
16
|
+
selectedList: IFilterDropdownList[];
|
|
17
|
+
unselectedList: IFilterDropdownList[];
|
|
18
|
+
searchForm: import("@angular/forms").UntypedFormGroup;
|
|
19
|
+
stateSearchForm: import("../../../ca-input/config").ICaInput;
|
|
20
|
+
selectedCount: number;
|
|
21
|
+
activeCount: number;
|
|
22
|
+
private _states;
|
|
23
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
24
|
+
get states(): ICountry[];
|
|
25
|
+
calculateSelectedCount(): void;
|
|
26
|
+
selectItem: (item: IFilterDropdownList, countryName: string) => void;
|
|
27
|
+
unSelectItem: (item: IFilterDropdownList, countryName: string) => void;
|
|
28
|
+
clearValues(): void;
|
|
29
|
+
passFilterValue(): void;
|
|
30
|
+
sortValues(sorting: ISortEmit): void;
|
|
31
|
+
private emitData;
|
|
32
|
+
private mapInitalStates;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaFilterStateDropdownComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaFilterStateDropdownComponent, "app-ca-filter-state-dropdown", never, { "states": { "alias": "states"; "required": false; }; }, { "setFilter": "setFilter"; }, never, never, true, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { eFilterDropdownEnum } from '../../enums';
|
|
4
|
+
import { IFilterAction, ITimeOptions } from '../../interface';
|
|
5
|
+
import { FilterTimeTypes } from '../../types';
|
|
6
|
+
import { FilterDropdownFields } from '../../utils/configs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CaFilterTimeDropdownComponent implements OnInit {
|
|
9
|
+
private fb;
|
|
10
|
+
set subType(value: FilterTimeTypes);
|
|
11
|
+
setFilter: EventEmitter<IFilterAction>;
|
|
12
|
+
eFilterDropdownEnum: typeof eFilterDropdownEnum;
|
|
13
|
+
config: import("../../interface").IFilterDropdownConfiguration;
|
|
14
|
+
lastYear: number;
|
|
15
|
+
last2Years: number;
|
|
16
|
+
timeOptionsArray: ITimeOptions[];
|
|
17
|
+
selectedTime: number;
|
|
18
|
+
isCustomTime: boolean;
|
|
19
|
+
dateForm: FormGroup;
|
|
20
|
+
form: FormGroup<{
|
|
21
|
+
fromDate: FormControl<null | undefined>;
|
|
22
|
+
toDate: FormControl<null | undefined>;
|
|
23
|
+
}>;
|
|
24
|
+
filterDropdownFields: typeof FilterDropdownFields;
|
|
25
|
+
private _subType;
|
|
26
|
+
constructor(fb: FormBuilder);
|
|
27
|
+
get isFormValid(): boolean;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
selectTime(time: {
|
|
30
|
+
label: string;
|
|
31
|
+
id: number;
|
|
32
|
+
}): void;
|
|
33
|
+
selectCustomTime(): void;
|
|
34
|
+
clearValues(): void;
|
|
35
|
+
passFilterValue(): void;
|
|
36
|
+
private emitValues;
|
|
37
|
+
private initDateForm;
|
|
38
|
+
private convertTimeToDate;
|
|
39
|
+
private timeFilterInit;
|
|
40
|
+
private timeOptionsInit;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaFilterTimeDropdownComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaFilterTimeDropdownComponent, "app-ca-filter-time-dropdown", never, { "subType": { "alias": "subType"; "required": false; }; }, { "setFilter": "setFilter"; }, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './filter-dropdown-icons.constant';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum eFilterDropdownEnum {
|
|
2
|
+
DISPATCHER = "Dispatcher",
|
|
3
|
+
STATUS = "Status",
|
|
4
|
+
PARKING = "Parking",
|
|
5
|
+
TRAILER_TYPE = "TrailerType",
|
|
6
|
+
TRUCK_TYPE = "TruckType",
|
|
7
|
+
PM = "Pm",
|
|
8
|
+
FUEL_ITEM = "FuelItem",
|
|
9
|
+
FUEL_STOP = "FuelStop",
|
|
10
|
+
TIME_FILTER = "TimeFilter",
|
|
11
|
+
SERVICE = "Service",
|
|
12
|
+
STATE = "State"
|
|
13
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare enum eFilterTime {
|
|
2
|
+
DAY = "day",
|
|
3
|
+
DAYS = "days",
|
|
4
|
+
WEEK = "week",
|
|
5
|
+
WEEKS = "weeks",
|
|
6
|
+
MONTH = "month",
|
|
7
|
+
MONTHS = "months",
|
|
8
|
+
QUARTER = "quarter",
|
|
9
|
+
QUARTERS = "quarters",
|
|
10
|
+
YEAR = "year",
|
|
11
|
+
YEARS = "years",
|
|
12
|
+
TODAY = "today",
|
|
13
|
+
YESTERDAY = "yesterday",
|
|
14
|
+
THIS_WEEK = "this week",
|
|
15
|
+
NEXT_WEEK = "next week",
|
|
16
|
+
LAST_WEEK = "last week",
|
|
17
|
+
ONE_WEEK = "1 week",
|
|
18
|
+
ONE_WEEK_FUTURE = "week_future",
|
|
19
|
+
THIS_MONTH = "this month",
|
|
20
|
+
NEXT_MONTH = "next month",
|
|
21
|
+
LAST_MONTH = "last month",
|
|
22
|
+
ONE_MONTH = "1 month",
|
|
23
|
+
ONE_MONTH_FUTURE = "1 month future",
|
|
24
|
+
THREE_MONTHS = "3 months",
|
|
25
|
+
THREE_MONTHS_FUTURE = "3 months future",
|
|
26
|
+
THIS_QUARTER = "this quarter",
|
|
27
|
+
NEXT_QUARTER = "next quarter",
|
|
28
|
+
LAST_QUARTER = "last quarter",
|
|
29
|
+
THIS_YEAR = "this year",
|
|
30
|
+
ONE_YEAR = "1 year",
|
|
31
|
+
ONE_YEAR_FUTURE = "1 year future",
|
|
32
|
+
LAST_YEAR = "last year",
|
|
33
|
+
YEAR_BEFORE_LAST = "year before last",
|
|
34
|
+
MOMENT_DATE_FORMAT = "MM/DD/YY"
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IFilterDropdownList } from "./filter-dropdown-list";
|
|
2
|
+
export interface IState {
|
|
3
|
+
stateName: string;
|
|
4
|
+
stateShortName: string | null;
|
|
5
|
+
count: number;
|
|
6
|
+
}
|
|
7
|
+
export interface ICountry {
|
|
8
|
+
country: string;
|
|
9
|
+
states: IState[];
|
|
10
|
+
selectedList: IFilterDropdownList[];
|
|
11
|
+
unselectedList: IFilterDropdownList[];
|
|
12
|
+
initalList: IFilterDropdownList[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { eFilterDropdownEnum } from "../enums";
|
|
2
|
+
export interface IFilterAction {
|
|
3
|
+
action?: string;
|
|
4
|
+
filterType: eFilterDropdownEnum | 'moneyFilter';
|
|
5
|
+
type?: string;
|
|
6
|
+
queryParams?: {
|
|
7
|
+
fromDate?: string | null;
|
|
8
|
+
toDate?: string | null;
|
|
9
|
+
from?: number;
|
|
10
|
+
to?: number;
|
|
11
|
+
moneyArray?: {
|
|
12
|
+
from: number;
|
|
13
|
+
to: number;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
selectedIds?: number[];
|
|
17
|
+
selectedStates?: string[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ICaInput } from "../../ca-input/config";
|
|
2
|
+
import { SortColumn } from "../../ca-sort-dropdown/models/sort-column.model";
|
|
3
|
+
import { eFilterDropdownEnum } from "../enums";
|
|
4
|
+
export interface IFilterDropdownConfiguration {
|
|
5
|
+
icon: string;
|
|
6
|
+
title: string;
|
|
7
|
+
tooltipText: string;
|
|
8
|
+
sortColumns: SortColumn[];
|
|
9
|
+
filterType: eFilterDropdownEnum;
|
|
10
|
+
search?: boolean;
|
|
11
|
+
searchTitle?: string;
|
|
12
|
+
formFieldConfig?: ICaInput;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface IFilterDropdownList {
|
|
2
|
+
id: number;
|
|
3
|
+
count: number;
|
|
4
|
+
name: string;
|
|
5
|
+
selected: boolean;
|
|
6
|
+
avatar?: {
|
|
7
|
+
fileId?: number;
|
|
8
|
+
fileName?: string | null;
|
|
9
|
+
url?: string | null;
|
|
10
|
+
fileSize?: number | null;
|
|
11
|
+
tags?: Array<string> | null;
|
|
12
|
+
tagGeneratedByUser?: boolean;
|
|
13
|
+
updatedAt?: string | null;
|
|
14
|
+
};
|
|
15
|
+
icon?: string;
|
|
16
|
+
stateShortName?: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './filter-dropdown-configuration.interface';
|
|
2
|
+
export * from './filter-dropdown-list';
|
|
3
|
+
export * from './time-options.interface';
|
|
4
|
+
export * from './filter-action.interface';
|
|
5
|
+
export * from './country.interface';
|
|
6
|
+
export * from './sorting-emmiter.interface';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { InputChangeValue } from '../../ca-input/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FilterSearchPipe implements PipeTransform {
|
|
5
|
+
transform<T>(items: T[], searchString: InputChangeValue, key: keyof T, sortKey?: keyof T, directionMultiplier?: number): T[];
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterSearchPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterSearchPipe, "filterSearch", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { eFilterDropdownEnum } from '../enums';
|
|
2
|
+
export type FilterDropdownTypes = eFilterDropdownEnum.DISPATCHER | eFilterDropdownEnum.STATUS | eFilterDropdownEnum.TRUCK_TYPE | eFilterDropdownEnum.TRAILER_TYPE | eFilterDropdownEnum.PM | eFilterDropdownEnum.SERVICE | eFilterDropdownEnum.FUEL_ITEM | eFilterDropdownEnum.FUEL_STOP | eFilterDropdownEnum.STATE | eFilterDropdownEnum.TIME_FILTER;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './filter-dropdown-fields.config';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './time-filter.helper';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { SearchMultipleStatesRoutes } from './utils/svg-routes';
|
|
3
3
|
import { CaSearchMultipleStatesService } from './utils/services';
|
|
4
|
-
import { ChipsModel,
|
|
4
|
+
import { ChipsModel, ITabData } from './models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CaSearchMultipleStatesComponent implements OnInit, OnDestroy {
|
|
7
7
|
private searchMultipleStatesService;
|
|
8
8
|
tableSearchInput: ElementRef;
|
|
9
9
|
toolbarSearch?: boolean;
|
|
10
|
-
selectedTabData:
|
|
10
|
+
selectedTabData: ITabData;
|
|
11
11
|
searchType: string;
|
|
12
12
|
set isDetailsPageSearch(value: boolean);
|
|
13
13
|
close: EventEmitter<void>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { GridColumn } from './grid-column.model';
|
|
2
|
-
export interface
|
|
3
|
-
extended
|
|
4
|
-
field
|
|
5
|
-
gridNameTitle
|
|
6
|
-
isActive
|
|
7
|
-
length
|
|
8
|
-
stateName
|
|
9
|
-
tableConfiguration
|
|
10
|
-
title
|
|
11
|
-
gridColumns
|
|
12
|
-
data
|
|
2
|
+
export interface ITabData {
|
|
3
|
+
extended?: boolean;
|
|
4
|
+
field?: string;
|
|
5
|
+
gridNameTitle?: string;
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
length?: number;
|
|
8
|
+
stateName?: string;
|
|
9
|
+
tableConfiguration?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
gridColumns?: GridColumn;
|
|
12
|
+
data?: any;
|
|
13
13
|
}
|
|
@@ -2,27 +2,34 @@ import { OnDestroy, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { SortDropdownSvgRoutes } from './utils/svg-routes';
|
|
4
4
|
import { SortColumn } from './models';
|
|
5
|
+
import { SortDropdownEnum } from './enums';
|
|
6
|
+
import { sortDirectionType } from './types';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class CaSortDropdownComponent implements OnDestroy {
|
|
7
9
|
set sortColumns(values: SortColumn[]);
|
|
8
|
-
activeSortColumn: SortColumn
|
|
10
|
+
activeSortColumn: SortColumn;
|
|
9
11
|
dropdownPosition: string;
|
|
10
12
|
dropdownWidth: number;
|
|
13
|
+
isDarkVariation: boolean;
|
|
11
14
|
onSortChange: EventEmitter<{
|
|
12
|
-
column: SortColumn
|
|
15
|
+
column: SortColumn;
|
|
13
16
|
sortName: string;
|
|
17
|
+
direction: string;
|
|
14
18
|
}>;
|
|
19
|
+
isSortPopoverOpened: EventEmitter<boolean>;
|
|
15
20
|
private destroy$;
|
|
16
21
|
sortDropdownSvgRoutes: typeof SortDropdownSvgRoutes;
|
|
17
|
-
sortDirection:
|
|
18
|
-
sortDirectionsRotate:
|
|
22
|
+
sortDirection: SortDropdownEnum.ASC | SortDropdownEnum.DESC;
|
|
23
|
+
sortDirectionsRotate: sortDirectionType;
|
|
19
24
|
sortDropdownPopover: NgbPopover | null;
|
|
20
25
|
isDropdownOpen: boolean;
|
|
21
26
|
_sortColumns: SortColumn[];
|
|
22
27
|
sortDirectionChange(): void;
|
|
23
28
|
sortChangeEvent(column?: SortColumn): void;
|
|
29
|
+
emitPopoverState(): void;
|
|
30
|
+
onHide(): void;
|
|
24
31
|
openClosePopover(popover: NgbPopover): void;
|
|
25
32
|
ngOnDestroy(): void;
|
|
26
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaSortDropdownComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaSortDropdownComponent, "app-ca-sort-dropdown", never, { "sortColumns": { "alias": "sortColumns"; "required": false; }; "activeSortColumn": { "alias": "activeSortColumn"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; }, { "onSortChange": "onSortChange"; }, never, never, true, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaSortDropdownComponent, "app-ca-sort-dropdown", never, { "sortColumns": { "alias": "sortColumns"; "required": false; }; "activeSortColumn": { "alias": "activeSortColumn"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "isDarkVariation": { "alias": "isDarkVariation"; "required": false; }; }, { "onSortChange": "onSortChange"; "isSortPopoverOpened": "isSortPopoverOpened"; }, never, never, true, never>;
|
|
28
35
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sort-directions.type';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-p
|
|
|
3
3
|
export * from './lib/components/ca-app-tooltip-v2/ca-app-tooltip-v2.component';
|
|
4
4
|
export * from './lib/components/ca-details-dropdown/ca-details-dropdown.component';
|
|
5
5
|
export * from './lib/components/ca-filters/ca-filter.component';
|
|
6
|
+
export * from './lib/components/ca-new-filter/ca-filter-dropdown.component';
|
|
6
7
|
export * from './lib/components/ca-input/ca-input.component';
|
|
7
8
|
export * from './lib/components/ca-input-dropdown/ca-input-dropdown.component';
|
|
8
9
|
export * from './lib/components/ca-input-radiobuttons/ca-input-radiobuttons.component';
|
|
@@ -55,9 +56,15 @@ export * from './lib/components/ca-sort-dropdown/enums';
|
|
|
55
56
|
export * from './lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component';
|
|
56
57
|
export * from './lib/components/ca-modal-button/ca-modal-button.component';
|
|
57
58
|
export * from './lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component';
|
|
59
|
+
export * from './lib/components/ca-new-filter/ca-filter-dropdown.component';
|
|
60
|
+
export * from './lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component';
|
|
61
|
+
export * from './lib/components/ca-new-filter/components/ca-filter-time-dropdown/ca-filter-time-dropdown.component';
|
|
62
|
+
export * from './lib/components/ca-new-filter/components/ca-filter-list-dropdown/ca-filter-list-dropdown.component';
|
|
58
63
|
export * from './lib/components/ca-chart-manager/ca-chart-manager.component';
|
|
59
64
|
export * from './lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component';
|
|
60
65
|
export * from './lib/components/ca-map/utils/services';
|
|
61
|
-
export * from './lib/components/ca-input
|
|
66
|
+
export * from './lib/components/ca-input-test/input-test.component';
|
|
62
67
|
export * from './lib/components/ca-checkbox/ca-checkbox.component';
|
|
63
68
|
export * from './lib/components/ca-modal-button/enums';
|
|
69
|
+
export * from './lib/components/ca-new-filter/enums';
|
|
70
|
+
export * from './lib/components/ca-new-filter/interface';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" viewBox="0 0 14 12" fill="none">
|
|
2
|
+
<path d="M5.19856 3.18179H4.28019V11.1368C4.28019 11.2598 4.22899 11.3777 4.1378 11.4646C4.04662 11.5515 3.92293 11.6004 3.79397 11.6004H2.46986C2.3409 11.6004 2.21722 11.5515 2.12603 11.4646C2.03484 11.3777 1.98365 11.2598 1.98365 11.1368V3.18179H1.06527C0.993955 3.18195 0.924158 3.16216 0.864526 3.12487C0.804893 3.08758 0.75805 3.03442 0.729785 2.972C0.70152 2.90958 0.693106 2.84061 0.70554 2.77366C0.717973 2.70671 0.750713 2.64471 0.799741 2.59533L2.86426 0.508837C2.9308 0.442011 3.0224 0.403068 3.11901 0.400524C3.21562 0.397979 3.30936 0.432048 3.37967 0.495269L3.39462 0.508837L5.45909 2.59533C5.50775 2.64478 5.54023 2.70669 5.55251 2.77348C5.56478 2.84026 5.55634 2.90902 5.52822 2.9713C5.5001 3.03357 5.4535 3.08664 5.39418 3.12404C5.33486 3.16143 5.26537 3.18151 5.19426 3.18179H5.19856ZM11.2333 6.93055H6.91352C6.80394 6.93037 6.6989 6.88874 6.62149 6.8148C6.54407 6.74087 6.50061 6.64067 6.50061 6.5362V5.46376C6.50061 5.35929 6.54407 5.25908 6.62149 5.18515C6.6989 5.11122 6.80394 5.06958 6.91352 5.0694H11.2333C11.343 5.0694 11.4482 5.11096 11.5258 5.18491C11.6034 5.25887 11.6469 5.35917 11.6469 5.46376V6.5362C11.6466 6.64044 11.6029 6.74029 11.5255 6.81393C11.4482 6.88758 11.3433 6.92902 11.234 6.92919L11.2333 6.93055ZM12.887 10.1492H6.91352C6.80394 10.149 6.6989 10.1074 6.62149 10.0334C6.54407 9.95952 6.50061 9.85935 6.50061 9.75484V8.68244C6.50061 8.57793 6.54407 8.47776 6.62149 8.40377C6.6989 8.32985 6.80394 8.28827 6.91352 8.28806H12.887C12.9966 8.28827 13.1016 8.32985 13.1791 8.40377C13.2564 8.47776 13.3 8.57793 13.3 8.68244V9.75484C13.2996 9.859 13.2561 9.95875 13.1788 10.0323C13.1016 10.106 12.9969 10.1475 12.8877 10.1478L12.887 10.1492ZM9.57959 3.7119H6.91352C6.80394 3.71172 6.6989 3.67008 6.62149 3.59615C6.54407 3.52222 6.50061 3.422 6.50061 3.31753V2.2451C6.50061 2.14063 6.54407 2.04041 6.62149 1.96648C6.6989 1.89254 6.80394 1.85093 6.91352 1.85075H9.58169C9.63601 1.85075 9.68984 1.86095 9.73996 1.88077C9.79015 1.90058 9.83579 1.92963 9.87415 1.96625C9.91258 2.00287 9.94303 2.04634 9.96382 2.09418C9.98461 2.14203 9.99532 2.19332 9.99532 2.2451V3.31753C9.99476 3.42177 9.95094 3.52156 9.87345 3.59507C9.79589 3.66859 9.69103 3.70985 9.58169 3.70985L9.57959 3.7119Z" fill="#BED0F9"/>
|
|
3
|
+
</svg>
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
export class TimeFilterConstants {
|
|
2
|
-
static getTimePastOptions(lastYear, last2Years) {
|
|
3
|
-
return [
|
|
4
|
-
{
|
|
5
|
-
label: 'Time Filter',
|
|
6
|
-
items: [{ label: 'Today' }, { label: 'Yesterday' }],
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
label: '',
|
|
10
|
-
items: [
|
|
11
|
-
{ label: 'This Week' },
|
|
12
|
-
{ label: 'Last Week' },
|
|
13
|
-
{ label: '1 Week' },
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
label: '',
|
|
18
|
-
items: [
|
|
19
|
-
{ label: 'This Month' },
|
|
20
|
-
{ label: 'Last Month' },
|
|
21
|
-
{ label: '1 Month' },
|
|
22
|
-
{ label: '3 Months' },
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: '',
|
|
27
|
-
items: [{ label: 'This Quarter' }, { label: 'Last Quarter' }],
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
label: '',
|
|
31
|
-
items: [
|
|
32
|
-
{ label: 'This Year' },
|
|
33
|
-
{ label: '1 Year' },
|
|
34
|
-
{ label: lastYear },
|
|
35
|
-
{ label: last2Years },
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
label: '',
|
|
40
|
-
items: [{ label: 'Custom' }],
|
|
41
|
-
},
|
|
42
|
-
];
|
|
43
|
-
}
|
|
44
|
-
static getTimeFutureOptions() {
|
|
45
|
-
return [
|
|
46
|
-
{
|
|
47
|
-
label: 'Time Filter',
|
|
48
|
-
items: [{ label: 'Today' }, { label: 'Tomorrow' }],
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
label: '',
|
|
52
|
-
items: [
|
|
53
|
-
{ label: 'This Week' },
|
|
54
|
-
{ label: 'Next Week' },
|
|
55
|
-
{ label: '1 Week' },
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
label: '',
|
|
60
|
-
items: [
|
|
61
|
-
{ label: 'This Month' },
|
|
62
|
-
{ label: 'Next Month' },
|
|
63
|
-
{ label: '1 Month' },
|
|
64
|
-
{ label: '3 Months' },
|
|
65
|
-
],
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
label: '',
|
|
69
|
-
items: [{ label: 'This Quarter' }, { label: 'Next Quarter' }],
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
label: '',
|
|
73
|
-
items: [{ label: 'This Year' }, { label: '1 Year' }],
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
label: '',
|
|
77
|
-
items: [{ label: 'Custom' }],
|
|
78
|
-
},
|
|
79
|
-
];
|
|
80
|
-
}
|
|
81
|
-
static getTimeShortOptions() {
|
|
82
|
-
return [
|
|
83
|
-
{
|
|
84
|
-
label: 'Time Filter',
|
|
85
|
-
items: [{ label: 'Today' }, { label: 'Yesterday' }],
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
label: '',
|
|
89
|
-
items: [{ label: 'This Week' }, { label: 'Last Week' }],
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
label: '',
|
|
93
|
-
items: [{ label: 'This Month' }, { label: 'Last Month' }],
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
label: '',
|
|
97
|
-
items: [{ label: 'Custom' }],
|
|
98
|
-
},
|
|
99
|
-
];
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1maW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ICAgICAgIGl0ZW1zOiBbXG4gICAgICAgICAgeyBsYWJlbDogJ1RoaXMgWWVhcicgfSxcbiAgICAgICAgICB7IGxhYmVsOiAnMSBZZWFyJyB9LFxuICAgICAgICAgIHsgbGFiZWw6IGxhc3RZZWFyIH0sXG4gICAgICAgICAgeyBsYWJlbDogbGFzdDJZZWFycyB9LFxuICAgICAgICBdLFxuICAgICAgfSxcbiAgICAgIHtcbiAgICAgICAgbGFiZWw6ICcnLFxuICAgICAgICBpdGVtczogW3sgbGFiZWw6ICdDdXN0b20nIH1dLFxuICAgICAgfSxcbiAgICBdO1xuICB9XG5cbiAgc3RhdGljIGdldFRpbWVGdXR1cmVPcHRpb25zKCkge1xuICAgIHJldHVybiBbXG4gICAgICB7XG4gICAgICAgIGxhYmVsOiAnVGltZSBGaWx0ZXInLFxuICAgICAgICBpdGVtczogW3sgbGFiZWw6ICdUb2RheScgfSwgeyBsYWJlbDogJ1RvbW9ycm93JyB9XSxcbiAgICAgIH0sXG4gICAgICB7XG4gICAgICAgIGxhYmVsOiAnJyxcbiAgICAgICAgaXRlbXM6IFtcbiAgICAgICAgICB7IGxhYmVsOiAnVGhpcyBXZWVrJyB9LFxuICAgICAgICAgIHsgbGFiZWw6ICdOZXh0IFdlZWsnIH0sXG4gICAgICAgICAgeyBsYWJlbDogJzEgV2VlaycgfSxcbiAgICAgICAgXSxcbiAgICAgIH0sXG4gICAgICB7XG4gICAgICAgIGxhYmVsOiAnJyxcbiAgICAgICAgaXRlbXM6IFtcbiAgICAgICAgICB7IGxhYmVsOiAnVGhpcyBNb250aCcgfSxcbiAgICAgICAgICB7IGxhYmVsOiAnTmV4dCBNb250aCcgfSxcbiAgICAgICAgICB7IGxhYmVsOiAnMSBNb250aCcgfSxcbiAgICAgICAgICB7IGxhYmVsOiAnMyBNb250aHMnIH0sXG4gICAgICAgIF0sXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBsYWJlbDogJycsXG4gICAgICAgIGl0ZW1zOiBbeyBsYWJlbDogJ1RoaXMgUXVhcnRlcicgfSwgeyBsYWJlbDogJ05leHQgUXVhcnRlcicgfV0sXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBsYWJlbDogJycsXG4gICAgICAgIGl0ZW1zOiBbeyBsYWJlbDogJ1RoaXMgWWVhcicgfSwgeyBsYWJlbDogJzEgWWVhcicgfV0sXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBsYWJlbDogJycsXG4gICAgICAgIGl0ZW1zOiBbeyBsYWJlbDogJ0N1c3RvbScgfV0sXG4gICAgICB9LFxuICAgIF07XG4gIH1cblxuICBzdGF0aWMgZ2V0VGltZVNob3J0T3B0aW9ucygpIHtcbiAgICByZXR1cm4gW1xuICAgICAge1xuICAgICAgICBsYWJlbDogJ1RpbWUgRmlsdGVyJyxcbiAgICAgICAgaXRlbXM6IFt7IGxhYmVsOiAnVG9kYXknIH0sIHsgbGFiZWw6ICdZZXN0ZXJkYXknIH1dLFxuICAgICAgfSxcbiAgICAgIHtcbiAgICAgICAgbGFiZWw6ICcnLFxuICAgICAgICBpdGVtczogW3sgbGFiZWw6ICdUaGlzIFdlZWsnIH0sIHsgbGFiZWw6ICdMYXN0IFdlZWsnIH1dLFxuICAgICAgfSxcbiAgICAgIHtcbiAgICAgICAgbGFiZWw6ICcnLFxuICAgICAgICBpdGVtczogW3sgbGFiZWw6ICdUaGlzIE1vbnRoJyB9LCB7IGxhYmVsOiAnTGFzdCBNb250aCcgfV0sXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBsYWJlbDogJycsXG4gICAgICAgIGl0ZW1zOiBbeyBsYWJlbDogJ0N1c3RvbScgfV0sXG4gICAgICB9LFxuICAgIF07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Directive, EventEmitter, HostListener, Input, Output, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CommandVisibleDirective {
|
|
4
|
-
constructor(el) {
|
|
5
|
-
this.el = el;
|
|
6
|
-
this.commandVisible = new EventEmitter(); // ✅ Emit true/false
|
|
7
|
-
}
|
|
8
|
-
onKeyDown(event) {
|
|
9
|
-
if ((event.key === 'Tab' && event.shiftKey) || event.key === 'Tab') {
|
|
10
|
-
this.emitCommandVisible(false);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
onWindowBlur() {
|
|
14
|
-
this.emitCommandVisible(false);
|
|
15
|
-
}
|
|
16
|
-
onFocus() {
|
|
17
|
-
// Show commands on focus
|
|
18
|
-
this.emitCommandVisible(true);
|
|
19
|
-
}
|
|
20
|
-
emitCommandVisible(status) {
|
|
21
|
-
if (this.restrictInput.commands) {
|
|
22
|
-
this.commandVisible.emit(status);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CommandVisibleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CommandVisibleDirective, isStandalone: true, selector: "[commandVisible]", inputs: { restrictInput: "restrictInput" }, outputs: { commandVisible: "commandVisible" }, host: { listeners: { "keydown": "onKeyDown($event)", "blur": "onWindowBlur()", "focus": "onFocus()" } }, ngImport: i0 }); }
|
|
27
|
-
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CommandVisibleDirective, decorators: [{
|
|
29
|
-
type: Directive,
|
|
30
|
-
args: [{
|
|
31
|
-
selector: '[commandVisible]',
|
|
32
|
-
standalone: true,
|
|
33
|
-
}]
|
|
34
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { commandVisible: [{
|
|
35
|
-
type: Output
|
|
36
|
-
}], restrictInput: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], onKeyDown: [{
|
|
39
|
-
type: HostListener,
|
|
40
|
-
args: ['keydown', ['$event']]
|
|
41
|
-
}], onWindowBlur: [{
|
|
42
|
-
type: HostListener,
|
|
43
|
-
args: ['blur']
|
|
44
|
-
}], onFocus: [{
|
|
45
|
-
type: HostListener,
|
|
46
|
-
args: ['focus']
|
|
47
|
-
}] } });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZC12aXNpYmxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWlucHV0L2RpcmVjdGl2ZXMvY29tbWFuZC12aXNpYmxlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsU0FBUyxFQUVULFlBQVksRUFDWixZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sR0FDVCxNQUFNLGVBQWUsQ0FBQzs7QUFPdkIsTUFBTSxPQUFPLHVCQUF1QjtJQUloQyxZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtRQUh4QixtQkFBYyxHQUFHLElBQUksWUFBWSxFQUFXLENBQUMsQ0FBQyxvQkFBb0I7SUFHdkMsQ0FBQztJQUd0QyxTQUFTLENBQUMsS0FBb0I7UUFDMUIsSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLEtBQUssS0FBSyxJQUFJLEtBQUssQ0FBQyxRQUFRLENBQUMsSUFBSSxLQUFLLENBQUMsR0FBRyxLQUFLLEtBQUssRUFBRSxDQUFDO1lBQ2pFLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUNuQyxDQUFDO0lBQ0wsQ0FBQztJQUdELFlBQVk7UUFDUixJQUFJ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