@lucca-front/ng 15.3.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a11y/index.d.ts +5 -5
- package/a11y/lib/index.d.ts +1 -1
- package/a11y/lib/skip-links/skip-links.component.d.ts +9 -9
- package/a11y/lib/skip-links/skip-links.translate.d.ts +16 -16
- package/a11y/public-api.d.ts +1 -1
- package/animations/index.d.ts +5 -5
- package/animations/lib/animation.factory.d.ts +6 -6
- package/animations/lib/fade.animation.d.ts +2 -2
- package/animations/lib/index.d.ts +4 -4
- package/animations/lib/scale.animation.d.ts +2 -2
- package/animations/lib/slide.animation.d.ts +2 -2
- package/animations/public-api.d.ts +1 -1
- package/api/index.d.ts +5 -5
- package/api/lib/api.model.d.ts +14 -14
- package/api/lib/api.module.d.ts +7 -7
- package/api/lib/index.d.ts +4 -4
- package/api/lib/select/api-select.module.d.ts +10 -10
- package/api/lib/select/feeder/api-feeder.component.d.ts +19 -19
- package/api/lib/select/feeder/api-feeder.model.d.ts +14 -14
- package/api/lib/select/feeder/api-feeder.module.d.ts +7 -7
- package/api/lib/select/feeder/index.d.ts +3 -3
- package/api/lib/select/index.d.ts +5 -5
- package/api/lib/select/input/api-select-input.component.d.ts +32 -32
- package/api/lib/select/input/api-select-input.module.d.ts +7 -7
- package/api/lib/select/input/index.d.ts +2 -2
- package/api/lib/select/pager/api-pager.component.d.ts +18 -18
- package/api/lib/select/pager/api-pager.model.d.ts +33 -33
- package/api/lib/select/pager/api-pager.module.d.ts +7 -7
- package/api/lib/select/pager/index.d.ts +3 -3
- package/api/lib/select/searcher/api-searcher.component.d.ts +39 -39
- package/api/lib/select/searcher/api-searcher.model.d.ts +34 -34
- package/api/lib/select/searcher/api-searcher.module.d.ts +7 -7
- package/api/lib/select/searcher/index.d.ts +3 -3
- package/api/lib/service/api-hybrid.service.d.ts +25 -25
- package/api/lib/service/api-service.model.d.ts +13 -13
- package/api/lib/service/api-v3.service.d.ts +26 -26
- package/api/lib/service/api-v4.service.d.ts +23 -23
- package/api/lib/service/index.d.ts +4 -4
- package/api/public-api.d.ts +1 -1
- package/core/index.d.ts +5 -5
- package/core/lib/date/date-adapter.class.d.ts +18 -18
- package/core/lib/date/date-adapter.interface.d.ts +17 -17
- package/core/lib/date/date-granularity.enum.d.ts +6 -6
- package/core/lib/date/index.d.ts +5 -5
- package/core/lib/date/native/index.d.ts +2 -2
- package/core/lib/date/native/native-date.adapter.d.ts +29 -29
- package/core/lib/date/native/native-date.option.d.ts +6 -6
- package/core/lib/date/string/index.d.ts +1 -1
- package/core/lib/date/string/string-date.adapter.d.ts +28 -28
- package/core/lib/event/index.d.ts +3 -3
- package/core/lib/event/on-close.subscriber.d.ts +6 -6
- package/core/lib/event/on-open.subscriber.d.ts +6 -6
- package/core/lib/event/on-scroll-bottom.subscriber.d.ts +6 -6
- package/core/lib/group/group.interface.d.ts +4 -4
- package/core/lib/group/index.d.ts +1 -1
- package/core/lib/id/id.generator.d.ts +1 -1
- package/core/lib/id/index.d.ts +1 -1
- package/core/lib/index.d.ts +6 -6
- package/core/lib/translate/index.d.ts +2 -2
- package/core/lib/translate/intl.model.d.ts +6 -6
- package/core/lib/translate/translation.model.d.ts +9 -9
- package/core/lib/tree/index.d.ts +1 -1
- package/core/lib/tree/tree.model.d.ts +5 -5
- package/core/public-api.d.ts +1 -1
- package/date/index.d.ts +5 -5
- package/date/lib/adapter/date-adapter.module.d.ts +7 -7
- package/date/lib/adapter/date-adapter.pipe.d.ts +10 -10
- package/date/lib/adapter/index.d.ts +2 -2
- package/date/lib/calendar/calendar-input.component.d.ts +49 -49
- package/date/lib/calendar/calendar-input.module.d.ts +7 -7
- package/date/lib/calendar/calendar-item.class.d.ts +34 -34
- package/date/lib/calendar/calendar-item.factory.d.ts +13 -13
- package/date/lib/calendar/calendar-item.interface.d.ts +9 -9
- package/date/lib/calendar/index.d.ts +2 -2
- package/date/lib/date.module.d.ts +11 -11
- package/date/lib/index.d.ts +6 -6
- package/date/lib/input/date-input.directive.d.ts +24 -24
- package/date/lib/input/date-input.module.d.ts +7 -7
- package/date/lib/input/date-input.translate.d.ts +12 -12
- package/date/lib/input/index.d.ts +3 -3
- package/date/lib/picker/date-picker.component.d.ts +29 -29
- package/date/lib/picker/date-picker.module.d.ts +7 -7
- package/date/lib/picker/index.d.ts +2 -2
- package/date/lib/select/date-select-input.component.d.ts +27 -27
- package/date/lib/select/date-select-input.module.d.ts +7 -7
- package/date/lib/select/date-select-input.translate.d.ts +12 -12
- package/date/lib/select/index.d.ts +3 -3
- package/date/public-api.d.ts +1 -1
- package/department/index.d.ts +5 -5
- package/department/lib/department.model.d.ts +4 -4
- package/department/lib/department.module.d.ts +7 -7
- package/department/lib/index.d.ts +4 -4
- package/department/lib/select/department-select.module.d.ts +8 -8
- package/department/lib/select/feeder/department-feeder.component.d.ts +19 -19
- package/department/lib/select/feeder/department-feeder.module.d.ts +7 -7
- package/department/lib/select/feeder/index.d.ts +2 -2
- package/department/lib/select/index.d.ts +3 -3
- package/department/lib/select/input/department-select-input.component.d.ts +23 -23
- package/department/lib/select/input/department-select-input.module.d.ts +7 -7
- package/department/lib/select/input/department-select-input.translate.d.ts +7 -7
- package/department/lib/select/input/index.d.ts +3 -3
- package/department/lib/service/department-service.model.d.ts +10 -10
- package/department/lib/service/department-v3.service.d.ts +24 -24
- package/department/lib/service/index.d.ts +2 -2
- package/department/public-api.d.ts +1 -1
- package/dropdown/index.d.ts +5 -5
- package/dropdown/lib/dropdown.module.d.ts +9 -9
- package/dropdown/lib/index.d.ts +4 -4
- package/dropdown/lib/item/dropdown-item.directive.d.ts +14 -14
- package/dropdown/lib/item/dropdown-item.model.d.ts +9 -9
- package/dropdown/lib/item/dropdown-item.module.d.ts +7 -7
- package/dropdown/lib/item/index.d.ts +3 -3
- package/dropdown/lib/panel/dropdown-panel.component.d.ts +40 -40
- package/dropdown/lib/panel/dropdown-panel.model.d.ts +2 -2
- package/dropdown/lib/panel/dropdown-panel.module.d.ts +8 -8
- package/dropdown/lib/panel/index.d.ts +3 -3
- package/dropdown/lib/trigger/dropdown-trigger.directive.d.ts +42 -42
- package/dropdown/lib/trigger/dropdown-trigger.module.d.ts +8 -8
- package/dropdown/lib/trigger/index.d.ts +2 -2
- package/dropdown/public-api.d.ts +1 -1
- package/esm2022/a11y/lib/index.mjs +2 -0
- package/esm2022/a11y/lib/skip-links/skip-links.component.mjs +27 -0
- package/esm2022/a11y/lib/skip-links/skip-links.translate.mjs +27 -0
- package/esm2022/a11y/lucca-front-ng-a11y.mjs +5 -0
- package/esm2022/a11y/public-api.mjs +5 -0
- package/esm2022/animations/lib/animation.factory.mjs +15 -0
- package/esm2022/animations/lib/fade.animation.mjs +8 -0
- package/esm2022/animations/lib/index.mjs +5 -0
- package/esm2022/animations/lib/scale.animation.mjs +126 -0
- package/esm2022/animations/lib/slide.animation.mjs +110 -0
- package/esm2022/animations/lucca-front-ng-animations.mjs +5 -0
- package/esm2022/animations/public-api.mjs +5 -0
- package/esm2022/api/lib/api.model.mjs +2 -0
- package/esm2022/api/lib/api.module.mjs +17 -0
- package/esm2022/api/lib/index.mjs +5 -0
- package/esm2022/api/lib/select/api-select.module.mjs +20 -0
- package/esm2022/api/lib/select/feeder/api-feeder.component.mjs +94 -0
- package/esm2022/api/lib/select/feeder/api-feeder.model.mjs +11 -0
- package/esm2022/api/lib/select/feeder/api-feeder.module.mjs +17 -0
- package/esm2022/api/lib/select/feeder/index.mjs +4 -0
- package/esm2022/api/lib/select/index.mjs +6 -0
- package/esm2022/api/lib/select/input/api-select-input.component.mjs +53 -0
- package/esm2022/api/lib/select/input/api-select-input.module.mjs +17 -0
- package/esm2022/api/lib/select/input/index.mjs +3 -0
- package/esm2022/api/lib/select/pager/api-pager.component.mjs +100 -0
- package/esm2022/api/lib/select/pager/api-pager.model.mjs +56 -0
- package/esm2022/api/lib/select/pager/api-pager.module.mjs +17 -0
- package/esm2022/api/lib/select/pager/index.mjs +4 -0
- package/esm2022/api/lib/select/searcher/api-searcher.component.mjs +237 -0
- package/esm2022/api/lib/select/searcher/api-searcher.model.mjs +67 -0
- package/esm2022/api/lib/select/searcher/api-searcher.module.mjs +17 -0
- package/esm2022/api/lib/select/searcher/index.mjs +4 -0
- package/esm2022/api/lib/service/api-hybrid.service.mjs +66 -0
- package/esm2022/api/lib/service/api-service.model.mjs +3 -0
- package/esm2022/api/lib/service/api-v3.service.mjs +73 -0
- package/esm2022/api/lib/service/api-v4.service.mjs +72 -0
- package/esm2022/api/lib/service/index.mjs +5 -0
- package/esm2022/api/lucca-front-ng-api.mjs +5 -0
- package/esm2022/api/public-api.mjs +5 -0
- package/esm2022/core/lib/date/date-adapter.class.mjs +54 -0
- package/esm2022/core/lib/date/date-adapter.interface.mjs +2 -0
- package/esm2022/core/lib/date/date-granularity.enum.mjs +8 -0
- package/esm2022/core/lib/date/index.mjs +6 -0
- package/esm2022/core/lib/date/native/index.mjs +3 -0
- package/esm2022/core/lib/date/native/native-date.adapter.mjs +233 -0
- package/esm2022/core/lib/date/native/native-date.option.mjs +6 -0
- package/esm2022/core/lib/date/string/index.mjs +2 -0
- package/esm2022/core/lib/date/string/string-date.adapter.mjs +84 -0
- package/esm2022/core/lib/event/index.mjs +4 -0
- package/esm2022/core/lib/event/on-close.subscriber.mjs +3 -0
- package/esm2022/core/lib/event/on-open.subscriber.mjs +3 -0
- package/esm2022/core/lib/event/on-scroll-bottom.subscriber.mjs +3 -0
- package/esm2022/core/lib/group/group.interface.mjs +2 -0
- package/esm2022/core/lib/group/index.mjs +2 -0
- package/esm2022/core/lib/id/id.generator.mjs +9 -0
- package/esm2022/core/lib/id/index.mjs +2 -0
- package/esm2022/core/lib/index.mjs +7 -0
- package/esm2022/core/lib/translate/index.mjs +3 -0
- package/esm2022/core/lib/translate/intl.model.mjs +17 -0
- package/esm2022/core/lib/translate/translation.model.mjs +2 -0
- package/esm2022/core/lib/tree/index.mjs +2 -0
- package/esm2022/core/lib/tree/tree.model.mjs +2 -0
- package/esm2022/core/lucca-front-ng-core.mjs +5 -0
- package/esm2022/core/public-api.mjs +5 -0
- package/esm2022/date/lib/adapter/date-adapter.module.mjs +17 -0
- package/esm2022/date/lib/adapter/date-adapter.pipe.mjs +26 -0
- package/esm2022/date/lib/adapter/index.mjs +3 -0
- package/esm2022/date/lib/calendar/calendar-input.component.mjs +333 -0
- package/esm2022/date/lib/calendar/calendar-input.module.mjs +17 -0
- package/esm2022/date/lib/calendar/calendar-item.class.mjs +43 -0
- package/esm2022/date/lib/calendar/calendar-item.factory.mjs +38 -0
- package/esm2022/date/lib/calendar/calendar-item.interface.mjs +2 -0
- package/esm2022/date/lib/calendar/index.mjs +3 -0
- package/esm2022/date/lib/date.module.mjs +21 -0
- package/esm2022/date/lib/index.mjs +7 -0
- package/esm2022/date/lib/input/date-input.directive.mjs +138 -0
- package/esm2022/date/lib/input/date-input.module.mjs +17 -0
- package/esm2022/date/lib/input/date-input.translate.mjs +39 -0
- package/esm2022/date/lib/input/index.mjs +4 -0
- package/esm2022/date/lib/picker/date-picker.component.mjs +110 -0
- package/esm2022/date/lib/picker/date-picker.module.mjs +17 -0
- package/esm2022/date/lib/picker/index.mjs +3 -0
- package/esm2022/date/lib/select/date-select-input.component.mjs +101 -0
- package/esm2022/date/lib/select/date-select-input.module.mjs +17 -0
- package/esm2022/date/lib/select/date-select-input.translate.mjs +31 -0
- package/esm2022/date/lib/select/index.mjs +4 -0
- package/esm2022/date/lucca-front-ng-date.mjs +5 -0
- package/esm2022/date/public-api.mjs +5 -0
- package/esm2022/department/lib/department.model.mjs +2 -0
- package/esm2022/department/lib/department.module.mjs +17 -0
- package/esm2022/department/lib/index.mjs +5 -0
- package/esm2022/department/lib/select/department-select.module.mjs +18 -0
- package/esm2022/department/lib/select/feeder/department-feeder.component.mjs +83 -0
- package/esm2022/department/lib/select/feeder/department-feeder.module.mjs +17 -0
- package/esm2022/department/lib/select/feeder/index.mjs +3 -0
- package/esm2022/department/lib/select/index.mjs +4 -0
- package/esm2022/department/lib/select/input/department-select-input.component.mjs +68 -0
- package/esm2022/department/lib/select/input/department-select-input.module.mjs +17 -0
- package/esm2022/department/lib/select/input/department-select-input.translate.mjs +16 -0
- package/esm2022/department/lib/select/input/index.mjs +4 -0
- package/esm2022/department/lib/service/department-service.model.mjs +4 -0
- package/esm2022/department/lib/service/department-v3.service.mjs +44 -0
- package/esm2022/department/lib/service/index.mjs +3 -0
- package/esm2022/department/lucca-front-ng-department.mjs +5 -0
- package/esm2022/department/public-api.mjs +5 -0
- package/esm2022/dropdown/lib/dropdown.module.mjs +19 -0
- package/esm2022/dropdown/lib/index.mjs +5 -0
- package/esm2022/dropdown/lib/item/dropdown-item.directive.mjs +56 -0
- package/esm2022/dropdown/lib/item/dropdown-item.model.mjs +3 -0
- package/esm2022/dropdown/lib/item/dropdown-item.module.mjs +18 -0
- package/esm2022/dropdown/lib/item/index.mjs +4 -0
- package/esm2022/dropdown/lib/panel/dropdown-panel.component.mjs +112 -0
- package/esm2022/dropdown/lib/panel/dropdown-panel.model.mjs +2 -0
- package/esm2022/dropdown/lib/panel/dropdown-panel.module.mjs +19 -0
- package/esm2022/dropdown/lib/panel/index.mjs +4 -0
- package/esm2022/dropdown/lib/trigger/dropdown-trigger.directive.mjs +122 -0
- package/esm2022/dropdown/lib/trigger/dropdown-trigger.module.mjs +19 -0
- package/esm2022/dropdown/lib/trigger/index.mjs +3 -0
- package/esm2022/dropdown/lucca-front-ng-dropdown.mjs +5 -0
- package/esm2022/dropdown/public-api.mjs +5 -0
- package/esm2022/establishment/lib/establishment.model.mjs +2 -0
- package/esm2022/establishment/lib/establishment.module.mjs +17 -0
- package/esm2022/establishment/lib/index.mjs +5 -0
- package/esm2022/establishment/lib/select/establishment-select.module.mjs +21 -0
- package/esm2022/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +48 -0
- package/esm2022/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +17 -0
- package/esm2022/establishment/lib/select/for-legal-units/index.mjs +3 -0
- package/esm2022/establishment/lib/select/index.mjs +7 -0
- package/esm2022/establishment/lib/select/input/establishment-select-input.component.mjs +127 -0
- package/esm2022/establishment/lib/select/input/establishment-select-input.module.mjs +17 -0
- package/esm2022/establishment/lib/select/input/establishment-select-input.translate.mjs +16 -0
- package/esm2022/establishment/lib/select/input/index.mjs +4 -0
- package/esm2022/establishment/lib/select/legal-unit-selector/index.mjs +3 -0
- package/esm2022/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +105 -0
- package/esm2022/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +17 -0
- package/esm2022/establishment/lib/select/searcher/establishment-searcher.component.mjs +148 -0
- package/esm2022/establishment/lib/select/searcher/establishment-searcher.module.mjs +17 -0
- package/esm2022/establishment/lib/select/searcher/index.mjs +3 -0
- package/esm2022/establishment/lib/select/select-all/establishment-select-all.component.mjs +96 -0
- package/esm2022/establishment/lib/select/select-all/establishment-select-all.module.mjs +17 -0
- package/esm2022/establishment/lib/select/select-all/establishment-select-all.translate.mjs +23 -0
- package/esm2022/establishment/lib/select/select-all/index.mjs +4 -0
- package/esm2022/establishment/lib/service/establishment-service.model.mjs +4 -0
- package/esm2022/establishment/lib/service/establishment.service.mjs +38 -0
- package/esm2022/establishment/lib/service/index.mjs +5 -0
- package/esm2022/establishment/lib/service/legal-unit-service.model.mjs +4 -0
- package/esm2022/establishment/lib/service/legal-unit.service.mjs +38 -0
- package/esm2022/establishment/lucca-front-ng-establishment.mjs +5 -0
- package/esm2022/establishment/public-api.mjs +5 -0
- package/esm2022/formly/lib/formly.config.mjs +79 -0
- package/esm2022/formly/lib/formly.module.mjs +109 -0
- package/esm2022/formly/lib/formly.utils.mjs +10 -0
- package/esm2022/formly/lib/index.mjs +5 -0
- package/esm2022/formly/lib/types/api.mjs +37 -0
- package/esm2022/formly/lib/types/checkbox.mjs +22 -0
- package/esm2022/formly/lib/types/date.mjs +22 -0
- package/esm2022/formly/lib/types/department.mjs +22 -0
- package/esm2022/formly/lib/types/establishment.mjs +22 -0
- package/esm2022/formly/lib/types/index.mjs +12 -0
- package/esm2022/formly/lib/types/input.mjs +26 -0
- package/esm2022/formly/lib/types/qualification.mjs +22 -0
- package/esm2022/formly/lib/types/radios.mjs +25 -0
- package/esm2022/formly/lib/types/select.mjs +28 -0
- package/esm2022/formly/lib/types/textarea.mjs +22 -0
- package/esm2022/formly/lib/types/user.mjs +22 -0
- package/esm2022/formly/lib/wrappers/checkbox-layout.mjs +30 -0
- package/esm2022/formly/lib/wrappers/error.mjs +57 -0
- package/esm2022/formly/lib/wrappers/helper.mjs +19 -0
- package/esm2022/formly/lib/wrappers/icon.mjs +19 -0
- package/esm2022/formly/lib/wrappers/index.mjs +8 -0
- package/esm2022/formly/lib/wrappers/radiosfield-layout.mjs +30 -0
- package/esm2022/formly/lib/wrappers/suffix.mjs +19 -0
- package/esm2022/formly/lib/wrappers/textfield-layout.mjs +39 -0
- package/esm2022/formly/lucca-front-ng-formly.mjs +5 -0
- package/esm2022/formly/public-api.mjs +5 -0
- package/esm2022/input/lib/clearer/clearer.component.mjs +36 -0
- package/esm2022/input/lib/clearer/clearer.model.mjs +3 -0
- package/esm2022/input/lib/clearer/clearer.module.mjs +17 -0
- package/esm2022/input/lib/clearer/index.mjs +4 -0
- package/esm2022/input/lib/displayer/index.mjs +4 -0
- package/esm2022/input/lib/displayer/input-displayer.directive.mjs +60 -0
- package/esm2022/input/lib/displayer/input-displayer.model.mjs +6 -0
- package/esm2022/input/lib/displayer/input-displayer.module.mjs +17 -0
- package/esm2022/input/lib/index.mjs +6 -0
- package/esm2022/input/lib/input.directive.mjs +43 -0
- package/esm2022/input/lib/input.model.mjs +54 -0
- package/esm2022/input/lib/input.module.mjs +19 -0
- package/esm2022/input/lucca-front-ng-input.mjs +5 -0
- package/esm2022/input/public-api.mjs +5 -0
- package/esm2022/lucca-front-ng.mjs +5 -0
- package/esm2022/material/lib/index.mjs +2 -0
- package/esm2022/material/lib/module.mjs +13 -0
- package/esm2022/material/lucca-front-ng-material.mjs +5 -0
- package/esm2022/material/public-api.mjs +5 -0
- package/esm2022/modal/lib/index.mjs +12 -0
- package/esm2022/modal/lib/modal-config.default.mjs +17 -0
- package/esm2022/modal/lib/modal-config.model.mjs +5 -0
- package/esm2022/modal/lib/modal-panel.component.mjs +125 -0
- package/esm2022/modal/lib/modal-ref.factory.mjs +61 -0
- package/esm2022/modal/lib/modal-ref.model.mjs +11 -0
- package/esm2022/modal/lib/modal.model.mjs +2 -0
- package/esm2022/modal/lib/modal.module.mjs +27 -0
- package/esm2022/modal/lib/modal.service.mjs +22 -0
- package/esm2022/modal/lib/modal.token.mjs +9 -0
- package/esm2022/modal/lib/modal.translate.mjs +22 -0
- package/esm2022/modal/lib/modal.utils.mjs +9 -0
- package/esm2022/modal/lucca-front-ng-modal.mjs +5 -0
- package/esm2022/modal/public-api.mjs +5 -0
- package/esm2022/number/lib/index.mjs +3 -0
- package/esm2022/number/lib/number.module.mjs +17 -0
- package/esm2022/number/lib/number.pipe.mjs +37 -0
- package/esm2022/number/lucca-front-ng-number.mjs +5 -0
- package/esm2022/number/public-api.mjs +5 -0
- package/esm2022/option/lib/index.mjs +8 -0
- package/esm2022/option/lib/item/index.mjs +8 -0
- package/esm2022/option/lib/item/option-item.component.mjs +77 -0
- package/esm2022/option/lib/item/option-item.model.mjs +3 -0
- package/esm2022/option/lib/item/option-item.module.mjs +17 -0
- package/esm2022/option/lib/item/tree-option-item.component.mjs +137 -0
- package/esm2022/option/lib/item/tree-option-item.model.mjs +7 -0
- package/esm2022/option/lib/item/tree-option-item.module.mjs +17 -0
- package/esm2022/option/lib/item/tree-option-item.translate.mjs +15 -0
- package/esm2022/option/lib/operator/feeder/index.mjs +5 -0
- package/esm2022/option/lib/operator/feeder/option-feeder.component.mjs +34 -0
- package/esm2022/option/lib/operator/feeder/option-feeder.module.mjs +17 -0
- package/esm2022/option/lib/operator/feeder/tree-option-feeder.component.mjs +34 -0
- package/esm2022/option/lib/operator/feeder/tree-option-feeder.module.mjs +17 -0
- package/esm2022/option/lib/operator/for-groups/for-groups.directive.mjs +90 -0
- package/esm2022/option/lib/operator/for-groups/for-groups.module.mjs +17 -0
- package/esm2022/option/lib/operator/for-groups/index.mjs +3 -0
- package/esm2022/option/lib/operator/for-options/for-options.directive.mjs +51 -0
- package/esm2022/option/lib/operator/for-options/for-options.module.mjs +17 -0
- package/esm2022/option/lib/operator/for-options/for-tree-options.directive.mjs +30 -0
- package/esm2022/option/lib/operator/for-options/for-tree-options.module.mjs +17 -0
- package/esm2022/option/lib/operator/for-options/index.mjs +5 -0
- package/esm2022/option/lib/operator/index.mjs +10 -0
- package/esm2022/option/lib/operator/option-operator.model.mjs +3 -0
- package/esm2022/option/lib/operator/option-operator.module.mjs +21 -0
- package/esm2022/option/lib/operator/pager/index.mjs +5 -0
- package/esm2022/option/lib/operator/pager/option-pager.component.mjs +54 -0
- package/esm2022/option/lib/operator/pager/option-pager.module.mjs +17 -0
- package/esm2022/option/lib/operator/pager/tree-option-pager.component.mjs +72 -0
- package/esm2022/option/lib/operator/pager/tree-option-pager.module.mjs +17 -0
- package/esm2022/option/lib/operator/searcher/index.mjs +5 -0
- package/esm2022/option/lib/operator/searcher/option-searcher.component.mjs +67 -0
- package/esm2022/option/lib/operator/searcher/option-searcher.module.mjs +17 -0
- package/esm2022/option/lib/operator/searcher/tree-option-searcher.component.mjs +84 -0
- package/esm2022/option/lib/operator/searcher/tree-option-searcher.module.mjs +17 -0
- package/esm2022/option/lib/operator/tree-option-operator.model.mjs +4 -0
- package/esm2022/option/lib/operator/tree-option-operator.module.mjs +20 -0
- package/esm2022/option/lib/option.module.mjs +64 -0
- package/esm2022/option/lib/picker/index.mjs +9 -0
- package/esm2022/option/lib/picker/option-picker-advanced.component.mjs +152 -0
- package/esm2022/option/lib/picker/option-picker.component.mjs +316 -0
- package/esm2022/option/lib/picker/option-picker.model.mjs +69 -0
- package/esm2022/option/lib/picker/option-picker.module.mjs +19 -0
- package/esm2022/option/lib/picker/tree-option-picker-advanced.component.mjs +142 -0
- package/esm2022/option/lib/picker/tree-option-picker.component.mjs +171 -0
- package/esm2022/option/lib/picker/tree-option-picker.model.mjs +4 -0
- package/esm2022/option/lib/picker/tree-option-picker.module.mjs +22 -0
- package/esm2022/option/lib/placeholder/index.mjs +4 -0
- package/esm2022/option/lib/placeholder/option-placeholder.component.mjs +24 -0
- package/esm2022/option/lib/placeholder/option-placeholder.module.mjs +17 -0
- package/esm2022/option/lib/placeholder/option-placeholder.translate.mjs +19 -0
- package/esm2022/option/lib/selector/all/index.mjs +6 -0
- package/esm2022/option/lib/selector/all/select-all.component.mjs +62 -0
- package/esm2022/option/lib/selector/all/select-all.module.mjs +17 -0
- package/esm2022/option/lib/selector/all/select-all.translate.mjs +27 -0
- package/esm2022/option/lib/selector/all/tree-select-all.component.mjs +65 -0
- package/esm2022/option/lib/selector/all/tree-select-all.module.mjs +17 -0
- package/esm2022/option/lib/selector/index.mjs +6 -0
- package/esm2022/option/lib/selector/option-selector.model.mjs +3 -0
- package/esm2022/option/lib/selector/option-selector.module.mjs +17 -0
- package/esm2022/option/lib/selector/tree-option-selector.model.mjs +4 -0
- package/esm2022/option/lib/selector/tree-option-selector.module.mjs +17 -0
- package/esm2022/option/lib/tree-option.module.mjs +20 -0
- package/esm2022/option/lucca-front-ng-option.mjs +5 -0
- package/esm2022/option/public-api.mjs +5 -0
- package/esm2022/picker/lib/index.mjs +2 -0
- package/esm2022/picker/lib/input-picker.model.mjs +4 -0
- package/esm2022/picker/lucca-front-ng-picker.mjs +5 -0
- package/esm2022/picker/public-api.mjs +5 -0
- package/esm2022/popover/lib/animation/index.mjs +2 -0
- package/esm2022/popover/lib/animation/popover.animation.mjs +16 -0
- package/esm2022/popover/lib/index.mjs +6 -0
- package/esm2022/popover/lib/panel/index.mjs +4 -0
- package/esm2022/popover/lib/panel/popover-panel.component.mjs +127 -0
- package/esm2022/popover/lib/panel/popover-panel.model.mjs +120 -0
- package/esm2022/popover/lib/panel/popover-panel.module.mjs +17 -0
- package/esm2022/popover/lib/popover.module.mjs +19 -0
- package/esm2022/popover/lib/target/index.mjs +4 -0
- package/esm2022/popover/lib/target/popover-target.directive.mjs +54 -0
- package/esm2022/popover/lib/target/popover-target.model.mjs +65 -0
- package/esm2022/popover/lib/target/popover-target.module.mjs +17 -0
- package/esm2022/popover/lib/trigger/index.mjs +4 -0
- package/esm2022/popover/lib/trigger/popover-trigger.directive.mjs +187 -0
- package/esm2022/popover/lib/trigger/popover-trigger.model.mjs +469 -0
- package/esm2022/popover/lib/trigger/popover-trigger.module.mjs +18 -0
- package/esm2022/popover/lucca-front-ng-popover.mjs +5 -0
- package/esm2022/popover/public-api.mjs +5 -0
- package/esm2022/popup/lib/index.mjs +8 -0
- package/esm2022/popup/lib/popup-config.default.mjs +9 -0
- package/esm2022/popup/lib/popup-config.model.mjs +2 -0
- package/esm2022/popup/lib/popup-ref.factory.mjs +29 -0
- package/esm2022/popup/lib/popup-ref.model.mjs +139 -0
- package/esm2022/popup/lib/popup.module.mjs +22 -0
- package/esm2022/popup/lib/popup.service.mjs +22 -0
- package/esm2022/popup/lib/popup.token.mjs +8 -0
- package/esm2022/popup/lucca-front-ng-popup.mjs +5 -0
- package/esm2022/popup/public-api.mjs +5 -0
- package/esm2022/public_api.mjs +2 -0
- package/esm2022/qualification/lib/index.mjs +4 -0
- package/esm2022/qualification/lib/qualification.model.mjs +2 -0
- package/esm2022/qualification/lib/qualification.module.mjs +17 -0
- package/esm2022/qualification/lib/select/index.mjs +3 -0
- package/esm2022/qualification/lib/select/input/index.mjs +4 -0
- package/esm2022/qualification/lib/select/input/qualification-select-input.component.mjs +58 -0
- package/esm2022/qualification/lib/select/input/qualification-select-input.module.mjs +17 -0
- package/esm2022/qualification/lib/select/input/qualification-select-input.translate.mjs +16 -0
- package/esm2022/qualification/lib/select/qualification-select.module.mjs +17 -0
- package/esm2022/qualification/lucca-front-ng-qualification.mjs +5 -0
- package/esm2022/qualification/public-api.mjs +5 -0
- package/esm2022/safe-content/lib/index.mjs +3 -0
- package/esm2022/safe-content/lib/safe-content.module.mjs +20 -0
- package/esm2022/safe-content/lib/safe-html.pipe.mjs +20 -0
- package/esm2022/safe-content/lucca-front-ng-safe-content.mjs +5 -0
- package/esm2022/safe-content/public-api.mjs +5 -0
- package/esm2022/scroll/lib/index.mjs +4 -0
- package/esm2022/scroll/lib/scroll.directive.mjs +78 -0
- package/esm2022/scroll/lib/scroll.model.mjs +2 -0
- package/esm2022/scroll/lib/scroll.module.mjs +17 -0
- package/esm2022/scroll/lucca-front-ng-scroll.mjs +5 -0
- package/esm2022/scroll/public-api.mjs +5 -0
- package/esm2022/select/lib/index.mjs +3 -0
- package/esm2022/select/lib/input/index.mjs +4 -0
- package/esm2022/select/lib/input/select-input.component.mjs +249 -0
- package/esm2022/select/lib/input/select-input.model.mjs +179 -0
- package/esm2022/select/lib/input/select-input.module.mjs +17 -0
- package/esm2022/select/lib/select.module.mjs +17 -0
- package/esm2022/select/lucca-front-ng-select.mjs +5 -0
- package/esm2022/select/public-api.mjs +5 -0
- package/esm2022/sidepanel/lib/index.mjs +4 -0
- package/esm2022/sidepanel/lib/sidepanel.model.mjs +32 -0
- package/esm2022/sidepanel/lib/sidepanel.module.mjs +21 -0
- package/esm2022/sidepanel/lib/sidepanel.service.mjs +26 -0
- package/esm2022/sidepanel/lucca-front-ng-sidepanel.mjs +5 -0
- package/esm2022/sidepanel/public-api.mjs +5 -0
- package/esm2022/simple-select/api/lib/api-v3.directive.mjs +58 -0
- package/esm2022/simple-select/api/lib/api-v4.directive.mjs +51 -0
- package/esm2022/simple-select/api/lib/api.directive.mjs +41 -0
- package/esm2022/simple-select/api/lucca-front-ng-simple-select-api.mjs +5 -0
- package/esm2022/simple-select/api/public-api.mjs +4 -0
- package/esm2022/simple-select/lib/index.mjs +5 -0
- package/esm2022/simple-select/lib/input/index.mjs +2 -0
- package/esm2022/simple-select/lib/input/panel-ref.factory.mjs +91 -0
- package/esm2022/simple-select/lib/input/select-input.component.mjs +226 -0
- package/esm2022/simple-select/lib/input/select-input.models.mjs +60 -0
- package/esm2022/simple-select/lib/option/default-option.component.mjs +22 -0
- package/esm2022/simple-select/lib/option/disabled.directive.mjs +27 -0
- package/esm2022/simple-select/lib/option/displayer.directive.mjs +27 -0
- package/esm2022/simple-select/lib/option/index.mjs +6 -0
- package/esm2022/simple-select/lib/option/option-outlet.directive.mjs +71 -0
- package/esm2022/simple-select/lib/option/option.component.mjs +78 -0
- package/esm2022/simple-select/lib/option/option.directive.mjs +27 -0
- package/esm2022/simple-select/lib/option/option.token.mjs +22 -0
- package/esm2022/simple-select/lib/panel/index.mjs +3 -0
- package/esm2022/simple-select/lib/panel/panel.component.mjs +95 -0
- package/esm2022/simple-select/lib/panel/panel.models.mjs +23 -0
- package/esm2022/simple-select/lib/select.model.mjs +6 -0
- package/esm2022/simple-select/lib/select.translate.mjs +37 -0
- package/esm2022/simple-select/lucca-front-ng-simple-select.mjs +5 -0
- package/esm2022/simple-select/public-api.mjs +5 -0
- package/esm2022/title/lib/index.mjs +6 -0
- package/esm2022/title/lib/title-translate.service.mjs +3 -0
- package/esm2022/title/lib/title.model.mjs +2 -0
- package/esm2022/title/lib/title.module.mjs +21 -0
- package/esm2022/title/lib/title.service.mjs +56 -0
- package/esm2022/title/lib/title.strategy.mjs +61 -0
- package/esm2022/title/lucca-front-ng-title.mjs +5 -0
- package/esm2022/title/public-api.mjs +2 -0
- package/esm2022/toast/lucca-front-ng-toast.mjs +5 -0
- package/esm2022/toast/public-api.mjs +9 -0
- package/esm2022/toast/toasts.component.mjs +60 -0
- package/esm2022/toast/toasts.model.mjs +2 -0
- package/esm2022/toast/toasts.module.mjs +17 -0
- package/esm2022/toast/toasts.service.mjs +38 -0
- package/esm2022/toast/toasts.translate.mjs +16 -0
- package/esm2022/tooltip/lib/animation/index.mjs +2 -0
- package/esm2022/tooltip/lib/animation/tooltip.animation.mjs +16 -0
- package/esm2022/tooltip/lib/index.mjs +5 -0
- package/esm2022/tooltip/lib/panel/index.mjs +3 -0
- package/esm2022/tooltip/lib/panel/tooltip-panel.component.mjs +60 -0
- package/esm2022/tooltip/lib/panel/tooltip-panel.module.mjs +17 -0
- package/esm2022/tooltip/lib/tooltip.module.mjs +18 -0
- package/esm2022/tooltip/lib/trigger/index.mjs +3 -0
- package/esm2022/tooltip/lib/trigger/tooltip-trigger.directive.mjs +182 -0
- package/esm2022/tooltip/lib/trigger/tooltip-trigger.module.mjs +18 -0
- package/esm2022/tooltip/lucca-front-ng-tooltip.mjs +5 -0
- package/esm2022/tooltip/public-api.mjs +5 -0
- package/esm2022/user/lib/display/display-format.model.mjs +25 -0
- package/esm2022/user/lib/display/index.mjs +4 -0
- package/esm2022/user/lib/display/user-display.module.mjs +18 -0
- package/esm2022/user/lib/display/user-display.pipe.mjs +73 -0
- package/esm2022/user/lib/index.mjs +8 -0
- package/esm2022/user/lib/picture/index.mjs +3 -0
- package/esm2022/user/lib/picture/user-picture.component.mjs +69 -0
- package/esm2022/user/lib/picture/user-picture.module.mjs +20 -0
- package/esm2022/user/lib/select/homonyms/index.mjs +4 -0
- package/esm2022/user/lib/select/homonyms/user-homonyms.component.mjs +73 -0
- package/esm2022/user/lib/select/homonyms/user-homonyms.module.mjs +17 -0
- package/esm2022/user/lib/select/homonyms/user-homonyms.service.mjs +54 -0
- package/esm2022/user/lib/select/index.mjs +6 -0
- package/esm2022/user/lib/select/input/index.mjs +4 -0
- package/esm2022/user/lib/select/input/user-select-input.component.mjs +87 -0
- package/esm2022/user/lib/select/input/user-select-input.module.mjs +17 -0
- package/esm2022/user/lib/select/input/user-select-input.translate.mjs +19 -0
- package/esm2022/user/lib/select/me/index.mjs +3 -0
- package/esm2022/user/lib/select/me/me-option.directive.mjs +124 -0
- package/esm2022/user/lib/select/me/me-option.module.mjs +17 -0
- package/esm2022/user/lib/select/searcher/index.mjs +4 -0
- package/esm2022/user/lib/select/searcher/user-searcher.component.mjs +188 -0
- package/esm2022/user/lib/select/searcher/user-searcher.module.mjs +17 -0
- package/esm2022/user/lib/select/searcher/user-searcher.translate.mjs +16 -0
- package/esm2022/user/lib/select/user-select.module.mjs +20 -0
- package/esm2022/user/lib/service/index.mjs +3 -0
- package/esm2022/user/lib/service/user-service.model.mjs +4 -0
- package/esm2022/user/lib/service/user-v3.service.mjs +52 -0
- package/esm2022/user/lib/tile/index.mjs +3 -0
- package/esm2022/user/lib/tile/user-tile.component.mjs +68 -0
- package/esm2022/user/lib/tile/user-tile.module.mjs +21 -0
- package/esm2022/user/lib/user.model.mjs +2 -0
- package/esm2022/user/lib/user.module.mjs +20 -0
- package/esm2022/user/lucca-front-ng-user.mjs +5 -0
- package/esm2022/user/public-api.mjs +5 -0
- package/establishment/index.d.ts +5 -5
- package/establishment/lib/establishment.model.d.ts +9 -9
- package/establishment/lib/establishment.module.d.ts +7 -7
- package/establishment/lib/index.d.ts +4 -4
- package/establishment/lib/select/establishment-select.module.d.ts +11 -11
- package/establishment/lib/select/for-legal-units/for-legal-units.directive.d.ts +14 -14
- package/establishment/lib/select/for-legal-units/for-legal-units.module.d.ts +7 -7
- package/establishment/lib/select/for-legal-units/index.d.ts +2 -2
- package/establishment/lib/select/index.d.ts +6 -6
- package/establishment/lib/select/input/establishment-select-input.component.d.ts +32 -32
- package/establishment/lib/select/input/establishment-select-input.module.d.ts +7 -7
- package/establishment/lib/select/input/establishment-select-input.translate.d.ts +7 -7
- package/establishment/lib/select/input/index.d.ts +3 -3
- package/establishment/lib/select/legal-unit-selector/index.d.ts +2 -2
- package/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.d.ts +24 -24
- package/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.d.ts +7 -7
- package/establishment/lib/select/searcher/establishment-searcher.component.d.ts +33 -33
- package/establishment/lib/select/searcher/establishment-searcher.module.d.ts +7 -7
- package/establishment/lib/select/searcher/index.d.ts +2 -2
- package/establishment/lib/select/select-all/establishment-select-all.component.d.ts +19 -19
- package/establishment/lib/select/select-all/establishment-select-all.module.d.ts +7 -7
- package/establishment/lib/select/select-all/establishment-select-all.translate.d.ts +3 -3
- package/establishment/lib/select/select-all/index.d.ts +3 -3
- package/establishment/lib/service/establishment-service.model.d.ts +5 -5
- package/establishment/lib/service/establishment.service.d.ts +17 -17
- package/establishment/lib/service/index.d.ts +4 -4
- package/establishment/lib/service/legal-unit-service.model.d.ts +5 -5
- package/establishment/lib/service/legal-unit.service.d.ts +17 -17
- package/establishment/public-api.d.ts +1 -1
- package/fesm2022/lucca-front-ng-a11y.mjs +62 -0
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-animations.mjs +264 -0
- package/fesm2022/lucca-front-ng-api.mjs +870 -0
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-core.mjs +419 -0
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-date.mjs +903 -0
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-department.mjs +263 -0
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-dropdown.mjs +350 -0
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-establishment.mjs +701 -0
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-formly.mjs +577 -0
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-input.mjs +243 -0
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-material.mjs +23 -0
- package/fesm2022/lucca-front-ng-material.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-modal.mjs +292 -0
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-number.mjs +60 -0
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-option.mjs +2000 -0
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-picker.mjs +15 -0
- package/fesm2022/lucca-front-ng-popover.mjs +1087 -0
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-popup.mjs +223 -0
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-qualification.mjs +121 -0
- package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-safe-content.mjs +46 -0
- package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-scroll.mjs +101 -0
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-select.mjs +462 -0
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-sidepanel.mjs +77 -0
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-simple-select-api.mjs +145 -0
- package/fesm2022/lucca-front-ng-simple-select-api.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-simple-select.mjs +761 -0
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-title.mjs +132 -0
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-toast.mjs +131 -0
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-tooltip.mjs +301 -0
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-user.mjs +917 -0
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -0
- package/fesm2022/lucca-front-ng.mjs +6 -0
- package/formly/index.d.ts +5 -5
- package/formly/lib/formly.config.d.ts +2 -2
- package/formly/lib/formly.module.d.ts +39 -39
- package/formly/lib/formly.utils.d.ts +2 -0
- package/formly/lib/index.d.ts +4 -4
- package/formly/lib/types/api.d.ts +13 -15
- package/formly/lib/types/checkbox.d.ts +8 -10
- package/formly/lib/types/date.d.ts +8 -10
- package/formly/lib/types/department.d.ts +8 -10
- package/formly/lib/types/establishment.d.ts +8 -10
- package/formly/lib/types/index.d.ts +11 -11
- package/formly/lib/types/input.d.ts +9 -11
- package/formly/lib/types/qualification.d.ts +8 -10
- package/formly/lib/types/radios.d.ts +12 -14
- package/formly/lib/types/select.d.ts +13 -15
- package/formly/lib/types/textarea.d.ts +8 -10
- package/formly/lib/types/user.d.ts +8 -10
- package/formly/lib/wrappers/checkbox-layout.d.ts +12 -12
- package/formly/lib/wrappers/error.d.ts +20 -21
- package/formly/lib/wrappers/helper.d.ts +11 -11
- package/formly/lib/wrappers/icon.d.ts +11 -11
- package/formly/lib/wrappers/index.d.ts +7 -7
- package/formly/lib/wrappers/radiosfield-layout.d.ts +12 -12
- package/formly/lib/wrappers/suffix.d.ts +11 -11
- package/formly/lib/wrappers/textfield-layout.d.ts +15 -15
- package/formly/public-api.d.ts +1 -1
- package/index.d.ts +5 -5
- package/input/index.d.ts +5 -5
- package/input/lib/clearer/clearer.component.d.ts +9 -9
- package/input/lib/clearer/clearer.model.d.ts +7 -7
- package/input/lib/clearer/clearer.module.d.ts +7 -7
- package/input/lib/clearer/index.d.ts +3 -3
- package/input/lib/displayer/index.d.ts +3 -3
- package/input/lib/displayer/input-displayer.directive.d.ts +16 -16
- package/input/lib/displayer/input-displayer.model.d.ts +9 -9
- package/input/lib/displayer/input-displayer.module.d.ts +7 -7
- package/input/lib/index.d.ts +5 -5
- package/input/lib/input.directive.d.ts +17 -17
- package/input/lib/input.model.d.ts +23 -23
- package/input/lib/input.module.d.ts +9 -9
- package/input/public-api.d.ts +1 -1
- package/material/index.d.ts +5 -5
- package/material/lib/index.d.ts +1 -1
- package/material/lib/module.d.ts +6 -6
- package/material/public-api.d.ts +1 -1
- package/modal/index.d.ts +5 -5
- package/modal/lib/index.d.ts +11 -11
- package/modal/lib/modal-config.default.d.ts +3 -3
- package/modal/lib/modal-config.model.d.ts +25 -25
- package/modal/lib/modal-panel.component.d.ts +48 -48
- package/modal/lib/modal-ref.factory.d.ts +30 -30
- package/modal/lib/modal-ref.model.d.ts +15 -15
- package/modal/lib/modal.model.d.ts +13 -11
- package/modal/lib/modal.module.d.ts +13 -13
- package/modal/lib/modal.service.d.ts +12 -12
- package/modal/lib/modal.token.d.ts +7 -7
- package/modal/lib/modal.translate.d.ts +9 -9
- package/modal/lib/modal.utils.d.ts +2 -2
- package/modal/public-api.d.ts +1 -1
- package/number/index.d.ts +5 -5
- package/number/lib/index.d.ts +2 -2
- package/number/lib/number.module.d.ts +7 -7
- package/number/lib/number.pipe.d.ts +9 -9
- package/number/public-api.d.ts +1 -1
- package/option/index.d.ts +5 -5
- package/option/lib/index.d.ts +7 -7
- package/option/lib/item/index.d.ts +7 -7
- package/option/lib/item/option-item.component.d.ts +22 -22
- package/option/lib/item/option-item.model.d.ts +18 -18
- package/option/lib/item/option-item.module.d.ts +7 -7
- package/option/lib/item/tree-option-item.component.d.ts +39 -39
- package/option/lib/item/tree-option-item.model.d.ts +14 -14
- package/option/lib/item/tree-option-item.module.d.ts +7 -7
- package/option/lib/item/tree-option-item.translate.d.ts +8 -8
- package/option/lib/operator/feeder/index.d.ts +4 -4
- package/option/lib/operator/feeder/option-feeder.component.d.ts +9 -9
- package/option/lib/operator/feeder/option-feeder.module.d.ts +7 -7
- package/option/lib/operator/feeder/tree-option-feeder.component.d.ts +10 -10
- package/option/lib/operator/feeder/tree-option-feeder.module.d.ts +7 -7
- package/option/lib/operator/for-groups/for-groups.directive.d.ts +31 -31
- package/option/lib/operator/for-groups/for-groups.module.d.ts +7 -7
- package/option/lib/operator/for-groups/index.d.ts +2 -2
- package/option/lib/operator/for-options/for-options.directive.d.ts +16 -16
- package/option/lib/operator/for-options/for-options.module.d.ts +7 -7
- package/option/lib/operator/for-options/for-tree-options.directive.d.ts +9 -9
- package/option/lib/operator/for-options/for-tree-options.module.d.ts +7 -7
- package/option/lib/operator/for-options/index.d.ts +4 -4
- package/option/lib/operator/index.d.ts +9 -9
- package/option/lib/operator/option-operator.model.d.ts +9 -9
- package/option/lib/operator/option-operator.module.d.ts +11 -11
- package/option/lib/operator/pager/index.d.ts +4 -4
- package/option/lib/operator/pager/option-pager.component.d.ts +13 -13
- package/option/lib/operator/pager/option-pager.module.d.ts +7 -7
- package/option/lib/operator/pager/tree-option-pager.component.d.ts +16 -16
- package/option/lib/operator/pager/tree-option-pager.module.d.ts +7 -7
- package/option/lib/operator/searcher/index.d.ts +4 -4
- package/option/lib/operator/searcher/option-searcher.component.d.ts +19 -19
- package/option/lib/operator/searcher/option-searcher.module.d.ts +7 -7
- package/option/lib/operator/searcher/tree-option-searcher.component.d.ts +20 -20
- package/option/lib/operator/searcher/tree-option-searcher.module.d.ts +7 -7
- package/option/lib/operator/tree-option-operator.model.d.ts +5 -5
- package/option/lib/operator/tree-option-operator.module.d.ts +10 -10
- package/option/lib/option.module.d.ts +16 -16
- package/option/lib/picker/index.d.ts +8 -8
- package/option/lib/picker/option-picker-advanced.component.d.ts +40 -40
- package/option/lib/picker/option-picker.component.d.ts +67 -67
- package/option/lib/picker/option-picker.model.d.ts +22 -22
- package/option/lib/picker/option-picker.module.d.ts +9 -9
- package/option/lib/picker/tree-option-picker-advanced.component.d.ts +40 -40
- package/option/lib/picker/tree-option-picker.component.d.ts +35 -35
- package/option/lib/picker/tree-option-picker.model.d.ts +5 -5
- package/option/lib/picker/tree-option-picker.module.d.ts +12 -12
- package/option/lib/placeholder/index.d.ts +3 -3
- package/option/lib/placeholder/option-placeholder.component.d.ts +9 -9
- package/option/lib/placeholder/option-placeholder.module.d.ts +7 -7
- package/option/lib/placeholder/option-placeholder.translate.d.ts +8 -8
- package/option/lib/selector/all/index.d.ts +5 -5
- package/option/lib/selector/all/select-all.component.d.ts +19 -19
- package/option/lib/selector/all/select-all.module.d.ts +7 -7
- package/option/lib/selector/all/select-all.translate.d.ts +8 -8
- package/option/lib/selector/all/tree-select-all.component.d.ts +21 -21
- package/option/lib/selector/all/tree-select-all.module.d.ts +7 -7
- package/option/lib/selector/index.d.ts +5 -5
- package/option/lib/selector/option-selector.model.d.ts +11 -11
- package/option/lib/selector/option-selector.module.d.ts +7 -7
- package/option/lib/selector/tree-option-selector.model.d.ts +4 -4
- package/option/lib/selector/tree-option-selector.module.d.ts +7 -7
- package/option/lib/tree-option.module.d.ts +10 -10
- package/option/public-api.d.ts +1 -1
- package/package.json +100 -165
- package/picker/index.d.ts +5 -5
- package/picker/lib/index.d.ts +1 -1
- package/picker/lib/input-picker.model.d.ts +25 -25
- package/picker/public-api.d.ts +1 -1
- package/popover/index.d.ts +5 -5
- package/popover/lib/animation/index.d.ts +1 -1
- package/popover/lib/animation/popover.animation.d.ts +2 -2
- package/popover/lib/index.d.ts +5 -5
- package/popover/lib/panel/index.d.ts +3 -3
- package/popover/lib/panel/popover-panel.component.d.ts +54 -54
- package/popover/lib/panel/popover-panel.model.d.ts +84 -84
- package/popover/lib/panel/popover-panel.module.d.ts +7 -7
- package/popover/lib/popover.module.d.ts +9 -9
- package/popover/lib/target/index.d.ts +3 -3
- package/popover/lib/target/popover-target.directive.d.ts +16 -16
- package/popover/lib/target/popover-target.model.d.ts +44 -44
- package/popover/lib/target/popover-target.module.d.ts +7 -7
- package/popover/lib/trigger/index.d.ts +3 -3
- package/popover/lib/trigger/popover-trigger.directive.d.ts +57 -57
- package/popover/lib/trigger/popover-trigger.model.d.ts +163 -163
- package/popover/lib/trigger/popover-trigger.module.d.ts +8 -8
- package/popover/public-api.d.ts +1 -1
- package/popup/index.d.ts +5 -5
- package/popup/lib/index.d.ts +7 -7
- package/popup/lib/popup-config.default.d.ts +2 -2
- package/popup/lib/popup-config.model.d.ts +9 -9
- package/popup/lib/popup-ref.factory.d.ts +20 -20
- package/popup/lib/popup-ref.model.d.ts +54 -54
- package/popup/lib/popup.module.d.ts +7 -7
- package/popup/lib/popup.service.d.ts +11 -11
- package/popup/lib/popup.token.d.ts +7 -7
- package/popup/public-api.d.ts +1 -1
- package/public_api.d.ts +2 -2
- package/qualification/index.d.ts +5 -5
- package/qualification/lib/index.d.ts +3 -3
- package/qualification/lib/qualification.model.d.ts +7 -7
- package/qualification/lib/qualification.module.d.ts +7 -7
- package/qualification/lib/select/index.d.ts +2 -2
- package/qualification/lib/select/input/index.d.ts +3 -3
- package/qualification/lib/select/input/qualification-select-input.component.d.ts +25 -25
- package/qualification/lib/select/input/qualification-select-input.module.d.ts +7 -7
- package/qualification/lib/select/input/qualification-select-input.translate.d.ts +7 -7
- package/qualification/lib/select/qualification-select.module.d.ts +7 -7
- package/qualification/public-api.d.ts +1 -1
- package/safe-content/index.d.ts +5 -5
- package/safe-content/lib/index.d.ts +2 -2
- package/safe-content/lib/safe-content.module.d.ts +8 -8
- package/safe-content/lib/safe-html.pipe.d.ts +16 -16
- package/safe-content/public-api.d.ts +1 -1
- package/schematics/lib/angular-template.js +47 -47
- package/schematics/lib/file-update.js +18 -18
- package/schematics/lib/html-ast.js +132 -132
- package/schematics/lib/local-deps/postcss-scss.js +17 -17
- package/schematics/lib/local-deps/postcss-selector-parser.js +5 -5
- package/schematics/lib/local-deps/postcss-value-parser.js +5 -5
- package/schematics/lib/local-deps/postcss.js +4 -4
- package/schematics/lib/migration-test.js +50 -50
- package/schematics/lib/schematics.js +19 -19
- package/schematics/lib/scss-ast.js +217 -217
- package/schematics/lib/scss-value-ast.js +60 -60
- package/schematics/migrations/tshirt-size/index.js +42 -42
- package/schematics/migrations/tshirt-size/mapping.js +256 -256
- package/schematics/migrations/tshirt-size/migration.js +60 -60
- package/schematics/migrations/tshirt-size/migration.spec.js +49 -49
- package/schematics/ng-add/file-content.js +5 -5
- package/schematics/ng-add/index.js +20 -20
- package/schematics/ng-add/tasks.js +32 -32
- package/scroll/index.d.ts +5 -5
- package/scroll/lib/index.d.ts +3 -3
- package/scroll/lib/scroll.directive.d.ts +23 -23
- package/scroll/lib/scroll.model.d.ts +8 -8
- package/scroll/lib/scroll.module.d.ts +7 -7
- package/scroll/public-api.d.ts +1 -1
- package/select/index.d.ts +5 -5
- package/select/lib/index.d.ts +2 -2
- package/select/lib/input/index.d.ts +3 -3
- package/select/lib/input/select-input.component.d.ts +68 -68
- package/select/lib/input/select-input.model.d.ts +61 -61
- package/select/lib/input/select-input.module.d.ts +7 -7
- package/select/lib/select.module.d.ts +7 -7
- package/select/public-api.d.ts +1 -1
- package/sidepanel/index.d.ts +5 -5
- package/sidepanel/lib/index.d.ts +3 -3
- package/sidepanel/lib/sidepanel.model.d.ts +48 -48
- package/sidepanel/lib/sidepanel.module.d.ts +10 -10
- package/sidepanel/lib/sidepanel.service.d.ts +16 -16
- package/sidepanel/public-api.d.ts +1 -1
- package/simple-select/api/index.d.ts +5 -5
- package/simple-select/api/lib/api-v3.directive.d.ts +25 -25
- package/simple-select/api/lib/api-v4.directive.d.ts +22 -22
- package/simple-select/api/lib/api.directive.d.ts +32 -32
- package/simple-select/api/public-api.d.ts +3 -3
- package/simple-select/index.d.ts +5 -5
- package/simple-select/lib/index.d.ts +4 -4
- package/simple-select/lib/input/index.d.ts +1 -1
- package/simple-select/lib/input/panel-ref.factory.d.ts +16 -16
- package/simple-select/lib/input/select-input.component.d.ts +58 -58
- package/simple-select/lib/input/select-input.models.d.ts +3 -3
- package/simple-select/lib/option/default-option.component.d.ts +9 -9
- package/simple-select/lib/option/disabled.directive.d.ts +7 -7
- package/simple-select/lib/option/displayer.directive.d.ts +12 -12
- package/simple-select/lib/option/index.d.ts +5 -5
- package/simple-select/lib/option/option-outlet.directive.d.ts +19 -19
- package/simple-select/lib/option/option.component.d.ts +31 -31
- package/simple-select/lib/option/option.directive.d.ts +12 -12
- package/simple-select/lib/option/option.token.d.ts +9 -9
- package/simple-select/lib/panel/index.d.ts +2 -2
- package/simple-select/lib/panel/panel.component.d.ts +28 -28
- package/simple-select/lib/panel/panel.models.d.ts +13 -13
- package/simple-select/lib/select.model.d.ts +17 -17
- package/simple-select/lib/select.translate.d.ts +10 -10
- package/simple-select/public-api.d.ts +1 -1
- package/src/definitions/select/_select-input.scss +1 -1
- package/title/index.d.ts +5 -5
- package/title/lib/index.d.ts +5 -5
- package/title/lib/title-translate.service.d.ts +5 -5
- package/title/lib/title.model.d.ts +7 -8
- package/title/lib/title.module.d.ts +10 -10
- package/title/lib/title.service.d.ts +22 -22
- package/title/lib/title.strategy.d.ts +22 -22
- package/title/public-api.d.ts +1 -1
- package/toast/index.d.ts +5 -5
- package/toast/public-api.d.ts +5 -5
- package/toast/toasts.component.d.ts +22 -22
- package/toast/toasts.model.d.ts +22 -22
- package/toast/toasts.module.d.ts +7 -7
- package/toast/toasts.service.d.ts +13 -13
- package/toast/toasts.translate.d.ts +7 -7
- package/tooltip/index.d.ts +5 -5
- package/tooltip/lib/animation/index.d.ts +1 -1
- package/tooltip/lib/animation/tooltip.animation.d.ts +2 -2
- package/tooltip/lib/index.d.ts +4 -4
- package/tooltip/lib/panel/index.d.ts +2 -2
- package/tooltip/lib/panel/tooltip-panel.component.d.ts +21 -21
- package/tooltip/lib/panel/tooltip-panel.module.d.ts +7 -7
- package/tooltip/lib/tooltip.module.d.ts +8 -8
- package/tooltip/lib/trigger/index.d.ts +2 -2
- package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +48 -48
- package/tooltip/lib/trigger/tooltip-trigger.module.d.ts +8 -8
- package/tooltip/public-api.d.ts +1 -1
- package/user/index.d.ts +5 -5
- package/user/lib/display/display-format.model.d.ts +22 -22
- package/user/lib/display/index.d.ts +3 -3
- package/user/lib/display/user-display.module.d.ts +7 -7
- package/user/lib/display/user-display.pipe.d.ts +19 -19
- package/user/lib/index.d.ts +7 -7
- package/user/lib/picture/index.d.ts +2 -2
- package/user/lib/picture/user-picture.component.d.ts +31 -31
- package/user/lib/picture/user-picture.module.d.ts +9 -9
- package/user/lib/select/homonyms/index.d.ts +3 -3
- package/user/lib/select/homonyms/user-homonyms.component.d.ts +14 -14
- package/user/lib/select/homonyms/user-homonyms.module.d.ts +7 -7
- package/user/lib/select/homonyms/user-homonyms.service.d.ts +23 -23
- package/user/lib/select/index.d.ts +5 -5
- package/user/lib/select/input/index.d.ts +3 -3
- package/user/lib/select/input/user-select-input.component.d.ts +32 -32
- package/user/lib/select/input/user-select-input.module.d.ts +7 -7
- package/user/lib/select/input/user-select-input.translate.d.ts +8 -8
- package/user/lib/select/me/index.d.ts +2 -2
- package/user/lib/select/me/me-option.directive.d.ts +30 -30
- package/user/lib/select/me/me-option.module.d.ts +7 -7
- package/user/lib/select/searcher/index.d.ts +3 -3
- package/user/lib/select/searcher/user-searcher.component.d.ts +39 -39
- package/user/lib/select/searcher/user-searcher.module.d.ts +7 -7
- package/user/lib/select/searcher/user-searcher.translate.d.ts +7 -7
- package/user/lib/select/user-select.module.d.ts +10 -10
- package/user/lib/service/index.d.ts +2 -2
- package/user/lib/service/user-service.model.d.ts +9 -9
- package/user/lib/service/user-v3.service.d.ts +20 -20
- package/user/lib/tile/index.d.ts +2 -2
- package/user/lib/tile/user-tile.component.d.ts +31 -31
- package/user/lib/tile/user-tile.module.d.ts +10 -10
- package/user/lib/user.model.d.ts +11 -11
- package/user/lib/user.module.d.ts +10 -10
- package/user/public-api.d.ts +1 -1
- package/esm2020/a11y/lib/index.mjs +0 -2
- package/esm2020/a11y/lib/skip-links/skip-links.component.mjs +0 -26
- package/esm2020/a11y/lib/skip-links/skip-links.translate.mjs +0 -27
- package/esm2020/a11y/lucca-front-ng-a11y.mjs +0 -5
- package/esm2020/a11y/public-api.mjs +0 -5
- package/esm2020/animations/lib/animation.factory.mjs +0 -15
- package/esm2020/animations/lib/fade.animation.mjs +0 -8
- package/esm2020/animations/lib/index.mjs +0 -5
- package/esm2020/animations/lib/scale.animation.mjs +0 -126
- package/esm2020/animations/lib/slide.animation.mjs +0 -110
- package/esm2020/animations/lucca-front-ng-animations.mjs +0 -5
- package/esm2020/animations/public-api.mjs +0 -5
- package/esm2020/api/lib/api.model.mjs +0 -2
- package/esm2020/api/lib/api.module.mjs +0 -16
- package/esm2020/api/lib/index.mjs +0 -5
- package/esm2020/api/lib/select/api-select.module.mjs +0 -19
- package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +0 -93
- package/esm2020/api/lib/select/feeder/api-feeder.model.mjs +0 -11
- package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +0 -16
- package/esm2020/api/lib/select/feeder/index.mjs +0 -4
- package/esm2020/api/lib/select/index.mjs +0 -6
- package/esm2020/api/lib/select/input/api-select-input.component.mjs +0 -52
- package/esm2020/api/lib/select/input/api-select-input.module.mjs +0 -16
- package/esm2020/api/lib/select/input/index.mjs +0 -3
- package/esm2020/api/lib/select/pager/api-pager.component.mjs +0 -99
- package/esm2020/api/lib/select/pager/api-pager.model.mjs +0 -56
- package/esm2020/api/lib/select/pager/api-pager.module.mjs +0 -16
- package/esm2020/api/lib/select/pager/index.mjs +0 -4
- package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +0 -235
- package/esm2020/api/lib/select/searcher/api-searcher.model.mjs +0 -67
- package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +0 -16
- package/esm2020/api/lib/select/searcher/index.mjs +0 -4
- package/esm2020/api/lib/service/api-hybrid.service.mjs +0 -65
- package/esm2020/api/lib/service/api-service.model.mjs +0 -3
- package/esm2020/api/lib/service/api-v3.service.mjs +0 -72
- package/esm2020/api/lib/service/api-v4.service.mjs +0 -71
- package/esm2020/api/lib/service/index.mjs +0 -5
- package/esm2020/api/lucca-front-ng-api.mjs +0 -5
- package/esm2020/api/public-api.mjs +0 -5
- package/esm2020/core/lib/date/date-adapter.class.mjs +0 -54
- package/esm2020/core/lib/date/date-adapter.interface.mjs +0 -2
- package/esm2020/core/lib/date/date-granularity.enum.mjs +0 -8
- package/esm2020/core/lib/date/index.mjs +0 -6
- package/esm2020/core/lib/date/native/index.mjs +0 -3
- package/esm2020/core/lib/date/native/native-date.adapter.mjs +0 -232
- package/esm2020/core/lib/date/native/native-date.option.mjs +0 -6
- package/esm2020/core/lib/date/string/index.mjs +0 -2
- package/esm2020/core/lib/date/string/string-date.adapter.mjs +0 -83
- package/esm2020/core/lib/event/index.mjs +0 -4
- package/esm2020/core/lib/event/on-close.subscriber.mjs +0 -3
- package/esm2020/core/lib/event/on-open.subscriber.mjs +0 -3
- package/esm2020/core/lib/event/on-scroll-bottom.subscriber.mjs +0 -3
- package/esm2020/core/lib/group/group.interface.mjs +0 -2
- package/esm2020/core/lib/group/index.mjs +0 -2
- package/esm2020/core/lib/id/id.generator.mjs +0 -9
- package/esm2020/core/lib/id/index.mjs +0 -2
- package/esm2020/core/lib/index.mjs +0 -7
- package/esm2020/core/lib/translate/index.mjs +0 -3
- package/esm2020/core/lib/translate/intl.model.mjs +0 -17
- package/esm2020/core/lib/translate/translation.model.mjs +0 -2
- package/esm2020/core/lib/tree/index.mjs +0 -2
- package/esm2020/core/lib/tree/tree.model.mjs +0 -2
- package/esm2020/core/lucca-front-ng-core.mjs +0 -5
- package/esm2020/core/public-api.mjs +0 -5
- package/esm2020/date/lib/adapter/date-adapter.module.mjs +0 -16
- package/esm2020/date/lib/adapter/date-adapter.pipe.mjs +0 -25
- package/esm2020/date/lib/adapter/index.mjs +0 -3
- package/esm2020/date/lib/calendar/calendar-input.component.mjs +0 -332
- package/esm2020/date/lib/calendar/calendar-input.module.mjs +0 -16
- package/esm2020/date/lib/calendar/calendar-item.class.mjs +0 -43
- package/esm2020/date/lib/calendar/calendar-item.factory.mjs +0 -37
- package/esm2020/date/lib/calendar/calendar-item.interface.mjs +0 -2
- package/esm2020/date/lib/calendar/index.mjs +0 -3
- package/esm2020/date/lib/date.module.mjs +0 -20
- package/esm2020/date/lib/index.mjs +0 -7
- package/esm2020/date/lib/input/date-input.directive.mjs +0 -137
- package/esm2020/date/lib/input/date-input.module.mjs +0 -16
- package/esm2020/date/lib/input/date-input.translate.mjs +0 -39
- package/esm2020/date/lib/input/index.mjs +0 -4
- package/esm2020/date/lib/picker/date-picker.component.mjs +0 -109
- package/esm2020/date/lib/picker/date-picker.module.mjs +0 -16
- package/esm2020/date/lib/picker/index.mjs +0 -3
- package/esm2020/date/lib/select/date-select-input.component.mjs +0 -100
- package/esm2020/date/lib/select/date-select-input.module.mjs +0 -16
- package/esm2020/date/lib/select/date-select-input.translate.mjs +0 -31
- package/esm2020/date/lib/select/index.mjs +0 -4
- package/esm2020/date/lucca-front-ng-date.mjs +0 -5
- package/esm2020/date/public-api.mjs +0 -5
- package/esm2020/department/lib/department.model.mjs +0 -2
- package/esm2020/department/lib/department.module.mjs +0 -16
- package/esm2020/department/lib/index.mjs +0 -5
- package/esm2020/department/lib/select/department-select.module.mjs +0 -17
- package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +0 -82
- package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +0 -16
- package/esm2020/department/lib/select/feeder/index.mjs +0 -3
- package/esm2020/department/lib/select/index.mjs +0 -4
- package/esm2020/department/lib/select/input/department-select-input.component.mjs +0 -67
- package/esm2020/department/lib/select/input/department-select-input.module.mjs +0 -16
- package/esm2020/department/lib/select/input/department-select-input.translate.mjs +0 -16
- package/esm2020/department/lib/select/input/index.mjs +0 -4
- package/esm2020/department/lib/service/department-service.model.mjs +0 -4
- package/esm2020/department/lib/service/department-v3.service.mjs +0 -43
- package/esm2020/department/lib/service/index.mjs +0 -3
- package/esm2020/department/lucca-front-ng-department.mjs +0 -5
- package/esm2020/department/public-api.mjs +0 -5
- package/esm2020/dropdown/lib/dropdown.module.mjs +0 -18
- package/esm2020/dropdown/lib/index.mjs +0 -5
- package/esm2020/dropdown/lib/item/dropdown-item.directive.mjs +0 -55
- package/esm2020/dropdown/lib/item/dropdown-item.model.mjs +0 -3
- package/esm2020/dropdown/lib/item/dropdown-item.module.mjs +0 -17
- package/esm2020/dropdown/lib/item/index.mjs +0 -4
- package/esm2020/dropdown/lib/panel/dropdown-panel.component.mjs +0 -111
- package/esm2020/dropdown/lib/panel/dropdown-panel.model.mjs +0 -2
- package/esm2020/dropdown/lib/panel/dropdown-panel.module.mjs +0 -18
- package/esm2020/dropdown/lib/panel/index.mjs +0 -4
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.directive.mjs +0 -121
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.module.mjs +0 -18
- package/esm2020/dropdown/lib/trigger/index.mjs +0 -3
- package/esm2020/dropdown/lucca-front-ng-dropdown.mjs +0 -5
- package/esm2020/dropdown/public-api.mjs +0 -5
- package/esm2020/establishment/lib/establishment.model.mjs +0 -2
- package/esm2020/establishment/lib/establishment.module.mjs +0 -16
- package/esm2020/establishment/lib/index.mjs +0 -5
- package/esm2020/establishment/lib/select/establishment-select.module.mjs +0 -20
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +0 -47
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +0 -16
- package/esm2020/establishment/lib/select/for-legal-units/index.mjs +0 -3
- package/esm2020/establishment/lib/select/index.mjs +0 -7
- package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +0 -126
- package/esm2020/establishment/lib/select/input/establishment-select-input.module.mjs +0 -16
- package/esm2020/establishment/lib/select/input/establishment-select-input.translate.mjs +0 -16
- package/esm2020/establishment/lib/select/input/index.mjs +0 -4
- package/esm2020/establishment/lib/select/legal-unit-selector/index.mjs +0 -3
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +0 -104
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +0 -16
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +0 -147
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +0 -16
- package/esm2020/establishment/lib/select/searcher/index.mjs +0 -3
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +0 -95
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.module.mjs +0 -16
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.translate.mjs +0 -23
- package/esm2020/establishment/lib/select/select-all/index.mjs +0 -4
- package/esm2020/establishment/lib/service/establishment-service.model.mjs +0 -4
- package/esm2020/establishment/lib/service/establishment.service.mjs +0 -37
- package/esm2020/establishment/lib/service/index.mjs +0 -5
- package/esm2020/establishment/lib/service/legal-unit-service.model.mjs +0 -4
- package/esm2020/establishment/lib/service/legal-unit.service.mjs +0 -37
- package/esm2020/establishment/lucca-front-ng-establishment.mjs +0 -5
- package/esm2020/establishment/public-api.mjs +0 -5
- package/esm2020/formly/lib/formly.config.mjs +0 -81
- package/esm2020/formly/lib/formly.module.mjs +0 -108
- package/esm2020/formly/lib/index.mjs +0 -5
- package/esm2020/formly/lib/types/api.mjs +0 -37
- package/esm2020/formly/lib/types/checkbox.mjs +0 -22
- package/esm2020/formly/lib/types/date.mjs +0 -22
- package/esm2020/formly/lib/types/department.mjs +0 -22
- package/esm2020/formly/lib/types/establishment.mjs +0 -22
- package/esm2020/formly/lib/types/index.mjs +0 -12
- package/esm2020/formly/lib/types/input.mjs +0 -26
- package/esm2020/formly/lib/types/qualification.mjs +0 -22
- package/esm2020/formly/lib/types/radios.mjs +0 -25
- package/esm2020/formly/lib/types/select.mjs +0 -28
- package/esm2020/formly/lib/types/textarea.mjs +0 -22
- package/esm2020/formly/lib/types/user.mjs +0 -22
- package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +0 -30
- package/esm2020/formly/lib/wrappers/error.mjs +0 -65
- package/esm2020/formly/lib/wrappers/helper.mjs +0 -28
- package/esm2020/formly/lib/wrappers/icon.mjs +0 -36
- package/esm2020/formly/lib/wrappers/index.mjs +0 -8
- package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +0 -30
- package/esm2020/formly/lib/wrappers/suffix.mjs +0 -28
- package/esm2020/formly/lib/wrappers/textfield-layout.mjs +0 -39
- package/esm2020/formly/lucca-front-ng-formly.mjs +0 -5
- package/esm2020/formly/public-api.mjs +0 -5
- package/esm2020/input/lib/clearer/clearer.component.mjs +0 -35
- package/esm2020/input/lib/clearer/clearer.model.mjs +0 -3
- package/esm2020/input/lib/clearer/clearer.module.mjs +0 -16
- package/esm2020/input/lib/clearer/index.mjs +0 -4
- package/esm2020/input/lib/displayer/index.mjs +0 -4
- package/esm2020/input/lib/displayer/input-displayer.directive.mjs +0 -59
- package/esm2020/input/lib/displayer/input-displayer.model.mjs +0 -6
- package/esm2020/input/lib/displayer/input-displayer.module.mjs +0 -16
- package/esm2020/input/lib/index.mjs +0 -6
- package/esm2020/input/lib/input.directive.mjs +0 -42
- package/esm2020/input/lib/input.model.mjs +0 -54
- package/esm2020/input/lib/input.module.mjs +0 -18
- package/esm2020/input/lucca-front-ng-input.mjs +0 -5
- package/esm2020/input/public-api.mjs +0 -5
- package/esm2020/lucca-front-ng.mjs +0 -5
- package/esm2020/material/lib/index.mjs +0 -2
- package/esm2020/material/lib/module.mjs +0 -12
- package/esm2020/material/lucca-front-ng-material.mjs +0 -5
- package/esm2020/material/public-api.mjs +0 -5
- package/esm2020/modal/lib/index.mjs +0 -12
- package/esm2020/modal/lib/modal-config.default.mjs +0 -17
- package/esm2020/modal/lib/modal-config.model.mjs +0 -5
- package/esm2020/modal/lib/modal-panel.component.mjs +0 -123
- package/esm2020/modal/lib/modal-ref.factory.mjs +0 -60
- package/esm2020/modal/lib/modal-ref.model.mjs +0 -11
- package/esm2020/modal/lib/modal.model.mjs +0 -2
- package/esm2020/modal/lib/modal.module.mjs +0 -26
- package/esm2020/modal/lib/modal.service.mjs +0 -21
- package/esm2020/modal/lib/modal.token.mjs +0 -9
- package/esm2020/modal/lib/modal.translate.mjs +0 -22
- package/esm2020/modal/lib/modal.utils.mjs +0 -9
- package/esm2020/modal/lucca-front-ng-modal.mjs +0 -5
- package/esm2020/modal/public-api.mjs +0 -5
- package/esm2020/number/lib/index.mjs +0 -3
- package/esm2020/number/lib/number.module.mjs +0 -16
- package/esm2020/number/lib/number.pipe.mjs +0 -36
- package/esm2020/number/lucca-front-ng-number.mjs +0 -5
- package/esm2020/number/public-api.mjs +0 -5
- package/esm2020/option/lib/index.mjs +0 -8
- package/esm2020/option/lib/item/index.mjs +0 -8
- package/esm2020/option/lib/item/option-item.component.mjs +0 -76
- package/esm2020/option/lib/item/option-item.model.mjs +0 -3
- package/esm2020/option/lib/item/option-item.module.mjs +0 -16
- package/esm2020/option/lib/item/tree-option-item.component.mjs +0 -136
- package/esm2020/option/lib/item/tree-option-item.model.mjs +0 -7
- package/esm2020/option/lib/item/tree-option-item.module.mjs +0 -16
- package/esm2020/option/lib/item/tree-option-item.translate.mjs +0 -15
- package/esm2020/option/lib/operator/feeder/index.mjs +0 -5
- package/esm2020/option/lib/operator/feeder/option-feeder.component.mjs +0 -33
- package/esm2020/option/lib/operator/feeder/option-feeder.module.mjs +0 -16
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.component.mjs +0 -33
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.module.mjs +0 -16
- package/esm2020/option/lib/operator/for-groups/for-groups.directive.mjs +0 -89
- package/esm2020/option/lib/operator/for-groups/for-groups.module.mjs +0 -16
- package/esm2020/option/lib/operator/for-groups/index.mjs +0 -3
- package/esm2020/option/lib/operator/for-options/for-options.directive.mjs +0 -50
- package/esm2020/option/lib/operator/for-options/for-options.module.mjs +0 -16
- package/esm2020/option/lib/operator/for-options/for-tree-options.directive.mjs +0 -29
- package/esm2020/option/lib/operator/for-options/for-tree-options.module.mjs +0 -16
- package/esm2020/option/lib/operator/for-options/index.mjs +0 -5
- package/esm2020/option/lib/operator/index.mjs +0 -10
- package/esm2020/option/lib/operator/option-operator.model.mjs +0 -3
- package/esm2020/option/lib/operator/option-operator.module.mjs +0 -20
- package/esm2020/option/lib/operator/pager/index.mjs +0 -5
- package/esm2020/option/lib/operator/pager/option-pager.component.mjs +0 -53
- package/esm2020/option/lib/operator/pager/option-pager.module.mjs +0 -16
- package/esm2020/option/lib/operator/pager/tree-option-pager.component.mjs +0 -71
- package/esm2020/option/lib/operator/pager/tree-option-pager.module.mjs +0 -16
- package/esm2020/option/lib/operator/searcher/index.mjs +0 -5
- package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +0 -66
- package/esm2020/option/lib/operator/searcher/option-searcher.module.mjs +0 -16
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +0 -83
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.module.mjs +0 -16
- package/esm2020/option/lib/operator/tree-option-operator.model.mjs +0 -4
- package/esm2020/option/lib/operator/tree-option-operator.module.mjs +0 -19
- package/esm2020/option/lib/option.module.mjs +0 -67
- package/esm2020/option/lib/picker/index.mjs +0 -9
- package/esm2020/option/lib/picker/option-picker-advanced.component.mjs +0 -150
- package/esm2020/option/lib/picker/option-picker.component.mjs +0 -314
- package/esm2020/option/lib/picker/option-picker.model.mjs +0 -69
- package/esm2020/option/lib/picker/option-picker.module.mjs +0 -18
- package/esm2020/option/lib/picker/tree-option-picker-advanced.component.mjs +0 -140
- package/esm2020/option/lib/picker/tree-option-picker.component.mjs +0 -169
- package/esm2020/option/lib/picker/tree-option-picker.model.mjs +0 -4
- package/esm2020/option/lib/picker/tree-option-picker.module.mjs +0 -21
- package/esm2020/option/lib/placeholder/index.mjs +0 -4
- package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +0 -23
- package/esm2020/option/lib/placeholder/option-placeholder.module.mjs +0 -16
- package/esm2020/option/lib/placeholder/option-placeholder.translate.mjs +0 -19
- package/esm2020/option/lib/selector/all/index.mjs +0 -6
- package/esm2020/option/lib/selector/all/select-all.component.mjs +0 -61
- package/esm2020/option/lib/selector/all/select-all.module.mjs +0 -16
- package/esm2020/option/lib/selector/all/select-all.translate.mjs +0 -27
- package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +0 -64
- package/esm2020/option/lib/selector/all/tree-select-all.module.mjs +0 -16
- package/esm2020/option/lib/selector/index.mjs +0 -6
- package/esm2020/option/lib/selector/option-selector.model.mjs +0 -3
- package/esm2020/option/lib/selector/option-selector.module.mjs +0 -16
- package/esm2020/option/lib/selector/tree-option-selector.model.mjs +0 -4
- package/esm2020/option/lib/selector/tree-option-selector.module.mjs +0 -16
- package/esm2020/option/lib/tree-option.module.mjs +0 -19
- package/esm2020/option/lucca-front-ng-option.mjs +0 -5
- package/esm2020/option/public-api.mjs +0 -5
- package/esm2020/picker/lib/index.mjs +0 -2
- package/esm2020/picker/lib/input-picker.model.mjs +0 -4
- package/esm2020/picker/lucca-front-ng-picker.mjs +0 -5
- package/esm2020/picker/public-api.mjs +0 -5
- package/esm2020/popover/lib/animation/index.mjs +0 -2
- package/esm2020/popover/lib/animation/popover.animation.mjs +0 -16
- package/esm2020/popover/lib/index.mjs +0 -6
- package/esm2020/popover/lib/panel/index.mjs +0 -4
- package/esm2020/popover/lib/panel/popover-panel.component.mjs +0 -126
- package/esm2020/popover/lib/panel/popover-panel.model.mjs +0 -120
- package/esm2020/popover/lib/panel/popover-panel.module.mjs +0 -16
- package/esm2020/popover/lib/popover.module.mjs +0 -18
- package/esm2020/popover/lib/target/index.mjs +0 -4
- package/esm2020/popover/lib/target/popover-target.directive.mjs +0 -53
- package/esm2020/popover/lib/target/popover-target.model.mjs +0 -65
- package/esm2020/popover/lib/target/popover-target.module.mjs +0 -16
- package/esm2020/popover/lib/trigger/index.mjs +0 -4
- package/esm2020/popover/lib/trigger/popover-trigger.directive.mjs +0 -186
- package/esm2020/popover/lib/trigger/popover-trigger.model.mjs +0 -469
- package/esm2020/popover/lib/trigger/popover-trigger.module.mjs +0 -17
- package/esm2020/popover/lucca-front-ng-popover.mjs +0 -5
- package/esm2020/popover/public-api.mjs +0 -5
- package/esm2020/popup/lib/index.mjs +0 -8
- package/esm2020/popup/lib/popup-config.default.mjs +0 -9
- package/esm2020/popup/lib/popup-config.model.mjs +0 -2
- package/esm2020/popup/lib/popup-ref.factory.mjs +0 -28
- package/esm2020/popup/lib/popup-ref.model.mjs +0 -139
- package/esm2020/popup/lib/popup.module.mjs +0 -21
- package/esm2020/popup/lib/popup.service.mjs +0 -21
- package/esm2020/popup/lib/popup.token.mjs +0 -8
- package/esm2020/popup/lucca-front-ng-popup.mjs +0 -5
- package/esm2020/popup/public-api.mjs +0 -5
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/qualification/lib/index.mjs +0 -4
- package/esm2020/qualification/lib/qualification.model.mjs +0 -2
- package/esm2020/qualification/lib/qualification.module.mjs +0 -16
- package/esm2020/qualification/lib/select/index.mjs +0 -3
- package/esm2020/qualification/lib/select/input/index.mjs +0 -4
- package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +0 -57
- package/esm2020/qualification/lib/select/input/qualification-select-input.module.mjs +0 -16
- package/esm2020/qualification/lib/select/input/qualification-select-input.translate.mjs +0 -16
- package/esm2020/qualification/lib/select/qualification-select.module.mjs +0 -16
- package/esm2020/qualification/lucca-front-ng-qualification.mjs +0 -5
- package/esm2020/qualification/public-api.mjs +0 -5
- package/esm2020/safe-content/lib/index.mjs +0 -3
- package/esm2020/safe-content/lib/safe-content.module.mjs +0 -19
- package/esm2020/safe-content/lib/safe-html.pipe.mjs +0 -19
- package/esm2020/safe-content/lucca-front-ng-safe-content.mjs +0 -5
- package/esm2020/safe-content/public-api.mjs +0 -5
- package/esm2020/scroll/lib/index.mjs +0 -4
- package/esm2020/scroll/lib/scroll.directive.mjs +0 -77
- package/esm2020/scroll/lib/scroll.model.mjs +0 -2
- package/esm2020/scroll/lib/scroll.module.mjs +0 -16
- package/esm2020/scroll/lucca-front-ng-scroll.mjs +0 -5
- package/esm2020/scroll/public-api.mjs +0 -5
- package/esm2020/select/lib/index.mjs +0 -3
- package/esm2020/select/lib/input/index.mjs +0 -4
- package/esm2020/select/lib/input/select-input.component.mjs +0 -247
- package/esm2020/select/lib/input/select-input.model.mjs +0 -179
- package/esm2020/select/lib/input/select-input.module.mjs +0 -16
- package/esm2020/select/lib/select.module.mjs +0 -16
- package/esm2020/select/lucca-front-ng-select.mjs +0 -5
- package/esm2020/select/public-api.mjs +0 -5
- package/esm2020/sidepanel/lib/index.mjs +0 -4
- package/esm2020/sidepanel/lib/sidepanel.model.mjs +0 -32
- package/esm2020/sidepanel/lib/sidepanel.module.mjs +0 -20
- package/esm2020/sidepanel/lib/sidepanel.service.mjs +0 -25
- package/esm2020/sidepanel/lucca-front-ng-sidepanel.mjs +0 -5
- package/esm2020/sidepanel/public-api.mjs +0 -5
- package/esm2020/simple-select/api/lib/api-v3.directive.mjs +0 -57
- package/esm2020/simple-select/api/lib/api-v4.directive.mjs +0 -50
- package/esm2020/simple-select/api/lib/api.directive.mjs +0 -40
- package/esm2020/simple-select/api/lucca-front-ng-simple-select-api.mjs +0 -5
- package/esm2020/simple-select/api/public-api.mjs +0 -4
- package/esm2020/simple-select/lib/index.mjs +0 -5
- package/esm2020/simple-select/lib/input/index.mjs +0 -2
- package/esm2020/simple-select/lib/input/panel-ref.factory.mjs +0 -90
- package/esm2020/simple-select/lib/input/select-input.component.mjs +0 -225
- package/esm2020/simple-select/lib/input/select-input.models.mjs +0 -60
- package/esm2020/simple-select/lib/option/default-option.component.mjs +0 -21
- package/esm2020/simple-select/lib/option/disabled.directive.mjs +0 -26
- package/esm2020/simple-select/lib/option/displayer.directive.mjs +0 -26
- package/esm2020/simple-select/lib/option/index.mjs +0 -6
- package/esm2020/simple-select/lib/option/option-outlet.directive.mjs +0 -70
- package/esm2020/simple-select/lib/option/option.component.mjs +0 -77
- package/esm2020/simple-select/lib/option/option.directive.mjs +0 -26
- package/esm2020/simple-select/lib/option/option.token.mjs +0 -22
- package/esm2020/simple-select/lib/panel/index.mjs +0 -3
- package/esm2020/simple-select/lib/panel/panel.component.mjs +0 -94
- package/esm2020/simple-select/lib/panel/panel.models.mjs +0 -23
- package/esm2020/simple-select/lib/select.model.mjs +0 -6
- package/esm2020/simple-select/lib/select.translate.mjs +0 -37
- package/esm2020/simple-select/lucca-front-ng-simple-select.mjs +0 -5
- package/esm2020/simple-select/public-api.mjs +0 -5
- package/esm2020/title/lib/index.mjs +0 -6
- package/esm2020/title/lib/title-translate.service.mjs +0 -3
- package/esm2020/title/lib/title.model.mjs +0 -6
- package/esm2020/title/lib/title.module.mjs +0 -20
- package/esm2020/title/lib/title.service.mjs +0 -55
- package/esm2020/title/lib/title.strategy.mjs +0 -63
- package/esm2020/title/lucca-front-ng-title.mjs +0 -5
- package/esm2020/title/public-api.mjs +0 -2
- package/esm2020/toast/lucca-front-ng-toast.mjs +0 -5
- package/esm2020/toast/public-api.mjs +0 -9
- package/esm2020/toast/toasts.component.mjs +0 -59
- package/esm2020/toast/toasts.model.mjs +0 -2
- package/esm2020/toast/toasts.module.mjs +0 -16
- package/esm2020/toast/toasts.service.mjs +0 -37
- package/esm2020/toast/toasts.translate.mjs +0 -16
- package/esm2020/tooltip/lib/animation/index.mjs +0 -2
- package/esm2020/tooltip/lib/animation/tooltip.animation.mjs +0 -16
- package/esm2020/tooltip/lib/index.mjs +0 -5
- package/esm2020/tooltip/lib/panel/index.mjs +0 -3
- package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +0 -59
- package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +0 -16
- package/esm2020/tooltip/lib/tooltip.module.mjs +0 -17
- package/esm2020/tooltip/lib/trigger/index.mjs +0 -3
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +0 -181
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.module.mjs +0 -17
- package/esm2020/tooltip/lucca-front-ng-tooltip.mjs +0 -5
- package/esm2020/tooltip/public-api.mjs +0 -5
- package/esm2020/user/lib/display/display-format.model.mjs +0 -25
- package/esm2020/user/lib/display/index.mjs +0 -4
- package/esm2020/user/lib/display/user-display.module.mjs +0 -17
- package/esm2020/user/lib/display/user-display.pipe.mjs +0 -72
- package/esm2020/user/lib/index.mjs +0 -8
- package/esm2020/user/lib/picture/index.mjs +0 -3
- package/esm2020/user/lib/picture/user-picture.component.mjs +0 -68
- package/esm2020/user/lib/picture/user-picture.module.mjs +0 -19
- package/esm2020/user/lib/select/homonyms/index.mjs +0 -4
- package/esm2020/user/lib/select/homonyms/user-homonyms.component.mjs +0 -72
- package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +0 -16
- package/esm2020/user/lib/select/homonyms/user-homonyms.service.mjs +0 -53
- package/esm2020/user/lib/select/index.mjs +0 -6
- package/esm2020/user/lib/select/input/index.mjs +0 -4
- package/esm2020/user/lib/select/input/user-select-input.component.mjs +0 -86
- package/esm2020/user/lib/select/input/user-select-input.module.mjs +0 -16
- package/esm2020/user/lib/select/input/user-select-input.translate.mjs +0 -19
- package/esm2020/user/lib/select/me/index.mjs +0 -3
- package/esm2020/user/lib/select/me/me-option.directive.mjs +0 -123
- package/esm2020/user/lib/select/me/me-option.module.mjs +0 -16
- package/esm2020/user/lib/select/searcher/index.mjs +0 -4
- package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +0 -187
- package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +0 -16
- package/esm2020/user/lib/select/searcher/user-searcher.translate.mjs +0 -16
- package/esm2020/user/lib/select/user-select.module.mjs +0 -19
- package/esm2020/user/lib/service/index.mjs +0 -3
- package/esm2020/user/lib/service/user-service.model.mjs +0 -4
- package/esm2020/user/lib/service/user-v3.service.mjs +0 -51
- package/esm2020/user/lib/tile/index.mjs +0 -3
- package/esm2020/user/lib/tile/user-tile.component.mjs +0 -67
- package/esm2020/user/lib/tile/user-tile.module.mjs +0 -20
- package/esm2020/user/lib/user.model.mjs +0 -2
- package/esm2020/user/lib/user.module.mjs +0 -19
- package/esm2020/user/lucca-front-ng-user.mjs +0 -5
- package/esm2020/user/public-api.mjs +0 -5
- package/fesm2015/lucca-front-ng-a11y.mjs +0 -64
- package/fesm2015/lucca-front-ng-a11y.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-animations.mjs +0 -264
- package/fesm2015/lucca-front-ng-animations.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-api.mjs +0 -878
- package/fesm2015/lucca-front-ng-api.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-core.mjs +0 -423
- package/fesm2015/lucca-front-ng-core.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-date.mjs +0 -905
- package/fesm2015/lucca-front-ng-date.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-department.mjs +0 -267
- package/fesm2015/lucca-front-ng-department.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-dropdown.mjs +0 -350
- package/fesm2015/lucca-front-ng-dropdown.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-establishment.mjs +0 -711
- package/fesm2015/lucca-front-ng-establishment.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-formly.mjs +0 -636
- package/fesm2015/lucca-front-ng-formly.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-input.mjs +0 -243
- package/fesm2015/lucca-front-ng-input.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-material.mjs +0 -23
- package/fesm2015/lucca-front-ng-material.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-modal.mjs +0 -289
- package/fesm2015/lucca-front-ng-modal.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-number.mjs +0 -62
- package/fesm2015/lucca-front-ng-number.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-option.mjs +0 -2020
- package/fesm2015/lucca-front-ng-option.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-picker.mjs +0 -15
- package/fesm2015/lucca-front-ng-popover.mjs +0 -1087
- package/fesm2015/lucca-front-ng-popover.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-popup.mjs +0 -223
- package/fesm2015/lucca-front-ng-popup.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-qualification.mjs +0 -121
- package/fesm2015/lucca-front-ng-qualification.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-safe-content.mjs +0 -46
- package/fesm2015/lucca-front-ng-safe-content.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-scroll.mjs +0 -101
- package/fesm2015/lucca-front-ng-scroll.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-select.mjs +0 -462
- package/fesm2015/lucca-front-ng-select.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-sidepanel.mjs +0 -77
- package/fesm2015/lucca-front-ng-sidepanel.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-simple-select-api.mjs +0 -137
- package/fesm2015/lucca-front-ng-simple-select-api.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-simple-select.mjs +0 -767
- package/fesm2015/lucca-front-ng-simple-select.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-title.mjs +0 -144
- package/fesm2015/lucca-front-ng-title.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-toast.mjs +0 -132
- package/fesm2015/lucca-front-ng-toast.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-tooltip.mjs +0 -302
- package/fesm2015/lucca-front-ng-tooltip.mjs.map +0 -1
- package/fesm2015/lucca-front-ng-user.mjs +0 -921
- package/fesm2015/lucca-front-ng-user.mjs.map +0 -1
- package/fesm2015/lucca-front-ng.mjs +0 -6
- package/fesm2020/lucca-front-ng-a11y.mjs +0 -62
- package/fesm2020/lucca-front-ng-a11y.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-animations.mjs +0 -264
- package/fesm2020/lucca-front-ng-api.mjs +0 -870
- package/fesm2020/lucca-front-ng-api.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-core.mjs +0 -419
- package/fesm2020/lucca-front-ng-core.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-date.mjs +0 -903
- package/fesm2020/lucca-front-ng-date.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-department.mjs +0 -263
- package/fesm2020/lucca-front-ng-department.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-dropdown.mjs +0 -350
- package/fesm2020/lucca-front-ng-dropdown.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-establishment.mjs +0 -701
- package/fesm2020/lucca-front-ng-establishment.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-formly.mjs +0 -634
- package/fesm2020/lucca-front-ng-formly.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-input.mjs +0 -243
- package/fesm2020/lucca-front-ng-input.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-material.mjs +0 -23
- package/fesm2020/lucca-front-ng-material.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-modal.mjs +0 -293
- package/fesm2020/lucca-front-ng-modal.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-number.mjs +0 -60
- package/fesm2020/lucca-front-ng-number.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-option.mjs +0 -2004
- package/fesm2020/lucca-front-ng-option.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-picker.mjs +0 -15
- package/fesm2020/lucca-front-ng-picker.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-popover.mjs +0 -1087
- package/fesm2020/lucca-front-ng-popover.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-popup.mjs +0 -223
- package/fesm2020/lucca-front-ng-popup.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-qualification.mjs +0 -121
- package/fesm2020/lucca-front-ng-qualification.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-safe-content.mjs +0 -46
- package/fesm2020/lucca-front-ng-safe-content.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-scroll.mjs +0 -101
- package/fesm2020/lucca-front-ng-scroll.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-select.mjs +0 -462
- package/fesm2020/lucca-front-ng-select.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-sidepanel.mjs +0 -77
- package/fesm2020/lucca-front-ng-sidepanel.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-simple-select-api.mjs +0 -145
- package/fesm2020/lucca-front-ng-simple-select-api.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-simple-select.mjs +0 -761
- package/fesm2020/lucca-front-ng-simple-select.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-title.mjs +0 -139
- package/fesm2020/lucca-front-ng-title.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-toast.mjs +0 -131
- package/fesm2020/lucca-front-ng-toast.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-tooltip.mjs +0 -301
- package/fesm2020/lucca-front-ng-tooltip.mjs.map +0 -1
- package/fesm2020/lucca-front-ng-user.mjs +0 -917
- package/fesm2020/lucca-front-ng-user.mjs.map +0 -1
- package/fesm2020/lucca-front-ng.mjs +0 -6
- package/fesm2020/lucca-front-ng.mjs.map +0 -1
- /package/{fesm2020 → fesm2022}/lucca-front-ng-animations.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/lucca-front-ng-picker.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/lucca-front-ng.mjs.map +0 -0
|
@@ -1,2004 +0,0 @@
|
|
|
1
|
-
import * as i1 from '@angular/common';
|
|
2
|
-
import { CommonModule, NgForOf, DOCUMENT } from '@angular/common';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { EventEmitter, forwardRef, ElementRef, Component, ChangeDetectionStrategy, Input, Output, ViewChild, NgModule, InjectionToken, ViewContainerRef, ContentChild, Directive, HostBinding, TemplateRef, Inject, ContentChildren } from '@angular/core';
|
|
5
|
-
import { getIntl, ALuOnScrollBottomSubscriber, ALuOnOpenSubscriber, ALuOnCloseSubscriber } from '@lucca-front/ng/core';
|
|
6
|
-
import { ALuInputDisplayer } from '@lucca-front/ng/input';
|
|
7
|
-
import { LuTooltipTriggerDirective } from '@lucca-front/ng/tooltip';
|
|
8
|
-
import * as i2 from '@angular/cdk/a11y';
|
|
9
|
-
import { A11yModule } from '@angular/cdk/a11y';
|
|
10
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
11
|
-
import { ALuPickerPanel } from '@lucca-front/ng/picker';
|
|
12
|
-
import { luTransformPopover } from '@lucca-front/ng/popover';
|
|
13
|
-
import { LuScrollDirective } from '@lucca-front/ng/scroll';
|
|
14
|
-
import { BehaviorSubject, combineLatest, merge, of, Subscription, Subject } from 'rxjs';
|
|
15
|
-
import { map, tap, switchMap, delay, share, first, startWith, shareReplay, mergeAll } from 'rxjs/operators';
|
|
16
|
-
import * as i1$1 from '@angular/forms';
|
|
17
|
-
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
18
|
-
|
|
19
|
-
class ALuOptionItem {
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* eslint-disable @angular-eslint/no-output-on-prefix */
|
|
23
|
-
class LuOptionItemComponent extends ALuOptionItem {
|
|
24
|
-
constructor(_cdr) {
|
|
25
|
-
super();
|
|
26
|
-
this._cdr = _cdr;
|
|
27
|
-
this._selected = false;
|
|
28
|
-
this._highlighted = false;
|
|
29
|
-
this.onSelect = new EventEmitter();
|
|
30
|
-
this._disabled = false;
|
|
31
|
-
}
|
|
32
|
-
get selected() {
|
|
33
|
-
return this._selected;
|
|
34
|
-
}
|
|
35
|
-
set selected(s) {
|
|
36
|
-
if (s !== this._selected) {
|
|
37
|
-
this._selected = s;
|
|
38
|
-
this._cdr.markForCheck();
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
get highlighted() {
|
|
42
|
-
return this._highlighted;
|
|
43
|
-
}
|
|
44
|
-
set highlighted(h) {
|
|
45
|
-
if (h !== this._highlighted) {
|
|
46
|
-
this._highlighted = h;
|
|
47
|
-
this._cdr.markForCheck();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
select() {
|
|
51
|
-
if (!this.disabled) {
|
|
52
|
-
this.onSelect.emit(this);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
get disabled() {
|
|
56
|
-
return this._disabled;
|
|
57
|
-
}
|
|
58
|
-
set disabled(d) {
|
|
59
|
-
this._disabled = d;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
LuOptionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
63
|
-
LuOptionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuOptionItemComponent, isStandalone: true, selector: "lu-option", inputs: { selected: "selected", highlighted: "highlighted", value: "value", disabled: "disabled" }, outputs: { onSelect: "onSelect" }, providers: [
|
|
64
|
-
{
|
|
65
|
-
provide: ALuOptionItem,
|
|
66
|
-
useExisting: forwardRef(() => LuOptionItemComponent),
|
|
67
|
-
multi: true,
|
|
68
|
-
},
|
|
69
|
-
], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"optionItem\" #element>\r\n\t<div\r\n\t\tclass=\"optionItem-value\"\r\n\t\t(click)=\"select()\"\r\n\t\t[class.is-selected]=\"selected\"\r\n\t\t[class.is-highlighted]=\"highlighted\"\r\n\t\t[class.is-disabled]=\"disabled\"\r\n\t>\r\n\t\t<ng-content></ng-content>\r\n\t</div>\r\n</div>\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{display:block}.optionItem{position:relative}.optionItem-value{display:block;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);transition:background-color 50ms;cursor:pointer}.optionItem-value.is-selected{background-color:var(--palettes-primary-50)}.optionItem-value:hover,.optionItem-value.is-highlighted,.optionItem-value.is-focus{background-color:var(--palettes-grey-50)}:host-context(.lu-select-value) .optionItem-value{padding:0;overflow:hidden;text-overflow:ellipsis}:host-context(.lu-select-value) .optionItem-value:hover,:host-context(.lu-select-value) .optionItem-value.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted{background-color:inherit}:host-context(.mod-multiple) .optionItem-value{position:relative;padding-left:var(--components-options-item-multiple-padding)}:host-context(.mod-multiple) .optionItem-value:after,:host-context(.mod-multiple) .optionItem-value:before{display:block;position:absolute;left:var(--components-options-checkbox-left);top:50%;transform:translateY(-50%)}:host-context(.mod-multiple) .optionItem-value:before{content:\"\";border-radius:var(--components-options-checkbox-border-radius);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-border-color);display:block;height:var(--components-options-checkbox-size);transition:all .1s;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:transparent;font-size:1rem;line-height:var(--components-options-checkbox-size);padding-top:.05rem;position:absolute;text-align:center;transform:translateY(-50%) scale(0);transition:all .1s;width:var(--components-options-checkbox-size)}@supports (content: \"*\"/\"\"){:host-context(.mod-multiple) .optionItem-value:after{content:\"\\e91a\"/\"\"}}@supports not (content: \"*\"/\"\"){:host-context(.mod-multiple) .optionItem-value:after{content:\"\\e91a\"}}:host-context(.mod-multiple) .optionItem-value.is-selected:before{background-color:var(--components-options-checkbox-color);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple) .optionItem-value.is-selected:after{color:var(--colors-white-color);transform:translateY(-50%) scale(1)}:host-context(.mod-multiple) .optionItem-value:hover:before{box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple).establishmentOption .optionItem-value{position:relative;padding-left:calc(2 * var(--components-options-item-padding-horizontal) + var(--components-options-checkbox-size) + var(--spacings-XS))}:host-context(.mod-multiple).establishmentOption .optionItem-value:before,:host-context(.mod-multiple).establishmentOption .optionItem-value:after{left:calc(2 * var(--components-options-item-padding-horizontal))}.is-disabled{color:var(--palettes-grey-500);-webkit-user-select:none;user-select:none;cursor:default}.is-disabled.is-selected{background-color:var(--palettes-grey-100)}.is-disabled:hover{background-color:inherit}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionItemComponent, decorators: [{
|
|
71
|
-
type: Component,
|
|
72
|
-
args: [{ selector: 'lu-option', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule], standalone: true, providers: [
|
|
73
|
-
{
|
|
74
|
-
provide: ALuOptionItem,
|
|
75
|
-
useExisting: forwardRef(() => LuOptionItemComponent),
|
|
76
|
-
multi: true,
|
|
77
|
-
},
|
|
78
|
-
], template: "<div class=\"optionItem\" #element>\r\n\t<div\r\n\t\tclass=\"optionItem-value\"\r\n\t\t(click)=\"select()\"\r\n\t\t[class.is-selected]=\"selected\"\r\n\t\t[class.is-highlighted]=\"highlighted\"\r\n\t\t[class.is-disabled]=\"disabled\"\r\n\t>\r\n\t\t<ng-content></ng-content>\r\n\t</div>\r\n</div>\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{display:block}.optionItem{position:relative}.optionItem-value{display:block;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);transition:background-color 50ms;cursor:pointer}.optionItem-value.is-selected{background-color:var(--palettes-primary-50)}.optionItem-value:hover,.optionItem-value.is-highlighted,.optionItem-value.is-focus{background-color:var(--palettes-grey-50)}:host-context(.lu-select-value) .optionItem-value{padding:0;overflow:hidden;text-overflow:ellipsis}:host-context(.lu-select-value) .optionItem-value:hover,:host-context(.lu-select-value) .optionItem-value.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted{background-color:inherit}:host-context(.mod-multiple) .optionItem-value{position:relative;padding-left:var(--components-options-item-multiple-padding)}:host-context(.mod-multiple) .optionItem-value:after,:host-context(.mod-multiple) .optionItem-value:before{display:block;position:absolute;left:var(--components-options-checkbox-left);top:50%;transform:translateY(-50%)}:host-context(.mod-multiple) .optionItem-value:before{content:\"\";border-radius:var(--components-options-checkbox-border-radius);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-border-color);display:block;height:var(--components-options-checkbox-size);transition:all .1s;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:transparent;font-size:1rem;line-height:var(--components-options-checkbox-size);padding-top:.05rem;position:absolute;text-align:center;transform:translateY(-50%) scale(0);transition:all .1s;width:var(--components-options-checkbox-size)}@supports (content: \"*\"/\"\"){:host-context(.mod-multiple) .optionItem-value:after{content:\"\\e91a\"/\"\"}}@supports not (content: \"*\"/\"\"){:host-context(.mod-multiple) .optionItem-value:after{content:\"\\e91a\"}}:host-context(.mod-multiple) .optionItem-value.is-selected:before{background-color:var(--components-options-checkbox-color);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple) .optionItem-value.is-selected:after{color:var(--colors-white-color);transform:translateY(-50%) scale(1)}:host-context(.mod-multiple) .optionItem-value:hover:before{box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple).establishmentOption .optionItem-value{position:relative;padding-left:calc(2 * var(--components-options-item-padding-horizontal) + var(--components-options-checkbox-size) + var(--spacings-XS))}:host-context(.mod-multiple).establishmentOption .optionItem-value:before,:host-context(.mod-multiple).establishmentOption .optionItem-value:after{left:calc(2 * var(--components-options-item-padding-horizontal))}.is-disabled{color:var(--palettes-grey-500);-webkit-user-select:none;user-select:none;cursor:default}.is-disabled.is-selected{background-color:var(--palettes-grey-100)}.is-disabled:hover{background-color:inherit}\n"] }]
|
|
79
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selected: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], highlighted: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], value: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], onSelect: [{
|
|
86
|
-
type: Output
|
|
87
|
-
}], disabled: [{
|
|
88
|
-
type: Input
|
|
89
|
-
}], element: [{
|
|
90
|
-
type: ViewChild,
|
|
91
|
-
args: ['element', { read: ElementRef, static: true }]
|
|
92
|
-
}] } });
|
|
93
|
-
|
|
94
|
-
class LuOptionItemModule {
|
|
95
|
-
}
|
|
96
|
-
LuOptionItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
97
|
-
LuOptionItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionItemModule, imports: [LuOptionItemComponent], exports: [LuOptionItemComponent] });
|
|
98
|
-
LuOptionItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionItemModule, imports: [LuOptionItemComponent] });
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionItemModule, decorators: [{
|
|
100
|
-
type: NgModule,
|
|
101
|
-
args: [{
|
|
102
|
-
imports: [LuOptionItemComponent],
|
|
103
|
-
exports: [LuOptionItemComponent],
|
|
104
|
-
}]
|
|
105
|
-
}] });
|
|
106
|
-
|
|
107
|
-
class ALuTreeOptionItem extends ALuOptionItem {
|
|
108
|
-
get allChildren() {
|
|
109
|
-
return this.children.map((c) => [c, ...c.allChildren]).reduce((aggr, val) => [...aggr, ...val], []);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
const LU_TREE_OPTION_ITEM_TRANSLATIONS = new InjectionToken('LuTreeOptionItemTranslations', {
|
|
114
|
-
factory: () => luTreeOptionItemTranslations,
|
|
115
|
-
});
|
|
116
|
-
const luTreeOptionItemTranslations = {
|
|
117
|
-
en: {
|
|
118
|
-
parentOnly: 'Parent only',
|
|
119
|
-
childrenOnly: 'Children only',
|
|
120
|
-
},
|
|
121
|
-
fr: {
|
|
122
|
-
parentOnly: 'Seulement le parent',
|
|
123
|
-
childrenOnly: 'Seulement les enfants',
|
|
124
|
-
},
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
/* eslint-disable @angular-eslint/no-output-on-prefix */
|
|
128
|
-
class LuTreeOptionItemComponent extends ALuTreeOptionItem {
|
|
129
|
-
constructor(_cdr) {
|
|
130
|
-
super();
|
|
131
|
-
this._cdr = _cdr;
|
|
132
|
-
this._children = [];
|
|
133
|
-
this.onSelect = new EventEmitter();
|
|
134
|
-
this.onSelectSelf = new EventEmitter();
|
|
135
|
-
this.onSelectChildren = new EventEmitter();
|
|
136
|
-
this._selected = false;
|
|
137
|
-
this._highlighted = false;
|
|
138
|
-
this.intl = getIntl(LU_TREE_OPTION_ITEM_TRANSLATIONS);
|
|
139
|
-
}
|
|
140
|
-
select() {
|
|
141
|
-
if (this.disabled) {
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
this.onSelect.emit(this);
|
|
145
|
-
}
|
|
146
|
-
selectSelf() {
|
|
147
|
-
if (this.disabled) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
this.onSelectSelf.emit(this);
|
|
151
|
-
}
|
|
152
|
-
selectChildren() {
|
|
153
|
-
this.onSelectChildren.emit(this);
|
|
154
|
-
}
|
|
155
|
-
set tree(t) {
|
|
156
|
-
this._tree = t;
|
|
157
|
-
this._renderValue(t.value);
|
|
158
|
-
this._renderChildren(t.children);
|
|
159
|
-
}
|
|
160
|
-
get value() {
|
|
161
|
-
return this._tree.value;
|
|
162
|
-
}
|
|
163
|
-
get children() {
|
|
164
|
-
return this._children;
|
|
165
|
-
}
|
|
166
|
-
set children(c) {
|
|
167
|
-
this._children = c;
|
|
168
|
-
}
|
|
169
|
-
get hasChildren() {
|
|
170
|
-
return !!this.children && this.children.length > 0;
|
|
171
|
-
}
|
|
172
|
-
get selected() {
|
|
173
|
-
return this._selected;
|
|
174
|
-
}
|
|
175
|
-
set selected(s) {
|
|
176
|
-
if (s !== this._selected && !this.disabled) {
|
|
177
|
-
this._selected = s;
|
|
178
|
-
this._cdr.markForCheck();
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
get highlighted() {
|
|
182
|
-
return this._highlighted;
|
|
183
|
-
}
|
|
184
|
-
set highlighted(h) {
|
|
185
|
-
if (h !== this._highlighted) {
|
|
186
|
-
this._highlighted = h;
|
|
187
|
-
this._cdr.markForCheck();
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
get disabled() {
|
|
191
|
-
return this._tree.disabled;
|
|
192
|
-
}
|
|
193
|
-
set _contentChildDisplayer(displayer) {
|
|
194
|
-
this._displayer = displayer;
|
|
195
|
-
}
|
|
196
|
-
_renderValue(value) {
|
|
197
|
-
const evr = this._displayer.getViewRef(value);
|
|
198
|
-
this._valueVCR.clear();
|
|
199
|
-
this._valueVCR.insert(evr);
|
|
200
|
-
}
|
|
201
|
-
_renderChildren(children = []) {
|
|
202
|
-
this._childrenVCR.clear();
|
|
203
|
-
this.children = children.map((c) => {
|
|
204
|
-
const ref = this._childrenVCR.createComponent(LuTreeOptionItemComponent);
|
|
205
|
-
ref.instance._displayer = this._displayer;
|
|
206
|
-
ref.instance.tree = c;
|
|
207
|
-
return ref.instance; //yolo
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
LuTreeOptionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
212
|
-
LuTreeOptionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuTreeOptionItemComponent, isStandalone: true, selector: "lu-tree-option", inputs: { tree: "tree", selected: "selected", highlighted: "highlighted" }, outputs: { onSelect: "onSelect", onSelectSelf: "onSelectSelf", onSelectChildren: "onSelectChildren" }, providers: [
|
|
213
|
-
{
|
|
214
|
-
provide: ALuTreeOptionItem,
|
|
215
|
-
useExisting: forwardRef(() => LuTreeOptionItemComponent),
|
|
216
|
-
multi: true,
|
|
217
|
-
},
|
|
218
|
-
], queries: [{ propertyName: "_contentChildDisplayer", first: true, predicate: ALuInputDisplayer, descendants: true, static: true }], viewQueries: [{ propertyName: "_valueVCR", first: true, predicate: ["value"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "_childrenVCR", first: true, predicate: ["children"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"optionItem\" #element>\r\n\t<div\r\n\t\tclass=\"optionItem-value\"\r\n\t\t(click)=\"select()\"\r\n\t\t[class.is-disabled]=\"disabled\"\r\n\t\t[class.is-selected]=\"selected\"\r\n\t\t[class.is-highlighted]=\"highlighted\"\r\n\t>\r\n\t\t<ng-container #value></ng-container>\r\n\t</div>\r\n\t<div class=\"optionItem-icons\" *ngIf=\"hasChildren\">\r\n\t\t<span *ngIf=\"!_tree.disabled\" class=\"optionItem-icon parentOnly\" (click)=\"selectSelf()\" [luTooltip]=\"intl.parentOnly\">\r\n\t\t\t<svg class=\"optionItem-icon-shape\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\r\n\t\t\t\t<path\r\n\t\t\t\t\topacity=\"0.2\"\r\n\t\t\t\t\td=\"M8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18Z\"\r\n\t\t\t\t/>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7ZM4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7Z\"\r\n\t\t\t\t/>\r\n\t\t\t</svg>\r\n\t\t</span>\r\n\t\t<span class=\"optionItem-icon childrenOnly\" (click)=\"selectChildren()\" [luTooltip]=\"intl.childrenOnly\">\r\n\t\t\t<svg class=\"optionItem-icon-shape\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18Z\"\r\n\t\t\t\t/>\r\n\t\t\t\t<path\r\n\t\t\t\t\topacity=\"0.2\"\r\n\t\t\t\t\td=\"M4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7ZM4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7Z\"\r\n\t\t\t\t/>\r\n\t\t\t</svg>\r\n\t\t</span>\r\n\t</div>\r\n</div>\r\n\r\n<div #children class=\"children\">\r\n\t<ng-container #children></ng-container>\r\n</div>\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{display:block}.optionItem{position:relative}.optionItem-value{display:block;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);transition:background-color 50ms;cursor:pointer}.optionItem-value.is-selected{background-color:var(--palettes-primary-50)}.optionItem-value:hover,.optionItem-value.is-highlighted,.optionItem-value.is-focus{background-color:var(--palettes-grey-50)}:host-context(.lu-select-value) .optionItem-value{padding:0;overflow:hidden;text-overflow:ellipsis}:host-context(.lu-select-value) .optionItem-value:hover,:host-context(.lu-select-value) .optionItem-value.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted{background-color:inherit}:host-context(.mod-multiple) .optionItem-value{position:relative;padding-left:var(--components-options-item-multiple-padding)}:host-context(.mod-multiple) .optionItem-value:after,:host-context(.mod-multiple) .optionItem-value:before{display:block;position:absolute;left:var(--components-options-checkbox-left);top:50%;transform:translateY(-50%)}:host-context(.mod-multiple) .optionItem-value:before{content:\"\";border-radius:var(--components-options-checkbox-border-radius);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-border-color);display:block;height:var(--components-options-checkbox-size);transition:all .1s;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:transparent;font-size:1rem;line-height:var(--components-options-checkbox-size);padding-top:.05rem;position:absolute;text-align:center;transform:translateY(-50%) scale(0);transition:all .1s;width:var(--components-options-checkbox-size)}@supports (content: \"*\"/\"\"){:host-context(.mod-multiple) .optionItem-value:after{content:\"\\e91a\"/\"\"}}@supports not (content: \"*\"/\"\"){:host-context(.mod-multiple) .optionItem-value:after{content:\"\\e91a\"}}:host-context(.mod-multiple) .optionItem-value.is-selected:before{background-color:var(--components-options-checkbox-color);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple) .optionItem-value.is-selected:after{color:var(--colors-white-color);transform:translateY(-50%) scale(1)}:host-context(.mod-multiple) .optionItem-value:hover:before{box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple).establishmentOption .optionItem-value{position:relative;padding-left:calc(2 * var(--components-options-item-padding-horizontal) + var(--components-options-checkbox-size) + var(--spacings-XS))}:host-context(.mod-multiple).establishmentOption .optionItem-value:before,:host-context(.mod-multiple).establishmentOption .optionItem-value:after{left:calc(2 * var(--components-options-item-padding-horizontal))}.is-disabled{color:var(--palettes-grey-500);-webkit-user-select:none;user-select:none;cursor:default}.is-disabled.is-selected{background-color:var(--palettes-grey-100)}.is-disabled:hover{background-color:inherit}.optionItem:hover .optionItem-value{background:var(--palettes-grey-50)}.optionItem:hover .optionItem-icons{opacity:1}.optionItem-value{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal)}.optionItem-icons{display:none;position:absolute;top:var(--spacings-XS);right:var(--spacings-XS);opacity:0;transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon{cursor:pointer;opacity:.66;margin-left:var(--spacings-XS);transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon:hover{opacity:1}.optionItem-icon-shape{fill:var(--components-options-item-icon-color);width:1.4rem;height:1.4rem}:host-context(.lu-picker-panel){padding:0}:host-context(.lu-picker-panel) .optionItem-value:before{top:1.3rem;left:var(--spacings-XS);pointer-events:none}:host-context(.lu-picker-panel) .optionItem-value:after{top:1.3rem;left:var(--spacings-XS);pointer-events:none}:host-context(.lu-picker-panel.mod-multiple) .optionItem-icons{display:block}:host-context(.lu-picker-panel.mod-multiple) .optionItem-value{padding-right:4rem}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value{padding-left:var(--spacings-S)}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value:before{left:var(--spacings-S)}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value:after{left:var(--spacings-S)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 2)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 2)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 2)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 2 + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 3)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 3)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 3)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 3 + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 4)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 4)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 4)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 4 + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 5)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 5)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 5)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 5 + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 6)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 6)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 6)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 6 + 1.5rem)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition", "luTooltipWhenEllipsis"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionItemComponent, decorators: [{
|
|
220
|
-
type: Component,
|
|
221
|
-
args: [{ selector: 'lu-tree-option', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, LuTooltipTriggerDirective], providers: [
|
|
222
|
-
{
|
|
223
|
-
provide: ALuTreeOptionItem,
|
|
224
|
-
useExisting: forwardRef(() => LuTreeOptionItemComponent),
|
|
225
|
-
multi: true,
|
|
226
|
-
},
|
|
227
|
-
], template: "<div class=\"optionItem\" #element>\r\n\t<div\r\n\t\tclass=\"optionItem-value\"\r\n\t\t(click)=\"select()\"\r\n\t\t[class.is-disabled]=\"disabled\"\r\n\t\t[class.is-selected]=\"selected\"\r\n\t\t[class.is-highlighted]=\"highlighted\"\r\n\t>\r\n\t\t<ng-container #value></ng-container>\r\n\t</div>\r\n\t<div class=\"optionItem-icons\" *ngIf=\"hasChildren\">\r\n\t\t<span *ngIf=\"!_tree.disabled\" class=\"optionItem-icon parentOnly\" (click)=\"selectSelf()\" [luTooltip]=\"intl.parentOnly\">\r\n\t\t\t<svg class=\"optionItem-icon-shape\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\r\n\t\t\t\t<path\r\n\t\t\t\t\topacity=\"0.2\"\r\n\t\t\t\t\td=\"M8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18Z\"\r\n\t\t\t\t/>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7ZM4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7Z\"\r\n\t\t\t\t/>\r\n\t\t\t</svg>\r\n\t\t</span>\r\n\t\t<span class=\"optionItem-icon childrenOnly\" (click)=\"selectChildren()\" [luTooltip]=\"intl.childrenOnly\">\r\n\t\t\t<svg class=\"optionItem-icon-shape\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18Z\"\r\n\t\t\t\t/>\r\n\t\t\t\t<path\r\n\t\t\t\t\topacity=\"0.2\"\r\n\t\t\t\t\td=\"M4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7ZM4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7Z\"\r\n\t\t\t\t/>\r\n\t\t\t</svg>\r\n\t\t</span>\r\n\t</div>\r\n</div>\r\n\r\n<div #children class=\"children\">\r\n\t<ng-container #children></ng-container>\r\n</div>\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{display:block}.optionItem{position:relative}.optionItem-value{display:block;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);transition:background-color 50ms;cursor:pointer}.optionItem-value.is-selected{background-color:var(--palettes-primary-50)}.optionItem-value:hover,.optionItem-value.is-highlighted,.optionItem-value.is-focus{background-color:var(--palettes-grey-50)}:host-context(.lu-select-value) .optionItem-value{padding:0;overflow:hidden;text-overflow:ellipsis}:host-context(.lu-select-value) .optionItem-value:hover,:host-context(.lu-select-value) .optionItem-value.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted{background-color:inherit}:host-context(.mod-multiple) .optionItem-value{position:relative;padding-left:var(--components-options-item-multiple-padding)}:host-context(.mod-multiple) .optionItem-value:after,:host-context(.mod-multiple) .optionItem-value:before{display:block;position:absolute;left:var(--components-options-checkbox-left);top:50%;transform:translateY(-50%)}:host-context(.mod-multiple) .optionItem-value:before{content:\"\";border-radius:var(--components-options-checkbox-border-radius);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-border-color);display:block;height:var(--components-options-checkbox-size);transition:all .1s;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:transparent;font-size:1rem;line-height:var(--components-options-checkbox-size);padding-top:.05rem;position:absolute;text-align:center;transform:translateY(-50%) scale(0);transition:all .1s;width:var(--components-options-checkbox-size)}@supports (content: \"*\"/\"\"){:host-context(.mod-multiple) .optionItem-value:after{content:\"\\e91a\"/\"\"}}@supports not (content: \"*\"/\"\"){:host-context(.mod-multiple) .optionItem-value:after{content:\"\\e91a\"}}:host-context(.mod-multiple) .optionItem-value.is-selected:before{background-color:var(--components-options-checkbox-color);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple) .optionItem-value.is-selected:after{color:var(--colors-white-color);transform:translateY(-50%) scale(1)}:host-context(.mod-multiple) .optionItem-value:hover:before{box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple).establishmentOption .optionItem-value{position:relative;padding-left:calc(2 * var(--components-options-item-padding-horizontal) + var(--components-options-checkbox-size) + var(--spacings-XS))}:host-context(.mod-multiple).establishmentOption .optionItem-value:before,:host-context(.mod-multiple).establishmentOption .optionItem-value:after{left:calc(2 * var(--components-options-item-padding-horizontal))}.is-disabled{color:var(--palettes-grey-500);-webkit-user-select:none;user-select:none;cursor:default}.is-disabled.is-selected{background-color:var(--palettes-grey-100)}.is-disabled:hover{background-color:inherit}.optionItem:hover .optionItem-value{background:var(--palettes-grey-50)}.optionItem:hover .optionItem-icons{opacity:1}.optionItem-value{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal)}.optionItem-icons{display:none;position:absolute;top:var(--spacings-XS);right:var(--spacings-XS);opacity:0;transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon{cursor:pointer;opacity:.66;margin-left:var(--spacings-XS);transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon:hover{opacity:1}.optionItem-icon-shape{fill:var(--components-options-item-icon-color);width:1.4rem;height:1.4rem}:host-context(.lu-picker-panel){padding:0}:host-context(.lu-picker-panel) .optionItem-value:before{top:1.3rem;left:var(--spacings-XS);pointer-events:none}:host-context(.lu-picker-panel) .optionItem-value:after{top:1.3rem;left:var(--spacings-XS);pointer-events:none}:host-context(.lu-picker-panel.mod-multiple) .optionItem-icons{display:block}:host-context(.lu-picker-panel.mod-multiple) .optionItem-value{padding-right:4rem}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value{padding-left:var(--spacings-S)}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value:before{left:var(--spacings-S)}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value:after{left:var(--spacings-S)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 2)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 2)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 2)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 2 + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 3)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 3)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 3)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 3 + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 4)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 4)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 4)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 4 + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 5)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 5)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 5)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 5 + 1.5rem)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 6)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:calc(var(--spacings-S) * 6)}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:calc(var(--spacings-S) * 6)}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:calc(var(--spacings-S) * 6 + 1.5rem)}\n"] }]
|
|
228
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { _valueVCR: [{
|
|
229
|
-
type: ViewChild,
|
|
230
|
-
args: ['value', { static: true, read: ViewContainerRef }]
|
|
231
|
-
}], _childrenVCR: [{
|
|
232
|
-
type: ViewChild,
|
|
233
|
-
args: ['children', { static: true, read: ViewContainerRef }]
|
|
234
|
-
}], element: [{
|
|
235
|
-
type: ViewChild,
|
|
236
|
-
args: ['element', { read: ElementRef, static: true }]
|
|
237
|
-
}], onSelect: [{
|
|
238
|
-
type: Output
|
|
239
|
-
}], onSelectSelf: [{
|
|
240
|
-
type: Output
|
|
241
|
-
}], onSelectChildren: [{
|
|
242
|
-
type: Output
|
|
243
|
-
}], tree: [{
|
|
244
|
-
type: Input
|
|
245
|
-
}], selected: [{
|
|
246
|
-
type: Input
|
|
247
|
-
}], highlighted: [{
|
|
248
|
-
type: Input
|
|
249
|
-
}], _contentChildDisplayer: [{
|
|
250
|
-
type: ContentChild,
|
|
251
|
-
args: [ALuInputDisplayer, { static: true }]
|
|
252
|
-
}] } });
|
|
253
|
-
|
|
254
|
-
class LuTreeOptionItemModule {
|
|
255
|
-
}
|
|
256
|
-
LuTreeOptionItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
257
|
-
LuTreeOptionItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionItemModule, imports: [LuTreeOptionItemComponent], exports: [LuTreeOptionItemComponent] });
|
|
258
|
-
LuTreeOptionItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionItemModule, imports: [LuTreeOptionItemComponent] });
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionItemModule, decorators: [{
|
|
260
|
-
type: NgModule,
|
|
261
|
-
args: [{
|
|
262
|
-
imports: [LuTreeOptionItemComponent],
|
|
263
|
-
exports: [LuTreeOptionItemComponent],
|
|
264
|
-
}]
|
|
265
|
-
}] });
|
|
266
|
-
|
|
267
|
-
class ALuOptionOperator {
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
class LuOptionFeederComponent {
|
|
271
|
-
constructor() {
|
|
272
|
-
this.outOptions$ = new BehaviorSubject([]);
|
|
273
|
-
}
|
|
274
|
-
set options(options) {
|
|
275
|
-
this.outOptions$.next(options);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
LuOptionFeederComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionFeederComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
279
|
-
LuOptionFeederComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuOptionFeederComponent, isStandalone: true, selector: "lu-option-feeder", inputs: { options: "options" }, providers: [
|
|
280
|
-
{
|
|
281
|
-
provide: ALuOptionOperator,
|
|
282
|
-
useExisting: forwardRef(() => LuOptionFeederComponent),
|
|
283
|
-
multi: true,
|
|
284
|
-
},
|
|
285
|
-
], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionFeederComponent, decorators: [{
|
|
287
|
-
type: Component,
|
|
288
|
-
args: [{ selector: 'lu-option-feeder', template: '', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [
|
|
289
|
-
{
|
|
290
|
-
provide: ALuOptionOperator,
|
|
291
|
-
useExisting: forwardRef(() => LuOptionFeederComponent),
|
|
292
|
-
multi: true,
|
|
293
|
-
},
|
|
294
|
-
] }]
|
|
295
|
-
}], propDecorators: { options: [{
|
|
296
|
-
type: Input
|
|
297
|
-
}] } });
|
|
298
|
-
|
|
299
|
-
class LuOptionFeederModule {
|
|
300
|
-
}
|
|
301
|
-
LuOptionFeederModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionFeederModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
302
|
-
LuOptionFeederModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionFeederModule, imports: [LuOptionFeederComponent], exports: [LuOptionFeederComponent] });
|
|
303
|
-
LuOptionFeederModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionFeederModule, imports: [LuOptionFeederComponent] });
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionFeederModule, decorators: [{
|
|
305
|
-
type: NgModule,
|
|
306
|
-
args: [{
|
|
307
|
-
imports: [LuOptionFeederComponent],
|
|
308
|
-
exports: [LuOptionFeederComponent],
|
|
309
|
-
}]
|
|
310
|
-
}] });
|
|
311
|
-
|
|
312
|
-
class ALuTreeOptionOperator extends ALuOptionOperator {
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
class LuTreeOptionFeederComponent {
|
|
316
|
-
constructor() {
|
|
317
|
-
this.outOptions$ = new BehaviorSubject([]);
|
|
318
|
-
}
|
|
319
|
-
set options(options) {
|
|
320
|
-
this.outOptions$.next(options);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
LuTreeOptionFeederComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionFeederComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
324
|
-
LuTreeOptionFeederComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuTreeOptionFeederComponent, isStandalone: true, selector: "lu-tree-option-feeder", inputs: { options: "options" }, providers: [
|
|
325
|
-
{
|
|
326
|
-
provide: ALuTreeOptionOperator,
|
|
327
|
-
useExisting: forwardRef(() => LuTreeOptionFeederComponent),
|
|
328
|
-
multi: true,
|
|
329
|
-
},
|
|
330
|
-
], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionFeederComponent, decorators: [{
|
|
332
|
-
type: Component,
|
|
333
|
-
args: [{ selector: 'lu-tree-option-feeder', template: '', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [
|
|
334
|
-
{
|
|
335
|
-
provide: ALuTreeOptionOperator,
|
|
336
|
-
useExisting: forwardRef(() => LuTreeOptionFeederComponent),
|
|
337
|
-
multi: true,
|
|
338
|
-
},
|
|
339
|
-
] }]
|
|
340
|
-
}], propDecorators: { options: [{
|
|
341
|
-
type: Input
|
|
342
|
-
}] } });
|
|
343
|
-
|
|
344
|
-
class LuTreeOptionFeederModule {
|
|
345
|
-
}
|
|
346
|
-
LuTreeOptionFeederModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionFeederModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
347
|
-
LuTreeOptionFeederModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionFeederModule, imports: [LuTreeOptionFeederComponent], exports: [LuTreeOptionFeederComponent] });
|
|
348
|
-
LuTreeOptionFeederModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionFeederModule, imports: [LuTreeOptionFeederComponent] });
|
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionFeederModule, decorators: [{
|
|
350
|
-
type: NgModule,
|
|
351
|
-
args: [{
|
|
352
|
-
imports: [LuTreeOptionFeederComponent],
|
|
353
|
-
exports: [LuTreeOptionFeederComponent],
|
|
354
|
-
}]
|
|
355
|
-
}] });
|
|
356
|
-
|
|
357
|
-
const MAGIC_STEP$1 = 10;
|
|
358
|
-
class LuOptionPagerComponent extends ALuOptionOperator {
|
|
359
|
-
constructor() {
|
|
360
|
-
super(...arguments);
|
|
361
|
-
this.paging$ = new BehaviorSubject(MAGIC_STEP$1);
|
|
362
|
-
}
|
|
363
|
-
set inOptions$(in$) {
|
|
364
|
-
this.outOptions$ = combineLatest([in$, this.paging$]).pipe(map(([options, paging]) => {
|
|
365
|
-
return (options || []).slice(0, paging);
|
|
366
|
-
}));
|
|
367
|
-
}
|
|
368
|
-
next() {
|
|
369
|
-
this.paging$.next(this.paging$.value + MAGIC_STEP$1);
|
|
370
|
-
}
|
|
371
|
-
onScrollBottom() {
|
|
372
|
-
this.next();
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
LuOptionPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPagerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
376
|
-
LuOptionPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuOptionPagerComponent, isStandalone: true, selector: "lu-option-pager", providers: [
|
|
377
|
-
{
|
|
378
|
-
provide: ALuOptionOperator,
|
|
379
|
-
useExisting: forwardRef(() => LuOptionPagerComponent),
|
|
380
|
-
multi: true,
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
provide: ALuOnScrollBottomSubscriber,
|
|
384
|
-
useExisting: forwardRef(() => LuOptionPagerComponent),
|
|
385
|
-
multi: true,
|
|
386
|
-
},
|
|
387
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPagerComponent, decorators: [{
|
|
389
|
-
type: Component,
|
|
390
|
-
args: [{ selector: 'lu-option-pager', template: '', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [
|
|
391
|
-
{
|
|
392
|
-
provide: ALuOptionOperator,
|
|
393
|
-
useExisting: forwardRef(() => LuOptionPagerComponent),
|
|
394
|
-
multi: true,
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
provide: ALuOnScrollBottomSubscriber,
|
|
398
|
-
useExisting: forwardRef(() => LuOptionPagerComponent),
|
|
399
|
-
multi: true,
|
|
400
|
-
},
|
|
401
|
-
] }]
|
|
402
|
-
}] });
|
|
403
|
-
|
|
404
|
-
class LuOptionPagerModule {
|
|
405
|
-
}
|
|
406
|
-
LuOptionPagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
407
|
-
LuOptionPagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPagerModule, imports: [LuOptionPagerComponent], exports: [LuOptionPagerComponent] });
|
|
408
|
-
LuOptionPagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPagerModule, imports: [LuOptionPagerComponent] });
|
|
409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPagerModule, decorators: [{
|
|
410
|
-
type: NgModule,
|
|
411
|
-
args: [{
|
|
412
|
-
imports: [LuOptionPagerComponent],
|
|
413
|
-
exports: [LuOptionPagerComponent],
|
|
414
|
-
}]
|
|
415
|
-
}] });
|
|
416
|
-
|
|
417
|
-
const MAGIC_STEP = 10;
|
|
418
|
-
class LuTreeOptionPagerComponent extends ALuTreeOptionOperator {
|
|
419
|
-
constructor() {
|
|
420
|
-
super(...arguments);
|
|
421
|
-
this.paging$ = new BehaviorSubject(MAGIC_STEP);
|
|
422
|
-
}
|
|
423
|
-
set inOptions$(in$) {
|
|
424
|
-
this.outOptions$ = combineLatest([in$, this.paging$]).pipe(map(([options, paging]) => {
|
|
425
|
-
return this.trim(options, paging);
|
|
426
|
-
}));
|
|
427
|
-
}
|
|
428
|
-
next() {
|
|
429
|
-
this.paging$.next(this.paging$.value + MAGIC_STEP);
|
|
430
|
-
}
|
|
431
|
-
onScrollBottom() {
|
|
432
|
-
this.next();
|
|
433
|
-
}
|
|
434
|
-
trim(trees = [], paging = MAGIC_STEP) {
|
|
435
|
-
const flat = this.flatten(trees);
|
|
436
|
-
const flatTrimmed = flat.slice(0, paging);
|
|
437
|
-
return this.filter(trees, flatTrimmed);
|
|
438
|
-
}
|
|
439
|
-
flatten(trees = []) {
|
|
440
|
-
return trees.map((t) => [t.value, ...this.flatten(t.children)]).reduce((a, v) => [...a, ...v], []);
|
|
441
|
-
}
|
|
442
|
-
filter(trees = [], values) {
|
|
443
|
-
return trees
|
|
444
|
-
.map((t) => {
|
|
445
|
-
if (!values.some((v) => v === t.value)) {
|
|
446
|
-
return undefined;
|
|
447
|
-
}
|
|
448
|
-
return { ...t, children: this.filter(t.children, values) };
|
|
449
|
-
})
|
|
450
|
-
.filter((t) => !!t);
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
LuTreeOptionPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPagerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
454
|
-
LuTreeOptionPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuTreeOptionPagerComponent, isStandalone: true, selector: "lu-tree-option-pager", providers: [
|
|
455
|
-
{
|
|
456
|
-
provide: ALuTreeOptionOperator,
|
|
457
|
-
useExisting: forwardRef(() => LuTreeOptionPagerComponent),
|
|
458
|
-
multi: true,
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
provide: ALuOnScrollBottomSubscriber,
|
|
462
|
-
useExisting: forwardRef(() => LuTreeOptionPagerComponent),
|
|
463
|
-
multi: true,
|
|
464
|
-
},
|
|
465
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPagerComponent, decorators: [{
|
|
467
|
-
type: Component,
|
|
468
|
-
args: [{ selector: 'lu-tree-option-pager', template: '', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
469
|
-
{
|
|
470
|
-
provide: ALuTreeOptionOperator,
|
|
471
|
-
useExisting: forwardRef(() => LuTreeOptionPagerComponent),
|
|
472
|
-
multi: true,
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
provide: ALuOnScrollBottomSubscriber,
|
|
476
|
-
useExisting: forwardRef(() => LuTreeOptionPagerComponent),
|
|
477
|
-
multi: true,
|
|
478
|
-
},
|
|
479
|
-
] }]
|
|
480
|
-
}] });
|
|
481
|
-
|
|
482
|
-
class LuTreeOptionPagerModule {
|
|
483
|
-
}
|
|
484
|
-
LuTreeOptionPagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
485
|
-
LuTreeOptionPagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPagerModule, imports: [LuTreeOptionPagerComponent], exports: [LuTreeOptionPagerComponent] });
|
|
486
|
-
LuTreeOptionPagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPagerModule, imports: [LuTreeOptionPagerComponent] });
|
|
487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPagerModule, decorators: [{
|
|
488
|
-
type: NgModule,
|
|
489
|
-
args: [{
|
|
490
|
-
imports: [LuTreeOptionPagerComponent],
|
|
491
|
-
exports: [LuTreeOptionPagerComponent],
|
|
492
|
-
}]
|
|
493
|
-
}] });
|
|
494
|
-
|
|
495
|
-
const LU_OPTION_PLACEHOLDER_TRANSLATIONS = new InjectionToken('LuOptionPlaceholderTranslations', {
|
|
496
|
-
factory: () => luOptionPlaceholderTranslations,
|
|
497
|
-
});
|
|
498
|
-
const luOptionPlaceholderTranslations = {
|
|
499
|
-
en: {
|
|
500
|
-
placeholderDescription: 'No results match your search criteria.',
|
|
501
|
-
placeholderAction: 'Clear search',
|
|
502
|
-
},
|
|
503
|
-
fr: {
|
|
504
|
-
placeholderDescription: 'Aucun résultat pour votre recherche',
|
|
505
|
-
placeholderAction: 'Vider la recherche',
|
|
506
|
-
},
|
|
507
|
-
es: {
|
|
508
|
-
placeholderDescription: 'No se han encontrado resultados para su búsqueda',
|
|
509
|
-
placeholderAction: 'Eliminar búsqueda',
|
|
510
|
-
},
|
|
511
|
-
};
|
|
512
|
-
|
|
513
|
-
class LuOptionPlaceholderComponent {
|
|
514
|
-
constructor() {
|
|
515
|
-
// eslint-disable-next-line @angular-eslint/no-output-on-prefix
|
|
516
|
-
this.onClear = new EventEmitter();
|
|
517
|
-
this.intl = getIntl(LU_OPTION_PLACEHOLDER_TRANSLATIONS);
|
|
518
|
-
}
|
|
519
|
-
clear() {
|
|
520
|
-
this.onClear.emit();
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
LuOptionPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
524
|
-
LuOptionPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuOptionPlaceholderComponent, isStandalone: true, selector: "lu-option-placeholder", outputs: { onClear: "onClear" }, ngImport: i0, template: "<div class=\"optionPlaceholder\">\r\n\t<p class=\"optionPlaceholder-content u-marginBottom0\">{{ intl.placeholderDescription }}</p>\r\n\t<button type=\"button\" class=\"link\" (click)=\"clear()\">{{ intl.placeholderAction }}</button>\r\n</div>\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)}.optionPlaceholder{display:block;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);font-style:italic;color:var(--palettes-grey-600)}\n"] });
|
|
525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPlaceholderComponent, decorators: [{
|
|
526
|
-
type: Component,
|
|
527
|
-
args: [{ selector: 'lu-option-placeholder', standalone: true, template: "<div class=\"optionPlaceholder\">\r\n\t<p class=\"optionPlaceholder-content u-marginBottom0\">{{ intl.placeholderDescription }}</p>\r\n\t<button type=\"button\" class=\"link\" (click)=\"clear()\">{{ intl.placeholderAction }}</button>\r\n</div>\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)}.optionPlaceholder{display:block;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);font-style:italic;color:var(--palettes-grey-600)}\n"] }]
|
|
528
|
-
}], propDecorators: { onClear: [{
|
|
529
|
-
type: Output
|
|
530
|
-
}] } });
|
|
531
|
-
|
|
532
|
-
class LuOptionPlaceholderModule {
|
|
533
|
-
}
|
|
534
|
-
LuOptionPlaceholderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPlaceholderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
535
|
-
LuOptionPlaceholderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPlaceholderModule, imports: [LuOptionPlaceholderComponent], exports: [LuOptionPlaceholderComponent] });
|
|
536
|
-
LuOptionPlaceholderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPlaceholderModule, imports: [LuOptionPlaceholderComponent] });
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPlaceholderModule, decorators: [{
|
|
538
|
-
type: NgModule,
|
|
539
|
-
args: [{
|
|
540
|
-
imports: [LuOptionPlaceholderComponent],
|
|
541
|
-
exports: [LuOptionPlaceholderComponent],
|
|
542
|
-
}]
|
|
543
|
-
}] });
|
|
544
|
-
|
|
545
|
-
class LuOptionSearcherComponent extends ALuOptionOperator {
|
|
546
|
-
constructor() {
|
|
547
|
-
super(...arguments);
|
|
548
|
-
this.searchControl = new FormControl();
|
|
549
|
-
this.clue$ = merge(of(''), this.searchControl.valueChanges);
|
|
550
|
-
this.searchFn = () => true;
|
|
551
|
-
}
|
|
552
|
-
set inOptions$(in$) {
|
|
553
|
-
this.outOptions$ = combineLatest([in$, this.clue$]).pipe(map(([options, clue]) => {
|
|
554
|
-
return clue ? (options || []).filter((o) => this.searchFn(o, clue)) : options || [];
|
|
555
|
-
}));
|
|
556
|
-
this.empty$ = this.outOptions$.pipe(map((o) => !o || o.length === 0));
|
|
557
|
-
}
|
|
558
|
-
onOpen() {
|
|
559
|
-
this.searchInput.nativeElement.focus();
|
|
560
|
-
this.searchControl.setValue('');
|
|
561
|
-
}
|
|
562
|
-
resetClue() {
|
|
563
|
-
this.searchControl.setValue('');
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
LuOptionSearcherComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSearcherComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
567
|
-
LuOptionSearcherComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuOptionSearcherComponent, isStandalone: true, selector: "lu-option-searcher", inputs: { searchFn: "searchFn" }, providers: [
|
|
568
|
-
{
|
|
569
|
-
provide: ALuOptionOperator,
|
|
570
|
-
useExisting: forwardRef(() => LuOptionSearcherComponent),
|
|
571
|
-
multi: true,
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
provide: ALuOnOpenSubscriber,
|
|
575
|
-
useExisting: forwardRef(() => LuOptionSearcherComponent),
|
|
576
|
-
multi: true,
|
|
577
|
-
},
|
|
578
|
-
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"textfield mod-search\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"searchControl\" />\r\n</div>\r\n\r\n<lu-option-placeholder *ngIf=\"empty$ | async\" (onClear)=\"resetClue()\"></lu-option-placeholder>\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)}.textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background-color:var(--colors-white-color);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color)}.textfield-input:hover{background-color:var(--palettes-grey-50)}.textfield-input:focus{background-color:var(--colors-white-color);border-bottom-color:var(--palettes-primary-600)}.checkbox.mod-formerEmployee{padding:var(--spacings-XXS) var(--components-options-item-padding-horizontal);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color);background-color:var(--palettes-grey-50);font-style:italic}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: LuOptionPlaceholderComponent, selector: "lu-option-placeholder", outputs: ["onClear"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSearcherComponent, decorators: [{
|
|
580
|
-
type: Component,
|
|
581
|
-
args: [{ selector: 'lu-option-searcher', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, CommonModule, LuOptionPlaceholderComponent], providers: [
|
|
582
|
-
{
|
|
583
|
-
provide: ALuOptionOperator,
|
|
584
|
-
useExisting: forwardRef(() => LuOptionSearcherComponent),
|
|
585
|
-
multi: true,
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
provide: ALuOnOpenSubscriber,
|
|
589
|
-
useExisting: forwardRef(() => LuOptionSearcherComponent),
|
|
590
|
-
multi: true,
|
|
591
|
-
},
|
|
592
|
-
], template: "<div class=\"textfield mod-search\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"searchControl\" />\r\n</div>\r\n\r\n<lu-option-placeholder *ngIf=\"empty$ | async\" (onClear)=\"resetClue()\"></lu-option-placeholder>\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)}.textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background-color:var(--colors-white-color);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color)}.textfield-input:hover{background-color:var(--palettes-grey-50)}.textfield-input:focus{background-color:var(--colors-white-color);border-bottom-color:var(--palettes-primary-600)}.checkbox.mod-formerEmployee{padding:var(--spacings-XXS) var(--components-options-item-padding-horizontal);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color);background-color:var(--palettes-grey-50);font-style:italic}\n"] }]
|
|
593
|
-
}], propDecorators: { searchInput: [{
|
|
594
|
-
type: ViewChild,
|
|
595
|
-
args: ['searchInput', { read: ElementRef, static: true }]
|
|
596
|
-
}], searchFn: [{
|
|
597
|
-
type: Input
|
|
598
|
-
}] } });
|
|
599
|
-
|
|
600
|
-
class LuOptionSearcherModule {
|
|
601
|
-
}
|
|
602
|
-
LuOptionSearcherModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSearcherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
603
|
-
LuOptionSearcherModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSearcherModule, imports: [LuOptionSearcherComponent], exports: [LuOptionSearcherComponent] });
|
|
604
|
-
LuOptionSearcherModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSearcherModule, imports: [LuOptionSearcherComponent] });
|
|
605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSearcherModule, decorators: [{
|
|
606
|
-
type: NgModule,
|
|
607
|
-
args: [{
|
|
608
|
-
imports: [LuOptionSearcherComponent],
|
|
609
|
-
exports: [LuOptionSearcherComponent],
|
|
610
|
-
}]
|
|
611
|
-
}] });
|
|
612
|
-
|
|
613
|
-
class LuTreeOptionSearcherComponent extends ALuTreeOptionOperator {
|
|
614
|
-
constructor() {
|
|
615
|
-
super(...arguments);
|
|
616
|
-
this.searchControl = new FormControl();
|
|
617
|
-
this.clue$ = merge(of(''), this.searchControl.valueChanges);
|
|
618
|
-
this.searchFn = () => true;
|
|
619
|
-
}
|
|
620
|
-
set inOptions$(in$) {
|
|
621
|
-
this.outOptions$ = combineLatest([in$, this.clue$]).pipe(map(([options, clue]) => {
|
|
622
|
-
if (!clue) {
|
|
623
|
-
return options || [];
|
|
624
|
-
}
|
|
625
|
-
return this.trim(options, clue);
|
|
626
|
-
}));
|
|
627
|
-
this.empty$ = this.outOptions$.pipe(map((o) => !o || o.length === 0));
|
|
628
|
-
}
|
|
629
|
-
onOpen() {
|
|
630
|
-
this.searchInput.nativeElement.focus();
|
|
631
|
-
this.searchControl.setValue('');
|
|
632
|
-
}
|
|
633
|
-
trim(options, clue) {
|
|
634
|
-
return options
|
|
635
|
-
.map((option) => {
|
|
636
|
-
if (this.searchFn(option.value, clue)) {
|
|
637
|
-
return { ...option };
|
|
638
|
-
}
|
|
639
|
-
const trimmedChildren = option.children ? this.trim(option.children, clue) : [];
|
|
640
|
-
if (trimmedChildren.length) {
|
|
641
|
-
return { ...option, children: trimmedChildren };
|
|
642
|
-
}
|
|
643
|
-
return undefined;
|
|
644
|
-
})
|
|
645
|
-
.filter((o) => !!o);
|
|
646
|
-
}
|
|
647
|
-
resetClue() {
|
|
648
|
-
this.searchControl.setValue('');
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
LuTreeOptionSearcherComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSearcherComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
652
|
-
LuTreeOptionSearcherComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuTreeOptionSearcherComponent, isStandalone: true, selector: "lu-tree-option-searcher", inputs: { searchFn: "searchFn" }, providers: [
|
|
653
|
-
{
|
|
654
|
-
provide: ALuTreeOptionOperator,
|
|
655
|
-
useExisting: forwardRef(() => LuTreeOptionSearcherComponent),
|
|
656
|
-
multi: true,
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
provide: ALuOnOpenSubscriber,
|
|
660
|
-
useExisting: forwardRef(() => LuTreeOptionSearcherComponent),
|
|
661
|
-
multi: true,
|
|
662
|
-
},
|
|
663
|
-
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"textfield mod-search\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"searchControl\" />\r\n</div>\r\n\r\n<lu-option-placeholder *ngIf=\"empty$ | async\" (onClear)=\"resetClue()\"></lu-option-placeholder>\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)}.textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background-color:var(--colors-white-color);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color)}.textfield-input:hover{background-color:var(--palettes-grey-50)}.textfield-input:focus{background-color:var(--colors-white-color);border-bottom-color:var(--palettes-primary-600)}.checkbox.mod-formerEmployee{padding:var(--spacings-XXS) var(--components-options-item-padding-horizontal);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color);background-color:var(--palettes-grey-50);font-style:italic}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: LuOptionPlaceholderComponent, selector: "lu-option-placeholder", outputs: ["onClear"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSearcherComponent, decorators: [{
|
|
665
|
-
type: Component,
|
|
666
|
-
args: [{ selector: 'lu-tree-option-searcher', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, CommonModule, LuOptionPlaceholderComponent], standalone: true, providers: [
|
|
667
|
-
{
|
|
668
|
-
provide: ALuTreeOptionOperator,
|
|
669
|
-
useExisting: forwardRef(() => LuTreeOptionSearcherComponent),
|
|
670
|
-
multi: true,
|
|
671
|
-
},
|
|
672
|
-
{
|
|
673
|
-
provide: ALuOnOpenSubscriber,
|
|
674
|
-
useExisting: forwardRef(() => LuTreeOptionSearcherComponent),
|
|
675
|
-
multi: true,
|
|
676
|
-
},
|
|
677
|
-
], template: "<div class=\"textfield mod-search\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"searchControl\" />\r\n</div>\r\n\r\n<lu-option-placeholder *ngIf=\"empty$ | async\" (onClear)=\"resetClue()\"></lu-option-placeholder>\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)}.textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background-color:var(--colors-white-color);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color)}.textfield-input:hover{background-color:var(--palettes-grey-50)}.textfield-input:focus{background-color:var(--colors-white-color);border-bottom-color:var(--palettes-primary-600)}.checkbox.mod-formerEmployee{padding:var(--spacings-XXS) var(--components-options-item-padding-horizontal);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color);background-color:var(--palettes-grey-50);font-style:italic}\n"] }]
|
|
678
|
-
}], propDecorators: { searchInput: [{
|
|
679
|
-
type: ViewChild,
|
|
680
|
-
args: ['searchInput', { read: ElementRef, static: true }]
|
|
681
|
-
}], searchFn: [{
|
|
682
|
-
type: Input
|
|
683
|
-
}] } });
|
|
684
|
-
|
|
685
|
-
class LuTreeOptionSearcherModule {
|
|
686
|
-
}
|
|
687
|
-
LuTreeOptionSearcherModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSearcherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
688
|
-
LuTreeOptionSearcherModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSearcherModule, imports: [LuTreeOptionSearcherComponent], exports: [LuTreeOptionSearcherComponent] });
|
|
689
|
-
LuTreeOptionSearcherModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSearcherModule, imports: [LuTreeOptionSearcherComponent] });
|
|
690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSearcherModule, decorators: [{
|
|
691
|
-
type: NgModule,
|
|
692
|
-
args: [{
|
|
693
|
-
imports: [LuTreeOptionSearcherComponent],
|
|
694
|
-
exports: [LuTreeOptionSearcherComponent],
|
|
695
|
-
}]
|
|
696
|
-
}] });
|
|
697
|
-
|
|
698
|
-
class LuForGroupContext {
|
|
699
|
-
constructor($implicit, index, count) {
|
|
700
|
-
this.$implicit = $implicit;
|
|
701
|
-
this.index = index;
|
|
702
|
-
this.count = count;
|
|
703
|
-
}
|
|
704
|
-
get first() {
|
|
705
|
-
return this.index === 0;
|
|
706
|
-
}
|
|
707
|
-
get last() {
|
|
708
|
-
return this.index === this.count - 1;
|
|
709
|
-
}
|
|
710
|
-
get even() {
|
|
711
|
-
return this.index % 2 === 0;
|
|
712
|
-
}
|
|
713
|
-
get odd() {
|
|
714
|
-
return !this.even;
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
class LuForGroupsDirective {
|
|
718
|
-
constructor(_vcr, _cdr, _templateRef) {
|
|
719
|
-
this._vcr = _vcr;
|
|
720
|
-
this._cdr = _cdr;
|
|
721
|
-
this._templateRef = _templateRef;
|
|
722
|
-
this._subs = new Subscription();
|
|
723
|
-
}
|
|
724
|
-
set attrGroupBy(fn) {
|
|
725
|
-
this._groupByFn = fn;
|
|
726
|
-
}
|
|
727
|
-
set inOptions$(options$) {
|
|
728
|
-
this._subs.add(options$.subscribe((options) => this.render(options)));
|
|
729
|
-
this.outOptions$ = options$;
|
|
730
|
-
}
|
|
731
|
-
ngOnDestroy() {
|
|
732
|
-
this._subs.unsubscribe();
|
|
733
|
-
}
|
|
734
|
-
render(options) {
|
|
735
|
-
this._vcr.clear();
|
|
736
|
-
const count = options.length;
|
|
737
|
-
const groups = this.groupBy(options);
|
|
738
|
-
groups.forEach((group, index) => {
|
|
739
|
-
this._vcr.createEmbeddedView(this._templateRef, new LuForGroupContext(group, index, count));
|
|
740
|
-
});
|
|
741
|
-
this._cdr.markForCheck();
|
|
742
|
-
}
|
|
743
|
-
groupBy(items) {
|
|
744
|
-
const groups = [];
|
|
745
|
-
items.forEach((item) => {
|
|
746
|
-
const key = this._groupByFn(item);
|
|
747
|
-
let group = groups.find((g) => g.key === key);
|
|
748
|
-
if (!group) {
|
|
749
|
-
group = { key: key, items: [] };
|
|
750
|
-
groups.push(group);
|
|
751
|
-
}
|
|
752
|
-
group.items.push(item);
|
|
753
|
-
});
|
|
754
|
-
return groups;
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
LuForGroupsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForGroupsDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
758
|
-
LuForGroupsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: LuForGroupsDirective, isStandalone: true, selector: "[luForGroups]", inputs: { attrGroupBy: ["luForGroupsGroupBy", "attrGroupBy"] }, providers: [
|
|
759
|
-
{
|
|
760
|
-
provide: ALuOptionOperator,
|
|
761
|
-
useExisting: forwardRef(() => LuForGroupsDirective),
|
|
762
|
-
multi: true,
|
|
763
|
-
},
|
|
764
|
-
], ngImport: i0 });
|
|
765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForGroupsDirective, decorators: [{
|
|
766
|
-
type: Directive,
|
|
767
|
-
args: [{
|
|
768
|
-
selector: '[luForGroups]',
|
|
769
|
-
standalone: true,
|
|
770
|
-
providers: [
|
|
771
|
-
{
|
|
772
|
-
provide: ALuOptionOperator,
|
|
773
|
-
useExisting: forwardRef(() => LuForGroupsDirective),
|
|
774
|
-
multi: true,
|
|
775
|
-
},
|
|
776
|
-
],
|
|
777
|
-
}]
|
|
778
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i0.TemplateRef }]; }, propDecorators: { attrGroupBy: [{
|
|
779
|
-
type: Input,
|
|
780
|
-
args: ['luForGroupsGroupBy']
|
|
781
|
-
}] } });
|
|
782
|
-
|
|
783
|
-
class LuForGroupsModule {
|
|
784
|
-
}
|
|
785
|
-
LuForGroupsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForGroupsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
786
|
-
LuForGroupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuForGroupsModule, imports: [LuForGroupsDirective], exports: [LuForGroupsDirective] });
|
|
787
|
-
LuForGroupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForGroupsModule });
|
|
788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForGroupsModule, decorators: [{
|
|
789
|
-
type: NgModule,
|
|
790
|
-
args: [{
|
|
791
|
-
imports: [LuForGroupsDirective],
|
|
792
|
-
exports: [LuForGroupsDirective],
|
|
793
|
-
}]
|
|
794
|
-
}] });
|
|
795
|
-
|
|
796
|
-
class LuForOptionsDirective extends NgForOf {
|
|
797
|
-
constructor(_viewContainer, _template, _differs, _changeDetectionRef) {
|
|
798
|
-
super(_viewContainer, _template, _differs);
|
|
799
|
-
this._changeDetectionRef = _changeDetectionRef;
|
|
800
|
-
this._subs = new Subscription();
|
|
801
|
-
}
|
|
802
|
-
set inOptions$(options$) {
|
|
803
|
-
this._subs.add(options$.subscribe((options) => {
|
|
804
|
-
this.ngForOf = options;
|
|
805
|
-
this._changeDetectionRef.markForCheck();
|
|
806
|
-
}));
|
|
807
|
-
this.outOptions$ = options$;
|
|
808
|
-
}
|
|
809
|
-
set luForOptionsTrackBy(fn) {
|
|
810
|
-
this.ngForTrackBy = fn;
|
|
811
|
-
}
|
|
812
|
-
ngOnDestroy() {
|
|
813
|
-
this._subs.unsubscribe();
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
LuForOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForOptionsDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
817
|
-
LuForOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: LuForOptionsDirective, isStandalone: true, selector: "[luForOptions]", inputs: { luForOptionsTrackBy: "luForOptionsTrackBy" }, providers: [
|
|
818
|
-
{
|
|
819
|
-
provide: ALuOptionOperator,
|
|
820
|
-
useExisting: forwardRef(() => LuForOptionsDirective),
|
|
821
|
-
multi: true,
|
|
822
|
-
},
|
|
823
|
-
], usesInheritance: true, ngImport: i0 });
|
|
824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForOptionsDirective, decorators: [{
|
|
825
|
-
type: Directive,
|
|
826
|
-
args: [{
|
|
827
|
-
selector: '[luForOptions]',
|
|
828
|
-
standalone: true,
|
|
829
|
-
providers: [
|
|
830
|
-
{
|
|
831
|
-
provide: ALuOptionOperator,
|
|
832
|
-
useExisting: forwardRef(() => LuForOptionsDirective),
|
|
833
|
-
multi: true,
|
|
834
|
-
},
|
|
835
|
-
],
|
|
836
|
-
}]
|
|
837
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { luForOptionsTrackBy: [{
|
|
838
|
-
type: Input
|
|
839
|
-
}] } });
|
|
840
|
-
|
|
841
|
-
class LuForOptionsModule {
|
|
842
|
-
}
|
|
843
|
-
LuForOptionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForOptionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
844
|
-
LuForOptionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuForOptionsModule, imports: [LuForOptionsDirective], exports: [LuForOptionsDirective] });
|
|
845
|
-
LuForOptionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForOptionsModule });
|
|
846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForOptionsModule, decorators: [{
|
|
847
|
-
type: NgModule,
|
|
848
|
-
args: [{
|
|
849
|
-
imports: [LuForOptionsDirective],
|
|
850
|
-
exports: [LuForOptionsDirective],
|
|
851
|
-
}]
|
|
852
|
-
}] });
|
|
853
|
-
|
|
854
|
-
class LuForTreeOptionsDirective extends LuForOptionsDirective {
|
|
855
|
-
}
|
|
856
|
-
LuForTreeOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForTreeOptionsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
857
|
-
LuForTreeOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: LuForTreeOptionsDirective, isStandalone: true, selector: "[luForTreeOptions]", providers: [
|
|
858
|
-
{
|
|
859
|
-
provide: ALuTreeOptionOperator,
|
|
860
|
-
useExisting: forwardRef(() => LuForTreeOptionsDirective),
|
|
861
|
-
multi: true,
|
|
862
|
-
},
|
|
863
|
-
], usesInheritance: true, ngImport: i0 });
|
|
864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForTreeOptionsDirective, decorators: [{
|
|
865
|
-
type: Directive,
|
|
866
|
-
args: [{
|
|
867
|
-
selector: '[luForTreeOptions]',
|
|
868
|
-
standalone: true,
|
|
869
|
-
providers: [
|
|
870
|
-
{
|
|
871
|
-
provide: ALuTreeOptionOperator,
|
|
872
|
-
useExisting: forwardRef(() => LuForTreeOptionsDirective),
|
|
873
|
-
multi: true,
|
|
874
|
-
},
|
|
875
|
-
],
|
|
876
|
-
}]
|
|
877
|
-
}] });
|
|
878
|
-
|
|
879
|
-
class LuForTreeOptionsModule {
|
|
880
|
-
}
|
|
881
|
-
LuForTreeOptionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForTreeOptionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
882
|
-
LuForTreeOptionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuForTreeOptionsModule, imports: [LuForTreeOptionsDirective], exports: [LuForTreeOptionsDirective] });
|
|
883
|
-
LuForTreeOptionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForTreeOptionsModule });
|
|
884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuForTreeOptionsModule, decorators: [{
|
|
885
|
-
type: NgModule,
|
|
886
|
-
args: [{
|
|
887
|
-
imports: [LuForTreeOptionsDirective],
|
|
888
|
-
exports: [LuForTreeOptionsDirective],
|
|
889
|
-
}]
|
|
890
|
-
}] });
|
|
891
|
-
|
|
892
|
-
class LuOptionOperatorModule {
|
|
893
|
-
}
|
|
894
|
-
LuOptionOperatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionOperatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
895
|
-
LuOptionOperatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionOperatorModule, imports: [LuOptionPagerComponent, LuOptionFeederComponent, LuOptionSearcherComponent, LuForOptionsDirective, LuForGroupsDirective], exports: [LuOptionPagerComponent, LuOptionFeederComponent, LuOptionSearcherComponent, LuForOptionsDirective, LuForGroupsDirective] });
|
|
896
|
-
LuOptionOperatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionOperatorModule, imports: [LuOptionPagerComponent, LuOptionFeederComponent, LuOptionSearcherComponent] });
|
|
897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionOperatorModule, decorators: [{
|
|
898
|
-
type: NgModule,
|
|
899
|
-
args: [{
|
|
900
|
-
imports: [LuOptionPagerComponent, LuOptionFeederComponent, LuOptionSearcherComponent, LuForOptionsDirective, LuForGroupsDirective],
|
|
901
|
-
exports: [LuOptionPagerComponent, LuOptionFeederComponent, LuOptionSearcherComponent, LuForOptionsDirective, LuForGroupsDirective],
|
|
902
|
-
}]
|
|
903
|
-
}] });
|
|
904
|
-
|
|
905
|
-
class LuTreeOptionOperatorModule {
|
|
906
|
-
}
|
|
907
|
-
LuTreeOptionOperatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionOperatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
908
|
-
LuTreeOptionOperatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionOperatorModule, imports: [LuTreeOptionFeederComponent, LuForTreeOptionsDirective, LuTreeOptionPagerComponent, LuTreeOptionSearcherModule], exports: [LuTreeOptionFeederComponent, LuForTreeOptionsDirective, LuTreeOptionPagerComponent, LuTreeOptionSearcherModule] });
|
|
909
|
-
LuTreeOptionOperatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionOperatorModule, imports: [LuTreeOptionFeederComponent, LuTreeOptionPagerComponent, LuTreeOptionSearcherModule, LuTreeOptionSearcherModule] });
|
|
910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionOperatorModule, decorators: [{
|
|
911
|
-
type: NgModule,
|
|
912
|
-
args: [{
|
|
913
|
-
imports: [LuTreeOptionFeederComponent, LuForTreeOptionsDirective, LuTreeOptionPagerComponent, LuTreeOptionSearcherModule],
|
|
914
|
-
exports: [LuTreeOptionFeederComponent, LuForTreeOptionsDirective, LuTreeOptionPagerComponent, LuTreeOptionSearcherModule],
|
|
915
|
-
}]
|
|
916
|
-
}] });
|
|
917
|
-
|
|
918
|
-
class ALuOptionSelector {
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
const LU_OPTION_SELECT_ALL_TRANSLATIONS = new InjectionToken('LuOptionSelectAllTranslations', {
|
|
922
|
-
factory: () => luOptionSelectAllTranslations,
|
|
923
|
-
});
|
|
924
|
-
const luOptionSelectAllTranslations = {
|
|
925
|
-
en: {
|
|
926
|
-
select: 'Select all',
|
|
927
|
-
deselect: 'Deselect all',
|
|
928
|
-
},
|
|
929
|
-
fr: {
|
|
930
|
-
select: 'Tout sélectionner',
|
|
931
|
-
deselect: 'Tout Déselectionner',
|
|
932
|
-
},
|
|
933
|
-
de: {
|
|
934
|
-
select: 'Alle auswählen',
|
|
935
|
-
deselect: 'Alle abwählen',
|
|
936
|
-
},
|
|
937
|
-
pt: {
|
|
938
|
-
select: 'Selecionar tudo',
|
|
939
|
-
deselect: 'Desselecionar tudo',
|
|
940
|
-
},
|
|
941
|
-
es: {
|
|
942
|
-
select: 'Seleccionar todo',
|
|
943
|
-
deselect: 'Desmarcar todo',
|
|
944
|
-
},
|
|
945
|
-
};
|
|
946
|
-
|
|
947
|
-
class LuOptionSelectAllComponent extends ALuOptionOperator {
|
|
948
|
-
constructor() {
|
|
949
|
-
super(...arguments);
|
|
950
|
-
this.multiple = true;
|
|
951
|
-
this.onSelectValue = new Subject();
|
|
952
|
-
this.fixed = true;
|
|
953
|
-
this.intl = getIntl(LU_OPTION_SELECT_ALL_TRANSLATIONS);
|
|
954
|
-
}
|
|
955
|
-
set inOptions$(in$) {
|
|
956
|
-
this.outOptions$ = in$.pipe(tap((options) => (this.options = options)));
|
|
957
|
-
}
|
|
958
|
-
selectAll() {
|
|
959
|
-
this.onSelectValue.next([...this.options]);
|
|
960
|
-
}
|
|
961
|
-
deselectAll() {
|
|
962
|
-
this.onSelectValue.next([]);
|
|
963
|
-
}
|
|
964
|
-
setValue(values) {
|
|
965
|
-
this._values = values;
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
LuOptionSelectAllComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectAllComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
969
|
-
LuOptionSelectAllComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuOptionSelectAllComponent, isStandalone: true, selector: "lu-option-select-all", host: { properties: { "class.position-fixed": "this.fixed" } }, providers: [
|
|
970
|
-
{
|
|
971
|
-
provide: ALuOptionOperator,
|
|
972
|
-
useExisting: forwardRef(() => LuOptionSelectAllComponent),
|
|
973
|
-
multi: true,
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
provide: ALuOptionSelector,
|
|
977
|
-
useExisting: forwardRef(() => LuOptionSelectAllComponent),
|
|
978
|
-
multi: true,
|
|
979
|
-
},
|
|
980
|
-
], usesInheritance: true, ngImport: i0, template: "<button type=\"button\" (click)=\"selectAll()\" class=\"link selectAll-button\">{{ intl.select }}</button>\r\n<button type=\"button\" (click)=\"deselectAll()\" class=\"link selectAll-button u-marginLeftXS\">{{ intl.deselect }}</button>\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 .selectAll-button{color:var(--palettes-grey-600);font-size:var(--sizes-S-fontSize);outline:none}:host .selectAll-button:hover{color:var(--palettes-grey-800)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectAllComponent, decorators: [{
|
|
982
|
-
type: Component,
|
|
983
|
-
args: [{ selector: 'lu-option-select-all', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [
|
|
984
|
-
{
|
|
985
|
-
provide: ALuOptionOperator,
|
|
986
|
-
useExisting: forwardRef(() => LuOptionSelectAllComponent),
|
|
987
|
-
multi: true,
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
provide: ALuOptionSelector,
|
|
991
|
-
useExisting: forwardRef(() => LuOptionSelectAllComponent),
|
|
992
|
-
multi: true,
|
|
993
|
-
},
|
|
994
|
-
], template: "<button type=\"button\" (click)=\"selectAll()\" class=\"link selectAll-button\">{{ intl.select }}</button>\r\n<button type=\"button\" (click)=\"deselectAll()\" class=\"link selectAll-button u-marginLeftXS\">{{ intl.deselect }}</button>\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 .selectAll-button{color:var(--palettes-grey-600);font-size:var(--sizes-S-fontSize);outline:none}:host .selectAll-button:hover{color:var(--palettes-grey-800)}\n"] }]
|
|
995
|
-
}], propDecorators: { fixed: [{
|
|
996
|
-
type: HostBinding,
|
|
997
|
-
args: ['class.position-fixed']
|
|
998
|
-
}] } });
|
|
999
|
-
|
|
1000
|
-
class LuOptionSelectAllModule {
|
|
1001
|
-
}
|
|
1002
|
-
LuOptionSelectAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1003
|
-
LuOptionSelectAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectAllModule, imports: [LuOptionSelectAllComponent], exports: [LuOptionSelectAllComponent] });
|
|
1004
|
-
LuOptionSelectAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectAllModule, imports: [LuOptionSelectAllComponent] });
|
|
1005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectAllModule, decorators: [{
|
|
1006
|
-
type: NgModule,
|
|
1007
|
-
args: [{
|
|
1008
|
-
imports: [LuOptionSelectAllComponent],
|
|
1009
|
-
exports: [LuOptionSelectAllComponent],
|
|
1010
|
-
}]
|
|
1011
|
-
}] });
|
|
1012
|
-
|
|
1013
|
-
class ALuTreeOptionSelector extends ALuOptionSelector {
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
class LuTreeOptionSelectAllComponent extends ALuTreeOptionOperator {
|
|
1017
|
-
constructor() {
|
|
1018
|
-
super(...arguments);
|
|
1019
|
-
this.multiple = true;
|
|
1020
|
-
this.onSelectValue = new Subject();
|
|
1021
|
-
this.fixed = true;
|
|
1022
|
-
this.intl = getIntl(LU_OPTION_SELECT_ALL_TRANSLATIONS);
|
|
1023
|
-
}
|
|
1024
|
-
set inOptions$(in$) {
|
|
1025
|
-
this.outOptions$ = in$.pipe(tap((options) => (this.flatOptions = this.flattenTree(options))));
|
|
1026
|
-
}
|
|
1027
|
-
selectAll() {
|
|
1028
|
-
this.onSelectValue.next([...this.flatOptions]);
|
|
1029
|
-
}
|
|
1030
|
-
deselectAll() {
|
|
1031
|
-
this.onSelectValue.next([]);
|
|
1032
|
-
}
|
|
1033
|
-
setValue(values) {
|
|
1034
|
-
this._values = values;
|
|
1035
|
-
}
|
|
1036
|
-
flattenTree(tree = []) {
|
|
1037
|
-
return tree.map((t) => [t.value, ...this.flattenTree(t.children)]).reduce((agg, cur) => [...agg, ...cur], []);
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
LuTreeOptionSelectAllComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectAllComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1041
|
-
LuTreeOptionSelectAllComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuTreeOptionSelectAllComponent, isStandalone: true, selector: "lu-tree-option-select-all", host: { properties: { "class.position-fixed": "this.fixed" } }, providers: [
|
|
1042
|
-
{
|
|
1043
|
-
provide: ALuTreeOptionOperator,
|
|
1044
|
-
useExisting: forwardRef(() => LuTreeOptionSelectAllComponent),
|
|
1045
|
-
multi: true,
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
provide: ALuTreeOptionSelector,
|
|
1049
|
-
useExisting: forwardRef(() => LuTreeOptionSelectAllComponent),
|
|
1050
|
-
multi: true,
|
|
1051
|
-
},
|
|
1052
|
-
], usesInheritance: true, ngImport: i0, template: "<button type=\"button\" (click)=\"selectAll()\" class=\"link selectAll-button\">{{ intl.select }}</button>\r\n<button type=\"button\" (click)=\"deselectAll()\" class=\"link selectAll-button u-marginLeftXS\">{{ intl.deselect }}</button>\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 .selectAll-button{color:var(--palettes-grey-600);font-size:var(--sizes-S-fontSize);outline:none}:host .selectAll-button:hover{color:var(--palettes-grey-800)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1053
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectAllComponent, decorators: [{
|
|
1054
|
-
type: Component,
|
|
1055
|
-
args: [{ selector: 'lu-tree-option-select-all', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [
|
|
1056
|
-
{
|
|
1057
|
-
provide: ALuTreeOptionOperator,
|
|
1058
|
-
useExisting: forwardRef(() => LuTreeOptionSelectAllComponent),
|
|
1059
|
-
multi: true,
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
provide: ALuTreeOptionSelector,
|
|
1063
|
-
useExisting: forwardRef(() => LuTreeOptionSelectAllComponent),
|
|
1064
|
-
multi: true,
|
|
1065
|
-
},
|
|
1066
|
-
], template: "<button type=\"button\" (click)=\"selectAll()\" class=\"link selectAll-button\">{{ intl.select }}</button>\r\n<button type=\"button\" (click)=\"deselectAll()\" class=\"link selectAll-button u-marginLeftXS\">{{ intl.deselect }}</button>\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 .selectAll-button{color:var(--palettes-grey-600);font-size:var(--sizes-S-fontSize);outline:none}:host .selectAll-button:hover{color:var(--palettes-grey-800)}\n"] }]
|
|
1067
|
-
}], propDecorators: { fixed: [{
|
|
1068
|
-
type: HostBinding,
|
|
1069
|
-
args: ['class.position-fixed']
|
|
1070
|
-
}] } });
|
|
1071
|
-
|
|
1072
|
-
class LuTreeOptionSelectAllModule {
|
|
1073
|
-
}
|
|
1074
|
-
LuTreeOptionSelectAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1075
|
-
LuTreeOptionSelectAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectAllModule, imports: [LuTreeOptionSelectAllComponent], exports: [LuTreeOptionSelectAllComponent] });
|
|
1076
|
-
LuTreeOptionSelectAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectAllModule, imports: [LuTreeOptionSelectAllComponent] });
|
|
1077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectAllModule, decorators: [{
|
|
1078
|
-
type: NgModule,
|
|
1079
|
-
args: [{
|
|
1080
|
-
imports: [LuTreeOptionSelectAllComponent],
|
|
1081
|
-
exports: [LuTreeOptionSelectAllComponent],
|
|
1082
|
-
}]
|
|
1083
|
-
}] });
|
|
1084
|
-
|
|
1085
|
-
class LuOptionSelectorModule {
|
|
1086
|
-
}
|
|
1087
|
-
LuOptionSelectorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1088
|
-
LuOptionSelectorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectorModule, imports: [LuOptionSelectAllModule], exports: [LuOptionSelectAllModule] });
|
|
1089
|
-
LuOptionSelectorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectorModule, imports: [LuOptionSelectAllModule, LuOptionSelectAllModule] });
|
|
1090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionSelectorModule, decorators: [{
|
|
1091
|
-
type: NgModule,
|
|
1092
|
-
args: [{
|
|
1093
|
-
imports: [LuOptionSelectAllModule],
|
|
1094
|
-
exports: [LuOptionSelectAllModule],
|
|
1095
|
-
}]
|
|
1096
|
-
}] });
|
|
1097
|
-
|
|
1098
|
-
class LuTreeOptionSelectorModule {
|
|
1099
|
-
}
|
|
1100
|
-
LuTreeOptionSelectorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1101
|
-
LuTreeOptionSelectorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectorModule, imports: [LuTreeOptionSelectAllModule], exports: [LuTreeOptionSelectAllModule] });
|
|
1102
|
-
LuTreeOptionSelectorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectorModule, imports: [LuTreeOptionSelectAllModule, LuTreeOptionSelectAllModule] });
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionSelectorModule, decorators: [{
|
|
1104
|
-
type: NgModule,
|
|
1105
|
-
args: [{
|
|
1106
|
-
imports: [LuTreeOptionSelectAllModule],
|
|
1107
|
-
exports: [LuTreeOptionSelectAllModule],
|
|
1108
|
-
}]
|
|
1109
|
-
}] });
|
|
1110
|
-
|
|
1111
|
-
class ALuOptionPicker extends ALuPickerPanel {
|
|
1112
|
-
constructor() {
|
|
1113
|
-
super(...arguments);
|
|
1114
|
-
this._subs = new Subscription();
|
|
1115
|
-
this.optionComparer = (option1, option2) => JSON.stringify(option1) === JSON.stringify(option2);
|
|
1116
|
-
}
|
|
1117
|
-
setValue(value) {
|
|
1118
|
-
this._value = value;
|
|
1119
|
-
this._applySelected();
|
|
1120
|
-
}
|
|
1121
|
-
get _options$() {
|
|
1122
|
-
return this.__options$;
|
|
1123
|
-
}
|
|
1124
|
-
set _options$(options$) {
|
|
1125
|
-
this.__options$ = options$;
|
|
1126
|
-
// reapply selected when the options change
|
|
1127
|
-
this._subs.add(options$.subscribe(() => {
|
|
1128
|
-
this._applySelected();
|
|
1129
|
-
this._applyHighlight();
|
|
1130
|
-
}));
|
|
1131
|
-
// subscribe to any option.onSelect
|
|
1132
|
-
const singleFlow$ = options$.pipe(switchMap((items) => merge(...items.map((i) => i.onSelect))));
|
|
1133
|
-
this._subs.add(singleFlow$.subscribe((option) => this._toggle(option)));
|
|
1134
|
-
}
|
|
1135
|
-
_toggle(option) {
|
|
1136
|
-
const value = option.value;
|
|
1137
|
-
if (!this.multiple) {
|
|
1138
|
-
this._select(value);
|
|
1139
|
-
}
|
|
1140
|
-
else {
|
|
1141
|
-
const values = this._value || [];
|
|
1142
|
-
let newValues;
|
|
1143
|
-
if (values.some((v) => this.optionComparer(v, value))) {
|
|
1144
|
-
// value was present, we remove it
|
|
1145
|
-
newValues = values.filter((v) => !this.optionComparer(v, value));
|
|
1146
|
-
}
|
|
1147
|
-
else {
|
|
1148
|
-
// value was absent, we add it
|
|
1149
|
-
newValues = [...values, value];
|
|
1150
|
-
}
|
|
1151
|
-
this._select(newValues);
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
_select(val) {
|
|
1155
|
-
this._emitSelectValue(val);
|
|
1156
|
-
if (!this.multiple) {
|
|
1157
|
-
this._emitCloseEvent();
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
destroy() {
|
|
1161
|
-
this._subs.unsubscribe();
|
|
1162
|
-
}
|
|
1163
|
-
_handleKeydown(event) {
|
|
1164
|
-
switch (event.key) {
|
|
1165
|
-
case 'Escape':
|
|
1166
|
-
this._emitCloseEvent();
|
|
1167
|
-
event.preventDefault();
|
|
1168
|
-
event.stopPropagation();
|
|
1169
|
-
break;
|
|
1170
|
-
case 'Tab':
|
|
1171
|
-
this._emitCloseEvent();
|
|
1172
|
-
break;
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
/* eslint-disable @angular-eslint/no-output-native */
|
|
1178
|
-
class ALuOptionPickerComponent extends ALuOptionPicker {
|
|
1179
|
-
constructor(_changeDetectorRef, document) {
|
|
1180
|
-
super();
|
|
1181
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
1182
|
-
this.document = document;
|
|
1183
|
-
this.close = new EventEmitter();
|
|
1184
|
-
this.open = new EventEmitter();
|
|
1185
|
-
this.hovered = new EventEmitter();
|
|
1186
|
-
// eslint-disable-next-line @angular-eslint/no-output-on-prefix
|
|
1187
|
-
this.onSelectValue = new EventEmitter();
|
|
1188
|
-
this._defaultOverlayPaneClasses = ['mod-optionPicker'];
|
|
1189
|
-
this._options = [];
|
|
1190
|
-
this._highlightIndex = -1;
|
|
1191
|
-
this._isOptionItemsInitialized = false;
|
|
1192
|
-
this.overlayPaneClass = this._defaultOverlayPaneClasses;
|
|
1193
|
-
}
|
|
1194
|
-
/**
|
|
1195
|
-
* This method takes classes set on the host lu-popover element and applies them on the
|
|
1196
|
-
* popover template that displays in the overlay container. Otherwise, it's difficult
|
|
1197
|
-
* to style the containing popover from outside the component.
|
|
1198
|
-
* @param classes list of class names
|
|
1199
|
-
*/
|
|
1200
|
-
set inputPanelClasses(classes) {
|
|
1201
|
-
this.panelClasses = classes;
|
|
1202
|
-
}
|
|
1203
|
-
/**
|
|
1204
|
-
* This method takes classes set on the host lu-popover element and applies them on the
|
|
1205
|
-
* popover template that displays in the overlay container. Otherwise, it's difficult
|
|
1206
|
-
* to style the containing popover from outside the component.
|
|
1207
|
-
* @param classes list of class names
|
|
1208
|
-
*/
|
|
1209
|
-
set inputContentClasses(classes) {
|
|
1210
|
-
this.contentClasses = classes;
|
|
1211
|
-
}
|
|
1212
|
-
/**
|
|
1213
|
-
* This method take a function that compare options from feeder and options from form value.
|
|
1214
|
-
* By default, compare JSON values.
|
|
1215
|
-
*/
|
|
1216
|
-
set inputOptionComparer(comparer) {
|
|
1217
|
-
this.optionComparer = comparer;
|
|
1218
|
-
}
|
|
1219
|
-
set optionsQL(ql) {
|
|
1220
|
-
this._optionsQL = ql;
|
|
1221
|
-
}
|
|
1222
|
-
_emitSelectValue(val) {
|
|
1223
|
-
this.onSelectValue.emit(val);
|
|
1224
|
-
}
|
|
1225
|
-
ngOnDestroy() {
|
|
1226
|
-
super.destroy();
|
|
1227
|
-
}
|
|
1228
|
-
_emitOpenEvent() {
|
|
1229
|
-
this.open.emit();
|
|
1230
|
-
}
|
|
1231
|
-
_emitCloseEvent() {
|
|
1232
|
-
this.close.emit();
|
|
1233
|
-
}
|
|
1234
|
-
_emitHoveredEvent(h) {
|
|
1235
|
-
this.hovered.emit(h);
|
|
1236
|
-
}
|
|
1237
|
-
onOpen() {
|
|
1238
|
-
super.onOpen();
|
|
1239
|
-
this.highlightIndex = -1;
|
|
1240
|
-
this._incrHighlight();
|
|
1241
|
-
this._applySelected();
|
|
1242
|
-
}
|
|
1243
|
-
set vcTemplateRef(tr) {
|
|
1244
|
-
this.templateRef = tr;
|
|
1245
|
-
}
|
|
1246
|
-
// keydown
|
|
1247
|
-
_handleKeydown(event) {
|
|
1248
|
-
super._handleKeydown(event);
|
|
1249
|
-
switch (event.key) {
|
|
1250
|
-
case 'Enter':
|
|
1251
|
-
this._selectHighlighted();
|
|
1252
|
-
event.preventDefault();
|
|
1253
|
-
event.stopPropagation();
|
|
1254
|
-
break;
|
|
1255
|
-
case 'ArrowUp':
|
|
1256
|
-
this._decrHighlight();
|
|
1257
|
-
event.preventDefault();
|
|
1258
|
-
event.stopPropagation();
|
|
1259
|
-
break;
|
|
1260
|
-
case 'ArrowDown':
|
|
1261
|
-
this._incrHighlight();
|
|
1262
|
-
event.preventDefault();
|
|
1263
|
-
event.stopPropagation();
|
|
1264
|
-
break;
|
|
1265
|
-
}
|
|
1266
|
-
}
|
|
1267
|
-
get highlightIndex() {
|
|
1268
|
-
return this._highlightIndex;
|
|
1269
|
-
}
|
|
1270
|
-
set highlightIndex(i) {
|
|
1271
|
-
this._highlightIndex = i;
|
|
1272
|
-
this._applyHighlight(true);
|
|
1273
|
-
}
|
|
1274
|
-
_initHighlight() {
|
|
1275
|
-
this._subs.add(this._options$.subscribe((options) => {
|
|
1276
|
-
const optionCount = options.length;
|
|
1277
|
-
const newHighlight = Math.max(Math.min(this.highlightIndex, optionCount - 1), -1);
|
|
1278
|
-
if (newHighlight !== this.highlightIndex) {
|
|
1279
|
-
this.highlightIndex = newHighlight;
|
|
1280
|
-
}
|
|
1281
|
-
}));
|
|
1282
|
-
setTimeout(() => {
|
|
1283
|
-
this.highlightIndex = -1;
|
|
1284
|
-
}, 1);
|
|
1285
|
-
}
|
|
1286
|
-
_incrHighlight() {
|
|
1287
|
-
const nextIndex = this._options.findIndex((item, index) => index > this.highlightIndex && !item.disabled);
|
|
1288
|
-
this.highlightIndex = nextIndex > -1 ? nextIndex : this._options.findIndex((item) => !item.disabled);
|
|
1289
|
-
}
|
|
1290
|
-
_decrHighlight() {
|
|
1291
|
-
//NB: findLastIndex would be better but is not available on this project
|
|
1292
|
-
let nextIndex = -1;
|
|
1293
|
-
for (let i = this.highlightIndex - 1; i >= 0; --i) {
|
|
1294
|
-
if (!this._options[i].disabled) {
|
|
1295
|
-
nextIndex = i;
|
|
1296
|
-
break;
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
if (nextIndex > -1) {
|
|
1300
|
-
this.highlightIndex = nextIndex;
|
|
1301
|
-
return;
|
|
1302
|
-
}
|
|
1303
|
-
const optionsLength = this._options.length - 1;
|
|
1304
|
-
for (let i = optionsLength; i >= 0; --i) {
|
|
1305
|
-
if (!this._options[i].disabled) {
|
|
1306
|
-
nextIndex = i;
|
|
1307
|
-
break;
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
this.highlightIndex = nextIndex;
|
|
1311
|
-
}
|
|
1312
|
-
_applyHighlight(reScroll = false) {
|
|
1313
|
-
if (!this.isOpen) {
|
|
1314
|
-
return;
|
|
1315
|
-
}
|
|
1316
|
-
const options = this._options;
|
|
1317
|
-
// remove `is-highlighted` class from all other options
|
|
1318
|
-
options.forEach((option) => (option.highlighted = false));
|
|
1319
|
-
// apply `is-highlighted` to current highlight
|
|
1320
|
-
const highlightedOption = options[this.highlightIndex];
|
|
1321
|
-
if (highlightedOption) {
|
|
1322
|
-
highlightedOption.highlighted = true;
|
|
1323
|
-
// scroll to let the highlighted option visible
|
|
1324
|
-
if (reScroll) {
|
|
1325
|
-
setTimeout(() => {
|
|
1326
|
-
this._scrollToHighlight(highlightedOption.element.nativeElement);
|
|
1327
|
-
}, 1);
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
this._changeDetectorRef.markForCheck();
|
|
1331
|
-
}
|
|
1332
|
-
_scrollToHighlight(targetElt) {
|
|
1333
|
-
if (!targetElt) {
|
|
1334
|
-
return;
|
|
1335
|
-
}
|
|
1336
|
-
const contentElt = this.document.querySelector('.lu-picker-content');
|
|
1337
|
-
if (!contentElt) {
|
|
1338
|
-
return;
|
|
1339
|
-
}
|
|
1340
|
-
const headerElt = this.document.querySelector('.lu-picker-content .lu-picker-header');
|
|
1341
|
-
const headerHeight = headerElt ? headerElt.offsetHeight : 0;
|
|
1342
|
-
const footerElt = this.document.querySelector('.lu-picker-content .lu-picker-footer');
|
|
1343
|
-
const footerHeight = footerElt ? footerElt.offsetHeight : 0;
|
|
1344
|
-
// highlighted option is too high
|
|
1345
|
-
if (contentElt.scrollTop + headerHeight > targetElt.offsetTop) {
|
|
1346
|
-
contentElt.scrollTop = targetElt.offsetTop - headerHeight;
|
|
1347
|
-
return;
|
|
1348
|
-
}
|
|
1349
|
-
// highlight option is too low
|
|
1350
|
-
const offsetHeight = contentElt.offsetHeight;
|
|
1351
|
-
if (contentElt.scrollTop + offsetHeight - footerHeight < targetElt.offsetTop + targetElt.offsetHeight) {
|
|
1352
|
-
contentElt.scrollTop = targetElt.offsetTop + targetElt.offsetHeight - offsetHeight + footerHeight;
|
|
1353
|
-
return;
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
_selectHighlighted() {
|
|
1357
|
-
const options = this._options ? this._options : [];
|
|
1358
|
-
const highlightedOption = options[this.highlightIndex];
|
|
1359
|
-
if (highlightedOption) {
|
|
1360
|
-
this._toggle(highlightedOption);
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
_initSelected() {
|
|
1364
|
-
this._subs.add(this._options$.subscribe(() => {
|
|
1365
|
-
this._applySelected();
|
|
1366
|
-
}));
|
|
1367
|
-
}
|
|
1368
|
-
_applySelected() {
|
|
1369
|
-
if (!this._options) {
|
|
1370
|
-
return;
|
|
1371
|
-
}
|
|
1372
|
-
// const selectedClass = 'is-selected';
|
|
1373
|
-
const options = this._options;
|
|
1374
|
-
// remove `is-selected` class from all other options
|
|
1375
|
-
options.forEach((option) => (option.selected = false));
|
|
1376
|
-
// add `is-selected` to all selected indexes
|
|
1377
|
-
const selectedIndexes = [];
|
|
1378
|
-
if (!this.multiple) {
|
|
1379
|
-
const selectedIndex = this._options.findIndex((o) => this.optionComparer(o.value, this._value));
|
|
1380
|
-
if (selectedIndex !== -1) {
|
|
1381
|
-
selectedIndexes.push(selectedIndex);
|
|
1382
|
-
}
|
|
1383
|
-
if (selectedIndex !== -1 && this.highlightIndex === -1) {
|
|
1384
|
-
this.highlightIndex = selectedIndex;
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
else {
|
|
1388
|
-
const values = this._value || [];
|
|
1389
|
-
const matchingIndexes = this._options
|
|
1390
|
-
.map((o) => values.some((v) => this.optionComparer(o.value, v)))
|
|
1391
|
-
.map((f, i) => (f ? i : null))
|
|
1392
|
-
.filter((i) => i !== null);
|
|
1393
|
-
selectedIndexes.push(...matchingIndexes);
|
|
1394
|
-
// selectedIndexes.push(
|
|
1395
|
-
// ...values
|
|
1396
|
-
// .map(v => this._options.findIndex(o => this.optionComparer(o.value, v)))
|
|
1397
|
-
// .filter(i => i !== -1)
|
|
1398
|
-
// );
|
|
1399
|
-
}
|
|
1400
|
-
selectedIndexes.forEach((i) => {
|
|
1401
|
-
const option = options[i];
|
|
1402
|
-
if (option) {
|
|
1403
|
-
option.selected = true;
|
|
1404
|
-
}
|
|
1405
|
-
});
|
|
1406
|
-
}
|
|
1407
|
-
initItems() {
|
|
1408
|
-
const items$ = merge(of(this._optionsQL), this._optionsQL.changes).pipe(map((q) => q.toArray()), delay(0), share());
|
|
1409
|
-
items$.subscribe((o) => (this._options = o || []));
|
|
1410
|
-
this._options$ = items$;
|
|
1411
|
-
this._initHighlight();
|
|
1412
|
-
this._initSelected();
|
|
1413
|
-
}
|
|
1414
|
-
ngAfterViewInit() {
|
|
1415
|
-
this.initItems();
|
|
1416
|
-
}
|
|
1417
|
-
}
|
|
1418
|
-
ALuOptionPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ALuOptionPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1419
|
-
ALuOptionPickerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: ALuOptionPickerComponent, inputs: { inputPanelClasses: ["panel-classes", "inputPanelClasses"], inputContentClasses: ["content-classes", "inputContentClasses"], inputOptionComparer: ["option-comparer", "inputOptionComparer"] }, outputs: { close: "close", open: "open", hovered: "hovered", onSelectValue: "onSelectValue" }, queries: [{ propertyName: "optionsQL", predicate: ALuOptionItem, descendants: true }], viewQueries: [{ propertyName: "vcTemplateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], usesInheritance: true, ngImport: i0 });
|
|
1420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ALuOptionPickerComponent, decorators: [{
|
|
1421
|
-
type: Directive
|
|
1422
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
1423
|
-
type: Inject,
|
|
1424
|
-
args: [DOCUMENT]
|
|
1425
|
-
}] }]; }, propDecorators: { inputPanelClasses: [{
|
|
1426
|
-
type: Input,
|
|
1427
|
-
args: ['panel-classes']
|
|
1428
|
-
}], inputContentClasses: [{
|
|
1429
|
-
type: Input,
|
|
1430
|
-
args: ['content-classes']
|
|
1431
|
-
}], inputOptionComparer: [{
|
|
1432
|
-
type: Input,
|
|
1433
|
-
args: ['option-comparer']
|
|
1434
|
-
}], close: [{
|
|
1435
|
-
type: Output
|
|
1436
|
-
}], open: [{
|
|
1437
|
-
type: Output
|
|
1438
|
-
}], hovered: [{
|
|
1439
|
-
type: Output
|
|
1440
|
-
}], onSelectValue: [{
|
|
1441
|
-
type: Output
|
|
1442
|
-
}], optionsQL: [{
|
|
1443
|
-
type: ContentChildren,
|
|
1444
|
-
args: [ALuOptionItem, { descendants: true }]
|
|
1445
|
-
}], vcTemplateRef: [{
|
|
1446
|
-
type: ViewChild,
|
|
1447
|
-
args: [TemplateRef, { static: true }]
|
|
1448
|
-
}] } });
|
|
1449
|
-
/**
|
|
1450
|
-
* basic option picker panel
|
|
1451
|
-
*/
|
|
1452
|
-
class LuOptionPickerComponent extends ALuOptionPickerComponent {
|
|
1453
|
-
constructor(_changeDetectorRef, document) {
|
|
1454
|
-
super(_changeDetectorRef, document);
|
|
1455
|
-
}
|
|
1456
|
-
}
|
|
1457
|
-
LuOptionPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
1458
|
-
LuOptionPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuOptionPickerComponent, isStandalone: true, selector: "lu-option-picker", providers: [
|
|
1459
|
-
{
|
|
1460
|
-
provide: ALuPickerPanel,
|
|
1461
|
-
useExisting: forwardRef(() => LuOptionPickerComponent),
|
|
1462
|
-
},
|
|
1463
|
-
], exportAs: ["LuOptionPicker"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-picker-panel lu-option-picker-panel\"\r\n\t\trole=\"dialog\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t[class.mod-multiple]=\"multiple\"\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>\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content>\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: "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 });
|
|
1464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPickerComponent, decorators: [{
|
|
1465
|
-
type: Component,
|
|
1466
|
-
args: [{ selector: 'lu-option-picker', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuOptionPicker', standalone: true, imports: [CommonModule, OverlayModule, LuOptionItemComponent, A11yModule], providers: [
|
|
1467
|
-
{
|
|
1468
|
-
provide: ALuPickerPanel,
|
|
1469
|
-
useExisting: forwardRef(() => LuOptionPickerComponent),
|
|
1470
|
-
},
|
|
1471
|
-
], template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-picker-panel lu-option-picker-panel\"\r\n\t\trole=\"dialog\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t[class.mod-multiple]=\"multiple\"\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>\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n" }]
|
|
1472
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
1473
|
-
type: Inject,
|
|
1474
|
-
args: [DOCUMENT]
|
|
1475
|
-
}] }]; } });
|
|
1476
|
-
|
|
1477
|
-
class ALuOptionPickerAdvancedComponent extends ALuOptionPickerComponent {
|
|
1478
|
-
constructor(_changeDetectorRef, document) {
|
|
1479
|
-
super(_changeDetectorRef, document);
|
|
1480
|
-
this._operators = [];
|
|
1481
|
-
this._onOpenSubscribers = [];
|
|
1482
|
-
this._onCloseSubscribers = [];
|
|
1483
|
-
this._onScrollBottomSubscribers = [];
|
|
1484
|
-
this._selectors = [];
|
|
1485
|
-
}
|
|
1486
|
-
set operatorsQL(ql) {
|
|
1487
|
-
this._operatorsQL = ql;
|
|
1488
|
-
}
|
|
1489
|
-
set onOpenSubsQL(ql) {
|
|
1490
|
-
this._onOpenSubscribers = ql.toArray();
|
|
1491
|
-
}
|
|
1492
|
-
set onCloseSubsQL(ql) {
|
|
1493
|
-
this._onCloseSubscribers = ql.toArray();
|
|
1494
|
-
}
|
|
1495
|
-
set onScrollBottomSubsQL(ql) {
|
|
1496
|
-
this._onScrollBottomSubscribers = ql.toArray();
|
|
1497
|
-
}
|
|
1498
|
-
set selectorsQL(ql) {
|
|
1499
|
-
this._selectorsQL = ql;
|
|
1500
|
-
}
|
|
1501
|
-
onScrollBottom() {
|
|
1502
|
-
this._onScrollBottomSubscribers.forEach((o) => {
|
|
1503
|
-
if (!o.onScrollBottom) {
|
|
1504
|
-
return;
|
|
1505
|
-
}
|
|
1506
|
-
o.onScrollBottom();
|
|
1507
|
-
});
|
|
1508
|
-
}
|
|
1509
|
-
onOpen() {
|
|
1510
|
-
this._onOpenSubscribers.forEach((o) => {
|
|
1511
|
-
o.onOpen();
|
|
1512
|
-
});
|
|
1513
|
-
const operators = this._operators || [];
|
|
1514
|
-
const lastOperator = operators[operators.length - 1];
|
|
1515
|
-
if (lastOperator && lastOperator.outOptions$) {
|
|
1516
|
-
this.loading$ = lastOperator.outOptions$.pipe(first(), map(() => false), startWith(true), shareReplay());
|
|
1517
|
-
}
|
|
1518
|
-
super.onOpen();
|
|
1519
|
-
}
|
|
1520
|
-
onClose() {
|
|
1521
|
-
this._onCloseSubscribers.forEach((o) => {
|
|
1522
|
-
o.onClose();
|
|
1523
|
-
});
|
|
1524
|
-
super.onClose();
|
|
1525
|
-
}
|
|
1526
|
-
setValue(value) {
|
|
1527
|
-
super.setValue(value);
|
|
1528
|
-
this._selectors.forEach((s) => s.setValue(value));
|
|
1529
|
-
}
|
|
1530
|
-
initOperators() {
|
|
1531
|
-
const operators = this._operatorsQL.toArray();
|
|
1532
|
-
this._operators = operators;
|
|
1533
|
-
let options$;
|
|
1534
|
-
operators.forEach((operator) => {
|
|
1535
|
-
operator.inOptions$ = options$;
|
|
1536
|
-
options$ = operator.outOptions$;
|
|
1537
|
-
});
|
|
1538
|
-
}
|
|
1539
|
-
initSelectors() {
|
|
1540
|
-
// TODO : FIX changes type
|
|
1541
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
1542
|
-
const selectors$ = this._selectorsQL.changes.pipe(startWith(this._selectorsQL.toArray()));
|
|
1543
|
-
this._subs.add(selectors$.subscribe((selectors) => {
|
|
1544
|
-
this._selectors = selectors;
|
|
1545
|
-
this._selectors.forEach((s) => s.setValue(this._value));
|
|
1546
|
-
this._subs.add(merge(this._selectors.map((s) => s.onSelectValue))
|
|
1547
|
-
.pipe(mergeAll())
|
|
1548
|
-
.subscribe((values) => {
|
|
1549
|
-
this._select(values);
|
|
1550
|
-
}));
|
|
1551
|
-
}));
|
|
1552
|
-
}
|
|
1553
|
-
ngAfterViewInit() {
|
|
1554
|
-
super.ngAfterViewInit();
|
|
1555
|
-
this.initOperators();
|
|
1556
|
-
this.initSelectors();
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
ALuOptionPickerAdvancedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ALuOptionPickerAdvancedComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1560
|
-
ALuOptionPickerAdvancedComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: ALuOptionPickerAdvancedComponent, queries: [{ propertyName: "operatorsQL", predicate: ALuOptionOperator, descendants: true }, { propertyName: "onOpenSubsQL", predicate: ALuOnOpenSubscriber, descendants: true }, { propertyName: "onCloseSubsQL", predicate: ALuOnCloseSubscriber, descendants: true }, { propertyName: "onScrollBottomSubsQL", predicate: ALuOnScrollBottomSubscriber, descendants: true }, { propertyName: "selectorsQL", predicate: ALuOptionSelector, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
1561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ALuOptionPickerAdvancedComponent, decorators: [{
|
|
1562
|
-
type: Directive
|
|
1563
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
1564
|
-
type: Inject,
|
|
1565
|
-
args: [DOCUMENT]
|
|
1566
|
-
}] }]; }, propDecorators: { operatorsQL: [{
|
|
1567
|
-
type: ContentChildren,
|
|
1568
|
-
args: [ALuOptionOperator, { descendants: true }]
|
|
1569
|
-
}], onOpenSubsQL: [{
|
|
1570
|
-
type: ContentChildren,
|
|
1571
|
-
args: [ALuOnOpenSubscriber, { descendants: true }]
|
|
1572
|
-
}], onCloseSubsQL: [{
|
|
1573
|
-
type: ContentChildren,
|
|
1574
|
-
args: [ALuOnCloseSubscriber, { descendants: true }]
|
|
1575
|
-
}], onScrollBottomSubsQL: [{
|
|
1576
|
-
type: ContentChildren,
|
|
1577
|
-
args: [ALuOnScrollBottomSubscriber, { descendants: true }]
|
|
1578
|
-
}], selectorsQL: [{
|
|
1579
|
-
type: ContentChildren,
|
|
1580
|
-
args: [ALuOptionSelector, { descendants: true }]
|
|
1581
|
-
}] } });
|
|
1582
|
-
/**
|
|
1583
|
-
* advanced option picker panel
|
|
1584
|
-
*/
|
|
1585
|
-
class LuOptionPickerAdvancedComponent extends ALuOptionPickerAdvancedComponent {
|
|
1586
|
-
constructor(_changeDetectorRef, document) {
|
|
1587
|
-
super(_changeDetectorRef, document);
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
LuOptionPickerAdvancedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPickerAdvancedComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
1591
|
-
LuOptionPickerAdvancedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuOptionPickerAdvancedComponent, isStandalone: true, selector: "lu-option-picker-advanced", providers: [
|
|
1592
|
-
{
|
|
1593
|
-
provide: ALuPickerPanel,
|
|
1594
|
-
useExisting: forwardRef(() => LuOptionPickerAdvancedComponent),
|
|
1595
|
-
},
|
|
1596
|
-
], exportAs: ["LuOptionPickerAdvanced"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-picker-panel lu-option-picker-panel\"\r\n\t\trole=\"dialog\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t[class.mod-multiple]=\"multiple\"\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>\r\n\t\t<div\r\n\t\t\t[class.is-loading]=\"loading$ | async\"\r\n\t\t\tclass=\"lu-picker-content\"\r\n\t\t\t[ngClass]=\"contentClassesMap\"\r\n\t\t\t[cdkTrapFocus]=\"trapFocus\"\r\n\t\t\tluScroll\r\n\t\t\t(onScrollBottom)=\"onScrollBottom()\"\r\n\t\t>\r\n\t\t\t<ng-content></ng-content>\r\n\t\t\t<div *ngIf=\"loading$ | async\" class=\"loading lu-picker-loading\"></div>\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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: LuScrollDirective, selector: "[luScroll]", inputs: ["debounceTime"], outputs: ["onScroll", "onScrollTop", "onScrollBottom", "onScrollLeft", "onScrollRight"], exportAs: ["luScroll"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPickerAdvancedComponent, decorators: [{
|
|
1598
|
-
type: Component,
|
|
1599
|
-
args: [{ selector: 'lu-option-picker-advanced', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuOptionPickerAdvanced', standalone: true, imports: [CommonModule, OverlayModule, LuOptionItemComponent, LuScrollDirective, A11yModule], providers: [
|
|
1600
|
-
{
|
|
1601
|
-
provide: ALuPickerPanel,
|
|
1602
|
-
useExisting: forwardRef(() => LuOptionPickerAdvancedComponent),
|
|
1603
|
-
},
|
|
1604
|
-
], template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-picker-panel lu-option-picker-panel\"\r\n\t\trole=\"dialog\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t[class.mod-multiple]=\"multiple\"\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>\r\n\t\t<div\r\n\t\t\t[class.is-loading]=\"loading$ | async\"\r\n\t\t\tclass=\"lu-picker-content\"\r\n\t\t\t[ngClass]=\"contentClassesMap\"\r\n\t\t\t[cdkTrapFocus]=\"trapFocus\"\r\n\t\t\tluScroll\r\n\t\t\t(onScrollBottom)=\"onScrollBottom()\"\r\n\t\t>\r\n\t\t\t<ng-content></ng-content>\r\n\t\t\t<div *ngIf=\"loading$ | async\" class=\"loading lu-picker-loading\"></div>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n" }]
|
|
1605
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
1606
|
-
type: Inject,
|
|
1607
|
-
args: [DOCUMENT]
|
|
1608
|
-
}] }]; } });
|
|
1609
|
-
|
|
1610
|
-
class LuOptionPickerModule {
|
|
1611
|
-
}
|
|
1612
|
-
LuOptionPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1613
|
-
LuOptionPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPickerModule, imports: [LuOptionPickerComponent, LuOptionPickerAdvancedComponent, LuOptionItemComponent], exports: [LuOptionPickerComponent, LuOptionPickerAdvancedComponent, LuOptionItemComponent] });
|
|
1614
|
-
LuOptionPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPickerModule, imports: [LuOptionPickerComponent, LuOptionPickerAdvancedComponent, LuOptionItemComponent] });
|
|
1615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionPickerModule, decorators: [{
|
|
1616
|
-
type: NgModule,
|
|
1617
|
-
args: [{
|
|
1618
|
-
imports: [LuOptionPickerComponent, LuOptionPickerAdvancedComponent, LuOptionItemComponent],
|
|
1619
|
-
exports: [LuOptionPickerComponent, LuOptionPickerAdvancedComponent, LuOptionItemComponent],
|
|
1620
|
-
}]
|
|
1621
|
-
}] });
|
|
1622
|
-
|
|
1623
|
-
var ToggleMode;
|
|
1624
|
-
(function (ToggleMode) {
|
|
1625
|
-
ToggleMode[ToggleMode["all"] = 0] = "all";
|
|
1626
|
-
ToggleMode[ToggleMode["self"] = 1] = "self";
|
|
1627
|
-
ToggleMode[ToggleMode["children"] = 2] = "children";
|
|
1628
|
-
})(ToggleMode || (ToggleMode = {}));
|
|
1629
|
-
class ALuTreeOptionPickerComponent extends ALuOptionPickerComponent {
|
|
1630
|
-
constructor(_changeDetectorRef, document) {
|
|
1631
|
-
super(_changeDetectorRef, document);
|
|
1632
|
-
}
|
|
1633
|
-
set optionsQL(ql) {
|
|
1634
|
-
this._optionsQL = ql;
|
|
1635
|
-
}
|
|
1636
|
-
set _options$(optionItems$) {
|
|
1637
|
-
// reapply selected when the options change
|
|
1638
|
-
this._subs.add(optionItems$.subscribe(() => this._applySelected()));
|
|
1639
|
-
// subscribe to any option.onSelect
|
|
1640
|
-
const singleFlowSelect$ = optionItems$.pipe(switchMap((items) => merge(...items.map((i) => i.onSelect))));
|
|
1641
|
-
const singleFlowSelectSelf$ = optionItems$.pipe(switchMap((items) => merge(...items.map((i) => i.onSelectSelf))));
|
|
1642
|
-
const singleFlowSelectChildren$ = optionItems$.pipe(switchMap((items) => merge(...items.map((i) => i.onSelectChildren))));
|
|
1643
|
-
this._subs.add(singleFlowSelect$.subscribe((option) => this._toggle(option, ToggleMode.all)));
|
|
1644
|
-
this._subs.add(singleFlowSelectSelf$.subscribe((option) => this._toggle(option, ToggleMode.self)));
|
|
1645
|
-
this._subs.add(singleFlowSelectChildren$.subscribe((option) => this._toggle(option, ToggleMode.children)));
|
|
1646
|
-
}
|
|
1647
|
-
_toggle(option, mod = ToggleMode.all) {
|
|
1648
|
-
switch (mod) {
|
|
1649
|
-
case ToggleMode.self:
|
|
1650
|
-
return this._toggleSelf(option);
|
|
1651
|
-
case ToggleMode.children:
|
|
1652
|
-
return this._toggleChildren(option);
|
|
1653
|
-
default:
|
|
1654
|
-
return this._toggleAll(option);
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
_toggleAll(option) {
|
|
1658
|
-
const value = option.value;
|
|
1659
|
-
if (!this.multiple) {
|
|
1660
|
-
this._select(value);
|
|
1661
|
-
return;
|
|
1662
|
-
}
|
|
1663
|
-
const allChildren = option.allChildren.map((i) => i.value);
|
|
1664
|
-
const values = this._value || [];
|
|
1665
|
-
let newValues;
|
|
1666
|
-
const selfSelected = values.some((v) => this.optionComparer(v, value));
|
|
1667
|
-
const allChildrenSelected = allChildren.every((child) => values.some((v) => this.optionComparer(v, child)));
|
|
1668
|
-
if (selfSelected && allChildrenSelected) {
|
|
1669
|
-
// remove option and its children
|
|
1670
|
-
newValues = this._remove(values, [value, ...allChildren]);
|
|
1671
|
-
}
|
|
1672
|
-
else {
|
|
1673
|
-
// add option and its children
|
|
1674
|
-
newValues = this._add(values, [value, ...allChildren]);
|
|
1675
|
-
}
|
|
1676
|
-
this._select(newValues);
|
|
1677
|
-
}
|
|
1678
|
-
_toggleSelf(option) {
|
|
1679
|
-
const value = option.value;
|
|
1680
|
-
if (!this.multiple) {
|
|
1681
|
-
this._select(value);
|
|
1682
|
-
return;
|
|
1683
|
-
}
|
|
1684
|
-
const allChildren = option.allChildren.map((i) => i.value);
|
|
1685
|
-
const values = this._value || [];
|
|
1686
|
-
const selfSelected = values.some((v) => this.optionComparer(v, value));
|
|
1687
|
-
const someChildSelected = allChildren.some((child) => values.some((v) => this.optionComparer(v, child)));
|
|
1688
|
-
let newValues = this._remove(values, [...allChildren]);
|
|
1689
|
-
if (selfSelected && !someChildSelected) {
|
|
1690
|
-
// remove option
|
|
1691
|
-
newValues = this._remove(newValues, [value]);
|
|
1692
|
-
}
|
|
1693
|
-
else {
|
|
1694
|
-
// add option
|
|
1695
|
-
newValues = this._add(newValues, [value]);
|
|
1696
|
-
}
|
|
1697
|
-
this._select(newValues);
|
|
1698
|
-
}
|
|
1699
|
-
_toggleChildren(option) {
|
|
1700
|
-
const value = option.value;
|
|
1701
|
-
if (!this.multiple) {
|
|
1702
|
-
this._select(value);
|
|
1703
|
-
return;
|
|
1704
|
-
}
|
|
1705
|
-
const allChildren = option.allChildren.map((i) => i.value);
|
|
1706
|
-
const values = this._value || [];
|
|
1707
|
-
const selfSelected = values.some((v) => this.optionComparer(v, value));
|
|
1708
|
-
let newValues = this._remove(values, [value]);
|
|
1709
|
-
const allChildrenSelected = allChildren.every((child) => values.some((v) => this.optionComparer(v, child)));
|
|
1710
|
-
if (allChildrenSelected && !selfSelected) {
|
|
1711
|
-
newValues = this._remove(newValues, allChildren);
|
|
1712
|
-
}
|
|
1713
|
-
else {
|
|
1714
|
-
newValues = this._add(newValues, allChildren);
|
|
1715
|
-
}
|
|
1716
|
-
this._select(newValues);
|
|
1717
|
-
}
|
|
1718
|
-
_add(values, entries) {
|
|
1719
|
-
const newEntries = entries.filter((entry) => !values.some((v) => this.optionComparer(v, entry)));
|
|
1720
|
-
return [...values, ...newEntries];
|
|
1721
|
-
}
|
|
1722
|
-
_remove(values, entries) {
|
|
1723
|
-
const entriesToKeep = values.filter((value) => !entries.some((e) => this.optionComparer(e, value)));
|
|
1724
|
-
return [...entriesToKeep];
|
|
1725
|
-
}
|
|
1726
|
-
initItems() {
|
|
1727
|
-
const items$ = this._optionsQL.changes.pipe(startWith(this._optionsQL), map((q) => q.toArray()), map((roots) => roots.map((r) => [r, ...r.allChildren]).reduce((agg, val) => [...agg, ...val], [])), delay(0));
|
|
1728
|
-
this._subs.add(items$.subscribe((o) => (this._options = o || [])));
|
|
1729
|
-
this._options$ = items$;
|
|
1730
|
-
}
|
|
1731
|
-
ngAfterViewInit() {
|
|
1732
|
-
this.initItems();
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
ALuTreeOptionPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ALuTreeOptionPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1736
|
-
ALuTreeOptionPickerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: ALuTreeOptionPickerComponent, queries: [{ propertyName: "optionsQL", predicate: ALuTreeOptionItem, descendants: true }, { propertyName: "optionsQLVR", predicate: ALuTreeOptionItem, descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0 });
|
|
1737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ALuTreeOptionPickerComponent, decorators: [{
|
|
1738
|
-
type: Directive
|
|
1739
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
1740
|
-
type: Inject,
|
|
1741
|
-
args: [DOCUMENT]
|
|
1742
|
-
}] }]; }, propDecorators: { optionsQL: [{
|
|
1743
|
-
type: ContentChildren,
|
|
1744
|
-
args: [ALuTreeOptionItem, { descendants: true }]
|
|
1745
|
-
}], optionsQLVR: [{
|
|
1746
|
-
type: ContentChildren,
|
|
1747
|
-
args: [ALuTreeOptionItem, {
|
|
1748
|
-
descendants: true,
|
|
1749
|
-
read: ViewContainerRef,
|
|
1750
|
-
}]
|
|
1751
|
-
}] } });
|
|
1752
|
-
/**
|
|
1753
|
-
* basic tree option picker panel
|
|
1754
|
-
*/
|
|
1755
|
-
class LuTreeOptionPickerComponent extends ALuTreeOptionPickerComponent {
|
|
1756
|
-
constructor(_changeDetectorRef, document) {
|
|
1757
|
-
super(_changeDetectorRef, document);
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
LuTreeOptionPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
1761
|
-
LuTreeOptionPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuTreeOptionPickerComponent, isStandalone: true, selector: "lu-tree-option-picker", providers: [
|
|
1762
|
-
{
|
|
1763
|
-
provide: ALuPickerPanel,
|
|
1764
|
-
useExisting: forwardRef(() => LuTreeOptionPickerComponent),
|
|
1765
|
-
},
|
|
1766
|
-
], exportAs: ["LuTreeOptionPicker"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-picker-panel lu-tree-option-picker-panel\"\r\n\t\trole=\"dialog\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t[class.mod-multiple]=\"multiple\"\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>\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content>\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: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPickerComponent, decorators: [{
|
|
1768
|
-
type: Component,
|
|
1769
|
-
args: [{ selector: 'lu-tree-option-picker', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuTreeOptionPicker', standalone: true, imports: [CommonModule, A11yModule], providers: [
|
|
1770
|
-
{
|
|
1771
|
-
provide: ALuPickerPanel,
|
|
1772
|
-
useExisting: forwardRef(() => LuTreeOptionPickerComponent),
|
|
1773
|
-
},
|
|
1774
|
-
], template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-picker-panel lu-tree-option-picker-panel\"\r\n\t\trole=\"dialog\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t[class.mod-multiple]=\"multiple\"\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>\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n" }]
|
|
1775
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
1776
|
-
type: Inject,
|
|
1777
|
-
args: [DOCUMENT]
|
|
1778
|
-
}] }]; } });
|
|
1779
|
-
|
|
1780
|
-
class ALuTreeOptionPickerAdvancedComponent extends ALuTreeOptionPickerComponent {
|
|
1781
|
-
constructor(_changeDetectorRef, document) {
|
|
1782
|
-
super(_changeDetectorRef, document);
|
|
1783
|
-
this._operators = [];
|
|
1784
|
-
this._onOpenSubscribers = [];
|
|
1785
|
-
this._onCloseSubscribers = [];
|
|
1786
|
-
this._onScrollBottomSubscribers = [];
|
|
1787
|
-
this._selectors = [];
|
|
1788
|
-
}
|
|
1789
|
-
set operatorsQL(ql) {
|
|
1790
|
-
this._operatorsQL = ql;
|
|
1791
|
-
}
|
|
1792
|
-
set onOpenSubsQL(ql) {
|
|
1793
|
-
this._onOpenSubscribers = ql.toArray();
|
|
1794
|
-
}
|
|
1795
|
-
set onCloseSubsQL(ql) {
|
|
1796
|
-
this._onCloseSubscribers = ql.toArray();
|
|
1797
|
-
}
|
|
1798
|
-
set onScrollBottomSubsQL(ql) {
|
|
1799
|
-
this._onScrollBottomSubscribers = ql.toArray();
|
|
1800
|
-
}
|
|
1801
|
-
set selectorsQL(ql) {
|
|
1802
|
-
this._selectorsQL = ql;
|
|
1803
|
-
}
|
|
1804
|
-
onScrollBottom() {
|
|
1805
|
-
this._onScrollBottomSubscribers.forEach((o) => {
|
|
1806
|
-
if (!o.onScrollBottom) {
|
|
1807
|
-
return;
|
|
1808
|
-
}
|
|
1809
|
-
o.onScrollBottom();
|
|
1810
|
-
});
|
|
1811
|
-
}
|
|
1812
|
-
onOpen() {
|
|
1813
|
-
this._onOpenSubscribers.forEach((o) => {
|
|
1814
|
-
o.onOpen();
|
|
1815
|
-
});
|
|
1816
|
-
super.onOpen();
|
|
1817
|
-
}
|
|
1818
|
-
onClose() {
|
|
1819
|
-
this._onCloseSubscribers.forEach((o) => {
|
|
1820
|
-
o.onClose();
|
|
1821
|
-
});
|
|
1822
|
-
super.onClose();
|
|
1823
|
-
}
|
|
1824
|
-
setValue(value) {
|
|
1825
|
-
super.setValue(value);
|
|
1826
|
-
this._selectors.forEach((s) => s.setValue(value));
|
|
1827
|
-
}
|
|
1828
|
-
initOperators() {
|
|
1829
|
-
const operators = this._operatorsQL.toArray();
|
|
1830
|
-
this._operators = operators;
|
|
1831
|
-
let options$;
|
|
1832
|
-
operators.forEach((operator) => {
|
|
1833
|
-
operator.inOptions$ = options$;
|
|
1834
|
-
options$ = operator.outOptions$;
|
|
1835
|
-
});
|
|
1836
|
-
const lastOperator = operators[operators.length - 1];
|
|
1837
|
-
if (lastOperator && lastOperator.outOptions$) {
|
|
1838
|
-
this.loading$ = lastOperator.outOptions$.pipe(first(), map(() => false), startWith(true), shareReplay());
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
initSelectors() {
|
|
1842
|
-
this._selectors = this._selectorsQL.toArray();
|
|
1843
|
-
this._subs.add(merge(this._selectors.map((s) => s.onSelectValue))
|
|
1844
|
-
.pipe(mergeAll())
|
|
1845
|
-
.subscribe((values) => {
|
|
1846
|
-
this._select(values);
|
|
1847
|
-
}));
|
|
1848
|
-
}
|
|
1849
|
-
ngAfterViewInit() {
|
|
1850
|
-
super.ngAfterViewInit();
|
|
1851
|
-
this.initOperators();
|
|
1852
|
-
this.initSelectors();
|
|
1853
|
-
}
|
|
1854
|
-
}
|
|
1855
|
-
ALuTreeOptionPickerAdvancedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ALuTreeOptionPickerAdvancedComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1856
|
-
ALuTreeOptionPickerAdvancedComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.7", type: ALuTreeOptionPickerAdvancedComponent, queries: [{ propertyName: "operatorsQL", predicate: ALuTreeOptionOperator, descendants: true }, { propertyName: "onOpenSubsQL", predicate: ALuOnOpenSubscriber, descendants: true }, { propertyName: "onCloseSubsQL", predicate: ALuOnCloseSubscriber, descendants: true }, { propertyName: "onScrollBottomSubsQL", predicate: ALuOnScrollBottomSubscriber, descendants: true }, { propertyName: "selectorsQL", predicate: ALuTreeOptionSelector, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
1857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ALuTreeOptionPickerAdvancedComponent, decorators: [{
|
|
1858
|
-
type: Directive
|
|
1859
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
1860
|
-
type: Inject,
|
|
1861
|
-
args: [DOCUMENT]
|
|
1862
|
-
}] }]; }, propDecorators: { operatorsQL: [{
|
|
1863
|
-
type: ContentChildren,
|
|
1864
|
-
args: [ALuTreeOptionOperator, { descendants: true }]
|
|
1865
|
-
}], onOpenSubsQL: [{
|
|
1866
|
-
type: ContentChildren,
|
|
1867
|
-
args: [ALuOnOpenSubscriber, { descendants: true }]
|
|
1868
|
-
}], onCloseSubsQL: [{
|
|
1869
|
-
type: ContentChildren,
|
|
1870
|
-
args: [ALuOnCloseSubscriber, { descendants: true }]
|
|
1871
|
-
}], onScrollBottomSubsQL: [{
|
|
1872
|
-
type: ContentChildren,
|
|
1873
|
-
args: [ALuOnScrollBottomSubscriber, { descendants: true }]
|
|
1874
|
-
}], selectorsQL: [{
|
|
1875
|
-
type: ContentChildren,
|
|
1876
|
-
args: [ALuTreeOptionSelector, { descendants: true }]
|
|
1877
|
-
}] } });
|
|
1878
|
-
/**
|
|
1879
|
-
* advanced option picker panel
|
|
1880
|
-
*/
|
|
1881
|
-
class LuTreeOptionPickerAdvancedComponent extends ALuTreeOptionPickerAdvancedComponent {
|
|
1882
|
-
constructor(_changeDetectorRef, document) {
|
|
1883
|
-
super(_changeDetectorRef, document);
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
LuTreeOptionPickerAdvancedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPickerAdvancedComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
1887
|
-
LuTreeOptionPickerAdvancedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: LuTreeOptionPickerAdvancedComponent, isStandalone: true, selector: "lu-tree-option-picker-advanced", providers: [
|
|
1888
|
-
{
|
|
1889
|
-
provide: ALuPickerPanel,
|
|
1890
|
-
useExisting: forwardRef(() => LuTreeOptionPickerAdvancedComponent),
|
|
1891
|
-
},
|
|
1892
|
-
], exportAs: ["LuOptionPicker"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-picker-panel lu-tree-option-picker-panel\"\r\n\t\trole=\"dialog\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t[class.mod-multiple]=\"multiple\"\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>\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\" luScroll (onScrollBottom)=\"onScrollBottom()\">\r\n\t\t\t<ng-content [class.is-loading]=\"loading$ | async\"></ng-content>\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: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPickerAdvancedComponent, decorators: [{
|
|
1894
|
-
type: Component,
|
|
1895
|
-
args: [{ selector: 'lu-tree-option-picker-advanced', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuOptionPicker', standalone: true, imports: [CommonModule, A11yModule], providers: [
|
|
1896
|
-
{
|
|
1897
|
-
provide: ALuPickerPanel,
|
|
1898
|
-
useExisting: forwardRef(() => LuTreeOptionPickerAdvancedComponent),
|
|
1899
|
-
},
|
|
1900
|
-
], template: "<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-picker-panel lu-tree-option-picker-panel\"\r\n\t\trole=\"dialog\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t[class.mod-multiple]=\"multiple\"\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>\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\" luScroll (onScrollBottom)=\"onScrollBottom()\">\r\n\t\t\t<ng-content [class.is-loading]=\"loading$ | async\"></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n" }]
|
|
1901
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
1902
|
-
type: Inject,
|
|
1903
|
-
args: [DOCUMENT]
|
|
1904
|
-
}] }]; } });
|
|
1905
|
-
|
|
1906
|
-
class LuTreeOptionPickerModule {
|
|
1907
|
-
}
|
|
1908
|
-
LuTreeOptionPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1909
|
-
LuTreeOptionPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPickerModule, imports: [CommonModule, OverlayModule, LuScrollDirective, A11yModule, LuTreeOptionPickerAdvancedComponent, LuTreeOptionPickerComponent], exports: [LuTreeOptionPickerComponent, LuTreeOptionPickerAdvancedComponent] });
|
|
1910
|
-
LuTreeOptionPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPickerModule, imports: [CommonModule, OverlayModule, A11yModule, LuTreeOptionPickerAdvancedComponent, LuTreeOptionPickerComponent] });
|
|
1911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionPickerModule, decorators: [{
|
|
1912
|
-
type: NgModule,
|
|
1913
|
-
args: [{
|
|
1914
|
-
imports: [CommonModule, OverlayModule, LuScrollDirective, A11yModule, LuTreeOptionPickerAdvancedComponent, LuTreeOptionPickerComponent],
|
|
1915
|
-
exports: [LuTreeOptionPickerComponent, LuTreeOptionPickerAdvancedComponent],
|
|
1916
|
-
}]
|
|
1917
|
-
}] });
|
|
1918
|
-
|
|
1919
|
-
class ALuTreeOptionPicker extends ALuOptionPicker {
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
class LuOptionModule {
|
|
1923
|
-
}
|
|
1924
|
-
LuOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1925
|
-
LuOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuOptionModule, imports: [LuOptionItemComponent,
|
|
1926
|
-
LuOptionPickerComponent,
|
|
1927
|
-
LuOptionPickerAdvancedComponent,
|
|
1928
|
-
LuOptionPagerComponent,
|
|
1929
|
-
LuOptionFeederComponent,
|
|
1930
|
-
LuOptionSearcherComponent,
|
|
1931
|
-
LuForOptionsDirective,
|
|
1932
|
-
LuForGroupsDirective,
|
|
1933
|
-
LuOptionSelectAllComponent,
|
|
1934
|
-
LuOptionPlaceholderComponent], exports: [LuOptionItemComponent,
|
|
1935
|
-
LuOptionPickerAdvancedComponent,
|
|
1936
|
-
LuOptionPickerComponent,
|
|
1937
|
-
LuOptionPagerComponent,
|
|
1938
|
-
LuOptionFeederComponent,
|
|
1939
|
-
LuOptionSearcherComponent,
|
|
1940
|
-
LuForOptionsDirective,
|
|
1941
|
-
LuForGroupsDirective,
|
|
1942
|
-
LuOptionSelectAllComponent,
|
|
1943
|
-
LuOptionPlaceholderComponent] });
|
|
1944
|
-
LuOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionModule, imports: [LuOptionItemComponent,
|
|
1945
|
-
LuOptionPickerComponent,
|
|
1946
|
-
LuOptionPickerAdvancedComponent,
|
|
1947
|
-
LuOptionPagerComponent,
|
|
1948
|
-
LuOptionFeederComponent,
|
|
1949
|
-
LuOptionSearcherComponent,
|
|
1950
|
-
LuOptionSelectAllComponent,
|
|
1951
|
-
LuOptionPlaceholderComponent] });
|
|
1952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuOptionModule, decorators: [{
|
|
1953
|
-
type: NgModule,
|
|
1954
|
-
args: [{
|
|
1955
|
-
imports: [
|
|
1956
|
-
LuOptionItemComponent,
|
|
1957
|
-
LuOptionPickerComponent,
|
|
1958
|
-
LuOptionPickerAdvancedComponent,
|
|
1959
|
-
LuOptionPagerComponent,
|
|
1960
|
-
LuOptionFeederComponent,
|
|
1961
|
-
LuOptionSearcherComponent,
|
|
1962
|
-
LuForOptionsDirective,
|
|
1963
|
-
LuForGroupsDirective,
|
|
1964
|
-
LuOptionSelectAllComponent,
|
|
1965
|
-
LuOptionPlaceholderComponent,
|
|
1966
|
-
],
|
|
1967
|
-
exports: [
|
|
1968
|
-
LuOptionItemComponent,
|
|
1969
|
-
LuOptionPickerAdvancedComponent,
|
|
1970
|
-
LuOptionPickerComponent,
|
|
1971
|
-
LuOptionPagerComponent,
|
|
1972
|
-
LuOptionFeederComponent,
|
|
1973
|
-
LuOptionSearcherComponent,
|
|
1974
|
-
LuForOptionsDirective,
|
|
1975
|
-
LuForGroupsDirective,
|
|
1976
|
-
LuOptionSelectAllComponent,
|
|
1977
|
-
LuOptionPlaceholderComponent,
|
|
1978
|
-
],
|
|
1979
|
-
}]
|
|
1980
|
-
}] });
|
|
1981
|
-
|
|
1982
|
-
class LuTreeOptionModule {
|
|
1983
|
-
}
|
|
1984
|
-
LuTreeOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1985
|
-
LuTreeOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionModule, imports: [LuTreeOptionItemModule, LuTreeOptionPickerModule, LuTreeOptionOperatorModule, LuTreeOptionSelectorModule], exports: [LuTreeOptionItemModule, LuTreeOptionPickerModule, LuTreeOptionOperatorModule, LuTreeOptionSelectorModule] });
|
|
1986
|
-
LuTreeOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionModule, imports: [LuTreeOptionItemModule, LuTreeOptionPickerModule, LuTreeOptionOperatorModule, LuTreeOptionSelectorModule, LuTreeOptionItemModule, LuTreeOptionPickerModule, LuTreeOptionOperatorModule, LuTreeOptionSelectorModule] });
|
|
1987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: LuTreeOptionModule, decorators: [{
|
|
1988
|
-
type: NgModule,
|
|
1989
|
-
args: [{
|
|
1990
|
-
imports: [LuTreeOptionItemModule, LuTreeOptionPickerModule, LuTreeOptionOperatorModule, LuTreeOptionSelectorModule],
|
|
1991
|
-
exports: [LuTreeOptionItemModule, LuTreeOptionPickerModule, LuTreeOptionOperatorModule, LuTreeOptionSelectorModule],
|
|
1992
|
-
}]
|
|
1993
|
-
}] });
|
|
1994
|
-
|
|
1995
|
-
/*
|
|
1996
|
-
* Public API Surface of scroll
|
|
1997
|
-
*/
|
|
1998
|
-
|
|
1999
|
-
/**
|
|
2000
|
-
* Generated bundle index. Do not edit.
|
|
2001
|
-
*/
|
|
2002
|
-
|
|
2003
|
-
export { ALuOptionItem, ALuOptionOperator, ALuOptionPicker, ALuOptionPickerAdvancedComponent, ALuOptionPickerComponent, ALuOptionSelector, ALuTreeOptionItem, ALuTreeOptionOperator, ALuTreeOptionPicker, ALuTreeOptionPickerAdvancedComponent, ALuTreeOptionPickerComponent, ALuTreeOptionSelector, LU_OPTION_PLACEHOLDER_TRANSLATIONS, LU_OPTION_SELECT_ALL_TRANSLATIONS, LU_TREE_OPTION_ITEM_TRANSLATIONS, LuForGroupContext, LuForGroupsDirective, LuForGroupsModule, LuForOptionsDirective, LuForOptionsModule, LuForTreeOptionsDirective, LuForTreeOptionsModule, LuOptionFeederComponent, LuOptionFeederModule, LuOptionItemComponent, LuOptionItemModule, LuOptionModule, LuOptionOperatorModule, LuOptionPagerComponent, LuOptionPagerModule, LuOptionPickerAdvancedComponent, LuOptionPickerComponent, LuOptionPickerModule, LuOptionPlaceholderComponent, LuOptionPlaceholderModule, LuOptionSearcherComponent, LuOptionSearcherModule, LuOptionSelectAllComponent, LuOptionSelectAllModule, LuOptionSelectorModule, LuTreeOptionFeederComponent, LuTreeOptionFeederModule, LuTreeOptionItemComponent, LuTreeOptionItemModule, LuTreeOptionModule, LuTreeOptionOperatorModule, LuTreeOptionPagerComponent, LuTreeOptionPagerModule, LuTreeOptionPickerAdvancedComponent, LuTreeOptionPickerComponent, LuTreeOptionPickerModule, LuTreeOptionSearcherComponent, LuTreeOptionSearcherModule, LuTreeOptionSelectAllComponent, LuTreeOptionSelectAllModule, LuTreeOptionSelectorModule, luOptionPlaceholderTranslations, luOptionSelectAllTranslations, luTreeOptionItemTranslations };
|
|
2004
|
-
//# sourceMappingURL=lucca-front-ng-option.mjs.map
|