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
|
@@ -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';
|
|
@@ -3,7 +3,8 @@ import { PeriodContentSvgRoutes } from '../../utils/svg-routes';
|
|
|
3
3
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
4
4
|
import { CaDropdownMenuComponent } from '../../../ca-dropdown-menu/ca-dropdown-menu.component';
|
|
5
5
|
import { PayrollReportTableResponse } from '../../models/payroll-report-tables.type';
|
|
6
|
-
import {
|
|
6
|
+
import { IDropdownMenuItem, IDropdownMenuOptionEmit } from '../../../ca-dropdown-menu/interfaces';
|
|
7
|
+
import { ePeriodTitleType } from '../../enums';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class CaPeriodContentPaymentComponent implements OnInit {
|
|
9
10
|
private cdr;
|
|
@@ -14,14 +15,14 @@ export declare class CaPeriodContentPaymentComponent implements OnInit {
|
|
|
14
15
|
set excluded(excluded: PayrollReportTableResponse[] | undefined);
|
|
15
16
|
dropdownMenu: CaDropdownMenuComponent;
|
|
16
17
|
_isOpen: boolean;
|
|
17
|
-
dropdownOptions:
|
|
18
|
+
dropdownOptions: IDropdownMenuItem[];
|
|
18
19
|
set isOpen(open: boolean);
|
|
19
20
|
get isOpen(): boolean;
|
|
20
|
-
title: string;
|
|
21
|
+
title: string | ePeriodTitleType;
|
|
21
22
|
hideTotal: boolean;
|
|
22
23
|
openAddNewModalEmiter: EventEmitter<string>;
|
|
23
24
|
openEditEntryItem: EventEmitter<{
|
|
24
|
-
$event:
|
|
25
|
+
$event: IDropdownMenuOptionEmit;
|
|
25
26
|
data: any;
|
|
26
27
|
title: string;
|
|
27
28
|
}>;
|
|
@@ -31,17 +32,17 @@ export declare class CaPeriodContentPaymentComponent implements OnInit {
|
|
|
31
32
|
}>;
|
|
32
33
|
dropdownHoverIndex: number;
|
|
33
34
|
periodContentSvgRoutes: PeriodContentSvgRoutes;
|
|
35
|
+
titleColorClassMap: Map<string, string>;
|
|
34
36
|
constructor(cdr: ChangeDetectorRef);
|
|
35
37
|
ngOnInit(): void;
|
|
36
38
|
handleDropdownMenuHover(hoverIndex?: number): void;
|
|
37
|
-
getColor(title: string): string;
|
|
38
39
|
onDrop(event: CdkDragDrop<PayrollReportTableResponse[]>): void;
|
|
39
40
|
getSvgPath(propertyName: keyof typeof PeriodContentSvgRoutes): string;
|
|
40
41
|
formatDate(date: string): string;
|
|
41
42
|
identity(index: number): number;
|
|
42
43
|
openAddNewModal(): void;
|
|
43
44
|
handleMenuOpen(event: {
|
|
44
|
-
$event:
|
|
45
|
+
$event: IDropdownMenuOptionEmit;
|
|
45
46
|
data: PayrollReportTableResponse;
|
|
46
47
|
title: string;
|
|
47
48
|
}): void;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
import { ePeriodTitleType } from "../../enums";
|
|
2
|
+
export declare const titleColorClassMap: Map<ePeriodTitleType | string, string>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { PickupDeliverySvgRoutes } from '../../../../utils/svg-routes';
|
|
2
2
|
import { FormatCurrencyPipe } from '../../../../../../pipes/format-currency.pipe';
|
|
3
3
|
import { LoadShortResponse, StatusTypeEnum } from '../../../../models';
|
|
4
|
-
import {
|
|
4
|
+
import { IDropdownMenuItem, IDropdownMenuOptionEmit } from '../../../../../ca-dropdown-menu/interfaces';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ActiveLoadComponent {
|
|
7
7
|
formatCurrencyPipe: FormatCurrencyPipe;
|
|
8
8
|
activeLoad: Array<LoadShortResponse>;
|
|
9
9
|
status: StatusTypeEnum;
|
|
10
|
-
dropdownOptions:
|
|
10
|
+
dropdownOptions: IDropdownMenuItem[];
|
|
11
11
|
constructor(formatCurrencyPipe: FormatCurrencyPipe);
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
private setDropdownOptions;
|
|
14
14
|
getSvgPath(propertyName: keyof typeof PickupDeliverySvgRoutes): string;
|
|
15
|
-
handleMenuOpen(event:
|
|
15
|
+
handleMenuOpen(event: IDropdownMenuOptionEmit): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActiveLoadComponent, never>;
|
|
17
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActiveLoadComponent, "app-ca-load-single", never, { "activeLoad": { "alias": "activeLoad"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -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';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { eVehicleList } from './enums';
|
|
3
|
+
import { eStringPlaceholder } from '../../enums';
|
|
4
|
+
import { VehicleListSvgRoutes } from './utils/svg-routes';
|
|
5
|
+
import { IVehicleListConfig, IVehicleListActionsEmit } from './interfaces';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CaVehicleListComponent {
|
|
8
|
+
set vehicleListConfig(data: IVehicleListConfig);
|
|
9
|
+
vehicleListActionsEmitter: EventEmitter<IVehicleListActionsEmit>;
|
|
10
|
+
_vehicleListConfig: IVehicleListConfig;
|
|
11
|
+
vehicleListSvgRoutes: typeof VehicleListSvgRoutes;
|
|
12
|
+
eVehicleList: typeof eVehicleList;
|
|
13
|
+
eStringPlaceholder: typeof eStringPlaceholder;
|
|
14
|
+
vehicleListHeaderItems: string[];
|
|
15
|
+
vehicleHoverIndex: number;
|
|
16
|
+
constructor();
|
|
17
|
+
private getConstantData;
|
|
18
|
+
handleVehicleTypeHoverAction(vehicleIndex: number): void;
|
|
19
|
+
handleClickActions(action?: IVehicleListActionsEmit): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaVehicleListComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaVehicleListComponent, "app-ca-vehicle-list", never, { "vehicleListConfig": { "alias": "vehicleListConfig"; "required": false; }; }, { "vehicleListActionsEmitter": "vehicleListActionsEmitter"; }, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './vehicle-list.enum';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './vehicle-list.model';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface VehicleListResponse {
|
|
2
|
+
unitId?: number | null;
|
|
3
|
+
unitType?: RepairUnitType;
|
|
4
|
+
unitNumber?: string | null;
|
|
5
|
+
totalCount?: number | null;
|
|
6
|
+
vehicleTypeId?: number;
|
|
7
|
+
vehicleName?: string;
|
|
8
|
+
logoName?: string | null;
|
|
9
|
+
totalCost?: number | null;
|
|
10
|
+
}
|
|
11
|
+
export type RepairUnitType = 'Truck' | 'Trailer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './vehicle-list.type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './vehicle-list.constants';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './vehicle-list-svg-routes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './string-placeholder.enum';
|
package/lib/pipes/index.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RowClassPipe implements PipeTransform {
|
|
4
|
+
transform(row: any, tableData: any[] | null, rowIndex: number): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowClassPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RowClassPipe, "rowClass", true>;
|
|
7
|
+
}
|