@lucca-front/ng 7.2.0 → 8.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations/lucca-front-ng-animations.d.ts +1 -0
- package/animations/package.json +6 -10
- package/api/lib/api.module.d.ts +5 -0
- package/api/lib/select/api-select.module.d.ts +8 -0
- package/api/lib/select/feeder/api-feeder.component.d.ts +3 -0
- package/api/lib/select/feeder/api-feeder.module.d.ts +6 -0
- package/api/lib/select/input/api-select-input.component.d.ts +7 -6
- package/api/lib/select/input/api-select-input.module.d.ts +9 -0
- package/api/lib/select/pager/api-pager.component.d.ts +3 -0
- package/api/lib/select/pager/api-pager.module.d.ts +6 -0
- package/api/lib/select/searcher/api-searcher.component.d.ts +7 -3
- package/api/lib/select/searcher/api-searcher.model.d.ts +4 -5
- package/api/lib/select/searcher/api-searcher.module.d.ts +9 -0
- package/api/lib/service/api-hybrid.service.d.ts +3 -0
- package/api/lib/service/api-service.model.d.ts +2 -3
- package/api/lib/service/api-v3.service.d.ts +3 -0
- package/api/lib/service/api-v4.service.d.ts +3 -0
- package/api/lucca-front-ng-api.d.ts +1 -0
- package/api/package.json +6 -10
- package/core/lib/date/native/native-date.adapter.d.ts +3 -0
- package/core/lib/date/string/string-date.adapter.d.ts +3 -0
- package/core/lucca-front-ng-core.d.ts +1 -0
- package/core/package.json +6 -10
- package/date/lib/adapter/date-adapter.module.d.ts +5 -0
- package/date/lib/adapter/date-adapter.pipe.d.ts +3 -0
- package/date/lib/calendar/calendar-input.component.d.ts +6 -3
- package/date/lib/calendar/calendar-input.module.d.ts +7 -0
- package/date/lib/calendar/calendar-item.class.d.ts +1 -1
- package/date/lib/calendar/calendar-item.factory.d.ts +3 -0
- package/date/lib/date.module.d.ts +9 -0
- package/date/lib/input/date-input.directive.d.ts +3 -0
- package/date/lib/input/date-input.intl.d.ts +3 -0
- package/date/lib/input/date-input.module.d.ts +5 -0
- package/date/lib/picker/date-picker.component.d.ts +3 -0
- package/date/lib/picker/date-picker.module.d.ts +11 -0
- package/date/lib/select/date-select-input.component.d.ts +3 -0
- package/date/lib/select/date-select-input.intl.d.ts +3 -0
- package/date/lib/select/date-select-input.module.d.ts +9 -0
- package/date/lucca-front-ng-date.d.ts +1 -1
- package/date/package.json +6 -10
- package/department/lib/department.module.d.ts +5 -0
- package/department/lib/select/department-select.module.d.ts +6 -0
- package/department/lib/select/feeder/department-feeder.component.d.ts +3 -0
- package/department/lib/select/feeder/department-feeder.module.d.ts +6 -0
- package/department/lib/select/input/department-select-input.component.d.ts +8 -7
- package/department/lib/select/input/department-select-input.intl.d.ts +3 -0
- package/department/lib/select/input/department-select-input.module.d.ts +10 -0
- package/department/lib/service/department-v3.service.d.ts +3 -0
- package/department/lucca-front-ng-department.d.ts +1 -0
- package/department/package.json +6 -10
- package/dropdown/lib/dropdown.module.d.ts +7 -0
- package/dropdown/lib/item/dropdown-item.directive.d.ts +3 -0
- package/dropdown/lib/item/dropdown-item.module.d.ts +5 -0
- package/dropdown/lib/panel/dropdown-panel.component.d.ts +3 -0
- package/dropdown/lib/panel/dropdown-panel.module.d.ts +6 -0
- package/dropdown/lib/trigger/dropdown-trigger.directive.d.ts +3 -0
- package/dropdown/lib/trigger/dropdown-trigger.module.d.ts +6 -0
- package/dropdown/lucca-front-ng-dropdown.d.ts +1 -0
- package/dropdown/package.json +6 -10
- package/{animations/esm2015/index.js → esm2020/animations/index.mjs} +0 -0
- package/{animations/esm2015/lib/animation.factory.js → esm2020/animations/lib/animation.factory.mjs} +0 -0
- package/{animations/esm2015/lib/fade.animation.js → esm2020/animations/lib/fade.animation.mjs} +0 -0
- package/{animations/esm2015/lib/index.js → esm2020/animations/lib/index.mjs} +0 -0
- package/{animations/esm2015/lib/scale.animation.js → esm2020/animations/lib/scale.animation.mjs} +0 -0
- package/{animations/esm2015/lib/slide.animation.js → esm2020/animations/lib/slide.animation.mjs} +0 -0
- package/{animations/esm2015/lucca-front-ng-animations.js → esm2020/animations/lucca-front-ng-animations.mjs} +0 -0
- package/{animations/esm2015/public-api.js → esm2020/animations/public-api.mjs} +0 -0
- package/{api/esm2015/index.js → esm2020/api/index.mjs} +0 -0
- package/{api/esm2015/lib/api.model.js → esm2020/api/lib/api.model.mjs} +0 -0
- package/esm2020/api/lib/api.module.mjs +22 -0
- package/{api/esm2015/lib/index.js → esm2020/api/lib/index.mjs} +0 -0
- package/esm2020/api/lib/select/api-select.module.mjs +43 -0
- package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +78 -0
- package/{api/esm2015/lib/select/feeder/api-feeder.model.js → esm2020/api/lib/select/feeder/api-feeder.model.mjs} +0 -0
- package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +26 -0
- package/{api/esm2015/lib/select/feeder/index.js → esm2020/api/lib/select/feeder/index.mjs} +0 -0
- package/{api/esm2015/lib/select/index.js → esm2020/api/lib/select/index.mjs} +0 -0
- package/esm2020/api/lib/select/input/api-select-input.component.mjs +48 -0
- package/esm2020/api/lib/select/input/api-select-input.module.mjs +44 -0
- package/{api/esm2015/lib/select/input/index.js → esm2020/api/lib/select/input/index.mjs} +0 -0
- package/esm2020/api/lib/select/pager/api-pager.component.mjs +89 -0
- package/{api/esm2015/lib/select/pager/api-pager.model.js → esm2020/api/lib/select/pager/api-pager.model.mjs} +0 -0
- package/esm2020/api/lib/select/pager/api-pager.module.mjs +26 -0
- package/{api/esm2015/lib/select/pager/index.js → esm2020/api/lib/select/pager/index.mjs} +0 -0
- package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +210 -0
- package/esm2020/api/lib/select/searcher/api-searcher.model.mjs +69 -0
- package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +42 -0
- package/{api/esm2015/lib/select/searcher/index.js → esm2020/api/lib/select/searcher/index.mjs} +0 -0
- package/esm2020/api/lib/service/api-hybrid.service.mjs +59 -0
- package/esm2020/api/lib/service/api-service.model.mjs +3 -0
- package/esm2020/api/lib/service/api-v3.service.mjs +65 -0
- package/esm2020/api/lib/service/api-v4.service.mjs +55 -0
- package/{api/esm2015/lib/service/index.js → esm2020/api/lib/service/index.mjs} +0 -0
- package/{api/esm2015/lucca-front-ng-api.js → esm2020/api/lucca-front-ng-api.mjs} +0 -0
- package/{api/esm2015/public-api.js → esm2020/api/public-api.mjs} +0 -0
- package/{core/esm2015/index.js → esm2020/core/index.mjs} +0 -0
- package/{core/esm2015/lib/date/date-adapter.class.js → esm2020/core/lib/date/date-adapter.class.mjs} +0 -0
- package/{core/esm2015/lib/date/date-adapter.interface.js → esm2020/core/lib/date/date-adapter.interface.mjs} +0 -0
- package/{core/esm2015/lib/date/date-granularity.enum.js → esm2020/core/lib/date/date-granularity.enum.mjs} +0 -0
- package/{core/esm2015/lib/date/index.js → esm2020/core/lib/date/index.mjs} +0 -0
- package/{core/esm2015/lib/date/native/index.js → esm2020/core/lib/date/native/index.mjs} +0 -0
- package/esm2020/core/lib/date/native/native-date.adapter.mjs +228 -0
- package/{core/esm2015/lib/date/native/native-date.option.js → esm2020/core/lib/date/native/native-date.option.mjs} +0 -0
- package/{core/esm2015/lib/date/string/index.js → esm2020/core/lib/date/string/index.mjs} +0 -0
- package/esm2020/core/lib/date/string/string-date.adapter.mjs +81 -0
- package/{core/esm2015/lib/event/index.js → esm2020/core/lib/event/index.mjs} +0 -0
- package/{core/esm2015/lib/event/on-close.subscriber.js → esm2020/core/lib/event/on-close.subscriber.mjs} +0 -0
- package/{core/esm2015/lib/event/on-open.subscriber.js → esm2020/core/lib/event/on-open.subscriber.mjs} +0 -0
- package/{core/esm2015/lib/event/on-scroll-bottom.subscriber.js → esm2020/core/lib/event/on-scroll-bottom.subscriber.mjs} +0 -0
- package/{core/esm2015/lib/group/group.interface.js → esm2020/core/lib/group/group.interface.mjs} +0 -0
- package/{core/esm2015/lib/group/index.js → esm2020/core/lib/group/index.mjs} +0 -0
- package/{core/esm2015/lib/id/id.generator.js → esm2020/core/lib/id/id.generator.mjs} +0 -0
- package/{core/esm2015/lib/id/index.js → esm2020/core/lib/id/index.mjs} +0 -0
- package/{core/esm2015/lib/index.js → esm2020/core/lib/index.mjs} +0 -0
- package/{core/esm2015/lib/translate/index.js → esm2020/core/lib/translate/index.mjs} +0 -0
- package/esm2020/core/lib/translate/intl.model.mjs +13 -0
- package/{core/esm2015/lib/translate/translation.model.js → esm2020/core/lib/translate/translation.model.mjs} +0 -0
- package/{core/esm2015/lib/tree/index.js → esm2020/core/lib/tree/index.mjs} +0 -0
- package/{core/esm2015/lib/tree/tree.model.js → esm2020/core/lib/tree/tree.model.mjs} +0 -0
- package/{core/esm2015/lucca-front-ng-core.js → esm2020/core/lucca-front-ng-core.mjs} +0 -0
- package/{core/esm2015/public-api.js → esm2020/core/public-api.mjs} +0 -0
- package/{date/esm2015/index.js → esm2020/date/index.mjs} +0 -0
- package/esm2020/date/lib/adapter/date-adapter.module.mjs +20 -0
- package/esm2020/date/lib/adapter/date-adapter.pipe.mjs +24 -0
- package/{date/esm2015/lib/adapter/index.js → esm2020/date/lib/adapter/index.mjs} +0 -0
- package/esm2020/date/lib/calendar/calendar-input.component.mjs +331 -0
- package/esm2020/date/lib/calendar/calendar-input.module.mjs +36 -0
- package/esm2020/date/lib/calendar/calendar-item.class.mjs +41 -0
- package/esm2020/date/lib/calendar/calendar-item.factory.mjs +38 -0
- package/{date/esm2015/lib/calendar/calendar-item.interface.js → esm2020/date/lib/calendar/calendar-item.interface.mjs} +0 -0
- package/{date/esm2015/lib/calendar/index.js → esm2020/date/lib/calendar/index.mjs} +0 -0
- package/esm2020/date/lib/date.module.mjs +50 -0
- package/{date/esm2015/lib/index.js → esm2020/date/lib/index.mjs} +0 -0
- package/esm2020/date/lib/input/date-input.directive.mjs +138 -0
- package/esm2020/date/lib/input/date-input.intl.mjs +21 -0
- package/esm2020/date/lib/input/date-input.module.mjs +31 -0
- package/{date/esm2015/lib/input/date-input.token.js → esm2020/date/lib/input/date-input.token.mjs} +0 -0
- package/{date/esm2015/lib/input/date-input.translate.js → esm2020/date/lib/input/date-input.translate.mjs} +0 -0
- package/{date/esm2015/lib/input/index.js → esm2020/date/lib/input/index.mjs} +0 -0
- package/esm2020/date/lib/picker/date-picker.component.mjs +104 -0
- package/esm2020/date/lib/picker/date-picker.module.mjs +46 -0
- package/{date/esm2015/lib/picker/index.js → esm2020/date/lib/picker/index.mjs} +0 -0
- package/esm2020/date/lib/select/date-select-input.component.mjs +100 -0
- package/esm2020/date/lib/select/date-select-input.intl.mjs +21 -0
- package/esm2020/date/lib/select/date-select-input.module.mjs +54 -0
- package/{date/esm2015/lib/select/date-select-input.token.js → esm2020/date/lib/select/date-select-input.token.mjs} +0 -0
- package/{date/esm2015/lib/select/date-select-input.translate.js → esm2020/date/lib/select/date-select-input.translate.mjs} +0 -0
- package/{date/esm2015/lib/select/index.js → esm2020/date/lib/select/index.mjs} +0 -0
- package/esm2020/date/lucca-front-ng-date.mjs +5 -0
- package/{date/esm2015/public-api.js → esm2020/date/public-api.mjs} +0 -0
- package/{department/esm2015/index.js → esm2020/department/index.mjs} +0 -0
- package/{department/esm2015/lib/department.model.js → esm2020/department/lib/department.model.mjs} +0 -0
- package/esm2020/department/lib/department.module.mjs +22 -0
- package/{department/esm2015/lib/index.js → esm2020/department/lib/index.mjs} +0 -0
- package/esm2020/department/lib/select/department-select.module.mjs +29 -0
- package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +72 -0
- package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +26 -0
- package/{department/esm2015/lib/select/feeder/index.js → esm2020/department/lib/select/feeder/index.mjs} +0 -0
- package/{department/esm2015/lib/select/index.js → esm2020/department/lib/select/index.mjs} +0 -0
- package/esm2020/department/lib/select/input/department-select-input.component.mjs +51 -0
- package/esm2020/department/lib/select/input/department-select-input.intl.mjs +21 -0
- package/esm2020/department/lib/select/input/department-select-input.module.mjs +64 -0
- package/{department/esm2015/lib/select/input/department-select-input.token.js → esm2020/department/lib/select/input/department-select-input.token.mjs} +0 -0
- package/{department/esm2015/lib/select/input/department-select-input.translate.js → esm2020/department/lib/select/input/department-select-input.translate.mjs} +0 -0
- package/{department/esm2015/lib/select/input/index.js → esm2020/department/lib/select/input/index.mjs} +0 -0
- package/{department/esm2015/lib/service/department-service.model.js → esm2020/department/lib/service/department-service.model.mjs} +0 -0
- package/esm2020/department/lib/service/department-v3.service.mjs +37 -0
- package/{department/esm2015/lib/service/index.js → esm2020/department/lib/service/index.mjs} +0 -0
- package/{department/esm2015/lucca-front-ng-department.js → esm2020/department/lucca-front-ng-department.mjs} +0 -0
- package/{department/esm2015/public-api.js → esm2020/department/public-api.mjs} +0 -0
- package/esm2020/dropdown/lib/dropdown.module.mjs +36 -0
- package/{dropdown/esm2015/lib/index.js → esm2020/dropdown/lib/index.mjs} +0 -0
- package/esm2020/dropdown/lib/item/dropdown-item.directive.mjs +55 -0
- package/{dropdown/esm2015/lib/item/dropdown-item.model.js → esm2020/dropdown/lib/item/dropdown-item.model.mjs} +0 -0
- package/esm2020/dropdown/lib/item/dropdown-item.module.mjs +21 -0
- package/{dropdown/esm2015/lib/item/index.js → esm2020/dropdown/lib/item/index.mjs} +0 -0
- package/esm2020/dropdown/lib/panel/dropdown-panel.component.mjs +109 -0
- package/{dropdown/esm2015/lib/panel/dropdown-panel.model.js → esm2020/dropdown/lib/panel/dropdown-panel.model.mjs} +0 -0
- package/esm2020/dropdown/lib/panel/dropdown-panel.module.mjs +26 -0
- package/{dropdown/esm2015/lib/panel/index.js → esm2020/dropdown/lib/panel/index.mjs} +0 -0
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.directive.mjs +105 -0
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.module.mjs +26 -0
- package/{dropdown/esm2015/lib/trigger/index.js → esm2020/dropdown/lib/trigger/index.mjs} +0 -0
- package/{dropdown/esm2015/lucca-front-ng-dropdown.js → esm2020/dropdown/lucca-front-ng-dropdown.mjs} +0 -0
- package/{dropdown/esm2015/public-api.js → esm2020/dropdown/public-api.mjs} +0 -0
- package/{establishment/esm2015/index.js → esm2020/establishment/index.mjs} +0 -0
- package/{establishment/esm2015/lib/establishment.model.js → esm2020/establishment/lib/establishment.model.mjs} +0 -0
- package/esm2020/establishment/lib/establishment.module.mjs +22 -0
- package/{establishment/esm2015/lib/index.js → esm2020/establishment/lib/index.mjs} +0 -0
- package/esm2020/establishment/lib/select/establishment-select.module.mjs +50 -0
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +49 -0
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +16 -0
- package/{establishment/esm2015/lib/select/for-legal-units/index.js → esm2020/establishment/lib/select/for-legal-units/index.mjs} +0 -0
- package/{establishment/esm2015/lib/select/index.js → esm2020/establishment/lib/select/index.mjs} +0 -0
- package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +122 -0
- package/esm2020/establishment/lib/select/input/establishment-select-input.intl.mjs +21 -0
- package/esm2020/establishment/lib/select/input/establishment-select-input.module.mjs +64 -0
- package/{establishment/esm2015/lib/select/input/establishment-select-input.token.js → esm2020/establishment/lib/select/input/establishment-select-input.token.mjs} +0 -0
- package/{establishment/esm2015/lib/select/input/establishment-select-input.translate.js → esm2020/establishment/lib/select/input/establishment-select-input.translate.mjs} +0 -0
- package/{establishment/esm2015/lib/select/input/index.js → esm2020/establishment/lib/select/input/index.mjs} +0 -0
- package/{establishment/esm2015/lib/select/legal-unit-selector/index.js → esm2020/establishment/lib/select/legal-unit-selector/index.mjs} +0 -0
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +102 -0
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +18 -0
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +169 -0
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +38 -0
- package/{establishment/esm2015/lib/select/searcher/index.js → esm2020/establishment/lib/select/searcher/index.mjs} +0 -0
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +90 -0
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.module.mjs +40 -0
- package/{establishment/esm2015/lib/select/select-all/establishment-select-all.translate.js → esm2020/establishment/lib/select/select-all/establishment-select-all.translate.mjs} +0 -0
- package/{establishment/esm2015/lib/select/select-all/index.js → esm2020/establishment/lib/select/select-all/index.mjs} +0 -0
- package/{establishment/esm2015/lib/service/establishment-service.model.js → esm2020/establishment/lib/service/establishment-service.model.mjs} +0 -0
- package/esm2020/establishment/lib/service/establishment.service.mjs +33 -0
- package/{establishment/esm2015/lib/service/index.js → esm2020/establishment/lib/service/index.mjs} +0 -0
- package/{establishment/esm2015/lib/service/legal-unit-service.model.js → esm2020/establishment/lib/service/legal-unit-service.model.mjs} +0 -0
- package/esm2020/establishment/lib/service/legal-unit.service.mjs +33 -0
- package/{establishment/esm2015/lucca-front-ng-establishment.js → esm2020/establishment/lucca-front-ng-establishment.mjs} +0 -0
- package/{establishment/esm2015/public-api.js → esm2020/establishment/public-api.mjs} +0 -0
- package/{formly/esm2015/index.js → esm2020/formly/index.mjs} +0 -0
- package/{formly/esm2015/lib/formly.config.js → esm2020/formly/lib/formly.config.mjs} +0 -0
- package/esm2020/formly/lib/formly.module.mjs +110 -0
- package/{formly/esm2015/lib/index.js → esm2020/formly/lib/index.mjs} +0 -0
- package/esm2020/formly/lib/types/api.mjs +33 -0
- package/esm2020/formly/lib/types/checkbox.mjs +21 -0
- package/esm2020/formly/lib/types/date.mjs +21 -0
- package/esm2020/formly/lib/types/department.mjs +21 -0
- package/esm2020/formly/lib/types/establishment.mjs +21 -0
- package/{formly/esm2015/lib/types/index.js → esm2020/formly/lib/types/index.mjs} +0 -0
- package/esm2020/formly/lib/types/input.mjs +25 -0
- package/esm2020/formly/lib/types/qualification.mjs +21 -0
- package/esm2020/formly/lib/types/radios.mjs +24 -0
- package/esm2020/formly/lib/types/select.mjs +27 -0
- package/esm2020/formly/lib/types/textarea.mjs +21 -0
- package/esm2020/formly/lib/types/user.mjs +21 -0
- package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +31 -0
- package/esm2020/formly/lib/wrappers/error.mjs +62 -0
- package/esm2020/formly/lib/wrappers/helper.mjs +27 -0
- package/esm2020/formly/lib/wrappers/icon.mjs +35 -0
- package/{formly/esm2015/lib/wrappers/index.js → esm2020/formly/lib/wrappers/index.mjs} +0 -0
- package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +31 -0
- package/esm2020/formly/lib/wrappers/suffix.mjs +30 -0
- package/esm2020/formly/lib/wrappers/textfield-layout.mjs +42 -0
- package/{formly/esm2015/lucca-front-ng-formly.js → esm2020/formly/lucca-front-ng-formly.mjs} +0 -0
- package/{formly/esm2015/public-api.js → esm2020/formly/public-api.mjs} +0 -0
- package/{input/esm2015/index.js → esm2020/input/index.mjs} +0 -0
- package/esm2020/input/lib/clearer/clearer.component.mjs +32 -0
- package/{input/esm2015/lib/clearer/clearer.model.js → esm2020/input/lib/clearer/clearer.model.mjs} +0 -0
- package/esm2020/input/lib/clearer/clearer.module.mjs +26 -0
- package/{input/esm2015/lib/clearer/index.js → esm2020/input/lib/clearer/index.mjs} +0 -0
- package/{input/esm2015/lib/displayer/index.js → esm2020/input/lib/displayer/index.mjs} +0 -0
- package/esm2020/input/lib/displayer/input-displayer.directive.mjs +58 -0
- package/{input/esm2015/lib/displayer/input-displayer.model.js → esm2020/input/lib/displayer/input-displayer.model.mjs} +0 -0
- package/esm2020/input/lib/displayer/input-displayer.module.mjs +17 -0
- package/{input/esm2015/lib/index.js → esm2020/input/lib/index.mjs} +0 -0
- package/esm2020/input/lib/input.directive.mjs +41 -0
- package/esm2020/input/lib/input.model.mjs +48 -0
- package/esm2020/input/lib/input.module.mjs +35 -0
- package/{input/esm2015/lucca-front-ng-input.js → esm2020/input/lucca-front-ng-input.mjs} +0 -0
- package/{input/esm2015/public-api.js → esm2020/input/public-api.mjs} +0 -0
- package/esm2020/lucca-front-ng.mjs +5 -0
- package/{material/esm2015/index.js → esm2020/material/index.mjs} +0 -0
- package/{material/esm2015/lib/index.js → esm2020/material/lib/index.mjs} +0 -0
- package/esm2020/material/lib/module.mjs +12 -0
- package/{material/esm2015/lucca-front-ng-material.js → esm2020/material/lucca-front-ng-material.mjs} +0 -0
- package/{material/esm2015/public-api.js → esm2020/material/public-api.mjs} +0 -0
- package/{modal/esm2015/index.js → esm2020/modal/index.mjs} +0 -0
- package/{modal/esm2015/lib/index.js → esm2020/modal/lib/index.mjs} +0 -0
- package/{modal/esm2015/lib/modal-config.default.js → esm2020/modal/lib/modal-config.default.mjs} +0 -0
- package/{modal/esm2015/lib/modal-config.model.js → esm2020/modal/lib/modal-config.model.mjs} +0 -0
- package/esm2020/modal/lib/modal-panel.component.mjs +130 -0
- package/esm2020/modal/lib/modal-ref.factory.mjs +50 -0
- package/{modal/esm2015/lib/modal-ref.model.js → esm2020/modal/lib/modal-ref.model.mjs} +0 -0
- package/esm2020/modal/lib/modal.intl.mjs +21 -0
- package/{modal/esm2015/lib/modal.model.js → esm2020/modal/lib/modal.model.mjs} +0 -0
- package/esm2020/modal/lib/modal.module.mjs +65 -0
- package/esm2020/modal/lib/modal.service.mjs +23 -0
- package/{modal/esm2015/lib/modal.token.js → esm2020/modal/lib/modal.token.mjs} +0 -0
- package/{modal/esm2015/lib/modal.translate.js → esm2020/modal/lib/modal.translate.mjs} +0 -0
- package/esm2020/modal/lucca-front-ng-modal.mjs +5 -0
- package/{modal/esm2015/public-api.js → esm2020/modal/public-api.mjs} +0 -0
- package/{number/esm2015/index.js → esm2020/number/index.mjs} +0 -0
- package/{number/esm2015/lib/index.js → esm2020/number/lib/index.mjs} +0 -0
- package/esm2020/number/lib/number.module.mjs +18 -0
- package/esm2020/number/lib/number.pipe.mjs +35 -0
- package/{number/esm2015/lucca-front-ng-number.js → esm2020/number/lucca-front-ng-number.mjs} +0 -0
- package/{number/esm2015/public-api.js → esm2020/number/public-api.mjs} +0 -0
- package/{option/esm2015/index.js → esm2020/option/index.mjs} +0 -0
- package/{option/esm2015/lib/index.js → esm2020/option/lib/index.mjs} +0 -0
- package/{option/esm2015/lib/item/index.js → esm2020/option/lib/item/index.mjs} +0 -0
- package/esm2020/option/lib/item/option-item.component.mjs +59 -0
- package/{option/esm2015/lib/item/option-item.model.js → esm2020/option/lib/item/option-item.model.mjs} +0 -0
- package/esm2020/option/lib/item/option-item.module.mjs +20 -0
- package/esm2020/option/lib/item/tree-option-item.component.mjs +117 -0
- package/esm2020/option/lib/item/tree-option-item.intl.mjs +21 -0
- package/{option/esm2015/lib/item/tree-option-item.model.js → esm2020/option/lib/item/tree-option-item.model.mjs} +0 -0
- package/esm2020/option/lib/item/tree-option-item.module.mjs +43 -0
- package/{option/esm2015/lib/item/tree-option-item.token.js → esm2020/option/lib/item/tree-option-item.token.mjs} +0 -0
- package/{option/esm2015/lib/item/tree-option-item.translate.js → esm2020/option/lib/item/tree-option-item.translate.mjs} +0 -0
- package/{option/esm2015/lib/operator/feeder/index.js → esm2020/option/lib/operator/feeder/index.mjs} +0 -0
- package/esm2020/option/lib/operator/feeder/option-feeder.component.mjs +33 -0
- package/esm2020/option/lib/operator/feeder/option-feeder.module.mjs +21 -0
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.component.mjs +33 -0
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.module.mjs +20 -0
- package/esm2020/option/lib/operator/for-groups/for-groups.directive.mjs +80 -0
- package/esm2020/option/lib/operator/for-groups/for-groups.module.mjs +21 -0
- package/{option/esm2015/lib/operator/for-groups/index.js → esm2020/option/lib/operator/for-groups/index.mjs} +0 -0
- package/esm2020/option/lib/operator/for-options/for-options.directive.mjs +49 -0
- package/esm2020/option/lib/operator/for-options/for-options.module.mjs +21 -0
- package/esm2020/option/lib/operator/for-options/for-tree-options.directive.mjs +28 -0
- package/esm2020/option/lib/operator/for-options/for-tree-options.module.mjs +21 -0
- package/{option/esm2015/lib/operator/for-options/index.js → esm2020/option/lib/operator/for-options/index.mjs} +0 -0
- package/{option/esm2015/lib/operator/index.js → esm2020/option/lib/operator/index.mjs} +0 -0
- package/{option/esm2015/lib/operator/option-operator.model.js → esm2020/option/lib/operator/option-operator.model.mjs} +0 -0
- package/esm2020/option/lib/operator/option-operator.module.mjs +50 -0
- package/{option/esm2015/lib/operator/pager/index.js → esm2020/option/lib/operator/pager/index.mjs} +0 -0
- package/esm2020/option/lib/operator/pager/option-pager.component.mjs +52 -0
- package/esm2020/option/lib/operator/pager/option-pager.module.mjs +20 -0
- package/esm2020/option/lib/operator/pager/tree-option-pager.component.mjs +68 -0
- package/esm2020/option/lib/operator/pager/tree-option-pager.module.mjs +21 -0
- package/{option/esm2015/lib/operator/searcher/index.js → esm2020/option/lib/operator/searcher/index.mjs} +0 -0
- package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +65 -0
- package/esm2020/option/lib/operator/searcher/option-searcher.module.mjs +34 -0
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +80 -0
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.module.mjs +34 -0
- package/{option/esm2015/lib/operator/tree-option-operator.model.js → esm2020/option/lib/operator/tree-option-operator.model.mjs} +0 -0
- package/esm2020/option/lib/operator/tree-option-operator.module.mjs +43 -0
- package/esm2020/option/lib/option.module.mjs +50 -0
- package/{option/esm2015/lib/picker/index.js → esm2020/option/lib/picker/index.mjs} +0 -0
- package/esm2020/option/lib/picker/option-picker-advanced.component.mjs +142 -0
- package/esm2020/option/lib/picker/option-picker.component.mjs +289 -0
- package/esm2020/option/lib/picker/option-picker.model.mjs +69 -0
- package/esm2020/option/lib/picker/option-picker.module.mjs +49 -0
- package/esm2020/option/lib/picker/tree-option-picker-advanced.component.mjs +138 -0
- package/esm2020/option/lib/picker/tree-option-picker.component.mjs +171 -0
- package/esm2020/option/lib/picker/tree-option-picker.model.mjs +4 -0
- package/esm2020/option/lib/picker/tree-option-picker.module.mjs +43 -0
- package/{option/esm2015/lib/placeholder/index.js → esm2020/option/lib/placeholder/index.mjs} +0 -0
- package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +24 -0
- package/esm2020/option/lib/placeholder/option-placeholder.intl.mjs +21 -0
- package/esm2020/option/lib/placeholder/option-placeholder.module.mjs +30 -0
- package/{option/esm2015/lib/placeholder/option-placeholder.token.js → esm2020/option/lib/placeholder/option-placeholder.token.mjs} +0 -0
- package/{option/esm2015/lib/placeholder/option-placeholder.translate.js → esm2020/option/lib/placeholder/option-placeholder.translate.mjs} +0 -0
- package/{option/esm2015/lib/selector/all/index.js → esm2020/option/lib/selector/all/index.mjs} +0 -0
- package/esm2020/option/lib/selector/all/select-all.component.mjs +63 -0
- package/esm2020/option/lib/selector/all/select-all.intl.mjs +21 -0
- package/esm2020/option/lib/selector/all/select-all.module.mjs +30 -0
- package/{option/esm2015/lib/selector/all/select-all.token.js → esm2020/option/lib/selector/all/select-all.token.mjs} +0 -0
- package/{option/esm2015/lib/selector/all/select-all.translate.js → esm2020/option/lib/selector/all/select-all.translate.mjs} +0 -0
- package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +68 -0
- package/esm2020/option/lib/selector/all/tree-select-all.module.mjs +30 -0
- package/{option/esm2015/lib/selector/index.js → esm2020/option/lib/selector/index.mjs} +0 -0
- package/{option/esm2015/lib/selector/option-selector.model.js → esm2020/option/lib/selector/option-selector.model.mjs} +0 -0
- package/esm2020/option/lib/selector/option-selector.module.mjs +22 -0
- package/{option/esm2015/lib/selector/tree-option-selector.model.js → esm2020/option/lib/selector/tree-option-selector.model.mjs} +0 -0
- package/esm2020/option/lib/selector/tree-option-selector.module.mjs +22 -0
- package/esm2020/option/lib/tree-option.module.mjs +43 -0
- package/{option/esm2015/lucca-front-ng-option.js → esm2020/option/lucca-front-ng-option.mjs} +0 -0
- package/{option/esm2015/public-api.js → esm2020/option/public-api.mjs} +0 -0
- package/{picker/esm2015/index.js → esm2020/picker/index.mjs} +0 -0
- package/{picker/esm2015/lib/index.js → esm2020/picker/lib/index.mjs} +0 -0
- package/esm2020/picker/lib/input-picker.model.mjs +4 -0
- package/{picker/esm2015/lucca-front-ng-picker.js → esm2020/picker/lucca-front-ng-picker.mjs} +0 -0
- package/{picker/esm2015/public-api.js → esm2020/picker/public-api.mjs} +0 -0
- package/{popover/esm2015/index.js → esm2020/popover/index.mjs} +0 -0
- package/{popover/esm2015/lib/animation/index.js → esm2020/popover/lib/animation/index.mjs} +0 -0
- package/{popover/esm2015/lib/animation/popover.animation.js → esm2020/popover/lib/animation/popover.animation.mjs} +0 -0
- package/{popover/esm2015/lib/index.js → esm2020/popover/lib/index.mjs} +0 -0
- package/{popover/esm2015/lib/panel/index.js → esm2020/popover/lib/panel/index.mjs} +0 -0
- package/esm2020/popover/lib/panel/popover-panel.component.mjs +121 -0
- package/esm2020/popover/lib/panel/popover-panel.model.mjs +96 -0
- package/esm2020/popover/lib/panel/popover-panel.module.mjs +34 -0
- package/esm2020/popover/lib/popover.module.mjs +36 -0
- package/{popover/esm2015/lib/target/index.js → esm2020/popover/lib/target/index.mjs} +0 -0
- package/esm2020/popover/lib/target/popover-target.directive.mjs +42 -0
- package/{popover/esm2015/lib/target/popover-target.error.js → esm2020/popover/lib/target/popover-target.error.mjs} +0 -0
- package/{popover/esm2015/lib/target/popover-target.model.js → esm2020/popover/lib/target/popover-target.model.mjs} +0 -0
- package/esm2020/popover/lib/target/popover-target.module.mjs +30 -0
- package/{popover/esm2015/lib/trigger/index.js → esm2020/popover/lib/trigger/index.mjs} +0 -0
- package/esm2020/popover/lib/trigger/popover-trigger.directive.mjs +155 -0
- package/{popover/esm2015/lib/trigger/popover-trigger.error.js → esm2020/popover/lib/trigger/popover-trigger.error.mjs} +0 -0
- package/esm2020/popover/lib/trigger/popover-trigger.model.mjs +406 -0
- package/esm2020/popover/lib/trigger/popover-trigger.module.mjs +38 -0
- package/{popover/esm2015/lucca-front-ng-popover.js → esm2020/popover/lucca-front-ng-popover.mjs} +0 -0
- package/{popover/esm2015/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- package/{popup/esm2015/index.js → esm2020/popup/index.mjs} +0 -0
- package/{popup/esm2015/lib/index.js → esm2020/popup/lib/index.mjs} +0 -0
- package/{popup/esm2015/lib/popup-config.default.js → esm2020/popup/lib/popup-config.default.mjs} +0 -0
- package/{popup/esm2015/lib/popup-config.model.js → esm2020/popup/lib/popup-config.model.mjs} +0 -0
- package/esm2020/popup/lib/popup-ref.factory.mjs +28 -0
- package/esm2020/popup/lib/popup-ref.model.mjs +118 -0
- package/{popup/esm2015/lib/popup.model.js → esm2020/popup/lib/popup.model.mjs} +0 -0
- package/esm2020/popup/lib/popup.module.mjs +33 -0
- package/esm2020/popup/lib/popup.service.mjs +27 -0
- package/{popup/esm2015/lib/popup.token.js → esm2020/popup/lib/popup.token.mjs} +0 -0
- package/{popup/esm2015/lucca-front-ng-popup.js → esm2020/popup/lucca-front-ng-popup.mjs} +0 -0
- package/{popup/esm2015/public-api.js → esm2020/popup/public-api.mjs} +0 -0
- package/esm2020/public_api.mjs +2 -0
- package/{qualification/esm2015/index.js → esm2020/qualification/index.mjs} +0 -0
- package/{qualification/esm2015/lib/index.js → esm2020/qualification/lib/index.mjs} +0 -0
- package/{qualification/esm2015/lib/qualification.model.js → esm2020/qualification/lib/qualification.model.mjs} +0 -0
- package/esm2020/qualification/lib/qualification.module.mjs +22 -0
- package/{qualification/esm2015/lib/select/index.js → esm2020/qualification/lib/select/index.mjs} +0 -0
- package/{qualification/esm2015/lib/select/input/index.js → esm2020/qualification/lib/select/input/index.mjs} +0 -0
- package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +61 -0
- package/esm2020/qualification/lib/select/input/qualification-select-input.intl.mjs +21 -0
- package/esm2020/qualification/lib/select/input/qualification-select-input.module.mjs +55 -0
- package/{qualification/esm2015/lib/select/input/qualification-select-input.token.js → esm2020/qualification/lib/select/input/qualification-select-input.token.mjs} +0 -0
- package/{qualification/esm2015/lib/select/input/qualification-select-input.translate.js → esm2020/qualification/lib/select/input/qualification-select-input.translate.mjs} +0 -0
- package/esm2020/qualification/lib/select/qualification-select.module.mjs +22 -0
- package/{qualification/esm2015/lucca-front-ng-qualification.js → esm2020/qualification/lucca-front-ng-qualification.mjs} +0 -0
- package/{qualification/esm2015/public-api.js → esm2020/qualification/public-api.mjs} +0 -0
- package/{safe-content/esm2015/index.js → esm2020/safe-content/index.mjs} +0 -0
- package/{safe-content/esm2015/lib/index.js → esm2020/safe-content/lib/index.mjs} +0 -0
- package/{safe-content/esm2015/lib/safe-content.model.js → esm2020/safe-content/lib/safe-content.model.mjs} +0 -0
- package/esm2020/safe-content/lib/safe-content.module.mjs +19 -0
- package/esm2020/safe-content/lib/safe-content.pipe.mjs +25 -0
- package/{safe-content/esm2015/lucca-front-ng-safe-content.js → esm2020/safe-content/lucca-front-ng-safe-content.mjs} +0 -0
- package/{safe-content/esm2015/public-api.js → esm2020/safe-content/public-api.mjs} +0 -0
- package/{scroll/esm2015/index.js → esm2020/scroll/index.mjs} +0 -0
- package/{scroll/esm2015/lib/index.js → esm2020/scroll/lib/index.mjs} +0 -0
- package/esm2020/scroll/lib/scroll.directive.mjs +75 -0
- package/{scroll/esm2015/lib/scroll.model.js → esm2020/scroll/lib/scroll.model.mjs} +0 -0
- package/esm2020/scroll/lib/scroll.module.mjs +20 -0
- package/esm2020/scroll/lucca-front-ng-scroll.mjs +5 -0
- package/{scroll/esm2015/public-api.js → esm2020/scroll/public-api.mjs} +0 -0
- package/{select/esm2015/index.js → esm2020/select/index.mjs} +0 -0
- package/{select/esm2015/lib/index.js → esm2020/select/lib/index.mjs} +0 -0
- package/{select/esm2015/lib/input/index.js → esm2020/select/lib/input/index.mjs} +0 -0
- package/esm2020/select/lib/input/select-input.component.mjs +229 -0
- package/esm2020/select/lib/input/select-input.model.mjs +167 -0
- package/esm2020/select/lib/input/select-input.module.mjs +30 -0
- package/esm2020/select/lib/select.module.mjs +22 -0
- package/{select/esm2015/lucca-front-ng-select.js → esm2020/select/lucca-front-ng-select.mjs} +0 -0
- package/{select/esm2015/public-api.js → esm2020/select/public-api.mjs} +0 -0
- package/{sidepanel/esm2015/index.js → esm2020/sidepanel/index.mjs} +0 -0
- package/{sidepanel/esm2015/lib/index.js → esm2020/sidepanel/lib/index.mjs} +0 -0
- package/{sidepanel/esm2015/lib/sidepanel-config.default.js → esm2020/sidepanel/lib/sidepanel-config.default.mjs} +0 -0
- package/{sidepanel/esm2015/lib/sidepanel-config.model.js → esm2020/sidepanel/lib/sidepanel-config.model.mjs} +0 -0
- package/esm2020/sidepanel/lib/sidepanel-panel.component.mjs +37 -0
- package/esm2020/sidepanel/lib/sidepanel-ref.factory.mjs +49 -0
- package/{sidepanel/esm2015/lib/sidepanel-ref.model.js → esm2020/sidepanel/lib/sidepanel-ref.model.mjs} +0 -0
- package/esm2020/sidepanel/lib/sidepanel.intl.mjs +21 -0
- package/{sidepanel/esm2015/lib/sidepanel.model.js → esm2020/sidepanel/lib/sidepanel.model.mjs} +0 -0
- package/esm2020/sidepanel/lib/sidepanel.module.mjs +65 -0
- package/esm2020/sidepanel/lib/sidepanel.service.mjs +23 -0
- package/{sidepanel/esm2015/lib/sidepanel.token.js → esm2020/sidepanel/lib/sidepanel.token.mjs} +0 -0
- package/{sidepanel/esm2015/lib/sidepanel.translate.js → esm2020/sidepanel/lib/sidepanel.translate.mjs} +0 -0
- package/{sidepanel/esm2015/lucca-front-ng-sidepanel.js → esm2020/sidepanel/lucca-front-ng-sidepanel.mjs} +0 -0
- package/{sidepanel/esm2015/public-api.js → esm2020/sidepanel/public-api.mjs} +0 -0
- package/{tooltip/esm2015/index.js → esm2020/tooltip/index.mjs} +0 -0
- package/{tooltip/esm2015/lib/animation/index.js → esm2020/tooltip/lib/animation/index.mjs} +0 -0
- package/{tooltip/esm2015/lib/animation/tooltip.animation.js → esm2020/tooltip/lib/animation/tooltip.animation.mjs} +0 -0
- package/{tooltip/esm2015/lib/index.js → esm2020/tooltip/lib/index.mjs} +0 -0
- package/{tooltip/esm2015/lib/panel/index.js → esm2020/tooltip/lib/panel/index.mjs} +0 -0
- package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +53 -0
- package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +33 -0
- package/esm2020/tooltip/lib/tooltip.module.mjs +29 -0
- package/{tooltip/esm2015/lib/trigger/index.js → esm2020/tooltip/lib/trigger/index.mjs} +0 -0
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +141 -0
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.module.mjs +26 -0
- package/{tooltip/esm2015/lucca-front-ng-tooltip.js → esm2020/tooltip/lucca-front-ng-tooltip.mjs} +0 -0
- package/{tooltip/esm2015/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
- package/{user/esm2015/index.js → esm2020/user/index.mjs} +0 -0
- package/{user/esm2015/lib/display/display-format.model.js → esm2020/user/lib/display/display-format.model.mjs} +0 -0
- package/{user/esm2015/lib/display/index.js → esm2020/user/lib/display/index.mjs} +0 -0
- package/esm2020/user/lib/display/user-display.module.mjs +19 -0
- package/esm2020/user/lib/display/user-display.pipe.mjs +62 -0
- package/{user/esm2015/lib/index.js → esm2020/user/lib/index.mjs} +0 -0
- package/{user/esm2015/lib/picture/index.js → esm2020/user/lib/picture/index.mjs} +0 -0
- package/esm2020/user/lib/picture/user-picture.component.mjs +66 -0
- package/esm2020/user/lib/picture/user-picture.module.mjs +19 -0
- package/{user/esm2015/lib/select/homonyms/index.js → esm2020/user/lib/select/homonyms/index.mjs} +0 -0
- package/esm2020/user/lib/select/homonyms/user-homonyms.component.mjs +68 -0
- package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +30 -0
- package/esm2020/user/lib/select/homonyms/user-homonyms.service.mjs +47 -0
- package/{user/esm2015/lib/select/index.js → esm2020/user/lib/select/index.mjs} +0 -0
- package/{user/esm2015/lib/select/input/index.js → esm2020/user/lib/select/input/index.mjs} +0 -0
- package/esm2020/user/lib/select/input/user-select-input.component.mjs +69 -0
- package/esm2020/user/lib/select/input/user-select-input.intl.mjs +21 -0
- package/esm2020/user/lib/select/input/user-select-input.module.mjs +66 -0
- package/{user/esm2015/lib/select/input/user-select-input.token.js → esm2020/user/lib/select/input/user-select-input.token.mjs} +0 -0
- package/{user/esm2015/lib/select/input/user-select-input.translate.js → esm2020/user/lib/select/input/user-select-input.translate.mjs} +0 -0
- package/{user/esm2015/lib/select/me/index.js → esm2020/user/lib/select/me/index.mjs} +0 -0
- package/esm2020/user/lib/select/me/me-option.directive.mjs +97 -0
- package/esm2020/user/lib/select/me/me-option.module.mjs +22 -0
- package/{user/esm2015/lib/select/searcher/index.js → esm2020/user/lib/select/searcher/index.mjs} +0 -0
- package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +180 -0
- package/esm2020/user/lib/select/searcher/user-searcher.intl.mjs +21 -0
- package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +48 -0
- package/{user/esm2015/lib/select/searcher/user-searcher.token.js → esm2020/user/lib/select/searcher/user-searcher.token.mjs} +0 -0
- package/{user/esm2015/lib/select/searcher/user-searcher.translate.js → esm2020/user/lib/select/searcher/user-searcher.translate.mjs} +0 -0
- package/esm2020/user/lib/select/user-select.module.mjs +43 -0
- package/{user/esm2015/lib/service/index.js → esm2020/user/lib/service/index.mjs} +0 -0
- package/{user/esm2015/lib/service/user-service.model.js → esm2020/user/lib/service/user-service.model.mjs} +0 -0
- package/esm2020/user/lib/service/user-v3.service.mjs +48 -0
- package/{user/esm2015/lib/tile/index.js → esm2020/user/lib/tile/index.mjs} +0 -0
- package/esm2020/user/lib/tile/user-tile.component.mjs +67 -0
- package/esm2020/user/lib/tile/user-tile.module.mjs +20 -0
- package/{user/esm2015/lib/user.model.js → esm2020/user/lib/user.model.mjs} +0 -0
- package/esm2020/user/lib/user.module.mjs +43 -0
- package/{user/esm2015/lucca-front-ng-user.js → esm2020/user/lucca-front-ng-user.mjs} +0 -0
- package/{user/esm2015/public-api.js → esm2020/user/public-api.mjs} +0 -0
- package/establishment/lib/establishment.module.d.ts +5 -0
- package/establishment/lib/select/establishment-select.module.d.ts +9 -0
- package/establishment/lib/select/for-legal-units/for-legal-units.directive.d.ts +3 -2
- package/establishment/lib/select/for-legal-units/for-legal-units.module.d.ts +5 -0
- package/establishment/lib/select/input/establishment-select-input.component.d.ts +4 -1
- package/establishment/lib/select/input/establishment-select-input.intl.d.ts +3 -0
- package/establishment/lib/select/input/establishment-select-input.module.d.ts +13 -0
- package/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.d.ts +3 -0
- package/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.d.ts +6 -0
- package/establishment/lib/select/searcher/establishment-searcher.component.d.ts +3 -0
- package/establishment/lib/select/searcher/establishment-searcher.module.d.ts +9 -0
- package/establishment/lib/select/select-all/establishment-select-all.component.d.ts +3 -1
- package/establishment/lib/select/select-all/establishment-select-all.module.d.ts +8 -0
- package/establishment/lib/service/establishment.service.d.ts +3 -0
- package/establishment/lib/service/legal-unit.service.d.ts +3 -0
- package/establishment/lucca-front-ng-establishment.d.ts +1 -0
- package/establishment/package.json +6 -10
- package/fesm2015/lucca-front-ng-animations.mjs +276 -0
- package/fesm2015/lucca-front-ng-animations.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-api.mjs +901 -0
- package/fesm2015/lucca-front-ng-api.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-core.mjs +414 -0
- package/fesm2015/lucca-front-ng-core.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-date.mjs +1070 -0
- package/fesm2015/lucca-front-ng-date.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-department.mjs +327 -0
- package/fesm2015/lucca-front-ng-department.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-dropdown.mjs +370 -0
- package/fesm2015/lucca-front-ng-dropdown.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-establishment.mjs +854 -0
- package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-formly.mjs +624 -0
- package/fesm2015/lucca-front-ng-formly.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-input.mjs +260 -0
- package/fesm2015/lucca-front-ng-input.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-material.mjs +23 -0
- package/fesm2015/lucca-front-ng-material.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-modal.mjs +320 -0
- package/fesm2015/lucca-front-ng-modal.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-number.mjs +62 -0
- package/fesm2015/lucca-front-ng-number.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-option.mjs +2267 -0
- package/fesm2015/lucca-front-ng-option.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-picker.mjs +15 -0
- package/fesm2015/lucca-front-ng-picker.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-popover.mjs +1031 -0
- package/fesm2015/lucca-front-ng-popover.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-popup.mjs +220 -0
- package/fesm2015/lucca-front-ng-popup.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-qualification.mjs +195 -0
- package/fesm2015/lucca-front-ng-qualification.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-safe-content.mjs +52 -0
- package/fesm2015/lucca-front-ng-safe-content.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-scroll.mjs +103 -0
- package/fesm2015/lucca-front-ng-scroll.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-select.mjs +452 -0
- package/fesm2015/lucca-front-ng-select.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-sidepanel.mjs +226 -0
- package/fesm2015/lucca-front-ng-sidepanel.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-tooltip.mjs +297 -0
- package/fesm2015/lucca-front-ng-tooltip.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-user.mjs +1028 -0
- package/fesm2015/lucca-front-ng-user.mjs.map +1 -0
- package/fesm2015/lucca-front-ng.mjs +6 -0
- package/fesm2015/lucca-front-ng.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-animations.mjs +276 -0
- package/fesm2020/lucca-front-ng-animations.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-api.mjs +887 -0
- package/fesm2020/lucca-front-ng-api.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-core.mjs +410 -0
- package/fesm2020/lucca-front-ng-core.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-date.mjs +1060 -0
- package/fesm2020/lucca-front-ng-date.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-department.mjs +320 -0
- package/fesm2020/lucca-front-ng-department.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-dropdown.mjs +370 -0
- package/fesm2020/lucca-front-ng-dropdown.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-establishment.mjs +842 -0
- package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-formly.mjs +624 -0
- package/fesm2020/lucca-front-ng-formly.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-input.mjs +260 -0
- package/fesm2020/lucca-front-ng-input.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-material.mjs +23 -0
- package/fesm2020/lucca-front-ng-material.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-modal.mjs +310 -0
- package/fesm2020/lucca-front-ng-modal.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-number.mjs +60 -0
- package/fesm2020/lucca-front-ng-number.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-option.mjs +2237 -0
- package/fesm2020/lucca-front-ng-option.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-picker.mjs +15 -0
- package/fesm2020/lucca-front-ng-picker.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-popover.mjs +1031 -0
- package/fesm2020/lucca-front-ng-popover.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-popup.mjs +218 -0
- package/fesm2020/lucca-front-ng-popup.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-qualification.mjs +191 -0
- package/fesm2020/lucca-front-ng-qualification.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-safe-content.mjs +52 -0
- package/fesm2020/lucca-front-ng-safe-content.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-scroll.mjs +103 -0
- package/fesm2020/lucca-front-ng-scroll.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-select.mjs +452 -0
- package/fesm2020/lucca-front-ng-select.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-sidepanel.mjs +218 -0
- package/fesm2020/lucca-front-ng-sidepanel.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-tooltip.mjs +296 -0
- package/fesm2020/lucca-front-ng-tooltip.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-user.mjs +1015 -0
- package/fesm2020/lucca-front-ng-user.mjs.map +1 -0
- package/fesm2020/lucca-front-ng.mjs +6 -0
- package/fesm2020/lucca-front-ng.mjs.map +1 -0
- package/formly/lib/formly.module.d.ts +34 -0
- package/formly/lib/types/api.d.ts +3 -0
- package/formly/lib/types/checkbox.d.ts +3 -0
- package/formly/lib/types/date.d.ts +3 -0
- package/formly/lib/types/department.d.ts +3 -0
- package/formly/lib/types/establishment.d.ts +3 -0
- package/formly/lib/types/input.d.ts +3 -0
- package/formly/lib/types/qualification.d.ts +3 -0
- package/formly/lib/types/radios.d.ts +3 -0
- package/formly/lib/types/select.d.ts +3 -0
- package/formly/lib/types/textarea.d.ts +3 -0
- package/formly/lib/types/user.d.ts +3 -0
- package/formly/lib/wrappers/checkbox-layout.d.ts +3 -0
- package/formly/lib/wrappers/error.d.ts +5 -0
- package/formly/lib/wrappers/helper.d.ts +3 -0
- package/formly/lib/wrappers/icon.d.ts +3 -0
- package/formly/lib/wrappers/radiosfield-layout.d.ts +3 -0
- package/formly/lib/wrappers/suffix.d.ts +3 -0
- package/formly/lib/wrappers/textfield-layout.d.ts +3 -0
- package/formly/lucca-front-ng-formly.d.ts +1 -0
- package/formly/package.json +6 -10
- package/input/lib/clearer/clearer.component.d.ts +3 -0
- package/input/lib/clearer/clearer.module.d.ts +6 -0
- package/input/lib/displayer/input-displayer.directive.d.ts +3 -0
- package/input/lib/displayer/input-displayer.module.d.ts +5 -0
- package/input/lib/input.directive.d.ts +3 -0
- package/input/lib/input.model.d.ts +3 -3
- package/input/lib/input.module.d.ts +7 -0
- package/input/lucca-front-ng-input.d.ts +1 -0
- package/input/package.json +6 -10
- package/lucca-front-ng.d.ts +2 -1
- package/material/lib/module.d.ts +4 -0
- package/material/lucca-front-ng-material.d.ts +1 -0
- package/material/package.json +6 -10
- package/material/style/main-v11.overridable.scss +1 -1
- package/material/style/main-v11.scss +1 -1
- package/material/style/main.overridable.scss +1 -1
- package/material/style/main.scss +1 -1
- package/modal/lib/modal-panel.component.d.ts +7 -0
- package/modal/lib/modal-ref.factory.d.ts +9 -6
- package/modal/lib/modal.intl.d.ts +3 -0
- package/modal/lib/modal.module.d.ts +9 -0
- package/modal/lib/modal.service.d.ts +3 -0
- package/modal/lucca-front-ng-modal.d.ts +5 -0
- package/modal/package.json +7 -11
- package/number/lib/number.module.d.ts +6 -0
- package/number/lib/number.pipe.d.ts +3 -0
- package/number/lucca-front-ng-number.d.ts +1 -0
- package/number/package.json +6 -10
- package/option/lib/item/option-item.component.d.ts +3 -0
- package/option/lib/item/option-item.module.d.ts +5 -0
- package/option/lib/item/tree-option-item.component.d.ts +3 -0
- package/option/lib/item/tree-option-item.intl.d.ts +3 -0
- package/option/lib/item/tree-option-item.module.d.ts +7 -0
- package/option/lib/operator/feeder/option-feeder.component.d.ts +3 -0
- package/option/lib/operator/feeder/option-feeder.module.d.ts +5 -0
- package/option/lib/operator/feeder/tree-option-feeder.component.d.ts +3 -0
- package/option/lib/operator/feeder/tree-option-feeder.module.d.ts +5 -0
- package/option/lib/operator/for-groups/for-groups.directive.d.ts +3 -0
- package/option/lib/operator/for-groups/for-groups.module.d.ts +5 -0
- package/option/lib/operator/for-options/for-options.directive.d.ts +3 -0
- package/option/lib/operator/for-options/for-options.module.d.ts +5 -0
- package/option/lib/operator/for-options/for-tree-options.directive.d.ts +3 -0
- package/option/lib/operator/for-options/for-tree-options.module.d.ts +5 -0
- package/option/lib/operator/option-operator.module.d.ts +9 -0
- package/option/lib/operator/pager/option-pager.component.d.ts +3 -0
- package/option/lib/operator/pager/option-pager.module.d.ts +5 -0
- package/option/lib/operator/pager/tree-option-pager.component.d.ts +3 -0
- package/option/lib/operator/pager/tree-option-pager.module.d.ts +5 -0
- package/option/lib/operator/searcher/option-searcher.component.d.ts +3 -0
- package/option/lib/operator/searcher/option-searcher.module.d.ts +8 -0
- package/option/lib/operator/searcher/tree-option-searcher.component.d.ts +3 -0
- package/option/lib/operator/searcher/tree-option-searcher.module.d.ts +8 -0
- package/option/lib/operator/tree-option-operator.module.d.ts +8 -0
- package/option/lib/option.module.d.ts +9 -0
- package/option/lib/picker/option-picker-advanced.component.d.ts +9 -5
- package/option/lib/picker/option-picker.component.d.ts +12 -7
- package/option/lib/picker/option-picker.model.d.ts +5 -5
- package/option/lib/picker/option-picker.module.d.ts +11 -0
- package/option/lib/picker/tree-option-picker-advanced.component.d.ts +9 -5
- package/option/lib/picker/tree-option-picker.component.d.ts +11 -7
- package/option/lib/picker/tree-option-picker.model.d.ts +3 -3
- package/option/lib/picker/tree-option-picker.module.d.ts +10 -0
- package/option/lib/placeholder/option-placeholder.component.d.ts +3 -0
- package/option/lib/placeholder/option-placeholder.intl.d.ts +3 -0
- package/option/lib/placeholder/option-placeholder.module.d.ts +5 -0
- package/option/lib/selector/all/select-all.component.d.ts +3 -0
- package/option/lib/selector/all/select-all.intl.d.ts +3 -0
- package/option/lib/selector/all/select-all.module.d.ts +5 -0
- package/option/lib/selector/all/tree-select-all.component.d.ts +3 -0
- package/option/lib/selector/all/tree-select-all.module.d.ts +5 -0
- package/option/lib/selector/option-selector.module.d.ts +5 -0
- package/option/lib/selector/tree-option-selector.module.d.ts +5 -0
- package/option/lib/tree-option.module.d.ts +8 -0
- package/option/lucca-front-ng-option.d.ts +1 -0
- package/option/package.json +6 -10
- package/package.json +209 -12
- package/picker/lib/input-picker.model.d.ts +1 -1
- package/picker/lucca-front-ng-picker.d.ts +1 -0
- package/picker/package.json +6 -10
- package/popover/lib/panel/popover-panel.component.d.ts +3 -0
- package/popover/lib/panel/popover-panel.module.d.ts +8 -0
- package/popover/lib/popover.module.d.ts +7 -0
- package/popover/lib/target/popover-target.directive.d.ts +3 -0
- package/popover/lib/target/popover-target.module.d.ts +7 -0
- package/popover/lib/trigger/popover-trigger.directive.d.ts +3 -0
- package/popover/lib/trigger/popover-trigger.model.d.ts +7 -7
- package/popover/lib/trigger/popover-trigger.module.d.ts +9 -0
- package/popover/lucca-front-ng-popover.d.ts +1 -0
- package/popover/package.json +6 -10
- package/popup/lib/popup-ref.factory.d.ts +3 -0
- package/popup/lib/popup-ref.model.d.ts +3 -4
- package/popup/lib/popup.module.d.ts +5 -0
- package/popup/lib/popup.service.d.ts +3 -0
- package/popup/lucca-front-ng-popup.d.ts +1 -0
- package/popup/package.json +6 -10
- package/public_api.d.ts +2 -0
- package/qualification/lib/qualification.module.d.ts +5 -0
- package/qualification/lib/select/input/qualification-select-input.component.d.ts +4 -1
- package/qualification/lib/select/input/qualification-select-input.intl.d.ts +3 -0
- package/qualification/lib/select/input/qualification-select-input.module.d.ts +10 -0
- package/qualification/lib/select/qualification-select.module.d.ts +5 -0
- package/qualification/lucca-front-ng-qualification.d.ts +1 -0
- package/qualification/package.json +6 -10
- package/safe-content/lib/safe-content.module.d.ts +6 -0
- package/safe-content/lib/safe-content.pipe.d.ts +3 -0
- package/safe-content/lucca-front-ng-safe-content.d.ts +1 -0
- package/safe-content/package.json +6 -10
- package/schematics/collection.json +9 -0
- package/schematics/ng-add/file-content.js +17 -0
- package/schematics/ng-add/index.js +29 -0
- package/schematics/ng-add/tasks.js +42 -0
- package/scroll/lib/scroll.directive.d.ts +3 -0
- package/scroll/lib/scroll.module.d.ts +5 -0
- package/scroll/lucca-front-ng-scroll.d.ts +5 -0
- package/scroll/package.json +7 -11
- package/select/lib/input/select-input.component.d.ts +9 -4
- package/select/lib/input/select-input.model.d.ts +1 -1
- package/select/lib/input/select-input.module.d.ts +7 -0
- package/select/lib/select.module.d.ts +5 -0
- package/select/lucca-front-ng-select.d.ts +1 -0
- package/select/package.json +6 -10
- package/sidepanel/lib/sidepanel-panel.component.d.ts +5 -0
- package/sidepanel/lib/sidepanel-ref.factory.d.ts +9 -6
- package/sidepanel/lib/sidepanel.intl.d.ts +3 -0
- package/sidepanel/lib/sidepanel.module.d.ts +9 -0
- package/sidepanel/lib/sidepanel.service.d.ts +3 -0
- package/sidepanel/lucca-front-ng-sidepanel.d.ts +1 -0
- package/sidepanel/package.json +6 -10
- package/tooltip/lib/panel/tooltip-panel.component.d.ts +3 -0
- package/tooltip/lib/panel/tooltip-panel.module.d.ts +7 -0
- package/tooltip/lib/tooltip.module.d.ts +6 -0
- package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +3 -0
- package/tooltip/lib/trigger/tooltip-trigger.module.d.ts +6 -0
- package/tooltip/lucca-front-ng-tooltip.d.ts +1 -0
- package/tooltip/package.json +6 -10
- package/user/lib/display/user-display.module.d.ts +6 -0
- package/user/lib/display/user-display.pipe.d.ts +3 -0
- package/user/lib/picture/user-picture.component.d.ts +3 -0
- package/user/lib/picture/user-picture.module.d.ts +7 -0
- package/user/lib/select/homonyms/user-homonyms.component.d.ts +3 -0
- package/user/lib/select/homonyms/user-homonyms.module.d.ts +7 -0
- package/user/lib/select/homonyms/user-homonyms.service.d.ts +3 -0
- package/user/lib/select/input/user-select-input.component.d.ts +4 -2
- package/user/lib/select/input/user-select-input.intl.d.ts +3 -0
- package/user/lib/select/input/user-select-input.module.d.ts +12 -0
- package/user/lib/select/me/me-option.directive.d.ts +4 -1
- package/user/lib/select/me/me-option.module.d.ts +5 -0
- package/user/lib/select/searcher/user-searcher.component.d.ts +3 -0
- package/user/lib/select/searcher/user-searcher.intl.d.ts +3 -0
- package/user/lib/select/searcher/user-searcher.module.d.ts +9 -0
- package/user/lib/select/user-select.module.d.ts +8 -0
- package/user/lib/service/user-v3.service.d.ts +3 -0
- package/user/lib/tile/user-tile.component.d.ts +3 -0
- package/user/lib/tile/user-tile.module.d.ts +8 -0
- package/user/lib/user.module.d.ts +8 -0
- package/user/lucca-front-ng-user.d.ts +1 -0
- package/user/package.json +6 -10
- package/README.md +0 -1
- package/animations/bundles/lucca-front-ng-animations.umd.js +0 -611
- package/animations/bundles/lucca-front-ng-animations.umd.js.map +0 -1
- package/animations/fesm2015/lucca-front-ng-animations.js +0 -276
- package/animations/fesm2015/lucca-front-ng-animations.js.map +0 -1
- package/animations/lucca-front-ng-animations.metadata.json +0 -1
- package/api/bundles/lucca-front-ng-api.umd.js +0 -1268
- package/api/bundles/lucca-front-ng-api.umd.js.map +0 -1
- package/api/esm2015/lib/api.module.js +0 -15
- package/api/esm2015/lib/select/api-select.module.js +0 -24
- package/api/esm2015/lib/select/feeder/api-feeder.component.js +0 -52
- package/api/esm2015/lib/select/feeder/api-feeder.module.js +0 -19
- package/api/esm2015/lib/select/input/api-select-input.component.js +0 -45
- package/api/esm2015/lib/select/input/api-select-input.module.js +0 -28
- package/api/esm2015/lib/select/pager/api-pager.component.js +0 -58
- package/api/esm2015/lib/select/pager/api-pager.module.js +0 -19
- package/api/esm2015/lib/select/searcher/api-searcher.component.js +0 -142
- package/api/esm2015/lib/select/searcher/api-searcher.model.js +0 -69
- package/api/esm2015/lib/select/searcher/api-searcher.module.js +0 -27
- package/api/esm2015/lib/service/api-hybrid.service.js +0 -59
- package/api/esm2015/lib/service/api-service.model.js +0 -3
- package/api/esm2015/lib/service/api-v3.service.js +0 -65
- package/api/esm2015/lib/service/api-v4.service.js +0 -55
- package/api/fesm2015/lucca-front-ng-api.js +0 -704
- package/api/fesm2015/lucca-front-ng-api.js.map +0 -1
- package/api/lucca-front-ng-api.metadata.json +0 -1
- package/bundles/lucca-front-ng.umd.js +0 -32
- package/bundles/lucca-front-ng.umd.js.map +0 -1
- package/core/bundles/lucca-front-ng-core.umd.js +0 -759
- package/core/bundles/lucca-front-ng-core.umd.js.map +0 -1
- package/core/esm2015/lib/date/native/native-date.adapter.js +0 -221
- package/core/esm2015/lib/date/string/string-date.adapter.js +0 -78
- package/core/esm2015/lib/translate/intl.model.js +0 -13
- package/core/fesm2015/lucca-front-ng-core.js +0 -401
- package/core/fesm2015/lucca-front-ng-core.js.map +0 -1
- package/core/lucca-front-ng-core.metadata.json +0 -1
- package/date/bundles/lucca-front-ng-date.umd.js +0 -1360
- package/date/bundles/lucca-front-ng-date.umd.js.map +0 -1
- package/date/esm2015/lib/adapter/date-adapter.module.js +0 -15
- package/date/esm2015/lib/adapter/date-adapter.pipe.js +0 -23
- package/date/esm2015/lib/calendar/calendar-input.component.js +0 -322
- package/date/esm2015/lib/calendar/calendar-input.module.js +0 -25
- package/date/esm2015/lib/calendar/calendar-item.class.js +0 -41
- package/date/esm2015/lib/calendar/calendar-item.factory.js +0 -38
- package/date/esm2015/lib/date.module.js +0 -27
- package/date/esm2015/lib/input/date-input.directive.js +0 -118
- package/date/esm2015/lib/input/date-input.intl.js +0 -16
- package/date/esm2015/lib/input/date-input.module.js +0 -25
- package/date/esm2015/lib/picker/date-picker.component.js +0 -91
- package/date/esm2015/lib/picker/date-picker.module.js +0 -29
- package/date/esm2015/lib/select/date-select-input.component.js +0 -88
- package/date/esm2015/lib/select/date-select-input.intl.js +0 -16
- package/date/esm2015/lib/select/date-select-input.module.js +0 -36
- package/date/esm2015/lucca-front-ng-date.js +0 -6
- package/date/fesm2015/lucca-front-ng-date.js +0 -933
- package/date/fesm2015/lucca-front-ng-date.js.map +0 -1
- package/date/lucca-front-ng-date.metadata.json +0 -1
- package/department/bundles/lucca-front-ng-department.umd.js +0 -623
- package/department/bundles/lucca-front-ng-department.umd.js.map +0 -1
- package/department/esm2015/lib/department.module.js +0 -15
- package/department/esm2015/lib/select/department-select.module.js +0 -18
- package/department/esm2015/lib/select/feeder/department-feeder.component.js +0 -50
- package/department/esm2015/lib/select/feeder/department-feeder.module.js +0 -19
- package/department/esm2015/lib/select/input/department-select-input.component.js +0 -48
- package/department/esm2015/lib/select/input/department-select-input.intl.js +0 -16
- package/department/esm2015/lib/select/input/department-select-input.module.js +0 -39
- package/department/esm2015/lib/service/department-v3.service.js +0 -38
- package/department/fesm2015/lucca-front-ng-department.js +0 -246
- package/department/fesm2015/lucca-front-ng-department.js.map +0 -1
- package/department/lucca-front-ng-department.metadata.json +0 -1
- package/dropdown/bundles/lucca-front-ng-dropdown.umd.js +0 -706
- package/dropdown/bundles/lucca-front-ng-dropdown.umd.js.map +0 -1
- package/dropdown/esm2015/lib/dropdown.module.js +0 -21
- package/dropdown/esm2015/lib/item/dropdown-item.directive.js +0 -45
- package/dropdown/esm2015/lib/item/dropdown-item.module.js +0 -16
- package/dropdown/esm2015/lib/panel/dropdown-panel.component.js +0 -102
- package/dropdown/esm2015/lib/panel/dropdown-panel.module.js +0 -19
- package/dropdown/esm2015/lib/trigger/dropdown-trigger.directive.js +0 -86
- package/dropdown/esm2015/lib/trigger/dropdown-trigger.module.js +0 -19
- package/dropdown/fesm2015/lucca-front-ng-dropdown.js +0 -305
- package/dropdown/fesm2015/lucca-front-ng-dropdown.js.map +0 -1
- package/dropdown/lucca-front-ng-dropdown.metadata.json +0 -1
- package/esm2015/index.js +0 -2
- package/esm2015/lib/index.js +0 -2
- package/esm2015/lib/module.js +0 -10
- package/esm2015/lucca-front-ng.js +0 -5
- package/esm2015/public-api.js +0 -5
- package/establishment/bundles/lucca-front-ng-establishment.umd.js +0 -1104
- package/establishment/bundles/lucca-front-ng-establishment.umd.js.map +0 -1
- package/establishment/esm2015/lib/establishment.module.js +0 -15
- package/establishment/esm2015/lib/select/establishment-select.module.js +0 -27
- package/establishment/esm2015/lib/select/for-legal-units/for-legal-units.directive.js +0 -46
- package/establishment/esm2015/lib/select/for-legal-units/for-legal-units.module.js +0 -11
- package/establishment/esm2015/lib/select/input/establishment-select-input.component.js +0 -86
- package/establishment/esm2015/lib/select/input/establishment-select-input.intl.js +0 -16
- package/establishment/esm2015/lib/select/input/establishment-select-input.module.js +0 -40
- package/establishment/esm2015/lib/select/legal-unit-selector/legal-unit-selector.directive.js +0 -73
- package/establishment/esm2015/lib/select/legal-unit-selector/legal-unit-selector.module.js +0 -13
- package/establishment/esm2015/lib/select/searcher/establishment-searcher.component.js +0 -127
- package/establishment/esm2015/lib/select/searcher/establishment-searcher.module.js +0 -25
- package/establishment/esm2015/lib/select/select-all/establishment-select-all.component.js +0 -67
- package/establishment/esm2015/lib/select/select-all/establishment-select-all.module.js +0 -29
- package/establishment/esm2015/lib/service/establishment.service.js +0 -33
- package/establishment/esm2015/lib/service/legal-unit.service.js +0 -33
- package/establishment/fesm2015/lucca-front-ng-establishment.js +0 -637
- package/establishment/fesm2015/lucca-front-ng-establishment.js.map +0 -1
- package/establishment/lucca-front-ng-establishment.metadata.json +0 -1
- package/fesm2015/lucca-front-ng.js +0 -21
- package/fesm2015/lucca-front-ng.js.map +0 -1
- package/formly/bundles/lucca-front-ng-formly.umd.js +0 -1126
- package/formly/bundles/lucca-front-ng-formly.umd.js.map +0 -1
- package/formly/esm2015/lib/formly.module.js +0 -61
- package/formly/esm2015/lib/types/api.js +0 -30
- package/formly/esm2015/lib/types/checkbox.js +0 -18
- package/formly/esm2015/lib/types/date.js +0 -18
- package/formly/esm2015/lib/types/department.js +0 -18
- package/formly/esm2015/lib/types/establishment.js +0 -18
- package/formly/esm2015/lib/types/input.js +0 -21
- package/formly/esm2015/lib/types/qualification.js +0 -18
- package/formly/esm2015/lib/types/radios.js +0 -21
- package/formly/esm2015/lib/types/select.js +0 -21
- package/formly/esm2015/lib/types/textarea.js +0 -18
- package/formly/esm2015/lib/types/user.js +0 -18
- package/formly/esm2015/lib/wrappers/checkbox-layout.js +0 -31
- package/formly/esm2015/lib/wrappers/error.js +0 -59
- package/formly/esm2015/lib/wrappers/helper.js +0 -27
- package/formly/esm2015/lib/wrappers/icon.js +0 -35
- package/formly/esm2015/lib/wrappers/radiosfield-layout.js +0 -31
- package/formly/esm2015/lib/wrappers/suffix.js +0 -30
- package/formly/esm2015/lib/wrappers/textfield-layout.js +0 -42
- package/formly/fesm2015/lucca-front-ng-formly.js +0 -583
- package/formly/fesm2015/lucca-front-ng-formly.js.map +0 -1
- package/formly/lucca-front-ng-formly.metadata.json +0 -1
- package/index.d.ts +0 -1
- package/input/bundles/lucca-front-ng-input.umd.js +0 -604
- package/input/bundles/lucca-front-ng-input.umd.js.map +0 -1
- package/input/esm2015/lib/clearer/clearer.component.js +0 -31
- package/input/esm2015/lib/clearer/clearer.module.js +0 -19
- package/input/esm2015/lib/displayer/input-displayer.directive.js +0 -49
- package/input/esm2015/lib/displayer/input-displayer.module.js +0 -12
- package/input/esm2015/lib/input.directive.js +0 -42
- package/input/esm2015/lib/input.model.js +0 -48
- package/input/esm2015/lib/input.module.js +0 -23
- package/input/fesm2015/lucca-front-ng-input.js +0 -232
- package/input/fesm2015/lucca-front-ng-input.js.map +0 -1
- package/input/lucca-front-ng-input.metadata.json +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/module.d.ts +0 -5
- package/lucca-front-ng.metadata.json +0 -1
- package/material/bundles/lucca-front-ng-material.umd.js +0 -29
- package/material/bundles/lucca-front-ng-material.umd.js.map +0 -1
- package/material/esm2015/lib/module.js +0 -7
- package/material/fesm2015/lucca-front-ng-material.js +0 -18
- package/material/fesm2015/lucca-front-ng-material.js.map +0 -1
- package/material/lucca-front-ng-material.metadata.json +0 -1
- package/modal/bundles/lucca-front-modal.umd.js +0 -685
- package/modal/bundles/lucca-front-modal.umd.js.map +0 -1
- package/modal/esm2015/lib/modal-panel.component.js +0 -136
- package/modal/esm2015/lib/modal-ref.factory.js +0 -54
- package/modal/esm2015/lib/modal.intl.js +0 -16
- package/modal/esm2015/lib/modal.module.js +0 -46
- package/modal/esm2015/lib/modal.service.js +0 -18
- package/modal/esm2015/lucca-front-modal.js +0 -5
- package/modal/fesm2015/lucca-front-modal.js +0 -293
- package/modal/fesm2015/lucca-front-modal.js.map +0 -1
- package/modal/lucca-front-modal.d.ts +0 -4
- package/modal/lucca-front-modal.metadata.json +0 -1
- package/number/bundles/lucca-front-ng-number.umd.js +0 -65
- package/number/bundles/lucca-front-ng-number.umd.js.map +0 -1
- package/number/esm2015/lib/number.module.js +0 -13
- package/number/esm2015/lib/number.pipe.js +0 -31
- package/number/fesm2015/lucca-front-ng-number.js +0 -52
- package/number/fesm2015/lucca-front-ng-number.js.map +0 -1
- package/number/lucca-front-ng-number.metadata.json +0 -1
- package/option/bundles/lucca-front-ng-option.umd.js +0 -2653
- package/option/bundles/lucca-front-ng-option.umd.js.map +0 -1
- package/option/esm2015/lib/item/option-item.component.js +0 -54
- package/option/esm2015/lib/item/option-item.module.js +0 -15
- package/option/esm2015/lib/item/tree-option-item.component.js +0 -101
- package/option/esm2015/lib/item/tree-option-item.intl.js +0 -16
- package/option/esm2015/lib/item/tree-option-item.module.js +0 -33
- package/option/esm2015/lib/operator/feeder/option-feeder.component.js +0 -29
- package/option/esm2015/lib/operator/feeder/option-feeder.module.js +0 -16
- package/option/esm2015/lib/operator/feeder/tree-option-feeder.component.js +0 -29
- package/option/esm2015/lib/operator/feeder/tree-option-feeder.module.js +0 -15
- package/option/esm2015/lib/operator/for-groups/for-groups.directive.js +0 -75
- package/option/esm2015/lib/operator/for-groups/for-groups.module.js +0 -16
- package/option/esm2015/lib/operator/for-options/for-options.directive.js +0 -46
- package/option/esm2015/lib/operator/for-options/for-options.module.js +0 -16
- package/option/esm2015/lib/operator/for-options/for-tree-options.directive.js +0 -18
- package/option/esm2015/lib/operator/for-options/for-tree-options.module.js +0 -16
- package/option/esm2015/lib/operator/option-operator.module.js +0 -27
- package/option/esm2015/lib/operator/pager/option-pager.component.js +0 -42
- package/option/esm2015/lib/operator/pager/option-pager.module.js +0 -16
- package/option/esm2015/lib/operator/pager/tree-option-pager.component.js +0 -58
- package/option/esm2015/lib/operator/pager/tree-option-pager.module.js +0 -16
- package/option/esm2015/lib/operator/searcher/option-searcher.component.js +0 -52
- package/option/esm2015/lib/operator/searcher/option-searcher.module.js +0 -23
- package/option/esm2015/lib/operator/searcher/tree-option-searcher.component.js +0 -67
- package/option/esm2015/lib/operator/searcher/tree-option-searcher.module.js +0 -23
- package/option/esm2015/lib/operator/tree-option-operator.module.js +0 -24
- package/option/esm2015/lib/option.module.js +0 -27
- package/option/esm2015/lib/picker/option-picker-advanced.component.js +0 -127
- package/option/esm2015/lib/picker/option-picker.component.js +0 -270
- package/option/esm2015/lib/picker/option-picker.model.js +0 -69
- package/option/esm2015/lib/picker/option-picker.module.js +0 -30
- package/option/esm2015/lib/picker/tree-option-picker-advanced.component.js +0 -123
- package/option/esm2015/lib/picker/tree-option-picker.component.js +0 -163
- package/option/esm2015/lib/picker/tree-option-picker.model.js +0 -4
- package/option/esm2015/lib/picker/tree-option-picker.module.js +0 -28
- package/option/esm2015/lib/placeholder/option-placeholder.component.js +0 -25
- package/option/esm2015/lib/placeholder/option-placeholder.intl.js +0 -16
- package/option/esm2015/lib/placeholder/option-placeholder.module.js +0 -24
- package/option/esm2015/lib/selector/all/select-all.component.js +0 -54
- package/option/esm2015/lib/selector/all/select-all.intl.js +0 -16
- package/option/esm2015/lib/selector/all/select-all.module.js +0 -24
- package/option/esm2015/lib/selector/all/tree-select-all.component.js +0 -59
- package/option/esm2015/lib/selector/all/tree-select-all.module.js +0 -24
- package/option/esm2015/lib/selector/option-selector.module.js +0 -15
- package/option/esm2015/lib/selector/tree-option-selector.module.js +0 -15
- package/option/esm2015/lib/tree-option.module.js +0 -24
- package/option/fesm2015/lucca-front-ng-option.js +0 -1889
- package/option/fesm2015/lucca-front-ng-option.js.map +0 -1
- package/option/lucca-front-ng-option.metadata.json +0 -1
- package/picker/bundles/lucca-front-ng-picker.umd.js +0 -346
- package/picker/bundles/lucca-front-ng-picker.umd.js.map +0 -1
- package/picker/esm2015/lib/input-picker.model.js +0 -4
- package/picker/fesm2015/lucca-front-ng-picker.js +0 -15
- package/picker/fesm2015/lucca-front-ng-picker.js.map +0 -1
- package/picker/lucca-front-ng-picker.metadata.json +0 -1
- package/popover/bundles/lucca-front-ng-popover.umd.js +0 -1489
- package/popover/bundles/lucca-front-ng-popover.umd.js.map +0 -1
- package/popover/esm2015/lib/panel/popover-panel.component.js +0 -106
- package/popover/esm2015/lib/panel/popover-panel.model.js +0 -96
- package/popover/esm2015/lib/panel/popover-panel.module.js +0 -23
- package/popover/esm2015/lib/popover.module.js +0 -21
- package/popover/esm2015/lib/target/popover-target.directive.js +0 -33
- package/popover/esm2015/lib/target/popover-target.module.js +0 -21
- package/popover/esm2015/lib/trigger/popover-trigger.directive.js +0 -116
- package/popover/esm2015/lib/trigger/popover-trigger.model.js +0 -406
- package/popover/esm2015/lib/trigger/popover-trigger.module.js +0 -25
- package/popover/fesm2015/lucca-front-ng-popover.js +0 -925
- package/popover/fesm2015/lucca-front-ng-popover.js.map +0 -1
- package/popover/lucca-front-ng-popover.metadata.json +0 -1
- package/popup/bundles/lucca-front-ng-popup.umd.js +0 -550
- package/popup/bundles/lucca-front-ng-popup.umd.js.map +0 -1
- package/popup/esm2015/lib/popup-ref.factory.js +0 -29
- package/popup/esm2015/lib/popup-ref.model.js +0 -120
- package/popup/esm2015/lib/popup.module.js +0 -24
- package/popup/esm2015/lib/popup.service.js +0 -22
- package/popup/fesm2015/lucca-front-ng-popup.js +0 -208
- package/popup/fesm2015/lucca-front-ng-popup.js.map +0 -1
- package/popup/lucca-front-ng-popup.metadata.json +0 -1
- package/public-api.d.ts +0 -1
- package/qualification/bundles/lucca-front-ng-qualification.umd.js +0 -501
- package/qualification/bundles/lucca-front-ng-qualification.umd.js.map +0 -1
- package/qualification/esm2015/lib/qualification.module.js +0 -15
- package/qualification/esm2015/lib/select/input/qualification-select-input.component.js +0 -59
- package/qualification/esm2015/lib/select/input/qualification-select-input.intl.js +0 -16
- package/qualification/esm2015/lib/select/input/qualification-select-input.module.js +0 -37
- package/qualification/esm2015/lib/select/qualification-select.module.js +0 -15
- package/qualification/fesm2015/lucca-front-ng-qualification.js +0 -155
- package/qualification/fesm2015/lucca-front-ng-qualification.js.map +0 -1
- package/qualification/lucca-front-ng-qualification.metadata.json +0 -1
- package/safe-content/bundles/lucca-front-ng-safe-content.umd.js +0 -59
- package/safe-content/bundles/lucca-front-ng-safe-content.umd.js.map +0 -1
- package/safe-content/esm2015/lib/safe-content.module.js +0 -14
- package/safe-content/esm2015/lib/safe-content.pipe.js +0 -24
- package/safe-content/fesm2015/lucca-front-ng-safe-content.js +0 -47
- package/safe-content/fesm2015/lucca-front-ng-safe-content.js.map +0 -1
- package/safe-content/lucca-front-ng-safe-content.metadata.json +0 -1
- package/scroll/bundles/lucca-front-ngscroll.umd.js +0 -105
- package/scroll/bundles/lucca-front-ngscroll.umd.js.map +0 -1
- package/scroll/esm2015/lib/scroll.directive.js +0 -68
- package/scroll/esm2015/lib/scroll.module.js +0 -16
- package/scroll/esm2015/lucca-front-ngscroll.js +0 -5
- package/scroll/fesm2015/lucca-front-ngscroll.js +0 -93
- package/scroll/fesm2015/lucca-front-ngscroll.js.map +0 -1
- package/scroll/lucca-front-ngscroll.d.ts +0 -4
- package/scroll/lucca-front-ngscroll.metadata.json +0 -1
- package/select/bundles/lucca-front-ng-select.umd.js +0 -806
- package/select/bundles/lucca-front-ng-select.umd.js.map +0 -1
- package/select/esm2015/lib/input/select-input.component.js +0 -188
- package/select/esm2015/lib/input/select-input.model.js +0 -167
- package/select/esm2015/lib/input/select-input.module.js +0 -21
- package/select/esm2015/lib/select.module.js +0 -15
- package/select/fesm2015/lucca-front-ng-select.js +0 -396
- package/select/fesm2015/lucca-front-ng-select.js.map +0 -1
- package/select/lucca-front-ng-select.metadata.json +0 -1
- package/sidepanel/bundles/lucca-front-ng-sidepanel.umd.js +0 -560
- package/sidepanel/bundles/lucca-front-ng-sidepanel.umd.js.map +0 -1
- package/sidepanel/esm2015/lib/sidepanel-panel.component.js +0 -43
- package/sidepanel/esm2015/lib/sidepanel-ref.factory.js +0 -53
- package/sidepanel/esm2015/lib/sidepanel.intl.js +0 -16
- package/sidepanel/esm2015/lib/sidepanel.module.js +0 -46
- package/sidepanel/esm2015/lib/sidepanel.service.js +0 -18
- package/sidepanel/fesm2015/lucca-front-ng-sidepanel.js +0 -201
- package/sidepanel/fesm2015/lucca-front-ng-sidepanel.js.map +0 -1
- package/sidepanel/lucca-front-ng-sidepanel.metadata.json +0 -1
- package/tooltip/bundles/lucca-front-ng-tooltip.umd.js +0 -628
- package/tooltip/bundles/lucca-front-ng-tooltip.umd.js.map +0 -1
- package/tooltip/esm2015/lib/panel/tooltip-panel.component.js +0 -51
- package/tooltip/esm2015/lib/panel/tooltip-panel.module.js +0 -24
- package/tooltip/esm2015/lib/tooltip.module.js +0 -18
- package/tooltip/esm2015/lib/trigger/tooltip-trigger.directive.js +0 -121
- package/tooltip/esm2015/lib/trigger/tooltip-trigger.module.js +0 -19
- package/tooltip/fesm2015/lucca-front-ng-tooltip.js +0 -250
- package/tooltip/fesm2015/lucca-front-ng-tooltip.js.map +0 -1
- package/tooltip/lucca-front-ng-tooltip.metadata.json +0 -1
- package/user/bundles/lucca-front-ng-user.umd.js +0 -1330
- package/user/bundles/lucca-front-ng-user.umd.js.map +0 -1
- package/user/esm2015/lib/display/user-display.module.js +0 -14
- package/user/esm2015/lib/display/user-display.pipe.js +0 -58
- package/user/esm2015/lib/picture/user-picture.component.js +0 -70
- package/user/esm2015/lib/picture/user-picture.module.js +0 -14
- package/user/esm2015/lib/select/homonyms/user-homonyms.component.js +0 -46
- package/user/esm2015/lib/select/homonyms/user-homonyms.module.js +0 -21
- package/user/esm2015/lib/select/homonyms/user-homonyms.service.js +0 -47
- package/user/esm2015/lib/select/input/user-select-input.component.js +0 -57
- package/user/esm2015/lib/select/input/user-select-input.intl.js +0 -16
- package/user/esm2015/lib/select/input/user-select-input.module.js +0 -43
- package/user/esm2015/lib/select/me/me-option.directive.js +0 -68
- package/user/esm2015/lib/select/me/me-option.module.js +0 -17
- package/user/esm2015/lib/select/searcher/user-searcher.component.js +0 -135
- package/user/esm2015/lib/select/searcher/user-searcher.intl.js +0 -16
- package/user/esm2015/lib/select/searcher/user-searcher.module.js +0 -34
- package/user/esm2015/lib/select/user-select.module.js +0 -24
- package/user/esm2015/lib/service/user-v3.service.js +0 -48
- package/user/esm2015/lib/tile/user-tile.component.js +0 -68
- package/user/esm2015/lib/tile/user-tile.module.js +0 -15
- package/user/esm2015/lib/user.module.js +0 -24
- package/user/fesm2015/lucca-front-ng-user.js +0 -823
- package/user/fesm2015/lucca-front-ng-user.js.map +0 -1
- package/user/lucca-front-ng-user.metadata.json +0 -1
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Injectable, Inject, ChangeDetectionStrategy, LOCALE_ID, Directive, ChangeDetectorRef, ViewChild, Component, Injector, NgModule } from '@angular/core';
|
|
2
|
-
import { LuPopup, ALuPopupRef } from '@lucca-front/ng/popup';
|
|
3
|
-
import { CdkPortalOutlet, PortalInjector, ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
4
|
-
import { ALuIntl } from '@lucca-front/ng/core';
|
|
5
|
-
import { Subject, Subscription, Observable, timer } from 'rxjs';
|
|
6
|
-
import { tap, delay } from 'rxjs/operators';
|
|
7
|
-
import { Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
8
|
-
import { CommonModule } from '@angular/common';
|
|
9
|
-
import { A11yModule } from '@angular/cdk/a11y';
|
|
10
|
-
|
|
11
|
-
/** Injection token that can be used to access the data that was passed in to a dialog. */
|
|
12
|
-
const LU_MODAL_DATA = new InjectionToken('LuModalData');
|
|
13
|
-
const LU_MODAL_CONFIG = new InjectionToken('LuModalDefaultConfig');
|
|
14
|
-
const LU_MODAL_REF_FACTORY = new InjectionToken('LuModalRefFactory');
|
|
15
|
-
const LU_MODAL_TRANSLATIONS = new InjectionToken('LuModalTranslations');
|
|
16
|
-
|
|
17
|
-
class LuModal extends LuPopup {
|
|
18
|
-
constructor(_factory, _config) {
|
|
19
|
-
super(_factory, _config);
|
|
20
|
-
this._factory = _factory;
|
|
21
|
-
this._config = _config;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
LuModal.decorators = [
|
|
25
|
-
{ type: Injectable }
|
|
26
|
-
];
|
|
27
|
-
LuModal.ctorParameters = () => [
|
|
28
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LU_MODAL_REF_FACTORY,] }] },
|
|
29
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LU_MODAL_CONFIG,] }] }
|
|
30
|
-
];
|
|
31
|
-
|
|
32
|
-
const luDefaultModalConfig = {
|
|
33
|
-
position: 'center',
|
|
34
|
-
noBackdrop: false,
|
|
35
|
-
undismissable: false,
|
|
36
|
-
backdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],
|
|
37
|
-
panelClass: 'lu-popup-panel',
|
|
38
|
-
size: 'standard',
|
|
39
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
class ALuModalRef extends ALuPopupRef {
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
class LuModalIntl extends ALuIntl {
|
|
46
|
-
constructor(translations, locale) {
|
|
47
|
-
super(translations, locale);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
LuModalIntl.decorators = [
|
|
51
|
-
{ type: Injectable }
|
|
52
|
-
];
|
|
53
|
-
LuModalIntl.ctorParameters = () => [
|
|
54
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LU_MODAL_TRANSLATIONS,] }] },
|
|
55
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
|
|
56
|
-
];
|
|
57
|
-
|
|
58
|
-
class ALuModalPanelComponent {
|
|
59
|
-
constructor(_ref, _cdr, intl) {
|
|
60
|
-
this._ref = _ref;
|
|
61
|
-
this._cdr = _cdr;
|
|
62
|
-
this.intl = intl;
|
|
63
|
-
this.submitClass$ = new Subject();
|
|
64
|
-
this.error$ = new Subject();
|
|
65
|
-
this._subs = new Subscription();
|
|
66
|
-
}
|
|
67
|
-
get title() {
|
|
68
|
-
return this._componentInstance.title;
|
|
69
|
-
}
|
|
70
|
-
get submitLabel() {
|
|
71
|
-
return this._componentInstance.submitLabel || this.intl.submit;
|
|
72
|
-
}
|
|
73
|
-
get cancelLabel() {
|
|
74
|
-
return this._componentInstance.cancelLabel || this.intl.cancel;
|
|
75
|
-
}
|
|
76
|
-
get isSubmitDisabled() {
|
|
77
|
-
return this._componentInstance.submitDisabled;
|
|
78
|
-
}
|
|
79
|
-
get isSubmitHidden() {
|
|
80
|
-
return !this._componentInstance.submitAction;
|
|
81
|
-
}
|
|
82
|
-
get submitPalette() {
|
|
83
|
-
return this._componentInstance.submitPalette || 'primary';
|
|
84
|
-
}
|
|
85
|
-
get hasSubmitCounter() {
|
|
86
|
-
return !!this._componentInstance.submitCounter;
|
|
87
|
-
}
|
|
88
|
-
get submitCounter() {
|
|
89
|
-
return this._componentInstance.submitCounter || 0;
|
|
90
|
-
}
|
|
91
|
-
attach(portal) {
|
|
92
|
-
const ref = this._outlet.attach(portal);
|
|
93
|
-
this._componentInstance = ref.instance;
|
|
94
|
-
return ref;
|
|
95
|
-
}
|
|
96
|
-
detach() {
|
|
97
|
-
return this._outlet.detach();
|
|
98
|
-
}
|
|
99
|
-
dispose() {
|
|
100
|
-
return this._outlet.dispose();
|
|
101
|
-
}
|
|
102
|
-
hasAttached() {
|
|
103
|
-
return this._outlet.hasAttached();
|
|
104
|
-
}
|
|
105
|
-
ngOnDestroy() {
|
|
106
|
-
this._subs.unsubscribe();
|
|
107
|
-
this.detach();
|
|
108
|
-
this.dispose();
|
|
109
|
-
}
|
|
110
|
-
dismiss() {
|
|
111
|
-
this._ref.dismiss();
|
|
112
|
-
}
|
|
113
|
-
submit() {
|
|
114
|
-
this.error$.next(undefined);
|
|
115
|
-
this.submitClass$.next('is-loading');
|
|
116
|
-
const result$ = this._componentInstance.submitAction();
|
|
117
|
-
if (result$ instanceof Observable) {
|
|
118
|
-
this._subs.add(result$.pipe(tap(_ => this.submitClass$.next('is-success')), tap(() => this._cdr.markForCheck()), delay(500))
|
|
119
|
-
.subscribe(result => {
|
|
120
|
-
this._ref.close(result);
|
|
121
|
-
}, err => {
|
|
122
|
-
this.submitClass$.next('is-error');
|
|
123
|
-
this.error$.next(err);
|
|
124
|
-
this._cdr.markForCheck();
|
|
125
|
-
timer(2000).subscribe(_ => {
|
|
126
|
-
this.submitClass$.next('');
|
|
127
|
-
this._cdr.markForCheck();
|
|
128
|
-
});
|
|
129
|
-
}));
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
const result = result$;
|
|
133
|
-
this._ref.close(result);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
ALuModalPanelComponent.decorators = [
|
|
138
|
-
{ type: Directive }
|
|
139
|
-
];
|
|
140
|
-
ALuModalPanelComponent.ctorParameters = () => [
|
|
141
|
-
{ type: ALuModalRef },
|
|
142
|
-
{ type: ChangeDetectorRef },
|
|
143
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LU_MODAL_TRANSLATIONS,] }] }
|
|
144
|
-
];
|
|
145
|
-
ALuModalPanelComponent.propDecorators = {
|
|
146
|
-
_outlet: [{ type: ViewChild, args: ['outlet', { read: CdkPortalOutlet, static: true },] }]
|
|
147
|
-
};
|
|
148
|
-
class LuModalPanelComponent extends ALuModalPanelComponent {
|
|
149
|
-
constructor(_ref, _cdr, intl) {
|
|
150
|
-
super(_ref, _cdr, intl);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
LuModalPanelComponent.decorators = [
|
|
154
|
-
{ type: Component, args: [{
|
|
155
|
-
selector: 'lu-modal-panel',
|
|
156
|
-
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",
|
|
157
|
-
host: { 'class': 'lu-modal-panel' },
|
|
158
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
159
|
-
styles: [""]
|
|
160
|
-
},] }
|
|
161
|
-
];
|
|
162
|
-
LuModalPanelComponent.ctorParameters = () => [
|
|
163
|
-
{ type: ALuModalRef },
|
|
164
|
-
{ type: ChangeDetectorRef },
|
|
165
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LuModalIntl,] }] }
|
|
166
|
-
];
|
|
167
|
-
class LuModalPanelComponentDefaultCD extends ALuModalPanelComponent {
|
|
168
|
-
constructor(_ref, _cdr, intl) {
|
|
169
|
-
super(_ref, _cdr, intl);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
LuModalPanelComponentDefaultCD.decorators = [
|
|
173
|
-
{ type: Component, args: [{
|
|
174
|
-
selector: 'lu-modal-panel-default',
|
|
175
|
-
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",
|
|
176
|
-
host: { 'class': 'lu-modal-panel' },
|
|
177
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
178
|
-
styles: [""]
|
|
179
|
-
},] }
|
|
180
|
-
];
|
|
181
|
-
LuModalPanelComponentDefaultCD.ctorParameters = () => [
|
|
182
|
-
{ type: ALuModalRef },
|
|
183
|
-
{ type: ChangeDetectorRef },
|
|
184
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LuModalIntl,] }] }
|
|
185
|
-
];
|
|
186
|
-
|
|
187
|
-
class LuModalRef extends ALuPopupRef {
|
|
188
|
-
constructor(_overlay, _injector, _component, _config) {
|
|
189
|
-
super(_overlay, _injector, _component, _config);
|
|
190
|
-
this._overlay = _overlay;
|
|
191
|
-
this._injector = _injector;
|
|
192
|
-
this._component = _component;
|
|
193
|
-
this._config = _config;
|
|
194
|
-
}
|
|
195
|
-
_openPopup(data) {
|
|
196
|
-
const injectionMap = new WeakMap();
|
|
197
|
-
injectionMap.set(ALuModalRef, this);
|
|
198
|
-
injectionMap.set(LU_MODAL_DATA, data);
|
|
199
|
-
const injector = new PortalInjector(this._injector, injectionMap);
|
|
200
|
-
if (this._config.changeDetection === ChangeDetectionStrategy.OnPush) {
|
|
201
|
-
const containerPortal = new ComponentPortal(LuModalPanelComponent, undefined, injector);
|
|
202
|
-
this._containerRef = this._overlayRef.attach(containerPortal);
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
const containerPortal = new ComponentPortal(LuModalPanelComponentDefaultCD, undefined, injector);
|
|
206
|
-
this._containerRef = this._overlayRef.attach(containerPortal);
|
|
207
|
-
}
|
|
208
|
-
this._containerOutlet = this._containerRef.instance;
|
|
209
|
-
const portal = new ComponentPortal(this._component, undefined, injector);
|
|
210
|
-
this._componentRef = this._containerOutlet.attach(portal);
|
|
211
|
-
}
|
|
212
|
-
_closePopup() {
|
|
213
|
-
this._componentRef.destroy();
|
|
214
|
-
this._containerRef.destroy();
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
class LuModalRefFactory {
|
|
218
|
-
constructor(_overlay, _injector) {
|
|
219
|
-
this._overlay = _overlay;
|
|
220
|
-
this._injector = _injector;
|
|
221
|
-
}
|
|
222
|
-
forge(component, config) {
|
|
223
|
-
return new LuModalRef(this._overlay, this._injector, component, config);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
LuModalRefFactory.decorators = [
|
|
227
|
-
{ type: Injectable }
|
|
228
|
-
];
|
|
229
|
-
LuModalRefFactory.ctorParameters = () => [
|
|
230
|
-
{ type: Overlay },
|
|
231
|
-
{ type: Injector }
|
|
232
|
-
];
|
|
233
|
-
|
|
234
|
-
class ALuModalLabel {
|
|
235
|
-
}
|
|
236
|
-
const luModalTranslations = {
|
|
237
|
-
en: {
|
|
238
|
-
submit: 'Ok',
|
|
239
|
-
cancel: 'Cancel',
|
|
240
|
-
},
|
|
241
|
-
fr: {
|
|
242
|
-
submit: 'Ok',
|
|
243
|
-
cancel: 'Annuler',
|
|
244
|
-
},
|
|
245
|
-
es: {
|
|
246
|
-
submit: 'Ok',
|
|
247
|
-
cancel: 'Cancelar',
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
const ɵ0 = luDefaultModalConfig, ɵ1 = luModalTranslations;
|
|
252
|
-
class LuModalModule {
|
|
253
|
-
}
|
|
254
|
-
LuModalModule.decorators = [
|
|
255
|
-
{ type: NgModule, args: [{
|
|
256
|
-
imports: [
|
|
257
|
-
OverlayModule,
|
|
258
|
-
PortalModule,
|
|
259
|
-
CommonModule,
|
|
260
|
-
A11yModule,
|
|
261
|
-
],
|
|
262
|
-
declarations: [
|
|
263
|
-
LuModalPanelComponent,
|
|
264
|
-
LuModalPanelComponentDefaultCD,
|
|
265
|
-
],
|
|
266
|
-
entryComponents: [
|
|
267
|
-
LuModalPanelComponent,
|
|
268
|
-
LuModalPanelComponentDefaultCD,
|
|
269
|
-
],
|
|
270
|
-
exports: [
|
|
271
|
-
LuModalPanelComponent,
|
|
272
|
-
LuModalPanelComponentDefaultCD,
|
|
273
|
-
],
|
|
274
|
-
providers: [
|
|
275
|
-
LuModal,
|
|
276
|
-
LuModalIntl,
|
|
277
|
-
{ provide: LU_MODAL_CONFIG, useValue: ɵ0 },
|
|
278
|
-
{ provide: LU_MODAL_REF_FACTORY, useClass: LuModalRefFactory },
|
|
279
|
-
{ provide: LU_MODAL_TRANSLATIONS, useValue: ɵ1 },
|
|
280
|
-
]
|
|
281
|
-
},] }
|
|
282
|
-
];
|
|
283
|
-
|
|
284
|
-
/*
|
|
285
|
-
* Public API Surface of safe-content
|
|
286
|
-
*/
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Generated bundle index. Do not edit.
|
|
290
|
-
*/
|
|
291
|
-
|
|
292
|
-
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, ɵ0, ɵ1 };
|
|
293
|
-
//# sourceMappingURL=lucca-front-modal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-modal.js","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-ref.model.ts","../../../../packages/ng/modal/src/lib/modal.intl.ts","../../../../packages/ng/modal/src/lib/modal-panel.component.ts","../../../../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-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 _factory: ILuPopupRefFactory,\r\n\t\t@Inject(LU_MODAL_CONFIG) protected _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 { 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 { 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 { 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","import { ALuPopupRef, ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { Overlay, ComponentType } from '@angular/cdk/overlay';\r\nimport { Injector, Injectable, ComponentRef, ChangeDetectionStrategy } from '@angular/core';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { ILuModalRef, ALuModalRef } from './modal-ref.model';\r\nimport { LuModalPanelComponent, LuModalPanelComponentDefaultCD } from './modal-panel.component';\r\nimport { PortalOutlet, PortalInjector, ComponentPortal } from '@angular/cdk/portal';\r\nimport { ILuModalConfig } from './modal-config.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 _overlay: Overlay,\r\n\t\tprotected _injector: Injector,\r\n\t\tprotected _component: ComponentType<T>,\r\n\t\tprotected _config: ILuModalConfig,\r\n\t) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n\tprotected _openPopup(data?: D) {\r\n\t\tconst injectionMap = new WeakMap();\r\n\t\tinjectionMap.set(ALuModalRef, this);\r\n\t\tinjectionMap.set(LU_MODAL_DATA, data);\r\n\t\tconst injector = new PortalInjector(this._injector, injectionMap);\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 _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":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"LuModalModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":16,"character":2},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":17,"character":2},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":18,"character":2},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"A11yModule","line":19,"character":2}],"declarations":[{"__symbolic":"reference","name":"LuModalPanelComponent"},{"__symbolic":"reference","name":"LuModalPanelComponentDefaultCD"}],"entryComponents":[{"__symbolic":"reference","name":"LuModalPanelComponent"},{"__symbolic":"reference","name":"LuModalPanelComponentDefaultCD"}],"exports":[{"__symbolic":"reference","name":"LuModalPanelComponent"},{"__symbolic":"reference","name":"LuModalPanelComponentDefaultCD"}],"providers":[{"__symbolic":"reference","name":"LuModal"},{"__symbolic":"reference","name":"LuModalIntl"},{"provide":{"__symbolic":"reference","name":"LU_MODAL_CONFIG"},"useValue":{"__symbolic":"reference","name":"luDefaultModalConfig"}},{"provide":{"__symbolic":"reference","name":"LU_MODAL_REF_FACTORY"},"useClass":{"__symbolic":"reference","name":"LuModalRefFactory"}},{"provide":{"__symbolic":"reference","name":"LU_MODAL_TRANSLATIONS"},"useValue":{"__symbolic":"reference","name":"luModalTranslations"}}]}]}],"members":{}},"ILuModalContent":{"__symbolic":"interface"},"ILuModalRef":{"__symbolic":"interface"},"ALuModalRef":{"__symbolic":"class","arity":3,"extends":{"__symbolic":"reference","module":"@lucca-front/ng/popup","name":"ALuPopupRef","line":4,"character":105},"members":{}},"LuModalRefFactory":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":43,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":46,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":47,"character":23}]}],"forge":[{"__symbolic":"method"}]}},"LuModal":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","module":"@lucca-front/ng/popup","name":"LuPopup","line":6,"character":72},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":8,"character":3},"arguments":[{"__symbolic":"reference","name":"LU_MODAL_REF_FACTORY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":9,"character":3},"arguments":[{"__symbolic":"reference","name":"LU_MODAL_CONFIG"}]}]],"parameters":[{"__symbolic":"reference","module":"@lucca-front/ng/popup","name":"ILuPopupRefFactory","line":8,"character":52},{"__symbolic":"reference","name":"ILuModalConfig"}]}]}},"LU_MODAL_DATA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":33},"arguments":["LuModalData"]},"LU_MODAL_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":35},"arguments":["LuModalDefaultConfig"]},"LU_MODAL_REF_FACTORY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":40},"arguments":["LuModalRefFactory"]},"LU_MODAL_TRANSLATIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":41},"arguments":["LuModalTranslations"]},"LuModalIntl":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@lucca-front/ng/core","name":"ALuIntl","line":6,"character":33},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":7,"character":14},"arguments":[{"__symbolic":"reference","name":"LU_MODAL_TRANSLATIONS"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":7,"character":59},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID","line":7,"character":66}]}]],"parameters":[null,null]}]}},"ILuModalLabel":{"__symbolic":"interface"},"ALuModalLabel":{"__symbolic":"class","members":{}},"luModalTranslations":{"en":{"submit":"Ok","cancel":"Cancel"},"fr":{"submit":"Ok","cancel":"Annuler"},"es":{"submit":"Ok","cancel":"Cancelar"}},"ILuModalConfig":{"__symbolic":"interface"},"luDefaultModalConfig":{"position":"center","noBackdrop":false,"undismissable":false,"backdropClass":["cdk-overlay-dark-backdrop","lu-popup-backdrop"],"panelClass":"lu-popup-panel","size":"standard","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":18},"member":"OnPush"}},"ALuModalPanelComponent":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":10,"character":1}}],"members":{"_outlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":12,"character":2},"arguments":["outlet",{"read":{"__symbolic":"reference","module":"@angular/cdk/portal","name":"CdkPortalOutlet","line":12,"character":30},"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":47,"character":3},"arguments":[{"__symbolic":"reference","name":"LU_MODAL_TRANSLATIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"ALuModalRef"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":46,"character":18},{"__symbolic":"reference","name":"ILuModalLabel"}]}],"attach":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}],"dispose":[{"__symbolic":"method"}],"hasAttached":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"dismiss":[{"__symbolic":"method"}],"submit":[{"__symbolic":"method"}]}},"LuModalPanelComponent":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"ALuModalPanelComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":100,"character":1},"arguments":[{"selector":"lu-modal-panel","host":{"class":"lu-modal-panel","$quoted$":["class"]},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":105,"character":18},"member":"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":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":111,"character":3},"arguments":[{"__symbolic":"reference","name":"LuModalIntl"}]}]],"parameters":[{"__symbolic":"reference","name":"ALuModalRef"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":46,"character":18},{"__symbolic":"reference","name":"ILuModalLabel"}]}]}},"LuModalPanelComponentDefaultCD":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"ALuModalPanelComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":116,"character":1},"arguments":[{"selector":"lu-modal-panel-default","host":{"class":"lu-modal-panel","$quoted$":["class"]},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":121,"character":18},"member":"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":[""]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":127,"character":3},"arguments":[{"__symbolic":"reference","name":"LuModalIntl"}]}]],"parameters":[{"__symbolic":"reference","name":"ALuModalRef"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":46,"character":18},{"__symbolic":"reference","name":"ILuModalLabel"}]}]}}},"origins":{"LuModalModule":"./lib/modal.module","ILuModalContent":"./lib/modal.model","ILuModalRef":"./lib/modal-ref.model","ALuModalRef":"./lib/modal-ref.model","LuModalRefFactory":"./lib/modal-ref.factory","LuModal":"./lib/modal.service","LU_MODAL_DATA":"./lib/modal.token","LU_MODAL_CONFIG":"./lib/modal.token","LU_MODAL_REF_FACTORY":"./lib/modal.token","LU_MODAL_TRANSLATIONS":"./lib/modal.token","LuModalIntl":"./lib/modal.intl","ILuModalLabel":"./lib/modal.translate","ALuModalLabel":"./lib/modal.translate","luModalTranslations":"./lib/modal.translate","ILuModalConfig":"./lib/modal-config.model","luDefaultModalConfig":"./lib/modal-config.default","ALuModalPanelComponent":"./lib/modal-panel.component","LuModalPanelComponent":"./lib/modal-panel.component","LuModalPanelComponentDefaultCD":"./lib/modal-panel.component"},"importAs":"@lucca-front/modal"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@lucca-front/ng/number', ['exports', '@angular/core', '@angular/common'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['lucca-front'] = global['lucca-front'] || {}, global['lucca-front'].ng = global['lucca-front'].ng || {}, global['lucca-front'].ng.number = {}), global.ng.core, global.ng.common));
|
|
5
|
-
}(this, (function (exports, core, common) { 'use strict';
|
|
6
|
-
|
|
7
|
-
var LuNumberPipe = /** @class */ (function () {
|
|
8
|
-
function LuNumberPipe(locale) {
|
|
9
|
-
this.locale = locale;
|
|
10
|
-
}
|
|
11
|
-
LuNumberPipe.prototype.transform = function (number, precision) {
|
|
12
|
-
if (precision === void 0) { precision = 2; }
|
|
13
|
-
var formatted = common.formatNumber(number, this.locale, "1." + precision + "-" + precision);
|
|
14
|
-
var separator = common.getLocaleNumberSymbol(this.locale, common.NumberSymbol.Decimal);
|
|
15
|
-
var split = formatted.split(separator);
|
|
16
|
-
var integral = split[0];
|
|
17
|
-
var decimal = split[1];
|
|
18
|
-
var hideDecimal = Math.round(number) === number;
|
|
19
|
-
if (precision > 0) {
|
|
20
|
-
return integral + "<span class=\"decimal-part" + (hideDecimal ? ' u-hidden' : '') + "\">" + separator + decimal + "</span>";
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
return integral;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
return LuNumberPipe;
|
|
27
|
-
}());
|
|
28
|
-
LuNumberPipe.decorators = [
|
|
29
|
-
{ type: core.Pipe, args: [{
|
|
30
|
-
name: 'luNumber',
|
|
31
|
-
pure: true,
|
|
32
|
-
},] }
|
|
33
|
-
];
|
|
34
|
-
LuNumberPipe.ctorParameters = function () { return [
|
|
35
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [core.LOCALE_ID,] }] }
|
|
36
|
-
]; };
|
|
37
|
-
|
|
38
|
-
var LuNumberModule = /** @class */ (function () {
|
|
39
|
-
function LuNumberModule() {
|
|
40
|
-
}
|
|
41
|
-
return LuNumberModule;
|
|
42
|
-
}());
|
|
43
|
-
LuNumberModule.decorators = [
|
|
44
|
-
{ type: core.NgModule, args: [{
|
|
45
|
-
imports: [common.CommonModule],
|
|
46
|
-
declarations: [LuNumberPipe],
|
|
47
|
-
exports: [LuNumberPipe],
|
|
48
|
-
},] }
|
|
49
|
-
];
|
|
50
|
-
|
|
51
|
-
/*
|
|
52
|
-
* Public API Surface of safe-content
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Generated bundle index. Do not edit.
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
exports.LuNumberModule = LuNumberModule;
|
|
60
|
-
exports.LuNumberPipe = LuNumberPipe;
|
|
61
|
-
|
|
62
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
63
|
-
|
|
64
|
-
})));
|
|
65
|
-
//# sourceMappingURL=lucca-front-ng-number.umd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-number.umd.js","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":["formatNumber","getLocaleNumberSymbol","NumberSymbol","Pipe","Inject","LOCALE_ID","NgModule","CommonModule"],"mappings":";;;;;;;QAQC,sBAAyC,MAAM;YAAN,WAAM,GAAN,MAAM,CAAA;SAAI;QACnD,gCAAS,GAAT,UAAU,MAAc,EAAE,SAAa;YAAb,0BAAA,EAAA,aAAa;YACtC,IAAM,SAAS,GAAGA,mBAAY,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,OAAK,SAAS,SAAI,SAAW,CAAC,CAAC;YACnF,IAAM,SAAS,GAAGC,4BAAqB,CAAC,IAAI,CAAC,MAAM,EAAEC,mBAAY,CAAC,OAAO,CAAC,CAAC;YAC3E,IAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;YACzC,IAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YAC1B,IAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACzB,IAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC;YAClD,IAAI,SAAS,GAAG,CAAC,EAAE;gBAClB,OAAU,QAAQ,mCAA4B,WAAW,GAAG,WAAW,GAAG,EAAE,YAAK,SAAS,GAAG,OAAO,YAAS,CAAC;aAC9G;iBAAM;gBACN,OAAO,QAAQ,CAAC;aAChB;SAED;;;;gBAnBDC,SAAI,SAAC;oBACL,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,IAAI;iBACV;;;gDAEaC,WAAM,SAACC,cAAS;;;;QCC9B;;;;;gBALCC,aAAQ,SAAC;oBACT,OAAO,EAAE,CAACC,mBAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,YAAY,CAAC;oBAC5B,OAAO,EAAE,CAAC,YAAY,CAAC;iBACvB;;;ICRD;;;;ICAA;;;;;;;;;;;;;"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { LuNumberPipe } from './number.pipe';
|
|
4
|
-
export class LuNumberModule {
|
|
5
|
-
}
|
|
6
|
-
LuNumberModule.decorators = [
|
|
7
|
-
{ type: NgModule, args: [{
|
|
8
|
-
imports: [CommonModule],
|
|
9
|
-
declarations: [LuNumberPipe],
|
|
10
|
-
exports: [LuNumberPipe],
|
|
11
|
-
},] }
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL251bWJlci9zcmMvbGliL251bWJlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQU83QyxNQUFNLE9BQU8sY0FBYzs7O1lBTDFCLFFBQVEsU0FBQztnQkFDVCxPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7Z0JBQ3ZCLFlBQVksRUFBRSxDQUFDLFlBQVksQ0FBQztnQkFDNUIsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO2FBQ3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcclxuaW1wb3J0IHsgTHVOdW1iZXJQaXBlIH0gZnJvbSAnLi9udW1iZXIucGlwZSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG5cdGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxyXG5cdGRlY2xhcmF0aW9uczogW0x1TnVtYmVyUGlwZV0sXHJcblx0ZXhwb3J0czogW0x1TnVtYmVyUGlwZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBMdU51bWJlck1vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Pipe, Inject, LOCALE_ID } from '@angular/core';
|
|
2
|
-
import { formatNumber, getLocaleNumberSymbol, NumberSymbol } from '@angular/common';
|
|
3
|
-
export class LuNumberPipe {
|
|
4
|
-
constructor(locale) {
|
|
5
|
-
this.locale = locale;
|
|
6
|
-
}
|
|
7
|
-
transform(number, precision = 2) {
|
|
8
|
-
const formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);
|
|
9
|
-
const separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);
|
|
10
|
-
const split = formatted.split(separator);
|
|
11
|
-
const integral = split[0];
|
|
12
|
-
const decimal = split[1];
|
|
13
|
-
const hideDecimal = Math.round(number) === number;
|
|
14
|
-
if (precision > 0) {
|
|
15
|
-
return `${integral}<span class="decimal-part${hideDecimal ? ' u-hidden' : ''}">${separator}${decimal}</span>`;
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
return integral;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
LuNumberPipe.decorators = [
|
|
23
|
-
{ type: Pipe, args: [{
|
|
24
|
-
name: 'luNumber',
|
|
25
|
-
pure: true,
|
|
26
|
-
},] }
|
|
27
|
-
];
|
|
28
|
-
LuNumberPipe.ctorParameters = () => [
|
|
29
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
|
|
30
|
-
];
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9udW1iZXIvc3JjL2xpYi9udW1iZXIucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxZQUFZLEVBQUUscUJBQXFCLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFNcEYsTUFBTSxPQUFPLFlBQVk7SUFDeEIsWUFBeUMsTUFBTTtRQUFOLFdBQU0sR0FBTixNQUFNLENBQUE7SUFBRyxDQUFDO0lBQ25ELFNBQVMsQ0FBQyxNQUFjLEVBQUUsU0FBUyxHQUFHLENBQUM7UUFDdEMsTUFBTSxTQUFTLEdBQUcsWUFBWSxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLEtBQUssU0FBUyxJQUFJLFNBQVMsRUFBRSxDQUFDLENBQUM7UUFDbkYsTUFBTSxTQUFTLEdBQUcscUJBQXFCLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxZQUFZLENBQUMsT0FBTyxDQUFDLENBQUM7UUFDM0UsTUFBTSxLQUFLLEdBQUcsU0FBUyxDQUFDLEtBQUssQ0FBQyxTQUFTLENBQUMsQ0FBQztRQUN6QyxNQUFNLFFBQVEsR0FBRyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDMUIsTUFBTSxPQUFPLEdBQUcsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQ3pCLE1BQU0sV0FBVyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDLEtBQUssTUFBTSxDQUFDO1FBQ2xELElBQUksU0FBUyxHQUFHLENBQUMsRUFBRTtZQUNsQixPQUFPLEdBQUcsUUFBUSw0QkFBNEIsV0FBVyxDQUFDLENBQUMsQ0FBQyxXQUFXLENBQUMsQ0FBQyxDQUFDLEVBQUUsS0FBSyxTQUFTLEdBQUcsT0FBTyxTQUFTLENBQUM7U0FDOUc7YUFBTTtZQUNOLE9BQU8sUUFBUSxDQUFDO1NBQ2hCO0lBRUYsQ0FBQzs7O1lBbkJELElBQUksU0FBQztnQkFDTCxJQUFJLEVBQUUsVUFBVTtnQkFDaEIsSUFBSSxFQUFFLElBQUk7YUFDVjs7OzRDQUVhLE1BQU0sU0FBQyxTQUFTIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSwgSW5qZWN0LCBMT0NBTEVfSUQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgZm9ybWF0TnVtYmVyLCBnZXRMb2NhbGVOdW1iZXJTeW1ib2wsIE51bWJlclN5bWJvbCB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XHJcblxyXG5AUGlwZSh7XHJcblx0bmFtZTogJ2x1TnVtYmVyJyxcclxuXHRwdXJlOiB0cnVlLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgTHVOdW1iZXJQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XHJcblx0Y29uc3RydWN0b3IoQEluamVjdChMT0NBTEVfSUQpIHByb3RlY3RlZCBsb2NhbGUpIHt9XHJcblx0dHJhbnNmb3JtKG51bWJlcjogbnVtYmVyLCBwcmVjaXNpb24gPSAyKSB7XHJcblx0XHRjb25zdCBmb3JtYXR0ZWQgPSBmb3JtYXROdW1iZXIobnVtYmVyLCB0aGlzLmxvY2FsZSwgYDEuJHtwcmVjaXNpb259LSR7cHJlY2lzaW9ufWApO1xyXG5cdFx0Y29uc3Qgc2VwYXJhdG9yID0gZ2V0TG9jYWxlTnVtYmVyU3ltYm9sKHRoaXMubG9jYWxlLCBOdW1iZXJTeW1ib2wuRGVjaW1hbCk7XHJcblx0XHRjb25zdCBzcGxpdCA9IGZvcm1hdHRlZC5zcGxpdChzZXBhcmF0b3IpO1xyXG5cdFx0Y29uc3QgaW50ZWdyYWwgPSBzcGxpdFswXTtcclxuXHRcdGNvbnN0IGRlY2ltYWwgPSBzcGxpdFsxXTtcclxuXHRcdGNvbnN0IGhpZGVEZWNpbWFsID0gTWF0aC5yb3VuZChudW1iZXIpID09PSBudW1iZXI7XHJcblx0XHRpZiAocHJlY2lzaW9uID4gMCkge1xyXG5cdFx0XHRyZXR1cm4gYCR7aW50ZWdyYWx9PHNwYW4gY2xhc3M9XCJkZWNpbWFsLXBhcnQke2hpZGVEZWNpbWFsID8gJyB1LWhpZGRlbicgOiAnJ31cIj4ke3NlcGFyYXRvcn0ke2RlY2ltYWx9PC9zcGFuPmA7XHJcblx0XHR9IGVsc2Uge1xyXG5cdFx0XHRyZXR1cm4gaW50ZWdyYWw7XHJcblx0XHR9XHJcblxyXG5cdH1cclxufVxyXG4iXX0=
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Pipe, Inject, LOCALE_ID, NgModule } from '@angular/core';
|
|
2
|
-
import { formatNumber, getLocaleNumberSymbol, NumberSymbol, CommonModule } from '@angular/common';
|
|
3
|
-
|
|
4
|
-
class LuNumberPipe {
|
|
5
|
-
constructor(locale) {
|
|
6
|
-
this.locale = locale;
|
|
7
|
-
}
|
|
8
|
-
transform(number, precision = 2) {
|
|
9
|
-
const formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);
|
|
10
|
-
const separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);
|
|
11
|
-
const split = formatted.split(separator);
|
|
12
|
-
const integral = split[0];
|
|
13
|
-
const decimal = split[1];
|
|
14
|
-
const hideDecimal = Math.round(number) === number;
|
|
15
|
-
if (precision > 0) {
|
|
16
|
-
return `${integral}<span class="decimal-part${hideDecimal ? ' u-hidden' : ''}">${separator}${decimal}</span>`;
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
return integral;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
LuNumberPipe.decorators = [
|
|
24
|
-
{ type: Pipe, args: [{
|
|
25
|
-
name: 'luNumber',
|
|
26
|
-
pure: true,
|
|
27
|
-
},] }
|
|
28
|
-
];
|
|
29
|
-
LuNumberPipe.ctorParameters = () => [
|
|
30
|
-
{ type: undefined, decorators: [{ type: Inject, args: [LOCALE_ID,] }] }
|
|
31
|
-
];
|
|
32
|
-
|
|
33
|
-
class LuNumberModule {
|
|
34
|
-
}
|
|
35
|
-
LuNumberModule.decorators = [
|
|
36
|
-
{ type: NgModule, args: [{
|
|
37
|
-
imports: [CommonModule],
|
|
38
|
-
declarations: [LuNumberPipe],
|
|
39
|
-
exports: [LuNumberPipe],
|
|
40
|
-
},] }
|
|
41
|
-
];
|
|
42
|
-
|
|
43
|
-
/*
|
|
44
|
-
* Public API Surface of safe-content
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Generated bundle index. Do not edit.
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
|
-
export { LuNumberModule, LuNumberPipe };
|
|
52
|
-
//# sourceMappingURL=lucca-front-ng-number.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-number.js","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,EAAE,KAAK,SAAS,IAAI,SAAS,EAAE,CAAC,CAAC;QACnF,MAAM,SAAS,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;QAC3E,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACzC,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAC1B,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACzB,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC;QAClD,IAAI,SAAS,GAAG,CAAC,EAAE;YAClB,OAAO,GAAG,QAAQ,4BAA4B,WAAW,GAAG,WAAW,GAAG,EAAE,KAAK,SAAS,GAAG,OAAO,SAAS,CAAC;SAC9G;aAAM;YACN,OAAO,QAAQ,CAAC;SAChB;KAED;;;YAnBD,IAAI,SAAC;gBACL,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,IAAI;aACV;;;4CAEa,MAAM,SAAC,SAAS;;;MCCjB,cAAc;;;YAL1B,QAAQ,SAAC;gBACT,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE,CAAC,YAAY,CAAC;gBAC5B,OAAO,EAAE,CAAC,YAAY,CAAC;aACvB;;;ACRD;;;;ACAA;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"LuNumberModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":5,"character":11}],"declarations":[{"__symbolic":"reference","name":"LuNumberPipe"}],"exports":[{"__symbolic":"reference","name":"LuNumberPipe"}]}]}],"members":{}},"LuNumberPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"luNumber","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":8,"character":14},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID","line":8,"character":21}]}]],"parameters":[null]}],"transform":[{"__symbolic":"method"}]}}},"origins":{"LuNumberModule":"./lib/number.module","LuNumberPipe":"./lib/number.pipe"},"importAs":"@lucca-front/ng/number"}
|