@tedi-design-system/angular 3.0.0-rc.5 → 3.1.0-tmp-main.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/community/components/form/file-dropzone/index.d.ts +0 -3
  2. package/community/components/form/file-dropzone/index.d.ts.map +1 -1
  3. package/community/components/form/select/multiselect.component.d.ts +2 -9
  4. package/community/components/form/select/multiselect.component.d.ts.map +1 -1
  5. package/community/components/form/select/select.component.d.ts +2 -9
  6. package/community/components/form/select/select.component.d.ts.map +1 -1
  7. package/fesm2022/tedi-design-system-angular-community.mjs +16 -42
  8. package/fesm2022/tedi-design-system-angular-community.mjs.map +1 -1
  9. package/fesm2022/tedi-design-system-angular-tedi.mjs +237 -163
  10. package/fesm2022/tedi-design-system-angular-tedi.mjs.map +1 -1
  11. package/package.json +8 -8
  12. package/tedi/components/layout/sidenav/sidenav-dropdown-item/sidenav-dropdown-item.component.d.ts +2 -2
  13. package/tedi/components/layout/sidenav/sidenav-dropdown-item/sidenav-dropdown-item.component.d.ts.map +1 -1
  14. package/tedi/components/layout/sidenav/sidenav-item/sidenav-item.component.d.ts +2 -2
  15. package/tedi/components/layout/sidenav/sidenav-item/sidenav-item.component.d.ts.map +1 -1
  16. package/tedi/components/overlay/popover/popover.component.d.ts +3 -4
  17. package/tedi/components/overlay/popover/popover.component.d.ts.map +1 -1
  18. package/tedi/components/overlay/tooltip/index.d.ts +2 -2
  19. package/tedi/components/overlay/tooltip/index.d.ts.map +1 -1
  20. package/tedi/components/overlay/tooltip/tooltip-content.component.d.ts +21 -0
  21. package/tedi/components/overlay/tooltip/tooltip-content.component.d.ts.map +1 -0
  22. package/tedi/components/overlay/tooltip/tooltip-trigger.component.d.ts +11 -0
  23. package/tedi/components/overlay/tooltip/tooltip-trigger.component.d.ts.map +1 -0
  24. package/tedi/components/overlay/tooltip/tooltip.component.d.ts +41 -34
  25. package/tedi/components/overlay/tooltip/tooltip.component.d.ts.map +1 -1
  26. package/tedi/components/overlay/tooltip/tooltip-content/tooltip-content.component.d.ts +0 -16
  27. package/tedi/components/overlay/tooltip/tooltip-content/tooltip-content.component.d.ts.map +0 -1
  28. package/tedi/components/overlay/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +0 -16
  29. package/tedi/components/overlay/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tedi-design-system/angular",
3
- "version": "3.0.0-rc.5",
3
+ "version": "3.1.0-tmp-main.1",
4
4
  "type": "module",
5
5
  "main": "community.mjs",
6
6
  "module": "fesm2022/tedi-design-system-angular.mjs",
@@ -25,13 +25,13 @@
25
25
  }
26
26
  },
27
27
  "peerDependencies": {
28
- "@angular/animations": "^19.0.0 || ^20.0.0",
29
- "@angular/cdk": "^19.0.0 || ^20.0.0",
30
- "@angular/common": "^19.0.0 || ^20.0.0",
31
- "@angular/core": "^19.0.0 || ^20.0.0",
32
- "@angular/forms": "^19.0.0 || ^20.0.0",
33
- "@angular/platform-browser": "^19.0.0 || ^20.0.0",
34
- "ngx-float-ui": "^19.0.1 || ^20.0.0"
28
+ "@angular/animations": "^18.0.0 || ^19.0.0",
29
+ "@angular/cdk": "^18.0.0 || ^19.0.0",
30
+ "@angular/common": "^18.0.0 || ^19.0.0",
31
+ "@angular/core": "^18.0.0 || ^19.0.0",
32
+ "@angular/forms": "^18.0.0 || ^19.0.0",
33
+ "@angular/platform-browser": "^18.0.0 || ^19.0.0",
34
+ "ngx-float-ui": "^19.0.1"
35
35
  },
36
36
  "dependencies": {
37
37
  "@tedi-design-system/core": "^2.0.0",
@@ -12,9 +12,9 @@ export declare class SideNavDropdownItemComponent {
12
12
  /**
13
13
  * Router link
14
14
  */
15
- route: import("@angular/core").InputSignal<string | undefined>;
15
+ routerLink: import("@angular/core").InputSignal<string | undefined>;
16
16
  classes: import("@angular/core").Signal<string>;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<SideNavDropdownItemComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<SideNavDropdownItemComponent, "tedi-sidenav-dropdown-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<SideNavDropdownItemComponent, "tedi-sidenav-dropdown-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
19
19
  }
20
20
  //# sourceMappingURL=sidenav-dropdown-item.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidenav-dropdown-item.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/layout/sidenav/sidenav-dropdown-item/sidenav-dropdown-item.component.ts"],"names":[],"mappings":";AAUA,qBAYa,4BAA4B;IACvC;;;OAGG;IACH,QAAQ,+CAAyB;IACjC;;OAEG;IACH,IAAI,0DAAmB;IACvB;;OAEG;IACH,KAAK,0DAAmB;IAExB,OAAO,yCAQJ;yCAvBQ,4BAA4B;2CAA5B,4BAA4B;CAwBxC"}
1
+ {"version":3,"file":"sidenav-dropdown-item.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/layout/sidenav/sidenav-dropdown-item/sidenav-dropdown-item.component.ts"],"names":[],"mappings":";AAUA,qBAYa,4BAA4B;IACvC;;;OAGG;IACH,QAAQ,+CAAyB;IACjC;;OAEG;IACH,IAAI,0DAAmB;IACvB;;OAEG;IACH,UAAU,0DAAmB;IAE7B,OAAO,yCAQJ;yCAvBQ,4BAA4B;2CAA5B,4BAA4B;CAwBxC"}
@@ -19,7 +19,7 @@ export declare class SideNavItemComponent implements AfterViewInit, OnInit, OnDe
19
19
  /**
20
20
  * Router link
21
21
  */
22
- route: import("@angular/core").InputSignal<string | undefined>;
22
+ routerLink: import("@angular/core").InputSignal<string | undefined>;
23
23
  dropdown?: SideNavDropdownComponent;
24
24
  textContent: import("@angular/core").WritableSignal<string>;
25
25
  sidenavService: SideNavService;
@@ -32,6 +32,6 @@ export declare class SideNavItemComponent implements AfterViewInit, OnInit, OnDe
32
32
  classes: import("@angular/core").Signal<string>;
33
33
  toggleDropdown(): void;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<SideNavItemComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<SideNavItemComponent, "tedi-sidenav-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; }, {}, ["dropdown"], ["*", "tedi-sidenav-dropdown"], true, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<SideNavItemComponent, "tedi-sidenav-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; }, {}, ["dropdown"], ["*", "tedi-sidenav-dropdown"], true, never>;
36
36
  }
37
37
  //# sourceMappingURL=sidenav-item.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidenav-item.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/layout/sidenav/sidenav-item/sidenav-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EASb,SAAS,EACT,MAAM,EAIP,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAE1F,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;;AAK9E,qBAqBa,oBAAqB,YAAW,aAAa,EAAE,MAAM,EAAE,SAAS;IAC3E;;;OAGG;IACH,QAAQ,+CAAyB;IACjC;;OAEG;IACH,IAAI,0DAAmB;IACvB;;OAEG;IACH,IAAI,0DAAmB;IACvB;;OAEG;IACH,KAAK,0DAAmB;IAGxB,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IAEpC,WAAW,iDAAc;IAEzB,cAAc,iBAA0B;IACxC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAsB;IAC3C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAC9C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,QAAQ;IAIR,WAAW;IAIX,eAAe,IAAI,IAAI;IA+BvB,OAAO,yCAYJ;IAEH,cAAc;yCAlFH,oBAAoB;2CAApB,oBAAoB;CAyFhC"}
1
+ {"version":3,"file":"sidenav-item.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/layout/sidenav/sidenav-item/sidenav-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EASb,SAAS,EACT,MAAM,EAIP,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAE1F,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;;AAK9E,qBAqBa,oBAAqB,YAAW,aAAa,EAAE,MAAM,EAAE,SAAS;IAC3E;;;OAGG;IACH,QAAQ,+CAAyB;IACjC;;OAEG;IACH,IAAI,0DAAmB;IACvB;;OAEG;IACH,IAAI,0DAAmB;IACvB;;OAEG;IACH,UAAU,0DAAmB;IAE6B,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IAE9F,WAAW,iDAAc;IAEzB,cAAc,iBAA0B;IACxC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAsB;IAC3C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAC9C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,QAAQ;IAIR,WAAW;IAIX,eAAe,IAAI,IAAI;IA+BvB,OAAO,yCAYJ;IAEH,cAAc;yCAjFH,oBAAoB;2CAApB,oBAAoB;CAwFhC"}
@@ -14,9 +14,9 @@ export declare class PopoverComponent {
14
14
  */
15
15
  position: import("@angular/core").InputSignal<"left" | "right" | "auto" | "top" | "bottom" | "auto-start" | "auto-end" | "top-start" | "bottom-start" | "left-start" | "right-start" | "top-end" | "bottom-end" | "left-end" | "right-end">;
16
16
  /**
17
- * Is dismissible by clicking outside of content?
18
- * @default true
19
- */
17
+ * Is dismissible by clicking outside of content?
18
+ * @default true
19
+ */
20
20
  dismissible: import("@angular/core").InputSignal<boolean>;
21
21
  /**
22
22
  * Does popover content hide on scroll?
@@ -38,7 +38,6 @@ export declare class PopoverComponent {
38
38
  private readonly renderer;
39
39
  onHide(): void;
40
40
  onOpen(): void;
41
- readonly floatUiContainerClass: import("@angular/core").Signal<string>;
42
41
  static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
43
42
  static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "tedi-popover", never, { "openWith": { "alias": "openWith"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "hideOnScroll": { "alias": "hideOnScroll"; "required": false; "isSignal": true; }; "withBorder": { "alias": "withBorder"; "required": false; "isSignal": true; }; "lockScroll": { "alias": "lockScroll"; "required": false; "isSignal": true; }; }, {}, never, ["tedi-popover-trigger", "tedi-popover-content"], true, never>;
44
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"popover.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/popover/popover.component.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,0BAA0B,EAE1B,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,cAAc,CAAC;;AAEtB,MAAM,MAAM,eAAe,GAAG,GAAG,kBAAkB,EAAE,CAAC;AACtD,MAAM,MAAM,eAAe,GAAG,GAAG,oBAAoB,EAAE,CAAC;AAExD,qBASa,gBAAgB;IAC3B;;;SAGK;IACL,QAAQ,gFAAmC;IAC3C;;;OAGG;IACH,QAAQ,oOAAiC;IACzC;;;OAGG;IACH,WAAW,+CAAe;IAC1B;;;OAGG;IACH,YAAY,+CAAgB;IAC5B;;;OAGG;IACH,UAAU,+CAAgB;IAC1B;;;OAGG;IACH,UAAU,+CAAgB;IAEK,gBAAgB,EAAG,0BAA0B,CAAC;IAC7E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C,MAAM;IAMN,MAAM;IAMN,QAAQ,CAAC,qBAAqB,yCAQ3B;yCAxDQ,gBAAgB;2CAAhB,gBAAgB;CAyD5B"}
1
+ {"version":3,"file":"popover.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/popover/popover.component.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,0BAA0B,EAAoB,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;;AAEtH,MAAM,MAAM,eAAe,GAAG,GAAG,kBAAkB,EAAE,CAAC;AACtD,MAAM,MAAM,eAAe,GAAG,GAAG,oBAAoB,EAAE,CAAC;AAExD,qBASa,gBAAgB;IACzB;;;SAGK;IACL,QAAQ,gFAAmC;IAC3C;;;OAGG;IACH,QAAQ,oOAAiC;IACxC;;;MAGE;IACH,WAAW,+CAAe;IAC1B;;;OAGG;IACH,YAAY,+CAAgB;IAC5B;;;OAGG;IACH,UAAU,+CAAgB;IAC1B;;;OAGG;IACH,UAAU,+CAAgB;IAEK,gBAAgB,EAAG,0BAA0B,CAAC;IAC7E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C,MAAM;IAMN,MAAM;yCA1CG,gBAAgB;2CAAhB,gBAAgB;CA+C5B"}
@@ -1,4 +1,4 @@
1
1
  export * from "./tooltip.component";
2
- export * from "./tooltip-trigger/tooltip-trigger.component";
3
- export * from "./tooltip-content/tooltip-content.component";
2
+ export * from "./tooltip-trigger.component";
3
+ export * from "./tooltip-content.component";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6CAA6C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ export type TooltipPosition = "top" | "bottom" | "left" | "right";
3
+ export type TooltipWidth = "none" | "small" | "medium" | "large";
4
+ export declare class TooltipContentComponent {
5
+ /**
6
+ * The position of the tooltip relative to the trigger element. If tooltip can't
7
+ * be positioned in the specified direction, the CDK will try to position the tooltip
8
+ * in the next direction in positions list.
9
+ * @default top
10
+ */
11
+ position: import("@angular/core").InputSignal<TooltipPosition>;
12
+ /**
13
+ * The width of the tooltip. Can be 'none', 'small', 'medium', or 'large'.
14
+ * @default medium
15
+ */
16
+ maxWidth: import("@angular/core").InputSignal<TooltipWidth>;
17
+ classes: import("@angular/core").Signal<string>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContentComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContentComponent, "tedi-tooltip-content", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
20
+ }
21
+ //# sourceMappingURL=tooltip-content.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-content.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/tooltip/tooltip-content.component.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAClE,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjE,qBAYa,uBAAuB;IAChC;;;;;OAKG;IACH,QAAQ,uDAAiC;IACzC;;;OAGG;IACH,QAAQ,oDAAiC;IAEzC,OAAO,yCAEL;yCAhBO,uBAAuB;2CAAvB,uBAAuB;CAiBnC"}
@@ -0,0 +1,11 @@
1
+ import { AfterContentInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TooltipTriggerComponent implements AfterContentInit {
4
+ private readonly host;
5
+ private renderer;
6
+ element: import("@angular/core").WritableSignal<HTMLElement | null>;
7
+ ngAfterContentInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipTriggerComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipTriggerComponent, "tedi-tooltip-trigger", never, {}, {}, never, ["*"], true, never>;
10
+ }
11
+ //# sourceMappingURL=tooltip-trigger.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-trigger.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/tooltip/tooltip-trigger.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAoD,MAAM,eAAe,CAAC;;AAEnG,qBAKa,uBAAwB,YAAW,gBAAgB;IAC9D,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAsB;IAC3C,OAAO,CAAC,QAAQ,CAAqB;IACrC,OAAO,6DAAoC;IAE3C,kBAAkB,IAAI,IAAI;yCALf,uBAAuB;2CAAvB,uBAAuB;CA6BnC"}
@@ -1,41 +1,48 @@
1
- import { AfterContentChecked } from "@angular/core";
2
- import { NgxFloatUiContentComponent, NgxFloatUiPlacements } from "ngx-float-ui";
3
- import { TooltipTriggerComponent } from "./tooltip-trigger/tooltip-trigger.component";
1
+ import { OnDestroy, AfterContentInit } from "@angular/core";
2
+ import { CdkPortal } from "@angular/cdk/portal";
3
+ import { TooltipTriggerComponent } from "./tooltip-trigger.component";
4
+ import { TooltipContentComponent } from "./tooltip-content.component";
4
5
  import * as i0 from "@angular/core";
5
- export type TooltipPosition = `${NgxFloatUiPlacements}`;
6
- export declare class TooltipComponent implements AfterContentChecked {
6
+ export declare const TOOLTIP_ARROW_OFFSET = 15;
7
+ export declare const TOOLTIP_TIMEOUT_MS = 150;
8
+ export type TooltipOpenWith = "click" | "hover";
9
+ /**
10
+ * TooltipComponent is a component that displays a Tooltip when the user hovers over or clicks on an element.
11
+ * It uses the Angular CDK Overlay module to create a flexible connected overlay that can be positioned relative to the trigger element.
12
+ * The Tooltip can be configured to open on hover or click, and can be positioned at the top, bottom, left, or right of the trigger element.
13
+ *
14
+ * Angular CDK Overlay: How positioning works:
15
+ * https://www.youtube.com/watch?v=IpRQBtBN3iU&ab_channel=BrianTreese
16
+ *
17
+ * Angular CDK Overlay: Adding accessibility features
18
+ * https://www.youtube.com/watch?v=_0JGZATel-8&ab_channel=BrianTreese
19
+ */
20
+ export declare class TooltipComponent implements AfterContentInit, OnDestroy {
7
21
  /**
8
- * The position of the tooltip relative to the trigger element.
9
- * @default top
22
+ * The trigger event that opens the tooltip. Can be 'click' or 'hover'.
23
+ * @default hover
10
24
  */
11
- readonly position: import("@angular/core").InputSignal<"left" | "right" | "auto" | "top" | "bottom" | "auto-start" | "auto-end" | "top-start" | "bottom-start" | "left-start" | "right-start" | "top-end" | "bottom-end" | "left-end" | "right-end">;
12
- /**
13
- * Should position to opposite direction when overflowing screen?
14
- * @default true
15
- */
16
- readonly preventOverflow: import("@angular/core").InputSignal<boolean>;
17
- /**
18
- * Append floating element to given selector.
19
- * Use 'body' to append at the end of DOM or empty string to append next to trigger element.
20
- * @default body
21
- */
22
- readonly appendTo: import("@angular/core").InputSignal<string>;
23
- /** Delay time (in ms) for closing tooltip when not hovering trigger or content.
24
- * @default 100
25
- */
26
- readonly timeoutDelay: import("@angular/core").InputSignal<number>;
27
- /** Dropdown trigger button */
28
- readonly tooltipTrigger: import("@angular/core").Signal<TooltipTriggerComponent>;
29
- readonly containerId: import("@angular/core").WritableSignal<string>;
30
- isContentHovered: import("@angular/core").WritableSignal<boolean>;
31
- floatUiDisplay: import("@angular/core").WritableSignal<"inline" | "block">;
32
- floatUiComponent: import("@angular/core").Signal<NgxFloatUiContentComponent>;
33
- hideTimeout?: ReturnType<typeof setTimeout>;
34
- showTooltip(): void;
35
- hideTooltip(): void;
25
+ openWith: import("@angular/core").InputSignal<TooltipOpenWith>;
26
+ trigger?: TooltipTriggerComponent;
27
+ content?: TooltipContentComponent;
28
+ portal: CdkPortal;
29
+ private overlayRef?;
30
+ private readonly overlay;
31
+ private readonly renderer;
32
+ private readonly eventListeners;
33
+ closeTimeout: import("@angular/core").WritableSignal<number | null>;
34
+ private isTriggerHovered;
35
+ private isTooltipHovered;
36
+ ngAfterContentInit(): void;
37
+ ngOnDestroy(): void;
38
+ openTooltip(): void;
39
+ closeTooltip(): void;
36
40
  toggleTooltip(): void;
37
- ngAfterContentChecked(): void;
41
+ private addTooltipListeners;
42
+ private scheduleClose;
43
+ private clearCloseTimeout;
44
+ private getOverlayConfig;
38
45
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "tedi-tooltip", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "preventOverflow": { "alias": "preventOverflow"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "timeoutDelay": { "alias": "timeoutDelay"; "required": false; "isSignal": true; }; }, {}, ["tooltipTrigger"], ["tedi-tooltip-trigger", "tedi-tooltip-content"], true, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "tedi-tooltip", never, { "openWith": { "alias": "openWith"; "required": false; "isSignal": true; }; }, {}, ["trigger", "content"], ["tedi-tooltip-trigger", "tedi-tooltip-content"], true, never>;
40
47
  }
41
48
  //# sourceMappingURL=tooltip.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/tooltip/tooltip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,0BAA0B,EAE1B,oBAAoB,EACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;;AAEtF,MAAM,MAAM,eAAe,GAAG,GAAG,oBAAoB,EAAE,CAAC;AAExD,qBASa,gBAAiB,YAAW,mBAAmB;IAC1D;;;OAGG;IACH,QAAQ,CAAC,QAAQ,oOAAiC;IAElD;;;OAGG;IACH,QAAQ,CAAC,eAAe,+CAAe;IAEvC;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,8CAAiB;IAElC;;OAEG;IACH,QAAQ,CAAC,YAAY,8CAAc;IAEnC,8BAA8B;IAC9B,QAAQ,CAAC,cAAc,0DAAkD;IAEzE,QAAQ,CAAC,WAAW,iDAAc;IAElC,gBAAgB,kDAAiB;IACjC,cAAc,6DAAwC;IACtD,gBAAgB,6DAAkD;IAClE,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IAE5C,WAAW;IAQX,WAAW;IAOX,aAAa;IAQb,qBAAqB,IAAI,IAAI;yCA1DlB,gBAAgB;2CAAhB,gBAAgB;CAsE5B"}
1
+ {"version":3,"file":"tooltip.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/tooltip/tooltip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,SAAS,EAET,gBAAgB,EAGjB,MAAM,eAAe,CAAC;AAQvB,OAAO,EAAE,SAAS,EAAgB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;;AAEtE,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAsCtC,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD;;;;;;;;;;GAUG;AAEH,qBASa,gBAAiB,YAAW,gBAAgB,EAAE,SAAS;IAClE;;;OAGG;IACH,QAAQ,uDAAmC;IAEJ,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC,OAAO,CAAC,EAAE,uBAAuB,CAAC;IACjC,MAAM,EAAG,SAAS,CAAC;IAE3D,OAAO,CAAC,UAAU,CAAC,CAAa;IAChC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAE,QAAQ,CAAqB;IAC/C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,YAAY,wDAAsD;IAClE,OAAO,CAAC,gBAAgB,CAAiB;IACzC,OAAO,CAAC,gBAAgB,CAAiB;IAEzC,kBAAkB,IAAI,IAAI;IAuD1B,WAAW,IAAI,IAAI;IAMnB,WAAW,IAAI,IAAI;IAUnB,YAAY,IAAI,IAAI;IAIpB,aAAa,IAAI,IAAI;IAQrB,OAAO,CAAC,mBAAmB;IAuB3B,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,iBAAiB;IAUzB,OAAO,CAAC,gBAAgB;yCA/Ib,gBAAgB;2CAAhB,gBAAgB;CAmK5B"}
@@ -1,16 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export type TooltipWidth = "none" | "small" | "medium" | "large";
3
- export declare class TooltipContentComponent {
4
- /**
5
- * The width of the tooltip. Can be 'none', 'small', 'medium', or 'large'.
6
- * @default medium
7
- */
8
- maxWidth: import("@angular/core").InputSignal<TooltipWidth>;
9
- private tooltip;
10
- classes: import("@angular/core").Signal<string>;
11
- onMouseEnter(): void;
12
- onMouseLeave(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContentComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContentComponent, "tedi-tooltip-content", never, { "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
15
- }
16
- //# sourceMappingURL=tooltip-content.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tooltip-content.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/overlay/tooltip/tooltip-content/tooltip-content.component.ts"],"names":[],"mappings":";AAWA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjE,qBAYa,uBAAuB;IAClC;;;OAGG;IACH,QAAQ,oDAAiC;IAEzC,OAAO,CAAC,OAAO,CAA4B;IAE3C,OAAO,yCAKJ;IAGH,YAAY;IAMZ,YAAY;yCAvBD,uBAAuB;2CAAvB,uBAAuB;CA2BnC"}
@@ -1,16 +0,0 @@
1
- import { AfterContentChecked, ElementRef } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class TooltipTriggerComponent implements AfterContentChecked {
4
- readonly host: ElementRef<HTMLElement>;
5
- private renderer;
6
- private tooltip;
7
- onClick(): void;
8
- onMouseEnter(): void;
9
- onMouseLeave(): void;
10
- onFocusIn(): void;
11
- onFocusOut(): void;
12
- ngAfterContentChecked(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipTriggerComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipTriggerComponent, "tedi-tooltip-trigger", never, {}, {}, never, ["*"], true, never>;
15
- }
16
- //# sourceMappingURL=tooltip-trigger.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tooltip-trigger.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/overlay/tooltip/tooltip-trigger/tooltip-trigger.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAGnB,UAAU,EAKX,MAAM,eAAe,CAAC;;AAGvB,qBAYa,uBAAwB,YAAW,mBAAmB;IACjE,QAAQ,CAAC,IAAI,0BAA+C;IAC5D,OAAO,CAAC,QAAQ,CAAqB;IACrC,OAAO,CAAC,OAAO,CAA4B;IAG3C,OAAO;IAKP,YAAY;IAKZ,YAAY;IASZ,SAAS;IAKT,UAAU;IAQV,qBAAqB,IAAI,IAAI;yCAtClB,uBAAuB;2CAAvB,uBAAuB;CAiEnC"}