@eui/ecl 22.0.0-alpha.23 → 22.0.0-alpha.24

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,5 +1,5 @@
1
- import * as i0 from '@angular/core';
2
- import { ElementRef, EventEmitter, AfterViewInit, AfterContentInit, OnDestroy } from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
+ import { ElementRef, AfterViewInit, AfterContentInit, OnDestroy } from '@angular/core';
3
3
  import * as i1 from '@eui/ecl/core';
4
4
  import { ECLBaseDirective } from '@eui/ecl/core';
5
5
 
@@ -14,11 +14,11 @@ declare class EclPopoverToggleDirective extends ECLBaseDirective {
14
14
  * Sets the `aria-expanded` attribute to reflect the popover's open state.
15
15
  * This should be updated by the parent popover component.
16
16
  */
17
- isExpanded: boolean;
17
+ readonly isExpanded: _angular_core.WritableSignal<boolean>;
18
18
  /**
19
19
  * Event emitted when the toggle element is clicked with the left mouse button.
20
20
  */
21
- click: EventEmitter<any>;
21
+ readonly click: _angular_core.OutputEmitterRef<void>;
22
22
  /**
23
23
  * Host binding that applies the appropriate CSS class to the toggle element.
24
24
  */
@@ -37,8 +37,8 @@ declare class EclPopoverToggleDirective extends ECLBaseDirective {
37
37
  * Used internally by the popover to query attributes.
38
38
  */
39
39
  getHostElement(): HTMLElement;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<EclPopoverToggleDirective, never>;
41
- static ɵdir: i0.ɵɵDirectiveDeclaration<EclPopoverToggleDirective, "[eclPopoverToggle]", never, {}, { "click": "click"; }, never, never, true, never>;
40
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EclPopoverToggleDirective, never>;
41
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<EclPopoverToggleDirective, "[eclPopoverToggle]", never, {}, { "click": "click"; }, never, never, true, never>;
42
42
  }
43
43
 
44
44
  /**
@@ -50,17 +50,17 @@ declare class EclPopoverComponent extends ECLBaseDirective implements AfterViewI
50
50
  /**
51
51
  * Reference to the popover container element.
52
52
  */
53
- readonly eclPopoverContainerElement: i0.Signal<ElementRef<any>>;
53
+ readonly eclPopoverContainerElement: _angular_core.Signal<ElementRef<any>>;
54
54
  /**
55
55
  * Reference to the scrollable content element inside the popover.
56
56
  */
57
- readonly eclPopoverScrollableElement: i0.Signal<ElementRef<any>>;
57
+ readonly eclPopoverScrollableElement: _angular_core.Signal<ElementRef<any>>;
58
58
  /**
59
59
  * Reference to the toggle element used to open/close the popover.
60
60
  */
61
- readonly eclPopoverToggle: i0.Signal<EclPopoverToggleDirective>;
62
- openEvent: i0.OutputEmitterRef<void>;
63
- closeEvent: i0.OutputEmitterRef<void>;
61
+ readonly eclPopoverToggle: _angular_core.Signal<EclPopoverToggleDirective>;
62
+ openEvent: _angular_core.OutputEmitterRef<void>;
63
+ closeEvent: _angular_core.OutputEmitterRef<void>;
64
64
  /**
65
65
  * Controls visibility of the popover. `true` means hidden.
66
66
  */
@@ -78,6 +78,7 @@ declare class EclPopoverComponent extends ECLBaseDirective implements AfterViewI
78
78
  private scrollableParent;
79
79
  private el;
80
80
  private renderer;
81
+ private readonly injector;
81
82
  private readonly document;
82
83
  private readonly window;
83
84
  private platformId;
@@ -129,8 +130,8 @@ declare class EclPopoverComponent extends ECLBaseDirective implements AfterViewI
129
130
  */
130
131
  handlePushClass(direction: string): void;
131
132
  private handleArrowPosition;
132
- static ɵfac: i0.ɵɵFactoryDeclaration<EclPopoverComponent, never>;
133
- static ɵcmp: i0.ɵɵComponentDeclaration<EclPopoverComponent, "ecl-popover", never, {}, { "openEvent": "openEvent"; "closeEvent": "closeEvent"; }, ["eclPopoverToggle"], ["[eclPopoverToggle]", "[eclPopoverContent]"], true, [{ directive: typeof i1.ECLClickOutsideDirective; inputs: {}; outputs: { "eclClickOutside": "eclClickOutside"; }; }]>;
133
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EclPopoverComponent, never>;
134
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EclPopoverComponent, "ecl-popover", never, {}, { "openEvent": "openEvent"; "closeEvent": "closeEvent"; }, ["eclPopoverToggle"], ["[eclPopoverToggle]", "[eclPopoverContent]"], true, [{ directive: typeof i1.ECLClickOutsideDirective; inputs: {}; outputs: { "eclClickOutside": "eclClickOutside"; }; }]>;
134
135
  }
135
136
 
136
137
  /**
@@ -143,8 +144,8 @@ declare class EclPopoverContentDirective extends ECLBaseDirective {
143
144
  * Host binding that applies the CSS class to style the popover content.
144
145
  */
145
146
  get cssClasses(): string;
146
- static ɵfac: i0.ɵɵFactoryDeclaration<EclPopoverContentDirective, never>;
147
- static ɵdir: i0.ɵɵDirectiveDeclaration<EclPopoverContentDirective, "[eclPopoverContent]", never, {}, {}, never, never, true, never>;
147
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EclPopoverContentDirective, never>;
148
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<EclPopoverContentDirective, "[eclPopoverContent]", never, {}, {}, never, never, true, never>;
148
149
  }
149
150
 
150
151
  declare const EUI_ECL_POPOVER: readonly [typeof EclPopoverComponent, typeof EclPopoverContentDirective, typeof EclPopoverToggleDirective];
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-popover.d.ts","sources":["../../components/ecl-popover/ecl-popover-toggle.directive.ts","../../components/ecl-popover/ecl-popover.component.ts","../../components/ecl-popover/ecl-popover-content.directive.ts","../../components/ecl-popover/index.ts"],"mappings":";;;;;AAGA;;;;AAIG;AACH,cAGa,yBAA0B,SAAQ,gBAAgB;AAC3D,oBAAc,UAAA;AAEd;;;AAGG;AACgC;AAEnC;;AAEG;AAEO,WAAK,YAAA;AAEf;;AAEG;;AAMH;;;AAGG;AAEH,iBAAa,UAAU;AAQvB;;AAEG;AAGH,4BAAwB,KAAK;AAK7B;;;AAGG;AACI,sBAAkB,WAAW;yCAlD3B,yBAAyB;2CAAzB,yBAAyB;AAqDrC;;ACvDD;;;;AAIG;AACH,cAea,mBAAoB,SAAQ,gBAAiB,YAAW,aAAa,EAAE,gBAAgB,EAAE,SAAS;AAC3G;;AAEG;yCACgCA,EAAA,CAAA,MAAA,CAAA,UAAA;AAEnC;;AAEG;0CACiCA,EAAA,CAAA,MAAA,CAAA,UAAA;AAEpC;;AAEG;+BACsBA,EAAA,CAAA,MAAA,CAAA,yBAAA;AAEzB,eAASA,EAAA,CAAA,gBAAA;AACT,gBAAUA,EAAA,CAAA,gBAAA;AAEV;;AAEG;;;AAKH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;;;AAYA;;AAEG;AACH;AAYA;;AAEG;AACH;AAcA;;AAEG;AACH;AAKA;;;AAGG;AACH;AAIA;;;AAGG;AAEH;AAMA;;AAEG;AAEH;AAIA;;AAEG;AAEH;AAIA;;AAEG;;AAOH;AAKA;AAsBA;AAmDA;AAQA;AA+DA;AAmBA;;;;AAIC;AACD;AAkDA;yCAtWS,mBAAmB;2CAAnB,mBAAmB,uLAAA,EAAA,CAAA,wBAAA;AA4X/B;;ACtZD;;;;AAIG;AACH,cAGa,0BAA2B,SAAQ,gBAAgB;AAC5D;;AAEG;;yCAHM,0BAA0B;2CAA1B,0BAA0B;AAQtC;;ACXD,cAAa,eAAe,mBAAA,mBAAA,SAAA,0BAAA,SAAA,yBAAA;;;;","names":["_angular_core"]}
1
+ {"version":3,"file":"eui-ecl-components-ecl-popover.d.ts","sources":["../../components/ecl-popover/ecl-popover-toggle.directive.ts","../../components/ecl-popover/ecl-popover.component.ts","../../components/ecl-popover/ecl-popover-content.directive.ts","../../components/ecl-popover/index.ts"],"mappings":";;;;;AAGA;;;;AAIG;AACH,cAUa,yBAA0B,SAAQ,gBAAgB;AAC3D,oBAAc,UAAA;AAEd;;;AAGG;yBACgB,aAAA,CAAA,cAAA;AAEnB;;AAEG;oBAEW,aAAA,CAAA,gBAAA;AAEd;;AAEG;;AAKH;;;AAGG;AACH,iBAAa,UAAU;AAQvB;;AAEG;AACH,4BAAwB,KAAK;AAK7B;;;AAGG;AACI,sBAAkB,WAAW;oDA9C3B,yBAAyB;sDAAzB,yBAAyB;AAiDrC;;ACzDD;;;;AAIG;AACH,cAqBa,mBAAoB,SAAQ,gBAAiB,YAAW,aAAa,EAAE,gBAAgB,EAAE,SAAS;AAC3G;;AAEG;yCACgC,aAAA,CAAA,MAAA,CAAA,UAAA;AAEnC;;AAEG;0CACiC,aAAA,CAAA,MAAA,CAAA,UAAA;AAEpC;;AAEG;+BACsB,aAAA,CAAA,MAAA,CAAA,yBAAA;AAEzB,eAAS,aAAA,CAAA,gBAAA;AACT,gBAAU,aAAA,CAAA,gBAAA;AAEV;;AAEG;;;AAKH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;;;AAWA;;AAEG;AACH;AAYA;;AAEG;AACH;AAkBA;;AAEG;AACH;AAKA;;;AAGG;AACH;AAIA;;;AAGG;AACH;AAMA;;AAEG;AACH;AAIA;;AAEG;AACH;AAIA;;AAEG;;AAQH;AAMA;AAsBA;AAmDA;AAQA;AA+DA;AAmBA;;;;AAIC;AACD;AAkDA;oDAzWS,mBAAmB;sDAAnB,mBAAmB,uLAAA,EAAA,CAAA,wBAAA;AA+X/B;;AChaD;;;;AAIG;AACH,cAMa,0BAA2B,SAAQ,gBAAgB;AAC5D;;AAEG;;oDAHM,0BAA0B;sDAA1B,0BAA0B;AAOtC;;ACbD,cAAa,eAAe,mBAAA,mBAAA,SAAA,0BAAA,SAAA,yBAAA;;;;","names":[]}