@seedgrid/fe-billing-user 2026.11.1 → 2026.11.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seedgrid/fe-billing-user",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@seedgrid/fe-security": "*"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@seedgrid/fe-core": "2026.11.
|
|
34
|
+
"@seedgrid/fe-core": "2026.11.4",
|
|
35
35
|
"@seedgrid/fe-security": "2026.7.3"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
@@ -119,7 +119,7 @@ function BillingScreen() {
|
|
|
119
119
|
shape="rounded"
|
|
120
120
|
label={t("billing.user.manage_action")}
|
|
121
121
|
loading={openingPortal}
|
|
122
|
-
|
|
122
|
+
enabled={!(loading || !subscription)}
|
|
123
123
|
onClick={() => void handleOpenPortal()}
|
|
124
124
|
/>
|
|
125
125
|
</SgStack>
|
|
@@ -178,7 +178,7 @@ function BillingScreen() {
|
|
|
178
178
|
shape="rounded"
|
|
179
179
|
label={t("billing.user.actions.cancel_scheduled_change")}
|
|
180
180
|
loading={busyAction}
|
|
181
|
-
|
|
181
|
+
enabled={!busyAction}
|
|
182
182
|
onClick={() =>
|
|
183
183
|
void runAction(
|
|
184
184
|
"/api/billing/cancel-scheduled-change",
|
|
@@ -196,7 +196,7 @@ function BillingScreen() {
|
|
|
196
196
|
shape="rounded"
|
|
197
197
|
label={t("billing.user.actions.reactivate")}
|
|
198
198
|
loading={busyAction}
|
|
199
|
-
|
|
199
|
+
enabled={!busyAction}
|
|
200
200
|
onClick={() =>
|
|
201
201
|
void runAction(
|
|
202
202
|
"/api/billing/reactivate",
|
|
@@ -211,7 +211,7 @@ function BillingScreen() {
|
|
|
211
211
|
severity="danger"
|
|
212
212
|
shape="rounded"
|
|
213
213
|
label={t("billing.user.actions.cancel")}
|
|
214
|
-
|
|
214
|
+
enabled={!busyAction}
|
|
215
215
|
onClick={() => setConfirmCancel(true)}
|
|
216
216
|
/>
|
|
217
217
|
)}
|
|
@@ -191,7 +191,7 @@ function PlansCatalogScreen() {
|
|
|
191
191
|
severity="secondary"
|
|
192
192
|
shape="rounded"
|
|
193
193
|
label={t("billing.user.plans_catalog.current_action")}
|
|
194
|
-
|
|
194
|
+
enabled={false}
|
|
195
195
|
/>
|
|
196
196
|
) : !item.checkoutEnabled ? (
|
|
197
197
|
<SgButton
|
|
@@ -199,7 +199,7 @@ function PlansCatalogScreen() {
|
|
|
199
199
|
severity="secondary"
|
|
200
200
|
shape="rounded"
|
|
201
201
|
label={t("billing.user.plans_catalog.unavailable")}
|
|
202
|
-
|
|
202
|
+
enabled={false}
|
|
203
203
|
/>
|
|
204
204
|
) : hasSubscription ? (
|
|
205
205
|
<SgButton
|
|
@@ -208,7 +208,7 @@ function PlansCatalogScreen() {
|
|
|
208
208
|
shape="rounded"
|
|
209
209
|
label={t("billing.user.plans_catalog.change_action")}
|
|
210
210
|
loading={busyPlanId === item.planId}
|
|
211
|
-
|
|
211
|
+
enabled={!(busyPlanId !== null)}
|
|
212
212
|
onClick={() => void handleRequestChange(item)}
|
|
213
213
|
/>
|
|
214
214
|
) : (
|
|
@@ -218,7 +218,7 @@ function PlansCatalogScreen() {
|
|
|
218
218
|
shape="rounded"
|
|
219
219
|
label={t("billing.user.plans_catalog.subscribe_action")}
|
|
220
220
|
loading={busyPlanId === item.planId}
|
|
221
|
-
|
|
221
|
+
enabled={!(busyPlanId !== null)}
|
|
222
222
|
onClick={() => void handleSubscribe(item)}
|
|
223
223
|
/>
|
|
224
224
|
)}
|