@molecule/app-ui-angular 1.5.1 → 1.10.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 +780 -362
- package/dist/components/checkbox.component.d.ts +5 -1
- package/dist/components/checkbox.component.d.ts.map +1 -1
- package/dist/components/checkbox.component.js +14 -3
- package/dist/components/checkbox.component.js.map +1 -1
- package/dist/components/confirm-button.component.d.ts +1 -5
- package/dist/components/confirm-button.component.d.ts.map +1 -1
- package/dist/components/confirm-button.component.js +15 -11
- package/dist/components/confirm-button.component.js.map +1 -1
- package/dist/components/confirm-dialog.component.d.ts +1 -5
- package/dist/components/confirm-dialog.component.d.ts.map +1 -1
- package/dist/components/confirm-dialog.component.js +5 -3
- package/dist/components/confirm-dialog.component.js.map +1 -1
- package/dist/components/dropdown.component.d.ts +3 -11
- package/dist/components/dropdown.component.d.ts.map +1 -1
- package/dist/components/dropdown.component.js +54 -97
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/file-field.component.d.ts +42 -0
- package/dist/components/file-field.component.d.ts.map +1 -0
- package/dist/components/file-field.component.js +121 -0
- package/dist/components/file-field.component.js.map +1 -0
- package/dist/components/floating-input.component.d.ts +21 -3
- package/dist/components/floating-input.component.d.ts.map +1 -1
- package/dist/components/floating-input.component.js +34 -4
- package/dist/components/floating-input.component.js.map +1 -1
- package/dist/components/form.component.d.ts.map +1 -1
- package/dist/components/form.component.js +11 -6
- package/dist/components/form.component.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input.component.d.ts +18 -2
- package/dist/components/input.component.d.ts.map +1 -1
- package/dist/components/input.component.js +37 -11
- package/dist/components/input.component.js.map +1 -1
- package/dist/components/language-picker.component.d.ts +9 -1
- package/dist/components/language-picker.component.d.ts.map +1 -1
- package/dist/components/language-picker.component.js +15 -8
- package/dist/components/language-picker.component.js.map +1 -1
- package/dist/components/load-error-banner.component.d.ts +21 -3
- package/dist/components/load-error-banner.component.d.ts.map +1 -1
- package/dist/components/load-error-banner.component.js +33 -5
- package/dist/components/load-error-banner.component.js.map +1 -1
- package/dist/components/modal.component.d.ts +27 -48
- package/dist/components/modal.component.d.ts.map +1 -1
- package/dist/components/modal.component.js +85 -184
- package/dist/components/modal.component.js.map +1 -1
- package/dist/components/molecule/input.component.d.ts +7 -0
- package/dist/components/molecule/input.component.d.ts.map +1 -1
- package/dist/components/molecule/input.component.js +13 -5
- package/dist/components/molecule/input.component.js.map +1 -1
- package/dist/components/molecule/select.component.d.ts +7 -0
- package/dist/components/molecule/select.component.d.ts.map +1 -1
- package/dist/components/molecule/select.component.js +13 -5
- package/dist/components/molecule/select.component.js.map +1 -1
- package/dist/components/page-header.component.d.ts.map +1 -1
- package/dist/components/page-header.component.js +22 -21
- package/dist/components/page-header.component.js.map +1 -1
- package/dist/components/prompt-dialog.component.d.ts +6 -30
- package/dist/components/prompt-dialog.component.d.ts.map +1 -1
- package/dist/components/prompt-dialog.component.js +25 -56
- package/dist/components/prompt-dialog.component.js.map +1 -1
- package/dist/components/responsive-app-shell.component.d.ts +16 -34
- package/dist/components/responsive-app-shell.component.d.ts.map +1 -1
- package/dist/components/responsive-app-shell.component.js +58 -141
- package/dist/components/responsive-app-shell.component.js.map +1 -1
- package/dist/components/select.component.d.ts +9 -1
- package/dist/components/select.component.d.ts.map +1 -1
- package/dist/components/select.component.js +16 -7
- package/dist/components/select.component.js.map +1 -1
- package/dist/components/sidebar-user-card.component.d.ts +5 -1
- package/dist/components/sidebar-user-card.component.d.ts.map +1 -1
- package/dist/components/sidebar-user-card.component.js +11 -7
- package/dist/components/sidebar-user-card.component.js.map +1 -1
- package/dist/components/switch.component.d.ts +3 -1
- package/dist/components/switch.component.d.ts.map +1 -1
- package/dist/components/switch.component.js +9 -2
- package/dist/components/switch.component.js.map +1 -1
- package/dist/components/textarea.component.d.ts +15 -9
- package/dist/components/textarea.component.d.ts.map +1 -1
- package/dist/components/textarea.component.js +33 -19
- package/dist/components/textarea.component.js.map +1 -1
- package/dist/components/theme-toggle.component.d.ts +14 -1
- package/dist/components/theme-toggle.component.d.ts.map +1 -1
- package/dist/components/theme-toggle.component.js +27 -6
- package/dist/components/theme-toggle.component.js.map +1 -1
- package/dist/components/toast.component.d.ts +13 -18
- package/dist/components/toast.component.d.ts.map +1 -1
- package/dist/components/toast.component.js +47 -63
- package/dist/components/toast.component.js.map +1 -1
- package/dist/components/tooltip.component.d.ts +17 -2
- package/dist/components/tooltip.component.d.ts.map +1 -1
- package/dist/components/tooltip.component.js +52 -92
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/components/user-menu-popover.component.d.ts +16 -8
- package/dist/components/user-menu-popover.component.d.ts.map +1 -1
- package/dist/components/user-menu-popover.component.js +40 -48
- package/dist/components/user-menu-popover.component.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/utilities/element-props.d.ts +1 -1
- package/dist/utilities/element-props.d.ts.map +1 -1
- package/dist/utilities/element-props.js +3 -13
- package/dist/utilities/element-props.js.map +1 -1
- package/dist/utilities/element.d.ts +10 -0
- package/dist/utilities/element.d.ts.map +1 -1
- package/dist/utilities/element.js +13 -0
- package/dist/utilities/element.js.map +1 -1
- package/dist/utilities/style.d.ts +6 -16
- package/dist/utilities/style.d.ts.map +1 -1
- package/dist/utilities/style.js +38 -117
- package/dist/utilities/style.js.map +1 -1
- package/dist/web-drag.directive.d.ts +25 -0
- package/dist/web-drag.directive.d.ts.map +1 -0
- package/dist/web-drag.directive.js +43 -0
- package/dist/web-drag.directive.js.map +1 -0
- package/dist/web-hover.directive.d.ts +24 -0
- package/dist/web-hover.directive.d.ts.map +1 -0
- package/dist/web-hover.directive.js +42 -0
- package/dist/web-hover.directive.js.map +1 -0
- package/dist/web-wheel-zoom.directive.d.ts +18 -0
- package/dist/web-wheel-zoom.directive.d.ts.map +1 -0
- package/dist/web-wheel-zoom.directive.js +28 -0
- package/dist/web-wheel-zoom.directive.js.map +1 -0
- package/package.json +13 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.component.js","sourceRoot":"","sources":["../../../src/components/molecule/select.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG/F,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;;
|
|
1
|
+
{"version":3,"file":"select.component.js","sourceRoot":"","sources":["../../../src/components/molecule/select.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG/F,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;;IAYnD,gCAAoD;IAClD,YACF;IAAA,oBAAQ;;;IAFqB,kCAAsB;;IACjD,cACF;IADE,6CACF;;;IAgBI,oCAA0B;IAAA,YAAiB;IAAA,oBAAS;;;IAA1B,cAAiB;IAAjB,wCAAiB;;;IAG3C,oCAAiB;IAAA,kBAAE;IAAA,oBAAS;;;IAG5B,oCAA4D;IAC1D,YACF;IAAA,oBAAS;;;IAFsB,AAAvB,0CAAsB,gCAA6B;IACzD,cACF;IADE,gDACF;;;IAKJ,+BAAuD;IACrD,YACF;IAAA,oBAAI;;;IAF0B,oCAAwB;IAAnD,kDAA0B;IAC3B,cACF;IADE,6CACF;;;IAGA,+BAAqD;IACnD,YACF;IAAA,oBAAI;;;IAFyB,mCAAuB;IAAjD,iDAAyB;IAC1B,cACF;IADE,4CACF;;AAhDR;;GAEG;AAmDH;;;GAGG;AACH,MAAM,OAAO,cAAc;IAChB,OAAO,GAA2B,EAAE,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CT;aACF;;kBAME,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBAEL,MAAM;;kBACN,MAAM;;kFAjBI,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.component.d.ts","sourceRoot":"","sources":["../../src/components/page-header.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAa,UAAU,EAAqB,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"page-header.component.d.ts","sourceRoot":"","sources":["../../src/components/page-header.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAa,UAAU,EAAqB,MAAM,eAAe,CAAA;AAUxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,yBAAyB,CAAA;;;AAGtE,4BAA4B;AAC5B,UAAU,UAAU;IAClB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;;;;;;;GAQG;AACH,qBAyCa,UAAW,YAAW,UAAU,CAAC,cAAc,CAAC;IAC3D,kBAAkB;IAClB,KAAK,SAAK;IACV,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yDAAyD;IACzD,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC/B,qBAAqB;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,0EAA0E;IAChD,WAAW,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;IAElE;;;;OAIG;IACH,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAmB;IAExC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiD;IACtE,6DAA6D;IAC7D,QAAQ,CAAC,OAAO,wDAAyB;IACzC,OAAO,CAAC,UAAU,CAAQ;IAE1B,yDAAyD;;IAKzD;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;IAIjB;;;OAGG;IACH,eAAe,IAAI,MAAM;IAIzB;;;OAGG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B;;;;OAIG;IACH,OAAO,CAAC,WAAW;yCAzER,UAAU;2CAAV,UAAU;CA6EtB"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
7
|
import { Component, ElementRef, inject, ViewChild } from '@angular/core';
|
|
8
|
-
import { MolPlacement, setElementPresent, usePlacement, useTranslation, } from '@molecule/app-angular';
|
|
8
|
+
import { Link, MolPlacement, setElementPresent, usePlacement, useTranslation, } from '@molecule/app-angular';
|
|
9
9
|
import { getClassMap } from '@molecule/app-ui';
|
|
10
10
|
import { hostElement } from '../utilities/element.js';
|
|
11
11
|
import { styleText } from '../utilities/style.js';
|
|
@@ -16,29 +16,29 @@ const _c1 = [[["", "slot", "actions"]]];
|
|
|
16
16
|
const _c2 = ["[slot=actions]"];
|
|
17
17
|
const _c3 = () => ({ justify: "between", align: "center" });
|
|
18
18
|
function PageHeader_Conditional_0_For_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
-
i0.ɵɵ
|
|
19
|
+
i0.ɵɵelementStart(0, "span", 4);
|
|
20
20
|
i0.ɵɵtext(1, "/");
|
|
21
|
-
i0.ɵɵ
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
22
|
} if (rf & 2) {
|
|
23
23
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
24
24
|
i0.ɵɵclassMap(ctx_r0.cm().pageHeaderBreadcrumbSeparator);
|
|
25
25
|
} }
|
|
26
26
|
function PageHeader_Conditional_0_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵ
|
|
27
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
28
28
|
i0.ɵɵtext(1);
|
|
29
|
-
i0.ɵɵ
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
30
|
} if (rf & 2) {
|
|
31
31
|
const crumb_r2 = i0.ɵɵnextContext().$implicit;
|
|
32
32
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
33
33
|
i0.ɵɵclassMap(ctx_r0.cm().pageHeaderBreadcrumbItem);
|
|
34
|
-
i0.ɵɵ
|
|
34
|
+
i0.ɵɵproperty("molLink", crumb_r2.href);
|
|
35
35
|
i0.ɵɵadvance();
|
|
36
36
|
i0.ɵɵtextInterpolate(crumb_r2.label);
|
|
37
37
|
} }
|
|
38
38
|
function PageHeader_Conditional_0_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
-
i0.ɵɵ
|
|
39
|
+
i0.ɵɵelementStart(0, "span");
|
|
40
40
|
i0.ɵɵtext(1);
|
|
41
|
-
i0.ɵɵ
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
42
|
} if (rf & 2) {
|
|
43
43
|
const crumb_r2 = i0.ɵɵnextContext().$implicit;
|
|
44
44
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -57,9 +57,9 @@ function PageHeader_Conditional_0_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
57
57
|
i0.ɵɵconditional(crumb_r2.href ? 1 : 2);
|
|
58
58
|
} }
|
|
59
59
|
function PageHeader_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
-
i0.ɵɵ
|
|
60
|
+
i0.ɵɵelementStart(0, "nav");
|
|
61
61
|
i0.ɵɵrepeaterCreate(1, PageHeader_Conditional_0_For_2_Template, 3, 2, null, null, i0.ɵɵrepeaterTrackByIndex);
|
|
62
|
-
i0.ɵɵ
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
63
|
} if (rf & 2) {
|
|
64
64
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
65
65
|
i0.ɵɵclassMap(ctx_r0.cm().pageHeaderBreadcrumbs);
|
|
@@ -68,9 +68,9 @@ function PageHeader_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
68
68
|
i0.ɵɵrepeater(ctx_r0.breadcrumbs);
|
|
69
69
|
} }
|
|
70
70
|
function PageHeader_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
-
i0.ɵɵ
|
|
71
|
+
i0.ɵɵelementStart(0, "p");
|
|
72
72
|
i0.ɵɵtext(1);
|
|
73
|
-
i0.ɵɵ
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
74
|
} if (rf & 2) {
|
|
75
75
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
76
76
|
i0.ɵɵclassMap(ctx_r0.cm().pageHeaderDescription);
|
|
@@ -164,17 +164,17 @@ export class PageHeader {
|
|
|
164
164
|
i0.ɵɵattribute("title", null)("data-testid", ctx.testId)("data-mol-id", ctx.automationId);
|
|
165
165
|
i0.ɵɵstyleMap(ctx.hostStyle());
|
|
166
166
|
i0.ɵɵclassMap(ctx.classes());
|
|
167
|
-
} }, inputs: { title: "title", description: "description", breadcrumbs: "breadcrumbs", className: "className", style: "style", testId: "testId", automationId: "automationId" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c2, decls: 9, vars: 10, consts: [["actionsSlot", ""], [3, "class"], ["aria-hidden", "true", 3, "class"], [3, "
|
|
167
|
+
} }, inputs: { title: "title", description: "description", breadcrumbs: "breadcrumbs", className: "className", style: "style", testId: "testId", automationId: "automationId" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c2, decls: 9, vars: 10, consts: [["actionsSlot", ""], [3, "class"], ["aria-hidden", "true", 3, "class"], [3, "molLink", "class"], ["aria-hidden", "true"], [3, "molLink"]], template: function PageHeader_Template(rf, ctx) { if (rf & 1) {
|
|
168
168
|
i0.ɵɵprojectionDef(_c1);
|
|
169
169
|
i0.ɵɵconditionalCreate(0, PageHeader_Conditional_0_Template, 3, 3, "nav", 1);
|
|
170
|
-
i0.ɵɵ
|
|
170
|
+
i0.ɵɵelementStart(1, "div")(2, "div")(3, "h1");
|
|
171
171
|
i0.ɵɵtext(4);
|
|
172
|
-
i0.ɵɵ
|
|
172
|
+
i0.ɵɵelementEnd();
|
|
173
173
|
i0.ɵɵconditionalCreate(5, PageHeader_Conditional_5_Template, 2, 3, "p", 1);
|
|
174
|
-
i0.ɵɵ
|
|
175
|
-
i0.ɵɵ
|
|
174
|
+
i0.ɵɵelementEnd();
|
|
175
|
+
i0.ɵɵelementStart(6, "div", null, 0);
|
|
176
176
|
i0.ɵɵprojection(8);
|
|
177
|
-
i0.ɵɵ
|
|
177
|
+
i0.ɵɵelementEnd()();
|
|
178
178
|
} if (rf & 2) {
|
|
179
179
|
i0.ɵɵconditional(ctx.breadcrumbs && ctx.breadcrumbs.length > 0 ? 0 : -1);
|
|
180
180
|
i0.ɵɵadvance();
|
|
@@ -187,7 +187,7 @@ export class PageHeader {
|
|
|
187
187
|
i0.ɵɵconditional(ctx.description ? 5 : -1);
|
|
188
188
|
i0.ɵɵadvance();
|
|
189
189
|
i0.ɵɵclassMap(ctx.cm().pageHeaderActions);
|
|
190
|
-
} }, encapsulation: 2 });
|
|
190
|
+
} }, dependencies: [Link], encapsulation: 2 });
|
|
191
191
|
}
|
|
192
192
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageHeader, [{
|
|
193
193
|
type: Component,
|
|
@@ -195,6 +195,7 @@ export class PageHeader {
|
|
|
195
195
|
selector: 'div[mol-page-header]',
|
|
196
196
|
standalone: true,
|
|
197
197
|
hostDirectives: [MolPlacement],
|
|
198
|
+
imports: [Link],
|
|
198
199
|
inputs: ['title', 'description', 'breadcrumbs', 'className', 'style', 'testId', 'automationId'],
|
|
199
200
|
host: {
|
|
200
201
|
// `title` is this component's heading, which React renders as text; Angular would also keep a
|
|
@@ -212,7 +213,7 @@ export class PageHeader {
|
|
|
212
213
|
<span [class]="cm().pageHeaderBreadcrumbSeparator" aria-hidden="true">/</span>
|
|
213
214
|
}
|
|
214
215
|
@if (crumb.href) {
|
|
215
|
-
<a [
|
|
216
|
+
<a [molLink]="crumb.href" [class]="cm().pageHeaderBreadcrumbItem">{{ crumb.label }}</a>
|
|
216
217
|
} @else {
|
|
217
218
|
<span [class]="cm().pageHeaderBreadcrumbItem">{{ crumb.label }}</span>
|
|
218
219
|
}
|
|
@@ -235,5 +236,5 @@ export class PageHeader {
|
|
|
235
236
|
type: ViewChild,
|
|
236
237
|
args: ['actionsSlot']
|
|
237
238
|
}] }); })();
|
|
238
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageHeader, { className: "PageHeader", filePath: "components/page-header.component.ts", lineNumber:
|
|
239
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageHeader, { className: "PageHeader", filePath: "components/page-header.component.ts", lineNumber: 82 }); })();
|
|
239
240
|
//# sourceMappingURL=page-header.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.component.js","sourceRoot":"","sources":["../../src/components/page-header.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,EACL,YAAY,EACZ,iBAAiB,EAEjB,YAAY,EACZ,cAAc,GACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAmB,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;;;;;;;;
|
|
1
|
+
{"version":3,"file":"page-header.component.js","sourceRoot":"","sources":["../../src/components/page-header.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,iBAAiB,EAEjB,YAAY,EACZ,cAAc,GACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAmB,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;;;;;;;;IAsCrC,+BAAsE;IAAA,iBAAC;IAAA,iBAAO;;;IAAxE,wDAA4C;;;IAGlD,4BAAkE;IAAA,YAAiB;IAAA,iBAAI;;;;IAA7D,mDAAuC;IAA9D,uCAAsB;IAAyC,cAAiB;IAAjB,oCAAiB;;;IAEnF,4BAA8C;IAAA,YAAiB;IAAA,iBAAO;;;;IAAhE,mDAAuC;IAAC,cAAiB;IAAjB,oCAAiB;;;IANjE,iGAAkB;IAKhB,AAFF,8FAAkB,2EAET;;;;IALT,wCAEC;IACD,cAIC;IAJD,uCAIC;;;IATL,2BAAgF;IAC9E,4GASC;IACH,iBAAM;;;IAXD,gDAAoC;;IACvC,cASC;IATD,iCASC;;;IAOC,yBAAwC;IAAA,YAAiB;IAAA,iBAAI;;;IAA1D,gDAAoC;IAAC,cAAiB;IAAjB,wCAAiB;;AA1CnE;;;;;;;;GAQG;AA0CH,MAAM,OAAO,UAAU;IACrB,kBAAkB;IAClB,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Aa,EAAE,IAAI,CAAC,UAAU,CAAC,CAAA;IACrE,CAAC;oGA5EU,UAAU;6DAAV,UAAU;;;;;;oCAAV,IAAI;YAAJ,cAAA,eAAW,CAAD;YAAV,cAAA,aAAS,CAAC;;;YA1BV,4EAA6C;YAgBlD,AADF,AADF,2BAAkE,UAC3D,SACgC;YAAA,YAAW;YAAA,iBAAK;YACnD,0EAAmB;YAGrB,iBAAM;YACN,oCAAmD;YACjD,kBAAiD;YAErD,AADE,iBAAM,EACF;;YAxBG,wEAaR;YACI,cAA4D;YAA5D,wDAA4D;YAEzD,eAA8B;YAA9B,uCAA8B;YAAC,cAAW;YAAX,+BAAW;YAC9C,cAEC;YAFD,0CAEC;YAEe,cAAgC;YAAhC,yCAAgC;4BAhC5C,IAAI;;iFAqCH,UAAU;cAzCtB,SAAS;eAAC;gBACT,QAAQ,EAAE,sBAAsB;gBAChC,UAAU,EAAE,IAAI;gBAChB,cAAc,EAAE,CAAC,YAAY,CAAC;gBAC9B,OAAO,EAAE,CAAC,IAAI,CAAC;gBACf,MAAM,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,CAAC;gBAC/F,IAAI,EAAE;oBACJ,8FAA8F;oBAC9F,2EAA2E;oBAC3E,cAAc,EAAE,MAAM;oBACtB,SAAS,EAAE,WAAW;oBACtB,SAAS,EAAE,aAAa;oBACxB,oBAAoB,EAAE,QAAQ;oBAC9B,oBAAoB,EAAE,cAAc;iBACrC;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;WAwBD;aACV;;kBAkBE,SAAS;mBAAC,aAAa;;kFAjBb,UAAU"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
|
-
import { type
|
|
7
|
+
import { type AfterViewInit, type DoCheck, ElementRef, EventEmitter, type TemplateRef } from '@angular/core';
|
|
8
8
|
import { type SlotReader } from '@molecule/app-angular';
|
|
9
9
|
import type { UIClassMap } from '@molecule/app-ui';
|
|
10
10
|
import { asTemplate, isGiven, nodeText, rendersNode } from '../utilities/node-value.js';
|
|
@@ -56,7 +56,7 @@ export interface PromptDialogProps {
|
|
|
56
56
|
* renders a portal while open and nothing while closed, so the host element
|
|
57
57
|
* leaves the page and the portal renders in `document.body`.
|
|
58
58
|
*/
|
|
59
|
-
export declare class PromptDialog implements AfterViewInit,
|
|
59
|
+
export declare class PromptDialog implements AfterViewInit, DoCheck {
|
|
60
60
|
/** Whether the dialog is open. */
|
|
61
61
|
open: PromptDialogProps['open'];
|
|
62
62
|
/** Dialog heading (node-valued prop). */
|
|
@@ -132,10 +132,8 @@ export declare class PromptDialog implements AfterViewInit, AfterViewChecked, Do
|
|
|
132
132
|
private readonly host;
|
|
133
133
|
private lastOpen;
|
|
134
134
|
private lastInitial;
|
|
135
|
-
/**
|
|
136
|
-
|
|
137
|
-
/** Schedules the deferred focus from the view hook (outside an injection context). */
|
|
138
|
-
private readonly injector;
|
|
135
|
+
/** The dialog exists to take one string, so opening it puts focus in the input. */
|
|
136
|
+
readonly inputTarget: import("@molecule/app-ui").OverlayTarget;
|
|
139
137
|
/**
|
|
140
138
|
* Takes the host out of the page (React renders the composed `Modal`'s
|
|
141
139
|
* portal, nothing here); what the caller binds on the tag lands on the Modal.
|
|
@@ -163,32 +161,10 @@ export declare class PromptDialog implements AfterViewInit, AfterViewChecked, Do
|
|
|
163
161
|
* @returns The label, or null when React would render none.
|
|
164
162
|
*/
|
|
165
163
|
inputLabel(hasContent: SlotReader): string | null;
|
|
166
|
-
/**
|
|
167
|
-
* Seeds the value when the dialog opens (React's `[open, initialValue]`
|
|
168
|
-
* effect). The composed `Modal`'s view init has already run (children init
|
|
169
|
-
* first) and moved focus into the dialog.
|
|
170
|
-
*/
|
|
164
|
+
/** Seeds the value when the dialog opens (React's `[open, initialValue]` effect). */
|
|
171
165
|
ngAfterViewInit(): void;
|
|
172
|
-
/**
|
|
173
|
-
* Focuses the input after the view — and the composed `Modal`'s focus move —
|
|
174
|
-
* has settled (React's `[open]` effect running after the Modal's effects).
|
|
175
|
-
* Scheduling the DOM call here (rather than at registration) keeps it after
|
|
176
|
-
* the Modal's own deferred move, so the input wins.
|
|
177
|
-
*/
|
|
178
|
-
ngAfterViewChecked(): void;
|
|
179
|
-
/**
|
|
180
|
-
* Re-seeds the value on a later open transition (React's effect). The flag
|
|
181
|
-
* set here is consumed in ngAfterViewChecked, which runs after the child
|
|
182
|
-
* `Modal`'s own check (where its open transition schedules its focus move)
|
|
183
|
-
* has completed.
|
|
184
|
-
*/
|
|
166
|
+
/** Re-seeds the value on a later open transition (React's effect). */
|
|
185
167
|
ngDoCheck(): void;
|
|
186
|
-
/**
|
|
187
|
-
* Moves focus into the dialog's input after the render (the input ends up
|
|
188
|
-
* focused, exactly as React's post-Modal focus effect leaves it). Does
|
|
189
|
-
* nothing without a rendered input.
|
|
190
|
-
*/
|
|
191
|
-
focusInput(): void;
|
|
192
168
|
/**
|
|
193
169
|
* Applies React's `aria-label` to the inner input (it is a rest prop there).
|
|
194
170
|
* Runs in the placement function, so a title slot added or removed is read
|
|
@@ -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,
|
|
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,aAAa,EAElB,KAAK,OAAO,EACZ,UAAU,EACV,YAAY,EAIZ,KAAK,WAAW,EAEjB,MAAM,eAAe,CAAA;AAEtB,OAAO,EAIL,KAAK,UAAU,EAGhB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAKlD,OAAO,EAA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AAmB;IAEnC;;;;OAIG;IACH,QAAQ,CAAC,aAAa,SAAmB;IAEzC;;;OAGG;IACH,QAAQ,CAAC,cAAc,wDAA8B;IAErD,+BAA+B;IAC/B,QAAQ,CAAC,KAAK,iDAAa;IAC3B,qCAAqC;IACrC,QAAQ,CAAC,OAAO,kDAAgB;IAEhC;;;;OAIG;IACH,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAmB;IAExC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA8C;IAEnE,OAAO,CAAC,QAAQ,CAAQ;IACxB,OAAO,CAAC,WAAW,CAAK;IAExB,mFAAmF;IACnF,QAAQ,CAAC,WAAW,2CAAmE;IAEvF;;;OAGG;;IAYH;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,UAAU,IAAI,MAAM;IAMpB;;;OAGG;IACH,WAAW,IAAI,MAAM;IAMrB;;;;;OAKG;IACH,UAAU,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI;IAiBjD,qFAAqF;IACrF,eAAe,IAAI,IAAI;IASvB,sEAAsE;IACtE,SAAS,IAAI,IAAI;IAYjB;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAQvB;;;;OAIG;IACH,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAI3B;;;OAGG;IACH,YAAY,IAAI,IAAI;IAKpB;;;;;OAKG;IACH,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCA1NrB,YAAY;2CAAZ,YAAY;CA0OxB"}
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
7
|
+
import { Component, ElementRef, EventEmitter, inject, Output, signal, ViewChild, } from '@angular/core';
|
|
8
8
|
import { MolPlacement, setElementPresent, setHostRoot, usePlacement, useTranslation, } from '@molecule/app-angular';
|
|
9
9
|
import { getClassMap } from '@molecule/app-ui';
|
|
10
|
+
import { elementTarget } from '../utilities/element.js';
|
|
10
11
|
import { nextInstanceId } from '../utilities/ids.js';
|
|
11
12
|
import { asTemplate, isGiven, nodeText, rendersNode } from '../utilities/node-value.js';
|
|
12
13
|
import { Button } from './button.component.js';
|
|
@@ -169,10 +170,8 @@ export class PromptDialog {
|
|
|
169
170
|
host = inject(ElementRef);
|
|
170
171
|
lastOpen = false;
|
|
171
172
|
lastInitial = '';
|
|
172
|
-
/**
|
|
173
|
-
|
|
174
|
-
/** Schedules the deferred focus from the view hook (outside an injection context). */
|
|
175
|
-
injector = inject(Injector);
|
|
173
|
+
/** The dialog exists to take one string, so opening it puts focus in the input. */
|
|
174
|
+
inputTarget = elementTarget(() => this.inputComponent?.inputEl?.nativeElement);
|
|
176
175
|
/**
|
|
177
176
|
* Takes the host out of the page (React renders the composed `Modal`'s
|
|
178
177
|
* portal, nothing here); what the caller binds on the tag lands on the Modal.
|
|
@@ -233,40 +232,16 @@ export class PromptDialog {
|
|
|
233
232
|
return text;
|
|
234
233
|
return this.placeholder ?? null;
|
|
235
234
|
}
|
|
236
|
-
/**
|
|
237
|
-
* Seeds the value when the dialog opens (React's `[open, initialValue]`
|
|
238
|
-
* effect). The composed `Modal`'s view init has already run (children init
|
|
239
|
-
* first) and moved focus into the dialog.
|
|
240
|
-
*/
|
|
235
|
+
/** Seeds the value when the dialog opens (React's `[open, initialValue]` effect). */
|
|
241
236
|
ngAfterViewInit() {
|
|
242
237
|
this.lastOpen = !!this.open;
|
|
243
238
|
this.lastInitial = this.initialValue ?? '';
|
|
244
239
|
if (this.open) {
|
|
245
240
|
this.value.set(this.initialValue ?? '');
|
|
246
241
|
this.pending.set(false);
|
|
247
|
-
// The dialog exists to take one string, so opening it puts focus in the
|
|
248
|
-
// input — after the Modal has focused the dialog's first control.
|
|
249
|
-
this.pendingInputFocus = true;
|
|
250
242
|
}
|
|
251
243
|
}
|
|
252
|
-
/**
|
|
253
|
-
* Focuses the input after the view — and the composed `Modal`'s focus move —
|
|
254
|
-
* has settled (React's `[open]` effect running after the Modal's effects).
|
|
255
|
-
* Scheduling the DOM call here (rather than at registration) keeps it after
|
|
256
|
-
* the Modal's own deferred move, so the input wins.
|
|
257
|
-
*/
|
|
258
|
-
ngAfterViewChecked() {
|
|
259
|
-
if (!this.pendingInputFocus)
|
|
260
|
-
return;
|
|
261
|
-
this.pendingInputFocus = false;
|
|
262
|
-
afterNextRender(() => this.focusInput(), { injector: this.injector });
|
|
263
|
-
}
|
|
264
|
-
/**
|
|
265
|
-
* Re-seeds the value on a later open transition (React's effect). The flag
|
|
266
|
-
* set here is consumed in ngAfterViewChecked, which runs after the child
|
|
267
|
-
* `Modal`'s own check (where its open transition schedules its focus move)
|
|
268
|
-
* has completed.
|
|
269
|
-
*/
|
|
244
|
+
/** Re-seeds the value on a later open transition (React's effect). */
|
|
270
245
|
ngDoCheck() {
|
|
271
246
|
const open = !!this.open;
|
|
272
247
|
if (open !== this.lastOpen || (open && this.initialValue !== this.lastInitial)) {
|
|
@@ -275,18 +250,9 @@ export class PromptDialog {
|
|
|
275
250
|
if (open) {
|
|
276
251
|
this.value.set(this.initialValue ?? '');
|
|
277
252
|
this.pending.set(false);
|
|
278
|
-
this.pendingInputFocus = true;
|
|
279
253
|
}
|
|
280
254
|
}
|
|
281
255
|
}
|
|
282
|
-
/**
|
|
283
|
-
* Moves focus into the dialog's input after the render (the input ends up
|
|
284
|
-
* focused, exactly as React's post-Modal focus effect leaves it). Does
|
|
285
|
-
* nothing without a rendered input.
|
|
286
|
-
*/
|
|
287
|
-
focusInput() {
|
|
288
|
-
this.inputComponent?.inputEl?.nativeElement.focus();
|
|
289
|
-
}
|
|
290
256
|
/**
|
|
291
257
|
* Applies React's `aria-label` to the inner input (it is a rest prop there).
|
|
292
258
|
* Runs in the placement function, so a title slot added or removed is read
|
|
@@ -332,16 +298,18 @@ export class PromptDialog {
|
|
|
332
298
|
if (this.pending())
|
|
333
299
|
return;
|
|
334
300
|
this.pending.set(true);
|
|
335
|
-
void
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
301
|
+
void (async () => {
|
|
302
|
+
try {
|
|
303
|
+
await this.onSubmit?.(this.value());
|
|
304
|
+
this.pending.set(false);
|
|
305
|
+
this.close.emit();
|
|
306
|
+
}
|
|
307
|
+
catch (_error) {
|
|
308
|
+
// Deliberate: a rejection or a synchronous throw keeps the dialog open
|
|
309
|
+
// and the caller owns the error, rendering it through `children`.
|
|
310
|
+
this.pending.set(false);
|
|
311
|
+
}
|
|
312
|
+
})();
|
|
345
313
|
}
|
|
346
314
|
static ɵfac = function PromptDialog_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PromptDialog)(); };
|
|
347
315
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PromptDialog, selectors: [["mol-prompt-dialog"]], viewQuery: function PromptDialog_Query(rf, ctx) { if (rf & 1) {
|
|
@@ -351,7 +319,7 @@ export class PromptDialog {
|
|
|
351
319
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.titleSlot = _t.first);
|
|
352
320
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputComponent = _t.first);
|
|
353
321
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalElement = _t.first);
|
|
354
|
-
} }, inputs: { open: "open", title: "title", description: "description", placeholder: "placeholder", initialValue: "initialValue", onSubmit: "onSubmit", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", destructive: "destructive", inputMolId: "inputMolId", confirmMolId: "confirmMolId", cancelMolId: "cancelMolId" }, outputs: { close: "close" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c3, decls: 19, vars:
|
|
322
|
+
} }, inputs: { open: "open", title: "title", description: "description", placeholder: "placeholder", initialValue: "initialValue", onSubmit: "onSubmit", confirmLabel: "confirmLabel", cancelLabel: "cancelLabel", destructive: "destructive", inputMolId: "inputMolId", confirmMolId: "confirmMolId", cancelMolId: "cancelMolId" }, outputs: { close: "close" }, features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], ngContentSelectors: _c3, decls: 19, vars: 29, consts: [["modal", ""], ["titleSlot", ""], [3, "close", "open", "initialFocus"], [3, "submit"], [3, "class"], [3, "class", "textContent"], ["mol-input", "", 3, "change", "value", "placeholder", "disabled"], ["mol-button", "", 3, "click", "type", "variant", "disabled"], ["mol-button", "", 3, "type", "variant", "color", "disabled"], [3, "molTemplateOutlet"], [3, "textContent"]], template: function PromptDialog_Template(rf, ctx) { if (rf & 1) {
|
|
355
323
|
i0.ɵɵprojectionDef(_c2);
|
|
356
324
|
i0.ɵɵelementStart(0, "mol-modal", 2, 0);
|
|
357
325
|
i0.ɵɵlistener("close", function PromptDialog_Template_mol_modal_close_0_listener() { return ctx.onModalClose(); });
|
|
@@ -373,8 +341,8 @@ export class PromptDialog {
|
|
|
373
341
|
i0.ɵɵconditionalCreate(17, PromptDialog_Conditional_17_Template, 2, 2)(18, PromptDialog_Conditional_18_Template, 1, 1);
|
|
374
342
|
i0.ɵɵelementEnd()()()()();
|
|
375
343
|
} if (rf & 2) {
|
|
376
|
-
let
|
|
377
|
-
i0.ɵɵproperty("open", ctx.open);
|
|
344
|
+
let tmp_10_0;
|
|
345
|
+
i0.ɵɵproperty("open", ctx.open)("initialFocus", ctx.inputTarget);
|
|
378
346
|
i0.ɵɵattribute("aria-labelledby", ctx.ariaLabelledBy())("aria-describedby", ctx.rendersNode(ctx.description) ? ctx.descriptionId : null);
|
|
379
347
|
i0.ɵɵadvance(3);
|
|
380
348
|
i0.ɵɵclassMap(ctx.cm().stack(3));
|
|
@@ -384,12 +352,12 @@ export class PromptDialog {
|
|
|
384
352
|
i0.ɵɵadvance(2);
|
|
385
353
|
i0.ɵɵconditional(ctx.isGiven(ctx.title) ? 6 : 7);
|
|
386
354
|
i0.ɵɵadvance(2);
|
|
387
|
-
i0.ɵɵconditional((
|
|
355
|
+
i0.ɵɵconditional((tmp_10_0 = ctx.asTemplate(ctx.description)) ? 8 : ctx.rendersNode(ctx.description) ? 9 : -1, tmp_10_0);
|
|
388
356
|
i0.ɵɵadvance(2);
|
|
389
357
|
i0.ɵɵproperty("value", ctx.value())("placeholder", ctx.placeholder)("disabled", ctx.pending());
|
|
390
358
|
i0.ɵɵattribute("data-mol-id", ctx.inputMolId);
|
|
391
359
|
i0.ɵɵadvance(2);
|
|
392
|
-
i0.ɵɵclassMap(ctx.cm().flex(i0.ɵɵpureFunction0(
|
|
360
|
+
i0.ɵɵclassMap(ctx.cm().flex(i0.ɵɵpureFunction0(28, _c4)));
|
|
393
361
|
i0.ɵɵadvance();
|
|
394
362
|
i0.ɵɵproperty("type", "button")("variant", "ghost")("disabled", ctx.pending());
|
|
395
363
|
i0.ɵɵattribute("data-mol-id", ctx.cancelMolId);
|
|
@@ -427,6 +395,7 @@ export class PromptDialog {
|
|
|
427
395
|
template: `<mol-modal
|
|
428
396
|
#modal
|
|
429
397
|
[open]="open"
|
|
398
|
+
[initialFocus]="inputTarget"
|
|
430
399
|
(close)="onModalClose()"
|
|
431
400
|
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
432
401
|
[attr.aria-describedby]="rendersNode(description) ? descriptionId : null"
|
|
@@ -511,5 +480,5 @@ export class PromptDialog {
|
|
|
511
480
|
type: ViewChild,
|
|
512
481
|
args: ['modal', { read: ElementRef }]
|
|
513
482
|
}] }); })();
|
|
514
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PromptDialog, { className: "PromptDialog", filePath: "components/prompt-dialog.component.ts", lineNumber:
|
|
483
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PromptDialog, { className: "PromptDialog", filePath: "components/prompt-dialog.component.ts", lineNumber: 182 }); })();
|
|
515
484
|
//# sourceMappingURL=prompt-dialog.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-dialog.component.js","sourceRoot":"","sources":["../../src/components/prompt-dialog.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"prompt-dialog.component.js","sourceRoot":"","sources":["../../src/components/prompt-dialog.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAEL,SAAS,EAET,UAAU,EACV,YAAY,EACZ,MAAM,EACN,MAAM,EACN,MAAM,EAEN,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,WAAW,EAEX,YAAY,EACZ,cAAc,GACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;;;;;;;;;IAmFtD,2BACC;IAAA,YACH;;;IAFgB,mEAAuC;IACpD,cACH;IADG,6DACH;;;IACE,qBAA+C;;;IAIjD,yBAA2D;IACzD,2BAAuE;IACzE,iBAAI;;;IAFyB,yCAA6B;;IAC1C,cAAyC;IAAzC,uCAAyC;;;IAGzD,wBAIK;;;IAFH,yCAA6B;IAC7B,iEAAqC;;;;IAsBnC,2BACC;IAAA,YACH;;;IAFgB,yEAA6C;IAC1D,cACH;IADG,mEACH;;;IACE,YACF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|
|
3
|
-
* Sidebar, Drawer and Content sub-components.
|
|
4
|
-
*
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
1
|
import { type AfterViewInit, type DoCheck, ElementRef, type OnDestroy, type OnInit, type TemplateRef } from '@angular/core';
|
|
8
2
|
import type { UIClassMap } from '@molecule/app-ui';
|
|
9
3
|
import { asTemplate, nodeText } from '../utilities/node-value.js';
|
|
@@ -335,6 +329,18 @@ export declare class ResponsiveAppShellSidebar implements OnInit {
|
|
|
335
329
|
/**
|
|
336
330
|
* The mobile nav drawer (<768px): a left-anchored dialog panel over a
|
|
337
331
|
* backdrop, portaled into `document.body`.
|
|
332
|
+
*
|
|
333
|
+
* Projected content is created with the consumer's view, so a closed drawer's content exists while
|
|
334
|
+
* hidden: its components, effects and fetches run. React mounts it only while shown, and again each
|
|
335
|
+
* time it shows. Write content with state as `*molLazy` (`MolLazy` from `@molecule/app-angular`):
|
|
336
|
+
* it is created when it shows and destroyed when it hides, as React's is.
|
|
337
|
+
*
|
|
338
|
+
* @example
|
|
339
|
+
* ```html
|
|
340
|
+
* <mol-responsive-app-shell-drawer>
|
|
341
|
+
* <nav-tree *molLazy />
|
|
342
|
+
* </mol-responsive-app-shell-drawer>
|
|
343
|
+
* ```
|
|
338
344
|
*/
|
|
339
345
|
export declare class ResponsiveAppShellDrawer implements OnInit, AfterViewInit, DoCheck, OnDestroy {
|
|
340
346
|
/** Header row content (React's `header` node value). */
|
|
@@ -378,16 +384,11 @@ export declare class ResponsiveAppShellDrawer implements OnInit, AfterViewInit,
|
|
|
378
384
|
* does not).
|
|
379
385
|
*/
|
|
380
386
|
private readonly i18n;
|
|
381
|
-
|
|
382
|
-
private readonly injector;
|
|
383
|
-
/** Schedules the focus restore of a destroyed open drawer (the component's own injector is gone). */
|
|
387
|
+
private readonly browser;
|
|
384
388
|
private readonly environmentInjector;
|
|
385
|
-
private readonly
|
|
389
|
+
private readonly layer;
|
|
386
390
|
private hasFooter;
|
|
387
|
-
private locked;
|
|
388
391
|
private lastOpen;
|
|
389
|
-
private previouslyFocused;
|
|
390
|
-
private listeners;
|
|
391
392
|
/** Applies React's conditional header/footer wrappers, and takes the host out of the page. */
|
|
392
393
|
constructor();
|
|
393
394
|
/**
|
|
@@ -455,31 +456,12 @@ export declare class ResponsiveAppShellDrawer implements OnInit, AfterViewInit,
|
|
|
455
456
|
ngAfterViewInit(): void;
|
|
456
457
|
/** Reconciles the open state and the drawer registration. */
|
|
457
458
|
ngDoCheck(): void;
|
|
458
|
-
/**
|
|
459
|
-
* Unregisters the drawer, unlocks scroll and, when it was open, puts focus back on whatever
|
|
460
|
-
* opened it (React's effect cleanup does on unmount).
|
|
461
|
-
*/
|
|
459
|
+
/** Releases the drawer when the shell or the parent destroys it. */
|
|
462
460
|
ngOnDestroy(): void;
|
|
463
461
|
/** Applies React's conditional header/footer wrappers, and takes the host out of the page. */
|
|
464
462
|
private syncWrappers;
|
|
465
|
-
/**
|
|
463
|
+
/** Reconciles the mounted drawer panel with the shell state. */
|
|
466
464
|
private syncOpen;
|
|
467
|
-
/** Mounts the open panel: portal, focus into the panel, scroll lock, keys. */
|
|
468
|
-
private openPanel;
|
|
469
|
-
/** Renders the portal nodes in `document.body`. */
|
|
470
|
-
private attachPortal;
|
|
471
|
-
/** Removes the portal nodes (React renders null). */
|
|
472
|
-
private detachPortal;
|
|
473
|
-
/** Adds Escape and the Tab focus trap while open. */
|
|
474
|
-
private addListeners;
|
|
475
|
-
/** Removes the document listeners. */
|
|
476
|
-
private removeListeners;
|
|
477
|
-
/**
|
|
478
|
-
* Escape closes the drawer; Tab wraps inside the panel.
|
|
479
|
-
*
|
|
480
|
-
* @param event - The key event.
|
|
481
|
-
*/
|
|
482
|
-
private handleKeyDown;
|
|
483
465
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsiveAppShellDrawer, never>;
|
|
484
466
|
static ɵcmp: i0.ɵɵComponentDeclaration<ResponsiveAppShellDrawer, "mol-responsive-app-shell-drawer", never, { "header": { "alias": "header"; "required": false; }; "navLabel": { "alias": "navLabel"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "className": { "alias": "className"; "required": false; }; "dataMolId": { "alias": "dataMolId"; "required": false; }; "closeDataMolId": { "alias": "closeDataMolId"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, ["[slot=header]", "*", "[slot=footer]"], true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
|
|
485
467
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsive-app-shell.component.d.ts","sourceRoot":"","sources":["../../src/components/responsive-app-shell.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"responsive-app-shell.component.d.ts","sourceRoot":"","sources":["../../src/components/responsive-app-shell.component.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,OAAO,EAEZ,UAAU,EAGV,KAAK,SAAS,EACd,KAAK,MAAM,EAGX,KAAK,WAAW,EAEjB,MAAM,eAAe,CAAA;AAatB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAMlD,OAAO,EAAE,UAAU,EAAW,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;;;AAK/D;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;AAgB3D,6DAA6D;AAC7D,MAAM,WAAW,iBAAiB;IAChC,sDAAsD;IACtD,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;IAC3B,mDAAmD;IACnD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;IAC/B,yCAAyC;IACzC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;IAC5B,wBAAwB;IACxB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,y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