@lucca-front/ng 7.4.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +70 -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 +111 -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 +184 -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 +330 -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 +2271 -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 +1045 -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 +323 -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 +2241 -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 +1032 -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 -626
- 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 -249
- 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 -2657
- 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 -1893
- 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 -1353
- 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 -58
- 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 -81
- package/user/esm2015/lib/select/me/me-option.module.js +0 -17
- package/user/esm2015/lib/select/searcher/user-searcher.component.js +0 -138
- 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 -838
- package/user/fesm2015/lucca-front-ng-user.js.map +0 -1
- package/user/lucca-front-ng-user.metadata.json +0 -1
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, Injectable, Inject, ChangeDetectionStrategy, LOCALE_ID, Directive, ViewChild, Component, Injector, NgModule } from '@angular/core';
|
|
3
|
+
import { LuPopup, ALuPopupRef } from '@lucca-front/ng/popup';
|
|
4
|
+
import * as i3 from '@angular/cdk/portal';
|
|
5
|
+
import { CdkPortalOutlet, ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
6
|
+
import { ALuIntl } from '@lucca-front/ng/core';
|
|
7
|
+
import { Subject, Subscription, Observable, timer } from 'rxjs';
|
|
8
|
+
import { tap, delay } from 'rxjs/operators';
|
|
9
|
+
import * as i2 from '@angular/cdk/a11y';
|
|
10
|
+
import { A11yModule } from '@angular/cdk/a11y';
|
|
11
|
+
import * as i4 from '@angular/common';
|
|
12
|
+
import { CommonModule } from '@angular/common';
|
|
13
|
+
import * as i1 from '@angular/cdk/overlay';
|
|
14
|
+
import { OverlayModule } from '@angular/cdk/overlay';
|
|
15
|
+
|
|
16
|
+
/** Injection token that can be used to access the data that was passed in to a dialog. */
|
|
17
|
+
const LU_MODAL_DATA = new InjectionToken('LuModalData');
|
|
18
|
+
const LU_MODAL_CONFIG = new InjectionToken('LuModalDefaultConfig');
|
|
19
|
+
const LU_MODAL_REF_FACTORY = new InjectionToken('LuModalRefFactory');
|
|
20
|
+
const LU_MODAL_TRANSLATIONS = new InjectionToken('LuModalTranslations');
|
|
21
|
+
|
|
22
|
+
class LuModal extends LuPopup {
|
|
23
|
+
constructor(_factory, _config) {
|
|
24
|
+
super(_factory, _config);
|
|
25
|
+
this._factory = _factory;
|
|
26
|
+
this._config = _config;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
LuModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModal, deps: [{ token: LU_MODAL_REF_FACTORY }, { token: LU_MODAL_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
+
LuModal.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModal });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModal, decorators: [{
|
|
32
|
+
type: Injectable
|
|
33
|
+
}], ctorParameters: function () {
|
|
34
|
+
return [{ type: undefined, decorators: [{
|
|
35
|
+
type: Inject,
|
|
36
|
+
args: [LU_MODAL_REF_FACTORY]
|
|
37
|
+
}] }, { type: undefined, decorators: [{
|
|
38
|
+
type: Inject,
|
|
39
|
+
args: [LU_MODAL_CONFIG]
|
|
40
|
+
}] }];
|
|
41
|
+
} });
|
|
42
|
+
|
|
43
|
+
const luDefaultModalConfig = {
|
|
44
|
+
position: 'center',
|
|
45
|
+
noBackdrop: false,
|
|
46
|
+
undismissable: false,
|
|
47
|
+
backdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],
|
|
48
|
+
panelClass: 'lu-popup-panel',
|
|
49
|
+
size: 'standard',
|
|
50
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
class LuModalIntl extends ALuIntl {
|
|
54
|
+
constructor(translations, locale) {
|
|
55
|
+
super(translations, locale);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
LuModalIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalIntl, deps: [{ token: LU_MODAL_TRANSLATIONS }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
59
|
+
LuModalIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalIntl });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalIntl, decorators: [{
|
|
61
|
+
type: Injectable
|
|
62
|
+
}], ctorParameters: function () {
|
|
63
|
+
return [{ type: undefined, decorators: [{
|
|
64
|
+
type: Inject,
|
|
65
|
+
args: [LU_MODAL_TRANSLATIONS]
|
|
66
|
+
}] }, { type: undefined, decorators: [{
|
|
67
|
+
type: Inject,
|
|
68
|
+
args: [LOCALE_ID]
|
|
69
|
+
}] }];
|
|
70
|
+
} });
|
|
71
|
+
|
|
72
|
+
class ALuModalRef extends ALuPopupRef {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
class ALuModalPanelComponent {
|
|
76
|
+
constructor(_ref, _cdr, intl) {
|
|
77
|
+
this._ref = _ref;
|
|
78
|
+
this._cdr = _cdr;
|
|
79
|
+
this.intl = intl;
|
|
80
|
+
this.submitClass$ = new Subject();
|
|
81
|
+
this.error$ = new Subject();
|
|
82
|
+
this._subs = new Subscription();
|
|
83
|
+
}
|
|
84
|
+
get title() {
|
|
85
|
+
return this._componentInstance.title;
|
|
86
|
+
}
|
|
87
|
+
get submitLabel() {
|
|
88
|
+
return this._componentInstance.submitLabel || this.intl.submit;
|
|
89
|
+
}
|
|
90
|
+
get cancelLabel() {
|
|
91
|
+
return this._componentInstance.cancelLabel || this.intl.cancel;
|
|
92
|
+
}
|
|
93
|
+
get isSubmitDisabled() {
|
|
94
|
+
return this._componentInstance.submitDisabled;
|
|
95
|
+
}
|
|
96
|
+
get isSubmitHidden() {
|
|
97
|
+
return !this._componentInstance.submitAction;
|
|
98
|
+
}
|
|
99
|
+
get submitPalette() {
|
|
100
|
+
return this._componentInstance.submitPalette || 'primary';
|
|
101
|
+
}
|
|
102
|
+
get hasSubmitCounter() {
|
|
103
|
+
return !!this._componentInstance.submitCounter;
|
|
104
|
+
}
|
|
105
|
+
get submitCounter() {
|
|
106
|
+
return this._componentInstance.submitCounter || 0;
|
|
107
|
+
}
|
|
108
|
+
attach(portal) {
|
|
109
|
+
const ref = this._outlet.attach(portal);
|
|
110
|
+
this._componentInstance = ref.instance;
|
|
111
|
+
return ref;
|
|
112
|
+
}
|
|
113
|
+
detach() {
|
|
114
|
+
return this._outlet.detach();
|
|
115
|
+
}
|
|
116
|
+
dispose() {
|
|
117
|
+
return this._outlet.dispose();
|
|
118
|
+
}
|
|
119
|
+
hasAttached() {
|
|
120
|
+
return this._outlet.hasAttached();
|
|
121
|
+
}
|
|
122
|
+
ngOnDestroy() {
|
|
123
|
+
this._subs.unsubscribe();
|
|
124
|
+
this.detach();
|
|
125
|
+
this.dispose();
|
|
126
|
+
}
|
|
127
|
+
dismiss() {
|
|
128
|
+
this._ref.dismiss();
|
|
129
|
+
}
|
|
130
|
+
submit() {
|
|
131
|
+
this.error$.next(undefined);
|
|
132
|
+
this.submitClass$.next('is-loading');
|
|
133
|
+
const result$ = this._componentInstance.submitAction();
|
|
134
|
+
if (result$ instanceof Observable) {
|
|
135
|
+
this._subs.add(result$.pipe(tap(_ => this.submitClass$.next('is-success')), tap(() => this._cdr.markForCheck()), delay(500))
|
|
136
|
+
.subscribe(result => {
|
|
137
|
+
this._ref.close(result);
|
|
138
|
+
}, err => {
|
|
139
|
+
this.submitClass$.next('is-error');
|
|
140
|
+
this.error$.next(err);
|
|
141
|
+
this._cdr.markForCheck();
|
|
142
|
+
timer(2000).subscribe(_ => {
|
|
143
|
+
this.submitClass$.next('');
|
|
144
|
+
this._cdr.markForCheck();
|
|
145
|
+
});
|
|
146
|
+
}));
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
const result = result$;
|
|
150
|
+
this._ref.close(result);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
ALuModalPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuModalPanelComponent, deps: [{ token: ALuModalRef }, { token: i0.ChangeDetectorRef }, { token: LU_MODAL_TRANSLATIONS }], target: i0.ɵɵFactoryTarget.Directive });
|
|
155
|
+
ALuModalPanelComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: ALuModalPanelComponent, viewQueries: [{ propertyName: "_outlet", first: true, predicate: ["outlet"], descendants: true, read: CdkPortalOutlet, static: true }], ngImport: i0 });
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuModalPanelComponent, decorators: [{
|
|
157
|
+
type: Directive
|
|
158
|
+
}], ctorParameters: function () {
|
|
159
|
+
return [{ type: ALuModalRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
160
|
+
type: Inject,
|
|
161
|
+
args: [LU_MODAL_TRANSLATIONS]
|
|
162
|
+
}] }];
|
|
163
|
+
}, propDecorators: { _outlet: [{
|
|
164
|
+
type: ViewChild,
|
|
165
|
+
args: ['outlet', { read: CdkPortalOutlet, static: true }]
|
|
166
|
+
}] } });
|
|
167
|
+
class LuModalPanelComponent extends ALuModalPanelComponent {
|
|
168
|
+
constructor(_ref, _cdr, intl) {
|
|
169
|
+
super(_ref, _cdr, intl);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
LuModalPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalPanelComponent, deps: [{ token: ALuModalRef }, { token: i0.ChangeDetectorRef }, { token: LuModalIntl }], target: i0.ɵɵFactoryTarget.Component });
|
|
173
|
+
LuModalPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuModalPanelComponent, selector: "lu-modal-panel", host: { classAttribute: "lu-modal-panel" }, usesInheritance: true, ngImport: i0, template: "<div class=\"lu-modal-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\">\r\n\t\t<h3 class=\"lu-modal-header-title\">{{title}}</h3>\r\n\t\t<button class=\"lu-modal-header-close\" (click)=\"dismiss()\"><span aria-hidden=\"true\" class=\"lucca-icon\">cross</span><span class=\"u-mask\">Close</span></button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container cdkPortalOutlet #outlet></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{submitPalette}}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{submitLabel}}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{submitCounter}}</label>\r\n\t\t</button>\r\n\t\t<button class=\"button mod-link\" (click)=\"dismiss()\">{{cancelLabel}}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], directives: [{ type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalPanelComponent, decorators: [{
|
|
175
|
+
type: Component,
|
|
176
|
+
args: [{ selector: 'lu-modal-panel', host: { 'class': 'lu-modal-panel' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"lu-modal-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\">\r\n\t\t<h3 class=\"lu-modal-header-title\">{{title}}</h3>\r\n\t\t<button class=\"lu-modal-header-close\" (click)=\"dismiss()\"><span aria-hidden=\"true\" class=\"lucca-icon\">cross</span><span class=\"u-mask\">Close</span></button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container cdkPortalOutlet #outlet></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{submitPalette}}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{submitLabel}}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{submitCounter}}</label>\r\n\t\t</button>\r\n\t\t<button class=\"button mod-link\" (click)=\"dismiss()\">{{cancelLabel}}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""] }]
|
|
177
|
+
}], ctorParameters: function () {
|
|
178
|
+
return [{ type: ALuModalRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
179
|
+
type: Inject,
|
|
180
|
+
args: [LuModalIntl]
|
|
181
|
+
}] }];
|
|
182
|
+
} });
|
|
183
|
+
class LuModalPanelComponentDefaultCD extends ALuModalPanelComponent {
|
|
184
|
+
constructor(_ref, _cdr, intl) {
|
|
185
|
+
super(_ref, _cdr, intl);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
LuModalPanelComponentDefaultCD.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalPanelComponentDefaultCD, deps: [{ token: ALuModalRef }, { token: i0.ChangeDetectorRef }, { token: LuModalIntl }], target: i0.ɵɵFactoryTarget.Component });
|
|
189
|
+
LuModalPanelComponentDefaultCD.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuModalPanelComponentDefaultCD, selector: "lu-modal-panel-default", host: { classAttribute: "lu-modal-panel" }, usesInheritance: true, ngImport: i0, template: "<div class=\"lu-modal-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\">\r\n\t\t<h3 class=\"lu-modal-header-title\">{{title}}</h3>\r\n\t\t<button class=\"lu-modal-header-close\" (click)=\"dismiss()\"><span aria-hidden=\"true\" class=\"lucca-icon\">cross</span><span class=\"u-mask\">Close</span></button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container cdkPortalOutlet #outlet></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{submitPalette}}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{submitLabel}}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{submitCounter}}</label>\r\n\t\t</button>\r\n\t\t<button class=\"button mod-link\" (click)=\"dismiss()\">{{cancelLabel}}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], directives: [{ type: i2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalPanelComponentDefaultCD, decorators: [{
|
|
191
|
+
type: Component,
|
|
192
|
+
args: [{ selector: 'lu-modal-panel-default', host: { 'class': 'lu-modal-panel' }, changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"lu-modal-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\">\r\n\t\t<h3 class=\"lu-modal-header-title\">{{title}}</h3>\r\n\t\t<button class=\"lu-modal-header-close\" (click)=\"dismiss()\"><span aria-hidden=\"true\" class=\"lucca-icon\">cross</span><span class=\"u-mask\">Close</span></button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container cdkPortalOutlet #outlet></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{submitPalette}}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{submitLabel}}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{submitCounter}}</label>\r\n\t\t</button>\r\n\t\t<button class=\"button mod-link\" (click)=\"dismiss()\">{{cancelLabel}}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""] }]
|
|
193
|
+
}], ctorParameters: function () {
|
|
194
|
+
return [{ type: ALuModalRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
195
|
+
type: Inject,
|
|
196
|
+
args: [LuModalIntl]
|
|
197
|
+
}] }];
|
|
198
|
+
} });
|
|
199
|
+
|
|
200
|
+
class LuModalRef extends ALuPopupRef {
|
|
201
|
+
constructor(_overlay, _injector, _component, _config) {
|
|
202
|
+
super(_overlay, _injector, _component, _config);
|
|
203
|
+
this._overlay = _overlay;
|
|
204
|
+
this._injector = _injector;
|
|
205
|
+
this._component = _component;
|
|
206
|
+
this._config = _config;
|
|
207
|
+
}
|
|
208
|
+
_openPopup(data) {
|
|
209
|
+
const injector = Injector.create({ providers: [{ provide: ALuModalRef, useValue: this }, { provide: LU_MODAL_DATA, useValue: data }], parent: this._injector });
|
|
210
|
+
if (this._config.changeDetection === ChangeDetectionStrategy.OnPush) {
|
|
211
|
+
const containerPortal = new ComponentPortal(LuModalPanelComponent, undefined, injector);
|
|
212
|
+
this._containerRef = this._overlayRef.attach(containerPortal);
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
const containerPortal = new ComponentPortal(LuModalPanelComponentDefaultCD, undefined, injector);
|
|
216
|
+
this._containerRef = this._overlayRef.attach(containerPortal);
|
|
217
|
+
}
|
|
218
|
+
this._containerOutlet = this._containerRef.instance;
|
|
219
|
+
const portal = new ComponentPortal(this._component, undefined, injector);
|
|
220
|
+
this._componentRef = this._containerOutlet.attach(portal);
|
|
221
|
+
}
|
|
222
|
+
_closePopup() {
|
|
223
|
+
this._componentRef.destroy();
|
|
224
|
+
this._containerRef.destroy();
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
class LuModalRefFactory {
|
|
228
|
+
constructor(_overlay, _injector) {
|
|
229
|
+
this._overlay = _overlay;
|
|
230
|
+
this._injector = _injector;
|
|
231
|
+
}
|
|
232
|
+
forge(component, config) {
|
|
233
|
+
return new LuModalRef(this._overlay, this._injector, component, config);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
LuModalRefFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
237
|
+
LuModalRefFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalRefFactory });
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalRefFactory, decorators: [{
|
|
239
|
+
type: Injectable
|
|
240
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.Injector }]; } });
|
|
241
|
+
|
|
242
|
+
class ALuModalLabel {
|
|
243
|
+
}
|
|
244
|
+
const luModalTranslations = {
|
|
245
|
+
en: {
|
|
246
|
+
submit: 'Ok',
|
|
247
|
+
cancel: 'Cancel',
|
|
248
|
+
},
|
|
249
|
+
fr: {
|
|
250
|
+
submit: 'Ok',
|
|
251
|
+
cancel: 'Annuler',
|
|
252
|
+
},
|
|
253
|
+
es: {
|
|
254
|
+
submit: 'Ok',
|
|
255
|
+
cancel: 'Cancelar',
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
class LuModalModule {
|
|
260
|
+
}
|
|
261
|
+
LuModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
262
|
+
LuModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalModule, declarations: [LuModalPanelComponent,
|
|
263
|
+
LuModalPanelComponentDefaultCD], imports: [OverlayModule,
|
|
264
|
+
PortalModule,
|
|
265
|
+
CommonModule,
|
|
266
|
+
A11yModule], exports: [LuModalPanelComponent,
|
|
267
|
+
LuModalPanelComponentDefaultCD] });
|
|
268
|
+
LuModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalModule, providers: [
|
|
269
|
+
LuModal,
|
|
270
|
+
LuModalIntl,
|
|
271
|
+
{ provide: LU_MODAL_CONFIG, useValue: luDefaultModalConfig },
|
|
272
|
+
{ provide: LU_MODAL_REF_FACTORY, useClass: LuModalRefFactory },
|
|
273
|
+
{ provide: LU_MODAL_TRANSLATIONS, useValue: luModalTranslations },
|
|
274
|
+
], imports: [[
|
|
275
|
+
OverlayModule,
|
|
276
|
+
PortalModule,
|
|
277
|
+
CommonModule,
|
|
278
|
+
A11yModule,
|
|
279
|
+
]] });
|
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuModalModule, decorators: [{
|
|
281
|
+
type: NgModule,
|
|
282
|
+
args: [{
|
|
283
|
+
imports: [
|
|
284
|
+
OverlayModule,
|
|
285
|
+
PortalModule,
|
|
286
|
+
CommonModule,
|
|
287
|
+
A11yModule,
|
|
288
|
+
],
|
|
289
|
+
declarations: [
|
|
290
|
+
LuModalPanelComponent,
|
|
291
|
+
LuModalPanelComponentDefaultCD,
|
|
292
|
+
],
|
|
293
|
+
entryComponents: [
|
|
294
|
+
LuModalPanelComponent,
|
|
295
|
+
LuModalPanelComponentDefaultCD,
|
|
296
|
+
],
|
|
297
|
+
exports: [
|
|
298
|
+
LuModalPanelComponent,
|
|
299
|
+
LuModalPanelComponentDefaultCD,
|
|
300
|
+
],
|
|
301
|
+
providers: [
|
|
302
|
+
LuModal,
|
|
303
|
+
LuModalIntl,
|
|
304
|
+
{ provide: LU_MODAL_CONFIG, useValue: luDefaultModalConfig },
|
|
305
|
+
{ provide: LU_MODAL_REF_FACTORY, useClass: LuModalRefFactory },
|
|
306
|
+
{ provide: LU_MODAL_TRANSLATIONS, useValue: luModalTranslations },
|
|
307
|
+
]
|
|
308
|
+
}]
|
|
309
|
+
}] });
|
|
310
|
+
|
|
311
|
+
/*
|
|
312
|
+
* Public API Surface of safe-content
|
|
313
|
+
*/
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Generated bundle index. Do not edit.
|
|
317
|
+
*/
|
|
318
|
+
|
|
319
|
+
export { ALuModalLabel, ALuModalPanelComponent, ALuModalRef, LU_MODAL_CONFIG, LU_MODAL_DATA, LU_MODAL_REF_FACTORY, LU_MODAL_TRANSLATIONS, LuModal, LuModalIntl, LuModalModule, LuModalPanelComponent, LuModalPanelComponentDefaultCD, LuModalRefFactory, luDefaultModalConfig, luModalTranslations };
|
|
320
|
+
//# sourceMappingURL=lucca-front-ng-modal.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-modal.mjs","sources":["../../../packages/ng/modal/src/lib/modal.token.ts","../../../packages/ng/modal/src/lib/modal.service.ts","../../../packages/ng/modal/src/lib/modal-config.default.ts","../../../packages/ng/modal/src/lib/modal.intl.ts","../../../packages/ng/modal/src/lib/modal-ref.model.ts","../../../packages/ng/modal/src/lib/modal-panel.component.ts","../../../packages/ng/modal/src/lib/modal-panel.component.html","../../../packages/ng/modal/src/lib/modal-ref.factory.ts","../../../packages/ng/modal/src/lib/modal.translate.ts","../../../packages/ng/modal/src/lib/modal.module.ts","../../../packages/ng/modal/src/public-api.ts","../../../packages/ng/modal/src/lucca-front-ng-modal.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\n\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_MODAL_DATA = new InjectionToken<any>('LuModalData');\r\nexport const LU_MODAL_CONFIG = new InjectionToken<any>('LuModalDefaultConfig');\r\nexport const LU_MODAL_REF_FACTORY = new InjectionToken<any>('LuModalRefFactory');\r\nexport const LU_MODAL_TRANSLATIONS = new InjectionToken('LuModalTranslations');\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { LuPopup, ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuModalConfig } from './modal-config.model';\r\nimport { LU_MODAL_CONFIG, LU_MODAL_REF_FACTORY } from './modal.token';\r\n\r\n@Injectable()\r\nexport class LuModal<C extends ILuModalConfig = ILuModalConfig> extends LuPopup<C> {\r\n\tconstructor(\r\n\t\t@Inject(LU_MODAL_REF_FACTORY) protected override _factory: ILuPopupRefFactory,\r\n\t\t@Inject(LU_MODAL_CONFIG) protected override _config: ILuModalConfig,\r\n\t) {\r\n\t\tsuper(_factory, _config);\r\n\t}\r\n}\r\n","import { ILuModalConfig } from './modal-config.model';\r\nimport { ChangeDetectionStrategy } from '@angular/core';\r\n\r\nexport const luDefaultModalConfig: ILuModalConfig = {\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\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n};\r\n","import { Injectable, LOCALE_ID, Inject } from '@angular/core';\r\nimport { LU_MODAL_TRANSLATIONS } from './modal.token';\r\nimport { ILuModalLabel } from './modal.translate';\r\nimport { ALuIntl } from '@lucca-front/ng/core';\r\n\r\n@Injectable()\r\nexport class LuModalIntl extends ALuIntl<ILuModalLabel> {\r\n\tconstructor(@Inject(LU_MODAL_TRANSLATIONS) translations, @Inject(LOCALE_ID) locale) {\r\n\t\tsuper(translations, locale);\r\n\t}\r\n}\r\n","import { ILuPopupRef, ALuPopupRef } from '@lucca-front/ng/popup';\r\nimport { ILuModalContent } from './modal.model';\r\n\r\nexport interface ILuModalRef<T extends ILuModalContent = ILuModalContent, D = any, R = any> extends ILuPopupRef<T, D, R> {}\r\nexport abstract class ALuModalRef<T extends ILuModalContent = ILuModalContent, D = any, R = any> extends ALuPopupRef<T, D, R> implements ILuModalRef<T, D, R> {}\r\n","import { Component, ViewChild, ComponentRef, OnDestroy, ChangeDetectionStrategy, ChangeDetectorRef, Inject, Directive } from '@angular/core';\r\nimport { PortalOutlet, CdkPortalOutlet, Portal } from '@angular/cdk/portal';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { ALuModalRef } from './modal-ref.model';\r\nimport { LuModalIntl } from './modal.intl';\r\nimport { ILuModalLabel } from './modal.translate';\r\nimport { Subject, timer, Observable, Subscription } from 'rxjs';\r\nimport { tap, delay } from 'rxjs/operators';\r\nimport { LU_MODAL_TRANSLATIONS } from './modal.token';\r\n\r\n@Directive()\r\nexport abstract class ALuModalPanelComponent<T extends ILuModalContent = ILuModalContent> implements PortalOutlet, OnDestroy {\r\n\t@ViewChild('outlet', { read: CdkPortalOutlet, static: true }) protected _outlet: PortalOutlet;\r\n\tprotected _componentInstance: T;\r\n\tget title() {\r\n\t\treturn this._componentInstance.title;\r\n\t}\r\n\tget submitLabel() {\r\n\t\treturn this._componentInstance.submitLabel || this.intl.submit;\r\n\t}\r\n\tget cancelLabel() {\r\n\t\treturn this._componentInstance.cancelLabel || this.intl.cancel;\r\n\t}\r\n\tget isSubmitDisabled() {\r\n\t\treturn this._componentInstance.submitDisabled;\r\n\t}\r\n\tget isSubmitHidden() {\r\n\t\treturn !this._componentInstance.submitAction;\r\n\t}\r\n\tget submitPalette() {\r\n\t\treturn this._componentInstance.submitPalette || 'primary';\r\n\t}\r\n\tget hasSubmitCounter() {\r\n\t\treturn !!this._componentInstance.submitCounter;\r\n\t}\r\n\tget submitCounter() {\r\n\t\treturn this._componentInstance.submitCounter || 0;\r\n\t}\r\n\t\r\n\tsubmitClass$ = new Subject();\r\n\terror$ = new Subject();\r\n\r\n\tprivate _subs = new Subscription();\r\n\r\n\tconstructor(\r\n\t\tprotected _ref: ALuModalRef<LuModalPanelComponent>,\r\n\t\tprotected _cdr: ChangeDetectorRef,\r\n\t\t@Inject(LU_MODAL_TRANSLATIONS) public intl: ILuModalLabel,\r\n\t) {}\r\n\tattach<U extends T = T>(portal: Portal<U>) {\r\n\t\tconst ref = this._outlet.attach(portal) as ComponentRef<U>;\r\n\t\tthis._componentInstance = ref.instance;\r\n\t\treturn ref;\r\n\t}\r\n\tdetach() {\r\n\t\treturn this._outlet.detach();\r\n\t}\r\n\tdispose() {\r\n\t\treturn this._outlet.dispose();\r\n\t}\r\n\thasAttached() {\r\n\t\treturn this._outlet.hasAttached();\r\n\t}\r\n\tngOnDestroy() {\r\n\t\tthis._subs.unsubscribe();\r\n\t\tthis.detach();\r\n\t\tthis.dispose();\r\n\t}\r\n\tdismiss() {\r\n\t\tthis._ref.dismiss();\r\n\t}\r\n\tsubmit() {\r\n\t\tthis.error$.next(undefined);\r\n\t\tthis.submitClass$.next('is-loading');\r\n\t\tconst result$ = this._componentInstance.submitAction();\r\n\t\tif (result$ instanceof Observable) {\r\n\t\t\tthis._subs.add(result$.pipe(\r\n\t\t\t\ttap(_ => this.submitClass$.next('is-success')),\r\n\t\t\t\ttap(() => this._cdr.markForCheck()),\r\n\t\t\t\tdelay(500),\r\n\t\t\t)\r\n\t\t\t.subscribe(result => {\r\n\t\t\t\tthis._ref.close(result);\r\n\t\t\t}, err => {\r\n\t\t\t\tthis.submitClass$.next('is-error');\r\n\t\t\t\tthis.error$.next(err);\r\n\t\t\t\tthis._cdr.markForCheck();\r\n\t\t\t\ttimer(2000).subscribe(_ => {\r\n\t\t\t\t\tthis.submitClass$.next('');\r\n\t\t\t\t\tthis._cdr.markForCheck();\r\n\t\t\t\t});\r\n\t\t\t}));\r\n\t\t} else {\r\n\t\t\tconst result = result$;\r\n\t\t\tthis._ref.close(result);\r\n\t\t}\r\n\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-modal-panel',\r\n\ttemplateUrl: './modal-panel.component.html',\r\n\tstyleUrls: ['./modal-panel.component.scss'],\r\n\thost: {'class': 'lu-modal-panel'},\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LuModalPanelComponent<T extends ILuModalContent = ILuModalContent> extends ALuModalPanelComponent<T> {\r\n\tconstructor(\r\n\t\t_ref: ALuModalRef<LuModalPanelComponent>,\r\n\t\t_cdr: ChangeDetectorRef,\r\n\t\t@Inject(LuModalIntl) intl: ILuModalLabel,\r\n\t) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n@Component({\r\n\tselector: 'lu-modal-panel-default',\r\n\ttemplateUrl: './modal-panel.component.html',\r\n\tstyleUrls: ['./modal-panel.component.scss'],\r\n\thost: {'class': 'lu-modal-panel'},\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n})\r\nexport class LuModalPanelComponentDefaultCD<T extends ILuModalContent = ILuModalContent> extends ALuModalPanelComponent<T> {\r\n\tconstructor(\r\n\t\t_ref: ALuModalRef<LuModalPanelComponent>,\r\n\t\t_cdr: ChangeDetectorRef,\r\n\t\t@Inject(LuModalIntl) intl: ILuModalLabel,\r\n\t) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n","<div class=\"lu-modal-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\">\r\n\t\t<h3 class=\"lu-modal-header-title\">{{title}}</h3>\r\n\t\t<button class=\"lu-modal-header-close\" (click)=\"dismiss()\"><span aria-hidden=\"true\" class=\"lucca-icon\">cross</span><span class=\"u-mask\">Close</span></button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container cdkPortalOutlet #outlet></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{submitPalette}}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{submitLabel}}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{submitCounter}}</label>\r\n\t\t</button>\r\n\t\t<button class=\"button mod-link\" (click)=\"dismiss()\">{{cancelLabel}}</button>\r\n\t</div>\r\n</div>\r\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\r\nimport { ComponentPortal, PortalOutlet } from '@angular/cdk/portal';\r\nimport { ChangeDetectionStrategy, ComponentRef, Injectable, Injector } from '@angular/core';\r\nimport { ALuPopupRef, ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuModalConfig } from './modal-config.model';\r\nimport { LuModalPanelComponent, LuModalPanelComponentDefaultCD } from './modal-panel.component';\r\nimport { ALuModalRef, ILuModalRef } from './modal-ref.model';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { LU_MODAL_DATA } from './modal.token';\r\n\r\nclass LuModalRef<T extends ILuModalContent = ILuModalContent, D = any, R = any> extends ALuPopupRef<T, D, R> implements ILuModalRef<T, D, R> {\r\n\tprotected _containerRef: ComponentRef<LuModalPanelComponent>;\r\n\tprotected _containerOutlet: PortalOutlet;\r\n\tconstructor(\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _injector: Injector,\r\n\t\tprotected override _component: ComponentType<T>,\r\n\t\tprotected override _config: ILuModalConfig,\r\n\t) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n\tprotected override _openPopup(data?: D) {\r\n\t\tconst injector = Injector.create({ providers: [{ provide: ALuModalRef, useValue: this }, { provide: LU_MODAL_DATA, useValue: data }], parent: this._injector });\r\n\t\tif (this._config.changeDetection === ChangeDetectionStrategy.OnPush) {\r\n\t\t\tconst containerPortal = new ComponentPortal(LuModalPanelComponent, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach<LuModalPanelComponent>(containerPortal);\r\n\t\t} else {\r\n\t\t\tconst containerPortal = new ComponentPortal(LuModalPanelComponentDefaultCD, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach<LuModalPanelComponent>(containerPortal);\r\n\t\t}\r\n\t\tthis._containerOutlet = this._containerRef.instance;\r\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\r\n\t\tthis._componentRef = this._containerOutlet.attach(portal) as ComponentRef<T>;\r\n\t}\r\n\tprotected override _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t\tthis._containerRef.destroy();\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuModalRefFactory implements ILuPopupRefFactory<ILuModalContent, ILuModalConfig> {\r\n\tconstructor(\r\n\t\tprotected _overlay: Overlay,\r\n\t\tprotected _injector: Injector,\r\n\t) { }\r\n\tforge<T extends ILuModalContent, C extends ILuModalConfig>(component: ComponentType<T>, config: C) {\r\n\t\treturn new LuModalRef(this._overlay, this._injector, component, config);\r\n\t}\r\n}\r\n","import { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport interface ILuModalLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n}\r\nexport abstract class ALuModalLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n}\r\n\r\nexport const luModalTranslations = {\r\n\ten: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancel',\r\n\t},\r\n\tfr: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Annuler',\r\n\t},\r\n\tes: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancelar',\r\n\t}\r\n} as ILuTranslation<ILuModalLabel>;\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { LuModal } from './modal.service';\r\nimport { LU_MODAL_CONFIG, LU_MODAL_TRANSLATIONS, LU_MODAL_REF_FACTORY } from './modal.token';\r\nimport { luDefaultModalConfig } from './modal-config.default';\r\nimport { LuModalPanelComponent, LuModalPanelComponentDefaultCD } from './modal-panel.component';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { PortalModule } from '@angular/cdk/portal';\r\nimport { LuModalRefFactory } from './modal-ref.factory';\r\nimport { LuModalIntl } from './modal.intl';\r\nimport { luModalTranslations } from './modal.translate';\r\nimport { CommonModule } from '@angular/common';\r\nimport { A11yModule } from '@angular/cdk/a11y';\r\n\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tOverlayModule,\r\n\t\tPortalModule,\r\n\t\tCommonModule,\r\n\t\tA11yModule,\r\n\t],\r\n\tdeclarations: [\r\n\t\tLuModalPanelComponent,\r\n\t\tLuModalPanelComponentDefaultCD,\r\n\t],\r\n\tentryComponents: [\r\n\t\tLuModalPanelComponent,\r\n\t\tLuModalPanelComponentDefaultCD,\r\n\t],\r\n\texports: [\r\n\t\tLuModalPanelComponent,\r\n\t\tLuModalPanelComponentDefaultCD,\r\n\t],\r\n\tproviders: [\r\n\t\tLuModal,\r\n\t\tLuModalIntl,\r\n\t\t{ provide: LU_MODAL_CONFIG, useValue: luDefaultModalConfig },\r\n\t\t{ provide: LU_MODAL_REF_FACTORY, useClass: LuModalRefFactory },\r\n\t\t{ provide: LU_MODAL_TRANSLATIONS, useValue: luModalTranslations },\r\n\t]\r\n})\r\nexport class LuModalModule {}\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":";;;;;;;;;;;;;;;AAEA;MACa,aAAa,GAAG,IAAI,cAAc,CAAM,aAAa,EAAE;MACvD,eAAe,GAAG,IAAI,cAAc,CAAM,sBAAsB,EAAE;MAClE,oBAAoB,GAAG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EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;wBAC9D,EAAE,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,mBAAmB,EAAE;qBACjE;iBACD;;;ACxCD;;;;ACAA;;;;;;"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { LOCALE_ID, Pipe, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import { formatNumber, getLocaleNumberSymbol, NumberSymbol, CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class LuNumberPipe {
|
|
6
|
+
constructor(locale) {
|
|
7
|
+
this.locale = locale;
|
|
8
|
+
}
|
|
9
|
+
transform(number, precision = 2) {
|
|
10
|
+
const formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);
|
|
11
|
+
const separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);
|
|
12
|
+
const split = formatted.split(separator);
|
|
13
|
+
const integral = split[0];
|
|
14
|
+
const decimal = split[1];
|
|
15
|
+
const hideDecimal = Math.round(number) === number;
|
|
16
|
+
if (precision > 0) {
|
|
17
|
+
return `${integral}<span class="decimal-part${hideDecimal ? ' u-hidden' : ''}">${separator}${decimal}</span>`;
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
return integral;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
LuNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuNumberPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
25
|
+
LuNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuNumberPipe, name: "luNumber" });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuNumberPipe, decorators: [{
|
|
27
|
+
type: Pipe,
|
|
28
|
+
args: [{
|
|
29
|
+
name: 'luNumber',
|
|
30
|
+
pure: true,
|
|
31
|
+
}]
|
|
32
|
+
}], ctorParameters: function () {
|
|
33
|
+
return [{ type: undefined, decorators: [{
|
|
34
|
+
type: Inject,
|
|
35
|
+
args: [LOCALE_ID]
|
|
36
|
+
}] }];
|
|
37
|
+
} });
|
|
38
|
+
|
|
39
|
+
class LuNumberModule {
|
|
40
|
+
}
|
|
41
|
+
LuNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
42
|
+
LuNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuNumberModule, declarations: [LuNumberPipe], imports: [CommonModule], exports: [LuNumberPipe] });
|
|
43
|
+
LuNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuNumberModule, imports: [[CommonModule]] });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuNumberModule, decorators: [{
|
|
45
|
+
type: NgModule,
|
|
46
|
+
args: [{
|
|
47
|
+
imports: [CommonModule],
|
|
48
|
+
declarations: [LuNumberPipe],
|
|
49
|
+
exports: [LuNumberPipe],
|
|
50
|
+
}]
|
|
51
|
+
}] });
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* Public API Surface of safe-content
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Generated bundle index. Do not edit.
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
export { LuNumberModule, LuNumberPipe };
|
|
62
|
+
//# sourceMappingURL=lucca-front-ng-number.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-number.mjs","sources":["../../../packages/ng/number/src/lib/number.pipe.ts","../../../packages/ng/number/src/lib/number.module.ts","../../../packages/ng/number/src/public-api.ts","../../../packages/ng/number/src/lucca-front-ng-number.ts"],"sourcesContent":["import { Pipe, PipeTransform, Inject, LOCALE_ID } from '@angular/core';\r\nimport { formatNumber, getLocaleNumberSymbol, NumberSymbol } from '@angular/common';\r\n\r\n@Pipe({\r\n\tname: 'luNumber',\r\n\tpure: true,\r\n})\r\nexport class LuNumberPipe implements PipeTransform {\r\n\tconstructor(@Inject(LOCALE_ID) protected locale) {}\r\n\ttransform(number: number, precision = 2) {\r\n\t\tconst formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);\r\n\t\tconst separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);\r\n\t\tconst split = formatted.split(separator);\r\n\t\tconst integral = split[0];\r\n\t\tconst decimal = split[1];\r\n\t\tconst hideDecimal = Math.round(number) === number;\r\n\t\tif (precision > 0) {\r\n\t\t\treturn `${integral}<span class=\"decimal-part${hideDecimal ? ' u-hidden' : ''}\">${separator}${decimal}</span>`;\r\n\t\t} else {\r\n\t\t\treturn integral;\r\n\t\t}\r\n\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { LuNumberPipe } from './number.pipe';\r\n\r\n@NgModule({\r\n\timports: [CommonModule],\r\n\tdeclarations: [LuNumberPipe],\r\n\texports: [LuNumberPipe],\r\n})\r\nexport class LuNumberModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,YAAY;IACxB,YAAyC,MAAM;QAAN,WAAM,GAAN,MAAM,CAAA;KAAI;IACnD,SAAS,CAAC,MAAc,EAAE,SAAS,GAAG,CAAC;QACtC,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,E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