@burdenoff/microfe-billing 2026.1116.1 → 2026.1119.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.
Files changed (62) hide show
  1. package/dist/billing/modules/addons/pages/AddonCreatePage.js +143 -143
  2. package/dist/billing/modules/addons/pages/AddonCreatePage.js.map +1 -1
  3. package/dist/billing/modules/addons/pages/AddonEditPage.js +170 -170
  4. package/dist/billing/modules/addons/pages/AddonEditPage.js.map +1 -1
  5. package/dist/billing/modules/analytics/pages/AnalyticsPage.js +148 -148
  6. package/dist/billing/modules/analytics/pages/AnalyticsPage.js.map +1 -1
  7. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.js +115 -115
  8. package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.js.map +1 -1
  9. package/dist/billing/modules/billing/pages/InvoicesListPage.js +136 -136
  10. package/dist/billing/modules/billing/pages/InvoicesListPage.js.map +1 -1
  11. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.js +129 -129
  12. package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.js.map +1 -1
  13. package/dist/billing/modules/billing/pages/RefundsPage.js +325 -325
  14. package/dist/billing/modules/billing/pages/RefundsPage.js.map +1 -1
  15. package/dist/billing/modules/billing/pages/UserRefundsPage.js +149 -149
  16. package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -1
  17. package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js +99 -98
  18. package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js.map +1 -1
  19. package/dist/billing/modules/checkout/components/StoreShippingSection.js +125 -124
  20. package/dist/billing/modules/checkout/components/StoreShippingSection.js.map +1 -1
  21. package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js +61 -60
  22. package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js.map +1 -1
  23. package/dist/billing/modules/coupons/pages/CouponsListPage.js +177 -177
  24. package/dist/billing/modules/coupons/pages/CouponsListPage.js.map +1 -1
  25. package/dist/billing/modules/coupons/pages/CreateCouponPage.js +231 -231
  26. package/dist/billing/modules/coupons/pages/CreateCouponPage.js.map +1 -1
  27. package/dist/billing/modules/coupons/pages/EditCouponPage.js +139 -139
  28. package/dist/billing/modules/coupons/pages/EditCouponPage.js.map +1 -1
  29. package/dist/billing/modules/credits/pages/AdminCreditsPage.js +54 -54
  30. package/dist/billing/modules/credits/pages/AdminCreditsPage.js.map +1 -1
  31. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js +65 -65
  32. package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js.map +1 -1
  33. package/dist/billing/modules/credits/pages/CreditsPage.js +95 -95
  34. package/dist/billing/modules/credits/pages/CreditsPage.js.map +1 -1
  35. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js +232 -231
  36. package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js.map +1 -1
  37. package/dist/billing/modules/discounts/pages/DiscountsListPage.js +328 -328
  38. package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
  39. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js +57 -57
  40. package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js.map +1 -1
  41. package/dist/billing/modules/earnings/pages/EarningsPage.js +53 -53
  42. package/dist/billing/modules/earnings/pages/EarningsPage.js.map +1 -1
  43. package/dist/billing/modules/earnings/pages/PayoutsPage.js +100 -100
  44. package/dist/billing/modules/earnings/pages/PayoutsPage.js.map +1 -1
  45. package/dist/billing/modules/plans/pages/PlanCreatePage.js +150 -150
  46. package/dist/billing/modules/plans/pages/PlanCreatePage.js.map +1 -1
  47. package/dist/billing/modules/plans/pages/PlanEditPage.js +125 -125
  48. package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
  49. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +113 -113
  50. package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js.map +1 -1
  51. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +132 -132
  52. package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js.map +1 -1
  53. package/dist/billing/modules/settings/pages/SettingsPage.js +101 -101
  54. package/dist/billing/modules/settings/pages/SettingsPage.js.map +1 -1
  55. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js +125 -125
  56. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js.map +1 -1
  57. package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.js +51 -50
  58. package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.js.map +1 -1
  59. package/dist/billing/modules/usage/pages/UsagePage.js +107 -107
  60. package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
  61. package/dist/billing/shared/components/GeoPricingOverridesEditor.js +1 -0
  62. package/package.json +2 -2
@@ -5,17 +5,17 @@ import "../../../shared/components/index.js";
5
5
  import { formatCurrency as o, formatDate as s } from "../../../shared/utils/format.js";
6
6
  import { nativeImpact as c, nativeNotify as l } from "../../../../utils/nativeBridge.js";
7
7
  import { useMemo as ee, useState as u } from "react";
8
- import { IllustratedEmptyState as d, PagePurpose as f } from "@burdenoff/fe-libs/ui";
9
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
10
- import { useI18n as te } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
8
+ import { IllustratedEmptyState as d, PagePurpose as f, ThemedSelect as p } from "@burdenoff/fe-libs/ui";
9
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
10
+ import { useI18n as g } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
11
  // src/billing/modules/discounts/pages/DiscountsListPage.tsx
12
- function h(e) {
12
+ function _(e) {
13
13
  return e.validUntil ? new Date(e.validUntil) < /* @__PURE__ */ new Date() : !1;
14
14
  }
15
- function g(e) {
15
+ function v(e) {
16
16
  return e.type === "PERCENTAGE" ? `${e.value}%` : o(e.value, e.currency ?? "USD");
17
17
  }
18
- var _ = {
18
+ var y = {
19
19
  code: "",
20
20
  type: "PERCENTAGE",
21
21
  value: "",
@@ -23,106 +23,106 @@ var _ = {
23
23
  maxUses: "",
24
24
  validFrom: "",
25
25
  validUntil: ""
26
- }, v = () => {
27
- let { t: o } = te(), s = (e, t) => {
26
+ }, b = () => {
27
+ let { t: o } = g(), s = (e, t) => {
28
28
  let n = o(e);
29
29
  return n === e ? t : n;
30
- }, v = a(), { data: ne, loading: re, error: x, refetch: S } = r(), [C, { loading: w }] = t(), [T, { loading: E }] = i(), [D, { loading: O }] = n(), [k, A] = u(""), [j, M] = u({ kind: "closed" }), [N, P] = u(_), [F, I] = u({
30
+ }, b = a(), { data: C, loading: w, error: T, refetch: E } = r(), [te, { loading: D }] = t(), [O, { loading: k }] = i(), [A, { loading: j }] = n(), [M, ne] = u(""), [N, P] = u({ kind: "closed" }), [F, I] = u(y), [L, R] = u({
31
31
  maxUses: "",
32
32
  validUntil: ""
33
- }), [L, R] = u(null), [z, B] = u(/* @__PURE__ */ new Set()), [V, H] = u(!1), U = ne?.getDiscounts ?? [], W = U.filter((e) => !k || e.code.toLowerCase().includes(k.toLowerCase())), G = ee(() => W.filter((e) => z.has(e.id)), [W, z]), K = W.length > 0 && W.every((e) => z.has(e.id)), q = W.some((e) => z.has(e.id)) && !K;
34
- if (!v.canManageDiscounts) return /* @__PURE__ */ p(e, { message: "You don't have permission to manage discount codes." });
35
- let J = U.length, Y = U.filter((e) => !h(e)).length, ie = U.filter((e) => h(e)).length, X = () => {
36
- P(_), R(null), M({ kind: "create" });
33
+ }), [z, B] = u(null), [V, H] = u(/* @__PURE__ */ new Set()), [U, W] = u(!1), G = C?.getDiscounts ?? [], K = G.filter((e) => !M || e.code.toLowerCase().includes(M.toLowerCase())), q = ee(() => K.filter((e) => V.has(e.id)), [K, V]), J = K.length > 0 && K.every((e) => V.has(e.id)), Y = K.some((e) => V.has(e.id)) && !J;
34
+ if (!b.canManageDiscounts) return /* @__PURE__ */ m(e, { message: "You don't have permission to manage discount codes." });
35
+ let X = G.length, re = G.filter((e) => !_(e)).length, ie = G.filter((e) => _(e)).length, Z = () => {
36
+ I(y), B(null), P({ kind: "create" });
37
37
  }, ae = (e) => {
38
- I({
38
+ R({
39
39
  maxUses: e.maxUses == null ? "" : String(e.maxUses),
40
40
  validUntil: e.validUntil ? new Date(e.validUntil).toISOString().slice(0, 16) : ""
41
- }), R(null), M({
41
+ }), B(null), P({
42
42
  kind: "edit",
43
43
  discount: e
44
44
  });
45
45
  }, oe = (e) => {
46
- R(null), M({
46
+ B(null), P({
47
47
  kind: "delete",
48
48
  discount: e
49
49
  });
50
- }, Z = () => {
51
- M({ kind: "closed" }), R(null);
52
- }, Q = async (e) => {
53
- if (e.preventDefault(), R(null), !N.code.trim()) {
54
- R("Discount code is required.");
50
+ }, Q = () => {
51
+ P({ kind: "closed" }), B(null);
52
+ }, se = async (e) => {
53
+ if (e.preventDefault(), B(null), !F.code.trim()) {
54
+ B("Discount code is required.");
55
55
  return;
56
56
  }
57
- let t = Number(N.value);
58
- if (Number.isNaN(t) || t <= 0) R("Value must be a positive number.");
59
- else if (N.type === "PERCENTAGE" && t > 100) R("Percentage value cannot exceed 100.");
57
+ let t = Number(F.value);
58
+ if (Number.isNaN(t) || t <= 0) B("Value must be a positive number.");
59
+ else if (F.type === "PERCENTAGE" && t > 100) B("Percentage value cannot exceed 100.");
60
60
  else try {
61
- await C({ variables: {
62
- code: N.code.trim().toUpperCase(),
63
- type: N.type,
61
+ await te({ variables: {
62
+ code: F.code.trim().toUpperCase(),
63
+ type: F.type,
64
64
  value: t,
65
- currency: N.type === "FIXED" ? N.currency : null,
66
- maxUses: N.maxUses ? Number(N.maxUses) : null,
67
- validFrom: N.validFrom ? new Date(N.validFrom).toISOString() : null,
68
- validUntil: N.validUntil ? new Date(N.validUntil).toISOString() : null
69
- } }), await S(), Z();
65
+ currency: F.type === "FIXED" ? F.currency : null,
66
+ maxUses: F.maxUses ? Number(F.maxUses) : null,
67
+ validFrom: F.validFrom ? new Date(F.validFrom).toISOString() : null,
68
+ validUntil: F.validUntil ? new Date(F.validUntil).toISOString() : null
69
+ } }), await E(), Q();
70
70
  } catch (e) {
71
- R(e instanceof Error ? e.message : "Failed to create discount.");
71
+ B(e instanceof Error ? e.message : "Failed to create discount.");
72
72
  }
73
- }, se = async (e) => {
74
- if (e.preventDefault(), j.kind === "edit") {
75
- R(null);
73
+ }, ce = async (e) => {
74
+ if (e.preventDefault(), N.kind === "edit") {
75
+ B(null);
76
76
  try {
77
- await T({ variables: {
78
- id: j.discount.id,
79
- maxUses: F.maxUses ? Number(F.maxUses) : null,
80
- validUntil: F.validUntil ? new Date(F.validUntil).toISOString() : null
81
- } }), await S(), Z();
77
+ await O({ variables: {
78
+ id: N.discount.id,
79
+ maxUses: L.maxUses ? Number(L.maxUses) : null,
80
+ validUntil: L.validUntil ? new Date(L.validUntil).toISOString() : null
81
+ } }), await E(), Q();
82
82
  } catch (e) {
83
- R(e instanceof Error ? e.message : "Failed to update discount.");
83
+ B(e instanceof Error ? e.message : "Failed to update discount.");
84
84
  }
85
85
  }
86
- }, ce = async () => {
87
- if (j.kind === "delete") {
88
- R(null), c("medium");
86
+ }, le = async () => {
87
+ if (N.kind === "delete") {
88
+ B(null), c("medium");
89
89
  try {
90
- await D({ variables: { id: j.discount.id } }), l("success"), await S(), Z();
90
+ await A({ variables: { id: N.discount.id } }), l("success"), await E(), Q();
91
91
  } catch (e) {
92
- l("error"), R(e instanceof Error ? e.message : "Failed to delete discount.");
92
+ l("error"), B(e instanceof Error ? e.message : "Failed to delete discount.");
93
93
  }
94
94
  }
95
- }, le = async () => {
96
- G.length !== 0 && (R(null), H(!1), await Promise.allSettled(G.map((e) => D({ variables: { id: e.id } }))), await S(), B(/* @__PURE__ */ new Set()));
97
- }, ue = (e, t) => {
98
- B((n) => {
95
+ }, ue = async () => {
96
+ q.length !== 0 && (B(null), W(!1), await Promise.allSettled(q.map((e) => A({ variables: { id: e.id } }))), await E(), H(/* @__PURE__ */ new Set()));
97
+ }, de = (e, t) => {
98
+ H((n) => {
99
99
  let r = new Set(n);
100
100
  return t ? r.add(e) : r.delete(e), r;
101
- }), H(!1);
101
+ }), W(!1);
102
102
  }, $ = (e) => {
103
- B((t) => {
103
+ H((t) => {
104
104
  let n = new Set(t);
105
- return W.forEach((t) => {
105
+ return K.forEach((t) => {
106
106
  e ? n.add(t.id) : n.delete(t.id);
107
107
  }), n;
108
- }), H(!1);
108
+ }), W(!1);
109
109
  };
110
- return re && U.length === 0 ? /* @__PURE__ */ m("div", {
110
+ return w && G.length === 0 ? /* @__PURE__ */ h("div", {
111
111
  className: "space-y-6 p-6",
112
112
  children: [
113
- /* @__PURE__ */ p("div", { className: "h-8 w-48 bg-bg-sunken animate-pulse rounded" }),
114
- /* @__PURE__ */ p("div", {
113
+ /* @__PURE__ */ m("div", { className: "h-8 w-48 bg-bg-sunken animate-pulse rounded" }),
114
+ /* @__PURE__ */ m("div", {
115
115
  className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
116
116
  children: [
117
117
  1,
118
118
  2,
119
119
  3
120
- ].map((e) => /* @__PURE__ */ m("div", {
120
+ ].map((e) => /* @__PURE__ */ h("div", {
121
121
  className: "border border-border-subtle rounded-lg p-4 space-y-2",
122
- children: [/* @__PURE__ */ p("div", { className: "h-4 w-24 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ p("div", { className: "h-6 w-16 bg-bg-sunken animate-pulse rounded" })]
122
+ children: [/* @__PURE__ */ m("div", { className: "h-4 w-24 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ m("div", { className: "h-6 w-16 bg-bg-sunken animate-pulse rounded" })]
123
123
  }, e))
124
124
  }),
125
- /* @__PURE__ */ p("div", {
125
+ /* @__PURE__ */ m("div", {
126
126
  className: "space-y-3",
127
127
  children: [
128
128
  1,
@@ -130,31 +130,31 @@ var _ = {
130
130
  3,
131
131
  4,
132
132
  5
133
- ].map((e) => /* @__PURE__ */ p("div", {
133
+ ].map((e) => /* @__PURE__ */ m("div", {
134
134
  className: "border border-border-subtle rounded-lg p-4",
135
- children: /* @__PURE__ */ m("div", {
135
+ children: /* @__PURE__ */ h("div", {
136
136
  className: "flex items-center gap-4",
137
- children: [/* @__PURE__ */ p("div", { className: "size-10 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ m("div", {
137
+ children: [/* @__PURE__ */ m("div", { className: "size-10 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ h("div", {
138
138
  className: "flex-1 space-y-2",
139
- children: [/* @__PURE__ */ p("div", { className: "h-4 w-32 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ p("div", { className: "h-3 w-48 bg-bg-sunken animate-pulse rounded" })]
139
+ children: [/* @__PURE__ */ m("div", { className: "h-4 w-32 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ m("div", { className: "h-3 w-48 bg-bg-sunken animate-pulse rounded" })]
140
140
  })]
141
141
  })
142
142
  }, e))
143
143
  })
144
144
  ]
145
- }) : x ? /* @__PURE__ */ p("div", {
145
+ }) : T ? /* @__PURE__ */ m("div", {
146
146
  className: "flex items-center justify-center h-full min-h-[400px]",
147
- children: /* @__PURE__ */ m("div", {
147
+ children: /* @__PURE__ */ h("div", {
148
148
  className: "text-center space-y-4",
149
149
  children: [
150
- /* @__PURE__ */ p("div", {
150
+ /* @__PURE__ */ m("div", {
151
151
  className: "size-12 mx-auto rounded-full bg-status-error-bg-subtle flex items-center justify-center",
152
- children: /* @__PURE__ */ p("svg", {
152
+ children: /* @__PURE__ */ m("svg", {
153
153
  className: "size-6 text-status-error-text",
154
154
  fill: "none",
155
155
  viewBox: "0 0 24 24",
156
156
  stroke: "currentColor",
157
- children: /* @__PURE__ */ p("path", {
157
+ children: /* @__PURE__ */ m("path", {
158
158
  strokeLinecap: "round",
159
159
  strokeLinejoin: "round",
160
160
  strokeWidth: 2,
@@ -162,50 +162,50 @@ var _ = {
162
162
  })
163
163
  })
164
164
  }),
165
- /* @__PURE__ */ p("h2", {
165
+ /* @__PURE__ */ m("h2", {
166
166
  className: "text-lg font-semibold text-text-primary",
167
167
  children: "Failed to load discounts"
168
168
  }),
169
- /* @__PURE__ */ p("p", {
169
+ /* @__PURE__ */ m("p", {
170
170
  className: "text-sm text-text-muted",
171
- children: x.message
171
+ children: T.message
172
172
  }),
173
- /* @__PURE__ */ p("button", {
173
+ /* @__PURE__ */ m("button", {
174
174
  type: "button",
175
- onClick: () => S(),
175
+ onClick: () => E(),
176
176
  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",
177
177
  children: "Try Again"
178
178
  })
179
179
  ]
180
180
  })
181
- }) : /* @__PURE__ */ m("div", {
181
+ }) : /* @__PURE__ */ h("div", {
182
182
  className: "space-y-6 p-6",
183
183
  children: [
184
- /* @__PURE__ */ m("div", {
184
+ /* @__PURE__ */ h("div", {
185
185
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
186
- children: [/* @__PURE__ */ m("div", { children: [
187
- /* @__PURE__ */ p("h1", {
186
+ children: [/* @__PURE__ */ h("div", { children: [
187
+ /* @__PURE__ */ m("h1", {
188
188
  className: "text-2xl md:text-3xl font-semibold tracking-tight text-text-primary",
189
189
  children: "Discount Codes"
190
190
  }),
191
- /* @__PURE__ */ p("p", {
191
+ /* @__PURE__ */ m("p", {
192
192
  className: "text-sm text-text-secondary mt-1",
193
193
  children: "Create, view, and manage discount codes for billing"
194
194
  }),
195
- /* @__PURE__ */ p(f, {
195
+ /* @__PURE__ */ m(f, {
196
196
  className: "mt-3",
197
197
  children: "Discount codes reduce the price of a purchase at checkout. Create codes here, set how much they take off and any limits, and manage which ones are active — separate from time-bounded promotions and customer-facing coupons."
198
198
  })
199
- ] }), /* @__PURE__ */ m("button", {
199
+ ] }), /* @__PURE__ */ h("button", {
200
200
  type: "button",
201
- onClick: X,
201
+ onClick: Z,
202
202
  className: "inline-flex items-center gap-2 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 duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
203
- children: [/* @__PURE__ */ p("svg", {
203
+ children: [/* @__PURE__ */ m("svg", {
204
204
  className: "size-4",
205
205
  fill: "none",
206
206
  viewBox: "0 0 24 24",
207
207
  stroke: "currentColor",
208
- children: /* @__PURE__ */ p("path", {
208
+ children: /* @__PURE__ */ m("path", {
209
209
  strokeLinecap: "round",
210
210
  strokeLinejoin: "round",
211
211
  strokeWidth: 2,
@@ -214,208 +214,208 @@ var _ = {
214
214
  }), "Create Discount"]
215
215
  })]
216
216
  }),
217
- /* @__PURE__ */ m("div", {
217
+ /* @__PURE__ */ h("div", {
218
218
  className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
219
219
  children: [
220
- /* @__PURE__ */ m("div", {
220
+ /* @__PURE__ */ h("div", {
221
221
  className: "rounded-card border border-border-seam bg-bg-surface p-5 shadow-[var(--shadow-elevation-1)]",
222
- children: [/* @__PURE__ */ p("p", {
222
+ children: [/* @__PURE__ */ m("p", {
223
223
  className: "text-sm text-text-secondary",
224
224
  children: "Total Discounts"
225
- }), /* @__PURE__ */ p("p", {
225
+ }), /* @__PURE__ */ m("p", {
226
226
  className: "text-2xl font-semibold text-text-primary tabular-nums mt-1",
227
- children: J
227
+ children: X
228
228
  })]
229
229
  }),
230
- /* @__PURE__ */ m("div", {
230
+ /* @__PURE__ */ h("div", {
231
231
  className: "rounded-card border border-border-seam bg-bg-surface p-5 shadow-[var(--shadow-elevation-1)]",
232
- children: [/* @__PURE__ */ p("p", {
232
+ children: [/* @__PURE__ */ m("p", {
233
233
  className: "text-sm text-text-secondary",
234
234
  children: "Active"
235
- }), /* @__PURE__ */ p("p", {
235
+ }), /* @__PURE__ */ m("p", {
236
236
  className: "text-2xl font-semibold text-status-success-text tabular-nums mt-1",
237
- children: Y
237
+ children: re
238
238
  })]
239
239
  }),
240
- /* @__PURE__ */ m("div", {
240
+ /* @__PURE__ */ h("div", {
241
241
  className: "rounded-card border border-border-seam bg-bg-surface p-5 shadow-[var(--shadow-elevation-1)]",
242
- children: [/* @__PURE__ */ p("p", {
242
+ children: [/* @__PURE__ */ m("p", {
243
243
  className: "text-sm text-text-secondary",
244
244
  children: "Expired"
245
- }), /* @__PURE__ */ p("p", {
245
+ }), /* @__PURE__ */ m("p", {
246
246
  className: "text-2xl font-semibold text-status-warning-text tabular-nums mt-1",
247
247
  children: ie
248
248
  })]
249
249
  })
250
250
  ]
251
251
  }),
252
- /* @__PURE__ */ p("div", {
252
+ /* @__PURE__ */ m("div", {
253
253
  className: "flex flex-col sm:flex-row flex-wrap items-stretch sm:items-center gap-3 sm:gap-4 pb-4 border-b border-border-subtle",
254
- children: /* @__PURE__ */ m("div", {
254
+ children: /* @__PURE__ */ h("div", {
255
255
  className: "relative flex-1 min-w-0 w-full sm:max-w-md",
256
- children: [/* @__PURE__ */ p("svg", {
256
+ children: [/* @__PURE__ */ m("svg", {
257
257
  className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-muted",
258
258
  fill: "none",
259
259
  viewBox: "0 0 24 24",
260
260
  stroke: "currentColor",
261
- children: /* @__PURE__ */ p("path", {
261
+ children: /* @__PURE__ */ m("path", {
262
262
  strokeLinecap: "round",
263
263
  strokeLinejoin: "round",
264
264
  strokeWidth: 2,
265
265
  d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
266
266
  })
267
- }), /* @__PURE__ */ p("input", {
267
+ }), /* @__PURE__ */ m("input", {
268
268
  type: "text",
269
269
  placeholder: "Search by discount code...",
270
- value: k,
271
- onChange: (e) => A(e.target.value),
270
+ value: M,
271
+ onChange: (e) => ne(e.target.value),
272
272
  className: "w-full pl-[3.25rem] pr-4 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary placeholder:text-text-muted focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent"
273
273
  })]
274
274
  })
275
275
  }),
276
- W.length > 0 && /* @__PURE__ */ m("div", {
276
+ K.length > 0 && /* @__PURE__ */ h("div", {
277
277
  className: "flex flex-col gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4 sm:flex-row sm:items-center sm:justify-between",
278
- children: [/* @__PURE__ */ m("label", {
278
+ children: [/* @__PURE__ */ h("label", {
279
279
  className: "flex items-center gap-2 text-sm text-text-primary",
280
- children: [/* @__PURE__ */ p("input", {
280
+ children: [/* @__PURE__ */ m("input", {
281
281
  type: "checkbox",
282
- checked: K,
282
+ checked: J,
283
283
  ref: (e) => {
284
- e && (e.indeterminate = q && !K);
284
+ e && (e.indeterminate = Y && !J);
285
285
  },
286
286
  onChange: (e) => $(e.target.checked),
287
287
  "aria-label": "Select all discounts",
288
288
  className: "size-4 rounded border-border-subtle text-text-link"
289
- }), /* @__PURE__ */ p("span", { children: "Select all visible" })]
290
- }), /* @__PURE__ */ m("div", {
289
+ }), /* @__PURE__ */ m("span", { children: "Select all visible" })]
290
+ }), /* @__PURE__ */ h("div", {
291
291
  className: "flex items-center gap-2",
292
292
  children: [
293
- /* @__PURE__ */ m("span", {
293
+ /* @__PURE__ */ h("span", {
294
294
  className: "text-sm text-text-muted",
295
- children: [z.size, " selected"]
295
+ children: [V.size, " selected"]
296
296
  }),
297
- z.size > 0 && /* @__PURE__ */ p("button", {
297
+ V.size > 0 && /* @__PURE__ */ m("button", {
298
298
  type: "button",
299
299
  onClick: () => {
300
- B(/* @__PURE__ */ new Set()), H(!1);
300
+ H(/* @__PURE__ */ new Set()), W(!1);
301
301
  },
302
302
  className: "text-sm text-text-muted hover:text-text-primary",
303
303
  children: "Clear selection"
304
304
  }),
305
- /* @__PURE__ */ m("button", {
305
+ /* @__PURE__ */ h("button", {
306
306
  type: "button",
307
- onClick: () => H(!0),
308
- disabled: G.length === 0 || O,
307
+ onClick: () => W(!0),
308
+ disabled: q.length === 0 || j,
309
309
  className: "inline-flex items-center gap-2 px-3 py-2 text-sm font-medium border border-status-error-border text-status-error-text rounded-md hover:bg-status-error-bg-subtle transition-colors disabled:opacity-50",
310
- children: ["Delete Selected", G.length > 0 ? ` (${G.length})` : ""]
310
+ children: ["Delete Selected", q.length > 0 ? ` (${q.length})` : ""]
311
311
  })
312
312
  ]
313
313
  })]
314
314
  }),
315
- V && G.length > 0 && /* @__PURE__ */ p("div", {
315
+ U && q.length > 0 && /* @__PURE__ */ m("div", {
316
316
  className: "rounded-lg border border-status-error-border bg-status-error-bg-subtle p-4",
317
- children: /* @__PURE__ */ m("div", {
317
+ children: /* @__PURE__ */ h("div", {
318
318
  className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
319
- children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("p", {
319
+ children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ h("p", {
320
320
  className: "text-sm font-medium text-text-primary",
321
321
  children: [
322
322
  "Delete ",
323
- G.length,
323
+ q.length,
324
324
  " selected discount",
325
- G.length === 1 ? "" : "s",
325
+ q.length === 1 ? "" : "s",
326
326
  "?"
327
327
  ]
328
- }), /* @__PURE__ */ p("p", {
328
+ }), /* @__PURE__ */ m("p", {
329
329
  className: "text-sm text-text-muted",
330
330
  children: "This action cannot be undone."
331
- })] }), /* @__PURE__ */ m("div", {
331
+ })] }), /* @__PURE__ */ h("div", {
332
332
  className: "flex items-center gap-2",
333
- children: [/* @__PURE__ */ p("button", {
333
+ children: [/* @__PURE__ */ m("button", {
334
334
  type: "button",
335
- onClick: () => H(!1),
335
+ onClick: () => W(!1),
336
336
  className: "px-3 py-2 text-sm font-medium text-text-muted hover:text-text-primary",
337
337
  children: "Cancel"
338
- }), /* @__PURE__ */ p("button", {
338
+ }), /* @__PURE__ */ m("button", {
339
339
  type: "button",
340
- onClick: le,
341
- disabled: O,
340
+ onClick: ue,
341
+ disabled: j,
342
342
  className: "inline-flex items-center gap-2 rounded-button bg-action-danger-bg px-3 py-2 text-sm font-medium text-action-danger-text hover:bg-action-danger-bgHover disabled:opacity-50",
343
343
  children: "Confirm Delete"
344
344
  })]
345
345
  })]
346
346
  })
347
347
  }),
348
- W.length === 0 ? /* @__PURE__ */ p(d, {
349
- illustration: k ? "empty-search" : "empty-data",
348
+ K.length === 0 ? /* @__PURE__ */ m(d, {
349
+ illustration: M ? "empty-search" : "empty-data",
350
350
  title: "No discount codes found",
351
- description: k ? "No discount codes match your search." : "Create your first discount code to get started.",
352
- action: k ? void 0 : /* @__PURE__ */ p("button", {
351
+ description: M ? "No discount codes match your search." : "Create your first discount code to get started.",
352
+ action: M ? void 0 : /* @__PURE__ */ m("button", {
353
353
  type: "button",
354
- onClick: X,
354
+ onClick: Z,
355
355
  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",
356
356
  children: "Create your first discount"
357
357
  })
358
- }) : /* @__PURE__ */ p("div", {
358
+ }) : /* @__PURE__ */ m("div", {
359
359
  className: "border border-border-seam rounded-card overflow-hidden shadow-[var(--shadow-elevation-1)]",
360
- children: /* @__PURE__ */ p("div", {
360
+ children: /* @__PURE__ */ m("div", {
361
361
  className: "overflow-x-auto",
362
- children: /* @__PURE__ */ m("table", {
362
+ children: /* @__PURE__ */ h("table", {
363
363
  className: "w-full",
364
- children: [/* @__PURE__ */ p("thead", {
364
+ children: [/* @__PURE__ */ m("thead", {
365
365
  className: "sticky top-0 z-10 bg-bg-sunken border-b border-border-subtle",
366
- children: /* @__PURE__ */ m("tr", { children: [
367
- /* @__PURE__ */ p("th", {
366
+ children: /* @__PURE__ */ h("tr", { children: [
367
+ /* @__PURE__ */ m("th", {
368
368
  className: "text-left px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted w-12",
369
- children: /* @__PURE__ */ p("input", {
369
+ children: /* @__PURE__ */ m("input", {
370
370
  type: "checkbox",
371
- checked: K,
371
+ checked: J,
372
372
  ref: (e) => {
373
- e && (e.indeterminate = q && !K);
373
+ e && (e.indeterminate = Y && !J);
374
374
  },
375
375
  onChange: (e) => $(e.target.checked),
376
376
  "aria-label": "Select all discounts",
377
377
  className: "size-4 rounded border-border-subtle text-action-primary-bg focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]"
378
378
  })
379
379
  }),
380
- /* @__PURE__ */ p("th", {
380
+ /* @__PURE__ */ m("th", {
381
381
  className: "text-left px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted",
382
382
  children: "Code"
383
383
  }),
384
- /* @__PURE__ */ p("th", {
384
+ /* @__PURE__ */ m("th", {
385
385
  className: "text-left px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted",
386
386
  children: "Type"
387
387
  }),
388
- /* @__PURE__ */ p("th", {
388
+ /* @__PURE__ */ m("th", {
389
389
  className: "text-left px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted",
390
390
  children: "Value"
391
391
  }),
392
- /* @__PURE__ */ p("th", {
392
+ /* @__PURE__ */ m("th", {
393
393
  className: "text-left px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted hidden md:table-cell",
394
394
  children: "Uses"
395
395
  }),
396
- /* @__PURE__ */ p("th", {
396
+ /* @__PURE__ */ m("th", {
397
397
  className: "text-left px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted hidden lg:table-cell",
398
398
  children: "Valid From"
399
399
  }),
400
- /* @__PURE__ */ p("th", {
400
+ /* @__PURE__ */ m("th", {
401
401
  className: "text-left px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted hidden sm:table-cell",
402
402
  children: "Valid Until"
403
403
  }),
404
- /* @__PURE__ */ p("th", {
404
+ /* @__PURE__ */ m("th", {
405
405
  className: "text-left px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted",
406
406
  children: "Status"
407
407
  }),
408
- /* @__PURE__ */ p("th", {
408
+ /* @__PURE__ */ m("th", {
409
409
  className: "text-right px-4 py-3 text-xs font-medium uppercase tracking-wide text-text-muted",
410
410
  children: "Actions"
411
411
  })
412
412
  ] })
413
- }), /* @__PURE__ */ p("tbody", {
413
+ }), /* @__PURE__ */ m("tbody", {
414
414
  className: "divide-y divide-border-subtle",
415
- children: W.map((e) => /* @__PURE__ */ p(y, {
415
+ children: K.map((e) => /* @__PURE__ */ m(x, {
416
416
  discount: e,
417
- selected: z.has(e.id),
418
- onToggleSelect: ue,
417
+ selected: V.has(e.id),
418
+ onToggleSelect: de,
419
419
  onEdit: ae,
420
420
  onDelete: oe
421
421
  }, e.id))
@@ -423,27 +423,27 @@ var _ = {
423
423
  })
424
424
  })
425
425
  }),
426
- j.kind === "create" && /* @__PURE__ */ p(b, {
427
- onClose: Z,
428
- children: /* @__PURE__ */ m("form", {
429
- onSubmit: Q,
426
+ N.kind === "create" && /* @__PURE__ */ m(S, {
427
+ onClose: Q,
428
+ children: /* @__PURE__ */ h("form", {
429
+ onSubmit: se,
430
430
  className: "space-y-4",
431
431
  children: [
432
- /* @__PURE__ */ m("div", {
432
+ /* @__PURE__ */ h("div", {
433
433
  className: "flex items-center justify-between mb-2",
434
- children: [/* @__PURE__ */ p("h2", {
434
+ children: [/* @__PURE__ */ m("h2", {
435
435
  className: "text-lg font-semibold text-text-primary",
436
436
  children: s("billing.discounts.createDiscountCode", "Create Discount Code")
437
- }), /* @__PURE__ */ p("button", {
437
+ }), /* @__PURE__ */ m("button", {
438
438
  type: "button",
439
- onClick: Z,
439
+ onClick: Q,
440
440
  className: "p-1.5 rounded hover:bg-bg-sunken transition-colors",
441
- children: /* @__PURE__ */ p("svg", {
441
+ children: /* @__PURE__ */ m("svg", {
442
442
  className: "size-5 text-text-muted",
443
443
  fill: "none",
444
444
  viewBox: "0 0 24 24",
445
445
  stroke: "currentColor",
446
- children: /* @__PURE__ */ p("path", {
446
+ children: /* @__PURE__ */ m("path", {
447
447
  strokeLinecap: "round",
448
448
  strokeLinejoin: "round",
449
449
  strokeWidth: 2,
@@ -452,225 +452,225 @@ var _ = {
452
452
  })
453
453
  })]
454
454
  }),
455
- L && /* @__PURE__ */ p("div", {
455
+ z && /* @__PURE__ */ m("div", {
456
456
  className: "p-3 text-sm text-status-error-text bg-status-error-bg-subtle border border-status-error-border rounded-md",
457
- children: L
457
+ children: z
458
458
  }),
459
- /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("label", {
459
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ h("label", {
460
460
  htmlFor: "create-code",
461
461
  className: "block text-sm font-medium text-text-primary mb-1",
462
462
  children: [
463
463
  s("billing.discounts.code", "Code"),
464
464
  " ",
465
- /* @__PURE__ */ p("span", {
465
+ /* @__PURE__ */ m("span", {
466
466
  className: "text-status-error-text",
467
467
  children: "*"
468
468
  })
469
469
  ]
470
- }), /* @__PURE__ */ p("input", {
470
+ }), /* @__PURE__ */ m("input", {
471
471
  id: "create-code",
472
472
  type: "text",
473
473
  required: !0,
474
- value: N.code,
475
- onChange: (e) => P((t) => ({
474
+ value: F.code,
475
+ onChange: (e) => I((t) => ({
476
476
  ...t,
477
477
  code: e.target.value
478
478
  })),
479
479
  placeholder: s("billing.discounts.codePlaceholder", "e.g. SUMMER25"),
480
480
  className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary placeholder:text-text-muted focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent uppercase"
481
481
  })] }),
482
- /* @__PURE__ */ m("div", {
482
+ /* @__PURE__ */ h("div", {
483
483
  className: "grid grid-cols-2 gap-4",
484
- children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("label", {
484
+ children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ h("label", {
485
485
  htmlFor: "create-type",
486
486
  className: "block text-sm font-medium text-text-primary mb-1",
487
487
  children: [
488
488
  s("billing.discounts.type", "Type"),
489
489
  " ",
490
- /* @__PURE__ */ p("span", {
490
+ /* @__PURE__ */ m("span", {
491
491
  className: "text-status-error-text",
492
492
  children: "*"
493
493
  })
494
494
  ]
495
- }), /* @__PURE__ */ m("select", {
495
+ }), /* @__PURE__ */ h(p, {
496
496
  id: "create-type",
497
- value: N.type,
498
- onChange: (e) => P((t) => ({
497
+ value: F.type,
498
+ onChange: (e) => I((t) => ({
499
499
  ...t,
500
500
  type: e.target.value
501
501
  })),
502
502
  className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
503
- children: [/* @__PURE__ */ p("option", {
503
+ children: [/* @__PURE__ */ m("option", {
504
504
  value: "PERCENTAGE",
505
505
  children: s("billing.discounts.typePercentage", "Percentage")
506
- }), /* @__PURE__ */ p("option", {
506
+ }), /* @__PURE__ */ m("option", {
507
507
  value: "FIXED",
508
508
  children: s("billing.discounts.typeFixedAmount", "Fixed Amount")
509
509
  })]
510
- })] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("label", {
510
+ })] }), /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ h("label", {
511
511
  htmlFor: "create-value",
512
512
  className: "block text-sm font-medium text-text-primary mb-1",
513
513
  children: [
514
514
  s("billing.discounts.value", "Value"),
515
515
  " ",
516
- /* @__PURE__ */ p("span", {
516
+ /* @__PURE__ */ m("span", {
517
517
  className: "text-status-error-text",
518
518
  children: "*"
519
519
  })
520
520
  ]
521
- }), /* @__PURE__ */ m("div", {
521
+ }), /* @__PURE__ */ h("div", {
522
522
  className: "relative",
523
- children: [/* @__PURE__ */ p("input", {
523
+ children: [/* @__PURE__ */ m("input", {
524
524
  id: "create-value",
525
525
  type: "number",
526
526
  required: !0,
527
527
  min: "0.01",
528
- max: N.type === "PERCENTAGE" ? "100" : void 0,
528
+ max: F.type === "PERCENTAGE" ? "100" : void 0,
529
529
  step: "0.01",
530
- value: N.value,
531
- onChange: (e) => P((t) => ({
530
+ value: F.value,
531
+ onChange: (e) => I((t) => ({
532
532
  ...t,
533
533
  value: e.target.value
534
534
  })),
535
- placeholder: N.type === "PERCENTAGE" ? "10" : "25.00",
535
+ placeholder: F.type === "PERCENTAGE" ? "10" : "25.00",
536
536
  className: "w-full px-3 py-2 pr-8 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary placeholder:text-text-muted focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent"
537
- }), /* @__PURE__ */ p("span", {
537
+ }), /* @__PURE__ */ m("span", {
538
538
  className: "absolute right-3 top-1/2 -translate-y-1/2 text-sm text-text-muted",
539
- children: N.type === "PERCENTAGE" ? "%" : N.currency
539
+ children: F.type === "PERCENTAGE" ? "%" : F.currency
540
540
  })]
541
541
  })] })]
542
542
  }),
543
- N.type === "FIXED" && /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
543
+ F.type === "FIXED" && /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
544
544
  htmlFor: "create-currency",
545
545
  className: "block text-sm font-medium text-text-primary mb-1",
546
546
  children: s("billing.discounts.currency", "Currency")
547
- }), /* @__PURE__ */ m("select", {
547
+ }), /* @__PURE__ */ h(p, {
548
548
  id: "create-currency",
549
- value: N.currency,
550
- onChange: (e) => P((t) => ({
549
+ value: F.currency,
550
+ onChange: (e) => I((t) => ({
551
551
  ...t,
552
552
  currency: e.target.value
553
553
  })),
554
554
  className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary",
555
555
  children: [
556
- /* @__PURE__ */ p("option", {
556
+ /* @__PURE__ */ m("option", {
557
557
  value: "USD",
558
558
  children: "USD"
559
559
  }),
560
- /* @__PURE__ */ p("option", {
560
+ /* @__PURE__ */ m("option", {
561
561
  value: "EUR",
562
562
  children: "EUR"
563
563
  }),
564
- /* @__PURE__ */ p("option", {
564
+ /* @__PURE__ */ m("option", {
565
565
  value: "GBP",
566
566
  children: "GBP"
567
567
  }),
568
- /* @__PURE__ */ p("option", {
568
+ /* @__PURE__ */ m("option", {
569
569
  value: "INR",
570
570
  children: "INR"
571
571
  }),
572
- /* @__PURE__ */ p("option", {
572
+ /* @__PURE__ */ m("option", {
573
573
  value: "CAD",
574
574
  children: "CAD"
575
575
  }),
576
- /* @__PURE__ */ p("option", {
576
+ /* @__PURE__ */ m("option", {
577
577
  value: "AUD",
578
578
  children: "AUD"
579
579
  })
580
580
  ]
581
581
  })] }),
582
- /* @__PURE__ */ m("div", { children: [
583
- /* @__PURE__ */ p("label", {
582
+ /* @__PURE__ */ h("div", { children: [
583
+ /* @__PURE__ */ m("label", {
584
584
  htmlFor: "create-max-uses",
585
585
  className: "block text-sm font-medium text-text-primary mb-1",
586
586
  children: s("billing.discounts.maxUses", "Max Uses")
587
587
  }),
588
- /* @__PURE__ */ p("input", {
588
+ /* @__PURE__ */ m("input", {
589
589
  id: "create-max-uses",
590
590
  type: "number",
591
591
  min: "1",
592
592
  step: "1",
593
- value: N.maxUses,
594
- onChange: (e) => P((t) => ({
593
+ value: F.maxUses,
594
+ onChange: (e) => I((t) => ({
595
595
  ...t,
596
596
  maxUses: e.target.value
597
597
  })),
598
598
  placeholder: s("billing.discounts.unlimited", "Unlimited"),
599
599
  className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary placeholder:text-text-muted focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent"
600
600
  }),
601
- /* @__PURE__ */ p("p", {
601
+ /* @__PURE__ */ m("p", {
602
602
  className: "text-xs text-text-muted mt-1",
603
603
  children: s("billing.discounts.unlimitedHelp", "Leave empty for unlimited uses.")
604
604
  })
605
605
  ] }),
606
- /* @__PURE__ */ m("div", {
606
+ /* @__PURE__ */ h("div", {
607
607
  className: "grid grid-cols-2 gap-4",
608
- children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
608
+ children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
609
609
  htmlFor: "create-valid-from",
610
610
  className: "block text-sm font-medium text-text-primary mb-1",
611
611
  children: s("billing.discounts.validFrom", "Valid From")
612
- }), /* @__PURE__ */ p("input", {
612
+ }), /* @__PURE__ */ m("input", {
613
613
  id: "create-valid-from",
614
614
  type: "datetime-local",
615
- value: N.validFrom,
616
- onChange: (e) => P((t) => ({
615
+ value: F.validFrom,
616
+ onChange: (e) => I((t) => ({
617
617
  ...t,
618
618
  validFrom: e.target.value
619
619
  })),
620
620
  className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent"
621
- })] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
621
+ })] }), /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
622
622
  htmlFor: "create-valid-until",
623
623
  className: "block text-sm font-medium text-text-primary mb-1",
624
624
  children: s("billing.discounts.validUntil", "Valid Until")
625
- }), /* @__PURE__ */ p("input", {
625
+ }), /* @__PURE__ */ m("input", {
626
626
  id: "create-valid-until",
627
627
  type: "datetime-local",
628
- value: N.validUntil,
629
- onChange: (e) => P((t) => ({
628
+ value: F.validUntil,
629
+ onChange: (e) => I((t) => ({
630
630
  ...t,
631
631
  validUntil: e.target.value
632
632
  })),
633
633
  className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent"
634
634
  })] })]
635
635
  }),
636
- /* @__PURE__ */ m("div", {
636
+ /* @__PURE__ */ h("div", {
637
637
  className: "flex items-center justify-end gap-3 pt-2 border-t border-border-subtle",
638
- children: [/* @__PURE__ */ p("button", {
638
+ children: [/* @__PURE__ */ m("button", {
639
639
  type: "button",
640
- onClick: Z,
640
+ onClick: Q,
641
641
  className: "px-4 py-2 text-sm font-medium border border-border-subtle text-text-primary rounded-button hover:bg-bg-sunken transition-colors",
642
642
  children: s("billing.discounts.cancel", "Cancel")
643
- }), /* @__PURE__ */ p("button", {
643
+ }), /* @__PURE__ */ m("button", {
644
644
  type: "submit",
645
- disabled: w,
645
+ disabled: D,
646
646
  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 disabled:cursor-not-allowed",
647
- children: w ? s("billing.discounts.creating", "Creating...") : s("billing.discounts.createDiscount", "Create Discount")
647
+ children: D ? s("billing.discounts.creating", "Creating...") : s("billing.discounts.createDiscount", "Create Discount")
648
648
  })]
649
649
  })
650
650
  ]
651
651
  })
652
652
  }),
653
- j.kind === "edit" && /* @__PURE__ */ p(b, {
654
- onClose: Z,
655
- children: /* @__PURE__ */ m("form", {
656
- onSubmit: se,
653
+ N.kind === "edit" && /* @__PURE__ */ m(S, {
654
+ onClose: Q,
655
+ children: /* @__PURE__ */ h("form", {
656
+ onSubmit: ce,
657
657
  className: "space-y-4",
658
658
  children: [
659
- /* @__PURE__ */ m("div", {
659
+ /* @__PURE__ */ h("div", {
660
660
  className: "flex items-center justify-between mb-2",
661
- children: [/* @__PURE__ */ p("h2", {
661
+ children: [/* @__PURE__ */ m("h2", {
662
662
  className: "text-lg font-semibold text-text-primary",
663
663
  children: "Edit Discount"
664
- }), /* @__PURE__ */ p("button", {
664
+ }), /* @__PURE__ */ m("button", {
665
665
  type: "button",
666
- onClick: Z,
666
+ onClick: Q,
667
667
  className: "p-1.5 rounded hover:bg-bg-sunken transition-colors",
668
- children: /* @__PURE__ */ p("svg", {
668
+ children: /* @__PURE__ */ m("svg", {
669
669
  className: "size-5 text-text-muted",
670
670
  fill: "none",
671
671
  viewBox: "0 0 24 24",
672
672
  stroke: "currentColor",
673
- children: /* @__PURE__ */ p("path", {
673
+ children: /* @__PURE__ */ m("path", {
674
674
  strokeLinecap: "round",
675
675
  strokeLinejoin: "round",
676
676
  strokeWidth: 2,
@@ -679,130 +679,130 @@ var _ = {
679
679
  })
680
680
  })]
681
681
  }),
682
- L && /* @__PURE__ */ p("div", {
682
+ z && /* @__PURE__ */ m("div", {
683
683
  className: "p-3 text-sm text-status-error-text bg-status-error-bg-subtle border border-status-error-border rounded-md",
684
- children: L
684
+ children: z
685
685
  }),
686
- /* @__PURE__ */ m("div", {
686
+ /* @__PURE__ */ h("div", {
687
687
  className: "p-3 bg-bg-sunken/50 border border-border-subtle rounded-md space-y-1",
688
688
  children: [
689
- /* @__PURE__ */ m("div", {
689
+ /* @__PURE__ */ h("div", {
690
690
  className: "flex items-center justify-between text-sm",
691
- children: [/* @__PURE__ */ p("span", {
691
+ children: [/* @__PURE__ */ m("span", {
692
692
  className: "text-text-muted",
693
693
  children: "Code"
694
- }), /* @__PURE__ */ p("span", {
694
+ }), /* @__PURE__ */ m("span", {
695
695
  className: "font-mono font-medium text-text-primary",
696
- children: j.discount.code
696
+ children: N.discount.code
697
697
  })]
698
698
  }),
699
- /* @__PURE__ */ m("div", {
699
+ /* @__PURE__ */ h("div", {
700
700
  className: "flex items-center justify-between text-sm",
701
- children: [/* @__PURE__ */ p("span", {
701
+ children: [/* @__PURE__ */ m("span", {
702
702
  className: "text-text-muted",
703
703
  children: "Type"
704
- }), /* @__PURE__ */ p("span", {
704
+ }), /* @__PURE__ */ m("span", {
705
705
  className: "text-text-primary",
706
- children: j.discount.type === "PERCENTAGE" ? "Percentage" : "Fixed Amount"
706
+ children: N.discount.type === "PERCENTAGE" ? "Percentage" : "Fixed Amount"
707
707
  })]
708
708
  }),
709
- /* @__PURE__ */ m("div", {
709
+ /* @__PURE__ */ h("div", {
710
710
  className: "flex items-center justify-between text-sm",
711
- children: [/* @__PURE__ */ p("span", {
711
+ children: [/* @__PURE__ */ m("span", {
712
712
  className: "text-text-muted",
713
713
  children: "Value"
714
- }), /* @__PURE__ */ p("span", {
714
+ }), /* @__PURE__ */ m("span", {
715
715
  className: "text-text-primary",
716
- children: g(j.discount)
716
+ children: v(N.discount)
717
717
  })]
718
718
  }),
719
- /* @__PURE__ */ m("div", {
719
+ /* @__PURE__ */ h("div", {
720
720
  className: "flex items-center justify-between text-sm",
721
- children: [/* @__PURE__ */ p("span", {
721
+ children: [/* @__PURE__ */ m("span", {
722
722
  className: "text-text-muted",
723
723
  children: "Used"
724
- }), /* @__PURE__ */ m("span", {
724
+ }), /* @__PURE__ */ h("span", {
725
725
  className: "text-text-primary",
726
- children: [j.discount.usedCount, " times"]
726
+ children: [N.discount.usedCount, " times"]
727
727
  })]
728
728
  })
729
729
  ]
730
730
  }),
731
- /* @__PURE__ */ m("div", { children: [
732
- /* @__PURE__ */ p("label", {
731
+ /* @__PURE__ */ h("div", { children: [
732
+ /* @__PURE__ */ m("label", {
733
733
  htmlFor: "edit-max-uses",
734
734
  className: "block text-sm font-medium text-text-primary mb-1",
735
735
  children: "Max Uses"
736
736
  }),
737
- /* @__PURE__ */ p("input", {
737
+ /* @__PURE__ */ m("input", {
738
738
  id: "edit-max-uses",
739
739
  type: "number",
740
740
  min: "1",
741
741
  step: "1",
742
- value: F.maxUses,
743
- onChange: (e) => I((t) => ({
742
+ value: L.maxUses,
743
+ onChange: (e) => R((t) => ({
744
744
  ...t,
745
745
  maxUses: e.target.value
746
746
  })),
747
747
  placeholder: "Unlimited",
748
748
  className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary placeholder:text-text-muted focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent"
749
749
  }),
750
- /* @__PURE__ */ p("p", {
750
+ /* @__PURE__ */ m("p", {
751
751
  className: "text-xs text-text-muted mt-1",
752
752
  children: "Leave empty for unlimited uses."
753
753
  })
754
754
  ] }),
755
- /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
755
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
756
756
  htmlFor: "edit-valid-until",
757
757
  className: "block text-sm font-medium text-text-primary mb-1",
758
758
  children: "Valid Until"
759
- }), /* @__PURE__ */ p("input", {
759
+ }), /* @__PURE__ */ m("input", {
760
760
  id: "edit-valid-until",
761
761
  type: "datetime-local",
762
- value: F.validUntil,
763
- onChange: (e) => I((t) => ({
762
+ value: L.validUntil,
763
+ onChange: (e) => R((t) => ({
764
764
  ...t,
765
765
  validUntil: e.target.value
766
766
  })),
767
767
  className: "w-full px-3 py-2 text-sm border border-border-subtle rounded-input bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-transparent"
768
768
  })] }),
769
- /* @__PURE__ */ m("div", {
769
+ /* @__PURE__ */ h("div", {
770
770
  className: "flex items-center justify-end gap-3 pt-2 border-t border-border-subtle",
771
- children: [/* @__PURE__ */ p("button", {
771
+ children: [/* @__PURE__ */ m("button", {
772
772
  type: "button",
773
- onClick: Z,
773
+ onClick: Q,
774
774
  className: "px-4 py-2 text-sm font-medium border border-border-subtle text-text-primary rounded-button hover:bg-bg-sunken transition-colors",
775
775
  children: "Cancel"
776
- }), /* @__PURE__ */ p("button", {
776
+ }), /* @__PURE__ */ m("button", {
777
777
  type: "submit",
778
- disabled: E,
778
+ disabled: k,
779
779
  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 disabled:cursor-not-allowed",
780
- children: E ? "Saving..." : "Save Changes"
780
+ children: k ? "Saving..." : "Save Changes"
781
781
  })]
782
782
  })
783
783
  ]
784
784
  })
785
785
  }),
786
- j.kind === "delete" && /* @__PURE__ */ p(b, {
787
- onClose: Z,
788
- children: /* @__PURE__ */ m("div", {
786
+ N.kind === "delete" && /* @__PURE__ */ m(S, {
787
+ onClose: Q,
788
+ children: /* @__PURE__ */ h("div", {
789
789
  className: "space-y-4",
790
790
  children: [
791
- /* @__PURE__ */ m("div", {
791
+ /* @__PURE__ */ h("div", {
792
792
  className: "flex items-center justify-between mb-2",
793
- children: [/* @__PURE__ */ p("h2", {
793
+ children: [/* @__PURE__ */ m("h2", {
794
794
  className: "text-lg font-semibold text-text-primary",
795
795
  children: "Delete Discount"
796
- }), /* @__PURE__ */ p("button", {
796
+ }), /* @__PURE__ */ m("button", {
797
797
  type: "button",
798
- onClick: Z,
798
+ onClick: Q,
799
799
  className: "p-1.5 rounded hover:bg-bg-sunken transition-colors",
800
- children: /* @__PURE__ */ p("svg", {
800
+ children: /* @__PURE__ */ m("svg", {
801
801
  className: "size-5 text-text-muted",
802
802
  fill: "none",
803
803
  viewBox: "0 0 24 24",
804
804
  stroke: "currentColor",
805
- children: /* @__PURE__ */ p("path", {
805
+ children: /* @__PURE__ */ m("path", {
806
806
  strokeLinecap: "round",
807
807
  strokeLinejoin: "round",
808
808
  strokeWidth: 2,
@@ -811,65 +811,65 @@ var _ = {
811
811
  })
812
812
  })]
813
813
  }),
814
- L && /* @__PURE__ */ p("div", {
814
+ z && /* @__PURE__ */ m("div", {
815
815
  className: "p-3 text-sm text-status-error-text bg-status-error-bg-subtle border border-status-error-border rounded-md",
816
- children: L
816
+ children: z
817
817
  }),
818
- /* @__PURE__ */ m("div", {
818
+ /* @__PURE__ */ h("div", {
819
819
  className: "flex items-start gap-3",
820
- children: [/* @__PURE__ */ p("div", {
820
+ children: [/* @__PURE__ */ m("div", {
821
821
  className: "size-10 rounded-full bg-status-error-bg-subtle flex items-center justify-center shrink-0",
822
- children: /* @__PURE__ */ p("svg", {
822
+ children: /* @__PURE__ */ m("svg", {
823
823
  className: "size-5 text-status-error-text",
824
824
  fill: "none",
825
825
  viewBox: "0 0 24 24",
826
826
  stroke: "currentColor",
827
- children: /* @__PURE__ */ p("path", {
827
+ children: /* @__PURE__ */ m("path", {
828
828
  strokeLinecap: "round",
829
829
  strokeLinejoin: "round",
830
830
  strokeWidth: 2,
831
831
  d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
832
832
  })
833
833
  })
834
- }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("p", {
834
+ }), /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ h("p", {
835
835
  className: "text-sm text-text-primary",
836
836
  children: [
837
837
  "Are you sure you want to delete the discount code",
838
838
  " ",
839
- /* @__PURE__ */ p("span", {
839
+ /* @__PURE__ */ m("span", {
840
840
  className: "font-mono font-semibold",
841
- children: j.discount.code
841
+ children: N.discount.code
842
842
  }),
843
843
  "?"
844
844
  ]
845
- }), /* @__PURE__ */ m("p", {
845
+ }), /* @__PURE__ */ h("p", {
846
846
  className: "text-sm text-text-muted mt-1",
847
847
  children: [
848
848
  "This action cannot be undone. The discount has been used",
849
849
  " ",
850
- /* @__PURE__ */ p("span", {
850
+ /* @__PURE__ */ m("span", {
851
851
  className: "font-medium",
852
- children: j.discount.usedCount
852
+ children: N.discount.usedCount
853
853
  }),
854
854
  " time",
855
- j.discount.usedCount === 1 ? "" : "s",
855
+ N.discount.usedCount === 1 ? "" : "s",
856
856
  "."
857
857
  ]
858
858
  })] })]
859
859
  }),
860
- /* @__PURE__ */ m("div", {
860
+ /* @__PURE__ */ h("div", {
861
861
  className: "flex items-center justify-end gap-3 pt-2 border-t border-border-subtle",
862
- children: [/* @__PURE__ */ p("button", {
862
+ children: [/* @__PURE__ */ m("button", {
863
863
  type: "button",
864
- onClick: Z,
864
+ onClick: Q,
865
865
  className: "px-4 py-2 text-sm font-medium border border-border-subtle text-text-primary rounded-button hover:bg-bg-sunken transition-colors",
866
866
  children: "Cancel"
867
- }), /* @__PURE__ */ p("button", {
867
+ }), /* @__PURE__ */ m("button", {
868
868
  type: "button",
869
- onClick: ce,
870
- disabled: O,
869
+ onClick: le,
870
+ disabled: j,
871
871
  className: "px-4 py-2 text-sm font-medium bg-action-danger-bg text-action-danger-text rounded-button hover:bg-action-danger-bgHover transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
872
- children: O ? "Deleting..." : "Delete Discount"
872
+ children: j ? "Deleting..." : "Delete Discount"
873
873
  })]
874
874
  })
875
875
  ]
@@ -877,14 +877,14 @@ var _ = {
877
877
  })
878
878
  ]
879
879
  });
880
- }, y = ({ discount: e, selected: t, onToggleSelect: n, onEdit: r, onDelete: i }) => {
881
- let a = h(e);
882
- return /* @__PURE__ */ m("tr", {
880
+ }, x = ({ discount: e, selected: t, onToggleSelect: n, onEdit: r, onDelete: i }) => {
881
+ let a = _(e);
882
+ return /* @__PURE__ */ h("tr", {
883
883
  className: `hover:bg-bg-sunken/30 transition-colors ${t ? "bg-bg-sunken/20" : ""}`,
884
884
  children: [
885
- /* @__PURE__ */ p("td", {
885
+ /* @__PURE__ */ m("td", {
886
886
  className: "p-4",
887
- children: /* @__PURE__ */ p("input", {
887
+ children: /* @__PURE__ */ m("input", {
888
888
  type: "checkbox",
889
889
  checked: t,
890
890
  onChange: (t) => n(e.id, t.target.checked),
@@ -892,84 +892,84 @@ var _ = {
892
892
  className: "size-4 rounded border-border-subtle text-text-link"
893
893
  })
894
894
  }),
895
- /* @__PURE__ */ p("td", {
895
+ /* @__PURE__ */ m("td", {
896
896
  className: "p-4",
897
- children: /* @__PURE__ */ p("span", {
897
+ children: /* @__PURE__ */ m("span", {
898
898
  className: "font-mono font-medium text-text-primary",
899
899
  children: e.code
900
900
  })
901
901
  }),
902
- /* @__PURE__ */ p("td", {
902
+ /* @__PURE__ */ m("td", {
903
903
  className: "p-4",
904
- children: /* @__PURE__ */ p("span", {
904
+ children: /* @__PURE__ */ m("span", {
905
905
  className: "text-sm text-text-muted",
906
906
  children: e.type === "PERCENTAGE" ? "Percentage" : "Fixed"
907
907
  })
908
908
  }),
909
- /* @__PURE__ */ p("td", {
909
+ /* @__PURE__ */ m("td", {
910
910
  className: "p-4",
911
- children: /* @__PURE__ */ p("span", {
911
+ children: /* @__PURE__ */ m("span", {
912
912
  className: "text-sm font-medium text-text-primary",
913
- children: g(e)
913
+ children: v(e)
914
914
  })
915
915
  }),
916
- /* @__PURE__ */ p("td", {
916
+ /* @__PURE__ */ m("td", {
917
917
  className: "p-4 hidden md:table-cell",
918
- children: /* @__PURE__ */ m("span", {
918
+ children: /* @__PURE__ */ h("span", {
919
919
  className: "text-sm text-text-muted",
920
920
  children: [e.usedCount, e.maxUses == null ? " / ∞" : ` / ${e.maxUses}`]
921
921
  })
922
922
  }),
923
- /* @__PURE__ */ p("td", {
923
+ /* @__PURE__ */ m("td", {
924
924
  className: "p-4 text-sm text-text-muted hidden lg:table-cell",
925
925
  children: e.validFrom ? s(e.validFrom, "short") : "—"
926
926
  }),
927
- /* @__PURE__ */ p("td", {
927
+ /* @__PURE__ */ m("td", {
928
928
  className: "p-4 text-sm text-text-muted hidden sm:table-cell",
929
929
  children: e.validUntil ? s(e.validUntil, "short") : "—"
930
930
  }),
931
- /* @__PURE__ */ p("td", {
931
+ /* @__PURE__ */ m("td", {
932
932
  className: "p-4",
933
- children: a ? /* @__PURE__ */ p("span", {
933
+ children: a ? /* @__PURE__ */ m("span", {
934
934
  className: "inline-flex px-2 py-1 text-xs font-medium rounded bg-status-warning-bg-subtle text-status-warning-text",
935
935
  children: "Expired"
936
- }) : /* @__PURE__ */ p("span", {
936
+ }) : /* @__PURE__ */ m("span", {
937
937
  className: "inline-flex px-2 py-1 text-xs font-medium rounded bg-status-success-bg-subtle text-status-success-text",
938
938
  children: "Active"
939
939
  })
940
940
  }),
941
- /* @__PURE__ */ p("td", {
941
+ /* @__PURE__ */ m("td", {
942
942
  className: "p-4 text-right",
943
- children: /* @__PURE__ */ m("div", {
943
+ children: /* @__PURE__ */ h("div", {
944
944
  className: "flex items-center justify-end gap-2",
945
- children: [/* @__PURE__ */ p("button", {
945
+ children: [/* @__PURE__ */ m("button", {
946
946
  type: "button",
947
947
  onClick: () => r(e),
948
948
  className: "px-3 py-1.5 text-sm font-medium text-text-primary hover:bg-bg-sunken rounded-button transition-colors",
949
949
  title: "Edit discount",
950
- children: /* @__PURE__ */ p("svg", {
950
+ children: /* @__PURE__ */ m("svg", {
951
951
  className: "size-4",
952
952
  fill: "none",
953
953
  viewBox: "0 0 24 24",
954
954
  stroke: "currentColor",
955
- children: /* @__PURE__ */ p("path", {
955
+ children: /* @__PURE__ */ m("path", {
956
956
  strokeLinecap: "round",
957
957
  strokeLinejoin: "round",
958
958
  strokeWidth: 2,
959
959
  d: "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"
960
960
  })
961
961
  })
962
- }), /* @__PURE__ */ p("button", {
962
+ }), /* @__PURE__ */ m("button", {
963
963
  type: "button",
964
964
  onClick: () => i(e),
965
965
  className: "px-3 py-1.5 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle rounded-md transition-colors",
966
966
  title: "Delete discount",
967
- children: /* @__PURE__ */ p("svg", {
967
+ children: /* @__PURE__ */ m("svg", {
968
968
  className: "size-4",
969
969
  fill: "none",
970
970
  viewBox: "0 0 24 24",
971
971
  stroke: "currentColor",
972
- children: /* @__PURE__ */ p("path", {
972
+ children: /* @__PURE__ */ m("path", {
973
973
  strokeLinecap: "round",
974
974
  strokeLinejoin: "round",
975
975
  strokeWidth: 2,
@@ -981,16 +981,16 @@ var _ = {
981
981
  })
982
982
  ]
983
983
  });
984
- }, b = ({ onClose: e, children: t }) => /* @__PURE__ */ m("div", {
984
+ }, S = ({ onClose: e, children: t }) => /* @__PURE__ */ h("div", {
985
985
  className: "fixed inset-0 z-50 flex items-center justify-center",
986
- children: [/* @__PURE__ */ p("div", {
986
+ children: [/* @__PURE__ */ m("div", {
987
987
  className: "absolute inset-0 bg-bg-overlay",
988
988
  onClick: e
989
- }), /* @__PURE__ */ p("div", {
989
+ }), /* @__PURE__ */ m("div", {
990
990
  className: "relative w-full max-w-lg max-h-[85vh] overflow-y-auto bg-bg-elevated border border-border-seam rounded-card shadow-[var(--shadow-elevation-4)] p-6 mx-4",
991
991
  children: t
992
992
  })]
993
993
  });
994
- export { v as DiscountsListPage };
994
+ export { b as DiscountsListPage };
995
995
 
996
996
  //# sourceMappingURL=DiscountsListPage.js.map