@lucca-front/ng 7.2.0 → 8.0.0-alpha.1
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/animations/lucca-front-ng-animations.d.ts +1 -0
- package/animations/package.json +6 -10
- package/api/lib/api.module.d.ts +5 -0
- package/api/lib/select/api-select.module.d.ts +8 -0
- package/api/lib/select/feeder/api-feeder.component.d.ts +3 -0
- package/api/lib/select/feeder/api-feeder.module.d.ts +6 -0
- package/api/lib/select/input/api-select-input.component.d.ts +7 -6
- package/api/lib/select/input/api-select-input.module.d.ts +9 -0
- package/api/lib/select/pager/api-pager.component.d.ts +3 -0
- package/api/lib/select/pager/api-pager.module.d.ts +6 -0
- package/api/lib/select/searcher/api-searcher.component.d.ts +7 -3
- package/api/lib/select/searcher/api-searcher.model.d.ts +4 -5
- package/api/lib/select/searcher/api-searcher.module.d.ts +9 -0
- package/api/lib/service/api-hybrid.service.d.ts +3 -0
- package/api/lib/service/api-service.model.d.ts +2 -3
- package/api/lib/service/api-v3.service.d.ts +3 -0
- package/api/lib/service/api-v4.service.d.ts +3 -0
- package/api/lucca-front-ng-api.d.ts +1 -0
- package/api/package.json +6 -10
- package/core/lib/date/native/native-date.adapter.d.ts +3 -0
- package/core/lib/date/string/string-date.adapter.d.ts +3 -0
- package/core/lucca-front-ng-core.d.ts +1 -0
- package/core/package.json +6 -10
- package/date/lib/adapter/date-adapter.module.d.ts +5 -0
- package/date/lib/adapter/date-adapter.pipe.d.ts +3 -0
- package/date/lib/calendar/calendar-input.component.d.ts +6 -3
- package/date/lib/calendar/calendar-input.module.d.ts +7 -0
- package/date/lib/calendar/calendar-item.class.d.ts +1 -1
- package/date/lib/calendar/calendar-item.factory.d.ts +3 -0
- package/date/lib/date.module.d.ts +9 -0
- package/date/lib/input/date-input.directive.d.ts +3 -0
- package/date/lib/input/date-input.intl.d.ts +3 -0
- package/date/lib/input/date-input.module.d.ts +5 -0
- package/date/lib/picker/date-picker.component.d.ts +3 -0
- package/date/lib/picker/date-picker.module.d.ts +11 -0
- package/date/lib/select/date-select-input.component.d.ts +3 -0
- package/date/lib/select/date-select-input.intl.d.ts +3 -0
- package/date/lib/select/date-select-input.module.d.ts +9 -0
- package/date/lucca-front-ng-date.d.ts +1 -1
- package/date/package.json +6 -10
- package/department/lib/department.module.d.ts +5 -0
- package/department/lib/select/department-select.module.d.ts +6 -0
- package/department/lib/select/feeder/department-feeder.component.d.ts +3 -0
- package/department/lib/select/feeder/department-feeder.module.d.ts +6 -0
- package/department/lib/select/input/department-select-input.component.d.ts +8 -7
- package/department/lib/select/input/department-select-input.intl.d.ts +3 -0
- package/department/lib/select/input/department-select-input.module.d.ts +10 -0
- package/department/lib/service/department-v3.service.d.ts +3 -0
- package/department/lucca-front-ng-department.d.ts +1 -0
- package/department/package.json +6 -10
- package/dropdown/lib/dropdown.module.d.ts +7 -0
- package/dropdown/lib/item/dropdown-item.directive.d.ts +3 -0
- package/dropdown/lib/item/dropdown-item.module.d.ts +5 -0
- package/dropdown/lib/panel/dropdown-panel.component.d.ts +3 -0
- package/dropdown/lib/panel/dropdown-panel.module.d.ts +6 -0
- package/dropdown/lib/trigger/dropdown-trigger.directive.d.ts +3 -0
- package/dropdown/lib/trigger/dropdown-trigger.module.d.ts +6 -0
- package/dropdown/lucca-front-ng-dropdown.d.ts +1 -0
- package/dropdown/package.json +6 -10
- package/{animations/esm2015/index.js → esm2020/animations/index.mjs} +0 -0
- package/{animations/esm2015/lib/animation.factory.js → esm2020/animations/lib/animation.factory.mjs} +0 -0
- package/{animations/esm2015/lib/fade.animation.js → esm2020/animations/lib/fade.animation.mjs} +0 -0
- package/{animations/esm2015/lib/index.js → esm2020/animations/lib/index.mjs} +0 -0
- package/{animations/esm2015/lib/scale.animation.js → esm2020/animations/lib/scale.animation.mjs} +0 -0
- package/{animations/esm2015/lib/slide.animation.js → esm2020/animations/lib/slide.animation.mjs} +0 -0
- package/{animations/esm2015/lucca-front-ng-animations.js → esm2020/animations/lucca-front-ng-animations.mjs} +0 -0
- package/{animations/esm2015/public-api.js → esm2020/animations/public-api.mjs} +0 -0
- package/{api/esm2015/index.js → esm2020/api/index.mjs} +0 -0
- package/{api/esm2015/lib/api.model.js → esm2020/api/lib/api.model.mjs} +0 -0
- package/esm2020/api/lib/api.module.mjs +22 -0
- package/{api/esm2015/lib/index.js → esm2020/api/lib/index.mjs} +0 -0
- package/esm2020/api/lib/select/api-select.module.mjs +43 -0
- package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +78 -0
- package/{api/esm2015/lib/select/feeder/api-feeder.model.js → esm2020/api/lib/select/feeder/api-feeder.model.mjs} +0 -0
- package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +26 -0
- package/{api/esm2015/lib/select/feeder/index.js → esm2020/api/lib/select/feeder/index.mjs} +0 -0
- package/{api/esm2015/lib/select/index.js → esm2020/api/lib/select/index.mjs} +0 -0
- package/esm2020/api/lib/select/input/api-select-input.component.mjs +48 -0
- package/esm2020/api/lib/select/input/api-select-input.module.mjs +44 -0
- package/{api/esm2015/lib/select/input/index.js → esm2020/api/lib/select/input/index.mjs} +0 -0
- package/esm2020/api/lib/select/pager/api-pager.component.mjs +89 -0
- package/{api/esm2015/lib/select/pager/api-pager.model.js → esm2020/api/lib/select/pager/api-pager.model.mjs} +0 -0
- package/esm2020/api/lib/select/pager/api-pager.module.mjs +26 -0
- package/{api/esm2015/lib/select/pager/index.js → esm2020/api/lib/select/pager/index.mjs} +0 -0
- package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +210 -0
- package/esm2020/api/lib/select/searcher/api-searcher.model.mjs +69 -0
- package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +42 -0
- package/{api/esm2015/lib/select/searcher/index.js → esm2020/api/lib/select/searcher/index.mjs} +0 -0
- package/esm2020/api/lib/service/api-hybrid.service.mjs +59 -0
- package/esm2020/api/lib/service/api-service.model.mjs +3 -0
- package/esm2020/api/lib/service/api-v3.service.mjs +65 -0
- package/esm2020/api/lib/service/api-v4.service.mjs +55 -0
- package/{api/esm2015/lib/service/index.js → esm2020/api/lib/service/index.mjs} +0 -0
- package/{api/esm2015/lucca-front-ng-api.js → esm2020/api/lucca-front-ng-api.mjs} +0 -0
- package/{api/esm2015/public-api.js → esm2020/api/public-api.mjs} +0 -0
- package/{core/esm2015/index.js → esm2020/core/index.mjs} +0 -0
- package/{core/esm2015/lib/date/date-adapter.class.js → esm2020/core/lib/date/date-adapter.class.mjs} +0 -0
- package/{core/esm2015/lib/date/date-adapter.interface.js → esm2020/core/lib/date/date-adapter.interface.mjs} +0 -0
- package/{core/esm2015/lib/date/date-granularity.enum.js → esm2020/core/lib/date/date-granularity.enum.mjs} +0 -0
- package/{core/esm2015/lib/date/index.js → esm2020/core/lib/date/index.mjs} +0 -0
- package/{core/esm2015/lib/date/native/index.js → esm2020/core/lib/date/native/index.mjs} +0 -0
- package/esm2020/core/lib/date/native/native-date.adapter.mjs +228 -0
- package/{core/esm2015/lib/date/native/native-date.option.js → esm2020/core/lib/date/native/native-date.option.mjs} +0 -0
- package/{core/esm2015/lib/date/string/index.js → esm2020/core/lib/date/string/index.mjs} +0 -0
- package/esm2020/core/lib/date/string/string-date.adapter.mjs +81 -0
- package/{core/esm2015/lib/event/index.js → esm2020/core/lib/event/index.mjs} +0 -0
- package/{core/esm2015/lib/event/on-close.subscriber.js → esm2020/core/lib/event/on-close.subscriber.mjs} +0 -0
- package/{core/esm2015/lib/event/on-open.subscriber.js → esm2020/core/lib/event/on-open.subscriber.mjs} +0 -0
- package/{core/esm2015/lib/event/on-scroll-bottom.subscriber.js → esm2020/core/lib/event/on-scroll-bottom.subscriber.mjs} +0 -0
- package/{core/esm2015/lib/group/group.interface.js → esm2020/core/lib/group/group.interface.mjs} +0 -0
- package/{core/esm2015/lib/group/index.js → esm2020/core/lib/group/index.mjs} +0 -0
- package/{core/esm2015/lib/id/id.generator.js → esm2020/core/lib/id/id.generator.mjs} +0 -0
- package/{core/esm2015/lib/id/index.js → esm2020/core/lib/id/index.mjs} +0 -0
- package/{core/esm2015/lib/index.js → esm2020/core/lib/index.mjs} +0 -0
- package/{core/esm2015/lib/translate/index.js → esm2020/core/lib/translate/index.mjs} +0 -0
- package/esm2020/core/lib/translate/intl.model.mjs +13 -0
- package/{core/esm2015/lib/translate/translation.model.js → esm2020/core/lib/translate/translation.model.mjs} +0 -0
- package/{core/esm2015/lib/tree/index.js → esm2020/core/lib/tree/index.mjs} +0 -0
- package/{core/esm2015/lib/tree/tree.model.js → esm2020/core/lib/tree/tree.model.mjs} +0 -0
- package/{core/esm2015/lucca-front-ng-core.js → esm2020/core/lucca-front-ng-core.mjs} +0 -0
- package/{core/esm2015/public-api.js → esm2020/core/public-api.mjs} +0 -0
- package/{date/esm2015/index.js → esm2020/date/index.mjs} +0 -0
- package/esm2020/date/lib/adapter/date-adapter.module.mjs +20 -0
- package/esm2020/date/lib/adapter/date-adapter.pipe.mjs +24 -0
- package/{date/esm2015/lib/adapter/index.js → esm2020/date/lib/adapter/index.mjs} +0 -0
- package/esm2020/date/lib/calendar/calendar-input.component.mjs +331 -0
- package/esm2020/date/lib/calendar/calendar-input.module.mjs +36 -0
- package/esm2020/date/lib/calendar/calendar-item.class.mjs +41 -0
- package/esm2020/date/lib/calendar/calendar-item.factory.mjs +38 -0
- package/{date/esm2015/lib/calendar/calendar-item.interface.js → esm2020/date/lib/calendar/calendar-item.interface.mjs} +0 -0
- package/{date/esm2015/lib/calendar/index.js → esm2020/date/lib/calendar/index.mjs} +0 -0
- package/esm2020/date/lib/date.module.mjs +50 -0
- package/{date/esm2015/lib/index.js → esm2020/date/lib/index.mjs} +0 -0
- package/esm2020/date/lib/input/date-input.directive.mjs +138 -0
- package/esm2020/date/lib/input/date-input.intl.mjs +21 -0
- package/esm2020/date/lib/input/date-input.module.mjs +31 -0
- package/{date/esm2015/lib/input/date-input.token.js → esm2020/date/lib/input/date-input.token.mjs} +0 -0
- package/{date/esm2015/lib/input/date-input.translate.js → esm2020/date/lib/input/date-input.translate.mjs} +0 -0
- package/{date/esm2015/lib/input/index.js → esm2020/date/lib/input/index.mjs} +0 -0
- package/esm2020/date/lib/picker/date-picker.component.mjs +104 -0
- package/esm2020/date/lib/picker/date-picker.module.mjs +46 -0
- package/{date/esm2015/lib/picker/index.js → esm2020/date/lib/picker/index.mjs} +0 -0
- package/esm2020/date/lib/select/date-select-input.component.mjs +100 -0
- package/esm2020/date/lib/select/date-select-input.intl.mjs +21 -0
- package/esm2020/date/lib/select/date-select-input.module.mjs +54 -0
- package/{date/esm2015/lib/select/date-select-input.token.js → esm2020/date/lib/select/date-select-input.token.mjs} +0 -0
- package/{date/esm2015/lib/select/date-select-input.translate.js → esm2020/date/lib/select/date-select-input.translate.mjs} +0 -0
- package/{date/esm2015/lib/select/index.js → esm2020/date/lib/select/index.mjs} +0 -0
- package/esm2020/date/lucca-front-ng-date.mjs +5 -0
- package/{date/esm2015/public-api.js → esm2020/date/public-api.mjs} +0 -0
- package/{department/esm2015/index.js → esm2020/department/index.mjs} +0 -0
- package/{department/esm2015/lib/department.model.js → esm2020/department/lib/department.model.mjs} +0 -0
- package/esm2020/department/lib/department.module.mjs +22 -0
- package/{department/esm2015/lib/index.js → esm2020/department/lib/index.mjs} +0 -0
- package/esm2020/department/lib/select/department-select.module.mjs +29 -0
- package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +72 -0
- package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +26 -0
- package/{department/esm2015/lib/select/feeder/index.js → esm2020/department/lib/select/feeder/index.mjs} +0 -0
- package/{department/esm2015/lib/select/index.js → esm2020/department/lib/select/index.mjs} +0 -0
- package/esm2020/department/lib/select/input/department-select-input.component.mjs +51 -0
- package/esm2020/department/lib/select/input/department-select-input.intl.mjs +21 -0
- package/esm2020/department/lib/select/input/department-select-input.module.mjs +64 -0
- package/{department/esm2015/lib/select/input/department-select-input.token.js → esm2020/department/lib/select/input/department-select-input.token.mjs} +0 -0
- package/{department/esm2015/lib/select/input/department-select-input.translate.js → esm2020/department/lib/select/input/department-select-input.translate.mjs} +0 -0
- package/{department/esm2015/lib/select/input/index.js → esm2020/department/lib/select/input/index.mjs} +0 -0
- package/{department/esm2015/lib/service/department-service.model.js → esm2020/department/lib/service/department-service.model.mjs} +0 -0
- package/esm2020/department/lib/service/department-v3.service.mjs +37 -0
- package/{department/esm2015/lib/service/index.js → esm2020/department/lib/service/index.mjs} +0 -0
- package/{department/esm2015/lucca-front-ng-department.js → esm2020/department/lucca-front-ng-department.mjs} +0 -0
- package/{department/esm2015/public-api.js → esm2020/department/public-api.mjs} +0 -0
- package/esm2020/dropdown/lib/dropdown.module.mjs +36 -0
- package/{dropdown/esm2015/lib/index.js → esm2020/dropdown/lib/index.mjs} +0 -0
- package/esm2020/dropdown/lib/item/dropdown-item.directive.mjs +55 -0
- package/{dropdown/esm2015/lib/item/dropdown-item.model.js → esm2020/dropdown/lib/item/dropdown-item.model.mjs} +0 -0
- package/esm2020/dropdown/lib/item/dropdown-item.module.mjs +21 -0
- package/{dropdown/esm2015/lib/item/index.js → esm2020/dropdown/lib/item/index.mjs} +0 -0
- package/esm2020/dropdown/lib/panel/dropdown-panel.component.mjs +109 -0
- package/{dropdown/esm2015/lib/panel/dropdown-panel.model.js → esm2020/dropdown/lib/panel/dropdown-panel.model.mjs} +0 -0
- package/esm2020/dropdown/lib/panel/dropdown-panel.module.mjs +26 -0
- package/{dropdown/esm2015/lib/panel/index.js → esm2020/dropdown/lib/panel/index.mjs} +0 -0
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.directive.mjs +105 -0
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.module.mjs +26 -0
- package/{dropdown/esm2015/lib/trigger/index.js → esm2020/dropdown/lib/trigger/index.mjs} +0 -0
- package/{dropdown/esm2015/lucca-front-ng-dropdown.js → esm2020/dropdown/lucca-front-ng-dropdown.mjs} +0 -0
- package/{dropdown/esm2015/public-api.js → esm2020/dropdown/public-api.mjs} +0 -0
- package/{establishment/esm2015/index.js → esm2020/establishment/index.mjs} +0 -0
- package/{establishment/esm2015/lib/establishment.model.js → esm2020/establishment/lib/establishment.model.mjs} +0 -0
- package/esm2020/establishment/lib/establishment.module.mjs +22 -0
- package/{establishment/esm2015/lib/index.js → esm2020/establishment/lib/index.mjs} +0 -0
- package/esm2020/establishment/lib/select/establishment-select.module.mjs +50 -0
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +49 -0
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +16 -0
- package/{establishment/esm2015/lib/select/for-legal-units/index.js → esm2020/establishment/lib/select/for-legal-units/index.mjs} +0 -0
- package/{establishment/esm2015/lib/select/index.js → esm2020/establishment/lib/select/index.mjs} +0 -0
- package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +122 -0
- package/esm2020/establishment/lib/select/input/establishment-select-input.intl.mjs +21 -0
- package/esm2020/establishment/lib/select/input/establishment-select-input.module.mjs +64 -0
- package/{establishment/esm2015/lib/select/input/establishment-select-input.token.js → esm2020/establishment/lib/select/input/establishment-select-input.token.mjs} +0 -0
- package/{establishment/esm2015/lib/select/input/establishment-select-input.translate.js → esm2020/establishment/lib/select/input/establishment-select-input.translate.mjs} +0 -0
- package/{establishment/esm2015/lib/select/input/index.js → esm2020/establishment/lib/select/input/index.mjs} +0 -0
- package/{establishment/esm2015/lib/select/legal-unit-selector/index.js → esm2020/establishment/lib/select/legal-unit-selector/index.mjs} +0 -0
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +102 -0
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +18 -0
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +169 -0
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +38 -0
- package/{establishment/esm2015/lib/select/searcher/index.js → esm2020/establishment/lib/select/searcher/index.mjs} +0 -0
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +90 -0
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.module.mjs +40 -0
- package/{establishment/esm2015/lib/select/select-all/establishment-select-all.translate.js → esm2020/establishment/lib/select/select-all/establishment-select-all.translate.mjs} +0 -0
- package/{establishment/esm2015/lib/select/select-all/index.js → esm2020/establishment/lib/select/select-all/index.mjs} +0 -0
- package/{establishment/esm2015/lib/service/establishment-service.model.js → esm2020/establishment/lib/service/establishment-service.model.mjs} +0 -0
- package/esm2020/establishment/lib/service/establishment.service.mjs +33 -0
- package/{establishment/esm2015/lib/service/index.js → esm2020/establishment/lib/service/index.mjs} +0 -0
- package/{establishment/esm2015/lib/service/legal-unit-service.model.js → esm2020/establishment/lib/service/legal-unit-service.model.mjs} +0 -0
- package/esm2020/establishment/lib/service/legal-unit.service.mjs +33 -0
- package/{establishment/esm2015/lucca-front-ng-establishment.js → esm2020/establishment/lucca-front-ng-establishment.mjs} +0 -0
- package/{establishment/esm2015/public-api.js → esm2020/establishment/public-api.mjs} +0 -0
- package/{formly/esm2015/index.js → esm2020/formly/index.mjs} +0 -0
- package/{formly/esm2015/lib/formly.config.js → esm2020/formly/lib/formly.config.mjs} +0 -0
- package/esm2020/formly/lib/formly.module.mjs +110 -0
- package/{formly/esm2015/lib/index.js → esm2020/formly/lib/index.mjs} +0 -0
- package/esm2020/formly/lib/types/api.mjs +33 -0
- package/esm2020/formly/lib/types/checkbox.mjs +21 -0
- package/esm2020/formly/lib/types/date.mjs +21 -0
- package/esm2020/formly/lib/types/department.mjs +21 -0
- package/esm2020/formly/lib/types/establishment.mjs +21 -0
- package/{formly/esm2015/lib/types/index.js → esm2020/formly/lib/types/index.mjs} +0 -0
- package/esm2020/formly/lib/types/input.mjs +25 -0
- package/esm2020/formly/lib/types/qualification.mjs +21 -0
- package/esm2020/formly/lib/types/radios.mjs +24 -0
- package/esm2020/formly/lib/types/select.mjs +27 -0
- package/esm2020/formly/lib/types/textarea.mjs +21 -0
- package/esm2020/formly/lib/types/user.mjs +21 -0
- package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +31 -0
- package/esm2020/formly/lib/wrappers/error.mjs +62 -0
- package/esm2020/formly/lib/wrappers/helper.mjs +27 -0
- package/esm2020/formly/lib/wrappers/icon.mjs +35 -0
- package/{formly/esm2015/lib/wrappers/index.js → esm2020/formly/lib/wrappers/index.mjs} +0 -0
- package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +31 -0
- package/esm2020/formly/lib/wrappers/suffix.mjs +30 -0
- package/esm2020/formly/lib/wrappers/textfield-layout.mjs +42 -0
- package/{formly/esm2015/lucca-front-ng-formly.js → esm2020/formly/lucca-front-ng-formly.mjs} +0 -0
- package/{formly/esm2015/public-api.js → esm2020/formly/public-api.mjs} +0 -0
- package/{input/esm2015/index.js → esm2020/input/index.mjs} +0 -0
- package/esm2020/input/lib/clearer/clearer.component.mjs +32 -0
- package/{input/esm2015/lib/clearer/clearer.model.js → esm2020/input/lib/clearer/clearer.model.mjs} +0 -0
- package/esm2020/input/lib/clearer/clearer.module.mjs +26 -0
- package/{input/esm2015/lib/clearer/index.js → esm2020/input/lib/clearer/index.mjs} +0 -0
- package/{input/esm2015/lib/displayer/index.js → esm2020/input/lib/displayer/index.mjs} +0 -0
- package/esm2020/input/lib/displayer/input-displayer.directive.mjs +58 -0
- package/{input/esm2015/lib/displayer/input-displayer.model.js → esm2020/input/lib/displayer/input-displayer.model.mjs} +0 -0
- package/esm2020/input/lib/displayer/input-displayer.module.mjs +17 -0
- package/{input/esm2015/lib/index.js → esm2020/input/lib/index.mjs} +0 -0
- package/esm2020/input/lib/input.directive.mjs +41 -0
- package/esm2020/input/lib/input.model.mjs +48 -0
- package/esm2020/input/lib/input.module.mjs +35 -0
- package/{input/esm2015/lucca-front-ng-input.js → esm2020/input/lucca-front-ng-input.mjs} +0 -0
- package/{input/esm2015/public-api.js → esm2020/input/public-api.mjs} +0 -0
- package/esm2020/lucca-front-ng.mjs +5 -0
- package/{material/esm2015/index.js → esm2020/material/index.mjs} +0 -0
- package/{material/esm2015/lib/index.js → esm2020/material/lib/index.mjs} +0 -0
- package/esm2020/material/lib/module.mjs +12 -0
- package/{material/esm2015/lucca-front-ng-material.js → esm2020/material/lucca-front-ng-material.mjs} +0 -0
- package/{material/esm2015/public-api.js → esm2020/material/public-api.mjs} +0 -0
- package/{modal/esm2015/index.js → esm2020/modal/index.mjs} +0 -0
- package/{modal/esm2015/lib/index.js → esm2020/modal/lib/index.mjs} +0 -0
- package/{modal/esm2015/lib/modal-config.default.js → esm2020/modal/lib/modal-config.default.mjs} +0 -0
- package/{modal/esm2015/lib/modal-config.model.js → esm2020/modal/lib/modal-config.model.mjs} +0 -0
- package/esm2020/modal/lib/modal-panel.component.mjs +130 -0
- package/esm2020/modal/lib/modal-ref.factory.mjs +50 -0
- package/{modal/esm2015/lib/modal-ref.model.js → esm2020/modal/lib/modal-ref.model.mjs} +0 -0
- package/esm2020/modal/lib/modal.intl.mjs +21 -0
- package/{modal/esm2015/lib/modal.model.js → esm2020/modal/lib/modal.model.mjs} +0 -0
- package/esm2020/modal/lib/modal.module.mjs +65 -0
- package/esm2020/modal/lib/modal.service.mjs +23 -0
- package/{modal/esm2015/lib/modal.token.js → esm2020/modal/lib/modal.token.mjs} +0 -0
- package/{modal/esm2015/lib/modal.translate.js → esm2020/modal/lib/modal.translate.mjs} +0 -0
- package/esm2020/modal/lucca-front-ng-modal.mjs +5 -0
- package/{modal/esm2015/public-api.js → esm2020/modal/public-api.mjs} +0 -0
- package/{number/esm2015/index.js → esm2020/number/index.mjs} +0 -0
- package/{number/esm2015/lib/index.js → esm2020/number/lib/index.mjs} +0 -0
- package/esm2020/number/lib/number.module.mjs +18 -0
- package/esm2020/number/lib/number.pipe.mjs +35 -0
- package/{number/esm2015/lucca-front-ng-number.js → esm2020/number/lucca-front-ng-number.mjs} +0 -0
- package/{number/esm2015/public-api.js → esm2020/number/public-api.mjs} +0 -0
- package/{option/esm2015/index.js → esm2020/option/index.mjs} +0 -0
- package/{option/esm2015/lib/index.js → esm2020/option/lib/index.mjs} +0 -0
- package/{option/esm2015/lib/item/index.js → esm2020/option/lib/item/index.mjs} +0 -0
- package/esm2020/option/lib/item/option-item.component.mjs +59 -0
- package/{option/esm2015/lib/item/option-item.model.js → esm2020/option/lib/item/option-item.model.mjs} +0 -0
- package/esm2020/option/lib/item/option-item.module.mjs +20 -0
- package/esm2020/option/lib/item/tree-option-item.component.mjs +117 -0
- package/esm2020/option/lib/item/tree-option-item.intl.mjs +21 -0
- package/{option/esm2015/lib/item/tree-option-item.model.js → esm2020/option/lib/item/tree-option-item.model.mjs} +0 -0
- package/esm2020/option/lib/item/tree-option-item.module.mjs +43 -0
- package/{option/esm2015/lib/item/tree-option-item.token.js → esm2020/option/lib/item/tree-option-item.token.mjs} +0 -0
- package/{option/esm2015/lib/item/tree-option-item.translate.js → esm2020/option/lib/item/tree-option-item.translate.mjs} +0 -0
- package/{option/esm2015/lib/operator/feeder/index.js → esm2020/option/lib/operator/feeder/index.mjs} +0 -0
- package/esm2020/option/lib/operator/feeder/option-feeder.component.mjs +33 -0
- package/esm2020/option/lib/operator/feeder/option-feeder.module.mjs +21 -0
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.component.mjs +33 -0
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.module.mjs +20 -0
- package/esm2020/option/lib/operator/for-groups/for-groups.directive.mjs +80 -0
- package/esm2020/option/lib/operator/for-groups/for-groups.module.mjs +21 -0
- package/{option/esm2015/lib/operator/for-groups/index.js → esm2020/option/lib/operator/for-groups/index.mjs} +0 -0
- package/esm2020/option/lib/operator/for-options/for-options.directive.mjs +49 -0
- package/esm2020/option/lib/operator/for-options/for-options.module.mjs +21 -0
- package/esm2020/option/lib/operator/for-options/for-tree-options.directive.mjs +28 -0
- package/esm2020/option/lib/operator/for-options/for-tree-options.module.mjs +21 -0
- package/{option/esm2015/lib/operator/for-options/index.js → esm2020/option/lib/operator/for-options/index.mjs} +0 -0
- package/{option/esm2015/lib/operator/index.js → esm2020/option/lib/operator/index.mjs} +0 -0
- package/{option/esm2015/lib/operator/option-operator.model.js → esm2020/option/lib/operator/option-operator.model.mjs} +0 -0
- package/esm2020/option/lib/operator/option-operator.module.mjs +50 -0
- package/{option/esm2015/lib/operator/pager/index.js → esm2020/option/lib/operator/pager/index.mjs} +0 -0
- package/esm2020/option/lib/operator/pager/option-pager.component.mjs +52 -0
- package/esm2020/option/lib/operator/pager/option-pager.module.mjs +20 -0
- package/esm2020/option/lib/operator/pager/tree-option-pager.component.mjs +68 -0
- package/esm2020/option/lib/operator/pager/tree-option-pager.module.mjs +21 -0
- package/{option/esm2015/lib/operator/searcher/index.js → esm2020/option/lib/operator/searcher/index.mjs} +0 -0
- package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +65 -0
- package/esm2020/option/lib/operator/searcher/option-searcher.module.mjs +34 -0
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +80 -0
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.module.mjs +34 -0
- package/{option/esm2015/lib/operator/tree-option-operator.model.js → esm2020/option/lib/operator/tree-option-operator.model.mjs} +0 -0
- package/esm2020/option/lib/operator/tree-option-operator.module.mjs +43 -0
- package/esm2020/option/lib/option.module.mjs +50 -0
- package/{option/esm2015/lib/picker/index.js → esm2020/option/lib/picker/index.mjs} +0 -0
- package/esm2020/option/lib/picker/option-picker-advanced.component.mjs +142 -0
- package/esm2020/option/lib/picker/option-picker.component.mjs +289 -0
- package/esm2020/option/lib/picker/option-picker.model.mjs +69 -0
- package/esm2020/option/lib/picker/option-picker.module.mjs +49 -0
- package/esm2020/option/lib/picker/tree-option-picker-advanced.component.mjs +138 -0
- package/esm2020/option/lib/picker/tree-option-picker.component.mjs +171 -0
- package/esm2020/option/lib/picker/tree-option-picker.model.mjs +4 -0
- package/esm2020/option/lib/picker/tree-option-picker.module.mjs +43 -0
- package/{option/esm2015/lib/placeholder/index.js → esm2020/option/lib/placeholder/index.mjs} +0 -0
- package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +24 -0
- package/esm2020/option/lib/placeholder/option-placeholder.intl.mjs +21 -0
- package/esm2020/option/lib/placeholder/option-placeholder.module.mjs +30 -0
- package/{option/esm2015/lib/placeholder/option-placeholder.token.js → esm2020/option/lib/placeholder/option-placeholder.token.mjs} +0 -0
- package/{option/esm2015/lib/placeholder/option-placeholder.translate.js → esm2020/option/lib/placeholder/option-placeholder.translate.mjs} +0 -0
- package/{option/esm2015/lib/selector/all/index.js → esm2020/option/lib/selector/all/index.mjs} +0 -0
- package/esm2020/option/lib/selector/all/select-all.component.mjs +63 -0
- package/esm2020/option/lib/selector/all/select-all.intl.mjs +21 -0
- package/esm2020/option/lib/selector/all/select-all.module.mjs +30 -0
- package/{option/esm2015/lib/selector/all/select-all.token.js → esm2020/option/lib/selector/all/select-all.token.mjs} +0 -0
- package/{option/esm2015/lib/selector/all/select-all.translate.js → esm2020/option/lib/selector/all/select-all.translate.mjs} +0 -0
- package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +68 -0
- package/esm2020/option/lib/selector/all/tree-select-all.module.mjs +30 -0
- package/{option/esm2015/lib/selector/index.js → esm2020/option/lib/selector/index.mjs} +0 -0
- package/{option/esm2015/lib/selector/option-selector.model.js → esm2020/option/lib/selector/option-selector.model.mjs} +0 -0
- package/esm2020/option/lib/selector/option-selector.module.mjs +22 -0
- package/{option/esm2015/lib/selector/tree-option-selector.model.js → esm2020/option/lib/selector/tree-option-selector.model.mjs} +0 -0
- package/esm2020/option/lib/selector/tree-option-selector.module.mjs +22 -0
- package/esm2020/option/lib/tree-option.module.mjs +43 -0
- package/{option/esm2015/lucca-front-ng-option.js → esm2020/option/lucca-front-ng-option.mjs} +0 -0
- package/{option/esm2015/public-api.js → esm2020/option/public-api.mjs} +0 -0
- package/{picker/esm2015/index.js → esm2020/picker/index.mjs} +0 -0
- package/{picker/esm2015/lib/index.js → esm2020/picker/lib/index.mjs} +0 -0
- package/esm2020/picker/lib/input-picker.model.mjs +4 -0
- package/{picker/esm2015/lucca-front-ng-picker.js → esm2020/picker/lucca-front-ng-picker.mjs} +0 -0
- package/{picker/esm2015/public-api.js → esm2020/picker/public-api.mjs} +0 -0
- package/{popover/esm2015/index.js → esm2020/popover/index.mjs} +0 -0
- package/{popover/esm2015/lib/animation/index.js → esm2020/popover/lib/animation/index.mjs} +0 -0
- package/{popover/esm2015/lib/animation/popover.animation.js → esm2020/popover/lib/animation/popover.animation.mjs} +0 -0
- package/{popover/esm2015/lib/index.js → esm2020/popover/lib/index.mjs} +0 -0
- package/{popover/esm2015/lib/panel/index.js → esm2020/popover/lib/panel/index.mjs} +0 -0
- package/esm2020/popover/lib/panel/popover-panel.component.mjs +121 -0
- package/esm2020/popover/lib/panel/popover-panel.model.mjs +96 -0
- package/esm2020/popover/lib/panel/popover-panel.module.mjs +34 -0
- package/esm2020/popover/lib/popover.module.mjs +36 -0
- package/{popover/esm2015/lib/target/index.js → esm2020/popover/lib/target/index.mjs} +0 -0
- package/esm2020/popover/lib/target/popover-target.directive.mjs +42 -0
- package/{popover/esm2015/lib/target/popover-target.error.js → esm2020/popover/lib/target/popover-target.error.mjs} +0 -0
- package/{popover/esm2015/lib/target/popover-target.model.js → esm2020/popover/lib/target/popover-target.model.mjs} +0 -0
- package/esm2020/popover/lib/target/popover-target.module.mjs +30 -0
- package/{popover/esm2015/lib/trigger/index.js → esm2020/popover/lib/trigger/index.mjs} +0 -0
- package/esm2020/popover/lib/trigger/popover-trigger.directive.mjs +155 -0
- package/{popover/esm2015/lib/trigger/popover-trigger.error.js → esm2020/popover/lib/trigger/popover-trigger.error.mjs} +0 -0
- package/esm2020/popover/lib/trigger/popover-trigger.model.mjs +406 -0
- package/esm2020/popover/lib/trigger/popover-trigger.module.mjs +38 -0
- package/{popover/esm2015/lucca-front-ng-popover.js → esm2020/popover/lucca-front-ng-popover.mjs} +0 -0
- package/{popover/esm2015/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- package/{popup/esm2015/index.js → esm2020/popup/index.mjs} +0 -0
- package/{popup/esm2015/lib/index.js → esm2020/popup/lib/index.mjs} +0 -0
- package/{popup/esm2015/lib/popup-config.default.js → esm2020/popup/lib/popup-config.default.mjs} +0 -0
- package/{popup/esm2015/lib/popup-config.model.js → esm2020/popup/lib/popup-config.model.mjs} +0 -0
- package/esm2020/popup/lib/popup-ref.factory.mjs +28 -0
- package/esm2020/popup/lib/popup-ref.model.mjs +118 -0
- package/{popup/esm2015/lib/popup.model.js → esm2020/popup/lib/popup.model.mjs} +0 -0
- package/esm2020/popup/lib/popup.module.mjs +33 -0
- package/esm2020/popup/lib/popup.service.mjs +27 -0
- package/{popup/esm2015/lib/popup.token.js → esm2020/popup/lib/popup.token.mjs} +0 -0
- package/{popup/esm2015/lucca-front-ng-popup.js → esm2020/popup/lucca-front-ng-popup.mjs} +0 -0
- package/{popup/esm2015/public-api.js → esm2020/popup/public-api.mjs} +0 -0
- package/esm2020/public_api.mjs +2 -0
- package/{qualification/esm2015/index.js → esm2020/qualification/index.mjs} +0 -0
- package/{qualification/esm2015/lib/index.js → esm2020/qualification/lib/index.mjs} +0 -0
- package/{qualification/esm2015/lib/qualification.model.js → esm2020/qualification/lib/qualification.model.mjs} +0 -0
- package/esm2020/qualification/lib/qualification.module.mjs +22 -0
- package/{qualification/esm2015/lib/select/index.js → esm2020/qualification/lib/select/index.mjs} +0 -0
- package/{qualification/esm2015/lib/select/input/index.js → esm2020/qualification/lib/select/input/index.mjs} +0 -0
- package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +61 -0
- package/esm2020/qualification/lib/select/input/qualification-select-input.intl.mjs +21 -0
- package/esm2020/qualification/lib/select/input/qualification-select-input.module.mjs +55 -0
- package/{qualification/esm2015/lib/select/input/qualification-select-input.token.js → esm2020/qualification/lib/select/input/qualification-select-input.token.mjs} +0 -0
- package/{qualification/esm2015/lib/select/input/qualification-select-input.translate.js → esm2020/qualification/lib/select/input/qualification-select-input.translate.mjs} +0 -0
- package/esm2020/qualification/lib/select/qualification-select.module.mjs +22 -0
- package/{qualification/esm2015/lucca-front-ng-qualification.js → esm2020/qualification/lucca-front-ng-qualification.mjs} +0 -0
- package/{qualification/esm2015/public-api.js → esm2020/qualification/public-api.mjs} +0 -0
- package/{safe-content/esm2015/index.js → esm2020/safe-content/index.mjs} +0 -0
- package/{safe-content/esm2015/lib/index.js → esm2020/safe-content/lib/index.mjs} +0 -0
- package/{safe-content/esm2015/lib/safe-content.model.js → esm2020/safe-content/lib/safe-content.model.mjs} +0 -0
- package/esm2020/safe-content/lib/safe-content.module.mjs +19 -0
- package/esm2020/safe-content/lib/safe-content.pipe.mjs +25 -0
- package/{safe-content/esm2015/lucca-front-ng-safe-content.js → esm2020/safe-content/lucca-front-ng-safe-content.mjs} +0 -0
- package/{safe-content/esm2015/public-api.js → esm2020/safe-content/public-api.mjs} +0 -0
- package/{scroll/esm2015/index.js → esm2020/scroll/index.mjs} +0 -0
- package/{scroll/esm2015/lib/index.js → esm2020/scroll/lib/index.mjs} +0 -0
- package/esm2020/scroll/lib/scroll.directive.mjs +75 -0
- package/{scroll/esm2015/lib/scroll.model.js → esm2020/scroll/lib/scroll.model.mjs} +0 -0
- package/esm2020/scroll/lib/scroll.module.mjs +20 -0
- package/esm2020/scroll/lucca-front-ng-scroll.mjs +5 -0
- package/{scroll/esm2015/public-api.js → esm2020/scroll/public-api.mjs} +0 -0
- package/{select/esm2015/index.js → esm2020/select/index.mjs} +0 -0
- package/{select/esm2015/lib/index.js → esm2020/select/lib/index.mjs} +0 -0
- package/{select/esm2015/lib/input/index.js → esm2020/select/lib/input/index.mjs} +0 -0
- package/esm2020/select/lib/input/select-input.component.mjs +229 -0
- package/esm2020/select/lib/input/select-input.model.mjs +167 -0
- package/esm2020/select/lib/input/select-input.module.mjs +30 -0
- package/esm2020/select/lib/select.module.mjs +22 -0
- package/{select/esm2015/lucca-front-ng-select.js → esm2020/select/lucca-front-ng-select.mjs} +0 -0
- package/{select/esm2015/public-api.js → esm2020/select/public-api.mjs} +0 -0
- package/{sidepanel/esm2015/index.js → esm2020/sidepanel/index.mjs} +0 -0
- package/{sidepanel/esm2015/lib/index.js → esm2020/sidepanel/lib/index.mjs} +0 -0
- package/{sidepanel/esm2015/lib/sidepanel-config.default.js → esm2020/sidepanel/lib/sidepanel-config.default.mjs} +0 -0
- package/{sidepanel/esm2015/lib/sidepanel-config.model.js → esm2020/sidepanel/lib/sidepanel-config.model.mjs} +0 -0
- package/esm2020/sidepanel/lib/sidepanel-panel.component.mjs +37 -0
- package/esm2020/sidepanel/lib/sidepanel-ref.factory.mjs +49 -0
- package/{sidepanel/esm2015/lib/sidepanel-ref.model.js → esm2020/sidepanel/lib/sidepanel-ref.model.mjs} +0 -0
- package/esm2020/sidepanel/lib/sidepanel.intl.mjs +21 -0
- package/{sidepanel/esm2015/lib/sidepanel.model.js → esm2020/sidepanel/lib/sidepanel.model.mjs} +0 -0
- package/esm2020/sidepanel/lib/sidepanel.module.mjs +65 -0
- package/esm2020/sidepanel/lib/sidepanel.service.mjs +23 -0
- package/{sidepanel/esm2015/lib/sidepanel.token.js → esm2020/sidepanel/lib/sidepanel.token.mjs} +0 -0
- package/{sidepanel/esm2015/lib/sidepanel.translate.js → esm2020/sidepanel/lib/sidepanel.translate.mjs} +0 -0
- package/{sidepanel/esm2015/lucca-front-ng-sidepanel.js → esm2020/sidepanel/lucca-front-ng-sidepanel.mjs} +0 -0
- package/{sidepanel/esm2015/public-api.js → esm2020/sidepanel/public-api.mjs} +0 -0
- package/{tooltip/esm2015/index.js → esm2020/tooltip/index.mjs} +0 -0
- package/{tooltip/esm2015/lib/animation/index.js → esm2020/tooltip/lib/animation/index.mjs} +0 -0
- package/{tooltip/esm2015/lib/animation/tooltip.animation.js → esm2020/tooltip/lib/animation/tooltip.animation.mjs} +0 -0
- package/{tooltip/esm2015/lib/index.js → esm2020/tooltip/lib/index.mjs} +0 -0
- package/{tooltip/esm2015/lib/panel/index.js → esm2020/tooltip/lib/panel/index.mjs} +0 -0
- package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +53 -0
- package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +33 -0
- package/esm2020/tooltip/lib/tooltip.module.mjs +29 -0
- package/{tooltip/esm2015/lib/trigger/index.js → esm2020/tooltip/lib/trigger/index.mjs} +0 -0
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +141 -0
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.module.mjs +26 -0
- package/{tooltip/esm2015/lucca-front-ng-tooltip.js → esm2020/tooltip/lucca-front-ng-tooltip.mjs} +0 -0
- package/{tooltip/esm2015/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
- package/{user/esm2015/index.js → esm2020/user/index.mjs} +0 -0
- package/{user/esm2015/lib/display/display-format.model.js → esm2020/user/lib/display/display-format.model.mjs} +0 -0
- package/{user/esm2015/lib/display/index.js → esm2020/user/lib/display/index.mjs} +0 -0
- package/esm2020/user/lib/display/user-display.module.mjs +19 -0
- package/esm2020/user/lib/display/user-display.pipe.mjs +62 -0
- package/{user/esm2015/lib/index.js → esm2020/user/lib/index.mjs} +0 -0
- package/{user/esm2015/lib/picture/index.js → esm2020/user/lib/picture/index.mjs} +0 -0
- package/esm2020/user/lib/picture/user-picture.component.mjs +66 -0
- package/esm2020/user/lib/picture/user-picture.module.mjs +19 -0
- package/{user/esm2015/lib/select/homonyms/index.js → esm2020/user/lib/select/homonyms/index.mjs} +0 -0
- package/esm2020/user/lib/select/homonyms/user-homonyms.component.mjs +68 -0
- package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +30 -0
- package/esm2020/user/lib/select/homonyms/user-homonyms.service.mjs +47 -0
- package/{user/esm2015/lib/select/index.js → esm2020/user/lib/select/index.mjs} +0 -0
- package/{user/esm2015/lib/select/input/index.js → esm2020/user/lib/select/input/index.mjs} +0 -0
- package/esm2020/user/lib/select/input/user-select-input.component.mjs +69 -0
- package/esm2020/user/lib/select/input/user-select-input.intl.mjs +21 -0
- package/esm2020/user/lib/select/input/user-select-input.module.mjs +66 -0
- package/{user/esm2015/lib/select/input/user-select-input.token.js → esm2020/user/lib/select/input/user-select-input.token.mjs} +0 -0
- package/{user/esm2015/lib/select/input/user-select-input.translate.js → esm2020/user/lib/select/input/user-select-input.translate.mjs} +0 -0
- package/{user/esm2015/lib/select/me/index.js → esm2020/user/lib/select/me/index.mjs} +0 -0
- package/esm2020/user/lib/select/me/me-option.directive.mjs +97 -0
- package/esm2020/user/lib/select/me/me-option.module.mjs +22 -0
- package/{user/esm2015/lib/select/searcher/index.js → esm2020/user/lib/select/searcher/index.mjs} +0 -0
- package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +180 -0
- package/esm2020/user/lib/select/searcher/user-searcher.intl.mjs +21 -0
- package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +48 -0
- package/{user/esm2015/lib/select/searcher/user-searcher.token.js → esm2020/user/lib/select/searcher/user-searcher.token.mjs} +0 -0
- package/{user/esm2015/lib/select/searcher/user-searcher.translate.js → esm2020/user/lib/select/searcher/user-searcher.translate.mjs} +0 -0
- package/esm2020/user/lib/select/user-select.module.mjs +43 -0
- package/{user/esm2015/lib/service/index.js → esm2020/user/lib/service/index.mjs} +0 -0
- package/{user/esm2015/lib/service/user-service.model.js → esm2020/user/lib/service/user-service.model.mjs} +0 -0
- package/esm2020/user/lib/service/user-v3.service.mjs +48 -0
- package/{user/esm2015/lib/tile/index.js → esm2020/user/lib/tile/index.mjs} +0 -0
- package/esm2020/user/lib/tile/user-tile.component.mjs +67 -0
- package/esm2020/user/lib/tile/user-tile.module.mjs +20 -0
- package/{user/esm2015/lib/user.model.js → esm2020/user/lib/user.model.mjs} +0 -0
- package/esm2020/user/lib/user.module.mjs +43 -0
- package/{user/esm2015/lucca-front-ng-user.js → esm2020/user/lucca-front-ng-user.mjs} +0 -0
- package/{user/esm2015/public-api.js → esm2020/user/public-api.mjs} +0 -0
- package/establishment/lib/establishment.module.d.ts +5 -0
- package/establishment/lib/select/establishment-select.module.d.ts +9 -0
- package/establishment/lib/select/for-legal-units/for-legal-units.directive.d.ts +3 -2
- package/establishment/lib/select/for-legal-units/for-legal-units.module.d.ts +5 -0
- package/establishment/lib/select/input/establishment-select-input.component.d.ts +4 -1
- package/establishment/lib/select/input/establishment-select-input.intl.d.ts +3 -0
- package/establishment/lib/select/input/establishment-select-input.module.d.ts +13 -0
- package/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.d.ts +3 -0
- package/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.d.ts +6 -0
- package/establishment/lib/select/searcher/establishment-searcher.component.d.ts +3 -0
- package/establishment/lib/select/searcher/establishment-searcher.module.d.ts +9 -0
- package/establishment/lib/select/select-all/establishment-select-all.component.d.ts +3 -1
- package/establishment/lib/select/select-all/establishment-select-all.module.d.ts +8 -0
- package/establishment/lib/service/establishment.service.d.ts +3 -0
- package/establishment/lib/service/legal-unit.service.d.ts +3 -0
- package/establishment/lucca-front-ng-establishment.d.ts +1 -0
- package/establishment/package.json +6 -10
- package/fesm2015/lucca-front-ng-animations.mjs +276 -0
- package/fesm2015/lucca-front-ng-animations.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-api.mjs +901 -0
- package/fesm2015/lucca-front-ng-api.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-core.mjs +414 -0
- package/fesm2015/lucca-front-ng-core.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-date.mjs +1070 -0
- package/fesm2015/lucca-front-ng-date.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-department.mjs +327 -0
- package/fesm2015/lucca-front-ng-department.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-dropdown.mjs +370 -0
- package/fesm2015/lucca-front-ng-dropdown.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-establishment.mjs +854 -0
- package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-formly.mjs +624 -0
- package/fesm2015/lucca-front-ng-formly.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-input.mjs +260 -0
- package/fesm2015/lucca-front-ng-input.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-material.mjs +23 -0
- package/fesm2015/lucca-front-ng-material.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-modal.mjs +320 -0
- package/fesm2015/lucca-front-ng-modal.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-number.mjs +62 -0
- package/fesm2015/lucca-front-ng-number.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-option.mjs +2267 -0
- package/fesm2015/lucca-front-ng-option.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-picker.mjs +15 -0
- package/fesm2015/lucca-front-ng-picker.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-popover.mjs +1031 -0
- package/fesm2015/lucca-front-ng-popover.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-popup.mjs +220 -0
- package/fesm2015/lucca-front-ng-popup.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-qualification.mjs +195 -0
- package/fesm2015/lucca-front-ng-qualification.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-safe-content.mjs +52 -0
- package/fesm2015/lucca-front-ng-safe-content.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-scroll.mjs +103 -0
- package/fesm2015/lucca-front-ng-scroll.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-select.mjs +452 -0
- package/fesm2015/lucca-front-ng-select.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-sidepanel.mjs +226 -0
- package/fesm2015/lucca-front-ng-sidepanel.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-tooltip.mjs +297 -0
- package/fesm2015/lucca-front-ng-tooltip.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-user.mjs +1028 -0
- package/fesm2015/lucca-front-ng-user.mjs.map +1 -0
- package/fesm2015/lucca-front-ng.mjs +6 -0
- package/fesm2015/lucca-front-ng.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-animations.mjs +276 -0
- package/fesm2020/lucca-front-ng-animations.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-api.mjs +887 -0
- package/fesm2020/lucca-front-ng-api.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-core.mjs +410 -0
- package/fesm2020/lucca-front-ng-core.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-date.mjs +1060 -0
- package/fesm2020/lucca-front-ng-date.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-department.mjs +320 -0
- package/fesm2020/lucca-front-ng-department.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-dropdown.mjs +370 -0
- package/fesm2020/lucca-front-ng-dropdown.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-establishment.mjs +842 -0
- package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-formly.mjs +624 -0
- package/fesm2020/lucca-front-ng-formly.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-input.mjs +260 -0
- package/fesm2020/lucca-front-ng-input.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-material.mjs +23 -0
- package/fesm2020/lucca-front-ng-material.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-modal.mjs +310 -0
- package/fesm2020/lucca-front-ng-modal.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-number.mjs +60 -0
- package/fesm2020/lucca-front-ng-number.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-option.mjs +2237 -0
- package/fesm2020/lucca-front-ng-option.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-picker.mjs +15 -0
- package/fesm2020/lucca-front-ng-picker.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-popover.mjs +1031 -0
- package/fesm2020/lucca-front-ng-popover.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-popup.mjs +218 -0
- package/fesm2020/lucca-front-ng-popup.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-qualification.mjs +191 -0
- package/fesm2020/lucca-front-ng-qualification.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-safe-content.mjs +52 -0
- package/fesm2020/lucca-front-ng-safe-content.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-scroll.mjs +103 -0
- package/fesm2020/lucca-front-ng-scroll.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-select.mjs +452 -0
- package/fesm2020/lucca-front-ng-select.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-sidepanel.mjs +218 -0
- package/fesm2020/lucca-front-ng-sidepanel.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-tooltip.mjs +296 -0
- package/fesm2020/lucca-front-ng-tooltip.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-user.mjs +1015 -0
- package/fesm2020/lucca-front-ng-user.mjs.map +1 -0
- package/fesm2020/lucca-front-ng.mjs +6 -0
- package/fesm2020/lucca-front-ng.mjs.map +1 -0
- package/formly/lib/formly.module.d.ts +34 -0
- package/formly/lib/types/api.d.ts +3 -0
- package/formly/lib/types/checkbox.d.ts +3 -0
- package/formly/lib/types/date.d.ts +3 -0
- package/formly/lib/types/department.d.ts +3 -0
- package/formly/lib/types/establishment.d.ts +3 -0
- package/formly/lib/types/input.d.ts +3 -0
- package/formly/lib/types/qualification.d.ts +3 -0
- package/formly/lib/types/radios.d.ts +3 -0
- package/formly/lib/types/select.d.ts +3 -0
- package/formly/lib/types/textarea.d.ts +3 -0
- package/formly/lib/types/user.d.ts +3 -0
- package/formly/lib/wrappers/checkbox-layout.d.ts +3 -0
- package/formly/lib/wrappers/error.d.ts +5 -0
- package/formly/lib/wrappers/helper.d.ts +3 -0
- package/formly/lib/wrappers/icon.d.ts +3 -0
- package/formly/lib/wrappers/radiosfield-layout.d.ts +3 -0
- package/formly/lib/wrappers/suffix.d.ts +3 -0
- package/formly/lib/wrappers/textfield-layout.d.ts +3 -0
- package/formly/lucca-front-ng-formly.d.ts +1 -0
- package/formly/package.json +6 -10
- package/input/lib/clearer/clearer.component.d.ts +3 -0
- package/input/lib/clearer/clearer.module.d.ts +6 -0
- package/input/lib/displayer/input-displayer.directive.d.ts +3 -0
- package/input/lib/displayer/input-displayer.module.d.ts +5 -0
- package/input/lib/input.directive.d.ts +3 -0
- package/input/lib/input.model.d.ts +3 -3
- package/input/lib/input.module.d.ts +7 -0
- package/input/lucca-front-ng-input.d.ts +1 -0
- package/input/package.json +6 -10
- package/lucca-front-ng.d.ts +2 -1
- package/material/lib/module.d.ts +4 -0
- package/material/lucca-front-ng-material.d.ts +1 -0
- package/material/package.json +6 -10
- package/material/style/main-v11.overridable.scss +1 -1
- package/material/style/main-v11.scss +1 -1
- package/material/style/main.overridable.scss +1 -1
- package/material/style/main.scss +1 -1
- package/modal/lib/modal-panel.component.d.ts +7 -0
- package/modal/lib/modal-ref.factory.d.ts +9 -6
- package/modal/lib/modal.intl.d.ts +3 -0
- package/modal/lib/modal.module.d.ts +9 -0
- package/modal/lib/modal.service.d.ts +3 -0
- package/modal/lucca-front-ng-modal.d.ts +5 -0
- package/modal/package.json +7 -11
- package/number/lib/number.module.d.ts +6 -0
- package/number/lib/number.pipe.d.ts +3 -0
- package/number/lucca-front-ng-number.d.ts +1 -0
- package/number/package.json +6 -10
- package/option/lib/item/option-item.component.d.ts +3 -0
- package/option/lib/item/option-item.module.d.ts +5 -0
- package/option/lib/item/tree-option-item.component.d.ts +3 -0
- package/option/lib/item/tree-option-item.intl.d.ts +3 -0
- package/option/lib/item/tree-option-item.module.d.ts +7 -0
- package/option/lib/operator/feeder/option-feeder.component.d.ts +3 -0
- package/option/lib/operator/feeder/option-feeder.module.d.ts +5 -0
- package/option/lib/operator/feeder/tree-option-feeder.component.d.ts +3 -0
- package/option/lib/operator/feeder/tree-option-feeder.module.d.ts +5 -0
- package/option/lib/operator/for-groups/for-groups.directive.d.ts +3 -0
- package/option/lib/operator/for-groups/for-groups.module.d.ts +5 -0
- package/option/lib/operator/for-options/for-options.directive.d.ts +3 -0
- package/option/lib/operator/for-options/for-options.module.d.ts +5 -0
- package/option/lib/operator/for-options/for-tree-options.directive.d.ts +3 -0
- package/option/lib/operator/for-options/for-tree-options.module.d.ts +5 -0
- package/option/lib/operator/option-operator.module.d.ts +9 -0
- package/option/lib/operator/pager/option-pager.component.d.ts +3 -0
- package/option/lib/operator/pager/option-pager.module.d.ts +5 -0
- package/option/lib/operator/pager/tree-option-pager.component.d.ts +3 -0
- package/option/lib/operator/pager/tree-option-pager.module.d.ts +5 -0
- package/option/lib/operator/searcher/option-searcher.component.d.ts +3 -0
- package/option/lib/operator/searcher/option-searcher.module.d.ts +8 -0
- package/option/lib/operator/searcher/tree-option-searcher.component.d.ts +3 -0
- package/option/lib/operator/searcher/tree-option-searcher.module.d.ts +8 -0
- package/option/lib/operator/tree-option-operator.module.d.ts +8 -0
- package/option/lib/option.module.d.ts +9 -0
- package/option/lib/picker/option-picker-advanced.component.d.ts +9 -5
- package/option/lib/picker/option-picker.component.d.ts +12 -7
- package/option/lib/picker/option-picker.model.d.ts +5 -5
- package/option/lib/picker/option-picker.module.d.ts +11 -0
- package/option/lib/picker/tree-option-picker-advanced.component.d.ts +9 -5
- package/option/lib/picker/tree-option-picker.component.d.ts +11 -7
- package/option/lib/picker/tree-option-picker.model.d.ts +3 -3
- package/option/lib/picker/tree-option-picker.module.d.ts +10 -0
- package/option/lib/placeholder/option-placeholder.component.d.ts +3 -0
- package/option/lib/placeholder/option-placeholder.intl.d.ts +3 -0
- package/option/lib/placeholder/option-placeholder.module.d.ts +5 -0
- package/option/lib/selector/all/select-all.component.d.ts +3 -0
- package/option/lib/selector/all/select-all.intl.d.ts +3 -0
- package/option/lib/selector/all/select-all.module.d.ts +5 -0
- package/option/lib/selector/all/tree-select-all.component.d.ts +3 -0
- package/option/lib/selector/all/tree-select-all.module.d.ts +5 -0
- package/option/lib/selector/option-selector.module.d.ts +5 -0
- package/option/lib/selector/tree-option-selector.module.d.ts +5 -0
- package/option/lib/tree-option.module.d.ts +8 -0
- package/option/lucca-front-ng-option.d.ts +1 -0
- package/option/package.json +6 -10
- package/package.json +209 -12
- package/picker/lib/input-picker.model.d.ts +1 -1
- package/picker/lucca-front-ng-picker.d.ts +1 -0
- package/picker/package.json +6 -10
- package/popover/lib/panel/popover-panel.component.d.ts +3 -0
- package/popover/lib/panel/popover-panel.module.d.ts +8 -0
- package/popover/lib/popover.module.d.ts +7 -0
- package/popover/lib/target/popover-target.directive.d.ts +3 -0
- package/popover/lib/target/popover-target.module.d.ts +7 -0
- package/popover/lib/trigger/popover-trigger.directive.d.ts +3 -0
- package/popover/lib/trigger/popover-trigger.model.d.ts +7 -7
- package/popover/lib/trigger/popover-trigger.module.d.ts +9 -0
- package/popover/lucca-front-ng-popover.d.ts +1 -0
- package/popover/package.json +6 -10
- package/popup/lib/popup-ref.factory.d.ts +3 -0
- package/popup/lib/popup-ref.model.d.ts +3 -4
- package/popup/lib/popup.module.d.ts +5 -0
- package/popup/lib/popup.service.d.ts +3 -0
- package/popup/lucca-front-ng-popup.d.ts +1 -0
- package/popup/package.json +6 -10
- package/public_api.d.ts +2 -0
- package/qualification/lib/qualification.module.d.ts +5 -0
- package/qualification/lib/select/input/qualification-select-input.component.d.ts +4 -1
- package/qualification/lib/select/input/qualification-select-input.intl.d.ts +3 -0
- package/qualification/lib/select/input/qualification-select-input.module.d.ts +10 -0
- package/qualification/lib/select/qualification-select.module.d.ts +5 -0
- package/qualification/lucca-front-ng-qualification.d.ts +1 -0
- package/qualification/package.json +6 -10
- package/safe-content/lib/safe-content.module.d.ts +6 -0
- package/safe-content/lib/safe-content.pipe.d.ts +3 -0
- package/safe-content/lucca-front-ng-safe-content.d.ts +1 -0
- package/safe-content/package.json +6 -10
- package/schematics/collection.json +9 -0
- package/schematics/ng-add/file-content.js +17 -0
- package/schematics/ng-add/index.js +29 -0
- package/schematics/ng-add/tasks.js +42 -0
- package/scroll/lib/scroll.directive.d.ts +3 -0
- package/scroll/lib/scroll.module.d.ts +5 -0
- package/scroll/lucca-front-ng-scroll.d.ts +5 -0
- package/scroll/package.json +7 -11
- package/select/lib/input/select-input.component.d.ts +9 -4
- package/select/lib/input/select-input.model.d.ts +1 -1
- package/select/lib/input/select-input.module.d.ts +7 -0
- package/select/lib/select.module.d.ts +5 -0
- package/select/lucca-front-ng-select.d.ts +1 -0
- package/select/package.json +6 -10
- package/sidepanel/lib/sidepanel-panel.component.d.ts +5 -0
- package/sidepanel/lib/sidepanel-ref.factory.d.ts +9 -6
- package/sidepanel/lib/sidepanel.intl.d.ts +3 -0
- package/sidepanel/lib/sidepanel.module.d.ts +9 -0
- package/sidepanel/lib/sidepanel.service.d.ts +3 -0
- package/sidepanel/lucca-front-ng-sidepanel.d.ts +1 -0
- package/sidepanel/package.json +6 -10
- package/tooltip/lib/panel/tooltip-panel.component.d.ts +3 -0
- package/tooltip/lib/panel/tooltip-panel.module.d.ts +7 -0
- package/tooltip/lib/tooltip.module.d.ts +6 -0
- package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +3 -0
- package/tooltip/lib/trigger/tooltip-trigger.module.d.ts +6 -0
- package/tooltip/lucca-front-ng-tooltip.d.ts +1 -0
- package/tooltip/package.json +6 -10
- package/user/lib/display/user-display.module.d.ts +6 -0
- package/user/lib/display/user-display.pipe.d.ts +3 -0
- package/user/lib/picture/user-picture.component.d.ts +3 -0
- package/user/lib/picture/user-picture.module.d.ts +7 -0
- package/user/lib/select/homonyms/user-homonyms.component.d.ts +3 -0
- package/user/lib/select/homonyms/user-homonyms.module.d.ts +7 -0
- package/user/lib/select/homonyms/user-homonyms.service.d.ts +3 -0
- package/user/lib/select/input/user-select-input.component.d.ts +4 -2
- package/user/lib/select/input/user-select-input.intl.d.ts +3 -0
- package/user/lib/select/input/user-select-input.module.d.ts +12 -0
- package/user/lib/select/me/me-option.directive.d.ts +4 -1
- package/user/lib/select/me/me-option.module.d.ts +5 -0
- package/user/lib/select/searcher/user-searcher.component.d.ts +3 -0
- package/user/lib/select/searcher/user-searcher.intl.d.ts +3 -0
- package/user/lib/select/searcher/user-searcher.module.d.ts +9 -0
- package/user/lib/select/user-select.module.d.ts +8 -0
- package/user/lib/service/user-v3.service.d.ts +3 -0
- package/user/lib/tile/user-tile.component.d.ts +3 -0
- package/user/lib/tile/user-tile.module.d.ts +8 -0
- package/user/lib/user.module.d.ts +8 -0
- package/user/lucca-front-ng-user.d.ts +1 -0
- package/user/package.json +6 -10
- package/README.md +0 -1
- package/animations/bundles/lucca-front-ng-animations.umd.js +0 -611
- package/animations/bundles/lucca-front-ng-animations.umd.js.map +0 -1
- package/animations/fesm2015/lucca-front-ng-animations.js +0 -276
- package/animations/fesm2015/lucca-front-ng-animations.js.map +0 -1
- package/animations/lucca-front-ng-animations.metadata.json +0 -1
- package/api/bundles/lucca-front-ng-api.umd.js +0 -1268
- package/api/bundles/lucca-front-ng-api.umd.js.map +0 -1
- package/api/esm2015/lib/api.module.js +0 -15
- package/api/esm2015/lib/select/api-select.module.js +0 -24
- package/api/esm2015/lib/select/feeder/api-feeder.component.js +0 -52
- package/api/esm2015/lib/select/feeder/api-feeder.module.js +0 -19
- package/api/esm2015/lib/select/input/api-select-input.component.js +0 -45
- package/api/esm2015/lib/select/input/api-select-input.module.js +0 -28
- package/api/esm2015/lib/select/pager/api-pager.component.js +0 -58
- package/api/esm2015/lib/select/pager/api-pager.module.js +0 -19
- package/api/esm2015/lib/select/searcher/api-searcher.component.js +0 -142
- package/api/esm2015/lib/select/searcher/api-searcher.model.js +0 -69
- package/api/esm2015/lib/select/searcher/api-searcher.module.js +0 -27
- package/api/esm2015/lib/service/api-hybrid.service.js +0 -59
- package/api/esm2015/lib/service/api-service.model.js +0 -3
- package/api/esm2015/lib/service/api-v3.service.js +0 -65
- package/api/esm2015/lib/service/api-v4.service.js +0 -55
- package/api/fesm2015/lucca-front-ng-api.js +0 -704
- package/api/fesm2015/lucca-front-ng-api.js.map +0 -1
- package/api/lucca-front-ng-api.metadata.json +0 -1
- package/bundles/lucca-front-ng.umd.js +0 -32
- package/bundles/lucca-front-ng.umd.js.map +0 -1
- package/core/bundles/lucca-front-ng-core.umd.js +0 -759
- package/core/bundles/lucca-front-ng-core.umd.js.map +0 -1
- package/core/esm2015/lib/date/native/native-date.adapter.js +0 -221
- package/core/esm2015/lib/date/string/string-date.adapter.js +0 -78
- package/core/esm2015/lib/translate/intl.model.js +0 -13
- package/core/fesm2015/lucca-front-ng-core.js +0 -401
- package/core/fesm2015/lucca-front-ng-core.js.map +0 -1
- package/core/lucca-front-ng-core.metadata.json +0 -1
- package/date/bundles/lucca-front-ng-date.umd.js +0 -1360
- package/date/bundles/lucca-front-ng-date.umd.js.map +0 -1
- package/date/esm2015/lib/adapter/date-adapter.module.js +0 -15
- package/date/esm2015/lib/adapter/date-adapter.pipe.js +0 -23
- package/date/esm2015/lib/calendar/calendar-input.component.js +0 -322
- package/date/esm2015/lib/calendar/calendar-input.module.js +0 -25
- package/date/esm2015/lib/calendar/calendar-item.class.js +0 -41
- package/date/esm2015/lib/calendar/calendar-item.factory.js +0 -38
- package/date/esm2015/lib/date.module.js +0 -27
- package/date/esm2015/lib/input/date-input.directive.js +0 -118
- package/date/esm2015/lib/input/date-input.intl.js +0 -16
- package/date/esm2015/lib/input/date-input.module.js +0 -25
- package/date/esm2015/lib/picker/date-picker.component.js +0 -91
- package/date/esm2015/lib/picker/date-picker.module.js +0 -29
- package/date/esm2015/lib/select/date-select-input.component.js +0 -88
- package/date/esm2015/lib/select/date-select-input.intl.js +0 -16
- package/date/esm2015/lib/select/date-select-input.module.js +0 -36
- package/date/esm2015/lucca-front-ng-date.js +0 -6
- package/date/fesm2015/lucca-front-ng-date.js +0 -933
- package/date/fesm2015/lucca-front-ng-date.js.map +0 -1
- package/date/lucca-front-ng-date.metadata.json +0 -1
- package/department/bundles/lucca-front-ng-department.umd.js +0 -623
- package/department/bundles/lucca-front-ng-department.umd.js.map +0 -1
- package/department/esm2015/lib/department.module.js +0 -15
- package/department/esm2015/lib/select/department-select.module.js +0 -18
- package/department/esm2015/lib/select/feeder/department-feeder.component.js +0 -50
- package/department/esm2015/lib/select/feeder/department-feeder.module.js +0 -19
- package/department/esm2015/lib/select/input/department-select-input.component.js +0 -48
- package/department/esm2015/lib/select/input/department-select-input.intl.js +0 -16
- package/department/esm2015/lib/select/input/department-select-input.module.js +0 -39
- package/department/esm2015/lib/service/department-v3.service.js +0 -38
- package/department/fesm2015/lucca-front-ng-department.js +0 -246
- package/department/fesm2015/lucca-front-ng-department.js.map +0 -1
- package/department/lucca-front-ng-department.metadata.json +0 -1
- package/dropdown/bundles/lucca-front-ng-dropdown.umd.js +0 -706
- package/dropdown/bundles/lucca-front-ng-dropdown.umd.js.map +0 -1
- package/dropdown/esm2015/lib/dropdown.module.js +0 -21
- package/dropdown/esm2015/lib/item/dropdown-item.directive.js +0 -45
- package/dropdown/esm2015/lib/item/dropdown-item.module.js +0 -16
- package/dropdown/esm2015/lib/panel/dropdown-panel.component.js +0 -102
- package/dropdown/esm2015/lib/panel/dropdown-panel.module.js +0 -19
- package/dropdown/esm2015/lib/trigger/dropdown-trigger.directive.js +0 -86
- package/dropdown/esm2015/lib/trigger/dropdown-trigger.module.js +0 -19
- package/dropdown/fesm2015/lucca-front-ng-dropdown.js +0 -305
- package/dropdown/fesm2015/lucca-front-ng-dropdown.js.map +0 -1
- package/dropdown/lucca-front-ng-dropdown.metadata.json +0 -1
- package/esm2015/index.js +0 -2
- package/esm2015/lib/index.js +0 -2
- package/esm2015/lib/module.js +0 -10
- package/esm2015/lucca-front-ng.js +0 -5
- package/esm2015/public-api.js +0 -5
- package/establishment/bundles/lucca-front-ng-establishment.umd.js +0 -1104
- package/establishment/bundles/lucca-front-ng-establishment.umd.js.map +0 -1
- package/establishment/esm2015/lib/establishment.module.js +0 -15
- package/establishment/esm2015/lib/select/establishment-select.module.js +0 -27
- package/establishment/esm2015/lib/select/for-legal-units/for-legal-units.directive.js +0 -46
- package/establishment/esm2015/lib/select/for-legal-units/for-legal-units.module.js +0 -11
- package/establishment/esm2015/lib/select/input/establishment-select-input.component.js +0 -86
- package/establishment/esm2015/lib/select/input/establishment-select-input.intl.js +0 -16
- package/establishment/esm2015/lib/select/input/establishment-select-input.module.js +0 -40
- package/establishment/esm2015/lib/select/legal-unit-selector/legal-unit-selector.directive.js +0 -73
- package/establishment/esm2015/lib/select/legal-unit-selector/legal-unit-selector.module.js +0 -13
- package/establishment/esm2015/lib/select/searcher/establishment-searcher.component.js +0 -127
- package/establishment/esm2015/lib/select/searcher/establishment-searcher.module.js +0 -25
- package/establishment/esm2015/lib/select/select-all/establishment-select-all.component.js +0 -67
- package/establishment/esm2015/lib/select/select-all/establishment-select-all.module.js +0 -29
- package/establishment/esm2015/lib/service/establishment.service.js +0 -33
- package/establishment/esm2015/lib/service/legal-unit.service.js +0 -33
- package/establishment/fesm2015/lucca-front-ng-establishment.js +0 -637
- package/establishment/fesm2015/lucca-front-ng-establishment.js.map +0 -1
- package/establishment/lucca-front-ng-establishment.metadata.json +0 -1
- package/fesm2015/lucca-front-ng.js +0 -21
- package/fesm2015/lucca-front-ng.js.map +0 -1
- package/formly/bundles/lucca-front-ng-formly.umd.js +0 -1126
- package/formly/bundles/lucca-front-ng-formly.umd.js.map +0 -1
- package/formly/esm2015/lib/formly.module.js +0 -61
- package/formly/esm2015/lib/types/api.js +0 -30
- package/formly/esm2015/lib/types/checkbox.js +0 -18
- package/formly/esm2015/lib/types/date.js +0 -18
- package/formly/esm2015/lib/types/department.js +0 -18
- package/formly/esm2015/lib/types/establishment.js +0 -18
- package/formly/esm2015/lib/types/input.js +0 -21
- package/formly/esm2015/lib/types/qualification.js +0 -18
- package/formly/esm2015/lib/types/radios.js +0 -21
- package/formly/esm2015/lib/types/select.js +0 -21
- package/formly/esm2015/lib/types/textarea.js +0 -18
- package/formly/esm2015/lib/types/user.js +0 -18
- package/formly/esm2015/lib/wrappers/checkbox-layout.js +0 -31
- package/formly/esm2015/lib/wrappers/error.js +0 -59
- package/formly/esm2015/lib/wrappers/helper.js +0 -27
- package/formly/esm2015/lib/wrappers/icon.js +0 -35
- package/formly/esm2015/lib/wrappers/radiosfield-layout.js +0 -31
- package/formly/esm2015/lib/wrappers/suffix.js +0 -30
- package/formly/esm2015/lib/wrappers/textfield-layout.js +0 -42
- package/formly/fesm2015/lucca-front-ng-formly.js +0 -583
- package/formly/fesm2015/lucca-front-ng-formly.js.map +0 -1
- package/formly/lucca-front-ng-formly.metadata.json +0 -1
- package/index.d.ts +0 -1
- package/input/bundles/lucca-front-ng-input.umd.js +0 -604
- package/input/bundles/lucca-front-ng-input.umd.js.map +0 -1
- package/input/esm2015/lib/clearer/clearer.component.js +0 -31
- package/input/esm2015/lib/clearer/clearer.module.js +0 -19
- package/input/esm2015/lib/displayer/input-displayer.directive.js +0 -49
- package/input/esm2015/lib/displayer/input-displayer.module.js +0 -12
- package/input/esm2015/lib/input.directive.js +0 -42
- package/input/esm2015/lib/input.model.js +0 -48
- package/input/esm2015/lib/input.module.js +0 -23
- package/input/fesm2015/lucca-front-ng-input.js +0 -232
- package/input/fesm2015/lucca-front-ng-input.js.map +0 -1
- package/input/lucca-front-ng-input.metadata.json +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/module.d.ts +0 -5
- package/lucca-front-ng.metadata.json +0 -1
- package/material/bundles/lucca-front-ng-material.umd.js +0 -29
- package/material/bundles/lucca-front-ng-material.umd.js.map +0 -1
- package/material/esm2015/lib/module.js +0 -7
- package/material/fesm2015/lucca-front-ng-material.js +0 -18
- package/material/fesm2015/lucca-front-ng-material.js.map +0 -1
- package/material/lucca-front-ng-material.metadata.json +0 -1
- package/modal/bundles/lucca-front-modal.umd.js +0 -685
- package/modal/bundles/lucca-front-modal.umd.js.map +0 -1
- package/modal/esm2015/lib/modal-panel.component.js +0 -136
- package/modal/esm2015/lib/modal-ref.factory.js +0 -54
- package/modal/esm2015/lib/modal.intl.js +0 -16
- package/modal/esm2015/lib/modal.module.js +0 -46
- package/modal/esm2015/lib/modal.service.js +0 -18
- package/modal/esm2015/lucca-front-modal.js +0 -5
- package/modal/fesm2015/lucca-front-modal.js +0 -293
- package/modal/fesm2015/lucca-front-modal.js.map +0 -1
- package/modal/lucca-front-modal.d.ts +0 -4
- package/modal/lucca-front-modal.metadata.json +0 -1
- package/number/bundles/lucca-front-ng-number.umd.js +0 -65
- package/number/bundles/lucca-front-ng-number.umd.js.map +0 -1
- package/number/esm2015/lib/number.module.js +0 -13
- package/number/esm2015/lib/number.pipe.js +0 -31
- package/number/fesm2015/lucca-front-ng-number.js +0 -52
- package/number/fesm2015/lucca-front-ng-number.js.map +0 -1
- package/number/lucca-front-ng-number.metadata.json +0 -1
- package/option/bundles/lucca-front-ng-option.umd.js +0 -2653
- package/option/bundles/lucca-front-ng-option.umd.js.map +0 -1
- package/option/esm2015/lib/item/option-item.component.js +0 -54
- package/option/esm2015/lib/item/option-item.module.js +0 -15
- package/option/esm2015/lib/item/tree-option-item.component.js +0 -101
- package/option/esm2015/lib/item/tree-option-item.intl.js +0 -16
- package/option/esm2015/lib/item/tree-option-item.module.js +0 -33
- package/option/esm2015/lib/operator/feeder/option-feeder.component.js +0 -29
- package/option/esm2015/lib/operator/feeder/option-feeder.module.js +0 -16
- package/option/esm2015/lib/operator/feeder/tree-option-feeder.component.js +0 -29
- package/option/esm2015/lib/operator/feeder/tree-option-feeder.module.js +0 -15
- package/option/esm2015/lib/operator/for-groups/for-groups.directive.js +0 -75
- package/option/esm2015/lib/operator/for-groups/for-groups.module.js +0 -16
- package/option/esm2015/lib/operator/for-options/for-options.directive.js +0 -46
- package/option/esm2015/lib/operator/for-options/for-options.module.js +0 -16
- package/option/esm2015/lib/operator/for-options/for-tree-options.directive.js +0 -18
- package/option/esm2015/lib/operator/for-options/for-tree-options.module.js +0 -16
- package/option/esm2015/lib/operator/option-operator.module.js +0 -27
- package/option/esm2015/lib/operator/pager/option-pager.component.js +0 -42
- package/option/esm2015/lib/operator/pager/option-pager.module.js +0 -16
- package/option/esm2015/lib/operator/pager/tree-option-pager.component.js +0 -58
- package/option/esm2015/lib/operator/pager/tree-option-pager.module.js +0 -16
- package/option/esm2015/lib/operator/searcher/option-searcher.component.js +0 -52
- package/option/esm2015/lib/operator/searcher/option-searcher.module.js +0 -23
- package/option/esm2015/lib/operator/searcher/tree-option-searcher.component.js +0 -67
- package/option/esm2015/lib/operator/searcher/tree-option-searcher.module.js +0 -23
- package/option/esm2015/lib/operator/tree-option-operator.module.js +0 -24
- package/option/esm2015/lib/option.module.js +0 -27
- package/option/esm2015/lib/picker/option-picker-advanced.component.js +0 -127
- package/option/esm2015/lib/picker/option-picker.component.js +0 -270
- package/option/esm2015/lib/picker/option-picker.model.js +0 -69
- package/option/esm2015/lib/picker/option-picker.module.js +0 -30
- package/option/esm2015/lib/picker/tree-option-picker-advanced.component.js +0 -123
- package/option/esm2015/lib/picker/tree-option-picker.component.js +0 -163
- package/option/esm2015/lib/picker/tree-option-picker.model.js +0 -4
- package/option/esm2015/lib/picker/tree-option-picker.module.js +0 -28
- package/option/esm2015/lib/placeholder/option-placeholder.component.js +0 -25
- package/option/esm2015/lib/placeholder/option-placeholder.intl.js +0 -16
- package/option/esm2015/lib/placeholder/option-placeholder.module.js +0 -24
- package/option/esm2015/lib/selector/all/select-all.component.js +0 -54
- package/option/esm2015/lib/selector/all/select-all.intl.js +0 -16
- package/option/esm2015/lib/selector/all/select-all.module.js +0 -24
- package/option/esm2015/lib/selector/all/tree-select-all.component.js +0 -59
- package/option/esm2015/lib/selector/all/tree-select-all.module.js +0 -24
- package/option/esm2015/lib/selector/option-selector.module.js +0 -15
- package/option/esm2015/lib/selector/tree-option-selector.module.js +0 -15
- package/option/esm2015/lib/tree-option.module.js +0 -24
- package/option/fesm2015/lucca-front-ng-option.js +0 -1889
- package/option/fesm2015/lucca-front-ng-option.js.map +0 -1
- package/option/lucca-front-ng-option.metadata.json +0 -1
- package/picker/bundles/lucca-front-ng-picker.umd.js +0 -346
- package/picker/bundles/lucca-front-ng-picker.umd.js.map +0 -1
- package/picker/esm2015/lib/input-picker.model.js +0 -4
- package/picker/fesm2015/lucca-front-ng-picker.js +0 -15
- package/picker/fesm2015/lucca-front-ng-picker.js.map +0 -1
- package/picker/lucca-front-ng-picker.metadata.json +0 -1
- package/popover/bundles/lucca-front-ng-popover.umd.js +0 -1489
- package/popover/bundles/lucca-front-ng-popover.umd.js.map +0 -1
- package/popover/esm2015/lib/panel/popover-panel.component.js +0 -106
- package/popover/esm2015/lib/panel/popover-panel.model.js +0 -96
- package/popover/esm2015/lib/panel/popover-panel.module.js +0 -23
- package/popover/esm2015/lib/popover.module.js +0 -21
- package/popover/esm2015/lib/target/popover-target.directive.js +0 -33
- package/popover/esm2015/lib/target/popover-target.module.js +0 -21
- package/popover/esm2015/lib/trigger/popover-trigger.directive.js +0 -116
- package/popover/esm2015/lib/trigger/popover-trigger.model.js +0 -406
- package/popover/esm2015/lib/trigger/popover-trigger.module.js +0 -25
- package/popover/fesm2015/lucca-front-ng-popover.js +0 -925
- package/popover/fesm2015/lucca-front-ng-popover.js.map +0 -1
- package/popover/lucca-front-ng-popover.metadata.json +0 -1
- package/popup/bundles/lucca-front-ng-popup.umd.js +0 -550
- package/popup/bundles/lucca-front-ng-popup.umd.js.map +0 -1
- package/popup/esm2015/lib/popup-ref.factory.js +0 -29
- package/popup/esm2015/lib/popup-ref.model.js +0 -120
- package/popup/esm2015/lib/popup.module.js +0 -24
- package/popup/esm2015/lib/popup.service.js +0 -22
- package/popup/fesm2015/lucca-front-ng-popup.js +0 -208
- package/popup/fesm2015/lucca-front-ng-popup.js.map +0 -1
- package/popup/lucca-front-ng-popup.metadata.json +0 -1
- package/public-api.d.ts +0 -1
- package/qualification/bundles/lucca-front-ng-qualification.umd.js +0 -501
- package/qualification/bundles/lucca-front-ng-qualification.umd.js.map +0 -1
- package/qualification/esm2015/lib/qualification.module.js +0 -15
- package/qualification/esm2015/lib/select/input/qualification-select-input.component.js +0 -59
- package/qualification/esm2015/lib/select/input/qualification-select-input.intl.js +0 -16
- package/qualification/esm2015/lib/select/input/qualification-select-input.module.js +0 -37
- package/qualification/esm2015/lib/select/qualification-select.module.js +0 -15
- package/qualification/fesm2015/lucca-front-ng-qualification.js +0 -155
- package/qualification/fesm2015/lucca-front-ng-qualification.js.map +0 -1
- package/qualification/lucca-front-ng-qualification.metadata.json +0 -1
- package/safe-content/bundles/lucca-front-ng-safe-content.umd.js +0 -59
- package/safe-content/bundles/lucca-front-ng-safe-content.umd.js.map +0 -1
- package/safe-content/esm2015/lib/safe-content.module.js +0 -14
- package/safe-content/esm2015/lib/safe-content.pipe.js +0 -24
- package/safe-content/fesm2015/lucca-front-ng-safe-content.js +0 -47
- package/safe-content/fesm2015/lucca-front-ng-safe-content.js.map +0 -1
- package/safe-content/lucca-front-ng-safe-content.metadata.json +0 -1
- package/scroll/bundles/lucca-front-ngscroll.umd.js +0 -105
- package/scroll/bundles/lucca-front-ngscroll.umd.js.map +0 -1
- package/scroll/esm2015/lib/scroll.directive.js +0 -68
- package/scroll/esm2015/lib/scroll.module.js +0 -16
- package/scroll/esm2015/lucca-front-ngscroll.js +0 -5
- package/scroll/fesm2015/lucca-front-ngscroll.js +0 -93
- package/scroll/fesm2015/lucca-front-ngscroll.js.map +0 -1
- package/scroll/lucca-front-ngscroll.d.ts +0 -4
- package/scroll/lucca-front-ngscroll.metadata.json +0 -1
- package/select/bundles/lucca-front-ng-select.umd.js +0 -806
- package/select/bundles/lucca-front-ng-select.umd.js.map +0 -1
- package/select/esm2015/lib/input/select-input.component.js +0 -188
- package/select/esm2015/lib/input/select-input.model.js +0 -167
- package/select/esm2015/lib/input/select-input.module.js +0 -21
- package/select/esm2015/lib/select.module.js +0 -15
- package/select/fesm2015/lucca-front-ng-select.js +0 -396
- package/select/fesm2015/lucca-front-ng-select.js.map +0 -1
- package/select/lucca-front-ng-select.metadata.json +0 -1
- package/sidepanel/bundles/lucca-front-ng-sidepanel.umd.js +0 -560
- package/sidepanel/bundles/lucca-front-ng-sidepanel.umd.js.map +0 -1
- package/sidepanel/esm2015/lib/sidepanel-panel.component.js +0 -43
- package/sidepanel/esm2015/lib/sidepanel-ref.factory.js +0 -53
- package/sidepanel/esm2015/lib/sidepanel.intl.js +0 -16
- package/sidepanel/esm2015/lib/sidepanel.module.js +0 -46
- package/sidepanel/esm2015/lib/sidepanel.service.js +0 -18
- package/sidepanel/fesm2015/lucca-front-ng-sidepanel.js +0 -201
- package/sidepanel/fesm2015/lucca-front-ng-sidepanel.js.map +0 -1
- package/sidepanel/lucca-front-ng-sidepanel.metadata.json +0 -1
- package/tooltip/bundles/lucca-front-ng-tooltip.umd.js +0 -628
- package/tooltip/bundles/lucca-front-ng-tooltip.umd.js.map +0 -1
- package/tooltip/esm2015/lib/panel/tooltip-panel.component.js +0 -51
- package/tooltip/esm2015/lib/panel/tooltip-panel.module.js +0 -24
- package/tooltip/esm2015/lib/tooltip.module.js +0 -18
- package/tooltip/esm2015/lib/trigger/tooltip-trigger.directive.js +0 -121
- package/tooltip/esm2015/lib/trigger/tooltip-trigger.module.js +0 -19
- package/tooltip/fesm2015/lucca-front-ng-tooltip.js +0 -250
- package/tooltip/fesm2015/lucca-front-ng-tooltip.js.map +0 -1
- package/tooltip/lucca-front-ng-tooltip.metadata.json +0 -1
- package/user/bundles/lucca-front-ng-user.umd.js +0 -1330
- package/user/bundles/lucca-front-ng-user.umd.js.map +0 -1
- package/user/esm2015/lib/display/user-display.module.js +0 -14
- package/user/esm2015/lib/display/user-display.pipe.js +0 -58
- package/user/esm2015/lib/picture/user-picture.component.js +0 -70
- package/user/esm2015/lib/picture/user-picture.module.js +0 -14
- package/user/esm2015/lib/select/homonyms/user-homonyms.component.js +0 -46
- package/user/esm2015/lib/select/homonyms/user-homonyms.module.js +0 -21
- package/user/esm2015/lib/select/homonyms/user-homonyms.service.js +0 -47
- package/user/esm2015/lib/select/input/user-select-input.component.js +0 -57
- package/user/esm2015/lib/select/input/user-select-input.intl.js +0 -16
- package/user/esm2015/lib/select/input/user-select-input.module.js +0 -43
- package/user/esm2015/lib/select/me/me-option.directive.js +0 -68
- package/user/esm2015/lib/select/me/me-option.module.js +0 -17
- package/user/esm2015/lib/select/searcher/user-searcher.component.js +0 -135
- package/user/esm2015/lib/select/searcher/user-searcher.intl.js +0 -16
- package/user/esm2015/lib/select/searcher/user-searcher.module.js +0 -34
- package/user/esm2015/lib/select/user-select.module.js +0 -24
- package/user/esm2015/lib/service/user-v3.service.js +0 -48
- package/user/esm2015/lib/tile/user-tile.component.js +0 -68
- package/user/esm2015/lib/tile/user-tile.module.js +0 -15
- package/user/esm2015/lib/user.module.js +0 -24
- package/user/fesm2015/lucca-front-ng-user.js +0 -823
- package/user/fesm2015/lucca-front-ng-user.js.map +0 -1
- package/user/lucca-front-ng-user.metadata.json +0 -1
|
@@ -0,0 +1,1031 @@
|
|
|
1
|
+
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter, TemplateRef, Component, ChangeDetectionStrategy, Input, Output, ViewChild, NgModule, Directive, HostBinding, HostListener } from '@angular/core';
|
|
4
|
+
import { ESCAPE } from '@angular/cdk/keycodes';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import * as i2 from '@angular/cdk/a11y';
|
|
8
|
+
import { A11yModule, isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';
|
|
9
|
+
import * as i1$1 from '@angular/cdk/overlay';
|
|
10
|
+
import { OverlayModule, OverlayConfig } from '@angular/cdk/overlay';
|
|
11
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
12
|
+
import { generateId } from '@lucca-front/ng/core';
|
|
13
|
+
import { Subject, timer, Subscription } from 'rxjs';
|
|
14
|
+
import { debounce, map, distinctUntilChanged } from 'rxjs/operators';
|
|
15
|
+
|
|
16
|
+
const luTransformPopover = trigger('transformPopover', [
|
|
17
|
+
state('enter', style({
|
|
18
|
+
opacity: 1,
|
|
19
|
+
transform: `scale(1)`,
|
|
20
|
+
})),
|
|
21
|
+
transition('void => *', [
|
|
22
|
+
style({
|
|
23
|
+
opacity: 0,
|
|
24
|
+
transform: `scale(0)`,
|
|
25
|
+
}),
|
|
26
|
+
animate(`150ms cubic-bezier(0.25, 0.8, 0.25, 1)`),
|
|
27
|
+
]),
|
|
28
|
+
transition('* => void', [
|
|
29
|
+
animate('50ms 100ms linear', style({ opacity: 0 })),
|
|
30
|
+
]),
|
|
31
|
+
]);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* abstract class for basic implementation of a popover panel
|
|
35
|
+
*/
|
|
36
|
+
class ALuPopoverPanel {
|
|
37
|
+
constructor() {
|
|
38
|
+
this._closeOnClick = false;
|
|
39
|
+
this._trapFocus = false;
|
|
40
|
+
this._scrollStrategy = 'reposition';
|
|
41
|
+
this._positionClassesMap = {};
|
|
42
|
+
this._panelClasses = '';
|
|
43
|
+
this._contentClasses = '';
|
|
44
|
+
}
|
|
45
|
+
get isOpen() { return this._isOpen; }
|
|
46
|
+
get closeOnClick() { return this._closeOnClick; }
|
|
47
|
+
set closeOnClick(coc) { this._closeOnClick = coc; }
|
|
48
|
+
get trapFocus() { return this._trapFocus; }
|
|
49
|
+
set trapFocus(tf) { this._trapFocus = tf; }
|
|
50
|
+
get scrollStrategy() { return this._scrollStrategy; }
|
|
51
|
+
set scrollStrategy(ss) { this._scrollStrategy = ss; }
|
|
52
|
+
get templateRef() { return this._templateRef; }
|
|
53
|
+
set templateRef(tr) { this._templateRef = tr; }
|
|
54
|
+
get panelClasses() { return this._panelClasses; }
|
|
55
|
+
set panelClasses(cl) {
|
|
56
|
+
this._panelClasses = cl;
|
|
57
|
+
}
|
|
58
|
+
get panelClassesMap() {
|
|
59
|
+
const map = this._panelClasses
|
|
60
|
+
.split(' ')
|
|
61
|
+
.filter(c => !!c)
|
|
62
|
+
.reduce((obj, className) => {
|
|
63
|
+
obj[className] = true;
|
|
64
|
+
return obj;
|
|
65
|
+
}, {});
|
|
66
|
+
// also add positiopn classes
|
|
67
|
+
return { ...map, ...this._positionClassesMap };
|
|
68
|
+
}
|
|
69
|
+
get contentClasses() { return this._contentClasses; }
|
|
70
|
+
set contentClasses(cl) {
|
|
71
|
+
this._contentClasses = cl;
|
|
72
|
+
}
|
|
73
|
+
get contentClassesMap() {
|
|
74
|
+
return this._contentClasses
|
|
75
|
+
.split(' ')
|
|
76
|
+
.reduce((obj, className) => {
|
|
77
|
+
obj[className] = true;
|
|
78
|
+
return obj;
|
|
79
|
+
}, {});
|
|
80
|
+
}
|
|
81
|
+
get overlayPaneClass() { return this._overlayPaneClass; }
|
|
82
|
+
set overlayPaneClass(opc) { this._overlayPaneClass = opc; }
|
|
83
|
+
set keydownEvents$(evt$) {
|
|
84
|
+
if (!this._keydownEventsSub) {
|
|
85
|
+
this._keydownEventsSub = evt$.subscribe(e => this._handleKeydown(e));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
setPositionClasses(posX, posY) {
|
|
89
|
+
this._positionClassesMap['is-before'] = posX === 'end';
|
|
90
|
+
this._positionClassesMap['is-after'] = posX === 'start';
|
|
91
|
+
this._positionClassesMap['is-above'] = posY === 'bottom';
|
|
92
|
+
this._positionClassesMap['is-below'] = posY === 'top';
|
|
93
|
+
}
|
|
94
|
+
onClick() {
|
|
95
|
+
if (this.closeOnClick) {
|
|
96
|
+
this._emitCloseEvent();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
onOpen() {
|
|
100
|
+
this._isOpen = true;
|
|
101
|
+
}
|
|
102
|
+
onClose() {
|
|
103
|
+
this._isOpen = false;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* TODO: Refactor when @angular/cdk includes feature I mentioned on github see link below.
|
|
107
|
+
* https://github.com/angular/material2/pull/5493#issuecomment-313085323
|
|
108
|
+
*/
|
|
109
|
+
/** Disables close of popover when leaving trigger element and mouse over the popover */
|
|
110
|
+
onMouseOver() {
|
|
111
|
+
this._emitHoveredEvent(true);
|
|
112
|
+
}
|
|
113
|
+
/** Enables close of popover when mouse leaving popover element */
|
|
114
|
+
onMouseLeave() {
|
|
115
|
+
this._emitHoveredEvent(false);
|
|
116
|
+
}
|
|
117
|
+
/** does nothing but must be overridable */
|
|
118
|
+
onMouseDown($event) { }
|
|
119
|
+
_handleKeydown(event) {
|
|
120
|
+
switch (event.keyCode) {
|
|
121
|
+
case ESCAPE:
|
|
122
|
+
this._emitCloseEvent();
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// import { standardPopoverTemplate } from './popover.template';
|
|
129
|
+
class LuPopoverPanelComponent extends ALuPopoverPanel {
|
|
130
|
+
constructor() {
|
|
131
|
+
super();
|
|
132
|
+
/** Event emitted when the popover is closed. */
|
|
133
|
+
this.close = new EventEmitter();
|
|
134
|
+
this.open = new EventEmitter();
|
|
135
|
+
this.hovered = new EventEmitter();
|
|
136
|
+
}
|
|
137
|
+
/** Template to Use for the popover */
|
|
138
|
+
get template() {
|
|
139
|
+
return this._template;
|
|
140
|
+
}
|
|
141
|
+
set template(value) {
|
|
142
|
+
this._template = value;
|
|
143
|
+
}
|
|
144
|
+
/** Template context to use for the popover when created using a template */
|
|
145
|
+
get templateContext() {
|
|
146
|
+
return this._templateContext;
|
|
147
|
+
}
|
|
148
|
+
set templateContext(value) {
|
|
149
|
+
this._templateContext = value;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Popover container close on click
|
|
153
|
+
* default: false
|
|
154
|
+
*/
|
|
155
|
+
set inputCloseOnClick(v) {
|
|
156
|
+
this.closeOnClick = v;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Popover focus trap using cdkTrapFocus
|
|
160
|
+
* default: false
|
|
161
|
+
*/
|
|
162
|
+
set inputTrapFocus(v) {
|
|
163
|
+
this.trapFocus = v;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Popover scrollStrategy
|
|
167
|
+
* default: reposition
|
|
168
|
+
*/
|
|
169
|
+
set inputScrollStrategy(v) {
|
|
170
|
+
this.scrollStrategy = v;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* This method takes classes set on the host lu-popover element and applies them on the
|
|
174
|
+
* popover template that displays in the overlay container. Otherwise, it's difficult
|
|
175
|
+
* to style the containing popover from outside the component.
|
|
176
|
+
* @param classes list of class names
|
|
177
|
+
*/
|
|
178
|
+
set inputPanelClasses(classes) {
|
|
179
|
+
this.panelClasses = classes;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* This method takes classes set on the host lu-popover element and applies them on the
|
|
183
|
+
* popover template that displays in the overlay container. Otherwise, it's difficult
|
|
184
|
+
* to style the containing popover from outside the component.
|
|
185
|
+
* @param classes list of class names
|
|
186
|
+
*/
|
|
187
|
+
set inputContentClasses(classes) {
|
|
188
|
+
this.contentClasses = classes;
|
|
189
|
+
}
|
|
190
|
+
set vcTemplateRef(tr) {
|
|
191
|
+
this.templateRef = tr;
|
|
192
|
+
}
|
|
193
|
+
ngOnDestroy() {
|
|
194
|
+
this.onClose();
|
|
195
|
+
this.close.complete();
|
|
196
|
+
}
|
|
197
|
+
_emitCloseEvent() {
|
|
198
|
+
this.close.emit();
|
|
199
|
+
}
|
|
200
|
+
_emitOpenEvent() {
|
|
201
|
+
this.open.emit();
|
|
202
|
+
}
|
|
203
|
+
_emitHoveredEvent(hovered) {
|
|
204
|
+
this.hovered.emit(hovered);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
LuPopoverPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
208
|
+
LuPopoverPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuPopoverPanelComponent, selector: "lu-popover", inputs: { template: "template", templateContext: ["template-context", "templateContext"], inputCloseOnClick: ["close-on-click", "inputCloseOnClick"], inputTrapFocus: ["trap-focus", "inputTrapFocus"], inputScrollStrategy: ["scroll-strategy", "inputScrollStrategy"], inputPanelClasses: ["panel-classes", "inputPanelClasses"], inputContentClasses: ["content-classes", "inputContentClasses"] }, outputs: { close: "close", open: "open", hovered: "hovered" }, viewQueries: [{ propertyName: "vcTemplateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], exportAs: ["LuPopoverPanel"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div class=\"lu-popover-panel\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t(keydown)=\"_handleKeydown($event)\"\r\n\t\t(click)=\"onClick()\"\r\n\t\t(mouseover)=\"onMouseOver()\"\r\n\t\t(mouseleave)=\"onMouseLeave()\"\r\n\t\t(mousedown)=\"onMouseDown($event)\"\r\n\t\t[attr.id]=\"panelId\"\r\n\t\t[attr.aria-labelledby]=\"triggerId\"\r\n\t\t[@transformPopover]=\"'enter'\"\r\n\t>\r\n\t\t<div class=\"lu-popover-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content><ng-container *ngTemplateOutlet=\"template; context: templateContext\"></ng-container>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverPanelComponent, decorators: [{
|
|
210
|
+
type: Component,
|
|
211
|
+
args: [{ selector: 'lu-popover', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuPopoverPanel', template: "<ng-template>\r\n\t<div class=\"lu-popover-panel\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t(keydown)=\"_handleKeydown($event)\"\r\n\t\t(click)=\"onClick()\"\r\n\t\t(mouseover)=\"onMouseOver()\"\r\n\t\t(mouseleave)=\"onMouseLeave()\"\r\n\t\t(mousedown)=\"onMouseDown($event)\"\r\n\t\t[attr.id]=\"panelId\"\r\n\t\t[attr.aria-labelledby]=\"triggerId\"\r\n\t\t[@transformPopover]=\"'enter'\"\r\n\t>\r\n\t\t<div class=\"lu-popover-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content><ng-container *ngTemplateOutlet=\"template; context: templateContext\"></ng-container>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n" }]
|
|
212
|
+
}], ctorParameters: function () { return []; }, propDecorators: { template: [{
|
|
213
|
+
type: Input
|
|
214
|
+
}], templateContext: [{
|
|
215
|
+
type: Input,
|
|
216
|
+
args: ['template-context']
|
|
217
|
+
}], inputCloseOnClick: [{
|
|
218
|
+
type: Input,
|
|
219
|
+
args: ['close-on-click']
|
|
220
|
+
}], inputTrapFocus: [{
|
|
221
|
+
type: Input,
|
|
222
|
+
args: ['trap-focus']
|
|
223
|
+
}], inputScrollStrategy: [{
|
|
224
|
+
type: Input,
|
|
225
|
+
args: ['scroll-strategy']
|
|
226
|
+
}], inputPanelClasses: [{
|
|
227
|
+
type: Input,
|
|
228
|
+
args: ['panel-classes']
|
|
229
|
+
}], inputContentClasses: [{
|
|
230
|
+
type: Input,
|
|
231
|
+
args: ['content-classes']
|
|
232
|
+
}], close: [{
|
|
233
|
+
type: Output
|
|
234
|
+
}], open: [{
|
|
235
|
+
type: Output
|
|
236
|
+
}], hovered: [{
|
|
237
|
+
type: Output
|
|
238
|
+
}], vcTemplateRef: [{
|
|
239
|
+
type: ViewChild,
|
|
240
|
+
args: [TemplateRef, { static: true }]
|
|
241
|
+
}] } });
|
|
242
|
+
|
|
243
|
+
class LuPopoverPanelModule {
|
|
244
|
+
}
|
|
245
|
+
LuPopoverPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
246
|
+
LuPopoverPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverPanelModule, declarations: [LuPopoverPanelComponent], imports: [CommonModule,
|
|
247
|
+
OverlayModule,
|
|
248
|
+
A11yModule], exports: [LuPopoverPanelComponent] });
|
|
249
|
+
LuPopoverPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverPanelModule, imports: [[
|
|
250
|
+
CommonModule,
|
|
251
|
+
OverlayModule,
|
|
252
|
+
A11yModule,
|
|
253
|
+
]] });
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverPanelModule, decorators: [{
|
|
255
|
+
type: NgModule,
|
|
256
|
+
args: [{
|
|
257
|
+
imports: [
|
|
258
|
+
CommonModule,
|
|
259
|
+
OverlayModule,
|
|
260
|
+
A11yModule,
|
|
261
|
+
],
|
|
262
|
+
declarations: [
|
|
263
|
+
LuPopoverPanelComponent,
|
|
264
|
+
],
|
|
265
|
+
exports: [
|
|
266
|
+
LuPopoverPanelComponent,
|
|
267
|
+
],
|
|
268
|
+
}]
|
|
269
|
+
}] });
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Throws an exception for the case when popover's LuPopoverPosition value isn't valid.
|
|
273
|
+
*/
|
|
274
|
+
function throwLuPopoverInvalidPosition() {
|
|
275
|
+
throw Error(`LuPopoverPosition value must be 'above', 'below', 'before' or 'after'.
|
|
276
|
+
Example: <lu-popover [position]="'before'" #popover="LuPopover"></lu-popover>`);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Throws an exception for the case when popover's LuPopoverAlignement value isn't valid.
|
|
280
|
+
*/
|
|
281
|
+
function throwLuPopoverInvalidAlignement() {
|
|
282
|
+
throw Error(`LuPopoverAlignment value must be 'top', 'bottom', 'right' or 'left'.
|
|
283
|
+
Example: <lu-popover [position]="above" [alignment]="left" #popover="LuPopover"></lu-popover>`);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
class ALuPopoverTarget {
|
|
287
|
+
constructor() {
|
|
288
|
+
this._position = 'below';
|
|
289
|
+
this._alignment = 'center';
|
|
290
|
+
this._overlap = false;
|
|
291
|
+
this._offsetX = 0;
|
|
292
|
+
this._offsetY = 0;
|
|
293
|
+
}
|
|
294
|
+
/** the element used to position the panel */
|
|
295
|
+
get elementRef() { return this._elementRef; }
|
|
296
|
+
set elementRef(ref) { this._elementRef = ref; }
|
|
297
|
+
/** how you want to position the panel relative to the target, allowed values: above, below, before, after */
|
|
298
|
+
get position() { return this._position; }
|
|
299
|
+
set position(position) {
|
|
300
|
+
if (position !== 'above' &&
|
|
301
|
+
position !== 'below' &&
|
|
302
|
+
position !== 'after' &&
|
|
303
|
+
position !== 'before') {
|
|
304
|
+
throwLuPopoverInvalidPosition();
|
|
305
|
+
}
|
|
306
|
+
this._position = position;
|
|
307
|
+
// this.setPositionClasses(this._position, this._alignment);
|
|
308
|
+
}
|
|
309
|
+
/** how the panel will be align with the target, allowed values: top, bottom, left, right */
|
|
310
|
+
get alignment() { return this._alignment; }
|
|
311
|
+
set alignment(alignment) {
|
|
312
|
+
if (alignment !== 'center' &&
|
|
313
|
+
alignment !== 'top' &&
|
|
314
|
+
alignment !== 'bottom' &&
|
|
315
|
+
alignment !== 'right' &&
|
|
316
|
+
alignment !== 'left') {
|
|
317
|
+
throwLuPopoverInvalidAlignement();
|
|
318
|
+
}
|
|
319
|
+
this._alignment = alignment;
|
|
320
|
+
// this.setPositionClasses(this._position, this._alignment);
|
|
321
|
+
}
|
|
322
|
+
/** set to true if you want the panel to appear on top of the target */
|
|
323
|
+
get overlap() { return this._overlap; }
|
|
324
|
+
set overlap(ot) { this._overlap = ot; }
|
|
325
|
+
get offsetX() { return this._offsetX; }
|
|
326
|
+
set offsetX(ox) { this._offsetX = ox; }
|
|
327
|
+
get offsetY() { return this._offsetY; }
|
|
328
|
+
set offsetY(oy) { this._offsetY = oy; }
|
|
329
|
+
}
|
|
330
|
+
class LuPopoverTarget extends ALuPopoverTarget {
|
|
331
|
+
constructor() { super(); }
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
class LuPopoverTargetDirective extends ALuPopoverTarget {
|
|
335
|
+
constructor(ref) {
|
|
336
|
+
super();
|
|
337
|
+
this.elementRef = ref;
|
|
338
|
+
}
|
|
339
|
+
/** how you want to position the panel relative to the target, allowed values: above, below, before, after */
|
|
340
|
+
set inputPosition(pos) { this.position = pos; }
|
|
341
|
+
/** how the panel will be align with the target, allowed values: top, bottom, left, right */
|
|
342
|
+
set inputAlignment(al) { this.alignment = al; }
|
|
343
|
+
/** set to true if you want the panel to appear on top of the target */
|
|
344
|
+
set inputOverlap(ov) { this.overlap = ov; }
|
|
345
|
+
set inputOffsetX(ox) { this.offsetX = ox; }
|
|
346
|
+
set inputOffsetY(oy) { this.offsetY = oy; }
|
|
347
|
+
}
|
|
348
|
+
LuPopoverTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTargetDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
349
|
+
LuPopoverTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: LuPopoverTargetDirective, selector: "[luPopoverTarget]", inputs: { inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, exportAs: ["LuPopoverTarget"], usesInheritance: true, ngImport: i0 });
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTargetDirective, decorators: [{
|
|
351
|
+
type: Directive,
|
|
352
|
+
args: [{
|
|
353
|
+
selector: '[luPopoverTarget]',
|
|
354
|
+
exportAs: 'LuPopoverTarget',
|
|
355
|
+
}]
|
|
356
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { inputPosition: [{
|
|
357
|
+
type: Input,
|
|
358
|
+
args: ['luPopoverPosition']
|
|
359
|
+
}], inputAlignment: [{
|
|
360
|
+
type: Input,
|
|
361
|
+
args: ['luPopoverAlignment']
|
|
362
|
+
}], inputOverlap: [{
|
|
363
|
+
type: Input,
|
|
364
|
+
args: ['luPopoverOverlap']
|
|
365
|
+
}], inputOffsetX: [{
|
|
366
|
+
type: Input,
|
|
367
|
+
args: ['luPopoverOffsetX']
|
|
368
|
+
}], inputOffsetY: [{
|
|
369
|
+
type: Input,
|
|
370
|
+
args: ['luPopoverOffsetY']
|
|
371
|
+
}] } });
|
|
372
|
+
|
|
373
|
+
class LuPopoverTargetModule {
|
|
374
|
+
}
|
|
375
|
+
LuPopoverTargetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTargetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
376
|
+
LuPopoverTargetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTargetModule, declarations: [LuPopoverTargetDirective], imports: [CommonModule,
|
|
377
|
+
OverlayModule], exports: [LuPopoverTargetDirective] });
|
|
378
|
+
LuPopoverTargetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTargetModule, imports: [[
|
|
379
|
+
CommonModule,
|
|
380
|
+
OverlayModule,
|
|
381
|
+
]] });
|
|
382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTargetModule, decorators: [{
|
|
383
|
+
type: NgModule,
|
|
384
|
+
args: [{
|
|
385
|
+
imports: [
|
|
386
|
+
CommonModule,
|
|
387
|
+
OverlayModule,
|
|
388
|
+
],
|
|
389
|
+
declarations: [
|
|
390
|
+
LuPopoverTargetDirective,
|
|
391
|
+
],
|
|
392
|
+
exports: [
|
|
393
|
+
LuPopoverTargetDirective,
|
|
394
|
+
],
|
|
395
|
+
}]
|
|
396
|
+
}] });
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Throws an exception for the case when popover trigger doesn't have a valid lu-popover instance
|
|
400
|
+
*/
|
|
401
|
+
function throwLuPopoverMissingPanelError() {
|
|
402
|
+
throw Error(`lu-popover-trigger: must pass in a lu-popover instance.
|
|
403
|
+
Example:
|
|
404
|
+
<lu-popover #popover="LuPopover"></lu-popover>
|
|
405
|
+
<button [luPopover]="popover"></button>`);
|
|
406
|
+
}
|
|
407
|
+
function throwLuPopoverMissingTargetError() {
|
|
408
|
+
throw Error(`lu-popover-trigger: must pass in a popover target instance.`);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
// tslint:disable-next-line: max-line-length
|
|
412
|
+
class ALuPopoverTrigger {
|
|
413
|
+
constructor(_overlay, _elementRef, _viewContainerRef) {
|
|
414
|
+
this._overlay = _overlay;
|
|
415
|
+
this._elementRef = _elementRef;
|
|
416
|
+
this._viewContainerRef = _viewContainerRef;
|
|
417
|
+
this._overlayRef = null;
|
|
418
|
+
this._popoverOpen = false;
|
|
419
|
+
this._hovered$ = new Subject();
|
|
420
|
+
// tracking input type is necessary so it's possible to only auto-focus
|
|
421
|
+
// the first item of the list when the popover is opened via the keyboard
|
|
422
|
+
this._openedByMouse = false;
|
|
423
|
+
this._triggerEvent = 'click';
|
|
424
|
+
this._enterDelay = 50;
|
|
425
|
+
this._leaveDelay = 50;
|
|
426
|
+
this._disabled = false;
|
|
427
|
+
this._triggerId = `popoverTrigger_${generateId()}`;
|
|
428
|
+
this._panelId = `popoverPanel_${generateId()}`;
|
|
429
|
+
}
|
|
430
|
+
/** References the popover instance that the trigger is associated with. */
|
|
431
|
+
get panel() { return this._panel; }
|
|
432
|
+
set panel(p) { this._panel = p; }
|
|
433
|
+
/** References the popover target instance that the trigger is associated with. */
|
|
434
|
+
get target() { return this._target; }
|
|
435
|
+
set target(t) { this._target = t; }
|
|
436
|
+
get triggerEvent() { return this._triggerEvent; }
|
|
437
|
+
set triggerEvent(te) {
|
|
438
|
+
this._triggerEvent = te;
|
|
439
|
+
if (te === 'hover' || te === 'focus') {
|
|
440
|
+
if (this._hoveredSubscription) {
|
|
441
|
+
this._hoveredSubscription.unsubscribe();
|
|
442
|
+
}
|
|
443
|
+
this._hoveredSubscription = this._hovered$.pipe(debounce(h => h ? timer(this.enterDelay) : timer(this.leaveDelay))).subscribe(h => h ? this.openPopover() : this.closePopover());
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
get enterDelay() { return this._enterDelay; }
|
|
447
|
+
set enterDelay(d) { this._enterDelay = d; }
|
|
448
|
+
get leaveDelay() { return this._leaveDelay; }
|
|
449
|
+
set leaveDelay(d) { this._leaveDelay = d; }
|
|
450
|
+
get disabled() { return this._disabled; }
|
|
451
|
+
set disabled(d) { this._disabled = d; }
|
|
452
|
+
onClick() {
|
|
453
|
+
if (this.triggerEvent === 'click') {
|
|
454
|
+
this.togglePopover();
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
onMouseEnter() {
|
|
458
|
+
if (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {
|
|
459
|
+
this._hovered$.next(true);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
onMouseLeave() {
|
|
463
|
+
if (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {
|
|
464
|
+
this._hovered$.next(false);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
onFocus() {
|
|
468
|
+
if (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {
|
|
469
|
+
this.openPopover();
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
onBlur() {
|
|
473
|
+
if (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {
|
|
474
|
+
this.closePopover();
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
/** Toggles the popover between the open and closed states. */
|
|
478
|
+
togglePopover() {
|
|
479
|
+
return this._popoverOpen ? this.closePopover() : this.openPopover();
|
|
480
|
+
}
|
|
481
|
+
/** Opens the popover. */
|
|
482
|
+
openPopover() {
|
|
483
|
+
if (!this._popoverOpen && !this._disabled) {
|
|
484
|
+
this._createOverlay();
|
|
485
|
+
this._overlayRef.attach(this._portal);
|
|
486
|
+
/** Only subscribe to backdrop if trigger event is click */
|
|
487
|
+
if (this.triggerEvent === 'click') {
|
|
488
|
+
this._subscribeToBackdrop();
|
|
489
|
+
}
|
|
490
|
+
/** Only subscribe to mouse enter/leave of the panel if trigger = hover */
|
|
491
|
+
this._initPopover();
|
|
492
|
+
this._emitOpen();
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
/** Closes the popover. */
|
|
496
|
+
closePopover() {
|
|
497
|
+
if (this._overlayRef && this._overlayRef.hasAttached()) {
|
|
498
|
+
this._overlayRef.detach();
|
|
499
|
+
/** unsubscribe to backdrop click if it was defined */
|
|
500
|
+
if (!!this._backdropSubscription) {
|
|
501
|
+
// if (this.popover.triggerEvent === 'click') {
|
|
502
|
+
this._backdropSubscription.unsubscribe();
|
|
503
|
+
}
|
|
504
|
+
this._resetPopover();
|
|
505
|
+
this._emitClose();
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
/** Removes the popover from the DOM. */
|
|
509
|
+
destroyPopover() {
|
|
510
|
+
if (this._overlayRef) {
|
|
511
|
+
this._overlayRef.dispose();
|
|
512
|
+
this._overlayRef = null;
|
|
513
|
+
this._cleanUpSubscriptions();
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
/** Focuses the popover trigger. */
|
|
517
|
+
focus() {
|
|
518
|
+
this._elementRef.nativeElement.focus();
|
|
519
|
+
}
|
|
520
|
+
_handleMousedown(event) {
|
|
521
|
+
if (!isFakeMousedownFromScreenReader(event)) {
|
|
522
|
+
this._openedByMouse = true;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
/** The text direction of the containing app. */
|
|
526
|
+
get dir() {
|
|
527
|
+
// return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';
|
|
528
|
+
return 'ltr';
|
|
529
|
+
}
|
|
530
|
+
/** Return if the popover main positionning is vertical */
|
|
531
|
+
get isVerticallyPositionned() {
|
|
532
|
+
const position = this.target.position;
|
|
533
|
+
return (position === 'below' || position === 'above');
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* This method ensures that the popover
|
|
537
|
+
*/
|
|
538
|
+
_subscribeToPanelEvents() {
|
|
539
|
+
if (this._overlayRef) {
|
|
540
|
+
this._panelEventsSubscriptions = new Subscription();
|
|
541
|
+
if (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {
|
|
542
|
+
this._panelEventsSubscriptions.add(this.panel.hovered
|
|
543
|
+
.subscribe((hovered) => {
|
|
544
|
+
this._hovered$.next(hovered);
|
|
545
|
+
}));
|
|
546
|
+
}
|
|
547
|
+
this._panelEventsSubscriptions.add(this.panel.close
|
|
548
|
+
.subscribe(() => {
|
|
549
|
+
this.closePopover();
|
|
550
|
+
}));
|
|
551
|
+
this._panelEventsSubscriptions.add(this.panel.open
|
|
552
|
+
.subscribe(() => {
|
|
553
|
+
this.openPopover();
|
|
554
|
+
}));
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* This method ensures that the popover closes when the overlay backdrop is clicked.
|
|
559
|
+
* We do not use first() here because doing so would not catch clicks from within
|
|
560
|
+
* the popover, and it would fail to unsubscribe properly. Instead, we unsubscribe
|
|
561
|
+
* explicitly when the popover is closed or destroyed.
|
|
562
|
+
*/
|
|
563
|
+
_subscribeToBackdrop() {
|
|
564
|
+
if (this._overlayRef) {
|
|
565
|
+
this._backdropSubscription = this._overlayRef
|
|
566
|
+
.backdropClick()
|
|
567
|
+
.subscribe(() => {
|
|
568
|
+
this.closePopover();
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* This method sets the popover state to open and focuses the first item if
|
|
574
|
+
* the popover was opened via the keyboard.
|
|
575
|
+
*/
|
|
576
|
+
_initPopover() {
|
|
577
|
+
this._setIsPopoverOpen(true);
|
|
578
|
+
this.panel.panelId = this._panelId;
|
|
579
|
+
this.panel.triggerId = this._triggerId;
|
|
580
|
+
this.panel.keydownEvents$ = this._overlayRef.keydownEvents();
|
|
581
|
+
this._subscribeToPanelEvents();
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* This method resets the popover when it's closed, most importantly restoring
|
|
585
|
+
* focus to the popover trigger if the popover was opened via the keyboard.
|
|
586
|
+
*/
|
|
587
|
+
_resetPopover() {
|
|
588
|
+
this._setIsPopoverOpen(false);
|
|
589
|
+
// Focus only needs to be reset to the host element if the popover was opened
|
|
590
|
+
// by the keyboard and manually shifted to the first popover item.
|
|
591
|
+
if (!this._openedByMouse && this.triggerEvent === 'click') {
|
|
592
|
+
this.focus();
|
|
593
|
+
}
|
|
594
|
+
this._openedByMouse = false;
|
|
595
|
+
}
|
|
596
|
+
/** set state rather than toggle to support triggers sharing a popover */
|
|
597
|
+
_setIsPopoverOpen(isOpen) {
|
|
598
|
+
this._popoverOpen = isOpen;
|
|
599
|
+
// tell the panel it's opening/closing
|
|
600
|
+
isOpen ? this.panel.onOpen() : this.panel.onClose();
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* This method checks that a valid instance of MdPopover has been passed into
|
|
604
|
+
* mdPopoverTriggerFor. If not, an exception is thrown.
|
|
605
|
+
*/
|
|
606
|
+
_checkPanel() {
|
|
607
|
+
if (!this.panel) {
|
|
608
|
+
throwLuPopoverMissingPanelError();
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
_checkTarget() {
|
|
612
|
+
if (!this.target) {
|
|
613
|
+
throwLuPopoverMissingTargetError();
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* This method creates the overlay from the provided popover's template and saves its
|
|
618
|
+
* OverlayRef so that it can be attached to the DOM when openPopover is called.
|
|
619
|
+
*/
|
|
620
|
+
_createOverlay() {
|
|
621
|
+
if (!this._overlayRef) {
|
|
622
|
+
this._portal = new TemplatePortal(this.panel.templateRef, this._viewContainerRef);
|
|
623
|
+
const config = this._getOverlayConfig();
|
|
624
|
+
this._subscribeToPositions(config.positionStrategy);
|
|
625
|
+
this._overlayRef = this._overlay.create(config);
|
|
626
|
+
}
|
|
627
|
+
return this._overlayRef;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* This method builds the configuration object needed to create the overlay, the OverlayConfig.
|
|
631
|
+
* @returns OverlayConfig
|
|
632
|
+
*/
|
|
633
|
+
_getOverlayConfig() {
|
|
634
|
+
const overlayState = new OverlayConfig();
|
|
635
|
+
overlayState.positionStrategy = this._getPosition();
|
|
636
|
+
/** Display overlay backdrop if trigger event is click */
|
|
637
|
+
if (this.triggerEvent === 'click') {
|
|
638
|
+
overlayState.hasBackdrop = true;
|
|
639
|
+
overlayState.backdropClass = 'cdk-overlay-transparent-backdrop';
|
|
640
|
+
}
|
|
641
|
+
overlayState.direction = this.dir;
|
|
642
|
+
const scrollStrategy = this.panel.scrollStrategy;
|
|
643
|
+
switch (scrollStrategy) {
|
|
644
|
+
case 'block':
|
|
645
|
+
overlayState.scrollStrategy = this._overlay.scrollStrategies.block();
|
|
646
|
+
break;
|
|
647
|
+
case 'close':
|
|
648
|
+
overlayState.scrollStrategy = this._overlay.scrollStrategies.close();
|
|
649
|
+
break;
|
|
650
|
+
default:
|
|
651
|
+
overlayState.scrollStrategy = this._overlay.scrollStrategies.reposition();
|
|
652
|
+
break;
|
|
653
|
+
}
|
|
654
|
+
return overlayState;
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Listens to changes in the position of the overlay and sets the correct classes
|
|
658
|
+
* on the popover based on the new position. This ensures the animation origin is always
|
|
659
|
+
* correct, even if a fallback position is used for the overlay.
|
|
660
|
+
*/
|
|
661
|
+
_subscribeToPositions(position) {
|
|
662
|
+
this._positionSubscription = position.positionChanges.pipe(map(c => c.connectionPair), distinctUntilChanged())
|
|
663
|
+
.subscribe(connectionPair => {
|
|
664
|
+
this.panel.setPositionClasses(connectionPair.overlayX, connectionPair.overlayY);
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* This method builds the position strategy for the overlay, so the popover is properly connected
|
|
669
|
+
* to the trigger.
|
|
670
|
+
* @returns FlexibleConnectedPositionStrategy
|
|
671
|
+
*/
|
|
672
|
+
_getPosition() {
|
|
673
|
+
/**
|
|
674
|
+
* For overriding position element, when LuPopoverTargetAt has a valid element reference.
|
|
675
|
+
* Useful for sticking popover to parent element and offsetting arrow to trigger element.
|
|
676
|
+
* If undefined defaults to the trigger element reference.
|
|
677
|
+
*/
|
|
678
|
+
const element = this.target.elementRef;
|
|
679
|
+
// if (typeof this.targetElement !== 'undefined' && this.popover) {
|
|
680
|
+
// this.popover.containerPositioning = true;
|
|
681
|
+
// element = this.targetElement._elementRef;
|
|
682
|
+
// }
|
|
683
|
+
const connectionPosition = {
|
|
684
|
+
originX: 'start',
|
|
685
|
+
originY: 'top',
|
|
686
|
+
};
|
|
687
|
+
// Position
|
|
688
|
+
const position = this.target.position;
|
|
689
|
+
const overlap = this.target.overlap;
|
|
690
|
+
if (position === 'above') {
|
|
691
|
+
connectionPosition.originY = overlap ? 'bottom' : 'top';
|
|
692
|
+
}
|
|
693
|
+
else if (position === 'below') {
|
|
694
|
+
connectionPosition.originY = overlap ? 'top' : 'bottom';
|
|
695
|
+
}
|
|
696
|
+
else if (position === 'before') {
|
|
697
|
+
connectionPosition.originX = overlap ? 'end' : 'start';
|
|
698
|
+
}
|
|
699
|
+
else if (position === 'after') {
|
|
700
|
+
connectionPosition.originX = overlap ? 'start' : 'end';
|
|
701
|
+
}
|
|
702
|
+
// Alignment
|
|
703
|
+
const alignment = this.target.alignment;
|
|
704
|
+
if (this.isVerticallyPositionned) {
|
|
705
|
+
if (alignment === 'left') {
|
|
706
|
+
connectionPosition.originX = 'start';
|
|
707
|
+
}
|
|
708
|
+
else if (alignment === 'right') {
|
|
709
|
+
connectionPosition.originX = 'end';
|
|
710
|
+
}
|
|
711
|
+
else {
|
|
712
|
+
connectionPosition.originX = 'center';
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
else {
|
|
716
|
+
if (alignment === 'top') {
|
|
717
|
+
connectionPosition.originY = 'top';
|
|
718
|
+
}
|
|
719
|
+
else if (alignment === 'bottom') {
|
|
720
|
+
connectionPosition.originY = 'bottom';
|
|
721
|
+
}
|
|
722
|
+
else {
|
|
723
|
+
connectionPosition.originY = 'center';
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
const overlayPosition = {
|
|
727
|
+
overlayX: 'start',
|
|
728
|
+
overlayY: 'top',
|
|
729
|
+
};
|
|
730
|
+
if (overlap) {
|
|
731
|
+
overlayPosition.overlayX = connectionPosition.originX;
|
|
732
|
+
overlayPosition.overlayY = connectionPosition.originY;
|
|
733
|
+
}
|
|
734
|
+
else if (this.isVerticallyPositionned) {
|
|
735
|
+
overlayPosition.overlayX = connectionPosition.originX;
|
|
736
|
+
overlayPosition.overlayY =
|
|
737
|
+
position === 'above' ? 'bottom' : 'top';
|
|
738
|
+
}
|
|
739
|
+
else {
|
|
740
|
+
overlayPosition.overlayX =
|
|
741
|
+
position === 'before' ? 'end' : 'start';
|
|
742
|
+
overlayPosition.overlayY = connectionPosition.originY;
|
|
743
|
+
}
|
|
744
|
+
return this._overlay
|
|
745
|
+
.position()
|
|
746
|
+
.flexibleConnectedTo(element)
|
|
747
|
+
.withPositions([
|
|
748
|
+
{
|
|
749
|
+
originX: connectionPosition.originX,
|
|
750
|
+
originY: connectionPosition.originY,
|
|
751
|
+
overlayX: overlayPosition.overlayX,
|
|
752
|
+
overlayY: overlayPosition.overlayY
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
originX: connectionPosition.originX,
|
|
756
|
+
originY: this._invertVerticalPos(connectionPosition.originY),
|
|
757
|
+
overlayX: overlayPosition.overlayX,
|
|
758
|
+
overlayY: this._invertVerticalPos(overlayPosition.overlayY),
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
originX: this._invertHorizontalPos(connectionPosition.originX),
|
|
762
|
+
originY: connectionPosition.originY,
|
|
763
|
+
overlayX: this._invertHorizontalPos(overlayPosition.overlayX),
|
|
764
|
+
overlayY: overlayPosition.overlayY,
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
originX: this._invertHorizontalPos(connectionPosition.originX),
|
|
768
|
+
originY: this._invertVerticalPos(connectionPosition.originY),
|
|
769
|
+
overlayX: this._invertHorizontalPos(overlayPosition.overlayX),
|
|
770
|
+
overlayY: this._invertVerticalPos(overlayPosition.overlayY),
|
|
771
|
+
},
|
|
772
|
+
])
|
|
773
|
+
.withDefaultOffsetX(this.target.offsetX)
|
|
774
|
+
.withDefaultOffsetY(this.target.offsetY);
|
|
775
|
+
}
|
|
776
|
+
_invertVerticalPos(y) {
|
|
777
|
+
if (y === 'top') {
|
|
778
|
+
y = 'bottom';
|
|
779
|
+
}
|
|
780
|
+
else if (y === 'bottom') {
|
|
781
|
+
y = 'top';
|
|
782
|
+
}
|
|
783
|
+
return y;
|
|
784
|
+
}
|
|
785
|
+
_invertHorizontalPos(x) {
|
|
786
|
+
if (x === 'end') {
|
|
787
|
+
x = 'start';
|
|
788
|
+
}
|
|
789
|
+
else if (x === 'start') {
|
|
790
|
+
x = 'end';
|
|
791
|
+
}
|
|
792
|
+
return x;
|
|
793
|
+
}
|
|
794
|
+
_cleanUpSubscriptions() {
|
|
795
|
+
if (this._backdropSubscription) {
|
|
796
|
+
this._backdropSubscription.unsubscribe();
|
|
797
|
+
}
|
|
798
|
+
if (this._positionSubscription) {
|
|
799
|
+
this._positionSubscription.unsubscribe();
|
|
800
|
+
}
|
|
801
|
+
if (this._hoveredSubscription) {
|
|
802
|
+
this._hoveredSubscription.unsubscribe();
|
|
803
|
+
}
|
|
804
|
+
if (this._panelEventsSubscriptions) {
|
|
805
|
+
this._panelEventsSubscriptions.unsubscribe();
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* This directive is intended to be used in conjunction with an lu-popover tag. It is
|
|
812
|
+
* responsible for toggling the display of the provided popover instance.
|
|
813
|
+
*/
|
|
814
|
+
class LuPopoverTriggerDirective extends ALuPopoverTrigger {
|
|
815
|
+
constructor(_overlay, _elementRef, _viewContainerRef) {
|
|
816
|
+
super(_overlay, _elementRef, _viewContainerRef);
|
|
817
|
+
this._overlay = _overlay;
|
|
818
|
+
this._elementRef = _elementRef;
|
|
819
|
+
this._viewContainerRef = _viewContainerRef;
|
|
820
|
+
/** Event emitted when the associated popover is opened. */
|
|
821
|
+
this.onOpen = new EventEmitter();
|
|
822
|
+
/** Event emitted when the associated popover is closed. */
|
|
823
|
+
this.onClose = new EventEmitter();
|
|
824
|
+
this.target = new LuPopoverTarget();
|
|
825
|
+
this.target.elementRef = this._elementRef;
|
|
826
|
+
this._triggerId = this._elementRef.nativeElement.getAttribute('id') || this._triggerId;
|
|
827
|
+
}
|
|
828
|
+
/** References the popover instance that the trigger is associated with. */
|
|
829
|
+
set inputPanel(p) { this.panel = p; }
|
|
830
|
+
/** References the popover target instance that the trigger is associated with. */
|
|
831
|
+
set inputTarget(t) { this.target = t; }
|
|
832
|
+
/** References the popover target instance that the trigger is associated with. */
|
|
833
|
+
set inputTriggerEvent(te) { this.triggerEvent = te; }
|
|
834
|
+
/** how you want to position the panel relative to the target, allowed values: above, below, before, after */
|
|
835
|
+
set inputPosition(pos) { this.target.position = pos; }
|
|
836
|
+
/** how the panel will be align with the target, allowed values: top, bottom, left, right */
|
|
837
|
+
set inputAlignment(al) { this.target.alignment = al; }
|
|
838
|
+
/** when trigger = hover, delay before the popover panel appears */
|
|
839
|
+
set inputEnterDelay(d) { this.enterDelay = d; }
|
|
840
|
+
/** when trigger = hover, delay before the popover panel disappears */
|
|
841
|
+
set inputLeaveDelay(d) { this.leaveDelay = d; }
|
|
842
|
+
/** disable popover apparition */
|
|
843
|
+
set inputDisabled(d) { this.disabled = d; }
|
|
844
|
+
/** set to true if you want the panel to appear on top of the target */
|
|
845
|
+
set inputOverlap(ov) { this.target.overlap = ov; }
|
|
846
|
+
set inputOffsetX(ox) { this.target.offsetX = ox; }
|
|
847
|
+
set inputOffsetY(oy) { this.target.offsetY = oy; }
|
|
848
|
+
/** accessibility attribute - dont override */
|
|
849
|
+
get _attrAriaExpanded() { return this._popoverOpen; }
|
|
850
|
+
/** accessibility attribute - dont override */
|
|
851
|
+
get _attrId() { return this._triggerId; }
|
|
852
|
+
/** accessibility attribute - dont override */
|
|
853
|
+
get _attrAriaControls() { return this._panelId; }
|
|
854
|
+
onClick() {
|
|
855
|
+
super.onClick();
|
|
856
|
+
}
|
|
857
|
+
onMouseEnter() {
|
|
858
|
+
super.onMouseEnter();
|
|
859
|
+
}
|
|
860
|
+
onMouseLeave() {
|
|
861
|
+
super.onMouseLeave();
|
|
862
|
+
}
|
|
863
|
+
onFocus() {
|
|
864
|
+
super.onFocus();
|
|
865
|
+
}
|
|
866
|
+
onBlur() {
|
|
867
|
+
super.onBlur();
|
|
868
|
+
}
|
|
869
|
+
ngAfterViewInit() {
|
|
870
|
+
this._checkPanel();
|
|
871
|
+
this._checkTarget();
|
|
872
|
+
}
|
|
873
|
+
ngOnDestroy() {
|
|
874
|
+
this._cleanUpSubscriptions();
|
|
875
|
+
if (this._popoverOpen) {
|
|
876
|
+
this.closePopover();
|
|
877
|
+
}
|
|
878
|
+
this.destroyPopover();
|
|
879
|
+
}
|
|
880
|
+
_emitOpen() {
|
|
881
|
+
this.onOpen.emit();
|
|
882
|
+
}
|
|
883
|
+
_emitClose() {
|
|
884
|
+
this.onClose.emit();
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
LuPopoverTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTriggerDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
888
|
+
LuPopoverTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: LuPopoverTriggerDirective, selector: "[luPopover]", inputs: { inputPanel: ["luPopover", "inputPanel"], inputTarget: ["luPopoverTarget", "inputTarget"], inputTriggerEvent: ["luPopoverTrigger", "inputTriggerEvent"], inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputEnterDelay: ["luPopoverEnterDelay", "inputEnterDelay"], inputLeaveDelay: ["luPopoverLeaveDelay", "inputLeaveDelay"], inputDisabled: ["luPopoverDisabled", "inputDisabled"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, outputs: { onOpen: "luPopoverOnOpen", onClose: "luPopoverOnClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-expanded": "this._attrAriaExpanded", "attr.id": "this._attrId", "attr.aria-controls": "this._attrAriaControls" } }, exportAs: ["LuPopoverTrigger"], usesInheritance: true, ngImport: i0 });
|
|
889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTriggerDirective, decorators: [{
|
|
890
|
+
type: Directive,
|
|
891
|
+
args: [{
|
|
892
|
+
selector: '[luPopover]',
|
|
893
|
+
exportAs: 'LuPopoverTrigger',
|
|
894
|
+
}]
|
|
895
|
+
}], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { inputPanel: [{
|
|
896
|
+
type: Input,
|
|
897
|
+
args: ['luPopover']
|
|
898
|
+
}], inputTarget: [{
|
|
899
|
+
type: Input,
|
|
900
|
+
args: ['luPopoverTarget']
|
|
901
|
+
}], inputTriggerEvent: [{
|
|
902
|
+
type: Input,
|
|
903
|
+
args: ['luPopoverTrigger']
|
|
904
|
+
}], onOpen: [{
|
|
905
|
+
type: Output,
|
|
906
|
+
args: ['luPopoverOnOpen']
|
|
907
|
+
}], onClose: [{
|
|
908
|
+
type: Output,
|
|
909
|
+
args: ['luPopoverOnClose']
|
|
910
|
+
}], inputPosition: [{
|
|
911
|
+
type: Input,
|
|
912
|
+
args: ['luPopoverPosition']
|
|
913
|
+
}], inputAlignment: [{
|
|
914
|
+
type: Input,
|
|
915
|
+
args: ['luPopoverAlignment']
|
|
916
|
+
}], inputEnterDelay: [{
|
|
917
|
+
type: Input,
|
|
918
|
+
args: ['luPopoverEnterDelay']
|
|
919
|
+
}], inputLeaveDelay: [{
|
|
920
|
+
type: Input,
|
|
921
|
+
args: ['luPopoverLeaveDelay']
|
|
922
|
+
}], inputDisabled: [{
|
|
923
|
+
type: Input,
|
|
924
|
+
args: ['luPopoverDisabled']
|
|
925
|
+
}], inputOverlap: [{
|
|
926
|
+
type: Input,
|
|
927
|
+
args: ['luPopoverOverlap']
|
|
928
|
+
}], inputOffsetX: [{
|
|
929
|
+
type: Input,
|
|
930
|
+
args: ['luPopoverOffsetX']
|
|
931
|
+
}], inputOffsetY: [{
|
|
932
|
+
type: Input,
|
|
933
|
+
args: ['luPopoverOffsetY']
|
|
934
|
+
}], _attrAriaExpanded: [{
|
|
935
|
+
type: HostBinding,
|
|
936
|
+
args: ['attr.aria-expanded']
|
|
937
|
+
}], _attrId: [{
|
|
938
|
+
type: HostBinding,
|
|
939
|
+
args: ['attr.id']
|
|
940
|
+
}], _attrAriaControls: [{
|
|
941
|
+
type: HostBinding,
|
|
942
|
+
args: ['attr.aria-controls']
|
|
943
|
+
}], onClick: [{
|
|
944
|
+
type: HostListener,
|
|
945
|
+
args: ['click']
|
|
946
|
+
}], onMouseEnter: [{
|
|
947
|
+
type: HostListener,
|
|
948
|
+
args: ['mouseenter']
|
|
949
|
+
}], onMouseLeave: [{
|
|
950
|
+
type: HostListener,
|
|
951
|
+
args: ['mouseleave']
|
|
952
|
+
}], onFocus: [{
|
|
953
|
+
type: HostListener,
|
|
954
|
+
args: ['focus']
|
|
955
|
+
}], onBlur: [{
|
|
956
|
+
type: HostListener,
|
|
957
|
+
args: ['blur']
|
|
958
|
+
}] } });
|
|
959
|
+
|
|
960
|
+
class LuPopoverTriggerModule {
|
|
961
|
+
}
|
|
962
|
+
LuPopoverTriggerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTriggerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
963
|
+
LuPopoverTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTriggerModule, declarations: [LuPopoverTriggerDirective], imports: [CommonModule,
|
|
964
|
+
OverlayModule,
|
|
965
|
+
LuPopoverPanelModule,
|
|
966
|
+
LuPopoverTargetModule], exports: [LuPopoverTriggerDirective] });
|
|
967
|
+
LuPopoverTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTriggerModule, imports: [[
|
|
968
|
+
CommonModule,
|
|
969
|
+
OverlayModule,
|
|
970
|
+
LuPopoverPanelModule,
|
|
971
|
+
LuPopoverTargetModule,
|
|
972
|
+
]] });
|
|
973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverTriggerModule, decorators: [{
|
|
974
|
+
type: NgModule,
|
|
975
|
+
args: [{
|
|
976
|
+
imports: [
|
|
977
|
+
CommonModule,
|
|
978
|
+
OverlayModule,
|
|
979
|
+
LuPopoverPanelModule,
|
|
980
|
+
LuPopoverTargetModule,
|
|
981
|
+
],
|
|
982
|
+
declarations: [
|
|
983
|
+
LuPopoverTriggerDirective,
|
|
984
|
+
],
|
|
985
|
+
exports: [
|
|
986
|
+
LuPopoverTriggerDirective,
|
|
987
|
+
],
|
|
988
|
+
}]
|
|
989
|
+
}] });
|
|
990
|
+
|
|
991
|
+
class LuPopoverModule {
|
|
992
|
+
}
|
|
993
|
+
LuPopoverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
994
|
+
LuPopoverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverModule, imports: [LuPopoverPanelModule,
|
|
995
|
+
LuPopoverTargetModule,
|
|
996
|
+
LuPopoverTriggerModule], exports: [LuPopoverPanelModule,
|
|
997
|
+
LuPopoverTargetModule,
|
|
998
|
+
LuPopoverTriggerModule] });
|
|
999
|
+
LuPopoverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverModule, imports: [[
|
|
1000
|
+
LuPopoverPanelModule,
|
|
1001
|
+
LuPopoverTargetModule,
|
|
1002
|
+
LuPopoverTriggerModule,
|
|
1003
|
+
], LuPopoverPanelModule,
|
|
1004
|
+
LuPopoverTargetModule,
|
|
1005
|
+
LuPopoverTriggerModule] });
|
|
1006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuPopoverModule, decorators: [{
|
|
1007
|
+
type: NgModule,
|
|
1008
|
+
args: [{
|
|
1009
|
+
imports: [
|
|
1010
|
+
LuPopoverPanelModule,
|
|
1011
|
+
LuPopoverTargetModule,
|
|
1012
|
+
LuPopoverTriggerModule,
|
|
1013
|
+
],
|
|
1014
|
+
exports: [
|
|
1015
|
+
LuPopoverPanelModule,
|
|
1016
|
+
LuPopoverTargetModule,
|
|
1017
|
+
LuPopoverTriggerModule,
|
|
1018
|
+
],
|
|
1019
|
+
}]
|
|
1020
|
+
}] });
|
|
1021
|
+
|
|
1022
|
+
/*
|
|
1023
|
+
* Public API Surface of safe-content
|
|
1024
|
+
*/
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Generated bundle index. Do not edit.
|
|
1028
|
+
*/
|
|
1029
|
+
|
|
1030
|
+
export { ALuPopoverPanel, ALuPopoverTarget, ALuPopoverTrigger, LuPopoverModule, LuPopoverPanelComponent, LuPopoverPanelModule, LuPopoverTarget, LuPopoverTargetDirective, LuPopoverTargetModule, LuPopoverTriggerDirective, LuPopoverTriggerModule, luTransformPopover };
|
|
1031
|
+
//# sourceMappingURL=lucca-front-ng-popover.mjs.map
|