@burdenoff/microfe-billing 2026.1116.1 → 2026.1119.1

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
@@ -1,9 +1,10 @@
1
1
  import { useCallback as e, useEffect as t, useMemo as n, useRef as r, useState as i } from "react";
2
- import { AlertCircle as a, Building2 as o, Check as s, ChevronDown as c, FileText as l, Loader2 as u, Mail as d, MapPin as f, Search as p, X as m } from "lucide-react";
3
- import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
4
- import { useI18n as v } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
2
+ import { ThemedSelect as a } from "@burdenoff/fe-libs/ui";
3
+ import { AlertCircle as o, Building2 as s, Check as c, ChevronDown as l, FileText as u, Loader2 as d, Mail as f, MapPin as p, Search as m, X as h } from "lucide-react";
4
+ import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
5
+ import { useI18n as y } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
5
6
  // src/billing/modules/dashboard/components/CreateBillingAccountModal.tsx
6
- var y = [
7
+ var b = [
7
8
  {
8
9
  code: "IN",
9
10
  name: "India"
@@ -132,7 +133,7 @@ var y = [
132
133
  code: "LK",
133
134
  name: "Sri Lanka"
134
135
  }
135
- ], b = /* @__PURE__ */ "Andaman and Nicobar Islands.Andhra Pradesh.Arunachal Pradesh.Assam.Bihar.Chandigarh.Chhattisgarh.Dadra and Nagar Haveli and Daman and Diu.Delhi.Goa.Gujarat.Haryana.Himachal Pradesh.Jammu and Kashmir.Jharkhand.Karnataka.Kerala.Ladakh.Lakshadweep.Madhya Pradesh.Maharashtra.Manipur.Meghalaya.Mizoram.Nagaland.Odisha.Puducherry.Punjab.Rajasthan.Sikkim.Tamil Nadu.Telangana.Tripura.Uttar Pradesh.Uttarakhand.West Bengal".split("."), x = [
136
+ ], x = /* @__PURE__ */ "Andaman and Nicobar Islands.Andhra Pradesh.Arunachal Pradesh.Assam.Bihar.Chandigarh.Chhattisgarh.Dadra and Nagar Haveli and Daman and Diu.Delhi.Goa.Gujarat.Haryana.Himachal Pradesh.Jammu and Kashmir.Jharkhand.Karnataka.Kerala.Ladakh.Lakshadweep.Madhya Pradesh.Maharashtra.Manipur.Meghalaya.Mizoram.Nagaland.Odisha.Puducherry.Punjab.Rajasthan.Sikkim.Tamil Nadu.Telangana.Tripura.Uttar Pradesh.Uttarakhand.West Bengal".split("."), S = [
136
137
  {
137
138
  code: "USD",
138
139
  name: "US Dollar",
@@ -440,16 +441,16 @@ var y = [
440
441
  flag: "OM"
441
442
  }
442
443
  ];
443
- function S(e) {
444
+ function C(e) {
444
445
  if (e === "EU") return "🇪🇺";
445
446
  let t = e.toUpperCase().split("").map((e) => 127397 + e.charCodeAt(0));
446
447
  return String.fromCodePoint(...t);
447
448
  }
448
- var C = ({ isOpen: C, onClose: w, onSubmit: T, isSubmitting: E = !1, error: D = null }) => {
449
- let { t: O } = v(), k = (e, t) => {
450
- let n = O(e);
449
+ var w = ({ isOpen: w, onClose: T, onSubmit: E, isSubmitting: D = !1, error: O = null }) => {
450
+ let { t: k } = y(), A = (e, t) => {
451
+ let n = k(e);
451
452
  return n === e ? t : n;
452
- }, [A, j] = i({
453
+ }, [j, M] = i({
453
454
  name: "",
454
455
  email: "",
455
456
  billingEmail: "",
@@ -461,14 +462,14 @@ var C = ({ isOpen: C, onClose: w, onSubmit: T, isSubmitting: E = !1, error: D =
461
462
  city: "",
462
463
  state: "",
463
464
  postalCode: ""
464
- }), [M, N] = i({}), [P, F] = i(!1), [I, L] = i(""), R = r(null), z = r(null), B = r(null), V = r(null), H = n(() => {
465
- if (!I.trim()) return x;
466
- let e = I.toLowerCase();
467
- return x.filter((t) => t.code.toLowerCase().includes(e) || t.name.toLowerCase().includes(e) || t.symbol.includes(e));
468
- }, [I]), U = n(() => x.find((e) => e.code === A.currency) || x[0], [A.currency]);
465
+ }), [N, P] = i({}), [F, I] = i(!1), [L, R] = i(""), z = r(null), B = r(null), V = r(null), H = r(null), U = n(() => {
466
+ if (!L.trim()) return S;
467
+ let e = L.toLowerCase();
468
+ return S.filter((t) => t.code.toLowerCase().includes(e) || t.name.toLowerCase().includes(e) || t.symbol.includes(e));
469
+ }, [L]), W = n(() => S.find((e) => e.code === j.currency) || S[0], [j.currency]);
469
470
  t(() => {
470
- if (C) {
471
- j({
471
+ if (w) {
472
+ M({
472
473
  name: "",
473
474
  email: "",
474
475
  billingEmail: "",
@@ -480,415 +481,415 @@ var C = ({ isOpen: C, onClose: w, onSubmit: T, isSubmitting: E = !1, error: D =
480
481
  city: "",
481
482
  state: "",
482
483
  postalCode: ""
483
- }), N({}), F(!1), L("");
484
- let e = setTimeout(() => z.current?.focus(), 100);
484
+ }), P({}), I(!1), R("");
485
+ let e = setTimeout(() => B.current?.focus(), 100);
485
486
  return () => clearTimeout(e);
486
487
  }
487
- }, [C]), t(() => {
488
+ }, [w]), t(() => {
488
489
  let e = (e) => {
489
- B.current && !B.current.contains(e.target) && (F(!1), L(""));
490
+ V.current && !V.current.contains(e.target) && (I(!1), R(""));
490
491
  };
491
492
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
492
493
  }, []), t(() => {
493
- P && V.current && V.current.focus();
494
- }, [P]), t(() => {
494
+ F && H.current && H.current.focus();
495
+ }, [F]), t(() => {
495
496
  let e = (e) => {
496
- e.key === "Escape" && C && !E && w();
497
+ e.key === "Escape" && w && !D && T();
497
498
  };
498
499
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
499
500
  }, [
500
- C,
501
- E,
502
- w
501
+ w,
502
+ D,
503
+ T
503
504
  ]), t(() => {
504
- if (!C) return;
505
- let e = R.current;
505
+ if (!w) return;
506
+ let e = z.current;
506
507
  if (!e) return;
507
508
  let t = e.querySelectorAll("button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])"), n = t[0], r = t[t.length - 1], i = (e) => {
508
509
  e.key === "Tab" && (e.shiftKey ? document.activeElement === n && (e.preventDefault(), r.focus()) : document.activeElement === r && (e.preventDefault(), n.focus()));
509
510
  };
510
511
  return e.addEventListener("keydown", i), () => e.removeEventListener("keydown", i);
511
- }, [C]);
512
- let W = e(() => {
512
+ }, [w]);
513
+ let G = e(() => {
513
514
  let e = {};
514
- return A.name.trim() || (e.name = "Account name is required"), A.email.trim() ? /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(A.email) || (e.email = "Please enter a valid email address") : e.email = "Email is required", A.billingEmail && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(A.billingEmail) && (e.billingEmail = "Please enter a valid email address"), A.country || (e.country = "Country is required"), A.line1.trim() || (e.line1 = "Address line 1 is required"), A.city.trim() || (e.city = "City is required"), A.country === "IN" && !A.state && (e.state = "State is required for India"), A.postalCode.trim() || (e.postalCode = "Postal code is required"), N(e), Object.keys(e).length === 0;
515
- }, [A]), G = async (e) => {
516
- if (e.preventDefault(), !W()) return;
515
+ return j.name.trim() || (e.name = "Account name is required"), j.email.trim() ? /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(j.email) || (e.email = "Please enter a valid email address") : e.email = "Email is required", j.billingEmail && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(j.billingEmail) && (e.billingEmail = "Please enter a valid email address"), j.country || (e.country = "Country is required"), j.line1.trim() || (e.line1 = "Address line 1 is required"), j.city.trim() || (e.city = "City is required"), j.country === "IN" && !j.state && (e.state = "State is required for India"), j.postalCode.trim() || (e.postalCode = "Postal code is required"), P(e), Object.keys(e).length === 0;
516
+ }, [j]), K = async (e) => {
517
+ if (e.preventDefault(), !G()) return;
517
518
  let t = {
518
- name: A.name.trim(),
519
- email: A.email.trim(),
520
- currency: A.currency
519
+ name: j.name.trim(),
520
+ email: j.email.trim(),
521
+ currency: j.currency
521
522
  };
522
- A.billingEmail?.trim() && (t.billingEmail = A.billingEmail.trim()), A.taxId?.trim() && (t.taxId = A.taxId.trim());
523
+ j.billingEmail?.trim() && (t.billingEmail = j.billingEmail.trim()), j.taxId?.trim() && (t.taxId = j.taxId.trim());
523
524
  let n = {
524
- country: A.country,
525
- line1: A.line1.trim(),
526
- city: A.city.trim(),
527
- postalCode: A.postalCode.trim()
525
+ country: j.country,
526
+ line1: j.line1.trim(),
527
+ city: j.city.trim(),
528
+ postalCode: j.postalCode.trim()
528
529
  };
529
- A.line2?.trim() && (n.line2 = A.line2.trim()), A.state && (n.state = A.state), await T(t, n);
530
- }, K = (e, t) => {
531
- j((n) => {
530
+ j.line2?.trim() && (n.line2 = j.line2.trim()), j.state && (n.state = j.state), await E(t, n);
531
+ }, q = (e, t) => {
532
+ M((n) => {
532
533
  let r = {
533
534
  ...n,
534
535
  [e]: t
535
536
  };
536
537
  return e === "country" && t === "IN" && n.currency !== "INR" && (r.currency = "INR"), e === "country" && t !== n.country && (r.state = ""), r;
537
- }), M[e] && N((t) => {
538
+ }), N[e] && P((t) => {
538
539
  let n = { ...t };
539
540
  return delete n[e], n;
540
541
  });
541
542
  };
542
- return C ? /* @__PURE__ */ _("div", {
543
+ return w ? /* @__PURE__ */ v("div", {
543
544
  className: "fixed inset-0 z-50 flex items-center justify-center",
544
545
  role: "dialog",
545
546
  "aria-modal": "true",
546
547
  "aria-labelledby": "modal-title",
547
- children: [/* @__PURE__ */ g("div", {
548
+ children: [/* @__PURE__ */ _("div", {
548
549
  className: "absolute inset-0 bg-bg-overlay backdrop-blur-sm",
549
- onClick: E ? void 0 : w,
550
+ onClick: D ? void 0 : T,
550
551
  "aria-hidden": "true"
551
- }), /* @__PURE__ */ _("div", {
552
- ref: R,
552
+ }), /* @__PURE__ */ v("div", {
553
+ ref: z,
553
554
  className: "relative w-full max-w-2xl mx-4 bg-bg-surface border border-border-seam rounded-card shadow-[var(--shadow-elevation-4)] max-h-[90vh] flex flex-col overflow-hidden",
554
555
  children: [
555
- /* @__PURE__ */ _("header", {
556
+ /* @__PURE__ */ v("header", {
556
557
  className: "flex items-center justify-between p-4 border-b border-border-subtle shrink-0",
557
- children: [/* @__PURE__ */ _("div", {
558
+ children: [/* @__PURE__ */ v("div", {
558
559
  className: "flex items-center gap-3",
559
- children: [/* @__PURE__ */ g("div", {
560
+ children: [/* @__PURE__ */ _("div", {
560
561
  className: "size-10 rounded-lg bg-[var(--color-accent-soft)] flex items-center justify-center",
561
- children: /* @__PURE__ */ g(o, { className: "size-5 text-text-link" })
562
- }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h2", {
562
+ children: /* @__PURE__ */ _(s, { className: "size-5 text-text-link" })
563
+ }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("h2", {
563
564
  id: "modal-title",
564
565
  className: "text-lg font-semibold text-text-primary",
565
566
  children: "Create Billing Account"
566
- }), /* @__PURE__ */ g("p", {
567
+ }), /* @__PURE__ */ _("p", {
567
568
  className: "text-sm text-text-secondary",
568
569
  children: "Set up a new billing account for your organization"
569
570
  })] })]
570
- }), /* @__PURE__ */ g("button", {
571
+ }), /* @__PURE__ */ _("button", {
571
572
  type: "button",
572
- onClick: w,
573
- disabled: E,
573
+ onClick: T,
574
+ disabled: D,
574
575
  className: "p-2 rounded-button hover:bg-bg-sunken text-text-secondary hover:text-text-primary transition-colors disabled:opacity-50",
575
576
  "aria-label": "Close modal",
576
- children: /* @__PURE__ */ g(m, { className: "size-5" })
577
+ children: /* @__PURE__ */ _(h, { className: "size-5" })
577
578
  })]
578
579
  }),
579
- /* @__PURE__ */ _("form", {
580
- onSubmit: G,
580
+ /* @__PURE__ */ v("form", {
581
+ onSubmit: K,
581
582
  className: "p-4 space-y-4 overflow-y-auto flex-1",
582
583
  children: [
583
- D && /* @__PURE__ */ _("div", {
584
+ O && /* @__PURE__ */ v("div", {
584
585
  className: "flex items-center gap-2 p-3 rounded-lg bg-status-error-bg-subtle border border-status-error-border text-status-error-text",
585
- children: [/* @__PURE__ */ g(a, { className: "size-4 flex-shrink-0" }), /* @__PURE__ */ g("p", {
586
+ children: [/* @__PURE__ */ _(o, { className: "size-4 flex-shrink-0" }), /* @__PURE__ */ _("p", {
586
587
  className: "text-sm",
587
- children: D
588
+ children: O
588
589
  })]
589
590
  }),
590
- /* @__PURE__ */ _("div", {
591
+ /* @__PURE__ */ v("div", {
591
592
  className: "space-y-1.5",
592
593
  children: [
593
- /* @__PURE__ */ _("label", {
594
+ /* @__PURE__ */ v("label", {
594
595
  htmlFor: "name",
595
596
  className: "block text-sm font-medium text-text-primary",
596
- children: ["Account Name ", /* @__PURE__ */ g("span", {
597
+ children: ["Account Name ", /* @__PURE__ */ _("span", {
597
598
  className: "text-status-error-text",
598
599
  children: "*"
599
600
  })]
600
601
  }),
601
- /* @__PURE__ */ _("div", {
602
+ /* @__PURE__ */ v("div", {
602
603
  className: "relative",
603
- children: [/* @__PURE__ */ g(o, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ g("input", {
604
- ref: z,
604
+ children: [/* @__PURE__ */ _(s, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ _("input", {
605
+ ref: B,
605
606
  type: "text",
606
607
  id: "name",
607
- value: A.name,
608
- onChange: (e) => K("name", e.target.value),
608
+ value: j.name,
609
+ onChange: (e) => q("name", e.target.value),
609
610
  className: `
610
611
  w-full pl-[3.25rem] pr-3 py-2 border rounded-lg bg-bg-surface text-text-primary
611
612
  placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong
612
- ${M.name ? "border-status-error-border" : "border-border-default"}
613
+ ${N.name ? "border-status-error-border" : "border-border-default"}
613
614
  `,
614
615
  placeholder: "e.g., Acme Corporation",
615
- disabled: E
616
+ disabled: D
616
617
  })]
617
618
  }),
618
- M.name && /* @__PURE__ */ g("p", {
619
+ N.name && /* @__PURE__ */ _("p", {
619
620
  className: "text-sm text-status-error-text",
620
- children: M.name
621
+ children: N.name
621
622
  })
622
623
  ]
623
624
  }),
624
- /* @__PURE__ */ _("div", {
625
+ /* @__PURE__ */ v("div", {
625
626
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
626
- children: [/* @__PURE__ */ _("div", {
627
+ children: [/* @__PURE__ */ v("div", {
627
628
  className: "space-y-1.5",
628
629
  children: [
629
- /* @__PURE__ */ _("label", {
630
+ /* @__PURE__ */ v("label", {
630
631
  htmlFor: "email",
631
632
  className: "block text-sm font-medium text-text-primary",
632
- children: ["Email ", /* @__PURE__ */ g("span", {
633
+ children: ["Email ", /* @__PURE__ */ _("span", {
633
634
  className: "text-status-error-text",
634
635
  children: "*"
635
636
  })]
636
637
  }),
637
- /* @__PURE__ */ _("div", {
638
+ /* @__PURE__ */ v("div", {
638
639
  className: "relative",
639
- children: [/* @__PURE__ */ g(d, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ g("input", {
640
+ children: [/* @__PURE__ */ _(f, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ _("input", {
640
641
  type: "email",
641
642
  id: "email",
642
- value: A.email,
643
- onChange: (e) => K("email", e.target.value),
643
+ value: j.email,
644
+ onChange: (e) => q("email", e.target.value),
644
645
  className: `
645
646
  w-full pl-[3.25rem] pr-3 py-2 border rounded-lg bg-bg-surface text-text-primary
646
647
  placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong
647
- ${M.email ? "border-status-error-border" : "border-border-default"}
648
+ ${N.email ? "border-status-error-border" : "border-border-default"}
648
649
  `,
649
650
  placeholder: "contact@company.com",
650
- disabled: E
651
+ disabled: D
651
652
  })]
652
653
  }),
653
- M.email && /* @__PURE__ */ g("p", {
654
+ N.email && /* @__PURE__ */ _("p", {
654
655
  className: "text-sm text-status-error-text",
655
- children: M.email
656
+ children: N.email
656
657
  })
657
658
  ]
658
- }), /* @__PURE__ */ _("div", {
659
+ }), /* @__PURE__ */ v("div", {
659
660
  className: "space-y-1.5",
660
661
  children: [
661
- /* @__PURE__ */ _("label", {
662
+ /* @__PURE__ */ v("label", {
662
663
  htmlFor: "billingEmail",
663
664
  className: "block text-sm font-medium text-text-primary",
664
- children: ["Billing Email ", /* @__PURE__ */ g("span", {
665
+ children: ["Billing Email ", /* @__PURE__ */ _("span", {
665
666
  className: "text-text-secondary text-xs",
666
667
  children: "(optional)"
667
668
  })]
668
669
  }),
669
- /* @__PURE__ */ _("div", {
670
+ /* @__PURE__ */ v("div", {
670
671
  className: "relative",
671
- children: [/* @__PURE__ */ g(d, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ g("input", {
672
+ children: [/* @__PURE__ */ _(f, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ _("input", {
672
673
  type: "email",
673
674
  id: "billingEmail",
674
- value: A.billingEmail || "",
675
- onChange: (e) => K("billingEmail", e.target.value),
675
+ value: j.billingEmail || "",
676
+ onChange: (e) => q("billingEmail", e.target.value),
676
677
  className: `
677
678
  w-full pl-[3.25rem] pr-3 py-2 border rounded-lg bg-bg-surface text-text-primary
678
679
  placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong
679
- ${M.billingEmail ? "border-status-error-border" : "border-border-default"}
680
+ ${N.billingEmail ? "border-status-error-border" : "border-border-default"}
680
681
  `,
681
682
  placeholder: "billing@company.com",
682
- disabled: E
683
+ disabled: D
683
684
  })]
684
685
  }),
685
- M.billingEmail && /* @__PURE__ */ g("p", {
686
+ N.billingEmail && /* @__PURE__ */ _("p", {
686
687
  className: "text-sm text-status-error-text",
687
- children: M.billingEmail
688
+ children: N.billingEmail
688
689
  })
689
690
  ]
690
691
  })]
691
692
  }),
692
- /* @__PURE__ */ _("div", {
693
+ /* @__PURE__ */ v("div", {
693
694
  className: "pt-3 border-t border-border-subtle",
694
695
  children: [
695
- /* @__PURE__ */ _("h3", {
696
+ /* @__PURE__ */ v("h3", {
696
697
  className: "text-sm font-medium text-text-primary mb-3 flex items-center gap-2",
697
- children: [/* @__PURE__ */ g(f, { className: "size-4 text-text-secondary" }), "Billing Address"]
698
+ children: [/* @__PURE__ */ _(p, { className: "size-4 text-text-secondary" }), "Billing Address"]
698
699
  }),
699
- /* @__PURE__ */ _("div", {
700
+ /* @__PURE__ */ v("div", {
700
701
  className: "grid grid-cols-1 sm:grid-cols-2 gap-3 mb-3",
701
- children: [/* @__PURE__ */ _("div", {
702
+ children: [/* @__PURE__ */ v("div", {
702
703
  className: "space-y-1.5",
703
704
  children: [
704
- /* @__PURE__ */ _("label", {
705
+ /* @__PURE__ */ v("label", {
705
706
  htmlFor: "country",
706
707
  className: "block text-sm font-medium text-text-primary",
707
- children: ["Country ", /* @__PURE__ */ g("span", {
708
+ children: ["Country ", /* @__PURE__ */ _("span", {
708
709
  className: "text-status-error-text",
709
710
  children: "*"
710
711
  })]
711
712
  }),
712
- /* @__PURE__ */ _("select", {
713
+ /* @__PURE__ */ v(a, {
713
714
  id: "country",
714
- value: A.country,
715
- onChange: (e) => K("country", e.target.value),
715
+ value: j.country,
716
+ onChange: (e) => q("country", e.target.value),
716
717
  className: `
717
718
  w-full px-3 py-2 border rounded-lg bg-bg-surface scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary text-text-primary
718
719
  focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong
719
- ${M.country ? "border-status-error-border" : "border-border-default"}
720
+ ${N.country ? "border-status-error-border" : "border-border-default"}
720
721
  `,
721
- disabled: E,
722
- children: [/* @__PURE__ */ g("option", {
722
+ disabled: D,
723
+ children: [/* @__PURE__ */ _("option", {
723
724
  value: "",
724
- children: k("billing.overview.selectCountry", "Select a country")
725
- }), y.map((e) => /* @__PURE__ */ g("option", {
725
+ children: A("billing.overview.selectCountry", "Select a country")
726
+ }), b.map((e) => /* @__PURE__ */ _("option", {
726
727
  value: e.code,
727
728
  children: e.name
728
729
  }, e.code))]
729
730
  }),
730
- M.country && /* @__PURE__ */ g("p", {
731
+ N.country && /* @__PURE__ */ _("p", {
731
732
  className: "text-sm text-status-error-text",
732
- children: M.country
733
+ children: N.country
733
734
  })
734
735
  ]
735
- }), /* @__PURE__ */ _("div", {
736
+ }), /* @__PURE__ */ v("div", {
736
737
  className: "space-y-1.5",
737
738
  children: [
738
- /* @__PURE__ */ _("label", {
739
+ /* @__PURE__ */ v("label", {
739
740
  htmlFor: "line1",
740
741
  className: "block text-sm font-medium text-text-primary",
741
- children: ["Address Line 1 ", /* @__PURE__ */ g("span", {
742
+ children: ["Address Line 1 ", /* @__PURE__ */ _("span", {
742
743
  className: "text-status-error-text",
743
744
  children: "*"
744
745
  })]
745
746
  }),
746
- /* @__PURE__ */ g("input", {
747
+ /* @__PURE__ */ _("input", {
747
748
  type: "text",
748
749
  id: "line1",
749
- value: A.line1,
750
- onChange: (e) => K("line1", e.target.value),
750
+ value: j.line1,
751
+ onChange: (e) => q("line1", e.target.value),
751
752
  className: `
752
753
  w-full px-3 py-2 border rounded-lg bg-bg-surface text-text-primary
753
754
  placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong
754
- ${M.line1 ? "border-status-error-border" : "border-border-default"}
755
+ ${N.line1 ? "border-status-error-border" : "border-border-default"}
755
756
  `,
756
757
  placeholder: "Street address, P.O. box",
757
- disabled: E
758
+ disabled: D
758
759
  }),
759
- M.line1 && /* @__PURE__ */ g("p", {
760
+ N.line1 && /* @__PURE__ */ _("p", {
760
761
  className: "text-sm text-status-error-text",
761
- children: M.line1
762
+ children: N.line1
762
763
  })
763
764
  ]
764
765
  })]
765
766
  }),
766
- /* @__PURE__ */ _("div", {
767
+ /* @__PURE__ */ v("div", {
767
768
  className: "space-y-1.5 mb-3",
768
- children: [/* @__PURE__ */ _("label", {
769
+ children: [/* @__PURE__ */ v("label", {
769
770
  htmlFor: "line2",
770
771
  className: "block text-sm font-medium text-text-primary",
771
- children: ["Address Line 2 ", /* @__PURE__ */ g("span", {
772
+ children: ["Address Line 2 ", /* @__PURE__ */ _("span", {
772
773
  className: "text-text-secondary text-xs",
773
774
  children: "(optional)"
774
775
  })]
775
- }), /* @__PURE__ */ g("input", {
776
+ }), /* @__PURE__ */ _("input", {
776
777
  type: "text",
777
778
  id: "line2",
778
- value: A.line2,
779
- onChange: (e) => K("line2", e.target.value),
779
+ value: j.line2,
780
+ onChange: (e) => q("line2", e.target.value),
780
781
  className: "w-full px-3 py-2 border border-border-default rounded-input bg-bg-surface text-text-primary placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong",
781
782
  placeholder: "Apartment, suite, unit, building, floor",
782
- disabled: E
783
+ disabled: D
783
784
  })]
784
785
  }),
785
- /* @__PURE__ */ _("div", {
786
+ /* @__PURE__ */ v("div", {
786
787
  className: "grid grid-cols-2 sm:grid-cols-3 gap-3 mb-3",
787
788
  children: [
788
- /* @__PURE__ */ _("div", {
789
+ /* @__PURE__ */ v("div", {
789
790
  className: "space-y-1.5",
790
791
  children: [
791
- /* @__PURE__ */ _("label", {
792
+ /* @__PURE__ */ v("label", {
792
793
  htmlFor: "city",
793
794
  className: "block text-sm font-medium text-text-primary",
794
- children: ["City ", /* @__PURE__ */ g("span", {
795
+ children: ["City ", /* @__PURE__ */ _("span", {
795
796
  className: "text-status-error-text",
796
797
  children: "*"
797
798
  })]
798
799
  }),
799
- /* @__PURE__ */ g("input", {
800
+ /* @__PURE__ */ _("input", {
800
801
  type: "text",
801
802
  id: "city",
802
- value: A.city,
803
- onChange: (e) => K("city", e.target.value),
803
+ value: j.city,
804
+ onChange: (e) => q("city", e.target.value),
804
805
  className: `
805
806
  w-full px-3 py-2 border rounded-lg bg-bg-surface text-text-primary
806
807
  placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong
807
- ${M.city ? "border-status-error-border" : "border-border-default"}
808
+ ${N.city ? "border-status-error-border" : "border-border-default"}
808
809
  `,
809
810
  placeholder: "City",
810
- disabled: E
811
+ disabled: D
811
812
  }),
812
- M.city && /* @__PURE__ */ g("p", {
813
+ N.city && /* @__PURE__ */ _("p", {
813
814
  className: "text-sm text-status-error-text",
814
- children: M.city
815
+ children: N.city
815
816
  })
816
817
  ]
817
818
  }),
818
- /* @__PURE__ */ _("div", {
819
+ /* @__PURE__ */ v("div", {
819
820
  className: "space-y-1.5",
820
821
  children: [
821
- /* @__PURE__ */ _("label", {
822
+ /* @__PURE__ */ v("label", {
822
823
  htmlFor: "state",
823
824
  className: "block text-sm font-medium text-text-primary",
824
825
  children: [
825
826
  "State",
826
827
  " ",
827
- A.country === "IN" && /* @__PURE__ */ g("span", {
828
+ j.country === "IN" && /* @__PURE__ */ _("span", {
828
829
  className: "text-status-error-text",
829
830
  children: "*"
830
831
  })
831
832
  ]
832
833
  }),
833
- A.country === "IN" ? /* @__PURE__ */ _("select", {
834
+ j.country === "IN" ? /* @__PURE__ */ v(a, {
834
835
  id: "state",
835
- value: A.state,
836
- onChange: (e) => K("state", e.target.value),
836
+ value: j.state,
837
+ onChange: (e) => q("state", e.target.value),
837
838
  className: `
838
839
  w-full px-3 py-2 border rounded-lg bg-bg-surface scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary text-text-primary
839
840
  focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong
840
- ${M.state ? "border-status-error-border" : "border-border-default"}
841
+ ${N.state ? "border-status-error-border" : "border-border-default"}
841
842
  `,
842
- disabled: E,
843
- children: [/* @__PURE__ */ g("option", {
843
+ disabled: D,
844
+ children: [/* @__PURE__ */ _("option", {
844
845
  value: "",
845
846
  children: "Select state"
846
- }), b.map((e) => /* @__PURE__ */ g("option", {
847
+ }), x.map((e) => /* @__PURE__ */ _("option", {
847
848
  value: e,
848
849
  children: e
849
850
  }, e))]
850
- }) : /* @__PURE__ */ g("input", {
851
+ }) : /* @__PURE__ */ _("input", {
851
852
  type: "text",
852
853
  id: "state",
853
- value: A.state,
854
- onChange: (e) => K("state", e.target.value),
854
+ value: j.state,
855
+ onChange: (e) => q("state", e.target.value),
855
856
  className: "w-full px-3 py-2 border border-border-default rounded-input bg-bg-surface text-text-primary placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong",
856
857
  placeholder: "State/Province",
857
- disabled: E
858
+ disabled: D
858
859
  }),
859
- M.state && /* @__PURE__ */ g("p", {
860
+ N.state && /* @__PURE__ */ _("p", {
860
861
  className: "text-sm text-status-error-text",
861
- children: M.state
862
+ children: N.state
862
863
  })
863
864
  ]
864
865
  }),
865
- /* @__PURE__ */ _("div", {
866
+ /* @__PURE__ */ v("div", {
866
867
  className: "space-y-1.5 col-span-2 sm:col-span-1",
867
868
  children: [
868
- /* @__PURE__ */ _("label", {
869
+ /* @__PURE__ */ v("label", {
869
870
  htmlFor: "postalCode",
870
871
  className: "block text-sm font-medium text-text-primary",
871
- children: ["Postal Code ", /* @__PURE__ */ g("span", {
872
+ children: ["Postal Code ", /* @__PURE__ */ _("span", {
872
873
  className: "text-status-error-text",
873
874
  children: "*"
874
875
  })]
875
876
  }),
876
- /* @__PURE__ */ g("input", {
877
+ /* @__PURE__ */ _("input", {
877
878
  type: "text",
878
879
  id: "postalCode",
879
- value: A.postalCode,
880
- onChange: (e) => K("postalCode", e.target.value),
880
+ value: j.postalCode,
881
+ onChange: (e) => q("postalCode", e.target.value),
881
882
  className: `
882
883
  w-full px-3 py-2 border rounded-lg bg-bg-surface text-text-primary
883
884
  placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong
884
- ${M.postalCode ? "border-status-error-border" : "border-border-default"}
885
+ ${N.postalCode ? "border-status-error-border" : "border-border-default"}
885
886
  `,
886
- placeholder: A.country === "IN" ? "600001" : "ZIP/Postal code",
887
- disabled: E
887
+ placeholder: j.country === "IN" ? "600001" : "ZIP/Postal code",
888
+ disabled: D
888
889
  }),
889
- M.postalCode && /* @__PURE__ */ g("p", {
890
+ N.postalCode && /* @__PURE__ */ _("p", {
890
891
  className: "text-sm text-status-error-text",
891
- children: M.postalCode
892
+ children: N.postalCode
892
893
  })
893
894
  ]
894
895
  })
@@ -896,61 +897,61 @@ var C = ({ isOpen: C, onClose: w, onSubmit: T, isSubmitting: E = !1, error: D =
896
897
  })
897
898
  ]
898
899
  }),
899
- /* @__PURE__ */ _("div", {
900
+ /* @__PURE__ */ v("div", {
900
901
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4 pt-3 border-t border-border-subtle",
901
- children: [/* @__PURE__ */ _("div", {
902
+ children: [/* @__PURE__ */ v("div", {
902
903
  className: "space-y-1.5",
903
- children: [/* @__PURE__ */ g("label", {
904
+ children: [/* @__PURE__ */ _("label", {
904
905
  className: "block text-sm font-medium text-text-primary",
905
- children: k("billing.overview.currency", "Currency")
906
- }), /* @__PURE__ */ _("div", {
906
+ children: A("billing.overview.currency", "Currency")
907
+ }), /* @__PURE__ */ v("div", {
907
908
  className: "relative",
908
- ref: B,
909
- children: [/* @__PURE__ */ _("button", {
909
+ ref: V,
910
+ children: [/* @__PURE__ */ v("button", {
910
911
  type: "button",
911
- onClick: () => !E && F(!P),
912
- disabled: E,
912
+ onClick: () => !D && I(!F),
913
+ disabled: D,
913
914
  className: `
914
915
  w-full flex items-center justify-between gap-2 px-3 py-2 rounded-lg border
915
916
  transition-all duration-200 text-left
916
917
  disabled:opacity-50 disabled:cursor-not-allowed
917
- ${P ? "border-border-strong ring-1 ring-[var(--color-focus-ring)]" : "border-border-default hover:border-border-strong"}
918
+ ${F ? "border-border-strong ring-1 ring-[var(--color-focus-ring)]" : "border-border-default hover:border-border-strong"}
918
919
  `,
919
- children: [/* @__PURE__ */ _("div", {
920
+ children: [/* @__PURE__ */ v("div", {
920
921
  className: "flex items-center gap-2",
921
922
  children: [
922
- /* @__PURE__ */ g("span", {
923
+ /* @__PURE__ */ _("span", {
923
924
  className: "text-base",
924
- children: S(U.flag)
925
+ children: C(W.flag)
925
926
  }),
926
- /* @__PURE__ */ g("span", {
927
+ /* @__PURE__ */ _("span", {
927
928
  className: "font-medium text-text-primary",
928
- children: U.code
929
+ children: W.code
929
930
  }),
930
- /* @__PURE__ */ _("span", {
931
+ /* @__PURE__ */ v("span", {
931
932
  className: "text-sm text-text-secondary",
932
933
  children: [
933
- U.symbol,
934
+ W.symbol,
934
935
  " · ",
935
- U.name
936
+ W.name
936
937
  ]
937
938
  })
938
939
  ]
939
- }), /* @__PURE__ */ g(c, { className: `size-4 text-text-secondary transition-transform ${P ? "rotate-180" : ""}` })]
940
- }), P && /* @__PURE__ */ _("div", {
940
+ }), /* @__PURE__ */ _(l, { className: `size-4 text-text-secondary transition-transform ${F ? "rotate-180" : ""}` })]
941
+ }), F && /* @__PURE__ */ v("div", {
941
942
  className: "absolute z-50 w-full bottom-full mb-1 bg-bg-elevated border border-border-seam rounded-card shadow-elevation-3 overflow-hidden",
942
943
  onMouseDown: (e) => e.stopPropagation(),
943
- children: [/* @__PURE__ */ g("div", {
944
+ children: [/* @__PURE__ */ _("div", {
944
945
  className: "max-h-48 overflow-y-auto",
945
- children: H.length === 0 ? /* @__PURE__ */ g("div", {
946
+ children: U.length === 0 ? /* @__PURE__ */ _("div", {
946
947
  className: "px-3 py-4 text-sm text-text-secondary text-center",
947
948
  children: "No currencies found"
948
- }) : H.map((e) => {
949
- let t = e.code === A.currency;
950
- return /* @__PURE__ */ _("button", {
949
+ }) : U.map((e) => {
950
+ let t = e.code === j.currency;
951
+ return /* @__PURE__ */ v("button", {
951
952
  type: "button",
952
953
  onClick: () => {
953
- K("currency", e.code), F(!1), L("");
954
+ q("currency", e.code), I(!1), R("");
954
955
  },
955
956
  className: `
956
957
  w-full flex items-center gap-3 px-3 py-2 text-left
@@ -958,40 +959,40 @@ var C = ({ isOpen: C, onClose: w, onSubmit: T, isSubmitting: E = !1, error: D =
958
959
  ${t ? "bg-[var(--color-accent-soft)] text-text-primary" : "hover:bg-bg-sunken text-text-primary"}
959
960
  `,
960
961
  children: [
961
- /* @__PURE__ */ g("span", {
962
+ /* @__PURE__ */ _("span", {
962
963
  className: "text-base shrink-0",
963
- children: S(e.flag)
964
+ children: C(e.flag)
964
965
  }),
965
- /* @__PURE__ */ _("div", {
966
+ /* @__PURE__ */ v("div", {
966
967
  className: "flex-1 min-w-0",
967
- children: [/* @__PURE__ */ _("div", {
968
+ children: [/* @__PURE__ */ v("div", {
968
969
  className: "flex items-center gap-2",
969
- children: [/* @__PURE__ */ g("span", {
970
+ children: [/* @__PURE__ */ _("span", {
970
971
  className: "font-medium",
971
972
  children: e.code
972
- }), /* @__PURE__ */ g("span", {
973
+ }), /* @__PURE__ */ _("span", {
973
974
  className: "text-xs text-text-secondary",
974
975
  children: e.symbol
975
976
  })]
976
- }), /* @__PURE__ */ g("p", {
977
+ }), /* @__PURE__ */ _("p", {
977
978
  className: "text-xs text-text-secondary truncate",
978
979
  children: e.name
979
980
  })]
980
981
  }),
981
- t && /* @__PURE__ */ g(s, { className: "size-4 text-text-link shrink-0" })
982
+ t && /* @__PURE__ */ _(c, { className: "size-4 text-text-link shrink-0" })
982
983
  ]
983
984
  }, e.code);
984
985
  })
985
- }), /* @__PURE__ */ g("div", {
986
+ }), /* @__PURE__ */ _("div", {
986
987
  className: "p-2 border-t border-border-subtle",
987
- children: /* @__PURE__ */ _("div", {
988
+ children: /* @__PURE__ */ v("div", {
988
989
  className: "relative",
989
- children: [/* @__PURE__ */ g(p, { className: "absolute left-2.5 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ g("input", {
990
- ref: V,
990
+ children: [/* @__PURE__ */ _(m, { className: "absolute left-2.5 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ _("input", {
991
+ ref: H,
991
992
  type: "text",
992
993
  placeholder: "Search currency...",
993
- value: I,
994
- onChange: (e) => L(e.target.value),
994
+ value: L,
995
+ onChange: (e) => R(e.target.value),
995
996
  onMouseDown: (e) => e.stopPropagation(),
996
997
  className: "w-full pl-8 pr-3 py-2 text-sm bg-bg-surface border border-border-subtle rounded-button focus:outline-none focus:ring-1 focus:ring-[var(--color-focus-ring)]"
997
998
  })]
@@ -999,51 +1000,51 @@ var C = ({ isOpen: C, onClose: w, onSubmit: T, isSubmitting: E = !1, error: D =
999
1000
  })]
1000
1001
  })]
1001
1002
  })]
1002
- }), /* @__PURE__ */ _("div", {
1003
+ }), /* @__PURE__ */ v("div", {
1003
1004
  className: "space-y-1.5",
1004
- children: [/* @__PURE__ */ _("label", {
1005
+ children: [/* @__PURE__ */ v("label", {
1005
1006
  htmlFor: "taxId",
1006
1007
  className: "block text-sm font-medium text-text-primary",
1007
- children: ["Tax ID / VAT Number ", /* @__PURE__ */ g("span", {
1008
+ children: ["Tax ID / VAT Number ", /* @__PURE__ */ _("span", {
1008
1009
  className: "text-text-secondary text-xs",
1009
1010
  children: "(optional)"
1010
1011
  })]
1011
- }), /* @__PURE__ */ _("div", {
1012
+ }), /* @__PURE__ */ v("div", {
1012
1013
  className: "relative",
1013
- children: [/* @__PURE__ */ g(l, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ g("input", {
1014
+ children: [/* @__PURE__ */ _(u, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-text-secondary" }), /* @__PURE__ */ _("input", {
1014
1015
  type: "text",
1015
1016
  id: "taxId",
1016
- value: A.taxId || "",
1017
- onChange: (e) => K("taxId", e.target.value),
1017
+ value: j.taxId || "",
1018
+ onChange: (e) => q("taxId", e.target.value),
1018
1019
  className: "w-full pl-[3.25rem] pr-3 py-2 border border-border-default rounded-input bg-bg-surface text-text-primary placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] focus:border-border-strong",
1019
- placeholder: A.country === "IN" ? "e.g., 22AAAAA0000A1Z5" : "Tax ID / VAT Number",
1020
- disabled: E
1020
+ placeholder: j.country === "IN" ? "e.g., 22AAAAA0000A1Z5" : "Tax ID / VAT Number",
1021
+ disabled: D
1021
1022
  })]
1022
1023
  })]
1023
1024
  })]
1024
1025
  })
1025
1026
  ]
1026
1027
  }),
1027
- /* @__PURE__ */ _("footer", {
1028
+ /* @__PURE__ */ v("footer", {
1028
1029
  className: "flex items-center justify-end gap-3 p-4 border-t border-border-subtle bg-bg-sunken rounded-b-card shrink-0",
1029
- children: [/* @__PURE__ */ g("button", {
1030
+ children: [/* @__PURE__ */ _("button", {
1030
1031
  type: "button",
1031
- onClick: w,
1032
- disabled: E,
1032
+ onClick: T,
1033
+ disabled: D,
1033
1034
  className: "px-4 py-2 text-sm font-medium text-text-primary border border-border-subtle rounded-button hover:bg-bg-sunken hover:border-border-strong transition-all duration-200 disabled:opacity-50",
1034
1035
  children: "Cancel"
1035
- }), /* @__PURE__ */ g("button", {
1036
+ }), /* @__PURE__ */ _("button", {
1036
1037
  type: "button",
1037
- onClick: G,
1038
- disabled: E,
1038
+ onClick: K,
1039
+ disabled: D,
1039
1040
  className: "inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-action-primary-text bg-action-primary-bg rounded-button hover:bg-action-primary-bgHover transition-colors duration-200 disabled:opacity-50",
1040
- children: E ? /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(u, { className: "size-4 animate-spin" }), "Creating…"] }) : "Create Account"
1041
+ children: D ? /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(d, { className: "size-4 animate-spin" }), "Creating…"] }) : "Create Account"
1041
1042
  })]
1042
1043
  })
1043
1044
  ]
1044
1045
  })]
1045
1046
  }) : null;
1046
1047
  };
1047
- export { C as CreateBillingAccountModal };
1048
+ export { w as CreateBillingAccountModal };
1048
1049
 
1049
1050
  //# sourceMappingURL=CreateBillingAccountModal.js.map