@molecule/app-settings-panel-angular 2.0.1 → 3.0.1
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 +171 -127
- package/dist/account-section.component.js +1 -2
- package/dist/account-section.component.js.map +1 -1
- package/dist/auth-section.component.d.ts +30 -10
- package/dist/auth-section.component.d.ts.map +1 -1
- package/dist/auth-section.component.js +159 -116
- package/dist/auth-section.component.js.map +1 -1
- package/dist/billing-section.component.d.ts +10 -7
- package/dist/billing-section.component.d.ts.map +1 -1
- package/dist/billing-section.component.js +38 -23
- package/dist/billing-section.component.js.map +1 -1
- package/dist/container-context.d.ts +7 -4
- package/dist/container-context.d.ts.map +1 -1
- package/dist/container-context.js +9 -7
- package/dist/container-context.js.map +1 -1
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +2 -2
- package/dist/context.js.map +1 -1
- package/dist/controlled-switch.d.ts +0 -2
- package/dist/controlled-switch.d.ts.map +1 -1
- package/dist/controlled-switch.js +1 -6
- package/dist/controlled-switch.js.map +1 -1
- package/dist/log-out-delete-section.component.d.ts +8 -4
- package/dist/log-out-delete-section.component.d.ts.map +1 -1
- package/dist/log-out-delete-section.component.js +24 -14
- package/dist/log-out-delete-section.component.js.map +1 -1
- package/dist/tiers-upgrade-section.component.d.ts +31 -19
- package/dist/tiers-upgrade-section.component.d.ts.map +1 -1
- package/dist/tiers-upgrade-section.component.js +180 -141
- package/dist/tiers-upgrade-section.component.js.map +1 -1
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-section.component.js","sourceRoot":"","sources":["../src/auth-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"auth-section.component.js","sourceRoot":"","sources":["../src/auth-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,SA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.g. for offline rendering or apps that don't expose
|
|
12
12
|
* `/billing/status`).
|
|
13
13
|
*
|
|
14
|
-
* The Upgrade button
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* `TiersUpgradeSection
|
|
14
|
+
* The Upgrade button opens `upgradeTo`, the app's page for choosing a plan
|
|
15
|
+
* (`/pricing`, `/billing`). It has no default: no one route is right for
|
|
16
|
+
* every app, and the settings page this section sits in has no plans to
|
|
17
|
+
* choose. An app with no such page renders `TiersUpgradeSection`, which lists
|
|
18
|
+
* the tiers and starts the checkout itself. A section given no `upgradeTo`
|
|
19
|
+
* anyway (from JavaScript, or a template the compiler does not check) shows the
|
|
20
|
+
* plan without the button.
|
|
18
21
|
*/
|
|
19
22
|
export declare class BillingSection {
|
|
20
23
|
/** Fallback plan name when `/api/billing/status` is unavailable. */
|
|
21
|
-
plan
|
|
22
|
-
/**
|
|
24
|
+
plan?: string;
|
|
25
|
+
/** The app's page for choosing a plan, which the Upgrade button opens. */
|
|
23
26
|
upgradeTo: string;
|
|
24
27
|
/** Reactive translation, read in the injection context. */
|
|
25
28
|
protected readonly i18n: import("@molecule/app-angular").UseTranslationResult;
|
|
@@ -47,6 +50,6 @@ export declare class BillingSection {
|
|
|
47
50
|
/** Navigates to the upgrade route (React's `navigate(upgradeTo)`). */
|
|
48
51
|
protected upgrade(): void;
|
|
49
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<BillingSection, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BillingSection, "section[mol-settings-billing]", never, { "plan": { "alias": "plan"; "required": false; }; "upgradeTo": { "alias": "upgradeTo"; "required":
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BillingSection, "section[mol-settings-billing]", never, { "plan": { "alias": "plan"; "required": false; }; "upgradeTo": { "alias": "upgradeTo"; "required": true; }; }, {}, never, never, true, never>;
|
|
51
54
|
}
|
|
52
55
|
//# sourceMappingURL=billing-section.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-section.component.d.ts","sourceRoot":"","sources":["../src/billing-section.component.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAIlD
|
|
1
|
+
{"version":3,"file":"billing-section.component.d.ts","sourceRoot":"","sources":["../src/billing-section.component.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAIlD;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAoBa,cAAc;IACzB,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0EAA0E;IAC1E,SAAS,EAAG,MAAM,CAAA;IAElB,2DAA2D;IAC3D,SAAS,CAAC,QAAQ,CAAC,IAAI,uDAAmB;IAE1C,iDAAiD;IACjD,SAAS,CAAC,CAAC,8IAAc;IAEzB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAkB;IAEvC,kFAAkF;IAClF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IAErC,gEAAgE;IAChE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA8B;IAEvD,mEAAmE;IACnE,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAgB;IAEjD;;;OAGG;IACH,SAAS,CAAC,SAAS,IAAI,MAAM;IAQ7B;;;;;OAKG;;IAoBH,sEAAsE;IACtE,SAAS,CAAC,OAAO,IAAI,IAAI;yCA7Dd,cAAc;2CAAd,cAAc;CAgE1B"}
|
|
@@ -11,6 +11,18 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
const _c0 = () => ({ defaultValue: "Billing" });
|
|
12
12
|
const _c1 = () => ({ defaultValue: "Plan: " });
|
|
13
13
|
const _c2 = () => ({ defaultValue: "Upgrade" });
|
|
14
|
+
function BillingSection_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
16
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
17
|
+
i0.ɵɵlistener("click", function BillingSection_Conditional_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.upgrade()); });
|
|
18
|
+
i0.ɵɵtext(1);
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
22
|
+
i0.ɵɵproperty("variant", "outline")("size", "sm");
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.t("settings.upgrade", undefined, i0.ɵɵpureFunction0(3, _c2)), " ");
|
|
25
|
+
} }
|
|
14
26
|
/**
|
|
15
27
|
* BillingSection component.
|
|
16
28
|
*
|
|
@@ -22,16 +34,19 @@ const _c2 = () => ({ defaultValue: "Upgrade" });
|
|
|
22
34
|
* remains a fallback (e.g. for offline rendering or apps that don't expose
|
|
23
35
|
* `/billing/status`).
|
|
24
36
|
*
|
|
25
|
-
* The Upgrade button
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* `TiersUpgradeSection
|
|
37
|
+
* The Upgrade button opens `upgradeTo`, the app's page for choosing a plan
|
|
38
|
+
* (`/pricing`, `/billing`). It has no default: no one route is right for
|
|
39
|
+
* every app, and the settings page this section sits in has no plans to
|
|
40
|
+
* choose. An app with no such page renders `TiersUpgradeSection`, which lists
|
|
41
|
+
* the tiers and starts the checkout itself. A section given no `upgradeTo`
|
|
42
|
+
* anyway (from JavaScript, or a template the compiler does not check) shows the
|
|
43
|
+
* plan without the button.
|
|
29
44
|
*/
|
|
30
45
|
export class BillingSection {
|
|
31
46
|
/** Fallback plan name when `/api/billing/status` is unavailable. */
|
|
32
|
-
plan
|
|
33
|
-
/**
|
|
34
|
-
upgradeTo
|
|
47
|
+
plan;
|
|
48
|
+
/** The app's page for choosing a plan, which the Upgrade button opens. */
|
|
49
|
+
upgradeTo;
|
|
35
50
|
/** Reactive translation, read in the injection context. */
|
|
36
51
|
i18n = useTranslation();
|
|
37
52
|
/** The translation function for the template. */
|
|
@@ -49,7 +64,9 @@ export class BillingSection {
|
|
|
49
64
|
* @returns The plan name.
|
|
50
65
|
*/
|
|
51
66
|
planLabel() {
|
|
52
|
-
return this.livePlan() ??
|
|
67
|
+
return (this.livePlan() ??
|
|
68
|
+
this.plan ??
|
|
69
|
+
this.t('settings.billing.freePlan', undefined, { defaultValue: 'Free' }));
|
|
53
70
|
}
|
|
54
71
|
/**
|
|
55
72
|
* Reads the current plan from the bonded entitlements/billing status
|
|
@@ -81,7 +98,7 @@ export class BillingSection {
|
|
|
81
98
|
this.router.navigate(this.upgradeTo);
|
|
82
99
|
}
|
|
83
100
|
static ɵfac = function BillingSection_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BillingSection)(); };
|
|
84
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BillingSection, selectors: [["section", "mol-settings-billing", ""]], inputs: { plan: "plan", upgradeTo: "upgradeTo" }, decls:
|
|
101
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BillingSection, selectors: [["section", "mol-settings-billing", ""]], inputs: { plan: "plan", upgradeTo: "upgradeTo" }, decls: 8, vars: 12, consts: [["mol-flex", "", 3, "align", "justify"], ["mol-button", "", 3, "variant", "size"], ["mol-button", "", 3, "click", "variant", "size"]], template: function BillingSection_Template(rf, ctx) { if (rf & 1) {
|
|
85
102
|
i0.ɵɵelementStart(0, "h3");
|
|
86
103
|
i0.ɵɵtext(1);
|
|
87
104
|
i0.ɵɵelementEnd();
|
|
@@ -90,26 +107,22 @@ export class BillingSection {
|
|
|
90
107
|
i0.ɵɵelementStart(5, "strong");
|
|
91
108
|
i0.ɵɵtext(6);
|
|
92
109
|
i0.ɵɵelementEnd()();
|
|
93
|
-
i0.ɵɵ
|
|
94
|
-
i0.ɵɵ
|
|
95
|
-
i0.ɵɵtext(8);
|
|
96
|
-
i0.ɵɵelementEnd()();
|
|
110
|
+
i0.ɵɵconditionalCreate(7, BillingSection_Conditional_7_Template, 2, 4, "button", 1);
|
|
111
|
+
i0.ɵɵelementEnd();
|
|
97
112
|
} if (rf & 2) {
|
|
98
113
|
i0.ɵɵclassMap(ctx.cm.cn(ctx.cm.sectionHeading, ctx.cm.sp("mb", 3)));
|
|
99
114
|
i0.ɵɵadvance();
|
|
100
|
-
i0.ɵɵtextInterpolate1(" ", ctx.t("settings.billing", undefined, i0.ɵɵpureFunction0(
|
|
115
|
+
i0.ɵɵtextInterpolate1(" ", ctx.t("settings.billing", undefined, i0.ɵɵpureFunction0(10, _c0)), " ");
|
|
101
116
|
i0.ɵɵadvance();
|
|
102
117
|
i0.ɵɵproperty("align", "center")("justify", "between");
|
|
103
118
|
i0.ɵɵadvance();
|
|
104
119
|
i0.ɵɵclassMap(ctx.cm.textSize("sm"));
|
|
105
120
|
i0.ɵɵadvance();
|
|
106
|
-
i0.ɵɵtextInterpolate(ctx.t("settings.plan", undefined, i0.ɵɵpureFunction0(
|
|
121
|
+
i0.ɵɵtextInterpolate(ctx.t("settings.plan", undefined, i0.ɵɵpureFunction0(11, _c1)));
|
|
107
122
|
i0.ɵɵadvance(2);
|
|
108
123
|
i0.ɵɵtextInterpolate(ctx.planLabel());
|
|
109
124
|
i0.ɵɵadvance();
|
|
110
|
-
i0.ɵɵ
|
|
111
|
-
i0.ɵɵadvance();
|
|
112
|
-
i0.ɵɵtextInterpolate1(" ", ctx.t("settings.upgrade", undefined, i0.ɵɵpureFunction0(14, _c2)), " ");
|
|
125
|
+
i0.ɵɵconditional(ctx.upgradeTo ? 7 : -1);
|
|
113
126
|
} }, dependencies: [Button, Flex], encapsulation: 2 });
|
|
114
127
|
}
|
|
115
128
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BillingSection, [{
|
|
@@ -118,7 +131,7 @@ export class BillingSection {
|
|
|
118
131
|
selector: 'section[mol-settings-billing]',
|
|
119
132
|
standalone: true,
|
|
120
133
|
imports: [Button, Flex],
|
|
121
|
-
inputs: ['plan', 'upgradeTo'],
|
|
134
|
+
inputs: ['plan', { name: 'upgradeTo', required: true }],
|
|
122
135
|
template: `<h3 [class]="cm.cn(cm.sectionHeading, cm.sp('mb', 3))">
|
|
123
136
|
{{ t('settings.billing', undefined, { defaultValue: 'Billing' }) }}
|
|
124
137
|
</h3>
|
|
@@ -127,11 +140,13 @@ export class BillingSection {
|
|
|
127
140
|
>{{ t('settings.plan', undefined, { defaultValue: 'Plan: ' })
|
|
128
141
|
}}<strong>{{ planLabel() }}</strong></span
|
|
129
142
|
>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
143
|
+
@if (upgradeTo) {
|
|
144
|
+
<button mol-button [variant]="'outline'" [size]="'sm'" (click)="upgrade()">
|
|
145
|
+
{{ t('settings.upgrade', undefined, { defaultValue: 'Upgrade' }) }}
|
|
146
|
+
</button>
|
|
147
|
+
}
|
|
133
148
|
</div>`,
|
|
134
149
|
}]
|
|
135
150
|
}], () => [], null); })();
|
|
136
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BillingSection, { className: "BillingSection", filePath: "billing-section.component.ts", lineNumber:
|
|
151
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BillingSection, { className: "BillingSection", filePath: "billing-section.component.ts", lineNumber: 53 }); })();
|
|
137
152
|
//# sourceMappingURL=billing-section.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-section.component.js","sourceRoot":"","sources":["../src/billing-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAErE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA
|
|
1
|
+
{"version":3,"file":"billing-section.component.js","sourceRoot":"","sources":["../src/billing-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAErE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;;;;;;;IAmC/C,iCAA2E;IAApB,kLAAS,gBAAS,KAAC;IACxE,YACF;IAAA,iBAAS;;;IAFgC,AAAtB,mCAAqB,cAAc;IACpD,cACF;IADE,oGACF;;AAnCR;;;;;;;;;;;;;;;;;;GAkBG;AAqBH,MAAM,OAAO,cAAc;IACzB,oEAAoE;IACpE,IAAI,CAAS;IACb,0EAA0E;IAC1E,SAAS,CAAS;IAElB,2DAA2D;IACxC,IAAI,GAAG,cAAc,EAAE,CAAA;IAE1C,iDAAiD;IACvC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAER,IAAI,GAAG,aAAa,EAAE,CAAA;IAEvC,kFAAkF;IACjE,MAAM,GAAG,SAAS,EAAE,CAAA;IAErC,gEAAgE;IAC/C,QAAQ,GAAG,MAAM,CAAgB,IAAI;iFAAC,CAAA;IAEvD,mEAAmE;IAChD,EAAE,GAAe,WAAW,EAAE,CAAA;IAEjD;;;OAGG;IACO,SAAS;QACjB,OAAO,CACL,IAAI,CAAC,QAAQ,EAAE;YACf,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,CAAC,CAAC,2BAA2B,EAAE,SAAS,EAAE,EAAE,YAA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gBACT,QAAQ,EAAE,+BAA+B;gBACzC,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;gBACvB,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;gBACvD,QAAQ,EAAE;;;;;;;;;;;;;WAaD;aACV;;kFACY,cAAc"}
|
|
@@ -6,13 +6,16 @@
|
|
|
6
6
|
* children. Angular DI does not: `<ng-content>` nodes keep their declaration
|
|
7
7
|
* site's injector, so a provider on the container is invisible to sections
|
|
8
8
|
* projected inside it. The container therefore registers the context value on
|
|
9
|
-
* its own host ELEMENT
|
|
10
|
-
* `@molecule/app-ui-angular`
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* its own host ELEMENT, in a context of its own (`createDomContext` from
|
|
10
|
+
* `@molecule/app-ui-angular`), and sections look it up from their own host
|
|
11
|
+
* through the rendered tree: the same "nearest enclosing provider" semantics
|
|
12
|
+
* React has, with either host in or out of the page.
|
|
13
13
|
*
|
|
14
14
|
* @module
|
|
15
15
|
*/
|
|
16
|
+
import type { SettingsPanelContextValue } from './types.js';
|
|
17
|
+
/** React's `SettingsPanelContext`, in the rendered tree. */
|
|
18
|
+
export declare const settingsPanelContext: import("@molecule/app-ui-angular").DomContext<SettingsPanelContextValue>;
|
|
16
19
|
/**
|
|
17
20
|
* Registers the container context on `SettingsContainer`'s host element. The
|
|
18
21
|
* value closes over the container instance, so the context always exposes the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-context.d.ts","sourceRoot":"","sources":["../src/container-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"container-context.d.ts","sourceRoot":"","sources":["../src/container-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAE3D,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,0EACoC,CAAA;AAErE;;;;;;;;;GASG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,OAAO,EACb,WAAW,EAAE,MAAM,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAC1C,MAAM,IAAI,CAWZ"}
|
|
@@ -6,14 +6,16 @@
|
|
|
6
6
|
* children. Angular DI does not: `<ng-content>` nodes keep their declaration
|
|
7
7
|
* site's injector, so a provider on the container is invisible to sections
|
|
8
8
|
* projected inside it. The container therefore registers the context value on
|
|
9
|
-
* its own host ELEMENT
|
|
10
|
-
* `@molecule/app-ui-angular`
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* its own host ELEMENT, in a context of its own (`createDomContext` from
|
|
10
|
+
* `@molecule/app-ui-angular`), and sections look it up from their own host
|
|
11
|
+
* through the rendered tree: the same "nearest enclosing provider" semantics
|
|
12
|
+
* React has, with either host in or out of the page.
|
|
13
13
|
*
|
|
14
14
|
* @module
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { createDomContext } from '@molecule/app-ui-angular';
|
|
17
|
+
/** React's `SettingsPanelContext`, in the rendered tree. */
|
|
18
|
+
export const settingsPanelContext = createDomContext('SettingsPanelContext');
|
|
17
19
|
/**
|
|
18
20
|
* Registers the container context on `SettingsContainer`'s host element. The
|
|
19
21
|
* value closes over the container instance, so the context always exposes the
|
|
@@ -32,9 +34,9 @@ export function provideSettingsPanelContext(host, readOnClose) {
|
|
|
32
34
|
onClose();
|
|
33
35
|
},
|
|
34
36
|
};
|
|
35
|
-
|
|
37
|
+
settingsPanelContext.provide(host, value);
|
|
36
38
|
return () => {
|
|
37
|
-
|
|
39
|
+
settingsPanelContext.remove(host);
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
//# sourceMappingURL=container-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-context.js","sourceRoot":"","sources":["../src/container-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"container-context.js","sourceRoot":"","sources":["../src/container-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAI3D,4DAA4D;AAC5D,MAAM,CAAC,MAAM,oBAAoB,GAC/B,gBAAgB,CAA4B,sBAAsB,CAAC,CAAA;AAErE;;;;;;;;;GASG;AACH,MAAM,UAAU,2BAA2B,CACzC,IAAa,EACb,WAA2C;IAE3C,MAAM,KAAK,GAA8B;QACvC,OAAO,EAAE,GAAG,EAAE;YACZ,MAAM,OAAO,GAAG,WAAW,EAAE,CAAA;YAC7B,IAAI,OAAO;gBAAE,OAAO,EAAE,CAAA;QACxB,CAAC;KACF,CAAA;IACD,oBAAoB,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;IACzC,OAAO,GAAG,EAAE;QACV,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IACnC,CAAC,CAAA;AACH,CAAC"}
|
package/dist/context.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,oCAAoC,CAAA;AAErE;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,IAAI,yBAAyB,CAgBnE"}
|
package/dist/context.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
12
|
import { ElementRef, inject } from '@angular/core';
|
|
13
|
-
import {
|
|
13
|
+
import { settingsPanelContext } from './container-context.js';
|
|
14
14
|
/**
|
|
15
15
|
* Names the container context `SettingsContainer` publishes and sections
|
|
16
16
|
* consume (React's `SettingsPanelContext` object). Angular's counterpart is
|
|
@@ -31,7 +31,7 @@ export const SettingsPanelContext = 'molecule-settings-panel-context';
|
|
|
31
31
|
export function useSettingsPanelContext() {
|
|
32
32
|
const host = inject(ElementRef).nativeElement;
|
|
33
33
|
const resolve = () => {
|
|
34
|
-
const value =
|
|
34
|
+
const value = settingsPanelContext.find(host);
|
|
35
35
|
if (!value) {
|
|
36
36
|
throw new Error('Settings panel section components must be rendered inside <SettingsContainer>.');
|
|
37
37
|
}
|
package/dist/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAElD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAElD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,iCAAiC,CAAA;AAErE;;;;;;;;;GASG;AACH,MAAM,UAAU,uBAAuB;IACrC,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,aAA4B,CAAA;IAC5D,MAAM,OAAO,GAAG,GAA8B,EAAE;QAC9C,MAAM,KAAK,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC7C,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CACb,gFAAgF,CACjF,CAAA;QACH,CAAC;QACD,OAAO,KAAK,CAAA;IACd,CAAC,CAAA;IACD,OAAO;QACL,IAAI,OAAO;YACT,OAAO,OAAO,EAAE,CAAC,OAAO,CAAA;QAC1B,CAAC;KACF,CAAA;AACH,CAAC"}
|
|
@@ -19,8 +19,6 @@ export declare class ControlledSwitchSync {
|
|
|
19
19
|
private readonly switchHost;
|
|
20
20
|
/** The attribute state React froze at mount (null until the first sync). */
|
|
21
21
|
private mountedAttrChecked;
|
|
22
|
-
/** The hidden native checkbox (re-resolved while the view is rebuilt). */
|
|
23
|
-
private input;
|
|
24
22
|
/**
|
|
25
23
|
* Creates the sync for one switch.
|
|
26
24
|
* @param switchHost - The switch's host element (`mol-switch`).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controlled-switch.d.ts","sourceRoot":"","sources":["../src/controlled-switch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;GAEG;AACH,qBAAa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"controlled-switch.d.ts","sourceRoot":"","sources":["../src/controlled-switch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;GAEG;AACH,qBAAa,oBAAoB;IAQnB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAPvC,4EAA4E;IAC5E,OAAO,CAAC,kBAAkB,CAAuB;IAEjD;;;OAGG;gBAC0B,UAAU,EAAE,WAAW;IAEpD;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;CAU7B"}
|
|
@@ -19,8 +19,6 @@ export class ControlledSwitchSync {
|
|
|
19
19
|
switchHost;
|
|
20
20
|
/** The attribute state React froze at mount (null until the first sync). */
|
|
21
21
|
mountedAttrChecked = null;
|
|
22
|
-
/** The hidden native checkbox (re-resolved while the view is rebuilt). */
|
|
23
|
-
input = null;
|
|
24
22
|
/**
|
|
25
23
|
* Creates the sync for one switch.
|
|
26
24
|
* @param switchHost - The switch's host element (`mol-switch`).
|
|
@@ -36,10 +34,7 @@ export class ControlledSwitchSync {
|
|
|
36
34
|
* @param checked - The controlled `checked` value this render shows.
|
|
37
35
|
*/
|
|
38
36
|
sync(checked) {
|
|
39
|
-
|
|
40
|
-
this.input = this.switchHost.querySelector('input');
|
|
41
|
-
}
|
|
42
|
-
const input = this.input;
|
|
37
|
+
const input = this.switchHost.querySelector('input');
|
|
43
38
|
if (!input)
|
|
44
39
|
return;
|
|
45
40
|
if (this.mountedAttrChecked === null)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controlled-switch.js","sourceRoot":"","sources":["../src/controlled-switch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;GAEG;AACH,MAAM,OAAO,oBAAoB;
|
|
1
|
+
{"version":3,"file":"controlled-switch.js","sourceRoot":"","sources":["../src/controlled-switch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;GAEG;AACH,MAAM,OAAO,oBAAoB;IAQF;IAP7B,4EAA4E;IACpE,kBAAkB,GAAmB,IAAI,CAAA;IAEjD;;;OAGG;IACH,YAA6B,UAAuB;QAAvB,eAAU,GAAV,UAAU,CAAa;IAAG,CAAC;IAExD;;;;;;OAMG;IACH,IAAI,CAAC,OAAgB;QACnB,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;QACpD,IAAI,CAAC,KAAK;YAAE,OAAM;QAClB,IAAI,IAAI,CAAC,kBAAkB,KAAK,IAAI;YAAE,IAAI,CAAC,kBAAkB,GAAG,OAAO,CAAA;QACvE,oDAAoD;QACpD,KAAK,CAAC,OAAO,GAAG,OAAO,CAAA;QACvB,iDAAiD;QACjD,IAAI,IAAI,CAAC,kBAAkB;YAAE,KAAK,CAAC,YAAY,CAAC,SAAS,EAAE,EAAE,CAAC,CAAA;;YACzD,KAAK,CAAC,eAAe,CAAC,SAAS,CAAC,CAAA;IACvC,CAAC;CACF"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { UIClassMap } from '@molecule/app-ui';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@molecule/app-angular";
|
|
3
4
|
/**
|
|
4
5
|
* LogOutDeleteSection component.
|
|
5
6
|
*
|
|
6
7
|
* Bottom actions section — Log out + Delete account. React's root is a
|
|
7
|
-
* fragment (the `<section>` plus the delete-account modal), so
|
|
8
|
-
*
|
|
9
|
-
* fragment-like.
|
|
8
|
+
* fragment (the `<section>` plus the delete-account modal), so those nodes
|
|
9
|
+
* render in the host's place and the host itself never appears in the page.
|
|
10
10
|
*
|
|
11
11
|
* Owns the delete-account modal internally (the trigger lives in the
|
|
12
12
|
* same section so the modal lives here too). Reads `onClose` from
|
|
@@ -35,6 +35,10 @@ export declare class LogOutDeleteSection {
|
|
|
35
35
|
protected readonly deleteError: import("@angular/core").WritableSignal<string>;
|
|
36
36
|
/** The bonded ClassMap (styling tokens resolve at render time). */
|
|
37
37
|
protected readonly cm: UIClassMap;
|
|
38
|
+
private readonly host;
|
|
39
|
+
constructor();
|
|
40
|
+
/** Closes the settings panel (the container context's callback). */
|
|
41
|
+
private closePanel;
|
|
38
42
|
/** Signs out, closes the panel and returns to `/login` (React's `handleLogout`). */
|
|
39
43
|
protected logout(): Promise<void>;
|
|
40
44
|
/**
|
|
@@ -45,6 +49,6 @@ export declare class LogOutDeleteSection {
|
|
|
45
49
|
*/
|
|
46
50
|
protected deleteAccount(event: Event): Promise<void>;
|
|
47
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<LogOutDeleteSection, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LogOutDeleteSection, "mol-log-out-delete-section", never, {}, {}, never, never, true,
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LogOutDeleteSection, "mol-log-out-delete-section", never, {}, {}, never, never, true, [{ directive: typeof i1.MolPlacement; inputs: {}; outputs: {}; }]>;
|
|
49
53
|
}
|
|
50
54
|
//# sourceMappingURL=log-out-delete-section.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-out-delete-section.component.d.ts","sourceRoot":"","sources":["../src/log-out-delete-section.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"log-out-delete-section.component.d.ts","sourceRoot":"","sources":["../src/log-out-delete-section.component.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;;AAMlD;;;;;;;;;;;GAWG;AACH,qBAoEa,mBAAmB;IAC9B,2DAA2D;IAC3D,SAAS,CAAC,QAAQ,CAAC,IAAI,uDAAmB;IAE1C,iDAAiD;IACjD,SAAS,CAAC,CAAC,8IAAc;IAEzB,kFAAkF;IAClF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IAErC,+CAA+C;IAC/C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAyB;IAE9C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAkB;IAEvC,0EAA0E;IAC1E,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA4B;IAElD,gDAAgD;IAChD,SAAS,CAAC,QAAQ,CAAC,SAAS,kDAAgB;IAC5C,iDAAiD;IACjD,SAAS,CAAC,QAAQ,CAAC,QAAQ,iDAAa;IACxC,6CAA6C;IAC7C,SAAS,CAAC,QAAQ,CAAC,OAAO,kDAAgB;IAC1C,gDAAgD;IAChD,SAAS,CAAC,QAAQ,CAAC,WAAW,iDAAa;IAE3C,mEAAmE;IACnE,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAgB;IAEjD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA8C;;IAUnE,oEAAoE;IACpE,OAAO,CAAC,UAAU;IAIlB,oFAAoF;cACpE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAMvC;;;;;OAKG;cACa,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;yCA1D/C,mBAAmB;2CAAnB,mBAAmB;CAgF/B"}
|
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module
|
|
5
5
|
*/
|
|
6
|
-
import { Component, signal } from '@angular/core';
|
|
7
|
-
import { useAuth, useHttpClient, useRouter, useTranslation } from '@molecule/app-angular';
|
|
6
|
+
import { Component, ElementRef, inject, signal } from '@angular/core';
|
|
7
|
+
import { MolPlacement, placeContentBefore, setElementPresent, useAuth, useHttpClient, usePlacement, useRouter, useTranslation, } from '@molecule/app-angular';
|
|
8
8
|
import { serverErrorMessage } from '@molecule/app-http';
|
|
9
9
|
import { getClassMap } from '@molecule/app-ui';
|
|
10
10
|
import { Alert, Button, Input, Modal } from '@molecule/app-ui-angular';
|
|
11
11
|
import { useSettingsPanelContext } from './context.js';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
|
+
import * as i1 from "@molecule/app-angular";
|
|
13
14
|
const _c0 = () => ({ defaultValue: "Sign out" });
|
|
14
15
|
const _c1 = () => ({ defaultValue: "Delete account" });
|
|
15
16
|
const _c2 = () => ({ defaultValue: "Delete Account" });
|
|
@@ -42,9 +43,8 @@ function LogOutDeleteSection_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
42
43
|
* LogOutDeleteSection component.
|
|
43
44
|
*
|
|
44
45
|
* Bottom actions section — Log out + Delete account. React's root is a
|
|
45
|
-
* fragment (the `<section>` plus the delete-account modal), so
|
|
46
|
-
*
|
|
47
|
-
* fragment-like.
|
|
46
|
+
* fragment (the `<section>` plus the delete-account modal), so those nodes
|
|
47
|
+
* render in the host's place and the host itself never appears in the page.
|
|
48
48
|
*
|
|
49
49
|
* Owns the delete-account modal internally (the trigger lives in the
|
|
50
50
|
* same section so the modal lives here too). Reads `onClose` from
|
|
@@ -77,10 +77,23 @@ export class LogOutDeleteSection {
|
|
|
77
77
|
...(ngDevMode ? [{ debugName: "deleteError" }] : /* istanbul ignore next */ []));
|
|
78
78
|
/** The bonded ClassMap (styling tokens resolve at render time). */
|
|
79
79
|
cm = getClassMap();
|
|
80
|
+
host = inject(ElementRef);
|
|
81
|
+
constructor() {
|
|
82
|
+
usePlacement(() => {
|
|
83
|
+
// React's fragment (the section plus the delete-account modal) renders in
|
|
84
|
+
// the host's place; the host itself leaves the page.
|
|
85
|
+
placeContentBefore(this.host.nativeElement, this.host.nativeElement);
|
|
86
|
+
setElementPresent(this.host.nativeElement, false);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/** Closes the settings panel (the container context's callback). */
|
|
90
|
+
closePanel() {
|
|
91
|
+
this.panel.onClose();
|
|
92
|
+
}
|
|
80
93
|
/** Signs out, closes the panel and returns to `/login` (React's `handleLogout`). */
|
|
81
94
|
async logout() {
|
|
82
95
|
await this.auth.logout();
|
|
83
|
-
this.
|
|
96
|
+
this.closePanel();
|
|
84
97
|
this.router.navigate('/login');
|
|
85
98
|
}
|
|
86
99
|
/**
|
|
@@ -98,7 +111,7 @@ export class LogOutDeleteSection {
|
|
|
98
111
|
data: { password: this.password() },
|
|
99
112
|
});
|
|
100
113
|
await this.auth.logout();
|
|
101
|
-
this.
|
|
114
|
+
this.closePanel();
|
|
102
115
|
this.router.navigate('/login');
|
|
103
116
|
}
|
|
104
117
|
catch (err) {
|
|
@@ -112,7 +125,7 @@ export class LogOutDeleteSection {
|
|
|
112
125
|
}
|
|
113
126
|
}
|
|
114
127
|
static ɵfac = function LogOutDeleteSection_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LogOutDeleteSection)(); };
|
|
115
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LogOutDeleteSection, selectors: [["mol-log-out-delete-section"]],
|
|
128
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LogOutDeleteSection, selectors: [["mol-log-out-delete-section"]], features: [i0.ɵɵHostDirectivesFeature([i1.MolPlacement])], decls: 17, vars: 31, consts: [["mol-button", "", "data-mol-id", "user-menu-logout", 3, "click", "color", "fullWidth"], ["mol-button", "", "data-mol-id", "user-menu-delete-account", 3, "click", "variant", "fullWidth"], [3, "close", "open", "title"], ["mol-alert", "", 3, "status", "className"], [3, "submit"], ["for", "delete-pw"], ["mol-input", "", "type", "password", 3, "change", "id", "required", "value"], ["mol-button", "", "type", "submit", 3, "color", "fullWidth", "loading"]], template: function LogOutDeleteSection_Template(rf, ctx) { if (rf & 1) {
|
|
116
129
|
i0.ɵɵelementStart(0, "section")(1, "button", 0);
|
|
117
130
|
i0.ɵɵlistener("click", function LogOutDeleteSection_Template_button_click_1_listener() { return ctx.logout(); });
|
|
118
131
|
i0.ɵɵtext(2);
|
|
@@ -176,11 +189,8 @@ export class LogOutDeleteSection {
|
|
|
176
189
|
args: [{
|
|
177
190
|
selector: 'mol-log-out-delete-section',
|
|
178
191
|
standalone: true,
|
|
192
|
+
hostDirectives: [MolPlacement],
|
|
179
193
|
imports: [Alert, Button, Input, Modal],
|
|
180
|
-
host: {
|
|
181
|
-
'data-parity-unwrap': '',
|
|
182
|
-
style: 'display: contents',
|
|
183
|
-
},
|
|
184
194
|
template: `<section [class]="cm.stack(3)">
|
|
185
195
|
<button
|
|
186
196
|
mol-button
|
|
@@ -244,6 +254,6 @@ export class LogOutDeleteSection {
|
|
|
244
254
|
</form>
|
|
245
255
|
</mol-modal>`,
|
|
246
256
|
}]
|
|
247
|
-
}],
|
|
248
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LogOutDeleteSection, { className: "LogOutDeleteSection", filePath: "log-out-delete-section.component.ts", lineNumber:
|
|
257
|
+
}], () => [], null); })();
|
|
258
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LogOutDeleteSection, { className: "LogOutDeleteSection", filePath: "log-out-delete-section.component.ts", lineNumber: 107 }); })();
|
|
249
259
|
//# sourceMappingURL=log-out-delete-section.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-out-delete-section.component.js","sourceRoot":"","sources":["../src/log-out-delete-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"log-out-delete-section.component.js","sourceRoot":"","sources":["../src/log-out-delete-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAErE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,OAAO,EACP,aAAa,EACb,YAAY,EACZ,SAAS,EACT,cAAc,GACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAEtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;;;;;;;;;;IAsD9C,8BAA+D;IAAA,YAAiB;IAAA,iBAAM;;;IAApD,AAAnB,gCAAkB,oCAA6B;IAAC,cAAiB;IAAjB,yBAAiB;;;IAkB5E,YAGF;;;IAHE,wHAGF;;;IACE,YACF;;;IADE,0GACF;;AA3EV;;;;;;;;;;;GAWG;AAqEH,MAAM,OAAO,mBAAmB;IAC9B,2DAA2D;IACxC,IAAI,GAAG,cAAc,EAAE,CAAA;IAE1C,iDAAiD;IACvC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAEzB,kFAAkF;IACjE,MAAM,GAAG,SAAS,EAAE,CAAA;IAErC,+CAA+C;IAC9B,IAAI,GAAG,OAAO,EAAe,CAAA;IAE7B,IAAI,GAAG,aAAa,EAAE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