@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.
- package/common/index.d.ts +82 -3
- package/components/accordion/index.d.ts +32 -0
- package/components/backdrop/index.d.ts +8 -0
- package/components/button/index.d.ts +48 -0
- package/components/card/index.d.ts +27 -0
- package/components/code/index.d.ts +35 -0
- package/components/collapse/index.d.ts +59 -0
- package/components/confirmation/index.d.ts +66 -0
- package/components/form-field/index.d.ts +72 -0
- package/components/modal/index.d.ts +29 -0
- package/components/nav/index.d.ts +68 -0
- package/{offcanvas/offcanvas.directive.d.ts → components/offcanvas/index.d.ts} +14 -5
- package/components/overlay/index.d.ts +40 -0
- package/components/pagination/index.d.ts +56 -0
- package/components/popover/index.d.ts +36 -0
- package/components/sidenav/index.d.ts +46 -0
- package/components/stepper/index.d.ts +26 -0
- package/components/table/index.d.ts +211 -0
- package/components/toast/index.d.ts +101 -0
- package/components/tooltip/index.d.ts +30 -0
- package/components/vertical-menu/index.d.ts +61 -0
- package/data/index.d.ts +203 -0
- package/date/index.d.ts +34 -0
- package/fesm2022/bootkit-ng0-common.mjs +38 -3
- package/fesm2022/bootkit-ng0-common.mjs.map +1 -1
- package/fesm2022/{bootkit-ng0-accordion.mjs → bootkit-ng0-components-accordion.mjs} +16 -16
- package/fesm2022/bootkit-ng0-components-accordion.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-backdrop.mjs +41 -0
- package/fesm2022/bootkit-ng0-components-backdrop.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-button.mjs +119 -0
- package/fesm2022/bootkit-ng0-components-button.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-card.mjs +62 -0
- package/fesm2022/bootkit-ng0-components-card.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-code.mjs +70 -0
- package/fesm2022/bootkit-ng0-components-code.mjs.map +1 -0
- package/fesm2022/{bootkit-ng0-collapse.mjs → bootkit-ng0-components-collapse.mjs} +16 -16
- package/fesm2022/bootkit-ng0-components-collapse.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-confirmation.mjs +167 -0
- package/fesm2022/bootkit-ng0-components-confirmation.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-form-field.mjs +147 -0
- package/fesm2022/bootkit-ng0-components-form-field.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-modal.mjs +68 -0
- package/fesm2022/bootkit-ng0-components-modal.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-nav.mjs +165 -0
- package/fesm2022/bootkit-ng0-components-nav.mjs.map +1 -0
- package/fesm2022/{bootkit-ng0-offcanvas.mjs → bootkit-ng0-components-offcanvas.mjs} +11 -11
- package/fesm2022/bootkit-ng0-components-offcanvas.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-overlay.mjs +99 -0
- package/fesm2022/bootkit-ng0-components-overlay.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-pagination.mjs +120 -0
- package/fesm2022/bootkit-ng0-components-pagination.mjs.map +1 -0
- package/fesm2022/{bootkit-ng0-popover.mjs → bootkit-ng0-components-popover.mjs} +12 -12
- package/fesm2022/bootkit-ng0-components-popover.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-sidenav.mjs +132 -0
- package/fesm2022/bootkit-ng0-components-sidenav.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-stepper.mjs +91 -0
- package/fesm2022/bootkit-ng0-components-stepper.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-table.mjs +358 -0
- package/fesm2022/bootkit-ng0-components-table.mjs.map +1 -0
- package/fesm2022/{bootkit-ng0-toast.mjs → bootkit-ng0-components-toast.mjs} +10 -10
- package/fesm2022/bootkit-ng0-components-toast.mjs.map +1 -0
- package/fesm2022/{bootkit-ng0-tooltip.mjs → bootkit-ng0-components-tooltip.mjs} +10 -10
- package/fesm2022/bootkit-ng0-components-tooltip.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-components-vertical-menu.mjs +161 -0
- package/fesm2022/bootkit-ng0-components-vertical-menu.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-data.mjs +267 -0
- package/fesm2022/bootkit-ng0-data.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-date.mjs +50 -0
- package/fesm2022/bootkit-ng0-date.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-file.mjs +50 -0
- package/fesm2022/bootkit-ng0-file.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-form.mjs +420 -0
- package/fesm2022/bootkit-ng0-form.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-http.mjs +277 -0
- package/fesm2022/bootkit-ng0-http.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-localization-locales.mjs +82 -0
- package/fesm2022/bootkit-ng0-localization-locales.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-localization.mjs +419 -0
- package/fesm2022/bootkit-ng0-localization.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-platform-browser.mjs +51 -0
- package/fesm2022/bootkit-ng0-platform-browser.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-script.mjs +59 -0
- package/fesm2022/bootkit-ng0-script.mjs.map +1 -0
- package/fesm2022/bootkit-ng0-security.mjs +132 -0
- package/fesm2022/bootkit-ng0-security.mjs.map +1 -0
- package/file/index.d.ts +22 -0
- package/form/index.d.ts +91 -0
- package/http/index.d.ts +167 -0
- package/index.d.ts +3 -5
- package/localization/index.d.ts +265 -0
- package/localization/locales/index.d.ts +7 -0
- package/package.json +123 -61
- package/platform/browser/index.d.ts +22 -0
- package/script/index.d.ts +27 -0
- package/security/index.d.ts +42 -0
- package/accordion/accordion-item.component.d.ts +0 -13
- package/accordion/accordion.component.d.ts +0 -13
- package/accordion/accordion.module.d.ts +0 -8
- package/accordion/index.d.ts +0 -5
- package/accordion/public-api.d.ts +0 -3
- package/collapse/collapse.component.d.ts +0 -18
- package/collapse/collapse.directive.d.ts +0 -32
- package/collapse/collapse.module.d.ts +0 -8
- package/collapse/index.d.ts +0 -5
- package/collapse/public-api.d.ts +0 -3
- package/common/public-api.d.ts +0 -2
- package/common/types.d.ts +0 -4
- package/common/utils.d.ts +0 -3
- package/esm2022/accordion/accordion-item.component.mjs +0 -34
- package/esm2022/accordion/accordion.component.mjs +0 -25
- package/esm2022/accordion/accordion.module.mjs +0 -25
- package/esm2022/accordion/bootkit-ng0-accordion.mjs +0 -5
- package/esm2022/accordion/public-api.mjs +0 -4
- package/esm2022/bootkit-ng0.mjs +0 -5
- package/esm2022/collapse/bootkit-ng0-collapse.mjs +0 -5
- package/esm2022/collapse/collapse.component.mjs +0 -46
- package/esm2022/collapse/collapse.directive.mjs +0 -94
- package/esm2022/collapse/collapse.module.mjs +0 -23
- package/esm2022/collapse/public-api.mjs +0 -4
- package/esm2022/common/bootkit-ng0-common.mjs +0 -5
- package/esm2022/common/public-api.mjs +0 -3
- package/esm2022/common/types.mjs +0 -3
- package/esm2022/common/utils.mjs +0 -16
- package/esm2022/lib/index.mjs +0 -3
- package/esm2022/lib/types.mjs +0 -2
- package/esm2022/modal/bootkit-ng0-modal.mjs +0 -5
- package/esm2022/modal/modal.component.mjs +0 -44
- package/esm2022/modal/modal.module.mjs +0 -20
- package/esm2022/modal/public-api.mjs +0 -3
- package/esm2022/modal/types.mjs +0 -3
- package/esm2022/nav/bootkit-ng0-nav.mjs +0 -5
- package/esm2022/nav/nav-item.directive.mjs +0 -26
- package/esm2022/nav/nav-link.directive.mjs +0 -45
- package/esm2022/nav/nav.directive.mjs +0 -23
- package/esm2022/nav/nav.module.mjs +0 -35
- package/esm2022/nav/public-api.mjs +0 -7
- package/esm2022/nav/tab-content.component.mjs +0 -29
- package/esm2022/nav/tab-pane.directive.mjs +0 -20
- package/esm2022/offcanvas/bootkit-ng0-offcanvas.mjs +0 -5
- package/esm2022/offcanvas/offcanvas.directive.mjs +0 -118
- package/esm2022/offcanvas/offcanvas.module.mjs +0 -19
- package/esm2022/offcanvas/public-api.mjs +0 -3
- package/esm2022/overlay/bootkit-ng0-overlay.mjs +0 -5
- package/esm2022/overlay/overlay.directive.mjs +0 -111
- package/esm2022/overlay/overlay.module.mjs +0 -22
- package/esm2022/overlay/private/utils.mjs +0 -58
- package/esm2022/overlay/public-api.mjs +0 -3
- package/esm2022/popover/bootkit-ng0-popover.mjs +0 -5
- package/esm2022/popover/popover-wrapper/popover-wrapper.component.mjs +0 -29
- package/esm2022/popover/popover.directive.mjs +0 -140
- package/esm2022/popover/public-api.mjs +0 -2
- package/esm2022/popover/types.mjs +0 -2
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/toast/bootkit-ng0-toast.mjs +0 -5
- package/esm2022/toast/public-api.mjs +0 -4
- package/esm2022/toast/toast-ref.mjs +0 -27
- package/esm2022/toast/toast.component.mjs +0 -68
- package/esm2022/toast/toast.service.mjs +0 -93
- package/esm2022/toast/types.mjs +0 -2
- package/esm2022/tooltip/bootkit-ng0-tooltip.mjs +0 -5
- package/esm2022/tooltip/public-api.mjs +0 -3
- package/esm2022/tooltip/tooltip-wrapper/tooltip-wrapper.component.mjs +0 -44
- package/esm2022/tooltip/tooltip.directive.mjs +0 -93
- package/esm2022/tooltip/types.mjs +0 -2
- package/fesm2022/bootkit-ng0-accordion.mjs.map +0 -1
- package/fesm2022/bootkit-ng0-collapse.mjs.map +0 -1
- package/fesm2022/bootkit-ng0-modal.mjs +0 -68
- package/fesm2022/bootkit-ng0-modal.mjs.map +0 -1
- package/fesm2022/bootkit-ng0-nav.mjs +0 -166
- package/fesm2022/bootkit-ng0-nav.mjs.map +0 -1
- package/fesm2022/bootkit-ng0-offcanvas.mjs.map +0 -1
- package/fesm2022/bootkit-ng0-overlay.mjs +0 -194
- package/fesm2022/bootkit-ng0-overlay.mjs.map +0 -1
- package/fesm2022/bootkit-ng0-popover.mjs.map +0 -1
- package/fesm2022/bootkit-ng0-toast.mjs.map +0 -1
- package/fesm2022/bootkit-ng0-tooltip.mjs.map +0 -1
- package/lib/index.d.ts +0 -2
- package/lib/types.d.ts +0 -1
- package/modal/index.d.ts +0 -5
- package/modal/modal.component.d.ts +0 -18
- package/modal/modal.module.d.ts +0 -7
- package/modal/public-api.d.ts +0 -2
- package/modal/types.d.ts +0 -2
- package/nav/index.d.ts +0 -5
- package/nav/nav-item.directive.d.ts +0 -13
- package/nav/nav-link.directive.d.ts +0 -16
- package/nav/nav.directive.d.ts +0 -11
- package/nav/nav.module.d.ts +0 -11
- package/nav/public-api.d.ts +0 -6
- package/nav/tab-content.component.d.ts +0 -15
- package/nav/tab-pane.directive.d.ts +0 -9
- package/offcanvas/index.d.ts +0 -5
- package/offcanvas/offcanvas.module.d.ts +0 -7
- package/offcanvas/public-api.d.ts +0 -2
- package/overlay/index.d.ts +0 -5
- package/overlay/overlay.directive.d.ts +0 -50
- package/overlay/overlay.module.d.ts +0 -10
- package/overlay/private/utils.d.ts +0 -10
- package/overlay/public-api.d.ts +0 -2
- package/popover/index.d.ts +0 -5
- package/popover/popover-wrapper/popover-wrapper.component.d.ts +0 -15
- package/popover/popover.directive.d.ts +0 -30
- package/popover/public-api.d.ts +0 -1
- package/popover/types.d.ts +0 -4
- package/public-api.d.ts +0 -1
- package/toast/index.d.ts +0 -5
- package/toast/public-api.d.ts +0 -3
- package/toast/toast-ref.d.ts +0 -12
- package/toast/toast.component.d.ts +0 -19
- package/toast/toast.service.d.ts +0 -43
- package/toast/types.d.ts +0 -44
- package/tooltip/index.d.ts +0 -5
- package/tooltip/public-api.d.ts +0 -2
- package/tooltip/tooltip-wrapper/tooltip-wrapper.component.d.ts +0 -19
- package/tooltip/tooltip.directive.d.ts +0 -24
- 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
|
-
}
|
package/popover/public-api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './popover.directive';
|
package/popover/types.d.ts
DELETED
package/public-api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './lib';
|
package/toast/index.d.ts
DELETED
package/toast/public-api.d.ts
DELETED
package/toast/toast-ref.d.ts
DELETED
|
@@ -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
|
-
}
|
package/toast/toast.service.d.ts
DELETED
|
@@ -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
|
-
}
|
package/tooltip/index.d.ts
DELETED
package/tooltip/public-api.d.ts
DELETED
|
@@ -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
|
-
}
|
package/tooltip/types.d.ts
DELETED