@lucca-front/ng 10.0.2 → 10.0.5
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/esm2020/api/lib/api.module.mjs +4 -4
- package/esm2020/api/lib/select/api-select.module.mjs +4 -4
- package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +3 -3
- package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +4 -4
- package/esm2020/api/lib/select/input/api-select-input.component.mjs +3 -3
- package/esm2020/api/lib/select/input/api-select-input.module.mjs +4 -4
- package/esm2020/api/lib/select/pager/api-pager.component.mjs +3 -3
- package/esm2020/api/lib/select/pager/api-pager.module.mjs +4 -4
- package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +6 -6
- package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +4 -4
- package/esm2020/api/lib/service/api-hybrid.service.mjs +3 -3
- package/esm2020/api/lib/service/api-v3.service.mjs +3 -3
- package/esm2020/api/lib/service/api-v4.service.mjs +3 -3
- package/esm2020/core/lib/date/native/native-date.adapter.mjs +3 -3
- package/esm2020/core/lib/date/string/string-date.adapter.mjs +3 -3
- package/esm2020/date/lib/adapter/date-adapter.module.mjs +4 -4
- package/esm2020/date/lib/adapter/date-adapter.pipe.mjs +3 -3
- package/esm2020/date/lib/calendar/calendar-input.component.mjs +7 -4
- package/esm2020/date/lib/calendar/calendar-input.module.mjs +7 -9
- package/esm2020/date/lib/calendar/calendar-item.factory.mjs +3 -3
- package/esm2020/date/lib/date.module.mjs +4 -4
- package/esm2020/date/lib/input/date-input.directive.mjs +3 -3
- package/esm2020/date/lib/input/date-input.intl.mjs +3 -3
- package/esm2020/date/lib/input/date-input.module.mjs +4 -4
- package/esm2020/date/lib/picker/date-picker.component.mjs +3 -3
- package/esm2020/date/lib/picker/date-picker.module.mjs +4 -4
- package/esm2020/date/lib/select/date-select-input.component.mjs +3 -3
- package/esm2020/date/lib/select/date-select-input.intl.mjs +3 -3
- package/esm2020/date/lib/select/date-select-input.module.mjs +4 -4
- package/esm2020/department/lib/department.module.mjs +4 -4
- package/esm2020/department/lib/select/department-select.module.mjs +4 -4
- package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +3 -3
- package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +4 -4
- package/esm2020/department/lib/select/input/department-select-input.component.mjs +3 -3
- package/esm2020/department/lib/select/input/department-select-input.intl.mjs +3 -3
- package/esm2020/department/lib/select/input/department-select-input.module.mjs +4 -4
- package/esm2020/department/lib/service/department-v3.service.mjs +3 -3
- package/esm2020/dropdown/lib/dropdown.module.mjs +4 -4
- package/esm2020/dropdown/lib/item/dropdown-item.directive.mjs +3 -3
- package/esm2020/dropdown/lib/item/dropdown-item.module.mjs +4 -4
- package/esm2020/dropdown/lib/panel/dropdown-panel.component.mjs +3 -3
- package/esm2020/dropdown/lib/panel/dropdown-panel.module.mjs +4 -4
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.directive.mjs +3 -3
- package/esm2020/dropdown/lib/trigger/dropdown-trigger.module.mjs +4 -4
- package/esm2020/establishment/lib/establishment.module.mjs +4 -4
- package/esm2020/establishment/lib/select/establishment-select.module.mjs +4 -4
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +3 -3
- package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +4 -4
- package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +3 -3
- package/esm2020/establishment/lib/select/input/establishment-select-input.intl.mjs +3 -3
- package/esm2020/establishment/lib/select/input/establishment-select-input.module.mjs +4 -4
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +3 -3
- package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +4 -4
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +3 -3
- package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +4 -4
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +3 -3
- package/esm2020/establishment/lib/select/select-all/establishment-select-all.module.mjs +4 -4
- package/esm2020/establishment/lib/service/establishment.service.mjs +3 -3
- package/esm2020/establishment/lib/service/legal-unit.service.mjs +3 -3
- package/esm2020/formly/lib/formly.module.mjs +4 -4
- package/esm2020/formly/lib/types/api.mjs +3 -3
- package/esm2020/formly/lib/types/checkbox.mjs +3 -3
- package/esm2020/formly/lib/types/date.mjs +3 -3
- package/esm2020/formly/lib/types/department.mjs +3 -3
- package/esm2020/formly/lib/types/establishment.mjs +3 -3
- package/esm2020/formly/lib/types/input.mjs +3 -3
- package/esm2020/formly/lib/types/qualification.mjs +3 -3
- package/esm2020/formly/lib/types/radios.mjs +3 -3
- package/esm2020/formly/lib/types/select.mjs +3 -3
- package/esm2020/formly/lib/types/textarea.mjs +3 -3
- package/esm2020/formly/lib/types/user.mjs +3 -3
- package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +3 -3
- package/esm2020/formly/lib/wrappers/error.mjs +6 -6
- package/esm2020/formly/lib/wrappers/helper.mjs +3 -3
- package/esm2020/formly/lib/wrappers/icon.mjs +3 -3
- package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +3 -3
- package/esm2020/formly/lib/wrappers/suffix.mjs +3 -3
- package/esm2020/formly/lib/wrappers/textfield-layout.mjs +3 -3
- package/esm2020/input/lib/clearer/clearer.component.mjs +3 -3
- package/esm2020/input/lib/clearer/clearer.module.mjs +4 -4
- package/esm2020/input/lib/displayer/input-displayer.directive.mjs +3 -3
- package/esm2020/input/lib/displayer/input-displayer.module.mjs +4 -4
- package/esm2020/input/lib/input.directive.mjs +3 -3
- package/esm2020/input/lib/input.module.mjs +4 -4
- package/esm2020/material/lib/module.mjs +4 -4
- package/esm2020/modal/lib/modal-panel.component.mjs +9 -9
- package/esm2020/modal/lib/modal-ref.factory.mjs +3 -3
- package/esm2020/modal/lib/modal.intl.mjs +3 -3
- package/esm2020/modal/lib/modal.module.mjs +4 -4
- package/esm2020/modal/lib/modal.service.mjs +3 -3
- package/esm2020/number/lib/number.module.mjs +4 -4
- package/esm2020/number/lib/number.pipe.mjs +3 -3
- package/esm2020/option/lib/item/option-item.component.mjs +3 -3
- package/esm2020/option/lib/item/option-item.module.mjs +4 -4
- package/esm2020/option/lib/item/tree-option-item.component.mjs +3 -3
- package/esm2020/option/lib/item/tree-option-item.intl.mjs +3 -3
- package/esm2020/option/lib/item/tree-option-item.module.mjs +4 -4
- package/esm2020/option/lib/operator/feeder/option-feeder.component.mjs +3 -3
- package/esm2020/option/lib/operator/feeder/option-feeder.module.mjs +4 -4
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.component.mjs +3 -3
- package/esm2020/option/lib/operator/feeder/tree-option-feeder.module.mjs +4 -4
- package/esm2020/option/lib/operator/for-groups/for-groups.directive.mjs +3 -3
- package/esm2020/option/lib/operator/for-groups/for-groups.module.mjs +4 -4
- package/esm2020/option/lib/operator/for-options/for-options.directive.mjs +3 -3
- package/esm2020/option/lib/operator/for-options/for-options.module.mjs +4 -4
- package/esm2020/option/lib/operator/for-options/for-tree-options.directive.mjs +3 -3
- package/esm2020/option/lib/operator/for-options/for-tree-options.module.mjs +4 -4
- package/esm2020/option/lib/operator/option-operator.module.mjs +4 -4
- package/esm2020/option/lib/operator/pager/option-pager.component.mjs +3 -3
- package/esm2020/option/lib/operator/pager/option-pager.module.mjs +4 -4
- package/esm2020/option/lib/operator/pager/tree-option-pager.component.mjs +3 -3
- package/esm2020/option/lib/operator/pager/tree-option-pager.module.mjs +4 -4
- package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +3 -3
- package/esm2020/option/lib/operator/searcher/option-searcher.module.mjs +4 -4
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +3 -3
- package/esm2020/option/lib/operator/searcher/tree-option-searcher.module.mjs +4 -4
- package/esm2020/option/lib/operator/tree-option-operator.module.mjs +4 -4
- package/esm2020/option/lib/option.module.mjs +4 -4
- package/esm2020/option/lib/picker/option-picker-advanced.component.mjs +6 -6
- package/esm2020/option/lib/picker/option-picker.component.mjs +6 -6
- package/esm2020/option/lib/picker/option-picker.module.mjs +4 -4
- package/esm2020/option/lib/picker/tree-option-picker-advanced.component.mjs +6 -6
- package/esm2020/option/lib/picker/tree-option-picker.component.mjs +6 -6
- package/esm2020/option/lib/picker/tree-option-picker.module.mjs +4 -4
- package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +3 -3
- package/esm2020/option/lib/placeholder/option-placeholder.intl.mjs +3 -3
- package/esm2020/option/lib/placeholder/option-placeholder.module.mjs +4 -4
- package/esm2020/option/lib/selector/all/select-all.component.mjs +3 -3
- package/esm2020/option/lib/selector/all/select-all.intl.mjs +3 -3
- package/esm2020/option/lib/selector/all/select-all.module.mjs +4 -4
- package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +3 -3
- package/esm2020/option/lib/selector/all/tree-select-all.module.mjs +4 -4
- package/esm2020/option/lib/selector/option-selector.module.mjs +4 -4
- package/esm2020/option/lib/selector/tree-option-selector.module.mjs +4 -4
- package/esm2020/option/lib/tree-option.module.mjs +4 -4
- package/esm2020/popover/lib/panel/popover-panel.component.mjs +3 -3
- package/esm2020/popover/lib/panel/popover-panel.module.mjs +4 -4
- package/esm2020/popover/lib/popover.module.mjs +4 -4
- package/esm2020/popover/lib/target/popover-target.directive.mjs +3 -3
- package/esm2020/popover/lib/target/popover-target.module.mjs +4 -4
- package/esm2020/popover/lib/trigger/popover-trigger.directive.mjs +3 -3
- package/esm2020/popover/lib/trigger/popover-trigger.module.mjs +4 -4
- package/esm2020/popup/lib/popup-ref.factory.mjs +3 -3
- package/esm2020/popup/lib/popup.module.mjs +4 -4
- package/esm2020/popup/lib/popup.service.mjs +3 -3
- package/esm2020/qualification/lib/qualification.module.mjs +4 -4
- package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +3 -3
- package/esm2020/qualification/lib/select/input/qualification-select-input.intl.mjs +3 -3
- package/esm2020/qualification/lib/select/input/qualification-select-input.module.mjs +4 -4
- package/esm2020/qualification/lib/select/qualification-select.module.mjs +4 -4
- package/esm2020/safe-content/lib/index.mjs +2 -3
- package/esm2020/safe-content/lib/safe-content.module.mjs +9 -9
- package/esm2020/safe-content/lib/safe-html.pipe.mjs +19 -0
- package/esm2020/scroll/lib/scroll.directive.mjs +3 -3
- package/esm2020/scroll/lib/scroll.module.mjs +4 -4
- package/esm2020/select/lib/input/select-input.component.mjs +6 -6
- package/esm2020/select/lib/input/select-input.module.mjs +4 -4
- package/esm2020/select/lib/select.module.mjs +4 -4
- package/esm2020/sidepanel/lib/sidepanel-panel.component.mjs +6 -6
- package/esm2020/sidepanel/lib/sidepanel-ref.factory.mjs +3 -3
- package/esm2020/sidepanel/lib/sidepanel.intl.mjs +3 -3
- package/esm2020/sidepanel/lib/sidepanel.module.mjs +4 -4
- package/esm2020/sidepanel/lib/sidepanel.service.mjs +3 -3
- package/esm2020/title/lib/title.module.mjs +4 -4
- package/esm2020/title/lib/title.service.mjs +3 -3
- package/esm2020/toast/toasts.component.mjs +3 -3
- package/esm2020/toast/toasts.intl.mjs +3 -3
- package/esm2020/toast/toasts.module.mjs +4 -4
- package/esm2020/toast/toasts.service.mjs +3 -3
- package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +5 -6
- package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +7 -8
- package/esm2020/tooltip/lib/tooltip.module.mjs +4 -4
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +4 -4
- package/esm2020/tooltip/lib/trigger/tooltip-trigger.module.mjs +4 -4
- package/esm2020/user/lib/display/user-display.module.mjs +4 -4
- package/esm2020/user/lib/display/user-display.pipe.mjs +3 -3
- package/esm2020/user/lib/picture/user-picture.component.mjs +3 -3
- package/esm2020/user/lib/picture/user-picture.module.mjs +4 -4
- package/esm2020/user/lib/select/homonyms/user-homonyms.component.mjs +3 -3
- package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +4 -4
- package/esm2020/user/lib/select/homonyms/user-homonyms.service.mjs +3 -3
- package/esm2020/user/lib/select/input/user-select-input.component.mjs +3 -3
- package/esm2020/user/lib/select/input/user-select-input.intl.mjs +3 -3
- package/esm2020/user/lib/select/input/user-select-input.module.mjs +4 -4
- package/esm2020/user/lib/select/me/me-option.directive.mjs +3 -3
- package/esm2020/user/lib/select/me/me-option.module.mjs +4 -4
- package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +3 -3
- package/esm2020/user/lib/select/searcher/user-searcher.intl.mjs +3 -3
- package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +4 -4
- package/esm2020/user/lib/select/user-select.module.mjs +4 -4
- package/esm2020/user/lib/service/user-v3.service.mjs +3 -3
- package/esm2020/user/lib/tile/user-tile.component.mjs +3 -3
- package/esm2020/user/lib/tile/user-tile.module.mjs +4 -4
- package/esm2020/user/lib/user.module.mjs +4 -4
- package/fesm2015/lucca-front-ng-api.mjs +48 -48
- package/fesm2015/lucca-front-ng-core.mjs +6 -6
- package/fesm2015/lucca-front-ng-date.mjs +50 -49
- package/fesm2015/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-department.mjs +28 -28
- package/fesm2015/lucca-front-ng-dropdown.mjs +25 -25
- package/fesm2015/lucca-front-ng-establishment.mjs +52 -52
- package/fesm2015/lucca-front-ng-formly.mjs +61 -61
- package/fesm2015/lucca-front-ng-input.mjs +21 -21
- package/fesm2015/lucca-front-ng-material.mjs +4 -4
- package/fesm2015/lucca-front-ng-modal.mjs +22 -22
- package/fesm2015/lucca-front-ng-number.mjs +7 -7
- package/fesm2015/lucca-front-ng-option.mjs +163 -163
- package/fesm2015/lucca-front-ng-popover.mjs +25 -25
- package/fesm2015/lucca-front-ng-popup.mjs +10 -10
- package/fesm2015/lucca-front-ng-qualification.mjs +18 -18
- package/fesm2015/lucca-front-ng-safe-content.mjs +16 -26
- package/fesm2015/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2015/lucca-front-ng-select.mjs +14 -14
- package/fesm2015/lucca-front-ng-sidepanel.mjs +19 -19
- package/fesm2015/lucca-front-ng-title.mjs +7 -7
- package/fesm2015/lucca-front-ng-toast.mjs +13 -13
- package/fesm2015/lucca-front-ng-tooltip.mjs +20 -22
- package/fesm2015/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-user.mjs +69 -69
- package/fesm2020/lucca-front-ng-api.mjs +48 -48
- package/fesm2020/lucca-front-ng-core.mjs +6 -6
- package/fesm2020/lucca-front-ng-date.mjs +50 -49
- package/fesm2020/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-department.mjs +28 -28
- package/fesm2020/lucca-front-ng-dropdown.mjs +25 -25
- package/fesm2020/lucca-front-ng-establishment.mjs +52 -52
- package/fesm2020/lucca-front-ng-formly.mjs +61 -61
- package/fesm2020/lucca-front-ng-input.mjs +21 -21
- package/fesm2020/lucca-front-ng-material.mjs +4 -4
- package/fesm2020/lucca-front-ng-modal.mjs +22 -22
- package/fesm2020/lucca-front-ng-number.mjs +7 -7
- package/fesm2020/lucca-front-ng-option.mjs +163 -163
- package/fesm2020/lucca-front-ng-popover.mjs +25 -25
- package/fesm2020/lucca-front-ng-popup.mjs +10 -10
- package/fesm2020/lucca-front-ng-qualification.mjs +18 -18
- package/fesm2020/lucca-front-ng-safe-content.mjs +16 -26
- package/fesm2020/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2020/lucca-front-ng-select.mjs +14 -14
- package/fesm2020/lucca-front-ng-sidepanel.mjs +19 -19
- package/fesm2020/lucca-front-ng-title.mjs +7 -7
- package/fesm2020/lucca-front-ng-toast.mjs +13 -13
- package/fesm2020/lucca-front-ng-tooltip.mjs +20 -22
- package/fesm2020/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-user.mjs +69 -69
- package/package.json +5 -3
- package/safe-content/lib/index.d.ts +1 -2
- package/safe-content/lib/safe-content.module.d.ts +2 -2
- package/safe-content/lib/safe-html.pipe.d.ts +16 -0
- package/schematics/lib/angular-template.js +46 -0
- package/schematics/lib/html-ast.js +8 -1
- package/schematics/migrations/css-vars/css-class-registry.js +71 -63
- package/schematics/migrations/css-vars/index.js +14 -1
- package/schematics/migrations/css-vars/migration.js +21 -10
- package/schematics/migrations/css-vars/migration.spec.js +20 -1
- package/schematics/migrations/css-vars/updaters/elevation.js +1 -1
- package/tooltip/lib/panel/tooltip-panel.component.d.ts +3 -2
- package/tooltip/lib/panel/tooltip-panel.module.d.ts +1 -2
- package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +3 -2
- package/esm2020/safe-content/lib/safe-content.model.mjs +0 -2
- package/esm2020/safe-content/lib/safe-content.pipe.mjs +0 -29
- package/safe-content/lib/safe-content.model.d.ts +0 -1
- package/safe-content/lib/safe-content.pipe.d.ts +0 -11
|
@@ -34,9 +34,9 @@ class LuSidepanelIntl extends ALuIntl {
|
|
|
34
34
|
super(translations, locale);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
LuSidepanelIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
38
|
-
LuSidepanelIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
37
|
+
LuSidepanelIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelIntl, deps: [{ token: LU_SIDEPANEL_TRANSLATIONS }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
+
LuSidepanelIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelIntl });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelIntl, decorators: [{
|
|
40
40
|
type: Injectable
|
|
41
41
|
}], ctorParameters: function () {
|
|
42
42
|
return [{ type: undefined, decorators: [{
|
|
@@ -58,9 +58,9 @@ class LuSidepanelPanelComponent extends ALuModalPanelComponent {
|
|
|
58
58
|
this.class = true;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
LuSidepanelPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
62
|
-
LuSidepanelPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
61
|
+
LuSidepanelPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelPanelComponent, deps: [{ token: ALuSidepanelRef }, { token: i0.ChangeDetectorRef }, { token: LuSidepanelIntl }], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
LuSidepanelPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: LuSidepanelPanelComponent, selector: "lu-sidepanel-panel", host: { properties: { "class.lu-sidepanel-panel": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</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\ttype=\"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 type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel }}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: i5.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelPanelComponent, decorators: [{
|
|
64
64
|
type: Component,
|
|
65
65
|
args: [{ selector: 'lu-sidepanel-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</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\ttype=\"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 type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel }}</button>\r\n\t</div>\r\n</div>\r\n" }]
|
|
66
66
|
}], ctorParameters: function () {
|
|
@@ -79,9 +79,9 @@ class LuSidepanelPanelComponentDefaultCD extends ALuModalPanelComponent {
|
|
|
79
79
|
this.class = true;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
LuSidepanelPanelComponentDefaultCD.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
83
|
-
LuSidepanelPanelComponentDefaultCD.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
82
|
+
LuSidepanelPanelComponentDefaultCD.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelPanelComponentDefaultCD, deps: [{ token: ALuSidepanelRef }, { token: i0.ChangeDetectorRef }, { token: LuSidepanelIntl }], target: i0.ɵɵFactoryTarget.Component });
|
|
83
|
+
LuSidepanelPanelComponentDefaultCD.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: LuSidepanelPanelComponentDefaultCD, selector: "lu-sidepanel-panel-default", host: { properties: { "class.lu-sidepanel-panel": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</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\ttype=\"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 type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel }}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: i5.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelPanelComponentDefaultCD, decorators: [{
|
|
85
85
|
type: Component,
|
|
86
86
|
args: [{ selector: 'lu-sidepanel-panel-default', changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</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\ttype=\"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 type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel }}</button>\r\n\t</div>\r\n</div>\r\n" }]
|
|
87
87
|
}], ctorParameters: function () {
|
|
@@ -136,9 +136,9 @@ class LuSidepanelRefFactory {
|
|
|
136
136
|
return new LuSidepanelRef(this._overlay, this._injector, component, config);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
LuSidepanelRefFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
140
|
-
LuSidepanelRefFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
139
|
+
LuSidepanelRefFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
140
|
+
LuSidepanelRefFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelRefFactory });
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelRefFactory, decorators: [{
|
|
142
142
|
type: Injectable
|
|
143
143
|
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.Injector }]; } });
|
|
144
144
|
|
|
@@ -149,9 +149,9 @@ class LuSidepanel extends LuModal {
|
|
|
149
149
|
this._config = _config;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
LuSidepanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
153
|
-
LuSidepanel.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
152
|
+
LuSidepanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanel, deps: [{ token: LU_SIDEPANEL_REF_FACTORY }, { token: LU_SIDEPANEL_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
153
|
+
LuSidepanel.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanel });
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanel, decorators: [{
|
|
155
155
|
type: Injectable
|
|
156
156
|
}], ctorParameters: function () {
|
|
157
157
|
return [{ type: undefined, decorators: [{
|
|
@@ -185,16 +185,16 @@ const luSidepanelTranslations = {
|
|
|
185
185
|
|
|
186
186
|
class LuSidepanelModule {
|
|
187
187
|
}
|
|
188
|
-
LuSidepanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
189
|
-
LuSidepanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
190
|
-
LuSidepanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
188
|
+
LuSidepanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
189
|
+
LuSidepanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelModule, declarations: [LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD], imports: [OverlayModule, PortalModule, CommonModule, A11yModule, LuTooltipModule], exports: [LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD] });
|
|
190
|
+
LuSidepanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelModule, providers: [
|
|
191
191
|
LuSidepanel,
|
|
192
192
|
LuSidepanelIntl,
|
|
193
193
|
{ provide: LU_SIDEPANEL_CONFIG, useValue: luDefaultSidepanelConfig },
|
|
194
194
|
{ provide: LU_SIDEPANEL_REF_FACTORY, useClass: LuSidepanelRefFactory },
|
|
195
195
|
{ provide: LU_SIDEPANEL_TRANSLATIONS, useValue: luSidepanelTranslations },
|
|
196
196
|
], imports: [OverlayModule, PortalModule, CommonModule, A11yModule, LuTooltipModule] });
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuSidepanelModule, decorators: [{
|
|
198
198
|
type: NgModule,
|
|
199
199
|
args: [{
|
|
200
200
|
imports: [OverlayModule, PortalModule, CommonModule, A11yModule, LuTooltipModule],
|
|
@@ -33,9 +33,9 @@ class LuTitleService {
|
|
|
33
33
|
this.titlePartsSubject.next([title, ...this.titlePartsSubject.value.slice(1)]);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
LuTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
37
|
-
LuTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
36
|
+
LuTitleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTitleService, deps: [{ token: i1.Router }, { token: i2.Title }, { token: LU_TITLE_TRANSLATE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
37
|
+
LuTitleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTitleService });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTitleService, decorators: [{
|
|
39
39
|
type: Injectable
|
|
40
40
|
}], ctorParameters: function () {
|
|
41
41
|
return [{ type: i1.Router }, { type: i2.Title }, { type: undefined, decorators: [{
|
|
@@ -57,10 +57,10 @@ function uniqTitle(titleParts) {
|
|
|
57
57
|
|
|
58
58
|
class LuTitleModule {
|
|
59
59
|
}
|
|
60
|
-
LuTitleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
61
|
-
LuTitleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
62
|
-
LuTitleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
60
|
+
LuTitleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTitleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
61
|
+
LuTitleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LuTitleModule, imports: [RouterModule] });
|
|
62
|
+
LuTitleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTitleModule, providers: [LuTitleService], imports: [RouterModule] });
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTitleModule, decorators: [{
|
|
64
64
|
type: NgModule,
|
|
65
65
|
args: [{
|
|
66
66
|
imports: [RouterModule],
|
|
@@ -13,9 +13,9 @@ class LuToastIntl extends ALuIntl {
|
|
|
13
13
|
super(translations, locale);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
LuToastIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
17
|
-
LuToastIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
16
|
+
LuToastIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastIntl, deps: [{ token: LU_TOAST_TRANSLATIONS }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
LuToastIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastIntl });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastIntl, decorators: [{
|
|
19
19
|
type: Injectable
|
|
20
20
|
}], ctorParameters: function () {
|
|
21
21
|
return [{ type: undefined, decorators: [{
|
|
@@ -56,9 +56,9 @@ class LuToastsService {
|
|
|
56
56
|
return `_${randomString}`;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
LuToastsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
60
|
-
LuToastsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
59
|
+
LuToastsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
60
|
+
LuToastsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastsService, providedIn: 'root' });
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastsService, decorators: [{
|
|
62
62
|
type: Injectable,
|
|
63
63
|
args: [{ providedIn: 'root' }]
|
|
64
64
|
}] });
|
|
@@ -102,9 +102,9 @@ class LuToastsComponent {
|
|
|
102
102
|
return this.toastsService.isOnlyDismissibleManually(toast);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
LuToastsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
106
|
-
LuToastsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
105
|
+
LuToastsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastsComponent, deps: [{ token: LuToastIntl }, { token: LuToastsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
106
|
+
LuToastsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: LuToastsComponent, selector: "lu-toasts", inputs: { bottom: "bottom", sources: "sources" }, ngImport: i0, template: "<div class=\"toasts mod-withCircularGauge\" aria-live=\"polite\" [class.mod-bottom]=\"bottom\">\r\n\t<div *ngFor=\"let toast of toasts$ | async; trackBy: trackToast\" class=\"toasts-item\" [ngClass]=\"paletteClassByToastType[toast.type]\">\r\n\t\t<span\r\n\t\t\t*ngIf=\"toast.type\"\r\n\t\t\tclass=\"lucca-icon size-small u-marginRightSmaller\"\r\n\t\t\taria-hidden=\"true\"\r\n\t\t\t[ngClass]=\"iconClassByToastType[toast.type]\"\r\n\t\t>\r\n\t\t</span>\r\n\t\t<span [innerHtml]=\"toast.message\"> </span>\r\n\t\t<button type=\"button\" class=\"toasts-item-kill\" (click)=\"removeToast(toast)\" (animationend)=\"removeToast(toast)\">\r\n\t\t\t<span class=\"lucca-icon icon-cross size-smaller\" aria-hidden=\"true\"></span>\r\n\t\t\t<div class=\"circularGauge\" *ngIf=\"!isOnlyDismissibleManually(toast) && toast.duration > 0\">\r\n\t\t\t\t<svg viewBox=\"0 0 32 32\">\r\n\t\t\t\t\t<circle r=\"16\" cx=\"16\" cy=\"16\" [style.animation-duration]=\"toast.duration + 'ms'\" />\r\n\t\t\t\t</svg>\r\n\t\t\t</div>\r\n\t\t\t<span class=\"u-mask\">{{ intl.close }}</span>\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastsComponent, decorators: [{
|
|
108
108
|
type: Component,
|
|
109
109
|
args: [{ selector: 'lu-toasts', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"toasts mod-withCircularGauge\" aria-live=\"polite\" [class.mod-bottom]=\"bottom\">\r\n\t<div *ngFor=\"let toast of toasts$ | async; trackBy: trackToast\" class=\"toasts-item\" [ngClass]=\"paletteClassByToastType[toast.type]\">\r\n\t\t<span\r\n\t\t\t*ngIf=\"toast.type\"\r\n\t\t\tclass=\"lucca-icon size-small u-marginRightSmaller\"\r\n\t\t\taria-hidden=\"true\"\r\n\t\t\t[ngClass]=\"iconClassByToastType[toast.type]\"\r\n\t\t>\r\n\t\t</span>\r\n\t\t<span [innerHtml]=\"toast.message\"> </span>\r\n\t\t<button type=\"button\" class=\"toasts-item-kill\" (click)=\"removeToast(toast)\" (animationend)=\"removeToast(toast)\">\r\n\t\t\t<span class=\"lucca-icon icon-cross size-smaller\" aria-hidden=\"true\"></span>\r\n\t\t\t<div class=\"circularGauge\" *ngIf=\"!isOnlyDismissibleManually(toast) && toast.duration > 0\">\r\n\t\t\t\t<svg viewBox=\"0 0 32 32\">\r\n\t\t\t\t\t<circle r=\"16\" cx=\"16\" cy=\"16\" [style.animation-duration]=\"toast.duration + 'ms'\" />\r\n\t\t\t\t</svg>\r\n\t\t\t</div>\r\n\t\t\t<span class=\"u-mask\">{{ intl.close }}</span>\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n" }]
|
|
110
110
|
}], ctorParameters: function () {
|
|
@@ -134,16 +134,16 @@ const luToastTranslations = {
|
|
|
134
134
|
|
|
135
135
|
class LuToastsModule {
|
|
136
136
|
}
|
|
137
|
-
LuToastsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
138
|
-
LuToastsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
139
|
-
LuToastsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
137
|
+
LuToastsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
138
|
+
LuToastsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LuToastsModule, declarations: [LuToastsComponent], imports: [CommonModule], exports: [LuToastsComponent] });
|
|
139
|
+
LuToastsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastsModule, providers: [
|
|
140
140
|
LuToastIntl,
|
|
141
141
|
{
|
|
142
142
|
provide: LU_TOAST_TRANSLATIONS,
|
|
143
143
|
useValue: luToastTranslations,
|
|
144
144
|
},
|
|
145
145
|
], imports: [CommonModule] });
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuToastsModule, decorators: [{
|
|
147
147
|
type: NgModule,
|
|
148
148
|
args: [{
|
|
149
149
|
declarations: [LuToastsComponent],
|
|
@@ -4,8 +4,6 @@ import { EventEmitter, TemplateRef, Component, ChangeDetectionStrategy, HostBind
|
|
|
4
4
|
import { ALuPopoverPanel, ALuPopoverTrigger, LuPopoverTarget } from '@lucca-front/ng/popover';
|
|
5
5
|
import * as i1 from '@angular/common';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i2 from '@lucca-front/ng/safe-content';
|
|
8
|
-
import { LuSafeContentModule } from '@lucca-front/ng/safe-content';
|
|
9
7
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
10
8
|
import * as i1$1 from '@angular/cdk/overlay';
|
|
11
9
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
@@ -58,11 +56,11 @@ class LuTooltipPanelComponent extends ALuPopoverPanel {
|
|
|
58
56
|
this.hovered.emit(hovered);
|
|
59
57
|
}
|
|
60
58
|
}
|
|
61
|
-
LuTooltipPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
62
|
-
LuTooltipPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
59
|
+
LuTooltipPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipPanelComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
LuTooltipPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: LuTooltipPanelComponent, selector: "lu-tooltip-panel", outputs: { close: "close", open: "open", hovered: "hovered" }, host: { properties: { "@transformTooltip": "this.animationState" } }, viewQueries: [{ propertyName: "vcTemplateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div\r\n\tclass=\"lu-tooltip-panel\"\r\n\trole=\"tooltip\"\r\n\t[ngClass]=\"panelClassesMap\"\r\n\t(mouseover)=\"onMouseOver()\"\r\n\t(mouseleave)=\"onMouseLeave()\"\r\n\t[attr.id]=\"panelId\"\r\n\t[@transformTooltip]=\"'enter'\"\r\n>\r\n\t<div class=\"lu-tooltip-content\" [ngClass]=\"contentClassesMap\" [innerHtml]=\"content\"></div>\r\n</div>\r\n", styles: [":root{--components-user-picture-sizes-smallest-font-size: .5em;--components-user-picture-sizes-smallest-image-size: 2.5em;--components-user-picture-sizes-smaller-font-size: .65em;--components-user-picture-sizes-smaller-image-size: 2.5em;--components-user-picture-sizes-small-font-size: .8em;--components-user-picture-sizes-small-image-size: 2.5em;--components-user-picture-sizes-standard-font-size: 1em;--components-user-picture-sizes-standard-image-size: 2.5em;--components-user-picture-sizes-large-font-size: 1.35em;--components-user-picture-sizes-large-image-size: 2.5em;--components-user-picture-sizes-larger-font-size: 1.8em;--components-user-picture-sizes-larger-image-size: 2.5em;--components-user-picture-sizes-largest-font-size: 3em;--components-user-picture-sizes-largest-image-size: 2.5em}:root{--components-options-item-padding-vertical: .5rem;--components-options-item-padding-horizontal: .5rem;--components-options-item-multiple-padding: 2rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-border-radius);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-standard)}.lu-tooltip-panel{--components-tooltip-background-color: var(--palettes-grey-900);--components-tooltip-color: var(--colors-white-color);--components-tooltip-padding: var(--spacings-smallest) var(--spacings-smaller);--components-tooltip-max-width: 15rem;background:var(--components-tooltip-background-color);color:var(--components-tooltip-color);padding:var(--components-tooltip-padding);max-width:var(--components-tooltip-max-width);border-radius:var(--commons-border-radius);font-size:var(--sizes-small-font-size);font-weight:600;line-height:1rem;display:block}.lu-tooltip-panel.is-above{transform-origin:bottom center}.lu-tooltip-panel.is-below{transform-origin:top center;margin-top:2px}.lu-tooltip-panel.is-before{transform-origin:center right;margin-right:5px}.lu-tooltip-panel.is-after{transform-origin:center left;margin-left:5px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [luTransformTooltip], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipPanelComponent, decorators: [{
|
|
64
62
|
type: Component,
|
|
65
|
-
args: [{ selector: 'lu-tooltip-panel', animations: [luTransformTooltip], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n\tclass=\"lu-tooltip-panel\"\r\n\trole=\"tooltip\"\r\n\t[ngClass]=\"panelClassesMap\"\r\n\t(mouseover)=\"onMouseOver()\"\r\n\t(mouseleave)=\"onMouseLeave()\"\r\n\t[attr.id]=\"panelId\"\r\n\t[@transformTooltip]=\"'enter'\"\r\n>\r\n\t<div class=\"lu-tooltip-content\" [ngClass]=\"contentClassesMap\" [innerHtml]=\"content
|
|
63
|
+
args: [{ selector: 'lu-tooltip-panel', animations: [luTransformTooltip], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n\tclass=\"lu-tooltip-panel\"\r\n\trole=\"tooltip\"\r\n\t[ngClass]=\"panelClassesMap\"\r\n\t(mouseover)=\"onMouseOver()\"\r\n\t(mouseleave)=\"onMouseLeave()\"\r\n\t[attr.id]=\"panelId\"\r\n\t[@transformTooltip]=\"'enter'\"\r\n>\r\n\t<div class=\"lu-tooltip-content\" [ngClass]=\"contentClassesMap\" [innerHtml]=\"content\"></div>\r\n</div>\r\n", styles: [":root{--components-user-picture-sizes-smallest-font-size: .5em;--components-user-picture-sizes-smallest-image-size: 2.5em;--components-user-picture-sizes-smaller-font-size: .65em;--components-user-picture-sizes-smaller-image-size: 2.5em;--components-user-picture-sizes-small-font-size: .8em;--components-user-picture-sizes-small-image-size: 2.5em;--components-user-picture-sizes-standard-font-size: 1em;--components-user-picture-sizes-standard-image-size: 2.5em;--components-user-picture-sizes-large-font-size: 1.35em;--components-user-picture-sizes-large-image-size: 2.5em;--components-user-picture-sizes-larger-font-size: 1.8em;--components-user-picture-sizes-larger-image-size: 2.5em;--components-user-picture-sizes-largest-font-size: 3em;--components-user-picture-sizes-largest-image-size: 2.5em}:root{--components-options-item-padding-vertical: .5rem;--components-options-item-padding-horizontal: .5rem;--components-options-item-multiple-padding: 2rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-border-radius);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-standard)}.lu-tooltip-panel{--components-tooltip-background-color: var(--palettes-grey-900);--components-tooltip-color: var(--colors-white-color);--components-tooltip-padding: var(--spacings-smallest) var(--spacings-smaller);--components-tooltip-max-width: 15rem;background:var(--components-tooltip-background-color);color:var(--components-tooltip-color);padding:var(--components-tooltip-padding);max-width:var(--components-tooltip-max-width);border-radius:var(--commons-border-radius);font-size:var(--sizes-small-font-size);font-weight:600;line-height:1rem;display:block}.lu-tooltip-panel.is-above{transform-origin:bottom center}.lu-tooltip-panel.is-below{transform-origin:top center;margin-top:2px}.lu-tooltip-panel.is-before{transform-origin:center right;margin-right:5px}.lu-tooltip-panel.is-after{transform-origin:center left;margin-left:5px}\n"] }]
|
|
66
64
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { animationState: [{
|
|
67
65
|
type: HostBinding,
|
|
68
66
|
args: ['@transformTooltip']
|
|
@@ -79,13 +77,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
79
77
|
|
|
80
78
|
class LuTooltipPanelModule {
|
|
81
79
|
}
|
|
82
|
-
LuTooltipPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
83
|
-
LuTooltipPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
84
|
-
LuTooltipPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
80
|
+
LuTooltipPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
81
|
+
LuTooltipPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipPanelModule, declarations: [LuTooltipPanelComponent], imports: [CommonModule], exports: [LuTooltipPanelComponent] });
|
|
82
|
+
LuTooltipPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipPanelModule, imports: [CommonModule] });
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipPanelModule, decorators: [{
|
|
86
84
|
type: NgModule,
|
|
87
85
|
args: [{
|
|
88
|
-
imports: [CommonModule
|
|
86
|
+
imports: [CommonModule],
|
|
89
87
|
declarations: [LuTooltipPanelComponent],
|
|
90
88
|
exports: [LuTooltipPanelComponent],
|
|
91
89
|
}]
|
|
@@ -212,9 +210,9 @@ class LuTooltipTriggerDirective extends ALuPopoverTrigger {
|
|
|
212
210
|
this._elementRef.nativeElement.setAttribute('tabindex', `${i}`);
|
|
213
211
|
}
|
|
214
212
|
}
|
|
215
|
-
LuTooltipTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
216
|
-
LuTooltipTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
213
|
+
LuTooltipTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipTriggerDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
214
|
+
LuTooltipTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: { tooltipContent: ["luTooltip", "tooltipContent"], inputEnterDelay: ["luTooltipEnterDelay", "inputEnterDelay"], inputLeaveDelay: ["luTooltipLeaveDelay", "inputLeaveDelay"], inputDisabled: ["luTooltipDisabled", "inputDisabled"], inputPosition: ["luTooltipPosition", "inputPosition"] }, outputs: { onOpen: "luTooltipOnOpen", onClose: "luTooltipOnClose" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.id": "this._attrId", "attr.aria-describedby": "this._attrAriaDescribedBy" } }, usesInheritance: true, ngImport: i0 });
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipTriggerDirective, decorators: [{
|
|
218
216
|
type: Directive,
|
|
219
217
|
args: [{
|
|
220
218
|
selector: '[luTooltip]',
|
|
@@ -262,10 +260,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
262
260
|
|
|
263
261
|
class LuTooltipTriggerModule {
|
|
264
262
|
}
|
|
265
|
-
LuTooltipTriggerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
266
|
-
LuTooltipTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
267
|
-
LuTooltipTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
263
|
+
LuTooltipTriggerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipTriggerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
264
|
+
LuTooltipTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipTriggerModule, declarations: [LuTooltipTriggerDirective], imports: [OverlayModule], exports: [LuTooltipTriggerDirective] });
|
|
265
|
+
LuTooltipTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipTriggerModule, imports: [OverlayModule] });
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipTriggerModule, decorators: [{
|
|
269
267
|
type: NgModule,
|
|
270
268
|
args: [{
|
|
271
269
|
imports: [OverlayModule],
|
|
@@ -276,10 +274,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImpor
|
|
|
276
274
|
|
|
277
275
|
class LuTooltipModule {
|
|
278
276
|
}
|
|
279
|
-
LuTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.
|
|
280
|
-
LuTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.
|
|
281
|
-
LuTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.
|
|
282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.
|
|
277
|
+
LuTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
278
|
+
LuTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipModule, imports: [LuTooltipTriggerModule, LuTooltipPanelModule], exports: [LuTooltipTriggerModule, LuTooltipPanelModule] });
|
|
279
|
+
LuTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipModule, imports: [LuTooltipTriggerModule, LuTooltipPanelModule, LuTooltipTriggerModule, LuTooltipPanelModule] });
|
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: LuTooltipModule, decorators: [{
|
|
283
281
|
type: NgModule,
|
|
284
282
|
args: [{
|
|
285
283
|
imports: [LuTooltipTriggerModule, LuTooltipPanelModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-tooltip.mjs","sources":["../../../packages/ng/tooltip/src/lib/animation/tooltip.animation.ts","../../../packages/ng/tooltip/src/lib/panel/tooltip-panel.component.ts","../../../packages/ng/tooltip/src/lib/panel/tooltip-panel.component.html","../../../packages/ng/tooltip/src/lib/panel/tooltip-panel.module.ts","../../../packages/ng/tooltip/src/lib/trigger/tooltip-trigger.directive.ts","../../../packages/ng/tooltip/src/lib/trigger/tooltip-trigger.module.ts","../../../packages/ng/tooltip/src/lib/tooltip.module.ts","../../../packages/ng/tooltip/src/public-api.ts","../../../packages/ng/tooltip/src/lucca-front-ng-tooltip.ts"],"sourcesContent":["import { trigger, state, style, animate, transition, AnimationTriggerMetadata } from '@angular/animations';\r\n\r\nexport const luTransformTooltip: AnimationTriggerMetadata = trigger('transformTooltip', [\r\n\tstate(\r\n\t\t'enter',\r\n\t\tstyle({\r\n\t\t\topacity: 1,\r\n\t\t\ttransform: `scale(1)`,\r\n\t\t}),\r\n\t),\r\n\ttransition('void => *', [\r\n\t\tstyle({\r\n\t\t\topacity: 0,\r\n\t\t\ttransform: `scale(0)`,\r\n\t\t}),\r\n\t\tanimate(`150ms cubic-bezier(0.25, 0.8, 0.25, 1)`),\r\n\t]),\r\n\ttransition('* => void', [animate('50ms 100ms linear', style({ opacity: 0 }))]),\r\n]);\r\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostBinding, Output, TemplateRef, ViewChild } from '@angular/core';\r\nimport { ALuPopoverPanel, ILuPopoverPanel } from '@lucca-front/ng/popover';\r\nimport { luTransformTooltip } from '../animation/index';\r\n\r\n@Component({\r\n\tselector: 'lu-tooltip-panel',\r\n\ttemplateUrl: './tooltip-panel.component.html',\r\n\tstyleUrls: ['./tooltip-panel.component.scss'],\r\n\tanimations: [luTransformTooltip],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LuTooltipPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel {\r\n\t@HostBinding('@transformTooltip') animationState = 'enter';\r\n\r\n\tprivate _content: string;\r\n\tget content() {\r\n\t\treturn this._content;\r\n\t}\r\n\tset content(c) {\r\n\t\tthis._content = c;\r\n\t\tthis._changeDetectorRef.markForCheck();\r\n\t}\r\n\r\n\t//FIXME output event\r\n\t// eslint-disable-next-line @angular-eslint/no-output-native\r\n\t@Output() override close = new EventEmitter<void>();\r\n\t// eslint-disable-next-line @angular-eslint/no-output-native\r\n\t@Output() override open = new EventEmitter<void>();\r\n\t@Output() override hovered = new EventEmitter<boolean>();\r\n\t@ViewChild(TemplateRef, { static: true })\r\n\tset vcTemplateRef(tr: TemplateRef<HTMLDivElement>) {\r\n\t\tthis.templateRef = tr;\r\n\t}\r\n\tconstructor(private _changeDetectorRef: ChangeDetectorRef) {\r\n\t\tsuper();\r\n\t\tthis.scrollStrategy = 'close';\r\n\t}\r\n\r\n\t_emitCloseEvent(): void {\r\n\t\tthis.close.emit();\r\n\t}\r\n\r\n\t_emitOpenEvent(): void {\r\n\t\tthis.open.emit();\r\n\t}\r\n\t_emitHoveredEvent(hovered: boolean): void {\r\n\t\tthis.hovered.emit(hovered);\r\n\t}\r\n}\r\n","<div\r\n\tclass=\"lu-tooltip-panel\"\r\n\trole=\"tooltip\"\r\n\t[ngClass]=\"panelClassesMap\"\r\n\t(mouseover)=\"onMouseOver()\"\r\n\t(mouseleave)=\"onMouseLeave()\"\r\n\t[attr.id]=\"panelId\"\r\n\t[@transformTooltip]=\"'enter'\"\r\n>\r\n\t<div class=\"lu-tooltip-content\" [ngClass]=\"contentClassesMap\" [innerHtml]=\"content | luSafeContent: 'html'\"></div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { LuTooltipPanelComponent } from './tooltip-panel.component';\r\nimport { LuSafeContentModule } from '@lucca-front/ng/safe-content';\r\n\r\n@NgModule({\r\n\timports: [CommonModule, LuSafeContentModule],\r\n\tdeclarations: [LuTooltipPanelComponent],\r\n\texports: [LuTooltipPanelComponent],\r\n})\r\nexport class LuTooltipPanelModule {}\r\n","import { FlexibleConnectedPositionStrategy, Overlay, OverlayRef } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { AfterViewInit, Directive, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnDestroy, Output, ViewContainerRef } from '@angular/core';\r\nimport { ALuPopoverTrigger, LuPopoverPosition, LuPopoverScrollStrategy, LuPopoverTarget } from '@lucca-front/ng/popover';\r\nimport { LuTooltipPanelComponent } from '../panel/tooltip-panel.component';\r\n\r\n@Directive({\r\n\tselector: '[luTooltip]',\r\n})\r\nexport class LuTooltipTriggerDirective extends ALuPopoverTrigger<LuTooltipPanelComponent, LuPopoverTarget> implements AfterViewInit, OnDestroy {\r\n\t@Input('luTooltip') set tooltipContent(c: string) {\r\n\t\tif (this.panel) {\r\n\t\t\tthis.panel.content = c;\r\n\t\t}\r\n\r\n\t\tthis._tooltipContent = c;\r\n\t}\r\n\t/** when trigger = hover, delay before the popover panel appears, default 300ms */\r\n\t@Input('luTooltipEnterDelay') set inputEnterDelay(d: number) {\r\n\t\tthis.enterDelay = d;\r\n\t}\r\n\t/** when trigger = hover, delay before the popover panel disappears, default 100ms */\r\n\t@Input('luTooltipLeaveDelay') set inputLeaveDelay(d: number) {\r\n\t\tthis.leaveDelay = d;\r\n\t}\r\n\t/** disable popover apparition */\r\n\t@Input('luTooltipDisabled') set inputDisabled(d: boolean) {\r\n\t\tthis.disabled = d;\r\n\t\tif (this._handleTabindex) {\r\n\t\t\tthis._setTabindex(d ? null : 0);\r\n\t\t}\r\n\t}\r\n\r\n\t@Input('luTooltipPosition') set inputPosition(pos: LuPopoverPosition) {\r\n\t\tthis.target.position = pos;\r\n\t}\r\n\r\n\t// FIXME output native\r\n\t/** Event emitted when the associated popover is opened. */\r\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\r\n\t@Output('luTooltipOnOpen') onOpen = new EventEmitter<void>();\r\n\t/** Event emitted when the associated popover is closed. */\r\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\r\n\t@Output('luTooltipOnClose') onClose = new EventEmitter<void>();\r\n\r\n\t@HostListener('mouseenter')\r\n\toverride onMouseEnter() {\r\n\t\tsuper.onMouseEnter();\r\n\t}\r\n\t@HostListener('mouseleave')\r\n\toverride onMouseLeave() {\r\n\t\tsuper.onMouseLeave();\r\n\t}\r\n\t@HostListener('focus')\r\n\toverride onFocus() {\r\n\t\tsuper.onFocus();\r\n\t}\r\n\t@HostListener('blur')\r\n\toverride onBlur() {\r\n\t\tsuper.onBlur();\r\n\t}\r\n\tprivate _handleTabindex = false;\r\n\t// @HostBinding('attr.tabindex') tabindex;\r\n\t// private set tabindex(i: number = null) {\r\n\r\n\t// }\r\n\r\n\t/** accessibility attribute - dont override */\r\n\t@HostBinding('attr.id') get _attrId() {\r\n\t\treturn this._triggerId;\r\n\t}\r\n\t/** accessibility attribute - dont override */\r\n\t@HostBinding('attr.aria-describedby') get _attrAriaDescribedBy() {\r\n\t\treturn this._panelId;\r\n\t}\r\n\r\n\tprotected override _portal: ComponentPortal<LuTooltipPanelComponent>;\r\n\tprotected _tooltipContent = '';\r\n\r\n\tconstructor(protected override _overlay: Overlay, protected override _elementRef: ElementRef<HTMLElement>, protected override _viewContainerRef: ViewContainerRef) {\r\n\t\tsuper(_overlay, _elementRef, _viewContainerRef);\r\n\t\tthis.target = new LuPopoverTarget();\r\n\t\tthis.target.elementRef = this._elementRef;\r\n\t\tthis._triggerId = this._elementRef.nativeElement.getAttribute('id') || this._triggerId;\r\n\t\tthis.triggerEvent = 'hover';\r\n\t\tthis.target.position = 'above';\r\n\t\tthis.enterDelay = 300;\r\n\t\tthis.leaveDelay = 100;\r\n\r\n\t\tthis._handleTabindex = this._shouldHandleTabindex();\r\n\r\n\t\tif (this._handleTabindex) {\r\n\t\t\tthis._setTabindex(0);\r\n\t\t}\r\n\t}\r\n\r\n\tngAfterViewInit() {\r\n\t\tthis._checkTarget();\r\n\t}\r\n\tngOnDestroy() {\r\n\t\tthis._cleanUpSubscriptions();\r\n\t\tif (this._popoverOpen) {\r\n\t\t\tthis.closePopover();\r\n\t\t}\r\n\t\tthis.destroyPopover();\r\n\t}\r\n\tprotected _emitOpen(): void {\r\n\t\tthis.onOpen.emit();\r\n\t}\r\n\tprotected _emitClose(): void {\r\n\t\tthis.onClose.emit();\r\n\t}\r\n\r\n\tprotected override _createOverlay(): OverlayRef {\r\n\t\tif (!this._overlayRef) {\r\n\t\t\tthis._portal = new ComponentPortal(LuTooltipPanelComponent, this._viewContainerRef);\r\n\t\t\tconst config = this._getOverlayConfig();\r\n\t\t\tthis._subscribeToPositions(config.positionStrategy as FlexibleConnectedPositionStrategy);\r\n\t\t\tthis._overlayRef = this._overlay.create(config);\r\n\t\t}\r\n\r\n\t\treturn this._overlayRef;\r\n\t}\r\n\r\n\tprotected override _attachPortalToOverlay(): void {\r\n\t\tconst componentRef = this._overlayRef.attach(this._portal);\r\n\t\tthis._panel = componentRef.instance;\r\n\t\tthis._panel.content = this._tooltipContent;\r\n\t}\r\n\r\n\tprotected override _getPanelScrollStrategy(): LuPopoverScrollStrategy {\r\n\t\treturn 'close';\r\n\t}\r\n\r\n\tprivate _shouldHandleTabindex(): boolean {\r\n\t\tconst tag = this._elementRef.nativeElement.tagName?.toLowerCase();\r\n\t\t// https://allyjs.io/data-tables/focusable.html\r\n\t\t// i'm choosing to not support area and iframe, dont @ me\r\n\t\tconst nativelyFocusableTags = ['a', 'button', 'input', 'select', 'textarea'];\r\n\t\tconst isNatevelyFocusableTag = nativelyFocusableTags.includes(tag);\r\n\r\n\t\tconst hasATabIndex = this._elementRef.nativeElement.getAttribute('tabindex') !== null;\r\n\r\n\t\treturn !isNatevelyFocusableTag && !hasATabIndex;\r\n\t}\r\n\r\n\tprivate _setTabindex(i: number = null): void {\r\n\t\tthis._elementRef.nativeElement.setAttribute('tabindex', `${i}`);\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { LuTooltipTriggerDirective } from './tooltip-trigger.directive';\r\n\r\n@NgModule({\r\n\timports: [OverlayModule],\r\n\tdeclarations: [LuTooltipTriggerDirective],\r\n\texports: [LuTooltipTriggerDirective],\r\n})\r\nexport class LuTooltipTriggerModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuTooltipTriggerModule } from './trigger/index';\r\nimport { LuTooltipPanelModule } from './panel/index';\r\n\r\n@NgModule({\r\n\timports: [LuTooltipTriggerModule, LuTooltipPanelModule],\r\n\texports: [LuTooltipTriggerModule, LuTooltipPanelModule],\r\n})\r\nexport class LuTooltipModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAEa,MAAA,kBAAkB,GAA6B,OAAO,CAAC,kBAAkB,EAAE;AACvF,IAAA,KAAK,CACJ,OAAO,EACP,KAAK,CAAC;AACL,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,SAAS,EAAE,CAAU,QAAA,CAAA;AACrB,KAAA,CAAC,CACF;IACD,UAAU,CAAC,WAAW,EAAE;AACvB,QAAA,KAAK,CAAC;AACL,YAAA,OAAO,EAAE,CAAC;AACV,YAAA,SAAS,EAAE,CAAU,QAAA,CAAA;SACrB,CAAC;QACF,OA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mjs","sources":["../../../packages/ng/tooltip/src/lib/animation/tooltip.animation.ts","../../../packages/ng/tooltip/src/lib/panel/tooltip-panel.component.ts","../../../packages/ng/tooltip/src/lib/panel/tooltip-panel.component.html","../../../packages/ng/tooltip/src/lib/panel/tooltip-panel.module.ts","../../../packages/ng/tooltip/src/lib/trigger/tooltip-trigger.directive.ts","../../../packages/ng/tooltip/src/lib/trigger/tooltip-trigger.module.ts","../../../packages/ng/tooltip/src/lib/tooltip.module.ts","../../../packages/ng/tooltip/src/public-api.ts","../../../packages/ng/tooltip/src/lucca-front-ng-tooltip.ts"],"sourcesContent":["import { trigger, state, style, animate, transition, AnimationTriggerMetadata } from '@angular/animations';\r\n\r\nexport const luTransformTooltip: AnimationTriggerMetadata = trigger('transformTooltip', [\r\n\tstate(\r\n\t\t'enter',\r\n\t\tstyle({\r\n\t\t\topacity: 1,\r\n\t\t\ttransform: `scale(1)`,\r\n\t\t}),\r\n\t),\r\n\ttransition('void => *', [\r\n\t\tstyle({\r\n\t\t\topacity: 0,\r\n\t\t\ttransform: `scale(0)`,\r\n\t\t}),\r\n\t\tanimate(`150ms cubic-bezier(0.25, 0.8, 0.25, 1)`),\r\n\t]),\r\n\ttransition('* => void', [animate('50ms 100ms linear', style({ opacity: 0 }))]),\r\n]);\r\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostBinding, Output, TemplateRef, ViewChild } from '@angular/core';\r\nimport { SafeHtml } from '@angular/platform-browser';\r\nimport { ALuPopoverPanel, ILuPopoverPanel } from '@lucca-front/ng/popover';\r\nimport { luTransformTooltip } from '../animation/index';\r\n\r\n@Component({\r\n\tselector: 'lu-tooltip-panel',\r\n\ttemplateUrl: './tooltip-panel.component.html',\r\n\tstyleUrls: ['./tooltip-panel.component.scss'],\r\n\tanimations: [luTransformTooltip],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LuTooltipPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel {\r\n\t@HostBinding('@transformTooltip') animationState = 'enter';\r\n\r\n\tprivate _content: string | SafeHtml;\r\n\tget content() {\r\n\t\treturn this._content;\r\n\t}\r\n\tset content(c) {\r\n\t\tthis._content = c;\r\n\t\tthis._changeDetectorRef.markForCheck();\r\n\t}\r\n\r\n\t//FIXME output event\r\n\t// eslint-disable-next-line @angular-eslint/no-output-native\r\n\t@Output() override close = new EventEmitter<void>();\r\n\t// eslint-disable-next-line @angular-eslint/no-output-native\r\n\t@Output() override open = new EventEmitter<void>();\r\n\t@Output() override hovered = new EventEmitter<boolean>();\r\n\t@ViewChild(TemplateRef, { static: true })\r\n\tset vcTemplateRef(tr: TemplateRef<HTMLDivElement>) {\r\n\t\tthis.templateRef = tr;\r\n\t}\r\n\tconstructor(private _changeDetectorRef: ChangeDetectorRef) {\r\n\t\tsuper();\r\n\t\tthis.scrollStrategy = 'close';\r\n\t}\r\n\r\n\t_emitCloseEvent(): void {\r\n\t\tthis.close.emit();\r\n\t}\r\n\r\n\t_emitOpenEvent(): void {\r\n\t\tthis.open.emit();\r\n\t}\r\n\t_emitHoveredEvent(hovered: boolean): void {\r\n\t\tthis.hovered.emit(hovered);\r\n\t}\r\n}\r\n","<div\r\n\tclass=\"lu-tooltip-panel\"\r\n\trole=\"tooltip\"\r\n\t[ngClass]=\"panelClassesMap\"\r\n\t(mouseover)=\"onMouseOver()\"\r\n\t(mouseleave)=\"onMouseLeave()\"\r\n\t[attr.id]=\"panelId\"\r\n\t[@transformTooltip]=\"'enter'\"\r\n>\r\n\t<div class=\"lu-tooltip-content\" [ngClass]=\"contentClassesMap\" [innerHtml]=\"content\"></div>\r\n</div>\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuTooltipPanelComponent } from './tooltip-panel.component';\r\n\r\n@NgModule({\r\n\timports: [CommonModule],\r\n\tdeclarations: [LuTooltipPanelComponent],\r\n\texports: [LuTooltipPanelComponent],\r\n})\r\nexport class LuTooltipPanelModule {}\r\n","import { FlexibleConnectedPositionStrategy, Overlay, OverlayRef } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { AfterViewInit, Directive, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnDestroy, Output, ViewContainerRef } from '@angular/core';\r\nimport { SafeHtml } from '@angular/platform-browser';\r\nimport { ALuPopoverTrigger, LuPopoverPosition, LuPopoverScrollStrategy, LuPopoverTarget } from '@lucca-front/ng/popover';\r\nimport { LuTooltipPanelComponent } from '../panel/tooltip-panel.component';\r\n\r\n@Directive({\r\n\tselector: '[luTooltip]',\r\n})\r\nexport class LuTooltipTriggerDirective extends ALuPopoverTrigger<LuTooltipPanelComponent, LuPopoverTarget> implements AfterViewInit, OnDestroy {\r\n\t@Input('luTooltip') set tooltipContent(c: string | SafeHtml) {\r\n\t\tif (this.panel) {\r\n\t\t\tthis.panel.content = c;\r\n\t\t}\r\n\r\n\t\tthis._tooltipContent = c;\r\n\t}\r\n\t/** when trigger = hover, delay before the popover panel appears, default 300ms */\r\n\t@Input('luTooltipEnterDelay') set inputEnterDelay(d: number) {\r\n\t\tthis.enterDelay = d;\r\n\t}\r\n\t/** when trigger = hover, delay before the popover panel disappears, default 100ms */\r\n\t@Input('luTooltipLeaveDelay') set inputLeaveDelay(d: number) {\r\n\t\tthis.leaveDelay = d;\r\n\t}\r\n\t/** disable popover apparition */\r\n\t@Input('luTooltipDisabled') set inputDisabled(d: boolean) {\r\n\t\tthis.disabled = d;\r\n\t\tif (this._handleTabindex) {\r\n\t\t\tthis._setTabindex(d ? null : 0);\r\n\t\t}\r\n\t}\r\n\r\n\t@Input('luTooltipPosition') set inputPosition(pos: LuPopoverPosition) {\r\n\t\tthis.target.position = pos;\r\n\t}\r\n\r\n\t// FIXME output native\r\n\t/** Event emitted when the associated popover is opened. */\r\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\r\n\t@Output('luTooltipOnOpen') onOpen = new EventEmitter<void>();\r\n\t/** Event emitted when the associated popover is closed. */\r\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\r\n\t@Output('luTooltipOnClose') onClose = new EventEmitter<void>();\r\n\r\n\t@HostListener('mouseenter')\r\n\toverride onMouseEnter() {\r\n\t\tsuper.onMouseEnter();\r\n\t}\r\n\t@HostListener('mouseleave')\r\n\toverride onMouseLeave() {\r\n\t\tsuper.onMouseLeave();\r\n\t}\r\n\t@HostListener('focus')\r\n\toverride onFocus() {\r\n\t\tsuper.onFocus();\r\n\t}\r\n\t@HostListener('blur')\r\n\toverride onBlur() {\r\n\t\tsuper.onBlur();\r\n\t}\r\n\tprivate _handleTabindex = false;\r\n\t// @HostBinding('attr.tabindex') tabindex;\r\n\t// private set tabindex(i: number = null) {\r\n\r\n\t// }\r\n\r\n\t/** accessibility attribute - dont override */\r\n\t@HostBinding('attr.id') get _attrId() {\r\n\t\treturn this._triggerId;\r\n\t}\r\n\t/** accessibility attribute - dont override */\r\n\t@HostBinding('attr.aria-describedby') get _attrAriaDescribedBy() {\r\n\t\treturn this._panelId;\r\n\t}\r\n\r\n\tprotected override _portal: ComponentPortal<LuTooltipPanelComponent>;\r\n\tprotected _tooltipContent: string | SafeHtml = '';\r\n\r\n\tconstructor(protected override _overlay: Overlay, protected override _elementRef: ElementRef<HTMLElement>, protected override _viewContainerRef: ViewContainerRef) {\r\n\t\tsuper(_overlay, _elementRef, _viewContainerRef);\r\n\t\tthis.target = new LuPopoverTarget();\r\n\t\tthis.target.elementRef = this._elementRef;\r\n\t\tthis._triggerId = this._elementRef.nativeElement.getAttribute('id') || this._triggerId;\r\n\t\tthis.triggerEvent = 'hover';\r\n\t\tthis.target.position = 'above';\r\n\t\tthis.enterDelay = 300;\r\n\t\tthis.leaveDelay = 100;\r\n\r\n\t\tthis._handleTabindex = this._shouldHandleTabindex();\r\n\r\n\t\tif (this._handleTabindex) {\r\n\t\t\tthis._setTabindex(0);\r\n\t\t}\r\n\t}\r\n\r\n\tngAfterViewInit() {\r\n\t\tthis._checkTarget();\r\n\t}\r\n\tngOnDestroy() {\r\n\t\tthis._cleanUpSubscriptions();\r\n\t\tif (this._popoverOpen) {\r\n\t\t\tthis.closePopover();\r\n\t\t}\r\n\t\tthis.destroyPopover();\r\n\t}\r\n\tprotected _emitOpen(): void {\r\n\t\tthis.onOpen.emit();\r\n\t}\r\n\tprotected _emitClose(): void {\r\n\t\tthis.onClose.emit();\r\n\t}\r\n\r\n\tprotected override _createOverlay(): OverlayRef {\r\n\t\tif (!this._overlayRef) {\r\n\t\t\tthis._portal = new ComponentPortal(LuTooltipPanelComponent, this._viewContainerRef);\r\n\t\t\tconst config = this._getOverlayConfig();\r\n\t\t\tthis._subscribeToPositions(config.positionStrategy as FlexibleConnectedPositionStrategy);\r\n\t\t\tthis._overlayRef = this._overlay.create(config);\r\n\t\t}\r\n\r\n\t\treturn this._overlayRef;\r\n\t}\r\n\r\n\tprotected override _attachPortalToOverlay(): void {\r\n\t\tconst componentRef = this._overlayRef.attach(this._portal);\r\n\t\tthis._panel = componentRef.instance;\r\n\t\tthis._panel.content = this._tooltipContent;\r\n\t}\r\n\r\n\tprotected override _getPanelScrollStrategy(): LuPopoverScrollStrategy {\r\n\t\treturn 'close';\r\n\t}\r\n\r\n\tprivate _shouldHandleTabindex(): boolean {\r\n\t\tconst tag = this._elementRef.nativeElement.tagName?.toLowerCase();\r\n\t\t// https://allyjs.io/data-tables/focusable.html\r\n\t\t// i'm choosing to not support area and iframe, dont @ me\r\n\t\tconst nativelyFocusableTags = ['a', 'button', 'input', 'select', 'textarea'];\r\n\t\tconst isNatevelyFocusableTag = nativelyFocusableTags.includes(tag);\r\n\r\n\t\tconst hasATabIndex = this._elementRef.nativeElement.getAttribute('tabindex') !== null;\r\n\r\n\t\treturn !isNatevelyFocusableTag && !hasATabIndex;\r\n\t}\r\n\r\n\tprivate _setTabindex(i: number = null): void {\r\n\t\tthis._elementRef.nativeElement.setAttribute('tabindex', `${i}`);\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { LuTooltipTriggerDirective } from './tooltip-trigger.directive';\r\n\r\n@NgModule({\r\n\timports: [OverlayModule],\r\n\tdeclarations: [LuTooltipTriggerDirective],\r\n\texports: [LuTooltipTriggerDirective],\r\n})\r\nexport class LuTooltipTriggerModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuTooltipTriggerModule } from './trigger/index';\r\nimport { LuTooltipPanelModule } from './panel/index';\r\n\r\n@NgModule({\r\n\timports: [LuTooltipTriggerModule, LuTooltipPanelModule],\r\n\texports: [LuTooltipTriggerModule, LuTooltipPanelModule],\r\n})\r\nexport class LuTooltipModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAEa,MAAA,kBAAkB,GAA6B,OAAO,CAAC,kBAAkB,EAAE;AACvF,IAAA,KAAK,CACJ,OAAO,EACP,KAAK,CAAC;AACL,QAAA,OAAO,EAAE,CAAC;AACV,QAAA,SAAS,EAAE,CAAU,QAAA,CAAA;AACrB,KAAA,CAAC,CACF;IACD,UAAU,CAAC,WAAW,EAAE;AACvB,QAAA,KAAK,CAAC;AACL,YAAA,OAAO,EAAE,CAAC;AACV,YAAA,SAAS,EAAE,CAAU,QAAA,CAAA;SACrB,CAAC;QACF,OAAO,CAAC,wCAAwC,CAAC;KACjD,CAAC;AACF,IAAA,UAAU,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,mBAAmB,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC9E,CAAA;;ACNK,MAAO,uBAAwB,SAAQ,eAAe,CAAA;AAsB3D,IAAA,WAAA,CAAoB,kBAAqC,EAAA;AACxD,QAAA,KAAK,EAAE,CAAC;AADW,QAAA,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAmB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