@burdenoff/microfe-billing 2026.1113.2 → 2026.1113.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.
Files changed (105) hide show
  1. package/dist/billing/BillingRoot.js +83 -77
  2. package/dist/billing/BillingRoot.js.map +1 -1
  3. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.js +78 -78
  4. package/dist/billing/modules/addons/pages/AddonCreatePage.js +70 -70
  5. package/dist/billing/modules/addons/pages/AddonDetailPage.js +72 -72
  6. package/dist/billing/modules/addons/pages/AddonEditPage.js +79 -79
  7. package/dist/billing/modules/addons/pages/AddonsBrowsePage.js +224 -224
  8. package/dist/billing/modules/addons/pages/AddonsListPage.js +186 -186
  9. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js +168 -168
  10. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js.map +1 -1
  11. package/dist/billing/modules/analytics/pages/AnalyticsPage.js +88 -88
  12. package/dist/billing/modules/billing/hooks/index.js +5 -5
  13. package/dist/billing/modules/billing/hooks/useInvoices.js +39 -20
  14. package/dist/billing/modules/billing/hooks/useInvoices.js.map +1 -1
  15. package/dist/billing/modules/billing/index.js +14 -14
  16. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.js +92 -92
  17. package/dist/billing/modules/billing/pages/InvoiceDetailPage.js +160 -160
  18. package/dist/billing/modules/billing/pages/InvoiceDetailPage.js.map +1 -1
  19. package/dist/billing/modules/billing/pages/InvoicesListPage.js +100 -100
  20. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.js +105 -105
  21. package/dist/billing/modules/billing/pages/PaymentMethodsPage.js +37 -37
  22. package/dist/billing/modules/billing/pages/RefundIssueLogsPage.js +41 -41
  23. package/dist/billing/modules/billing/pages/RefundsPage.js +334 -334
  24. package/dist/billing/modules/billing/pages/RefundsPage.js.map +1 -1
  25. package/dist/billing/modules/billing/pages/TransactionsPage.js +174 -174
  26. package/dist/billing/modules/billing/pages/TransactionsPage.js.map +1 -1
  27. package/dist/billing/modules/billing/pages/UserRefundsPage.js +24 -24
  28. package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -1
  29. package/dist/billing/modules/checkout/components/OrderSummary.js +71 -71
  30. package/dist/billing/modules/checkout/pages/CheckoutPage.js +646 -625
  31. package/dist/billing/modules/checkout/pages/CheckoutPage.js.map +1 -1
  32. package/dist/billing/modules/checkout/utils/checkoutOptions.d.ts +23 -0
  33. package/dist/billing/modules/checkout/utils/checkoutOptions.js +8 -0
  34. package/dist/billing/modules/checkout/utils/checkoutOptions.js.map +1 -0
  35. package/dist/billing/modules/coupons/pages/CouponDetailPage.js +112 -112
  36. package/dist/billing/modules/coupons/pages/CouponsListPage.js +118 -118
  37. package/dist/billing/modules/coupons/pages/CouponsListPage.js.map +1 -1
  38. package/dist/billing/modules/coupons/pages/CreateCouponPage.js +119 -119
  39. package/dist/billing/modules/coupons/pages/EditCouponPage.js +82 -82
  40. package/dist/billing/modules/credits/pages/AdminCreditsPage.js +30 -30
  41. package/dist/billing/modules/credits/pages/CreditTransactionsPage.js +77 -77
  42. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js +144 -144
  43. package/dist/billing/modules/credits/pages/CreditsPage.js +67 -67
  44. package/dist/billing/modules/dashboard/pages/OverviewPage.js +594 -442
  45. package/dist/billing/modules/dashboard/pages/OverviewPage.js.map +1 -1
  46. package/dist/billing/modules/dashboard/utils/overviewSummary.d.ts +46 -0
  47. package/dist/billing/modules/dashboard/utils/overviewSummary.js +37 -0
  48. package/dist/billing/modules/dashboard/utils/overviewSummary.js.map +1 -0
  49. package/dist/billing/modules/discounts/pages/DiscountsListPage.js +199 -199
  50. package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
  51. package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.js +64 -64
  52. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js +122 -122
  53. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js.map +1 -1
  54. package/dist/billing/modules/earnings/pages/EarningsPage.js +102 -102
  55. package/dist/billing/modules/earnings/pages/EarningsPage.js.map +1 -1
  56. package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +178 -178
  57. package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
  58. package/dist/billing/modules/earnings/pages/PayoutsPage.js +107 -107
  59. package/dist/billing/modules/earnings/pages/PayoutsPage.js.map +1 -1
  60. package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +54 -54
  61. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js +94 -94
  62. package/dist/billing/modules/plans/pages/PlanCreatePage.js +73 -73
  63. package/dist/billing/modules/plans/pages/PlanDetailPage.js +96 -96
  64. package/dist/billing/modules/plans/pages/PlanEditPage.js +16 -16
  65. package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
  66. package/dist/billing/modules/plans/pages/PlansBrowsePage.js +100 -100
  67. package/dist/billing/modules/plans/pages/PlansListPage.js +88 -88
  68. package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +60 -60
  69. package/dist/billing/modules/promotions/pages/PromotionsListPage.js +37 -37
  70. package/dist/billing/modules/quota/pages/QuotaAssignFreePage.js +62 -62
  71. package/dist/billing/modules/quota/pages/QuotaPage.js +1 -1
  72. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +69 -69
  73. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js +76 -76
  74. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +80 -80
  75. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js +95 -95
  76. package/dist/billing/modules/settings/pages/SettingsPage.js +134 -134
  77. package/dist/billing/modules/settings/pages/SettingsPage.js.map +1 -1
  78. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js +62 -62
  79. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js.map +1 -1
  80. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js +36 -36
  81. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js +534 -410
  82. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js.map +1 -1
  83. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js +111 -111
  84. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js +166 -160
  85. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js.map +1 -1
  86. package/dist/billing/modules/subscriptions/utils/subscriptionDetailView.d.ts +30 -0
  87. package/dist/billing/modules/subscriptions/utils/subscriptionDetailView.js +20 -0
  88. package/dist/billing/modules/subscriptions/utils/subscriptionDetailView.js.map +1 -0
  89. package/dist/billing/modules/subscriptions/utils/upgradeAccess.d.ts +10 -0
  90. package/dist/billing/modules/subscriptions/utils/upgradeAccess.js +7 -0
  91. package/dist/billing/modules/subscriptions/utils/upgradeAccess.js.map +1 -0
  92. package/dist/billing/modules/usage/pages/UsagePage.js +722 -591
  93. package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
  94. package/dist/billing/modules/usage/utils/usageHealth.d.ts +63 -0
  95. package/dist/billing/modules/usage/utils/usageHealth.js +43 -0
  96. package/dist/billing/modules/usage/utils/usageHealth.js.map +1 -0
  97. package/dist/billing/shared/components/EmptyState.js +3 -3
  98. package/dist/billing/shared/components/MoneyActionDialog.js +12 -12
  99. package/dist/billing/shared/ui/MetricCard.js +13 -13
  100. package/dist/billing/shared/utils/format.js +16 -4
  101. package/dist/billing/shared/utils/format.js.map +1 -1
  102. package/dist/billing/shared/utils/index.js +8 -8
  103. package/dist/generated/global-operations.js +294 -286
  104. package/dist/generated/global-operations.js.map +1 -1
  105. package/package.json +2 -2
@@ -11,16 +11,16 @@ import { formatCurrency as c, formatDate as l, formatInvoiceNumber as u, formatI
11
11
  import { withBillingAccountId as f } from "../../../shared/utils/navigation.js";
12
12
  import { getInvoiceStatusColor as te, getStatusBadgeClasses as p } from "../../../shared/utils/status.js";
13
13
  import { useState as m } from "react";
14
- import { useParams as h } from "react-router";
15
- import { jsx as g, jsxs as _ } from "react/jsx-runtime";
16
- import { useI18n as v } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
17
- import { EmphasisPanel as y, NextSteps as b, PagePurpose as x, ResponsiveTable as ne } from "@burdenoff/fe-libs/ui";
14
+ import { EmphasisPanel as h, NextSteps as g, PagePurpose as _, ResponsiveTable as v } from "@burdenoff/fe-libs/ui";
15
+ import { useParams as y } from "react-router";
16
+ import { jsx as b, jsxs as x } from "react/jsx-runtime";
17
+ import { useI18n as ne } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
18
18
  // src/billing/modules/billing/pages/InvoiceDetailPage.tsx
19
19
  var S = () => {
20
- let { t: S } = v(), C = (e, t) => {
20
+ let { t: S } = ne(), C = (e, t) => {
21
21
  let n = S(e);
22
22
  return n === e ? t : n;
23
- }, { invoiceId: w } = h(), T = e(), { orgId: E } = n(), D = ee(), { selectedAccountId: O } = r({
23
+ }, { invoiceId: w } = y(), T = e(), { orgId: E } = n(), D = ee(), { selectedAccountId: O } = r({
24
24
  orgId: E,
25
25
  syncFromUrl: !0,
26
26
  urlParamName: "billingAccountId"
@@ -50,19 +50,19 @@ var S = () => {
50
50
  }, J = async () => {
51
51
  (H === "pay" ? await W() : await G()) && U(null);
52
52
  };
53
- if (!D.canViewInvoices) return /* @__PURE__ */ g("div", {
53
+ if (!D.canViewInvoices) return /* @__PURE__ */ b("div", {
54
54
  className: "flex items-center justify-center h-full min-h-[400px]",
55
- children: /* @__PURE__ */ _("div", {
55
+ children: /* @__PURE__ */ x("div", {
56
56
  className: "text-center space-y-2",
57
57
  children: [
58
- /* @__PURE__ */ g("div", {
58
+ /* @__PURE__ */ b("div", {
59
59
  className: "size-12 mx-auto rounded-full bg-bg-sunken flex items-center justify-center",
60
- children: /* @__PURE__ */ g("svg", {
60
+ children: /* @__PURE__ */ b("svg", {
61
61
  className: "size-6 text-text-secondary",
62
62
  fill: "none",
63
63
  viewBox: "0 0 24 24",
64
64
  stroke: "currentColor",
65
- children: /* @__PURE__ */ g("path", {
65
+ children: /* @__PURE__ */ b("path", {
66
66
  strokeLinecap: "round",
67
67
  strokeLinejoin: "round",
68
68
  strokeWidth: 2,
@@ -70,82 +70,82 @@ var S = () => {
70
70
  })
71
71
  })
72
72
  }),
73
- /* @__PURE__ */ g("h2", {
73
+ /* @__PURE__ */ b("h2", {
74
74
  className: "text-lg font-semibold text-text-primary",
75
75
  children: C("billing.accessDenied.title", "Access Denied")
76
76
  }),
77
- /* @__PURE__ */ g("p", {
77
+ /* @__PURE__ */ b("p", {
78
78
  className: "text-sm text-text-secondary max-w-sm",
79
79
  children: C("billing.invoices.noViewPermission", "You don't have permission to view invoices.")
80
80
  })
81
81
  ]
82
82
  })
83
83
  });
84
- if (re) return /* @__PURE__ */ _("div", {
84
+ if (re) return /* @__PURE__ */ x("div", {
85
85
  className: "space-y-6 px-6 lg:px-8 py-6",
86
- children: [/* @__PURE__ */ _("div", {
86
+ children: [/* @__PURE__ */ x("div", {
87
87
  className: "flex items-center gap-4",
88
- children: [/* @__PURE__ */ g("div", { className: "size-10 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ _("div", {
88
+ children: [/* @__PURE__ */ b("div", { className: "size-10 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ x("div", {
89
89
  className: "space-y-2",
90
- children: [/* @__PURE__ */ g("div", { className: "h-8 w-48 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ g("div", { className: "h-4 w-32 bg-bg-sunken animate-pulse rounded" })]
90
+ children: [/* @__PURE__ */ b("div", { className: "h-8 w-48 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ b("div", { className: "h-4 w-32 bg-bg-sunken animate-pulse rounded" })]
91
91
  })]
92
- }), /* @__PURE__ */ _("div", {
92
+ }), /* @__PURE__ */ x("div", {
93
93
  className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
94
- children: [/* @__PURE__ */ _("div", {
94
+ children: [/* @__PURE__ */ x("div", {
95
95
  className: "lg:col-span-2 space-y-6",
96
- children: [/* @__PURE__ */ _("div", {
96
+ children: [/* @__PURE__ */ x("div", {
97
97
  className: "border border-border-subtle rounded-lg p-6 space-y-4",
98
98
  children: [
99
- /* @__PURE__ */ g("div", { className: "h-6 w-32 bg-bg-sunken animate-pulse rounded" }),
100
- /* @__PURE__ */ g("div", { className: "h-4 w-full bg-bg-sunken animate-pulse rounded" }),
101
- /* @__PURE__ */ g("div", { className: "h-4 w-3/4 bg-bg-sunken animate-pulse rounded" })
99
+ /* @__PURE__ */ b("div", { className: "h-6 w-32 bg-bg-sunken animate-pulse rounded" }),
100
+ /* @__PURE__ */ b("div", { className: "h-4 w-full bg-bg-sunken animate-pulse rounded" }),
101
+ /* @__PURE__ */ b("div", { className: "h-4 w-3/4 bg-bg-sunken animate-pulse rounded" })
102
102
  ]
103
- }), /* @__PURE__ */ _("div", {
103
+ }), /* @__PURE__ */ x("div", {
104
104
  className: "border border-border-subtle rounded-lg p-6 space-y-4",
105
- children: [/* @__PURE__ */ g("div", { className: "h-6 w-24 bg-bg-sunken animate-pulse rounded" }), [
105
+ children: [/* @__PURE__ */ b("div", { className: "h-6 w-24 bg-bg-sunken animate-pulse rounded" }), [
106
106
  1,
107
107
  2,
108
108
  3
109
- ].map((e) => /* @__PURE__ */ _("div", {
109
+ ].map((e) => /* @__PURE__ */ x("div", {
110
110
  className: "flex items-center gap-4",
111
111
  children: [
112
- /* @__PURE__ */ g("div", { className: "h-4 flex-1 bg-bg-sunken animate-pulse rounded" }),
113
- /* @__PURE__ */ g("div", { className: "h-4 w-16 bg-bg-sunken animate-pulse rounded" }),
114
- /* @__PURE__ */ g("div", { className: "h-4 w-16 bg-bg-sunken animate-pulse rounded" }),
115
- /* @__PURE__ */ g("div", { className: "h-4 w-20 bg-bg-sunken animate-pulse rounded" })
112
+ /* @__PURE__ */ b("div", { className: "h-4 flex-1 bg-bg-sunken animate-pulse rounded" }),
113
+ /* @__PURE__ */ b("div", { className: "h-4 w-16 bg-bg-sunken animate-pulse rounded" }),
114
+ /* @__PURE__ */ b("div", { className: "h-4 w-16 bg-bg-sunken animate-pulse rounded" }),
115
+ /* @__PURE__ */ b("div", { className: "h-4 w-20 bg-bg-sunken animate-pulse rounded" })
116
116
  ]
117
117
  }, e))]
118
118
  })]
119
- }), /* @__PURE__ */ g("div", {
119
+ }), /* @__PURE__ */ b("div", {
120
120
  className: "space-y-6",
121
- children: /* @__PURE__ */ _("div", {
121
+ children: /* @__PURE__ */ x("div", {
122
122
  className: "border border-border-subtle rounded-lg p-6 space-y-4",
123
- children: [/* @__PURE__ */ g("div", { className: "h-6 w-24 bg-bg-sunken animate-pulse rounded" }), [
123
+ children: [/* @__PURE__ */ b("div", { className: "h-6 w-24 bg-bg-sunken animate-pulse rounded" }), [
124
124
  1,
125
125
  2,
126
126
  3,
127
127
  4
128
- ].map((e) => /* @__PURE__ */ _("div", {
128
+ ].map((e) => /* @__PURE__ */ x("div", {
129
129
  className: "space-y-1",
130
- children: [/* @__PURE__ */ g("div", { className: "h-3 w-20 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ g("div", { className: "h-4 w-28 bg-bg-sunken animate-pulse rounded" })]
130
+ children: [/* @__PURE__ */ b("div", { className: "h-3 w-20 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ b("div", { className: "h-4 w-28 bg-bg-sunken animate-pulse rounded" })]
131
131
  }, e))]
132
132
  })
133
133
  })]
134
134
  })]
135
135
  });
136
- if (M || !j) return /* @__PURE__ */ g("div", {
136
+ if (M || !j) return /* @__PURE__ */ b("div", {
137
137
  className: "flex items-center justify-center h-full min-h-[400px]",
138
- children: /* @__PURE__ */ _("div", {
138
+ children: /* @__PURE__ */ x("div", {
139
139
  className: "text-center space-y-4",
140
140
  children: [
141
- /* @__PURE__ */ g("div", {
141
+ /* @__PURE__ */ b("div", {
142
142
  className: "size-12 mx-auto rounded-full bg-status-error-bg-subtle flex items-center justify-center",
143
- children: /* @__PURE__ */ g("svg", {
143
+ children: /* @__PURE__ */ b("svg", {
144
144
  className: "size-6 text-status-error-text",
145
145
  fill: "none",
146
146
  viewBox: "0 0 24 24",
147
147
  stroke: "currentColor",
148
- children: /* @__PURE__ */ g("path", {
148
+ children: /* @__PURE__ */ b("path", {
149
149
  strokeLinecap: "round",
150
150
  strokeLinejoin: "round",
151
151
  strokeWidth: 2,
@@ -153,22 +153,22 @@ var S = () => {
153
153
  })
154
154
  })
155
155
  }),
156
- /* @__PURE__ */ g("h2", {
156
+ /* @__PURE__ */ b("h2", {
157
157
  className: "text-lg font-semibold text-text-primary",
158
158
  children: C("billing.invoices.invoiceNotFound", "Invoice not found")
159
159
  }),
160
- /* @__PURE__ */ g("p", {
160
+ /* @__PURE__ */ b("p", {
161
161
  className: "text-sm text-text-secondary",
162
162
  children: M?.message || C("billing.invoices.invoiceNotFoundMessage", "The invoice you are looking for does not exist.")
163
163
  }),
164
- /* @__PURE__ */ _("div", {
164
+ /* @__PURE__ */ x("div", {
165
165
  className: "flex items-center justify-center gap-3",
166
- children: [/* @__PURE__ */ g("button", {
166
+ children: [/* @__PURE__ */ b("button", {
167
167
  type: "button",
168
168
  onClick: () => N(),
169
169
  className: "px-4 py-2 text-sm font-medium bg-action-primary-bg text-action-primary-text rounded-button hover:bg-action-primary-bgHover transition-colors",
170
170
  children: "Try Again"
171
- }), /* @__PURE__ */ g("button", {
171
+ }), /* @__PURE__ */ b("button", {
172
172
  type: "button",
173
173
  onClick: () => T(f("/invoices", A)),
174
174
  className: "px-4 py-2 text-sm font-medium border border-border-subtle text-text-primary rounded-button hover:bg-bg-sunken transition-colors",
@@ -190,7 +190,7 @@ var S = () => {
190
190
  header: "Qty",
191
191
  headerClassName: "text-right",
192
192
  cellClassName: "text-right",
193
- cell: (e) => /* @__PURE__ */ g("span", {
193
+ cell: (e) => /* @__PURE__ */ b("span", {
194
194
  className: "tabular-nums",
195
195
  children: e.quantity
196
196
  })
@@ -200,7 +200,7 @@ var S = () => {
200
200
  header: "Unit Price",
201
201
  headerClassName: "text-right",
202
202
  cellClassName: "text-right",
203
- cell: (e) => /* @__PURE__ */ g("span", {
203
+ cell: (e) => /* @__PURE__ */ b("span", {
204
204
  className: "tabular-nums",
205
205
  children: c(e.unitPrice, j.currency)
206
206
  })
@@ -210,7 +210,7 @@ var S = () => {
210
210
  header: "Amount",
211
211
  headerClassName: "text-right",
212
212
  cellClassName: "text-right font-medium",
213
- cell: (e) => /* @__PURE__ */ g("span", {
213
+ cell: (e) => /* @__PURE__ */ b("span", {
214
214
  className: "tabular-nums",
215
215
  children: c(e.amount, j.currency)
216
216
  })
@@ -247,41 +247,41 @@ var S = () => {
247
247
  onClick: () => T(f("/refunds", A))
248
248
  }
249
249
  ];
250
- return /* @__PURE__ */ _("div", {
250
+ return /* @__PURE__ */ x("div", {
251
251
  className: "space-y-6 px-6 lg:px-8 py-6",
252
252
  children: [
253
- /* @__PURE__ */ _("div", {
253
+ /* @__PURE__ */ x("div", {
254
254
  className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
255
- children: [/* @__PURE__ */ _("div", {
255
+ children: [/* @__PURE__ */ x("div", {
256
256
  className: "flex items-start gap-4",
257
- children: [/* @__PURE__ */ g("button", {
257
+ children: [/* @__PURE__ */ b("button", {
258
258
  type: "button",
259
259
  onClick: () => T(f("/invoices", A)),
260
260
  className: "p-2 -ml-2 text-text-secondary hover:text-text-primary hover:bg-bg-sunken rounded-button transition-colors",
261
- children: /* @__PURE__ */ g("svg", {
261
+ children: /* @__PURE__ */ b("svg", {
262
262
  className: "size-5",
263
263
  fill: "none",
264
264
  viewBox: "0 0 24 24",
265
265
  stroke: "currentColor",
266
- children: /* @__PURE__ */ g("path", {
266
+ children: /* @__PURE__ */ b("path", {
267
267
  strokeLinecap: "round",
268
268
  strokeLinejoin: "round",
269
269
  strokeWidth: 2,
270
270
  d: "M15 19l-7-7 7-7"
271
271
  })
272
272
  })
273
- }), /* @__PURE__ */ _("div", { children: [
274
- /* @__PURE__ */ _("div", {
273
+ }), /* @__PURE__ */ x("div", { children: [
274
+ /* @__PURE__ */ x("div", {
275
275
  className: "flex items-center gap-3",
276
- children: [/* @__PURE__ */ _("h1", {
276
+ children: [/* @__PURE__ */ x("h1", {
277
277
  className: "text-2xl md:text-3xl font-semibold tracking-tight text-text-primary",
278
278
  children: ["Invoice ", u(j.invoiceNumber)]
279
- }), /* @__PURE__ */ g("span", {
279
+ }), /* @__PURE__ */ b("span", {
280
280
  className: `px-2 py-1 text-xs font-medium rounded ${p(Y)}`,
281
281
  children: d(j.status)
282
282
  })]
283
283
  }),
284
- /* @__PURE__ */ _("p", {
284
+ /* @__PURE__ */ x("p", {
285
285
  className: "text-sm text-text-secondary mt-1",
286
286
  children: [
287
287
  "Created ",
@@ -289,43 +289,43 @@ var S = () => {
289
289
  j.dueDate && ` · Due ${l(j.dueDate, "short")}`
290
290
  ]
291
291
  }),
292
- /* @__PURE__ */ g(x, {
292
+ /* @__PURE__ */ b(_, {
293
293
  className: "mt-3",
294
294
  children: C("billing.invoices.detailPurpose", "The full breakdown of a single invoice — its line items, taxes, what has been paid and what is still due. Use it to download the PDF, pay an outstanding balance, jump to the subscription it covers, or raise a refund.")
295
295
  })
296
296
  ] })]
297
- }), /* @__PURE__ */ _("div", {
297
+ }), /* @__PURE__ */ x("div", {
298
298
  className: "flex items-center gap-2 flex-wrap",
299
299
  children: [
300
- j.pdfUrl && /* @__PURE__ */ g("a", {
300
+ j.pdfUrl && /* @__PURE__ */ b("a", {
301
301
  href: j.pdfUrl,
302
302
  target: "_blank",
303
303
  rel: "noopener noreferrer",
304
304
  className: "px-4 py-2 text-sm font-medium border border-border-subtle text-text-primary rounded-button hover:bg-bg-sunken transition-colors",
305
305
  children: "Download PDF"
306
306
  }),
307
- $ && /* @__PURE__ */ g("a", {
307
+ $ && /* @__PURE__ */ b("a", {
308
308
  href: $,
309
309
  target: "_blank",
310
310
  rel: "noopener noreferrer",
311
311
  className: "px-4 py-2 text-sm font-medium border border-border-subtle text-text-primary rounded-button hover:bg-bg-sunken transition-colors",
312
312
  children: "Download PDF (backup)"
313
313
  }),
314
- j.invoiceUrl && /* @__PURE__ */ g("a", {
314
+ j.invoiceUrl && /* @__PURE__ */ b("a", {
315
315
  href: j.invoiceUrl,
316
316
  target: "_blank",
317
317
  rel: "noopener noreferrer",
318
318
  className: "px-4 py-2 text-sm font-medium border border-border-subtle text-text-primary rounded-button hover:bg-bg-sunken transition-colors",
319
319
  children: "View on Portal"
320
320
  }),
321
- X && D.canPayInvoice && /* @__PURE__ */ g("button", {
321
+ X && D.canPayInvoice && /* @__PURE__ */ b("button", {
322
322
  type: "button",
323
323
  onClick: K,
324
324
  disabled: I || !R,
325
325
  className: "px-4 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",
326
326
  children: R ? I ? "Processing..." : "Pay Invoice" : "Default Payment Method Required"
327
327
  }),
328
- (X || ie) && D.canVoidInvoice && /* @__PURE__ */ g("button", {
328
+ (X || ie) && D.canVoidInvoice && /* @__PURE__ */ b("button", {
329
329
  type: "button",
330
330
  onClick: q,
331
331
  disabled: L,
@@ -335,7 +335,7 @@ var S = () => {
335
335
  ]
336
336
  })]
337
337
  }),
338
- /* @__PURE__ */ g(t, {
338
+ /* @__PURE__ */ b(t, {
339
339
  open: H !== null,
340
340
  tone: H === "void" ? "danger" : "primary",
341
341
  title: H === "void" ? C("billing.invoices.voidReview.title", "Void this invoice?") : C("billing.invoices.payReview.title", "Review and pay"),
@@ -361,24 +361,24 @@ var S = () => {
361
361
  onConfirm: () => void J(),
362
362
  onCancel: () => U(null)
363
363
  }),
364
- z && H === null && /* @__PURE__ */ g("div", {
364
+ z && H === null && /* @__PURE__ */ b("div", {
365
365
  className: "p-3 bg-status-error-bg-subtle border border-status-error-border rounded-button",
366
- children: /* @__PURE__ */ g("p", {
366
+ children: /* @__PURE__ */ b("p", {
367
367
  className: "text-sm text-status-error-text",
368
368
  children: z
369
369
  })
370
370
  }),
371
- /* @__PURE__ */ _("div", {
371
+ /* @__PURE__ */ x("div", {
372
372
  className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
373
- children: [/* @__PURE__ */ _("div", {
373
+ children: [/* @__PURE__ */ x("div", {
374
374
  className: "lg:col-span-2 space-y-6",
375
375
  children: [
376
- /* @__PURE__ */ _(y, {
376
+ /* @__PURE__ */ x(h, {
377
377
  className: "overflow-hidden p-0",
378
378
  children: [
379
- /* @__PURE__ */ g("div", {
379
+ /* @__PURE__ */ b("div", {
380
380
  className: "p-6 border-b border-border-subtle",
381
- children: /* @__PURE__ */ _("h2", {
381
+ children: /* @__PURE__ */ x("h2", {
382
382
  className: "text-lg font-semibold text-text-primary",
383
383
  children: [
384
384
  C("billing.invoices.lineItems", "Line Items"),
@@ -388,68 +388,68 @@ var S = () => {
388
388
  ]
389
389
  })
390
390
  }),
391
- Z.length === 0 ? /* @__PURE__ */ g("div", {
391
+ Z.length === 0 ? /* @__PURE__ */ b("div", {
392
392
  className: "p-6",
393
- children: /* @__PURE__ */ g("p", {
393
+ children: /* @__PURE__ */ b("p", {
394
394
  className: "text-sm text-text-secondary",
395
395
  children: C("billing.invoices.noLineItems", "No line items on this invoice.")
396
396
  })
397
- }) : /* @__PURE__ */ g(ne, {
397
+ }) : /* @__PURE__ */ b(v, {
398
398
  data: Z,
399
399
  rowKey: (e) => e.id,
400
400
  columns: ae
401
401
  }),
402
- /* @__PURE__ */ g("div", {
402
+ /* @__PURE__ */ b("div", {
403
403
  className: "border-t border-border-subtle p-4",
404
- children: /* @__PURE__ */ _("div", {
404
+ children: /* @__PURE__ */ x("div", {
405
405
  className: "max-w-xs ml-auto space-y-2",
406
406
  children: [
407
- /* @__PURE__ */ _("div", {
407
+ /* @__PURE__ */ x("div", {
408
408
  className: "flex items-center justify-between text-sm",
409
- children: [/* @__PURE__ */ g("span", {
409
+ children: [/* @__PURE__ */ b("span", {
410
410
  className: "text-text-secondary",
411
411
  children: C("billing.invoices.subtotal", "Subtotal")
412
- }), /* @__PURE__ */ g("span", {
412
+ }), /* @__PURE__ */ b("span", {
413
413
  className: "text-text-primary",
414
414
  children: c(j.subtotal, j.currency)
415
415
  })]
416
416
  }),
417
- /* @__PURE__ */ _("div", {
417
+ /* @__PURE__ */ x("div", {
418
418
  className: "flex items-center justify-between text-sm",
419
- children: [/* @__PURE__ */ g("span", {
419
+ children: [/* @__PURE__ */ b("span", {
420
420
  className: "text-text-secondary",
421
421
  children: C("billing.invoices.tax", "Tax")
422
- }), /* @__PURE__ */ g("span", {
422
+ }), /* @__PURE__ */ b("span", {
423
423
  className: "text-text-primary",
424
424
  children: c(j.tax, j.currency)
425
425
  })]
426
426
  }),
427
- /* @__PURE__ */ _("div", {
427
+ /* @__PURE__ */ x("div", {
428
428
  className: "flex items-center justify-between text-sm font-semibold border-t border-border-subtle pt-2",
429
- children: [/* @__PURE__ */ g("span", {
429
+ children: [/* @__PURE__ */ b("span", {
430
430
  className: "text-text-primary",
431
431
  children: C("billing.invoices.total", "Total")
432
- }), /* @__PURE__ */ g("span", {
432
+ }), /* @__PURE__ */ b("span", {
433
433
  className: "text-text-primary",
434
434
  children: c(j.total, j.currency)
435
435
  })]
436
436
  }),
437
- j.amountPaid > 0 && /* @__PURE__ */ _("div", {
437
+ j.amountPaid > 0 && /* @__PURE__ */ x("div", {
438
438
  className: "flex items-center justify-between text-sm",
439
- children: [/* @__PURE__ */ g("span", {
439
+ children: [/* @__PURE__ */ b("span", {
440
440
  className: "text-text-secondary",
441
441
  children: C("billing.invoices.amountPaid", "Amount Paid")
442
- }), /* @__PURE__ */ _("span", {
442
+ }), /* @__PURE__ */ x("span", {
443
443
  className: "text-status-success-text",
444
444
  children: ["-", c(j.amountPaid, j.currency)]
445
445
  })]
446
446
  }),
447
- Q > 0 && /* @__PURE__ */ _("div", {
447
+ Q > 0 && /* @__PURE__ */ x("div", {
448
448
  className: "flex items-center justify-between text-sm font-semibold border-t border-border-subtle pt-2",
449
- children: [/* @__PURE__ */ g("span", {
449
+ children: [/* @__PURE__ */ b("span", {
450
450
  className: "text-text-primary",
451
451
  children: C("billing.invoices.amountDue", "Amount Due")
452
- }), /* @__PURE__ */ g("span", {
452
+ }), /* @__PURE__ */ b("span", {
453
453
  className: "text-status-warning-text",
454
454
  children: c(Q, j.currency)
455
455
  })]
@@ -459,32 +459,32 @@ var S = () => {
459
459
  })
460
460
  ]
461
461
  }),
462
- j.subscription && /* @__PURE__ */ _("div", {
462
+ j.subscription && /* @__PURE__ */ x("div", {
463
463
  className: "border border-border-seam rounded-card bg-bg-surface shadow-elevation-1 overflow-hidden",
464
- children: [/* @__PURE__ */ g("div", {
464
+ children: [/* @__PURE__ */ b("div", {
465
465
  className: "p-6 border-b border-border-subtle bg-bg-sunken",
466
- children: /* @__PURE__ */ g("h2", {
466
+ children: /* @__PURE__ */ b("h2", {
467
467
  className: "text-lg font-semibold text-text-primary",
468
468
  children: C("billing.invoices.subscription", "Subscription")
469
469
  })
470
- }), /* @__PURE__ */ g("div", {
470
+ }), /* @__PURE__ */ b("div", {
471
471
  className: "p-6 space-y-4",
472
- children: /* @__PURE__ */ _("div", {
472
+ children: /* @__PURE__ */ x("div", {
473
473
  className: "flex items-center justify-between",
474
- children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
474
+ children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
475
475
  className: "font-medium text-text-primary",
476
476
  children: j.subscription.plan?.name || "Unknown Plan"
477
- }), /* @__PURE__ */ _("p", {
477
+ }), /* @__PURE__ */ x("p", {
478
478
  className: "text-sm text-text-secondary mt-0.5",
479
479
  children: [
480
480
  "Subscription ID:",
481
481
  " ",
482
- /* @__PURE__ */ g("span", {
482
+ /* @__PURE__ */ b("span", {
483
483
  className: "font-mono text-xs",
484
484
  children: j.subscription.id
485
485
  })
486
486
  ]
487
- })] }), /* @__PURE__ */ g("button", {
487
+ })] }), /* @__PURE__ */ b("button", {
488
488
  type: "button",
489
489
  onClick: () => T(f(`/subscriptions/${j.subscription.id}`, A)),
490
490
  className: "px-3 py-1.5 text-sm font-medium text-text-primary hover:bg-bg-sunken rounded-button transition-colors",
@@ -493,58 +493,58 @@ var S = () => {
493
493
  })
494
494
  })]
495
495
  }),
496
- j.payment && /* @__PURE__ */ _("div", {
496
+ j.payment && /* @__PURE__ */ x("div", {
497
497
  className: "border border-border-seam rounded-card bg-bg-surface shadow-elevation-1 overflow-hidden",
498
- children: [/* @__PURE__ */ g("div", {
498
+ children: [/* @__PURE__ */ b("div", {
499
499
  className: "p-6 border-b border-border-subtle bg-bg-sunken",
500
- children: /* @__PURE__ */ g("h2", {
500
+ children: /* @__PURE__ */ b("h2", {
501
501
  className: "text-lg font-semibold text-text-primary",
502
502
  children: C("billing.invoices.payment", "Payment")
503
503
  })
504
- }), /* @__PURE__ */ g("div", {
504
+ }), /* @__PURE__ */ b("div", {
505
505
  className: "p-6",
506
- children: /* @__PURE__ */ _("div", {
506
+ children: /* @__PURE__ */ x("div", {
507
507
  className: "grid grid-cols-2 gap-4",
508
508
  children: [
509
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
509
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
510
510
  className: "text-sm text-text-secondary",
511
511
  children: "Payment ID"
512
- }), /* @__PURE__ */ g("p", {
512
+ }), /* @__PURE__ */ b("p", {
513
513
  className: "font-mono text-sm text-text-primary mt-0.5 break-all",
514
514
  children: j.payment.id
515
515
  })] }),
516
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
516
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
517
517
  className: "text-sm text-text-secondary",
518
518
  children: "Amount"
519
- }), /* @__PURE__ */ g("p", {
519
+ }), /* @__PURE__ */ b("p", {
520
520
  className: "text-sm text-text-primary mt-0.5",
521
521
  children: c(j.payment.amount, j.payment.currency)
522
522
  })] }),
523
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
523
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
524
524
  className: "text-sm text-text-secondary",
525
525
  children: "Status"
526
- }), /* @__PURE__ */ g("p", {
526
+ }), /* @__PURE__ */ b("p", {
527
527
  className: "text-sm text-text-primary mt-0.5 capitalize",
528
528
  children: j.payment.status.toLowerCase()
529
529
  })] }),
530
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
530
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
531
531
  className: "text-sm text-text-secondary",
532
532
  children: "Method"
533
- }), /* @__PURE__ */ g("p", {
533
+ }), /* @__PURE__ */ b("p", {
534
534
  className: "text-sm text-text-primary mt-0.5 capitalize",
535
535
  children: j.payment.method.toLowerCase().replace(/_/g, " ")
536
536
  })] }),
537
- j.payment.provider && /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
537
+ j.payment.provider && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
538
538
  className: "text-sm text-text-secondary",
539
539
  children: "Provider"
540
- }), /* @__PURE__ */ g("p", {
540
+ }), /* @__PURE__ */ b("p", {
541
541
  className: "text-sm text-text-primary mt-0.5 capitalize",
542
542
  children: j.payment.provider
543
543
  })] }),
544
- j.payment.paidAt && /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
544
+ j.payment.paidAt && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
545
545
  className: "text-sm text-text-secondary",
546
546
  children: "Paid At"
547
- }), /* @__PURE__ */ g("p", {
547
+ }), /* @__PURE__ */ b("p", {
548
548
  className: "text-sm text-text-primary mt-0.5",
549
549
  children: l(j.payment.paidAt, "short")
550
550
  })] })
@@ -553,139 +553,139 @@ var S = () => {
553
553
  })]
554
554
  })
555
555
  ]
556
- }), /* @__PURE__ */ _("div", {
556
+ }), /* @__PURE__ */ x("div", {
557
557
  className: "space-y-6",
558
558
  children: [
559
- /* @__PURE__ */ g(b, {
559
+ /* @__PURE__ */ b(g, {
560
560
  storageKey: "billing-invoice-detail",
561
561
  steps: oe
562
562
  }),
563
- /* @__PURE__ */ _("div", {
563
+ /* @__PURE__ */ x("div", {
564
564
  className: "border border-border-seam rounded-card bg-bg-surface shadow-elevation-1 overflow-hidden",
565
- children: [/* @__PURE__ */ g("div", {
565
+ children: [/* @__PURE__ */ b("div", {
566
566
  className: "p-6 border-b border-border-subtle bg-bg-sunken",
567
- children: /* @__PURE__ */ g("h2", {
567
+ children: /* @__PURE__ */ b("h2", {
568
568
  className: "text-lg font-semibold text-text-primary",
569
569
  children: C("billing.invoices.details", "Details")
570
570
  })
571
- }), /* @__PURE__ */ _("div", {
571
+ }), /* @__PURE__ */ x("div", {
572
572
  className: "p-6 space-y-4",
573
573
  children: [
574
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
574
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
575
575
  className: "text-sm text-text-secondary",
576
576
  children: "Invoice ID"
577
- }), /* @__PURE__ */ g("p", {
577
+ }), /* @__PURE__ */ b("p", {
578
578
  className: "font-mono text-sm text-text-primary mt-0.5 break-all",
579
579
  children: j.id
580
580
  })] }),
581
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
581
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
582
582
  className: "text-sm text-text-secondary",
583
583
  children: "Invoice Number"
584
- }), /* @__PURE__ */ g("p", {
584
+ }), /* @__PURE__ */ b("p", {
585
585
  className: "text-sm text-text-primary mt-0.5",
586
586
  children: u(j.invoiceNumber)
587
587
  })] }),
588
- j.itemDescription && /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
588
+ j.itemDescription && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
589
589
  className: "text-sm text-text-secondary",
590
590
  children: "Description"
591
- }), /* @__PURE__ */ g("p", {
591
+ }), /* @__PURE__ */ b("p", {
592
592
  className: "text-sm text-text-primary mt-0.5",
593
593
  children: j.itemDescription
594
594
  })] }),
595
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
595
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
596
596
  className: "text-sm text-text-secondary",
597
597
  children: "Status"
598
- }), /* @__PURE__ */ g("span", {
598
+ }), /* @__PURE__ */ b("span", {
599
599
  className: `inline-flex mt-0.5 px-2 py-1 text-xs font-medium rounded ${p(Y)}`,
600
600
  children: d(j.status)
601
601
  })] }),
602
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
602
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
603
603
  className: "text-sm text-text-secondary",
604
604
  children: "Currency"
605
- }), /* @__PURE__ */ g("p", {
605
+ }), /* @__PURE__ */ b("p", {
606
606
  className: "text-sm text-text-primary mt-0.5",
607
607
  children: j.currency
608
608
  })] }),
609
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
609
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
610
610
  className: "text-sm text-text-secondary",
611
611
  children: "Total"
612
- }), /* @__PURE__ */ g("p", {
612
+ }), /* @__PURE__ */ b("p", {
613
613
  className: "text-sm font-semibold text-text-primary mt-0.5",
614
614
  children: c(j.total, j.currency)
615
615
  })] }),
616
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
616
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
617
617
  className: "text-sm text-text-secondary",
618
618
  children: "Amount Paid"
619
- }), /* @__PURE__ */ g("p", {
619
+ }), /* @__PURE__ */ b("p", {
620
620
  className: "text-sm text-status-success-text mt-0.5",
621
621
  children: c(j.amountPaid, j.currency)
622
622
  })] }),
623
- Q > 0 && /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
623
+ Q > 0 && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
624
624
  className: "text-sm text-text-secondary",
625
625
  children: "Amount Due"
626
- }), /* @__PURE__ */ g("p", {
626
+ }), /* @__PURE__ */ b("p", {
627
627
  className: "text-sm font-semibold text-status-warning-text mt-0.5",
628
628
  children: c(Q, j.currency)
629
629
  })] })
630
630
  ]
631
631
  })]
632
632
  }),
633
- /* @__PURE__ */ _("div", {
633
+ /* @__PURE__ */ x("div", {
634
634
  className: "border border-border-seam rounded-card bg-bg-surface shadow-elevation-1 overflow-hidden",
635
- children: [/* @__PURE__ */ g("div", {
635
+ children: [/* @__PURE__ */ b("div", {
636
636
  className: "p-6 border-b border-border-subtle bg-bg-sunken",
637
- children: /* @__PURE__ */ g("h2", {
637
+ children: /* @__PURE__ */ b("h2", {
638
638
  className: "text-lg font-semibold text-text-primary",
639
639
  children: C("billing.invoices.dates", "Dates")
640
640
  })
641
- }), /* @__PURE__ */ _("div", {
641
+ }), /* @__PURE__ */ x("div", {
642
642
  className: "p-6 space-y-4",
643
643
  children: [
644
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
644
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
645
645
  className: "text-sm text-text-secondary",
646
646
  children: "Created"
647
- }), /* @__PURE__ */ g("p", {
647
+ }), /* @__PURE__ */ b("p", {
648
648
  className: "text-sm text-text-primary mt-0.5",
649
649
  children: l(j.createdAt)
650
650
  })] }),
651
- j.dueDate && /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
651
+ j.dueDate && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
652
652
  className: "text-sm text-text-secondary",
653
653
  children: "Due Date"
654
- }), /* @__PURE__ */ g("p", {
654
+ }), /* @__PURE__ */ b("p", {
655
655
  className: "text-sm text-text-primary mt-0.5",
656
656
  children: l(j.dueDate)
657
657
  })] }),
658
- j.paidAt && /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
658
+ j.paidAt && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
659
659
  className: "text-sm text-text-secondary",
660
660
  children: "Paid At"
661
- }), /* @__PURE__ */ g("p", {
661
+ }), /* @__PURE__ */ b("p", {
662
662
  className: "text-sm text-text-primary mt-0.5",
663
663
  children: l(j.paidAt)
664
664
  })] }),
665
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
665
+ /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
666
666
  className: "text-sm text-text-secondary",
667
667
  children: "Last Updated"
668
- }), /* @__PURE__ */ g("p", {
668
+ }), /* @__PURE__ */ b("p", {
669
669
  className: "text-sm text-text-primary mt-0.5",
670
670
  children: l(j.updatedAt)
671
671
  })] })
672
672
  ]
673
673
  })]
674
674
  }),
675
- /* @__PURE__ */ _("div", {
675
+ /* @__PURE__ */ x("div", {
676
676
  className: "border border-border-seam rounded-card bg-bg-surface shadow-elevation-1 overflow-hidden",
677
- children: [/* @__PURE__ */ g("div", {
677
+ children: [/* @__PURE__ */ b("div", {
678
678
  className: "p-6 border-b border-border-subtle bg-bg-sunken",
679
- children: /* @__PURE__ */ g("h2", {
679
+ children: /* @__PURE__ */ b("h2", {
680
680
  className: "text-lg font-semibold text-text-primary",
681
681
  children: C("billing.invoices.organization", "Organization")
682
682
  })
683
- }), /* @__PURE__ */ g("div", {
683
+ }), /* @__PURE__ */ b("div", {
684
684
  className: "p-6 space-y-4",
685
- children: /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
685
+ children: /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
686
686
  className: "text-sm text-text-secondary",
687
687
  children: "Organization ID"
688
- }), /* @__PURE__ */ g("p", {
688
+ }), /* @__PURE__ */ b("p", {
689
689
  className: "font-mono text-sm text-text-primary mt-0.5 break-all",
690
690
  children: j.orgId
691
691
  })] })