@molecule/app-settings-panel-angular 1.1.1 → 2.0.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 CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-11-16T01:07:11.835Z
6
+ Generated: 2026-11-18T07:43:52.449Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-settings-panel-angular
@@ -102,6 +102,85 @@ npm install @molecule/app-settings-panel-angular @angular/common @angular/core @
102
102
 
103
103
  ### Interfaces
104
104
 
105
+ #### `AccountValues`
106
+
107
+ The controlled values the account form edits (React's local `AccountValues`).
108
+
109
+ ```typescript
110
+ interface AccountValues {
111
+ name: string
112
+ email: string
113
+ }
114
+ ```
115
+
116
+ #### `TwoFactorSetup`
117
+
118
+ The two-factor enrollment data `POST /users/:id/verify-two-factor` returns.
119
+
120
+ ```typescript
121
+ interface TwoFactorSetup {
122
+ QRImageUrl?: string
123
+ keyUrl?: string
124
+ secret?: string
125
+ }
126
+ ```
127
+
128
+ #### `DevicesSectionProps`
129
+
130
+ Props for `DevicesSection` — the same props React's `DevicesSection` accepts.
131
+
132
+ ```typescript
133
+ interface DevicesSectionProps {
134
+ /**
135
+ * Custom trailing element per device row, replacing the built-in revoke
136
+ * control. It is a template in Angular (its context carries the device as
137
+ * `$implicit`); pass an empty template to suppress the control entirely.
138
+ */
139
+ renderRowIcon?: TemplateRef<unknown> | null
140
+ }
141
+ ```
142
+
143
+ #### `SettingsContainerProps`
144
+
145
+ Props for `SettingsContainer` — the same props React's `SettingsContainer` accepts.
146
+
147
+ ```typescript
148
+ interface SettingsContainerProps {
149
+ /** Dismiss-the-panel handler, published to every section through context. */
150
+ onClose?: () => void
151
+ /**
152
+ * The section sub-components to host. They are projected content in Angular
153
+ * (an input cannot carry a node), so this is typed `unknown`: pass them in
154
+ * the host template, not as a value.
155
+ */
156
+ children?: unknown
157
+ }
158
+ ```
159
+
160
+ #### `TierPrice`
161
+
162
+ One tier price as the section renders it (React's local `TierPrice`).
163
+
164
+ ```typescript
165
+ interface TierPrice {
166
+ stripePriceId?: string
167
+ interval: string
168
+ priceLabel: string
169
+ }
170
+ ```
171
+
172
+ #### `Tier`
173
+
174
+ One upgrade tier with its subscribe-able prices (React's local `Tier`).
175
+
176
+ ```typescript
177
+ interface Tier {
178
+ planKey: string
179
+ name: string
180
+ prices: TierPrice[]
181
+ }
182
+ ```
183
+
105
184
  #### `SettingsPanelContextValue`
106
185
 
107
186
  Context published by `<SettingsContainer>` to its children (the same shape
@@ -379,42 +458,68 @@ export class AccountSection implements AfterViewInit {
379
458
  this.syncEmailAria(this.emailError())
380
459
  }
381
460
 
382
- /** Forwards the field's `change` (React's text-input onChange). */
461
+ /**
462
+ * Forwards the field's `change` (React's text-input onChange).
463
+ * @param event - The native input event the UI Input re-emitted.
464
+ */
383
465
  protected nameChange(event: Event): void {
384
466
  this.nameReg.onChange(event)
385
467
  }
386
468
 
387
- /** Forwards the field's `change` (React's text-input onChange). */
469
+ /**
470
+ * Forwards the field's `change` (React's text-input onChange).
471
+ * @param event - The native input event the UI Input re-emitted.
472
+ */
388
473
  protected emailChange(event: Event): void {
389
474
  this.emailReg.onChange(event)
390
475
  }
391
476
 
392
- /** Submits the form (React's `profile.formProps` onSubmit). */
477
+ /**
478
+ * Submits the form (React's `profile.formProps` onSubmit).
479
+ * @param event - The native submit event.
480
+ */
393
481
  protected submitForm(event: Event): void {
394
482
  this.profile.formProps.onSubmit(event)
395
483
  }
396
484
 
397
- /** Saves on blur, exactly React's per-input `saveOnBlur`: the field's registration blur first (touch + field validation), then the profile submit. */
485
+ /**
486
+ * Saves on blur, exactly React's per-input `saveOnBlur`: the field's
487
+ * registration blur first (touch + field validation), then the profile
488
+ * submit.
489
+ * @param event - The bubbling focusout from one of the two inputs.
490
+ */
398
491
  protected saveOnFormBlur(event: FocusEvent): void {
399
492
  const id = (event.target as HTMLElement | null)?.id
400
493
  if (id === 'settings-name') this.saveOnBlur(this.nameReg)
401
494
  else if (id === 'settings-email') this.saveOnBlur(this.emailReg)
402
495
  }
403
496
 
404
- /** React's `saveOnBlur` wrapper: one blur, then one submit. */
497
+ /**
498
+ * React's `saveOnBlur` wrapper: one blur, then one submit.
499
+ * @param registration - The blurred field's registration.
500
+ */
405
501
  private saveOnBlur(registration: { onBlur: () => void }): void {
406
502
  registration.onBlur()
407
503
  void this.profile.submit()
408
504
  }
409
505
 
410
- /** Looks the native email control up inside the UI `Input`'s host and registers it as the field ref (React's spread `ref`, so a failed submit focuses the first in… */
506
+ /**
507
+ * Looks the native email control up inside the UI `Input`'s host and
508
+ * registers it as the field ref (React's spread `ref`, so a failed submit
509
+ * focuses the first invalid field).
510
+ */
411
511
  private resolveEmailControl(): void {
412
512
  this.emailControl =
413
513
  (this.emailField?.nativeElement.querySelector('input') as HTMLInputElement | null) ?? null
414
514
  if (this.emailControl) this.emailReg.ref?.(this.emailControl)
415
515
  }
416
516
 
417
- /** Applies React's rest-prop state for one error value: `aria-invalid` and `aria-describedby` on the native control while invalid, removed while valid. */
517
+ /**
518
+ * Applies React's rest-prop state for one error value: `aria-invalid` and
519
+ * `aria-describedby` on the native control while invalid, removed while
520
+ * valid.
521
+ * @param error - The field's validation message, or null.
522
+ */
418
523
  private syncEmailAria(error: string | null): void {
419
524
  if (!this.emailControl || !this.emailControl.isConnected) this.resolveEmailControl()
420
525
  const control = this.emailControl
@@ -430,7 +535,7 @@ export class AccountSection implements AfterViewInit {
430
535
  }
431
536
  ```
432
537
 
433
- _(Member comments are shortened to their first sentence to fit; the full declaration is in `node_modules/@molecule/app-settings-panel-angular/dist/account-section.component.d.ts`.)_
538
+ _(The longest member comment is shortened to its first sentence to fit; the full declaration is in `node_modules/@molecule/app-settings-panel-angular/dist/account-section.component.d.ts`.)_
434
539
 
435
540
  #### `AppearanceSection`
436
541
 
@@ -1685,21 +1790,31 @@ message.
1685
1790
  </mol-modal>`,
1686
1791
  })
1687
1792
  export class TiersUpgradeSection {
1793
+ /** How the page leaves for the checkout URL the server returns. */
1688
1794
  redirectToCheckout: (checkoutUrl: string) => void = openUrl
1689
1795
 
1796
+ /** Reactive translation, read in the injection context. */
1690
1797
  protected readonly i18n = useTranslation()
1691
1798
 
1799
+ /** The translation function for the template. */
1692
1800
  protected t = this.i18n.t
1693
1801
 
1694
1802
  private readonly http = useHttpClient()
1695
1803
 
1804
+ /** The user's current plan name. */
1696
1805
  protected readonly plan = signal('Free')
1806
+ /** The user's current plan key. */
1697
1807
  protected readonly planKey = signal('free')
1808
+ /** The tiers loaded from `/api/billing/tiers`. */
1698
1809
  protected readonly tiers = signal<Tier[]>([])
1810
+ /** Whether the upgrade modal is open. */
1699
1811
  protected readonly showUpgrade = signal(false)
1812
+ /** The price id whose checkout request is running, or null. */
1700
1813
  protected readonly upgradeLoading = signal<string | null>(null)
1814
+ /** The upgrade modal's error message. */
1701
1815
  protected readonly upgradeError = signal('')
1702
1816
 
1817
+ /** The bonded ClassMap (styling tokens resolve at render time). */
1703
1818
  protected readonly cm: UIClassMap = getClassMap()
1704
1819
 
1705
1820
  protected subscribeEntries(): { key: string; tier: Tier; price: TierPrice }[] {
@@ -1720,6 +1835,8 @@ export class TiersUpgradeSection {
1720
1835
  cancelled = true
1721
1836
  })
1722
1837
  void Promise.all([
1838
+ // Each fetch resolves null on failure; the .then handler then keeps the
1839
+ // defaults ('Free', empty tier list) instead of throwing.
1723
1840
  this.http
1724
1841
  .get<{ planKey?: string; name?: string }>('/api/billing/status')
1725
1842
  .catch((_error) => null),
@@ -1753,9 +1870,13 @@ export class TiersUpgradeSection {
1753
1870
  )
1754
1871
  }
1755
1872
  })
1756
- .catch((_error) => {})
1873
+ .catch((_error) => {
1874
+ // Fetch failures already resolve to null above; this only guards the
1875
+ // mapping, keeping the section on its defaults rather than throwing.
1876
+ })
1757
1877
  }
1758
1878
 
1879
+ /** Starts the checkout for one price (React's `handleStartCheckout`). */
1759
1880
  protected async startCheckout(stripePriceId: string | undefined): Promise<void> {
1760
1881
  if (!stripePriceId) return
1761
1882
  this.upgradeError.set('')
@@ -1809,29 +1930,10 @@ export class TiersUpgradeSection {
1809
1930
  }
1810
1931
  ```
1811
1932
 
1812
- _(Member comments are left out to fit; the full declaration is in `node_modules/@molecule/app-settings-panel-angular/dist/tiers-upgrade-section.component.d.ts`.)_
1933
+ _(Member comments are shortened to their first sentence, and the 3 longest are left out to fit; the full declaration is in `node_modules/@molecule/app-settings-panel-angular/dist/tiers-upgrade-section.component.d.ts`.)_
1813
1934
 
1814
1935
  ### Functions
1815
1936
 
1816
- #### `provideSettingsPanelContext(host, readOnClose)`
1817
-
1818
- Registers the container context on `SettingsContainer`'s host element. The
1819
- value closes over the container instance, so the context always exposes the
1820
- CURRENT `onClose` prop — React re-renders a new context value object when
1821
- the prop changes; reading the live field here has the same effect.
1822
-
1823
- ```typescript
1824
- function provideSettingsPanelContext(
1825
- host: Element,
1826
- readOnClose: () => (() => void) | undefined,
1827
- ): () => void
1828
- ```
1829
-
1830
- - `host` — The container's host element.
1831
- - `readOnClose` — Reads the container's current `onClose` prop.
1832
-
1833
- **Returns:** A function that removes the registration (call on destroy).
1834
-
1835
1937
  #### `useSettingsPanelContext()`
1836
1938
 
1837
1939
  Reads the `onClose` handler exposed by the parent `<SettingsContainer>`.
@@ -8,7 +8,7 @@ import type { UserProfile } from '@molecule/app-auth';
8
8
  import type { UIClassMap } from '@molecule/app-ui';
9
9
  import * as i0 from "@angular/core";
10
10
  /** The controlled values the account form edits (React's local `AccountValues`). */
11
- interface AccountValues {
11
+ export interface AccountValues {
12
12
  name: string;
13
13
  email: string;
14
14
  }
@@ -119,5 +119,4 @@ export declare class AccountSection implements AfterViewInit {
119
119
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountSection, never>;
120
120
  static ɵcmp: i0.ɵɵComponentDeclaration<AccountSection, "section[mol-settings-account]", never, {}, {}, never, never, true, never>;
121
121
  }
122
- export {};
123
122
  //# sourceMappingURL=account-section.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"account-section.component.d.ts","sourceRoot":"","sources":["../src/account-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,aAAa,EAIlB,UAAU,EAGX,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAIlD,oFAAoF;AACpF,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBA6Da,cAAe,YAAW,aAAa;IAClD,4DAA4D;IAC5D,SAAS,CAAC,QAAQ,CAAC,OAAO,mFAIxB;IAEF,2EAA2E;IAC3E,SAAS,CAAC,QAAQ,CAAC,OAAO;;MAAgC;IAC1D,wEAAwE;IACxE,SAAS,CAAC,QAAQ,CAAC,QAAQ;;MAAkD;IAE7E,2DAA2D;IAC3D,SAAS,CAAC,QAAQ,CAAC,IAAI,uDAAmB;IAE1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA+B;IAE1D,yEAAyE;IAC3B,SAAS,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IACjF,8BAA8B;IACiB,UAAU,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAEnF,mEAAmE;IACnE,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAgB;IAEjD,iDAAiD;IACjD,SAAS,CAAC,CAAC,8IAAc;IAEzB,2EAA2E;IAC3E,SAAS,CAAC,QAAQ,CAAC,SAAS,yCAG1B;IAEF,0CAA0C;IAC1C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3B;;;;;OAKG;IACH,OAAO,CAAC,aAAa;yCAvJV,cAAc;2CAAd,cAAc;CAmK1B"}
@@ -2,7 +2,7 @@ import type { UserProfile } from '@molecule/app-auth';
2
2
  import type { UIClassMap } from '@molecule/app-ui';
3
3
  import * as i0 from "@angular/core";
4
4
  /** The two-factor enrollment data `POST /users/:id/verify-two-factor` returns. */
5
- interface TwoFactorSetup {
5
+ export interface TwoFactorSetup {
6
6
  QRImageUrl?: string;
7
7
  keyUrl?: string;
8
8
  secret?: string;
@@ -121,5 +121,4 @@ export declare class AuthSection {
121
121
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthSection, never>;
122
122
  static ɵcmp: i0.ɵɵComponentDeclaration<AuthSection, "mol-auth-section", never, {}, {}, never, never, true, never>;
123
123
  }
124
- export {};
125
124
  //# sourceMappingURL=auth-section.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth-section.component.d.ts","sourceRoot":"","sources":["../src/auth-section.component.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAIlD,kFAAkF;AAClF,UAAU,cAAc;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAqKa,WAAW;IACtB,qDAAqD;IACrD,SAAS,CAAC,QAAQ,CAAC,IAAI,mFAAyB;IAEhD,2DAA2D;IAC3D,SAAS,CAAC,QAAQ,CAAC,IAAI,uDAAmB;IAE1C,iDAAiD;IACjD,SAAS,CAAC,CAAC,8IAAc;IAEzB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAkB;IAEvC,wDAAwD;IACxD,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAsB;IAEzC,iDAAiD;IAC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,QAAQ,CAAC,OAAO,iDAAa;IACvC,+CAA+C;IAC/C,SAAS,CAAC,QAAQ,CAAC,SAAS,kDAAgB;IAC5C,4CAA4C;IAC5C,SAAS,CAAC,QAAQ,CAAC,OAAO,iDAAa;IAEvC,6EAA6E;IAC7E,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;IAEtC,mEAAmE;IACnE,SAAS,CAAC,QAAQ,CAAC,QAAQ,kFAGzB;IAEF,2DAA2D;IAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,gDAUxB;IAEF,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuB;IAErD,mEAAmE;IACnE,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAgB;IAEjD;;;OAGG;IACH,SAAS,CAAC,WAAW,IAAI,OAAO;IAIhC;;;OAGG;IACH,SAAS,CAAC,OAAO,IAAI,MAAM;IAU3B;;;;OAIG;;IAqBH;;;OAGG;IACH,SAAS,CAAC,kBAAkB,IAAI,IAAI;IAMpC;;OAEG;IACH,SAAS,CAAC,aAAa,IAAI,IAAI;IAM/B;;;OAGG;cACa,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAuB5C;;;OAGG;YACW,QAAQ;IAqBtB;;;OAGG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAK1C;;OAEG;IACH,SAAS,CAAC,OAAO,IAAI,IAAI;IAOzB;;;OAGG;cACa,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;yCA3MhD,WAAW;2CAAX,WAAW;CA0NvB"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * `SettingsContainer`'s own context registration — an internal module the
3
+ * package barrel does not export.
4
+ *
5
+ * React context flows through the rendered tree, including projected
6
+ * children. Angular DI does not: `<ng-content>` nodes keep their declaration
7
+ * site's injector, so a provider on the container is invisible to sections
8
+ * projected inside it. The container therefore registers the context value on
9
+ * its own host ELEMENT (the same DOM-scoped mechanism
10
+ * `@molecule/app-ui-angular` uses for its contexts) and sections look it up by
11
+ * walking their DOM ancestors — the same "nearest enclosing provider in the
12
+ * rendered tree" semantics React has.
13
+ *
14
+ * @module
15
+ */
16
+ /**
17
+ * Registers the container context on `SettingsContainer`'s host element. The
18
+ * value closes over the container instance, so the context always exposes the
19
+ * CURRENT `onClose` prop — React re-renders a new context value object when
20
+ * the prop changes; reading the live field here has the same effect.
21
+ *
22
+ * @param host - The container's host element.
23
+ * @param readOnClose - Reads the container's current `onClose` prop.
24
+ * @returns A function that removes the registration (call on destroy).
25
+ */
26
+ export declare function provideSettingsPanelContext(host: Element, readOnClose: () => (() => void) | undefined): () => void;
27
+ //# sourceMappingURL=container-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container-context.d.ts","sourceRoot":"","sources":["../src/container-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH;;;;;;;;;GASG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,OAAO,EACb,WAAW,EAAE,MAAM,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAC1C,MAAM,IAAI,CAWZ"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * `SettingsContainer`'s own context registration — an internal module the
3
+ * package barrel does not export.
4
+ *
5
+ * React context flows through the rendered tree, including projected
6
+ * children. Angular DI does not: `<ng-content>` nodes keep their declaration
7
+ * site's injector, so a provider on the container is invisible to sections
8
+ * projected inside it. The container therefore registers the context value on
9
+ * its own host ELEMENT (the same DOM-scoped mechanism
10
+ * `@molecule/app-ui-angular` uses for its contexts) and sections look it up by
11
+ * walking their DOM ancestors — the same "nearest enclosing provider in the
12
+ * rendered tree" semantics React has.
13
+ *
14
+ * @module
15
+ */
16
+ import { provideDomContext, removeDomContext } from '@molecule/app-ui-angular';
17
+ /**
18
+ * Registers the container context on `SettingsContainer`'s host element. The
19
+ * value closes over the container instance, so the context always exposes the
20
+ * CURRENT `onClose` prop — React re-renders a new context value object when
21
+ * the prop changes; reading the live field here has the same effect.
22
+ *
23
+ * @param host - The container's host element.
24
+ * @param readOnClose - Reads the container's current `onClose` prop.
25
+ * @returns A function that removes the registration (call on destroy).
26
+ */
27
+ export function provideSettingsPanelContext(host, readOnClose) {
28
+ const value = {
29
+ onClose: () => {
30
+ const onClose = readOnClose();
31
+ if (onClose)
32
+ onClose();
33
+ },
34
+ };
35
+ provideDomContext(host, value);
36
+ return () => {
37
+ removeDomContext(host);
38
+ };
39
+ }
40
+ //# sourceMappingURL=container-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container-context.js","sourceRoot":"","sources":["../src/container-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAI9E;;;;;;;;;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,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;IAC9B,OAAO,GAAG,EAAE;QACV,gBAAgB,CAAC,IAAI,CAAC,CAAA;IACxB,CAAC,CAAA;AACH,CAAC"}
package/dist/context.d.ts CHANGED
@@ -2,14 +2,10 @@
2
2
  * The settings-panel container context — Angular's publication of React's
3
3
  * `SettingsPanelContext`.
4
4
  *
5
- * React context flows through the rendered tree, including projected
6
- * children. Angular DI does not: `<ng-content>` nodes keep their declaration
7
- * site's injector, so a provider on the container is invisible to sections
8
- * projected inside it. The container therefore registers the context value on
9
- * its own host ELEMENT (the same DOM-scoped mechanism
10
- * `@molecule/app-ui-angular` uses for its contexts) and sections look it up by
11
- * walking their DOM ancestors — the same "nearest enclosing provider in the
12
- * rendered tree" semantics React has.
5
+ * The container registers its context value on its own host element (see
6
+ * `container-context.ts`, an internal module the barrel does not export) and
7
+ * sections look it up by walking their DOM ancestors — the same "nearest
8
+ * enclosing provider in the rendered tree" semantics React has.
13
9
  *
14
10
  * @module
15
11
  */
@@ -21,17 +17,6 @@ import type { SettingsPanelContextValue } from './types.js';
21
17
  * documents and keys that contract.
22
18
  */
23
19
  export declare const SettingsPanelContext = "molecule-settings-panel-context";
24
- /**
25
- * Registers the container context on `SettingsContainer`'s host element. The
26
- * value closes over the container instance, so the context always exposes the
27
- * CURRENT `onClose` prop — React re-renders a new context value object when
28
- * the prop changes; reading the live field here has the same effect.
29
- *
30
- * @param host - The container's host element.
31
- * @param readOnClose - Reads the container's current `onClose` prop.
32
- * @returns A function that removes the registration (call on destroy).
33
- */
34
- export declare function provideSettingsPanelContext(host: Element, readOnClose: () => (() => void) | undefined): () => void;
35
20
  /**
36
21
  * Reads the `onClose` handler exposed by the parent `<SettingsContainer>`.
37
22
  * Throws if used outside the container so component misuse is loud.
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,oCAAoC,CAAA;AAErE;;;;;;;;;GASG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,OAAO,EACb,WAAW,EAAE,MAAM,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAC1C,MAAM,IAAI,CAWZ;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,IAAI,yBAAyB,CAgBnE"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,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
@@ -2,19 +2,15 @@
2
2
  * The settings-panel container context — Angular's publication of React's
3
3
  * `SettingsPanelContext`.
4
4
  *
5
- * React context flows through the rendered tree, including projected
6
- * children. Angular DI does not: `<ng-content>` nodes keep their declaration
7
- * site's injector, so a provider on the container is invisible to sections
8
- * projected inside it. The container therefore registers the context value on
9
- * its own host ELEMENT (the same DOM-scoped mechanism
10
- * `@molecule/app-ui-angular` uses for its contexts) and sections look it up by
11
- * walking their DOM ancestors — the same "nearest enclosing provider in the
12
- * rendered tree" semantics React has.
5
+ * The container registers its context value on its own host element (see
6
+ * `container-context.ts`, an internal module the barrel does not export) and
7
+ * sections look it up by walking their DOM ancestors — the same "nearest
8
+ * enclosing provider in the rendered tree" semantics React has.
13
9
  *
14
10
  * @module
15
11
  */
16
12
  import { ElementRef, inject } from '@angular/core';
17
- import { findDomContext, provideDomContext, removeDomContext } from '@molecule/app-ui-angular';
13
+ import { findDomContext } from '@molecule/app-ui-angular';
18
14
  /**
19
15
  * Names the container context `SettingsContainer` publishes and sections
20
16
  * consume (React's `SettingsPanelContext` object). Angular's counterpart is
@@ -22,29 +18,6 @@ import { findDomContext, provideDomContext, removeDomContext } from '@molecule/a
22
18
  * documents and keys that contract.
23
19
  */
24
20
  export const SettingsPanelContext = 'molecule-settings-panel-context';
25
- /**
26
- * Registers the container context on `SettingsContainer`'s host element. The
27
- * value closes over the container instance, so the context always exposes the
28
- * CURRENT `onClose` prop — React re-renders a new context value object when
29
- * the prop changes; reading the live field here has the same effect.
30
- *
31
- * @param host - The container's host element.
32
- * @param readOnClose - Reads the container's current `onClose` prop.
33
- * @returns A function that removes the registration (call on destroy).
34
- */
35
- export function provideSettingsPanelContext(host, readOnClose) {
36
- const value = {
37
- onClose: () => {
38
- const onClose = readOnClose();
39
- if (onClose)
40
- onClose();
41
- },
42
- };
43
- provideDomContext(host, value);
44
- return () => {
45
- removeDomContext(host);
46
- };
47
- }
48
21
  /**
49
22
  * Reads the `onClose` handler exposed by the parent `<SettingsContainer>`.
50
23
  * Throws if used outside the container so component misuse is loud.
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAElD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAI9F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,iCAAiC,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,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;IAC9B,OAAO,GAAG,EAAE;QACV,gBAAgB,CAAC,IAAI,CAAC,CAAA;IACxB,CAAC,CAAA;AACH,CAAC;AAED;;;;;;;;;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,cAAc,CAA4B,IAAI,CAAC,CAAA;QAC7D,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"}
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,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAIzD;;;;;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,cAAc,CAA4B,IAAI,CAAC,CAAA;QAC7D,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"}
@@ -2,6 +2,15 @@ import { type TemplateRef } from '@angular/core';
2
2
  import type { UIClassMap } from '@molecule/app-ui';
3
3
  import type { Device } from './types.js';
4
4
  import * as i0 from "@angular/core";
5
+ /** Props for `DevicesSection` — the same props React's `DevicesSection` accepts. */
6
+ export interface DevicesSectionProps {
7
+ /**
8
+ * Custom trailing element per device row, replacing the built-in revoke
9
+ * control. It is a template in Angular (its context carries the device as
10
+ * `$implicit`); pass an empty template to suppress the control entirely.
11
+ */
12
+ renderRowIcon?: TemplateRef<unknown> | null;
13
+ }
5
14
  /**
6
15
  * DevicesSection component.
7
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"devices-section.component.d.ts","sourceRoot":"","sources":["../src/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AE,OAAO,CAAC;IAI7D;;;;;;;OAOG;YACW,IAAI;IAWlB,kDAAkD;;IAMlD;;;;OAIG;cACa,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;yCAvFtC,cAAc;2CAAd,cAAc;CAmG1B"}
@@ -370,5 +370,5 @@ export class DevicesSection {
370
370
  }`,
371
371
  }]
372
372
  }], () => [], null); })();
373
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DevicesSection, { className: "DevicesSection", filePath: "devices-section.component.ts", lineNumber: 129 }); })();
373
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DevicesSection, { className: "DevicesSection", filePath: "devices-section.component.ts", lineNumber: 139 }); })();
374
374
  //# sourceMappingURL=devices-section.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"devices-section.component.js","sourceRoot":"","sources":["../src/devices-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAoB,MAAM,eAAe,CAAA;AAEvF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;;;;;;;;;;IAoC9D,yBAAqC;;IAApB,2BAAa;;;IAa0C,4BAAwE;IAAA,YAA0E;IAAA,iBAAO;;;IAAnJ,kGAAiE;IAAC,cAA0E;IAA1E,4FAA0E;;;IAElN,2BAGE;;;;IADA,AADA,uDAAkC,yDACY;;;;IAGhD,yBAKO;;;IADL,AADA,AADA,sCAAwB,YACb,mCACgB;;;;IAI3B,AADF,8BAA8C,gBAO3C;IAD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B,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmFN;aACL;;kFACY,cAAc"}
1
+ {"version":3,"file":"devices-section.component.js","sourceRoot":"","sources":["../src/devices-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAoB,MAAM,eAAe,CAAA;AAEvF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;;;;;;;;;;IA8C9D,yBAAqC;;IAApB,2BAAa;;;IAa0C,4BAAwE;IAAA,YAA0E;IAAA,iBAAO;;;IAAnJ,kGAAiE;IAAC,cAA0E;IAA1E,4FAA0E;;;IAElN,2BAGE;;;;IADA,AADA,uDAAkC,yDACY;;;;IAGhD,yBAKO;;;IADL,AADA,AADA,sCAAwB,YACb,mCACgB;;;;IAI3B,AADF,8BAA8C,gBAO3C;IADC,uMAAS,wBAAiB,IAAI,CAAC,KAAC;IAEhC,YACF;IAAA,iBAAS;IACT,iCAOC;IAFC,uPAAS,2BAAiB,KAAC;IAG3B,YACF;IACF,AADE,iBAAS,EACL;;;;IApB2B,AAAnB,gCAAkB,aAAa;IAGzC,cAAmB;IAEnB,AADA,AADA,iCAAmB,cACN,0CACkB;IAG/B,cACF;IADE,kGACF;IAGE,cAAiB;IAEjB,AADA,AADA,+BAAiB,cACJ,yCACiB;IAI9B,cACF;IADE,2GACF;;;;IAGF,kCAMC;IAFC,uPAAS,qCAA2B,KAAC;IAGrC,YACF;IAAA,iBAAS;;;IALP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AY,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC3B,MAAM,IAAI,CAAC,IAAI,EAAE,CAAA;QACnB,CAAC;QAAC,OAAO,MAAM,EAAE,CAAC;YAChB,+DAA+D;QACjE,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAC3B,CAAC;IACH,CAAC;wGAlGU,cAAc;6DAAd,cAAc;YApFrB,AADO,8BAA2E,SAClD;YAC9B,YACF;YAAA,iBAAK;YACL,gFAAiB;YAGnB,iBAAM;YAsEJ,AArEF,+EAA4B,gDAqEnB;;YA7E8C,AAAb,AAAnB,gCAAkB,aAAa,iCAA6B;YAC7E,cAA2B;YAA3B,oCAA2B;YAC7B,cACF;YADE,iGACF;YACA,cAEC;YAFD,wCAEC;YAEH,cA2EC;YA3ED,kDA2EC;4BAtFO,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO;;iFAwF5C,cAAc;cA3F1B,SAAS;eAAC;gBACT,QAAQ,EAAE,+BAA+B;gBACzC,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC;gBACxD,MAAM,EAAE,CAAC,eAAe,CAAC;gBACzB,kBAAkB;gBAClB,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmFN;aACL;;kFACY,cAAc"}
@@ -1,5 +1,16 @@
1
1
  import type { UIClassMap } from '@molecule/app-ui';
2
2
  import * as i0 from "@angular/core";
3
+ /** Props for `SettingsContainer` — the same props React's `SettingsContainer` accepts. */
4
+ export interface SettingsContainerProps {
5
+ /** Dismiss-the-panel handler, published to every section through context. */
6
+ onClose?: () => void;
7
+ /**
8
+ * The section sub-components to host. They are projected content in Angular
9
+ * (an input cannot carry a node), so this is typed `unknown`: pass them in
10
+ * the host template, not as a value.
11
+ */
12
+ children?: unknown;
13
+ }
3
14
  /**
4
15
  * SettingsContainer component.
5
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"settings-container.component.d.ts","sourceRoot":"","sources":["../src/settings-container.component.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAKlD;;;;;;;;;;;GAWG;AACH,qBASa,iBAAiB;IAC5B,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IAEpB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAqB;IAE1C,iEAAiE;IACjE,OAAO,CAAC,aAAa,CAAuB;IAE5C,8EAA8E;;IAM9E,mEAAmE;IACnE,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAgB;IAEjD;;;OAGG;IACH,OAAO,IAAI,MAAM;yCAtBN,iBAAiB;2CAAjB,iBAAiB;CAyB7B"}
1
+ {"version":3,"file":"settings-container.component.d.ts","sourceRoot":"","sources":["../src/settings-container.component.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAKlD,0FAA0F;AAC1F,MAAM,WAAW,sBAAsB;IACrC,6EAA6E;IAC7E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;;;GAWG;AACH,qBASa,iBAAiB;IAC5B,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IAEpB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAqB;IAE1C,iEAAiE;IACjE,OAAO,CAAC,aAAa,CAAuB;IAE5C,8EAA8E;;IAM9E,mEAAmE;IACnE,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAgB;IAEjD;;;OAGG;IACH,OAAO,IAAI,MAAM;yCAtBN,iBAAiB;2CAAjB,iBAAiB;CAyB7B"}
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { Component, DestroyRef, ElementRef, inject } from '@angular/core';
7
7
  import { getClassMap } from '@molecule/app-ui';
8
- import { provideSettingsPanelContext } from './context.js';
8
+ import { provideSettingsPanelContext } from './container-context.js';
9
9
  import * as i0 from "@angular/core";
10
10
  const _c0 = ["*"];
11
11
  /**
@@ -60,5 +60,5 @@ export class SettingsContainer {
60
60
  template: `<ng-content></ng-content>`,
61
61
  }]
62
62
  }], () => [], null); })();
63
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SettingsContainer, { className: "SettingsContainer", filePath: "settings-container.component.ts", lineNumber: 35 }); })();
63
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SettingsContainer, { className: "SettingsContainer", filePath: "settings-container.component.ts", lineNumber: 47 }); })();
64
64
  //# sourceMappingURL=settings-container.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings-container.component.js","sourceRoot":"","sources":["../src/settings-container.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAGzE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAA;;;AAE1D;;;;;;;;;;;GAWG;AAUH,MAAM,OAAO,iBAAiB;IAC5B,sFAAsF;IACtF,OAAO,CAAa;IAEH,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;IAE1C,iEAAiE;IACzD,aAAa,GAAe,GAAG,EAAE,GAAE,CAAC,CAAA;IAE5C,8EAA8E;IAC9E;QACE,IAAI,CAAC,aAAa,GAAG,2BAA2B,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC7F,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IAClD,CAAC;IAED,mEAAmE;IAChD,EAAE,GAAe,WAAW,EAAE,CAAA;IAEjD;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;IACzD,CAAC;2GAxBU,iBAAiB;6DAAjB,iBAAiB;YAAjB,cAAA,aAAS,CAAQ;;;YAFjB,kBAAyB;;;iFAEzB,iBAAiB;cAT7B,SAAS;eAAC;gBACT,QAAQ,EAAE,6BAA6B;gBACvC,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,CAAC,SAAS,CAAC;gBACnB,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;iBACvB;gBACD,QAAQ,EAAE,2BAA2B;aACtC;;kFACY,iBAAiB"}
1
+ {"version":3,"file":"settings-container.component.js","sourceRoot":"","sources":["../src/settings-container.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAGzE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAA;;;AAcpE;;;;;;;;;;;GAWG;AAUH,MAAM,OAAO,iBAAiB;IAC5B,sFAAsF;IACtF,OAAO,CAAa;IAEH,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;IAE1C,iEAAiE;IACzD,aAAa,GAAe,GAAG,EAAE,GAAE,CAAC,CAAA;IAE5C,8EAA8E;IAC9E;QACE,IAAI,CAAC,aAAa,GAAG,2BAA2B,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC7F,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IAClD,CAAC;IAED,mEAAmE;IAChD,EAAE,GAAe,WAAW,EAAE,CAAA;IAEjD;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;IACzD,CAAC;2GAxBU,iBAAiB;6DAAjB,iBAAiB;YAAjB,cAAA,aAAS,CAAQ;;;YAFjB,kBAAyB;;;iFAEzB,iBAAiB;cAT7B,SAAS;eAAC;gBACT,QAAQ,EAAE,6BAA6B;gBACvC,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,CAAC,SAAS,CAAC;gBACnB,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;iBACvB;gBACD,QAAQ,EAAE,2BAA2B;aACtC;;kFACY,iBAAiB"}
@@ -1,13 +1,13 @@
1
1
  import type { UIClassMap } from '@molecule/app-ui';
2
2
  import * as i0 from "@angular/core";
3
3
  /** One tier price as the section renders it (React's local `TierPrice`). */
4
- interface TierPrice {
4
+ export interface TierPrice {
5
5
  stripePriceId?: string;
6
6
  interval: string;
7
7
  priceLabel: string;
8
8
  }
9
9
  /** One upgrade tier with its subscribe-able prices (React's local `Tier`). */
10
- interface Tier {
10
+ export interface Tier {
11
11
  planKey: string;
12
12
  name: string;
13
13
  prices: TierPrice[];
@@ -85,5 +85,4 @@ export declare class TiersUpgradeSection {
85
85
  static ɵfac: i0.ɵɵFactoryDeclaration<TiersUpgradeSection, never>;
86
86
  static ɵcmp: i0.ɵɵComponentDeclaration<TiersUpgradeSection, "mol-tiers-upgrade-section", never, { "redirectToCheckout": { "alias": "redirectToCheckout"; "required": false; }; }, {}, never, never, true, never>;
87
87
  }
88
- export {};
89
88
  //# sourceMappingURL=tiers-upgrade-section.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tiers-upgrade-section.component.d.ts","sourceRoot":"","sources":["../src/tiers-upgrade-section.component.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAKlD,4EAA4E;AAC5E,UAAU,SAAS;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,8EAA8E;AAC9E,UAAU,IAAI;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,SAAS,EAAE,CAAA;CACpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBAoFa,mBAAmB;IAC9B;;;;OAIG;IACH,kBAAkB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAU;IAE3D,2DAA2D;IAC3D,SAAS,CAAC,QAAQ,CAAC,IAAI,uDAAmB;IAE1C,iDAAiD;IACjD,SAAS,CAAC,CAAC,8IAAc;IAEzB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAkB;IAEvC,oCAAoC;IACpC,SAAS,CAAC,QAAQ,CAAC,IAAI,iDAAiB;IACxC,mCAAmC;IACnC,SAAS,CAAC,QAAQ,CAAC,OAAO,iDAAiB;IAC3C,kDAAkD;IAClD,SAAS,CAAC,QAAQ,CAAC,KAAK,iDAAqB;IAC7C,yCAAyC;IACzC,SAAS,CAAC,QAAQ,CAAC,WAAW,kDAAgB;IAC9C,+DAA+D;IAC/D,SAAS,CAAC,QAAQ,CAAC,cAAc,wDAA8B;IAC/D,yCAAyC;IACzC,SAAS,CAAC,QAAQ,CAAC,YAAY,iDAAa;IAE5C,mEAAmE;IACnE,SAA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,SAAS,CAAC,QAAQ,CAAC,OAAO,iDAAiB;IAC3C,kDAAkD;IAClD,SAAS,CAAC,QAAQ,CAAC,KAAK,iDAAqB;IAC7C,yCAAyC;IACzC,SAAS,CAAC,QAAQ,CAAC,WAAW,kDAAgB;IAC9C,+DAA+D;IAC/D,SAAS,CAAC,QAAQ,CAAC,cAAc,wDAA8B;IAC/D,yCAAyC;IACzC,SAAS,CAAC,QAAQ,CAAC,YAAY,iDAAa;IAE5C,mEAAmE;IACnE,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAgB;IAEjD;;;;OAIG;IACH,SAAS,CAAC,gBAAgB,IAAI;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,IAAI,CAAC;QAAC,KAAK,EAAE,SAAS,CAAA;KAAE,EAAE;IAY7E;;;;;OAKG;;IAgDH;;;OAGG;cACa,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAmC/E;;;OAGG;IACH,SAAS,CAAC,kBAAkB,QAAa,OAAO,CAAC,IAAI,CAAC,CAcrD;yCA/JU,mBAAmB;2CAAnB,mBAAmB;CAgK/B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-settings-panel-angular",
3
- "version": "1.1.1",
3
+ "version": "2.0.0",
4
4
  "description": "Composable settings panel — a SettingsContainer + family of section sub-components (Account, Auth, Notifications, Billing, Devices, ThisDevice, LogOutDelete). Apps compose via content projection, picking which sections to include and what order.",
5
5
  "homepage": "https://www.molecule.dev/packages/app-settings-panel-angular",
6
6
  "type": "module",
@@ -60,15 +60,15 @@
60
60
  "@angular/compiler-cli": "22.2.3",
61
61
  "@angular/core": "22.2.3",
62
62
  "@angular/platform-browser": "22.2.3",
63
- "@molecule/app-angular": "3.7.1",
64
- "@molecule/app-auth": "3.5.0",
63
+ "@molecule/app-angular": "3.7.2",
64
+ "@molecule/app-auth": "3.6.0",
65
65
  "@molecule/app-framework-conformance": "0.0.0",
66
- "@molecule/app-http": "1.8.0",
66
+ "@molecule/app-http": "1.9.0",
67
67
  "@molecule/app-i18n": "1.2.2",
68
68
  "@molecule/app-icons": "1.0.4",
69
69
  "@molecule/app-push": "1.1.0",
70
70
  "@molecule/app-ui": "1.4.0",
71
- "@molecule/app-ui-angular": "1.2.0",
71
+ "@molecule/app-ui-angular": "1.2.1",
72
72
  "@molecule/app-utilities": "1.0.7",
73
73
  "@types/node": "26.6.5",
74
74
  "jsdom": "30.1.3",