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,326 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class InputPatternPipe {
|
|
4
|
+
transform(inputName, inputConfig) {
|
|
5
|
+
if (inputConfig.priceSeparator) {
|
|
6
|
+
return {
|
|
7
|
+
regex: /^[0-9.]*$/,
|
|
8
|
+
restrictMultipeDots: true,
|
|
9
|
+
isDecimalAndDotOnly: true,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
else if (inputConfig.thousandSeparator) {
|
|
13
|
+
return {
|
|
14
|
+
regex: /^[0-9]*$/,
|
|
15
|
+
isDecimalAndDotOnly: true,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
else if (['business name', 'shop name', 'fuel stop'].includes(inputName)) {
|
|
19
|
+
return {
|
|
20
|
+
regex: /^[A-Za-z0-9!#'$&%()*+,./[:;=<>?çéâêîôûàèìòùëïü\s-]*$/g,
|
|
21
|
+
restrictConsecutiveSpaces: false,
|
|
22
|
+
restrictConsecutiveDots: false,
|
|
23
|
+
restrictMultipeDots: false,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
else if (['phone', 'fax'].includes(inputName)) {
|
|
27
|
+
return {
|
|
28
|
+
regex: /^[0-9() -]*$/g,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
else if ([
|
|
32
|
+
'mc/ff',
|
|
33
|
+
'phone-extension',
|
|
34
|
+
'account-bank',
|
|
35
|
+
'routing-bank',
|
|
36
|
+
'fuel-card',
|
|
37
|
+
'empty-weight',
|
|
38
|
+
'credit limit',
|
|
39
|
+
'po box',
|
|
40
|
+
'price',
|
|
41
|
+
'trailer-volume',
|
|
42
|
+
'repair-odometer',
|
|
43
|
+
'usdot',
|
|
44
|
+
'irp',
|
|
45
|
+
'starting',
|
|
46
|
+
'customer pay term',
|
|
47
|
+
'customer credit',
|
|
48
|
+
'default base',
|
|
49
|
+
'each occurrence',
|
|
50
|
+
'damage',
|
|
51
|
+
'personal-adver-inj',
|
|
52
|
+
'medical expenses',
|
|
53
|
+
'bodily injury',
|
|
54
|
+
'general aggregate',
|
|
55
|
+
'products-comp-op-agg',
|
|
56
|
+
'combined-single-limit',
|
|
57
|
+
'single-conveyance',
|
|
58
|
+
'deductable',
|
|
59
|
+
'compreh-collision',
|
|
60
|
+
'trailer-value-insurance-policy',
|
|
61
|
+
'rent',
|
|
62
|
+
'salary',
|
|
63
|
+
'mileage',
|
|
64
|
+
'months',
|
|
65
|
+
'empty weight',
|
|
66
|
+
'qty',
|
|
67
|
+
'purchase price',
|
|
68
|
+
].includes(inputName)) {
|
|
69
|
+
return {
|
|
70
|
+
regex: /^[0-9]*$/g,
|
|
71
|
+
restrictConsecutiveSpaces: false,
|
|
72
|
+
restrictConsecutiveDots: false,
|
|
73
|
+
restrictMultipeDots: false,
|
|
74
|
+
};
|
|
75
|
+
//return /^[0-9]*$/g;
|
|
76
|
+
}
|
|
77
|
+
else if ('email' === inputName) {
|
|
78
|
+
return {
|
|
79
|
+
regex: /^[A-Za-z0-9!#$%&'*+/=?^_`{|}~@.-]*$/g,
|
|
80
|
+
restrictConsecutiveSpaces: false,
|
|
81
|
+
restrictConsecutiveDots: true,
|
|
82
|
+
restrictMultipeDots: false,
|
|
83
|
+
};
|
|
84
|
+
//return /^[A-Za-z0-9!#$%&'*+/=?^_`{|}~@.-]*$/g;
|
|
85
|
+
}
|
|
86
|
+
else if ('invoice' === inputName) {
|
|
87
|
+
return {
|
|
88
|
+
regex: /^[A-Za-z0-9/-]*$/g,
|
|
89
|
+
restrictConsecutiveSpaces: false,
|
|
90
|
+
restrictConsecutiveDots: false,
|
|
91
|
+
restrictMultipeDots: false,
|
|
92
|
+
};
|
|
93
|
+
//return /^[A-Za-z0-9/-]*$/g;
|
|
94
|
+
}
|
|
95
|
+
else if (['address-unit', 'department', 'vehicle-unit'].includes(inputName)) {
|
|
96
|
+
return {
|
|
97
|
+
regex: /^[A-Za-z0-9]*$/,
|
|
98
|
+
restrictConsecutiveSpaces: false,
|
|
99
|
+
restrictConsecutiveDots: false,
|
|
100
|
+
restrictMultipeDots: false,
|
|
101
|
+
};
|
|
102
|
+
//return /^[A-Za-z0-9]*$/;
|
|
103
|
+
}
|
|
104
|
+
else if ('first name' === inputName) {
|
|
105
|
+
return {
|
|
106
|
+
regex: /^[A-Za-z',\s.-]*$/,
|
|
107
|
+
restrictConsecutiveSpaces: false,
|
|
108
|
+
restrictConsecutiveDots: false,
|
|
109
|
+
restrictMultipeDots: false,
|
|
110
|
+
};
|
|
111
|
+
//return /^[A-Za-z',\s.-]*$/;
|
|
112
|
+
}
|
|
113
|
+
else if ('last name' === inputName) {
|
|
114
|
+
return {
|
|
115
|
+
regex: /^[A-Za-z',\s.-]*$/,
|
|
116
|
+
restrictConsecutiveSpaces: false,
|
|
117
|
+
restrictConsecutiveDots: false,
|
|
118
|
+
restrictMultipeDots: false,
|
|
119
|
+
};
|
|
120
|
+
//return /^[A-Za-z',\s.-]*$/;
|
|
121
|
+
}
|
|
122
|
+
else if ('bank name' === inputName) {
|
|
123
|
+
return {
|
|
124
|
+
regex: /^[A-Za-z0-9!#'$&%()*+,./:;=<>?-^[]*$/,
|
|
125
|
+
restrictConsecutiveSpaces: false,
|
|
126
|
+
restrictConsecutiveDots: false,
|
|
127
|
+
restrictMultipeDots: false,
|
|
128
|
+
};
|
|
129
|
+
//return /^[A-Za-z0-9!#'$&%()*+,./:;=<>?-^[]*$/;
|
|
130
|
+
}
|
|
131
|
+
else if (['vin-number', 'insurance-policy', 'ifta'].includes(inputName)) {
|
|
132
|
+
return {
|
|
133
|
+
regex: /^[A-Za-z0-9-]*$/,
|
|
134
|
+
restrictConsecutiveSpaces: false,
|
|
135
|
+
restrictConsecutiveDots: false,
|
|
136
|
+
restrictMultipeDots: false,
|
|
137
|
+
};
|
|
138
|
+
//return /^[A-Za-z0-9-]*$/;
|
|
139
|
+
}
|
|
140
|
+
else if ('truck-trailer-model' === inputName) {
|
|
141
|
+
return {
|
|
142
|
+
regex: /^[A-Za-z0-9\s-]*$/,
|
|
143
|
+
restrictConsecutiveSpaces: false,
|
|
144
|
+
restrictConsecutiveDots: false,
|
|
145
|
+
restrictMultipeDots: false,
|
|
146
|
+
};
|
|
147
|
+
//return /^[A-Za-z0-9\s-]*$/;
|
|
148
|
+
}
|
|
149
|
+
else if ('year' === inputName) {
|
|
150
|
+
return {
|
|
151
|
+
regex: /^(|0|[1-9]\d*)$/,
|
|
152
|
+
};
|
|
153
|
+
//return /^[0-9]$/;
|
|
154
|
+
}
|
|
155
|
+
else if ('license plate' === inputName) {
|
|
156
|
+
return {
|
|
157
|
+
regex: /^[A-Za-z0-9\s]*$/,
|
|
158
|
+
restrictConsecutiveSpaces: false,
|
|
159
|
+
restrictConsecutiveDots: false,
|
|
160
|
+
restrictMultipeDots: false,
|
|
161
|
+
};
|
|
162
|
+
//return /^[A-Za-z0-9\s]*$/;
|
|
163
|
+
}
|
|
164
|
+
else if ('description' === inputName) {
|
|
165
|
+
return {
|
|
166
|
+
regex: /^[A-Za-z0-9-.,/\s]*$/,
|
|
167
|
+
restrictConsecutiveSpaces: false,
|
|
168
|
+
restrictConsecutiveDots: false,
|
|
169
|
+
restrictMultipeDots: false,
|
|
170
|
+
};
|
|
171
|
+
//return /^[A-Za-z0-9-.,/\s]*$/;
|
|
172
|
+
}
|
|
173
|
+
else if ('dba name' === inputName) {
|
|
174
|
+
return {
|
|
175
|
+
regex: /^[A-Za-z0-9!#'$&%()*+,./:;=<>?^[-]*$/,
|
|
176
|
+
restrictConsecutiveSpaces: false,
|
|
177
|
+
restrictConsecutiveDots: false,
|
|
178
|
+
restrictMultipeDots: false,
|
|
179
|
+
};
|
|
180
|
+
//return /^[A-Za-z0-9!#'$&%()*+,./:;=<>?^[-]*$/;
|
|
181
|
+
}
|
|
182
|
+
else if ('per mile' === inputName) {
|
|
183
|
+
return {
|
|
184
|
+
regex: /^[0-9.]*$/,
|
|
185
|
+
restrictConsecutiveSpaces: false,
|
|
186
|
+
restrictConsecutiveDots: false,
|
|
187
|
+
restrictMultipeDots: false,
|
|
188
|
+
};
|
|
189
|
+
//return /^[0-9.]*$/;
|
|
190
|
+
}
|
|
191
|
+
else if ('per stop' === inputName) {
|
|
192
|
+
return {
|
|
193
|
+
regex: /^[0-9]*$/,
|
|
194
|
+
restrictConsecutiveSpaces: false,
|
|
195
|
+
restrictConsecutiveDots: false,
|
|
196
|
+
restrictMultipeDots: false,
|
|
197
|
+
};
|
|
198
|
+
//return /^[0-9]*$/;
|
|
199
|
+
}
|
|
200
|
+
else if (['emergency name', 'relationship', 'scac'].includes(inputName)) {
|
|
201
|
+
return {
|
|
202
|
+
regex: /^[A-Za-z',\s.-]*$/,
|
|
203
|
+
restrictConsecutiveSpaces: false,
|
|
204
|
+
restrictConsecutiveDots: false,
|
|
205
|
+
restrictMultipeDots: false,
|
|
206
|
+
};
|
|
207
|
+
//return /^[A-Za-z',\s.-]*$/;
|
|
208
|
+
}
|
|
209
|
+
else if ('fuel store' === inputName) {
|
|
210
|
+
return {
|
|
211
|
+
regex: /^[A-Za-z0-9-]*$/,
|
|
212
|
+
restrictConsecutiveSpaces: false,
|
|
213
|
+
restrictConsecutiveDots: false,
|
|
214
|
+
restrictMultipeDots: false,
|
|
215
|
+
};
|
|
216
|
+
//return /^[A-Za-z0-9-]*$/;
|
|
217
|
+
}
|
|
218
|
+
else if ('hos' === inputName) {
|
|
219
|
+
return {
|
|
220
|
+
regex: /^[0-9]*$/,
|
|
221
|
+
restrictConsecutiveSpaces: false,
|
|
222
|
+
restrictConsecutiveDots: false,
|
|
223
|
+
restrictMultipeDots: false,
|
|
224
|
+
};
|
|
225
|
+
//return /^[0-9]*$/;
|
|
226
|
+
}
|
|
227
|
+
else if (['full parking slot', 'parking slot'].includes(inputName)) {
|
|
228
|
+
return {
|
|
229
|
+
regex: /^[0-9,-]*$/,
|
|
230
|
+
restrictConsecutiveSpaces: false,
|
|
231
|
+
restrictConsecutiveDots: false,
|
|
232
|
+
restrictMultipeDots: false,
|
|
233
|
+
};
|
|
234
|
+
//return /^[0-9,-]*$/;
|
|
235
|
+
}
|
|
236
|
+
else if ('cdl-number' === inputName) {
|
|
237
|
+
return {
|
|
238
|
+
regex: /^[A-Za-z0-9\s*-]*$/,
|
|
239
|
+
restrictConsecutiveSpaces: false,
|
|
240
|
+
restrictConsecutiveDots: false,
|
|
241
|
+
restrictMultipeDots: false,
|
|
242
|
+
};
|
|
243
|
+
//return /^[A-Za-z0-9\s*-]*$/;
|
|
244
|
+
}
|
|
245
|
+
else if (['username', 'nickname', 'terminal name', 'password'].includes(inputName)) {
|
|
246
|
+
return {
|
|
247
|
+
regex: /^[A-Za-z0-9.,_!#^~[?/<`@$%*+=}{|:";>&'()-]*$/,
|
|
248
|
+
restrictConsecutiveSpaces: false,
|
|
249
|
+
restrictConsecutiveDots: false,
|
|
250
|
+
restrictMultipeDots: false,
|
|
251
|
+
};
|
|
252
|
+
//return /^[A-Za-z0-9.,_!#^~[?/<`@$%*+=}{|:";>&'()-]*$/;
|
|
253
|
+
}
|
|
254
|
+
else if ('full name' === inputName) {
|
|
255
|
+
return {
|
|
256
|
+
regex: /^[A-Za-z0-9.,/!@#$%^&*()_+={}"':>?<;\s-]*$/,
|
|
257
|
+
restrictConsecutiveSpaces: false,
|
|
258
|
+
restrictConsecutiveDots: false,
|
|
259
|
+
restrictMultipeDots: false,
|
|
260
|
+
};
|
|
261
|
+
//return /^[A-Za-z0-9.,/!@#$%^&*()_+={}"':>?<;\s-]*$/;
|
|
262
|
+
}
|
|
263
|
+
else if ('tollvalidation' === inputName) {
|
|
264
|
+
return {
|
|
265
|
+
regex: /^[0-9-]*$/,
|
|
266
|
+
restrictConsecutiveSpaces: false,
|
|
267
|
+
restrictConsecutiveDots: false,
|
|
268
|
+
restrictMultipeDots: false,
|
|
269
|
+
};
|
|
270
|
+
//return /^[0-9-]*$/;
|
|
271
|
+
}
|
|
272
|
+
else if (['prefix', 'suffix', 'parking name'].includes(inputName)) {
|
|
273
|
+
return {
|
|
274
|
+
regex: /^[A-Za-z0-9]*$/,
|
|
275
|
+
restrictConsecutiveSpaces: false,
|
|
276
|
+
restrictConsecutiveDots: false,
|
|
277
|
+
restrictMultipeDots: false,
|
|
278
|
+
};
|
|
279
|
+
//return /^[A-Za-z0-9]*$/;
|
|
280
|
+
}
|
|
281
|
+
else if ('file name' === inputName) {
|
|
282
|
+
return {
|
|
283
|
+
regex: /^[:*?"<>|/]*$/,
|
|
284
|
+
restrictConsecutiveSpaces: false,
|
|
285
|
+
restrictConsecutiveDots: false,
|
|
286
|
+
restrictMultipeDots: false,
|
|
287
|
+
};
|
|
288
|
+
//return /^[:*?"<>|/]*$/;
|
|
289
|
+
}
|
|
290
|
+
else if (['producer name', 'insurer name', 'office name'].includes(inputName)) {
|
|
291
|
+
return {
|
|
292
|
+
regex: /^[A-Za-z0-9!#'$&%()*+,./;:=<>?[^-]*$/,
|
|
293
|
+
restrictConsecutiveSpaces: false,
|
|
294
|
+
restrictConsecutiveDots: false,
|
|
295
|
+
restrictMultipeDots: false,
|
|
296
|
+
};
|
|
297
|
+
//return /^[A-Za-z0-9!#'$&%()*+,./;:=<>?[^-]*$/;
|
|
298
|
+
}
|
|
299
|
+
else if (['full contact name'].includes(inputName)) {
|
|
300
|
+
return {
|
|
301
|
+
regex: /^[A-Za-z\s]+$/,
|
|
302
|
+
restrictConsecutiveSpaces: false,
|
|
303
|
+
restrictConsecutiveDots: false,
|
|
304
|
+
restrictMultipeDots: false,
|
|
305
|
+
};
|
|
306
|
+
//return /^[A-Za-z\s]+$/;
|
|
307
|
+
}
|
|
308
|
+
return {
|
|
309
|
+
regex: /.*/,
|
|
310
|
+
restrictConsecutiveSpaces: false,
|
|
311
|
+
restrictConsecutiveDots: false,
|
|
312
|
+
restrictMultipeDots: false,
|
|
313
|
+
isDecimalAndDotOnly: false,
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPatternPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
317
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputPatternPipe, isStandalone: true, name: "inputPattern" }); }
|
|
318
|
+
}
|
|
319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPatternPipe, decorators: [{
|
|
320
|
+
type: Pipe,
|
|
321
|
+
args: [{
|
|
322
|
+
name: 'inputPattern',
|
|
323
|
+
standalone: true,
|
|
324
|
+
}]
|
|
325
|
+
}] });
|
|
326
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGF0dGVybi5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2EtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2EtaW5wdXQtdGVzdC9waXBlcy9pbnB1dC1wYXR0ZXJuLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBT3BELE1BQU0sT0FBTyxnQkFBZ0I7SUFDekIsU0FBUyxDQUFDLFNBQWlCLEVBQUUsV0FBcUI7UUFDOUMsSUFBSSxXQUFXLENBQUMsY0FBYyxFQUFFLENBQUM7WUFDN0IsT0FBTztnQkFDSCxLQUFLLEVBQUUsV0FBVztnQkFDbEIsbUJBQW1CLEVBQUUsSUFBSTtnQkFDekIsbUJBQW1CLEVBQUUsSUFBSTthQUM1QixDQUFDO1FBQ04sQ0FBQzthQUFNLElBQUksV0FBVyxDQUFDLGlCQUFpQixFQUFFLENBQUM7WUFDdkMsT0FBTztnQkFDSCxLQUFLLEVBQUUsVUFBVTtnQkFDakIsbUJBQW1CLEVBQUUsSUFBSTthQUM1QixDQUFDO1FBQ04sQ0FBQzthQUFNLElBQ0gsQ0FBQyxlQUFlLEVBQUUsV0FBVyxFQUFFLFdBQVcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxTQUFTLENBQUMsRUFDakUsQ0FBQztZQUNDLE9BQU87Z0JBQ0gsS0FBSyxFQUFFLHVEQUF1RDtnQkFDOUQseUJBQXlCLEVBQUUsS0FBSztnQkFDaEMsdUJBQXVCLEVBQUU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dE11bHRpcGVEb3RzOiB0cnVlLFxuICAgICAgICAgICAgICAgIGlzRGVjaW1hbEFuZERvdE9ubHk6IHRydWUsXG4gICAgICAgICAgICB9O1xuICAgICAgICB9IGVsc2UgaWYgKGlucHV0Q29uZmlnLnRob3VzYW5kU2VwYXJhdG9yKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXlswLTldKiQvLFxuICAgICAgICAgICAgICAgIGlzRGVjaW1hbEFuZERvdE9ubHk6IHRydWUsXG4gICAgICAgICAgICB9O1xuICAgICAgICB9IGVsc2UgaWYgKFxuICAgICAgICAgICAgWydidXNpbmVzcyBuYW1lJywgJ3Nob3AgbmFtZScsICdmdWVsIHN0b3AnXS5pbmNsdWRlcyhpbnB1dE5hbWUpXG4gICAgICAgICkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL15bQS1aYS16MC05ISMnJCYlKCkqKywuL1s6Oz08Pj/Dp8Opw6LDqsOuw7TDu8Ogw6jDrMOyw7nDq8Ovw7xcXHMtXSokL2csXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZVNwYWNlczogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgfSBlbHNlIGlmIChbJ3Bob25lJywgJ2ZheCddLmluY2x1ZGVzKGlucHV0TmFtZSkpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eWzAtOSgpIC1dKiQvZyxcbiAgICAgICAgICAgIH07XG4gICAgICAgIH0gZWxzZSBpZiAoXG4gICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgJ21jL2ZmJyxcbiAgICAgICAgICAgICAgICAncGhvbmUtZXh0ZW5zaW9uJyxcbiAgICAgICAgICAgICAgICAnYWNjb3VudC1iYW5rJyxcbiAgICAgICAgICAgICAgICAncm91dGluZy1iYW5rJyxcbiAgICAgICAgICAgICAgICAnZnVlbC1jYXJkJyxcbiAgICAgICAgICAgICAgICAnZW1wdHktd2VpZ2h0JyxcbiAgICAgICAgICAgICAgICAnY3JlZGl0IGxpbWl0JyxcbiAgICAgICAgICAgICAgICAncG8gYm94JyxcbiAgICAgICAgICAgICAgICAncHJpY2UnLFxuICAgICAgICAgICAgICAgICd0cmFpbGVyLXZvbHVtZScsXG4gICAgICAgICAgICAgICAgJ3JlcGFpci1vZG9tZXRlcicsXG4gICAgICAgICAgICAgICAgJ3VzZG90JyxcbiAgICAgICAgICAgICAgICAnaXJwJyxcbiAgICAgICAgICAgICAgICAnc3RhcnRpbmcnLFxuICAgICAgICAgICAgICAgICdjdXN0b21lciBwYXkgdGVybScsXG4gICAgICAgICAgICAgICAgJ2N1c3RvbWVyIGNyZWRpdCcsXG4gICAgICAgICAgICAgICAgJ2RlZmF1bHQgYmFzZScsXG4gICAgICAgICAgICAgICAgJ2VhY2ggb2NjdXJyZW5jZScsXG4gICAgICAgICAgICAgICAgJ2RhbWFnZScsXG4gICAgICAgICAgICAgICAgJ3BlcnNvbmFsLWFkdmVyLWluaicsXG4gICAgICAgICAgICAgICAgJ21lZGljYWwgZXhwZW5zZXMnLFxuICAgICAgICAgICAgICAgICdib2RpbHkgaW5qdXJ5JyxcbiAgICAgICAgICAgICAgICAnZ2VuZXJhbCBhZ2dyZWdhdGUnLFxuICAgICAgICAgICAgICAgICdwcm9kdWN0cy1jb21wLW9wLWFnZycsXG4gICAgICAgICAgICAgICAgJ2NvbWJpbmVkLXNpbmdsZS1saW1pdCcsXG4gICAgICAgICAgICAgICAgJ3NpbmdsZS1jb252ZXlhbmNlJyxcbiAgICAgICAgICAgICAgICAnZGVkdWN0YWJsZScsXG4gICAgICAgICAgICAgICAgJ2NvbXByZWgtY29sbGlzaW9uJyxcbiAgICAgICAgICAgICAgICAndHJhaWxlci12YWx1ZS1pbnN1cmFuY2UtcG9saWN5JyxcbiAgICAgICAgICAgICAgICAncmVudCcsXG4gICAgICAgICAgICAgICAgJ3NhbGFyeScsXG4gICAgICAgICAgICAgICAgJ21pbGVhZ2UnLFxuICAgICAgICAgICAgICAgICdtb250aHMnLFxuICAgICAgICAgICAgICAgICdlbXB0eSB3ZWlnaHQnLFxuICAgICAgICAgICAgICAgICdxdHknLFxuICAgICAgICAgICAgICAgICdwdXJjaGFzZSBwcmljZScsXG4gICAgICAgICAgICBdLmluY2x1ZGVzKGlucHV0TmFtZSlcbiAgICAgICAgKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXlswLTldKiQvZyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bMC05XSokL2c7XG4gICAgICAgIH0gZWxzZSBpZiAoJ2VtYWlsJyA9PT0gaW5wdXROYW1lKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXltBLVphLXowLTkhIyQlJicqKy89P15fYHt8fX5ALi1dKiQvZyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogdHJ1ZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXltBLVphLXowLTkhIyQlJicqKy89P15fYHt8fX5ALi1dKiQvZztcbiAgICAgICAgfSBlbHNlIGlmICgnaW52b2ljZScgPT09IGlucHV0TmFtZSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL15bQS1aYS16MC05Ly1dKiQvZyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bQS1aYS16MC05Ly1dKiQvZztcbiAgICAgICAgfSBlbHNlIGlmIChcbiAgICAgICAgICAgIFsnYWRkcmVzcy11bml0JywgJ2RlcGFydG1lbnQnLCAndmVoaWNsZS11bml0J10uaW5jbHVkZXMoaW5wdXROYW1lKVxuICAgICAgICApIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eW0EtWmEtejAtOV0qJC8sXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZVNwYWNlczogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIC8vcmV0dXJuIC9eW0EtWmEtejAtOV0qJC87XG4gICAgICAgIH0gZWxzZSBpZiAoJ2ZpcnN0IG5hbWUnID09PSBpbnB1dE5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eW0EtWmEteicsXFxzLi1dKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXltBLVphLXonLFxccy4tXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgnbGFzdCBuYW1lJyA9PT0gaW5wdXROYW1lKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXltBLVphLXonLFxccy4tXSokLyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bQS1aYS16JyxcXHMuLV0qJC87XG4gICAgICAgIH0gZWxzZSBpZiAoJ2JhbmsgbmFtZScgPT09IGlucHV0TmFtZSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL15bQS1aYS16MC05ISMnJCYlKCkqKywuLzo7PTw+Py1eW10qJC8sXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZVNwYWNlczogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIC8vcmV0dXJuIC9eW0EtWmEtejAtOSEjJyQmJSgpKissLi86Oz08Pj8tXltdKiQvO1xuICAgICAgICB9IGVsc2UgaWYgKFxuICAgICAgICAgICAgWyd2aW4tbnVtYmVyJywgJ2luc3VyYW5jZS1wb2xpY3knLCAnaWZ0YSddLmluY2x1ZGVzKGlucHV0TmFtZSlcbiAgICAgICAgKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXltBLVphLXowLTktXSokLyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bQS1aYS16MC05LV0qJC87XG4gICAgICAgIH0gZWxzZSBpZiAoJ3RydWNrLXRyYWlsZXItbW9kZWwnID09PSBpbnB1dE5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eW0EtWmEtejAtOVxccy1dKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXltBLVphLXowLTlcXHMtXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgneWVhcicgPT09IGlucHV0TmFtZSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL14ofDB8WzEtOV1cXGQqKSQvLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIC8vcmV0dXJuIC9eWzAtOV0kLztcbiAgICAgICAgfSBlbHNlIGlmICgnbGljZW5zZSBwbGF0ZScgPT09IGlucHV0TmFtZSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL15bQS1aYS16MC05XFxzXSokLyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bQS1aYS16MC05XFxzXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgnZGVzY3JpcHRpb24nID09PSBpbnB1dE5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eW0EtWmEtejAtOS0uLC9cXHNdKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXltBLVphLXowLTktLiwvXFxzXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgnZGJhIG5hbWUnID09PSBpbnB1dE5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eW0EtWmEtejAtOSEjJyQmJSgpKissLi86Oz08Pj9eWy1dKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXltBLVphLXowLTkhIyckJiUoKSorLC4vOjs9PD4/XlstXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgncGVyIG1pbGUnID09PSBpbnB1dE5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eWzAtOS5dKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXlswLTkuXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgncGVyIHN0b3AnID09PSBpbnB1dE5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eWzAtOV0qJC8sXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZVNwYWNlczogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIC8vcmV0dXJuIC9eWzAtOV0qJC87XG4gICAgICAgIH0gZWxzZSBpZiAoXG4gICAgICAgICAgICBbJ2VtZXJnZW5jeSBuYW1lJywgJ3JlbGF0aW9uc2hpcCcsICdzY2FjJ10uaW5jbHVkZXMoaW5wdXROYW1lKVxuICAgICAgICApIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eW0EtWmEteicsXFxzLi1dKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXltBLVphLXonLFxccy4tXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgnZnVlbCBzdG9yZScgPT09IGlucHV0TmFtZSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL15bQS1aYS16MC05LV0qJC8sXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZVNwYWNlczogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIC8vcmV0dXJuIC9eW0EtWmEtejAtOS1dKiQvO1xuICAgICAgICB9IGVsc2UgaWYgKCdob3MnID09PSBpbnB1dE5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eWzAtOV0qJC8sXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZVNwYWNlczogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIC8vcmV0dXJuIC9eWzAtOV0qJC87XG4gICAgICAgIH0gZWxzZSBpZiAoWydmdWxsIHBhcmtpbmcgc2xvdCcsICdwYXJraW5nIHNsb3QnXS5pbmNsdWRlcyhpbnB1dE5hbWUpKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXlswLTksLV0qJC8sXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZVNwYWNlczogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIC8vcmV0dXJuIC9eWzAtOSwtXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgnY2RsLW51bWJlcicgPT09IGlucHV0TmFtZSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL15bQS1aYS16MC05XFxzKi1dKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXltBLVphLXowLTlcXHMqLV0qJC87XG4gICAgICAgIH0gZWxzZSBpZiAoXG4gICAgICAgICAgICBbJ3VzZXJuYW1lJywgJ25pY2tuYW1lJywgJ3Rlcm1pbmFsIG5hbWUnLCAncGFzc3dvcmQnXS5pbmNsdWRlcyhcbiAgICAgICAgICAgICAgICBpbnB1dE5hbWVcbiAgICAgICAgICAgIClcbiAgICAgICAgKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXltBLVphLXowLTkuLF8hI15+Wz8vPGBAJCUqKz19e3w6XCI7PiYnKCktXSokLyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bQS1aYS16MC05LixfISNefls/LzxgQCQlKis9fXt8OlwiOz4mJygpLV0qJC87XG4gICAgICAgIH0gZWxzZSBpZiAoJ2Z1bGwgbmFtZScgPT09IGlucHV0TmFtZSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL15bQS1aYS16MC05LiwvIUAjJCVeJiooKV8rPXt9XCInOj4/PDtcXHMtXSokLyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bQS1aYS16MC05LiwvIUAjJCVeJiooKV8rPXt9XCInOj4/PDtcXHMtXSokLztcbiAgICAgICAgfSBlbHNlIGlmICgndG9sbHZhbGlkYXRpb24nID09PSBpbnB1dE5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eWzAtOS1dKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXlswLTktXSokLztcbiAgICAgICAgfSBlbHNlIGlmIChbJ3ByZWZpeCcsICdzdWZmaXgnLCAncGFya2luZyBuYW1lJ10uaW5jbHVkZXMoaW5wdXROYW1lKSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZWdleDogL15bQS1aYS16MC05XSokLyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bQS1aYS16MC05XSokLztcbiAgICAgICAgfSBlbHNlIGlmICgnZmlsZSBuYW1lJyA9PT0gaW5wdXROYW1lKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXls6Kj9cIjw+fC9dKiQvLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVTcGFjZXM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdE11bHRpcGVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICAvL3JldHVybiAvXls6Kj9cIjw+fC9dKiQvO1xuICAgICAgICB9IGVsc2UgaWYgKFxuICAgICAgICAgICAgWydwcm9kdWNlciBuYW1lJywgJ2luc3VyZXIgbmFtZScsICdvZmZpY2UgbmFtZSddLmluY2x1ZGVzKGlucHV0TmFtZSlcbiAgICAgICAgKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHJlZ2V4OiAvXltBLVphLXowLTkhIyckJiUoKSorLC4vOzo9PD4/W14tXSokLyxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlRG90czogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RNdWx0aXBlRG90czogZmFsc2UsXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgLy9yZXR1cm4gL15bQS1aYS16MC05ISMnJCYlKCkqKywuLzs6PTw+P1teLV0qJC87XG4gICAgICAgIH0gZWxzZSBpZiAoWydmdWxsIGNvbnRhY3QgbmFtZSddLmluY2x1ZGVzKGlucHV0TmFtZSkpIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgcmVnZXg6IC9eW0EtWmEtelxcc10rJC8sXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZVNwYWNlczogZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVzdHJpY3RDb25zZWN1dGl2ZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIC8vcmV0dXJuIC9eW0EtWmEtelxcc10rJC87XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgcmVnZXg6IC8uKi8sXG4gICAgICAgICAgICByZXN0cmljdENvbnNlY3V0aXZlU3BhY2VzOiBmYWxzZSxcbiAgICAgICAgICAgIHJlc3RyaWN0Q29uc2VjdXRpdmVEb3RzOiBmYWxzZSxcbiAgICAgICAgICAgIHJlc3RyaWN0TXVsdGlwZURvdHM6IGZhbHNlLFxuICAgICAgICAgICAgaXNEZWNpbWFsQW5kRG90T25seTogZmFsc2UsXG4gICAgICAgIH07XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class InputPlaceholderIconRightClassPipe {
|
|
4
|
+
transform(isFocusInput, getSuperControl, inputConfig, isTouchedInput, value) {
|
|
5
|
+
return {
|
|
6
|
+
hide: isFocusInput && getSuperControl?.value,
|
|
7
|
+
focus: isFocusInput,
|
|
8
|
+
'valid-focus-out': getSuperControl?.value &&
|
|
9
|
+
getSuperControl?.valid &&
|
|
10
|
+
!isFocusInput &&
|
|
11
|
+
!inputConfig.isDisabled,
|
|
12
|
+
'valid-focus-in': getSuperControl?.value &&
|
|
13
|
+
getSuperControl?.valid &&
|
|
14
|
+
isFocusInput &&
|
|
15
|
+
!inputConfig.isDisabled,
|
|
16
|
+
'invalid-focus-out': getSuperControl?.invalid &&
|
|
17
|
+
(isTouchedInput || getSuperControl?.touched) &&
|
|
18
|
+
!isFocusInput &&
|
|
19
|
+
!inputConfig.isDisabled,
|
|
20
|
+
'invalid-focus-in': getSuperControl?.value &&
|
|
21
|
+
getSuperControl?.invalid &&
|
|
22
|
+
isFocusInput &&
|
|
23
|
+
!inputConfig.isDisabled,
|
|
24
|
+
red: inputConfig.isPlaceHolderIconRightSideDynamicColor &&
|
|
25
|
+
getSuperControl?.invalid &&
|
|
26
|
+
!inputConfig.isDisabled &&
|
|
27
|
+
(((isTouchedInput || getSuperControl?.touched) && !isFocusInput) ||
|
|
28
|
+
(getSuperControl?.value && isFocusInput)),
|
|
29
|
+
blue: inputConfig.isPlaceHolderIconRightSideDynamicColor &&
|
|
30
|
+
getSuperControl?.value &&
|
|
31
|
+
getSuperControl?.valid &&
|
|
32
|
+
!isFocusInput &&
|
|
33
|
+
!inputConfig.isDisabled,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderIconRightClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
37
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderIconRightClassPipe, isStandalone: true, name: "inputPlaceholderIconRightClass" }); }
|
|
38
|
+
}
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderIconRightClassPipe, decorators: [{
|
|
40
|
+
type: Pipe,
|
|
41
|
+
args: [{
|
|
42
|
+
name: 'inputPlaceholderIconRightClass',
|
|
43
|
+
standalone: true,
|
|
44
|
+
}]
|
|
45
|
+
}] });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGxhY2Vob2xkZXItaWNvbi1yaWdodC5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2EtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2EtaW5wdXQtdGVzdC9waXBlcy9pbnB1dC1wbGFjZWhvbGRlci1pY29uLXJpZ2h0LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBUXBELE1BQU0sT0FBTyxrQ0FBa0M7SUFDN0MsU0FBUyxDQUNQLFlBQXFCLEVBQ3JCLGVBQWlELEVBQ2pELFdBQXFCLEVBQ3JCLGNBQXVCLEVBQ3ZCLEtBQWE7UUFFYixPQUFPO1lBQ0wsSUFBSSxFQUFFLFlBQVksSUFBSSxlQUFlLEVBQUUsS0FBSztZQUM1QyxLQUFLLEVBQUUsWUFBWTtZQUNuQixpQkFBaUIsRUFDZixlQUFlLEVBQUUsS0FBSztnQkFDdEIsZUFBZSxFQUFFLEtBQUs7Z0JBQ3RCLENBQUMsWUFB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RTdXBlckNvbnRyb2w/LnZhbHVlICYmXG4gICAgICAgIGdldFN1cGVyQ29udHJvbD8udmFsaWQgJiZcbiAgICAgICAgIWlzRm9jdXNJbnB1dCAmJlxuICAgICAgICAhaW5wdXRDb25maWcuaXNEaXNhYmxlZCxcbiAgICB9O1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Pipe } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class InputPlaceholderIconClassPipe {
|
|
4
|
+
transform(getSuperControl, isFocusInput, inputConfig, selectedDropdownLabelColor, isTouchedInput, isEditInput, value) {
|
|
5
|
+
return {
|
|
6
|
+
"inactive-empty": !getSuperControl?.value && inputConfig.isDisabled,
|
|
7
|
+
"inactive-filled": getSuperControl?.value && inputConfig.isDisabled,
|
|
8
|
+
"default-svg-color": !(inputConfig.dropdownLabel && isFocusInput) &&
|
|
9
|
+
!(inputConfig.dropdownLabel && selectedDropdownLabelColor),
|
|
10
|
+
focus: isFocusInput && !inputConfig.dropdownLabel,
|
|
11
|
+
"valid-focus-in": getSuperControl?.value &&
|
|
12
|
+
getSuperControl?.valid &&
|
|
13
|
+
isFocusInput &&
|
|
14
|
+
!selectedDropdownLabelColor &&
|
|
15
|
+
!inputConfig.dropdownLabel &&
|
|
16
|
+
!inputConfig.blackInput &&
|
|
17
|
+
!inputConfig.commands?.active &&
|
|
18
|
+
!inputConfig.isDisabled,
|
|
19
|
+
"valid-focus-out": getSuperControl?.value &&
|
|
20
|
+
getSuperControl?.valid &&
|
|
21
|
+
!isFocusInput &&
|
|
22
|
+
!selectedDropdownLabelColor &&
|
|
23
|
+
!inputConfig.dropdownLabel &&
|
|
24
|
+
!inputConfig.isDisabled,
|
|
25
|
+
"valid-focus-out-dropdown-label": getSuperControl?.value &&
|
|
26
|
+
getSuperControl?.valid &&
|
|
27
|
+
!isFocusInput &&
|
|
28
|
+
selectedDropdownLabelColor &&
|
|
29
|
+
inputConfig.dropdownLabel &&
|
|
30
|
+
!inputConfig.isDisabled,
|
|
31
|
+
"invalid-focus-in": getSuperControl?.value &&
|
|
32
|
+
getSuperControl?.invalid &&
|
|
33
|
+
isFocusInput &&
|
|
34
|
+
!selectedDropdownLabelColor &&
|
|
35
|
+
!inputConfig.dropdownLabel &&
|
|
36
|
+
!inputConfig.blackInput &&
|
|
37
|
+
!inputConfig.isDisabled,
|
|
38
|
+
"invalid-focus-out": getSuperControl?.invalid &&
|
|
39
|
+
!isFocusInput &&
|
|
40
|
+
!selectedDropdownLabelColor &&
|
|
41
|
+
!inputConfig.dropdownLabel &&
|
|
42
|
+
(isTouchedInput || getSuperControl?.touched) &&
|
|
43
|
+
!inputConfig.isDisabled,
|
|
44
|
+
hidden: inputConfig.type === "password" && getSuperControl?.value,
|
|
45
|
+
'cursor-pointer': isEditInput
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderIconClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
49
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderIconClassPipe, isStandalone: true, name: "inputPlaceholderIconClass" }); }
|
|
50
|
+
}
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderIconClassPipe, decorators: [{
|
|
52
|
+
type: Pipe,
|
|
53
|
+
args: [{
|
|
54
|
+
name: "inputPlaceholderIconClass",
|
|
55
|
+
standalone: true,
|
|
56
|
+
}]
|
|
57
|
+
}] });
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGxhY2Vob2xkZXItaWNvbi5jbGFzcy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJj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XNhYmxlZCxcbiAgICAgIGhpZGRlbjogaW5wdXRDb25maWcudHlwZSA9PT0gXCJwYXNzd29yZFwiICYmIGdldFN1cGVyQ29udHJvbD8udmFsdWUsXG4gICAgICAnY3Vyc29yLXBvaW50ZXInOiBpc0VkaXRJbnB1dFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class InputPlaceholderTextClassPipe {
|
|
4
|
+
transform(isFocusInput, isTouchedInput, getSuperControl, inputConfig, isVisibleCommands, value) {
|
|
5
|
+
return {
|
|
6
|
+
focus: isFocusInput,
|
|
7
|
+
'inactive-filled': getSuperControl?.value && inputConfig.isDisabled,
|
|
8
|
+
'valid-focus-in': getSuperControl?.value &&
|
|
9
|
+
getSuperControl?.valid &&
|
|
10
|
+
isFocusInput &&
|
|
11
|
+
!inputConfig.blackInput &&
|
|
12
|
+
!inputConfig.commands?.active &&
|
|
13
|
+
!isVisibleCommands &&
|
|
14
|
+
!inputConfig.isDisabled,
|
|
15
|
+
'valid-focus-out': getSuperControl?.value &&
|
|
16
|
+
getSuperControl?.valid &&
|
|
17
|
+
!isFocusInput &&
|
|
18
|
+
!inputConfig.commands?.active &&
|
|
19
|
+
!isVisibleCommands &&
|
|
20
|
+
!inputConfig.isDisabled,
|
|
21
|
+
'invalid-focus-in': getSuperControl?.value &&
|
|
22
|
+
getSuperControl?.invalid &&
|
|
23
|
+
isFocusInput &&
|
|
24
|
+
!inputConfig.blackInput &&
|
|
25
|
+
!inputConfig.commands?.active &&
|
|
26
|
+
!isVisibleCommands &&
|
|
27
|
+
!inputConfig.isDisabled,
|
|
28
|
+
'invalid-focus-out': getSuperControl?.value &&
|
|
29
|
+
getSuperControl?.invalid &&
|
|
30
|
+
(isTouchedInput || getSuperControl?.touched) &&
|
|
31
|
+
!isFocusInput &&
|
|
32
|
+
!inputConfig.isDisabled
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderTextClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
36
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderTextClassPipe, isStandalone: true, name: "inputPlaceholderTextClass" }); }
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputPlaceholderTextClassPipe, decorators: [{
|
|
39
|
+
type: Pipe,
|
|
40
|
+
args: [{
|
|
41
|
+
name: 'inputPlaceholderTextClass',
|
|
42
|
+
standalone: true,
|
|
43
|
+
}]
|
|
44
|
+
}] });
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGxhY2Vob2xkZXItdGV4dC1jbGFzcy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2EtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2EtaW5wdXQtdGVzdC9waXBlcy9pbnB1dC1wbGFjZWhvbGRlci10ZXh0LWNsYXNzLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBUXBELE1BQU0sT0FBTyw2QkFBNkI7SUFDeEMsU0FBUyxDQUNQLFlBQXFCLEVBQ3JCLGNBQXVCLEVBQ3ZCLGVBQWlELEVBQ2pELFdBQXFCLEVBQ3JCLGlCQUEwQixFQUMxQixLQUFhO1FBRWIsT0FBTztZQUNMLEtBQUssRUFBRSxZQUFZO1lBQ25CLGlCQUF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y2hlZCkgJiZcbiAgICAgICAgIWlzRm9jdXNJbnB1dCAmJlxuICAgICAgICAhaW5wdXRDb25maWcuaXNEaXNhYmxlZFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class InputTypePipe {
|
|
4
|
+
transform(type, value) {
|
|
5
|
+
if (type === 'password') {
|
|
6
|
+
if (value) {
|
|
7
|
+
return 'text';
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
return 'password';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return type;
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
16
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: InputTypePipe, isStandalone: true, name: "inputType" }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputTypePipe, decorators: [{
|
|
19
|
+
type: Pipe,
|
|
20
|
+
args: [{
|
|
21
|
+
name: 'inputType',
|
|
22
|
+
standalone: true
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdHlwZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2EtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2EtaW5wdXQtdGVzdC9waXBlcy9pbnB1dC10eXBlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXB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HlwZTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class LabelClassPipe {
|
|
4
|
+
transform(value, isFocusInput, inputConfig, isTouchedInput, superControlInvalid, superControlTouched) {
|
|
5
|
+
return {
|
|
6
|
+
required: inputConfig.isRequired && !inputConfig.isDisabled,
|
|
7
|
+
'inactive-empty': !value && inputConfig.isDisabled,
|
|
8
|
+
'up-label': value ||
|
|
9
|
+
value === 0 ||
|
|
10
|
+
isFocusInput ||
|
|
11
|
+
inputConfig?.multipleInputValues?.options?.length ||
|
|
12
|
+
(!inputConfig.dropdownImageInput?.withText &&
|
|
13
|
+
inputConfig.dropdownImageInput?.url &&
|
|
14
|
+
!inputConfig.labelInInput),
|
|
15
|
+
'input-placeholderIcon-on': inputConfig.placeholderIcon,
|
|
16
|
+
hidden: inputConfig.placeholderInsteadOfLabel && (isFocusInput || value),
|
|
17
|
+
'multiple-labels': inputConfig?.multipleInputValues?.options?.length,
|
|
18
|
+
'in-label-focus': isFocusInput && inputConfig.labelInInput,
|
|
19
|
+
'in-label': inputConfig.labelInInput,
|
|
20
|
+
'required-label': !isFocusInput &&
|
|
21
|
+
!value &&
|
|
22
|
+
superControlInvalid &&
|
|
23
|
+
(isTouchedInput || superControlTouched) &&
|
|
24
|
+
!inputConfig.isDisabled &&
|
|
25
|
+
inputConfig.requiredLabel,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
29
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: LabelClassPipe, isStandalone: true, name: "labelClass" }); }
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelClassPipe, decorators: [{
|
|
32
|
+
type: Pipe,
|
|
33
|
+
args: [{
|
|
34
|
+
name: 'labelClass',
|
|
35
|
+
standalone: true,
|
|
36
|
+
}]
|
|
37
|
+
}] });
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwtY2xhc3MucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWlucHV0LXRlc3QvcGlwZXMvbGFiZWwtY2xhc3MucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFPcEQsTUFBTSxPQUFPLGNBQWM7SUFDekIsU0FBUyxDQUNQLEtBQXNCLEVBQ3RCLFlBQXFCLEVBQ3JCLFdBQXFCLEVBQ3JCLGNBQXVCLEVBQ3ZCLG1CQUE2QixFQUM3QixtQkFBNkI7UUFFN0IsT0FBTztZQUNMLFFBQVEsRUFBRSxXQUFXLENBQUMsVUFBVSxJQUFJLENBQUMsV0FBVyxDQUFDLFVBQVU7WUFDM0QsZ0JBQWdCLEVBQUUsQ0FBQyxLQUFLLElBQUksV0FBVyxDQUFDLFVBQVU7WUFDbEQsVUFBVSxFQUNSLEtBQUs7Z0JBQ0wsS0FBSyxLQUFLLENBQUM7Z0JBQ1gsWUFBWTtnQkFDWixXQUFXLEVBQUUsbUJBQW1CLEVBQUUsT0FBTyxFQUFFLE1BQU07Z0JBQ2pELENBQUMsQ0FBQyxXQUFXLENBQUMsa0JBQWtCLEVBQUUsUUFBUTtvQkFDeEMsV0FBVyxDQUFDLGtCQUFrQixFQUFFLEdBQUc7b0JBQ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