@raintonic/formaui 0.9.2 → 0.9.3
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/fesm2022/raintonic-formaui-components-alert.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-avatar.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-avatar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-card.mjs +78 -8
- package/fesm2022/raintonic-formaui-components-card.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-chip.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-chip.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-data-table.mjs +80 -11
- package/fesm2022/raintonic-formaui-components-data-table.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-drawer.mjs +37 -6
- package/fesm2022/raintonic-formaui-components-drawer.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-dual-tier-navigation.mjs +1 -1
- package/fesm2022/raintonic-formaui-components-dual-tier-navigation.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-form-field.mjs +21 -2
- package/fesm2022/raintonic-formaui-components-form-field.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-input.mjs +14 -0
- package/fesm2022/raintonic-formaui-components-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-select.mjs +13 -5
- package/fesm2022/raintonic-formaui-components-select.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-side-panel.mjs +40 -6
- package/fesm2022/raintonic-formaui-components-side-panel.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-toggle-group.mjs +16 -5
- package/fesm2022/raintonic-formaui-components-toggle-group.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-toolbar.mjs +10 -4
- package/fesm2022/raintonic-formaui-components-toolbar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tooltip.mjs +102 -8
- package/fesm2022/raintonic-formaui-components-tooltip.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-dialog.mjs +8 -4
- package/fesm2022/raintonic-formaui-services-dialog.mjs.map +1 -1
- package/fesm2022/raintonic-formaui.mjs +1 -1
- package/fesm2022/raintonic-formaui.mjs.map +1 -1
- package/llms-full.txt +64 -19
- package/package.json +1 -1
- package/styles/generated/_tokens.scss +1 -1
- package/styles/partials/components/_dialog.scss +24 -0
- package/styles/styles.css +16 -1
- package/types/raintonic-formaui-components-card.d.ts +46 -2
- package/types/raintonic-formaui-components-card.d.ts.map +1 -1
- package/types/raintonic-formaui-components-data-table.d.ts +50 -3
- package/types/raintonic-formaui-components-data-table.d.ts.map +1 -1
- package/types/raintonic-formaui-components-drawer.d.ts +20 -2
- package/types/raintonic-formaui-components-drawer.d.ts.map +1 -1
- package/types/raintonic-formaui-components-form-field.d.ts +10 -0
- package/types/raintonic-formaui-components-form-field.d.ts.map +1 -1
- package/types/raintonic-formaui-components-input.d.ts +9 -0
- package/types/raintonic-formaui-components-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-select.d.ts +8 -1
- package/types/raintonic-formaui-components-select.d.ts.map +1 -1
- package/types/raintonic-formaui-components-side-panel.d.ts +24 -2
- package/types/raintonic-formaui-components-side-panel.d.ts.map +1 -1
- package/types/raintonic-formaui-components-toggle-group.d.ts +1 -1
- package/types/raintonic-formaui-components-toggle-group.d.ts.map +1 -1
- package/types/raintonic-formaui-components-toolbar.d.ts +5 -1
- package/types/raintonic-formaui-components-toolbar.d.ts.map +1 -1
- package/types/raintonic-formaui-components-tooltip.d.ts +55 -4
- package/types/raintonic-formaui-components-tooltip.d.ts.map +1 -1
- package/types/raintonic-formaui-services-dialog.d.ts +12 -1
- package/types/raintonic-formaui-services-dialog.d.ts.map +1 -1
- package/types/raintonic-formaui.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-components-input.d.ts","sources":["../../../lib/components/input/input.directive.ts"],"mappings":";;;;;;AA8BA;;AAEG;AACG,KAAM,YAAY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AAW;AACtB,aAAS,WAAW;AAGpB,cAAU,cAAc;AAExB,uBAAmB,WAAW,CAAC,iBAAiB;4BAC1B,aAAA,CAAA,wBAAA;uBAIL,MAAA;0BAGG,aAAA,CAAA,gBAAA;AAGpB;sBACgB,cAAA;2BACK,OAAA;AAErB;oBACc,cAAA;AACd;AACA;;AAEA;AAGA;yBACmB,cAAA;;;;AAQnB;oBAIc,MAAA;;;;AAcd;AAEA,qBAAiB,SAAS;;AAmC1B;AAaA;AAgBA;;AAaA;AAIA;AAIA;AAKA,6BAAyB,UAAU;AAMnC;AAMA,mBAAe,KAAK;AAgBpB,oBAAgB,KAAK;AAerB;AAQA;AASA;AAIA;AAIA;;;;;;;AAOG;AACH;AAOA;;;AAGG;AACH;AAQA;;AAEG;AACH;;AAKA;oDA/QW,iBAAiB;sDAAjB,iBAAiB;AAkR7B;;;;","names":[]}
|
|
@@ -240,6 +240,13 @@ declare class FuiSelectComponent implements ControlValueAccessor, FuiFormFieldCo
|
|
|
240
240
|
readonly disabledInput: InputSignal<boolean>;
|
|
241
241
|
readonly readonlyInput: InputSignal<boolean>;
|
|
242
242
|
readonly multiple: InputSignal<boolean>;
|
|
243
|
+
/**
|
|
244
|
+
* When `true`, drops the `min-width` floor so the select can shrink to fit
|
|
245
|
+
* its selected value instead of holding a stable minimum width. Only visible
|
|
246
|
+
* where the container lets the field size to its content; no visible change
|
|
247
|
+
* when the field is stretched to a fixed or full width.
|
|
248
|
+
*/
|
|
249
|
+
readonly short: i0.InputSignalWithTransform<boolean, unknown>;
|
|
243
250
|
/**
|
|
244
251
|
* Comparison function for option values.
|
|
245
252
|
* Defaults to strict equality (`===`). Override when options use object
|
|
@@ -330,7 +337,7 @@ declare class FuiSelectComponent implements ControlValueAccessor, FuiFormFieldCo
|
|
|
330
337
|
/** @internal Helper to check if a value is an array. Used by tests. */
|
|
331
338
|
isArray(value: unknown): value is unknown[];
|
|
332
339
|
static ɵfac: i0.ɵɵFactoryDeclaration<FuiSelectComponent, never>;
|
|
333
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FuiSelectComponent, "fui-select", never, { "placeholderInput": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonlyInput": { "alias": "readonly"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "selectionChange": "selectionChange"; "openedChange": "openedChange"; }, ["options"], ["*"], true, [{ directive: typeof i1.FuiPopupOverlayDirective; inputs: { "positions": "positions"; "panelClass": "panelClass"; "backdropClass": "backdropClass"; "scrollStrategy": "scrollStrategy"; "minWidthFromTrigger": "minWidthFromTrigger"; }; outputs: { "openedChange": "openedChange"; "escapeKey": "escapeKey"; }; }, { directive: typeof i1.FuiFormControlSyncDirective; inputs: {}; outputs: {}; }]>;
|
|
340
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FuiSelectComponent, "fui-select", never, { "placeholderInput": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonlyInput": { "alias": "readonly"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "short": { "alias": "short"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "selectionChange": "selectionChange"; "openedChange": "openedChange"; }, ["options"], ["*"], true, [{ directive: typeof i1.FuiPopupOverlayDirective; inputs: { "positions": "positions"; "panelClass": "panelClass"; "backdropClass": "backdropClass"; "scrollStrategy": "scrollStrategy"; "minWidthFromTrigger": "minWidthFromTrigger"; }; outputs: { "openedChange": "openedChange"; "escapeKey": "escapeKey"; }; }, { directive: typeof i1.FuiFormControlSyncDirective; inputs: {}; outputs: {}; }]>;
|
|
334
341
|
}
|
|
335
342
|
|
|
336
343
|
export { FUI_OPTION, FUI_SELECT, FuiOptionBase, FuiOptionComponent, FuiSelectComponent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-components-select.d.ts","sources":["../../../lib/components/select/option-base.ts","../../../lib/components/select/option.component.ts","../../../lib/components/select/select-tokens.ts","../../../lib/components/select/select.component.ts"],"mappings":";;;;;;;;AAkBA;;;;;;AAMG;AACH,cAAa,UAAU,EAAA,cAAA,CAAA,aAAA;AAEvB;;;;;;;;AAQG;AACH,uBACsB,aAAc,YAAW,SAAS;;AAGtD;;AAEG;AACH,oBAAgB,WAAW;AAE3B;;;AAGG;AACH,uBAAmB,WAAW;AAE9B;;AAEG;AACH,8BAA0B,gBAAgB;gBAAW,aAAa;;AAAkB;AAGpF,wBAAoB,cAAc;AAClC,sBAAkB,cAAc;2BACX,OAAA;iCAGQ,UAAU,CAAC,WAAW;AAGnD,sCAAgC,oCAAA,CAAA,eAAA;;AAKhC;;AAUA,wBAAoB,KAAK;AAgBzB;AAOA;AAIA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAIA;;AAEG;AACH,uBAAmB,WAAW;;AAK9B;yCAvIoB,aAAa;2CAAb,aAAa;AA0IlC;;AC1KD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDG;AACH,cAuCa,kBAAmB,SAAQ,aAAa;;AAEnD,6BAAyB,MAAM;yCAFpB,kBAAkB;2CAAlB,kBAAkB;AAG9B;;AC/FD;;;AAGG;UACc,eAAe;;AAE9B;AACD;AAED;;AAEG;AACH,cAAa,UAAU,EAAA,cAAA,CAAA,eAAA;;
|
|
1
|
+
{"version":3,"file":"raintonic-formaui-components-select.d.ts","sources":["../../../lib/components/select/option-base.ts","../../../lib/components/select/option.component.ts","../../../lib/components/select/select-tokens.ts","../../../lib/components/select/select.component.ts"],"mappings":";;;;;;;;AAkBA;;;;;;AAMG;AACH,cAAa,UAAU,EAAA,cAAA,CAAA,aAAA;AAEvB;;;;;;;;AAQG;AACH,uBACsB,aAAc,YAAW,SAAS;;AAGtD;;AAEG;AACH,oBAAgB,WAAW;AAE3B;;;AAGG;AACH,uBAAmB,WAAW;AAE9B;;AAEG;AACH,8BAA0B,gBAAgB;gBAAW,aAAa;;AAAkB;AAGpF,wBAAoB,cAAc;AAClC,sBAAkB,cAAc;2BACX,OAAA;iCAGQ,UAAU,CAAC,WAAW;AAGnD,sCAAgC,oCAAA,CAAA,eAAA;;AAKhC;;AAUA,wBAAoB,KAAK;AAgBzB;AAOA;AAIA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAOA;;AAEG;AACH;AAIA;;AAEG;AACH,uBAAmB,WAAW;;AAK9B;yCAvIoB,aAAa;2CAAb,aAAa;AA0IlC;;AC1KD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDG;AACH,cAuCa,kBAAmB,SAAQ,aAAa;;AAEnD,6BAAyB,MAAM;yCAFpB,kBAAkB;2CAAlB,kBAAkB;AAG9B;;AC/FD;;;AAGG;UACc,eAAe;;AAE9B;AACD;AAED;;AAEG;AACH,cAAa,UAAU,EAAA,cAAA,CAAA,eAAA;;ACmCvB;;AAEG;AACG,KAAM,aAAa;AAEzB;;AAEG;KACS,gBAAgB;AAE5B;;AAEG;UACc,eAAe;YACtB,kBAAkB;;AAE3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DG;AACH,cA0Ca,kBACX,YAAW,oBAAoB,EAAE,mBAAmB,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa;;;AAOhG;AACA;AAGA;AAGA,+BAA2B,WAAW;AACtC,4BAAwB,WAAW;AACnC,4BAAwB,WAAW;AACnC,uBAAmB,WAAW;AAE9B;;;;;AAKG;oBACWA,EAAA,CAAA,wBAAA;AAEd;;;;AAIG;AACH,0BAAsB,WAAW;gCAIL,WAAW,CAAC,iBAAiB;AAGzD,0BAAsB,gBAAgB;AACtC,8BAA0B,gBAAgB,CAAC,eAAe;AAC1D,2BAAuB,gBAAgB;AAGvC;AACA;AACA;2BAEqB,OAAA;;AAErB;AAGA;yBACmB,cAAA;AAGnB;AACA,qBAAiB,SAAS;0BAKN,MAAA;AACpB;uBACiB,cAAA;oBAEH,cAAA;sBAEE,cAAA;AAEhB;uBACiB,MAAA;uBACA,MAAA;oBAEH,MAAA;;AAK0B,cAAU,UAAU,CAAC,cAAc;AACrC,YAAQ,UAAU,CAAC,cAAc;sBAGvD,MAAA,UAAA,aAAA;wBAGE,MAAA;AAGlB;gCAC0B,MAAA;AAG1B,gCAA4B,cAAc;AAG1C;;AAEA;;;AAWA,2BAAuB,MAAM;;AAqC7B;AAOA;AAKA;;AAoCA;;;;AAWA;;AAKA;;AAOA,6BAAyB,UAAU;;AAOnC;AAKA;AAKA;AAKA,oBAAgB,UAAU;;AAmB1B;;AAKA;;AAKA;;AAUA;;AAcA;AAiBA,8BAA0B,aAAa;AAqBvC,0BAAsB,aAAa;AAanC;AA6BA;AA6DA;AAOA;AAwBA;AAYA;AAQA;AA2BA;AAQA;AAQA;;AASA;AAKA,oBAAgB,MAAM;;;yCA/hBX,kBAAkB;2CAAlB,kBAAkB,wuBAAA,EAAA,CAAA,wBAAA,wRAAA,EAAA,CAAA,2BAAA;AAuiB9B;;;;","names":["_angular_core"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal } from '@angular/core';
|
|
2
3
|
import { FuiIntlBase } from '@raintonic/formaui/core';
|
|
3
4
|
|
|
4
5
|
declare class FuiSidePanelIntl extends FuiIntlBase {
|
|
@@ -12,6 +13,8 @@ declare class FuiSidePanelIntl extends FuiIntlBase {
|
|
|
12
13
|
* @selector fui-side-panel
|
|
13
14
|
* @description A slide-in side panel overlay with optional backdrop, focus trapping, and keyboard dismiss.
|
|
14
15
|
* Renders from the right edge of the viewport with configurable width and top offset.
|
|
16
|
+
* A projected `fuiSidePanelTitle` element visually replaces the string `title` in the header;
|
|
17
|
+
* the `title` input still provides the accessible name via `aria-label`.
|
|
15
18
|
*
|
|
16
19
|
* @input open - Whether the side panel is visible. Default false.
|
|
17
20
|
* @input title - Title text displayed in the panel header.
|
|
@@ -26,6 +29,7 @@ declare class FuiSidePanelIntl extends FuiIntlBase {
|
|
|
26
29
|
*
|
|
27
30
|
* @example
|
|
28
31
|
* <fui-side-panel [open]="isPanelOpen" title="Details" (closed)="isPanelOpen = false">
|
|
32
|
+
* <span fuiSidePanelTitle>Custom <em>title</em> markup</span>
|
|
29
33
|
* <p>Panel content here.</p>
|
|
30
34
|
* </fui-side-panel>
|
|
31
35
|
*/
|
|
@@ -43,6 +47,8 @@ declare class FuiSidePanelComponent {
|
|
|
43
47
|
/** ID of an element that labels the side panel */
|
|
44
48
|
readonly ariaLabelledBy: _angular_core.InputSignal<string | null>;
|
|
45
49
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
50
|
+
private readonly _projectedTitle;
|
|
51
|
+
readonly _hasProjectedTitle: Signal<boolean>;
|
|
46
52
|
private _panelElement?;
|
|
47
53
|
private _previouslyFocusedElement;
|
|
48
54
|
constructor();
|
|
@@ -53,8 +59,24 @@ declare class FuiSidePanelComponent {
|
|
|
53
59
|
private _focusFirstTabbable;
|
|
54
60
|
private _getFocusableElements;
|
|
55
61
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FuiSidePanelComponent, never>;
|
|
56
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FuiSidePanelComponent, "fui-side-panel", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; "isSignal": true; }; "topOffset": { "alias": "topOffset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; }, { "closed": "closed"; },
|
|
62
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FuiSidePanelComponent, "fui-side-panel", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; "isSignal": true; }; "topOffset": { "alias": "topOffset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, ["_projectedTitle"], ["[fuiSidePanelTitle]", "*", "[sidePanelFooter]"], true, never>;
|
|
57
63
|
}
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
/**
|
|
66
|
+
* Marker directive for projecting custom markup into the side-panel header
|
|
67
|
+
* title area. Apply the `fuiSidePanelTitle` attribute to the element you want
|
|
68
|
+
* rendered as the title. When present, it visually replaces the string
|
|
69
|
+
* `title`, which still provides the panel's accessible name.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* <fui-side-panel title="Details">
|
|
73
|
+
* <span fuiSidePanelTitle>Custom <em>title</em> markup</span>
|
|
74
|
+
* </fui-side-panel>
|
|
75
|
+
*/
|
|
76
|
+
declare class FuiSidePanelTitle {
|
|
77
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FuiSidePanelTitle, never>;
|
|
78
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FuiSidePanelTitle, "[fuiSidePanelTitle]", never, {}, {}, never, never, true, never>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { FuiSidePanelComponent, FuiSidePanelIntl, FuiSidePanelTitle };
|
|
60
82
|
//# sourceMappingURL=raintonic-formaui-components-side-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-components-side-panel.d.ts","sources":["../../../lib/components/side-panel/side-panel.intl.ts","../../../lib/components/side-panel/side-panel.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"raintonic-formaui-components-side-panel.d.ts","sources":["../../../lib/components/side-panel/side-panel.intl.ts","../../../lib/components/side-panel/side-panel.component.ts","../../../lib/components/side-panel/side-panel-title.directive.ts"],"mappings":";;;;AAGA,cACa,gBAAiB,SAAQ,WAAW;AAC/C;oDADW,gBAAgB;wDAAhB,gBAAgB;AAE5B;;ACgBD;;;;;;;;;;;;;;;;;;;;;;;;AAwBG;AACH,cAea,qBAAqB;AAChC;mBACa,gBAAA;AACb;mBAEa,aAAA,CAAA,WAAA;oBACC,aAAA,CAAA,WAAA;oBACA,aAAA,CAAA,WAAA;0BACM,aAAA,CAAA,WAAA;wBACF,aAAA,CAAA,WAAA;;wBAGA,aAAA,CAAA,WAAA;;6BAGK,aAAA,CAAA,WAAA;qBAER,aAAA,CAAA,gBAAA;AAGf;AACA,iCAA6B,MAAM;;;;AAwBnC,qBAAiB,aAAa;AAmC9B;AAIA;AAQA;AAOA;AASA;oDA5GW,qBAAqB;sDAArB,qBAAqB;AA4HjC;;ACxLD;;;;;;;;;;AAUG;AACH,cAOa,iBAAiB;oDAAjB,iBAAiB;sDAAjB,iBAAiB;AAAG;;;;","names":[]}
|
|
@@ -30,7 +30,7 @@ declare class FuiToggleItemComponent {
|
|
|
30
30
|
onKeydown(event: KeyboardEvent): void;
|
|
31
31
|
focus(): void;
|
|
32
32
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FuiToggleItemComponent, never>;
|
|
33
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FuiToggleItemComponent, "fui-toggle-item", never, { "value": { "alias": "value"; "required":
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FuiToggleItemComponent, "fui-toggle-item", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
interface FuiToggleGroupChange<T = unknown> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-components-toggle-group.d.ts","sources":["../../../lib/components/toggle-group/toggle-item/toggle-item.component.ts","../../../lib/components/toggle-group/toggle-group.types.ts","../../../lib/components/toggle-group/toggle-group/toggle-group.component.ts"],"mappings":";;;;;;AAcA,cAaa,sBAAsB;;
|
|
1
|
+
{"version":3,"file":"raintonic-formaui-components-toggle-group.d.ts","sources":["../../../lib/components/toggle-group/toggle-item/toggle-item.component.ts","../../../lib/components/toggle-group/toggle-group.types.ts","../../../lib/components/toggle-group/toggle-group/toggle-group.component.ts"],"mappings":";;;;;;AAcA,cAaa,sBAAsB;;oBAQnB,aAAA,CAAA,WAAA;;mBAED,aAAA,CAAA,WAAA;4BACS,aAAA,CAAA,wBAAA;wBAIJ,aAAA,CAAA,WAAA;6BACK,aAAA,CAAA,WAAA;uBAKN,aAAA,CAAA,cAAA;wBACC,aAAA,CAAA,cAAA;uBACD,aAAA,CAAA,cAAA;oBACH,aAAA,CAAA,cAAA;wBACI,aAAA,CAAA,cAAA;yBACC,aAAA,CAAA,cAAA;8BAEK,aAAA,CAAA,MAAA;;;;4BAeF,aAAA,CAAA,MAAA,CAAA,UAAA,CAAA,iBAAA;yBAEH,aAAA,CAAA,MAAA;AAInB;AAOA;AAKA;AAKA,qBAAiB,aAAa;AA6B9B;oDA/FW,sBAAsB;sDAAtB,sBAAsB;AAkGlC;;AC1HK,UAAW,oBAAoB;YAC3B,sBAAsB;;AAE/B;UAEgB,kBAAkB;;wCAEG,sBAAsB;AAC1D;;;;AAID;AAED,cAAa,gBAAgB,EAAA,cAAA,CAAA,kBAAA;AAEvB,KAAM,kBAAkB;;ACY9B,cAyBa,uBAAwB,YAAW,oBAAoB,EAAE,OAAO,EAAE,SAAS;AACtF;;mBAIa,aAAA,CAAA,WAAA;4BACS,aAAA,CAAA,wBAAA;wBAIJ,aAAA,CAAA,WAAA;6BACK,aAAA,CAAA,WAAA;gCAGG,aAAA,CAAA,WAAA,CAAA,iBAAA;mBACb,aAAA,CAAA,WAAA,CAAA,kBAAA;AAGb,qBAAiB,gBAAgB,CAAC,oBAAoB;0BAGlC,MAAA,UAAA,sBAAA;AAGpB;AACA;AACA;AACA;AACA;AACA;AAEA,oBAAgB,MAAM;AACtB,sBAAkB,MAAM;yBACL,MAAA;AACnB,uBAAmB,MAAM;AACzB,uBAAmB,MAAM;2BAIJ,OAAA;;;;;AAOrB;AACA,qBAAiB,SAAS;;;;AA2D1B;AAgBA;AAKA;;AASA;AAIA;wCAMoC,sBAAsB;AAU1D;;AA2BA;AAYA;oDAnMW,uBAAuB;sDAAvB,uBAAuB;AA8MnC;;;;","names":[]}
|
|
@@ -17,6 +17,7 @@ interface FuiToolbarMenuItem {
|
|
|
17
17
|
id: string | number;
|
|
18
18
|
icon: string;
|
|
19
19
|
label: string;
|
|
20
|
+
showLabel?: boolean;
|
|
20
21
|
disabled?: boolean;
|
|
21
22
|
routerLink?: string | string[];
|
|
22
23
|
queryParams?: Record<string, string>;
|
|
@@ -125,6 +126,9 @@ declare class FuiToolbarComponent {
|
|
|
125
126
|
readonly ariaLabel: InputSignal<string | undefined>;
|
|
126
127
|
readonly userAriaLabel: InputSignal<string | undefined>;
|
|
127
128
|
readonly showSidebarToggle: InputSignal<boolean>;
|
|
129
|
+
readonly showMenuLabels: InputSignal<boolean>;
|
|
130
|
+
/** Resolve whether a menu item shows its label: per-item override → toolbar default. */
|
|
131
|
+
showItemLabel(item: FuiToolbarMenuItem): boolean;
|
|
128
132
|
/** Resolved navigation aria-label: input override → intl default. */
|
|
129
133
|
readonly resolvedNavAriaLabel: Signal<string>;
|
|
130
134
|
/** Resolved user-menu aria-label prefix: input override → intl default. */
|
|
@@ -138,7 +142,7 @@ declare class FuiToolbarComponent {
|
|
|
138
142
|
onUserProfileClick(): void;
|
|
139
143
|
onSidebarToggleClick(): void;
|
|
140
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<FuiToolbarComponent, never>;
|
|
141
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FuiToolbarComponent, "fui-toolbar", never, { "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "userProfile": { "alias": "userProfile"; "required": false; "isSignal": true; }; "fixed": { "alias": "fixed"; "required": false; "isSignal": true; }; "activeMenuItemId": { "alias": "activeMenuItemId"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "userAriaLabel": { "alias": "userAriaLabel"; "required": false; "isSignal": true; }; "showSidebarToggle": { "alias": "showSidebarToggle"; "required": false; "isSignal": true; }; }, { "menuItemClick": "menuItemClick"; "userProfileClick": "userProfileClick"; "sidebarToggle": "sidebarToggle"; }, never, ["[logo]", "[more-buttons]"], true, never>;
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FuiToolbarComponent, "fui-toolbar", never, { "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "userProfile": { "alias": "userProfile"; "required": false; "isSignal": true; }; "fixed": { "alias": "fixed"; "required": false; "isSignal": true; }; "activeMenuItemId": { "alias": "activeMenuItemId"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "userAriaLabel": { "alias": "userAriaLabel"; "required": false; "isSignal": true; }; "showSidebarToggle": { "alias": "showSidebarToggle"; "required": false; "isSignal": true; }; "showMenuLabels": { "alias": "showMenuLabels"; "required": false; "isSignal": true; }; }, { "menuItemClick": "menuItemClick"; "userProfileClick": "userProfileClick"; "sidebarToggle": "sidebarToggle"; }, never, ["[logo]", "[more-buttons]"], true, never>;
|
|
142
146
|
}
|
|
143
147
|
|
|
144
148
|
export { FuiToolbarComponent, FuiToolbarIntl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-components-toolbar.d.ts","sources":["../../../lib/components/toolbar/toolbar.intl.ts","../../../lib/components/toolbar/toolbar.component.ts"],"mappings":";;;;AAGA,cACa,cAAe,SAAQ,WAAW;AAC7C;AACA;AACA;yCAHW,cAAc;6CAAd,cAAc;AAI1B;;ACaD;;AAEG;UACc,kBAAkB;AACjC
|
|
1
|
+
{"version":3,"file":"raintonic-formaui-components-toolbar.d.ts","sources":["../../../lib/components/toolbar/toolbar.intl.ts","../../../lib/components/toolbar/toolbar.component.ts"],"mappings":";;;;AAGA,cACa,cAAe,SAAQ,WAAW;AAC7C;AACA;AACA;yCAHW,cAAc;6CAAd,cAAc;AAI1B;;ACaD;;AAEG;UACc,kBAAkB;AACjC;;;;;AAKA;kBACc,MAAM;;AAErB;AAED;;AAEG;UACc,qBAAqB;;;;;AAKrC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFG;AACH,cAca,mBAAmB;mBACjB,cAAA;AACb;;AAEA;;wBAUoB,WAAW,CAAC,kBAAkB;0BAC5B,WAAW,CAAC,qBAAqB;AACvD,oBAAgB,WAAW;+BACA,WAAW;wBACpB,WAAA;4BACI,WAAA;AAEtB,gCAA4B,WAAW;AAEvC,6BAAyB,WAAW;;AAGpC,wBAAoB,kBAAkB;;mCAKT,MAAA;;0CAMO,MAAA;4BAMZ,gBAAgB;AACxC,+BAA2B,gBAAgB;AAE3C,4BAAwB,gBAAgB;AAGxC,wBAAoB,MAAM;AAC1B,uBAAmB,MAAM;AAKzB,0BAAsB,kBAAkB;AAMxC;AAMA;yCAnEW,mBAAmB;2CAAnB,mBAAmB;AAsE/B;;;;","names":[]}
|
|
@@ -9,6 +9,10 @@ type TooltipPosition = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-star
|
|
|
9
9
|
* Available tooltip sizes
|
|
10
10
|
*/
|
|
11
11
|
type TooltipSize = 'sm' | 'md' | 'lg';
|
|
12
|
+
/**
|
|
13
|
+
* Available tooltip text alignments
|
|
14
|
+
*/
|
|
15
|
+
type TooltipTextAlign = 'left' | 'center' | 'right';
|
|
12
16
|
/**
|
|
13
17
|
* Tooltip trigger events
|
|
14
18
|
*/
|
|
@@ -19,12 +23,14 @@ type TooltipTrigger = 'hover' | 'focus' | 'click' | 'manual';
|
|
|
19
23
|
declare const TOOLTIP_POSITIONS: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
|
|
20
24
|
declare const TOOLTIP_SIZES: readonly ["sm", "md", "lg"];
|
|
21
25
|
declare const TOOLTIP_TRIGGERS: readonly ["hover", "focus", "click", "manual"];
|
|
26
|
+
declare const TOOLTIP_TEXT_ALIGNS: readonly ["left", "center", "right"];
|
|
22
27
|
/**
|
|
23
28
|
* Tooltip configuration interface
|
|
24
29
|
*/
|
|
25
30
|
interface TooltipConfig {
|
|
26
31
|
position?: TooltipPosition;
|
|
27
32
|
size?: TooltipSize;
|
|
33
|
+
textAlign?: TooltipTextAlign;
|
|
28
34
|
trigger?: TooltipTrigger;
|
|
29
35
|
showDelay?: number;
|
|
30
36
|
hideDelay?: number;
|
|
@@ -122,6 +128,11 @@ declare class FuiTooltipDirective implements OnDestroy {
|
|
|
122
128
|
* @default 'md'
|
|
123
129
|
*/
|
|
124
130
|
readonly fuiTooltipSize: _angular_core.InputSignalWithTransform<TooltipSize, string>;
|
|
131
|
+
/**
|
|
132
|
+
* Tooltip text alignment
|
|
133
|
+
* @default 'left'
|
|
134
|
+
*/
|
|
135
|
+
readonly fuiTooltipTextAlign: _angular_core.InputSignalWithTransform<TooltipTextAlign, string>;
|
|
125
136
|
/**
|
|
126
137
|
* Tooltip trigger event
|
|
127
138
|
* @default 'hover'
|
|
@@ -170,11 +181,13 @@ declare class FuiTooltipDirective implements OnDestroy {
|
|
|
170
181
|
private _hideTimeout;
|
|
171
182
|
private _destroyed;
|
|
172
183
|
private _isHoveringTooltip;
|
|
184
|
+
private _positionChangesSub;
|
|
173
185
|
readonly isVisible: Signal<boolean>;
|
|
174
186
|
readonly tooltipId: Signal<string>;
|
|
175
187
|
private readonly _elementRef;
|
|
176
188
|
private readonly _overlayService;
|
|
177
189
|
private readonly _environmentInjector;
|
|
190
|
+
private readonly _renderer;
|
|
178
191
|
constructor();
|
|
179
192
|
ngOnDestroy(): void;
|
|
180
193
|
onMouseEnter(): void;
|
|
@@ -201,12 +214,46 @@ declare class FuiTooltipDirective implements OnDestroy {
|
|
|
201
214
|
private _hideTooltip;
|
|
202
215
|
private _createTooltip;
|
|
203
216
|
private _getPositionsForTooltipPosition;
|
|
217
|
+
/**
|
|
218
|
+
* Repositions the tooltip arrow so its tip stays aligned with the center of
|
|
219
|
+
* the trigger element. The overlay's `withPush` behavior can slide the tooltip
|
|
220
|
+
* sideways to keep it on-screen; without this correction the CSS-centered
|
|
221
|
+
* arrow would drift away from the trigger.
|
|
222
|
+
*/
|
|
223
|
+
private _updateArrowPosition;
|
|
204
224
|
private _destroyTooltip;
|
|
205
225
|
private _clearTimeouts;
|
|
206
226
|
private readonly _onDocumentClick;
|
|
207
227
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FuiTooltipDirective, never>;
|
|
208
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FuiTooltipDirective, "[fuiTooltip]", ["fuiTooltip"], { "fuiTooltip": { "alias": "fuiTooltip"; "required": true; "isSignal": true; }; "fuiTooltipPosition": { "alias": "fuiTooltipPosition"; "required": false; "isSignal": true; }; "fuiTooltipSize": { "alias": "fuiTooltipSize"; "required": false; "isSignal": true; }; "fuiTooltipTrigger": { "alias": "fuiTooltipTrigger"; "required": false; "isSignal": true; }; "fuiTooltipShowDelay": { "alias": "fuiTooltipShowDelay"; "required": false; "isSignal": true; }; "fuiTooltipHideDelay": { "alias": "fuiTooltipHideDelay"; "required": false; "isSignal": true; }; "fuiTooltipDisabled": { "alias": "fuiTooltipDisabled"; "required": false; "isSignal": true; }; "fuiTooltipMaxWidth": { "alias": "fuiTooltipMaxWidth"; "required": false; "isSignal": true; }; "fuiTooltipOffset": { "alias": "fuiTooltipOffset"; "required": false; "isSignal": true; }; "fuiTooltipArrow": { "alias": "fuiTooltipArrow"; "required": false; "isSignal": true; }; "fuiTooltipShow": { "alias": "fuiTooltipShow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
228
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FuiTooltipDirective, "[fuiTooltip]", ["fuiTooltip"], { "fuiTooltip": { "alias": "fuiTooltip"; "required": true; "isSignal": true; }; "fuiTooltipPosition": { "alias": "fuiTooltipPosition"; "required": false; "isSignal": true; }; "fuiTooltipSize": { "alias": "fuiTooltipSize"; "required": false; "isSignal": true; }; "fuiTooltipTextAlign": { "alias": "fuiTooltipTextAlign"; "required": false; "isSignal": true; }; "fuiTooltipTrigger": { "alias": "fuiTooltipTrigger"; "required": false; "isSignal": true; }; "fuiTooltipShowDelay": { "alias": "fuiTooltipShowDelay"; "required": false; "isSignal": true; }; "fuiTooltipHideDelay": { "alias": "fuiTooltipHideDelay"; "required": false; "isSignal": true; }; "fuiTooltipDisabled": { "alias": "fuiTooltipDisabled"; "required": false; "isSignal": true; }; "fuiTooltipMaxWidth": { "alias": "fuiTooltipMaxWidth"; "required": false; "isSignal": true; }; "fuiTooltipOffset": { "alias": "fuiTooltipOffset"; "required": false; "isSignal": true; }; "fuiTooltipArrow": { "alias": "fuiTooltipArrow"; "required": false; "isSignal": true; }; "fuiTooltipShow": { "alias": "fuiTooltipShow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
229
|
+
}
|
|
230
|
+
/** A minimal rectangle shape (subset of `DOMRect`) used for arrow math. */
|
|
231
|
+
interface TooltipArrowRect {
|
|
232
|
+
left: number;
|
|
233
|
+
top: number;
|
|
234
|
+
width: number;
|
|
235
|
+
height: number;
|
|
209
236
|
}
|
|
237
|
+
/** Result of {@link computeTooltipArrowOffset}. */
|
|
238
|
+
interface TooltipArrowOffset {
|
|
239
|
+
/** Axis the offset applies to: `x` for top/bottom tooltips, `y` for left/right. */
|
|
240
|
+
axis: 'x' | 'y';
|
|
241
|
+
/** Pixel offset of the arrow center from the tooltip's top/left edge. */
|
|
242
|
+
offset: number;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Computes where the tooltip arrow must sit so that it points at the center of
|
|
246
|
+
* the trigger, regardless of how far the overlay was pushed to stay on-screen.
|
|
247
|
+
*
|
|
248
|
+
* The offset is measured from the tooltip's own top/left edge and is clamped so
|
|
249
|
+
* the arrow never overlaps the tooltip's rounded corners.
|
|
250
|
+
*
|
|
251
|
+
* @param triggerRect Bounding rect of the trigger element.
|
|
252
|
+
* @param tooltipRect Bounding rect of the (already positioned) tooltip.
|
|
253
|
+
* @param position Resolved tooltip position.
|
|
254
|
+
* @param arrowEdge Size in px kept clear at each edge (typically the arrow's own extent).
|
|
255
|
+
*/
|
|
256
|
+
declare function computeTooltipArrowOffset(triggerRect: TooltipArrowRect, tooltipRect: TooltipArrowRect, position: TooltipPosition, arrowEdge: number): TooltipArrowOffset;
|
|
210
257
|
|
|
211
258
|
/**
|
|
212
259
|
* @component FuiTooltipComponent
|
|
@@ -240,6 +287,10 @@ declare class FuiTooltipComponent {
|
|
|
240
287
|
* Tooltip size
|
|
241
288
|
*/
|
|
242
289
|
readonly size: _angular_core.InputSignal<TooltipSize>;
|
|
290
|
+
/**
|
|
291
|
+
* Tooltip text alignment
|
|
292
|
+
*/
|
|
293
|
+
readonly textAlign: _angular_core.InputSignal<TooltipTextAlign>;
|
|
243
294
|
/**
|
|
244
295
|
* Maximum width of the tooltip
|
|
245
296
|
*/
|
|
@@ -261,9 +312,9 @@ declare class FuiTooltipComponent {
|
|
|
261
312
|
*/
|
|
262
313
|
readonly arrowClasses: Signal<string>;
|
|
263
314
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FuiTooltipComponent, never>;
|
|
264
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FuiTooltipComponent, "fui-tooltip", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": true; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": true; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": true; "isSignal": true; }; "tooltipId": { "alias": "tooltipId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
315
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FuiTooltipComponent, "fui-tooltip", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": true; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": true; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": true; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": true; "isSignal": true; }; "tooltipId": { "alias": "tooltipId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
265
316
|
}
|
|
266
317
|
|
|
267
|
-
export { FuiTooltipComponent, FuiTooltipDirective, TOOLTIP_POSITIONS, TOOLTIP_SIZES, TOOLTIP_TRIGGERS };
|
|
268
|
-
export type { TooltipConfig, TooltipPosition, TooltipSize, TooltipTrigger };
|
|
318
|
+
export { FuiTooltipComponent, FuiTooltipDirective, TOOLTIP_POSITIONS, TOOLTIP_SIZES, TOOLTIP_TEXT_ALIGNS, TOOLTIP_TRIGGERS, computeTooltipArrowOffset };
|
|
319
|
+
export type { TooltipArrowOffset, TooltipArrowRect, TooltipConfig, TooltipPosition, TooltipSize, TooltipTextAlign, TooltipTrigger };
|
|
269
320
|
//# sourceMappingURL=raintonic-formaui-components-tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-components-tooltip.d.ts","sources":["../../../lib/components/tooltip/tooltip.types.ts","../../../lib/components/tooltip/tooltip.directive.ts","../../../lib/components/tooltip/tooltip.component.ts"],"mappings":";;;AAAA;;AAEG;AACG,KAAM,eAAe;AAc3B;;AAEG;AACG,KAAM,WAAW;AAEvB;;AAEG;AACG,KAAM,cAAc;AAE1B;;AAEG;AACH,cAAa,iBAAiB;AAe9B,cAAa,aAAa;AAC1B,cAAa,gBAAgB;
|
|
1
|
+
{"version":3,"file":"raintonic-formaui-components-tooltip.d.ts","sources":["../../../lib/components/tooltip/tooltip.types.ts","../../../lib/components/tooltip/tooltip.directive.ts","../../../lib/components/tooltip/tooltip.component.ts"],"mappings":";;;AAAA;;AAEG;AACG,KAAM,eAAe;AAc3B;;AAEG;AACG,KAAM,WAAW;AAEvB;;AAEG;AACG,KAAM,gBAAgB;AAE5B;;AAEG;AACG,KAAM,cAAc;AAE1B;;AAEG;AACH,cAAa,iBAAiB;AAe9B,cAAa,aAAa;AAC1B,cAAa,gBAAgB;AAC7B,cAAa,mBAAmB;AAEhC;;AAEG;UACc,aAAa;eACjB,eAAe;WACnB,WAAW;gBACN,gBAAgB;cAClB,cAAc;;;;;;;AAOzB;;ACnCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEG;AACH,cAQa,mBAAoB,YAAW,SAAS;AACnD;AACA;;AAEG;yBACgB,aAAA,CAAA,WAAA;AAEnB;;;AAGG;iCACwB,aAAA,CAAA,wBAAA,CAAA,eAAA;AAI3B;;;AAGG;6BACoB,aAAA,CAAA,wBA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AA;AAEd;;AAEG;wBACe,aAAA,CAAA,WAAA;AAElB;;AAEG;AACH,8BAA0B,MAAM;AAehC;;AAEG;AACH,2BAAuB,MAAM;oDAzDlB,mBAAmB;sDAAnB,mBAAmB;AAyE/B;;;;","names":[]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, ViewContainerRef, Injector, Type, TemplateRef, AfterViewInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
import { ButtonVariant } from '@raintonic/formaui/components/button';
|
|
4
5
|
import { FuiOverlayRef } from '@raintonic/formaui/cdk/overlay';
|
|
5
6
|
import * as _raintonic_formaui_services_dialog from '@raintonic/formaui/services/dialog';
|
|
6
7
|
|
|
@@ -213,6 +214,15 @@ interface FuiConfirmDialogConfig {
|
|
|
213
214
|
confirmText?: string;
|
|
214
215
|
cancelText?: string;
|
|
215
216
|
variant?: FuiConfirmDialogVariant;
|
|
217
|
+
/**
|
|
218
|
+
* Override the confirm button variant. When omitted, it is derived from
|
|
219
|
+
* `variant` ('destructive' for danger, otherwise 'primary').
|
|
220
|
+
*/
|
|
221
|
+
confirmButtonVariant?: ButtonVariant;
|
|
222
|
+
/**
|
|
223
|
+
* Override the cancel button variant. Defaults to 'tertiary'.
|
|
224
|
+
*/
|
|
225
|
+
cancelButtonVariant?: ButtonVariant;
|
|
216
226
|
}
|
|
217
227
|
|
|
218
228
|
/**
|
|
@@ -578,7 +588,8 @@ declare class FuiConfirmDialogComponent {
|
|
|
578
588
|
readonly cancelText: string;
|
|
579
589
|
readonly variant: _raintonic_formaui_services_dialog.FuiConfirmDialogVariant;
|
|
580
590
|
readonly icon: i0.Signal<"info" | "warning-diamond" | "warning-octagon">;
|
|
581
|
-
readonly
|
|
591
|
+
readonly cancelButtonVariant: ButtonVariant;
|
|
592
|
+
readonly confirmButtonVariant: i0.Signal<"primary" | "accent" | "outline" | "tertiary" | "link" | "destructive">;
|
|
582
593
|
onConfirm(): void;
|
|
583
594
|
onCancel(): void;
|
|
584
595
|
static ɵfac: i0.ɵɵFactoryDeclaration<FuiConfirmDialogComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-services-dialog.d.ts","sources":["../../../lib/services/dialog/dialog.types.ts","../../../lib/services/dialog/dialog-ref.ts","../../../lib/services/dialog/dialog.service.ts","../../../lib/services/dialog/dialog-container.component.ts","../../../lib/services/dialog/drawer-container/drawer-container.component.ts","../../../lib/services/dialog/confirm-dialog.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"raintonic-formaui-services-dialog.d.ts","sources":["../../../lib/services/dialog/dialog.types.ts","../../../lib/services/dialog/dialog-ref.ts","../../../lib/services/dialog/dialog.service.ts","../../../lib/services/dialog/dialog-container.component.ts","../../../lib/services/dialog/drawer-container/drawer-container.component.ts","../../../lib/services/dialog/confirm-dialog.component.ts"],"mappings":";;;;;;;AAIA;;AAEG;AACH,cAAa,eAAe,EAAA,cAAA;AAE5B;;AAEG;AACH,cAAa,0BAA0B,EAAA,cAAA,CAAA,eAAA;AAEvC;;AAEG;KACS,aAAa;AAEzB;;AAEG;AACG,UAAW,eAAe;;;;WAKvB,aAAa;;AAGpB;;;;AAMA;;;;;;;;AAYA;;AAGA;;AAGA;;AAGA;;eAGW,iBAAiB;;AAG5B;;AAGA;;AAGA;;AAGA;;AAGA;;AAGA,gBAAY,kBAAkB;;;;;;AAS9B;;AAGA;;uBAGmB,gBAAgB;;eAGxB,QAAQ;;AAGnB,yBAAqB,IAAI,CAAC,sBAAsB;;;AAIjD;AAED;;AAEG;AACG,KAAM,kBAAkB;AAE9B;;AAEG;UACc,iBAAiB;;;;;;;;;AASjC;AAED;;AAEG;AACG,KAAM,cAAc;AAE1B;;AAEG;UACc,sBAAsB;;;AAGtC;AAED;;AAEG;AACG,UAAW,aAAa;;AAE5B;;AAGA;;;;AAMA,0BAAsB,UAAU;;2BAGT,UAA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