@lucca-front/ng 10.4.1 → 10.4.2

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.
@@ -1,4 +1,3 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
1
  import { Directive, EventEmitter, HostBinding, HostListener, Input, Output } from '@angular/core';
3
2
  import { LuPopoverTarget } from '../target/index';
4
3
  import { ALuPopoverTrigger } from './popover-trigger.model';
@@ -112,14 +111,13 @@ export class LuPopoverTriggerDirective extends ALuPopoverTrigger {
112
111
  }
113
112
  }
114
113
  LuPopoverTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerDirective, deps: [{ token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
115
- LuPopoverTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: LuPopoverTriggerDirective, isStandalone: true, selector: "[luPopover]", inputs: { inputPanel: ["luPopover", "inputPanel"], inputTarget: ["luPopoverTarget", "inputTarget"], inputTriggerEvent: ["luPopoverTrigger", "inputTriggerEvent"], inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputEnterDelay: ["luPopoverEnterDelay", "inputEnterDelay"], inputLeaveDelay: ["luPopoverLeaveDelay", "inputLeaveDelay"], inputDisabled: ["luPopoverDisabled", "inputDisabled"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, outputs: { onOpen: "luPopoverOnOpen", onClose: "luPopoverOnClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-expanded": "this._attrAriaExpanded", "attr.id": "this._attrId", "attr.aria-controls": "this._attrAriaControls" } }, providers: [Overlay], exportAs: ["LuPopoverTrigger"], usesInheritance: true, ngImport: i0 });
114
+ LuPopoverTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: LuPopoverTriggerDirective, isStandalone: true, selector: "[luPopover]", inputs: { inputPanel: ["luPopover", "inputPanel"], inputTarget: ["luPopoverTarget", "inputTarget"], inputTriggerEvent: ["luPopoverTrigger", "inputTriggerEvent"], inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputEnterDelay: ["luPopoverEnterDelay", "inputEnterDelay"], inputLeaveDelay: ["luPopoverLeaveDelay", "inputLeaveDelay"], inputDisabled: ["luPopoverDisabled", "inputDisabled"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, outputs: { onOpen: "luPopoverOnOpen", onClose: "luPopoverOnClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-expanded": "this._attrAriaExpanded", "attr.id": "this._attrId", "attr.aria-controls": "this._attrAriaControls" } }, exportAs: ["LuPopoverTrigger"], usesInheritance: true, ngImport: i0 });
116
115
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerDirective, decorators: [{
117
116
  type: Directive,
118
117
  args: [{
119
118
  selector: '[luPopover]',
120
119
  exportAs: 'LuPopoverTrigger',
121
120
  standalone: true,
122
- providers: [Overlay],
123
121
  }]
124
122
  }], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { inputPanel: [{
125
123
  type: Input,
@@ -185,4 +183,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
185
183
  type: HostListener,
186
184
  args: ['blur']
187
185
  }] } });
188
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wb3Zlci10cmlnZ2VyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL3BvcG92ZXIvc3JjL2xpYi90cmlnZ2VyL3BvcG92ZXItdHJpZ2dlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQy9DLE9BQU8sRUFBaUIsU0FBUyxFQUFjLFlBQVksRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBYSxNQUFNLEVBQW9CLE1BQU0sZUFBZSxDQUFDO0FBRTFKLE9BQU8sRUFBMkQsZUFBZSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0csT0FBTyxFQUFFLGlCQUFpQixFQUE0QyxNQUFNLHlCQUF5QixDQUFDOzs7QUFFdEc7OztHQUdHO0FBT0gsTUFBTSxPQUFPLHlCQUNaLFNBQVEsaUJBQWtDO0lBMEUxQyxZQUErQixRQUFpQixFQUFxQixXQUFvQyxFQUFxQixpQkFBbUM7UUFDaEssS0FBSyxDQUFDLFFBQVEsRUFBRSxXQUFXLEVBQUUsaUJBQWlCLENBQUMsQ0FBQztRQURsQixhQUFRLEdBQVIsUUFBUSxDQUFTO1FBQXFCLGdCQUFXLEdBQVgsV0FBVyxDQUF5QjtRQUFxQixzQkFBaUIsR0FBakIsaUJBQWlCLENBQWtCO1FBeERqSywyREFBMkQ7UUFDM0QsK0RBQStEO1FBQ3BDLFdBQU0sR0FBRyxJQUFJLFlBQVksRUFBUSxDQUFDO1FBRTdELDJEQUEyRDtRQUMzRCw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XHJcblx0XHR0aGlzLl9jaGVja1RhcmdldCgpO1xyXG5cdH1cclxuXHRuZ09uRGVzdHJveSgpIHtcclxuXHRcdHRoaXMuX2NsZWFuVXBTdWJzY3JpcHRpb25zKCk7XHJcblx0XHRpZiAodGhpcy5fcG9wb3Zlck9wZW4pIHtcclxuXHRcdFx0dGhpcy5jbG9zZVBvcG92ZXIoKTtcclxuXHRcdH1cclxuXHRcdHRoaXMuZGVzdHJveVBvcG92ZXIoKTtcclxuXHR9XHJcblx0cHJvdGVjdGVkIF9lbWl0T3BlbigpOiB2b2lkIHtcclxuXHRcdHRoaXMub25PcGVuLmVtaXQoKTtcclxuXHR9XHJcblx0cHJvdGVjdGVkIF9lbWl0Q2xvc2UoKTogdm9pZCB7XHJcblx0XHR0aGlzLm9uQ2xvc2UuZW1pdCgpO1xyXG5cdH1cclxufVxyXG4iXX0=
@@ -1,16 +1,17 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { LuPopoverTriggerDirective } from './popover-trigger.directive';
3
+ import { OverlayModule } from '@angular/cdk/overlay';
3
4
  import * as i0 from "@angular/core";
4
5
  export class LuPopoverTriggerModule {
5
6
  }
6
7
  LuPopoverTriggerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- LuPopoverTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, imports: [LuPopoverTriggerDirective], exports: [LuPopoverTriggerDirective] });
8
- LuPopoverTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule });
8
+ LuPopoverTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, imports: [LuPopoverTriggerDirective, OverlayModule], exports: [LuPopoverTriggerDirective] });
9
+ LuPopoverTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, imports: [OverlayModule] });
9
10
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, decorators: [{
10
11
  type: NgModule,
11
12
  args: [{
12
- imports: [LuPopoverTriggerDirective],
13
+ imports: [LuPopoverTriggerDirective, OverlayModule],
13
14
  exports: [LuPopoverTriggerDirective],
14
15
  }]
15
16
  }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wb3Zlci10cmlnZ2VyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL3BvcG92ZXIvc3JjL2xpYi90cmlnZ2VyL3BvcG92ZXItdHJpZ2dlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7QUFNeEUsTUFBTSxPQUFPLHNCQUFzQjs7bUhBQXRCLHNCQUFzQjtvSEFBdEIsc0JBQXNCLFlBSHhCLHlCQUF5QixhQUN6Qix5QkFBeUI7b0hBRXZCLHNCQUFzQjsyRkFBdEIsc0JBQXNCO2tCQUpsQyxRQUFRO21CQUFDO29CQUNULE9BQU8sRUFBRSxDQUFDLHlCQUF5QixDQUFDO29CQUNwQyxPQUFPLEVBQUUsQ0FBQyx5QkFBeUIsQ0FBQztpQkFDcEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2N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M7aUJBQ3BDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgTHVQb3BvdmVyVHJpZ2dlckRpcmVjdGl2ZSB9IGZyb20gJy4vcG9wb3Zlci10cmlnZ2VyLmRpcmVjdGl2ZSc7XHJcbmltcG9ydCB7IE92ZXJsYXlNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jZGsvb3ZlcmxheSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG5cdGltcG9ydHM6IFtMdVBvcG92ZXJUcmlnZ2VyRGlyZWN0aXZlLCBPdmVybGF5TW9kdWxlXSxcclxuXHRleHBvcnRzOiBbTHVQb3BvdmVyVHJpZ2dlckRpcmVjdGl2ZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBMdVBvcG92ZXJUcmlnZ2VyTW9kdWxlIHt9XHJcbiJdfQ==
@@ -1,16 +1,17 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { LuTooltipTriggerDirective } from './tooltip-trigger.directive';
3
+ import { OverlayModule } from '@angular/cdk/overlay';
3
4
  import * as i0 from "@angular/core";
4
5
  export class LuTooltipTriggerModule {
5
6
  }
6
7
  LuTooltipTriggerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- LuTooltipTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, imports: [LuTooltipTriggerDirective], exports: [LuTooltipTriggerDirective] });
8
- LuTooltipTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule });
8
+ LuTooltipTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, imports: [LuTooltipTriggerDirective, OverlayModule], exports: [LuTooltipTriggerDirective] });
9
+ LuTooltipTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, imports: [OverlayModule] });
9
10
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, decorators: [{
10
11
  type: NgModule,
11
12
  args: [{
12
- imports: [LuTooltipTriggerDirective],
13
+ imports: [LuTooltipTriggerDirective, OverlayModule],
13
14
  exports: [LuTooltipTriggerDirective],
14
15
  }]
15
16
  }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC10cmlnZ2VyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL3Rvb2x0aXAvc3JjL2xpYi90cmlnZ2VyL3Rvb2x0aXAtdHJpZ2dlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7QUFNeEUsTUFBTSxPQUFPLHNCQUFzQjs7bUhBQXRCLHNCQUFzQjtvSEFBdEIsc0JBQXNCLFlBSHhCLHlCQUF5QixhQUN6Qix5QkFBeUI7b0hBRXZCLHNCQUFzQjsyRkFBdEIsc0JBQXNCO2tCQUpsQyxRQUFRO21CQUFDO29CQUNULE9BQU8sRUFBRSxDQUFDLHlCQUF5QixDQUFDO29CQUNwQyxPQUFPLEVBQUUsQ0FBQyx5QkFBeUIsQ0FBQztpQkFDcEMiLCJzb3VyY2VzQ29udGVudCI6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FBQWEsQ0FBQztvQkFDbkQsT0FBTyxFQUFFLENBQUMseUJBQXlCLENBQUM7aUJBQ3BDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgTHVUb29sdGlwVHJpZ2dlckRpcmVjdGl2ZSB9IGZyb20gJy4vdG9vbHRpcC10cmlnZ2VyLmRpcmVjdGl2ZSc7XHJcbmltcG9ydCB7IE92ZXJsYXlNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jZGsvb3ZlcmxheSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG5cdGltcG9ydHM6IFtMdVRvb2x0aXBUcmlnZ2VyRGlyZWN0aXZlLCBPdmVybGF5TW9kdWxlXSxcclxuXHRleHBvcnRzOiBbTHVUb29sdGlwVHJpZ2dlckRpcmVjdGl2ZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBMdVRvb2x0aXBUcmlnZ2VyTW9kdWxlIHt9XHJcbiJdfQ==
@@ -2,7 +2,7 @@ import { trigger, state, style, transition, animate } from '@angular/animations'
2
2
  import * as i2 from '@angular/cdk/a11y';
3
3
  import { A11yModule, isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';
4
4
  import * as i1$1 from '@angular/cdk/overlay';
5
- import { OverlayModule, OverlayConfig, Overlay } from '@angular/cdk/overlay';
5
+ import { OverlayModule, OverlayConfig } from '@angular/cdk/overlay';
6
6
  import * as i1 from '@angular/common';
7
7
  import { CommonModule } from '@angular/common';
8
8
  import * as i0 from '@angular/core';
@@ -976,14 +976,13 @@ class LuPopoverTriggerDirective extends ALuPopoverTrigger {
976
976
  }
977
977
  }
978
978
  LuPopoverTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
979
- LuPopoverTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: LuPopoverTriggerDirective, isStandalone: true, selector: "[luPopover]", inputs: { inputPanel: ["luPopover", "inputPanel"], inputTarget: ["luPopoverTarget", "inputTarget"], inputTriggerEvent: ["luPopoverTrigger", "inputTriggerEvent"], inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputEnterDelay: ["luPopoverEnterDelay", "inputEnterDelay"], inputLeaveDelay: ["luPopoverLeaveDelay", "inputLeaveDelay"], inputDisabled: ["luPopoverDisabled", "inputDisabled"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, outputs: { onOpen: "luPopoverOnOpen", onClose: "luPopoverOnClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-expanded": "this._attrAriaExpanded", "attr.id": "this._attrId", "attr.aria-controls": "this._attrAriaControls" } }, providers: [Overlay], exportAs: ["LuPopoverTrigger"], usesInheritance: true, ngImport: i0 });
979
+ LuPopoverTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: LuPopoverTriggerDirective, isStandalone: true, selector: "[luPopover]", inputs: { inputPanel: ["luPopover", "inputPanel"], inputTarget: ["luPopoverTarget", "inputTarget"], inputTriggerEvent: ["luPopoverTrigger", "inputTriggerEvent"], inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputEnterDelay: ["luPopoverEnterDelay", "inputEnterDelay"], inputLeaveDelay: ["luPopoverLeaveDelay", "inputLeaveDelay"], inputDisabled: ["luPopoverDisabled", "inputDisabled"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, outputs: { onOpen: "luPopoverOnOpen", onClose: "luPopoverOnClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-expanded": "this._attrAriaExpanded", "attr.id": "this._attrId", "attr.aria-controls": "this._attrAriaControls" } }, exportAs: ["LuPopoverTrigger"], usesInheritance: true, ngImport: i0 });
980
980
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerDirective, decorators: [{
981
981
  type: Directive,
982
982
  args: [{
983
983
  selector: '[luPopover]',
984
984
  exportAs: 'LuPopoverTrigger',
985
985
  standalone: true,
986
- providers: [Overlay],
987
986
  }]
988
987
  }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { inputPanel: [{
989
988
  type: Input,
@@ -1053,12 +1052,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
1053
1052
  class LuPopoverTriggerModule {
1054
1053
  }
1055
1054
  LuPopoverTriggerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1056
- LuPopoverTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, imports: [LuPopoverTriggerDirective], exports: [LuPopoverTriggerDirective] });
1057
- LuPopoverTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule });
1055
+ LuPopoverTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, imports: [LuPopoverTriggerDirective, OverlayModule], exports: [LuPopoverTriggerDirective] });
1056
+ LuPopoverTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, imports: [OverlayModule] });
1058
1057
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuPopoverTriggerModule, decorators: [{
1059
1058
  type: NgModule,
1060
1059
  args: [{
1061
- imports: [LuPopoverTriggerDirective],
1060
+ imports: [LuPopoverTriggerDirective, OverlayModule],
1062
1061
  exports: [LuPopoverTriggerDirective],
1063
1062
  }]
1064
1063
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-popover.mjs","sources":["../../../packages/ng/popover/src/lib/animation/popover.animation.ts","../../../packages/ng/popover/src/lib/panel/popover-panel.model.ts","../../../packages/ng/popover/src/lib/panel/popover-panel.component.ts","../../../packages/ng/popover/src/lib/panel/popover-panel.component.html","../../../packages/ng/popover/src/lib/panel/popover-panel.module.ts","../../../packages/ng/popover/src/lib/target/popover-target.model.ts","../../../packages/ng/popover/src/lib/target/popover-target.directive.ts","../../../packages/ng/popover/src/lib/target/popover-target.module.ts","../../../packages/ng/popover/src/lib/trigger/popover-trigger.model.ts","../../../packages/ng/popover/src/lib/trigger/popover-trigger.directive.ts","../../../packages/ng/popover/src/lib/trigger/popover-trigger.module.ts","../../../packages/ng/popover/src/lib/popover.module.ts","../../../packages/ng/popover/src/public-api.ts","../../../packages/ng/popover/src/lucca-front-ng-popover.ts"],"sourcesContent":["import { trigger, state, style, animate, transition, AnimationTriggerMetadata } from '@angular/animations';\r\n\r\nexport const luTransformPopover: AnimationTriggerMetadata = trigger('transformPopover', [\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 { HorizontalConnectionPos, VerticalConnectionPos } from '@angular/cdk/overlay';\r\nimport { TemplateRef } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\nexport type LuPopoverScrollStrategy = 'reposition' | 'block' | 'close';\r\n\r\nexport declare interface ILuPopoverPanel<T = unknown> {\r\n\tscrollStrategy: LuPopoverScrollStrategy;\r\n\tcloseOnClick: boolean;\r\n\tpanelId?: string;\r\n\ttriggerId?: string;\r\n\ttemplateRef?: TemplateRef<T>;\r\n\r\n\t/** will emit when the panel wants to close */\r\n\tclose: Observable<void>;\r\n\t/** will emit when the panel wants to open */\r\n\topen: Observable<void>;\r\n\t/** will emit when the panel is hovered */\r\n\thovered: Observable<boolean>;\r\n\t/** classes to apply to the panel, uses ' ' for separating values */\r\n\tpanelClasses: string;\r\n\t/** class to apply to the panel content, uses ' ' for separating values */\r\n\tcontentClasses: string;\r\n\r\n\tkeydownEvents$: Observable<KeyboardEvent>;\r\n\r\n\tsetPositionClasses: (posX: HorizontalConnectionPos, posY: VerticalConnectionPos) => void;\r\n\r\n\t/** method called by the trigger when it opens the popover */\r\n\tonOpen(): void;\r\n\t/** method called by the trigger when it closes the popover */\r\n\tonClose(): void;\r\n}\r\n/**\r\n * abstract class for basic implementation of a popover panel\r\n */\r\nexport abstract class ALuPopoverPanel<T = unknown> implements ILuPopoverPanel<T> {\r\n\tpanelId: string;\r\n\ttriggerId: string;\r\n\r\n\tprotected _isOpen: boolean;\r\n\tget isOpen() {\r\n\t\treturn this._isOpen;\r\n\t}\r\n\r\n\tprotected _closeOnClick = false;\r\n\tget closeOnClick() {\r\n\t\treturn this._closeOnClick;\r\n\t}\r\n\tset closeOnClick(coc: boolean) {\r\n\t\tthis._closeOnClick = coc;\r\n\t}\r\n\r\n\tprotected _trapFocus = false;\r\n\tget trapFocus() {\r\n\t\treturn this._trapFocus;\r\n\t}\r\n\tset trapFocus(tf: boolean) {\r\n\t\tthis._trapFocus = tf;\r\n\t}\r\n\r\n\tprotected _scrollStrategy: LuPopoverScrollStrategy = 'reposition';\r\n\tget scrollStrategy() {\r\n\t\treturn this._scrollStrategy;\r\n\t}\r\n\tset scrollStrategy(ss: LuPopoverScrollStrategy) {\r\n\t\tthis._scrollStrategy = ss;\r\n\t}\r\n\r\n\tprotected _templateRef: TemplateRef<T>;\r\n\tget templateRef() {\r\n\t\treturn this._templateRef;\r\n\t}\r\n\tset templateRef(tr: TemplateRef<T>) {\r\n\t\tthis._templateRef = tr;\r\n\t}\r\n\r\n\tprotected _positionClassesMap: Record<string, boolean> = {};\r\n\tprotected _panelClasses = '';\r\n\tget panelClasses() {\r\n\t\treturn this._panelClasses;\r\n\t}\r\n\tset panelClasses(cl: string) {\r\n\t\tthis._panelClasses = cl;\r\n\t}\r\n\tget panelClassesMap(): Record<string, boolean> {\r\n\t\tconst map: Record<string, boolean> = this._panelClasses\r\n\t\t\t.split(' ')\r\n\t\t\t.filter((c) => !!c)\r\n\t\t\t.reduce((obj: Record<string, boolean>, className: string) => {\r\n\t\t\t\tobj[className] = true;\r\n\t\t\t\treturn obj;\r\n\t\t\t}, {});\r\n\t\t// also add position classes\r\n\t\treturn { ...map, ...this._positionClassesMap };\r\n\t}\r\n\r\n\tprotected _contentClasses = '';\r\n\tget contentClasses() {\r\n\t\treturn this._contentClasses;\r\n\t}\r\n\tset contentClasses(cl: string) {\r\n\t\tthis._contentClasses = cl;\r\n\t}\r\n\tget contentClassesMap() {\r\n\t\treturn this._contentClasses.split(' ').reduce((obj: Record<string, boolean>, className: string) => {\r\n\t\t\tobj[className] = true;\r\n\t\t\treturn obj;\r\n\t\t}, {});\r\n\t}\r\n\r\n\t/** Classes to be passed into the popover's overlay */\r\n\tprotected _overlayPaneClass: string | string[];\r\n\tpublic get overlayPaneClass() {\r\n\t\treturn this._overlayPaneClass;\r\n\t}\r\n\tpublic set overlayPaneClass(opc) {\r\n\t\tthis._overlayPaneClass = opc;\r\n\t}\r\n\r\n\t// /** Config object to be passed into the popover's content ngStyle */\r\n\r\n\tprotected _keydownEventsSub: Subscription;\r\n\tset keydownEvents$(evt$: Observable<KeyboardEvent>) {\r\n\t\tif (!this._keydownEventsSub) {\r\n\t\t\tthis._keydownEventsSub = evt$.subscribe((e) => this._handleKeydown(e));\r\n\t\t}\r\n\t}\r\n\r\n\tclose: Observable<void>;\r\n\topen: Observable<void>;\r\n\thovered: Observable<boolean>;\r\n\tabstract _emitCloseEvent(): void;\r\n\tabstract _emitOpenEvent(): void;\r\n\tabstract _emitHoveredEvent(hovered: boolean): void;\r\n\r\n\tsetPositionClasses(posX: HorizontalConnectionPos, posY: VerticalConnectionPos): void {\r\n\t\tthis._positionClassesMap['is-before'] = posX === 'end';\r\n\t\tthis._positionClassesMap['is-after'] = posX === 'start';\r\n\t\tthis._positionClassesMap['is-above'] = posY === 'bottom';\r\n\t\tthis._positionClassesMap['is-below'] = posY === 'top';\r\n\t}\r\n\r\n\tonClick() {\r\n\t\tif (this.closeOnClick) {\r\n\t\t\tthis._emitCloseEvent();\r\n\t\t}\r\n\t}\r\n\r\n\tonOpen() {\r\n\t\tthis._isOpen = true;\r\n\t}\r\n\tonClose() {\r\n\t\tthis._isOpen = false;\r\n\t}\r\n\t/**\r\n\t * TODO: Refactor when @angular/cdk includes feature I mentioned on github see link below.\r\n\t * https://github.com/angular/material2/pull/5493#issuecomment-313085323\r\n\t */\r\n\t/** Disables close of popover when leaving trigger element and mouse over the popover */\r\n\tonMouseOver() {\r\n\t\tthis._emitHoveredEvent(true);\r\n\t}\r\n\t/** Enables close of popover when mouse leaving popover element */\r\n\tonMouseLeave() {\r\n\t\tthis._emitHoveredEvent(false);\r\n\t}\r\n\t/** does nothing but must be overridable */\r\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\r\n\tonMouseDown() {}\r\n\r\n\t_handleKeydown(event: KeyboardEvent) {\r\n\t\tswitch (event.key) {\r\n\t\t\tcase 'Escape':\r\n\t\t\t\tthis._emitCloseEvent();\r\n\t\t\t\treturn;\r\n\t\t}\r\n\t}\r\n}\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, OnDestroy, Output, TemplateRef, ViewChild } from '@angular/core';\r\nimport { luTransformPopover } from '../animation/index';\r\nimport { ALuPopoverPanel, ILuPopoverPanel, LuPopoverScrollStrategy } from './popover-panel.model';\r\n\r\n// import { standardPopoverTemplate } from './popover.template';\r\n\r\n@Component({\r\n\tselector: 'lu-popover',\r\n\ttemplateUrl: './popover-panel.component.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tanimations: [luTransformPopover],\r\n\tstandalone: true,\r\n\timports: [CommonModule, OverlayModule, A11yModule],\r\n\texportAs: 'LuPopoverPanel',\r\n})\r\nexport class LuPopoverPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel, OnDestroy {\r\n\tprotected _template: TemplateRef<unknown>;\r\n\tprotected _templateContext: unknown;\r\n\r\n\t/** Template to Use for the popover */\r\n\tget template(): TemplateRef<unknown> {\r\n\t\treturn this._template;\r\n\t}\r\n\t@Input()\r\n\tset template(value: TemplateRef<unknown>) {\r\n\t\tthis._template = value;\r\n\t}\r\n\r\n\t/** Template context to use for the popover when created using a template */\r\n\tget templateContext(): unknown {\r\n\t\treturn this._templateContext;\r\n\t}\r\n\t@Input('template-context')\r\n\tset templateContext(value: unknown) {\r\n\t\tthis._templateContext = value;\r\n\t}\r\n\r\n\t/**\r\n\t * Popover container close on click\r\n\t * default: false\r\n\t */\r\n\t@Input('close-on-click')\r\n\tset inputCloseOnClick(v: boolean) {\r\n\t\tthis.closeOnClick = v;\r\n\t}\r\n\r\n\t/**\r\n\t * Popover focus trap using cdkTrapFocus\r\n\t * default: false\r\n\t */\r\n\t@Input('trap-focus')\r\n\tset inputTrapFocus(v: boolean) {\r\n\t\tthis.trapFocus = v;\r\n\t}\r\n\r\n\t/**\r\n\t * Popover scrollStrategy\r\n\t * default: reposition\r\n\t */\r\n\t@Input('scroll-strategy')\r\n\tset inputScrollStrategy(v: LuPopoverScrollStrategy) {\r\n\t\tthis.scrollStrategy = v;\r\n\t}\r\n\r\n\t/**\r\n\t * This method takes classes set on the host lu-popover element and applies them on the\r\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\r\n\t * to style the containing popover from outside the component.\r\n\t * @param classes list of class names\r\n\t */\r\n\t@Input('panel-classes')\r\n\tset inputPanelClasses(classes: string) {\r\n\t\tthis.panelClasses = classes;\r\n\t}\r\n\t/**\r\n\t * This method takes classes set on the host lu-popover element and applies them on the\r\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\r\n\t * to style the containing popover from outside the component.\r\n\t * @param classes list of class names\r\n\t */\r\n\t@Input('content-classes')\r\n\tset inputContentClasses(classes: string) {\r\n\t\tthis.contentClasses = classes;\r\n\t}\r\n\r\n\t/** Event emitted when the popover is closed. */\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\r\n\t@ViewChild(TemplateRef, { static: true })\r\n\tset vcTemplateRef(tr: TemplateRef<unknown>) {\r\n\t\tthis.templateRef = tr;\r\n\t}\r\n\r\n\tconstructor() {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.onClose();\r\n\t\tthis.close.complete();\r\n\t}\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","<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-popover-panel\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t(keydown)=\"_handleKeydown($event)\"\r\n\t\t(click)=\"onClick()\"\r\n\t\t(mouseover)=\"onMouseOver()\"\r\n\t\t(mouseleave)=\"onMouseLeave()\"\r\n\t\t(mousedown)=\"onMouseDown()\"\r\n\t\t[attr.id]=\"panelId\"\r\n\t\t[attr.aria-labelledby]=\"triggerId\"\r\n\t\t[@transformPopover]=\"'enter'\"\r\n\t>\r\n\t\t<div class=\"lu-popover-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content><ng-container *ngTemplateOutlet=\"template; context: templateContext\"></ng-container>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuPopoverPanelComponent } from './popover-panel.component';\r\n\r\n@NgModule({\r\n\timports: [LuPopoverPanelComponent],\r\n\texports: [LuPopoverPanelComponent],\r\n})\r\nexport class LuPopoverPanelModule {}\r\n","import { ElementRef } from '@angular/core';\r\n\r\nexport type LuPopoverPosition = 'above' | 'below' | 'before' | 'after';\r\nexport type LuPopoverAlignment = 'top' | 'bottom' | 'left' | 'right' | 'center';\r\n\r\n/**\r\n * anchor for a popover panel\r\n */\r\nexport interface ILuPopoverTarget {\r\n\t/** how the panel will be align with the target, allowed values: top, bottom, left, right */\r\n\talignment: LuPopoverAlignment;\r\n\t/** the element used to position the panel */\r\n\telementRef: ElementRef;\r\n\t// /** set to true if you want the panel to appear on top of the target */\r\n\toverlap: boolean;\r\n\t/** how you want to position the panel relative to the target, allowed values: above, below, before, after */\r\n\tposition: LuPopoverPosition;\r\n\r\n\toffsetX: number;\r\n\toffsetY: number;\r\n}\r\n\r\nexport abstract class ALuPopoverTarget implements ILuPopoverTarget {\r\n\tprotected _elementRef: ElementRef;\r\n\t/** the element used to position the panel */\r\n\tget elementRef() {\r\n\t\treturn this._elementRef;\r\n\t}\r\n\tset elementRef(ref: ElementRef) {\r\n\t\tthis._elementRef = ref;\r\n\t}\r\n\r\n\tprotected _position: LuPopoverPosition = 'below';\r\n\t/** how you want to position the panel relative to the target, allowed values: above, below, before, after */\r\n\tget position(): LuPopoverPosition {\r\n\t\treturn this._position;\r\n\t}\r\n\tset position(position: LuPopoverPosition | string) {\r\n\t\tif (position !== 'above' && position !== 'below' && position !== 'after' && position !== 'before') {\r\n\t\t\tthrow Error(`LuPopoverPosition value must be 'above', 'below', 'before' or 'after'. Got \"${position}\".\r\n Example: <lu-popover [position]=\"'before'\" #popover=\"LuPopover\"></lu-popover>`);\r\n\t\t}\r\n\t\tthis._position = position;\r\n\t\t// this.setPositionClasses(this._position, this._alignment);\r\n\t}\r\n\r\n\tprotected _alignment: LuPopoverAlignment = 'center';\r\n\t/** how the panel will be align with the target, allowed values: top, bottom, left, right */\r\n\tget alignment(): LuPopoverAlignment {\r\n\t\treturn this._alignment;\r\n\t}\r\n\tset alignment(alignment: LuPopoverAlignment | string) {\r\n\t\tif (alignment !== 'center' && alignment !== 'top' && alignment !== 'bottom' && alignment !== 'right' && alignment !== 'left') {\r\n\t\t\tthrow Error(`LuPopoverAlignment value must be 'top', 'bottom', 'right' or 'left'. Got \"${alignment}\".\r\n Example: <lu-popover [position]=\"above\" [alignment]=\"left\" #popover=\"LuPopover\"></lu-popover>`);\r\n\t\t}\r\n\t\tthis._alignment = alignment;\r\n\t\t// this.setPositionClasses(this._position, this._alignment);\r\n\t}\r\n\r\n\tprotected _overlap = false;\r\n\t/** set to true if you want the panel to appear on top of the target */\r\n\tget overlap() {\r\n\t\treturn this._overlap;\r\n\t}\r\n\tset overlap(ot: boolean) {\r\n\t\tthis._overlap = ot;\r\n\t}\r\n\r\n\tprotected _offsetX = 0;\r\n\tget offsetX() {\r\n\t\treturn this._offsetX;\r\n\t}\r\n\tset offsetX(ox: number) {\r\n\t\tthis._offsetX = ox;\r\n\t}\r\n\r\n\tprotected _offsetY = 0;\r\n\tget offsetY() {\r\n\t\treturn this._offsetY;\r\n\t}\r\n\tset offsetY(oy: number) {\r\n\t\tthis._offsetY = oy;\r\n\t}\r\n}\r\n\r\nexport class LuPopoverTarget extends ALuPopoverTarget {\r\n\tconstructor() {\r\n\t\tsuper();\r\n\t}\r\n}\r\n","import { Directive, ElementRef, Input } from '@angular/core';\r\nimport { ALuPopoverTarget, LuPopoverAlignment, LuPopoverPosition } from './popover-target.model';\r\n\r\n@Directive({\r\n\tselector: '[luPopoverTarget]',\r\n\texportAs: 'LuPopoverTarget',\r\n\tstandalone: true,\r\n})\r\nexport class LuPopoverTargetDirective extends ALuPopoverTarget {\r\n\tconstructor(ref: ElementRef) {\r\n\t\tsuper();\r\n\t\tthis.elementRef = ref;\r\n\t}\r\n\t/** how you want to position the panel relative to the target, allowed values: above, below, before, after */\r\n\t@Input('luPopoverPosition') set inputPosition(pos: LuPopoverPosition) {\r\n\t\tthis.position = pos;\r\n\t}\r\n\t/** how the panel will be align with the target, allowed values: top, bottom, left, right */\r\n\t@Input('luPopoverAlignment') set inputAlignment(al: LuPopoverAlignment) {\r\n\t\tthis.alignment = al;\r\n\t}\r\n\t/** set to true if you want the panel to appear on top of the target */\r\n\t@Input('luPopoverOverlap') set inputOverlap(ov: boolean) {\r\n\t\tthis.overlap = ov;\r\n\t}\r\n\r\n\t@Input('luPopoverOffsetX') set inputOffsetX(ox: number) {\r\n\t\tthis.offsetX = ox;\r\n\t}\r\n\t@Input('luPopoverOffsetY') set inputOffsetY(oy: number) {\r\n\t\tthis.offsetY = oy;\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuPopoverTargetDirective } from './popover-target.directive';\r\n\r\n@NgModule({\r\n\timports: [LuPopoverTargetDirective],\r\n\texports: [LuPopoverTargetDirective],\r\n})\r\nexport class LuPopoverTargetModule {}\r\n","import { isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';\r\nimport { Direction } from '@angular/cdk/bidi';\r\nimport {\r\n\tFlexibleConnectedPositionStrategy,\r\n\tHorizontalConnectionPos,\r\n\tOriginConnectionPosition,\r\n\tOverlay,\r\n\tOverlayConfig,\r\n\tOverlayConnectionPosition,\r\n\tOverlayRef,\r\n\tVerticalConnectionPos,\r\n} from '@angular/cdk/overlay';\r\nimport { ComponentPortal, TemplatePortal } from '@angular/cdk/portal';\r\nimport { ElementRef, ViewContainerRef } from '@angular/core';\r\nimport { generateId } from '@lucca-front/ng/core';\r\nimport { Observable, Subject, Subscription, timer } from 'rxjs';\r\nimport { debounce, distinctUntilChanged, map } from 'rxjs/operators';\r\nimport { ILuPopoverPanel, LuPopoverScrollStrategy } from '../panel/index';\r\nimport { ILuPopoverTarget } from '../target/index';\r\n\r\nexport type LuPopoverTriggerEvent = 'click' | 'hover' | 'none' | 'focus';\r\n\r\n/**\r\n * component that will decide when to show the popover and attach it to the target\r\n */\r\nexport declare interface ILuPopoverTrigger<TPanel extends ILuPopoverPanel = ILuPopoverPanel, TTarget extends ILuPopoverTarget = ILuPopoverTarget> {\r\n\t/** the popover panel to display */\r\n\tpanel: TPanel;\r\n\t/** the popover target to attach the panel */\r\n\ttarget: TTarget;\r\n\r\n\t/** when to display the popover */\r\n\ttriggerEvent: LuPopoverTriggerEvent;\r\n\t/** delay before popover apparition when trigger is 'hover' */\r\n\tenterDelay: number;\r\n\t/** delay before popover disparition when trigger is 'hover' */\r\n\tleaveDelay: number;\r\n\r\n\t/** disable popover apparition */\r\n\tdisabled: boolean;\r\n\t/** Event emitted when the associated popover is opened. */\r\n\tonOpen: Observable<void>;\r\n\t/** Event emitted when the associated popover is closed. */\r\n\tonClose: Observable<void>;\r\n\r\n\topenPopover();\r\n\tclosePopover();\r\n\ttogglePopover();\r\n\tdestroyPopover();\r\n}\r\n\r\n// tslint:disable-next-line: max-line-length\r\nexport abstract class ALuPopoverTrigger<TPanel extends ILuPopoverPanel = ILuPopoverPanel, TTarget extends ILuPopoverTarget = ILuPopoverTarget> implements ILuPopoverTrigger<TPanel, TTarget> {\r\n\tprotected _portal: TemplatePortal<unknown> | ComponentPortal<TPanel>;\r\n\tprotected _overlayRef: OverlayRef | null = null;\r\n\tprotected _popoverOpen = false;\r\n\t// protected _halt = false;\r\n\tprotected _backdropSubscription: Subscription;\r\n\tprotected _positionSubscription: Subscription;\r\n\r\n\tprotected _mouseoverTimer: unknown;\r\n\r\n\tprotected _hovered$ = new Subject();\r\n\tprotected _hoveredSubscription: Subscription;\r\n\tprotected _panelEventsSubscriptions: Subscription;\r\n\tprotected _overlayDetachmentsSubscription: Subscription;\r\n\r\n\t// tracking input type is necessary so it's possible to only auto-focus\r\n\t// the first item of the list when the popover is opened via the keyboard\r\n\tprotected _openedByMouse = false;\r\n\r\n\tprotected _panel: TPanel;\r\n\t/** References the popover instance that the trigger is associated with. */\r\n\tget panel() {\r\n\t\treturn this._panel;\r\n\t}\r\n\tset panel(p: TPanel) {\r\n\t\tthis._panel = p;\r\n\t}\r\n\r\n\tprotected _target: TTarget;\r\n\t/** References the popover target instance that the trigger is associated with. */\r\n\tget target() {\r\n\t\treturn this._target;\r\n\t}\r\n\tset target(t: TTarget) {\r\n\t\tthis._target = t;\r\n\t}\r\n\r\n\tprotected _triggerEvent: LuPopoverTriggerEvent = 'click';\r\n\tget triggerEvent() {\r\n\t\treturn this._triggerEvent;\r\n\t}\r\n\tset triggerEvent(te: LuPopoverTriggerEvent) {\r\n\t\tthis._triggerEvent = te;\r\n\t\tif (te === 'hover' || te === 'focus') {\r\n\t\t\tif (this._hoveredSubscription) {\r\n\t\t\t\tthis._hoveredSubscription.unsubscribe();\r\n\t\t\t}\r\n\t\t\tthis._hoveredSubscription = this._hovered$\r\n\t\t\t\t.pipe(\r\n\t\t\t\t\tdistinctUntilChanged(),\r\n\t\t\t\t\tdebounce((h) => (h ? timer(this.enterDelay) : timer(this.leaveDelay))),\r\n\t\t\t\t)\r\n\t\t\t\t.subscribe((h) => (h ? this.openPopover() : this.closePopover()));\r\n\t\t}\r\n\t}\r\n\tprotected _enterDelay = 50;\r\n\tget enterDelay() {\r\n\t\treturn this._enterDelay;\r\n\t}\r\n\tset enterDelay(d: number) {\r\n\t\tthis._enterDelay = d;\r\n\t}\r\n\tprotected _leaveDelay = 50;\r\n\tget leaveDelay() {\r\n\t\treturn this._leaveDelay;\r\n\t}\r\n\tset leaveDelay(d: number) {\r\n\t\tthis._leaveDelay = d;\r\n\t}\r\n\r\n\tprotected _disabled = false;\r\n\tget disabled() {\r\n\t\treturn this._disabled;\r\n\t}\r\n\tset disabled(d: boolean) {\r\n\t\tthis._disabled = d;\r\n\t}\r\n\r\n\tprotected _whenEllipsis = false;\r\n\tget whenEllipsis() {\r\n\t\treturn this._whenEllipsis;\r\n\t}\r\n\tset whenEllipsis(we: boolean) {\r\n\t\tthis._whenEllipsis = we;\r\n\t}\r\n\r\n\tprotected _triggerId: string;\r\n\tprotected _panelId: string;\r\n\r\n\t/** Event emitted when the associated popover is opened. */\r\n\tabstract onOpen: Observable<void>;\r\n\t/** Event emitted when the associated popover is closed. */\r\n\tabstract onClose: Observable<void>;\r\n\r\n\tprotected abstract _emitOpen(): void;\r\n\tprotected abstract _emitClose(): void;\r\n\r\n\tconstructor(protected _overlay: Overlay, protected _elementRef: ElementRef<HTMLElement>, protected _viewContainerRef: ViewContainerRef) {\r\n\t\tthis._triggerId = `popoverTrigger_${generateId()}`;\r\n\t\tthis._panelId = `popoverPanel_${generateId()}`;\r\n\t}\r\n\r\n\tonClick() {\r\n\t\tif (this.triggerEvent === 'click' && !this.disabled) {\r\n\t\t\tthis.togglePopover();\r\n\t\t}\r\n\t}\r\n\r\n\tonMouseEnter() {\r\n\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\tthis._hovered$.next(true);\r\n\t\t}\r\n\t}\r\n\r\n\tonMouseLeave() {\r\n\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\tthis._hovered$.next(false);\r\n\t\t}\r\n\t}\r\n\tonFocus() {\r\n\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\tthis.openPopover();\r\n\t\t}\r\n\t}\r\n\tonBlur() {\r\n\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\tthis.closePopover();\r\n\t\t}\r\n\t}\r\n\r\n\t/** Toggles the popover between the open and closed states. */\r\n\ttogglePopover(): void {\r\n\t\treturn this._popoverOpen ? this.closePopover() : this.openPopover();\r\n\t}\r\n\r\n\t/** Opens the popover. */\r\n\topenPopover(): void {\r\n\t\tif (!this._popoverOpen && !this._disabled && (!this._whenEllipsis || this._hasEllipsis())) {\r\n\t\t\tthis._createOverlay();\r\n\t\t\tthis._attachPortalToOverlay();\r\n\r\n\t\t\t/** Only subscribe to overlay detachments if trigger event is hover or focus */\r\n\t\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\t\tthis._subscribeToOverlayDetachments();\r\n\t\t\t}\r\n\r\n\t\t\t/** Only subscribe to backdrop if trigger event is click */\r\n\t\t\tif (this.triggerEvent === 'click') {\r\n\t\t\t\tthis._subscribeToBackdrop();\r\n\t\t\t}\r\n\r\n\t\t\t/** Only subscribe to mouse enter/leave of the panel if trigger = hover */\r\n\r\n\t\t\tthis._initPopover();\r\n\t\t\tthis._emitOpen();\r\n\t\t}\r\n\t}\r\n\r\n\t/** Closes the popover. */\r\n\tclosePopover(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\t/** Overlay can still be attached if close has been triggered by mouse leave. */\r\n\t\t\tif (this._overlayRef.hasAttached()) {\r\n\t\t\t\tthis._overlayRef.detach();\r\n\t\t\t}\r\n\r\n\t\t\t/** unsubscribe to backdrop click if it was defined */\r\n\t\t\tif (this._backdropSubscription) {\r\n\t\t\t\t// if (this.popover.triggerEvent === 'click') {\r\n\t\t\t\tthis._backdropSubscription.unsubscribe();\r\n\t\t\t}\r\n\r\n\t\t\tthis._resetPopover();\r\n\t\t\tthis._emitClose();\r\n\t\t}\r\n\t}\r\n\r\n\t/** Removes the popover from the DOM. */\r\n\tdestroyPopover(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\tthis._overlayRef.dispose();\r\n\t\t\tthis._overlayRef = null;\r\n\t\t\tthis._cleanUpSubscriptions();\r\n\t\t}\r\n\t}\r\n\r\n\t/** Focuses the popover trigger. */\r\n\tfocus() {\r\n\t\tthis._elementRef.nativeElement.focus();\r\n\t}\r\n\r\n\t_handleMousedown(event: MouseEvent): void {\r\n\t\tif (!isFakeMousedownFromScreenReader(event)) {\r\n\t\t\tthis._openedByMouse = true;\r\n\t\t}\r\n\t}\r\n\r\n\t/** The text direction of the containing app. */\r\n\tget dir(): Direction {\r\n\t\t// return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\r\n\t\treturn 'ltr';\r\n\t}\r\n\r\n\t/** Return if the popover main positionning is vertical */\r\n\tget isVerticallyPositionned(): boolean {\r\n\t\tconst position = this.target.position;\r\n\t\treturn position === 'below' || position === 'above';\r\n\t}\r\n\r\n\tprotected _attachPortalToOverlay(): void {\r\n\t\tthis._overlayRef.attach(this._portal);\r\n\t}\r\n\r\n\tprotected _getPanelScrollStrategy(): LuPopoverScrollStrategy {\r\n\t\treturn this.panel.scrollStrategy;\r\n\t}\r\n\r\n\t/**\r\n\t * This method ensures that the popover\r\n\t */\r\n\tprotected _subscribeToPanelEvents(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\tthis._panelEventsSubscriptions = new Subscription();\r\n\t\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\t\tthis._panelEventsSubscriptions.add(\r\n\t\t\t\t\tthis.panel.hovered.subscribe((hovered) => {\r\n\t\t\t\t\t\tthis._hovered$.next(hovered);\r\n\t\t\t\t\t}),\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t\tthis._panelEventsSubscriptions.add(\r\n\t\t\t\tthis.panel.close.subscribe(() => {\r\n\t\t\t\t\tthis.closePopover();\r\n\t\t\t\t}),\r\n\t\t\t);\r\n\t\t\tthis._panelEventsSubscriptions.add(\r\n\t\t\t\tthis.panel.open.subscribe(() => {\r\n\t\t\t\t\tthis.openPopover();\r\n\t\t\t\t}),\r\n\t\t\t);\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * This method ensures that the popover closes when the overlay has been detached\r\n\t * Detach can occur if we scroll while popover is opened\r\n\t */\r\n\tprotected _subscribeToOverlayDetachments(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\tthis._overlayDetachmentsSubscription = this._overlayRef.detachments().subscribe(() => {\r\n\t\t\t\tthis._hovered$.next(false);\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * This method ensures that the popover closes when the overlay backdrop is clicked.\r\n\t * We do not use first() here because doing so would not catch clicks from within\r\n\t * the popover, and it would fail to unsubscribe properly. Instead, we unsubscribe\r\n\t * explicitly when the popover is closed or destroyed.\r\n\t */\r\n\tprotected _subscribeToBackdrop(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\tthis._backdropSubscription = this._overlayRef.backdropClick().subscribe(() => {\r\n\t\t\t\tthis.closePopover();\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * This method sets the popover state to open and focuses the first item if\r\n\t * the popover was opened via the keyboard.\r\n\t */\r\n\tprotected _initPopover(): void {\r\n\t\tthis._setIsPopoverOpen(true);\r\n\t\tthis.panel.panelId = this._panelId;\r\n\t\tthis.panel.triggerId = this._triggerId;\r\n\t\tthis.panel.keydownEvents$ = this._overlayRef.keydownEvents();\r\n\t\tthis._subscribeToPanelEvents();\r\n\t}\r\n\r\n\t/**\r\n\t * This method resets the popover when it's closed, most importantly restoring\r\n\t * focus to the popover trigger if the popover was opened via the keyboard.\r\n\t */\r\n\tprotected _resetPopover(): void {\r\n\t\tthis._setIsPopoverOpen(false);\r\n\r\n\t\t// Focus only needs to be reset to the host element if the popover was opened\r\n\t\t// by the keyboard and manually shifted to the first popover item.\r\n\t\tif (!this._openedByMouse && this.triggerEvent === 'click') {\r\n\t\t\tthis.focus();\r\n\t\t}\r\n\t\tthis._openedByMouse = false;\r\n\t}\r\n\r\n\t/** set state rather than toggle to support triggers sharing a popover */\r\n\tprotected _setIsPopoverOpen(isOpen: boolean): void {\r\n\t\tthis._popoverOpen = isOpen;\r\n\t\t// tell the panel it's opening/closing\r\n\t\tisOpen ? this.panel.onOpen() : this.panel.onClose();\r\n\t}\r\n\r\n\t/**\r\n\t * This method checks that a valid instance of MdPopover has been passed into\r\n\t * mdPopoverTriggerFor. If not, an exception is thrown.\r\n\t */\r\n\tprotected _checkPanel() {\r\n\t\tif (!this.panel) {\r\n\t\t\tthrow Error(`lu-popover-trigger: must pass in a lu-popover instance.\r\n Example:\r\n <lu-popover #popover=\"LuPopover\"></lu-popover>\r\n <button type=\"button\" [luPopover]=\"popover\"></button>`);\r\n\t\t}\r\n\t}\r\n\tprotected _checkTarget() {\r\n\t\tif (!this.target) {\r\n\t\t\tthrow Error(`lu-popover-trigger: must pass in a popover target instance.`);\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * This method creates the overlay from the provided popover's template and saves its\r\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\r\n\t */\r\n\tprotected _createOverlay(): OverlayRef {\r\n\t\tif (!this._overlayRef) {\r\n\t\t\tthis._portal = new TemplatePortal(this.panel.templateRef, 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\t/**\r\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\r\n\t * @returns OverlayConfig\r\n\t */\r\n\tprotected _getOverlayConfig(): OverlayConfig {\r\n\t\tconst overlayState = new OverlayConfig();\r\n\t\toverlayState.positionStrategy = this._getPosition();\r\n\t\t/** Display overlay backdrop if trigger event is click */\r\n\t\tif (this.triggerEvent === 'click') {\r\n\t\t\toverlayState.hasBackdrop = true;\r\n\t\t\toverlayState.backdropClass = 'cdk-overlay-transparent-backdrop';\r\n\t\t}\r\n\r\n\t\toverlayState.direction = this.dir;\r\n\t\tconst scrollStrategy = this._getPanelScrollStrategy();\r\n\t\tswitch (scrollStrategy) {\r\n\t\t\tcase 'block':\r\n\t\t\t\toverlayState.scrollStrategy = this._overlay.scrollStrategies.block();\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'close':\r\n\t\t\t\toverlayState.scrollStrategy = this._overlay.scrollStrategies.close();\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tdefault:\r\n\t\t\t\toverlayState.scrollStrategy = this._overlay.scrollStrategies.reposition();\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\treturn overlayState;\r\n\t}\r\n\r\n\t/**\r\n\t * Listens to changes in the position of the overlay and sets the correct classes\r\n\t * on the popover based on the new position. This ensures the animation origin is always\r\n\t * correct, even if a fallback position is used for the overlay.\r\n\t */\r\n\tprotected _subscribeToPositions(position: FlexibleConnectedPositionStrategy): void {\r\n\t\tthis._positionSubscription = position.positionChanges\r\n\t\t\t.pipe(\r\n\t\t\t\tmap((c) => c.connectionPair),\r\n\t\t\t\tdistinctUntilChanged(),\r\n\t\t\t)\r\n\t\t\t.subscribe((connectionPair) => {\r\n\t\t\t\tthis.panel.setPositionClasses(connectionPair.overlayX, connectionPair.overlayY);\r\n\t\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * This method builds the position strategy for the overlay, so the popover is properly connected\r\n\t * to the trigger.\r\n\t * @returns FlexibleConnectedPositionStrategy\r\n\t */\r\n\tprotected _getPosition(): FlexibleConnectedPositionStrategy {\r\n\t\t/**\r\n\t\t * For overriding position element, when LuPopoverTargetAt has a valid element reference.\r\n\t\t * Useful for sticking popover to parent element and offsetting arrow to trigger element.\r\n\t\t * If undefined defaults to the trigger element reference.\r\n\t\t */\r\n\t\tconst element = this.target.elementRef;\r\n\t\t// if (typeof this.targetElement !== 'undefined' && this.popover) {\r\n\t\t// \tthis.popover.containerPositioning = true;\r\n\t\t// \telement = this.targetElement._elementRef;\r\n\t\t// }\r\n\r\n\t\tconst connectionPosition: OriginConnectionPosition = {\r\n\t\t\toriginX: 'start',\r\n\t\t\toriginY: 'top',\r\n\t\t};\r\n\r\n\t\t// Position\r\n\t\tconst position = this.target.position;\r\n\t\tconst overlap = this.target.overlap;\r\n\t\tif (position === 'above') {\r\n\t\t\tconnectionPosition.originY = overlap ? 'bottom' : 'top';\r\n\t\t} else if (position === 'below') {\r\n\t\t\tconnectionPosition.originY = overlap ? 'top' : 'bottom';\r\n\t\t} else if (position === 'before') {\r\n\t\t\tconnectionPosition.originX = overlap ? 'end' : 'start';\r\n\t\t} else if (position === 'after') {\r\n\t\t\tconnectionPosition.originX = overlap ? 'start' : 'end';\r\n\t\t}\r\n\r\n\t\t// Alignment\r\n\t\tconst alignment = this.target.alignment;\r\n\t\tif (this.isVerticallyPositionned) {\r\n\t\t\tif (alignment === 'left') {\r\n\t\t\t\tconnectionPosition.originX = 'start';\r\n\t\t\t} else if (alignment === 'right') {\r\n\t\t\t\tconnectionPosition.originX = 'end';\r\n\t\t\t} else {\r\n\t\t\t\tconnectionPosition.originX = 'center';\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (alignment === 'top') {\r\n\t\t\t\tconnectionPosition.originY = 'top';\r\n\t\t\t} else if (alignment === 'bottom') {\r\n\t\t\t\tconnectionPosition.originY = 'bottom';\r\n\t\t\t} else {\r\n\t\t\t\tconnectionPosition.originY = 'center';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst overlayPosition: OverlayConnectionPosition = {\r\n\t\t\toverlayX: 'start',\r\n\t\t\toverlayY: 'top',\r\n\t\t};\r\n\r\n\t\tif (overlap) {\r\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\r\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\r\n\t\t} else if (this.isVerticallyPositionned) {\r\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\r\n\t\t\toverlayPosition.overlayY = position === 'above' ? 'bottom' : 'top';\r\n\t\t} else {\r\n\t\t\toverlayPosition.overlayX = position === 'before' ? 'end' : 'start';\r\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\r\n\t\t}\r\n\r\n\t\treturn this._overlay\r\n\t\t\t.position()\r\n\t\t\t.flexibleConnectedTo(element)\r\n\t\t\t.withPositions([\r\n\t\t\t\t{\r\n\t\t\t\t\toriginX: connectionPosition.originX,\r\n\t\t\t\t\toriginY: connectionPosition.originY,\r\n\t\t\t\t\toverlayX: overlayPosition.overlayX,\r\n\t\t\t\t\toverlayY: overlayPosition.overlayY,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\toriginX: connectionPosition.originX,\r\n\t\t\t\t\toriginY: this._invertVerticalPos(connectionPosition.originY),\r\n\t\t\t\t\toverlayX: overlayPosition.overlayX,\r\n\t\t\t\t\toverlayY: this._invertVerticalPos(overlayPosition.overlayY),\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\toriginX: this._invertHorizontalPos(connectionPosition.originX),\r\n\t\t\t\t\toriginY: connectionPosition.originY,\r\n\t\t\t\t\toverlayX: this._invertHorizontalPos(overlayPosition.overlayX),\r\n\t\t\t\t\toverlayY: overlayPosition.overlayY,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\toriginX: this._invertHorizontalPos(connectionPosition.originX),\r\n\t\t\t\t\toriginY: this._invertVerticalPos(connectionPosition.originY),\r\n\t\t\t\t\toverlayX: this._invertHorizontalPos(overlayPosition.overlayX),\r\n\t\t\t\t\toverlayY: this._invertVerticalPos(overlayPosition.overlayY),\r\n\t\t\t\t},\r\n\t\t\t])\r\n\t\t\t.withDefaultOffsetX(this.target.offsetX)\r\n\t\t\t.withDefaultOffsetY(this.target.offsetY);\r\n\t}\r\n\r\n\tprotected _invertVerticalPos(y: VerticalConnectionPos) {\r\n\t\tif (y === 'top') {\r\n\t\t\ty = 'bottom';\r\n\t\t} else if (y === 'bottom') {\r\n\t\t\ty = 'top';\r\n\t\t}\r\n\t\treturn y;\r\n\t}\r\n\r\n\tprotected _invertHorizontalPos(x: HorizontalConnectionPos) {\r\n\t\tif (x === 'end') {\r\n\t\t\tx = 'start';\r\n\t\t} else if (x === 'start') {\r\n\t\t\tx = 'end';\r\n\t\t}\r\n\r\n\t\treturn x;\r\n\t}\r\n\r\n\tprotected _cleanUpSubscriptions(): void {\r\n\t\tif (this._backdropSubscription) {\r\n\t\t\tthis._backdropSubscription.unsubscribe();\r\n\t\t}\r\n\t\tif (this._positionSubscription) {\r\n\t\t\tthis._positionSubscription.unsubscribe();\r\n\t\t}\r\n\t\tif (this._hoveredSubscription) {\r\n\t\t\tthis._hoveredSubscription.unsubscribe();\r\n\t\t}\r\n\t\tif (this._panelEventsSubscriptions) {\r\n\t\t\tthis._panelEventsSubscriptions.unsubscribe();\r\n\t\t}\r\n\t\tif (this._overlayDetachmentsSubscription) {\r\n\t\t\tthis._overlayDetachmentsSubscription.unsubscribe();\r\n\t\t}\r\n\t}\r\n\r\n\tprotected _hasEllipsis(): boolean {\r\n\t\tif (!(this._elementRef.nativeElement instanceof HTMLElement)) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tconst { scrollWidth, scrollHeight, clientWidth, clientHeight } = this._elementRef.nativeElement;\r\n\r\n\t\tconst textClampedByWidth = scrollWidth > clientWidth;\r\n\t\tconst textClampedByHeight = scrollHeight > clientHeight;\r\n\r\n\t\treturn textClampedByWidth || textClampedByHeight;\r\n\t}\r\n}\r\n","import { Overlay } from '@angular/cdk/overlay';\r\nimport { AfterViewInit, Directive, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnDestroy, Output, ViewContainerRef } from '@angular/core';\r\nimport { ILuPopoverPanel } from '../panel/index';\r\nimport { ILuPopoverTarget, LuPopoverAlignment, LuPopoverPosition, LuPopoverTarget } from '../target/index';\r\nimport { ALuPopoverTrigger, ILuPopoverTrigger, LuPopoverTriggerEvent } from './popover-trigger.model';\r\n\r\n/**\r\n * This directive is intended to be used in conjunction with an lu-popover tag. It is\r\n * responsible for toggling the display of the provided popover instance.\r\n */\r\n@Directive({\r\n\tselector: '[luPopover]',\r\n\texportAs: 'LuPopoverTrigger',\r\n\tstandalone: true,\r\n\tproviders: [Overlay],\r\n})\r\nexport class LuPopoverTriggerDirective<TPanel extends ILuPopoverPanel = ILuPopoverPanel, TTarget extends ILuPopoverTarget = ILuPopoverTarget>\r\n\textends ALuPopoverTrigger<TPanel, TTarget>\r\n\timplements ILuPopoverTrigger<TPanel, TTarget>, AfterViewInit, OnDestroy\r\n{\r\n\t/** References the popover instance that the trigger is associated with. */\r\n\t@Input('luPopover') set inputPanel(p: TPanel) {\r\n\t\tthis.panel = p;\r\n\t}\r\n\r\n\t/** References the popover target instance that the trigger is associated with. */\r\n\t@Input('luPopoverTarget') set inputTarget(t: TTarget) {\r\n\t\tthis.target = t;\r\n\t}\r\n\r\n\t/** References the popover target instance that the trigger is associated with. */\r\n\t@Input('luPopoverTrigger') set inputTriggerEvent(te: LuPopoverTriggerEvent) {\r\n\t\tthis.triggerEvent = te;\r\n\t}\r\n\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('luPopoverOnOpen') onOpen = new EventEmitter<void>();\r\n\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('luPopoverOnClose') onClose = new EventEmitter<void>();\r\n\r\n\t/** how you want to position the panel relative to the target, allowed values: above, below, before, after */\r\n\t@Input('luPopoverPosition') set inputPosition(pos: LuPopoverPosition) {\r\n\t\tthis.target.position = pos;\r\n\t}\r\n\t/** how the panel will be align with the target, allowed values: top, bottom, left, right */\r\n\t@Input('luPopoverAlignment') set inputAlignment(al: LuPopoverAlignment) {\r\n\t\tthis.target.alignment = al;\r\n\t}\r\n\r\n\t/** when trigger = hover, delay before the popover panel appears */\r\n\t@Input('luPopoverEnterDelay') 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 */\r\n\t@Input('luPopoverLeaveDelay') set inputLeaveDelay(d: number) {\r\n\t\tthis.leaveDelay = d;\r\n\t}\r\n\r\n\t/** disable popover apparition */\r\n\t@Input('luPopoverDisabled') set inputDisabled(d: boolean) {\r\n\t\tthis.disabled = d;\r\n\t}\r\n\r\n\t/** set to true if you want the panel to appear on top of the target */\r\n\t@Input('luPopoverOverlap') set inputOverlap(ov: boolean) {\r\n\t\tthis.target.overlap = ov;\r\n\t}\r\n\r\n\t@Input('luPopoverOffsetX') set inputOffsetX(ox: number) {\r\n\t\tthis.target.offsetX = ox;\r\n\t}\r\n\t@Input('luPopoverOffsetY') set inputOffsetY(oy: number) {\r\n\t\tthis.target.offsetY = oy;\r\n\t}\r\n\r\n\t/** accessibility attribute - dont override */\r\n\t@HostBinding('attr.aria-expanded') get _attrAriaExpanded() {\r\n\t\treturn this._popoverOpen;\r\n\t}\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-controls') get _attrAriaControls() {\r\n\t\treturn this._panelId;\r\n\t}\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() as ILuPopoverTarget as TTarget;\r\n\t\tthis.target.elementRef = this._elementRef;\r\n\t\tthis._triggerId = this._elementRef.nativeElement.getAttribute('id') || this._triggerId;\r\n\t}\r\n\r\n\t@HostListener('click')\r\n\toverride onClick() {\r\n\t\tsuper.onClick();\r\n\t}\r\n\r\n\t@HostListener('mouseenter')\r\n\toverride onMouseEnter() {\r\n\t\tsuper.onMouseEnter();\r\n\t}\r\n\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\r\n\tngAfterViewInit() {\r\n\t\tthis._checkPanel();\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","import { NgModule } from '@angular/core';\r\nimport { LuPopoverTriggerDirective } from './popover-trigger.directive';\r\n\r\n@NgModule({\r\n\timports: [LuPopoverTriggerDirective],\r\n\texports: [LuPopoverTriggerDirective],\r\n})\r\nexport class LuPopoverTriggerModule {}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { LuPopoverPanelComponent } from './panel/index';\r\nimport { LuPopoverTargetDirective } from './target/index';\r\nimport { LuPopoverTriggerDirective } from './trigger/index';\r\n\r\n@NgModule({\r\n\timports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective],\r\n\texports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective],\r\n})\r\nexport class LuPopoverModule {}\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;;ACeD;;AAEG;MACmB,eAAe,CAAA;AAArC,IAAA,WAAA,GAAA;AASW,QAAA,IAAa,CAAA,aAAA,GAAG,KAAK,CAAC;AAQtB,QAAA,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;AAQnB,QAAA,IAAe,CAAA,eAAA,GAA4B,YAAY,CAAC;AAgBxD,QAAA,IAAmB,CAAA,mBAAA,GAA4B,EAAE,CAAC;AAClD,QAAA,IAAa,CAAA,aAAA,GAAG,EAAE,CAAC;AAmBnB,QAAA,IAAe,CAAA,eAAA,GAAG,EAAE,CAAC;KAiF/B;AAzIA,IAAA,IAAI,MAAM,GAAA;QACT,OAAO,IAAI,CAAC,OAAO,CAAC;KACpB;AAGD,IAAA,IAAI,YAAY,GAAA;QACf,OAAO,IAAI,CAAC,aAAa,CAAC;KAC1B;IACD,IAAI,YAAY,CAAC,GAAY,EAAA;AAC5B,QAAA,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC;KACzB;AAGD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;ACTD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-popover.mjs","sources":["../../../packages/ng/popover/src/lib/animation/popover.animation.ts","../../../packages/ng/popover/src/lib/panel/popover-panel.model.ts","../../../packages/ng/popover/src/lib/panel/popover-panel.component.ts","../../../packages/ng/popover/src/lib/panel/popover-panel.component.html","../../../packages/ng/popover/src/lib/panel/popover-panel.module.ts","../../../packages/ng/popover/src/lib/target/popover-target.model.ts","../../../packages/ng/popover/src/lib/target/popover-target.directive.ts","../../../packages/ng/popover/src/lib/target/popover-target.module.ts","../../../packages/ng/popover/src/lib/trigger/popover-trigger.model.ts","../../../packages/ng/popover/src/lib/trigger/popover-trigger.directive.ts","../../../packages/ng/popover/src/lib/trigger/popover-trigger.module.ts","../../../packages/ng/popover/src/lib/popover.module.ts","../../../packages/ng/popover/src/public-api.ts","../../../packages/ng/popover/src/lucca-front-ng-popover.ts"],"sourcesContent":["import { trigger, state, style, animate, transition, AnimationTriggerMetadata } from '@angular/animations';\r\n\r\nexport const luTransformPopover: AnimationTriggerMetadata = trigger('transformPopover', [\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 { HorizontalConnectionPos, VerticalConnectionPos } from '@angular/cdk/overlay';\r\nimport { TemplateRef } from '@angular/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\n\r\nexport type LuPopoverScrollStrategy = 'reposition' | 'block' | 'close';\r\n\r\nexport declare interface ILuPopoverPanel<T = unknown> {\r\n\tscrollStrategy: LuPopoverScrollStrategy;\r\n\tcloseOnClick: boolean;\r\n\tpanelId?: string;\r\n\ttriggerId?: string;\r\n\ttemplateRef?: TemplateRef<T>;\r\n\r\n\t/** will emit when the panel wants to close */\r\n\tclose: Observable<void>;\r\n\t/** will emit when the panel wants to open */\r\n\topen: Observable<void>;\r\n\t/** will emit when the panel is hovered */\r\n\thovered: Observable<boolean>;\r\n\t/** classes to apply to the panel, uses ' ' for separating values */\r\n\tpanelClasses: string;\r\n\t/** class to apply to the panel content, uses ' ' for separating values */\r\n\tcontentClasses: string;\r\n\r\n\tkeydownEvents$: Observable<KeyboardEvent>;\r\n\r\n\tsetPositionClasses: (posX: HorizontalConnectionPos, posY: VerticalConnectionPos) => void;\r\n\r\n\t/** method called by the trigger when it opens the popover */\r\n\tonOpen(): void;\r\n\t/** method called by the trigger when it closes the popover */\r\n\tonClose(): void;\r\n}\r\n/**\r\n * abstract class for basic implementation of a popover panel\r\n */\r\nexport abstract class ALuPopoverPanel<T = unknown> implements ILuPopoverPanel<T> {\r\n\tpanelId: string;\r\n\ttriggerId: string;\r\n\r\n\tprotected _isOpen: boolean;\r\n\tget isOpen() {\r\n\t\treturn this._isOpen;\r\n\t}\r\n\r\n\tprotected _closeOnClick = false;\r\n\tget closeOnClick() {\r\n\t\treturn this._closeOnClick;\r\n\t}\r\n\tset closeOnClick(coc: boolean) {\r\n\t\tthis._closeOnClick = coc;\r\n\t}\r\n\r\n\tprotected _trapFocus = false;\r\n\tget trapFocus() {\r\n\t\treturn this._trapFocus;\r\n\t}\r\n\tset trapFocus(tf: boolean) {\r\n\t\tthis._trapFocus = tf;\r\n\t}\r\n\r\n\tprotected _scrollStrategy: LuPopoverScrollStrategy = 'reposition';\r\n\tget scrollStrategy() {\r\n\t\treturn this._scrollStrategy;\r\n\t}\r\n\tset scrollStrategy(ss: LuPopoverScrollStrategy) {\r\n\t\tthis._scrollStrategy = ss;\r\n\t}\r\n\r\n\tprotected _templateRef: TemplateRef<T>;\r\n\tget templateRef() {\r\n\t\treturn this._templateRef;\r\n\t}\r\n\tset templateRef(tr: TemplateRef<T>) {\r\n\t\tthis._templateRef = tr;\r\n\t}\r\n\r\n\tprotected _positionClassesMap: Record<string, boolean> = {};\r\n\tprotected _panelClasses = '';\r\n\tget panelClasses() {\r\n\t\treturn this._panelClasses;\r\n\t}\r\n\tset panelClasses(cl: string) {\r\n\t\tthis._panelClasses = cl;\r\n\t}\r\n\tget panelClassesMap(): Record<string, boolean> {\r\n\t\tconst map: Record<string, boolean> = this._panelClasses\r\n\t\t\t.split(' ')\r\n\t\t\t.filter((c) => !!c)\r\n\t\t\t.reduce((obj: Record<string, boolean>, className: string) => {\r\n\t\t\t\tobj[className] = true;\r\n\t\t\t\treturn obj;\r\n\t\t\t}, {});\r\n\t\t// also add position classes\r\n\t\treturn { ...map, ...this._positionClassesMap };\r\n\t}\r\n\r\n\tprotected _contentClasses = '';\r\n\tget contentClasses() {\r\n\t\treturn this._contentClasses;\r\n\t}\r\n\tset contentClasses(cl: string) {\r\n\t\tthis._contentClasses = cl;\r\n\t}\r\n\tget contentClassesMap() {\r\n\t\treturn this._contentClasses.split(' ').reduce((obj: Record<string, boolean>, className: string) => {\r\n\t\t\tobj[className] = true;\r\n\t\t\treturn obj;\r\n\t\t}, {});\r\n\t}\r\n\r\n\t/** Classes to be passed into the popover's overlay */\r\n\tprotected _overlayPaneClass: string | string[];\r\n\tpublic get overlayPaneClass() {\r\n\t\treturn this._overlayPaneClass;\r\n\t}\r\n\tpublic set overlayPaneClass(opc) {\r\n\t\tthis._overlayPaneClass = opc;\r\n\t}\r\n\r\n\t// /** Config object to be passed into the popover's content ngStyle */\r\n\r\n\tprotected _keydownEventsSub: Subscription;\r\n\tset keydownEvents$(evt$: Observable<KeyboardEvent>) {\r\n\t\tif (!this._keydownEventsSub) {\r\n\t\t\tthis._keydownEventsSub = evt$.subscribe((e) => this._handleKeydown(e));\r\n\t\t}\r\n\t}\r\n\r\n\tclose: Observable<void>;\r\n\topen: Observable<void>;\r\n\thovered: Observable<boolean>;\r\n\tabstract _emitCloseEvent(): void;\r\n\tabstract _emitOpenEvent(): void;\r\n\tabstract _emitHoveredEvent(hovered: boolean): void;\r\n\r\n\tsetPositionClasses(posX: HorizontalConnectionPos, posY: VerticalConnectionPos): void {\r\n\t\tthis._positionClassesMap['is-before'] = posX === 'end';\r\n\t\tthis._positionClassesMap['is-after'] = posX === 'start';\r\n\t\tthis._positionClassesMap['is-above'] = posY === 'bottom';\r\n\t\tthis._positionClassesMap['is-below'] = posY === 'top';\r\n\t}\r\n\r\n\tonClick() {\r\n\t\tif (this.closeOnClick) {\r\n\t\t\tthis._emitCloseEvent();\r\n\t\t}\r\n\t}\r\n\r\n\tonOpen() {\r\n\t\tthis._isOpen = true;\r\n\t}\r\n\tonClose() {\r\n\t\tthis._isOpen = false;\r\n\t}\r\n\t/**\r\n\t * TODO: Refactor when @angular/cdk includes feature I mentioned on github see link below.\r\n\t * https://github.com/angular/material2/pull/5493#issuecomment-313085323\r\n\t */\r\n\t/** Disables close of popover when leaving trigger element and mouse over the popover */\r\n\tonMouseOver() {\r\n\t\tthis._emitHoveredEvent(true);\r\n\t}\r\n\t/** Enables close of popover when mouse leaving popover element */\r\n\tonMouseLeave() {\r\n\t\tthis._emitHoveredEvent(false);\r\n\t}\r\n\t/** does nothing but must be overridable */\r\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\r\n\tonMouseDown() {}\r\n\r\n\t_handleKeydown(event: KeyboardEvent) {\r\n\t\tswitch (event.key) {\r\n\t\t\tcase 'Escape':\r\n\t\t\t\tthis._emitCloseEvent();\r\n\t\t\t\treturn;\r\n\t\t}\r\n\t}\r\n}\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, OnDestroy, Output, TemplateRef, ViewChild } from '@angular/core';\r\nimport { luTransformPopover } from '../animation/index';\r\nimport { ALuPopoverPanel, ILuPopoverPanel, LuPopoverScrollStrategy } from './popover-panel.model';\r\n\r\n// import { standardPopoverTemplate } from './popover.template';\r\n\r\n@Component({\r\n\tselector: 'lu-popover',\r\n\ttemplateUrl: './popover-panel.component.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tanimations: [luTransformPopover],\r\n\tstandalone: true,\r\n\timports: [CommonModule, OverlayModule, A11yModule],\r\n\texportAs: 'LuPopoverPanel',\r\n})\r\nexport class LuPopoverPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel, OnDestroy {\r\n\tprotected _template: TemplateRef<unknown>;\r\n\tprotected _templateContext: unknown;\r\n\r\n\t/** Template to Use for the popover */\r\n\tget template(): TemplateRef<unknown> {\r\n\t\treturn this._template;\r\n\t}\r\n\t@Input()\r\n\tset template(value: TemplateRef<unknown>) {\r\n\t\tthis._template = value;\r\n\t}\r\n\r\n\t/** Template context to use for the popover when created using a template */\r\n\tget templateContext(): unknown {\r\n\t\treturn this._templateContext;\r\n\t}\r\n\t@Input('template-context')\r\n\tset templateContext(value: unknown) {\r\n\t\tthis._templateContext = value;\r\n\t}\r\n\r\n\t/**\r\n\t * Popover container close on click\r\n\t * default: false\r\n\t */\r\n\t@Input('close-on-click')\r\n\tset inputCloseOnClick(v: boolean) {\r\n\t\tthis.closeOnClick = v;\r\n\t}\r\n\r\n\t/**\r\n\t * Popover focus trap using cdkTrapFocus\r\n\t * default: false\r\n\t */\r\n\t@Input('trap-focus')\r\n\tset inputTrapFocus(v: boolean) {\r\n\t\tthis.trapFocus = v;\r\n\t}\r\n\r\n\t/**\r\n\t * Popover scrollStrategy\r\n\t * default: reposition\r\n\t */\r\n\t@Input('scroll-strategy')\r\n\tset inputScrollStrategy(v: LuPopoverScrollStrategy) {\r\n\t\tthis.scrollStrategy = v;\r\n\t}\r\n\r\n\t/**\r\n\t * This method takes classes set on the host lu-popover element and applies them on the\r\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\r\n\t * to style the containing popover from outside the component.\r\n\t * @param classes list of class names\r\n\t */\r\n\t@Input('panel-classes')\r\n\tset inputPanelClasses(classes: string) {\r\n\t\tthis.panelClasses = classes;\r\n\t}\r\n\t/**\r\n\t * This method takes classes set on the host lu-popover element and applies them on the\r\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\r\n\t * to style the containing popover from outside the component.\r\n\t * @param classes list of class names\r\n\t */\r\n\t@Input('content-classes')\r\n\tset inputContentClasses(classes: string) {\r\n\t\tthis.contentClasses = classes;\r\n\t}\r\n\r\n\t/** Event emitted when the popover is closed. */\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\r\n\t@ViewChild(TemplateRef, { static: true })\r\n\tset vcTemplateRef(tr: TemplateRef<unknown>) {\r\n\t\tthis.templateRef = tr;\r\n\t}\r\n\r\n\tconstructor() {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.onClose();\r\n\t\tthis.close.complete();\r\n\t}\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","<ng-template>\r\n\t<div\r\n\t\tclass=\"lu-popover-panel\"\r\n\t\t[ngClass]=\"panelClassesMap\"\r\n\t\t(keydown)=\"_handleKeydown($event)\"\r\n\t\t(click)=\"onClick()\"\r\n\t\t(mouseover)=\"onMouseOver()\"\r\n\t\t(mouseleave)=\"onMouseLeave()\"\r\n\t\t(mousedown)=\"onMouseDown()\"\r\n\t\t[attr.id]=\"panelId\"\r\n\t\t[attr.aria-labelledby]=\"triggerId\"\r\n\t\t[@transformPopover]=\"'enter'\"\r\n\t>\r\n\t\t<div class=\"lu-popover-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content><ng-container *ngTemplateOutlet=\"template; context: templateContext\"></ng-container>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuPopoverPanelComponent } from './popover-panel.component';\r\n\r\n@NgModule({\r\n\timports: [LuPopoverPanelComponent],\r\n\texports: [LuPopoverPanelComponent],\r\n})\r\nexport class LuPopoverPanelModule {}\r\n","import { ElementRef } from '@angular/core';\r\n\r\nexport type LuPopoverPosition = 'above' | 'below' | 'before' | 'after';\r\nexport type LuPopoverAlignment = 'top' | 'bottom' | 'left' | 'right' | 'center';\r\n\r\n/**\r\n * anchor for a popover panel\r\n */\r\nexport interface ILuPopoverTarget {\r\n\t/** how the panel will be align with the target, allowed values: top, bottom, left, right */\r\n\talignment: LuPopoverAlignment;\r\n\t/** the element used to position the panel */\r\n\telementRef: ElementRef;\r\n\t// /** set to true if you want the panel to appear on top of the target */\r\n\toverlap: boolean;\r\n\t/** how you want to position the panel relative to the target, allowed values: above, below, before, after */\r\n\tposition: LuPopoverPosition;\r\n\r\n\toffsetX: number;\r\n\toffsetY: number;\r\n}\r\n\r\nexport abstract class ALuPopoverTarget implements ILuPopoverTarget {\r\n\tprotected _elementRef: ElementRef;\r\n\t/** the element used to position the panel */\r\n\tget elementRef() {\r\n\t\treturn this._elementRef;\r\n\t}\r\n\tset elementRef(ref: ElementRef) {\r\n\t\tthis._elementRef = ref;\r\n\t}\r\n\r\n\tprotected _position: LuPopoverPosition = 'below';\r\n\t/** how you want to position the panel relative to the target, allowed values: above, below, before, after */\r\n\tget position(): LuPopoverPosition {\r\n\t\treturn this._position;\r\n\t}\r\n\tset position(position: LuPopoverPosition | string) {\r\n\t\tif (position !== 'above' && position !== 'below' && position !== 'after' && position !== 'before') {\r\n\t\t\tthrow Error(`LuPopoverPosition value must be 'above', 'below', 'before' or 'after'. Got \"${position}\".\r\n Example: <lu-popover [position]=\"'before'\" #popover=\"LuPopover\"></lu-popover>`);\r\n\t\t}\r\n\t\tthis._position = position;\r\n\t\t// this.setPositionClasses(this._position, this._alignment);\r\n\t}\r\n\r\n\tprotected _alignment: LuPopoverAlignment = 'center';\r\n\t/** how the panel will be align with the target, allowed values: top, bottom, left, right */\r\n\tget alignment(): LuPopoverAlignment {\r\n\t\treturn this._alignment;\r\n\t}\r\n\tset alignment(alignment: LuPopoverAlignment | string) {\r\n\t\tif (alignment !== 'center' && alignment !== 'top' && alignment !== 'bottom' && alignment !== 'right' && alignment !== 'left') {\r\n\t\t\tthrow Error(`LuPopoverAlignment value must be 'top', 'bottom', 'right' or 'left'. Got \"${alignment}\".\r\n Example: <lu-popover [position]=\"above\" [alignment]=\"left\" #popover=\"LuPopover\"></lu-popover>`);\r\n\t\t}\r\n\t\tthis._alignment = alignment;\r\n\t\t// this.setPositionClasses(this._position, this._alignment);\r\n\t}\r\n\r\n\tprotected _overlap = false;\r\n\t/** set to true if you want the panel to appear on top of the target */\r\n\tget overlap() {\r\n\t\treturn this._overlap;\r\n\t}\r\n\tset overlap(ot: boolean) {\r\n\t\tthis._overlap = ot;\r\n\t}\r\n\r\n\tprotected _offsetX = 0;\r\n\tget offsetX() {\r\n\t\treturn this._offsetX;\r\n\t}\r\n\tset offsetX(ox: number) {\r\n\t\tthis._offsetX = ox;\r\n\t}\r\n\r\n\tprotected _offsetY = 0;\r\n\tget offsetY() {\r\n\t\treturn this._offsetY;\r\n\t}\r\n\tset offsetY(oy: number) {\r\n\t\tthis._offsetY = oy;\r\n\t}\r\n}\r\n\r\nexport class LuPopoverTarget extends ALuPopoverTarget {\r\n\tconstructor() {\r\n\t\tsuper();\r\n\t}\r\n}\r\n","import { Directive, ElementRef, Input } from '@angular/core';\r\nimport { ALuPopoverTarget, LuPopoverAlignment, LuPopoverPosition } from './popover-target.model';\r\n\r\n@Directive({\r\n\tselector: '[luPopoverTarget]',\r\n\texportAs: 'LuPopoverTarget',\r\n\tstandalone: true,\r\n})\r\nexport class LuPopoverTargetDirective extends ALuPopoverTarget {\r\n\tconstructor(ref: ElementRef) {\r\n\t\tsuper();\r\n\t\tthis.elementRef = ref;\r\n\t}\r\n\t/** how you want to position the panel relative to the target, allowed values: above, below, before, after */\r\n\t@Input('luPopoverPosition') set inputPosition(pos: LuPopoverPosition) {\r\n\t\tthis.position = pos;\r\n\t}\r\n\t/** how the panel will be align with the target, allowed values: top, bottom, left, right */\r\n\t@Input('luPopoverAlignment') set inputAlignment(al: LuPopoverAlignment) {\r\n\t\tthis.alignment = al;\r\n\t}\r\n\t/** set to true if you want the panel to appear on top of the target */\r\n\t@Input('luPopoverOverlap') set inputOverlap(ov: boolean) {\r\n\t\tthis.overlap = ov;\r\n\t}\r\n\r\n\t@Input('luPopoverOffsetX') set inputOffsetX(ox: number) {\r\n\t\tthis.offsetX = ox;\r\n\t}\r\n\t@Input('luPopoverOffsetY') set inputOffsetY(oy: number) {\r\n\t\tthis.offsetY = oy;\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuPopoverTargetDirective } from './popover-target.directive';\r\n\r\n@NgModule({\r\n\timports: [LuPopoverTargetDirective],\r\n\texports: [LuPopoverTargetDirective],\r\n})\r\nexport class LuPopoverTargetModule {}\r\n","import { isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';\r\nimport { Direction } from '@angular/cdk/bidi';\r\nimport {\r\n\tFlexibleConnectedPositionStrategy,\r\n\tHorizontalConnectionPos,\r\n\tOriginConnectionPosition,\r\n\tOverlay,\r\n\tOverlayConfig,\r\n\tOverlayConnectionPosition,\r\n\tOverlayRef,\r\n\tVerticalConnectionPos,\r\n} from '@angular/cdk/overlay';\r\nimport { ComponentPortal, TemplatePortal } from '@angular/cdk/portal';\r\nimport { ElementRef, ViewContainerRef } from '@angular/core';\r\nimport { generateId } from '@lucca-front/ng/core';\r\nimport { Observable, Subject, Subscription, timer } from 'rxjs';\r\nimport { debounce, distinctUntilChanged, map } from 'rxjs/operators';\r\nimport { ILuPopoverPanel, LuPopoverScrollStrategy } from '../panel/index';\r\nimport { ILuPopoverTarget } from '../target/index';\r\n\r\nexport type LuPopoverTriggerEvent = 'click' | 'hover' | 'none' | 'focus';\r\n\r\n/**\r\n * component that will decide when to show the popover and attach it to the target\r\n */\r\nexport declare interface ILuPopoverTrigger<TPanel extends ILuPopoverPanel = ILuPopoverPanel, TTarget extends ILuPopoverTarget = ILuPopoverTarget> {\r\n\t/** the popover panel to display */\r\n\tpanel: TPanel;\r\n\t/** the popover target to attach the panel */\r\n\ttarget: TTarget;\r\n\r\n\t/** when to display the popover */\r\n\ttriggerEvent: LuPopoverTriggerEvent;\r\n\t/** delay before popover apparition when trigger is 'hover' */\r\n\tenterDelay: number;\r\n\t/** delay before popover disparition when trigger is 'hover' */\r\n\tleaveDelay: number;\r\n\r\n\t/** disable popover apparition */\r\n\tdisabled: boolean;\r\n\t/** Event emitted when the associated popover is opened. */\r\n\tonOpen: Observable<void>;\r\n\t/** Event emitted when the associated popover is closed. */\r\n\tonClose: Observable<void>;\r\n\r\n\topenPopover();\r\n\tclosePopover();\r\n\ttogglePopover();\r\n\tdestroyPopover();\r\n}\r\n\r\n// tslint:disable-next-line: max-line-length\r\nexport abstract class ALuPopoverTrigger<TPanel extends ILuPopoverPanel = ILuPopoverPanel, TTarget extends ILuPopoverTarget = ILuPopoverTarget> implements ILuPopoverTrigger<TPanel, TTarget> {\r\n\tprotected _portal: TemplatePortal<unknown> | ComponentPortal<TPanel>;\r\n\tprotected _overlayRef: OverlayRef | null = null;\r\n\tprotected _popoverOpen = false;\r\n\t// protected _halt = false;\r\n\tprotected _backdropSubscription: Subscription;\r\n\tprotected _positionSubscription: Subscription;\r\n\r\n\tprotected _mouseoverTimer: unknown;\r\n\r\n\tprotected _hovered$ = new Subject();\r\n\tprotected _hoveredSubscription: Subscription;\r\n\tprotected _panelEventsSubscriptions: Subscription;\r\n\tprotected _overlayDetachmentsSubscription: Subscription;\r\n\r\n\t// tracking input type is necessary so it's possible to only auto-focus\r\n\t// the first item of the list when the popover is opened via the keyboard\r\n\tprotected _openedByMouse = false;\r\n\r\n\tprotected _panel: TPanel;\r\n\t/** References the popover instance that the trigger is associated with. */\r\n\tget panel() {\r\n\t\treturn this._panel;\r\n\t}\r\n\tset panel(p: TPanel) {\r\n\t\tthis._panel = p;\r\n\t}\r\n\r\n\tprotected _target: TTarget;\r\n\t/** References the popover target instance that the trigger is associated with. */\r\n\tget target() {\r\n\t\treturn this._target;\r\n\t}\r\n\tset target(t: TTarget) {\r\n\t\tthis._target = t;\r\n\t}\r\n\r\n\tprotected _triggerEvent: LuPopoverTriggerEvent = 'click';\r\n\tget triggerEvent() {\r\n\t\treturn this._triggerEvent;\r\n\t}\r\n\tset triggerEvent(te: LuPopoverTriggerEvent) {\r\n\t\tthis._triggerEvent = te;\r\n\t\tif (te === 'hover' || te === 'focus') {\r\n\t\t\tif (this._hoveredSubscription) {\r\n\t\t\t\tthis._hoveredSubscription.unsubscribe();\r\n\t\t\t}\r\n\t\t\tthis._hoveredSubscription = this._hovered$\r\n\t\t\t\t.pipe(\r\n\t\t\t\t\tdistinctUntilChanged(),\r\n\t\t\t\t\tdebounce((h) => (h ? timer(this.enterDelay) : timer(this.leaveDelay))),\r\n\t\t\t\t)\r\n\t\t\t\t.subscribe((h) => (h ? this.openPopover() : this.closePopover()));\r\n\t\t}\r\n\t}\r\n\tprotected _enterDelay = 50;\r\n\tget enterDelay() {\r\n\t\treturn this._enterDelay;\r\n\t}\r\n\tset enterDelay(d: number) {\r\n\t\tthis._enterDelay = d;\r\n\t}\r\n\tprotected _leaveDelay = 50;\r\n\tget leaveDelay() {\r\n\t\treturn this._leaveDelay;\r\n\t}\r\n\tset leaveDelay(d: number) {\r\n\t\tthis._leaveDelay = d;\r\n\t}\r\n\r\n\tprotected _disabled = false;\r\n\tget disabled() {\r\n\t\treturn this._disabled;\r\n\t}\r\n\tset disabled(d: boolean) {\r\n\t\tthis._disabled = d;\r\n\t}\r\n\r\n\tprotected _whenEllipsis = false;\r\n\tget whenEllipsis() {\r\n\t\treturn this._whenEllipsis;\r\n\t}\r\n\tset whenEllipsis(we: boolean) {\r\n\t\tthis._whenEllipsis = we;\r\n\t}\r\n\r\n\tprotected _triggerId: string;\r\n\tprotected _panelId: string;\r\n\r\n\t/** Event emitted when the associated popover is opened. */\r\n\tabstract onOpen: Observable<void>;\r\n\t/** Event emitted when the associated popover is closed. */\r\n\tabstract onClose: Observable<void>;\r\n\r\n\tprotected abstract _emitOpen(): void;\r\n\tprotected abstract _emitClose(): void;\r\n\r\n\tconstructor(protected _overlay: Overlay, protected _elementRef: ElementRef<HTMLElement>, protected _viewContainerRef: ViewContainerRef) {\r\n\t\tthis._triggerId = `popoverTrigger_${generateId()}`;\r\n\t\tthis._panelId = `popoverPanel_${generateId()}`;\r\n\t}\r\n\r\n\tonClick() {\r\n\t\tif (this.triggerEvent === 'click' && !this.disabled) {\r\n\t\t\tthis.togglePopover();\r\n\t\t}\r\n\t}\r\n\r\n\tonMouseEnter() {\r\n\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\tthis._hovered$.next(true);\r\n\t\t}\r\n\t}\r\n\r\n\tonMouseLeave() {\r\n\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\tthis._hovered$.next(false);\r\n\t\t}\r\n\t}\r\n\tonFocus() {\r\n\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\tthis.openPopover();\r\n\t\t}\r\n\t}\r\n\tonBlur() {\r\n\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\tthis.closePopover();\r\n\t\t}\r\n\t}\r\n\r\n\t/** Toggles the popover between the open and closed states. */\r\n\ttogglePopover(): void {\r\n\t\treturn this._popoverOpen ? this.closePopover() : this.openPopover();\r\n\t}\r\n\r\n\t/** Opens the popover. */\r\n\topenPopover(): void {\r\n\t\tif (!this._popoverOpen && !this._disabled && (!this._whenEllipsis || this._hasEllipsis())) {\r\n\t\t\tthis._createOverlay();\r\n\t\t\tthis._attachPortalToOverlay();\r\n\r\n\t\t\t/** Only subscribe to overlay detachments if trigger event is hover or focus */\r\n\t\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\t\tthis._subscribeToOverlayDetachments();\r\n\t\t\t}\r\n\r\n\t\t\t/** Only subscribe to backdrop if trigger event is click */\r\n\t\t\tif (this.triggerEvent === 'click') {\r\n\t\t\t\tthis._subscribeToBackdrop();\r\n\t\t\t}\r\n\r\n\t\t\t/** Only subscribe to mouse enter/leave of the panel if trigger = hover */\r\n\r\n\t\t\tthis._initPopover();\r\n\t\t\tthis._emitOpen();\r\n\t\t}\r\n\t}\r\n\r\n\t/** Closes the popover. */\r\n\tclosePopover(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\t/** Overlay can still be attached if close has been triggered by mouse leave. */\r\n\t\t\tif (this._overlayRef.hasAttached()) {\r\n\t\t\t\tthis._overlayRef.detach();\r\n\t\t\t}\r\n\r\n\t\t\t/** unsubscribe to backdrop click if it was defined */\r\n\t\t\tif (this._backdropSubscription) {\r\n\t\t\t\t// if (this.popover.triggerEvent === 'click') {\r\n\t\t\t\tthis._backdropSubscription.unsubscribe();\r\n\t\t\t}\r\n\r\n\t\t\tthis._resetPopover();\r\n\t\t\tthis._emitClose();\r\n\t\t}\r\n\t}\r\n\r\n\t/** Removes the popover from the DOM. */\r\n\tdestroyPopover(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\tthis._overlayRef.dispose();\r\n\t\t\tthis._overlayRef = null;\r\n\t\t\tthis._cleanUpSubscriptions();\r\n\t\t}\r\n\t}\r\n\r\n\t/** Focuses the popover trigger. */\r\n\tfocus() {\r\n\t\tthis._elementRef.nativeElement.focus();\r\n\t}\r\n\r\n\t_handleMousedown(event: MouseEvent): void {\r\n\t\tif (!isFakeMousedownFromScreenReader(event)) {\r\n\t\t\tthis._openedByMouse = true;\r\n\t\t}\r\n\t}\r\n\r\n\t/** The text direction of the containing app. */\r\n\tget dir(): Direction {\r\n\t\t// return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\r\n\t\treturn 'ltr';\r\n\t}\r\n\r\n\t/** Return if the popover main positionning is vertical */\r\n\tget isVerticallyPositionned(): boolean {\r\n\t\tconst position = this.target.position;\r\n\t\treturn position === 'below' || position === 'above';\r\n\t}\r\n\r\n\tprotected _attachPortalToOverlay(): void {\r\n\t\tthis._overlayRef.attach(this._portal);\r\n\t}\r\n\r\n\tprotected _getPanelScrollStrategy(): LuPopoverScrollStrategy {\r\n\t\treturn this.panel.scrollStrategy;\r\n\t}\r\n\r\n\t/**\r\n\t * This method ensures that the popover\r\n\t */\r\n\tprotected _subscribeToPanelEvents(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\tthis._panelEventsSubscriptions = new Subscription();\r\n\t\t\tif (this.triggerEvent === 'hover' || this.triggerEvent === 'focus') {\r\n\t\t\t\tthis._panelEventsSubscriptions.add(\r\n\t\t\t\t\tthis.panel.hovered.subscribe((hovered) => {\r\n\t\t\t\t\t\tthis._hovered$.next(hovered);\r\n\t\t\t\t\t}),\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t\tthis._panelEventsSubscriptions.add(\r\n\t\t\t\tthis.panel.close.subscribe(() => {\r\n\t\t\t\t\tthis.closePopover();\r\n\t\t\t\t}),\r\n\t\t\t);\r\n\t\t\tthis._panelEventsSubscriptions.add(\r\n\t\t\t\tthis.panel.open.subscribe(() => {\r\n\t\t\t\t\tthis.openPopover();\r\n\t\t\t\t}),\r\n\t\t\t);\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * This method ensures that the popover closes when the overlay has been detached\r\n\t * Detach can occur if we scroll while popover is opened\r\n\t */\r\n\tprotected _subscribeToOverlayDetachments(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\tthis._overlayDetachmentsSubscription = this._overlayRef.detachments().subscribe(() => {\r\n\t\t\t\tthis._hovered$.next(false);\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * This method ensures that the popover closes when the overlay backdrop is clicked.\r\n\t * We do not use first() here because doing so would not catch clicks from within\r\n\t * the popover, and it would fail to unsubscribe properly. Instead, we unsubscribe\r\n\t * explicitly when the popover is closed or destroyed.\r\n\t */\r\n\tprotected _subscribeToBackdrop(): void {\r\n\t\tif (this._overlayRef) {\r\n\t\t\tthis._backdropSubscription = this._overlayRef.backdropClick().subscribe(() => {\r\n\t\t\t\tthis.closePopover();\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * This method sets the popover state to open and focuses the first item if\r\n\t * the popover was opened via the keyboard.\r\n\t */\r\n\tprotected _initPopover(): void {\r\n\t\tthis._setIsPopoverOpen(true);\r\n\t\tthis.panel.panelId = this._panelId;\r\n\t\tthis.panel.triggerId = this._triggerId;\r\n\t\tthis.panel.keydownEvents$ = this._overlayRef.keydownEvents();\r\n\t\tthis._subscribeToPanelEvents();\r\n\t}\r\n\r\n\t/**\r\n\t * This method resets the popover when it's closed, most importantly restoring\r\n\t * focus to the popover trigger if the popover was opened via the keyboard.\r\n\t */\r\n\tprotected _resetPopover(): void {\r\n\t\tthis._setIsPopoverOpen(false);\r\n\r\n\t\t// Focus only needs to be reset to the host element if the popover was opened\r\n\t\t// by the keyboard and manually shifted to the first popover item.\r\n\t\tif (!this._openedByMouse && this.triggerEvent === 'click') {\r\n\t\t\tthis.focus();\r\n\t\t}\r\n\t\tthis._openedByMouse = false;\r\n\t}\r\n\r\n\t/** set state rather than toggle to support triggers sharing a popover */\r\n\tprotected _setIsPopoverOpen(isOpen: boolean): void {\r\n\t\tthis._popoverOpen = isOpen;\r\n\t\t// tell the panel it's opening/closing\r\n\t\tisOpen ? this.panel.onOpen() : this.panel.onClose();\r\n\t}\r\n\r\n\t/**\r\n\t * This method checks that a valid instance of MdPopover has been passed into\r\n\t * mdPopoverTriggerFor. If not, an exception is thrown.\r\n\t */\r\n\tprotected _checkPanel() {\r\n\t\tif (!this.panel) {\r\n\t\t\tthrow Error(`lu-popover-trigger: must pass in a lu-popover instance.\r\n Example:\r\n <lu-popover #popover=\"LuPopover\"></lu-popover>\r\n <button type=\"button\" [luPopover]=\"popover\"></button>`);\r\n\t\t}\r\n\t}\r\n\tprotected _checkTarget() {\r\n\t\tif (!this.target) {\r\n\t\t\tthrow Error(`lu-popover-trigger: must pass in a popover target instance.`);\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * This method creates the overlay from the provided popover's template and saves its\r\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\r\n\t */\r\n\tprotected _createOverlay(): OverlayRef {\r\n\t\tif (!this._overlayRef) {\r\n\t\t\tthis._portal = new TemplatePortal(this.panel.templateRef, 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\t/**\r\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\r\n\t * @returns OverlayConfig\r\n\t */\r\n\tprotected _getOverlayConfig(): OverlayConfig {\r\n\t\tconst overlayState = new OverlayConfig();\r\n\t\toverlayState.positionStrategy = this._getPosition();\r\n\t\t/** Display overlay backdrop if trigger event is click */\r\n\t\tif (this.triggerEvent === 'click') {\r\n\t\t\toverlayState.hasBackdrop = true;\r\n\t\t\toverlayState.backdropClass = 'cdk-overlay-transparent-backdrop';\r\n\t\t}\r\n\r\n\t\toverlayState.direction = this.dir;\r\n\t\tconst scrollStrategy = this._getPanelScrollStrategy();\r\n\t\tswitch (scrollStrategy) {\r\n\t\t\tcase 'block':\r\n\t\t\t\toverlayState.scrollStrategy = this._overlay.scrollStrategies.block();\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'close':\r\n\t\t\t\toverlayState.scrollStrategy = this._overlay.scrollStrategies.close();\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tdefault:\r\n\t\t\t\toverlayState.scrollStrategy = this._overlay.scrollStrategies.reposition();\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\treturn overlayState;\r\n\t}\r\n\r\n\t/**\r\n\t * Listens to changes in the position of the overlay and sets the correct classes\r\n\t * on the popover based on the new position. This ensures the animation origin is always\r\n\t * correct, even if a fallback position is used for the overlay.\r\n\t */\r\n\tprotected _subscribeToPositions(position: FlexibleConnectedPositionStrategy): void {\r\n\t\tthis._positionSubscription = position.positionChanges\r\n\t\t\t.pipe(\r\n\t\t\t\tmap((c) => c.connectionPair),\r\n\t\t\t\tdistinctUntilChanged(),\r\n\t\t\t)\r\n\t\t\t.subscribe((connectionPair) => {\r\n\t\t\t\tthis.panel.setPositionClasses(connectionPair.overlayX, connectionPair.overlayY);\r\n\t\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * This method builds the position strategy for the overlay, so the popover is properly connected\r\n\t * to the trigger.\r\n\t * @returns FlexibleConnectedPositionStrategy\r\n\t */\r\n\tprotected _getPosition(): FlexibleConnectedPositionStrategy {\r\n\t\t/**\r\n\t\t * For overriding position element, when LuPopoverTargetAt has a valid element reference.\r\n\t\t * Useful for sticking popover to parent element and offsetting arrow to trigger element.\r\n\t\t * If undefined defaults to the trigger element reference.\r\n\t\t */\r\n\t\tconst element = this.target.elementRef;\r\n\t\t// if (typeof this.targetElement !== 'undefined' && this.popover) {\r\n\t\t// \tthis.popover.containerPositioning = true;\r\n\t\t// \telement = this.targetElement._elementRef;\r\n\t\t// }\r\n\r\n\t\tconst connectionPosition: OriginConnectionPosition = {\r\n\t\t\toriginX: 'start',\r\n\t\t\toriginY: 'top',\r\n\t\t};\r\n\r\n\t\t// Position\r\n\t\tconst position = this.target.position;\r\n\t\tconst overlap = this.target.overlap;\r\n\t\tif (position === 'above') {\r\n\t\t\tconnectionPosition.originY = overlap ? 'bottom' : 'top';\r\n\t\t} else if (position === 'below') {\r\n\t\t\tconnectionPosition.originY = overlap ? 'top' : 'bottom';\r\n\t\t} else if (position === 'before') {\r\n\t\t\tconnectionPosition.originX = overlap ? 'end' : 'start';\r\n\t\t} else if (position === 'after') {\r\n\t\t\tconnectionPosition.originX = overlap ? 'start' : 'end';\r\n\t\t}\r\n\r\n\t\t// Alignment\r\n\t\tconst alignment = this.target.alignment;\r\n\t\tif (this.isVerticallyPositionned) {\r\n\t\t\tif (alignment === 'left') {\r\n\t\t\t\tconnectionPosition.originX = 'start';\r\n\t\t\t} else if (alignment === 'right') {\r\n\t\t\t\tconnectionPosition.originX = 'end';\r\n\t\t\t} else {\r\n\t\t\t\tconnectionPosition.originX = 'center';\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (alignment === 'top') {\r\n\t\t\t\tconnectionPosition.originY = 'top';\r\n\t\t\t} else if (alignment === 'bottom') {\r\n\t\t\t\tconnectionPosition.originY = 'bottom';\r\n\t\t\t} else {\r\n\t\t\t\tconnectionPosition.originY = 'center';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst overlayPosition: OverlayConnectionPosition = {\r\n\t\t\toverlayX: 'start',\r\n\t\t\toverlayY: 'top',\r\n\t\t};\r\n\r\n\t\tif (overlap) {\r\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\r\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\r\n\t\t} else if (this.isVerticallyPositionned) {\r\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\r\n\t\t\toverlayPosition.overlayY = position === 'above' ? 'bottom' : 'top';\r\n\t\t} else {\r\n\t\t\toverlayPosition.overlayX = position === 'before' ? 'end' : 'start';\r\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\r\n\t\t}\r\n\r\n\t\treturn this._overlay\r\n\t\t\t.position()\r\n\t\t\t.flexibleConnectedTo(element)\r\n\t\t\t.withPositions([\r\n\t\t\t\t{\r\n\t\t\t\t\toriginX: connectionPosition.originX,\r\n\t\t\t\t\toriginY: connectionPosition.originY,\r\n\t\t\t\t\toverlayX: overlayPosition.overlayX,\r\n\t\t\t\t\toverlayY: overlayPosition.overlayY,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\toriginX: connectionPosition.originX,\r\n\t\t\t\t\toriginY: this._invertVerticalPos(connectionPosition.originY),\r\n\t\t\t\t\toverlayX: overlayPosition.overlayX,\r\n\t\t\t\t\toverlayY: this._invertVerticalPos(overlayPosition.overlayY),\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\toriginX: this._invertHorizontalPos(connectionPosition.originX),\r\n\t\t\t\t\toriginY: connectionPosition.originY,\r\n\t\t\t\t\toverlayX: this._invertHorizontalPos(overlayPosition.overlayX),\r\n\t\t\t\t\toverlayY: overlayPosition.overlayY,\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\toriginX: this._invertHorizontalPos(connectionPosition.originX),\r\n\t\t\t\t\toriginY: this._invertVerticalPos(connectionPosition.originY),\r\n\t\t\t\t\toverlayX: this._invertHorizontalPos(overlayPosition.overlayX),\r\n\t\t\t\t\toverlayY: this._invertVerticalPos(overlayPosition.overlayY),\r\n\t\t\t\t},\r\n\t\t\t])\r\n\t\t\t.withDefaultOffsetX(this.target.offsetX)\r\n\t\t\t.withDefaultOffsetY(this.target.offsetY);\r\n\t}\r\n\r\n\tprotected _invertVerticalPos(y: VerticalConnectionPos) {\r\n\t\tif (y === 'top') {\r\n\t\t\ty = 'bottom';\r\n\t\t} else if (y === 'bottom') {\r\n\t\t\ty = 'top';\r\n\t\t}\r\n\t\treturn y;\r\n\t}\r\n\r\n\tprotected _invertHorizontalPos(x: HorizontalConnectionPos) {\r\n\t\tif (x === 'end') {\r\n\t\t\tx = 'start';\r\n\t\t} else if (x === 'start') {\r\n\t\t\tx = 'end';\r\n\t\t}\r\n\r\n\t\treturn x;\r\n\t}\r\n\r\n\tprotected _cleanUpSubscriptions(): void {\r\n\t\tif (this._backdropSubscription) {\r\n\t\t\tthis._backdropSubscription.unsubscribe();\r\n\t\t}\r\n\t\tif (this._positionSubscription) {\r\n\t\t\tthis._positionSubscription.unsubscribe();\r\n\t\t}\r\n\t\tif (this._hoveredSubscription) {\r\n\t\t\tthis._hoveredSubscription.unsubscribe();\r\n\t\t}\r\n\t\tif (this._panelEventsSubscriptions) {\r\n\t\t\tthis._panelEventsSubscriptions.unsubscribe();\r\n\t\t}\r\n\t\tif (this._overlayDetachmentsSubscription) {\r\n\t\t\tthis._overlayDetachmentsSubscription.unsubscribe();\r\n\t\t}\r\n\t}\r\n\r\n\tprotected _hasEllipsis(): boolean {\r\n\t\tif (!(this._elementRef.nativeElement instanceof HTMLElement)) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tconst { scrollWidth, scrollHeight, clientWidth, clientHeight } = this._elementRef.nativeElement;\r\n\r\n\t\tconst textClampedByWidth = scrollWidth > clientWidth;\r\n\t\tconst textClampedByHeight = scrollHeight > clientHeight;\r\n\r\n\t\treturn textClampedByWidth || textClampedByHeight;\r\n\t}\r\n}\r\n","import { Overlay } from '@angular/cdk/overlay';\r\nimport { AfterViewInit, Directive, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnDestroy, Output, ViewContainerRef } from '@angular/core';\r\nimport { ILuPopoverPanel } from '../panel/index';\r\nimport { ILuPopoverTarget, LuPopoverAlignment, LuPopoverPosition, LuPopoverTarget } from '../target/index';\r\nimport { ALuPopoverTrigger, ILuPopoverTrigger, LuPopoverTriggerEvent } from './popover-trigger.model';\r\n\r\n/**\r\n * This directive is intended to be used in conjunction with an lu-popover tag. It is\r\n * responsible for toggling the display of the provided popover instance.\r\n */\r\n@Directive({\r\n\tselector: '[luPopover]',\r\n\texportAs: 'LuPopoverTrigger',\r\n\tstandalone: true,\r\n})\r\nexport class LuPopoverTriggerDirective<TPanel extends ILuPopoverPanel = ILuPopoverPanel, TTarget extends ILuPopoverTarget = ILuPopoverTarget>\r\n\textends ALuPopoverTrigger<TPanel, TTarget>\r\n\timplements ILuPopoverTrigger<TPanel, TTarget>, AfterViewInit, OnDestroy\r\n{\r\n\t/** References the popover instance that the trigger is associated with. */\r\n\t@Input('luPopover') set inputPanel(p: TPanel) {\r\n\t\tthis.panel = p;\r\n\t}\r\n\r\n\t/** References the popover target instance that the trigger is associated with. */\r\n\t@Input('luPopoverTarget') set inputTarget(t: TTarget) {\r\n\t\tthis.target = t;\r\n\t}\r\n\r\n\t/** References the popover target instance that the trigger is associated with. */\r\n\t@Input('luPopoverTrigger') set inputTriggerEvent(te: LuPopoverTriggerEvent) {\r\n\t\tthis.triggerEvent = te;\r\n\t}\r\n\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('luPopoverOnOpen') onOpen = new EventEmitter<void>();\r\n\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('luPopoverOnClose') onClose = new EventEmitter<void>();\r\n\r\n\t/** how you want to position the panel relative to the target, allowed values: above, below, before, after */\r\n\t@Input('luPopoverPosition') set inputPosition(pos: LuPopoverPosition) {\r\n\t\tthis.target.position = pos;\r\n\t}\r\n\t/** how the panel will be align with the target, allowed values: top, bottom, left, right */\r\n\t@Input('luPopoverAlignment') set inputAlignment(al: LuPopoverAlignment) {\r\n\t\tthis.target.alignment = al;\r\n\t}\r\n\r\n\t/** when trigger = hover, delay before the popover panel appears */\r\n\t@Input('luPopoverEnterDelay') 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 */\r\n\t@Input('luPopoverLeaveDelay') set inputLeaveDelay(d: number) {\r\n\t\tthis.leaveDelay = d;\r\n\t}\r\n\r\n\t/** disable popover apparition */\r\n\t@Input('luPopoverDisabled') set inputDisabled(d: boolean) {\r\n\t\tthis.disabled = d;\r\n\t}\r\n\r\n\t/** set to true if you want the panel to appear on top of the target */\r\n\t@Input('luPopoverOverlap') set inputOverlap(ov: boolean) {\r\n\t\tthis.target.overlap = ov;\r\n\t}\r\n\r\n\t@Input('luPopoverOffsetX') set inputOffsetX(ox: number) {\r\n\t\tthis.target.offsetX = ox;\r\n\t}\r\n\t@Input('luPopoverOffsetY') set inputOffsetY(oy: number) {\r\n\t\tthis.target.offsetY = oy;\r\n\t}\r\n\r\n\t/** accessibility attribute - dont override */\r\n\t@HostBinding('attr.aria-expanded') get _attrAriaExpanded() {\r\n\t\treturn this._popoverOpen;\r\n\t}\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-controls') get _attrAriaControls() {\r\n\t\treturn this._panelId;\r\n\t}\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() as ILuPopoverTarget as TTarget;\r\n\t\tthis.target.elementRef = this._elementRef;\r\n\t\tthis._triggerId = this._elementRef.nativeElement.getAttribute('id') || this._triggerId;\r\n\t}\r\n\r\n\t@HostListener('click')\r\n\toverride onClick() {\r\n\t\tsuper.onClick();\r\n\t}\r\n\r\n\t@HostListener('mouseenter')\r\n\toverride onMouseEnter() {\r\n\t\tsuper.onMouseEnter();\r\n\t}\r\n\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\r\n\tngAfterViewInit() {\r\n\t\tthis._checkPanel();\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","import { NgModule } from '@angular/core';\r\nimport { LuPopoverTriggerDirective } from './popover-trigger.directive';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\n\r\n@NgModule({\r\n\timports: [LuPopoverTriggerDirective, OverlayModule],\r\n\texports: [LuPopoverTriggerDirective],\r\n})\r\nexport class LuPopoverTriggerModule {}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { LuPopoverPanelComponent } from './panel/index';\r\nimport { LuPopoverTargetDirective } from './target/index';\r\nimport { LuPopoverTriggerDirective } from './trigger/index';\r\n\r\n@NgModule({\r\n\timports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective],\r\n\texports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective],\r\n})\r\nexport class LuPopoverModule {}\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,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: "12.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
270
- LuTooltipTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, imports: [LuTooltipTriggerDirective], exports: [LuTooltipTriggerDirective] });
271
- LuTooltipTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule });
270
+ LuTooltipTriggerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, imports: [LuTooltipTriggerDirective, OverlayModule], exports: [LuTooltipTriggerDirective] });
271
+ LuTooltipTriggerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, imports: [OverlayModule] });
272
272
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuTooltipTriggerModule, decorators: [{
273
273
  type: NgModule,
274
274
  args: [{
275
- imports: [LuTooltipTriggerDirective],
275
+ imports: [LuTooltipTriggerDirective, OverlayModule],
276
276
  exports: [LuTooltipTriggerDirective],
277
277
  }]
278
278
  }] });