@frame-ui-ng/components 0.3.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 +5 -1
- package/button-group/src/styles/button-group.css +6 -0
- 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-confirm-modal.mjs +162 -0
- package/fesm2022/frame-ui-ng-components-confirm-modal.mjs.map +1 -0
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs +1 -1
- 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-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-sheet.mjs +19 -16
- package/fesm2022/frame-ui-ng-components-sheet.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-sidebar.mjs +19 -13
- 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 +44 -0
- 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 +353 -296
- package/fesm2022/frame-ui-ng-components.mjs.map +1 -1
- package/item/src/styles/item.css +188 -187
- package/modal/src/styles/modal.css +10 -1
- package/package.json +10 -2
- package/sidebar/src/styles/sidebar.css +10 -4
- package/src/styles/blueprint.css +98 -0
- package/src/styles/components.css +4 -4
- package/styles/blueprint.css +98 -0
- package/styles/components.css +4 -4
- package/styles.css +4 -4
- package/tooltip/src/styles/tooltip.css +4 -4
- 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-input-otp.d.ts +1 -1
- package/types/frame-ui-ng-components-modal.d.ts +18 -7
- package/types/frame-ui-ng-components-sheet.d.ts +2 -0
- package/types/frame-ui-ng-components-sidebar.d.ts +2 -2
- package/types/frame-ui-ng-components-tooltip.d.ts +5 -0
- package/types/frame-ui-ng-components-utils.d.ts +5 -0
- package/types/frame-ui-ng-components.d.ts +68 -55
package/styles/blueprint.css
CHANGED
|
@@ -657,3 +657,101 @@
|
|
|
657
657
|
.frame-tooltip__content {
|
|
658
658
|
--frame-blueprint-corner-inset: 0.125rem;
|
|
659
659
|
}
|
|
660
|
+
|
|
661
|
+
:root[data-frame-corner-handles='false']
|
|
662
|
+
:where(
|
|
663
|
+
[frAccordion],
|
|
664
|
+
[frAlert],
|
|
665
|
+
frame-alert,
|
|
666
|
+
[frAvatar],
|
|
667
|
+
frame-avatar,
|
|
668
|
+
[frBadge],
|
|
669
|
+
frame-badge,
|
|
670
|
+
[frBreadcrumb],
|
|
671
|
+
frame-breadcrumb,
|
|
672
|
+
[frCalendar],
|
|
673
|
+
frame-calendar,
|
|
674
|
+
[frCard],
|
|
675
|
+
frame-card,
|
|
676
|
+
[frCheckbox],
|
|
677
|
+
frame-checkbox,
|
|
678
|
+
[frCombobox],
|
|
679
|
+
[frCommand],
|
|
680
|
+
[frCommandInput],
|
|
681
|
+
[frCommandItem],
|
|
682
|
+
[frCommandList],
|
|
683
|
+
[frCommandGroup],
|
|
684
|
+
[frCommandFooter],
|
|
685
|
+
frame-command,
|
|
686
|
+
frame-command-input,
|
|
687
|
+
frame-command-item,
|
|
688
|
+
frame-command-list,
|
|
689
|
+
frame-command-group,
|
|
690
|
+
frame-command-footer,
|
|
691
|
+
[frInput],
|
|
692
|
+
frame-input,
|
|
693
|
+
[frInputGroup],
|
|
694
|
+
frame-input-group,
|
|
695
|
+
[frItem],
|
|
696
|
+
frame-item,
|
|
697
|
+
[frProgress],
|
|
698
|
+
frame-progress,
|
|
699
|
+
[frRadioGroup],
|
|
700
|
+
frame-radio-group,
|
|
701
|
+
[frSelect],
|
|
702
|
+
[frSeparator],
|
|
703
|
+
frame-separator,
|
|
704
|
+
[frSkeleton],
|
|
705
|
+
frame-skeleton,
|
|
706
|
+
[frSlider],
|
|
707
|
+
frame-slider,
|
|
708
|
+
[frSwitch],
|
|
709
|
+
frame-switch,
|
|
710
|
+
[frTable],
|
|
711
|
+
[frTableContainer],
|
|
712
|
+
[frTableVirtual],
|
|
713
|
+
frame-table,
|
|
714
|
+
frame-table-container,
|
|
715
|
+
frame-table-virtual,
|
|
716
|
+
[frTabsList],
|
|
717
|
+
frame-tabs-list,
|
|
718
|
+
[frToggle],
|
|
719
|
+
frame-toggle,
|
|
720
|
+
[frVirtualViewport],
|
|
721
|
+
frame-virtual-viewport,
|
|
722
|
+
[frVirtualList],
|
|
723
|
+
frame-virtual-list,
|
|
724
|
+
frame-input-otp,
|
|
725
|
+
.frame-button,
|
|
726
|
+
.frame-button-group,
|
|
727
|
+
[frButtonGroup],
|
|
728
|
+
frame-button-group,
|
|
729
|
+
.frame-combobox__panel,
|
|
730
|
+
.frame-date-picker__content,
|
|
731
|
+
.frame-dropdown-menu__content,
|
|
732
|
+
.frame-hover-card__content,
|
|
733
|
+
.frame-modal__panel,
|
|
734
|
+
.frame-navigation-menu__viewport,
|
|
735
|
+
.frame-popover__content,
|
|
736
|
+
.frame-sheet__panel,
|
|
737
|
+
.frame-toast,
|
|
738
|
+
.frame-tooltip__content
|
|
739
|
+
)::before {
|
|
740
|
+
content: none;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
:root[data-frame-corner-handles='false']
|
|
744
|
+
:where(
|
|
745
|
+
[frTableContainer],
|
|
746
|
+
frame-table-container,
|
|
747
|
+
[frTableVirtual],
|
|
748
|
+
frame-table-virtual,
|
|
749
|
+
[frVirtualViewport],
|
|
750
|
+
frame-virtual-viewport,
|
|
751
|
+
[frVirtualList],
|
|
752
|
+
frame-virtual-list,
|
|
753
|
+
.frame-combobox__panel,
|
|
754
|
+
.frame-navigation-menu__viewport
|
|
755
|
+
) {
|
|
756
|
+
background-image: none;
|
|
757
|
+
}
|
package/styles/components.css
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
@import '../../button/src/styles/button.css';
|
|
5
5
|
@import '../../button-group/src/styles/button-group.css';
|
|
6
6
|
@import '../../breadcrumb/src/styles/breadcrumb.css';
|
|
7
|
-
@import '../../calendar/src/styles/calendar.css';
|
|
8
|
-
@import '../../card/src/styles/card.css';
|
|
9
|
-
@import '../../carousel/src/styles/carousel.css';
|
|
10
|
-
@import '../../checkbox/src/styles/checkbox.css';
|
|
7
|
+
@import '../../calendar/src/styles/calendar.css';
|
|
8
|
+
@import '../../card/src/styles/card.css';
|
|
9
|
+
@import '../../carousel/src/styles/carousel.css';
|
|
10
|
+
@import '../../checkbox/src/styles/checkbox.css';
|
|
11
11
|
@import '../../collapsible/src/styles/collapsible.css';
|
|
12
12
|
@import '../../command/src/styles/command.css';
|
|
13
13
|
@import '../../combobox/src/styles/combobox.css';
|
package/styles.css
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
@import './button/src/styles/button.css';
|
|
7
7
|
@import './button-group/src/styles/button-group.css';
|
|
8
8
|
@import './breadcrumb/src/styles/breadcrumb.css';
|
|
9
|
-
@import './calendar/src/styles/calendar.css';
|
|
10
|
-
@import './card/src/styles/card.css';
|
|
11
|
-
@import './carousel/src/styles/carousel.css';
|
|
12
|
-
@import './checkbox/src/styles/checkbox.css';
|
|
9
|
+
@import './calendar/src/styles/calendar.css';
|
|
10
|
+
@import './card/src/styles/card.css';
|
|
11
|
+
@import './carousel/src/styles/carousel.css';
|
|
12
|
+
@import './checkbox/src/styles/checkbox.css';
|
|
13
13
|
@import './collapsible/src/styles/collapsible.css';
|
|
14
14
|
@import './command/src/styles/command.css';
|
|
15
15
|
@import './combobox/src/styles/combobox.css';
|
|
@@ -50,21 +50,21 @@
|
|
|
50
50
|
|
|
51
51
|
.frame-tooltip__content[data-arrow][data-side='top']::after {
|
|
52
52
|
inset-block-end: calc(var(--frame-tooltip-arrow-size) / -2);
|
|
53
|
-
inset-inline-start: calc(50% - var(--frame-tooltip-arrow-size) / 2);
|
|
53
|
+
inset-inline-start: var(--frame-tooltip-arrow-x, calc(50% - var(--frame-tooltip-arrow-size) / 2));
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.frame-tooltip__content[data-arrow][data-side='bottom']::after {
|
|
57
57
|
inset-block-start: calc(var(--frame-tooltip-arrow-size) / -2);
|
|
58
|
-
inset-inline-start: calc(50% - var(--frame-tooltip-arrow-size) / 2);
|
|
58
|
+
inset-inline-start: var(--frame-tooltip-arrow-x, calc(50% - var(--frame-tooltip-arrow-size) / 2));
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.frame-tooltip__content[data-arrow][data-side='left']::after {
|
|
62
|
-
inset-block-start: calc(50% - var(--frame-tooltip-arrow-size) / 2);
|
|
62
|
+
inset-block-start: var(--frame-tooltip-arrow-y, calc(50% - var(--frame-tooltip-arrow-size) / 2));
|
|
63
63
|
inset-inline-end: calc(var(--frame-tooltip-arrow-size) / -2);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.frame-tooltip__content[data-arrow][data-side='right']::after {
|
|
67
|
-
inset-block-start: calc(50% - var(--frame-tooltip-arrow-size) / 2);
|
|
67
|
+
inset-block-start: var(--frame-tooltip-arrow-y, calc(50% - var(--frame-tooltip-arrow-size) / 2));
|
|
68
68
|
inset-inline-start: calc(var(--frame-tooltip-arrow-size) / -2);
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -79,7 +79,7 @@ declare class FrCombobox extends FrControlValueAccessor<FrComboboxValue | FrComb
|
|
|
79
79
|
private readonly itemsVersion;
|
|
80
80
|
private readonly selectedLabels;
|
|
81
81
|
private resizeObserver;
|
|
82
|
-
private origin
|
|
82
|
+
private readonly origin;
|
|
83
83
|
readonly content: i0.Signal<FrComboboxContent | undefined>;
|
|
84
84
|
readonly autoHighlight: i0.InputSignalWithTransform<boolean, unknown>;
|
|
85
85
|
readonly debugVisible: i0.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { FrModalConfig, FrModalRef } from '@frame-ui-ng/components/modal';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
|
|
4
|
+
type FrConfirmModalResult = 'cancel' | 'confirm';
|
|
5
|
+
type FrConfirmModalData = {
|
|
6
|
+
cancelLabel: string;
|
|
7
|
+
confirmLabel: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
title: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
type FrConfirmModalConfig = Omit<FrModalConfig<FrConfirmModalData, FrConfirmModalResult, unknown>, 'data' | 'description' | 'footerActions' | 'inputs' | 'showCloseButton' | 'size' | 'title'> & {
|
|
13
|
+
cancelLabel?: string;
|
|
14
|
+
confirmLabel?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
title?: string;
|
|
17
|
+
};
|
|
18
|
+
declare class FrConfirmModalService {
|
|
19
|
+
private readonly modal;
|
|
20
|
+
open(config?: FrConfirmModalConfig): FrModalRef<unknown, FrConfirmModalResult>;
|
|
21
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrConfirmModalService, never>;
|
|
22
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FrConfirmModalService>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class FrConfirmModalTrigger {
|
|
26
|
+
private readonly confirmModal;
|
|
27
|
+
readonly config: _angular_core.InputSignal<string | FrConfirmModalConfig>;
|
|
28
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
29
|
+
readonly description: _angular_core.InputSignal<string | undefined>;
|
|
30
|
+
readonly cancelLabel: _angular_core.InputSignal<string | undefined>;
|
|
31
|
+
readonly confirmLabel: _angular_core.InputSignal<string | undefined>;
|
|
32
|
+
readonly closed: _angular_core.OutputEmitterRef<FrConfirmModalResult | undefined>;
|
|
33
|
+
readonly cancelled: _angular_core.OutputEmitterRef<void>;
|
|
34
|
+
readonly confirmed: _angular_core.OutputEmitterRef<void>;
|
|
35
|
+
open(): void;
|
|
36
|
+
private resolvedConfig;
|
|
37
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrConfirmModalTrigger, never>;
|
|
38
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FrConfirmModalTrigger, "[frConfirmModal]", ["frConfirmModal"], { "config": { "alias": "frConfirmModal"; "required": false; "isSignal": true; }; "title": { "alias": "frConfirmModalTitle"; "required": false; "isSignal": true; }; "description": { "alias": "frConfirmModalDescription"; "required": false; "isSignal": true; }; "cancelLabel": { "alias": "frConfirmModalCancelLabel"; "required": false; "isSignal": true; }; "confirmLabel": { "alias": "frConfirmModalConfirmLabel"; "required": false; "isSignal": true; }; }, { "closed": "frConfirmModalClosed"; "cancelled": "frConfirmModalCancelled"; "confirmed": "frConfirmModalConfirmed"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare class FrConfirmModalModule {
|
|
42
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FrConfirmModalModule, never>;
|
|
43
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FrConfirmModalModule, never, [typeof FrConfirmModalTrigger], [typeof FrConfirmModalTrigger]>;
|
|
44
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FrConfirmModalModule>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { FrConfirmModalModule, FrConfirmModalService, FrConfirmModalTrigger };
|
|
48
|
+
export type { FrConfirmModalConfig, FrConfirmModalData, FrConfirmModalResult };
|
|
@@ -12,7 +12,7 @@ type FrInputOtpController = {
|
|
|
12
12
|
invalid: () => boolean;
|
|
13
13
|
};
|
|
14
14
|
declare class FrInputOtp extends FrControlValueAccessor<string> {
|
|
15
|
-
private readonly nativeInput
|
|
15
|
+
private readonly nativeInput;
|
|
16
16
|
readonly maxLength: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
17
17
|
readonly pattern: _angular_core.InputSignal<FrInputOtpPattern>;
|
|
18
18
|
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -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 };
|
|
@@ -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
|
}
|
|
@@ -47,8 +47,9 @@ declare class FrSidebar {
|
|
|
47
47
|
readonly collapsible: i0.InputSignalWithTransform<"offcanvas" | "icon" | "none", unknown>;
|
|
48
48
|
readonly minSize: i0.InputSignalWithTransform<number | null, unknown>;
|
|
49
49
|
readonly maxSize: i0.InputSignalWithTransform<number | null, unknown>;
|
|
50
|
+
readonly resizable: i0.InputSignalWithTransform<boolean, unknown>;
|
|
50
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrSidebar, never>;
|
|
51
|
-
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; }; }, {}, 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>;
|
|
52
53
|
}
|
|
53
54
|
declare class FrSidebarTrigger {
|
|
54
55
|
readonly provider: FrSidebarProvider | null;
|
|
@@ -73,7 +74,6 @@ declare class FrSidebarRail {
|
|
|
73
74
|
startResize(event: PointerEvent): void;
|
|
74
75
|
private resize;
|
|
75
76
|
private flushResize;
|
|
76
|
-
private clampWidth;
|
|
77
77
|
private captureResizeBounds;
|
|
78
78
|
private measureContentMinSize;
|
|
79
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrSidebarRail, never>;
|
|
@@ -22,6 +22,9 @@ declare class FrTooltipDirective implements AfterViewInit {
|
|
|
22
22
|
private openTimer;
|
|
23
23
|
private overlayRef;
|
|
24
24
|
private panelRef;
|
|
25
|
+
private arrowFrameId;
|
|
26
|
+
private currentSide;
|
|
27
|
+
private pendingArrowSide;
|
|
25
28
|
private triggerElement;
|
|
26
29
|
private wrapped;
|
|
27
30
|
private wrapper;
|
|
@@ -41,6 +44,8 @@ declare class FrTooltipDirective implements AfterViewInit {
|
|
|
41
44
|
private updatePanelInputs;
|
|
42
45
|
private syncCustomPropertiesToOverlay;
|
|
43
46
|
private copyCustomProperties;
|
|
47
|
+
private scheduleArrowPosition;
|
|
48
|
+
private syncArrowPosition;
|
|
44
49
|
private listen;
|
|
45
50
|
private cancelOpen;
|
|
46
51
|
private cancelClose;
|
|
@@ -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 };
|