@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
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ALuPopupRef } from './popup-ref.model';
|
|
2
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
-
import { Injector, Injectable } from '@angular/core';
|
|
4
|
-
export class LuPopupRef extends ALuPopupRef {
|
|
5
|
-
constructor(_overlay, _injector, _component, _config) {
|
|
6
|
-
super(_overlay, _injector, _component, _config);
|
|
7
|
-
this._overlay = _overlay;
|
|
8
|
-
this._injector = _injector;
|
|
9
|
-
this._component = _component;
|
|
10
|
-
this._config = _config;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export class LuPopupRefFactory {
|
|
14
|
-
constructor(_overlay, _injector) {
|
|
15
|
-
this._overlay = _overlay;
|
|
16
|
-
this._injector = _injector;
|
|
17
|
-
}
|
|
18
|
-
forge(component, config) {
|
|
19
|
-
return new LuPopupRef(this._overlay, this._injector, component, config);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
LuPopupRefFactory.decorators = [
|
|
23
|
-
{ type: Injectable }
|
|
24
|
-
];
|
|
25
|
-
LuPopupRefFactory.ctorParameters = () => [
|
|
26
|
-
{ type: Overlay },
|
|
27
|
-
{ type: Injector }
|
|
28
|
-
];
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wdXAtcmVmLmZhY3RvcnkuanMiLCJzb3VyY2VSb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GNvbnN0cnVjdG9yKFxyXG5cdFx0cHJvdGVjdGVkIF9vdmVybGF5OiBPdmVybGF5LFxyXG5cdFx0cHJvdGVjdGVkIF9pbmplY3RvcjogSW5qZWN0b3IsXHJcblx0KSB7fVxyXG5cdGZvcmdlPFQ+KGNvbXBvbmVudDogQ29tcG9uZW50VHlwZTxUPiwgY29uZmlnOiBJTHVQb3B1cENvbmZpZykge1xyXG5cdFx0cmV0dXJuIG5ldyBMdVBvcHVwUmVmKHRoaXMuX292ZXJsYXksIHRoaXMuX2luamVjdG9yLCBjb21wb25lbnQsIGNvbmZpZyk7XHJcblx0fVxyXG59XHJcbiJdfQ==
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { Subject, Subscription, merge } from 'rxjs';
|
|
2
|
-
import { OverlayConfig } from '@angular/cdk/overlay';
|
|
3
|
-
import { ComponentPortal, PortalInjector } from '@angular/cdk/portal';
|
|
4
|
-
import { first, filter } from 'rxjs/operators';
|
|
5
|
-
import { ESCAPE } from '@angular/cdk/keycodes';
|
|
6
|
-
import { LU_POPUP_DATA } from './popup.token';
|
|
7
|
-
export class ALuPopupRef {
|
|
8
|
-
constructor(_overlay, _injector, _component, _config) {
|
|
9
|
-
this._overlay = _overlay;
|
|
10
|
-
this._injector = _injector;
|
|
11
|
-
this._component = _component;
|
|
12
|
-
this._config = _config;
|
|
13
|
-
this.onOpen = new Subject();
|
|
14
|
-
this.onClose = new Subject();
|
|
15
|
-
this.onDismiss = new Subject();
|
|
16
|
-
this._subs = new Subscription();
|
|
17
|
-
}
|
|
18
|
-
open(data) {
|
|
19
|
-
this._createOverlay();
|
|
20
|
-
this._openPopup(data);
|
|
21
|
-
this._subToCloseEvents();
|
|
22
|
-
this.onOpen.next(data);
|
|
23
|
-
this.onOpen.complete();
|
|
24
|
-
}
|
|
25
|
-
close(result) {
|
|
26
|
-
this.onClose.next(result);
|
|
27
|
-
this._destroy();
|
|
28
|
-
}
|
|
29
|
-
dismiss() {
|
|
30
|
-
this.onDismiss.next();
|
|
31
|
-
this._destroy();
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* This method creates the overlay from the provided popover's template and saves its
|
|
35
|
-
* OverlayRef so that it can be attached to the DOM when openPopover is called.
|
|
36
|
-
*/
|
|
37
|
-
_createOverlay() {
|
|
38
|
-
if (!this._overlayRef) {
|
|
39
|
-
const overlayConfig = this._getOverlayConfig();
|
|
40
|
-
this._overlayRef = this._overlay.create(overlayConfig);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* This method builds the configuration object needed to create the overlay, the OverlayConfig.
|
|
45
|
-
* @returns OverlayConfig
|
|
46
|
-
*/
|
|
47
|
-
_getOverlayConfig() {
|
|
48
|
-
const overlayConfig = new OverlayConfig();
|
|
49
|
-
switch (this._config.position) {
|
|
50
|
-
case 'top':
|
|
51
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');
|
|
52
|
-
break;
|
|
53
|
-
case 'bottom':
|
|
54
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');
|
|
55
|
-
break;
|
|
56
|
-
case 'left':
|
|
57
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');
|
|
58
|
-
break;
|
|
59
|
-
case 'right':
|
|
60
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');
|
|
61
|
-
break;
|
|
62
|
-
case 'center':
|
|
63
|
-
default:
|
|
64
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();
|
|
65
|
-
break;
|
|
66
|
-
}
|
|
67
|
-
overlayConfig.hasBackdrop = !this._config.noBackdrop;
|
|
68
|
-
overlayConfig.backdropClass = this._config.backdropClass;
|
|
69
|
-
const panelClasses = [];
|
|
70
|
-
if (Array.isArray(this._config.panelClass)) {
|
|
71
|
-
panelClasses.push(...this._config.panelClass);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
panelClasses.push(this._config.panelClass);
|
|
75
|
-
}
|
|
76
|
-
panelClasses.push(`size-${this._config.size}`);
|
|
77
|
-
overlayConfig.panelClass = panelClasses;
|
|
78
|
-
overlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();
|
|
79
|
-
return overlayConfig;
|
|
80
|
-
}
|
|
81
|
-
_openPopup(data) {
|
|
82
|
-
const injectionMap = new WeakMap();
|
|
83
|
-
injectionMap.set(ALuPopupRef, this);
|
|
84
|
-
injectionMap.set(LU_POPUP_DATA, data);
|
|
85
|
-
const injector = new PortalInjector(this._injector, injectionMap);
|
|
86
|
-
const portal = new ComponentPortal(this._component, undefined, injector);
|
|
87
|
-
this._componentRef = this._overlayRef.attach(portal);
|
|
88
|
-
}
|
|
89
|
-
_destroy() {
|
|
90
|
-
this._cleanSubscription();
|
|
91
|
-
this._closePopup();
|
|
92
|
-
this._destroyOverlay();
|
|
93
|
-
this._completeSubjects();
|
|
94
|
-
}
|
|
95
|
-
_completeSubjects() {
|
|
96
|
-
this.onClose.complete();
|
|
97
|
-
this.onOpen.complete();
|
|
98
|
-
this.onDismiss.complete();
|
|
99
|
-
}
|
|
100
|
-
_destroyOverlay() {
|
|
101
|
-
this._overlayRef.detachBackdrop();
|
|
102
|
-
this._overlayRef.detach();
|
|
103
|
-
}
|
|
104
|
-
_closePopup() {
|
|
105
|
-
this._componentRef.destroy();
|
|
106
|
-
}
|
|
107
|
-
_subToCloseEvents() {
|
|
108
|
-
if (!this._config.undismissable) {
|
|
109
|
-
const bdClicked$ = this._overlayRef.backdropClick();
|
|
110
|
-
const escPressed$ = this._overlayRef.keydownEvents().pipe(filter(evt => evt.keyCode === ESCAPE));
|
|
111
|
-
const sub = merge(bdClicked$, escPressed$).pipe(first())
|
|
112
|
-
.subscribe(e => this.dismiss());
|
|
113
|
-
this._subs.add(sub);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
_cleanSubscription() {
|
|
117
|
-
this._subs.unsubscribe();
|
|
118
|
-
}
|
|
119
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25zdCBzdWIgPSBtZXJnZShiZENsaWNrZWQkLCBlc2NQcmVzc2VkJCkucGlwZShmaXJzdCgpKVxyXG5cdFx0XHQuc3Vic2NyaWJlKGUgPT4gdGhpcy5kaXNtaXNzKCkpO1xyXG5cdFx0XHR0aGlzLl9zdWJzLmFkZChzdWIpO1xyXG5cdFx0fVxyXG5cdH1cclxuXHRwcm90ZWN0ZWQgX2NsZWFuU3Vic2NyaXB0aW9uKCkge1xyXG5cdFx0dGhpcy5fc3Vicy51bnN1YnNjcmliZSgpO1xyXG5cdH1cclxufVxyXG4iXX0=
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
3
|
-
import { LuPopup } from './popup.service';
|
|
4
|
-
import { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';
|
|
5
|
-
import { luDefaultPopupConfig } from './popup-config.default';
|
|
6
|
-
import { LuPopupRefFactory } from './popup-ref.factory';
|
|
7
|
-
const ɵ0 = luDefaultPopupConfig;
|
|
8
|
-
export class LuPopupModule {
|
|
9
|
-
}
|
|
10
|
-
LuPopupModule.decorators = [
|
|
11
|
-
{ type: NgModule, args: [{
|
|
12
|
-
imports: [
|
|
13
|
-
OverlayModule,
|
|
14
|
-
],
|
|
15
|
-
exports: [],
|
|
16
|
-
providers: [
|
|
17
|
-
LuPopup,
|
|
18
|
-
{ provide: LU_POPUP_CONFIG, useValue: ɵ0 },
|
|
19
|
-
{ provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory },
|
|
20
|
-
]
|
|
21
|
-
},] }
|
|
22
|
-
];
|
|
23
|
-
export { ɵ0 };
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wdXAubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXM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ZnJvbSAnLi9wb3B1cC50b2tlbic7XHJcbmltcG9ydCB7IGx1RGVmYXVsdFBvcHVwQ29uZmlnIH0gZnJvbSAnLi9wb3B1cC1jb25maWcuZGVmYXVsdCc7XHJcbmltcG9ydCB7IEx1UG9wdXBSZWZGYWN0b3J5IH0gZnJvbSAnLi9wb3B1cC1yZWYuZmFjdG9yeSc7XHJcblxyXG5cclxuQE5nTW9kdWxlKHtcclxuXHRpbXBvcnRzOiBbXHJcblx0XHRPdmVybGF5TW9kdWxlLFxyXG5cdF0sXHJcblx0ZXhwb3J0czogW10sXHJcblx0cHJvdmlkZXJzOiBbXHJcblx0XHRMdVBvcHVwLFxyXG5cdFx0eyBwcm92aWRlOiBMVV9QT1BVUF9DT05GSUcsIHVzZVZhbHVlOiBsdURlZmF1bHRQb3B1cENvbmZpZyB9LFxyXG5cdFx0eyBwcm92aWRlOiBMVV9QT1BVUF9SRUZfRkFDVE9SWSwgdXNlQ2xhc3M6IEx1UG9wdXBSZWZGYWN0b3J5IH0sXHJcblx0XVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTHVQb3B1cE1vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Injectable, Inject } from '@angular/core';
|
|
2
|
-
import { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';
|
|
3
|
-
export class LuPopup {
|
|
4
|
-
constructor(_factory, _config) {
|
|
5
|
-
this._factory = _factory;
|
|
6
|
-
this._config = _config;
|
|
7
|
-
}
|
|
8
|
-
open(component, data = undefined, config = {}) {
|
|
9
|
-
const extendedConfig = Object.assign(Object.assign({}, this._config), config);
|
|
10
|
-
const ref = this._factory.forge(component, extendedConfig);
|
|
11
|
-
ref.open(data);
|
|
12
|
-
return ref;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
LuPopup.decorators = [
|
|
16
|
-
{ type: Injectable }
|
|
17
|
-
];
|
|
18
|
-
LuPopup.ctorParameters = () => [
|
|
19
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LU_POPUP_REF_FACTORY,] }] },
|
|
20
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LU_POPUP_CONFIG,] }] }
|
|
21
|
-
];
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wdXAuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL3BvcHVwL3NyYy9saWIvcG9wdXAuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUduRCxPQUFPLEVBQUUsZUFBZSxFQUFFLG9CQUFvQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBS3RFLE1BQU0sT0FBTyxPQUFPO0lBQ25CLFlBQ3lDLFFBQTRCLEVBQ2pDLE9BQXVCO1FBRGxCLGFBQVEsR0FBUixRQUFRLENBQW9CO1FBQ2pDLFlBQU8sR0FBUCxPQUFPLENBQWdCO0lBQ3hELENBQUM7SUFFSixJQUFJLENBQWdFLFNBQTJCLEVBQUUsT0FBVSxTQUFTLEVBQUUsU0FBWSxFQUFTO1FBQzFJLE1BQU0sY0FBYyxtQ0FBUSxJQUFJLENBQUMsT0FBTyxHQUFLLE1BQU0sQ0FBRSxDQUFDO1FBQ3RELE1BQU0sR0FBRyxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUMsS0FBSyxDQUFDLFNBQVMsRUFBRSxjQUFjLENBQUMsQ0FBQztRQUMzRCxHQUFHLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ2YsT0FBTyxHQUFHLENBQUM7SUFDWixDQUFDOzs7WUFaRCxVQUFVOzs7NENBR1IsTUFBTSxTQUFDLG9CQUFvQjs0Q0FDM0I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ge30gYXMgYW55KTogSUx1UG9wdXBSZWY8VCwgRCwgUj4ge1xyXG5cdFx0Y29uc3QgZXh0ZW5kZWRDb25maWcgPSB7IC4uLnRoaXMuX2NvbmZpZywgLi4uY29uZmlnIH07XHJcblx0XHRjb25zdCByZWYgPSB0aGlzLl9mYWN0b3J5LmZvcmdlKGNvbXBvbmVudCwgZXh0ZW5kZWRDb25maWcpO1xyXG5cdFx0cmVmLm9wZW4oZGF0YSk7XHJcblx0XHRyZXR1cm4gcmVmO1xyXG5cdH1cclxufVxyXG4iXX0=
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Injectable, Inject, Injector, NgModule } from '@angular/core';
|
|
2
|
-
import { OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
3
|
-
import { Subject, Subscription, merge } from 'rxjs';
|
|
4
|
-
import { PortalInjector, ComponentPortal } from '@angular/cdk/portal';
|
|
5
|
-
import { filter, first } from 'rxjs/operators';
|
|
6
|
-
import { ESCAPE } from '@angular/cdk/keycodes';
|
|
7
|
-
|
|
8
|
-
const LU_POPUP_REF_FACTORY = new InjectionToken('LuPopupRefFactory');
|
|
9
|
-
/** Injection token that can be used to access the data that was passed in to a dialog. */
|
|
10
|
-
const LU_POPUP_DATA = new InjectionToken('LuPopupData');
|
|
11
|
-
const LU_POPUP_CONFIG = new InjectionToken('LuPopupDefaultConfig');
|
|
12
|
-
|
|
13
|
-
class LuPopup {
|
|
14
|
-
constructor(_factory, _config) {
|
|
15
|
-
this._factory = _factory;
|
|
16
|
-
this._config = _config;
|
|
17
|
-
}
|
|
18
|
-
open(component, data = undefined, config = {}) {
|
|
19
|
-
const extendedConfig = Object.assign(Object.assign({}, this._config), config);
|
|
20
|
-
const ref = this._factory.forge(component, extendedConfig);
|
|
21
|
-
ref.open(data);
|
|
22
|
-
return ref;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
LuPopup.decorators = [
|
|
26
|
-
{ type: Injectable }
|
|
27
|
-
];
|
|
28
|
-
LuPopup.ctorParameters = () => [
|
|
29
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LU_POPUP_REF_FACTORY,] }] },
|
|
30
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LU_POPUP_CONFIG,] }] }
|
|
31
|
-
];
|
|
32
|
-
|
|
33
|
-
const luDefaultPopupConfig = {
|
|
34
|
-
position: 'center',
|
|
35
|
-
noBackdrop: false,
|
|
36
|
-
undismissable: false,
|
|
37
|
-
backdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],
|
|
38
|
-
panelClass: 'lu-popup-panel',
|
|
39
|
-
size: 'standard',
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
class ALuPopupRef {
|
|
43
|
-
constructor(_overlay, _injector, _component, _config) {
|
|
44
|
-
this._overlay = _overlay;
|
|
45
|
-
this._injector = _injector;
|
|
46
|
-
this._component = _component;
|
|
47
|
-
this._config = _config;
|
|
48
|
-
this.onOpen = new Subject();
|
|
49
|
-
this.onClose = new Subject();
|
|
50
|
-
this.onDismiss = new Subject();
|
|
51
|
-
this._subs = new Subscription();
|
|
52
|
-
}
|
|
53
|
-
open(data) {
|
|
54
|
-
this._createOverlay();
|
|
55
|
-
this._openPopup(data);
|
|
56
|
-
this._subToCloseEvents();
|
|
57
|
-
this.onOpen.next(data);
|
|
58
|
-
this.onOpen.complete();
|
|
59
|
-
}
|
|
60
|
-
close(result) {
|
|
61
|
-
this.onClose.next(result);
|
|
62
|
-
this._destroy();
|
|
63
|
-
}
|
|
64
|
-
dismiss() {
|
|
65
|
-
this.onDismiss.next();
|
|
66
|
-
this._destroy();
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* This method creates the overlay from the provided popover's template and saves its
|
|
70
|
-
* OverlayRef so that it can be attached to the DOM when openPopover is called.
|
|
71
|
-
*/
|
|
72
|
-
_createOverlay() {
|
|
73
|
-
if (!this._overlayRef) {
|
|
74
|
-
const overlayConfig = this._getOverlayConfig();
|
|
75
|
-
this._overlayRef = this._overlay.create(overlayConfig);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* This method builds the configuration object needed to create the overlay, the OverlayConfig.
|
|
80
|
-
* @returns OverlayConfig
|
|
81
|
-
*/
|
|
82
|
-
_getOverlayConfig() {
|
|
83
|
-
const overlayConfig = new OverlayConfig();
|
|
84
|
-
switch (this._config.position) {
|
|
85
|
-
case 'top':
|
|
86
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');
|
|
87
|
-
break;
|
|
88
|
-
case 'bottom':
|
|
89
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');
|
|
90
|
-
break;
|
|
91
|
-
case 'left':
|
|
92
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');
|
|
93
|
-
break;
|
|
94
|
-
case 'right':
|
|
95
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');
|
|
96
|
-
break;
|
|
97
|
-
case 'center':
|
|
98
|
-
default:
|
|
99
|
-
overlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
overlayConfig.hasBackdrop = !this._config.noBackdrop;
|
|
103
|
-
overlayConfig.backdropClass = this._config.backdropClass;
|
|
104
|
-
const panelClasses = [];
|
|
105
|
-
if (Array.isArray(this._config.panelClass)) {
|
|
106
|
-
panelClasses.push(...this._config.panelClass);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
panelClasses.push(this._config.panelClass);
|
|
110
|
-
}
|
|
111
|
-
panelClasses.push(`size-${this._config.size}`);
|
|
112
|
-
overlayConfig.panelClass = panelClasses;
|
|
113
|
-
overlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();
|
|
114
|
-
return overlayConfig;
|
|
115
|
-
}
|
|
116
|
-
_openPopup(data) {
|
|
117
|
-
const injectionMap = new WeakMap();
|
|
118
|
-
injectionMap.set(ALuPopupRef, this);
|
|
119
|
-
injectionMap.set(LU_POPUP_DATA, data);
|
|
120
|
-
const injector = new PortalInjector(this._injector, injectionMap);
|
|
121
|
-
const portal = new ComponentPortal(this._component, undefined, injector);
|
|
122
|
-
this._componentRef = this._overlayRef.attach(portal);
|
|
123
|
-
}
|
|
124
|
-
_destroy() {
|
|
125
|
-
this._cleanSubscription();
|
|
126
|
-
this._closePopup();
|
|
127
|
-
this._destroyOverlay();
|
|
128
|
-
this._completeSubjects();
|
|
129
|
-
}
|
|
130
|
-
_completeSubjects() {
|
|
131
|
-
this.onClose.complete();
|
|
132
|
-
this.onOpen.complete();
|
|
133
|
-
this.onDismiss.complete();
|
|
134
|
-
}
|
|
135
|
-
_destroyOverlay() {
|
|
136
|
-
this._overlayRef.detachBackdrop();
|
|
137
|
-
this._overlayRef.detach();
|
|
138
|
-
}
|
|
139
|
-
_closePopup() {
|
|
140
|
-
this._componentRef.destroy();
|
|
141
|
-
}
|
|
142
|
-
_subToCloseEvents() {
|
|
143
|
-
if (!this._config.undismissable) {
|
|
144
|
-
const bdClicked$ = this._overlayRef.backdropClick();
|
|
145
|
-
const escPressed$ = this._overlayRef.keydownEvents().pipe(filter(evt => evt.keyCode === ESCAPE));
|
|
146
|
-
const sub = merge(bdClicked$, escPressed$).pipe(first())
|
|
147
|
-
.subscribe(e => this.dismiss());
|
|
148
|
-
this._subs.add(sub);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
_cleanSubscription() {
|
|
152
|
-
this._subs.unsubscribe();
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
class LuPopupRef extends ALuPopupRef {
|
|
157
|
-
constructor(_overlay, _injector, _component, _config) {
|
|
158
|
-
super(_overlay, _injector, _component, _config);
|
|
159
|
-
this._overlay = _overlay;
|
|
160
|
-
this._injector = _injector;
|
|
161
|
-
this._component = _component;
|
|
162
|
-
this._config = _config;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
class LuPopupRefFactory {
|
|
166
|
-
constructor(_overlay, _injector) {
|
|
167
|
-
this._overlay = _overlay;
|
|
168
|
-
this._injector = _injector;
|
|
169
|
-
}
|
|
170
|
-
forge(component, config) {
|
|
171
|
-
return new LuPopupRef(this._overlay, this._injector, component, config);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
LuPopupRefFactory.decorators = [
|
|
175
|
-
{ type: Injectable }
|
|
176
|
-
];
|
|
177
|
-
LuPopupRefFactory.ctorParameters = () => [
|
|
178
|
-
{ type: Overlay },
|
|
179
|
-
{ type: Injector }
|
|
180
|
-
];
|
|
181
|
-
|
|
182
|
-
const ɵ0 = luDefaultPopupConfig;
|
|
183
|
-
class LuPopupModule {
|
|
184
|
-
}
|
|
185
|
-
LuPopupModule.decorators = [
|
|
186
|
-
{ type: NgModule, args: [{
|
|
187
|
-
imports: [
|
|
188
|
-
OverlayModule,
|
|
189
|
-
],
|
|
190
|
-
exports: [],
|
|
191
|
-
providers: [
|
|
192
|
-
LuPopup,
|
|
193
|
-
{ provide: LU_POPUP_CONFIG, useValue: ɵ0 },
|
|
194
|
-
{ provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory },
|
|
195
|
-
]
|
|
196
|
-
},] }
|
|
197
|
-
];
|
|
198
|
-
|
|
199
|
-
/*
|
|
200
|
-
* Public API Surface of safe-content
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Generated bundle index. Do not edit.
|
|
205
|
-
*/
|
|
206
|
-
|
|
207
|
-
export { ALuPopupRef, LU_POPUP_CONFIG, LU_POPUP_DATA, LU_POPUP_REF_FACTORY, LuPopup, LuPopupModule, LuPopupRef, LuPopupRefFactory, luDefaultPopupConfig, ɵ0 };
|
|
208
|
-
//# sourceMappingURL=lucca-front-ng-popup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-popup.js","sources":["../../../../packages/ng/popup/src/lib/popup.token.ts","../../../../packages/ng/popup/src/lib/popup.service.ts","../../../../packages/ng/popup/src/lib/popup-config.default.ts","../../../../packages/ng/popup/src/lib/popup-ref.model.ts","../../../../packages/ng/popup/src/lib/popup-ref.factory.ts","../../../../packages/ng/popup/src/lib/popup.module.ts","../../../../packages/ng/popup/src/public-api.ts","../../../../packages/ng/popup/src/lucca-front-ng-popup.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\n\r\nexport const LU_POPUP_REF_FACTORY = new InjectionToken<any>('LuPopupRefFactory');\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_POPUP_DATA = new InjectionToken<any>('LuPopupData');\r\nexport const LU_POPUP_CONFIG = new InjectionToken<any>('LuPopupDefaultConfig');\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { ComponentType } from '@angular/cdk/overlay';\r\nimport { ILuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\r\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { ILuPopupContent } from './popup.model';\r\n\r\n@Injectable()\r\nexport class LuPopup<C extends ILuPopupConfig = ILuPopupConfig> {\r\n\tconstructor(\r\n\t\t@Inject(LU_POPUP_REF_FACTORY) protected _factory: ILuPopupRefFactory,\r\n\t\t@Inject(LU_POPUP_CONFIG) protected _config: ILuPopupConfig,\r\n\t) {}\r\n\r\n\topen<T extends ILuPopupContent = ILuPopupContent, D = any, R = any>(component: ComponentType<T>, data: D = undefined, config: C = {} as any): ILuPopupRef<T, D, R> {\r\n\t\tconst extendedConfig = { ...this._config, ...config };\r\n\t\tconst ref = this._factory.forge(component, extendedConfig);\r\n\t\tref.open(data);\r\n\t\treturn ref;\r\n\t}\r\n}\r\n","import { ILuPopupConfig } from './popup-config.model';\r\n\r\nexport const luDefaultPopupConfig: ILuPopupConfig = {\r\n\tposition: 'center',\r\n\tnoBackdrop: false,\r\n\tundismissable: false,\r\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\r\n\tpanelClass: 'lu-popup-panel',\r\n\tsize: 'standard',\r\n};\r\n","import { Observable, Subject, Subscription, merge } from 'rxjs';\r\nimport { Overlay, OverlayRef, OverlayConfig } from '@angular/cdk/overlay';\r\nimport { ComponentPortal, PortalInjector, ComponentType } from '@angular/cdk/portal';\r\nimport { first, filter } from 'rxjs/operators';\r\nimport { ComponentRef } from '@angular/core';\r\nimport { ESCAPE } from '@angular/cdk/keycodes';\r\nimport { Injector } from '@angular/core';\r\nimport { LU_POPUP_DATA } from './popup.token';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\nimport { ILuPopupContent } from './popup.model';\r\n\r\nexport interface ILuPopupRef<T extends ILuPopupContent = ILuPopupContent, D = any, R = any> {\r\n\tonOpen: Observable<D>;\r\n\tonClose: Observable<R>;\r\n\tonDismiss: Observable<void>;\r\n\topen(data: D): void;\r\n\tclose(result: R): void;\r\n\tdismiss(): void;\r\n}\r\nexport interface ILuPopupRefFactory<TComponent = any, TConfig extends ILuPopupConfig = ILuPopupConfig> {\r\n\tforge<T extends TComponent, C extends TConfig>(component: ComponentType<T>, config: C): ILuPopupRef<T>;\r\n}\r\n\r\nexport abstract class ALuPopupRef<T extends ILuPopupContent = ILuPopupContent, D = any, R = any> implements ILuPopupRef<T, D, R> {\r\n\tonOpen = new Subject<D>();\r\n\tonClose = new Subject<R>();\r\n\tonDismiss = new Subject<void>();\r\n\r\n\tprotected _overlayRef: OverlayRef;\r\n\tprotected _componentRef: ComponentRef<T>;\r\n\r\n\tprotected _subs = new Subscription();\r\n\r\n\tconstructor(\r\n\t\tprotected _overlay: Overlay,\r\n\t\tprotected _injector: Injector,\r\n\t\tprotected _component: ComponentType<T>,\r\n\t\tprotected _config: ILuPopupConfig,\r\n\t) {}\r\n\r\n\r\n\topen(data?: D) {\r\n\t\tthis._createOverlay();\r\n\t\tthis._openPopup(data);\r\n\r\n\t\tthis._subToCloseEvents();\r\n\r\n\t\tthis.onOpen.next(data);\r\n\t\tthis.onOpen.complete();\r\n\t}\r\n\tclose(result?: R) {\r\n\t\tthis.onClose.next(result);\r\n\t\tthis._destroy();\r\n\t}\r\n\tdismiss() {\r\n\t\tthis.onDismiss.next();\r\n\t\tthis._destroy();\r\n\t}\r\n\t/**\r\n\t * This method creates the overlay from the provided popover's template and saves its\r\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\r\n\t */\r\n\tprotected _createOverlay() {\r\n\t\tif (!this._overlayRef) {\r\n\t\t\tconst overlayConfig = this._getOverlayConfig();\r\n\t\t\tthis._overlayRef = this._overlay.create(overlayConfig);\r\n\t\t}\r\n\t}\r\n\t\t/**\r\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\r\n\t * @returns OverlayConfig\r\n\t */\r\n\tprotected _getOverlayConfig(): OverlayConfig {\r\n\t\tconst overlayConfig = new OverlayConfig();\r\n\t\tswitch (this._config.position) {\r\n\t\t\tcase 'top':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'bottom':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'left':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'right':\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'center':\r\n\t\t\tdefault:\r\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\toverlayConfig.hasBackdrop = !this._config.noBackdrop;\r\n\t\toverlayConfig.backdropClass = this._config.backdropClass;\r\n\t\tconst panelClasses = [];\r\n\t\tif (Array.isArray(this._config.panelClass)) {\r\n\t\t\tpanelClasses.push(...this._config.panelClass);\r\n\t\t} else {\r\n\t\t\tpanelClasses.push(this._config.panelClass);\r\n\t\t}\r\n\t\tpanelClasses.push(`size-${this._config.size}`);\r\n\t\toverlayConfig.panelClass = panelClasses;\r\n\t\toverlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();\r\n\t\treturn overlayConfig;\r\n\t}\r\n\tprotected _openPopup(data?: D) {\r\n\t\tconst injectionMap = new WeakMap();\r\n\t\tinjectionMap.set(ALuPopupRef, this);\r\n\t\tinjectionMap.set(LU_POPUP_DATA, data);\r\n\t\tconst injector = new PortalInjector(this._injector, injectionMap);\r\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\r\n\t\tthis._componentRef = this._overlayRef.attach<T>(portal);\r\n\t}\r\n\r\n\tprotected _destroy() {\r\n\t\tthis._cleanSubscription();\r\n\t\tthis._closePopup();\r\n\t\tthis._destroyOverlay();\r\n\t\tthis._completeSubjects();\r\n\r\n\t}\r\n\t_completeSubjects() {\r\n\t\tthis.onClose.complete();\r\n\t\tthis.onOpen.complete();\r\n\t\tthis.onDismiss.complete();\r\n\t}\r\n\r\n\tprotected _destroyOverlay() {\r\n\t\tthis._overlayRef.detachBackdrop();\r\n\t\tthis._overlayRef.detach();\r\n\t}\r\n\tprotected _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t}\r\n\tprotected _subToCloseEvents() {\r\n\t\tif (!this._config.undismissable) {\r\n\r\n\t\t\tconst bdClicked$ = this._overlayRef.backdropClick();\r\n\t\t\tconst escPressed$ = this._overlayRef.keydownEvents().pipe(\r\n\t\t\t\tfilter(evt => evt.keyCode === ESCAPE),\r\n\t\t\t);\r\n\t\t\tconst sub = merge(bdClicked$, escPressed$).pipe(first())\r\n\t\t\t.subscribe(e => this.dismiss());\r\n\t\t\tthis._subs.add(sub);\r\n\t\t}\r\n\t}\r\n\tprotected _cleanSubscription() {\r\n\t\tthis._subs.unsubscribe();\r\n\t}\r\n}\r\n","import { ILuPopupContent } from './popup.model';\r\nimport { ALuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\r\nimport { Overlay, ComponentType } from '@angular/cdk/overlay';\r\nimport { Injector, Injectable } from '@angular/core';\r\nimport { ILuPopupConfig } from './popup-config.model';\r\n\r\nexport class LuPopupRef<T extends ILuPopupContent = ILuPopupContent, D = any, R = any> extends ALuPopupRef<T, D, R> {\r\n\tconstructor(\r\n\t\tprotected _overlay: Overlay,\r\n\t\tprotected _injector: Injector,\r\n\t\tprotected _component: ComponentType<T>,\r\n\t\tprotected _config: ILuPopupConfig,\r\n\t) {\r\n\t\tsuper (_overlay, _injector, _component, _config);\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuPopupRefFactory implements ILuPopupRefFactory {\r\n\tconstructor(\r\n\t\tprotected _overlay: Overlay,\r\n\t\tprotected _injector: Injector,\r\n\t) {}\r\n\tforge<T>(component: ComponentType<T>, config: ILuPopupConfig) {\r\n\t\treturn new LuPopupRef(this._overlay, this._injector, component, config);\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { LuPopup } from './popup.service';\r\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\r\nimport { luDefaultPopupConfig } from './popup-config.default';\r\nimport { LuPopupRefFactory } from './popup-ref.factory';\r\n\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tOverlayModule,\r\n\t],\r\n\texports: [],\r\n\tproviders: [\r\n\t\tLuPopup,\r\n\t\t{ provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig },\r\n\t\t{ provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory },\r\n\t]\r\n})\r\nexport class LuPopupModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAEa,oBAAo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":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":10,"character":2}],"exports":[],"providers":[{"__symbolic":"reference","name":"LuPopup"},{"provide":{"__symbolic":"reference","name":"LU_POPUP_CONFIG"},"useValue":{"__symbolic":"reference","name":"luDefaultPopupConfig"}},{"provide":{"__symbolic":"reference","name":"LU_POPUP_REF_FACTORY"},"useClass":{"__symbolic":"reference","name":"LuPopupRefFactory"}}]}]}],"members":{}},"LuPopup":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":10,"character":3},"arguments":[{"__symbolic":"reference","name":"LU_POPUP_REF_FACTORY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":3},"arguments":[{"__symbolic":"reference","name":"LU_POPUP_CONFIG"}]}]],"parameters":[{"__symbolic":"reference","name":"ILuPopupRefFactory"},{"__symbolic":"reference","name":"ILuPopupConfig"}]}],"open":[{"__symbolic":"method"}]}},"ILuPopupContent":{"__symbolic":"interface"},"ILuPopupConfig":{"__symbolic":"interface"},"luDefaultPopupConfig":{"position":"center","noBackdrop":false,"undismissable":false,"backdropClass":["cdk-overlay-dark-backdrop","lu-popup-backdrop"],"panelClass":"lu-popup-panel","size":"standard"},"ILuPopupRef":{"__symbolic":"interface"},"ILuPopupRefFactory":{"__symbolic":"interface"},"ALuPopupRef":{"__symbolic":"class","arity":3,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":34,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":35,"character":23},{"__symbolic":"reference","name":"ComponentType","module":"@angular/cdk/portal","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":36,"character":38,"context":{"typeName":"T"},"module":"./lib/popup-ref.model"}]},{"__symbolic":"reference","name":"ILuPopupConfig"}]}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"dismiss":[{"__symbolic":"method"}],"_createOverlay":[{"__symbolic":"method"}],"_getOverlayConfig":[{"__symbolic":"method"}],"_openPopup":[{"__symbolic":"method"}],"_destroy":[{"__symbolic":"method"}],"_completeSubjects":[{"__symbolic":"method"}],"_destroyOverlay":[{"__symbolic":"method"}],"_closePopup":[{"__symbolic":"method"}],"_subToCloseEvents":[{"__symbolic":"method"}],"_cleanSubscription":[{"__symbolic":"method"}]}},"LuPopupRef":{"__symbolic":"class","arity":3,"extends":{"__symbolic":"reference","name":"ALuPopupRef"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":8,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":9,"character":23},{"__symbolic":"reference","name":"ComponentType","module":"@angular/cdk/overlay","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":10,"character":38,"context":{"typeName":"T"},"module":"./lib/popup-ref.factory"}]},{"__symbolic":"reference","name":"ILuPopupConfig"}]}]}},"LuPopupRefFactory":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":17,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":8,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":9,"character":23}]}],"forge":[{"__symbolic":"method"}]}},"LU_POPUP_REF_FACTORY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":40},"arguments":["LuPopupRefFactory"]},"LU_POPUP_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":33},"arguments":["LuPopupData"]},"LU_POPUP_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":35},"arguments":["LuPopupDefaultConfig"]}},"origins":{"LuPopupModule":"./lib/popup.module","LuPopup":"./lib/popup.service","ILuPopupContent":"./lib/popup.model","ILuPopupConfig":"./lib/popup-config.model","luDefaultPopupConfig":"./lib/popup-config.default","ILuPopupRef":"./lib/popup-ref.model","ILuPopupRefFactory":"./lib/popup-ref.model","ALuPopupRef":"./lib/popup-ref.model","LuPopupRef":"./lib/popup-ref.factory","LuPopupRefFactory":"./lib/popup-ref.factory","LU_POPUP_REF_FACTORY":"./lib/popup.token","LU_POPUP_DATA":"./lib/popup.token","LU_POPUP_CONFIG":"./lib/popup.token"},"importAs":"@lucca-front/ng/popup"}
|
package/public-api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './index';
|