@burdenoff/microfe-billing 2026.614.1 → 2026.623.2
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/dist/billing/BillingAdminRoutes.js +7 -6
- package/dist/billing/BillingAdminRoutes.js.map +1 -1
- package/dist/billing/BillingRoot.js +1 -1
- package/dist/billing/BillingRoot.js.map +1 -1
- package/dist/billing/modules/addons/components/FloatingCartDrawer.js +22 -22
- package/dist/billing/modules/addons/components/FloatingCartDrawer.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonCreatePage.js +31 -31
- package/dist/billing/modules/addons/pages/AddonCreatePage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.js +39 -39
- package/dist/billing/modules/addons/pages/AddonDetailPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.js +29 -29
- package/dist/billing/modules/addons/pages/AddonEditPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.js +91 -91
- package/dist/billing/modules/addons/pages/AddonsListPage.js.map +1 -1
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js +40 -40
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js +115 -115
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoicesListPage.js +75 -72
- package/dist/billing/modules/billing/pages/InvoicesListPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/RefundsPage.js +126 -126
- package/dist/billing/modules/billing/pages/RefundsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/UserRefundsPage.js +45 -45
- package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js +25 -25
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js +31 -35
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/checkout/components/CreditsAmountInput.js +9 -9
- package/dist/billing/modules/checkout/components/CreditsAmountInput.js.map +1 -1
- package/dist/billing/modules/checkout/components/OrderSummary.js +31 -31
- package/dist/billing/modules/checkout/components/OrderSummary.js.map +1 -1
- package/dist/billing/modules/checkout/components/PromoCodeInput.js +8 -8
- package/dist/billing/modules/checkout/components/PromoCodeInput.js.map +1 -1
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js +5 -5
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js.map +1 -1
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js +9 -9
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js.map +1 -1
- package/dist/billing/modules/checkout/components/StripePaymentForm.js +21 -21
- package/dist/billing/modules/checkout/components/StripePaymentForm.js.map +1 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js +11 -11
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js +31 -31
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js +23 -23
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js.map +1 -1
- package/dist/billing/modules/checkout/pages/CheckoutPage.js +91 -91
- package/dist/billing/modules/checkout/pages/CheckoutPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js +62 -62
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponsListPage.js +72 -60
- package/dist/billing/modules/coupons/pages/CouponsListPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js +66 -66
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/EditCouponPage.js +46 -46
- package/dist/billing/modules/coupons/pages/EditCouponPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js +19 -19
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js +37 -37
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js +90 -90
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditsPage.js +41 -41
- package/dist/billing/modules/credits/pages/CreditsPage.js.map +1 -1
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js +31 -31
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js +35 -35
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js +24 -24
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js +99 -99
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js +23 -23
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js +22 -22
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/pages/OverviewPage.js +58 -58
- package/dist/billing/modules/dashboard/pages/OverviewPage.js.map +1 -1
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js +126 -126
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +83 -79
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +16 -16
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js +40 -40
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanCreatePage.js +35 -35
- package/dist/billing/modules/plans/pages/PlanCreatePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanDetailPage.js +57 -57
- package/dist/billing/modules/plans/pages/PlanDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.js +35 -35
- package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js +57 -57
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansListPage.js +52 -52
- package/dist/billing/modules/plans/pages/PlansListPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +40 -39
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js +22 -19
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +34 -34
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js +47 -47
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +39 -39
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js +52 -52
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js +23 -23
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js +259 -246
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js +88 -85
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js +51 -51
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js.map +1 -1
- package/dist/billing/modules/usage/pages/UsagePage.js +206 -196
- package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
- package/dist/billing/shared/components/ServerError.js +4 -4
- package/dist/billing/shared/components/ServerError.js.map +1 -1
- package/dist/billing/shared/components/StatCard.js +11 -33
- package/dist/billing/shared/components/StatCard.js.map +1 -1
- package/dist/billing/shared/ui/Card.js +15 -0
- package/dist/billing/shared/ui/Card.js.map +1 -0
- package/dist/billing/shared/ui/MetricCard.js +44 -0
- package/dist/billing/shared/ui/MetricCard.js.map +1 -0
- package/dist/billing/shared/ui/ProgressBar.js +30 -0
- package/dist/billing/shared/ui/ProgressBar.js.map +1 -0
- package/dist/billing/shared/ui/SectionHeader.js +2 -0
- package/dist/billing/shared/ui/StatusPill.js +28 -0
- package/dist/billing/shared/ui/StatusPill.js.map +1 -0
- package/dist/billing/shared/ui/index.js +5 -0
- package/dist/billing/shared/utils/tokens.js +13 -30
- package/dist/billing/shared/utils/tokens.js.map +1 -1
- package/package.json +1 -1
|
@@ -34,14 +34,14 @@ async function se(e, t) {
|
|
|
34
34
|
})).myPayoutRequests.items;
|
|
35
35
|
}
|
|
36
36
|
var m = ({ label: e, value: t, description: n, highlight: r }) => /* @__PURE__ */ p("div", {
|
|
37
|
-
className: `border border-border rounded-lg p-5 ${r ? "bg-gradient-to-br from-
|
|
37
|
+
className: `border border-border-subtle rounded-lg p-5 ${r ? "bg-gradient-to-br from-[var(--color-accent-soft)] to-[var(--color-accent-soft)]" : "bg-bg-surface"}`,
|
|
38
38
|
children: [
|
|
39
39
|
/* @__PURE__ */ f("p", {
|
|
40
|
-
className: "text-sm text-
|
|
40
|
+
className: "text-sm text-text-secondary",
|
|
41
41
|
children: e
|
|
42
42
|
}),
|
|
43
43
|
/* @__PURE__ */ p("p", {
|
|
44
|
-
className: `text-2xl font-bold mt-1 ${r ? "text-
|
|
44
|
+
className: `text-2xl font-bold mt-1 ${r ? "text-text-link" : "text-text-primary"}`,
|
|
45
45
|
children: [
|
|
46
46
|
t.toLocaleString(),
|
|
47
47
|
" ",
|
|
@@ -52,7 +52,7 @@ var m = ({ label: e, value: t, description: n, highlight: r }) => /* @__PURE__ *
|
|
|
52
52
|
]
|
|
53
53
|
}),
|
|
54
54
|
n && /* @__PURE__ */ f("p", {
|
|
55
|
-
className: "text-xs text-
|
|
55
|
+
className: "text-xs text-text-secondary mt-1",
|
|
56
56
|
children: n
|
|
57
57
|
})
|
|
58
58
|
]
|
|
@@ -66,7 +66,7 @@ function ce(e) {
|
|
|
66
66
|
case "REJECTED":
|
|
67
67
|
case "FAILED":
|
|
68
68
|
case "CANCELED": return t.error.text;
|
|
69
|
-
default: return "text-
|
|
69
|
+
default: return "text-text-secondary";
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
function le(e) {
|
|
@@ -78,7 +78,7 @@ function le(e) {
|
|
|
78
78
|
case "REJECTED":
|
|
79
79
|
case "FAILED":
|
|
80
80
|
case "CANCELED": return `${t.error.bg} ${t.error.text}`;
|
|
81
|
-
default: return "bg-
|
|
81
|
+
default: return "bg-bg-sunken text-text-secondary";
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
var h = () => {
|
|
@@ -211,9 +211,9 @@ var h = () => {
|
|
|
211
211
|
className: "text-center space-y-2",
|
|
212
212
|
children: [
|
|
213
213
|
/* @__PURE__ */ f("div", {
|
|
214
|
-
className: "size-12 mx-auto rounded-full bg-
|
|
214
|
+
className: "size-12 mx-auto rounded-full bg-bg-sunken flex items-center justify-center",
|
|
215
215
|
children: /* @__PURE__ */ f("svg", {
|
|
216
|
-
className: "size-6 text-
|
|
216
|
+
className: "size-6 text-text-secondary",
|
|
217
217
|
fill: "none",
|
|
218
218
|
viewBox: "0 0 24 24",
|
|
219
219
|
stroke: "currentColor",
|
|
@@ -226,11 +226,11 @@ var h = () => {
|
|
|
226
226
|
})
|
|
227
227
|
}),
|
|
228
228
|
/* @__PURE__ */ f("h2", {
|
|
229
|
-
className: "text-lg font-semibold text-
|
|
229
|
+
className: "text-lg font-semibold text-text-primary",
|
|
230
230
|
children: "Access Denied"
|
|
231
231
|
}),
|
|
232
232
|
/* @__PURE__ */ f("p", {
|
|
233
|
-
className: "text-sm text-
|
|
233
|
+
className: "text-sm text-text-secondary",
|
|
234
234
|
children: "You don't have permission to withdraw credits."
|
|
235
235
|
})
|
|
236
236
|
]
|
|
@@ -241,17 +241,17 @@ var h = () => {
|
|
|
241
241
|
children: /* @__PURE__ */ p("div", {
|
|
242
242
|
className: "text-center space-y-2",
|
|
243
243
|
children: [/* @__PURE__ */ f("h2", {
|
|
244
|
-
className: "text-lg font-semibold text-
|
|
244
|
+
className: "text-lg font-semibold text-text-primary",
|
|
245
245
|
children: "No Billing Account"
|
|
246
246
|
}), /* @__PURE__ */ f("p", {
|
|
247
|
-
className: "text-sm text-
|
|
247
|
+
className: "text-sm text-text-secondary",
|
|
248
248
|
children: "You need a billing account to withdraw credits."
|
|
249
249
|
})]
|
|
250
250
|
})
|
|
251
251
|
});
|
|
252
252
|
if (o && !a) return /* @__PURE__ */ p("div", {
|
|
253
|
-
className: "space-y-6
|
|
254
|
-
children: [/* @__PURE__ */ f("div", { className: "h-8 w-64 bg-
|
|
253
|
+
className: "space-y-6 px-6 lg:px-8 py-6",
|
|
254
|
+
children: [/* @__PURE__ */ f("div", { className: "h-8 w-64 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ f("div", {
|
|
255
255
|
className: "grid grid-cols-2 lg:grid-cols-4 gap-4",
|
|
256
256
|
children: [
|
|
257
257
|
1,
|
|
@@ -259,20 +259,20 @@ var h = () => {
|
|
|
259
259
|
3,
|
|
260
260
|
4
|
|
261
261
|
].map((e) => /* @__PURE__ */ p("div", {
|
|
262
|
-
className: "border border-border rounded-lg p-5",
|
|
263
|
-
children: [/* @__PURE__ */ f("div", { className: "h-4 w-24 bg-
|
|
262
|
+
className: "border border-border-subtle rounded-lg p-5",
|
|
263
|
+
children: [/* @__PURE__ */ f("div", { className: "h-4 w-24 bg-bg-sunken animate-pulse rounded mb-2" }), /* @__PURE__ */ f("div", { className: "h-8 w-32 bg-bg-sunken animate-pulse rounded" })]
|
|
264
264
|
}, e))
|
|
265
265
|
})]
|
|
266
266
|
});
|
|
267
267
|
let Q = _?.withdrawable ?? 0, Se = Y > 0 && Y <= Q, $ = pe.filter((e) => e.status !== "ARCHIVED");
|
|
268
268
|
return /* @__PURE__ */ p("div", {
|
|
269
|
-
className: "space-y-6
|
|
269
|
+
className: "space-y-6 px-6 lg:px-8 py-6",
|
|
270
270
|
children: [
|
|
271
271
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h1", {
|
|
272
|
-
className: "text-2xl font-
|
|
272
|
+
className: "text-2xl md:text-3xl font-semibold tracking-tight text-text-primary",
|
|
273
273
|
children: "Withdraw Credits"
|
|
274
274
|
}), /* @__PURE__ */ f("p", {
|
|
275
|
-
className: "text-sm text-
|
|
275
|
+
className: "text-sm text-text-secondary mt-1",
|
|
276
276
|
children: "Convert your withdrawable credits (purchased & earned) to a payout"
|
|
277
277
|
})] }),
|
|
278
278
|
/* @__PURE__ */ f("div", {
|
|
@@ -283,10 +283,10 @@ var h = () => {
|
|
|
283
283
|
3,
|
|
284
284
|
4
|
|
285
285
|
].map((e) => /* @__PURE__ */ p("div", {
|
|
286
|
-
className: "border border-border rounded-lg p-5",
|
|
287
|
-
children: [/* @__PURE__ */ f("div", { className: "h-4 w-20 bg-
|
|
286
|
+
className: "border border-border-subtle rounded-lg p-5",
|
|
287
|
+
children: [/* @__PURE__ */ f("div", { className: "h-4 w-20 bg-bg-sunken animate-pulse rounded mb-2" }), /* @__PURE__ */ f("div", { className: "h-8 w-28 bg-bg-sunken animate-pulse rounded" })]
|
|
288
288
|
}, e)) : y ? /* @__PURE__ */ f("div", {
|
|
289
|
-
className: "col-span-4 text-sm text-
|
|
289
|
+
className: "col-span-4 text-sm text-status-error-text",
|
|
290
290
|
children: y
|
|
291
291
|
}) : /* @__PURE__ */ p(d, { children: [
|
|
292
292
|
/* @__PURE__ */ f(m, {
|
|
@@ -361,24 +361,24 @@ var h = () => {
|
|
|
361
361
|
/* @__PURE__ */ p("div", {
|
|
362
362
|
className: "flex items-center justify-between",
|
|
363
363
|
children: [/* @__PURE__ */ f("h2", {
|
|
364
|
-
className: "text-base font-semibold text-
|
|
364
|
+
className: "text-base font-semibold text-text-primary",
|
|
365
365
|
children: "Payout Account"
|
|
366
366
|
}), /* @__PURE__ */ f("button", {
|
|
367
367
|
type: "button",
|
|
368
368
|
onClick: () => I((e) => !e),
|
|
369
|
-
className: "text-sm text-
|
|
369
|
+
className: "text-sm text-text-link hover:underline",
|
|
370
370
|
children: F ? "Cancel" : "+ Add new"
|
|
371
371
|
})]
|
|
372
372
|
}),
|
|
373
373
|
F && /* @__PURE__ */ p("div", {
|
|
374
|
-
className: "border border-border rounded-lg p-4 space-y-3 bg-
|
|
374
|
+
className: "border border-border-subtle rounded-lg p-4 space-y-3 bg-bg-sunken",
|
|
375
375
|
children: [
|
|
376
376
|
/* @__PURE__ */ f("h3", {
|
|
377
|
-
className: "text-sm font-medium text-
|
|
377
|
+
className: "text-sm font-medium text-text-primary",
|
|
378
378
|
children: "New Payout Account"
|
|
379
379
|
}),
|
|
380
380
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
381
|
-
className: "block text-xs text-
|
|
381
|
+
className: "block text-xs text-text-secondary mb-1",
|
|
382
382
|
children: "Label"
|
|
383
383
|
}), /* @__PURE__ */ f("input", {
|
|
384
384
|
type: "text",
|
|
@@ -388,10 +388,10 @@ var h = () => {
|
|
|
388
388
|
label: e.target.value
|
|
389
389
|
})),
|
|
390
390
|
placeholder: "e.g. My Bank Account",
|
|
391
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
391
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
392
392
|
})] }),
|
|
393
393
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
394
|
-
className: "block text-xs text-
|
|
394
|
+
className: "block text-xs text-text-secondary mb-1",
|
|
395
395
|
children: "Account Holder Name"
|
|
396
396
|
}), /* @__PURE__ */ f("input", {
|
|
397
397
|
type: "text",
|
|
@@ -401,12 +401,12 @@ var h = () => {
|
|
|
401
401
|
accountHolderName: e.target.value
|
|
402
402
|
})),
|
|
403
403
|
placeholder: "Full name as on bank account",
|
|
404
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
404
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
405
405
|
})] }),
|
|
406
406
|
/* @__PURE__ */ p("div", {
|
|
407
407
|
className: "grid grid-cols-2 gap-3",
|
|
408
408
|
children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
409
|
-
className: "block text-xs text-
|
|
409
|
+
className: "block text-xs text-text-secondary mb-1",
|
|
410
410
|
children: "Type"
|
|
411
411
|
}), /* @__PURE__ */ p("select", {
|
|
412
412
|
value: L.type,
|
|
@@ -414,7 +414,7 @@ var h = () => {
|
|
|
414
414
|
...t,
|
|
415
415
|
type: e.target.value
|
|
416
416
|
})),
|
|
417
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
417
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
418
418
|
children: [/* @__PURE__ */ f("option", {
|
|
419
419
|
value: "BANK_ACCOUNT",
|
|
420
420
|
children: "Bank Account"
|
|
@@ -423,7 +423,7 @@ var h = () => {
|
|
|
423
423
|
children: "UPI"
|
|
424
424
|
})]
|
|
425
425
|
})] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
426
|
-
className: "block text-xs text-
|
|
426
|
+
className: "block text-xs text-text-secondary mb-1",
|
|
427
427
|
children: "Country"
|
|
428
428
|
}), /* @__PURE__ */ f("input", {
|
|
429
429
|
type: "text",
|
|
@@ -433,11 +433,11 @@ var h = () => {
|
|
|
433
433
|
country: e.target.value
|
|
434
434
|
})),
|
|
435
435
|
placeholder: "e.g. India, US, UK",
|
|
436
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
436
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
437
437
|
})] })]
|
|
438
438
|
}),
|
|
439
439
|
L.type === "BANK_ACCOUNT" && /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
440
|
-
className: "block text-xs text-
|
|
440
|
+
className: "block text-xs text-text-secondary mb-1",
|
|
441
441
|
children: "Account Number"
|
|
442
442
|
}), /* @__PURE__ */ f("input", {
|
|
443
443
|
type: "text",
|
|
@@ -447,9 +447,9 @@ var h = () => {
|
|
|
447
447
|
accountNumber: e.target.value
|
|
448
448
|
})),
|
|
449
449
|
placeholder: "Account number",
|
|
450
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
450
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
451
451
|
})] }), L.country.trim().toUpperCase() === "IN" || L.country.trim().toLowerCase() === "india" ? /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
452
|
-
className: "block text-xs text-
|
|
452
|
+
className: "block text-xs text-text-secondary mb-1",
|
|
453
453
|
children: "IFSC Code"
|
|
454
454
|
}), /* @__PURE__ */ f("input", {
|
|
455
455
|
type: "text",
|
|
@@ -459,9 +459,9 @@ var h = () => {
|
|
|
459
459
|
ifscCode: e.target.value.toUpperCase()
|
|
460
460
|
})),
|
|
461
461
|
placeholder: "e.g. SBIN0001234",
|
|
462
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
462
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
463
463
|
})] }) : /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
464
|
-
className: "block text-xs text-
|
|
464
|
+
className: "block text-xs text-text-secondary mb-1",
|
|
465
465
|
children: "Routing Number"
|
|
466
466
|
}), /* @__PURE__ */ f("input", {
|
|
467
467
|
type: "text",
|
|
@@ -471,10 +471,10 @@ var h = () => {
|
|
|
471
471
|
routingNumber: e.target.value
|
|
472
472
|
})),
|
|
473
473
|
placeholder: "Routing / sort code",
|
|
474
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
474
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
475
475
|
})] })] }),
|
|
476
476
|
L.type === "UPI" && /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
477
|
-
className: "block text-xs text-
|
|
477
|
+
className: "block text-xs text-text-secondary mb-1",
|
|
478
478
|
children: "UPI ID"
|
|
479
479
|
}), /* @__PURE__ */ f("input", {
|
|
480
480
|
type: "text",
|
|
@@ -484,29 +484,29 @@ var h = () => {
|
|
|
484
484
|
upiId: e.target.value
|
|
485
485
|
})),
|
|
486
486
|
placeholder: "yourname@upi",
|
|
487
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
487
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
488
488
|
})] }),
|
|
489
489
|
V && /* @__PURE__ */ f("p", {
|
|
490
|
-
className: "text-xs text-
|
|
490
|
+
className: "text-xs text-status-error-text",
|
|
491
491
|
children: V
|
|
492
492
|
}),
|
|
493
493
|
/* @__PURE__ */ f("button", {
|
|
494
494
|
type: "button",
|
|
495
495
|
onClick: () => void ye(),
|
|
496
496
|
disabled: z || !L.label || !L.accountHolderName,
|
|
497
|
-
className: "w-full py-2 text-sm font-medium bg-primary text-primary-
|
|
497
|
+
className: "w-full py-2 text-sm font-medium bg-action-primary-bg text-action-primary-text rounded-button hover:bg-action-primary-bgHover transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
498
498
|
children: z ? "Saving…" : "Save Account"
|
|
499
499
|
})
|
|
500
500
|
]
|
|
501
501
|
}),
|
|
502
502
|
he ? /* @__PURE__ */ f("div", {
|
|
503
503
|
className: "space-y-2",
|
|
504
|
-
children: [1, 2].map((e) => /* @__PURE__ */ f("div", { className: "h-16 border border-border rounded-lg bg-
|
|
504
|
+
children: [1, 2].map((e) => /* @__PURE__ */ f("div", { className: "h-16 border border-border-subtle rounded-lg bg-bg-sunken animate-pulse" }, e))
|
|
505
505
|
}) : $.length === 0 && !F ? /* @__PURE__ */ p("div", {
|
|
506
|
-
className: "flex flex-col items-center justify-center py-8 border border-dashed border-border rounded-lg",
|
|
506
|
+
className: "flex flex-col items-center justify-center py-8 border border-dashed border-border-subtle rounded-lg",
|
|
507
507
|
children: [
|
|
508
508
|
/* @__PURE__ */ f("svg", {
|
|
509
|
-
className: "size-8 text-
|
|
509
|
+
className: "size-8 text-text-secondary mb-2",
|
|
510
510
|
fill: "none",
|
|
511
511
|
viewBox: "0 0 24 24",
|
|
512
512
|
stroke: "currentColor",
|
|
@@ -518,13 +518,13 @@ var h = () => {
|
|
|
518
518
|
})
|
|
519
519
|
}),
|
|
520
520
|
/* @__PURE__ */ f("p", {
|
|
521
|
-
className: "text-sm text-
|
|
521
|
+
className: "text-sm text-text-secondary",
|
|
522
522
|
children: "No payout accounts yet"
|
|
523
523
|
}),
|
|
524
524
|
/* @__PURE__ */ f("button", {
|
|
525
525
|
type: "button",
|
|
526
526
|
onClick: () => I(!0),
|
|
527
|
-
className: "mt-2 text-sm text-
|
|
527
|
+
className: "mt-2 text-sm text-text-link hover:underline",
|
|
528
528
|
children: "Add a bank account or UPI"
|
|
529
529
|
})
|
|
530
530
|
]
|
|
@@ -533,14 +533,14 @@ var h = () => {
|
|
|
533
533
|
children: $.map((e) => /* @__PURE__ */ f("button", {
|
|
534
534
|
type: "button",
|
|
535
535
|
onClick: () => T(e.id),
|
|
536
|
-
className: `w-full text-left p-4 border rounded-lg transition-colors ${w === e.id ? "border-
|
|
536
|
+
className: `w-full text-left p-4 border rounded-lg transition-colors ${w === e.id ? "border-border-strong bg-[var(--color-accent-soft)]" : "border-border-subtle bg-bg-surface hover:border-border-strong"}`,
|
|
537
537
|
children: /* @__PURE__ */ p("div", {
|
|
538
538
|
className: "flex items-center justify-between",
|
|
539
539
|
children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
|
|
540
|
-
className: "text-sm font-medium text-
|
|
540
|
+
className: "text-sm font-medium text-text-primary",
|
|
541
541
|
children: e.label
|
|
542
542
|
}), /* @__PURE__ */ p("p", {
|
|
543
|
-
className: "text-xs text-
|
|
543
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
544
544
|
children: [
|
|
545
545
|
e.type.replaceAll("_", " "),
|
|
546
546
|
e.displayName ? ` · ${e.displayName}` : "",
|
|
@@ -551,7 +551,7 @@ var h = () => {
|
|
|
551
551
|
className: "flex items-center gap-2",
|
|
552
552
|
children: [
|
|
553
553
|
e.isDefault && /* @__PURE__ */ f("span", {
|
|
554
|
-
className: "text-xs px-2 py-0.5 rounded bg-
|
|
554
|
+
className: "text-xs px-2 py-0.5 rounded bg-[var(--color-accent-soft)] text-text-link font-medium",
|
|
555
555
|
children: "Default"
|
|
556
556
|
}),
|
|
557
557
|
/* @__PURE__ */ f("span", {
|
|
@@ -559,7 +559,7 @@ var h = () => {
|
|
|
559
559
|
children: e.status.replaceAll("_", " ").toLowerCase()
|
|
560
560
|
}),
|
|
561
561
|
w === e.id && /* @__PURE__ */ f("svg", {
|
|
562
|
-
className: "size-4 text-
|
|
562
|
+
className: "size-4 text-text-link shrink-0",
|
|
563
563
|
fill: "none",
|
|
564
564
|
viewBox: "0 0 24 24",
|
|
565
565
|
stroke: "currentColor",
|
|
@@ -579,14 +579,14 @@ var h = () => {
|
|
|
579
579
|
}), /* @__PURE__ */ p("div", {
|
|
580
580
|
className: "space-y-4",
|
|
581
581
|
children: [/* @__PURE__ */ f("h2", {
|
|
582
|
-
className: "text-base font-semibold text-
|
|
582
|
+
className: "text-base font-semibold text-text-primary",
|
|
583
583
|
children: "Request Withdrawal"
|
|
584
584
|
}), /* @__PURE__ */ p("div", {
|
|
585
|
-
className: "border border-border rounded-lg p-5 bg-
|
|
585
|
+
className: "border border-border-subtle rounded-lg p-5 bg-bg-surface space-y-4",
|
|
586
586
|
children: [
|
|
587
587
|
/* @__PURE__ */ p("div", { children: [
|
|
588
588
|
/* @__PURE__ */ f("label", {
|
|
589
|
-
className: "block text-sm font-medium text-
|
|
589
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
590
590
|
children: "Credits to Withdraw"
|
|
591
591
|
}),
|
|
592
592
|
/* @__PURE__ */ f("input", {
|
|
@@ -597,10 +597,10 @@ var h = () => {
|
|
|
597
597
|
value: E,
|
|
598
598
|
onChange: (e) => D(e.target.value),
|
|
599
599
|
placeholder: "Enter credit amount",
|
|
600
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
600
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
601
601
|
}),
|
|
602
602
|
/* @__PURE__ */ p("p", {
|
|
603
|
-
className: "text-xs text-
|
|
603
|
+
className: "text-xs text-text-secondary mt-1",
|
|
604
604
|
children: [
|
|
605
605
|
"Max withdrawable:",
|
|
606
606
|
" ",
|
|
@@ -611,12 +611,12 @@ var h = () => {
|
|
|
611
611
|
]
|
|
612
612
|
}),
|
|
613
613
|
Y > 0 && Y <= Q && /* @__PURE__ */ f("p", {
|
|
614
|
-
className: "text-xs text-
|
|
614
|
+
className: "text-xs text-text-secondary mt-1",
|
|
615
615
|
children: X ? "Calculating…" : Z == null ? null : /* @__PURE__ */ p(d, { children: [
|
|
616
616
|
"Estimated payout:",
|
|
617
617
|
" ",
|
|
618
618
|
/* @__PURE__ */ f("span", {
|
|
619
|
-
className: "font-semibold text-
|
|
619
|
+
className: "font-semibold text-text-primary",
|
|
620
620
|
children: Z.toLocaleString(void 0, {
|
|
621
621
|
style: "currency",
|
|
622
622
|
currency: J,
|
|
@@ -629,14 +629,14 @@ var h = () => {
|
|
|
629
629
|
] })
|
|
630
630
|
}),
|
|
631
631
|
Y > 0 && Y > Q && /* @__PURE__ */ f("p", {
|
|
632
|
-
className: "text-xs text-
|
|
632
|
+
className: "text-xs text-status-error-text mt-1",
|
|
633
633
|
children: "Amount exceeds your withdrawable balance"
|
|
634
634
|
})
|
|
635
635
|
] }),
|
|
636
636
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("label", {
|
|
637
|
-
className: "block text-sm font-medium text-
|
|
637
|
+
className: "block text-sm font-medium text-text-primary mb-1",
|
|
638
638
|
children: ["Notes ", /* @__PURE__ */ f("span", {
|
|
639
|
-
className: "text-
|
|
639
|
+
className: "text-text-secondary font-normal",
|
|
640
640
|
children: "(optional)"
|
|
641
641
|
})]
|
|
642
642
|
}), /* @__PURE__ */ f("textarea", {
|
|
@@ -644,19 +644,19 @@ var h = () => {
|
|
|
644
644
|
onChange: (e) => k(e.target.value),
|
|
645
645
|
placeholder: "Any notes for this withdrawal request",
|
|
646
646
|
rows: 2,
|
|
647
|
-
className: "w-full px-3 py-2 text-sm border border-border rounded-
|
|
647
|
+
className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-button bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
648
648
|
})] }),
|
|
649
649
|
M && /* @__PURE__ */ f("div", {
|
|
650
|
-
className: "p-3 rounded-
|
|
650
|
+
className: "p-3 rounded-button bg-status-error-bg-subtle border border-status-error-border",
|
|
651
651
|
children: /* @__PURE__ */ f("p", {
|
|
652
|
-
className: "text-sm text-
|
|
652
|
+
className: "text-sm text-status-error-text",
|
|
653
653
|
children: M
|
|
654
654
|
})
|
|
655
655
|
}),
|
|
656
656
|
/* @__PURE__ */ p("div", {
|
|
657
|
-
className: "pt-1 border-t border-border",
|
|
657
|
+
className: "pt-1 border-t border-border-subtle",
|
|
658
658
|
children: [/* @__PURE__ */ p("p", {
|
|
659
|
-
className: "text-xs text-
|
|
659
|
+
className: "text-xs text-text-secondary mb-3",
|
|
660
660
|
children: [
|
|
661
661
|
"Credits will be converted to ",
|
|
662
662
|
J,
|
|
@@ -666,7 +666,7 @@ var h = () => {
|
|
|
666
666
|
type: "button",
|
|
667
667
|
onClick: () => void be(),
|
|
668
668
|
disabled: A || !Se || !w || $.length === 0,
|
|
669
|
-
className: "w-full py-2.5 text-sm font-medium bg-primary text-primary-
|
|
669
|
+
className: "w-full py-2.5 text-sm font-medium bg-action-primary-bg text-action-primary-text rounded-button hover:bg-action-primary-bgHover transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
670
670
|
children: A ? "Submitting…" : "Request Withdrawal"
|
|
671
671
|
})]
|
|
672
672
|
})
|
|
@@ -679,12 +679,12 @@ var h = () => {
|
|
|
679
679
|
children: [/* @__PURE__ */ p("div", {
|
|
680
680
|
className: "flex items-center justify-between",
|
|
681
681
|
children: [/* @__PURE__ */ f("h2", {
|
|
682
|
-
className: "text-base font-semibold text-
|
|
682
|
+
className: "text-base font-semibold text-text-primary",
|
|
683
683
|
children: "Withdrawal History"
|
|
684
684
|
}), /* @__PURE__ */ f("button", {
|
|
685
685
|
type: "button",
|
|
686
686
|
onClick: () => void q(),
|
|
687
|
-
className: "text-sm text-
|
|
687
|
+
className: "text-sm text-text-secondary hover:text-text-primary transition-colors",
|
|
688
688
|
"aria-label": "Refresh withdrawal history",
|
|
689
689
|
children: /* @__PURE__ */ f("svg", {
|
|
690
690
|
className: "size-4",
|
|
@@ -705,11 +705,11 @@ var h = () => {
|
|
|
705
705
|
1,
|
|
706
706
|
2,
|
|
707
707
|
3
|
|
708
|
-
].map((e) => /* @__PURE__ */ f("div", { className: "h-16 border border-border rounded-lg bg-
|
|
708
|
+
].map((e) => /* @__PURE__ */ f("div", { className: "h-16 border border-border-subtle rounded-lg bg-bg-sunken animate-pulse" }, e))
|
|
709
709
|
}) : S.length === 0 ? /* @__PURE__ */ p("div", {
|
|
710
|
-
className: "flex flex-col items-center justify-center py-10 border border-dashed border-border rounded-lg",
|
|
710
|
+
className: "flex flex-col items-center justify-center py-10 border border-dashed border-border-subtle rounded-lg",
|
|
711
711
|
children: [/* @__PURE__ */ f("svg", {
|
|
712
|
-
className: "size-8 text-
|
|
712
|
+
className: "size-8 text-text-secondary mb-2",
|
|
713
713
|
fill: "none",
|
|
714
714
|
viewBox: "0 0 24 24",
|
|
715
715
|
stroke: "currentColor",
|
|
@@ -720,44 +720,44 @@ var h = () => {
|
|
|
720
720
|
d: "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
|
|
721
721
|
})
|
|
722
722
|
}), /* @__PURE__ */ f("p", {
|
|
723
|
-
className: "text-sm text-
|
|
723
|
+
className: "text-sm text-text-secondary",
|
|
724
724
|
children: "No withdrawal requests yet"
|
|
725
725
|
})]
|
|
726
726
|
}) : /* @__PURE__ */ f("div", {
|
|
727
|
-
className: "border border-border rounded-lg overflow-hidden",
|
|
727
|
+
className: "border border-border-subtle rounded-lg overflow-hidden",
|
|
728
728
|
children: /* @__PURE__ */ p("table", {
|
|
729
729
|
className: "w-full text-sm",
|
|
730
730
|
children: [/* @__PURE__ */ f("thead", {
|
|
731
|
-
className: "bg-
|
|
731
|
+
className: "bg-bg-sunken border-b border-border-subtle",
|
|
732
732
|
children: /* @__PURE__ */ p("tr", { children: [
|
|
733
733
|
/* @__PURE__ */ f("th", {
|
|
734
|
-
className: "text-left px-4 py-3 text-xs font-medium text-
|
|
734
|
+
className: "text-left px-4 py-3 text-xs font-medium text-text-secondary uppercase tracking-wide",
|
|
735
735
|
children: "Amount"
|
|
736
736
|
}),
|
|
737
737
|
/* @__PURE__ */ f("th", {
|
|
738
|
-
className: "text-left px-4 py-3 text-xs font-medium text-
|
|
738
|
+
className: "text-left px-4 py-3 text-xs font-medium text-text-secondary uppercase tracking-wide",
|
|
739
739
|
children: "Status"
|
|
740
740
|
}),
|
|
741
741
|
/* @__PURE__ */ f("th", {
|
|
742
|
-
className: "text-left px-4 py-3 text-xs font-medium text-
|
|
742
|
+
className: "text-left px-4 py-3 text-xs font-medium text-text-secondary uppercase tracking-wide hidden sm:table-cell",
|
|
743
743
|
children: "Payout Account"
|
|
744
744
|
}),
|
|
745
745
|
/* @__PURE__ */ f("th", {
|
|
746
|
-
className: "text-left px-4 py-3 text-xs font-medium text-
|
|
746
|
+
className: "text-left px-4 py-3 text-xs font-medium text-text-secondary uppercase tracking-wide hidden md:table-cell",
|
|
747
747
|
children: "Requested"
|
|
748
748
|
}),
|
|
749
749
|
/* @__PURE__ */ f("th", {
|
|
750
|
-
className: "text-left px-4 py-3 text-xs font-medium text-
|
|
750
|
+
className: "text-left px-4 py-3 text-xs font-medium text-text-secondary uppercase tracking-wide hidden md:table-cell",
|
|
751
751
|
children: "Completed"
|
|
752
752
|
})
|
|
753
753
|
] })
|
|
754
754
|
}), /* @__PURE__ */ f("tbody", {
|
|
755
|
-
className: "divide-y divide-border",
|
|
755
|
+
className: "divide-y divide-border-subtle",
|
|
756
756
|
children: S.map((e) => /* @__PURE__ */ p("tr", {
|
|
757
|
-
className: "hover:bg-
|
|
757
|
+
className: "hover:bg-bg-sunken transition-colors",
|
|
758
758
|
children: [
|
|
759
759
|
/* @__PURE__ */ p("td", {
|
|
760
|
-
className: "px-4 py-3 font-medium text-
|
|
760
|
+
className: "px-4 py-3 font-medium text-text-primary",
|
|
761
761
|
children: [
|
|
762
762
|
e.requestedAmount.toLocaleString(),
|
|
763
763
|
" ",
|
|
@@ -770,24 +770,24 @@ var h = () => {
|
|
|
770
770
|
className: `inline-flex items-center px-2 py-0.5 rounded text-xs font-medium ${le(e.status)}`,
|
|
771
771
|
children: e.status.charAt(0) + e.status.slice(1).toLowerCase()
|
|
772
772
|
}), e.failureReason && /* @__PURE__ */ f("p", {
|
|
773
|
-
className: "text-xs text-
|
|
773
|
+
className: "text-xs text-status-error-text mt-0.5 max-w-[180px] truncate",
|
|
774
774
|
title: e.failureReason,
|
|
775
775
|
children: e.failureReason
|
|
776
776
|
})]
|
|
777
777
|
}),
|
|
778
778
|
/* @__PURE__ */ f("td", {
|
|
779
|
-
className: "px-4 py-3 text-
|
|
779
|
+
className: "px-4 py-3 text-text-secondary hidden sm:table-cell",
|
|
780
780
|
children: e.payoutAccount ? /* @__PURE__ */ p("span", { children: [e.payoutAccount.label, e.payoutAccount.accountLast4 ? ` ···${e.payoutAccount.accountLast4}` : ""] }) : "—"
|
|
781
781
|
}),
|
|
782
782
|
/* @__PURE__ */ f("td", {
|
|
783
|
-
className: "px-4 py-3 text-
|
|
783
|
+
className: "px-4 py-3 text-text-secondary hidden md:table-cell",
|
|
784
784
|
children: /* @__PURE__ */ f("span", {
|
|
785
785
|
title: r(e.createdAt, "long"),
|
|
786
786
|
children: ee(e.createdAt)
|
|
787
787
|
})
|
|
788
788
|
}),
|
|
789
789
|
/* @__PURE__ */ f("td", {
|
|
790
|
-
className: "px-4 py-3 text-
|
|
790
|
+
className: "px-4 py-3 text-text-secondary hidden md:table-cell",
|
|
791
791
|
children: e.paidAt ? /* @__PURE__ */ f("span", {
|
|
792
792
|
className: ce("PAID"),
|
|
793
793
|
children: r(e.paidAt, "short")
|