@molecule/app-settings-panel-angular 2.0.2 → 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.
@@ -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 navigates to `upgradeTo` (default `/settings`). Pass
26
- * `upgradeTo="/billing"` or `upgradeTo="/pricing"` if your app routes
27
- * elsewhere. Apps with a multi-tier checkout flow should use
28
- * `TiersUpgradeSection` instead.
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 = 'Free';
33
- /** Route the Upgrade button navigates to. */
34
- upgradeTo = '/settings';
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() ?? this.plan;
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: 9, vars: 15, consts: [["mol-flex", "", 3, "align", "justify"], ["mol-button", "", 3, "click", "variant", "size"]], template: function BillingSection_Template(rf, ctx) { if (rf & 1) {
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.ɵɵelementStart(7, "button", 1);
94
- i0.ɵɵlistener("click", function BillingSection_Template_button_click_7_listener() { return ctx.upgrade(); });
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(12, _c0)), " ");
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(13, _c1)));
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.ɵɵproperty("variant", "outline")("size", "sm");
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
- <button mol-button [variant]="'outline'" [size]="'sm'" (click)="upgrade()">
131
- {{ t('settings.upgrade', undefined, { defaultValue: 'Upgrade' }) }}
132
- </button>
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: 48 }); })();
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,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AC,CAAC,MAAM,EAAE,EAAE;YAChB,4CAA4C;QAC9C,CAAC,CAAC,CAAA;IACN,CAAC;IAED,sEAAsE;IAC5D,OAAO;QACf,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IACtC,CAAC;wGA3DU,cAAc;6DAAd,cAAc;YAbd,0BAAuD;YAC9D,YACF;YAAA,iBAAK;YAEH,AADF,8BAAuD,WAElD;YAAA,YACC;YAAA,8BAAQ;YAAA,YAAiB;YAAS,AAAT,iBAAS,EACrC;YACD,iCAA2E;YAApB,2FAAS,aAAS,IAAC;YACxE,YACF;YACF,AADE,iBAAS,EACL;;YAXO,mEAAkD;YAC7D,cACF;YADE,kGACF;YACc,cAAkB;YAAC,AAAnB,gCAAkB,sBAAsB;YAC9C,cAA2B;YAA3B,oCAA2B;YAC9B,cACC;YADD,oFACC;YAAQ,eAAiB;YAAjB,qCAAiB;YAEV,cAAqB;YAAC,AAAtB,mCAAqB,cAAc;YACpD,cACF;YADE,kGACF;4BAZM,MAAM,EAAE,IAAI;;iFAeX,cAAc;cAlB1B,SAAS;eAAC;gBACT,QAAQ,EAAE,+BAA+B;gBACzC,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;gBACvB,MAAM,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;gBAC7B,QAAQ,EAAE;;;;;;;;;;;WAWD;aACV;;kFACY,cAAc"}
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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E,IAAI,CAAA;YACvB,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAC/D,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE;YAChB,4CAA4C;QAC9C,CAAC,CAAC,CAAA;IACN,CAAC;IAED,sEAAsE;IAC5D,OAAO;QACf,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IACtC,CAAC;wGA/DU,cAAc;6DAAd,cAAc;YAfd,0BAAuD;YAC9D,YACF;YAAA,iBAAK;YAEH,AADF,8BAAuD,WAElD;YAAA,YACC;YAAA,8BAAQ;YAAA,YAAiB;YAAS,AAAT,iBAAS,EACrC;YACD,mFAAiB;YAKnB,iBAAM;;YAbO,mEAAkD;YAC7D,cACF;YADE,kGACF;YACc,cAAkB;YAAC,AAAnB,gCAAkB,sBAAsB;YAC9C,cAA2B;YAA3B,oCAA2B;YAC9B,cACC;YADD,oFACC;YAAQ,eAAiB;YAAjB,qCAAiB;YAE7B,cAIC;YAJD,wCAIC;4BAdK,MAAM,EAAE,IAAI;;iFAiBX,cAAc;cApB1B,SAAS;eAAC;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"}
@@ -24,8 +24,10 @@ export interface Tier {
24
24
  * `@molecule/api-payments-stripe` + `@molecule/api-resource-payment` — loads
25
25
  * the user's current plan from `/api/billing/status`, loads available tiers
26
26
  * from `/api/billing/tiers`, and renders an Upgrade modal with a Subscribe
27
- * button per tier price. Subscribe POSTs to `/api/billing/checkout` and
28
- * redirects to the Stripe checkout URL; paid users see a Cancel button that
27
+ * button per price that is for sale (one the server lists with a price id).
28
+ * Upgrade appears only for a free user and only when something is for sale.
29
+ * Subscribe POSTs to `/api/billing/checkout` and redirects to the checkout
30
+ * URL; a paid user (`isFree: false` in the status) sees a Cancel button that
29
31
  * POSTs to `/api/billing/cancel`. A refused request shows the server's
30
32
  * message.
31
33
  */
@@ -41,10 +43,12 @@ export declare class TiersUpgradeSection {
41
43
  /** The translation function for the template. */
42
44
  protected t: (key: string, values?: import("@molecule/app-i18n").InterpolationValues, options?: import("@molecule/app-i18n").TranslateOptions) => string;
43
45
  private readonly http;
44
- /** The user's current plan name. */
45
- protected readonly plan: import("@angular/core").WritableSignal<string>;
46
- /** The user's current plan key. */
47
- protected readonly planKey: import("@angular/core").WritableSignal<string>;
46
+ /** The user's current plan name, once the server has reported it. */
47
+ protected readonly plan: import("@angular/core").WritableSignal<string | null>;
48
+ /** The user's current plan key, once the server has reported it. */
49
+ protected readonly planKey: import("@angular/core").WritableSignal<string | null>;
50
+ /** Whether the user is on a free plan (the status's `isFree`). */
51
+ protected readonly isFree: import("@angular/core").WritableSignal<boolean>;
48
52
  /** The tiers loaded from `/api/billing/tiers`. */
49
53
  protected readonly tiers: import("@angular/core").WritableSignal<Tier[]>;
50
54
  /** Whether the upgrade modal is open. */
@@ -53,31 +57,38 @@ export declare class TiersUpgradeSection {
53
57
  protected readonly upgradeLoading: import("@angular/core").WritableSignal<string | null>;
54
58
  /** The upgrade modal's error message. */
55
59
  protected readonly upgradeError: import("@angular/core").WritableSignal<string>;
60
+ /** Why the last cancel failed, shown in the section (the modal is closed then). */
61
+ protected readonly cancelError: import("@angular/core").WritableSignal<string>;
56
62
  /** The bonded ClassMap (styling tokens resolve at render time). */
57
63
  protected readonly cm: UIClassMap;
58
64
  private readonly host;
65
+ private loads;
66
+ private destroyed;
59
67
  /**
60
- * The (tier, price) pairs the modal lists: every paid tier's prices that
61
- * carry a stripe price id (React's filter + flatMap).
68
+ * What can be bought: a price the server lists with a price id, on a tier
69
+ * the user is not on (React's `forSale`).
62
70
  * @returns The entries.
63
71
  */
64
- protected subscribeEntries(): {
72
+ protected forSale(): {
65
73
  key: string;
66
74
  tier: Tier;
67
75
  price: TierPrice;
76
+ priceId: string;
68
77
  }[];
78
+ /** Loads the current plan and the available tiers on mount. */
79
+ constructor();
69
80
  /**
70
- * Loads the current plan and the available tiers on mount (React's mount
71
- * effect): each fetch resolves null on failure and the mapping keeps the
72
- * defaults instead of throwing. A result that lands after unmount is
73
- * dropped like React's cancelled one.
81
+ * Loads the current plan and the available tiers (React's effect): each
82
+ * fetch resolves null on failure and the mapping keeps what the section
83
+ * shows instead of throwing. A result that lands after unmount, or after a
84
+ * newer load started, is dropped like React's cancelled one.
74
85
  */
75
- constructor();
86
+ private load;
76
87
  /**
77
88
  * Starts the checkout for one price (React's `handleStartCheckout`).
78
89
  * @param stripePriceId - The price to subscribe to.
79
90
  */
80
- protected startCheckout(stripePriceId: string | undefined): Promise<void>;
91
+ protected startCheckout(stripePriceId: string): Promise<void>;
81
92
  /**
82
93
  * Cancels the subscription (React's `handleCancelSubscription`); a failure
83
94
  * shows the server's message and keeps the plan.
@@ -1 +1 @@
1
- {"version":3,"file":"tiers-upgrade-section.component.d.ts","sourceRoot":"","sources":["../src/tiers-upgrade-section.component.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;;AAKlD,4EAA4E;AAC5E,MAAM,WAAW,SAAS;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,8EAA8E;AAC9E,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,SAAS,EAAE,CAAA;CACpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,qB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