@bootkit/ng0 0.0.0-alpha.1 → 0.0.0-alpha.10

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 (216) hide show
  1. package/common/index.d.ts +82 -3
  2. package/components/accordion/index.d.ts +32 -0
  3. package/components/backdrop/index.d.ts +8 -0
  4. package/components/button/index.d.ts +48 -0
  5. package/components/card/index.d.ts +27 -0
  6. package/components/code/index.d.ts +35 -0
  7. package/components/collapse/index.d.ts +59 -0
  8. package/components/confirmation/index.d.ts +66 -0
  9. package/components/form-field/index.d.ts +72 -0
  10. package/components/modal/index.d.ts +29 -0
  11. package/components/nav/index.d.ts +68 -0
  12. package/{offcanvas/offcanvas.directive.d.ts → components/offcanvas/index.d.ts} +14 -5
  13. package/components/overlay/index.d.ts +40 -0
  14. package/components/pagination/index.d.ts +56 -0
  15. package/components/popover/index.d.ts +36 -0
  16. package/components/sidenav/index.d.ts +46 -0
  17. package/components/stepper/index.d.ts +26 -0
  18. package/components/table/index.d.ts +211 -0
  19. package/components/toast/index.d.ts +101 -0
  20. package/components/tooltip/index.d.ts +30 -0
  21. package/components/vertical-menu/index.d.ts +61 -0
  22. package/data/index.d.ts +203 -0
  23. package/date/index.d.ts +34 -0
  24. package/fesm2022/bootkit-ng0-common.mjs +38 -3
  25. package/fesm2022/bootkit-ng0-common.mjs.map +1 -1
  26. package/fesm2022/{bootkit-ng0-accordion.mjs → bootkit-ng0-components-accordion.mjs} +16 -16
  27. package/fesm2022/bootkit-ng0-components-accordion.mjs.map +1 -0
  28. package/fesm2022/bootkit-ng0-components-backdrop.mjs +41 -0
  29. package/fesm2022/bootkit-ng0-components-backdrop.mjs.map +1 -0
  30. package/fesm2022/bootkit-ng0-components-button.mjs +119 -0
  31. package/fesm2022/bootkit-ng0-components-button.mjs.map +1 -0
  32. package/fesm2022/bootkit-ng0-components-card.mjs +62 -0
  33. package/fesm2022/bootkit-ng0-components-card.mjs.map +1 -0
  34. package/fesm2022/bootkit-ng0-components-code.mjs +70 -0
  35. package/fesm2022/bootkit-ng0-components-code.mjs.map +1 -0
  36. package/fesm2022/{bootkit-ng0-collapse.mjs → bootkit-ng0-components-collapse.mjs} +16 -16
  37. package/fesm2022/bootkit-ng0-components-collapse.mjs.map +1 -0
  38. package/fesm2022/bootkit-ng0-components-confirmation.mjs +167 -0
  39. package/fesm2022/bootkit-ng0-components-confirmation.mjs.map +1 -0
  40. package/fesm2022/bootkit-ng0-components-form-field.mjs +147 -0
  41. package/fesm2022/bootkit-ng0-components-form-field.mjs.map +1 -0
  42. package/fesm2022/bootkit-ng0-components-modal.mjs +68 -0
  43. package/fesm2022/bootkit-ng0-components-modal.mjs.map +1 -0
  44. package/fesm2022/bootkit-ng0-components-nav.mjs +165 -0
  45. package/fesm2022/bootkit-ng0-components-nav.mjs.map +1 -0
  46. package/fesm2022/{bootkit-ng0-offcanvas.mjs → bootkit-ng0-components-offcanvas.mjs} +11 -11
  47. package/fesm2022/bootkit-ng0-components-offcanvas.mjs.map +1 -0
  48. package/fesm2022/bootkit-ng0-components-overlay.mjs +99 -0
  49. package/fesm2022/bootkit-ng0-components-overlay.mjs.map +1 -0
  50. package/fesm2022/bootkit-ng0-components-pagination.mjs +120 -0
  51. package/fesm2022/bootkit-ng0-components-pagination.mjs.map +1 -0
  52. package/fesm2022/{bootkit-ng0-popover.mjs → bootkit-ng0-components-popover.mjs} +12 -12
  53. package/fesm2022/bootkit-ng0-components-popover.mjs.map +1 -0
  54. package/fesm2022/bootkit-ng0-components-sidenav.mjs +132 -0
  55. package/fesm2022/bootkit-ng0-components-sidenav.mjs.map +1 -0
  56. package/fesm2022/bootkit-ng0-components-stepper.mjs +91 -0
  57. package/fesm2022/bootkit-ng0-components-stepper.mjs.map +1 -0
  58. package/fesm2022/bootkit-ng0-components-table.mjs +358 -0
  59. package/fesm2022/bootkit-ng0-components-table.mjs.map +1 -0
  60. package/fesm2022/{bootkit-ng0-toast.mjs → bootkit-ng0-components-toast.mjs} +10 -10
  61. package/fesm2022/bootkit-ng0-components-toast.mjs.map +1 -0
  62. package/fesm2022/{bootkit-ng0-tooltip.mjs → bootkit-ng0-components-tooltip.mjs} +10 -10
  63. package/fesm2022/bootkit-ng0-components-tooltip.mjs.map +1 -0
  64. package/fesm2022/bootkit-ng0-components-vertical-menu.mjs +161 -0
  65. package/fesm2022/bootkit-ng0-components-vertical-menu.mjs.map +1 -0
  66. package/fesm2022/bootkit-ng0-data.mjs +267 -0
  67. package/fesm2022/bootkit-ng0-data.mjs.map +1 -0
  68. package/fesm2022/bootkit-ng0-date.mjs +50 -0
  69. package/fesm2022/bootkit-ng0-date.mjs.map +1 -0
  70. package/fesm2022/bootkit-ng0-file.mjs +50 -0
  71. package/fesm2022/bootkit-ng0-file.mjs.map +1 -0
  72. package/fesm2022/bootkit-ng0-form.mjs +420 -0
  73. package/fesm2022/bootkit-ng0-form.mjs.map +1 -0
  74. package/fesm2022/bootkit-ng0-http.mjs +277 -0
  75. package/fesm2022/bootkit-ng0-http.mjs.map +1 -0
  76. package/fesm2022/bootkit-ng0-localization-locales.mjs +82 -0
  77. package/fesm2022/bootkit-ng0-localization-locales.mjs.map +1 -0
  78. package/fesm2022/bootkit-ng0-localization.mjs +419 -0
  79. package/fesm2022/bootkit-ng0-localization.mjs.map +1 -0
  80. package/fesm2022/bootkit-ng0-platform-browser.mjs +51 -0
  81. package/fesm2022/bootkit-ng0-platform-browser.mjs.map +1 -0
  82. package/fesm2022/bootkit-ng0-script.mjs +59 -0
  83. package/fesm2022/bootkit-ng0-script.mjs.map +1 -0
  84. package/fesm2022/bootkit-ng0-security.mjs +132 -0
  85. package/fesm2022/bootkit-ng0-security.mjs.map +1 -0
  86. package/file/index.d.ts +22 -0
  87. package/form/index.d.ts +91 -0
  88. package/http/index.d.ts +167 -0
  89. package/index.d.ts +3 -5
  90. package/localization/index.d.ts +265 -0
  91. package/localization/locales/index.d.ts +7 -0
  92. package/package.json +123 -61
  93. package/platform/browser/index.d.ts +22 -0
  94. package/script/index.d.ts +27 -0
  95. package/security/index.d.ts +42 -0
  96. package/accordion/accordion-item.component.d.ts +0 -13
  97. package/accordion/accordion.component.d.ts +0 -13
  98. package/accordion/accordion.module.d.ts +0 -8
  99. package/accordion/index.d.ts +0 -5
  100. package/accordion/public-api.d.ts +0 -3
  101. package/collapse/collapse.component.d.ts +0 -18
  102. package/collapse/collapse.directive.d.ts +0 -32
  103. package/collapse/collapse.module.d.ts +0 -8
  104. package/collapse/index.d.ts +0 -5
  105. package/collapse/public-api.d.ts +0 -3
  106. package/common/public-api.d.ts +0 -2
  107. package/common/types.d.ts +0 -4
  108. package/common/utils.d.ts +0 -3
  109. package/esm2022/accordion/accordion-item.component.mjs +0 -34
  110. package/esm2022/accordion/accordion.component.mjs +0 -25
  111. package/esm2022/accordion/accordion.module.mjs +0 -25
  112. package/esm2022/accordion/bootkit-ng0-accordion.mjs +0 -5
  113. package/esm2022/accordion/public-api.mjs +0 -4
  114. package/esm2022/bootkit-ng0.mjs +0 -5
  115. package/esm2022/collapse/bootkit-ng0-collapse.mjs +0 -5
  116. package/esm2022/collapse/collapse.component.mjs +0 -46
  117. package/esm2022/collapse/collapse.directive.mjs +0 -94
  118. package/esm2022/collapse/collapse.module.mjs +0 -23
  119. package/esm2022/collapse/public-api.mjs +0 -4
  120. package/esm2022/common/bootkit-ng0-common.mjs +0 -5
  121. package/esm2022/common/public-api.mjs +0 -3
  122. package/esm2022/common/types.mjs +0 -3
  123. package/esm2022/common/utils.mjs +0 -16
  124. package/esm2022/lib/index.mjs +0 -3
  125. package/esm2022/lib/types.mjs +0 -2
  126. package/esm2022/modal/bootkit-ng0-modal.mjs +0 -5
  127. package/esm2022/modal/modal.component.mjs +0 -44
  128. package/esm2022/modal/modal.module.mjs +0 -20
  129. package/esm2022/modal/public-api.mjs +0 -3
  130. package/esm2022/modal/types.mjs +0 -3
  131. package/esm2022/nav/bootkit-ng0-nav.mjs +0 -5
  132. package/esm2022/nav/nav-item.directive.mjs +0 -26
  133. package/esm2022/nav/nav-link.directive.mjs +0 -45
  134. package/esm2022/nav/nav.directive.mjs +0 -23
  135. package/esm2022/nav/nav.module.mjs +0 -35
  136. package/esm2022/nav/public-api.mjs +0 -7
  137. package/esm2022/nav/tab-content.component.mjs +0 -29
  138. package/esm2022/nav/tab-pane.directive.mjs +0 -20
  139. package/esm2022/offcanvas/bootkit-ng0-offcanvas.mjs +0 -5
  140. package/esm2022/offcanvas/offcanvas.directive.mjs +0 -118
  141. package/esm2022/offcanvas/offcanvas.module.mjs +0 -19
  142. package/esm2022/offcanvas/public-api.mjs +0 -3
  143. package/esm2022/overlay/bootkit-ng0-overlay.mjs +0 -5
  144. package/esm2022/overlay/overlay.directive.mjs +0 -111
  145. package/esm2022/overlay/overlay.module.mjs +0 -22
  146. package/esm2022/overlay/private/utils.mjs +0 -58
  147. package/esm2022/overlay/public-api.mjs +0 -3
  148. package/esm2022/popover/bootkit-ng0-popover.mjs +0 -5
  149. package/esm2022/popover/popover-wrapper/popover-wrapper.component.mjs +0 -29
  150. package/esm2022/popover/popover.directive.mjs +0 -140
  151. package/esm2022/popover/public-api.mjs +0 -2
  152. package/esm2022/popover/types.mjs +0 -2
  153. package/esm2022/public-api.mjs +0 -5
  154. package/esm2022/toast/bootkit-ng0-toast.mjs +0 -5
  155. package/esm2022/toast/public-api.mjs +0 -4
  156. package/esm2022/toast/toast-ref.mjs +0 -27
  157. package/esm2022/toast/toast.component.mjs +0 -68
  158. package/esm2022/toast/toast.service.mjs +0 -93
  159. package/esm2022/toast/types.mjs +0 -2
  160. package/esm2022/tooltip/bootkit-ng0-tooltip.mjs +0 -5
  161. package/esm2022/tooltip/public-api.mjs +0 -3
  162. package/esm2022/tooltip/tooltip-wrapper/tooltip-wrapper.component.mjs +0 -44
  163. package/esm2022/tooltip/tooltip.directive.mjs +0 -93
  164. package/esm2022/tooltip/types.mjs +0 -2
  165. package/fesm2022/bootkit-ng0-accordion.mjs.map +0 -1
  166. package/fesm2022/bootkit-ng0-collapse.mjs.map +0 -1
  167. package/fesm2022/bootkit-ng0-modal.mjs +0 -68
  168. package/fesm2022/bootkit-ng0-modal.mjs.map +0 -1
  169. package/fesm2022/bootkit-ng0-nav.mjs +0 -166
  170. package/fesm2022/bootkit-ng0-nav.mjs.map +0 -1
  171. package/fesm2022/bootkit-ng0-offcanvas.mjs.map +0 -1
  172. package/fesm2022/bootkit-ng0-overlay.mjs +0 -194
  173. package/fesm2022/bootkit-ng0-overlay.mjs.map +0 -1
  174. package/fesm2022/bootkit-ng0-popover.mjs.map +0 -1
  175. package/fesm2022/bootkit-ng0-toast.mjs.map +0 -1
  176. package/fesm2022/bootkit-ng0-tooltip.mjs.map +0 -1
  177. package/lib/index.d.ts +0 -2
  178. package/lib/types.d.ts +0 -1
  179. package/modal/index.d.ts +0 -5
  180. package/modal/modal.component.d.ts +0 -18
  181. package/modal/modal.module.d.ts +0 -7
  182. package/modal/public-api.d.ts +0 -2
  183. package/modal/types.d.ts +0 -2
  184. package/nav/index.d.ts +0 -5
  185. package/nav/nav-item.directive.d.ts +0 -13
  186. package/nav/nav-link.directive.d.ts +0 -16
  187. package/nav/nav.directive.d.ts +0 -11
  188. package/nav/nav.module.d.ts +0 -11
  189. package/nav/public-api.d.ts +0 -6
  190. package/nav/tab-content.component.d.ts +0 -15
  191. package/nav/tab-pane.directive.d.ts +0 -9
  192. package/offcanvas/index.d.ts +0 -5
  193. package/offcanvas/offcanvas.module.d.ts +0 -7
  194. package/offcanvas/public-api.d.ts +0 -2
  195. package/overlay/index.d.ts +0 -5
  196. package/overlay/overlay.directive.d.ts +0 -50
  197. package/overlay/overlay.module.d.ts +0 -10
  198. package/overlay/private/utils.d.ts +0 -10
  199. package/overlay/public-api.d.ts +0 -2
  200. package/popover/index.d.ts +0 -5
  201. package/popover/popover-wrapper/popover-wrapper.component.d.ts +0 -15
  202. package/popover/popover.directive.d.ts +0 -30
  203. package/popover/public-api.d.ts +0 -1
  204. package/popover/types.d.ts +0 -4
  205. package/public-api.d.ts +0 -1
  206. package/toast/index.d.ts +0 -5
  207. package/toast/public-api.d.ts +0 -3
  208. package/toast/toast-ref.d.ts +0 -12
  209. package/toast/toast.component.d.ts +0 -19
  210. package/toast/toast.service.d.ts +0 -43
  211. package/toast/types.d.ts +0 -44
  212. package/tooltip/index.d.ts +0 -5
  213. package/tooltip/public-api.d.ts +0 -2
  214. package/tooltip/tooltip-wrapper/tooltip-wrapper.component.d.ts +0 -19
  215. package/tooltip/tooltip.directive.d.ts +0 -24
  216. package/tooltip/types.d.ts +0 -3
@@ -1,30 +0,0 @@
1
- import { ViewContainerRef, OnDestroy, ElementRef, OnInit } from '@angular/core';
2
- import { Overlay } from '@angular/cdk/overlay';
3
- import { PopoverContent, PopoverPlacement, PopoverTrigger } from './types';
4
- import * as i0 from "@angular/core";
5
- export declare class PopoverDirective implements OnInit, OnDestroy {
6
- private _overlayService;
7
- private _elementRef;
8
- private _viewRef;
9
- header: import("@angular/core").InputSignal<string>;
10
- content: import("@angular/core").InputSignal<PopoverContent>;
11
- placement: import("@angular/core").InputSignal<PopoverPlacement>;
12
- triggerBy: import("@angular/core").InputSignal<PopoverTrigger>;
13
- private _portal;
14
- private _overlayRef?;
15
- constructor(_overlayService: Overlay, _elementRef: ElementRef, _viewRef: ViewContainerRef);
16
- ngOnInit(): void;
17
- private _createOverlay;
18
- private _disposeOverlay;
19
- private _toggleOverlay;
20
- private _getPositions;
21
- private _onClick;
22
- private _onDblclick;
23
- private _onMouseEnter;
24
- private _onMouseLeave;
25
- private _onFocus;
26
- private _onFocusout;
27
- ngOnDestroy(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[ng0Popover]", ["ng0Popover"], { "header": { "alias": "header"; "required": false; "isSignal": true; }; "content": { "alias": "ng0Popover"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "triggerBy": { "alias": "triggerBy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
30
- }
@@ -1 +0,0 @@
1
- export * from './popover.directive';
@@ -1,4 +0,0 @@
1
- import { TemplateRef } from "@angular/core";
2
- export type PopoverPlacement = 'top' | 'bottom' | 'start' | 'end';
3
- export type PopoverTrigger = 'click' | 'dblclick' | 'hover' | 'focus';
4
- export type PopoverContent = string | TemplateRef<any> | undefined | null;
package/public-api.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib';
package/toast/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@bootkit/ng0/toast" />
5
- export * from './public-api';
@@ -1,3 +0,0 @@
1
- export * from './types';
2
- export * from './toast-ref';
3
- export * from './toast.service';
@@ -1,12 +0,0 @@
1
- import { OverlayRef } from "@angular/cdk/overlay";
2
- import { ToastConfig } from "./types";
3
- export declare class ToastRef {
4
- readonly config: ToastConfig;
5
- private overlayRef;
6
- private _isOpen;
7
- private _closedSubject;
8
- closed: import("rxjs").Observable<any>;
9
- constructor(config: ToastConfig, overlayRef: OverlayRef);
10
- get isOpen(): boolean;
11
- close(): void;
12
- }
@@ -1,19 +0,0 @@
1
- import { OnInit, DestroyRef, ChangeDetectorRef, Renderer2, ElementRef } from '@angular/core';
2
- import { ToastConfig } from './types';
3
- import { ToastRef } from './toast-ref';
4
- import * as i0 from "@angular/core";
5
- export declare class ToastComponent implements OnInit {
6
- private _changeDetectorRef;
7
- private _renderer;
8
- private _elementRef;
9
- private _destroyRef;
10
- toastRef: ToastRef;
11
- protected _config: ToastConfig;
12
- protected _show: boolean;
13
- protected _hasBodyTemplate: boolean;
14
- protected _hasHeaderTemplate: boolean;
15
- constructor(_changeDetectorRef: ChangeDetectorRef, _renderer: Renderer2, _elementRef: ElementRef, _destroyRef: DestroyRef);
16
- ngOnInit(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ng0-toast", ["ng0Toast"], {}, {}, never, never, true, never>;
19
- }
@@ -1,43 +0,0 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
- import { Injector } from '@angular/core';
3
- import { ToastConfig } from './types';
4
- import { ToastRef } from './toast-ref';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Service for displaying toast notifications in the application.
8
- *
9
- * The `ToastService` provides methods to open toast messages with customizable content,
10
- * header, style, position, and duration. It manages the lifecycle of toast notifications,
11
- * ensuring only one toast is visible at a time.
12
- *
13
- * @example
14
- * // Open a simple toast
15
- * toastService.open('Message body', 'Header', 'success');
16
- *
17
- * @example
18
- * // Open a toast with configuration
19
- * toastService.open({
20
- * body: 'Message body',
21
- * header: 'Header',
22
- * style: 'success',
23
- * verticalPosition: 'bottom',
24
- * horizontalPosition: 'end',
25
- * duration: 5000
26
- * });
27
- *
28
- * @remarks
29
- * - Only one toast can be displayed at a time; opening a new toast closes the previous one.
30
- * - The toast will automatically close after the specified duration (default: 3000ms).
31
- *
32
- * @publicApi
33
- */
34
- export declare class ToastService {
35
- private _overlayService;
36
- private _injector;
37
- private _toastRef;
38
- constructor(_overlayService: Overlay, _injector: Injector);
39
- open(body: string, header?: string, style?: string): ToastRef;
40
- open(config: ToastConfig): ToastRef;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
43
- }
package/toast/types.d.ts DELETED
@@ -1,44 +0,0 @@
1
- import { TemplateRef } from "@angular/core";
2
- export type ToastHorizontalPosition = 'start' | 'center' | 'end';
3
- export type ToastVerticalPosition = 'top' | 'bottom';
4
- /**
5
- * Configuration interface for toast notifications
6
- */
7
- export interface ToastConfig {
8
- /**
9
- * Main content of the toast. Can be a string, number, boolean or template reference
10
- */
11
- body?: string | number | boolean | TemplateRef<any>;
12
- /**
13
- * Header content of the toast. Can be a string, number, boolean or template reference
14
- */
15
- header?: string | number | boolean | TemplateRef<any>;
16
- /**
17
- * Additional hint text for the toast. Accepts string, number or boolean
18
- */
19
- hint?: string | number | boolean;
20
- /**
21
- * Icon to be displayed in the toast. Expects a string reference to the icon
22
- */
23
- icon?: string;
24
- /**
25
- * toast style: primary, secondary, danger, ...
26
- */
27
- style?: string;
28
- /**
29
- * Duration in milliseconds for how long the toast should be displayed
30
- */
31
- duration?: number;
32
- /**
33
- * Whether to show a close button on the toast
34
- */
35
- closeButton?: boolean;
36
- /**
37
- * Horizontal alignment of the toast. Can be 'start', 'center', or 'end'
38
- */
39
- horizontalPosition?: ToastHorizontalPosition;
40
- /**
41
- * Vertical alignment of the toast. Can be 'top' or 'bottom'
42
- */
43
- verticalPosition?: ToastVerticalPosition;
44
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@bootkit/ng0/tooltip" />
5
- export * from './public-api';
@@ -1,2 +0,0 @@
1
- export * from './tooltip.directive';
2
- export * from './types';
@@ -1,19 +0,0 @@
1
- import { ElementRef, Renderer2, OnInit, ChangeDetectorRef } from '@angular/core';
2
- import { TooltipContent, TooltipPlacement } from '../types';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @private
6
- */
7
- export declare class TooltipWrapperComponent implements OnInit {
8
- private elementRef;
9
- private renderer;
10
- private changeDetectorRef;
11
- protected placement: TooltipPlacement;
12
- protected content: TooltipContent;
13
- protected hasTemplate: boolean;
14
- constructor(elementRef: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef);
15
- ngOnInit(): void;
16
- set(content: any, placement: TooltipPlacement): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipWrapperComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipWrapperComponent, "ng0-tooltip-wrapper", ["ng0TooltipWrapper"], {}, {}, never, never, true, never>;
19
- }
@@ -1,24 +0,0 @@
1
- import { TemplateRef, ViewContainerRef, OnDestroy, ElementRef, OnInit, DestroyRef } from '@angular/core';
2
- import { Overlay } from '@angular/cdk/overlay';
3
- import { TooltipPlacement } from './types';
4
- import * as i0 from "@angular/core";
5
- export declare class TooltipDirective implements OnInit, OnDestroy {
6
- private overlayService;
7
- private elementRef;
8
- private destroyRef;
9
- private viewRef;
10
- content: import("@angular/core").InputSignal<string | TemplateRef<any>>;
11
- placement: import("@angular/core").InputSignal<TooltipPlacement>;
12
- private portal;
13
- private overlayRef?;
14
- constructor(overlayService: Overlay, elementRef: ElementRef, destroyRef: DestroyRef, viewRef: ViewContainerRef);
15
- ngOnInit(): void;
16
- private onMouseEnter;
17
- private onMouseLeave;
18
- private createOverlay;
19
- private disposeOverlay;
20
- private getPositions;
21
- ngOnDestroy(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[ng0Tooltip]", ["ng0Tooltip"], { "content": { "alias": "ng0Tooltip"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
24
- }
@@ -1,3 +0,0 @@
1
- import { TemplateRef } from "@angular/core";
2
- export type TooltipPlacement = 'top' | 'bottom' | 'start' | 'end';
3
- export type TooltipContent = string | TemplateRef<any>;