@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
@@ -7,24 +7,24 @@ import "../../../shared/components/index.js";
7
7
  import { useQuotaTemplateMutations as i } from "../hooks/useQuotaTemplates.js";
8
8
  import { QuotaResetPeriod as a, QuotaType as o } from "../../../shared/types/graphql.js";
9
9
  import { useState as s } from "react";
10
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
11
- import { useI18n as u } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
12
- import { PagePurpose as d } from "@burdenoff/fe-libs/ui";
10
+ import { PagePurpose as c } from "@burdenoff/fe-libs/ui";
11
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
12
+ import { useI18n as d } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
13
13
  // src/billing/modules/quota/pages/QuotaTemplateCreatePage.tsx
14
14
  var f = () => {
15
- let { t: f } = u(), p = (e, t) => {
15
+ let { t: f } = d(), p = (e, t) => {
16
16
  let n = f(e);
17
17
  return n === e ? t : n;
18
18
  }, m = n(), h = r(), { createQuota: g, isCreating: _ } = i(), [v, y] = s(""), [b, x] = s(""), [S, C] = s(""), [w, T] = s("numeric"), [E, D] = s(""), [O, k] = s(""), [A, j] = s(o.PRODUCT_SPECIFIC), [M, N] = s(!1), [P, F] = s(a.NEVER), [I, L] = s(null), [R, z] = s(!1);
19
- return h.canManageQuotas ? /* @__PURE__ */ l("div", {
19
+ return h.canManageQuotas ? /* @__PURE__ */ u("div", {
20
20
  className: "space-y-6 p-6",
21
21
  children: [
22
- /* @__PURE__ */ c(t, {
22
+ /* @__PURE__ */ l(t, {
23
23
  title: "Create New Quota",
24
24
  description: "Set up a new quota template"
25
25
  }),
26
- /* @__PURE__ */ c(d, { children: "Define a reusable limit — its name, type (pooled or product-specific), unit and default value — that you can then attach to any number of plans and add-ons. Build the template once here instead of redefining the same limit on every plan." }),
27
- /* @__PURE__ */ l("form", {
26
+ /* @__PURE__ */ l(c, { children: "Define a reusable limit — its name, type (pooled or product-specific), unit and default value — that you can then attach to any number of plans and add-ons. Build the template once here instead of redefining the same limit on every plan." }),
27
+ /* @__PURE__ */ u("form", {
28
28
  onSubmit: async (e) => {
29
29
  if (e.preventDefault(), L(null), z(!1), !v.trim()) {
30
30
  L("Quota name is required");
@@ -61,38 +61,38 @@ var f = () => {
61
61
  },
62
62
  className: "max-w-2xl space-y-6",
63
63
  children: [
64
- I && /* @__PURE__ */ c("div", {
64
+ I && /* @__PURE__ */ l("div", {
65
65
  className: "p-4 bg-status-error-bg-subtle border border-border-subtle rounded-lg",
66
- children: /* @__PURE__ */ c("p", {
66
+ children: /* @__PURE__ */ l("p", {
67
67
  className: "text-sm text-status-error-text",
68
68
  children: I
69
69
  })
70
70
  }),
71
- R && /* @__PURE__ */ c("div", {
71
+ R && /* @__PURE__ */ l("div", {
72
72
  className: "p-4 bg-status-success-bg-subtle border border-border-subtle rounded-lg",
73
- children: /* @__PURE__ */ c("p", {
73
+ children: /* @__PURE__ */ l("p", {
74
74
  className: "text-sm text-status-success-text",
75
75
  children: "Quota created successfully! Redirecting…"
76
76
  })
77
77
  }),
78
- /* @__PURE__ */ l("div", {
78
+ /* @__PURE__ */ u("div", {
79
79
  className: "border border-border-seam rounded-card bg-bg-surface overflow-hidden shadow-[var(--shadow-elevation-1)]",
80
- children: [/* @__PURE__ */ c("div", {
80
+ children: [/* @__PURE__ */ l("div", {
81
81
  className: "p-4 border-b border-border-subtle bg-bg-sunken/30",
82
- children: /* @__PURE__ */ c("h2", {
82
+ children: /* @__PURE__ */ l("h2", {
83
83
  className: "font-semibold text-text-primary",
84
84
  children: "Basic Information"
85
85
  })
86
- }), /* @__PURE__ */ l("div", {
86
+ }), /* @__PURE__ */ u("div", {
87
87
  className: "p-4 space-y-4",
88
88
  children: [
89
- /* @__PURE__ */ l("div", { children: [
90
- /* @__PURE__ */ c("label", {
89
+ /* @__PURE__ */ u("div", { children: [
90
+ /* @__PURE__ */ l("label", {
91
91
  htmlFor: "name",
92
92
  className: "block text-sm font-medium text-text-primary mb-1",
93
93
  children: "Quota Key *"
94
94
  }),
95
- /* @__PURE__ */ c("input", {
95
+ /* @__PURE__ */ l("input", {
96
96
  id: "name",
97
97
  type: "text",
98
98
  value: v,
@@ -101,25 +101,25 @@ var f = () => {
101
101
  placeholder: "e.g., sessions-started, tunnels-created",
102
102
  required: !0
103
103
  }),
104
- /* @__PURE__ */ l("p", {
104
+ /* @__PURE__ */ u("p", {
105
105
  className: "text-xs text-text-muted mt-1",
106
106
  children: [
107
107
  "Internal machine key, must match the ",
108
- /* @__PURE__ */ c("code", { children: "quotaName" }),
108
+ /* @__PURE__ */ l("code", { children: "quotaName" }),
109
109
  " used in",
110
110
  " ",
111
- /* @__PURE__ */ c("code", { children: "@usage" }),
111
+ /* @__PURE__ */ l("code", { children: "@usage" }),
112
112
  " directives. Never shown to users."
113
113
  ]
114
114
  })
115
115
  ] }),
116
- /* @__PURE__ */ l("div", { children: [
117
- /* @__PURE__ */ c("label", {
116
+ /* @__PURE__ */ u("div", { children: [
117
+ /* @__PURE__ */ l("label", {
118
118
  htmlFor: "displayName",
119
119
  className: "block text-sm font-medium text-text-primary mb-1",
120
120
  children: "Display Name *"
121
121
  }),
122
- /* @__PURE__ */ c("input", {
122
+ /* @__PURE__ */ l("input", {
123
123
  id: "displayName",
124
124
  type: "text",
125
125
  value: b,
@@ -128,18 +128,18 @@ var f = () => {
128
128
  placeholder: "e.g., Tunnels, Session Starts, Webhooks",
129
129
  required: !0
130
130
  }),
131
- /* @__PURE__ */ c("p", {
131
+ /* @__PURE__ */ l("p", {
132
132
  className: "text-xs text-text-muted mt-1",
133
133
  children: "Human-readable name shown to users in billing and usage UI."
134
134
  })
135
135
  ] }),
136
- /* @__PURE__ */ l("div", { children: [
137
- /* @__PURE__ */ c("label", {
136
+ /* @__PURE__ */ u("div", { children: [
137
+ /* @__PURE__ */ l("label", {
138
138
  htmlFor: "description",
139
139
  className: "block text-sm font-medium text-text-primary mb-1",
140
140
  children: "Description"
141
141
  }),
142
- /* @__PURE__ */ c("textarea", {
142
+ /* @__PURE__ */ l("textarea", {
143
143
  id: "description",
144
144
  value: S,
145
145
  onChange: (e) => C(e.target.value),
@@ -147,79 +147,79 @@ var f = () => {
147
147
  className: "w-full px-3 py-2 border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none",
148
148
  placeholder: "e.g., Active tunnels created through VibeControls (slot freed on delete)"
149
149
  }),
150
- /* @__PURE__ */ c("p", {
150
+ /* @__PURE__ */ l("p", {
151
151
  className: "text-xs text-text-muted mt-1",
152
152
  children: "Short explanation shown in billing and usage detail views."
153
153
  })
154
154
  ] }),
155
- /* @__PURE__ */ l("div", { children: [
156
- /* @__PURE__ */ c("label", {
155
+ /* @__PURE__ */ u("div", { children: [
156
+ /* @__PURE__ */ l("label", {
157
157
  htmlFor: "quotaType",
158
158
  className: "block text-sm font-medium text-text-primary mb-1",
159
159
  children: "Quota Type *"
160
160
  }),
161
- /* @__PURE__ */ l("select", {
161
+ /* @__PURE__ */ u("select", {
162
162
  id: "quotaType",
163
163
  value: A,
164
164
  onChange: (e) => j(e.target.value),
165
165
  className: "w-full px-3 py-2 border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
166
- children: [/* @__PURE__ */ c("option", {
166
+ children: [/* @__PURE__ */ l("option", {
167
167
  value: o.PRODUCT_SPECIFIC,
168
168
  children: "Product Specific"
169
- }), /* @__PURE__ */ c("option", {
169
+ }), /* @__PURE__ */ l("option", {
170
170
  value: o.POOLED,
171
171
  children: "Pooled"
172
172
  })]
173
173
  }),
174
- /* @__PURE__ */ c("p", {
174
+ /* @__PURE__ */ l("p", {
175
175
  className: "text-xs text-text-muted mt-1",
176
176
  children: A === o.POOLED ? "Shared across all products" : "Specific to individual products"
177
177
  })
178
178
  ] }),
179
- /* @__PURE__ */ l("div", {
179
+ /* @__PURE__ */ u("div", {
180
180
  className: "flex items-center gap-3",
181
- children: [/* @__PURE__ */ c("input", {
181
+ children: [/* @__PURE__ */ l("input", {
182
182
  id: "reusable",
183
183
  type: "checkbox",
184
184
  checked: M,
185
185
  onChange: (e) => N(e.target.checked),
186
186
  className: "size-4 rounded border-border-subtle text-text-link focus:ring-[var(--color-focus-ring)]"
187
- }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
187
+ }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
188
188
  htmlFor: "reusable",
189
189
  className: "text-sm font-medium text-text-primary",
190
190
  children: "Reusable Quota"
191
- }), /* @__PURE__ */ c("p", {
191
+ }), /* @__PURE__ */ l("p", {
192
192
  className: "text-xs text-text-muted",
193
193
  children: "Enable for quotas like seats or bots that can be freed up"
194
194
  })] })]
195
195
  }),
196
- /* @__PURE__ */ l("div", { children: [
197
- /* @__PURE__ */ c("label", {
196
+ /* @__PURE__ */ u("div", { children: [
197
+ /* @__PURE__ */ l("label", {
198
198
  htmlFor: "resetPeriod",
199
199
  className: "block text-sm font-medium text-text-primary mb-1",
200
200
  children: "Reset Period"
201
201
  }),
202
- /* @__PURE__ */ l("select", {
202
+ /* @__PURE__ */ u("select", {
203
203
  id: "resetPeriod",
204
204
  value: P,
205
205
  onChange: (e) => F(e.target.value),
206
206
  className: "w-full px-3 py-2 border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
207
207
  children: [
208
- /* @__PURE__ */ c("option", {
208
+ /* @__PURE__ */ l("option", {
209
209
  value: a.NEVER,
210
210
  children: "Never (one-time limit)"
211
211
  }),
212
- /* @__PURE__ */ c("option", {
212
+ /* @__PURE__ */ l("option", {
213
213
  value: a.DAILY,
214
214
  children: "Daily (resets every day)"
215
215
  }),
216
- /* @__PURE__ */ c("option", {
216
+ /* @__PURE__ */ l("option", {
217
217
  value: a.MONTHLY,
218
218
  children: "Monthly (resets every month)"
219
219
  })
220
220
  ]
221
221
  }),
222
- /* @__PURE__ */ c("p", {
222
+ /* @__PURE__ */ l("p", {
223
223
  className: "text-xs text-text-muted mt-1",
224
224
  children: "How often the quota usage counter is reset to zero"
225
225
  })
@@ -227,52 +227,52 @@ var f = () => {
227
227
  ]
228
228
  })]
229
229
  }),
230
- /* @__PURE__ */ l("div", {
230
+ /* @__PURE__ */ u("div", {
231
231
  className: "border border-border-seam rounded-card bg-bg-surface overflow-hidden shadow-[var(--shadow-elevation-1)]",
232
- children: [/* @__PURE__ */ c("div", {
232
+ children: [/* @__PURE__ */ l("div", {
233
233
  className: "p-4 border-b border-border-subtle bg-bg-sunken/30",
234
- children: /* @__PURE__ */ c("h2", {
234
+ children: /* @__PURE__ */ l("h2", {
235
235
  className: "font-semibold text-text-primary",
236
236
  children: "Limits Configuration"
237
237
  })
238
- }), /* @__PURE__ */ l("div", {
238
+ }), /* @__PURE__ */ u("div", {
239
239
  className: "p-4 space-y-4",
240
240
  children: [
241
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
241
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
242
242
  htmlFor: "limitType",
243
243
  className: "block text-sm font-medium text-text-primary mb-1",
244
244
  children: "Limit Type *"
245
- }), /* @__PURE__ */ l("select", {
245
+ }), /* @__PURE__ */ u("select", {
246
246
  id: "limitType",
247
247
  value: w,
248
248
  onChange: (e) => T(e.target.value),
249
249
  className: "w-full px-3 py-2 border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
250
250
  children: [
251
- /* @__PURE__ */ c("option", {
251
+ /* @__PURE__ */ l("option", {
252
252
  value: "numeric",
253
253
  children: "Numeric (count)"
254
254
  }),
255
- /* @__PURE__ */ c("option", {
255
+ /* @__PURE__ */ l("option", {
256
256
  value: "storage",
257
257
  children: "Storage (bytes)"
258
258
  }),
259
- /* @__PURE__ */ c("option", {
259
+ /* @__PURE__ */ l("option", {
260
260
  value: "duration",
261
261
  children: "Duration (seconds)"
262
262
  }),
263
- /* @__PURE__ */ c("option", {
263
+ /* @__PURE__ */ l("option", {
264
264
  value: "percentage",
265
265
  children: "Percentage"
266
266
  })
267
267
  ]
268
268
  })] }),
269
- /* @__PURE__ */ l("div", { children: [
270
- /* @__PURE__ */ c("label", {
269
+ /* @__PURE__ */ u("div", { children: [
270
+ /* @__PURE__ */ l("label", {
271
271
  htmlFor: "limitValue",
272
272
  className: "block text-sm font-medium text-text-primary mb-1",
273
273
  children: "Limit Value *"
274
274
  }),
275
- /* @__PURE__ */ c("input", {
275
+ /* @__PURE__ */ l("input", {
276
276
  id: "limitValue",
277
277
  type: "number",
278
278
  min: "0",
@@ -282,18 +282,18 @@ var f = () => {
282
282
  placeholder: "1000",
283
283
  required: !0
284
284
  }),
285
- /* @__PURE__ */ c("p", {
285
+ /* @__PURE__ */ l("p", {
286
286
  className: "text-xs text-text-muted mt-1",
287
287
  children: "The maximum limit value for this quota"
288
288
  })
289
289
  ] }),
290
- /* @__PURE__ */ l("div", { children: [
291
- /* @__PURE__ */ c("label", {
290
+ /* @__PURE__ */ u("div", { children: [
291
+ /* @__PURE__ */ l("label", {
292
292
  htmlFor: "unit",
293
293
  className: "block text-sm font-medium text-text-primary mb-1",
294
294
  children: "Unit *"
295
295
  }),
296
- /* @__PURE__ */ c("input", {
296
+ /* @__PURE__ */ l("input", {
297
297
  id: "unit",
298
298
  type: "text",
299
299
  value: O,
@@ -302,7 +302,7 @@ var f = () => {
302
302
  placeholder: "e.g., bots, GB, MB, seats, workflow runs",
303
303
  required: !0
304
304
  }),
305
- /* @__PURE__ */ c("p", {
305
+ /* @__PURE__ */ l("p", {
306
306
  className: "text-xs text-text-muted mt-1",
307
307
  children: "The unit of measurement displayed with usage values (e.g., \"2/6 bots\")"
308
308
  })
@@ -310,14 +310,14 @@ var f = () => {
310
310
  ]
311
311
  })]
312
312
  }),
313
- /* @__PURE__ */ l("div", {
313
+ /* @__PURE__ */ u("div", {
314
314
  className: "flex items-center gap-3 pt-4",
315
- children: [/* @__PURE__ */ c("button", {
315
+ children: [/* @__PURE__ */ l("button", {
316
316
  type: "submit",
317
317
  disabled: _,
318
318
  className: "px-6 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",
319
319
  children: _ ? p("billing.quota.creating", "Creating...") : p("billing.quota.createQuota", "Create Quota")
320
- }), /* @__PURE__ */ c("button", {
320
+ }), /* @__PURE__ */ l("button", {
321
321
  type: "button",
322
322
  onClick: () => m("/quotas"),
323
323
  className: "px-6 py-2 text-sm font-medium border border-border-subtle text-text-primary rounded-button hover:bg-bg-sunken transition-colors",
@@ -327,7 +327,7 @@ var f = () => {
327
327
  ]
328
328
  })
329
329
  ]
330
- }) : /* @__PURE__ */ c(e, { message: "You don't have permission to create quotas." });
330
+ }) : /* @__PURE__ */ l(e, { message: "You don't have permission to create quotas." });
331
331
  };
332
332
  export { f as QuotaTemplateCreatePage };
333
333