@molecule/app-ui-angular 1.2.1 → 1.3.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/README.md +2744 -912
- package/dist/components/accordion.component.d.ts +17 -2
- package/dist/components/accordion.component.d.ts.map +1 -1
- package/dist/components/accordion.component.js +31 -7
- package/dist/components/accordion.component.js.map +1 -1
- package/dist/components/alert.component.d.ts +15 -2
- package/dist/components/alert.component.d.ts.map +1 -1
- package/dist/components/alert.component.js +25 -4
- package/dist/components/alert.component.js.map +1 -1
- package/dist/components/auth-guard.component.d.ts +41 -9
- package/dist/components/auth-guard.component.d.ts.map +1 -1
- package/dist/components/auth-guard.component.js +58 -23
- package/dist/components/auth-guard.component.js.map +1 -1
- package/dist/components/avatar.component.d.ts +15 -2
- package/dist/components/avatar.component.d.ts.map +1 -1
- package/dist/components/avatar.component.js +35 -5
- package/dist/components/avatar.component.js.map +1 -1
- package/dist/components/badge.component.d.ts +15 -2
- package/dist/components/badge.component.d.ts.map +1 -1
- package/dist/components/badge.component.js +35 -6
- package/dist/components/badge.component.js.map +1 -1
- package/dist/components/button.component.d.ts +20 -2
- package/dist/components/button.component.d.ts.map +1 -1
- package/dist/components/button.component.js +30 -4
- package/dist/components/button.component.js.map +1 -1
- package/dist/components/card.component.d.ts +67 -9
- package/dist/components/card.component.d.ts.map +1 -1
- package/dist/components/card.component.js +99 -17
- package/dist/components/card.component.js.map +1 -1
- package/dist/components/checkbox.component.d.ts +35 -5
- package/dist/components/checkbox.component.d.ts.map +1 -1
- package/dist/components/checkbox.component.js +59 -9
- package/dist/components/checkbox.component.js.map +1 -1
- package/dist/components/confirm-button.component.d.ts +85 -17
- package/dist/components/confirm-button.component.d.ts.map +1 -1
- package/dist/components/confirm-button.component.js +112 -25
- package/dist/components/confirm-button.component.js.map +1 -1
- package/dist/components/confirm-dialog.component.d.ts +50 -13
- package/dist/components/confirm-dialog.component.d.ts.map +1 -1
- package/dist/components/confirm-dialog.component.js +118 -31
- package/dist/components/confirm-dialog.component.js.map +1 -1
- package/dist/components/dropdown.component.d.ts +30 -4
- package/dist/components/dropdown.component.d.ts.map +1 -1
- package/dist/components/dropdown.component.js +80 -13
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/empty-state.component.d.ts +5 -1
- package/dist/components/empty-state.component.d.ts.map +1 -1
- package/dist/components/empty-state.component.js +5 -1
- package/dist/components/empty-state.component.js.map +1 -1
- package/dist/components/floating-input.component.d.ts +18 -4
- package/dist/components/floating-input.component.d.ts.map +1 -1
- package/dist/components/floating-input.component.js +38 -8
- package/dist/components/floating-input.component.js.map +1 -1
- package/dist/components/form-field.component.d.ts +14 -2
- package/dist/components/form-field.component.d.ts.map +1 -1
- package/dist/components/form-field.component.js +34 -5
- package/dist/components/form-field.component.js.map +1 -1
- package/dist/components/form.component.d.ts +61 -15
- package/dist/components/form.component.d.ts.map +1 -1
- package/dist/components/form.component.js +65 -14
- package/dist/components/form.component.js.map +1 -1
- package/dist/components/icon.component.d.ts +22 -4
- package/dist/components/icon.component.d.ts.map +1 -1
- package/dist/components/icon.component.js +1 -1
- package/dist/components/icon.component.js.map +1 -1
- package/dist/components/input.component.d.ts +34 -4
- package/dist/components/input.component.d.ts.map +1 -1
- package/dist/components/input.component.js +66 -11
- package/dist/components/input.component.js.map +1 -1
- package/dist/components/label.component.d.ts +5 -1
- package/dist/components/label.component.d.ts.map +1 -1
- package/dist/components/label.component.js +6 -2
- package/dist/components/label.component.js.map +1 -1
- package/dist/components/language-picker.component.d.ts +44 -8
- package/dist/components/language-picker.component.d.ts.map +1 -1
- package/dist/components/language-picker.component.js +29 -17
- package/dist/components/language-picker.component.js.map +1 -1
- package/dist/components/layout.component.d.ts +57 -8
- package/dist/components/layout.component.d.ts.map +1 -1
- package/dist/components/layout.component.js +134 -21
- package/dist/components/layout.component.js.map +1 -1
- package/dist/components/load-error-banner.component.d.ts +39 -7
- package/dist/components/load-error-banner.component.d.ts.map +1 -1
- package/dist/components/load-error-banner.component.js +68 -21
- package/dist/components/load-error-banner.component.js.map +1 -1
- package/dist/components/modal.component.d.ts +20 -3
- package/dist/components/modal.component.d.ts.map +1 -1
- package/dist/components/modal.component.js +40 -6
- package/dist/components/modal.component.js.map +1 -1
- package/dist/components/optimistic-toggle-button.component.d.ts +80 -19
- package/dist/components/optimistic-toggle-button.component.d.ts.map +1 -1
- package/dist/components/optimistic-toggle-button.component.js +86 -25
- package/dist/components/optimistic-toggle-button.component.js.map +1 -1
- package/dist/components/page-header.component.d.ts +5 -1
- package/dist/components/page-header.component.d.ts.map +1 -1
- package/dist/components/page-header.component.js +5 -1
- package/dist/components/page-header.component.js.map +1 -1
- package/dist/components/page-shell.component.d.ts +5 -1
- package/dist/components/page-shell.component.d.ts.map +1 -1
- package/dist/components/page-shell.component.js +5 -1
- package/dist/components/page-shell.component.js.map +1 -1
- package/dist/components/pagination.component.d.ts +15 -2
- package/dist/components/pagination.component.d.ts.map +1 -1
- package/dist/components/pagination.component.js +26 -5
- package/dist/components/pagination.component.js.map +1 -1
- package/dist/components/panel-close.component.d.ts +10 -1
- package/dist/components/panel-close.component.d.ts.map +1 -1
- package/dist/components/panel-close.component.js +1 -1
- package/dist/components/panel-close.component.js.map +1 -1
- package/dist/components/progress.component.d.ts +51 -8
- package/dist/components/progress.component.d.ts.map +1 -1
- package/dist/components/progress.component.js +26 -5
- package/dist/components/progress.component.js.map +1 -1
- package/dist/components/prompt-dialog.component.d.ts +59 -16
- package/dist/components/prompt-dialog.component.d.ts.map +1 -1
- package/dist/components/prompt-dialog.component.js +129 -41
- package/dist/components/prompt-dialog.component.js.map +1 -1
- package/dist/components/radio-group.component.d.ts +16 -2
- package/dist/components/radio-group.component.d.ts.map +1 -1
- package/dist/components/radio-group.component.js +28 -5
- package/dist/components/radio-group.component.js.map +1 -1
- package/dist/components/responsive-app-shell.component.d.ts +155 -31
- package/dist/components/responsive-app-shell.component.d.ts.map +1 -1
- package/dist/components/responsive-app-shell.component.js +163 -54
- package/dist/components/responsive-app-shell.component.js.map +1 -1
- package/dist/components/select.component.d.ts +29 -4
- package/dist/components/select.component.d.ts.map +1 -1
- package/dist/components/select.component.js +55 -9
- package/dist/components/select.component.js.map +1 -1
- package/dist/components/separator.component.d.ts +37 -7
- package/dist/components/separator.component.d.ts.map +1 -1
- package/dist/components/separator.component.js +33 -6
- package/dist/components/separator.component.js.map +1 -1
- package/dist/components/sidebar-user-card.component.d.ts +28 -7
- package/dist/components/sidebar-user-card.component.d.ts.map +1 -1
- package/dist/components/sidebar-user-card.component.js +1 -1
- package/dist/components/sidebar-user-card.component.js.map +1 -1
- package/dist/components/skeleton.component.d.ts +23 -4
- package/dist/components/skeleton.component.d.ts.map +1 -1
- package/dist/components/skeleton.component.js +34 -7
- package/dist/components/skeleton.component.js.map +1 -1
- package/dist/components/spinner.component.d.ts +15 -2
- package/dist/components/spinner.component.d.ts.map +1 -1
- package/dist/components/spinner.component.js +34 -6
- package/dist/components/spinner.component.js.map +1 -1
- package/dist/components/switch.component.d.ts +30 -7
- package/dist/components/switch.component.d.ts.map +1 -1
- package/dist/components/switch.component.js +56 -11
- package/dist/components/switch.component.js.map +1 -1
- package/dist/components/table.component.d.ts +29 -3
- package/dist/components/table.component.d.ts.map +1 -1
- package/dist/components/table.component.js +63 -8
- package/dist/components/table.component.js.map +1 -1
- package/dist/components/tabs.component.d.ts +18 -3
- package/dist/components/tabs.component.d.ts.map +1 -1
- package/dist/components/tabs.component.js +74 -39
- package/dist/components/tabs.component.js.map +1 -1
- package/dist/components/textarea.component.d.ts +29 -4
- package/dist/components/textarea.component.d.ts.map +1 -1
- package/dist/components/textarea.component.js +55 -9
- package/dist/components/textarea.component.js.map +1 -1
- package/dist/components/theme-toggle.component.d.ts +25 -6
- package/dist/components/theme-toggle.component.d.ts.map +1 -1
- package/dist/components/theme-toggle.component.js +1 -1
- package/dist/components/theme-toggle.component.js.map +1 -1
- package/dist/components/toast.component.d.ts +27 -6
- package/dist/components/toast.component.d.ts.map +1 -1
- package/dist/components/toast.component.js +48 -14
- package/dist/components/toast.component.js.map +1 -1
- package/dist/components/tooltip.component.d.ts +57 -5
- package/dist/components/tooltip.component.d.ts.map +1 -1
- package/dist/components/tooltip.component.js +103 -11
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/components/user-menu-popover.component.d.ts +68 -14
- package/dist/components/user-menu-popover.component.d.ts.map +1 -1
- package/dist/components/user-menu-popover.component.js +4 -4
- package/dist/components/user-menu-popover.component.js.map +1 -1
- package/dist/components/user-menu.component.d.ts +33 -9
- package/dist/components/user-menu.component.d.ts.map +1 -1
- package/dist/components/user-menu.component.js +1 -1
- package/dist/components/user-menu.component.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utilities/element-props.d.ts +78 -0
- package/dist/utilities/element-props.d.ts.map +1 -0
- package/dist/utilities/element-props.js +166 -0
- package/dist/utilities/element-props.js.map +1 -0
- package/dist/utilities/element.d.ts +34 -0
- package/dist/utilities/element.d.ts.map +1 -0
- package/dist/utilities/element.js +24 -0
- package/dist/utilities/element.js.map +1 -0
- package/dist/utilities/index.d.ts +2 -0
- package/dist/utilities/index.d.ts.map +1 -1
- package/dist/utilities/index.js +2 -0
- package/dist/utilities/index.js.map +1 -1
- package/dist/utilities/node-value.d.ts +1 -1
- package/dist/utilities/node-value.d.ts.map +1 -1
- package/dist/utilities/node-value.js +6 -2
- package/dist/utilities/node-value.js.map +1 -1
- package/dist/utilities/render-icon.d.ts +3 -2
- package/dist/utilities/render-icon.d.ts.map +1 -1
- package/dist/utilities/render-icon.js +6 -3
- package/dist/utilities/render-icon.js.map +1 -1
- package/dist/utilities/rest-attrs.d.ts +26 -2
- package/dist/utilities/rest-attrs.d.ts.map +1 -1
- package/dist/utilities/rest-attrs.js +37 -0
- package/dist/utilities/rest-attrs.js.map +1 -1
- package/package.json +4 -3
|
@@ -52,7 +52,7 @@ export class PanelCloseProvider {
|
|
|
52
52
|
template: `<ng-content></ng-content>`,
|
|
53
53
|
}]
|
|
54
54
|
}], () => [], null); })();
|
|
55
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PanelCloseProvider, { className: "PanelCloseProvider", filePath: "components/panel-close.component.ts", lineNumber:
|
|
55
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PanelCloseProvider, { className: "PanelCloseProvider", filePath: "components/panel-close.component.ts", lineNumber: 45 }); })();
|
|
56
56
|
/**
|
|
57
57
|
* Returns the callback that dismisses the drawer the current panel is
|
|
58
58
|
* mounted in. Safe to call anywhere — a no-op outside a provider.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-close.component.js","sourceRoot":"","sources":["../../src/components/panel-close.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAkB,MAAM,eAAe,CAAA;AAE7E,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;;;
|
|
1
|
+
{"version":3,"file":"panel-close.component.js","sourceRoot":"","sources":["../../src/components/panel-close.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAkB,MAAM,eAAe,CAAA;AAE7E,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;;;AAYjG;;;;;;;GAOG;AAWH,MAAM,OAAO,kBAAkB;IAC7B,0DAA0D;IAC1D,KAAK,CAAmC;IAEvB,IAAI,GAA4B,MAAM,CAAC,UAAU,CAAC,CAAA;IACnE,wFAAwF;IACxF;QACE,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,EAAE,CAAC,CAAA;IAC7E,CAAC;IAED,kDAAkD;IAClD,WAAW;QACT,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IAC3C,CAAC;4GAbU,kBAAkB;6DAAlB,kBAAkB;;YAFlB,kBAAyB;;;iFAEzB,kBAAkB;cAV9B,SAAS;eAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,CAAC,OAAO,CAAC;gBACjB,IAAI,EAAE;oBACJ,oBAAoB,EAAE,EAAE;oBACxB,KAAK,EAAE,mBAAmB;iBAC3B;gBACD,QAAQ,EAAE,2BAA2B;aACtC;;kFACY,kBAAkB;AAgB/B;;;;;;;;GAQG;AACH,MAAM,UAAU,aAAa;IAC3B,MAAM,EAAE,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAmC,CAAA;IACnF,8EAA8E;IAC9E,6EAA6E;IAC7E,4EAA4E;IAC5E,OAAO,GAAG,EAAE;QACV,MAAM,KAAK,GAAG,cAAc,CAAwB,EAAE,EAAE,aAAa,IAAI,IAAI,CAAC,CAAA;QAC9E,KAAK,EAAE,KAAK,EAAE,CAAA;IAChB,CAAC,CAAA;AACH,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import type { ColorVariant, Size, UIClassMap } from '@molecule/app-ui';
|
|
2
|
+
import { type HasElement } from '../utilities/element.js';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
|
-
* Progress
|
|
5
|
+
* Props for {@link Progress} (React's `ProgressProps`, in Angular's form).
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
7
|
+
* `React.CSSProperties` arrives as a plain style record, the same shape every
|
|
8
|
+
* component in this kit takes for its `style` input.
|
|
8
9
|
*/
|
|
9
|
-
export
|
|
10
|
-
/** Progress value (0
|
|
10
|
+
export interface ProgressProps {
|
|
11
|
+
/** Progress value (0–`max`). */
|
|
11
12
|
value: number;
|
|
12
|
-
/** Maximum value. */
|
|
13
|
-
max
|
|
13
|
+
/** Maximum value. Defaults to 100. */
|
|
14
|
+
max?: number;
|
|
14
15
|
/** Progress size. */
|
|
15
16
|
size?: Size;
|
|
16
17
|
/** Progress color. */
|
|
@@ -27,6 +28,43 @@ export declare class Progress {
|
|
|
27
28
|
style?: Record<string, unknown>;
|
|
28
29
|
/** `data-testid`. */
|
|
29
30
|
testId?: string;
|
|
31
|
+
/** `data-mol-id` automation id (React's `automationId`). */
|
|
32
|
+
automationId?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Progress component.
|
|
36
|
+
*
|
|
37
|
+
* The host is the wrapper div React renders; `aria-valuenow` is clamped into
|
|
38
|
+
* `[0, max]` to match the clamped visual bar.
|
|
39
|
+
*/
|
|
40
|
+
export declare class Progress implements HasElement<HTMLDivElement> {
|
|
41
|
+
private readonly host;
|
|
42
|
+
/** The element a caller's ref receives: the host wrapper `<div>`. */
|
|
43
|
+
readonly element: import("@angular/core").Signal<HTMLDivElement | null>;
|
|
44
|
+
/** Progress value (0–max). */
|
|
45
|
+
value: ProgressProps['value'];
|
|
46
|
+
/** Maximum value. */
|
|
47
|
+
max?: ProgressProps['max'];
|
|
48
|
+
/** Progress size. */
|
|
49
|
+
size?: ProgressProps['size'];
|
|
50
|
+
/** Progress color. */
|
|
51
|
+
color?: ProgressProps['color'];
|
|
52
|
+
/** Whether the numeric value label renders. */
|
|
53
|
+
showValue?: ProgressProps['showValue'];
|
|
54
|
+
/** Accessible label. */
|
|
55
|
+
label?: ProgressProps['label'];
|
|
56
|
+
/** Whether the progress is indeterminate. */
|
|
57
|
+
indeterminate?: ProgressProps['indeterminate'];
|
|
58
|
+
/** Extra classes joined onto the wrapper classes. */
|
|
59
|
+
className?: ProgressProps['className'];
|
|
60
|
+
/** Inline style object (React camelCase). */
|
|
61
|
+
style?: ProgressProps['style'];
|
|
62
|
+
/** `data-testid`. */
|
|
63
|
+
testId?: ProgressProps['testId'];
|
|
64
|
+
/** `data-mol-id` automation id (React's `automationId`). */
|
|
65
|
+
automationId?: ProgressProps['automationId'];
|
|
66
|
+
/** A `data-mol-id` given as a plain rest attribute (React's `rootProps` precedence). */
|
|
67
|
+
dataMolId?: string;
|
|
30
68
|
/**
|
|
31
69
|
* Reactive translation, read in the injection context. Its `t` reads the
|
|
32
70
|
* locale, so the view re-renders the text on a locale switch (the static `t`
|
|
@@ -63,6 +101,11 @@ export declare class Progress {
|
|
|
63
101
|
* @returns The class string.
|
|
64
102
|
*/
|
|
65
103
|
classes(): string;
|
|
104
|
+
/**
|
|
105
|
+
* The `data-mol-id` value (`automationId` wins over a rest `data-mol-id`).
|
|
106
|
+
* @returns The attribute value.
|
|
107
|
+
*/
|
|
108
|
+
molId(): string | undefined;
|
|
66
109
|
/**
|
|
67
110
|
* Computes the bar class list.
|
|
68
111
|
* @returns The class string.
|
|
@@ -79,6 +122,6 @@ export declare class Progress {
|
|
|
79
122
|
*/
|
|
80
123
|
hostStyle(): string | null;
|
|
81
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<Progress, never>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Progress, "div[mol-progress]", never, { "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, true, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Progress, "div[mol-progress]", never, { "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "automationId": { "alias": "automationId"; "required": false; }; "dataMolId": { "alias": "data-mol-id"; "required": false; }; }, {}, never, never, true, never>;
|
|
83
126
|
}
|
|
84
127
|
//# sourceMappingURL=progress.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.component.d.ts","sourceRoot":"","sources":["../../src/components/progress.component.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;
|
|
1
|
+
{"version":3,"file":"progress.component.d.ts","sourceRoot":"","sources":["../../src/components/progress.component.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGtE,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,yBAAyB,CAAA;;AAGtE;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,qBAAqB;IACrB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,sBAAsB;IACtB,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC,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I,OAAO,IAAI,MAAM,CAGpB;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED;;;OAGG;IACH,IAAI,OAAO,IAAI,MAAM,CAGpB;IAED;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,OAAO,IAAI,MAAM;IAIjB;;;OAGG;IACH,KAAK,IAAI,MAAM,GAAG,SAAS;IAS3B;;;OAGG;IACH,UAAU,IAAI,MAAM;IAQpB;;;OAGG;IACH,QAAQ,IAAI,MAAM,GAAG,IAAI;IAKzB;;;OAGG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;yCA7Hf,QAAQ;2CAAR,QAAQ;CAgIpB"}
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module
|
|
5
5
|
*/
|
|
6
|
-
import { Component } from '@angular/core';
|
|
6
|
+
import { Component, ElementRef, inject } from '@angular/core';
|
|
7
7
|
import { useTranslation } from '@molecule/app-angular';
|
|
8
8
|
import { getClassMap } from '@molecule/app-ui';
|
|
9
|
+
import { hostElement } from '../utilities/element.js';
|
|
9
10
|
import { styleText } from '../utilities/style.js';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
function Progress_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -55,6 +56,9 @@ function Progress_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
55
56
|
* `[0, max]` to match the clamped visual bar.
|
|
56
57
|
*/
|
|
57
58
|
export class Progress {
|
|
59
|
+
host = inject(ElementRef);
|
|
60
|
+
/** The element a caller's ref receives: the host wrapper `<div>`. */
|
|
61
|
+
element = hostElement(this.host);
|
|
58
62
|
/** Progress value (0–max). */
|
|
59
63
|
value = 0;
|
|
60
64
|
/** Maximum value. */
|
|
@@ -75,6 +79,10 @@ export class Progress {
|
|
|
75
79
|
style;
|
|
76
80
|
/** `data-testid`. */
|
|
77
81
|
testId;
|
|
82
|
+
/** `data-mol-id` automation id (React's `automationId`). */
|
|
83
|
+
automationId;
|
|
84
|
+
/** A `data-mol-id` given as a plain rest attribute (React's `rootProps` precedence). */
|
|
85
|
+
dataMolId;
|
|
78
86
|
/**
|
|
79
87
|
* Reactive translation, read in the injection context. Its `t` reads the
|
|
80
88
|
* locale, so the view re-renders the text on a locale switch (the static `t`
|
|
@@ -125,6 +133,16 @@ export class Progress {
|
|
|
125
133
|
classes() {
|
|
126
134
|
return this.cm().cn(this.cm().progressWrapper, this.className);
|
|
127
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* The `data-mol-id` value (`automationId` wins over a rest `data-mol-id`).
|
|
138
|
+
* @returns The attribute value.
|
|
139
|
+
*/
|
|
140
|
+
molId() {
|
|
141
|
+
return (this.automationId ??
|
|
142
|
+
this.dataMolId ??
|
|
143
|
+
this.host.nativeElement.getAttribute('data-mol-id') ??
|
|
144
|
+
undefined);
|
|
145
|
+
}
|
|
128
146
|
/**
|
|
129
147
|
* Computes the bar class list.
|
|
130
148
|
* @returns The class string.
|
|
@@ -149,11 +167,11 @@ export class Progress {
|
|
|
149
167
|
return styleText(this.style);
|
|
150
168
|
}
|
|
151
169
|
static ɵfac = function Progress_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Progress)(); };
|
|
152
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Progress, selectors: [["div", "mol-progress", ""]], hostVars:
|
|
153
|
-
i0.ɵɵattribute("data-testid", ctx.testId);
|
|
170
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Progress, selectors: [["div", "mol-progress", ""]], hostVars: 6, hostBindings: function Progress_HostBindings(rf, ctx) { if (rf & 2) {
|
|
171
|
+
i0.ɵɵattribute("data-testid", ctx.testId)("data-mol-id", ctx.molId());
|
|
154
172
|
i0.ɵɵstyleMap(ctx.hostStyle());
|
|
155
173
|
i0.ɵɵclassMap(ctx.classes());
|
|
156
|
-
} }, inputs: { value: "value", max: "max", size: "size", color: "color", showValue: "showValue", label: "label", indeterminate: "indeterminate", className: "className", style: "style", testId: "testId" }, decls: 3, vars: 9, consts: [[3, "class"], ["role", "progressbar", "aria-valuemin", "0"]], template: function Progress_Template(rf, ctx) { if (rf & 1) {
|
|
174
|
+
} }, inputs: { value: "value", max: "max", size: "size", color: "color", showValue: "showValue", label: "label", indeterminate: "indeterminate", className: "className", style: "style", testId: "testId", automationId: "automationId", dataMolId: [0, "data-mol-id", "dataMolId"] }, decls: 3, vars: 9, consts: [[3, "class"], ["role", "progressbar", "aria-valuemin", "0"]], template: function Progress_Template(rf, ctx) { if (rf & 1) {
|
|
157
175
|
i0.ɵɵconditionalCreate(0, Progress_Conditional_0_Template, 3, 4, "div", 0);
|
|
158
176
|
i0.ɵɵdomElementStart(1, "div", 1);
|
|
159
177
|
i0.ɵɵdomElement(2, "div");
|
|
@@ -184,11 +202,14 @@ export class Progress {
|
|
|
184
202
|
'className',
|
|
185
203
|
'style',
|
|
186
204
|
'testId',
|
|
205
|
+
'automationId',
|
|
206
|
+
'dataMolId: data-mol-id',
|
|
187
207
|
],
|
|
188
208
|
host: {
|
|
189
209
|
'[class]': 'classes()',
|
|
190
210
|
'[style]': 'hostStyle()',
|
|
191
211
|
'[attr.data-testid]': 'testId',
|
|
212
|
+
'[attr.data-mol-id]': 'molId()',
|
|
192
213
|
},
|
|
193
214
|
template: `@if (label || showValue) {
|
|
194
215
|
<div [class]="cm().progressLabelContainer">
|
|
@@ -215,5 +236,5 @@ export class Progress {
|
|
|
215
236
|
</div>`,
|
|
216
237
|
}]
|
|
217
238
|
}], null, null); })();
|
|
218
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Progress, { className: "Progress", filePath: "components/progress.component.ts", lineNumber:
|
|
239
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Progress, { className: "Progress", filePath: "components/progress.component.ts", lineNumber: 100 }); })();
|
|
219
240
|
//# sourceMappingURL=progress.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.component.js","sourceRoot":"","sources":["../../src/components/progress.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"progress.component.js","sourceRoot":"","sources":["../../src/components/progress.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE7D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAmB,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;;;IAiEvC,+BAAuC;IAAA,YAAW;IAAA,oBAAO;;;IAAnD,4CAAgC;IAAC,cAAW;IAAX,kCAAW;;;IAGlD,+BACG;IAAA,gCAAc;IAAA,YAAa;;IAC3B,gCAAc;IAAA,YAAS;;IAAe,oBACxC;;;IAHK,4CAAgC;IACrB,eAAa;IAAb,oCAAa;IACb,eAAS;IAAT,yBAAS;;;IAP9B,8BAA2C;IACzC,yFAAa;IAGb,yFAAiB;IAMnB,oBAAM;;;IAVD,iDAAqC;IACxC,cAEC;IAFD,uCAEC;IACD,cAKC;IALD,2CAKC;;AAvCT;;;;;GAKG;AAgDH,MAAM,OAAO,QAAQ;IACF,IAAI,GAA+B,MAAM,CAAC,UAAU,CAAC,CAAA;IACtE,qEAAqE;IAC5D,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAEzC,8BAA8B;IAC9B,KAAK,GAA2B,CAAC,CAAA;IACjC,qBAAqB;IACrB,GAAG,GAA0B,GAAG,CAAA;IAChC,qBAAqB;IACrB,IAAI,CAAwB;IAC5B,sBAAsB;I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P,WAAW;oBACX,OAAO;oBACP,eAAe;oBACf,WAAW;oBACX,OAAO;oBACP,QAAQ;oBACR,cAAc;oBACd,wBAAwB;iBACzB;gBACD,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;oBACtB,SAAS,EAAE,aAAa;oBACxB,oBAAoB,EAAE,QAAQ;oBAC9B,oBAAoB,EAAE,SAAS;iBAChC;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;WAsBD;aACV;;kFACY,QAAQ"}
|
|
@@ -4,10 +4,47 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
|
-
import { type AfterViewChecked, type AfterViewInit, type DoCheck, type ElementRef, EventEmitter } from '@angular/core';
|
|
7
|
+
import { type AfterViewChecked, type AfterViewInit, type DoCheck, type ElementRef, EventEmitter, type TemplateRef } from '@angular/core';
|
|
8
8
|
import type { UIClassMap } from '@molecule/app-ui';
|
|
9
|
+
import { asTemplate, isGiven, nodeText } from '../utilities/node-value.js';
|
|
9
10
|
import { Input } from './input.component.js';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* Props for {@link PromptDialog} (React's `PromptDialogProps`, in Angular's
|
|
14
|
+
* form).
|
|
15
|
+
*
|
|
16
|
+
* Node-valued members are `string | number | TemplateRef<unknown>` inputs; the
|
|
17
|
+
* title may also be projected as `[slot=title]`. `onClose` keeps React's name
|
|
18
|
+
* and signature and is carried by the component's `close` output.
|
|
19
|
+
*/
|
|
20
|
+
export interface PromptDialogProps {
|
|
21
|
+
/** Whether the dialog is open. */
|
|
22
|
+
open: boolean;
|
|
23
|
+
/** Called when the dialog should close (carried by the `close` output). */
|
|
24
|
+
onClose: () => void;
|
|
25
|
+
/** Dialog heading. */
|
|
26
|
+
title?: string | number | TemplateRef<unknown>;
|
|
27
|
+
/** Explanatory line under the title. */
|
|
28
|
+
description?: string | number | TemplateRef<unknown>;
|
|
29
|
+
/** Input placeholder. */
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
/** Value the input starts from every time the dialog opens. */
|
|
32
|
+
initialValue?: string;
|
|
33
|
+
/** Called with the entered value on confirm. */
|
|
34
|
+
onSubmit: (value: string) => void | Promise<void>;
|
|
35
|
+
/** Confirm-button label. */
|
|
36
|
+
confirmLabel?: string | number | TemplateRef<unknown>;
|
|
37
|
+
/** Cancel-button label. */
|
|
38
|
+
cancelLabel?: string | number | TemplateRef<unknown>;
|
|
39
|
+
/** Renders the confirm button in the error color. */
|
|
40
|
+
destructive?: boolean;
|
|
41
|
+
/** `data-mol-id` for the text input. */
|
|
42
|
+
inputMolId?: string;
|
|
43
|
+
/** `data-mol-id` for the confirm button. */
|
|
44
|
+
confirmMolId?: string;
|
|
45
|
+
/** `data-mol-id` for the cancel button. */
|
|
46
|
+
cancelMolId?: string;
|
|
47
|
+
}
|
|
11
48
|
/**
|
|
12
49
|
* PromptDialog component.
|
|
13
50
|
*
|
|
@@ -18,32 +55,38 @@ import * as i0 from "@angular/core";
|
|
|
18
55
|
*/
|
|
19
56
|
export declare class PromptDialog implements AfterViewInit, AfterViewChecked, DoCheck {
|
|
20
57
|
/** Whether the dialog is open. */
|
|
21
|
-
open:
|
|
58
|
+
open: PromptDialogProps['open'];
|
|
22
59
|
/** Dialog heading (node-valued prop). */
|
|
23
|
-
title?:
|
|
24
|
-
/** Explanatory line under the title. */
|
|
25
|
-
description?:
|
|
60
|
+
title?: PromptDialogProps['title'];
|
|
61
|
+
/** Explanatory line under the title (node-valued prop). */
|
|
62
|
+
description?: PromptDialogProps['description'];
|
|
26
63
|
/** Input placeholder. */
|
|
27
|
-
placeholder?:
|
|
64
|
+
placeholder?: PromptDialogProps['placeholder'];
|
|
28
65
|
/** Value the input starts from every time the dialog opens. */
|
|
29
|
-
initialValue
|
|
66
|
+
initialValue?: PromptDialogProps['initialValue'];
|
|
30
67
|
/**
|
|
31
68
|
* Called with the entered value on confirm. Resolve to close the dialog;
|
|
32
69
|
* reject or throw to keep it open.
|
|
33
70
|
*/
|
|
34
|
-
onSubmit?:
|
|
35
|
-
/** Confirm-button label. */
|
|
36
|
-
confirmLabel?:
|
|
37
|
-
/** Cancel-button label. */
|
|
38
|
-
cancelLabel?:
|
|
71
|
+
onSubmit?: PromptDialogProps['onSubmit'];
|
|
72
|
+
/** Confirm-button label (node-valued prop). */
|
|
73
|
+
confirmLabel?: PromptDialogProps['confirmLabel'];
|
|
74
|
+
/** Cancel-button label (node-valued prop). */
|
|
75
|
+
cancelLabel?: PromptDialogProps['cancelLabel'];
|
|
39
76
|
/** Renders the confirm button in the error color. */
|
|
40
|
-
destructive
|
|
77
|
+
destructive?: PromptDialogProps['destructive'];
|
|
41
78
|
/** `data-mol-id` for the text input. */
|
|
42
|
-
inputMolId?:
|
|
79
|
+
inputMolId?: PromptDialogProps['inputMolId'];
|
|
43
80
|
/** `data-mol-id` for the confirm button. */
|
|
44
|
-
confirmMolId?:
|
|
81
|
+
confirmMolId?: PromptDialogProps['confirmMolId'];
|
|
45
82
|
/** `data-mol-id` for the cancel button. */
|
|
46
|
-
cancelMolId?:
|
|
83
|
+
cancelMolId?: PromptDialogProps['cancelMolId'];
|
|
84
|
+
/** Template helpers (templates see only class members). */
|
|
85
|
+
readonly asTemplate: typeof asTemplate;
|
|
86
|
+
/** Renders a plain-string/number node value. */
|
|
87
|
+
readonly nodeText: typeof nodeText;
|
|
88
|
+
/** Whether a node-valued prop was given. */
|
|
89
|
+
readonly isGiven: typeof isGiven;
|
|
47
90
|
/** Fires when the dialog should close (escape, backdrop, cancel, a fulfilled submit). */
|
|
48
91
|
readonly close: EventEmitter<unknown>;
|
|
49
92
|
/** The dialog heading element (its text seeds the input's aria-label). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-dialog.component.d.ts","sourceRoot":"","sources":["../../src/components/prompt-dialog.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAEl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