@lucca-front/ng 16.5.1 → 17.0.0
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/a11y/skip-links/skip-links.component.mjs +7 -8
- package/esm2022/api/api.module.mjs +6 -7
- package/esm2022/api/select/api-select.module.mjs +6 -7
- package/esm2022/api/select/feeder/api-feeder.component.mjs +7 -8
- package/esm2022/api/select/feeder/api-feeder.module.mjs +6 -7
- package/esm2022/api/select/input/api-select-input.component.mjs +6 -7
- package/esm2022/api/select/input/api-select-input.module.mjs +6 -7
- package/esm2022/api/select/pager/api-pager.component.mjs +7 -8
- package/esm2022/api/select/pager/api-pager.module.mjs +6 -7
- package/esm2022/api/select/searcher/api-searcher.component.mjs +13 -15
- package/esm2022/api/select/searcher/api-searcher.module.mjs +6 -7
- package/esm2022/api/service/api-hybrid.service.mjs +6 -7
- package/esm2022/api/service/api-v3.service.mjs +6 -7
- package/esm2022/api/service/api-v4.service.mjs +6 -7
- package/esm2022/button/button.component.mjs +5 -6
- package/esm2022/callout/callout/callout.component.mjs +5 -6
- package/esm2022/callout/callout-disclosure/callout-disclosure.component.mjs +5 -6
- package/esm2022/callout/callout-feedback-item/callout-feedback-item.component.mjs +5 -6
- package/esm2022/callout/callout-feedback-list/callout-feedback-list.component.mjs +5 -6
- package/esm2022/callout/callout-popover/callout-popover.component.mjs +5 -6
- package/esm2022/core/date/native/native-date.adapter.mjs +7 -8
- package/esm2022/core/date/string/string-date.adapter.mjs +7 -8
- package/esm2022/core/portal/portal.directive.mjs +5 -6
- package/esm2022/core/tools/ng-clazz.directive.mjs +7 -7
- package/esm2022/core-select/displayer/displayer.directive.mjs +6 -7
- package/esm2022/core-select/input/select-input.component.mjs +5 -6
- package/esm2022/core-select/input/select-input.models.mjs +4 -4
- package/esm2022/core-select/option/default-option.component.mjs +5 -6
- package/esm2022/core-select/option/disabled.directive.mjs +5 -6
- package/esm2022/core-select/option/option-outlet.directive.mjs +5 -6
- package/esm2022/core-select/option/option.component.mjs +5 -6
- package/esm2022/core-select/option/option.directive.mjs +6 -7
- package/esm2022/date/adapter/date-adapter.module.mjs +6 -7
- package/esm2022/date/adapter/date-adapter.pipe.mjs +6 -7
- package/esm2022/date/calendar/calendar-input.component.mjs +7 -8
- package/esm2022/date/calendar/calendar-input.module.mjs +6 -7
- package/esm2022/date/calendar/calendar-item.factory.mjs +6 -7
- package/esm2022/date/date.module.mjs +6 -7
- package/esm2022/date/input/date-input.directive.mjs +6 -7
- package/esm2022/date/input/date-input.module.mjs +6 -7
- package/esm2022/date/picker/date-picker.component.mjs +6 -7
- package/esm2022/date/picker/date-picker.module.mjs +6 -7
- package/esm2022/date/select/date-select-input.component.mjs +6 -7
- package/esm2022/date/select/date-select-input.module.mjs +6 -7
- package/esm2022/department/department.module.mjs +6 -7
- package/esm2022/department/select/department-select.module.mjs +6 -7
- package/esm2022/department/select/feeder/department-feeder.component.mjs +7 -8
- package/esm2022/department/select/feeder/department-feeder.module.mjs +6 -7
- package/esm2022/department/select/input/department-select-input.component.mjs +6 -7
- package/esm2022/department/select/input/department-select-input.module.mjs +6 -7
- package/esm2022/department/service/department-v3.service.mjs +6 -7
- package/esm2022/dropdown/dropdown.module.mjs +6 -7
- package/esm2022/dropdown/item/dropdown-item.directive.mjs +6 -7
- package/esm2022/dropdown/item/dropdown-item.module.mjs +6 -7
- package/esm2022/dropdown/panel/dropdown-panel.component.mjs +6 -7
- package/esm2022/dropdown/panel/dropdown-panel.module.mjs +6 -7
- package/esm2022/dropdown/trigger/dropdown-trigger.directive.mjs +6 -7
- package/esm2022/dropdown/trigger/dropdown-trigger.module.mjs +6 -7
- package/esm2022/establishment/establishment.module.mjs +6 -7
- package/esm2022/establishment/select/establishment-select.module.mjs +6 -7
- package/esm2022/establishment/select/for-legal-units/for-legal-units.directive.mjs +6 -7
- package/esm2022/establishment/select/for-legal-units/for-legal-units.module.mjs +6 -7
- package/esm2022/establishment/select/input/establishment-select-input.component.mjs +7 -8
- package/esm2022/establishment/select/input/establishment-select-input.module.mjs +6 -7
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.directive.mjs +7 -8
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.module.mjs +6 -7
- package/esm2022/establishment/select/searcher/establishment-searcher.component.mjs +7 -8
- package/esm2022/establishment/select/searcher/establishment-searcher.module.mjs +6 -7
- package/esm2022/establishment/select/select-all/establishment-select-all.component.mjs +7 -8
- package/esm2022/establishment/select/select-all/establishment-select-all.module.mjs +6 -7
- package/esm2022/establishment/service/establishment.service.mjs +6 -7
- package/esm2022/establishment/service/legal-unit.service.mjs +6 -7
- package/esm2022/form-field/form-field.component.mjs +5 -6
- package/esm2022/form-field/input.directive.mjs +5 -6
- package/esm2022/formly/formly.module.mjs +6 -7
- package/esm2022/formly/types/api.mjs +6 -6
- package/esm2022/formly/types/checkbox.mjs +6 -6
- package/esm2022/formly/types/date.mjs +6 -6
- package/esm2022/formly/types/department.mjs +6 -6
- package/esm2022/formly/types/establishment.mjs +6 -6
- package/esm2022/formly/types/input.mjs +6 -6
- package/esm2022/formly/types/qualification.mjs +6 -6
- package/esm2022/formly/types/radios.mjs +6 -6
- package/esm2022/formly/types/select.mjs +6 -6
- package/esm2022/formly/types/textarea.mjs +6 -6
- package/esm2022/formly/types/user.mjs +6 -6
- package/esm2022/formly/wrappers/checkbox-layout.mjs +6 -6
- package/esm2022/formly/wrappers/error.mjs +11 -11
- package/esm2022/formly/wrappers/helper.mjs +6 -6
- package/esm2022/formly/wrappers/icon.mjs +6 -6
- package/esm2022/formly/wrappers/radiosfield-layout.mjs +6 -6
- package/esm2022/formly/wrappers/suffix.mjs +6 -6
- package/esm2022/formly/wrappers/textfield-layout.mjs +6 -6
- package/esm2022/forms/abstract-field-component.mjs +5 -6
- package/esm2022/forms/checkboxfield/checkboxfield.component.mjs +5 -6
- package/esm2022/forms/form-field-id.directive.mjs +6 -7
- package/esm2022/forms/noop-value-accessor.directive.mjs +5 -6
- package/esm2022/forms/switchfield/switchfield.component.mjs +5 -6
- package/esm2022/forms/textfield/textfield.component.mjs +5 -6
- package/esm2022/icon/icon.component.mjs +5 -6
- package/esm2022/inline-message/inline-message.component.mjs +5 -6
- package/esm2022/input/clearer/clearer.component.mjs +5 -6
- package/esm2022/input/clearer/clearer.module.mjs +6 -7
- package/esm2022/input/displayer/input-displayer.directive.mjs +6 -7
- package/esm2022/input/displayer/input-displayer.module.mjs +6 -7
- package/esm2022/input/input.directive.mjs +6 -7
- package/esm2022/input/input.module.mjs +6 -7
- package/esm2022/modal/modal-panel.component.mjs +17 -19
- package/esm2022/modal/modal-ref.factory.mjs +6 -7
- package/esm2022/modal/modal.module.mjs +6 -7
- package/esm2022/modal/modal.service.mjs +5 -6
- package/esm2022/multi-select/displayer/default-displayer.component.mjs +5 -6
- package/esm2022/multi-select/displayer/displayer.directive.mjs +6 -7
- package/esm2022/multi-select/input/panel-ref.factory.mjs +5 -6
- package/esm2022/multi-select/input/select-input.component.mjs +5 -6
- package/esm2022/multi-select/panel/option-selected.pipe.mjs +5 -6
- package/esm2022/multi-select/panel/panel.component.mjs +5 -6
- package/esm2022/multi-select/panel/selected-chip.directive.mjs +5 -6
- package/esm2022/new-badge/new-badge.component.mjs +5 -6
- package/esm2022/number/number.module.mjs +6 -7
- package/esm2022/number/number.pipe.mjs +7 -8
- package/esm2022/numeric-badge/numeric-badge.component.mjs +5 -6
- package/esm2022/option/item/option-item.component.mjs +6 -7
- package/esm2022/option/item/option-item.module.mjs +6 -7
- package/esm2022/option/item/tree-option-item.component.mjs +6 -7
- package/esm2022/option/item/tree-option-item.module.mjs +6 -7
- package/esm2022/option/operator/feeder/option-feeder.component.mjs +5 -6
- package/esm2022/option/operator/feeder/option-feeder.module.mjs +6 -7
- package/esm2022/option/operator/feeder/tree-option-feeder.component.mjs +5 -6
- package/esm2022/option/operator/feeder/tree-option-feeder.module.mjs +6 -7
- package/esm2022/option/operator/for-groups/for-groups.directive.mjs +6 -7
- package/esm2022/option/operator/for-groups/for-groups.module.mjs +6 -7
- package/esm2022/option/operator/for-options/for-options.directive.mjs +6 -7
- package/esm2022/option/operator/for-options/for-options.module.mjs +6 -7
- package/esm2022/option/operator/for-options/for-tree-options.directive.mjs +5 -6
- package/esm2022/option/operator/for-options/for-tree-options.module.mjs +6 -7
- package/esm2022/option/operator/option-operator.module.mjs +6 -7
- package/esm2022/option/operator/pager/option-pager.component.mjs +5 -6
- package/esm2022/option/operator/pager/option-pager.module.mjs +6 -7
- package/esm2022/option/operator/pager/tree-option-pager.component.mjs +5 -6
- package/esm2022/option/operator/pager/tree-option-pager.module.mjs +6 -7
- package/esm2022/option/operator/searcher/option-searcher.component.mjs +5 -6
- package/esm2022/option/operator/searcher/option-searcher.module.mjs +6 -7
- package/esm2022/option/operator/searcher/tree-option-searcher.component.mjs +5 -6
- package/esm2022/option/operator/searcher/tree-option-searcher.module.mjs +6 -7
- package/esm2022/option/operator/tree-option-operator.module.mjs +6 -7
- package/esm2022/option/option.module.mjs +6 -7
- package/esm2022/option/picker/option-picker-advanced.component.mjs +13 -15
- package/esm2022/option/picker/option-picker.component.mjs +13 -15
- package/esm2022/option/picker/option-picker.module.mjs +6 -7
- package/esm2022/option/picker/tree-option-picker-advanced.component.mjs +13 -15
- package/esm2022/option/picker/tree-option-picker.component.mjs +13 -15
- package/esm2022/option/picker/tree-option-picker.module.mjs +6 -7
- package/esm2022/option/placeholder/option-placeholder.component.mjs +5 -6
- package/esm2022/option/placeholder/option-placeholder.module.mjs +6 -7
- package/esm2022/option/selector/all/select-all.component.mjs +5 -6
- package/esm2022/option/selector/all/select-all.module.mjs +6 -7
- package/esm2022/option/selector/all/tree-select-all.component.mjs +5 -6
- package/esm2022/option/selector/all/tree-select-all.module.mjs +6 -7
- package/esm2022/option/selector/option-selector.module.mjs +6 -7
- package/esm2022/option/selector/tree-option-selector.module.mjs +6 -7
- package/esm2022/option/tree-option.module.mjs +6 -7
- package/esm2022/popover/panel/popover-panel.component.mjs +6 -7
- package/esm2022/popover/panel/popover-panel.module.mjs +6 -7
- package/esm2022/popover/popover.module.mjs +6 -7
- package/esm2022/popover/target/popover-target.directive.mjs +6 -7
- package/esm2022/popover/target/popover-target.module.mjs +6 -7
- package/esm2022/popover/trigger/popover-trigger.directive.mjs +6 -7
- package/esm2022/popover/trigger/popover-trigger.module.mjs +6 -7
- package/esm2022/popup/popup-ref.factory.mjs +6 -7
- package/esm2022/popup/popup.module.mjs +6 -7
- package/esm2022/popup/popup.service.mjs +5 -6
- package/esm2022/qualification/qualification.module.mjs +6 -7
- package/esm2022/qualification/select/input/qualification-select-input.component.mjs +6 -7
- package/esm2022/qualification/select/input/qualification-select-input.module.mjs +6 -7
- package/esm2022/qualification/select/qualification-select.module.mjs +6 -7
- package/esm2022/safe-content/safe-content.module.mjs +6 -7
- package/esm2022/safe-content/safe-html.pipe.mjs +6 -7
- package/esm2022/scroll/scroll.directive.mjs +6 -7
- package/esm2022/scroll/scroll.module.mjs +6 -7
- package/esm2022/select/input/select-input.component.mjs +11 -13
- package/esm2022/select/input/select-input.module.mjs +6 -7
- package/esm2022/select/select.module.mjs +6 -7
- package/esm2022/sidepanel/sidepanel.module.mjs +6 -7
- package/esm2022/sidepanel/sidepanel.service.mjs +5 -6
- package/esm2022/simple-select/api/api-v3.directive.mjs +5 -6
- package/esm2022/simple-select/api/api-v4.directive.mjs +5 -6
- package/esm2022/simple-select/api/api.directive.mjs +5 -6
- package/esm2022/simple-select/input/panel-ref.factory.mjs +5 -6
- package/esm2022/simple-select/input/select-input.component.mjs +5 -6
- package/esm2022/simple-select/panel/panel.component.mjs +5 -6
- package/esm2022/title/title.module.mjs +6 -7
- package/esm2022/title/title.service.mjs +7 -8
- package/esm2022/title/title.strategy.mjs +7 -8
- package/esm2022/toast/toasts.component.mjs +6 -7
- package/esm2022/toast/toasts.module.mjs +6 -7
- package/esm2022/toast/toasts.service.mjs +5 -6
- package/esm2022/tooltip/panel/tooltip-panel.component.mjs +6 -7
- package/esm2022/tooltip/panel/tooltip-panel.module.mjs +6 -7
- package/esm2022/tooltip/tooltip.module.mjs +6 -7
- package/esm2022/tooltip/trigger/tooltip-trigger.directive.mjs +6 -7
- package/esm2022/tooltip/trigger/tooltip-trigger.module.mjs +6 -7
- package/esm2022/user/display/user-display.module.mjs +6 -7
- package/esm2022/user/display/user-display.pipe.mjs +5 -6
- package/esm2022/user/picture/user-picture.component.mjs +6 -7
- package/esm2022/user/picture/user-picture.module.mjs +6 -7
- package/esm2022/user/select/homonyms/user-homonyms.component.mjs +7 -8
- package/esm2022/user/select/homonyms/user-homonyms.module.mjs +6 -7
- package/esm2022/user/select/homonyms/user-homonyms.service.mjs +6 -7
- package/esm2022/user/select/input/user-select-input.component.mjs +6 -7
- package/esm2022/user/select/input/user-select-input.module.mjs +6 -7
- package/esm2022/user/select/me/me-option.directive.mjs +7 -8
- package/esm2022/user/select/me/me-option.module.mjs +6 -7
- package/esm2022/user/select/searcher/user-searcher.component.mjs +7 -8
- package/esm2022/user/select/searcher/user-searcher.module.mjs +6 -7
- package/esm2022/user/select/user-select.module.mjs +6 -7
- package/esm2022/user/service/user-v3.service.mjs +6 -7
- package/esm2022/user/tile/user-tile.component.mjs +6 -7
- package/esm2022/user/tile/user-tile.module.mjs +6 -7
- package/esm2022/user/user.module.mjs +6 -7
- package/fesm2022/lucca-front-ng-a11y.mjs +5 -5
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-animations.mjs +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +60 -60
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +3 -3
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +16 -16
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +28 -28
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +19 -18
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +52 -50
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +29 -29
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +28 -28
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +61 -61
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +7 -7
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +80 -61
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +21 -20
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +3 -3
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +23 -23
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +25 -24
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +24 -24
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number.mjs +10 -10
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +175 -175
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +29 -29
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +11 -11
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-qualification.mjs +16 -16
- package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +8 -8
- package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +8 -8
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +16 -16
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select-api.mjs +10 -10
- package/fesm2022/lucca-front-ng-simple-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +10 -10
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +15 -15
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +11 -11
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +21 -21
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +75 -75
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/package.json +31 -31
- package/schematics/lib/local-deps/package.json +0 -23
- /package/{dockerRegistry-42781e58-2adb-4149-b8aa-04ec1df56c6b.env → dockerRegistry-a64fee7f-1bfc-49ea-b07d-9ccbdbf6fd83.env} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-popup.mjs","sources":["../../../packages/ng/popup/popup-config.default.ts","../../../packages/ng/popup/popup.token.ts","../../../packages/ng/popup/popup-ref.model.ts","../../../packages/ng/popup/popup-ref.factory.ts","../../../packages/ng/popup/popup.service.ts","../../../packages/ng/popup/popup.module.ts","../../../packages/ng/popup/lucca-front-ng-popup.ts"],"sourcesContent":["import { ILuPopupConfig } from './popup-config.model';\n\nexport const luDefaultPopupConfig: ILuPopupConfig = {\n\tposition: 'center',\n\tnoBackdrop: false,\n\tundismissable: false,\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\n\tpanelClass: 'lu-popup-panel',\n\tsize: 'M',\n};\n","import { InjectionToken } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRefFactory } from './popup-ref.model';\n\nexport const LU_POPUP_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuPopupRefFactory');\n\n/** Injection token that can be used to access the data that was passed in to a dialog. */\nexport const LU_POPUP_DATA = new InjectionToken<unknown>('LuPopupData');\nexport const LU_POPUP_CONFIG = new InjectionToken<ILuPopupConfig>('LuPopupDefaultConfig', {\n\tfactory: () => ({}),\n});\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\nimport { ComponentRef, Injector } from '@angular/core';\nimport { Observable, Subject, Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { LU_POPUP_DATA } from './popup.token';\n\nexport interface ILuPopupRef<D = unknown, R = unknown> {\n\tonOpen: Observable<D>;\n\tonClose: Observable<R>;\n\tonDismiss: Observable<void>;\n\tonBackdropClick: Observable<void>;\n\topen(data: D): void;\n\tclose(result: R): void;\n\tdismiss(): void;\n}\nexport interface ILuPopupRefFactory<TComponent = unknown, TConfig extends ILuPopupConfig = ILuPopupConfig> {\n\tforge<T extends TComponent, C extends TConfig, D, R>(component: ComponentType<T>, config: C): ILuPopupRef<D, R>;\n}\n\nexport abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown, C extends ILuPopupConfig = ILuPopupConfig> implements ILuPopupRef<D, R> {\n\tonOpen = new Subject<D>();\n\tonClose = new Subject<R>();\n\tonDismiss = new Subject<void>();\n\tonBackdropClick = new Subject<void>();\n\n\tprotected _overlayRef: OverlayRef;\n\tprotected _componentRef: ComponentRef<T>;\n\n\tprotected _subs = new Subscription();\n\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector, protected _component: ComponentType<T>, protected _config: C) {}\n\n\topen(data?: D) {\n\t\tthis._createOverlay();\n\t\tthis._openPopup(data);\n\n\t\tthis._subToCloseEvents();\n\n\t\tthis.onOpen.next(data);\n\t\tthis.onOpen.complete();\n\t}\n\tclose(result?: R) {\n\t\tthis.onClose.next(result);\n\t\tthis._destroy();\n\t}\n\tdismiss() {\n\t\tthis.onDismiss.next();\n\t\tthis._destroy();\n\t}\n\t/**\n\t * This method creates the overlay from the provided popover's template and saves its\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\n\t */\n\tprotected _createOverlay() {\n\t\tif (!this._overlayRef) {\n\t\t\tconst overlayConfig = this._getOverlayConfig();\n\t\t\tthis._overlayRef = this._overlay.create(overlayConfig);\n\t\t}\n\t}\n\t/**\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\n\t * @returns OverlayConfig\n\t */\n\tprotected _getOverlayConfig(): OverlayConfig {\n\t\tconst overlayConfig = new OverlayConfig();\n\t\tswitch (this._config.position) {\n\t\t\tcase 'top':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');\n\t\t\t\tbreak;\n\t\t\tcase 'bottom':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');\n\t\t\t\tbreak;\n\t\t\tcase 'left':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');\n\t\t\t\tbreak;\n\t\t\tcase 'right':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');\n\t\t\t\tbreak;\n\t\t\tcase 'center':\n\t\t\tdefault:\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\n\t\t\t\tbreak;\n\t\t}\n\t\toverlayConfig.hasBackdrop = !this._config.noBackdrop;\n\t\toverlayConfig.backdropClass = this._config.backdropClass;\n\t\toverlayConfig.panelClass = this._getOverlayPanelClasses();\n\t\toverlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();\n\t\treturn overlayConfig;\n\t}\n\tprotected _openPopup(data?: D) {\n\t\tconst injector = Injector.create({\n\t\t\tproviders: [\n\t\t\t\t{ provide: ALuPopupRef, useValue: this },\n\t\t\t\t{ provide: LU_POPUP_DATA, useValue: data },\n\t\t\t],\n\t\t\tparent: this._injector,\n\t\t});\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\n\t\tthis._componentRef = this._overlayRef.attach<T>(portal);\n\t}\n\tprotected _getOverlayPanelClasses(): string[] {\n\t\tconst panelClasses: string[] = [];\n\t\tif (Array.isArray(this._config.panelClass)) {\n\t\t\tpanelClasses.push(...this._config.panelClass);\n\t\t} else {\n\t\t\tpanelClasses.push(this._config.panelClass);\n\t\t}\n\t\tpanelClasses.push(`mod-${this._config.size}`);\n\t\treturn panelClasses;\n\t}\n\tprotected _destroy() {\n\t\tthis._cleanSubscription();\n\t\tthis._closePopup();\n\t\tthis._destroyOverlay();\n\t\tthis._completeSubjects();\n\t}\n\tprotected _completeSubjects() {\n\t\tthis.onClose.complete();\n\t\tthis.onOpen.complete();\n\t\tthis.onDismiss.complete();\n\t\tthis.onBackdropClick.complete();\n\t}\n\tprotected _destroyOverlay() {\n\t\tthis._overlayRef.detachBackdrop();\n\t\tthis._overlayRef.detach();\n\t}\n\tprotected _closePopup() {\n\t\tthis._componentRef.destroy();\n\t}\n\tprotected _subToCloseEvents() {\n\t\tif (!this._config.undismissable) {\n\t\t\tthis._subToEscapeKeydownEvent();\n\t\t}\n\t\tthis._subToBackdropClickEvent();\n\t}\n\tprotected _subToEscapeKeydownEvent() {\n\t\tconst escPressed$ = this._overlayRef.keydownEvents().pipe(filter(({ key }) => key === 'Escape'));\n\t\tthis._subs.add(escPressed$.subscribe((_e) => this.dismiss()));\n\t}\n\tprotected _subToBackdropClickEvent() {\n\t\tconst bdClicked$ = this._overlayRef.backdropClick();\n\t\tconst bdClickedSub = bdClicked$.subscribe((_e) => {\n\t\t\tthis.onBackdropClick.next();\n\t\t\tif (!this._config.undismissable) {\n\t\t\t\tthis.dismiss();\n\t\t\t}\n\t\t});\n\t\tthis._subs.add(bdClickedSub);\n\t}\n\tprotected _cleanSubscription() {\n\t\tthis._subs.unsubscribe();\n\t}\n}\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\nimport { Injectable, Injector } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ALuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\n\nexport class LuPopupRef<T = unknown, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> {\n\tconstructor(protected override _overlay: Overlay, protected override _injector: Injector, protected override _component: ComponentType<T>, protected override _config: ILuPopupConfig) {\n\t\tsuper(_overlay, _injector, _component, _config);\n\t}\n}\n\n@Injectable()\nexport class LuPopupRefFactory implements ILuPopupRefFactory {\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\n\tforge<T, D, R>(component: ComponentType<T>, config: ILuPopupConfig) {\n\t\treturn new LuPopupRef<T, D, R>(this._overlay, this._injector, component, config);\n\t}\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject, Injectable } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRef } from './popup-ref.model';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\n\n@Injectable()\nexport class LuPopup {\n\tprotected _factory = inject(LU_POPUP_REF_FACTORY);\n\tprotected _config = inject(LU_POPUP_CONFIG);\n\n\topen<T, D, R>(component: ComponentType<T>, data: D = undefined, config: Partial<ILuPopupConfig> = {}): ILuPopupRef<D, R> {\n\t\tconst extendedConfig = { ...this._config, ...config };\n\t\tconst ref = this._factory.forge<T, ILuPopupConfig, D, R>(component, extendedConfig);\n\t\tref.open(data);\n\t\treturn ref;\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { LuPopup } from './popup.service';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\nimport { luDefaultPopupConfig } from './popup-config.default';\nimport { LuPopupRefFactory } from './popup-ref.factory';\n\n@NgModule({\n\timports: [OverlayModule],\n\texports: [],\n\tproviders: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }],\n})\nexport class LuPopupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAEa,MAAA,oBAAoB,GAAmB;AACnD,IAAA,QAAQ,EAAE,QAAQ;AAClB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,aAAa,EAAE,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;AACjE,IAAA,UAAU,EAAE,gBAAgB;AAC5B,IAAA,IAAI,EAAE,GAAG;;;MCJG,oBAAoB,GAAG,IAAI,cAAc,CAAqB,mBAAmB,EAAE;AAEhG;MACa,aAAa,GAAG,IAAI,cAAc,CAAU,aAAa,EAAE;MAC3D,eAAe,GAAG,IAAI,cAAc,CAAiB,sBAAsB,EAAE;AACzF,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,CAAA;;MCWqB,WAAW,CAAA;AAWhC,IAAA,WAAA,CAAsB,QAAiB,EAAY,SAAmB,EAAY,UAA4B,EAAY,OAAU,EAAA;QAA9G,IAAQ,CAAA,QAAA,G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AA,SAAA,EAFd,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC,EAAA,OAAA,EAAA,CAFxI,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,aAAa,CAAC;AACxB,oBAAA,OAAO,EAAE,EAAE;oBACX,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC;AAClJ,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-popup.mjs","sources":["../../../packages/ng/popup/popup-config.default.ts","../../../packages/ng/popup/popup.token.ts","../../../packages/ng/popup/popup-ref.model.ts","../../../packages/ng/popup/popup-ref.factory.ts","../../../packages/ng/popup/popup.service.ts","../../../packages/ng/popup/popup.module.ts","../../../packages/ng/popup/lucca-front-ng-popup.ts"],"sourcesContent":["import { ILuPopupConfig } from './popup-config.model';\n\nexport const luDefaultPopupConfig: ILuPopupConfig = {\n\tposition: 'center',\n\tnoBackdrop: false,\n\tundismissable: false,\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\n\tpanelClass: 'lu-popup-panel',\n\tsize: 'M',\n};\n","import { InjectionToken } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRefFactory } from './popup-ref.model';\n\nexport const LU_POPUP_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuPopupRefFactory');\n\n/** Injection token that can be used to access the data that was passed in to a dialog. */\nexport const LU_POPUP_DATA = new InjectionToken<unknown>('LuPopupData');\nexport const LU_POPUP_CONFIG = new InjectionToken<ILuPopupConfig>('LuPopupDefaultConfig', {\n\tfactory: () => ({}),\n});\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\nimport { ComponentRef, Injector } from '@angular/core';\nimport { Observable, Subject, Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { LU_POPUP_DATA } from './popup.token';\n\nexport interface ILuPopupRef<D = unknown, R = unknown> {\n\tonOpen: Observable<D>;\n\tonClose: Observable<R>;\n\tonDismiss: Observable<void>;\n\tonBackdropClick: Observable<void>;\n\topen(data: D): void;\n\tclose(result: R): void;\n\tdismiss(): void;\n}\nexport interface ILuPopupRefFactory<TComponent = unknown, TConfig extends ILuPopupConfig = ILuPopupConfig> {\n\tforge<T extends TComponent, C extends TConfig, D, R>(component: ComponentType<T>, config: C): ILuPopupRef<D, R>;\n}\n\nexport abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown, C extends ILuPopupConfig = ILuPopupConfig> implements ILuPopupRef<D, R> {\n\tonOpen = new Subject<D>();\n\tonClose = new Subject<R>();\n\tonDismiss = new Subject<void>();\n\tonBackdropClick = new Subject<void>();\n\n\tprotected _overlayRef: OverlayRef;\n\tprotected _componentRef: ComponentRef<T>;\n\n\tprotected _subs = new Subscription();\n\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector, protected _component: ComponentType<T>, protected _config: C) {}\n\n\topen(data?: D) {\n\t\tthis._createOverlay();\n\t\tthis._openPopup(data);\n\n\t\tthis._subToCloseEvents();\n\n\t\tthis.onOpen.next(data);\n\t\tthis.onOpen.complete();\n\t}\n\tclose(result?: R) {\n\t\tthis.onClose.next(result);\n\t\tthis._destroy();\n\t}\n\tdismiss() {\n\t\tthis.onDismiss.next();\n\t\tthis._destroy();\n\t}\n\t/**\n\t * This method creates the overlay from the provided popover's template and saves its\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\n\t */\n\tprotected _createOverlay() {\n\t\tif (!this._overlayRef) {\n\t\t\tconst overlayConfig = this._getOverlayConfig();\n\t\t\tthis._overlayRef = this._overlay.create(overlayConfig);\n\t\t}\n\t}\n\t/**\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\n\t * @returns OverlayConfig\n\t */\n\tprotected _getOverlayConfig(): OverlayConfig {\n\t\tconst overlayConfig = new OverlayConfig();\n\t\tswitch (this._config.position) {\n\t\t\tcase 'top':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');\n\t\t\t\tbreak;\n\t\t\tcase 'bottom':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');\n\t\t\t\tbreak;\n\t\t\tcase 'left':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');\n\t\t\t\tbreak;\n\t\t\tcase 'right':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');\n\t\t\t\tbreak;\n\t\t\tcase 'center':\n\t\t\tdefault:\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\n\t\t\t\tbreak;\n\t\t}\n\t\toverlayConfig.hasBackdrop = !this._config.noBackdrop;\n\t\toverlayConfig.backdropClass = this._config.backdropClass;\n\t\toverlayConfig.panelClass = this._getOverlayPanelClasses();\n\t\toverlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();\n\t\treturn overlayConfig;\n\t}\n\tprotected _openPopup(data?: D) {\n\t\tconst injector = Injector.create({\n\t\t\tproviders: [\n\t\t\t\t{ provide: ALuPopupRef, useValue: this },\n\t\t\t\t{ provide: LU_POPUP_DATA, useValue: data },\n\t\t\t],\n\t\t\tparent: this._injector,\n\t\t});\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\n\t\tthis._componentRef = this._overlayRef.attach<T>(portal);\n\t}\n\tprotected _getOverlayPanelClasses(): string[] {\n\t\tconst panelClasses: string[] = [];\n\t\tif (Array.isArray(this._config.panelClass)) {\n\t\t\tpanelClasses.push(...this._config.panelClass);\n\t\t} else {\n\t\t\tpanelClasses.push(this._config.panelClass);\n\t\t}\n\t\tpanelClasses.push(`mod-${this._config.size}`);\n\t\treturn panelClasses;\n\t}\n\tprotected _destroy() {\n\t\tthis._cleanSubscription();\n\t\tthis._closePopup();\n\t\tthis._destroyOverlay();\n\t\tthis._completeSubjects();\n\t}\n\tprotected _completeSubjects() {\n\t\tthis.onClose.complete();\n\t\tthis.onOpen.complete();\n\t\tthis.onDismiss.complete();\n\t\tthis.onBackdropClick.complete();\n\t}\n\tprotected _destroyOverlay() {\n\t\tthis._overlayRef.detachBackdrop();\n\t\tthis._overlayRef.detach();\n\t}\n\tprotected _closePopup() {\n\t\tthis._componentRef.destroy();\n\t}\n\tprotected _subToCloseEvents() {\n\t\tif (!this._config.undismissable) {\n\t\t\tthis._subToEscapeKeydownEvent();\n\t\t}\n\t\tthis._subToBackdropClickEvent();\n\t}\n\tprotected _subToEscapeKeydownEvent() {\n\t\tconst escPressed$ = this._overlayRef.keydownEvents().pipe(filter(({ key }) => key === 'Escape'));\n\t\tthis._subs.add(escPressed$.subscribe((_e) => this.dismiss()));\n\t}\n\tprotected _subToBackdropClickEvent() {\n\t\tconst bdClicked$ = this._overlayRef.backdropClick();\n\t\tconst bdClickedSub = bdClicked$.subscribe((_e) => {\n\t\t\tthis.onBackdropClick.next();\n\t\t\tif (!this._config.undismissable) {\n\t\t\t\tthis.dismiss();\n\t\t\t}\n\t\t});\n\t\tthis._subs.add(bdClickedSub);\n\t}\n\tprotected _cleanSubscription() {\n\t\tthis._subs.unsubscribe();\n\t}\n}\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\nimport { Injectable, Injector } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ALuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\n\nexport class LuPopupRef<T = unknown, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> {\n\tconstructor(protected override _overlay: Overlay, protected override _injector: Injector, protected override _component: ComponentType<T>, protected override _config: ILuPopupConfig) {\n\t\tsuper(_overlay, _injector, _component, _config);\n\t}\n}\n\n@Injectable()\nexport class LuPopupRefFactory implements ILuPopupRefFactory {\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\n\tforge<T, D, R>(component: ComponentType<T>, config: ILuPopupConfig) {\n\t\treturn new LuPopupRef<T, D, R>(this._overlay, this._injector, component, config);\n\t}\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject, Injectable } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRef } from './popup-ref.model';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\n\n@Injectable()\nexport class LuPopup {\n\tprotected _factory = inject(LU_POPUP_REF_FACTORY);\n\tprotected _config = inject(LU_POPUP_CONFIG);\n\n\topen<T, D, R>(component: ComponentType<T>, data: D = undefined, config: Partial<ILuPopupConfig> = {}): ILuPopupRef<D, R> {\n\t\tconst extendedConfig = { ...this._config, ...config };\n\t\tconst ref = this._factory.forge<T, ILuPopupConfig, D, R>(component, extendedConfig);\n\t\tref.open(data);\n\t\treturn ref;\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { LuPopup } from './popup.service';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\nimport { luDefaultPopupConfig } from './popup-config.default';\nimport { LuPopupRefFactory } from './popup-ref.factory';\n\n@NgModule({\n\timports: [OverlayModule],\n\texports: [],\n\tproviders: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }],\n})\nexport class LuPopupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"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putComponent {
|
|
|
48
48
|
groupByJobName(qualification) {
|
|
49
49
|
return qualification.job.name;
|
|
50
50
|
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
52
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuQualificationSelectInputComponent, isStandalone: true, selector: "lu-qualification-select", inputs: { filters: "filters" }, providers: [
|
|
53
53
|
{
|
|
54
54
|
provide: NG_VALUE_ACCESSOR,
|
|
55
55
|
useExisting: forwardRef(() => LuQualificationSelectInputComponent),
|
|
@@ -57,7 +57,7 @@ class LuQualificationSelectInputComponent extends ALuSelectInputComponent {
|
|
|
57
57
|
},
|
|
58
58
|
], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\n\t</ng-template>\n</lu-option-picker-advanced>\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal);transition:transform var(--commons-animations-durations-standard) ease}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield .textfield-input.is-focused):after{transform:rotate(-180deg)}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.optionItem-groupKey{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--spacings-XXS);font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);width:100%;text-align:left;color:var(--palettes-grey-600);margin:0}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { kind: "component", type: LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { kind: "component", type: LuApiPagedSearcherComponent, selector: "lu-api-paged-searcher", inputs: ["standard", "api", "fields", "filters", "orderBy", "sort", "debounceTime"] }, { kind: "component", type: LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }, { kind: "directive", type: LuForGroupsDirective, selector: "[luForGroups]", inputs: ["luForGroupsGroupBy"] }, { kind: "directive", type: LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectInputComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{ selector: 'lu-qualification-select', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective], providers: [
|
|
63
63
|
{
|
|
@@ -66,16 +66,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
66
66
|
multi: true,
|
|
67
67
|
},
|
|
68
68
|
], template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\n\t</ng-template>\n</lu-option-picker-advanced>\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal);transition:transform var(--commons-animations-durations-standard) ease}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield .textfield-input.is-focused):after{transform:rotate(-180deg)}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.optionItem-groupKey{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--spacings-XXS);font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);width:100%;text-align:left;color:var(--palettes-grey-600);margin:0}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"] }]
|
|
69
|
-
}], ctorParameters:
|
|
69
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }], propDecorators: { filters: [{
|
|
70
70
|
type: Input
|
|
71
71
|
}] } });
|
|
72
72
|
|
|
73
73
|
class LuQualificationSelectInputModule {
|
|
74
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
75
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
76
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
74
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
75
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectInputModule, imports: [LuQualificationSelectInputComponent], exports: [LuQualificationSelectInputComponent] }); }
|
|
76
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectInputModule, imports: [LuQualificationSelectInputComponent] }); }
|
|
77
77
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectInputModule, decorators: [{
|
|
79
79
|
type: NgModule,
|
|
80
80
|
args: [{
|
|
81
81
|
imports: [LuQualificationSelectInputComponent],
|
|
@@ -84,11 +84,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
84
84
|
}] });
|
|
85
85
|
|
|
86
86
|
class LuQualificationSelectModule {
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
89
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
88
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectModule, imports: [LuQualificationSelectInputModule], exports: [LuQualificationSelectInputModule] }); }
|
|
89
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectModule, imports: [LuQualificationSelectInputModule, LuQualificationSelectInputModule] }); }
|
|
90
90
|
}
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationSelectModule, decorators: [{
|
|
92
92
|
type: NgModule,
|
|
93
93
|
args: [{
|
|
94
94
|
imports: [LuQualificationSelectInputModule],
|
|
@@ -97,11 +97,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
97
97
|
}] });
|
|
98
98
|
|
|
99
99
|
class LuQualificationModule {
|
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
101
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
102
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
101
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationModule, imports: [LuQualificationSelectModule], exports: [LuQualificationSelectModule] }); }
|
|
102
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationModule, imports: [LuQualificationSelectModule, LuQualificationSelectModule] }); }
|
|
103
103
|
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuQualificationModule, decorators: [{
|
|
105
105
|
type: NgModule,
|
|
106
106
|
args: [{
|
|
107
107
|
imports: [LuQualificationSelectModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/select/qualification-select.module.ts","../../../packages/ng/qualification/qualification.module.ts","../../../packages/ng/qualification/lucca-front-ng-qualification.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ILuTranslation } from '@lucca-front/ng/core';\n\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\n\tfactory: () => luQualificationSelectInputTranslations,\n});\n\nexport interface ILuQualificationSelectInputLabel {\n\tqualifications: string;\n}\n\nexport const luQualificationSelectInputTranslations: ILuTranslation<ILuQualificationSelectInputLabel> = {\n\ten: {\n\t\tqualifications: 'qualifications',\n\t},\n\tfr: {\n\t\tqualifications: 'qualifications',\n\t},\n\tes: {\n\t\tqualifications: 'calificaciones',\n\t},\n};\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { ILuQualification } from '../../qualification.model';\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\n\n@Component({\n\tselector: 'lu-qualification-select',\n\ttemplateUrl: './qualification-select-input.component.html',\n\tstyleUrls: ['./qualification-select-input.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuQualificationSelectInputComponent<\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\n\t>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() filters: string[];\n\n\tisSearching = false;\n\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tonIsSearchingChanged(isSearching: boolean) {\n\t\tthis.isSearching = isSearching;\n\t\tthis._changeDetectorRef.detectChanges();\n\t}\n\n\ttrackById(_: number, item: ILuQualification): number {\n\t\treturn item.id;\n\t}\n\n\tgroupByJobName(qualification: ILuQualification): string {\n\t\treturn qualification.job.name;\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\n\t</ng-template>\n</lu-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\n\n@NgModule({\n\timports: [LuQualificationSelectInputComponent],\n\texports: [LuQualificationSelectInputComponent],\n})\nexport class LuQualificationSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputModule } from './input/index';\n\n@NgModule({\n\timports: [LuQualificationSelectInputModule],\n\texports: [LuQualificationSelectInputModule],\n})\nexport class LuQualificationSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\n\n@NgModule({\n\timports: [LuQualificationSelectModule],\n\texports: [LuQualificationSelectModule],\n})\nexport class LuQualificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAGa,0CAA0C,GAAG,IAAI,cAAc,CAAC,mCAAmC,EAAE;AACjH,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACrD,CAAA,EAAE;AAMU,MAAA,sCAAsC,GAAqD;AACvG,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;;;ACPF,MAea,mCAIZ,SAAQ,uBAA6B,CAAA;IAWrC,WACoB,CAAA,kBAAqC,EACrC,QAAiB,EACjB,WAAoC,EACpC,iBAAmC,EACnC,SAAoB,EAAA;QAEvC,KAAK,CAAC,kBAAkB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,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEzB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,EAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEzB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/select/qualification-select.module.ts","../../../packages/ng/qualification/qualification.module.ts","../../../packages/ng/qualification/lucca-front-ng-qualification.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ILuTranslation } from '@lucca-front/ng/core';\n\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\n\tfactory: () => luQualificationSelectInputTranslations,\n});\n\nexport interface ILuQualificationSelectInputLabel {\n\tqualifications: string;\n}\n\nexport const luQualificationSelectInputTranslations: ILuTranslation<ILuQualificationSelectInputLabel> = {\n\ten: {\n\t\tqualifications: 'qualifications',\n\t},\n\tfr: {\n\t\tqualifications: 'qualifications',\n\t},\n\tes: {\n\t\tqualifications: 'calificaciones',\n\t},\n};\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { ILuQualification } from '../../qualification.model';\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\n\n@Component({\n\tselector: 'lu-qualification-select',\n\ttemplateUrl: './qualification-select-input.component.html',\n\tstyleUrls: ['./qualification-select-input.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuQualificationSelectInputComponent<\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\n\t>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() filters: string[];\n\n\tisSearching = false;\n\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tonIsSearchingChanged(isSearching: boolean) {\n\t\tthis.isSearching = isSearching;\n\t\tthis._changeDetectorRef.detectChanges();\n\t}\n\n\ttrackById(_: number, item: ILuQualification): number {\n\t\treturn item.id;\n\t}\n\n\tgroupByJobName(qualification: ILuQualification): string {\n\t\treturn qualification.job.name;\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\n\t</ng-template>\n</lu-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\n\n@NgModule({\n\timports: [LuQualificationSelectInputComponent],\n\texports: [LuQualificationSelectInputComponent],\n})\nexport class LuQualificationSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputModule } from './input/index';\n\n@NgModule({\n\timports: [LuQualificationSelectInputModule],\n\texports: [LuQualificationSelectInputModule],\n})\nexport class LuQualificationSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\n\n@NgModule({\n\timports: [LuQualificationSelectModule],\n\texports: [LuQualificationSelectModule],\n})\nexport class LuQualificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAGa,0CAA0C,GAAG,IAAI,cAAc,CAAC,mCAAmC,EAAE;AACjH,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACrD,CAAA,EAAE;AAMU,MAAA,sCAAsC,GAAqD;AACvG,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;;;ACQI,MAAO,mCAIZ,SAAQ,uBAA6B,CAAA;IAWrC,WACoB,CAAA,kBAAqC,EACrC,QAAiB,EACjB,WAAoC,EACpC,iBAAmC,EACnC,SAAoB,EAAA;QAEvC,KAAK,CAAC,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,CAAC,CAAC;QAN5D,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAmB;QACrC,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAS;QACjB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAyB;QACpC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAk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AA;;2FAEzB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -11,20 +11,20 @@ class LuSafeHtmlPipe {
|
|
|
11
11
|
transform(value, config) {
|
|
12
12
|
return this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
15
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuSafeHtmlPipe, name: "luSafeHtml" }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSafeHtmlPipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{ name: 'luSafeHtml' }]
|
|
20
|
-
}], ctorParameters:
|
|
20
|
+
}], ctorParameters: () => [{ type: i1.DomSanitizer }] });
|
|
21
21
|
|
|
22
22
|
class LuSafeContentModule {
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
25
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSafeContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
24
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuSafeContentModule, declarations: [LuSafeHtmlPipe], imports: [CommonModule], exports: [LuSafeHtmlPipe] }); }
|
|
25
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSafeContentModule, imports: [CommonModule] }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSafeContentModule, decorators: [{
|
|
28
28
|
type: NgModule,
|
|
29
29
|
args: [{
|
|
30
30
|
imports: [CommonModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-safe-content.mjs","sources":["../../../packages/ng/safe-content/safe-html.pipe.ts","../../../packages/ng/safe-content/safe-content.module.ts","../../../packages/ng/safe-content/lucca-front-ng-safe-content.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { Config, sanitize } from 'dompurify';\n\ntype SanitizerConfig = Config & { RETURN_DOM_FRAGMENT?: false | undefined; RETURN_DOM?: false | undefined };\n\n@Pipe({ name: 'luSafeHtml' })\nexport class LuSafeHtmlPipe implements PipeTransform {\n\tconstructor(protected sanitizer: DomSanitizer) {}\n\n\tpublic transform(value: string, config?: SanitizerConfig): SafeHtml {\n\t\treturn this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { LuSafeHtmlPipe } from './safe-html.pipe';\n\n@NgModule({\n\timports: [CommonModule],\n\tdeclarations: [LuSafeHtmlPipe],\n\texports: [LuSafeHtmlPipe],\n\tproviders: [],\n})\nexport class LuSafeContentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-safe-content.mjs","sources":["../../../packages/ng/safe-content/safe-html.pipe.ts","../../../packages/ng/safe-content/safe-content.module.ts","../../../packages/ng/safe-content/lucca-front-ng-safe-content.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { Config, sanitize } from 'dompurify';\n\ntype SanitizerConfig = Config & { RETURN_DOM_FRAGMENT?: false | undefined; RETURN_DOM?: false | undefined };\n\n@Pipe({ name: 'luSafeHtml' })\nexport class LuSafeHtmlPipe implements PipeTransform {\n\tconstructor(protected sanitizer: DomSanitizer) {}\n\n\tpublic transform(value: string, config?: SanitizerConfig): SafeHtml {\n\t\treturn this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { LuSafeHtmlPipe } from './safe-html.pipe';\n\n@NgModule({\n\timports: [CommonModule],\n\tdeclarations: [LuSafeHtmlPipe],\n\texports: [LuSafeHtmlPipe],\n\tproviders: [],\n})\nexport class LuSafeContentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAOa,cAAc,CAAA;AAC1B,IAAA,WAAA,CAAsB,SAAuB,EAAA;QAAvB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;KAAI;IAE1C,SAAS,CAAC,KAAa,EAAE,MAAwB,EAAA;AACvD,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC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AA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -49,17 +49,17 @@ class LuScrollDirective {
|
|
|
49
49
|
this.scrollSubject = new Subject();
|
|
50
50
|
this.scroll$ = this.scrollSubject.asObservable().pipe(debounceTime(this.debounceTime));
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.2", type: LuScrollDirective, isStandalone: true, selector: "[luScroll]", inputs: { debounceTime: "debounceTime" }, outputs: { onScroll: "onScroll", onScrollTop: "onScrollTop", onScrollBottom: "onScrollBottom", onScrollLeft: "onScrollLeft", onScrollRight: "onScrollRight" }, host: { listeners: { "scroll": "_scroll($event)" } }, exportAs: ["luScroll"], ngImport: i0 }); }
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuScrollDirective, decorators: [{
|
|
56
56
|
type: Directive,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: '[luScroll]',
|
|
59
59
|
exportAs: 'luScroll',
|
|
60
60
|
standalone: true,
|
|
61
61
|
}]
|
|
62
|
-
}], ctorParameters:
|
|
62
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { debounceTime: [{
|
|
63
63
|
type: Input
|
|
64
64
|
}], onScroll: [{
|
|
65
65
|
type: Output
|
|
@@ -77,11 +77,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
77
77
|
}] } });
|
|
78
78
|
|
|
79
79
|
class LuScrollModule {
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
81
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
82
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuScrollModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
81
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuScrollModule, imports: [LuScrollDirective], exports: [LuScrollDirective] }); }
|
|
82
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuScrollModule }); }
|
|
83
83
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuScrollModule, decorators: [{
|
|
85
85
|
type: NgModule,
|
|
86
86
|
args: [{
|
|
87
87
|
imports: [LuScrollDirective],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-scroll.mjs","sources":["../../../packages/ng/scroll/scroll.directive.ts","../../../packages/ng/scroll/scroll.module.ts","../../../packages/ng/scroll/lucca-front-ng-scroll.ts"],"sourcesContent":["/* eslint-disable @angular-eslint/no-output-on-prefix */\nimport { Directive, ElementRef, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\nimport { ILuScrollable } from './scroll.model';\n\n/**\n * emits on scroll events\n */\n@Directive({\n\tselector: '[luScroll]',\n\texportAs: 'luScroll',\n\tstandalone: true,\n})\nexport class LuScrollDirective implements ILuScrollable, OnInit {\n\t@Input() debounceTime = 100;\n\t@Output() onScroll = new EventEmitter<Event>();\n\t@Output() onScrollTop = new EventEmitter<Event>();\n\t@Output() onScrollBottom = new EventEmitter<Event>();\n\t@Output() onScrollLeft = new EventEmitter<Event>();\n\t@Output() onScrollRight = new EventEmitter<Event>();\n\tprivate scrollSubject = new Subject<Event>();\n\tprivate scroll$ = this.scrollSubject.asObservable().pipe(debounceTime(this.debounceTime));\n\t@HostListener('scroll', ['$event'])\n\t_scroll($event: Event) {\n\t\tthis.scrollSubject.next($event);\n\t}\n\n\tngOnInit(): void {\n\t\tthis.scroll$.subscribe((scrollEvent) => this.emitScrollEvents(scrollEvent));\n\t}\n\tprivate emitScrollEvents($event: Event) {\n\t\tthis.onScroll.emit($event);\n\n\t\tconst target = $event.target;\n\t\tif (target instanceof Element) {\n\t\t\tconst scrollLeft = target.scrollLeft;\n\t\t\tconst scrollTop = target.scrollTop;\n\t\t\tif (scrollLeft === 0) {\n\t\t\t\tthis.onScrollLeft.emit($event);\n\t\t\t}\n\t\t\tif (scrollTop === 0) {\n\t\t\t\tthis.onScrollTop.emit($event);\n\t\t\t}\n\t\t\tconst scrollWidth = target.scrollWidth;\n\t\t\tconst scrollHeight = target.scrollHeight;\n\t\t\tconst eltHeight = this._elementRef.nativeElement.clientHeight;\n\t\t\tconst eltWidth = this._elementRef.nativeElement.clientWidth;\n\t\t\tif (scrollWidth - scrollLeft - eltWidth < 10) {\n\t\t\t\tthis.onScrollRight.emit($event);\n\t\t\t}\n\t\t\tif (scrollHeight - scrollTop - eltHeight < 10) {\n\t\t\t\tthis.onScrollBottom.emit($event);\n\t\t\t}\n\t\t}\n\t}\n\tconstructor(protected _elementRef: ElementRef<HTMLElement>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { LuScrollDirective } from './scroll.directive';\n\n@NgModule({\n\timports: [LuScrollDirective],\n\texports: [LuScrollDirective],\n})\nexport class LuScrollModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;AAMA;;AAEG;
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-scroll.mjs","sources":["../../../packages/ng/scroll/scroll.directive.ts","../../../packages/ng/scroll/scroll.module.ts","../../../packages/ng/scroll/lucca-front-ng-scroll.ts"],"sourcesContent":["/* eslint-disable @angular-eslint/no-output-on-prefix */\nimport { Directive, ElementRef, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\nimport { ILuScrollable } from './scroll.model';\n\n/**\n * emits on scroll events\n */\n@Directive({\n\tselector: '[luScroll]',\n\texportAs: 'luScroll',\n\tstandalone: true,\n})\nexport class LuScrollDirective implements ILuScrollable, OnInit {\n\t@Input() debounceTime = 100;\n\t@Output() onScroll = new EventEmitter<Event>();\n\t@Output() onScrollTop = new EventEmitter<Event>();\n\t@Output() onScrollBottom = new EventEmitter<Event>();\n\t@Output() onScrollLeft = new EventEmitter<Event>();\n\t@Output() onScrollRight = new EventEmitter<Event>();\n\tprivate scrollSubject = new Subject<Event>();\n\tprivate scroll$ = this.scrollSubject.asObservable().pipe(debounceTime(this.debounceTime));\n\t@HostListener('scroll', ['$event'])\n\t_scroll($event: Event) {\n\t\tthis.scrollSubject.next($event);\n\t}\n\n\tngOnInit(): void {\n\t\tthis.scroll$.subscribe((scrollEvent) => this.emitScrollEvents(scrollEvent));\n\t}\n\tprivate emitScrollEvents($event: Event) {\n\t\tthis.onScroll.emit($event);\n\n\t\tconst target = $event.target;\n\t\tif (target instanceof Element) {\n\t\t\tconst scrollLeft = target.scrollLeft;\n\t\t\tconst scrollTop = target.scrollTop;\n\t\t\tif (scrollLeft === 0) {\n\t\t\t\tthis.onScrollLeft.emit($event);\n\t\t\t}\n\t\t\tif (scrollTop === 0) {\n\t\t\t\tthis.onScrollTop.emit($event);\n\t\t\t}\n\t\t\tconst scrollWidth = target.scrollWidth;\n\t\t\tconst scrollHeight = target.scrollHeight;\n\t\t\tconst eltHeight = this._elementRef.nativeElement.clientHeight;\n\t\t\tconst eltWidth = this._elementRef.nativeElement.clientWidth;\n\t\t\tif (scrollWidth - scrollLeft - eltWidth < 10) {\n\t\t\t\tthis.onScrollRight.emit($event);\n\t\t\t}\n\t\t\tif (scrollHeight - scrollTop - eltHeight < 10) {\n\t\t\t\tthis.onScrollBottom.emit($event);\n\t\t\t}\n\t\t}\n\t}\n\tconstructor(protected _elementRef: ElementRef<HTMLElement>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { LuScrollDirective } from './scroll.directive';\n\n@NgModule({\n\timports: [LuScrollDirective],\n\texports: [LuScrollDirective],\n})\nexport class LuScrollModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;AAMA;;AAEG;MAMU,iBAAiB,CAAA;AAU7B,IAAA,OAAO,CAAC,MAAa,EAAA;AACpB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAChC;IAED,QAAQ,GAAA;AACP,QAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC;KAC5E;AACO,IAAA,gBAAgB,CAAC,MAAa,EAAA;AACrC,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAE3B,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC7B,IAAI,MAAM,YAAY,OAAO,EAAE;AAC9B,YAAA,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AACrC,YAAA,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;YACnC,IAAI,UAAU,KAAK,CAAC,EAAE;AACrB,gBAAA,I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AC,CAAA;;;MChBtB,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAd,cAAc,EAAA,OAAA,EAAA,CAHhB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACjB,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEf,cAAc,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -292,12 +292,12 @@ class ALuSelectInputComponent extends ALuSelectInput {
|
|
|
292
292
|
_emitClose() {
|
|
293
293
|
this.onClose.emit();
|
|
294
294
|
}
|
|
295
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
296
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: ALuSelectInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
296
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.2", type: ALuSelectInputComponent, inputs: { overlapInput: ["pickerOverlap", "overlapInput"], inputPlaceholder: ["placeholder", "inputPlaceholder"], inputMultiple: ["multiple", "inputMultiple"], inputDisabled: ["disabled", "inputDisabled"] }, outputs: { onOpen: "onOpen", onClose: "onClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()", "keydown.space": "onKeydown($event)", "keydown.enter": "onKeydown($event)" }, properties: { "tabindex": "this.tabindex", "class.is-disabled": "this.isDisabled", "class.is-focused": "this.isFocused", "class.mod-multiple": "this.modMultiple", "class.is-clearable": "this.isClearable" } }, queries: [{ propertyName: "ccPicker", first: true, predicate: ALuPickerPanel, descendants: true, static: true }, { propertyName: "ccDisplayer", first: true, predicate: ALuInputDisplayer, descendants: true, static: true }, { propertyName: "ccClearer", first: true, predicate: ALuClearer, descendants: true, static: true }], viewQueries: [{ propertyName: "_vcDisplayContainer", first: true, predicate: ["display"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "vcPicker", first: true, predicate: ALuPickerPanel, descendants: true, static: true }, { propertyName: "vcDisplayer", first: true, predicate: ALuInputDisplayer, descendants: true, static: true }, { propertyName: "vcClearer", first: true, predicate: ALuClearer, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }
|
|
297
297
|
}
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: ALuSelectInputComponent, decorators: [{
|
|
299
299
|
type: Directive
|
|
300
|
-
}], ctorParameters:
|
|
300
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }], propDecorators: { _vcDisplayContainer: [{
|
|
301
301
|
type: ViewChild,
|
|
302
302
|
args: ['display', { read: ViewContainerRef, static: true }]
|
|
303
303
|
}], tabindex: [{
|
|
@@ -395,8 +395,8 @@ class LuSelectInputComponent extends ALuSelectInputComponent {
|
|
|
395
395
|
super.ngAfterViewInit();
|
|
396
396
|
this.displayClearer(); // dont keep
|
|
397
397
|
}
|
|
398
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
399
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
398
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSelectInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
399
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuSelectInputComponent, isStandalone: true, selector: "lu-select", host: { properties: { "class.mod-multipleView": "this.modMultipleView" } }, providers: [
|
|
400
400
|
{
|
|
401
401
|
provide: NG_VALUE_ACCESSOR,
|
|
402
402
|
useExisting: forwardRef(() => LuSelectInputComponent),
|
|
@@ -404,7 +404,7 @@ class LuSelectInputComponent extends ALuSelectInputComponent {
|
|
|
404
404
|
},
|
|
405
405
|
], queries: [{ propertyName: "clearerEltRef", first: true, predicate: ALuClearer, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "suffixEltRef", first: true, predicate: ["suffix"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div #suffix class=\"lu-select-suffix\"></div>\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal);transition:transform var(--commons-animations-durations-standard) ease}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield .textfield-input.is-focused):after{transform:rotate(-180deg)}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
406
406
|
}
|
|
407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSelectInputComponent, decorators: [{
|
|
408
408
|
type: Component,
|
|
409
409
|
args: [{ selector: 'lu-select', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [
|
|
410
410
|
{
|
|
@@ -413,7 +413,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
413
413
|
multi: true,
|
|
414
414
|
},
|
|
415
415
|
], template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div #suffix class=\"lu-select-suffix\"></div>\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal);transition:transform var(--commons-animations-durations-standard) ease}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield .textfield-input.is-focused):after{transform:rotate(-180deg)}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}\n"] }]
|
|
416
|
-
}], ctorParameters:
|
|
416
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }], propDecorators: { modMultipleView: [{
|
|
417
417
|
type: HostBinding,
|
|
418
418
|
args: ['class.mod-multipleView']
|
|
419
419
|
}], clearerEltRef: [{
|
|
@@ -425,11 +425,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
425
425
|
}] } });
|
|
426
426
|
|
|
427
427
|
class LuSelectInputModule {
|
|
428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
429
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
430
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSelectInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
429
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuSelectInputModule, imports: [LuSelectInputComponent], exports: [LuSelectInputComponent] }); }
|
|
430
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSelectInputModule }); }
|
|
431
431
|
}
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSelectInputModule, decorators: [{
|
|
433
433
|
type: NgModule,
|
|
434
434
|
args: [{
|
|
435
435
|
imports: [LuSelectInputComponent],
|
|
@@ -438,11 +438,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
438
438
|
}] });
|
|
439
439
|
|
|
440
440
|
class LuSelectModule {
|
|
441
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
442
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
443
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
442
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: LuSelectModule, imports: [LuSelectInputModule], exports: [LuSelectInputModule] }); }
|
|
443
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSelectModule, imports: [LuSelectInputModule, LuSelectInputModule] }); }
|
|
444
444
|
}
|
|
445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuSelectModule, decorators: [{
|
|
446
446
|
type: NgModule,
|
|
447
447
|
args: [{
|
|
448
448
|
imports: [LuSelectInputModule],
|