@burdenoff/microfe-billing 2026.624.3 → 2026.625.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 +1 -1
- package/dist/billing/BillingAdminRoutes.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonCreatePage.js +2 -2
- package/dist/billing/modules/addons/pages/AddonCreatePage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.js +4 -4
- package/dist/billing/modules/addons/pages/AddonDetailPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.js +2 -2
- package/dist/billing/modules/addons/pages/AddonEditPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.js +1 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.js.map +1 -1
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js +98 -99
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js.map +1 -1
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js +88 -85
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js +6 -6
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoicesListPage.js +2 -2
- package/dist/billing/modules/billing/pages/InvoicesListPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/RefundsPage.js +360 -370
- package/dist/billing/modules/billing/pages/RefundsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/UserRefundsPage.js +2 -2
- package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js +1 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js +1 -1
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js +1 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js +2 -2
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js +102 -104
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponsListPage.js +5 -5
- package/dist/billing/modules/coupons/pages/CouponsListPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js +1 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js +1 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditsPage.js +29 -28
- package/dist/billing/modules/credits/pages/CreditsPage.js.map +1 -1
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js +2 -2
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js +1 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js +3 -3
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js +2 -2
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js +1 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js +1 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/pages/OverviewPage.js +139 -142
- package/dist/billing/modules/dashboard/pages/OverviewPage.js.map +1 -1
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js +6 -6
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +4 -4
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +1 -1
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js +142 -133
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanCreatePage.js +2 -2
- package/dist/billing/modules/plans/pages/PlanCreatePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanDetailPage.js +4 -4
- package/dist/billing/modules/plans/pages/PlanDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.js +2 -2
- package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js +4 -4
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansListPage.js +2 -2
- package/dist/billing/modules/plans/pages/PlansListPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +4 -4
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js +2 -2
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +2 -2
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js +5 -5
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +2 -2
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js +259 -265
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js +7 -7
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js.map +1 -1
- package/dist/billing/modules/usage/pages/UsagePage.js +13 -13
- package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
- package/dist/billing/shared/ui/Card.js +1 -1
- package/dist/billing/shared/ui/Card.js.map +1 -1
- package/dist/billing/shared/ui/MetricCard.js +28 -21
- package/dist/billing/shared/ui/MetricCard.js.map +1 -1
- package/package.json +2 -2
|
@@ -65,7 +65,7 @@ var ne = ({ status: e, className: n = "size-4" }) => {
|
|
|
65
65
|
type: "button",
|
|
66
66
|
onClick: o,
|
|
67
67
|
"aria-pressed": a,
|
|
68
|
-
className: `rounded-card border border-border-
|
|
68
|
+
className: `rounded-card border border-border-seam bg-bg-surface bg-accent-wash shadow-elevation-1 p-5 w-full text-left ${o ? "cursor-pointer transition-[box-shadow,transform] duration-200 ease-[var(--motion-easing-out)] shadow-[var(--shadow-pop)] hover:shadow-elevation-2 [@media(hover:none)]: focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]" : ""} ${a ? "ring-1 ring-[var(--color-focus-ring)] border-border-strong" : ""}`,
|
|
69
69
|
children: [/* @__PURE__ */ j("div", {
|
|
70
70
|
className: "flex items-start justify-between gap-3",
|
|
71
71
|
children: [/* @__PURE__ */ A("span", {
|
|
@@ -143,7 +143,7 @@ var ne = ({ status: e, className: n = "size-4" }) => {
|
|
|
143
143
|
]
|
|
144
144
|
});
|
|
145
145
|
}, re = ({ quotas: e, planLabel: t, showPlanColumn: n = !0, onQuotaClick: r }) => /* @__PURE__ */ A("div", {
|
|
146
|
-
className: "overflow-x-auto rounded-card border border-border-
|
|
146
|
+
className: "overflow-x-auto rounded-card border border-border-seam bg-bg-surface shadow-elevation-1",
|
|
147
147
|
children: /* @__PURE__ */ j("table", {
|
|
148
148
|
className: "w-full text-left",
|
|
149
149
|
children: [/* @__PURE__ */ A("thead", { children: /* @__PURE__ */ j("tr", {
|
|
@@ -186,7 +186,7 @@ var ne = ({ status: e, className: n = "size-4" }) => {
|
|
|
186
186
|
upgraded: `${t.primary.bg} ${t.primary.text}`
|
|
187
187
|
};
|
|
188
188
|
return /* @__PURE__ */ j("div", {
|
|
189
|
-
className: "border border-border-
|
|
189
|
+
className: "border border-border-seam rounded-card bg-bg-surface shadow-elevation-1 overflow-hidden",
|
|
190
190
|
children: [
|
|
191
191
|
/* @__PURE__ */ j("button", {
|
|
192
192
|
type: "button",
|
|
@@ -250,7 +250,7 @@ var ne = ({ status: e, className: n = "size-4" }) => {
|
|
|
250
250
|
className: "absolute inset-0 bg-overlay-scrim",
|
|
251
251
|
onClick: o
|
|
252
252
|
}), /* @__PURE__ */ j("div", {
|
|
253
|
-
className: "relative bg-bg-elevated border border-border-
|
|
253
|
+
className: "relative bg-bg-elevated border border-border-seam rounded-card shadow-[var(--shadow-elevation-4)] max-w-2xl w-full mx-4 max-h-[90vh] overflow-auto",
|
|
254
254
|
role: "dialog",
|
|
255
255
|
"aria-modal": "true",
|
|
256
256
|
"aria-labelledby": "quota-detail-title",
|
|
@@ -332,7 +332,7 @@ var ne = ({ status: e, className: n = "size-4" }) => {
|
|
|
332
332
|
className: "text-sm font-medium text-text-primary mb-3",
|
|
333
333
|
children: "Quota Breakdown"
|
|
334
334
|
}), /* @__PURE__ */ A("div", {
|
|
335
|
-
className: "border border-border-
|
|
335
|
+
className: "border border-border-seam rounded-card overflow-hidden divide-y divide-border-subtle",
|
|
336
336
|
children: [...n.quotaAssignments].sort((e, t) => (e.endtime ? new Date(e.endtime).getTime() : Infinity) - (t.endtime ? new Date(t.endtime).getTime() : Infinity)).map((e) => {
|
|
337
337
|
let n = e.endtime ? new Date(e.endtime) : null, r = /* @__PURE__ */ new Date(), a = n && n < r, o = n ? Math.ceil((n.getTime() - r.getTime()) / (1440 * 60 * 1e3)) : null, s = o !== null && o > 0 && o <= 7;
|
|
338
338
|
return /* @__PURE__ */ j("div", {
|
|
@@ -431,7 +431,7 @@ var ne = ({ status: e, className: n = "size-4" }) => {
|
|
|
431
431
|
}) : /* @__PURE__ */ A("div", {
|
|
432
432
|
className: "space-y-2",
|
|
433
433
|
children: g.map((e) => /* @__PURE__ */ j("div", {
|
|
434
|
-
className: "flex items-center justify-between p-3 border border-border-
|
|
434
|
+
className: "flex items-center justify-between p-3 border border-border-seam rounded-card",
|
|
435
435
|
children: [/* @__PURE__ */ j("div", {
|
|
436
436
|
className: "flex-1 min-w-0",
|
|
437
437
|
children: [/* @__PURE__ */ A("p", {
|
|
@@ -571,7 +571,7 @@ var oe = ({ workspaceId: e }) => {
|
|
|
571
571
|
className: "grid grid-cols-3 gap-3",
|
|
572
572
|
children: [
|
|
573
573
|
/* @__PURE__ */ j("div", {
|
|
574
|
-
className: "rounded-card border border-border-
|
|
574
|
+
className: "rounded-card border border-border-seam bg-bg-surface shadow-elevation-1 p-4",
|
|
575
575
|
children: [/* @__PURE__ */ j("div", {
|
|
576
576
|
className: "flex items-center gap-1.5 mb-1",
|
|
577
577
|
children: [/* @__PURE__ */ A("span", {
|
|
@@ -587,7 +587,7 @@ var oe = ({ workspaceId: e }) => {
|
|
|
587
587
|
})]
|
|
588
588
|
}),
|
|
589
589
|
/* @__PURE__ */ j("div", {
|
|
590
|
-
className: "rounded-card border border-border-
|
|
590
|
+
className: "rounded-card border border-border-seam bg-bg-surface shadow-elevation-1 p-4",
|
|
591
591
|
children: [/* @__PURE__ */ j("div", {
|
|
592
592
|
className: "flex items-center gap-1.5 mb-1",
|
|
593
593
|
children: [/* @__PURE__ */ A("span", {
|
|
@@ -603,7 +603,7 @@ var oe = ({ workspaceId: e }) => {
|
|
|
603
603
|
})]
|
|
604
604
|
}),
|
|
605
605
|
/* @__PURE__ */ j("div", {
|
|
606
|
-
className: "rounded-card border border-border-
|
|
606
|
+
className: "rounded-card border border-border-seam bg-bg-surface shadow-elevation-1 p-4",
|
|
607
607
|
children: [/* @__PURE__ */ j("div", {
|
|
608
608
|
className: "flex items-center gap-1.5 mb-1",
|
|
609
609
|
children: [/* @__PURE__ */ A("span", {
|
|
@@ -621,7 +621,7 @@ var oe = ({ workspaceId: e }) => {
|
|
|
621
621
|
]
|
|
622
622
|
}),
|
|
623
623
|
/* @__PURE__ */ A("div", {
|
|
624
|
-
className: "border border-border-
|
|
624
|
+
className: "border border-border-seam rounded-card bg-bg-surface shadow-elevation-1 overflow-hidden",
|
|
625
625
|
children: /* @__PURE__ */ j("table", {
|
|
626
626
|
className: "w-full text-sm",
|
|
627
627
|
children: [/* @__PURE__ */ A("thead", { children: /* @__PURE__ */ j("tr", {
|
|
@@ -1142,7 +1142,7 @@ var oe = ({ workspaceId: e }) => {
|
|
|
1142
1142
|
onQuotaClick: d
|
|
1143
1143
|
})] }),
|
|
1144
1144
|
N === "active" && W.length === 0 && U.length === 0 && !Q && /* @__PURE__ */ j("div", {
|
|
1145
|
-
className: "flex flex-col items-center justify-center py-12 border border-dashed border-border-
|
|
1145
|
+
className: "flex flex-col items-center justify-center py-12 border border-dashed border-border-seam rounded-card",
|
|
1146
1146
|
children: [
|
|
1147
1147
|
/* @__PURE__ */ A("div", {
|
|
1148
1148
|
className: "size-12 rounded-full bg-[var(--color-accent-soft)] flex items-center justify-center mb-4",
|
|
@@ -1159,7 +1159,7 @@ var oe = ({ workspaceId: e }) => {
|
|
|
1159
1159
|
]
|
|
1160
1160
|
}),
|
|
1161
1161
|
N === "past" && G.length === 0 && !Q && !K && /* @__PURE__ */ j("div", {
|
|
1162
|
-
className: "flex flex-col items-center justify-center py-12 border border-dashed border-border-
|
|
1162
|
+
className: "flex flex-col items-center justify-center py-12 border border-dashed border-border-seam rounded-card",
|
|
1163
1163
|
children: [
|
|
1164
1164
|
/* @__PURE__ */ A("div", {
|
|
1165
1165
|
className: "size-12 rounded-full bg-[var(--color-accent-soft)] flex items-center justify-center mb-4",
|
|
@@ -1190,7 +1190,7 @@ var oe = ({ workspaceId: e }) => {
|
|
|
1190
1190
|
].map((e) => /* @__PURE__ */ A("div", { className: "h-24 bg-bg-sunken animate-pulse rounded-card" }, e))
|
|
1191
1191
|
}),
|
|
1192
1192
|
Q && Z.active.length === 0 && Z.past.length === 0 && (N === "past" || J.length === 0) && /* @__PURE__ */ j("div", {
|
|
1193
|
-
className: "flex flex-col items-center justify-center py-12 border border-dashed border-border-
|
|
1193
|
+
className: "flex flex-col items-center justify-center py-12 border border-dashed border-border-seam rounded-card",
|
|
1194
1194
|
children: [
|
|
1195
1195
|
/* @__PURE__ */ A("div", {
|
|
1196
1196
|
className: "size-12 rounded-full bg-[var(--color-accent-soft)] flex items-center justify-center mb-4",
|