@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
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, InjectionToken, ViewContainerRef, Directive, ViewChild, Component, HostBinding, Injector, inject, ApplicationRef, Injectable, NgModule } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/cdk/a11y';
|
|
4
|
+
import { A11yModule } from '@angular/cdk/a11y';
|
|
5
|
+
import { AsyncPipe, NgClass, NgIf } from '@angular/common';
|
|
6
|
+
import { getIntl } from '@lucca-front/ng/core';
|
|
7
|
+
import * as i3 from '@lucca-front/ng/tooltip';
|
|
8
|
+
import { LuTooltipModule } from '@lucca-front/ng/tooltip';
|
|
9
|
+
import { ReplaySubject, Subject, Subscription, Observable, timer, isObservable, of } from 'rxjs';
|
|
10
|
+
import { map, tap, delay, distinctUntilChanged, switchMap } from 'rxjs/operators';
|
|
11
|
+
import { ALuPopupRef } from '@lucca-front/ng/popup';
|
|
12
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
13
|
+
import * as i1 from '@angular/cdk/overlay';
|
|
14
|
+
import { OverlayModule } from '@angular/cdk/overlay';
|
|
15
|
+
|
|
16
|
+
const luDefaultModalConfig = {
|
|
17
|
+
mode: 'modal',
|
|
18
|
+
position: 'center',
|
|
19
|
+
noBackdrop: false,
|
|
20
|
+
undismissable: false,
|
|
21
|
+
backdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],
|
|
22
|
+
panelClass: 'lu-popup-panel',
|
|
23
|
+
size: 'M',
|
|
24
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25
|
+
};
|
|
26
|
+
const luDefaultSidepanelConfig = {
|
|
27
|
+
...luDefaultModalConfig,
|
|
28
|
+
mode: 'sidepanel',
|
|
29
|
+
position: 'right',
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const luModalClasses = {
|
|
33
|
+
modal: { panel: 'lu-modal-panel', panelInner: 'lu-modal-panel-inner', panelContainer: 'lu-modal-container' },
|
|
34
|
+
sidepanel: { panel: 'lu-sidepanel-panel', panelInner: 'lu-sidepanel-panel-inner', overlayPane: 'mod-sidepanel', panelContainer: 'lu-sidepanel-container' },
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const LU_MODAL_TRANSLATIONS = new InjectionToken('LuModalTranslations', {
|
|
38
|
+
factory: () => luModalTranslations,
|
|
39
|
+
});
|
|
40
|
+
const luModalTranslations = {
|
|
41
|
+
en: {
|
|
42
|
+
submit: 'Ok',
|
|
43
|
+
cancel: 'Cancel',
|
|
44
|
+
close: 'Close',
|
|
45
|
+
},
|
|
46
|
+
fr: {
|
|
47
|
+
submit: 'Ok',
|
|
48
|
+
cancel: 'Annuler',
|
|
49
|
+
close: 'Fermer',
|
|
50
|
+
},
|
|
51
|
+
es: {
|
|
52
|
+
submit: 'Ok',
|
|
53
|
+
cancel: 'Cancelar',
|
|
54
|
+
close: 'Cerrar',
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
class ALuModalRef extends ALuPopupRef {
|
|
59
|
+
get mode() {
|
|
60
|
+
return this._config.mode || 'modal';
|
|
61
|
+
}
|
|
62
|
+
get modalClasses() {
|
|
63
|
+
return luModalClasses[this.mode];
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
let modalId = 0;
|
|
68
|
+
class ALuModalPanelComponent {
|
|
69
|
+
get isSubmitHidden() {
|
|
70
|
+
return !this._componentInstance.submitAction;
|
|
71
|
+
}
|
|
72
|
+
get submitPalette() {
|
|
73
|
+
return this._componentInstance.submitPalette || 'primary';
|
|
74
|
+
}
|
|
75
|
+
constructor(_ref, _elementRef, _renderer) {
|
|
76
|
+
this._ref = _ref;
|
|
77
|
+
this.doCheck$ = new ReplaySubject(1);
|
|
78
|
+
this.intl = getIntl(LU_MODAL_TRANSLATIONS);
|
|
79
|
+
this.title$ = this.listenComponentValue(() => this._componentInstance.title);
|
|
80
|
+
this.submitLabel$ = this.listenComponentValue(() => this._componentInstance.submitLabel || this.intl.submit);
|
|
81
|
+
this.cancelLabel$ = this.listenComponentValue(() => this._componentInstance.cancelLabel || this.intl.cancel);
|
|
82
|
+
this.submitCounter$ = this.listenComponentValue(() => this._componentInstance.submitCounter);
|
|
83
|
+
this.submitDisabled$ = this.listenComponentValue(() => this._componentInstance.submitDisabled);
|
|
84
|
+
this.hasSubmitCounter$ = this.submitCounter$.pipe(map(Boolean));
|
|
85
|
+
this.closeLabel = this.intl.close;
|
|
86
|
+
this.submitClass$ = new Subject();
|
|
87
|
+
this.error$ = new Subject();
|
|
88
|
+
this.modalId = modalId++;
|
|
89
|
+
this._subs = new Subscription();
|
|
90
|
+
this.modalClasses = _ref.modalClasses;
|
|
91
|
+
_renderer.addClass(_elementRef.nativeElement, this.modalClasses.panel);
|
|
92
|
+
}
|
|
93
|
+
ngDoCheck() {
|
|
94
|
+
this.doCheck$.next();
|
|
95
|
+
}
|
|
96
|
+
attachInnerComponent(componentType, injector) {
|
|
97
|
+
const ref = this._containerRef.createComponent(componentType, { injector });
|
|
98
|
+
this._componentInstance = ref.instance;
|
|
99
|
+
return ref;
|
|
100
|
+
}
|
|
101
|
+
ngOnDestroy() {
|
|
102
|
+
this.doCheck$.complete();
|
|
103
|
+
this._subs.unsubscribe();
|
|
104
|
+
}
|
|
105
|
+
dismiss() {
|
|
106
|
+
this._ref.dismiss();
|
|
107
|
+
}
|
|
108
|
+
submit() {
|
|
109
|
+
this.error$.next(undefined);
|
|
110
|
+
this.submitClass$.next('is-loading');
|
|
111
|
+
const result$ = this._componentInstance.submitAction();
|
|
112
|
+
if (result$ instanceof Observable) {
|
|
113
|
+
this._subs.add(result$
|
|
114
|
+
.pipe(tap((_) => this.submitClass$.next('is-success')), delay(500))
|
|
115
|
+
.subscribe({
|
|
116
|
+
next: (result) => this._ref.close(result),
|
|
117
|
+
error: (err) => {
|
|
118
|
+
this.submitClass$.next('is-error');
|
|
119
|
+
this.error$.next(err);
|
|
120
|
+
timer(2000).subscribe((_) => {
|
|
121
|
+
this.submitClass$.next('');
|
|
122
|
+
});
|
|
123
|
+
},
|
|
124
|
+
complete: () => {
|
|
125
|
+
this.submitClass$.next('');
|
|
126
|
+
},
|
|
127
|
+
}));
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
this._ref.close(result$);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
listenComponentValue(selector) {
|
|
134
|
+
return this.doCheck$.pipe(map(selector), distinctUntilChanged(), switchMap((value) => (isObservable(value) ? value : of(value))));
|
|
135
|
+
}
|
|
136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: ALuModalPanelComponent, deps: [{ token: ALuModalRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
137
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: ALuModalPanelComponent, viewQueries: [{ propertyName: "_containerRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0 }); }
|
|
138
|
+
}
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: ALuModalPanelComponent, decorators: [{
|
|
140
|
+
type: Directive
|
|
141
|
+
}], ctorParameters: function () { return [{ type: ALuModalRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { _containerRef: [{
|
|
142
|
+
type: ViewChild,
|
|
143
|
+
args: ['container', { read: ViewContainerRef, static: true }]
|
|
144
|
+
}] } });
|
|
145
|
+
const panelImports = [A11yModule, AsyncPipe, LuTooltipModule, NgClass, NgIf];
|
|
146
|
+
class LuModalPanelComponent extends ALuModalPanelComponent {
|
|
147
|
+
constructor(_ref, _elementRef, _renderer) {
|
|
148
|
+
super(_ref, _elementRef, _renderer);
|
|
149
|
+
this.class = true;
|
|
150
|
+
}
|
|
151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalPanelComponent, deps: [{ token: ALuModalRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
152
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: LuModalPanelComponent, isStandalone: true, selector: "lu-modal-panel", host: { properties: { "class.lu-modal-panel": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div\r\n\tcdkTrapFocus=\"true\"\r\n\tcdkTrapFocusAutoCapture=\"true\"\r\n\trole=\"dialog\"\r\n\taria-modal=\"true\"\r\n\t[attr.aria-labelledby]=\"'luModalTitle' + modalId\"\r\n\t[ngClass]=\"modalClasses.panelInner\"\r\n>\r\n\t<div [ngClass]=\"modalClasses.panelContainer\" role=\"document\">\r\n\t\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t\t<button type=\"button\" class=\"actionIcon lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t\t</button>\r\n\t\t\t<h1 [attr.id]=\"'luModalTitle' + modalId\" class=\"lu-modal-header-title\">{{ title$ | async }}</h1>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-content\">\r\n\t\t\t<ng-container #container></ng-container>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-footer\">\r\n\t\t\t<button\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t\t(click)=\"submit()\"\r\n\t\t\t>\r\n\t\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t\t</button>\r\n\t\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: LuTooltipModule }, { kind: "directive", type: i3.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition", "luTooltipWhenEllipsis"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
153
|
+
}
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalPanelComponent, decorators: [{
|
|
155
|
+
type: Component,
|
|
156
|
+
args: [{ selector: 'lu-modal-panel', standalone: true, imports: panelImports, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n\tcdkTrapFocus=\"true\"\r\n\tcdkTrapFocusAutoCapture=\"true\"\r\n\trole=\"dialog\"\r\n\taria-modal=\"true\"\r\n\t[attr.aria-labelledby]=\"'luModalTitle' + modalId\"\r\n\t[ngClass]=\"modalClasses.panelInner\"\r\n>\r\n\t<div [ngClass]=\"modalClasses.panelContainer\" role=\"document\">\r\n\t\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t\t<button type=\"button\" class=\"actionIcon lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t\t</button>\r\n\t\t\t<h1 [attr.id]=\"'luModalTitle' + modalId\" class=\"lu-modal-header-title\">{{ title$ | async }}</h1>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-content\">\r\n\t\t\t<ng-container #container></ng-container>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-footer\">\r\n\t\t\t<button\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t\t(click)=\"submit()\"\r\n\t\t\t>\r\n\t\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t\t</button>\r\n\t\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n" }]
|
|
157
|
+
}], ctorParameters: function () { return [{ type: ALuModalRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { class: [{
|
|
158
|
+
type: HostBinding,
|
|
159
|
+
args: ['class.lu-modal-panel']
|
|
160
|
+
}] } });
|
|
161
|
+
class LuModalPanelComponentDefaultCD extends ALuModalPanelComponent {
|
|
162
|
+
constructor(_ref, _elementRef, _renderer) {
|
|
163
|
+
super(_ref, _elementRef, _renderer);
|
|
164
|
+
this.class = true;
|
|
165
|
+
}
|
|
166
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalPanelComponentDefaultCD, deps: [{ token: ALuModalRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
167
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: LuModalPanelComponentDefaultCD, isStandalone: true, selector: "lu-modal-panel-default", host: { properties: { "class.lu-modal-panel": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div\r\n\tcdkTrapFocus=\"true\"\r\n\tcdkTrapFocusAutoCapture=\"true\"\r\n\trole=\"dialog\"\r\n\taria-modal=\"true\"\r\n\t[attr.aria-labelledby]=\"'luModalTitle' + modalId\"\r\n\t[ngClass]=\"modalClasses.panelInner\"\r\n>\r\n\t<div [ngClass]=\"modalClasses.panelContainer\" role=\"document\">\r\n\t\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t\t<button type=\"button\" class=\"actionIcon lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t\t</button>\r\n\t\t\t<h1 [attr.id]=\"'luModalTitle' + modalId\" class=\"lu-modal-header-title\">{{ title$ | async }}</h1>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-content\">\r\n\t\t\t<ng-container #container></ng-container>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-footer\">\r\n\t\t\t<button\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t\t(click)=\"submit()\"\r\n\t\t\t>\r\n\t\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t\t</button>\r\n\t\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: LuTooltipModule }, { kind: "directive", type: i3.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition", "luTooltipWhenEllipsis"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
168
|
+
}
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalPanelComponentDefaultCD, decorators: [{
|
|
170
|
+
type: Component,
|
|
171
|
+
args: [{ selector: 'lu-modal-panel-default', standalone: true, imports: panelImports, changeDetection: ChangeDetectionStrategy.Default, template: "<div\r\n\tcdkTrapFocus=\"true\"\r\n\tcdkTrapFocusAutoCapture=\"true\"\r\n\trole=\"dialog\"\r\n\taria-modal=\"true\"\r\n\t[attr.aria-labelledby]=\"'luModalTitle' + modalId\"\r\n\t[ngClass]=\"modalClasses.panelInner\"\r\n>\r\n\t<div [ngClass]=\"modalClasses.panelContainer\" role=\"document\">\r\n\t\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t\t<button type=\"button\" class=\"actionIcon lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t\t</button>\r\n\t\t\t<h1 [attr.id]=\"'luModalTitle' + modalId\" class=\"lu-modal-header-title\">{{ title$ | async }}</h1>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-content\">\r\n\t\t\t<ng-container #container></ng-container>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-footer\">\r\n\t\t\t<button\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t\t(click)=\"submit()\"\r\n\t\t\t>\r\n\t\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t\t</button>\r\n\t\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n" }]
|
|
172
|
+
}], ctorParameters: function () { return [{ type: ALuModalRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { class: [{
|
|
173
|
+
type: HostBinding,
|
|
174
|
+
args: ['class.lu-modal-panel']
|
|
175
|
+
}] } });
|
|
176
|
+
|
|
177
|
+
/** Injection token that can be used to access the data that was passed in to a dialog. */
|
|
178
|
+
const LU_MODAL_DATA = new InjectionToken('LuModalData');
|
|
179
|
+
const LU_MODAL_CONFIG = new InjectionToken('LuModalDefaultConfig', {
|
|
180
|
+
factory: () => luDefaultModalConfig,
|
|
181
|
+
});
|
|
182
|
+
const LU_MODAL_REF_FACTORY = new InjectionToken('LuModalRefFactory');
|
|
183
|
+
|
|
184
|
+
function setAriaHiddenOnApplicationRoot(applicationRef, hidden) {
|
|
185
|
+
for (const component of applicationRef.components) {
|
|
186
|
+
const nativeElement = component.location.nativeElement;
|
|
187
|
+
if (nativeElement instanceof HTMLElement) {
|
|
188
|
+
nativeElement.ariaHidden = hidden ? 'true' : undefined;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
class LuModalRef extends ALuModalRef {
|
|
194
|
+
constructor(_overlay, _injector, _component, _config, _applicationRef) {
|
|
195
|
+
super(_overlay, _injector, _component, _config);
|
|
196
|
+
this._overlay = _overlay;
|
|
197
|
+
this._injector = _injector;
|
|
198
|
+
this._component = _component;
|
|
199
|
+
this._config = _config;
|
|
200
|
+
this._applicationRef = _applicationRef;
|
|
201
|
+
}
|
|
202
|
+
_openPopup(data) {
|
|
203
|
+
const injector = Injector.create({
|
|
204
|
+
providers: [
|
|
205
|
+
{ provide: ALuModalRef, useValue: this },
|
|
206
|
+
{ provide: LU_MODAL_DATA, useValue: data },
|
|
207
|
+
],
|
|
208
|
+
parent: this._injector,
|
|
209
|
+
});
|
|
210
|
+
const containerPortal = new ComponentPortal(this._config.changeDetection === ChangeDetectionStrategy.OnPush ? LuModalPanelComponent : LuModalPanelComponentDefaultCD, undefined, injector);
|
|
211
|
+
this._containerRef = this._overlayRef.attach(containerPortal);
|
|
212
|
+
const panel = this._containerRef.instance;
|
|
213
|
+
this._componentRef = panel.attachInnerComponent(this._component, injector);
|
|
214
|
+
setAriaHiddenOnApplicationRoot(this._applicationRef, true);
|
|
215
|
+
}
|
|
216
|
+
_closePopup() {
|
|
217
|
+
this._componentRef.destroy();
|
|
218
|
+
this._containerRef.destroy();
|
|
219
|
+
setAriaHiddenOnApplicationRoot(this._applicationRef, false);
|
|
220
|
+
}
|
|
221
|
+
_getOverlayPanelClasses() {
|
|
222
|
+
const classes = super._getOverlayPanelClasses();
|
|
223
|
+
if (this.modalClasses.overlayPane) {
|
|
224
|
+
classes.push(this.modalClasses.overlayPane);
|
|
225
|
+
}
|
|
226
|
+
return classes;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
class LuModalRefFactory {
|
|
230
|
+
constructor(_overlay, _injector) {
|
|
231
|
+
this._overlay = _overlay;
|
|
232
|
+
this._injector = _injector;
|
|
233
|
+
this._applicationRef = inject(ApplicationRef);
|
|
234
|
+
}
|
|
235
|
+
forge(component, config) {
|
|
236
|
+
return new LuModalRef(this._overlay, this._injector, component, config, this._applicationRef);
|
|
237
|
+
}
|
|
238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
239
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalRefFactory }); }
|
|
240
|
+
}
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalRefFactory, decorators: [{
|
|
242
|
+
type: Injectable
|
|
243
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.Injector }]; } });
|
|
244
|
+
|
|
245
|
+
class LuModal {
|
|
246
|
+
constructor() {
|
|
247
|
+
this._factory = inject(LU_MODAL_REF_FACTORY);
|
|
248
|
+
this._config = inject(LU_MODAL_CONFIG);
|
|
249
|
+
}
|
|
250
|
+
open(component, data = undefined, config = {}) {
|
|
251
|
+
const extendedConfig = { ...this._config, ...config };
|
|
252
|
+
const ref = this._factory.forge(component, extendedConfig);
|
|
253
|
+
ref.open(data);
|
|
254
|
+
return ref;
|
|
255
|
+
}
|
|
256
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModal, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
257
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModal }); }
|
|
258
|
+
}
|
|
259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModal, decorators: [{
|
|
260
|
+
type: Injectable
|
|
261
|
+
}] });
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Provide LuModal.
|
|
265
|
+
* Note that OverlayModule should be imported in one of the EnvironmentInjectors (AppModule, lazy-loaded route) using `providers: [importProvidersFrom(OverlayModule)]`.
|
|
266
|
+
*/
|
|
267
|
+
function provideLuModal() {
|
|
268
|
+
return [LuModal, { provide: LU_MODAL_REF_FACTORY, useClass: LuModalRefFactory }];
|
|
269
|
+
}
|
|
270
|
+
class LuModalModule {
|
|
271
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
272
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: LuModalModule, imports: [OverlayModule] }); }
|
|
273
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalModule, providers: [provideLuModal()], imports: [OverlayModule] }); }
|
|
274
|
+
}
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuModalModule, decorators: [{
|
|
276
|
+
type: NgModule,
|
|
277
|
+
args: [{
|
|
278
|
+
imports: [OverlayModule],
|
|
279
|
+
providers: [provideLuModal()],
|
|
280
|
+
}]
|
|
281
|
+
}] });
|
|
282
|
+
|
|
283
|
+
/*
|
|
284
|
+
* Public API Surface of safe-content
|
|
285
|
+
*/
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Generated bundle index. Do not edit.
|
|
289
|
+
*/
|
|
290
|
+
|
|
291
|
+
export { ALuModalPanelComponent, ALuModalRef, LU_MODAL_CONFIG, LU_MODAL_DATA, LU_MODAL_REF_FACTORY, LU_MODAL_TRANSLATIONS, LuModal, LuModalModule, LuModalPanelComponent, LuModalPanelComponentDefaultCD, LuModalRefFactory, luDefaultModalConfig, luDefaultSidepanelConfig, luModalClasses, luModalTranslations, provideLuModal, setAriaHiddenOnApplicationRoot };
|
|
292
|
+
//# sourceMappingURL=lucca-front-ng-modal.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-modal.mjs","sources":["../../../packages/ng/modal/src/lib/modal-config.default.ts","../../../packages/ng/modal/src/lib/modal-config.model.ts","../../../packages/ng/modal/src/lib/modal.translate.ts","../../../packages/ng/modal/src/lib/modal-ref.model.ts","../../../packages/ng/modal/src/lib/modal-panel.component.ts","../../../packages/ng/modal/src/lib/modal-panel.component.html","../../../packages/ng/modal/src/lib/modal.token.ts","../../../packages/ng/modal/src/lib/modal.utils.ts","../../../packages/ng/modal/src/lib/modal-ref.factory.ts","../../../packages/ng/modal/src/lib/modal.service.ts","../../../packages/ng/modal/src/lib/modal.module.ts","../../../packages/ng/modal/src/public-api.ts","../../../packages/ng/modal/src/lucca-front-ng-modal.ts"],"sourcesContent":["import { ChangeDetectionStrategy } from '@angular/core';\r\nimport { LuModalConfig } from './modal-config.model';\r\n\r\nexport const luDefaultModalConfig: LuModalConfig = {\r\n\tmode: 'modal',\r\n\tposition: 'center',\r\n\tnoBackdrop: false,\r\n\tundismissable: false,\r\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\r\n\tpanelClass: 'lu-popup-panel',\r\n\tsize: 'M',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n};\r\n\r\nexport const luDefaultSidepanelConfig: LuModalConfig = {\r\n\t...luDefaultModalConfig,\r\n\tmode: 'sidepanel',\r\n\tposition: 'right',\r\n};\r\n","import { ChangeDetectionStrategy } from '@angular/core';\r\nimport { ILuPopupConfig } from '@lucca-front/ng/popup';\r\n\r\nexport type LuModalMode = 'modal' | 'sidepanel';\r\n\r\nexport interface LuModalClasses {\r\n\tpanel: string;\r\n\tpanelContainer: string;\r\n\tpanelInner: string;\r\n\toverlayPane?: string;\r\n}\r\n\r\nexport const luModalClasses: Record<LuModalMode, LuModalClasses> = {\r\n\tmodal: { panel: 'lu-modal-panel', panelInner: 'lu-modal-panel-inner', panelContainer: 'lu-modal-container' },\r\n\tsidepanel: { panel: 'lu-sidepanel-panel', panelInner: 'lu-sidepanel-panel-inner', overlayPane: 'mod-sidepanel', panelContainer: 'lu-sidepanel-container' },\r\n};\r\n\r\ntype LuModalModeWithPosition = { mode?: 'modal'; position: undefined | 'center' } | { mode: 'sidepanel'; position: 'left' | 'right' };\r\n\r\nexport type LuModalConfig = ILuPopupConfig &\r\n\tLuModalModeWithPosition & {\r\n\t\tchangeDetection: ChangeDetectionStrategy;\r\n\t};\r\n\r\n/**\r\n * @deprecated Use LuModalConfig instead.\r\n */\r\nexport type ILuModalConfig = LuModalConfig;\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport const LU_MODAL_TRANSLATIONS = new InjectionToken('LuModalTranslations', {\r\n\tfactory: () => luModalTranslations,\r\n});\r\n\r\nexport interface ILuModalLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\n\r\nexport const luModalTranslations: ILuTranslation<ILuModalLabel> = {\r\n\ten: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancel',\r\n\t\tclose: 'Close',\r\n\t},\r\n\tfr: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Annuler',\r\n\t\tclose: 'Fermer',\r\n\t},\r\n\tes: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancelar',\r\n\t\tclose: 'Cerrar',\r\n\t},\r\n};\r\n","import { ComponentType } from '@angular/cdk/portal';\r\nimport { ALuPopupRef, ILuPopupRef } from '@lucca-front/ng/popup';\r\nimport { LuModalClasses, luModalClasses, LuModalConfig, LuModalMode } from './modal-config.model';\r\nimport { ILuModalContent, LuModalContentResult } from './modal.model';\r\n\r\nexport interface ILuModalRef<D = unknown, R = unknown> extends ILuPopupRef<D, R> {\r\n\tmode: LuModalMode;\r\n\tmodalClasses: LuModalClasses;\r\n}\r\n\r\nexport interface IModalRefFactory {\r\n\tforge<T extends ILuModalContent, C extends LuModalConfig, D>(component: ComponentType<T>, config: C): ILuModalRef<D, LuModalContentResult<T>>;\r\n}\r\n\r\nexport abstract class ALuModalRef<T extends ILuModalContent = ILuModalContent, D = unknown, R = unknown, C extends LuModalConfig = LuModalConfig>\r\n\textends ALuPopupRef<T, D, R, C>\r\n\timplements ILuModalRef<D, R>\r\n{\r\n\tpublic get mode(): LuModalMode {\r\n\t\treturn this._config.mode || 'modal';\r\n\t}\r\n\r\n\tpublic get modalClasses(): LuModalClasses {\r\n\t\treturn luModalClasses[this.mode];\r\n\t}\r\n}\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { AsyncPipe, NgClass, NgIf } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, Directive, DoCheck, ElementRef, HostBinding, Injector, OnDestroy, Renderer2, Type, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\r\nimport { isObservable, Observable, of, ReplaySubject, Subject, Subscription, timer } from 'rxjs';\r\nimport { delay, distinctUntilChanged, map, switchMap, tap } from 'rxjs/operators';\r\nimport { LuModalClasses } from './modal-config.model';\r\nimport { ALuModalRef } from './modal-ref.model';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { LU_MODAL_TRANSLATIONS } from './modal.translate';\r\n\r\nlet modalId = 0;\r\n\r\n@Directive()\r\nexport abstract class ALuModalPanelComponent<T extends ILuModalContent> implements OnDestroy, DoCheck {\r\n\t@ViewChild('container', { read: ViewContainerRef, static: true })\r\n\tprotected _containerRef: ViewContainerRef;\r\n\tprotected _componentInstance: ILuModalContent;\r\n\tprotected doCheck$ = new ReplaySubject<void>(1);\r\n\r\n\tpublic intl = getIntl(LU_MODAL_TRANSLATIONS);\r\n\tprotected title$ = this.listenComponentValue(() => this._componentInstance.title);\r\n\tprotected submitLabel$ = this.listenComponentValue(() => this._componentInstance.submitLabel || this.intl.submit);\r\n\tprotected cancelLabel$ = this.listenComponentValue(() => this._componentInstance.cancelLabel || this.intl.cancel);\r\n\tprotected submitCounter$ = this.listenComponentValue(() => this._componentInstance.submitCounter);\r\n\tprotected submitDisabled$ = this.listenComponentValue(() => this._componentInstance.submitDisabled);\r\n\tprotected hasSubmitCounter$ = this.submitCounter$.pipe(map(Boolean));\r\n\r\n\tprotected closeLabel = this.intl.close;\r\n\r\n\tget isSubmitHidden() {\r\n\t\treturn !this._componentInstance.submitAction;\r\n\t}\r\n\tget submitPalette() {\r\n\t\treturn this._componentInstance.submitPalette || 'primary';\r\n\t}\r\n\r\n\tsubmitClass$ = new Subject();\r\n\terror$ = new Subject();\r\n\r\n\tpublic readonly modalId = modalId++;\r\n\r\n\tprivate _subs = new Subscription();\r\n\tpublic modalClasses: LuModalClasses;\r\n\r\n\tconstructor(protected _ref: ALuModalRef<T>, _elementRef: ElementRef<HTMLElement>, _renderer: Renderer2) {\r\n\t\tthis.modalClasses = _ref.modalClasses;\r\n\t\t_renderer.addClass(_elementRef.nativeElement, this.modalClasses.panel);\r\n\t}\r\n\tngDoCheck(): void {\r\n\t\tthis.doCheck$.next();\r\n\t}\r\n\tattachInnerComponent(componentType: Type<T>, injector: Injector) {\r\n\t\tconst ref = this._containerRef.createComponent(componentType, { injector });\r\n\t\tthis._componentInstance = ref.instance;\r\n\t\treturn ref;\r\n\t}\r\n\tngOnDestroy() {\r\n\t\tthis.doCheck$.complete();\r\n\t\tthis._subs.unsubscribe();\r\n\t}\r\n\tdismiss() {\r\n\t\tthis._ref.dismiss();\r\n\t}\r\n\tsubmit() {\r\n\t\tthis.error$.next(undefined);\r\n\t\tthis.submitClass$.next('is-loading');\r\n\t\tconst result$ = this._componentInstance.submitAction();\r\n\t\tif (result$ instanceof Observable) {\r\n\t\t\tthis._subs.add(\r\n\t\t\t\tresult$\r\n\t\t\t\t\t.pipe(\r\n\t\t\t\t\t\ttap((_) => this.submitClass$.next('is-success')),\r\n\t\t\t\t\t\tdelay(500),\r\n\t\t\t\t\t)\r\n\t\t\t\t\t.subscribe({\r\n\t\t\t\t\t\tnext: (result) => this._ref.close(result),\r\n\t\t\t\t\t\terror: (err) => {\r\n\t\t\t\t\t\t\tthis.submitClass$.next('is-error');\r\n\t\t\t\t\t\t\tthis.error$.next(err);\r\n\t\t\t\t\t\t\ttimer(2000).subscribe((_) => {\r\n\t\t\t\t\t\t\t\tthis.submitClass$.next('');\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tcomplete: () => {\r\n\t\t\t\t\t\t\tthis.submitClass$.next('');\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t}),\r\n\t\t\t);\r\n\t\t} else {\r\n\t\t\tthis._ref.close(result$);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate listenComponentValue<TValue>(selector: () => TValue | Observable<TValue>): Observable<TValue> {\r\n\t\treturn this.doCheck$.pipe(\r\n\t\t\tmap(selector),\r\n\t\t\tdistinctUntilChanged(),\r\n\t\t\tswitchMap((value) => (isObservable(value) ? value : of(value))),\r\n\t\t);\r\n\t}\r\n}\r\n\r\nconst panelImports = [A11yModule, AsyncPipe, LuTooltipModule, NgClass, NgIf];\r\n\r\n@Component({\r\n\tselector: 'lu-modal-panel',\r\n\tstandalone: true,\r\n\timports: panelImports,\r\n\ttemplateUrl: './modal-panel.component.html',\r\n\tstyleUrls: ['./modal-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LuModalPanelComponent<T extends ILuModalContent = ILuModalContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-modal-panel') class = true;\r\n\tconstructor(_ref: ALuModalRef<T>, _elementRef: ElementRef<HTMLElement>, _renderer: Renderer2) {\r\n\t\tsuper(_ref, _elementRef, _renderer);\r\n\t}\r\n}\r\n@Component({\r\n\tselector: 'lu-modal-panel-default',\r\n\tstandalone: true,\r\n\timports: panelImports,\r\n\ttemplateUrl: './modal-panel.component.html',\r\n\tstyleUrls: ['./modal-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuModalPanelComponentDefaultCD<T extends ILuModalContent = ILuModalContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-modal-panel') class = true;\r\n\tconstructor(_ref: ALuModalRef<T>, _elementRef: ElementRef<HTMLElement>, _renderer: Renderer2) {\r\n\t\tsuper(_ref, _elementRef, _renderer);\r\n\t}\r\n}\r\n","<div\r\n\tcdkTrapFocus=\"true\"\r\n\tcdkTrapFocusAutoCapture=\"true\"\r\n\trole=\"dialog\"\r\n\taria-modal=\"true\"\r\n\t[attr.aria-labelledby]=\"'luModalTitle' + modalId\"\r\n\t[ngClass]=\"modalClasses.panelInner\"\r\n>\r\n\t<div [ngClass]=\"modalClasses.panelContainer\" role=\"document\">\r\n\t\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t\t<button type=\"button\" class=\"actionIcon lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t\t</button>\r\n\t\t\t<h1 [attr.id]=\"'luModalTitle' + modalId\" class=\"lu-modal-header-title\">{{ title$ | async }}</h1>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-content\">\r\n\t\t\t<ng-container #container></ng-container>\r\n\t\t</div>\r\n\t\t<div class=\"lu-modal-footer\">\r\n\t\t\t<button\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t\t(click)=\"submit()\"\r\n\t\t\t>\r\n\t\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t\t</button>\r\n\t\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n","import { InjectionToken } from '@angular/core';\r\nimport { luDefaultModalConfig } from './modal-config.default';\r\nimport { LuModalConfig } from './modal-config.model';\r\nimport { IModalRefFactory } from './modal-ref.model';\r\n\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_MODAL_DATA = new InjectionToken<unknown>('LuModalData');\r\nexport const LU_MODAL_CONFIG = new InjectionToken<LuModalConfig>('LuModalDefaultConfig', {\r\n\tfactory: () => luDefaultModalConfig,\r\n});\r\nexport const LU_MODAL_REF_FACTORY = new InjectionToken<IModalRefFactory>('LuModalRefFactory');\r\n","import { ApplicationRef } from '@angular/core';\r\n\r\nexport function setAriaHiddenOnApplicationRoot(applicationRef: ApplicationRef, hidden: boolean): void {\r\n\tfor (const component of applicationRef.components) {\r\n\t\tconst nativeElement = component.location.nativeElement as unknown;\r\n\r\n\t\tif (nativeElement instanceof HTMLElement) {\r\n\t\t\tnativeElement.ariaHidden = hidden ? 'true' : undefined;\r\n\t\t}\r\n\t}\r\n}\r\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { ApplicationRef, ChangeDetectionStrategy, ComponentRef, inject, Injectable, Injector } from '@angular/core';\r\nimport { ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { LuModalConfig } from './modal-config.model';\r\nimport { ALuModalPanelComponent, LuModalPanelComponent, LuModalPanelComponentDefaultCD } from './modal-panel.component';\r\nimport { ALuModalRef, ILuModalRef } from './modal-ref.model';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { LU_MODAL_DATA } from './modal.token';\r\nimport { setAriaHiddenOnApplicationRoot } from './modal.utils';\r\n\r\nclass LuModalRef<T extends ILuModalContent = ILuModalContent, D = unknown, R = unknown, C extends LuModalConfig = LuModalConfig> extends ALuModalRef<T, D, R, C> implements ILuModalRef<D, R> {\r\n\tprotected _containerRef: ComponentRef<ALuModalPanelComponent<T>>;\r\n\tconstructor(\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _injector: Injector,\r\n\t\tprotected override _component: ComponentType<T>,\r\n\t\tprotected override _config: C,\r\n\t\tprotected _applicationRef: ApplicationRef,\r\n\t) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n\tprotected override _openPopup(data?: D) {\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: ALuModalRef, useValue: this },\r\n\t\t\t\t{ provide: LU_MODAL_DATA, useValue: data },\r\n\t\t\t],\r\n\t\t\tparent: this._injector,\r\n\t\t});\r\n\r\n\t\tconst containerPortal = new ComponentPortal<ALuModalPanelComponent<T>>(\r\n\t\t\tthis._config.changeDetection === ChangeDetectionStrategy.OnPush ? LuModalPanelComponent : LuModalPanelComponentDefaultCD,\r\n\t\t\tundefined,\r\n\t\t\tinjector,\r\n\t\t);\r\n\t\tthis._containerRef = this._overlayRef.attach<ALuModalPanelComponent<T>>(containerPortal);\r\n\t\tconst panel = this._containerRef.instance;\r\n\t\tthis._componentRef = panel.attachInnerComponent(this._component, injector);\r\n\t\tsetAriaHiddenOnApplicationRoot(this._applicationRef, true);\r\n\t}\r\n\tprotected override _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t\tthis._containerRef.destroy();\r\n\t\tsetAriaHiddenOnApplicationRoot(this._applicationRef, false);\r\n\t}\r\n\r\n\tprotected override _getOverlayPanelClasses(): string[] {\r\n\t\tconst classes = super._getOverlayPanelClasses();\r\n\r\n\t\tif (this.modalClasses.overlayPane) {\r\n\t\t\tclasses.push(this.modalClasses.overlayPane);\r\n\t\t}\r\n\r\n\t\treturn classes;\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuModalRefFactory implements ILuPopupRefFactory<ILuModalContent, LuModalConfig> {\r\n\tprotected _applicationRef = inject(ApplicationRef);\r\n\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\r\n\tforge<T extends ILuModalContent, C extends LuModalConfig, D, R>(component: ComponentType<T>, config: C) {\r\n\t\treturn new LuModalRef<T, D, R>(this._overlay, this._injector, component, config, this._applicationRef);\r\n\t}\r\n}\r\n","import { ComponentType } from '@angular/cdk/portal';\r\nimport { inject, Injectable } from '@angular/core';\r\nimport { LuModalConfig } from './modal-config.model';\r\nimport { ILuModalRef } from './modal-ref.model';\r\nimport { ILuModalContent, LuModalContentResult } from './modal.model';\r\nimport { LU_MODAL_CONFIG, LU_MODAL_REF_FACTORY } from './modal.token';\r\n\r\n@Injectable()\r\nexport class LuModal {\r\n\tprotected _factory = inject(LU_MODAL_REF_FACTORY);\r\n\tprotected _config = inject(LU_MODAL_CONFIG);\r\n\r\n\topen<T extends ILuModalContent, D>(component: ComponentType<T>, data: D = undefined, config: Partial<LuModalConfig> = {}): ILuModalRef<D, LuModalContentResult<T>> {\r\n\t\tconst extendedConfig = { ...this._config, ...config } as LuModalConfig;\r\n\t\tconst ref = this._factory.forge<T, LuModalConfig, D>(component, extendedConfig);\r\n\t\tref.open(data);\r\n\t\treturn ref;\r\n\t}\r\n}\r\n","import { OverlayModule } from '@angular/cdk/overlay';\r\nimport { NgModule, Provider } from '@angular/core';\r\nimport { LuModalRefFactory } from './modal-ref.factory';\r\nimport { LuModal } from './modal.service';\r\nimport { LU_MODAL_REF_FACTORY } from './modal.token';\r\n\r\n/**\r\n * Provide LuModal.\r\n * Note that OverlayModule should be imported in one of the EnvironmentInjectors (AppModule, lazy-loaded route) using `providers: [importProvidersFrom(OverlayModule)]`.\r\n */\r\nexport function provideLuModal(): Provider[] {\r\n\treturn [LuModal, { provide: LU_MODAL_REF_FACTORY, useClass: LuModalRefFactory }];\r\n}\r\n\r\n@NgModule({\r\n\timports: [OverlayModule],\r\n\tproviders: [provideLuModal()],\r\n})\r\nexport class LuModalModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.ALuModalRef"],"mappings":";;;;;;;;;;;;;;;AAGa,MAAA,oBAAoB,GAAkB;AAClD,IAAA,IAAI,EAAE,OAAO;AACb,IAAA,QAAQ,EAAE,QAAQ;AAClB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,aAAa,EAAE,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;AACjE,IAAA,UAAU,EAAE,gBAAgB;AAC5B,IAAA,IAAI,EAAE,GAAG;IACT,eAAe,EAAE,uBAAuB,CAAC,MAAM;EAC9C;AAEW,MAAA,wBAAwB,GAAkB;AACtD,IAAA,GAAG,oBAAoB;AACvB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,QAAQ,EAAE,OAAO;;;ACLL,MAAA,cAAc,GAAwC;AAClE,IAAA,KAAK,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,sBAAsB,EAAE,cAAc,EAAE,oBAAoB,EAAE;AAC5G,IAAA,SAAS,EAAE,EAAE,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAE,0BAA0B,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,wBAAwB,EAAE;;;MCX9I,qBAAqB,GAAG,IAAI,cAAc,CAAC,qBAAqB,EAAE;AAC9E,IAAA,OAAO,EAAE,MAAM,mBAAmB;AAClC,CAAA,EAAE;AAQU,MAAA,mBAAmB,GAAkC;AACjE,IAAA,EAAE,EAAE;AACH,QAAA,MAAM,EAAE,IAAI;AACZ,QAAA,MAAM,EAAE,QAAQ;AAChB,QAAA,KAAK,EAAE,OAAO;AACd,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,MAAM,EAAE,IAAI;AACZ,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EA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
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { LOCALE_ID, Pipe, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import { formatNumber, getLocaleNumberSymbol, NumberSymbol } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class LuNumberPipe {
|
|
6
|
+
constructor(locale) {
|
|
7
|
+
this.locale = locale;
|
|
8
|
+
}
|
|
9
|
+
transform(number, precision = 2) {
|
|
10
|
+
const formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);
|
|
11
|
+
const separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);
|
|
12
|
+
const split = formatted.split(separator);
|
|
13
|
+
const integral = split[0];
|
|
14
|
+
const decimal = split[1];
|
|
15
|
+
const hideDecimal = Math.round(number) === number;
|
|
16
|
+
if (precision > 0) {
|
|
17
|
+
return `${integral}<span class="decimal-part${hideDecimal ? ' u-hidden' : ''}">${separator}${decimal}</span>`;
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
return integral;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuNumberPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
24
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: LuNumberPipe, isStandalone: true, name: "luNumber" }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuNumberPipe, decorators: [{
|
|
27
|
+
type: Pipe,
|
|
28
|
+
args: [{
|
|
29
|
+
name: 'luNumber',
|
|
30
|
+
pure: true,
|
|
31
|
+
standalone: true,
|
|
32
|
+
}]
|
|
33
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
34
|
+
type: Inject,
|
|
35
|
+
args: [LOCALE_ID]
|
|
36
|
+
}] }]; } });
|
|
37
|
+
|
|
38
|
+
class LuNumberModule {
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
40
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: LuNumberModule, imports: [LuNumberPipe], exports: [LuNumberPipe] }); }
|
|
41
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuNumberModule }); }
|
|
42
|
+
}
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuNumberModule, decorators: [{
|
|
44
|
+
type: NgModule,
|
|
45
|
+
args: [{
|
|
46
|
+
imports: [LuNumberPipe],
|
|
47
|
+
exports: [LuNumberPipe],
|
|
48
|
+
}]
|
|
49
|
+
}] });
|
|
50
|
+
|
|
51
|
+
/*
|
|
52
|
+
* Public API Surface of safe-content
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Generated bundle index. Do not edit.
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
export { LuNumberModule, LuNumberPipe };
|
|
60
|
+
//# sourceMappingURL=lucca-front-ng-number.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-number.mjs","sources":["../../../packages/ng/number/src/lib/number.pipe.ts","../../../packages/ng/number/src/lib/number.module.ts","../../../packages/ng/number/src/public-api.ts","../../../packages/ng/number/src/lucca-front-ng-number.ts"],"sourcesContent":["import { formatNumber, getLocaleNumberSymbol, NumberSymbol } from '@angular/common';\r\nimport { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n\tname: 'luNumber',\r\n\tpure: true,\r\n\tstandalone: true,\r\n})\r\nexport class LuNumberPipe implements PipeTransform {\r\n\tconstructor(@Inject(LOCALE_ID) protected locale: string) {}\r\n\ttransform(number: number, precision = 2) {\r\n\t\tconst formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);\r\n\t\tconst separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);\r\n\t\tconst split = formatted.split(separator);\r\n\t\tconst integral = split[0];\r\n\t\tconst decimal = split[1];\r\n\t\tconst hideDecimal = Math.round(number) === number;\r\n\t\tif (precision > 0) {\r\n\t\t\treturn `${integral}<span class=\"decimal-part${hideDecimal ? ' u-hidden' : ''}\">${separator}${decimal}</span>`;\r\n\t\t} else {\r\n\t\t\treturn integral;\r\n\t\t}\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuNumberPipe } from './number.pipe';\r\n\r\n@NgModule({\r\n\timports: [LuNumberPipe],\r\n\texports: [LuNumberPipe],\r\n})\r\nexport class LuNumberModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAGA,MAKa,YAAY,CAAA;AACxB,IAAA,WAAA,CAAyC,MAAc,EAAA;QAAd,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;KAAI;AAC3D,IAAA,SAAS,CAAC,MAAc,EAAE,SAAS,GAAG,CAAC,EAAA;AACtC,QAAA,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,SAAS,CAAA,CAAA,EAAI,SAAS,CAAA,CAAE,CAAC,CAAC;AACnF,QAAA,MAAM,SAAS,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;QAC3E,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,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