@lucca-front/ng 15.2.4 → 15.3.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/esm2020/a11y/lib/skip-links/skip-links.component.mjs +3 -3
- package/esm2020/api/lib/api.module.mjs +4 -4
- package/esm2020/api/lib/select/api-select.module.mjs +4 -4
- package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +3 -3
- package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +4 -4
- package/esm2020/api/lib/select/input/api-select-input.component.mjs +6 -6
- package/esm2020/api/lib/select/input/api-select-input.module.mjs +4 -4
- package/esm2020/api/lib/select/pager/api-pager.component.mjs +3 -3
- package/esm2020/api/lib/select/pager/api-pager.module.mjs +4 -4
- package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +6 -6
- package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +4 -4
- package/esm2020/api/lib/service/api-hybrid.service.mjs +3 -3
- package/esm2020/api/lib/service/api-v3.service.mjs +3 -3
- package/esm2020/api/lib/service/api-v4.service.mjs +3 -3
- package/esm2020/core/lib/date/native/native-date.adapter.mjs +3 -3
- package/esm2020/core/lib/date/string/string-date.adapter.mjs +3 -3
- package/esm2020/date/lib/adapter/date-adapter.module.mjs +4 -4
- package/esm2020/date/lib/adapter/date-adapter.pipe.mjs +3 -3
- package/esm2020/date/lib/calendar/calendar-input.component.mjs +3 -3
- package/esm2020/date/lib/calendar/calendar-input.module.mjs +4 -4
- package/esm2020/date/lib/calendar/calendar-item.factory.mjs +3 -3
- package/esm2020/date/lib/date.module.mjs +4 -4
- package/esm2020/date/lib/input/date-input.directive.mjs +3 -3
- package/esm2020/date/lib/input/date-input.module.mjs +4 -4
- package/esm2020/date/lib/picker/date-picker.component.mjs +3 -3
- package/esm2020/date/lib/picker/date-picker.module.mjs +4 -4
- package/esm2020/date/lib/select/date-select-input.component.mjs +6 -6
- package/esm2020/date/lib/select/date-select-input.module.mjs +4 -4
- package/esm2020/department/lib/department.module.mjs +4 -4
- package/esm2020/department/lib/select/department-select.module.mjs +4 -4
- package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +3 -3
- package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +4 -4
- package/esm2020/department/lib/select/input/department-select-input.component.mjs +6 -6
- package/esm2020/department/lib/select/input/department-select-input.module.mjs +4 -4
- package/esm2020/department/lib/service/department-v3.service.mjs +3 -3
- package/esm2020/dropdown/lib/dropdown.module.mjs +4 -4
- package/esm2020/dropdown/lib/item/dropdown-item.directive.mjs +3 -3
- package/esm2020/dropdown/lib/item/dropdown-item.module.mjs +4 -4
- package/esm2020/dropdown/lib/panel/dropdown-panel.component.mjs +3 -3
- package/esm2020/dropdown/lib/panel/dropdown-panel.module.mjs +4 -4
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.directive.mjs +3 -3
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.module.mjs +4 -4
- package/esm2020/establishment/lib/establishment.module.mjs +4 -4
- package/esm2020/establishment/lib/select/establishment-select.module.mjs +4 -4
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +3 -3
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +4 -4
- package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +6 -6
- package/esm2020/establishment/lib/select/input/establishment-select-input.module.mjs +4 -4
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +3 -3
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +4 -4
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +3 -3
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +4 -4
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +3 -3
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.module.mjs +4 -4
- package/esm2020/establishment/lib/service/establishment.service.mjs +3 -3
- package/esm2020/establishment/lib/service/legal-unit.service.mjs +3 -3
- package/esm2020/formly/lib/formly.module.mjs +4 -4
- package/esm2020/formly/lib/types/api.mjs +3 -3
- package/esm2020/formly/lib/types/checkbox.mjs +3 -3
- package/esm2020/formly/lib/types/date.mjs +3 -3
- package/esm2020/formly/lib/types/department.mjs +3 -3
- package/esm2020/formly/lib/types/establishment.mjs +3 -3
- package/esm2020/formly/lib/types/input.mjs +3 -3
- package/esm2020/formly/lib/types/qualification.mjs +3 -3
- package/esm2020/formly/lib/types/radios.mjs +3 -3
- package/esm2020/formly/lib/types/select.mjs +3 -3
- package/esm2020/formly/lib/types/textarea.mjs +3 -3
- package/esm2020/formly/lib/types/user.mjs +3 -3
- package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +3 -3
- package/esm2020/formly/lib/wrappers/error.mjs +6 -6
- package/esm2020/formly/lib/wrappers/helper.mjs +3 -3
- package/esm2020/formly/lib/wrappers/icon.mjs +3 -3
- package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +3 -3
- package/esm2020/formly/lib/wrappers/suffix.mjs +3 -3
- package/esm2020/formly/lib/wrappers/textfield-layout.mjs +3 -3
- package/esm2020/input/lib/clearer/clearer.component.mjs +3 -3
- package/esm2020/input/lib/clearer/clearer.module.mjs +4 -4
- package/esm2020/input/lib/displayer/input-displayer.directive.mjs +3 -3
- package/esm2020/input/lib/displayer/input-displayer.module.mjs +4 -4
- package/esm2020/input/lib/input.directive.mjs +3 -3
- package/esm2020/input/lib/input.module.mjs +4 -4
- package/esm2020/material/lib/module.mjs +4 -4
- package/esm2020/modal/lib/modal-panel.component.mjs +9 -9
- package/esm2020/modal/lib/modal-ref.factory.mjs +4 -4
- package/esm2020/modal/lib/modal-ref.model.mjs +1 -1
- package/esm2020/modal/lib/modal.model.mjs +1 -1
- package/esm2020/modal/lib/modal.module.mjs +4 -4
- package/esm2020/modal/lib/modal.service.mjs +4 -4
- package/esm2020/number/lib/number.module.mjs +4 -4
- package/esm2020/number/lib/number.pipe.mjs +3 -3
- package/esm2020/option/lib/item/option-item.component.mjs +3 -3
- package/esm2020/option/lib/item/option-item.module.mjs +4 -4
- package/esm2020/option/lib/item/tree-option-item.component.mjs +3 -3
- package/esm2020/option/lib/item/tree-option-item.module.mjs +4 -4
- package/esm2020/option/lib/operator/feeder/option-feeder.component.mjs +3 -3
- package/esm2020/option/lib/operator/feeder/option-feeder.module.mjs +4 -4
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.component.mjs +3 -3
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.module.mjs +4 -4
- package/esm2020/option/lib/operator/for-groups/for-groups.directive.mjs +3 -3
- package/esm2020/option/lib/operator/for-groups/for-groups.module.mjs +4 -4
- package/esm2020/option/lib/operator/for-options/for-options.directive.mjs +3 -3
- package/esm2020/option/lib/operator/for-options/for-options.module.mjs +4 -4
- package/esm2020/option/lib/operator/for-options/for-tree-options.directive.mjs +3 -3
- package/esm2020/option/lib/operator/for-options/for-tree-options.module.mjs +4 -4
- package/esm2020/option/lib/operator/option-operator.module.mjs +4 -4
- package/esm2020/option/lib/operator/pager/option-pager.component.mjs +3 -3
- package/esm2020/option/lib/operator/pager/option-pager.module.mjs +4 -4
- package/esm2020/option/lib/operator/pager/tree-option-pager.component.mjs +3 -3
- package/esm2020/option/lib/operator/pager/tree-option-pager.module.mjs +4 -4
- package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +3 -3
- package/esm2020/option/lib/operator/searcher/option-searcher.module.mjs +4 -4
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +3 -3
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.module.mjs +4 -4
- package/esm2020/option/lib/operator/tree-option-operator.module.mjs +4 -4
- package/esm2020/option/lib/option.module.mjs +4 -4
- package/esm2020/option/lib/picker/option-picker-advanced.component.mjs +6 -6
- package/esm2020/option/lib/picker/option-picker.component.mjs +6 -6
- package/esm2020/option/lib/picker/option-picker.module.mjs +4 -4
- package/esm2020/option/lib/picker/tree-option-picker-advanced.component.mjs +6 -6
- package/esm2020/option/lib/picker/tree-option-picker.component.mjs +6 -6
- package/esm2020/option/lib/picker/tree-option-picker.module.mjs +4 -4
- package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +3 -3
- package/esm2020/option/lib/placeholder/option-placeholder.module.mjs +4 -4
- package/esm2020/option/lib/selector/all/select-all.component.mjs +3 -3
- package/esm2020/option/lib/selector/all/select-all.module.mjs +4 -4
- package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +3 -3
- package/esm2020/option/lib/selector/all/tree-select-all.module.mjs +4 -4
- package/esm2020/option/lib/selector/option-selector.module.mjs +4 -4
- package/esm2020/option/lib/selector/tree-option-selector.module.mjs +4 -4
- package/esm2020/option/lib/tree-option.module.mjs +4 -4
- package/esm2020/popover/lib/panel/popover-panel.component.mjs +3 -3
- package/esm2020/popover/lib/panel/popover-panel.module.mjs +4 -4
- package/esm2020/popover/lib/popover.module.mjs +4 -4
- package/esm2020/popover/lib/target/popover-target.directive.mjs +3 -3
- package/esm2020/popover/lib/target/popover-target.module.mjs +4 -4
- package/esm2020/popover/lib/trigger/popover-trigger.directive.mjs +3 -3
- package/esm2020/popover/lib/trigger/popover-trigger.module.mjs +4 -4
- package/esm2020/popup/lib/popup-ref.factory.mjs +3 -3
- package/esm2020/popup/lib/popup-ref.model.mjs +1 -1
- package/esm2020/popup/lib/popup.module.mjs +4 -4
- package/esm2020/popup/lib/popup.service.mjs +4 -4
- package/esm2020/qualification/lib/qualification.module.mjs +4 -4
- package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +6 -6
- package/esm2020/qualification/lib/select/input/qualification-select-input.module.mjs +4 -4
- package/esm2020/qualification/lib/select/qualification-select.module.mjs +4 -4
- package/esm2020/safe-content/lib/safe-content.module.mjs +4 -4
- package/esm2020/safe-content/lib/safe-html.pipe.mjs +3 -3
- package/esm2020/scroll/lib/scroll.directive.mjs +3 -3
- package/esm2020/scroll/lib/scroll.module.mjs +4 -4
- package/esm2020/select/lib/input/select-input.component.mjs +8 -8
- package/esm2020/select/lib/input/select-input.module.mjs +4 -4
- package/esm2020/select/lib/select.module.mjs +4 -4
- package/esm2020/sidepanel/lib/sidepanel.model.mjs +1 -1
- package/esm2020/sidepanel/lib/sidepanel.module.mjs +4 -4
- package/esm2020/sidepanel/lib/sidepanel.service.mjs +4 -4
- package/esm2020/simple-select/api/lib/api-v3.directive.mjs +3 -3
- package/esm2020/simple-select/api/lib/api-v4.directive.mjs +3 -3
- package/esm2020/simple-select/api/lib/api.directive.mjs +3 -3
- package/esm2020/simple-select/lib/input/panel-ref.factory.mjs +3 -3
- package/esm2020/simple-select/lib/input/select-input.component.mjs +6 -6
- package/esm2020/simple-select/lib/input/select-input.models.mjs +3 -3
- package/esm2020/simple-select/lib/option/default-option.component.mjs +3 -3
- package/esm2020/simple-select/lib/option/disabled.directive.mjs +3 -3
- package/esm2020/simple-select/lib/option/displayer.directive.mjs +3 -3
- package/esm2020/simple-select/lib/option/option-outlet.directive.mjs +3 -3
- package/esm2020/simple-select/lib/option/option.component.mjs +3 -3
- package/esm2020/simple-select/lib/option/option.directive.mjs +3 -3
- package/esm2020/simple-select/lib/panel/panel.component.mjs +3 -3
- package/esm2020/title/lib/title.module.mjs +4 -4
- package/esm2020/title/lib/title.service.mjs +3 -3
- package/esm2020/title/lib/title.strategy.mjs +3 -3
- package/esm2020/toast/toasts.component.mjs +3 -3
- package/esm2020/toast/toasts.module.mjs +4 -4
- package/esm2020/toast/toasts.service.mjs +3 -3
- package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +3 -3
- package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +4 -4
- package/esm2020/tooltip/lib/tooltip.module.mjs +4 -4
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +3 -3
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.module.mjs +4 -4
- package/esm2020/user/lib/display/user-display.module.mjs +4 -4
- package/esm2020/user/lib/display/user-display.pipe.mjs +3 -3
- package/esm2020/user/lib/picture/user-picture.component.mjs +3 -3
- package/esm2020/user/lib/picture/user-picture.module.mjs +4 -4
- package/esm2020/user/lib/select/homonyms/user-homonyms.component.mjs +3 -3
- package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +4 -4
- package/esm2020/user/lib/select/homonyms/user-homonyms.service.mjs +3 -3
- package/esm2020/user/lib/select/input/user-select-input.component.mjs +6 -6
- package/esm2020/user/lib/select/input/user-select-input.module.mjs +4 -4
- package/esm2020/user/lib/select/me/me-option.directive.mjs +3 -3
- package/esm2020/user/lib/select/me/me-option.module.mjs +4 -4
- package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +3 -3
- package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +4 -4
- package/esm2020/user/lib/select/user-select.module.mjs +4 -4
- package/esm2020/user/lib/service/user-v3.service.mjs +3 -3
- package/esm2020/user/lib/tile/user-tile.component.mjs +3 -3
- package/esm2020/user/lib/tile/user-tile.module.mjs +4 -4
- package/esm2020/user/lib/user.module.mjs +4 -4
- package/fesm2015/lucca-front-ng-a11y.mjs +3 -3
- package/fesm2015/lucca-front-ng-api.mjs +50 -50
- package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-core.mjs +6 -6
- package/fesm2015/lucca-front-ng-date.mjs +44 -44
- package/fesm2015/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-department.mjs +27 -27
- package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-dropdown.mjs +25 -25
- package/fesm2015/lucca-front-ng-establishment.mjs +51 -51
- package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-formly.mjs +61 -61
- package/fesm2015/lucca-front-ng-input.mjs +21 -21
- package/fesm2015/lucca-front-ng-material.mjs +4 -4
- package/fesm2015/lucca-front-ng-modal.mjs +19 -19
- package/fesm2015/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-number.mjs +7 -7
- package/fesm2015/lucca-front-ng-option.mjs +154 -154
- package/fesm2015/lucca-front-ng-popover.mjs +25 -25
- package/fesm2015/lucca-front-ng-popup.mjs +10 -10
- package/fesm2015/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-qualification.mjs +17 -17
- package/fesm2015/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-safe-content.mjs +7 -7
- package/fesm2015/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2015/lucca-front-ng-select.mjs +16 -16
- package/fesm2015/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2015/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-simple-select-api.mjs +9 -9
- package/fesm2015/lucca-front-ng-simple-select.mjs +32 -32
- package/fesm2015/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-title.mjs +10 -10
- package/fesm2015/lucca-front-ng-toast.mjs +10 -10
- package/fesm2015/lucca-front-ng-tooltip.mjs +18 -18
- package/fesm2015/lucca-front-ng-user.mjs +65 -65
- package/fesm2015/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-a11y.mjs +3 -3
- package/fesm2020/lucca-front-ng-api.mjs +50 -50
- package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-core.mjs +6 -6
- package/fesm2020/lucca-front-ng-date.mjs +44 -44
- package/fesm2020/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-department.mjs +27 -27
- package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-dropdown.mjs +25 -25
- package/fesm2020/lucca-front-ng-establishment.mjs +51 -51
- package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-formly.mjs +61 -61
- package/fesm2020/lucca-front-ng-input.mjs +21 -21
- package/fesm2020/lucca-front-ng-material.mjs +4 -4
- package/fesm2020/lucca-front-ng-modal.mjs +19 -19
- package/fesm2020/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-number.mjs +7 -7
- package/fesm2020/lucca-front-ng-option.mjs +154 -154
- package/fesm2020/lucca-front-ng-popover.mjs +25 -25
- package/fesm2020/lucca-front-ng-popup.mjs +10 -10
- package/fesm2020/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-qualification.mjs +17 -17
- package/fesm2020/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-safe-content.mjs +7 -7
- package/fesm2020/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2020/lucca-front-ng-select.mjs +16 -16
- package/fesm2020/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2020/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-simple-select-api.mjs +9 -9
- package/fesm2020/lucca-front-ng-simple-select.mjs +32 -32
- package/fesm2020/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-title.mjs +10 -10
- package/fesm2020/lucca-front-ng-toast.mjs +10 -10
- package/fesm2020/lucca-front-ng-tooltip.mjs +18 -18
- package/fesm2020/lucca-front-ng-user.mjs +65 -65
- package/fesm2020/lucca-front-ng-user.mjs.map +1 -1
- package/modal/lib/modal-ref.factory.d.ts +1 -1
- package/modal/lib/modal-ref.model.d.ts +5 -5
- package/modal/lib/modal.model.d.ts +1 -0
- package/modal/lib/modal.service.d.ts +3 -3
- package/modal/lib/modal.token.d.ts +1 -1
- package/package.json +3 -3
- package/popup/lib/popup-ref.model.d.ts +3 -3
- package/popup/lib/popup.service.d.ts +1 -1
- package/sidepanel/lib/sidepanel.model.d.ts +1 -1
- package/sidepanel/lib/sidepanel.service.d.ts +2 -2
- package/src/definitions/select/_select-input.scss +4 -0
|
@@ -228,9 +228,9 @@ class LuPopoverPanelComponent extends ALuPopoverPanel {
|
|
|
228
228
|
this.hovered.emit(hovered);
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
|
-
LuPopoverPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
232
|
-
LuPopoverPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
231
|
+
LuPopoverPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
232
|
+
LuPopoverPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuPopoverPanelComponent, isStandalone: true, selector: "lu-popover", inputs: { template: "template", templateContext: ["template-context", "templateContext"], inputCloseOnClick: ["close-on-click", "inputCloseOnClick"], inputTrapFocus: ["trap-focus", "inputTrapFocus"], inputScrollStrategy: ["scroll-strategy", "inputScrollStrategy"], inputPanelClasses: ["panel-classes", "inputPanelClasses"], inputContentClasses: ["content-classes", "inputContentClasses"] }, outputs: { close: "close", open: "open", hovered: "hovered" }, viewQueries: [{ propertyName: "vcTemplateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], exportAs: ["LuPopoverPanel"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-popover-panel\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t(keydown)=\"_handleKeydown($event)\"\r\n\t\t(click)=\"onClick()\"\r\n\t\t(mouseover)=\"onMouseOver()\"\r\n\t\t(mouseleave)=\"onMouseLeave()\"\r\n\t\t(mousedown)=\"onMouseDown()\"\r\n\t\t[attr.id]=\"panelId\"\r\n\t\t[attr.aria-labelledby]=\"triggerId\"\r\n\t\t[@transformPopover]=\"'enter'\"\r\n\t>\r\n\t\t<div class=\"lu-popover-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content><ng-container *ngTemplateOutlet=\"template; context: templateContext\"></ng-container>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverPanelComponent, decorators: [{
|
|
234
234
|
type: Component,
|
|
235
235
|
args: [{ selector: 'lu-popover', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], standalone: true, imports: [CommonModule, OverlayModule, A11yModule], exportAs: 'LuPopoverPanel', template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-popover-panel\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t(keydown)=\"_handleKeydown($event)\"\r\n\t\t(click)=\"onClick()\"\r\n\t\t(mouseover)=\"onMouseOver()\"\r\n\t\t(mouseleave)=\"onMouseLeave()\"\r\n\t\t(mousedown)=\"onMouseDown()\"\r\n\t\t[attr.id]=\"panelId\"\r\n\t\t[attr.aria-labelledby]=\"triggerId\"\r\n\t\t[@transformPopover]=\"'enter'\"\r\n\t>\r\n\t\t<div class=\"lu-popover-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content><ng-container *ngTemplateOutlet=\"template; context: templateContext\"></ng-container>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n" }]
|
|
236
236
|
}], ctorParameters: function () { return []; }, propDecorators: { template: [{
|
|
@@ -266,10 +266,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
266
266
|
|
|
267
267
|
class LuPopoverPanelModule {
|
|
268
268
|
}
|
|
269
|
-
LuPopoverPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
270
|
-
LuPopoverPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
271
|
-
LuPopoverPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
269
|
+
LuPopoverPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
270
|
+
LuPopoverPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverPanelModule, imports: [LuPopoverPanelComponent], exports: [LuPopoverPanelComponent] });
|
|
271
|
+
LuPopoverPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverPanelModule, imports: [LuPopoverPanelComponent] });
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverPanelModule, decorators: [{
|
|
273
273
|
type: NgModule,
|
|
274
274
|
args: [{
|
|
275
275
|
imports: [LuPopoverPanelComponent],
|
|
@@ -366,9 +366,9 @@ class LuPopoverTargetDirective extends ALuPopoverTarget {
|
|
|
366
366
|
this.offsetY = oy;
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
LuPopoverTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
370
|
-
LuPopoverTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
369
|
+
LuPopoverTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTargetDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
370
|
+
LuPopoverTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: LuPopoverTargetDirective, isStandalone: true, selector: "[luPopoverTarget]", inputs: { inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, exportAs: ["LuPopoverTarget"], usesInheritance: true, ngImport: i0 });
|
|
371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTargetDirective, decorators: [{
|
|
372
372
|
type: Directive,
|
|
373
373
|
args: [{
|
|
374
374
|
selector: '[luPopoverTarget]',
|
|
@@ -394,10 +394,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
394
394
|
|
|
395
395
|
class LuPopoverTargetModule {
|
|
396
396
|
}
|
|
397
|
-
LuPopoverTargetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
398
|
-
LuPopoverTargetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
399
|
-
LuPopoverTargetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
397
|
+
LuPopoverTargetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTargetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
398
|
+
LuPopoverTargetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTargetModule, imports: [LuPopoverTargetDirective], exports: [LuPopoverTargetDirective] });
|
|
399
|
+
LuPopoverTargetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTargetModule });
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTargetModule, decorators: [{
|
|
401
401
|
type: NgModule,
|
|
402
402
|
args: [{
|
|
403
403
|
imports: [LuPopoverTargetDirective],
|
|
@@ -975,9 +975,9 @@ class LuPopoverTriggerDirective extends ALuPopoverTrigger {
|
|
|
975
975
|
this.onClose.emit();
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
LuPopoverTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
979
|
-
LuPopoverTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
978
|
+
LuPopoverTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTriggerDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
979
|
+
LuPopoverTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: LuPopoverTriggerDirective, isStandalone: true, selector: "[luPopover]", inputs: { inputPanel: ["luPopover", "inputPanel"], inputTarget: ["luPopoverTarget", "inputTarget"], inputTriggerEvent: ["luPopoverTrigger", "inputTriggerEvent"], inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputEnterDelay: ["luPopoverEnterDelay", "inputEnterDelay"], inputLeaveDelay: ["luPopoverLeaveDelay", "inputLeaveDelay"], inputDisabled: ["luPopoverDisabled", "inputDisabled"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, outputs: { onOpen: "luPopoverOnOpen", onClose: "luPopoverOnClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-expanded": "this._attrAriaExpanded", "attr.id": "this._attrId", "attr.aria-controls": "this._attrAriaControls" } }, exportAs: ["LuPopoverTrigger"], usesInheritance: true, ngImport: i0 });
|
|
980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTriggerDirective, decorators: [{
|
|
981
981
|
type: Directive,
|
|
982
982
|
args: [{
|
|
983
983
|
selector: '[luPopover]',
|
|
@@ -1051,10 +1051,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
1051
1051
|
|
|
1052
1052
|
class LuPopoverTriggerModule {
|
|
1053
1053
|
}
|
|
1054
|
-
LuPopoverTriggerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1055
|
-
LuPopoverTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
1056
|
-
LuPopoverTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
1057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1054
|
+
LuPopoverTriggerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTriggerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1055
|
+
LuPopoverTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTriggerModule, imports: [LuPopoverTriggerDirective, OverlayModule], exports: [LuPopoverTriggerDirective] });
|
|
1056
|
+
LuPopoverTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTriggerModule, imports: [OverlayModule] });
|
|
1057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverTriggerModule, decorators: [{
|
|
1058
1058
|
type: NgModule,
|
|
1059
1059
|
args: [{
|
|
1060
1060
|
imports: [LuPopoverTriggerDirective, OverlayModule],
|
|
@@ -1064,10 +1064,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
1064
1064
|
|
|
1065
1065
|
class LuPopoverModule {
|
|
1066
1066
|
}
|
|
1067
|
-
LuPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
1068
|
-
LuPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
1069
|
-
LuPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
1070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
1067
|
+
LuPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1068
|
+
LuPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverModule, imports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective], exports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective] });
|
|
1069
|
+
LuPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverModule, imports: [LuPopoverPanelComponent] });
|
|
1070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopoverModule, decorators: [{
|
|
1071
1071
|
type: NgModule,
|
|
1072
1072
|
args: [{
|
|
1073
1073
|
imports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective],
|
|
@@ -173,9 +173,9 @@ class LuPopupRefFactory {
|
|
|
173
173
|
return new LuPopupRef(this._overlay, this._injector, component, config);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
LuPopupRefFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
177
|
-
LuPopupRefFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
176
|
+
LuPopupRefFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopupRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
177
|
+
LuPopupRefFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopupRefFactory });
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopupRefFactory, decorators: [{
|
|
179
179
|
type: Injectable
|
|
180
180
|
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.Injector }]; } });
|
|
181
181
|
|
|
@@ -191,18 +191,18 @@ class LuPopup {
|
|
|
191
191
|
return ref;
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
LuPopup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
195
|
-
LuPopup.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.
|
|
196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
194
|
+
LuPopup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopup, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
195
|
+
LuPopup.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopup });
|
|
196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopup, decorators: [{
|
|
197
197
|
type: Injectable
|
|
198
198
|
}] });
|
|
199
199
|
|
|
200
200
|
class LuPopupModule {
|
|
201
201
|
}
|
|
202
|
-
LuPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
203
|
-
LuPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
204
|
-
LuPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
202
|
+
LuPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
203
|
+
LuPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuPopupModule, imports: [OverlayModule] });
|
|
204
|
+
LuPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopupModule, providers: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }], imports: [OverlayModule] });
|
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuPopupModule, decorators: [{
|
|
206
206
|
type: NgModule,
|
|
207
207
|
args: [{
|
|
208
208
|
imports: [OverlayModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-popup.mjs","sources":["../../../packages/ng/popup/src/lib/popup-config.default.ts","../../../packages/ng/popup/src/lib/popup.token.ts","../../../packages/ng/popup/src/lib/popup-ref.model.ts","../../../packages/ng/popup/src/lib/popup-ref.factory.ts","../../../packages/ng/popup/src/lib/popup.service.ts","../../../packages/ng/popup/src/lib/popup.module.ts","../../../packages/ng/popup/src/public-api.ts","../../../packages/ng/popup/src/lucca-front-ng-popup.ts"],"sourcesContent":["import { ILuPopupConfig } from './popup-config.model';\r\n\r\nexport const luDefaultPopupConfig: ILuPopupConfig = {\r\n\tposition: 'center',\r\n\tnoBackdrop: false,\r\n\tundismissable: false,\r\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\r\n\tpanelClass: 'lu-popup-panel',\r\n\tsize: 'M',\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { ILuPopupRefFactory } from './popup-ref.model';\r\n\r\nexport const LU_POPUP_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuPopupRefFactory');\r\n\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_POPUP_DATA = new InjectionToken<unknown>('LuPopupData');\r\nexport const LU_POPUP_CONFIG = new InjectionToken<ILuPopupConfig>('LuPopupDefaultConfig', {\r\n\tfactory: () => ({}),\r\n});\r\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\r\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\r\nimport { ComponentRef, Injector } from '@angular/core';\r\nimport { Observable, Subject, Subscription } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { LU_POPUP_DATA } from './popup.token';\r\n\r\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\r\nexport interface ILuPopupRef<T = unknown, D = unknown, R = unknown> {\r\n\tonOpen: Observable<D>;\r\n\tonClose: Observable<R>;\r\n\tonDismiss: Observable<void>;\r\n\tonBackdropClick: Observable<void>;\r\n\topen(data: D): void;\r\n\tclose(result: R): void;\r\n\tdismiss(): void;\r\n}\r\nexport interface ILuPopupRefFactory<TComponent = unknown, TConfig extends ILuPopupConfig = ILuPopupConfig> {\r\n\tforge<T extends TComponent, C extends TConfig, D, R>(component: ComponentType<T>, config: C): ILuPopupRef<T, D, R>;\r\n}\r\n\r\nexport abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown, C extends ILuPopupConfig = ILuPopupConfig> implements ILuPopupRef<T, D, R> {\r\n\tonOpen = new Subject<D>();\r\n\tonClose = new Subject<R>();\r\n\tonDismiss = new Subject<void>();\r\n\tonBackdropClick = new Subject<void>();\r\n\r\n\tprotected _overlayRef: OverlayRef;\r\n\tprotected _componentRef: ComponentRef<T>;\r\n\r\n\tprotected _subs = new Subscription();\r\n\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector, protected _component: ComponentType<T>, protected _config: C) {}\r\n\r\n\topen(data?: D) {\r\n\t\tthis._createOverlay();\r\n\t\tthis._openPopup(data);\r\n\r\n\t\tthis._subToCloseEvents();\r\n\r\n\t\tthis.onOpen.next(data);\r\n\t\tthis.onOpen.complete();\r\n\t}\r\n\tclose(result?: R) {\r\n\t\tthis.onClose.next(result);\r\n\t\tthis._destroy();\r\n\t}\r\n\tdismiss() {\r\n\t\tthis.onDismiss.next();\r\n\t\tthis._destroy();\r\n\t}\r\n\t/**\r\n\t * This method creates the overlay from the provided popover's template and saves its\r\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\r\n\t */\r\n\tprotected _createOverlay() {\r\n\t\tif (!this._overlayRef) {\r\n\t\t\tconst overlayConfig = this._getOverlayConfig();\r\n\t\t\tthis._overlayRef = this._overlay.create(overlayConfig);\r\n\t\t}\r\n\t}\r\n\t/**\r\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\r\n\t * @returns OverlayConfig\r\n\t */\r\n\tprotected _getOverlayConfig(): OverlayConfig {\r\n\t\tconst overlayConfig = new OverlayConfig();\r\n\t\tswitch (this._config.position) {\r\n\t\t\tcase 'top':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'bottom':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'left':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'right':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'center':\r\n\t\t\tdefault:\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\toverlayConfig.hasBackdrop = !this._config.noBackdrop;\r\n\t\toverlayConfig.backdropClass = this._config.backdropClass;\r\n\t\toverlayConfig.panelClass = this._getOverlayPanelClasses();\r\n\t\toverlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();\r\n\t\treturn overlayConfig;\r\n\t}\r\n\tprotected _openPopup(data?: D) {\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: ALuPopupRef, useValue: this },\r\n\t\t\t\t{ provide: LU_POPUP_DATA, useValue: data },\r\n\t\t\t],\r\n\t\t\tparent: this._injector,\r\n\t\t});\r\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\r\n\t\tthis._componentRef = this._overlayRef.attach<T>(portal);\r\n\t}\r\n\tprotected _getOverlayPanelClasses(): string[] {\r\n\t\tconst panelClasses: string[] = [];\r\n\t\tif (Array.isArray(this._config.panelClass)) {\r\n\t\t\tpanelClasses.push(...this._config.panelClass);\r\n\t\t} else {\r\n\t\t\tpanelClasses.push(this._config.panelClass);\r\n\t\t}\r\n\t\tpanelClasses.push(`mod-${this._config.size}`);\r\n\t\treturn panelClasses;\r\n\t}\r\n\tprotected _destroy() {\r\n\t\tthis._cleanSubscription();\r\n\t\tthis._closePopup();\r\n\t\tthis._destroyOverlay();\r\n\t\tthis._completeSubjects();\r\n\t}\r\n\tprotected _completeSubjects() {\r\n\t\tthis.onClose.complete();\r\n\t\tthis.onOpen.complete();\r\n\t\tthis.onDismiss.complete();\r\n\t\tthis.onBackdropClick.complete();\r\n\t}\r\n\tprotected _destroyOverlay() {\r\n\t\tthis._overlayRef.detachBackdrop();\r\n\t\tthis._overlayRef.detach();\r\n\t}\r\n\tprotected _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t}\r\n\tprotected _subToCloseEvents() {\r\n\t\tif (!this._config.undismissable) {\r\n\t\t\tthis._subToEscapeKeydownEvent();\r\n\t\t}\r\n\t\tthis._subToBackdropClickEvent();\r\n\t}\r\n\tprotected _subToEscapeKeydownEvent() {\r\n\t\tconst escPressed$ = this._overlayRef.keydownEvents().pipe(filter(({ key }) => key === 'Escape'));\r\n\t\tthis._subs.add(escPressed$.subscribe((_e) => this.dismiss()));\r\n\t}\r\n\tprotected _subToBackdropClickEvent() {\r\n\t\tconst bdClicked$ = this._overlayRef.backdropClick();\r\n\t\tconst bdClickedSub = bdClicked$.subscribe((_e) => {\r\n\t\t\tthis.onBackdropClick.next();\r\n\t\t\tif (!this._config.undismissable) {\r\n\t\t\t\tthis.dismiss();\r\n\t\t\t}\r\n\t\t});\r\n\t\tthis._subs.add(bdClickedSub);\r\n\t}\r\n\tprotected _cleanSubscription() {\r\n\t\tthis._subs.unsubscribe();\r\n\t}\r\n}\r\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\r\nimport { Injectable, Injector } from '@angular/core';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { ALuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\r\n\r\nexport class LuPopupRef<T = unknown, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> {\r\n\tconstructor(protected override _overlay: Overlay, protected override _injector: Injector, protected override _component: ComponentType<T>, protected override _config: ILuPopupConfig) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuPopupRefFactory implements ILuPopupRefFactory {\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\r\n\tforge<T, D, R>(component: ComponentType<T>, config: ILuPopupConfig) {\r\n\t\treturn new LuPopupRef<T, D, R>(this._overlay, this._injector, component, config);\r\n\t}\r\n}\r\n","import { ComponentType } from '@angular/cdk/overlay';\r\nimport { inject, Injectable } from '@angular/core';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { ILuPopupRef } from './popup-ref.model';\r\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\r\n\r\n@Injectable()\r\nexport class LuPopup {\r\n\tprotected _factory = inject(LU_POPUP_REF_FACTORY);\r\n\tprotected _config = inject(LU_POPUP_CONFIG);\r\n\r\n\topen<T, D, R>(component: ComponentType<T>, data: D = undefined, config: Partial<ILuPopupConfig> = {}): ILuPopupRef<T, D, R> {\r\n\t\tconst extendedConfig = { ...this._config, ...config };\r\n\t\tconst ref = this._factory.forge<T, ILuPopupConfig, D, R>(component, extendedConfig);\r\n\t\tref.open(data);\r\n\t\treturn ref;\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { LuPopup } from './popup.service';\r\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\r\nimport { luDefaultPopupConfig } from './popup-config.default';\r\nimport { LuPopupRefFactory } from './popup-ref.factory';\r\n\r\n@NgModule({\r\n\timports: [OverlayModule],\r\n\texports: [],\r\n\tproviders: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }],\r\n})\r\nexport class LuPopupModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\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;AAC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AA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJf,aAAa,CAAA,EAAA,CAAA,CAAA;2GAIX,aAAa,EAAA,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;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;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-popup.mjs","sources":["../../../packages/ng/popup/src/lib/popup-config.default.ts","../../../packages/ng/popup/src/lib/popup.token.ts","../../../packages/ng/popup/src/lib/popup-ref.model.ts","../../../packages/ng/popup/src/lib/popup-ref.factory.ts","../../../packages/ng/popup/src/lib/popup.service.ts","../../../packages/ng/popup/src/lib/popup.module.ts","../../../packages/ng/popup/src/public-api.ts","../../../packages/ng/popup/src/lucca-front-ng-popup.ts"],"sourcesContent":["import { ILuPopupConfig } from './popup-config.model';\r\n\r\nexport const luDefaultPopupConfig: ILuPopupConfig = {\r\n\tposition: 'center',\r\n\tnoBackdrop: false,\r\n\tundismissable: false,\r\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\r\n\tpanelClass: 'lu-popup-panel',\r\n\tsize: 'M',\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { ILuPopupRefFactory } from './popup-ref.model';\r\n\r\nexport const LU_POPUP_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuPopupRefFactory');\r\n\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_POPUP_DATA = new InjectionToken<unknown>('LuPopupData');\r\nexport const LU_POPUP_CONFIG = new InjectionToken<ILuPopupConfig>('LuPopupDefaultConfig', {\r\n\tfactory: () => ({}),\r\n});\r\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\r\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\r\nimport { ComponentRef, Injector } from '@angular/core';\r\nimport { Observable, Subject, Subscription } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { LU_POPUP_DATA } from './popup.token';\r\n\r\nexport interface ILuPopupRef<D = unknown, R = unknown> {\r\n\tonOpen: Observable<D>;\r\n\tonClose: Observable<R>;\r\n\tonDismiss: Observable<void>;\r\n\tonBackdropClick: Observable<void>;\r\n\topen(data: D): void;\r\n\tclose(result: R): void;\r\n\tdismiss(): void;\r\n}\r\nexport interface ILuPopupRefFactory<TComponent = unknown, TConfig extends ILuPopupConfig = ILuPopupConfig> {\r\n\tforge<T extends TComponent, C extends TConfig, D, R>(component: ComponentType<T>, config: C): ILuPopupRef<D, R>;\r\n}\r\n\r\nexport abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown, C extends ILuPopupConfig = ILuPopupConfig> implements ILuPopupRef<D, R> {\r\n\tonOpen = new Subject<D>();\r\n\tonClose = new Subject<R>();\r\n\tonDismiss = new Subject<void>();\r\n\tonBackdropClick = new Subject<void>();\r\n\r\n\tprotected _overlayRef: OverlayRef;\r\n\tprotected _componentRef: ComponentRef<T>;\r\n\r\n\tprotected _subs = new Subscription();\r\n\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector, protected _component: ComponentType<T>, protected _config: C) {}\r\n\r\n\topen(data?: D) {\r\n\t\tthis._createOverlay();\r\n\t\tthis._openPopup(data);\r\n\r\n\t\tthis._subToCloseEvents();\r\n\r\n\t\tthis.onOpen.next(data);\r\n\t\tthis.onOpen.complete();\r\n\t}\r\n\tclose(result?: R) {\r\n\t\tthis.onClose.next(result);\r\n\t\tthis._destroy();\r\n\t}\r\n\tdismiss() {\r\n\t\tthis.onDismiss.next();\r\n\t\tthis._destroy();\r\n\t}\r\n\t/**\r\n\t * This method creates the overlay from the provided popover's template and saves its\r\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\r\n\t */\r\n\tprotected _createOverlay() {\r\n\t\tif (!this._overlayRef) {\r\n\t\t\tconst overlayConfig = this._getOverlayConfig();\r\n\t\t\tthis._overlayRef = this._overlay.create(overlayConfig);\r\n\t\t}\r\n\t}\r\n\t/**\r\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\r\n\t * @returns OverlayConfig\r\n\t */\r\n\tprotected _getOverlayConfig(): OverlayConfig {\r\n\t\tconst overlayConfig = new OverlayConfig();\r\n\t\tswitch (this._config.position) {\r\n\t\t\tcase 'top':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'bottom':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'left':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'right':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'center':\r\n\t\t\tdefault:\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\toverlayConfig.hasBackdrop = !this._config.noBackdrop;\r\n\t\toverlayConfig.backdropClass = this._config.backdropClass;\r\n\t\toverlayConfig.panelClass = this._getOverlayPanelClasses();\r\n\t\toverlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();\r\n\t\treturn overlayConfig;\r\n\t}\r\n\tprotected _openPopup(data?: D) {\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: ALuPopupRef, useValue: this },\r\n\t\t\t\t{ provide: LU_POPUP_DATA, useValue: data },\r\n\t\t\t],\r\n\t\t\tparent: this._injector,\r\n\t\t});\r\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\r\n\t\tthis._componentRef = this._overlayRef.attach<T>(portal);\r\n\t}\r\n\tprotected _getOverlayPanelClasses(): string[] {\r\n\t\tconst panelClasses: string[] = [];\r\n\t\tif (Array.isArray(this._config.panelClass)) {\r\n\t\t\tpanelClasses.push(...this._config.panelClass);\r\n\t\t} else {\r\n\t\t\tpanelClasses.push(this._config.panelClass);\r\n\t\t}\r\n\t\tpanelClasses.push(`mod-${this._config.size}`);\r\n\t\treturn panelClasses;\r\n\t}\r\n\tprotected _destroy() {\r\n\t\tthis._cleanSubscription();\r\n\t\tthis._closePopup();\r\n\t\tthis._destroyOverlay();\r\n\t\tthis._completeSubjects();\r\n\t}\r\n\tprotected _completeSubjects() {\r\n\t\tthis.onClose.complete();\r\n\t\tthis.onOpen.complete();\r\n\t\tthis.onDismiss.complete();\r\n\t\tthis.onBackdropClick.complete();\r\n\t}\r\n\tprotected _destroyOverlay() {\r\n\t\tthis._overlayRef.detachBackdrop();\r\n\t\tthis._overlayRef.detach();\r\n\t}\r\n\tprotected _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t}\r\n\tprotected _subToCloseEvents() {\r\n\t\tif (!this._config.undismissable) {\r\n\t\t\tthis._subToEscapeKeydownEvent();\r\n\t\t}\r\n\t\tthis._subToBackdropClickEvent();\r\n\t}\r\n\tprotected _subToEscapeKeydownEvent() {\r\n\t\tconst escPressed$ = this._overlayRef.keydownEvents().pipe(filter(({ key }) => key === 'Escape'));\r\n\t\tthis._subs.add(escPressed$.subscribe((_e) => this.dismiss()));\r\n\t}\r\n\tprotected _subToBackdropClickEvent() {\r\n\t\tconst bdClicked$ = this._overlayRef.backdropClick();\r\n\t\tconst bdClickedSub = bdClicked$.subscribe((_e) => {\r\n\t\t\tthis.onBackdropClick.next();\r\n\t\t\tif (!this._config.undismissable) {\r\n\t\t\t\tthis.dismiss();\r\n\t\t\t}\r\n\t\t});\r\n\t\tthis._subs.add(bdClickedSub);\r\n\t}\r\n\tprotected _cleanSubscription() {\r\n\t\tthis._subs.unsubscribe();\r\n\t}\r\n}\r\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\r\nimport { Injectable, Injector } from '@angular/core';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { ALuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\r\n\r\nexport class LuPopupRef<T = unknown, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> {\r\n\tconstructor(protected override _overlay: Overlay, protected override _injector: Injector, protected override _component: ComponentType<T>, protected override _config: ILuPopupConfig) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuPopupRefFactory implements ILuPopupRefFactory {\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\r\n\tforge<T, D, R>(component: ComponentType<T>, config: ILuPopupConfig) {\r\n\t\treturn new LuPopupRef<T, D, R>(this._overlay, this._injector, component, config);\r\n\t}\r\n}\r\n","import { ComponentType } from '@angular/cdk/overlay';\r\nimport { inject, Injectable } from '@angular/core';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { ILuPopupRef } from './popup-ref.model';\r\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\r\n\r\n@Injectable()\r\nexport class LuPopup {\r\n\tprotected _factory = inject(LU_POPUP_REF_FACTORY);\r\n\tprotected _config = inject(LU_POPUP_CONFIG);\r\n\r\n\topen<T, D, R>(component: ComponentType<T>, data: D = undefined, config: Partial<ILuPopupConfig> = {}): ILuPopupRef<D, R> {\r\n\t\tconst extendedConfig = { ...this._config, ...config };\r\n\t\tconst ref = this._factory.forge<T, ILuPopupConfig, D, R>(component, extendedConfig);\r\n\t\tref.open(data);\r\n\t\treturn ref;\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { LuPopup } from './popup.service';\r\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\r\nimport { luDefaultPopupConfig } from './popup-config.default';\r\nimport { LuPopupRefFactory } from './popup-ref.factory';\r\n\r\n@NgModule({\r\n\timports: [OverlayModule],\r\n\texports: [],\r\n\tproviders: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }],\r\n})\r\nexport class LuPopupModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\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,E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AAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJf,aAAa,CAAA,EAAA,CAAA,CAAA;2GAIX,aAAa,EAAA,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;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;;ACFH;;AAEG;;;;"}
|
|
@@ -49,15 +49,15 @@ class LuQualificationSelectInputComponent extends ALuSelectInputComponent {
|
|
|
49
49
|
return qualification.job.name;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
LuQualificationSelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
53
|
-
LuQualificationSelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
|
|
52
|
+
LuQualificationSelectInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
LuQualificationSelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuQualificationSelectInputComponent, isStandalone: true, selector: "lu-qualification-select", inputs: { filters: "filters" }, providers: [
|
|
54
54
|
{
|
|
55
55
|
provide: NG_VALUE_ACCESSOR,
|
|
56
56
|
useExisting: forwardRef(() => LuQualificationSelectInputComponent),
|
|
57
57
|
multi: true,
|
|
58
58
|
},
|
|
59
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: var(--spacings-L);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-borderRadius-M);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-M)}:host{--components-select-chip-background: var(--palettes-primary-700);--components-select-chip-text: var(--colors-white-color);--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}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-700, var(--palettes-primary-700));bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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) 3rem 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-400, var(--palettes-primary-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) 3rem 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{position:absolute;bottom:var(--spacings-XS);right:1.6rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{background-color:var(--components-select-chip-background);color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);padding:0 var(--spacings-XS);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) .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):after{line-height:var(--sizes-XS-lineHeight)}: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)}: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-filter) .lu-select-suffix{bottom:.4rem}: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:hidden;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:start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3rem}: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);margin:0;border-top:var(--commons-divider-width) solid var(--commons-divider-color);font-size:var(--sizes-S-fontSize);width:100%;text-align:left;text-decoration:underline}.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 });
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
59
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: var(--spacings-L);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-borderRadius-M);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-M)}:host{--components-select-chip-background: var(--palettes-primary-700);--components-select-chip-text: var(--colors-white-color);--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}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-700, var(--palettes-primary-700));bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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) 3rem 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-400, var(--palettes-primary-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) 3rem 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{position:absolute;bottom:var(--spacings-XS);right:1.6rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{background-color:var(--components-select-chip-background);color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);padding:0 var(--spacings-XS);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) .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):after{line-height:var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:var(--spacings-XXS)}: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)}: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-filter) .lu-select-suffix{bottom:.4rem}: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:hidden;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:start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3rem}: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);margin:0;border-top:var(--commons-divider-width) solid var(--commons-divider-color);font-size:var(--sizes-S-fontSize);width:100%;text-align:left;text-decoration:underline}.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 });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", 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
|
{
|
|
@@ -65,17 +65,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
65
65
|
useExisting: forwardRef(() => LuQualificationSelectInputComponent),
|
|
66
66
|
multi: true,
|
|
67
67
|
},
|
|
68
|
-
], template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: var(--spacings-L);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-borderRadius-M);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-M)}:host{--components-select-chip-background: var(--palettes-primary-700);--components-select-chip-text: var(--colors-white-color);--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}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-700, var(--palettes-primary-700));bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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) 3rem 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-400, var(--palettes-primary-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) 3rem 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{position:absolute;bottom:var(--spacings-XS);right:1.6rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{background-color:var(--components-select-chip-background);color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);padding:0 var(--spacings-XS);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) .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):after{line-height:var(--sizes-XS-lineHeight)}: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)}: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-filter) .lu-select-suffix{bottom:.4rem}: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:hidden;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:start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3rem}: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);margin:0;border-top:var(--commons-divider-width) solid var(--commons-divider-color);font-size:var(--sizes-S-fontSize);width:100%;text-align:left;text-decoration:underline}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"] }]
|
|
68
|
+
], template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: var(--spacings-L);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-borderRadius-M);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-M)}:host{--components-select-chip-background: var(--palettes-primary-700);--components-select-chip-text: var(--colors-white-color);--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}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-700, var(--palettes-primary-700));bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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) 3rem 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-400, var(--palettes-primary-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) 3rem 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{position:absolute;bottom:var(--spacings-XS);right:1.6rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{background-color:var(--components-select-chip-background);color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);padding:0 var(--spacings-XS);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) .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):after{line-height:var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:var(--spacings-XXS)}: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)}: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-filter) .lu-select-suffix{bottom:.4rem}: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:hidden;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:start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3rem}: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);margin:0;border-top:var(--commons-divider-width) solid var(--commons-divider-color);font-size:var(--sizes-S-fontSize);width:100%;text-align:left;text-decoration:underline}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"] }]
|
|
69
69
|
}], ctorParameters: function () { return [{ 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
74
|
}
|
|
75
|
-
LuQualificationSelectInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
76
|
-
LuQualificationSelectInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
77
|
-
LuQualificationSelectInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
75
|
+
LuQualificationSelectInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
76
|
+
LuQualificationSelectInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectInputModule, imports: [LuQualificationSelectInputComponent], exports: [LuQualificationSelectInputComponent] });
|
|
77
|
+
LuQualificationSelectInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectInputModule, imports: [LuQualificationSelectInputComponent] });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectInputModule, decorators: [{
|
|
79
79
|
type: NgModule,
|
|
80
80
|
args: [{
|
|
81
81
|
imports: [LuQualificationSelectInputComponent],
|
|
@@ -85,10 +85,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
85
85
|
|
|
86
86
|
class LuQualificationSelectModule {
|
|
87
87
|
}
|
|
88
|
-
LuQualificationSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
89
|
-
LuQualificationSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
90
|
-
LuQualificationSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
88
|
+
LuQualificationSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
89
|
+
LuQualificationSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectModule, imports: [LuQualificationSelectInputModule], exports: [LuQualificationSelectInputModule] });
|
|
90
|
+
LuQualificationSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectModule, imports: [LuQualificationSelectInputModule, LuQualificationSelectInputModule] });
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationSelectModule, decorators: [{
|
|
92
92
|
type: NgModule,
|
|
93
93
|
args: [{
|
|
94
94
|
imports: [LuQualificationSelectInputModule],
|
|
@@ -98,10 +98,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
98
98
|
|
|
99
99
|
class LuQualificationModule {
|
|
100
100
|
}
|
|
101
|
-
LuQualificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
102
|
-
LuQualificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
103
|
-
LuQualificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
101
|
+
LuQualificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
102
|
+
LuQualificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationModule, imports: [LuQualificationSelectModule], exports: [LuQualificationSelectModule] });
|
|
103
|
+
LuQualificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuQualificationModule, imports: [LuQualificationSelectModule, LuQualificationSelectModule] });
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", 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/src/lib/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/src/lib/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/src/lib/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/src/lib/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/src/lib/select/qualification-select.module.ts","../../../packages/ng/qualification/src/lib/qualification.module.ts","../../../packages/ng/qualification/src/public-api.ts","../../../packages/ng/qualification/src/lucca-front-ng-qualification.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\r\n\tfactory: () => luQualificationSelectInputTranslations,\r\n});\r\n\r\nexport interface ILuQualificationSelectInputLabel {\r\n\tqualifications: string;\r\n}\r\n\r\nexport const luQualificationSelectInputTranslations: ILuTranslation<ILuQualificationSelectInputLabel> = {\r\n\ten: {\r\n\t\tqualifications: 'qualifications',\r\n\t},\r\n\tfr: {\r\n\t\tqualifications: 'qualifications',\r\n\t},\r\n\tes: {\r\n\t\tqualifications: 'calificaciones',\r\n\t},\r\n};\r\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\r\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\r\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\r\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\r\nimport { ILuQualification } from '../../qualification.model';\r\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\r\n\r\n@Component({\r\n\tselector: 'lu-qualification-select',\r\n\ttemplateUrl: './qualification-select-input.component.html',\r\n\tstyleUrls: ['./qualification-select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuQualificationSelectInputComponent<\r\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\r\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\r\n\t>\r\n\textends ALuSelectInputComponent<D, P>\r\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\r\n{\r\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\r\n\r\n\t@Input() filters: string[];\r\n\r\n\tisSearching = false;\r\n\r\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\r\n\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n\r\n\tonIsSearchingChanged(isSearching: boolean) {\r\n\t\tthis.isSearching = isSearching;\r\n\t\tthis._changeDetectorRef.detectChanges();\r\n\t}\r\n\r\n\ttrackById(_: number, item: ILuQualification): number {\r\n\t\treturn item.id;\r\n\t}\r\n\r\n\tgroupByJobName(qualification: ILuQualification): string {\r\n\t\treturn qualification.job.name;\r\n\t}\r\n}\r\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectInputComponent],\r\n\texports: [LuQualificationSelectInputComponent],\r\n})\r\nexport class LuQualificationSelectInputModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectInputModule } from './input/index';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectInputModule],\r\n\texports: [LuQualificationSelectInputModule],\r\n})\r\nexport class LuQualificationSelectModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectModule],\r\n\texports: [LuQualificationSelectModule],\r\n})\r\nexport class LuQualificationModule {}\r\n","/*\r\n * Public API Surface of qualification\r\n */\r\n\r\nexport * from './lib/index';\r\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,CAAkB;QACnC,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;AAbxC,QAAA,IAAA,CAAA,IAAI,GAAwB,CAAC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,iBAAA,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/src/lib/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/src/lib/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/src/lib/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/src/lib/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/src/lib/select/qualification-select.module.ts","../../../packages/ng/qualification/src/lib/qualification.module.ts","../../../packages/ng/qualification/src/public-api.ts","../../../packages/ng/qualification/src/lucca-front-ng-qualification.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\r\n\tfactory: () => luQualificationSelectInputTranslations,\r\n});\r\n\r\nexport interface ILuQualificationSelectInputLabel {\r\n\tqualifications: string;\r\n}\r\n\r\nexport const luQualificationSelectInputTranslations: ILuTranslation<ILuQualificationSelectInputLabel> = {\r\n\ten: {\r\n\t\tqualifications: 'qualifications',\r\n\t},\r\n\tfr: {\r\n\t\tqualifications: 'qualifications',\r\n\t},\r\n\tes: {\r\n\t\tqualifications: 'calificaciones',\r\n\t},\r\n};\r\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\r\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\r\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\r\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\r\nimport { ILuQualification } from '../../qualification.model';\r\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\r\n\r\n@Component({\r\n\tselector: 'lu-qualification-select',\r\n\ttemplateUrl: './qualification-select-input.component.html',\r\n\tstyleUrls: ['./qualification-select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuQualificationSelectInputComponent<\r\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\r\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\r\n\t>\r\n\textends ALuSelectInputComponent<D, P>\r\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\r\n{\r\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\r\n\r\n\t@Input() filters: string[];\r\n\r\n\tisSearching = false;\r\n\r\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\r\n\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n\r\n\tonIsSearchingChanged(isSearching: boolean) {\r\n\t\tthis.isSearching = isSearching;\r\n\t\tthis._changeDetectorRef.detectChanges();\r\n\t}\r\n\r\n\ttrackById(_: number, item: ILuQualification): number {\r\n\t\treturn item.id;\r\n\t}\r\n\r\n\tgroupByJobName(qualification: ILuQualification): string {\r\n\t\treturn qualification.job.name;\r\n\t}\r\n}\r\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectInputComponent],\r\n\texports: [LuQualificationSelectInputComponent],\r\n})\r\nexport class LuQualificationSelectInputModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectInputModule } from './input/index';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectInputModule],\r\n\texports: [LuQualificationSelectInputModule],\r\n})\r\nexport class LuQualificationSelectModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectModule],\r\n\texports: [LuQualificationSelectModule],\r\n})\r\nexport class LuQualificationModule {}\r\n","/*\r\n * Public API Surface of qualification\r\n */\r\n\r\nexport * from './lib/index';\r\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,IAAi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,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -12,19 +12,19 @@ class LuSafeHtmlPipe {
|
|
|
12
12
|
return this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
LuSafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
16
|
-
LuSafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
15
|
+
LuSafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuSafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
16
|
+
LuSafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuSafeHtmlPipe, name: "luSafeHtml" });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuSafeHtmlPipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{ name: 'luSafeHtml' }]
|
|
20
20
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
21
21
|
|
|
22
22
|
class LuSafeContentModule {
|
|
23
23
|
}
|
|
24
|
-
LuSafeContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
25
|
-
LuSafeContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
26
|
-
LuSafeContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
24
|
+
LuSafeContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuSafeContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
25
|
+
LuSafeContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuSafeContentModule, declarations: [LuSafeHtmlPipe], imports: [CommonModule], exports: [LuSafeHtmlPipe] });
|
|
26
|
+
LuSafeContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuSafeContentModule, imports: [CommonModule] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuSafeContentModule, decorators: [{
|
|
28
28
|
type: NgModule,
|
|
29
29
|
args: [{
|
|
30
30
|
imports: [CommonModule],
|
|
@@ -50,9 +50,9 @@ class LuScrollDirective {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
LuScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
54
|
-
LuScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
53
|
+
LuScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
+
LuScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", 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 });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuScrollDirective, decorators: [{
|
|
56
56
|
type: Directive,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: '[luScroll]',
|
|
@@ -78,10 +78,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
|
|
|
78
78
|
|
|
79
79
|
class LuScrollModule {
|
|
80
80
|
}
|
|
81
|
-
LuScrollModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.
|
|
82
|
-
LuScrollModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
83
|
-
LuScrollModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.
|
|
81
|
+
LuScrollModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuScrollModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
82
|
+
LuScrollModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuScrollModule, imports: [LuScrollDirective], exports: [LuScrollDirective] });
|
|
83
|
+
LuScrollModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuScrollModule });
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuScrollModule, decorators: [{
|
|
85
85
|
type: NgModule,
|
|
86
86
|
args: [{
|
|
87
87
|
imports: [LuScrollDirective],
|