ca-components 1.3.3 → 1.3.5
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 +68 -4
- package/assets/scss/input-dropdown-test.scss +2030 -0
- package/assets/scss/mixins.scss +18 -0
- package/assets/scss/spacing.scss +59 -0
- package/assets/scss/styles.scss +22 -1
- package/assets/scss/text-selection.scss +43 -204
- package/assets/theme/variables.scss +1 -1
- package/esm2022/lib/ca-components.module.mjs +47 -5
- 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-chart/ca-chart.component.mjs +16 -14
- package/esm2022/lib/components/ca-checkbox/ca-checkbox.component.mjs +134 -0
- package/esm2022/lib/components/ca-checkbox/interfaces/column-check-action.interface.mjs +2 -0
- package/esm2022/lib/components/ca-checkbox/interfaces/index.mjs +2 -0
- package/esm2022/lib/components/ca-checkbox/utils/svg-routes/checkbox-svg-routes.mjs +7 -0
- package/esm2022/lib/components/ca-checkbox/utils/svg-routes/index.mjs +2 -0
- 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-datetime-pickers/ca-custom-datetime-pickers.component.mjs +4 -4
- 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 +95 -24
- package/esm2022/lib/components/ca-dropdown-menu/enums/dropdown-menu.enum.mjs +19 -0
- package/esm2022/lib/components/ca-dropdown-menu/enums/index.mjs +2 -2
- package/esm2022/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-item.interface.mjs +2 -0
- package/esm2022/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-option-emit.interface.mjs +2 -0
- package/esm2022/lib/components/ca-dropdown-menu/interfaces/index.mjs +3 -0
- package/esm2022/lib/components/ca-dropdown-menu/pipes/dropdown-menu-placement-class.pipe.mjs +4 -4
- package/esm2022/lib/components/ca-dropdown-menu/pipes/group-item-checked-state.pipe.mjs +21 -0
- package/esm2022/lib/components/ca-dropdown-menu/pipes/index.mjs +2 -1
- 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 +34 -34
- package/esm2022/lib/components/ca-input-address-dropdown/enums/input-address-basic-string.enum.mjs +6 -0
- package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +4 -4
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-dropdown-test/animations/index.mjs +2 -0
- package/esm2022/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.mjs +11 -0
- package/esm2022/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.mjs +692 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.mjs +62 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.mjs +72 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.mjs +60 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.mjs +62 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.mjs +76 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.mjs +58 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.mjs +76 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.mjs +41 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.mjs +64 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.mjs +38 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.mjs +62 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.mjs +37 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.mjs +61 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.mjs +49 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.mjs +60 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.mjs +49 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.mjs +65 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.mjs +58 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.mjs +62 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.mjs +63 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.mjs +72 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.mjs +56 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.mjs +77 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.mjs +58 -0
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.mjs +62 -0
- package/esm2022/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.mjs +6 -0
- package/esm2022/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.mjs +23 -0
- package/esm2022/lib/components/ca-input-dropdown-test/enums/index.mjs +3 -0
- package/esm2022/lib/components/ca-input-dropdown-test/models/index.mjs +4 -0
- package/esm2022/lib/components/ca-input-dropdown-test/models/input-dropdown-option.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-dropdown-test/models/load-modal-status.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-dropdown-test/models/status-order.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.mjs +29 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.mjs +73 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/index.mjs +10 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.mjs +27 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.mjs +22 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.mjs +18 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.mjs +27 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.mjs +25 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.mjs +23 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.mjs +25 -0
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.mjs +23 -0
- package/esm2022/lib/components/ca-input-dropdown-test/utils/svg-routes/index.mjs +2 -0
- package/esm2022/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.mjs +13 -0
- 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-last-fuel-price-progress/ca-last-fuel-price-progress.component.mjs +75 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/enums/index.mjs +2 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/enums/last-fuel-price-progress.enum.mjs +6 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/interfaces/index.mjs +3 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-config.interface.mjs +2 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-data.interface.mjs +2 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/utils/constants/index.mjs +2 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/utils/constants/last-fuel-price-progress.constants.mjs +10 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/utils/helpers/index.mjs +2 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/utils/helpers/last-fuel-price-progress.helper.mjs +25 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/utils/svg-routes/index.mjs +2 -0
- package/esm2022/lib/components/ca-last-fuel-price-progress/utils/svg-routes/last-fuel-price-progress-svg-routes.mjs +4 -0
- package/esm2022/lib/components/ca-logo-change/ca-logo-change.component.mjs +3 -3
- package/esm2022/lib/components/ca-main-table/ca-main-table.component.mjs +5 -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 +3 -3
- package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +3 -3
- 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 +10 -9
- 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-period-content/enums/index.mjs +2 -1
- package/esm2022/lib/components/ca-period-content/enums/period-title-type.enum.mjs +9 -0
- package/esm2022/lib/components/ca-period-content/utils/constants/color-map.mjs +9 -8
- 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/lib/components/ca-vehicle-list/ca-vehicle-list.component.mjs +77 -0
- package/esm2022/lib/components/ca-vehicle-list/enums/index.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/enums/vehicle-list.enum.mjs +6 -0
- package/esm2022/lib/components/ca-vehicle-list/interfaces/index.mjs +3 -0
- package/esm2022/lib/components/ca-vehicle-list/interfaces/vehicle-list-actions-emit.interface.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/models/index.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/models/vehicle-list.model.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/types/index.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/types/vehicle-list.type.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/utils/constants/index.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/utils/constants/vehicle-list.constants.mjs +37 -0
- package/esm2022/lib/components/ca-vehicle-list/utils/svg-routes/index.mjs +2 -0
- package/esm2022/lib/components/ca-vehicle-list/utils/svg-routes/vehicle-list-svg-routes.mjs +7 -0
- package/esm2022/lib/enums/dropdown-menu.enum.mjs +20 -0
- package/esm2022/lib/enums/index.mjs +2 -0
- package/esm2022/lib/enums/string-placeholder.enum.mjs +14 -0
- package/esm2022/lib/pipes/index.mjs +2 -1
- package/esm2022/lib/pipes/row-class.pipe.mjs +26 -0
- package/esm2022/lib/pipes/truck-trailer-color-finder.pipe.mjs +72 -0
- package/esm2022/lib/utils/constants/dropdown-menu-content.constants.mjs +26 -26
- package/esm2022/lib/utils/helpers/dropdown-menu-content-conditional-items.helper.mjs +4 -4
- package/esm2022/lib/utils/helpers/dropdown-menu-content.helper.mjs +6 -6
- package/esm2022/public-api.mjs +17 -2
- package/fesm2022/ca-components.mjs +7028 -1512
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/ca-components.module.d.ts +40 -33
- package/lib/components/ca-autoclose-popover/ca-autoclose-popover.component.d.ts +2 -1
- package/lib/components/ca-checkbox/ca-checkbox.component.d.ts +39 -0
- package/lib/components/ca-checkbox/interfaces/column-check-action.interface.d.ts +6 -0
- package/lib/components/ca-checkbox/interfaces/index.d.ts +1 -0
- package/lib/components/ca-checkbox/utils/svg-routes/checkbox-svg-routes.d.ts +6 -0
- package/lib/components/ca-checkbox/utils/svg-routes/index.d.ts +1 -0
- package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.d.ts +1 -1
- package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.d.ts +16 -7
- package/lib/components/ca-dropdown-menu/enums/{dropdown-menu-string.enum.d.ts → dropdown-menu.enum.d.ts} +5 -2
- package/lib/components/ca-dropdown-menu/enums/index.d.ts +1 -1
- package/lib/components/ca-dropdown-menu/{models/dropdown-menu-item.model.d.ts → interfaces/dropdown-menu-item.interface.d.ts} +7 -1
- package/lib/components/ca-dropdown-menu/{models/dropdown-menu-option-emit.model.d.ts → interfaces/dropdown-menu-option-emit.interface.d.ts} +1 -1
- package/lib/components/ca-dropdown-menu/interfaces/index.d.ts +2 -0
- package/lib/components/ca-dropdown-menu/pipes/group-item-checked-state.pipe.d.ts +8 -0
- package/lib/components/ca-dropdown-menu/pipes/index.d.ts +1 -0
- package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
- 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-address-dropdown/enums/input-address-basic-string.enum.d.ts +4 -0
- package/lib/components/ca-input-dropdown-test/animations/index.d.ts +1 -0
- package/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.d.ts +1 -0
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.d.ts +125 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.d.ts +20 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.d.ts +22 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.d.ts +19 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.d.ts +20 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.d.ts +27 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.d.ts +18 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.d.ts +24 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.d.ts +10 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.d.ts +18 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.d.ts +11 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.d.ts +18 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.d.ts +11 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.d.ts +18 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.d.ts +14 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.d.ts +20 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.d.ts +14 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.d.ts +20 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.d.ts +18 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.d.ts +20 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.d.ts +20 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.d.ts +22 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.d.ts +15 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.d.ts +22 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.d.ts +18 -0
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.d.ts +20 -0
- package/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.d.ts +4 -0
- package/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.d.ts +21 -0
- package/lib/components/ca-input-dropdown-test/enums/index.d.ts +2 -0
- package/lib/components/ca-input-dropdown-test/models/index.d.ts +3 -0
- package/lib/components/ca-input-dropdown-test/models/input-dropdown-option.model.d.ts +95 -0
- package/lib/components/ca-input-dropdown-test/models/load-modal-status.model.d.ts +5 -0
- package/lib/components/ca-input-dropdown-test/models/status-order.model.d.ts +4 -0
- package/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.d.ts +7 -0
- package/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.d.ts +10 -0
- package/lib/components/ca-input-dropdown-test/pipes/index.d.ts +9 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.d.ts +10 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.d.ts +9 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.d.ts +10 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.d.ts +11 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.d.ts +10 -0
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.d.ts +11 -0
- package/lib/components/ca-input-dropdown-test/utils/svg-routes/index.d.ts +1 -0
- package/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.d.ts +12 -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 → ca-input-test}/mixins/input-command.mixin.d.ts +1 -1
- package/lib/components/{ca-input → ca-input-test}/mixins/input-helper.mixin.d.ts +1 -1
- 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-last-fuel-price-progress/ca-last-fuel-price-progress.component.d.ts +18 -0
- package/lib/components/ca-last-fuel-price-progress/enums/index.d.ts +1 -0
- package/lib/components/ca-last-fuel-price-progress/enums/last-fuel-price-progress.enum.d.ts +4 -0
- package/lib/components/ca-last-fuel-price-progress/interfaces/index.d.ts +2 -0
- package/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-config.interface.d.ts +9 -0
- package/lib/components/ca-last-fuel-price-progress/interfaces/last-fuel-price-progress-data.interface.d.ts +10 -0
- package/lib/components/ca-last-fuel-price-progress/utils/constants/index.d.ts +1 -0
- package/lib/components/ca-last-fuel-price-progress/utils/constants/last-fuel-price-progress.constants.d.ts +3 -0
- package/lib/components/ca-last-fuel-price-progress/utils/helpers/index.d.ts +1 -0
- package/lib/components/ca-last-fuel-price-progress/utils/helpers/last-fuel-price-progress.helper.d.ts +7 -0
- package/lib/components/ca-last-fuel-price-progress/utils/svg-routes/index.d.ts +1 -0
- package/lib/components/ca-last-fuel-price-progress/utils/svg-routes/last-fuel-price-progress-svg-routes.d.ts +3 -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-period-content/components/ca-period-content-payment/ca-period-content-payment.component.d.ts +7 -6
- package/lib/components/ca-period-content/enums/index.d.ts +1 -0
- package/lib/components/ca-period-content/enums/period-title-type.enum.d.ts +7 -0
- package/lib/components/ca-period-content/utils/constants/color-map.d.ts +2 -3
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.d.ts +3 -3
- 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/lib/components/ca-vehicle-list/ca-vehicle-list.component.d.ts +22 -0
- package/lib/components/ca-vehicle-list/enums/index.d.ts +1 -0
- package/lib/components/ca-vehicle-list/enums/vehicle-list.enum.d.ts +4 -0
- package/lib/components/ca-vehicle-list/interfaces/index.d.ts +2 -0
- package/lib/components/ca-vehicle-list/interfaces/vehicle-list-actions-emit.interface.d.ts +5 -0
- package/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.d.ts +7 -0
- package/lib/components/ca-vehicle-list/models/index.d.ts +1 -0
- package/lib/components/ca-vehicle-list/models/vehicle-list.model.d.ts +11 -0
- package/lib/components/ca-vehicle-list/types/index.d.ts +1 -0
- package/lib/components/ca-vehicle-list/types/vehicle-list.type.d.ts +2 -0
- package/lib/components/ca-vehicle-list/utils/constants/index.d.ts +1 -0
- package/lib/components/ca-vehicle-list/utils/constants/vehicle-list.constants.d.ts +5 -0
- package/lib/components/ca-vehicle-list/utils/svg-routes/index.d.ts +1 -0
- package/lib/components/ca-vehicle-list/utils/svg-routes/vehicle-list-svg-routes.d.ts +6 -0
- package/lib/enums/{dropdown-menu-string.enum.d.ts → dropdown-menu.enum.d.ts} +1 -1
- package/lib/enums/index.d.ts +1 -0
- package/lib/enums/string-placeholder.enum.d.ts +12 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/row-class.pipe.d.ts +7 -0
- package/lib/pipes/truck-trailer-color-finder.pipe.d.ts +7 -0
- package/lib/utils/constants/dropdown-menu-content.constants.d.ts +3 -3
- package/lib/utils/helpers/dropdown-menu-content-conditional-items.helper.d.ts +3 -3
- package/lib/utils/helpers/dropdown-menu-content.helper.d.ts +3 -3
- package/package.json +1 -1
- package/public-api.d.ts +16 -1
- package/src/assets/ca-components/svg/common/fuel.svg +4 -0
- package/src/assets/ca-components/svg/common/ic_arrow_desc.svg +3 -0
- package/src/assets/ca-components/svg/common/ic_carriera-logo-active.svg +4 -0
- package/src/assets/ca-components/svg/common/ic_carriera-logo-inactive.svg +4 -0
- package/src/assets/ca-components/svg/common/ic_columns.svg +8 -0
- package/src/assets/ca-components/svg/common/ic_disable.svg +3 -0
- package/src/assets/ca-components/svg/common/ic_owner-status.svg +7 -0
- package/esm2022/lib/components/ca-dropdown-menu/enums/dropdown-menu-string.enum.mjs +0 -14
- package/esm2022/lib/components/ca-dropdown-menu/models/dropdown-menu-item.model.mjs +0 -2
- package/esm2022/lib/components/ca-dropdown-menu/models/dropdown-menu-option-emit.model.mjs +0 -2
- package/esm2022/lib/components/ca-dropdown-menu/models/index.mjs +0 -3
- 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/esm2022/lib/components/ca-period-content/utils/constants/index.mjs +0 -3
- package/esm2022/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.mjs +0 -15
- package/esm2022/lib/enums/dropdown-menu-string.enum.mjs +0 -20
- package/lib/components/ca-dropdown-menu/models/index.d.ts +0 -2
- package/lib/components/ca-period-content/utils/constants/index.d.ts +0 -2
- package/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.d.ts +0 -10
- /package/lib/components/{ca-input → ca-input-test}/directives/command-visible.directive.d.ts +0 -0
- /package/lib/components/{ca-input → ca-input-test}/models/base.model.d.ts +0 -0
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { InputCommandsAction, InputCommandsType } from '../enums';
|
|
2
|
-
export function InputCommandMixin(Base) {
|
|
3
|
-
return class extends Base {
|
|
4
|
-
// #region OnCommands
|
|
5
|
-
onCommands(e) {
|
|
6
|
-
const { event, type, action } = e;
|
|
7
|
-
event.stopPropagation();
|
|
8
|
-
event.preventDefault();
|
|
9
|
-
switch (type) {
|
|
10
|
-
case InputCommandsType.PM_INCREMENT_DECREMENT:
|
|
11
|
-
this.handlePmIncrementDecrement(action);
|
|
12
|
-
break;
|
|
13
|
-
case InputCommandsType.CONFIRM_CANCEL:
|
|
14
|
-
this.handleConfirmCancel(action);
|
|
15
|
-
break;
|
|
16
|
-
case InputCommandsType.MONTHS:
|
|
17
|
-
this.handleMonths(action);
|
|
18
|
-
break;
|
|
19
|
-
default:
|
|
20
|
-
break;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
// #region
|
|
24
|
-
handleMonths(action) {
|
|
25
|
-
//clearTimeout(this.inputCommandsTimeout);
|
|
26
|
-
switch (action) {
|
|
27
|
-
case InputCommandsAction.MINUS:
|
|
28
|
-
this.handleChangeInputAndUpdateControl((this.inputElement.nativeElement.value
|
|
29
|
-
? +this.inputElement.nativeElement.value
|
|
30
|
-
: 0) - 1);
|
|
31
|
-
break;
|
|
32
|
-
case InputCommandsAction.PLUS:
|
|
33
|
-
this.handleChangeInputAndUpdateControl((this.inputElement.nativeElement.value
|
|
34
|
-
? +this.inputElement.nativeElement.value
|
|
35
|
-
: 0) + 1);
|
|
36
|
-
break;
|
|
37
|
-
default:
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
// #endregion
|
|
42
|
-
handleConfirmCancel(action) {
|
|
43
|
-
switch (action) {
|
|
44
|
-
case InputCommandsAction.CONFIRM:
|
|
45
|
-
this.confirmCommand();
|
|
46
|
-
break;
|
|
47
|
-
case InputCommandsAction.CANCEL:
|
|
48
|
-
this.cancelCommand();
|
|
49
|
-
break;
|
|
50
|
-
default:
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
// this.superControl.control?.setErrors(null);
|
|
54
|
-
// this._inputConfig.dropdownLabelNew = false;
|
|
55
|
-
// this._inputConfig.commands!.active = false;
|
|
56
|
-
// this._inputConfig.blackInput = false;
|
|
57
|
-
// this.isEditInput = false;
|
|
58
|
-
// this.isVisibleCommands = false
|
|
59
|
-
// this.isFocusInput = false;
|
|
60
|
-
}
|
|
61
|
-
cancelCommand() {
|
|
62
|
-
//this.setCommandEvent.next({ action: InputCommandsAction.CANCEL });
|
|
63
|
-
}
|
|
64
|
-
confirmCommand() {
|
|
65
|
-
// this.setCommandEvent.next({
|
|
66
|
-
// data: this.superControl.control?.value,
|
|
67
|
-
// action: InputCommandsAction.CONFIRM,
|
|
68
|
-
// mode:
|
|
69
|
-
// !this._inputConfig.dropdownLabelNew &&
|
|
70
|
-
// this._inputConfig.name !== 'Input Dropdown Bank Name'
|
|
71
|
-
// ? 'edit'
|
|
72
|
-
// : 'new',
|
|
73
|
-
// });
|
|
74
|
-
}
|
|
75
|
-
// #region HandlePmIncrementDecrement
|
|
76
|
-
handlePmIncrementDecrement(action) {
|
|
77
|
-
const numericValue = this.inputElement.nativeElement.value;
|
|
78
|
-
// Remove thousands separators (`,`) before parsing
|
|
79
|
-
let value = parseFloat(numericValue.replace(/,/g, ''));
|
|
80
|
-
switch (action) {
|
|
81
|
-
case InputCommandsAction.DECREMENT:
|
|
82
|
-
case InputCommandsAction.INCREMENT:
|
|
83
|
-
const incdecValue = this.decrementIncrementDecrementPmValue(value, action);
|
|
84
|
-
this.handleChangeInputAndUpdateControl(action === InputCommandsAction.INCREMENT
|
|
85
|
-
? value + incdecValue
|
|
86
|
-
: value - incdecValue);
|
|
87
|
-
break;
|
|
88
|
-
case InputCommandsAction.RESET:
|
|
89
|
-
this.resetPmValue();
|
|
90
|
-
break;
|
|
91
|
-
default:
|
|
92
|
-
break;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
// #region DecrementPmValue
|
|
96
|
-
decrementIncrementDecrementPmValue(value, action) {
|
|
97
|
-
if (value >= 10000 && value < 20000) {
|
|
98
|
-
return 1000;
|
|
99
|
-
}
|
|
100
|
-
else if (value >= 20000 && value < 50000) {
|
|
101
|
-
return 5000;
|
|
102
|
-
}
|
|
103
|
-
else if (value >= 50000 && value < 100000) {
|
|
104
|
-
return 10000;
|
|
105
|
-
}
|
|
106
|
-
else if (value >= 500000 &&
|
|
107
|
-
action === InputCommandsAction.INCREMENT) {
|
|
108
|
-
return 0;
|
|
109
|
-
}
|
|
110
|
-
else if (value >= 100000) {
|
|
111
|
-
return 20000;
|
|
112
|
-
}
|
|
113
|
-
else if (value <= 5000 &&
|
|
114
|
-
action === InputCommandsAction.DECREMENT) {
|
|
115
|
-
return 0;
|
|
116
|
-
}
|
|
117
|
-
return 500;
|
|
118
|
-
}
|
|
119
|
-
// #endregion
|
|
120
|
-
// #region ResetPmValue
|
|
121
|
-
resetPmValue() {
|
|
122
|
-
if (this._inputConfig?.defaultValue)
|
|
123
|
-
this.handleChangeInputAndUpdateControl(this._inputConfig?.defaultValue);
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29tbWFuZC5taXhpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWlucHV0L21peGlucy9pbnB1dC1jb21tYW5kLm1peGluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUdsRSxNQUFNLFVBQVUsaUJBQWlCLENBQW1DLElBQU87SUFDdkUsT0FBTyxLQUFNLFNBQVEsSUFBSTtRQUNyQixxQkFBcUI7UUFDZCxVQUFVLENBQUMsQ0FBTTtZQUNwQixNQUFNLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxNQUFNLEVBQUUsR0FBRyxDQUFDLENBQUM7WUFDbEMsS0FBSyxDQUFDLGVBQWUsRUFBRSxDQUFDO1lBQ3hCLEtBQUssQ0FBQyxjQUFjLEVBQUUsQ0FBQztZQUV2QixRQUFRLElBQUksRUFBRSxD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uc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuXG4gICAgICAgICAgICBzd2l0Y2ggKHR5cGUpIHtcbiAgICAgICAgICAgICAgICBjYXNlIElucHV0Q29tbWFuZHNUeXBlLlBNX0lOQ1JFTUVOVF9ERUNSRU1FTlQ6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaGFuZGxlUG1JbmNyZW1lbnREZWNyZW1lbnQoYWN0aW9uKTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgY2FzZSBJbnB1dENvbW1hbmRzVHlwZS5DT05GSVJNX0NBTkNFTDpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5oYW5kbGVDb25maXJtQ2FuY2VsKGFjdGlvbik7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIGNhc2UgSW5wdXRDb21tYW5kc1R5cGUuTU9OVEhTOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLmhhbmRsZU1vbnRocyhhY3Rpb24pO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC8vICNyZWdpb25cblxuICAgICAgICBwdWJsaWMgaGFuZGxlTW9udGhzKGFjdGlvbjogc3RyaW5nKTogdm9pZCB7XG4gICAgICAgICAgICAvL2NsZWFyVGltZW91dCh0aGlzLmlucHV0Q29tbWFuZHNUaW1lb3V0KTtcblxuICAgICAgICAgICAgc3dpdGNoIChhY3Rpb24pIHtcbiAgICAgICAgICAgICAgICBjYXNlIElucHV0Q29tbWFuZHNBY3Rpb24uTUlOVVM6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaGFuZGxlQ2hhbmdlSW5wdXRBbmRVcGRhdGVDb250cm9sKFxuICAgICAgICAgICAgICAgICAgICAgICAgKHRoaXMuaW5wdXRFbGVtZW50Lm5hdGl2ZUVsZW1lbnQudmFsdWVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA/ICt0aGlzLmlucHV0RWxlbWVudC5uYXRpdmVFbGVtZW50LnZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgOiAwKSAtIDFcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgY2FzZSBJbnB1dENvbW1hbmRzQWN0aW9uLlBMVVM6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaGFuZGxlQ2hhbmdlSW5wdXRBbmRVcGRhdGVDb250cm9sKFxuICAgICAgICAgICAgICAgICAgICAgICAgKHRoaXMuaW5wdXRFbGVtZW50Lm5hdGl2ZUVsZW1lbnQudmFsdWVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA/ICt0aGlzLmlucHV0RWxlbWVudC5uYXRpdmVFbGVtZW50LnZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgOiAwKSArIDFcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgLy8gI2VuZHJlZ2lvblxuXG4gICAgICAgIHB1YmxpYyBoYW5kbGVDb25maXJtQ2FuY2VsKGFjdGlvbjogc3RyaW5nKTogdm9pZCB7XG4gICAgICAgICAgICBzd2l0Y2ggKGFjdGlvbikge1xuICAgICAgICAgICAgICAgIGNhc2UgSW5wdXRDb21tYW5kc0FjdGlvbi5DT05GSVJNOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLmNvbmZpcm1Db21tYW5kKCk7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIGNhc2UgSW5wdXRDb21tYW5kc0FjdGlvbi5DQU5DRUw6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY2FuY2VsQ29tbWFuZCgpO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gdGhpcy5zdXBlckNvbnRyb2wuY29udHJvbD8uc2V0RXJyb3JzKG51bGwpO1xuICAgICAgICAgICAgLy8gdGhpcy5faW5wdXRDb25maWcuZHJvcGRvd25MYWJlbE5ldyA9IGZhbHNlO1xuICAgICAgICAgICAgLy8gdGhpcy5faW5wdXRDb25maWcuY29tbWFuZHMhLmFjdGl2ZSA9IGZhbHNlO1xuICAgICAgICAgICAgLy8gdGhpcy5faW5wdXRDb25maWcuYmxhY2tJbnB1dCA9IGZhbHNlO1xuICAgICAgICAgICAgLy8gdGhpcy5pc0VkaXRJbnB1dCA9IGZhbHNlO1xuICAgICAgICAgICAgLy8gdGhpcy5pc1Zpc2libGVDb21tYW5kcyA9IGZhbHNlXG4gICAgICAgICAgICAvLyB0aGlzLmlzRm9jdXNJbnB1dCA9IGZhbHNlO1xuICAgICAgICB9XG5cbiAgICAgICAgcHVibGljIGNhbmNlbENvbW1hbmQoKTogdm9pZCB7XG4gICAgICAgICAgICAvL3RoaXMuc2V0Q29tbWFuZEV2ZW50Lm5leHQoeyBhY3Rpb246IElucHV0Q29tbWFuZHNBY3Rpb24uQ0FOQ0VMIH0pO1xuICAgICAgICB9XG5cbiAgICAgICAgcHVibGljIGNvbmZpcm1Db21tYW5kKCk6IHZvaWQge1xuICAgICAgICAgICAgLy8gdGhpcy5zZXRDb21tYW5kRXZlbnQubmV4dCh7XG4gICAgICAgICAgICAvLyAgICAgZGF0YTogdGhpcy5zdXBlckNvbnRyb2wuY29udHJvbD8udmFsdWUsXG4gICAgICAgICAgICAvLyAgICAgYWN0aW9uOiBJbnB1dENvbW1hbmRzQWN0aW9uLkNPTkZJUk0sXG4gICAgICAgICAgICAvLyAgICAgbW9kZTpcbiAgICAgICAgICAgIC8vICAgICAgICAgIXRoaXMuX2lucHV0Q29uZmlnLmRyb3Bkb3duTGFiZWxOZXcgJiZcbiAgICAgICAgICAgIC8vICAgICAgICAgdGhpcy5faW5wdXRDb25maWcubmFtZSAhPT0gJ0lucHV0IERyb3Bkb3duIEJhbmsgTmFtZSdcbiAgICAgICAgICAgIC8vICAgICAgICAgICAgID8gJ2VkaXQnXG4gICAgICAgICAgICAvLyAgICAgICAgICAgICA6ICduZXcnLFxuICAgICAgICAgICAgLy8gfSk7XG4gICAgICAgIH1cblxuICAgICAgICAvLyAjcmVnaW9uIEhhbmRsZVBtSW5jcmVtZW50RGVjcmVtZW50XG4gICAgICAgIHB1YmxpYyBoYW5kbGVQbUluY3JlbWVudERlY3JlbWVudChhY3Rpb246IHN0cmluZyk6IHZvaWQge1xuICAgICAgICAgICAgY29uc3QgbnVtZXJpY1ZhbHVlID0gdGhpcy5pbnB1dEVsZW1lbnQubmF0aXZlRWxlbWVudC52YWx1ZTtcblxuICAgICAgICAgICAgLy8gUmVtb3ZlIHRob3VzYW5kcyBzZXBhcmF0b3JzIChgLGApIGJlZm9yZSBwYXJzaW5nXG4gICAgICAgICAgICBsZXQgdmFsdWUgPSBwYXJzZUZsb2F0KG51bWVyaWNWYWx1ZS5yZXBsYWNlKC8sL2csICcnKSk7XG5cbiAgICAgICAgICAgIHN3aXRjaCAoYWN0aW9uKSB7XG4gICAgICAgICAgICAgICAgY2FzZSBJbnB1dENvbW1hbmRzQWN0aW9uLkRFQ1JFTUVOVDpcbiAgICAgICAgICAgICAgICBjYXNlIElucHV0Q29tbWFuZHNBY3Rpb24uSU5DUkVNRU5UOlxuICAgICAgICAgICAgICAgICAgICBjb25zdCBpbmNkZWNWYWx1ZSA9IHRoaXMuZGVjcmVtZW50SW5jcmVtZW50RGVjcmVtZW50UG1WYWx1ZShcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlLFxuICAgICAgICAgICAgICAgICAgICAgICAgYWN0aW9uXG4gICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaGFuZGxlQ2hhbmdlSW5wdXRBbmRVcGRhdGVDb250cm9sKFxuICAgICAgICAgICAgICAgICAgICAgICAgYWN0aW9uID09PSBJbnB1dENvbW1hbmRzQWN0aW9uLklOQ1JFTUVOVFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gdmFsdWUgKyBpbmNkZWNWYWx1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDogdmFsdWUgLSBpbmNkZWNWYWx1ZVxuICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICBjYXNlIElucHV0Q29tbWFuZHNBY3Rpb24uUkVTRVQ6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMucmVzZXRQbVZhbHVlKCk7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLy8gI3JlZ2lvbiBEZWNyZW1lbnRQbVZhbHVlXG4gICAgICAgIHB1YmxpYyBkZWNyZW1lbnRJbmNyZW1lbnREZWNyZW1lbnRQbVZhbHVlKFxuICAgICAgICAgICAgdmFsdWU6IG51bWJlcixcbiAgICAgICAgICAgIGFjdGlvbjogSW5wdXRDb21tYW5kc0FjdGlvblxuICAgICAgICApOiBudW1iZXIge1xuICAgICAgICAgICAgaWYgKHZhbHVlID49IDEwMDAwICYmIHZhbHVlIDwgMjAwMDApIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gMTAwMDtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodmFsdWUgPj0gMjAwMDAgJiYgdmFsdWUgPCA1MDAwMCkge1xuICAgICAgICAgICAgICAgIHJldHVybiA1MDAwO1xuICAgICAgICAgICAgfSBlbHNlIGlmICh2YWx1ZSA+PSA1MDAwMCAmJiB2YWx1ZSA8IDEwMDAwMCkge1xuICAgICAgICAgICAgICAgIHJldHVybiAxMDAwMDtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoXG4gICAgICAgICAgICAgICAgdmFsdWUgPj0gNTAwMDAwICYmXG4gICAgICAgICAgICAgICAgYWN0aW9uID09PSBJbnB1dENvbW1hbmRzQWN0aW9uLklOQ1JFTUVOVFxuICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIDA7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDEwMDAwMCkge1xuICAgICAgICAgICAgICAgIHJldHVybiAyMDAwMDtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoXG4gICAgICAgICAgICAgICAgdmFsdWUgPD0gNTAwMCAmJlxuICAgICAgICAgICAgICAgIGFjdGlvbiA9PT0gSW5wdXRDb21tYW5kc0FjdGlvbi5ERUNSRU1FTlRcbiAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgIHJldHVybiAwO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gNTAwO1xuICAgICAgICB9XG4gICAgICAgIC8vICNlbmRyZWdpb25cblxuICAgICAgICAvLyAjcmVnaW9uIFJlc2V0UG1WYWx1ZVxuICAgICAgICBwdWJsaWMgcmVzZXRQbVZhbHVlKCk6IHZvaWQge1xuICAgICAgICAgICAgaWYgKHRoaXMuX2lucHV0Q29uZmlnPy5kZWZhdWx0VmFsdWUpXG4gICAgICAgICAgICAgICAgdGhpcy5oYW5kbGVDaGFuZ2VJbnB1dEFuZFVwZGF0ZUNvbnRyb2woXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuX2lucHV0Q29uZmlnPy5kZWZhdWx0VmFsdWUhXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vICNlbmRyZWdpb25cbiAgICB9O1xufVxuIl19
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
export function InputHelperMixin(Base) {
|
|
2
|
-
return class extends Base {
|
|
3
|
-
// Transform value after we get update from Angular
|
|
4
|
-
transformValue(inputConfig, value) {
|
|
5
|
-
if (value) {
|
|
6
|
-
if (inputConfig.mask)
|
|
7
|
-
return this.maskApplier.applyMask(value, inputConfig.mask);
|
|
8
|
-
else if (inputConfig.priceSeparator)
|
|
9
|
-
return this.thousandSeparatorPipe.transform(value);
|
|
10
|
-
}
|
|
11
|
-
else if (inputConfig.defaultValue) {
|
|
12
|
-
return inputConfig.defaultValue;
|
|
13
|
-
}
|
|
14
|
-
return value;
|
|
15
|
-
}
|
|
16
|
-
// #region ToggleDropdownOptions
|
|
17
|
-
toggleDropdownOptions() {
|
|
18
|
-
this.handleToggleDropdownOptions.emit();
|
|
19
|
-
if (this._inputConfig.isDisabled) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
this.isDropdownToggler = !this.isDropdownToggler;
|
|
23
|
-
// this.setShowHideDropdown.next(this.isDropdownToggler);
|
|
24
|
-
if (this.isDropdownToggler) {
|
|
25
|
-
this.inputElement.nativeElement.focus();
|
|
26
|
-
this.isFocusInput = true;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
// #endregion
|
|
30
|
-
// #region onPlaceholderIconevent
|
|
31
|
-
onPlaceholderIconEvent(event) {
|
|
32
|
-
event.preventDefault();
|
|
33
|
-
event.stopPropagation();
|
|
34
|
-
if (this.isEditInput) {
|
|
35
|
-
this.setCommandEvent.next({
|
|
36
|
-
data: this.inputElement.nativeElement?.value,
|
|
37
|
-
action: 'Toggle Dropdown',
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
this.setCommandEvent.next({
|
|
42
|
-
data: this.inputElement.nativeElement?.value,
|
|
43
|
-
action: 'Place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AgICAgICAgIHJldHVybiBpbnB1dENvbmZpZy5kZWZhdWx0VmFsdWU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHJldHVybiB2YWx1ZTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vICNyZWdpb24gVG9nZ2xlRHJvcGRvd25PcHRpb25zXG4gICAgICAgIHB1YmxpYyB0b2dnbGVEcm9wZG93bk9wdGlvbnMoKTogdm9pZCB7XG4gICAgICAgICAgICB0aGlzLmhhbmRsZVRvZ2dsZURyb3Bkb3duT3B0aW9ucy5lbWl0KCk7XG4gICAgICAgICAgICBpZiAodGhpcy5faW5wdXRDb25maWcuaXNEaXNhYmxlZCkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdGhpcy5pc0Ryb3Bkb3duVG9nZ2xlciA9ICF0aGlzLmlzRHJvcGRvd25Ub2dnbGVyO1xuXG4gICAgICAgICAgICAvLyB0aGlzLnNldFNob3dIaWRlRHJvcGRvd24ubmV4dCh0aGlzLmlzRHJvcGRvd25Ub2dnbGVyKTtcblxuICAgICAgICAgICAgaWYgKHRoaXMuaXNEcm9wZG93blRvZ2dsZXIpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmlucHV0RWxlbWVudC5uYXRpdmVFbGVtZW50LmZvY3VzKCk7XG4gICAgICAgICAgICAgICAgdGhpcy5pc0ZvY3VzSW5wdXQgPSB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIC8vICNlbmRyZWdpb25cblxuICAgICAgICAvLyAjcmVnaW9uIG9uUGxhY2Vob2xkZXJJY29uZXZlbnRcbiAgICAgICAgcHVibGljIG9uUGxhY2Vob2xkZXJJY29uRXZlbnQoZXZlbnQ6IEV2ZW50KTogdm9pZCB7XG4gICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgICAgICBpZiAodGhpcy5pc0VkaXRJbnB1dCkge1xuICAgICAgICAgICAgICAgIHRoaXMuc2V0Q29tbWFuZEV2ZW50Lm5leHQoe1xuICAgICAgICAgICAgICAgICAgICBkYXRhOiB0aGlzLmlucHV0RWxlbWVudC5uYXRpdmVFbGVtZW50Py52YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgYWN0aW9uOiAnVG9nZ2xlIERyb3Bkb3duJyxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgdGhpcy5zZXRDb21tYW5kRXZlbnQubmV4dCh7XG4gICAgICAgICAgICAgICAgICAgIGRhdGE6IHRoaXMuaW5wdXRFbGVtZW50Lm5hdGl2ZUVsZW1lbnQ/LnZhbHVlLFxuICAgICAgICAgICAgICAgICAgICBhY3Rpb246ICdQbGFjZWhvbGRlciBJY29uIEV2ZW50JyxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICAvLyAjZW5kcmVnaW9uXG4gICAgfTtcbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWlucHV0L21vZGVscy9iYXNlLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFbGVtZW50UmVmLCBFdmVudEVtaXR0ZXIgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IElDYUlucHV0IH0gZnJvbSAnLi4vY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uZEV2ZW50OiBFdmVudElucHV0TWFuYWdlcjxDb21tYW5kc0V2ZW50Pjtcbn07XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './color-map';
|
|
2
|
-
export * from './payroll-period-dropdown.constant';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1wZXJpb2QtY29udGVudC91dGlscy9jb25zdGFudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxvQ0FBb0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29sb3ItbWFwJztcbmV4cG9ydCAqIGZyb20gJy4vcGF5cm9sbC1wZXJpb2QtZHJvcGRvd24uY29uc3RhbnQnO1xuIl19
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export class PayrollPeriodDropdownConstant {
|
|
2
|
-
static { this.payrollPeriodOpen = [
|
|
3
|
-
{ Icon: 'assets/ca-components/svg/popup/edit-hover.svg', text: 'Edit' },
|
|
4
|
-
{ Icon: 'assets/ca-components/svg/popup/ic_info.svg', text: 'View Details' },
|
|
5
|
-
{ Icon: 'assets/ca-components/svg/popup/share-icon.svg', text: 'Share' },
|
|
6
|
-
{ Icon: 'assets/ca-components/svg/popup/ic_print.svg', text: 'Print' },
|
|
7
|
-
{ Icon: 'assets/ca-components/svg/popup/Delete.svg', text: 'Delete' },
|
|
8
|
-
]; }
|
|
9
|
-
static { this.payrollPeriodClosed = [
|
|
10
|
-
{ Icon: 'assets/ca-components/svg/popup/ic_info.svg', text: 'View Details' },
|
|
11
|
-
{ Icon: 'assets/ca-components/svg/popup/share-icon.svg', text: 'Share' },
|
|
12
|
-
{ Icon: 'assets/ca-components/svg/popup/ic_print.svg', text: 'Print' },
|
|
13
|
-
]; }
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5cm9sbC1wZXJpb2QtZHJvcGRvd24uY29uc3RhbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1wZXJpb2QtY29udGVudC91dGlscy9jb25zdGFudHMvcGF5cm9sbC1wZXJpb2QtZHJvcGRvd24uY29uc3RhbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLDZCQUE2QjthQUN0QixzQkFBaUIsR0FBRztRQUNoQyxFQUFFLElBQUksRUFBRSwrQ0FBK0MsRUFBRSxJQUFJLEVBQUUsTUFBTSxFQUFFO1FBQ3ZFLEVBQUUsSUFBSSxFQUFFLDRDQUE0QyxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUU7UUFDNUUsRUFBRSxJQUFJLEVBQUUsK0NBQStDLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRTtRQUN4RSxFQUFFLElBQUksRUFBRSw2Q0FBNkMsRUFBRSxJQUFJLEVBQUUsT0FBTyxFQUFFO1FBQ3RFLEVBQUUsSUFBSSxFQUFFLDJDQUEyQyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUU7S0FDeEUsQ0FBQzthQUVjLHdCQUFtQixHQUFHO1FBQ2xDLEVBQUUsSUFBSSxFQUFFLDRDQUE0QyxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUU7UUFDNUUsRUFBRSxJQUFJLEVBQUUsK0NBQStDLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRTtRQUN4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lJyB9LFxuICAgICAgICB7IEljb246ICdhc3NldHMvY2EtY29tcG9uZW50cy9zdmcvcG9wdXAvaWNfcHJpbnQuc3ZnJywgdGV4dDogJ1ByaW50JyB9LFxuICAgIF07XG59XG4iXX0=
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export var DropdownMenuStringEnum;
|
|
2
|
-
(function (DropdownMenuStringEnum) {
|
|
3
|
-
// titles
|
|
4
|
-
DropdownMenuStringEnum["EDIT"] = "Edit";
|
|
5
|
-
DropdownMenuStringEnum["VIEW_DETAILS"] = "View Details";
|
|
6
|
-
DropdownMenuStringEnum["SHARE"] = "Share";
|
|
7
|
-
DropdownMenuStringEnum["PRINT"] = "Print";
|
|
8
|
-
DropdownMenuStringEnum["DELETE"] = "Delete";
|
|
9
|
-
DropdownMenuStringEnum["UNASSIGN"] = "Unassign";
|
|
10
|
-
// types
|
|
11
|
-
DropdownMenuStringEnum["EDIT_TYPE"] = "edit";
|
|
12
|
-
DropdownMenuStringEnum["VIEW_DETAILS_TYPE"] = "view-details";
|
|
13
|
-
DropdownMenuStringEnum["SHARE_TYPE"] = "share";
|
|
14
|
-
DropdownMenuStringEnum["PRINT_TYPE"] = "print";
|
|
15
|
-
DropdownMenuStringEnum["DELETE_TYPE"] = "delete";
|
|
16
|
-
DropdownMenuStringEnum["UNASSIGN_TYPE"] = "unassign";
|
|
17
|
-
// svg classes
|
|
18
|
-
DropdownMenuStringEnum["REGULAR"] = "regular";
|
|
19
|
-
})(DropdownMenuStringEnum || (DropdownMenuStringEnum = {}));
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tbWVudS1zdHJpbmcuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9lbnVtcy9kcm9wZG93bi1tZW51LXN0cmluZy5lbn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AgIC8vIHN2ZyBjbGFzc2VzXG4gICAgUkVHVUxBUiA9ICdyZWd1bGFyJyxcbn1cbiJdfQ==
|
/package/lib/components/{ca-input → ca-input-test}/directives/command-visible.directive.d.ts
RENAMED
|
File without changes
|
|
File without changes
|