@lucca-front/ng 8.0.0-alpha.3 → 8.1.0-rc.3
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/api/lib/api.model.d.ts +4 -5
- package/api/lib/select/feeder/api-feeder.component.d.ts +2 -2
- package/api/lib/select/feeder/api-feeder.model.d.ts +2 -3
- package/api/lib/select/input/api-select-input.component.d.ts +4 -3
- package/api/lib/select/pager/api-pager.component.d.ts +2 -2
- package/api/lib/select/pager/api-pager.model.d.ts +2 -3
- package/api/lib/select/searcher/api-searcher.component.d.ts +8 -7
- package/api/lib/select/searcher/api-searcher.model.d.ts +4 -6
- package/api/lib/service/api-v3.service.d.ts +4 -4
- package/core/lib/date/native/native-date.adapter.d.ts +1 -1
- package/core/lib/group/group.interface.d.ts +1 -1
- package/core/lib/translate/translation.model.d.ts +9 -0
- package/core/lib/tree/tree.model.d.ts +1 -1
- package/date/lib/calendar/calendar-input.component.d.ts +2 -2
- package/date/lib/calendar/calendar-item.factory.d.ts +1 -1
- package/date/lib/input/date-input.directive.d.ts +4 -4
- package/date/lib/input/date-input.intl.d.ts +2 -2
- package/date/lib/picker/date-picker.component.d.ts +3 -3
- package/date/lib/select/date-select-input.component.d.ts +5 -5
- package/date/lib/select/date-select-input.intl.d.ts +2 -2
- package/department/lib/select/feeder/department-feeder.component.d.ts +4 -5
- package/department/lib/select/input/department-select-input.component.d.ts +3 -3
- package/department/lib/select/input/department-select-input.intl.d.ts +2 -2
- package/department/lib/select/input/department-select-input.token.d.ts +3 -1
- package/department/lib/service/department-v3.service.d.ts +7 -3
- package/dropdown/lib/item/dropdown-item.directive.d.ts +3 -3
- package/dropdown/lib/panel/dropdown-panel.component.d.ts +4 -4
- package/dropdown/lib/panel/dropdown-panel.model.d.ts +1 -2
- package/dropdown/lib/trigger/dropdown-trigger.directive.d.ts +8 -8
- package/esm2020/animations/lib/animation.factory.mjs +4 -10
- package/esm2020/animations/lib/fade.animation.mjs +4 -10
- package/esm2020/animations/lib/scale.animation.mjs +2 -2
- package/esm2020/animations/lib/slide.animation.mjs +2 -2
- package/esm2020/api/lib/api.model.mjs +1 -1
- package/esm2020/api/lib/api.module.mjs +7 -13
- package/esm2020/api/lib/select/api-select.module.mjs +9 -33
- package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +23 -13
- package/esm2020/api/lib/select/feeder/api-feeder.model.mjs +2 -3
- package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +8 -16
- package/esm2020/api/lib/select/input/api-select-input.component.mjs +8 -6
- package/esm2020/api/lib/select/input/api-select-input.module.mjs +8 -31
- package/esm2020/api/lib/select/pager/api-pager.component.mjs +23 -13
- package/esm2020/api/lib/select/pager/api-pager.model.mjs +10 -9
- package/esm2020/api/lib/select/pager/api-pager.module.mjs +8 -16
- package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +59 -34
- package/esm2020/api/lib/select/searcher/api-searcher.model.mjs +12 -14
- package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +8 -29
- package/esm2020/api/lib/service/api-hybrid.service.mjs +13 -7
- package/esm2020/api/lib/service/api-service.model.mjs +1 -1
- package/esm2020/api/lib/service/api-v3.service.mjs +25 -18
- package/esm2020/api/lib/service/api-v4.service.mjs +34 -20
- package/esm2020/core/lib/date/date-adapter.class.mjs +1 -1
- package/esm2020/core/lib/date/index.mjs +1 -1
- package/esm2020/core/lib/date/native/native-date.adapter.mjs +15 -11
- package/esm2020/core/lib/date/string/string-date.adapter.mjs +7 -5
- package/esm2020/core/lib/event/on-open.subscriber.mjs +1 -1
- package/esm2020/core/lib/group/group.interface.mjs +1 -1
- package/esm2020/core/lib/id/id.generator.mjs +5 -5
- package/esm2020/core/lib/id/index.mjs +1 -1
- package/esm2020/core/lib/translate/intl.model.mjs +2 -2
- package/esm2020/core/lib/translate/translation.model.mjs +1 -1
- package/esm2020/core/lib/tree/tree.model.mjs +1 -1
- package/esm2020/date/lib/adapter/date-adapter.module.mjs +7 -11
- package/esm2020/date/lib/adapter/date-adapter.pipe.mjs +4 -4
- package/esm2020/date/lib/calendar/calendar-input.component.mjs +23 -25
- package/esm2020/date/lib/calendar/calendar-input.module.mjs +9 -24
- package/esm2020/date/lib/calendar/calendar-item.class.mjs +4 -2
- package/esm2020/date/lib/calendar/calendar-item.factory.mjs +5 -6
- package/esm2020/date/lib/date.module.mjs +7 -37
- package/esm2020/date/lib/input/date-input.directive.mjs +12 -11
- package/esm2020/date/lib/input/date-input.intl.mjs +6 -6
- package/esm2020/date/lib/input/date-input.module.mjs +8 -18
- package/esm2020/date/lib/input/date-input.translate.mjs +1 -2
- package/esm2020/date/lib/picker/date-picker.component.mjs +14 -12
- package/esm2020/date/lib/picker/date-picker.module.mjs +8 -31
- package/esm2020/date/lib/select/date-select-input.component.mjs +15 -13
- package/esm2020/date/lib/select/date-select-input.intl.mjs +6 -6
- package/esm2020/date/lib/select/date-select-input.module.mjs +18 -35
- package/esm2020/date/lib/select/date-select-input.translate.mjs +1 -2
- package/esm2020/department/lib/department.model.mjs +1 -1
- package/esm2020/department/lib/department.module.mjs +7 -13
- package/esm2020/department/lib/select/department-select.module.mjs +7 -19
- package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +17 -12
- package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +8 -16
- package/esm2020/department/lib/select/input/department-select-input.component.mjs +6 -6
- package/esm2020/department/lib/select/input/department-select-input.intl.mjs +6 -6
- package/esm2020/department/lib/select/input/department-select-input.module.mjs +15 -13
- package/esm2020/department/lib/select/input/department-select-input.token.mjs +1 -1
- package/esm2020/department/lib/select/input/department-select-input.translate.mjs +4 -1
- package/esm2020/department/lib/service/department-service.model.mjs +1 -1
- package/esm2020/department/lib/service/department-v3.service.mjs +13 -9
- package/esm2020/dropdown/lib/dropdown.module.mjs +7 -25
- package/esm2020/dropdown/lib/item/dropdown-item.directive.mjs +12 -12
- package/esm2020/dropdown/lib/item/dropdown-item.module.mjs +7 -11
- package/esm2020/dropdown/lib/item/index.mjs +1 -1
- package/esm2020/dropdown/lib/panel/dropdown-panel.component.mjs +16 -14
- package/esm2020/dropdown/lib/panel/dropdown-panel.model.mjs +1 -1
- package/esm2020/dropdown/lib/panel/dropdown-panel.module.mjs +8 -16
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.directive.mjs +32 -16
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.module.mjs +8 -16
- package/esm2020/dropdown/lib/trigger/index.mjs +1 -1
- package/esm2020/establishment/lib/establishment.module.mjs +7 -13
- package/esm2020/establishment/lib/select/establishment-select.module.mjs +7 -37
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +6 -9
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +6 -6
- package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +19 -26
- package/esm2020/establishment/lib/select/input/establishment-select-input.intl.mjs +5 -5
- package/esm2020/establishment/lib/select/input/establishment-select-input.module.mjs +17 -40
- package/esm2020/establishment/lib/select/input/establishment-select-input.translate.mjs +2 -2
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +22 -21
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +6 -6
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +32 -25
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +8 -25
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +19 -13
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.module.mjs +17 -25
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.translate.mjs +5 -5
- package/esm2020/establishment/lib/service/establishment-service.model.mjs +1 -1
- package/esm2020/establishment/lib/service/establishment.service.mjs +10 -6
- package/esm2020/establishment/lib/service/legal-unit-service.model.mjs +1 -1
- package/esm2020/establishment/lib/service/legal-unit.service.mjs +10 -6
- package/esm2020/formly/lib/formly.config.mjs +7 -7
- package/esm2020/formly/lib/formly.module.mjs +7 -7
- package/esm2020/formly/lib/types/api.mjs +8 -7
- package/esm2020/formly/lib/types/checkbox.mjs +6 -5
- package/esm2020/formly/lib/types/date.mjs +6 -5
- package/esm2020/formly/lib/types/department.mjs +6 -5
- package/esm2020/formly/lib/types/establishment.mjs +6 -5
- package/esm2020/formly/lib/types/input.mjs +6 -5
- package/esm2020/formly/lib/types/qualification.mjs +6 -5
- package/esm2020/formly/lib/types/radios.mjs +7 -6
- package/esm2020/formly/lib/types/select.mjs +7 -6
- package/esm2020/formly/lib/types/textarea.mjs +6 -5
- package/esm2020/formly/lib/types/user.mjs +6 -5
- package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +7 -8
- package/esm2020/formly/lib/wrappers/error.mjs +20 -17
- package/esm2020/formly/lib/wrappers/helper.mjs +6 -5
- package/esm2020/formly/lib/wrappers/icon.mjs +6 -5
- package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +7 -8
- package/esm2020/formly/lib/wrappers/suffix.mjs +7 -9
- package/esm2020/formly/lib/wrappers/textfield-layout.mjs +9 -12
- package/esm2020/formly/public-api.mjs +1 -1
- package/esm2020/input/lib/clearer/clearer.component.mjs +9 -8
- package/esm2020/input/lib/clearer/clearer.model.mjs +1 -1
- package/esm2020/input/lib/clearer/clearer.module.mjs +8 -16
- package/esm2020/input/lib/displayer/input-displayer.directive.mjs +4 -4
- package/esm2020/input/lib/displayer/input-displayer.model.mjs +1 -1
- package/esm2020/input/lib/displayer/input-displayer.module.mjs +4 -4
- package/esm2020/input/lib/input.directive.mjs +5 -5
- package/esm2020/input/lib/input.model.mjs +10 -4
- package/esm2020/input/lib/input.module.mjs +8 -24
- package/esm2020/material/lib/module.mjs +5 -5
- package/esm2020/modal/lib/modal-panel.component.mjs +38 -24
- package/esm2020/modal/lib/modal-ref.factory.mjs +11 -5
- package/esm2020/modal/lib/modal-ref.model.mjs +1 -1
- package/esm2020/modal/lib/modal.intl.mjs +6 -6
- package/esm2020/modal/lib/modal.model.mjs +1 -1
- package/esm2020/modal/lib/modal.module.mjs +18 -41
- package/esm2020/modal/lib/modal.service.mjs +4 -4
- package/esm2020/modal/lib/modal.token.mjs +1 -1
- package/esm2020/modal/lib/modal.translate.mjs +5 -2
- package/esm2020/number/lib/number.module.mjs +4 -4
- package/esm2020/number/lib/number.pipe.mjs +5 -5
- package/esm2020/option/lib/item/option-item.component.mjs +13 -8
- package/esm2020/option/lib/item/option-item.model.mjs +1 -1
- package/esm2020/option/lib/item/option-item.module.mjs +7 -11
- package/esm2020/option/lib/item/tree-option-item.component.mjs +32 -21
- package/esm2020/option/lib/item/tree-option-item.intl.mjs +6 -6
- package/esm2020/option/lib/item/tree-option-item.model.mjs +2 -4
- package/esm2020/option/lib/item/tree-option-item.module.mjs +18 -25
- package/esm2020/option/lib/item/tree-option-item.translate.mjs +1 -1
- package/esm2020/option/lib/operator/feeder/option-feeder.component.mjs +4 -4
- package/esm2020/option/lib/operator/feeder/option-feeder.module.mjs +7 -11
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.component.mjs +4 -4
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.module.mjs +7 -11
- package/esm2020/option/lib/operator/for-groups/for-groups.directive.mjs +19 -11
- package/esm2020/option/lib/operator/for-groups/for-groups.module.mjs +7 -11
- package/esm2020/option/lib/operator/for-options/for-options.directive.mjs +6 -6
- package/esm2020/option/lib/operator/for-options/for-options.module.mjs +7 -11
- package/esm2020/option/lib/operator/for-options/for-tree-options.directive.mjs +4 -4
- package/esm2020/option/lib/operator/for-options/for-tree-options.module.mjs +7 -11
- package/esm2020/option/lib/operator/option-operator.model.mjs +1 -1
- package/esm2020/option/lib/operator/option-operator.module.mjs +7 -37
- package/esm2020/option/lib/operator/pager/option-pager.component.mjs +8 -7
- package/esm2020/option/lib/operator/pager/option-pager.module.mjs +7 -11
- package/esm2020/option/lib/operator/pager/tree-option-pager.component.mjs +13 -10
- package/esm2020/option/lib/operator/pager/tree-option-pager.module.mjs +7 -11
- package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +13 -13
- package/esm2020/option/lib/operator/searcher/option-searcher.module.mjs +8 -22
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +16 -14
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.module.mjs +8 -22
- package/esm2020/option/lib/operator/tree-option-operator.model.mjs +1 -1
- package/esm2020/option/lib/operator/tree-option-operator.module.mjs +7 -31
- package/esm2020/option/lib/option.module.mjs +7 -37
- package/esm2020/option/lib/picker/option-picker-advanced.component.mjs +29 -25
- package/esm2020/option/lib/picker/option-picker.component.mjs +35 -31
- package/esm2020/option/lib/picker/option-picker.model.mjs +12 -12
- package/esm2020/option/lib/picker/option-picker.module.mjs +8 -34
- package/esm2020/option/lib/picker/tree-option-picker-advanced.component.mjs +26 -24
- package/esm2020/option/lib/picker/tree-option-picker.component.mjs +35 -38
- package/esm2020/option/lib/picker/tree-option-picker.model.mjs +1 -1
- package/esm2020/option/lib/picker/tree-option-picker.module.mjs +8 -29
- package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +7 -6
- package/esm2020/option/lib/placeholder/option-placeholder.intl.mjs +5 -5
- package/esm2020/option/lib/placeholder/option-placeholder.module.mjs +16 -14
- package/esm2020/option/lib/placeholder/option-placeholder.translate.mjs +5 -1
- package/esm2020/option/lib/selector/all/select-all.component.mjs +7 -7
- package/esm2020/option/lib/selector/all/select-all.intl.mjs +5 -5
- package/esm2020/option/lib/selector/all/select-all.module.mjs +16 -14
- package/esm2020/option/lib/selector/all/select-all.translate.mjs +5 -5
- package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +9 -11
- package/esm2020/option/lib/selector/all/tree-select-all.module.mjs +16 -14
- package/esm2020/option/lib/selector/option-selector.model.mjs +1 -1
- package/esm2020/option/lib/selector/option-selector.module.mjs +7 -13
- package/esm2020/option/lib/selector/tree-option-selector.model.mjs +1 -1
- package/esm2020/option/lib/selector/tree-option-selector.module.mjs +7 -13
- package/esm2020/option/lib/tree-option.module.mjs +7 -31
- package/esm2020/picker/lib/input-picker.model.mjs +1 -1
- package/esm2020/popover/lib/animation/popover.animation.mjs +3 -5
- package/esm2020/popover/lib/panel/popover-panel.component.mjs +9 -7
- package/esm2020/popover/lib/panel/popover-panel.model.mjs +48 -24
- package/esm2020/popover/lib/panel/popover-panel.module.mjs +8 -22
- package/esm2020/popover/lib/popover.module.mjs +7 -25
- package/esm2020/popover/lib/target/popover-target.directive.mjs +19 -9
- package/esm2020/popover/lib/target/popover-target.model.mjs +40 -24
- package/esm2020/popover/lib/target/popover-target.module.mjs +8 -19
- package/esm2020/popover/lib/trigger/popover-trigger.directive.mjs +54 -24
- package/esm2020/popover/lib/trigger/popover-trigger.model.mjs +58 -40
- package/esm2020/popover/lib/trigger/popover-trigger.module.mjs +8 -25
- package/esm2020/popup/lib/index.mjs +5 -6
- package/esm2020/popup/lib/popup-ref.factory.mjs +5 -5
- package/esm2020/popup/lib/popup-ref.model.mjs +15 -9
- package/esm2020/popup/lib/popup.module.mjs +7 -19
- package/esm2020/popup/lib/popup.service.mjs +5 -5
- package/esm2020/popup/lib/popup.token.mjs +1 -1
- package/esm2020/public_api.mjs +1 -1
- package/esm2020/qualification/lib/index.mjs +1 -1
- package/esm2020/qualification/lib/qualification.model.mjs +1 -1
- package/esm2020/qualification/lib/qualification.module.mjs +7 -13
- package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +8 -12
- package/esm2020/qualification/lib/select/input/qualification-select-input.intl.mjs +5 -5
- package/esm2020/qualification/lib/select/input/qualification-select-input.module.mjs +17 -34
- package/esm2020/qualification/lib/select/input/qualification-select-input.translate.mjs +5 -5
- package/esm2020/qualification/lib/select/qualification-select.module.mjs +7 -13
- package/esm2020/safe-content/lib/safe-content.module.mjs +5 -5
- package/esm2020/safe-content/lib/safe-content.pipe.mjs +14 -10
- package/esm2020/scroll/lib/scroll.directive.mjs +7 -6
- package/esm2020/scroll/lib/scroll.module.mjs +7 -11
- package/esm2020/select/lib/input/select-input.component.mjs +34 -22
- package/esm2020/select/lib/input/select-input.model.mjs +29 -17
- package/esm2020/select/lib/input/select-input.module.mjs +8 -19
- package/esm2020/select/lib/select.module.mjs +7 -13
- package/esm2020/sidepanel/lib/sidepanel-panel.component.mjs +26 -15
- package/esm2020/sidepanel/lib/sidepanel-ref.factory.mjs +11 -5
- package/esm2020/sidepanel/lib/sidepanel-ref.model.mjs +1 -1
- package/esm2020/sidepanel/lib/sidepanel.intl.mjs +5 -5
- package/esm2020/sidepanel/lib/sidepanel.model.mjs +1 -1
- package/esm2020/sidepanel/lib/sidepanel.module.mjs +19 -42
- package/esm2020/sidepanel/lib/sidepanel.service.mjs +4 -4
- package/esm2020/sidepanel/lib/sidepanel.token.mjs +1 -1
- package/esm2020/sidepanel/lib/sidepanel.translate.mjs +5 -2
- package/esm2020/tooltip/lib/animation/tooltip.animation.mjs +3 -5
- package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +12 -7
- package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +9 -22
- package/esm2020/tooltip/lib/tooltip.module.mjs +7 -19
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +24 -11
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.module.mjs +8 -16
- package/esm2020/user/lib/display/user-display.module.mjs +4 -4
- package/esm2020/user/lib/display/user-display.pipe.mjs +5 -5
- package/esm2020/user/lib/picture/user-picture.component.mjs +6 -6
- package/esm2020/user/lib/picture/user-picture.module.mjs +4 -4
- package/esm2020/user/lib/select/homonyms/user-homonyms.component.mjs +7 -7
- package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +8 -19
- package/esm2020/user/lib/select/homonyms/user-homonyms.service.mjs +23 -17
- package/esm2020/user/lib/select/input/user-select-input.component.mjs +13 -10
- package/esm2020/user/lib/select/input/user-select-input.intl.mjs +6 -6
- package/esm2020/user/lib/select/input/user-select-input.module.mjs +16 -14
- package/esm2020/user/lib/select/input/user-select-input.translate.mjs +5 -5
- package/esm2020/user/lib/select/me/me-option.directive.mjs +45 -20
- package/esm2020/user/lib/select/me/me-option.module.mjs +8 -12
- package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +41 -31
- package/esm2020/user/lib/select/searcher/user-searcher.intl.mjs +5 -5
- package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +17 -28
- package/esm2020/user/lib/select/searcher/user-searcher.translate.mjs +2 -2
- package/esm2020/user/lib/select/user-select.module.mjs +7 -31
- package/esm2020/user/lib/service/index.mjs +1 -1
- package/esm2020/user/lib/service/user-service.model.mjs +1 -1
- package/esm2020/user/lib/service/user-v3.service.mjs +22 -19
- package/esm2020/user/lib/tile/user-tile.component.mjs +7 -7
- package/esm2020/user/lib/tile/user-tile.module.mjs +4 -4
- package/esm2020/user/lib/user.module.mjs +7 -31
- package/establishment/lib/select/for-legal-units/for-legal-units.directive.d.ts +0 -1
- package/establishment/lib/select/input/establishment-select-input.component.d.ts +3 -3
- package/establishment/lib/select/input/establishment-select-input.intl.d.ts +2 -2
- package/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.d.ts +2 -2
- package/establishment/lib/select/searcher/establishment-searcher.component.d.ts +7 -7
- package/establishment/lib/select/select-all/establishment-select-all.component.d.ts +2 -2
- package/establishment/lib/service/establishment-service.model.d.ts +1 -2
- package/establishment/lib/service/legal-unit-service.model.d.ts +1 -2
- package/fesm2015/lucca-front-ng-animations.mjs +5 -17
- package/fesm2015/lucca-front-ng-animations.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-api.mjs +257 -281
- package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-core.mjs +22 -16
- package/fesm2015/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-date.mjs +116 -215
- package/fesm2015/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-department.mjs +70 -82
- package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-dropdown.mjs +77 -97
- package/fesm2015/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-establishment.mjs +174 -246
- package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-formly.mjs +117 -106
- package/fesm2015/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-input.mjs +41 -58
- package/fesm2015/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-material.mjs +4 -4
- package/fesm2015/lucca-front-ng-material.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-modal.mjs +97 -97
- package/fesm2015/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-number.mjs +7 -7
- package/fesm2015/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-option.mjs +629 -820
- package/fesm2015/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-picker.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-popover.mjs +244 -232
- package/fesm2015/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-popup.mjs +55 -61
- package/fesm2015/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-qualification.mjs +42 -75
- package/fesm2015/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-safe-content.mjs +17 -13
- package/fesm2015/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-scroll.mjs +11 -14
- package/fesm2015/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-select.mjs +73 -66
- package/fesm2015/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-sidepanel.mjs +103 -106
- package/fesm2015/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-tooltip.mjs +54 -71
- package/fesm2015/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-user.mjs +222 -252
- package/fesm2015/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2015/lucca-front-ng.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-animations.mjs +5 -17
- package/fesm2020/lucca-front-ng-animations.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-api.mjs +272 -290
- package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-core.mjs +22 -16
- package/fesm2020/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-date.mjs +116 -215
- package/fesm2020/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-department.mjs +69 -82
- package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-dropdown.mjs +77 -97
- package/fesm2020/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-establishment.mjs +174 -246
- package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-formly.mjs +115 -106
- package/fesm2020/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-input.mjs +41 -58
- package/fesm2020/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-material.mjs +4 -4
- package/fesm2020/lucca-front-ng-material.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-modal.mjs +95 -95
- package/fesm2020/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-number.mjs +7 -7
- package/fesm2020/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-option.mjs +623 -814
- package/fesm2020/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-picker.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-popover.mjs +244 -232
- package/fesm2020/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-popup.mjs +53 -59
- package/fesm2020/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-qualification.mjs +42 -75
- package/fesm2020/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-safe-content.mjs +17 -13
- package/fesm2020/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-scroll.mjs +11 -14
- package/fesm2020/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-select.mjs +73 -66
- package/fesm2020/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-sidepanel.mjs +101 -104
- package/fesm2020/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-tooltip.mjs +54 -71
- package/fesm2020/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-user.mjs +226 -253
- package/fesm2020/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2020/lucca-front-ng.mjs.map +1 -1
- package/formly/lib/types/api.d.ts +4 -4
- package/formly/lib/types/radios.d.ts +4 -1
- package/formly/lib/types/select.d.ts +5 -1
- package/formly/lib/wrappers/checkbox-layout.d.ts +1 -1
- package/formly/lib/wrappers/error.d.ts +1 -2
- package/formly/lib/wrappers/radiosfield-layout.d.ts +1 -1
- package/formly/lib/wrappers/textfield-layout.d.ts +1 -1
- package/input/lib/clearer/clearer.component.d.ts +1 -1
- package/input/lib/clearer/clearer.model.d.ts +2 -2
- package/input/lib/displayer/input-displayer.directive.d.ts +3 -3
- package/input/lib/displayer/input-displayer.model.d.ts +2 -2
- package/input/lib/input.directive.d.ts +1 -1
- package/input/lib/input.model.d.ts +8 -9
- package/modal/lib/modal-panel.component.d.ts +15 -12
- package/modal/lib/modal-ref.factory.d.ts +4 -4
- package/modal/lib/modal-ref.model.d.ts +3 -4
- package/modal/lib/modal.intl.d.ts +2 -2
- package/modal/lib/modal.model.d.ts +1 -2
- package/modal/lib/modal.module.d.ts +2 -1
- package/modal/lib/modal.token.d.ts +7 -4
- package/modal/lib/modal.translate.d.ts +2 -0
- package/number/lib/number.pipe.d.ts +2 -2
- package/option/lib/item/option-item.component.d.ts +1 -1
- package/option/lib/item/option-item.model.d.ts +4 -4
- package/option/lib/item/tree-option-item.component.d.ts +7 -8
- package/option/lib/item/tree-option-item.intl.d.ts +2 -2
- package/option/lib/item/tree-option-item.model.d.ts +3 -3
- package/option/lib/operator/feeder/option-feeder.component.d.ts +1 -1
- package/option/lib/operator/feeder/tree-option-feeder.component.d.ts +1 -1
- package/option/lib/operator/for-groups/for-groups.directive.d.ts +1 -1
- package/option/lib/operator/option-operator.model.d.ts +2 -2
- package/option/lib/operator/pager/option-pager.component.d.ts +3 -3
- package/option/lib/operator/pager/tree-option-pager.component.d.ts +3 -4
- package/option/lib/operator/searcher/option-searcher.component.d.ts +5 -5
- package/option/lib/operator/searcher/tree-option-searcher.component.d.ts +5 -6
- package/option/lib/operator/tree-option-operator.model.d.ts +1 -2
- package/option/lib/picker/option-picker-advanced.component.d.ts +10 -10
- package/option/lib/picker/option-picker.component.d.ts +4 -4
- package/option/lib/picker/option-picker.model.d.ts +2 -3
- package/option/lib/picker/tree-option-picker-advanced.component.d.ts +10 -10
- package/option/lib/picker/tree-option-picker.component.d.ts +2 -2
- package/option/lib/picker/tree-option-picker.model.d.ts +2 -3
- package/option/lib/placeholder/option-placeholder.intl.d.ts +2 -2
- package/option/lib/selector/all/select-all.component.d.ts +2 -2
- package/option/lib/selector/all/select-all.intl.d.ts +2 -2
- package/option/lib/selector/all/tree-select-all.component.d.ts +3 -3
- package/option/lib/selector/option-selector.model.d.ts +2 -2
- package/option/lib/selector/tree-option-selector.model.d.ts +3 -4
- package/package.json +1 -1
- package/picker/lib/input-picker.model.d.ts +5 -5
- package/popover/lib/panel/popover-panel.component.d.ts +8 -8
- package/popover/lib/panel/popover-panel.model.d.ts +11 -11
- package/popover/lib/target/popover-target.model.d.ts +2 -2
- package/popover/lib/trigger/popover-trigger.directive.d.ts +8 -8
- package/popover/lib/trigger/popover-trigger.model.d.ts +9 -9
- package/popup/lib/index.d.ts +4 -5
- package/popup/lib/popup-ref.factory.d.ts +4 -5
- package/popup/lib/popup-ref.model.d.ts +7 -8
- package/popup/lib/popup.service.d.ts +2 -3
- package/popup/lib/popup.token.d.ts +5 -3
- package/qualification/lib/qualification.model.d.ts +2 -4
- package/qualification/lib/select/input/qualification-select-input.component.d.ts +2 -3
- package/qualification/lib/select/input/qualification-select-input.intl.d.ts +2 -2
- package/safe-content/lib/safe-content.pipe.d.ts +2 -2
- package/schematics/ng-add/index.js +2 -11
- package/schematics/ng-add/tasks.js +2 -9
- package/scroll/lib/scroll.directive.d.ts +3 -3
- package/select/lib/input/select-input.component.d.ts +10 -10
- package/select/lib/input/select-input.model.d.ts +12 -12
- package/sidepanel/lib/sidepanel-panel.component.d.ts +6 -4
- package/sidepanel/lib/sidepanel-ref.factory.d.ts +3 -3
- package/sidepanel/lib/sidepanel-ref.model.d.ts +3 -4
- package/sidepanel/lib/sidepanel.intl.d.ts +2 -2
- package/sidepanel/lib/sidepanel.model.d.ts +1 -2
- package/sidepanel/lib/sidepanel.module.d.ts +2 -1
- package/sidepanel/lib/sidepanel.token.d.ts +8 -4
- package/sidepanel/lib/sidepanel.translate.d.ts +2 -0
- package/style/components/_popup.scss +2 -1
- package/style/components/cdk/_global.scss +7 -1
- package/style/definitions/select/_select-clearer.scss +28 -11
- package/style/definitions/select/_select-input.scss +26 -8
- package/style/theme/_select.theme.scss +2 -2
- package/tooltip/lib/panel/tooltip-panel.component.d.ts +4 -4
- package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +4 -4
- package/user/lib/select/homonyms/user-homonyms.service.d.ts +2 -2
- package/user/lib/select/input/user-select-input.component.d.ts +8 -7
- package/user/lib/select/input/user-select-input.intl.d.ts +2 -2
- package/user/lib/select/me/me-option.directive.d.ts +12 -8
- package/user/lib/select/searcher/user-searcher.component.d.ts +8 -7
- package/user/lib/select/searcher/user-searcher.intl.d.ts +2 -2
- package/user/lib/service/user-v3.service.d.ts +4 -4
- package/user/lib/tile/user-tile.component.d.ts +1 -1
- package/esm2020/popover/lib/target/popover-target.error.mjs +0 -15
- package/esm2020/popover/lib/trigger/popover-trigger.error.mjs +0 -13
- package/esm2020/popup/lib/popup.model.mjs +0 -2
- package/popover/lib/target/popover-target.error.d.ts +0 -8
- package/popover/lib/trigger/popover-trigger.error.d.ts +0 -5
- package/popup/lib/popup.model.d.ts +0 -2
package/api/lib/api.model.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
export interface ILuApiSuggestion<T> {
|
|
2
|
-
relevance:
|
|
2
|
+
relevance: unknown;
|
|
3
3
|
item: T;
|
|
4
4
|
}
|
|
5
5
|
export interface ILuApiItem<TId = number> {
|
|
6
6
|
id: TId;
|
|
7
7
|
name?: string;
|
|
8
8
|
}
|
|
9
|
-
export interface ILuApiResponse<D
|
|
9
|
+
export interface ILuApiResponse<D> {
|
|
10
10
|
data: D;
|
|
11
11
|
}
|
|
12
|
-
export
|
|
12
|
+
export declare type ILuApiCollectionResponse<T extends ILuApiItem = ILuApiItem> = ILuApiResponse<{
|
|
13
13
|
items: T[];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
14
|
+
}>;
|
|
@@ -2,12 +2,12 @@ import { ILuOnOpenSubscriber } from '@lucca-front/ng/core';
|
|
|
2
2
|
import { ILuOptionOperator } from '@lucca-front/ng/option';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { ILuApiItem } from '../../api.model';
|
|
5
|
+
import { LuApiHybridService } from '../../service/index';
|
|
5
6
|
import { ALuApiOptionFeeder } from './api-feeder.model';
|
|
6
|
-
import { ALuApiService, LuApiHybridService } from '../../service/index';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class LuApiFeederComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionFeeder<T, LuApiHybridService<T>> implements ILuOptionOperator<T>, ILuOnOpenSubscriber {
|
|
9
9
|
outOptions$: BehaviorSubject<T[]>;
|
|
10
|
-
constructor(hostService:
|
|
10
|
+
constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
|
|
11
11
|
set standard(standard: string);
|
|
12
12
|
set api(api: string);
|
|
13
13
|
set fields(fields: string);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ILuOptionOperator } from '@lucca-front/ng/option';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
3
|
import { ILuApiItem } from '../../api.model';
|
|
3
|
-
import { Observable, BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { ILuApiService } from '../../service/index';
|
|
5
|
-
export
|
|
6
|
-
}
|
|
5
|
+
export declare type ILuApiOptionFeeder<T extends ILuApiItem = ILuApiItem> = ILuOptionOperator<T>;
|
|
7
6
|
export interface ILuApiFeederService<T extends ILuApiItem = ILuApiItem> {
|
|
8
7
|
getAll(): Observable<T[]>;
|
|
9
8
|
}
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class LuApiSelectInputComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> extends ALuSelectInputComponent<T, LuOptionPickerAdvancedComponent<T, ILuOptionItem<T>>> implements ControlValueAccessor, AfterViewInit {
|
|
8
8
|
protected _changeDetectorRef: ChangeDetectorRef;
|
|
9
9
|
protected _overlay: Overlay;
|
|
10
|
-
protected _elementRef: ElementRef
|
|
10
|
+
protected _elementRef: ElementRef<HTMLElement>;
|
|
11
11
|
protected _viewContainerRef: ViewContainerRef;
|
|
12
12
|
protected _renderer: Renderer2;
|
|
13
13
|
standard: string;
|
|
@@ -15,8 +15,9 @@ export declare class LuApiSelectInputComponent<T extends import('../../api.model
|
|
|
15
15
|
fields: string;
|
|
16
16
|
filters: string[];
|
|
17
17
|
orderBy: string;
|
|
18
|
+
sort: string;
|
|
18
19
|
byId: LuOptionComparer<T>;
|
|
19
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef
|
|
20
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2);
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuApiSelectInputComponent<any>, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuApiSelectInputComponent<any>, "lu-api-select", never, { "standard": "standard"; "api": "api"; "fields": "fields"; "filters": "filters"; "orderBy": "orderBy"; }, {}, never, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuApiSelectInputComponent<any>, "lu-api-select", never, { "standard": "standard"; "api": "api"; "fields": "fields"; "filters": "filters"; "orderBy": "orderBy"; "sort": "sort"; }, {}, never, never>;
|
|
22
23
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';
|
|
3
3
|
import { ILuOptionOperator } from '@lucca-front/ng/option';
|
|
4
4
|
import { ILuApiItem } from '../../api.model';
|
|
5
|
-
import { ALuApiOptionPager } from './api-pager.model';
|
|
6
5
|
import { LuApiHybridService } from '../../service/index';
|
|
6
|
+
import { ALuApiOptionPager } from './api-pager.model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class LuApiPagerComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionPager<T, LuApiHybridService<T>> implements ILuOptionOperator<T>, OnInit, ILuOnScrollBottomSubscriber, ILuOnOpenSubscriber {
|
|
9
9
|
constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';
|
|
2
2
|
import { ILuOptionOperator } from '@lucca-front/ng/option';
|
|
3
|
-
import { ILuApiItem } from '../../api.model';
|
|
4
3
|
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import { ILuApiItem } from '../../api.model';
|
|
5
5
|
import { ILuApiService } from '../../service/index';
|
|
6
6
|
declare enum Strategy {
|
|
7
7
|
append = 0,
|
|
8
8
|
replace = 1
|
|
9
9
|
}
|
|
10
|
-
export
|
|
11
|
-
}
|
|
10
|
+
export declare type ILuApiOptionPager<T extends ILuApiItem = ILuApiItem> = ILuOptionOperator<T>;
|
|
12
11
|
export interface ILuApiPagerService<T extends ILuApiItem = ILuApiItem> {
|
|
13
12
|
getPaged(page: number): Observable<T[]>;
|
|
14
13
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ALuApiOptionSearcher, ALuApiOptionPagedSearcher } from './api-searcher.model';
|
|
3
2
|
import { FormControl } from '@angular/forms';
|
|
4
|
-
import {
|
|
3
|
+
import { LuApiHybridService } from '../../service/index';
|
|
4
|
+
import { ALuApiOptionPagedSearcher, ALuApiOptionSearcher } from './api-searcher.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class LuApiSearcherComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> extends ALuApiOptionSearcher<T, LuApiHybridService<T>> implements OnInit {
|
|
7
|
-
searchInput: ElementRef
|
|
7
|
+
searchInput: ElementRef<HTMLElement>;
|
|
8
8
|
set standard(standard: string);
|
|
9
9
|
set api(api: string);
|
|
10
10
|
set fields(fields: string);
|
|
@@ -13,7 +13,7 @@ export declare class LuApiSearcherComponent<T extends import('../../api.model').
|
|
|
13
13
|
set sort(sort: string);
|
|
14
14
|
debounceTime: number;
|
|
15
15
|
clueControl: FormControl;
|
|
16
|
-
constructor(hostService:
|
|
16
|
+
constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
onOpen(): void;
|
|
19
19
|
resetClue(): void;
|
|
@@ -21,18 +21,19 @@ export declare class LuApiSearcherComponent<T extends import('../../api.model').
|
|
|
21
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<LuApiSearcherComponent<any>, "lu-api-searcher", never, { "standard": "standard"; "api": "api"; "fields": "fields"; "filters": "filters"; "orderBy": "orderBy"; "sort": "sort"; "debounceTime": "debounceTime"; }, {}, never, never>;
|
|
22
22
|
}
|
|
23
23
|
export declare class LuApiPagedSearcherComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> extends ALuApiOptionPagedSearcher<T, LuApiHybridService<T>> implements OnInit {
|
|
24
|
-
searchInput: ElementRef
|
|
24
|
+
searchInput: ElementRef<HTMLElement>;
|
|
25
25
|
set standard(standard: string);
|
|
26
26
|
set api(api: string);
|
|
27
27
|
set fields(fields: string);
|
|
28
28
|
set filters(filters: string[]);
|
|
29
29
|
set orderBy(orderBy: string);
|
|
30
|
+
set sort(sort: string);
|
|
30
31
|
debounceTime: number;
|
|
31
32
|
clueControl: FormControl;
|
|
32
|
-
constructor(hostService:
|
|
33
|
+
constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
|
|
33
34
|
ngOnInit(): void;
|
|
34
35
|
onOpen(): void;
|
|
35
36
|
resetClue(): void;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuApiPagedSearcherComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuApiPagedSearcherComponent<any>, "lu-api-paged-searcher", never, { "standard": "standard"; "api": "api"; "fields": "fields"; "filters": "filters"; "orderBy": "orderBy"; "debounceTime": "debounceTime"; }, {}, never, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuApiPagedSearcherComponent<any>, "lu-api-paged-searcher", never, { "standard": "standard"; "api": "api"; "fields": "fields"; "filters": "filters"; "orderBy": "orderBy"; "sort": "sort"; "debounceTime": "debounceTime"; }, {}, never, never>;
|
|
38
39
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Observable, Subject } from 'rxjs';
|
|
2
|
-
import { ILuApiOptionFeeder } from '../feeder/index';
|
|
3
1
|
import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';
|
|
2
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
3
|
import { ILuApiService } from '../../service/index';
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { ILuApiOptionFeeder } from '../feeder/index';
|
|
5
|
+
export declare type ILuApiOptionSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> = ILuApiOptionFeeder<T>;
|
|
7
6
|
export declare abstract class ALuApiOptionSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>> implements ILuApiOptionFeeder<T>, ILuOnOpenSubscriber {
|
|
8
7
|
protected _service: S;
|
|
9
8
|
outOptions$: Subject<T[]>;
|
|
@@ -19,8 +18,7 @@ export declare abstract class ALuApiOptionSearcher<T extends import('../../api.m
|
|
|
19
18
|
abstract resetClue(): any;
|
|
20
19
|
protected clearOptions(): void;
|
|
21
20
|
}
|
|
22
|
-
export
|
|
23
|
-
}
|
|
21
|
+
export declare type ILuApiOptionPagedSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> = ILuApiOptionSearcher<T>;
|
|
24
22
|
export declare abstract class ALuApiOptionPagedSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>> extends ALuApiOptionSearcher<T, S> implements ILuApiOptionPagedSearcher<T>, ILuOnScrollBottomSubscriber {
|
|
25
23
|
outOptions$: Subject<T[]>;
|
|
26
24
|
loading$: Observable<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ILuApiItem } from '../api.model';
|
|
2
|
-
import { ALuApiService } from './api-service.model';
|
|
3
1
|
import { HttpClient } from '@angular/common/http';
|
|
4
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { ILuApiItem } from '../api.model';
|
|
4
|
+
import { ALuApiService } from './api-service.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class LuApiV3Service<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {
|
|
7
7
|
protected _http: HttpClient;
|
|
@@ -19,8 +19,8 @@ export declare class LuApiV3Service<T extends ILuApiItem = ILuApiItem> extends A
|
|
|
19
19
|
getPaged(page: number, filters?: string[]): Observable<T[]>;
|
|
20
20
|
searchAll(clue: string, filters?: string[]): Observable<T[]>;
|
|
21
21
|
searchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;
|
|
22
|
-
protected _get(url:
|
|
23
|
-
protected _clueFilter(clue:
|
|
22
|
+
protected _get(url: string): Observable<T[]>;
|
|
23
|
+
protected _clueFilter(clue: string): string;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuApiV3Service<any>, never>;
|
|
25
25
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuApiV3Service<any>>;
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ALuDateAdapter } from '../date-adapter.class';
|
|
2
|
-
import { ELuDateGranularity } from '../date-granularity.enum';
|
|
3
2
|
import { ILuDateAdapter } from '../date-adapter.interface';
|
|
3
|
+
import { ELuDateGranularity } from '../date-granularity.enum';
|
|
4
4
|
import { ILuNativeDateAdapterOptions } from './native-date.option';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class LuNativeDateAdapter extends ALuDateAdapter<Date> implements ILuDateAdapter<Date> {
|
|
@@ -2,6 +2,12 @@ export interface ILuTranslation<T> {
|
|
|
2
2
|
en: {
|
|
3
3
|
[P in keyof T]?: string;
|
|
4
4
|
};
|
|
5
|
+
'en-GB'?: {
|
|
6
|
+
[P in keyof T]?: string;
|
|
7
|
+
};
|
|
8
|
+
'en-US'?: {
|
|
9
|
+
[P in keyof T]?: string;
|
|
10
|
+
};
|
|
5
11
|
es?: {
|
|
6
12
|
[P in keyof T]?: string;
|
|
7
13
|
};
|
|
@@ -11,4 +17,7 @@ export interface ILuTranslation<T> {
|
|
|
11
17
|
fr?: {
|
|
12
18
|
[P in keyof T]?: string;
|
|
13
19
|
};
|
|
20
|
+
pt?: {
|
|
21
|
+
[P in keyof T]?: string;
|
|
22
|
+
};
|
|
14
23
|
}
|
|
@@ -18,7 +18,7 @@ export declare class LuCalendarInputComponent<D> extends ALuInput<D> implements
|
|
|
18
18
|
items: ICalendarItem<D>[];
|
|
19
19
|
get mod(): "mod-yearlyView" | "mod-monthlyView" | "mod-dailyView";
|
|
20
20
|
labels: string[];
|
|
21
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef
|
|
21
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, _renderer: Renderer2, _locale: string, _factory: LuCalendarItemFactory<D>, _adapter: ALuDateAdapter<D>);
|
|
22
22
|
ngOnInit(): void;
|
|
23
23
|
writeValue(value?: D): void;
|
|
24
24
|
initDayLabels(): void;
|
|
@@ -35,7 +35,7 @@ export declare class LuCalendarInputComponent<D> extends ALuInput<D> implements
|
|
|
35
35
|
protected selectYear(item: ICalendarItem<D>): void;
|
|
36
36
|
previous(): void;
|
|
37
37
|
next(): void;
|
|
38
|
-
trackBy(
|
|
38
|
+
trackBy(_idx: any, item: ICalendarItem<D>): string;
|
|
39
39
|
increaseGranularity(): void;
|
|
40
40
|
protected nextMonth(): void;
|
|
41
41
|
protected nextYear(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DayItem, MonthItem, YearItem, DecadeItem } from './calendar-item.class';
|
|
2
1
|
import { ALuDateAdapter } from '@lucca-front/ng/core';
|
|
2
|
+
import { DayItem, DecadeItem, MonthItem, YearItem } from './calendar-item.class';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LuCalendarItemFactory<D> {
|
|
5
5
|
private _adapter;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Validator, ValidationErrors, AbstractControl } from '@angular/forms';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
4
3
|
import { ALuDateAdapter, ELuDateGranularity } from '@lucca-front/ng/core';
|
|
4
|
+
import { ALuInput } from '@lucca-front/ng/input';
|
|
5
5
|
import { ILuDateInputLabel } from './date-input.translate';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class LuDateInputDirective<D> extends ALuInput<D> implements Validator, OnInit {
|
|
7
|
+
export declare class LuDateInputDirective<D> extends ALuInput<D, HTMLInputElement> implements Validator, OnInit {
|
|
8
8
|
private _adapter;
|
|
9
9
|
private _intl;
|
|
10
10
|
private _focused;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';
|
|
1
2
|
import { ILuDateInputLabel } from './date-input.translate';
|
|
2
|
-
import { ALuIntl } from '@lucca-front/ng/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LuDateInputIntl extends ALuIntl<ILuDateInputLabel> {
|
|
5
|
-
constructor(translations:
|
|
5
|
+
constructor(translations: ILuTranslation<ILuDateInputLabel>, locale: string);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDateInputIntl, never>;
|
|
7
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuDateInputIntl>;
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ALuPickerPanel } from '@lucca-front/ng/picker';
|
|
2
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
2
|
import { ALuDateAdapter, ELuDateGranularity } from '@lucca-front/ng/core';
|
|
3
|
+
import { ALuPickerPanel } from '@lucca-front/ng/picker';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LuDatePickerComponent<D = Date> extends ALuPickerPanel<D> {
|
|
6
6
|
private _adapter;
|
|
@@ -13,11 +13,11 @@ export declare class LuDatePickerComponent<D = Date> extends ALuPickerPanel<D> {
|
|
|
13
13
|
open: EventEmitter<void>;
|
|
14
14
|
hovered: EventEmitter<boolean>;
|
|
15
15
|
onSelectValue: EventEmitter<D>;
|
|
16
|
-
set vcTemplateRef(tr: TemplateRef<
|
|
16
|
+
set vcTemplateRef(tr: TemplateRef<unknown>);
|
|
17
17
|
constructor(_adapter: ALuDateAdapter<D>);
|
|
18
18
|
_emitOpenEvent(): void;
|
|
19
19
|
_emitCloseEvent(): void;
|
|
20
|
-
_emitHoveredEvent(h:
|
|
20
|
+
_emitHoveredEvent(h: boolean): void;
|
|
21
21
|
_emitSelectValue(val: D): void;
|
|
22
22
|
setValue(value: D): void;
|
|
23
23
|
_onCalendar(val: D): void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ViewContainerRef, ElementRef, Renderer2, AfterViewInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
1
|
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, Renderer2, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
4
|
+
import { ALuDateAdapter, ELuDateGranularity } from '@lucca-front/ng/core';
|
|
4
5
|
import { ILuInputWithPicker } from '@lucca-front/ng/picker';
|
|
5
6
|
import { ALuSelectInputComponent } from '@lucca-front/ng/select';
|
|
6
|
-
import { ALuDateAdapter, ELuDateGranularity } from '@lucca-front/ng/core';
|
|
7
7
|
import { ILuDateSelectInputLabel } from './date-select-input.translate';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class LuDateSelectInputComponent<D> extends ALuSelectInputComponent<D> implements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit, Validator {
|
|
10
10
|
protected _changeDetectorRef: ChangeDetectorRef;
|
|
11
11
|
protected _overlay: Overlay;
|
|
12
|
-
protected _elementRef: ElementRef
|
|
12
|
+
protected _elementRef: ElementRef<HTMLElement>;
|
|
13
13
|
protected _viewContainerRef: ViewContainerRef;
|
|
14
14
|
protected _renderer: Renderer2;
|
|
15
15
|
private _adapter;
|
|
@@ -21,7 +21,7 @@ export declare class LuDateSelectInputComponent<D> extends ALuSelectInputCompone
|
|
|
21
21
|
hideClearer: boolean;
|
|
22
22
|
startOn: D;
|
|
23
23
|
get format(): string;
|
|
24
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef
|
|
24
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2, _adapter: ALuDateAdapter<D>, _intl: ILuDateSelectInputLabel);
|
|
25
25
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDateSelectInputComponent<any>, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<LuDateSelectInputComponent<any>, "lu-date-select", never, { "min": "min"; "max": "max"; "granularity": "granularity"; "inputPlaceholder": "placeholder"; "hideClearer": "hideClearer"; "startOn": "startOn"; }, {}, never, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';
|
|
1
2
|
import { ILuDateSelectInputLabel } from './date-select-input.translate';
|
|
2
|
-
import { ALuIntl } from '@lucca-front/ng/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LuDateSelectInputIntl extends ALuIntl<ILuDateSelectInputLabel> {
|
|
5
|
-
constructor(translations:
|
|
5
|
+
constructor(translations: ILuTranslation<ILuDateSelectInputLabel>, locale: string);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDateSelectInputIntl, never>;
|
|
7
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuDateSelectInputIntl>;
|
|
8
8
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { ILuOnOpenSubscriber, ILuTree } from '@lucca-front/ng/core';
|
|
2
|
+
import { ALuTreeOptionOperator, ILuTreeOptionOperator } from '@lucca-front/ng/option';
|
|
1
3
|
import { Observable, Subject } from 'rxjs';
|
|
2
|
-
import { ILuTree } from '@lucca-front/ng/core';
|
|
3
4
|
import { ILuDepartment } from '../../department.model';
|
|
4
|
-
import {
|
|
5
|
-
import { ALuTreeOptionOperator, ILuTreeOptionOperator } from '@lucca-front/ng/option';
|
|
6
|
-
import { LuDepartmentV3Service, ILuDepartmentService } from '../../service/index';
|
|
5
|
+
import { LuDepartmentV3Service } from '../../service/index';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class LuDepartmentFeederComponent extends ALuTreeOptionOperator<ILuDepartment> implements ILuTreeOptionOperator<ILuDepartment>, ILuOnOpenSubscriber {
|
|
9
8
|
inOptions$: Observable<ILuTree<ILuDepartment>[]>;
|
|
@@ -12,7 +11,7 @@ export declare class LuDepartmentFeederComponent extends ALuTreeOptionOperator<I
|
|
|
12
11
|
protected _service: LuDepartmentV3Service;
|
|
13
12
|
set appInstanceId(appInstanceId: number | string);
|
|
14
13
|
set operations(operations: number[]);
|
|
15
|
-
constructor(hostService:
|
|
14
|
+
constructor(hostService: LuDepartmentV3Service, selfService: LuDepartmentV3Service);
|
|
16
15
|
onOpen(): void;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDepartmentFeederComponent, [{ optional: true; skipSelf: true; }, { self: true; }]>;
|
|
18
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<LuDepartmentFeederComponent, "lu-department-feeder", never, { "appInstanceId": "appInstanceId"; "operations": "operations"; }, {}, never, never>;
|
|
@@ -9,15 +9,15 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class LuDepartmentSelectInputComponent<D extends import('../../department.model').ILuDepartment = import('../../department.model').ILuDepartment, P extends ILuTreeOptionPickerPanel<D> = ILuTreeOptionPickerPanel<D>> extends ALuSelectInputComponent<D, P> implements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit {
|
|
10
10
|
protected _changeDetectorRef: ChangeDetectorRef;
|
|
11
11
|
protected _overlay: Overlay;
|
|
12
|
-
protected _elementRef: ElementRef
|
|
12
|
+
protected _elementRef: ElementRef<HTMLElement>;
|
|
13
13
|
protected _viewContainerRef: ViewContainerRef;
|
|
14
14
|
protected _renderer: Renderer2;
|
|
15
15
|
intl: ILuDepartmentSelectInputLabel;
|
|
16
16
|
byId: LuOptionComparer<D>;
|
|
17
17
|
appInstanceId: number | string;
|
|
18
18
|
operations: number[];
|
|
19
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef
|
|
20
|
-
searchFn(o:
|
|
19
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2, intl: ILuDepartmentSelectInputLabel);
|
|
20
|
+
searchFn(o: D, c: string): boolean;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDepartmentSelectInputComponent<any, any>, never>;
|
|
22
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<LuDepartmentSelectInputComponent<any, any>, "lu-department-select", never, { "appInstanceId": "appInstanceId"; "operations": "operations"; }, {}, never, never>;
|
|
23
23
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';
|
|
1
2
|
import { ILuDepartmentSelectInputLabel } from './department-select-input.translate';
|
|
2
|
-
import { ALuIntl } from '@lucca-front/ng/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LuDepartmentSelectInputIntl extends ALuIntl<ILuDepartmentSelectInputLabel> {
|
|
5
|
-
constructor(translations:
|
|
5
|
+
constructor(translations: ILuTranslation<ILuDepartmentSelectInputLabel>, locale: string);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDepartmentSelectInputIntl, never>;
|
|
7
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuDepartmentSelectInputIntl>;
|
|
8
8
|
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
|
|
2
|
+
import { ILuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
import { ILuDepartmentSelectInputLabel } from './department-select-input.translate';
|
|
4
|
+
export declare const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS: InjectionToken<ILuTranslation<ILuDepartmentSelectInputLabel>>;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ILuDepartmentService } from './department-service.model';
|
|
3
|
-
import { ILuTree } from '@lucca-front/ng/core';
|
|
4
|
-
import { ILuDepartment } from '../department.model';
|
|
5
2
|
import { LuApiV3Service } from '@lucca-front/ng/api';
|
|
3
|
+
import { ILuTree } from '@lucca-front/ng/core';
|
|
6
4
|
import { Observable } from 'rxjs';
|
|
5
|
+
import { ILuDepartment } from '../department.model';
|
|
6
|
+
import { ILuDepartmentService } from './department-service.model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
export interface IApiDepartment {
|
|
9
|
+
node: ILuDepartment;
|
|
10
|
+
children: IApiDepartment[];
|
|
11
|
+
}
|
|
8
12
|
export declare class LuDepartmentV3Service extends LuApiV3Service<ILuDepartment> implements ILuDepartmentService<ILuDepartment> {
|
|
9
13
|
protected _http: HttpClient;
|
|
10
14
|
protected _api: string;
|
|
@@ -4,9 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class LuDropdownItemDirective extends ALuDropdownItem implements OnDestroy {
|
|
5
5
|
private _eltRef;
|
|
6
6
|
onSelect: EventEmitter<boolean>;
|
|
7
|
-
constructor(_eltRef: ElementRef);
|
|
8
|
-
onClick(
|
|
9
|
-
onEnter(
|
|
7
|
+
constructor(_eltRef: ElementRef<HTMLElement>);
|
|
8
|
+
onClick(): void;
|
|
9
|
+
onEnter(): void;
|
|
10
10
|
focus(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuDropdownItemDirective, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy,
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ALuPopoverPanel, ILuPopoverPanel } from '@lucca-front/ng/popover';
|
|
3
3
|
import { ILuDropdownItem } from '../item/index';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LuDropdownPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel, OnDestroy {
|
|
5
|
+
export declare class LuDropdownPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel, OnDestroy, AfterViewInit {
|
|
6
6
|
/**
|
|
7
7
|
* This method takes classes set on the host lu-popover element and applies them on the
|
|
8
8
|
* popover template that displays in the overlay container. Otherwise, it's difficult
|
|
@@ -21,7 +21,7 @@ export declare class LuDropdownPanelComponent extends ALuPopoverPanel implements
|
|
|
21
21
|
close: EventEmitter<void>;
|
|
22
22
|
open: EventEmitter<void>;
|
|
23
23
|
hovered: EventEmitter<boolean>;
|
|
24
|
-
set vcTemplateRef(tr: TemplateRef<
|
|
24
|
+
set vcTemplateRef(tr: TemplateRef<unknown>);
|
|
25
25
|
protected _items: ILuDropdownItem[];
|
|
26
26
|
protected _itemsQL: QueryList<ILuDropdownItem>;
|
|
27
27
|
set optionsQL(ql: QueryList<ILuDropdownItem>);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ILuDropdownPanel } from '../panel/index';
|
|
2
|
-
import { AfterViewInit, OnDestroy, ElementRef, ViewContainerRef, EventEmitter } from '@angular/core';
|
|
3
|
-
import { ALuPopoverTrigger, ILuPopoverTarget, ILuPopoverTrigger, LuPopoverPosition, LuPopoverAlignment } from '@lucca-front/ng/popover';
|
|
4
1
|
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { ALuPopoverTrigger, ILuPopoverTarget, ILuPopoverTrigger, LuPopoverAlignment, LuPopoverPosition } from '@lucca-front/ng/popover';
|
|
4
|
+
import { ILuDropdownPanel } from '../panel/index';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
|
-
* This directive is intended to be used in conjunction with an lu-dropdown tag. It is
|
|
8
|
-
* responsible for toggling the display of the provided dropdown instance.
|
|
9
|
-
*/
|
|
7
|
+
* This directive is intended to be used in conjunction with an lu-dropdown tag. It is
|
|
8
|
+
* responsible for toggling the display of the provided dropdown instance.
|
|
9
|
+
*/
|
|
10
10
|
export declare class LuDropdownTriggerDirective<TPanel extends ILuDropdownPanel = ILuDropdownPanel> extends ALuPopoverTrigger<TPanel, ILuPopoverTarget> implements ILuPopoverTrigger<TPanel, ILuPopoverTarget>, AfterViewInit, OnDestroy {
|
|
11
11
|
protected _overlay: Overlay;
|
|
12
|
-
protected _elementRef: ElementRef
|
|
12
|
+
protected _elementRef: ElementRef<HTMLElement>;
|
|
13
13
|
protected _viewContainerRef: ViewContainerRef;
|
|
14
14
|
/** References the popover instance that the trigger is associated with. */
|
|
15
15
|
set inputPanel(p: TPanel);
|
|
@@ -31,7 +31,7 @@ export declare class LuDropdownTriggerDirective<TPanel extends ILuDropdownPanel
|
|
|
31
31
|
get _attrId(): string;
|
|
32
32
|
/** accessibility attribute - dont override */
|
|
33
33
|
get _attrAriaControls(): string;
|
|
34
|
-
constructor(_overlay: Overlay, _elementRef: ElementRef
|
|
34
|
+
constructor(_overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef);
|
|
35
35
|
onClick(): void;
|
|
36
36
|
ngAfterViewInit(): void;
|
|
37
37
|
ngOnDestroy(): void;
|
|
@@ -4,18 +4,12 @@ import { luScalingAnimation } from './scale.animation';
|
|
|
4
4
|
import { luSlidingAnimation } from './slide.animation';
|
|
5
5
|
export const LU_DEFAULT_ANIMATION_TIMING = '250ms 0ms ease-out';
|
|
6
6
|
export function luFadeAnimationFactory(animationInTiming = LU_DEFAULT_ANIMATION_TIMING, animationOutTiming = LU_DEFAULT_ANIMATION_TIMING, triggerName = 'fadeAnimation') {
|
|
7
|
-
return trigger(triggerName, [
|
|
8
|
-
...luFadingAnimation(animationInTiming, animationOutTiming),
|
|
9
|
-
]);
|
|
7
|
+
return trigger(triggerName, [...luFadingAnimation(animationInTiming, animationOutTiming)]);
|
|
10
8
|
}
|
|
11
9
|
export function luScaleAnimationFactory(animationInTiming = LU_DEFAULT_ANIMATION_TIMING, animationOutTiming = LU_DEFAULT_ANIMATION_TIMING, triggerName = 'scaleAnimation') {
|
|
12
|
-
return trigger(triggerName, [
|
|
13
|
-
...luScalingAnimation(animationInTiming, animationOutTiming),
|
|
14
|
-
]);
|
|
10
|
+
return trigger(triggerName, [...luScalingAnimation(animationInTiming, animationOutTiming)]);
|
|
15
11
|
}
|
|
16
12
|
export function luSlideAnimationFactory(animationInTiming = LU_DEFAULT_ANIMATION_TIMING, animationOutTiming = LU_DEFAULT_ANIMATION_TIMING, triggerName = 'slideAnimation') {
|
|
17
|
-
return trigger(triggerName, [
|
|
18
|
-
...luSlidingAnimation(animationInTiming, animationOutTiming),
|
|
19
|
-
]);
|
|
13
|
+
return trigger(triggerName, [...luSlidingAnimation(animationInTiming, animationOutTiming)]);
|
|
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bWluZywgYW5pbWF0aW9uT3V0VGltaW5nKV0pO1xyXG59XHJcbiJdfQ==
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { animate, style, transition } from '@angular/animations';
|
|
2
2
|
export function luFadingAnimation(inTiming, outTiming) {
|
|
3
3
|
return [
|
|
4
|
-
transition('void => *', [
|
|
5
|
-
|
|
6
|
-
animate(inTiming, style({ opacity: '1' })),
|
|
7
|
-
]),
|
|
8
|
-
transition('* => void', [
|
|
9
|
-
style({ opacity: '1' }),
|
|
10
|
-
animate(outTiming, style({ opacity: '0' })),
|
|
11
|
-
]),
|
|
4
|
+
transition('void => *', [style({ opacity: '0' }), animate(inTiming, style({ opacity: '1' }))]),
|
|
5
|
+
transition('* => void', [style({ opacity: '1' }), animate(outTiming, style({ opacity: '0' }))]),
|
|
12
6
|
];
|
|
13
7
|
}
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS5hbmltYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9hbmltYXRpb25zL3NyYy9saWIvZmFkZS5hbmltYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBcUIsS0FBSyxFQUFFLFVBQVUsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBRXBGLE1BQU0sVUFBVSxpQkFBaUIsQ0FBQyxRQUFnQixFQUFFLFNBQWlCO0lBQ3BFLE9BQU87UUFDTixVQUFVLENBQUMsV0FBVyxFQUFFLENBQUMsS0FBSyxDQUFDLEVBQUUsT0FBTyxFQUFFLEdBQUcsRUFBRSxDQUFDLEVBQUUsT0FBTyxDQUFDLFFBQVEsRUFBRSxLQUFLLENBQUMsRUFBRSxPQUFPLEVBQUUsR0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