@frame-ui-ng/components 0.2.0-beta.0 → 0.4.0-beta.0
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/button/src/styles/button.css +20 -4
- package/button-group/src/styles/button-group.css +6 -0
- package/dropdown-menu/src/styles/_vars.css +1 -1
- package/dropdown-menu/src/styles/dropdown-menu-item.css +87 -87
- package/fesm2022/frame-ui-ng-components-calendar.mjs +369 -263
- package/fesm2022/frame-ui-ng-components-calendar.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-combobox.mjs +48 -51
- package/fesm2022/frame-ui-ng-components-combobox.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-command.mjs +1 -1
- package/fesm2022/frame-ui-ng-components-command.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-confirm-modal.mjs +162 -0
- package/fesm2022/frame-ui-ng-components-confirm-modal.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-date-picker.mjs +232 -226
- package/fesm2022/frame-ui-ng-components-date-picker.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs +45 -22
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-input-otp.mjs +64 -69
- package/fesm2022/frame-ui-ng-components-input-otp.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-input.mjs +6 -3
- package/fesm2022/frame-ui-ng-components-input.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-modal.mjs +93 -15
- package/fesm2022/frame-ui-ng-components-modal.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-pagination.mjs +37 -36
- package/fesm2022/frame-ui-ng-components-pagination.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-progress.mjs +2 -1
- package/fesm2022/frame-ui-ng-components-progress.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-resizable.mjs +16 -26
- package/fesm2022/frame-ui-ng-components-resizable.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-select.mjs +6 -3
- package/fesm2022/frame-ui-ng-components-select.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-sheet.mjs +19 -16
- package/fesm2022/frame-ui-ng-components-sheet.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-sidebar.mjs +59 -10
- package/fesm2022/frame-ui-ng-components-sidebar.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-slider.mjs +53 -59
- package/fesm2022/frame-ui-ng-components-slider.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-tooltip.mjs +307 -254
- package/fesm2022/frame-ui-ng-components-tooltip.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-utils.mjs +20 -0
- package/fesm2022/frame-ui-ng-components-utils.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-virtual-scroll.mjs +10 -12
- package/fesm2022/frame-ui-ng-components-virtual-scroll.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components.mjs +1047 -806
- package/fesm2022/frame-ui-ng-components.mjs.map +1 -1
- package/input/src/styles/input-group.css +50 -0
- package/item/src/styles/item.css +188 -187
- package/modal/src/styles/modal.css +10 -1
- package/package.json +10 -2
- package/select/src/styles/select-trigger.css +7 -36
- package/sidebar/src/styles/sidebar.css +10 -4
- package/src/styles/blueprint.css +102 -11
- package/src/styles/components.css +4 -4
- package/styles/blueprint.css +102 -11
- package/styles/components.css +4 -4
- package/styles.css +4 -4
- package/tooltip/src/styles/tooltip.css +7 -13
- package/types/frame-ui-ng-components-calendar.d.ts +14 -0
- package/types/frame-ui-ng-components-combobox.d.ts +1 -1
- package/types/frame-ui-ng-components-confirm-modal.d.ts +48 -0
- package/types/frame-ui-ng-components-context-menu.d.ts +2 -2
- package/types/frame-ui-ng-components-date-picker.d.ts +3 -1
- package/types/frame-ui-ng-components-dropdown-menu.d.ts +3 -3
- package/types/frame-ui-ng-components-input-otp.d.ts +1 -1
- package/types/frame-ui-ng-components-input.d.ts +6 -3
- package/types/frame-ui-ng-components-modal.d.ts +18 -7
- package/types/frame-ui-ng-components-select.d.ts +6 -3
- package/types/frame-ui-ng-components-sheet.d.ts +2 -0
- package/types/frame-ui-ng-components-sidebar.d.ts +8 -1
- package/types/frame-ui-ng-components-tooltip.d.ts +48 -73
- package/types/frame-ui-ng-components-utils.d.ts +5 -0
- package/types/frame-ui-ng-components.d.ts +87 -45
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { Type, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { Direction } from '@angular/cdk/bidi';
|
|
4
4
|
import { ComponentType } from '@angular/cdk/portal';
|
|
5
|
-
import {
|
|
5
|
+
import { DialogRef, DialogConfig } from '@angular/cdk/dialog';
|
|
6
6
|
import { FrButtonAppearance } from '@frame-ui-ng/components/button';
|
|
7
7
|
|
|
8
8
|
type FrModalFooterAction = {
|
|
@@ -35,13 +35,22 @@ declare class FrModalShell {
|
|
|
35
35
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FrModalShell, "frame-modal-shell", never, {}, {}, never, never, true, never>;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
declare abstract class FrModalRef<Component = unknown, Result = unknown> extends DialogRef<Result, Component> {
|
|
39
|
+
}
|
|
40
|
+
|
|
39
41
|
type FrModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
40
42
|
type FrModalConfig<Data = unknown, Result = unknown, Component = unknown> = DialogConfig<Data, DialogRef<Result, Component>> & {
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated Use `data` or the second `open()` argument instead.
|
|
45
|
+
*/
|
|
41
46
|
bodyData?: unknown;
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated Use `inputs` instead.
|
|
49
|
+
*/
|
|
42
50
|
bodyInputs?: Record<string, unknown>;
|
|
43
51
|
description?: string;
|
|
44
52
|
footerActions?: FrModalFooterAction[];
|
|
53
|
+
inputs?: Record<string, unknown>;
|
|
45
54
|
scrollable?: boolean;
|
|
46
55
|
showCloseButton?: boolean;
|
|
47
56
|
size?: FrModalSize;
|
|
@@ -50,8 +59,9 @@ type FrModalConfig<Data = unknown, Result = unknown, Component = unknown> = Dial
|
|
|
50
59
|
};
|
|
51
60
|
declare class FrModalService {
|
|
52
61
|
private readonly dialog;
|
|
53
|
-
open<Result = unknown, Data = unknown, Component = unknown>(content: ComponentType<Component>, config?: FrModalConfig<Data, Result, Component>): FrModalRef<
|
|
54
|
-
open<Result = unknown, Data = unknown,
|
|
62
|
+
open<Result = unknown, Data = unknown, Component = unknown>(content: ComponentType<Component>, config?: FrModalConfig<Data, Result, Component>): FrModalRef<Component, Result>;
|
|
63
|
+
open<Result = unknown, Data = unknown, Component = unknown>(content: ComponentType<Component>, data: Data, config?: Omit<FrModalConfig<Data, Result, Component>, 'data'>): FrModalRef<Component, Result>;
|
|
64
|
+
open<Result = unknown, Data = unknown, Context = unknown>(content: TemplateRef<Context>, config?: FrModalConfig<Data, Result, Context>): FrModalRef<Context, Result>;
|
|
55
65
|
closeAll(): void;
|
|
56
66
|
private withDefaultClasses;
|
|
57
67
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrModalService, never>;
|
|
@@ -119,6 +129,7 @@ declare class FrModalDescription {
|
|
|
119
129
|
}
|
|
120
130
|
|
|
121
131
|
declare const FR_MODAL_DATA: _angular_core.InjectionToken<any>;
|
|
132
|
+
declare const FR_MODAL_REF: typeof FrModalRef;
|
|
122
133
|
|
|
123
134
|
declare class FrModalTrigger {
|
|
124
135
|
private static readonly CUSTOM_PROPERTY_PREFIX;
|
|
@@ -129,7 +140,7 @@ declare class FrModalTrigger {
|
|
|
129
140
|
private modalRef;
|
|
130
141
|
readonly content: _angular_core.InputSignal<FrModalContent | TemplateRef<unknown> | null>;
|
|
131
142
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
132
|
-
readonly opened: _angular_core.OutputEmitterRef<FrModalRef
|
|
143
|
+
readonly opened: _angular_core.OutputEmitterRef<FrModalRef<unknown, unknown>>;
|
|
133
144
|
readonly closed: _angular_core.OutputEmitterRef<unknown>;
|
|
134
145
|
readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
135
146
|
open(): void;
|
|
@@ -144,5 +155,5 @@ declare class FrModalModule {
|
|
|
144
155
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FrModalModule>;
|
|
145
156
|
}
|
|
146
157
|
|
|
147
|
-
export { FR_MODAL_DATA, FrModalBody, FrModalClose, FrModalContent, FrModalDescription, FrModalFooter, FrModalHeader, FrModalModule, FrModalPanel, FrModalService, FrModalShell, FrModalTitle, FrModalTrigger };
|
|
148
|
-
export type { FrModalConfig, FrModalFooterAction,
|
|
158
|
+
export { FR_MODAL_DATA, FR_MODAL_REF, FrModalBody, FrModalClose, FrModalContent, FrModalDescription, FrModalFooter, FrModalHeader, FrModalModule, FrModalPanel, FrModalRef, FrModalService, FrModalShell, FrModalTitle, FrModalTrigger };
|
|
159
|
+
export type { FrModalConfig, FrModalFooterAction, FrModalShellOptions, FrModalSize };
|
|
@@ -56,6 +56,8 @@ declare class FrSelectPanel {
|
|
|
56
56
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FrSelectPanel, "[frSelectPanel], frame-select-panel", never, {}, {}, never, never, true, [{ directive: typeof i1.FrDropdownMenuPanel; inputs: {}; outputs: {}; }]>;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
declare const FR_SELECT_ICON_POSITIONS: readonly ["leading", "trailing"];
|
|
60
|
+
type FrSelectIconPosition = (typeof FR_SELECT_ICON_POSITIONS)[number];
|
|
59
61
|
declare class FrSelectValue {
|
|
60
62
|
private readonly select;
|
|
61
63
|
readonly placeholder: i0.InputSignal<string>;
|
|
@@ -69,8 +71,9 @@ declare class FrSelectItemIndicator {
|
|
|
69
71
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FrSelectItemIndicator, "[frSelectItemIndicator], frame-select-item-indicator", never, {}, {}, never, never, true, never>;
|
|
70
72
|
}
|
|
71
73
|
declare class FrSelectIcon {
|
|
74
|
+
readonly position: i0.InputSignal<"leading" | "trailing">;
|
|
72
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrSelectIcon, never>;
|
|
73
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FrSelectIcon, "[frSelectIcon], frame-select-icon", never, {}, {}, never, never, true, never>;
|
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrSelectIcon, "[frSelectIcon], frame-select-icon", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
74
77
|
}
|
|
75
78
|
declare class FrSelectError {
|
|
76
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrSelectError, never>;
|
|
@@ -110,5 +113,5 @@ declare class FrSelectModule {
|
|
|
110
113
|
static ɵinj: i0.ɵɵInjectorDeclaration<FrSelectModule>;
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
export { FR_SELECT_INDICATOR_POSITIONS, FR_SELECT_POSITIONS, FrSelect, FrSelectContent, FrSelectError, FrSelectGroup, FrSelectIcon, FrSelectItem, FrSelectItemIndicator, FrSelectLabel, FrSelectModule, FrSelectPanel, FrSelectSeparator, FrSelectValue };
|
|
114
|
-
export type { FrSelectIndicatorPosition, FrSelectPosition };
|
|
116
|
+
export { FR_SELECT_ICON_POSITIONS, FR_SELECT_INDICATOR_POSITIONS, FR_SELECT_POSITIONS, FrSelect, FrSelectContent, FrSelectError, FrSelectGroup, FrSelectIcon, FrSelectItem, FrSelectItemIndicator, FrSelectLabel, FrSelectModule, FrSelectPanel, FrSelectSeparator, FrSelectValue };
|
|
117
|
+
export type { FrSelectIconPosition, FrSelectIndicatorPosition, FrSelectPosition };
|
|
@@ -15,9 +15,11 @@ declare class FrSheetClose {
|
|
|
15
15
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrSheetClose, "[frSheetClose]", never, { "result": { "alias": "frSheetClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
17
17
|
declare class FrSheetPanel {
|
|
18
|
+
private readonly dialogRef;
|
|
18
19
|
readonly scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
19
20
|
readonly showCloseButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
21
|
readonly side: _angular_core.InputSignalWithTransform<"top" | "right" | "bottom" | "left", unknown>;
|
|
22
|
+
close(): void;
|
|
21
23
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrSheetPanel, never>;
|
|
22
24
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FrSheetPanel, "[frSheetPanel], frame-sheet-panel", never, { "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
23
25
|
}
|
|
@@ -45,8 +45,11 @@ declare class FrSidebar {
|
|
|
45
45
|
readonly side: i0.InputSignalWithTransform<"left" | "right", unknown>;
|
|
46
46
|
readonly variant: i0.InputSignalWithTransform<"sidebar" | "floating" | "inset", unknown>;
|
|
47
47
|
readonly collapsible: i0.InputSignalWithTransform<"offcanvas" | "icon" | "none", unknown>;
|
|
48
|
+
readonly minSize: i0.InputSignalWithTransform<number | null, unknown>;
|
|
49
|
+
readonly maxSize: i0.InputSignalWithTransform<number | null, unknown>;
|
|
50
|
+
readonly resizable: i0.InputSignalWithTransform<boolean, unknown>;
|
|
48
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrSidebar, never>;
|
|
49
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FrSidebar, "[frSidebar], frame-sidebar", never, { "side": { "alias": "side"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FrSidebar, "[frSidebar], frame-sidebar", never, { "side": { "alias": "side"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
50
53
|
}
|
|
51
54
|
declare class FrSidebarTrigger {
|
|
52
55
|
readonly provider: FrSidebarProvider | null;
|
|
@@ -64,11 +67,15 @@ declare class FrSidebarRail {
|
|
|
64
67
|
private suppressClick;
|
|
65
68
|
private frameId;
|
|
66
69
|
private pendingWidth;
|
|
70
|
+
private resizeMinSize;
|
|
71
|
+
private resizeMaxSize;
|
|
67
72
|
readonly provider: FrSidebarProvider | null;
|
|
68
73
|
toggle(): void;
|
|
69
74
|
startResize(event: PointerEvent): void;
|
|
70
75
|
private resize;
|
|
71
76
|
private flushResize;
|
|
77
|
+
private captureResizeBounds;
|
|
78
|
+
private measureContentMinSize;
|
|
72
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrSidebarRail, never>;
|
|
73
80
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FrSidebarRail, "[frSidebarRail], frame-sidebar-rail", never, {}, {}, never, never, true, never>;
|
|
74
81
|
}
|
|
@@ -1,87 +1,62 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef } from '@angular/core';
|
|
3
|
-
import { ConnectedPosition, ConnectedOverlayPositionChange } from '@angular/cdk/overlay';
|
|
2
|
+
import { AfterViewInit, TemplateRef } from '@angular/core';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
open(): void;
|
|
13
|
-
close(): void;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
declare class FrTooltipContent {
|
|
17
|
-
readonly templateRef: TemplateRef<any>;
|
|
18
|
-
readonly id: string;
|
|
4
|
+
declare class FrTooltipDirective implements AfterViewInit {
|
|
5
|
+
private readonly destroyRef;
|
|
6
|
+
private readonly document;
|
|
7
|
+
private readonly elementRef;
|
|
8
|
+
private readonly overlay;
|
|
9
|
+
private readonly platformId;
|
|
10
|
+
readonly content: _angular_core.InputSignal<string | TemplateRef<unknown> | null>;
|
|
19
11
|
readonly align: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
20
12
|
readonly alignOffset: _angular_core.InputSignal<number>;
|
|
21
13
|
readonly arrow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
|
-
readonly
|
|
14
|
+
readonly closeDelay: _angular_core.InputSignal<number>;
|
|
15
|
+
readonly openDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
23
16
|
readonly side: _angular_core.InputSignal<"top" | "right" | "bottom" | "left">;
|
|
24
17
|
readonly sideOffset: _angular_core.InputSignal<number>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrTooltipContent, "ng-template[frTooltipContent]", ["frTooltipContent"], { "align": { "alias": "align"; "required": false; "isSignal": true; }; "alignOffset": { "alias": "alignOffset"; "required": false; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": false; "isSignal": true; }; "debugVisible": { "alias": "debugVisible"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "sideOffset": { "alias": "sideOffset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
29
|
-
declare class FrTooltipPanel {
|
|
30
|
-
protected readonly content: FrTooltipContent;
|
|
31
|
-
protected readonly root: FrTooltipController;
|
|
32
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrTooltipPanel, never>;
|
|
33
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrTooltipPanel, "[frTooltipPanel]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
35
|
-
declare class FrTooltipShortcut {
|
|
36
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrTooltipShortcut, never>;
|
|
37
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrTooltipShortcut, "[frTooltipShortcut]", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
declare class FrTooltipRoot {
|
|
41
|
-
private readonly elementRef;
|
|
42
|
-
readonly openDelay: _angular_core.InputSignal<number>;
|
|
43
|
-
readonly closeDelay: _angular_core.InputSignal<number>;
|
|
44
|
-
readonly defaultOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
45
|
-
readonly debugVisible: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
46
|
-
readonly openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
47
|
-
readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
48
|
-
readonly content: _angular_core.WritableSignal<FrTooltipContent | null>;
|
|
49
|
-
readonly overlaySide: _angular_core.WritableSignal<string>;
|
|
50
|
-
private openTimer;
|
|
18
|
+
protected readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
19
|
+
protected readonly tooltipId: string;
|
|
51
20
|
private closeTimer;
|
|
21
|
+
private disabledObserver;
|
|
22
|
+
private openTimer;
|
|
23
|
+
private overlayRef;
|
|
24
|
+
private panelRef;
|
|
25
|
+
private arrowFrameId;
|
|
26
|
+
private currentSide;
|
|
27
|
+
private pendingArrowSide;
|
|
52
28
|
private triggerElement;
|
|
53
|
-
|
|
29
|
+
private wrapped;
|
|
30
|
+
private wrapper;
|
|
31
|
+
private teardownListeners;
|
|
54
32
|
constructor();
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
private
|
|
65
|
-
private
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
private bindTriggerEvents;
|
|
35
|
+
private ensureDisabledHostWrapper;
|
|
36
|
+
private observeDisabledState;
|
|
37
|
+
private openWithDelay;
|
|
38
|
+
private closeWithDelay;
|
|
39
|
+
private open;
|
|
40
|
+
private close;
|
|
41
|
+
private createOverlay;
|
|
42
|
+
private positions;
|
|
43
|
+
private handlePositionChange;
|
|
44
|
+
private updatePanelInputs;
|
|
66
45
|
private syncCustomPropertiesToOverlay;
|
|
67
|
-
private scheduleCustomPropertySync;
|
|
68
46
|
private copyCustomProperties;
|
|
69
|
-
|
|
70
|
-
|
|
47
|
+
private scheduleArrowPosition;
|
|
48
|
+
private syncArrowPosition;
|
|
49
|
+
private listen;
|
|
50
|
+
private cancelOpen;
|
|
51
|
+
private cancelClose;
|
|
52
|
+
private destroy;
|
|
53
|
+
private teardownTriggerListeners;
|
|
54
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrTooltipDirective, never>;
|
|
55
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrTooltipDirective, "[frTooltip]", never, { "content": { "alias": "frTooltip"; "required": false; "isSignal": true; }; "align": { "alias": "frTooltipAlign"; "required": false; "isSignal": true; }; "alignOffset": { "alias": "frTooltipAlignOffset"; "required": false; "isSignal": true; }; "arrow": { "alias": "frTooltipArrow"; "required": false; "isSignal": true; }; "closeDelay": { "alias": "frTooltipCloseDelay"; "required": false; "isSignal": true; }; "openDelay": { "alias": "frTooltipOpenDelay"; "required": false; "isSignal": true; }; "side": { "alias": "frTooltipSide"; "required": false; "isSignal": true; }; "sideOffset": { "alias": "frTooltipSideOffset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
71
56
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
protected readonly root: FrTooltipController;
|
|
76
|
-
private readonly elementRef;
|
|
77
|
-
constructor();
|
|
78
|
-
protected handleMouseEnter(): void;
|
|
79
|
-
protected handleMouseLeave(): void;
|
|
80
|
-
protected handleFocusIn(): void;
|
|
81
|
-
protected handleFocusOut(): void;
|
|
82
|
-
protected handleKeydown(event: KeyboardEvent): void;
|
|
83
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrTooltipTrigger, never>;
|
|
84
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrTooltipTrigger, "[frTooltipTrigger]", never, { "content": { "alias": "frTooltipTrigger"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
57
|
+
declare class FrTooltipShortcut {
|
|
58
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrTooltipShortcut, never>;
|
|
59
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrTooltipShortcut, "[frTooltipShortcut]", never, {}, {}, never, never, true, never>;
|
|
85
60
|
}
|
|
86
61
|
|
|
87
62
|
declare const FR_TOOLTIP_SIDES: readonly ["top", "right", "bottom", "left"];
|
|
@@ -91,9 +66,9 @@ type FrTooltipAlignment = (typeof FR_TOOLTIP_ALIGNMENTS)[number];
|
|
|
91
66
|
|
|
92
67
|
declare class FrTooltipModule {
|
|
93
68
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrTooltipModule, never>;
|
|
94
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FrTooltipModule, never, [typeof
|
|
69
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FrTooltipModule, never, [typeof FrTooltipDirective, typeof FrTooltipShortcut], [typeof FrTooltipDirective, typeof FrTooltipShortcut]>;
|
|
95
70
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FrTooltipModule>;
|
|
96
71
|
}
|
|
97
72
|
|
|
98
|
-
export { FR_TOOLTIP_ALIGNMENTS, FR_TOOLTIP_SIDES,
|
|
73
|
+
export { FR_TOOLTIP_ALIGNMENTS, FR_TOOLTIP_SIDES, FrTooltipDirective, FrTooltipModule, FrTooltipShortcut };
|
|
99
74
|
export type { FrTooltipAlignment, FrTooltipSide };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare function clampNumber(value: number, min: number, max: number): number;
|
|
2
|
+
declare function coerceNumber(value: unknown, fallback: number): number;
|
|
3
|
+
declare function parseCssPixelValue(value: string, fallback: number): number;
|
|
4
|
+
|
|
5
|
+
export { clampNumber, coerceNumber, parseCssPixelValue };
|