@burdenoff/microfe-billing 2026.1113.2 → 2026.1113.4

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 (118) 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 +187 -164
  43. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js.map +1 -1
  44. package/dist/billing/modules/credits/pages/CreditsPage.js +67 -67
  45. package/dist/billing/modules/dashboard/pages/OverviewPage.js +594 -442
  46. package/dist/billing/modules/dashboard/pages/OverviewPage.js.map +1 -1
  47. package/dist/billing/modules/dashboard/utils/overviewSummary.d.ts +46 -0
  48. package/dist/billing/modules/dashboard/utils/overviewSummary.js +37 -0
  49. package/dist/billing/modules/dashboard/utils/overviewSummary.js.map +1 -0
  50. package/dist/billing/modules/discounts/pages/DiscountsListPage.js +199 -199
  51. package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
  52. package/dist/billing/modules/earnings/components/PayoutDestinationList.d.ts +15 -0
  53. package/dist/billing/modules/earnings/components/PayoutDestinationList.js +66 -0
  54. package/dist/billing/modules/earnings/components/PayoutDestinationList.js.map +1 -0
  55. package/dist/billing/modules/earnings/components/PayoutErrorNotice.d.ts +7 -0
  56. package/dist/billing/modules/earnings/components/PayoutErrorNotice.js +19 -0
  57. package/dist/billing/modules/earnings/components/PayoutErrorNotice.js.map +1 -0
  58. package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.js +64 -64
  59. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js +122 -122
  60. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js.map +1 -1
  61. package/dist/billing/modules/earnings/pages/EarningsPage.js +123 -110
  62. package/dist/billing/modules/earnings/pages/EarningsPage.js.map +1 -1
  63. package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +178 -178
  64. package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
  65. package/dist/billing/modules/earnings/pages/PayoutsPage.js +215 -157
  66. package/dist/billing/modules/earnings/pages/PayoutsPage.js.map +1 -1
  67. package/dist/billing/modules/earnings/utils/payoutDestination.d.ts +20 -0
  68. package/dist/billing/modules/earnings/utils/payoutDestination.js +27 -0
  69. package/dist/billing/modules/earnings/utils/payoutDestination.js.map +1 -0
  70. package/dist/billing/modules/earnings/utils/plainPayoutError.d.ts +10 -0
  71. package/dist/billing/modules/earnings/utils/plainPayoutError.js +50 -0
  72. package/dist/billing/modules/earnings/utils/plainPayoutError.js.map +1 -0
  73. package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +54 -54
  74. package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js +94 -94
  75. package/dist/billing/modules/plans/pages/PlanCreatePage.js +73 -73
  76. package/dist/billing/modules/plans/pages/PlanDetailPage.js +96 -96
  77. package/dist/billing/modules/plans/pages/PlanEditPage.js +16 -16
  78. package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
  79. package/dist/billing/modules/plans/pages/PlansBrowsePage.js +100 -100
  80. package/dist/billing/modules/plans/pages/PlansListPage.js +88 -88
  81. package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +60 -60
  82. package/dist/billing/modules/promotions/pages/PromotionsListPage.js +37 -37
  83. package/dist/billing/modules/quota/pages/QuotaAssignFreePage.js +62 -62
  84. package/dist/billing/modules/quota/pages/QuotaPage.js +1 -1
  85. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +69 -69
  86. package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js +76 -76
  87. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +80 -80
  88. package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js +95 -95
  89. package/dist/billing/modules/settings/pages/SettingsPage.js +134 -134
  90. package/dist/billing/modules/settings/pages/SettingsPage.js.map +1 -1
  91. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js +62 -62
  92. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js.map +1 -1
  93. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js +36 -36
  94. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js +534 -410
  95. package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js.map +1 -1
  96. package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js +111 -111
  97. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js +166 -160
  98. package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js.map +1 -1
  99. package/dist/billing/modules/subscriptions/utils/subscriptionDetailView.d.ts +30 -0
  100. package/dist/billing/modules/subscriptions/utils/subscriptionDetailView.js +20 -0
  101. package/dist/billing/modules/subscriptions/utils/subscriptionDetailView.js.map +1 -0
  102. package/dist/billing/modules/subscriptions/utils/upgradeAccess.d.ts +10 -0
  103. package/dist/billing/modules/subscriptions/utils/upgradeAccess.js +7 -0
  104. package/dist/billing/modules/subscriptions/utils/upgradeAccess.js.map +1 -0
  105. package/dist/billing/modules/usage/pages/UsagePage.js +722 -591
  106. package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
  107. package/dist/billing/modules/usage/utils/usageHealth.d.ts +63 -0
  108. package/dist/billing/modules/usage/utils/usageHealth.js +43 -0
  109. package/dist/billing/modules/usage/utils/usageHealth.js.map +1 -0
  110. package/dist/billing/shared/components/EmptyState.js +3 -3
  111. package/dist/billing/shared/components/MoneyActionDialog.js +12 -12
  112. package/dist/billing/shared/ui/MetricCard.js +13 -13
  113. package/dist/billing/shared/utils/format.js +16 -4
  114. package/dist/billing/shared/utils/format.js.map +1 -1
  115. package/dist/billing/shared/utils/index.js +8 -8
  116. package/dist/generated/global-operations.js +294 -286
  117. package/dist/generated/global-operations.js.map +1 -1
  118. package/package.json +2 -2
@@ -10,9 +10,9 @@ import "../../../shared/components/index.js";
10
10
  import "../../../shared/utils/index.js";
11
11
  import { fetchAdminDeveloperRevenueOrgs as c } from "../api.js";
12
12
  import { useCallback as l, useEffect as u, useMemo as d, useState as f } from "react";
13
- import { Building2 as p, DollarSign as m, Loader2 as h, Receipt as g, Search as _, Wallet as v } from "lucide-react";
14
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
15
- import { PagePurpose as S } from "@burdenoff/fe-libs/ui";
13
+ import { PagePurpose as p } from "@burdenoff/fe-libs/ui";
14
+ import { Building2 as m, DollarSign as h, Loader2 as g, Receipt as _, Search as v, Wallet as y } from "lucide-react";
15
+ import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
16
16
  // src/billing/modules/earnings/pages/DeveloperRevenueAdminPage.tsx
17
17
  function C({ orgs: e }) {
18
18
  let t = d(() => e.reduce((e, t) => ({
@@ -26,61 +26,61 @@ function C({ orgs: e }) {
26
26
  pendingBalance: 0,
27
27
  totalPayouts: 0
28
28
  }), [e]);
29
- return /* @__PURE__ */ x("div", {
29
+ return /* @__PURE__ */ S("div", {
30
30
  className: "grid gap-3 md:grid-cols-2 xl:grid-cols-4",
31
31
  children: [
32
- /* @__PURE__ */ x("div", {
32
+ /* @__PURE__ */ S("div", {
33
33
  className: "rounded-card border border-border-seam bg-bg-surface p-4 shadow-[var(--shadow-elevation-1)]",
34
- children: [/* @__PURE__ */ b("div", {
34
+ children: [/* @__PURE__ */ x("div", {
35
35
  className: "text-xs uppercase tracking-wide text-text-muted",
36
36
  children: "Gross revenue"
37
- }), /* @__PURE__ */ x("div", {
37
+ }), /* @__PURE__ */ S("div", {
38
38
  className: "mt-1 flex items-center gap-2 text-lg font-semibold text-text-primary",
39
- children: [/* @__PURE__ */ b(m, { className: "size-4 text-text-muted" }), a(t.totalRevenue, "USD")]
39
+ children: [/* @__PURE__ */ x(h, { className: "size-4 text-text-muted" }), a(t.totalRevenue, "USD")]
40
40
  })]
41
41
  }),
42
- /* @__PURE__ */ x("div", {
42
+ /* @__PURE__ */ S("div", {
43
43
  className: "rounded-card border border-border-seam bg-bg-surface p-4 shadow-[var(--shadow-elevation-1)]",
44
- children: [/* @__PURE__ */ b("div", {
44
+ children: [/* @__PURE__ */ x("div", {
45
45
  className: "text-xs uppercase tracking-wide text-text-muted",
46
46
  children: "Platform fees"
47
- }), /* @__PURE__ */ x("div", {
47
+ }), /* @__PURE__ */ S("div", {
48
48
  className: "mt-1 flex items-center gap-2 text-lg font-semibold text-text-primary",
49
- children: [/* @__PURE__ */ b(g, { className: "size-4 text-text-muted" }), a(t.totalPlatformFees, "USD")]
49
+ children: [/* @__PURE__ */ x(_, { className: "size-4 text-text-muted" }), a(t.totalPlatformFees, "USD")]
50
50
  })]
51
51
  }),
52
- /* @__PURE__ */ x("div", {
52
+ /* @__PURE__ */ S("div", {
53
53
  className: "rounded-card border border-border-seam bg-bg-surface p-4 shadow-[var(--shadow-elevation-1)]",
54
- children: [/* @__PURE__ */ b("div", {
54
+ children: [/* @__PURE__ */ x("div", {
55
55
  className: "text-xs uppercase tracking-wide text-text-muted",
56
56
  children: "Pending earned credits"
57
- }), /* @__PURE__ */ x("div", {
57
+ }), /* @__PURE__ */ S("div", {
58
58
  className: "mt-1 flex items-center gap-2 text-lg font-semibold text-text-primary",
59
- children: [/* @__PURE__ */ b(v, { className: "size-4 text-text-muted" }), a(t.pendingBalance, "USD")]
59
+ children: [/* @__PURE__ */ x(y, { className: "size-4 text-text-muted" }), a(t.pendingBalance, "USD")]
60
60
  })]
61
61
  }),
62
- /* @__PURE__ */ x("div", {
62
+ /* @__PURE__ */ S("div", {
63
63
  className: "rounded-card border border-border-seam bg-bg-surface p-4 shadow-[var(--shadow-elevation-1)]",
64
- children: [/* @__PURE__ */ b("div", {
64
+ children: [/* @__PURE__ */ x("div", {
65
65
  className: "text-xs uppercase tracking-wide text-text-muted",
66
66
  children: "Already withdrawn"
67
- }), /* @__PURE__ */ x("div", {
67
+ }), /* @__PURE__ */ S("div", {
68
68
  className: "mt-1 flex items-center gap-2 text-lg font-semibold text-text-primary",
69
- children: [/* @__PURE__ */ b(p, { className: "size-4 text-text-muted" }), a(t.totalPayouts, "USD")]
69
+ children: [/* @__PURE__ */ x(m, { className: "size-4 text-text-muted" }), a(t.totalPayouts, "USD")]
70
70
  })]
71
71
  })
72
72
  ]
73
73
  });
74
74
  }
75
75
  var w = () => {
76
- let p = s(), { apiGatewayUrl: m, authToken: g, orgId: v } = e(), w = i(), [T, E] = f([]), [D, O] = f(!0), [k, A] = f(null), [j, M] = f(""), N = d(() => ({
77
- apiGatewayUrl: m,
78
- authToken: g,
79
- orgId: v
76
+ let m = s(), { apiGatewayUrl: h, authToken: _, orgId: y } = e(), w = i(), [T, E] = f([]), [D, O] = f(!0), [k, A] = f(null), [j, M] = f(""), N = d(() => ({
77
+ apiGatewayUrl: h,
78
+ authToken: _,
79
+ orgId: y
80
80
  }), [
81
- m,
82
- g,
83
- v
81
+ h,
82
+ _,
83
+ y
84
84
  ]), P = l(async () => {
85
85
  O(!0), A(null);
86
86
  try {
@@ -93,47 +93,47 @@ var w = () => {
93
93
  }
94
94
  }, [N]);
95
95
  if (u(() => {
96
- p.isBillingAdmin && P();
97
- }, [P, p.isBillingAdmin]), !p.isBillingAdmin) return /* @__PURE__ */ b(t, { message: "You don't have permission to view developer revenue." });
98
- if (k && o(k)) return /* @__PURE__ */ b(r, {
96
+ m.isBillingAdmin && P();
97
+ }, [P, m.isBillingAdmin]), !m.isBillingAdmin) return /* @__PURE__ */ x(t, { message: "You don't have permission to view developer revenue." });
98
+ if (k && o(k)) return /* @__PURE__ */ x(r, {
99
99
  title: "Developer revenue unavailable",
100
100
  message: k.message,
101
101
  showRetry: !0,
102
102
  onRetry: () => void P()
103
103
  });
104
104
  let F = j.trim().toLowerCase(), I = F ? T.filter((e) => e.name.toLowerCase().includes(F) || e.slug.toLowerCase().includes(F) || e.id.toLowerCase() === F) : T;
105
- return /* @__PURE__ */ x("div", {
105
+ return /* @__PURE__ */ S("div", {
106
106
  className: "space-y-6 p-6",
107
107
  children: [
108
- /* @__PURE__ */ b(n, {
108
+ /* @__PURE__ */ x(n, {
109
109
  title: "Developer revenue",
110
110
  description: "See store-generated revenue across developer organizations and confirm that the earnings are flowing into linked billing accounts as earned credits.",
111
- actions: /* @__PURE__ */ b("button", {
111
+ actions: /* @__PURE__ */ x("button", {
112
112
  type: "button",
113
113
  onClick: () => w("/payouts"),
114
114
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text",
115
115
  children: "Open billing withdrawal queue"
116
116
  })
117
117
  }),
118
- /* @__PURE__ */ b(S, { children: "Developer portal revenue does not pay out directly from this page. Each Store sale is credited into the developer organization's linked billing account as earned credits. Developers then withdraw those credits later using the billing withdrawal flow and their own payout methods. Open an organization to see its full revenue history, current credit balance, and withdrawal status." }),
119
- D ? /* @__PURE__ */ b("div", {
118
+ /* @__PURE__ */ x(p, { children: "Developer portal revenue does not pay out directly from this page. Each Store sale is credited into the developer organization's linked billing account as earned credits. Developers then withdraw those credits later using the billing withdrawal flow and their own payout methods. Open an organization to see its full revenue history, current credit balance, and withdrawal status." }),
119
+ D ? /* @__PURE__ */ x("div", {
120
120
  className: "flex items-center justify-center py-16 text-text-secondary",
121
- children: /* @__PURE__ */ b(h, { className: "size-8 animate-spin" })
122
- }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(C, { orgs: T }), /* @__PURE__ */ x("div", {
121
+ children: /* @__PURE__ */ x(g, { className: "size-8 animate-spin" })
122
+ }) : /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(C, { orgs: T }), /* @__PURE__ */ S("div", {
123
123
  className: "overflow-hidden rounded-card border border-border-seam bg-bg-surface shadow-[var(--shadow-elevation-1)]",
124
- children: [/* @__PURE__ */ b("div", {
124
+ children: [/* @__PURE__ */ x("div", {
125
125
  className: "border-b border-border-seam px-5 py-4",
126
- children: /* @__PURE__ */ x("div", {
126
+ children: /* @__PURE__ */ S("div", {
127
127
  className: "flex flex-wrap items-center justify-between gap-3",
128
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h2", {
128
+ children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("h2", {
129
129
  className: "text-base font-semibold text-text-primary",
130
130
  children: "Organizations"
131
- }), /* @__PURE__ */ b("p", {
131
+ }), /* @__PURE__ */ x("p", {
132
132
  className: "mt-1 text-sm text-text-muted",
133
133
  children: "Click a row to open its full revenue analysis — balance, monthly trend, and withdrawal history."
134
- })] }), /* @__PURE__ */ x("div", {
134
+ })] }), /* @__PURE__ */ S("div", {
135
135
  className: "relative w-full max-w-xs",
136
- children: [/* @__PURE__ */ b(_, { className: "pointer-events-none absolute left-3 top-1/2 size-4 -translate-y-1/2 text-text-muted" }), /* @__PURE__ */ b("input", {
136
+ children: [/* @__PURE__ */ x(v, { className: "pointer-events-none absolute left-3 top-1/2 size-4 -translate-y-1/2 text-text-muted" }), /* @__PURE__ */ x("input", {
137
137
  type: "text",
138
138
  value: j,
139
139
  onChange: (e) => M(e.target.value),
@@ -142,79 +142,79 @@ var w = () => {
142
142
  })]
143
143
  })]
144
144
  })
145
- }), T.length === 0 ? /* @__PURE__ */ b("div", {
145
+ }), T.length === 0 ? /* @__PURE__ */ x("div", {
146
146
  className: "px-5 py-12 text-center text-sm text-text-muted",
147
147
  children: "No developer revenue has been recorded yet."
148
- }) : I.length === 0 ? /* @__PURE__ */ x("div", {
148
+ }) : I.length === 0 ? /* @__PURE__ */ S("div", {
149
149
  className: "px-5 py-12 text-center text-sm text-text-muted",
150
150
  children: [
151
151
  "No organization matches \"",
152
152
  j,
153
153
  "\"."
154
154
  ]
155
- }) : /* @__PURE__ */ b("div", {
155
+ }) : /* @__PURE__ */ x("div", {
156
156
  className: "overflow-x-auto",
157
- children: /* @__PURE__ */ x("table", {
157
+ children: /* @__PURE__ */ S("table", {
158
158
  className: "min-w-full text-sm",
159
- children: [/* @__PURE__ */ b("thead", {
159
+ children: [/* @__PURE__ */ x("thead", {
160
160
  className: "bg-bg-sunken/60 text-left text-xs uppercase tracking-wide text-text-muted",
161
- children: /* @__PURE__ */ x("tr", { children: [
162
- /* @__PURE__ */ b("th", {
161
+ children: /* @__PURE__ */ S("tr", { children: [
162
+ /* @__PURE__ */ x("th", {
163
163
  className: "px-4 py-3",
164
164
  children: "Organization"
165
165
  }),
166
- /* @__PURE__ */ b("th", {
166
+ /* @__PURE__ */ x("th", {
167
167
  className: "px-4 py-3",
168
168
  children: "Billing linked"
169
169
  }),
170
- /* @__PURE__ */ b("th", {
170
+ /* @__PURE__ */ x("th", {
171
171
  className: "px-4 py-3",
172
172
  children: "Revenue"
173
173
  }),
174
- /* @__PURE__ */ b("th", {
174
+ /* @__PURE__ */ x("th", {
175
175
  className: "px-4 py-3",
176
176
  children: "Platform fee"
177
177
  }),
178
- /* @__PURE__ */ b("th", {
178
+ /* @__PURE__ */ x("th", {
179
179
  className: "px-4 py-3",
180
180
  children: "Earned credits pending withdrawal"
181
181
  }),
182
- /* @__PURE__ */ b("th", {
182
+ /* @__PURE__ */ x("th", {
183
183
  className: "px-4 py-3",
184
184
  children: "Already withdrawn"
185
185
  })
186
186
  ] })
187
- }), /* @__PURE__ */ b("tbody", { children: [...I].sort((e, t) => t.pendingBalance - e.pendingBalance).map((e) => /* @__PURE__ */ x("tr", {
187
+ }), /* @__PURE__ */ x("tbody", { children: [...I].sort((e, t) => t.pendingBalance - e.pendingBalance).map((e) => /* @__PURE__ */ S("tr", {
188
188
  className: "cursor-pointer border-t border-border-seam transition-colors hover:bg-bg-sunken/30",
189
189
  onClick: () => w(`/developer-revenue/${e.id}`),
190
190
  children: [
191
- /* @__PURE__ */ x("td", {
191
+ /* @__PURE__ */ S("td", {
192
192
  className: "px-4 py-3",
193
- children: [/* @__PURE__ */ b("div", {
193
+ children: [/* @__PURE__ */ x("div", {
194
194
  className: "font-medium text-text-primary",
195
195
  children: e.name
196
- }), /* @__PURE__ */ x("div", {
196
+ }), /* @__PURE__ */ S("div", {
197
197
  className: "text-xs text-text-muted",
198
198
  children: ["/", e.slug]
199
199
  })]
200
200
  }),
201
- /* @__PURE__ */ b("td", {
201
+ /* @__PURE__ */ x("td", {
202
202
  className: "px-4 py-3 text-text-secondary",
203
203
  children: e.billingAccountId ? "Yes" : "No"
204
204
  }),
205
- /* @__PURE__ */ b("td", {
205
+ /* @__PURE__ */ x("td", {
206
206
  className: "px-4 py-3 text-text-primary",
207
207
  children: a(e.totalRevenue, "USD")
208
208
  }),
209
- /* @__PURE__ */ b("td", {
209
+ /* @__PURE__ */ x("td", {
210
210
  className: "px-4 py-3 text-text-secondary",
211
211
  children: a(e.totalPlatformFees, "USD")
212
212
  }),
213
- /* @__PURE__ */ b("td", {
213
+ /* @__PURE__ */ x("td", {
214
214
  className: "px-4 py-3 font-medium text-status-warning-text",
215
215
  children: a(e.pendingBalance, "USD")
216
216
  }),
217
- /* @__PURE__ */ b("td", {
217
+ /* @__PURE__ */ x("td", {
218
218
  className: "px-4 py-3 text-text-secondary",
219
219
  children: a(e.totalPayouts, "USD")
220
220
  })