ca-components 1.3.33 → 1.3.34
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/esm2022/lib/ca-components.module.mjs +11 -5
- package/esm2022/lib/components/ca-chart/ca-chart.component.mjs +12 -11
- 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-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-input/directives/command-visible.directive.mjs +48 -0
- package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +266 -0
- package/esm2022/lib/components/ca-input/mixins/input-command.mixin.mjs +127 -0
- package/esm2022/lib/components/ca-input/mixins/input-helper.mixin.mjs +49 -0
- package/esm2022/lib/components/ca-input/models/base.model.mjs +2 -0
- package/esm2022/lib/components/ca-main-table/ca-main-table.component.mjs +5 -3
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +1 -1
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +1 -1
- package/esm2022/lib/components/ca-tooltip-list/ca-tooltip-list.component.mjs +3 -3
- package/esm2022/lib/enums/dropdown-menu.enum.mjs +20 -0
- package/esm2022/lib/pipes/row-class.pipe.mjs +26 -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 +3 -4
- package/fesm2022/ca-components.mjs +1792 -6057
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/ca-components.module.d.ts +3 -2
- 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-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-input-test → ca-input/input-test}/input-test.component.d.ts +12 -13
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.d.ts +4 -4
- package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.d.ts +3 -3
- package/lib/enums/{dropdown-menu-string.enum.d.ts → dropdown-menu.enum.d.ts} +1 -1
- package/lib/pipes/row-class.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 +2 -3
- 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/assets/scss/input-dropdown-test.scss +0 -2030
- 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-input-address-dropdown-test/ca-input-address-dropdown-test.component.mjs +0 -351
- package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-basic-string.enum.mjs +0 -6
- package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-commands-string.enum.mjs +0 -8
- package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-layers-string.enum.mjs +0 -6
- package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-stop-types-string.enum.mjs +0 -6
- package/esm2022/lib/components/ca-input-address-dropdown-test/enums/input-address-type-string.enum.mjs +0 -7
- package/esm2022/lib/components/ca-input-address-dropdown-test/models/address-data.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-address-dropdown-test/models/address-list.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-address-dropdown-test/models/command-properties.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-address-dropdown-test/models/commands-handler.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-address-dropdown-test/models/input-address-commands-string.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-address-dropdown-test/models/long-lat.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-address-dropdown-test/models/sent-address-data.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-address-dropdown-test/validators/ca-input-address-value.validations.mjs +0 -11
- package/esm2022/lib/components/ca-input-dropdown-test/animations/index.mjs +0 -2
- package/esm2022/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.mjs +0 -11
- package/esm2022/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.mjs +0 -692
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.mjs +0 -62
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.mjs +0 -72
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.mjs +0 -60
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.mjs +0 -62
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.mjs +0 -76
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.mjs +0 -58
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.mjs +0 -76
- 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 +0 -41
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.mjs +0 -64
- 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 +0 -38
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.mjs +0 -62
- 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 +0 -37
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.mjs +0 -61
- 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 +0 -49
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.mjs +0 -60
- 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 +0 -49
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.mjs +0 -65
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.mjs +0 -58
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.mjs +0 -62
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.mjs +0 -63
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.mjs +0 -72
- 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 +0 -56
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.mjs +0 -77
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.mjs +0 -58
- package/esm2022/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.mjs +0 -62
- package/esm2022/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.mjs +0 -6
- package/esm2022/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.mjs +0 -23
- package/esm2022/lib/components/ca-input-dropdown-test/enums/index.mjs +0 -3
- package/esm2022/lib/components/ca-input-dropdown-test/models/index.mjs +0 -4
- package/esm2022/lib/components/ca-input-dropdown-test/models/input-dropdown-option.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-dropdown-test/models/load-modal-status.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-dropdown-test/models/status-order.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.mjs +0 -29
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.mjs +0 -73
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/index.mjs +0 -10
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.mjs +0 -27
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.mjs +0 -22
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.mjs +0 -18
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.mjs +0 -27
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.mjs +0 -25
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.mjs +0 -23
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.mjs +0 -25
- package/esm2022/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.mjs +0 -23
- package/esm2022/lib/components/ca-input-dropdown-test/utils/svg-routes/index.mjs +0 -2
- package/esm2022/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.mjs +0 -13
- package/esm2022/lib/components/ca-input-test/base-classes/ca-input-event-manager.mjs +0 -24
- package/esm2022/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.mjs +0 -66
- package/esm2022/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.mjs +0 -48
- package/esm2022/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.mjs +0 -63
- package/esm2022/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +0 -85
- package/esm2022/lib/components/ca-input-test/config/ca-input.config.mjs +0 -2
- package/esm2022/lib/components/ca-input-test/config/index.mjs +0 -2
- package/esm2022/lib/components/ca-input-test/directives/caps-lock.directive.mjs +0 -50
- package/esm2022/lib/components/ca-input-test/directives/command-visible.directive.mjs +0 -48
- package/esm2022/lib/components/ca-input-test/directives/index.mjs +0 -6
- package/esm2022/lib/components/ca-input-test/directives/input-max-value.directive.mjs +0 -53
- package/esm2022/lib/components/ca-input-test/directives/min-max-value.directive.mjs +0 -41
- package/esm2022/lib/components/ca-input-test/directives/price_format.directive.mjs +0 -41
- package/esm2022/lib/components/ca-input-test/directives/restrict-input.directive.mjs +0 -94
- package/esm2022/lib/components/ca-input-test/enums/index.mjs +0 -5
- package/esm2022/lib/components/ca-input-test/enums/input-commands-action.enum.mjs +0 -11
- package/esm2022/lib/components/ca-input-test/enums/input-commands-type.enum.mjs +0 -8
- package/esm2022/lib/components/ca-input-test/enums/input-config-name-string.enum.mjs +0 -9
- package/esm2022/lib/components/ca-input-test/enums/input-string.enum.mjs +0 -114
- package/esm2022/lib/components/ca-input-test/enums/input-text-transform.enum.mjs +0 -9
- package/esm2022/lib/components/ca-input-test/input-test.component.mjs +0 -273
- package/esm2022/lib/components/ca-input-test/mixins/input-command.mixin.mjs +0 -127
- package/esm2022/lib/components/ca-input-test/mixins/input-helper.mixin.mjs +0 -49
- package/esm2022/lib/components/ca-input-test/mixins/restriction-pipe.mixin.mjs +0 -34
- package/esm2022/lib/components/ca-input-test/models/base.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-test/models/command-click.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-test/models/commands-event.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-test/models/index.mjs +0 -4
- package/esm2022/lib/components/ca-input-test/models/label-color.model.mjs +0 -2
- package/esm2022/lib/components/ca-input-test/pipes/color-finder.pipe.mjs +0 -62
- package/esm2022/lib/components/ca-input-test/pipes/form-control.pipe.mjs +0 -17
- package/esm2022/lib/components/ca-input-test/pipes/index.mjs +0 -20
- package/esm2022/lib/components/ca-input-test/pipes/input-class.pipe.mjs +0 -155
- package/esm2022/lib/components/ca-input-test/pipes/input-clear-class.pipe.mjs +0 -87
- package/esm2022/lib/components/ca-input-test/pipes/input-container-class.pipe.mjs +0 -58
- package/esm2022/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.mjs +0 -77
- package/esm2022/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.mjs +0 -61
- package/esm2022/lib/components/ca-input-test/pipes/input-error.pipe.mjs +0 -88
- package/esm2022/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.mjs +0 -37
- package/esm2022/lib/components/ca-input-test/pipes/input-pattern.pipe.mjs +0 -326
- package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.mjs +0 -46
- package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.mjs +0 -58
- package/esm2022/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.mjs +0 -45
- package/esm2022/lib/components/ca-input-test/pipes/input-type.pipe.mjs +0 -25
- package/esm2022/lib/components/ca-input-test/pipes/label-class.pipe.mjs +0 -38
- package/esm2022/lib/components/ca-input-test/pipes/show-clear.pipe.mjs +0 -22
- package/esm2022/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.mjs +0 -26
- package/esm2022/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.mjs +0 -27
- package/esm2022/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.mjs +0 -24
- package/esm2022/lib/components/ca-input-test/pipes/show-valid-check.pipe.mjs +0 -27
- package/esm2022/lib/components/ca-input-test/utils/index.mjs +0 -3
- package/esm2022/lib/components/ca-input-test/utils/input-change-value.type.mjs +0 -2
- package/esm2022/lib/components/ca-input-test/utils/input-svg-routes.mjs +0 -17
- 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-input-address-dropdown-test/ca-input-address-dropdown-test.component.d.ts +0 -74
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-basic-string.enum.d.ts +0 -4
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-commands-string.enum.d.ts +0 -6
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-layers-string.enum.d.ts +0 -4
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-stop-types-string.enum.d.ts +0 -4
- package/lib/components/ca-input-address-dropdown-test/enums/input-address-type-string.enum.d.ts +0 -5
- package/lib/components/ca-input-address-dropdown-test/models/address-data.model.d.ts +0 -10
- package/lib/components/ca-input-address-dropdown-test/models/address-list.model.d.ts +0 -5
- package/lib/components/ca-input-address-dropdown-test/models/command-properties.model.d.ts +0 -7
- package/lib/components/ca-input-address-dropdown-test/models/commands-handler.model.d.ts +0 -7
- package/lib/components/ca-input-address-dropdown-test/models/input-address-commands-string.model.d.ts +0 -1
- package/lib/components/ca-input-address-dropdown-test/models/long-lat.model.d.ts +0 -4
- package/lib/components/ca-input-address-dropdown-test/models/sent-address-data.model.d.ts +0 -6
- package/lib/components/ca-input-address-dropdown-test/validators/ca-input-address-value.validations.d.ts +0 -2
- package/lib/components/ca-input-dropdown-test/animations/index.d.ts +0 -1
- package/lib/components/ca-input-dropdown-test/animations/input-dropdown.animation.d.ts +0 -1
- package/lib/components/ca-input-dropdown-test/ca-input-dropdown-test.component.d.ts +0 -125
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.d.ts +0 -20
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.d.ts +0 -22
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.d.ts +0 -19
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.d.ts +0 -20
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.d.ts +0 -27
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.d.ts +0 -18
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.d.ts +0 -24
- 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 +0 -10
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.d.ts +0 -18
- 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 +0 -11
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.d.ts +0 -18
- 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 +0 -11
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.d.ts +0 -18
- 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 +0 -14
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.d.ts +0 -20
- 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 +0 -14
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.d.ts +0 -20
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.d.ts +0 -18
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.d.ts +0 -20
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.d.ts +0 -20
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.d.ts +0 -22
- 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 +0 -15
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.d.ts +0 -22
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.d.ts +0 -18
- package/lib/components/ca-input-dropdown-test/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.d.ts +0 -20
- package/lib/components/ca-input-dropdown-test/enums/dropdown-string.enum.d.ts +0 -4
- package/lib/components/ca-input-dropdown-test/enums/dropdown-template-type.enum.d.ts +0 -21
- package/lib/components/ca-input-dropdown-test/enums/index.d.ts +0 -2
- package/lib/components/ca-input-dropdown-test/models/index.d.ts +0 -3
- package/lib/components/ca-input-dropdown-test/models/input-dropdown-option.model.d.ts +0 -95
- package/lib/components/ca-input-dropdown-test/models/load-modal-status.model.d.ts +0 -5
- package/lib/components/ca-input-dropdown-test/models/status-order.model.d.ts +0 -4
- package/lib/components/ca-input-dropdown-test/pipes/dropdown-count.pipe.d.ts +0 -7
- package/lib/components/ca-input-dropdown-test/pipes/dropdown-options.pipe.d.ts +0 -10
- package/lib/components/ca-input-dropdown-test/pipes/index.d.ts +0 -9
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-default-template-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-fuel-franchise-class.pipe.d.ts +0 -10
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-get-icon.pipe.d.ts +0 -9
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-label-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-load-broker-container.pipe.d.ts +0 -10
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-multiselect-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-container.pipe.d.ts +0 -10
- package/lib/components/ca-input-dropdown-test/pipes/input-dropdown-svgtext-template-icon.pipe.d.ts +0 -11
- package/lib/components/ca-input-dropdown-test/utils/svg-routes/index.d.ts +0 -1
- package/lib/components/ca-input-dropdown-test/utils/svg-routes/input-dropdown-svg-routes.d.ts +0 -12
- package/lib/components/ca-input-test/base-classes/ca-input-event-manager.d.ts +0 -16
- package/lib/components/ca-input-test/components/ca-input-clear/ca-input-clear.component.d.ts +0 -20
- package/lib/components/ca-input-test/components/ca-input-commands/ca-input-commands.component.d.ts +0 -16
- package/lib/components/ca-input-test/components/ca-input-password/ca-input-password.component.d.ts +0 -20
- package/lib/components/ca-input-test/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.d.ts +0 -26
- package/lib/components/ca-input-test/config/ca-input.config.d.ts +0 -168
- package/lib/components/ca-input-test/config/index.d.ts +0 -1
- package/lib/components/ca-input-test/directives/caps-lock.directive.d.ts +0 -14
- package/lib/components/ca-input-test/directives/index.d.ts +0 -5
- package/lib/components/ca-input-test/directives/input-max-value.directive.d.ts +0 -12
- package/lib/components/ca-input-test/directives/min-max-value.directive.d.ts +0 -13
- package/lib/components/ca-input-test/directives/price_format.directive.d.ts +0 -11
- package/lib/components/ca-input-test/directives/restrict-input.directive.d.ts +0 -27
- package/lib/components/ca-input-test/enums/index.d.ts +0 -4
- package/lib/components/ca-input-test/enums/input-commands-action.enum.d.ts +0 -9
- package/lib/components/ca-input-test/enums/input-commands-type.enum.d.ts +0 -6
- package/lib/components/ca-input-test/enums/input-config-name-string.enum.d.ts +0 -7
- package/lib/components/ca-input-test/enums/input-string.enum.d.ts +0 -112
- package/lib/components/ca-input-test/enums/input-text-transform.enum.d.ts +0 -6
- package/lib/components/ca-input-test/mixins/restriction-pipe.mixin.d.ts +0 -12
- package/lib/components/ca-input-test/models/command-click.model.d.ts +0 -5
- package/lib/components/ca-input-test/models/commands-event.model.d.ts +0 -5
- package/lib/components/ca-input-test/models/index.d.ts +0 -3
- package/lib/components/ca-input-test/models/label-color.model.d.ts +0 -11
- package/lib/components/ca-input-test/pipes/color-finder.pipe.d.ts +0 -7
- package/lib/components/ca-input-test/pipes/form-control.pipe.d.ts +0 -8
- package/lib/components/ca-input-test/pipes/index.d.ts +0 -19
- package/lib/components/ca-input-test/pipes/input-class.pipe.d.ts +0 -13
- package/lib/components/ca-input-test/pipes/input-clear-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-test/pipes/input-container-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-test/pipes/input-datetime-picker-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-test/pipes/input-dropdown-arrow-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-test/pipes/input-error.pipe.d.ts +0 -7
- package/lib/components/ca-input-test/pipes/input-password-eye-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-test/pipes/input-pattern.pipe.d.ts +0 -38
- package/lib/components/ca-input-test/pipes/input-placeholder-icon-right.pipe.d.ts +0 -11
- package/lib/components/ca-input-test/pipes/input-placeholder-icon.class.pipe.d.ts +0 -12
- package/lib/components/ca-input-test/pipes/input-placeholder-text-class.pipe.d.ts +0 -11
- package/lib/components/ca-input-test/pipes/input-type.pipe.d.ts +0 -7
- package/lib/components/ca-input-test/pipes/label-class.pipe.d.ts +0 -10
- package/lib/components/ca-input-test/pipes/show-clear.pipe.d.ts +0 -8
- package/lib/components/ca-input-test/pipes/show-dropdown-arrow.pipe.d.ts +0 -8
- package/lib/components/ca-input-test/pipes/show-invalid-danger-mark.pipe.d.ts +0 -9
- package/lib/components/ca-input-test/pipes/show-placeholder-text.pipe.d.ts +0 -9
- package/lib/components/ca-input-test/pipes/show-valid-check.pipe.d.ts +0 -9
- package/lib/components/ca-input-test/utils/index.d.ts +0 -2
- package/lib/components/ca-input-test/utils/input-change-value.type.d.ts +0 -1
- package/lib/components/ca-input-test/utils/input-svg-routes.d.ts +0 -16
- /package/lib/components/{ca-input-test → ca-input}/directives/command-visible.directive.d.ts +0 -0
- /package/lib/components/{ca-input-test → ca-input}/mixins/input-command.mixin.d.ts +0 -0
- /package/lib/components/{ca-input-test → ca-input}/mixins/input-helper.mixin.d.ts +0 -0
- /package/lib/components/{ca-input-test → ca-input}/models/base.model.d.ts +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export var eDropdownMenu;
|
|
2
|
+
(function (eDropdownMenu) {
|
|
3
|
+
// actions
|
|
4
|
+
eDropdownMenu["CLOSE"] = "Close";
|
|
5
|
+
eDropdownMenu["OPEN"] = "Open";
|
|
6
|
+
// positions
|
|
7
|
+
eDropdownMenu["RIGHT_TOP"] = "right-top";
|
|
8
|
+
eDropdownMenu["BOTTOM_RIGHT"] = "bottom-right";
|
|
9
|
+
// types
|
|
10
|
+
eDropdownMenu["DOTS_MENU_TYPE"] = "dots-menu-type";
|
|
11
|
+
eDropdownMenu["HAMBURGER_MENU_TYPE"] = "hamburger-menu-type";
|
|
12
|
+
eDropdownMenu["SELECT_MENU_TYPE"] = "select-menu-type";
|
|
13
|
+
eDropdownMenu["RESET_TABLE_TYPE"] = "reset-table-type";
|
|
14
|
+
// Empty string
|
|
15
|
+
eDropdownMenu["EMPTY_STRING_PLACEHOLDER"] = "";
|
|
16
|
+
// titles
|
|
17
|
+
eDropdownMenu["BACK_TO_MENU"] = "Back To Menu";
|
|
18
|
+
})(eDropdownMenu || (eDropdownMenu = {}));
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tbWVudS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2EtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2EtZHJvcGRvd24tbWVudS9lbnVtcy9kcm9wZG93bi1tZW51LmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksYUFvQlg7QUFwQkQsV0FBWSxhQUFhO0lBQ3JCLFVBQVU7SUFDVixnQ0FBZSxDQUFBO0lBQ2YsOEJBQWEsQ0FBQTtJQUViLFlBQVk7SUFDWix3Q0FBdUIsQ0FBQTtJQUN2Qiw4Q0FBNkIsQ0FBQTtJQUU3QixRQUFRO0lBQ1Isa0RBQWlDLENBQUE7SUFDakMsNERBQTJDLENBQUE7SUFDM0Msc0RBQXFDLENBQUE7SUFDckMsc0RBQXFDLENBQUE7SUFFckMsZUFBZTtJQUNmLDhDQUE2QixDQUFBO0lBRTdCLFNBQVM7SUFDVCw4Q0FBNkIsQ0FBQTtBQUNqQyxDQUFDLEVBcEJXLGFBQWEsS0FBYixhQUFhLFFBb0J4QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIGVEcm9wZG93bk1lbnUge1xuICAgIC8vIGFjdGlvbnNcbiAgICBDTE9TRSA9ICdDbG9zZScsXG4gICAgT1BFTiA9ICdPcGVuJyxcblxuICAgIC8vIHBvc2l0aW9uc1xuICAgIFJJR0hUX1RPUCA9ICdyaWdodC10b3AnLFxuICAgIEJPVFRPTV9SSUdIVCA9ICdib3R0b20tcmlnaHQnLFxuXG4gICAgLy8gdHlwZXNcbiAgICBET1RTX01FTlVfVFlQRSA9ICdkb3RzLW1lbnUtdHlwZScsXG4gICAgSEFNQlVSR0VSX01FTlVfVFlQRSA9ICdoYW1idXJnZXItbWVudS10eXBlJyxcbiAgICBTRUxFQ1RfTUVOVV9UWVBFID0gJ3NlbGVjdC1tZW51LXR5cGUnLFxuICAgIFJFU0VUX1RBQkxFX1RZUEUgPSAncmVzZXQtdGFibGUtdHlwZScsXG5cbiAgICAvLyBFbXB0eSBzdHJpbmdcbiAgICBFTVBUWV9TVFJJTkdfUExBQ0VIT0xERVIgPSAnJyxcblxuICAgIC8vIHRpdGxlc1xuICAgIEJBQ0tfVE9fTUVOVSA9ICdCYWNrIFRvIE1lbnUnXG59XG4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './dropdown-menu
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './dropdown-menu.enum';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1kcm9wZG93bi1tZW51L2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Ryb3Bkb3duLW1lbnUuZW51bSc7XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tbWVudS1pdGVtLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWRyb3Bkb3duLW1lbnUvaW50ZXJmYWNlcy9kcm9wZG93bi1tZW51LWl0ZW0uaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElEcm9wZG93bk1lbnVJdGVtIHtcbiAgICBpZD86IG51bWJlcjtcbiAgICB0aXRsZTogc3RyaW5nO1xuICAgIHRpdGxlT3B0aW9uYWxDbGFzcz86IHN0cmluZztcbiAgICB0eXBlPzogc3RyaW5nO1xuICAgIHN2Z1VybD86IHN0cmluZztcbiAgICBzdmdDbGFzcz86IHN0cmluZztcbiAgICBoYXNCb3JkZXI/OiBib29sZWFuO1xuICAgIGlzRGlzYWJsZWQ/OiBib29sZWFuO1xuICAgIGlubmVyRHJvcGRvd25Db250ZW50Pzoge1xuICAgICAgICB0aXRsZTogc3RyaW5nO1xuICAgICAgICB0eXBlOiBzdHJpbmc7XG4gICAgICAgIGlzQ2hlY2tlZD86IGJvb2xlYW47XG4gICAgICAgIGlzQ29sdW1uRHJvcGRvd24/OiBib29sZWFuO1xuICAgIH1bXTtcbiAgICBpc1NlbGVjdE1lbnVUeXBlQWN0aW9uSXRlbT86IGJvb2xlYW47XG4gICAgaXNDaGVja2VkPzogYm9vbGVhbjtcbiAgICBncm91cE5hbWU/OiBzdHJpbmc7XG4gICAgaXNDb2x1bW5Ecm9wZG93bj86IGJvb2xlYW47XG4gICAgaXNDaGVja0JveERpc2FibGVkPzogYm9vbGVhbjtcbn1cbiJdfQ==
|
package/esm2022/lib/components/ca-dropdown-menu/interfaces/dropdown-menu-option-emit.interface.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tbWVudS1vcHRpb24tZW1pdC5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1kcm9wZG93bi1tZW51L2ludGVyZmFjZXMvZHJvcGRvd24tbWVudS1vcHRpb24tZW1pdC5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSURyb3Bkb3duTWVudU9wdGlvbkVtaXQge1xuICAgIGlkPzogbnVtYmVyO1xuICAgIHR5cGU/OiBzdHJpbmc7XG4gICAgaXNBY3RpdmU/OiBib29sZWFuO1xufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './dropdown-menu-item.interface';
|
|
2
|
+
export * from './dropdown-menu-option-emit.interface';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1kcm9wZG93bi1tZW51L2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kcm9wZG93bi1tZW51LWl0ZW0uaW50ZXJmYWNlJztcbmV4cG9ydCAqIGZyb20gJy4vZHJvcGRvd24tbWVudS1vcHRpb24tZW1pdC5pbnRlcmZhY2UnO1xuIl19
|
package/esm2022/lib/components/ca-dropdown-menu/pipes/dropdown-menu-placement-class.pipe.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Pipe } from '@angular/core';
|
|
2
2
|
// enums
|
|
3
|
-
import {
|
|
3
|
+
import { eDropdownMenu } from '../enums';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class DropdownMenuPlacementClassPipe {
|
|
6
6
|
transform(type, isPositionTranslateUnset, placement) {
|
|
7
7
|
if (isPositionTranslateUnset) {
|
|
8
8
|
return 'menu-translate-unset';
|
|
9
9
|
}
|
|
10
|
-
else if (type ===
|
|
11
|
-
return placement ===
|
|
10
|
+
else if (type === eDropdownMenu.DOTS_MENU_TYPE) {
|
|
11
|
+
return placement === eDropdownMenu.BOTTOM_RIGHT
|
|
12
12
|
? 'dots-menu-bottom'
|
|
13
13
|
: 'dots-menu';
|
|
14
14
|
}
|
|
@@ -26,4 +26,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
26
26
|
standalone: true,
|
|
27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xufVxuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class GroupItemCheckedStatePipe {
|
|
4
|
+
transform(option) {
|
|
5
|
+
if (!option.innerDropdownContent)
|
|
6
|
+
return false;
|
|
7
|
+
const innerOptions = option.innerDropdownContent;
|
|
8
|
+
return (innerOptions.some((opt) => opt.isChecked) &&
|
|
9
|
+
innerOptions.some((opt) => !opt.isChecked));
|
|
10
|
+
}
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GroupItemCheckedStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
12
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GroupItemCheckedStatePipe, isStandalone: true, name: "groupItemCheckedState" }); }
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GroupItemCheckedStatePipe, decorators: [{
|
|
15
|
+
type: Pipe,
|
|
16
|
+
args: [{
|
|
17
|
+
name: 'groupItemCheckedState',
|
|
18
|
+
standalone: true,
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAtaXRlbS1jaGVja2VkLXN0YXRlLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1kcm9wZG93bi1tZW51L3BpcGVzL2dyb3VwLWl0ZW0tY2hlY2tlZC1zdGF0ZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBL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Ul0ZW0pOiBib29sZWFuIHtcbiAgICAgICAgaWYgKCFvcHRpb24uaW5uZXJEcm9wZG93bkNvbnRlbnQpIHJldHVybiBmYWxzZTtcblxuICAgICAgICBjb25zdCBpbm5lck9wdGlvbnMgPSBvcHRpb24uaW5uZXJEcm9wZG93bkNvbnRlbnQ7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICBpbm5lck9wdGlvbnMuc29tZSgob3B0KSA9PiBvcHQuaXNDaGVja2VkKSAmJlxuICAgICAgICAgICAgaW5uZXJPcHRpb25zLnNvbWUoKG9wdCkgPT4gIW9wdC5pc0NoZWNrZWQpXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export * from './dropdown-menu-placement-class.pipe';
|
|
2
|
-
|
|
2
|
+
export * from './group-item-checked-state.pipe';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1kcm9wZG93bi1tZW51L3BpcGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZHJvcGRvd24tbWVudS1wbGFjZW1lbnQtY2xhc3MucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2dyb3VwLWl0ZW0tY2hlY2tlZC1zdGF0ZS5waXBlJztcbiJdfQ==
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Directive, EventEmitter, HostListener, Input, Output, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CommandVisibleDirective {
|
|
4
|
+
constructor(el) {
|
|
5
|
+
this.el = el;
|
|
6
|
+
this.commandVisible = new EventEmitter(); // ✅ Emit true/false
|
|
7
|
+
}
|
|
8
|
+
onKeyDown(event) {
|
|
9
|
+
if ((event.key === 'Tab' && event.shiftKey) || event.key === 'Tab') {
|
|
10
|
+
this.emitCommandVisible(false);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
onWindowBlur() {
|
|
14
|
+
this.emitCommandVisible(false);
|
|
15
|
+
}
|
|
16
|
+
onFocus() {
|
|
17
|
+
// Show commands on focus
|
|
18
|
+
this.emitCommandVisible(true);
|
|
19
|
+
}
|
|
20
|
+
emitCommandVisible(status) {
|
|
21
|
+
if (this.restrictInput.commands) {
|
|
22
|
+
this.commandVisible.emit(status);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CommandVisibleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CommandVisibleDirective, isStandalone: true, selector: "[commandVisible]", inputs: { restrictInput: "restrictInput" }, outputs: { commandVisible: "commandVisible" }, host: { listeners: { "keydown": "onKeyDown($event)", "blur": "onWindowBlur()", "focus": "onFocus()" } }, ngImport: i0 }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CommandVisibleDirective, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: '[commandVisible]',
|
|
32
|
+
standalone: true,
|
|
33
|
+
}]
|
|
34
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { commandVisible: [{
|
|
35
|
+
type: Output
|
|
36
|
+
}], restrictInput: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], onKeyDown: [{
|
|
39
|
+
type: HostListener,
|
|
40
|
+
args: ['keydown', ['$event']]
|
|
41
|
+
}], onWindowBlur: [{
|
|
42
|
+
type: HostListener,
|
|
43
|
+
args: ['blur']
|
|
44
|
+
}], onFocus: [{
|
|
45
|
+
type: HostListener,
|
|
46
|
+
args: ['focus']
|
|
47
|
+
}] } });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWFuZC12aXNpYmxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWlucHV0L2RpcmVjdGl2ZXMvY29tbWFuZC12aXNpYmxlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsU0FBUyxFQUVULFlBQVksRUFDWixZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sR0FDVCxNQUFNLGVBQWUsQ0FBQzs7QUFPdkIsTUFBTSxPQUFPLHVCQUF1QjtJQUloQyxZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtRQUh4QixtQkFBYyxHQUFHLElBQUksWUFBWSxFQUFXLENBQUMsQ0FBQyxvQkFBb0I7SUFHdkMsQ0FBQztJQUd0QyxTQUFTLENBQUMsS0FBb0I7UUFDMUIsSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLEtBQUssS0FBSyxJQUFJLEtBQUssQ0FBQyxRQUFRLENBQUMsSUFBSSxLQUFLLENBQUMsR0FBRyxLQUFLLEtBQUssRUFBRSxDQUFDO1lBQ2pFLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUNuQyxDQU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