@mercurjs/admin 2.2.0-canary.26 → 2.2.0-canary.28

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 (143) hide show
  1. package/dist/{add-campaign-promotions-BGM7SY5H.js → add-campaign-promotions-TSVKITKJ.js} +5 -5
  2. package/dist/{api-key-management-list-FVOOICQR.js → api-key-management-list-CUL3EU54.js} +3 -3
  3. package/dist/{attribute-detail-SDYWELHS.js → attribute-detail-AIARG6IK.js} +2 -2
  4. package/dist/{attribute-list-HW3R6764.js → attribute-list-TH4VPJUA.js} +3 -3
  5. package/dist/{campaign-detail-GCBZC4AK.js → campaign-detail-E77T2QAI.js} +6 -6
  6. package/dist/{campaign-list-NQGNOFVZ.js → campaign-list-RSWCOH4J.js} +3 -3
  7. package/dist/{category-detail-SNN3ZBPS.js → category-detail-M7SYPDPA.js} +3 -3
  8. package/dist/{category-list-OKKJX73E.js → category-list-XAINIL74.js} +3 -3
  9. package/dist/{category-products-HTNBFHSW.js → category-products-LWPBSQMC.js} +2 -2
  10. package/dist/{chunk-JKFCU3LQ.js → chunk-2KOE4QV6.js} +2 -2
  11. package/dist/{chunk-3VTAK3S6.js → chunk-3C53G3UL.js} +1 -1
  12. package/dist/{chunk-POSHDM4L.js → chunk-3C5MNNUD.js} +1 -1
  13. package/dist/{chunk-BHJFT3ST.js → chunk-3MC3ZGY2.js} +1 -1
  14. package/dist/{chunk-A3IFGUDD.js → chunk-3YVZLXH7.js} +1 -1
  15. package/dist/{chunk-PAGH4K4C.js → chunk-45HY2CTD.js} +29 -49
  16. package/dist/{chunk-ASNNJIW7.js → chunk-4INT6ILW.js} +14 -21
  17. package/dist/{chunk-63LSFKES.js → chunk-4KLVH4XT.js} +2 -1
  18. package/dist/{chunk-PQAEYURH.js → chunk-5AC76XY6.js} +1 -1
  19. package/dist/{chunk-S6E7XAWX.js → chunk-6ERWTLAW.js} +1 -1
  20. package/dist/{chunk-7IVRL4AF.js → chunk-7GSUDIU3.js} +1 -1
  21. package/dist/{chunk-2K7FJQGS.js → chunk-7I7FFT4A.js} +1 -1
  22. package/dist/{chunk-EAC3J2Z4.js → chunk-7JLBIALC.js} +1 -1
  23. package/dist/{chunk-Z7AXFQPD.js → chunk-CGG4U2MZ.js} +2 -2
  24. package/dist/{chunk-STPSVH3T.js → chunk-CGIVQ7D2.js} +2 -2
  25. package/dist/{chunk-22EOFXNK.js → chunk-CPL24ZKA.js} +1 -1
  26. package/dist/{chunk-CVFVEDMV.js → chunk-D6ELCGPF.js} +1 -1
  27. package/dist/{chunk-6PTZK4CH.js → chunk-DZO3C6BC.js} +1 -1
  28. package/dist/{chunk-A7JOHU6Q.js → chunk-E3O5GAYR.js} +1 -1
  29. package/dist/{chunk-FBD7WJPO.js → chunk-EWTSVKNN.js} +1 -1
  30. package/dist/{chunk-RWW3TAJQ.js → chunk-GSIFJY3P.js} +2 -2
  31. package/dist/{chunk-V3ATA433.js → chunk-GY7LZODD.js} +1 -1
  32. package/dist/{chunk-CKD5563X.js → chunk-HSNKADGW.js} +1 -1
  33. package/dist/{chunk-WQZIFZW3.js → chunk-HTTJLQR3.js} +1 -1
  34. package/dist/{chunk-BFT3CN5L.js → chunk-HXPW7OZG.js} +1 -1
  35. package/dist/{chunk-NZOB3LPA.js → chunk-I7OXXHTR.js} +1 -1
  36. package/dist/{chunk-NQEXDLYH.js → chunk-JGCGVEFZ.js} +1 -1
  37. package/dist/{chunk-X45JKZYW.js → chunk-K5UDB76J.js} +1 -1
  38. package/dist/{chunk-NEZ35LWM.js → chunk-LC3QY7KZ.js} +1 -1
  39. package/dist/{chunk-XJ3WC4G7.js → chunk-LM6IBDJ3.js} +1 -1
  40. package/dist/{chunk-47TXYMFT.js → chunk-LMTZHAXQ.js} +1 -1
  41. package/dist/{chunk-XDCY2FSG.js → chunk-LOCIDCV2.js} +2 -2
  42. package/dist/{chunk-IAWZQKUH.js → chunk-LSJMVVI4.js} +1 -1
  43. package/dist/{chunk-KAAUSK5T.js → chunk-LULXENH7.js} +2 -2
  44. package/dist/{chunk-S23K2LUH.js → chunk-M3BDFG5D.js} +1 -1
  45. package/dist/{chunk-PAEKCYFU.js → chunk-MYDNPTDK.js} +1 -1
  46. package/dist/{chunk-COP7NFSJ.js → chunk-NHBHU7X7.js} +1 -1
  47. package/dist/{chunk-MVNO35S5.js → chunk-NVBITQAB.js} +1 -1
  48. package/dist/{chunk-4FHHNYIV.js → chunk-O4XMXNZL.js} +2 -2
  49. package/dist/{chunk-LNPJFQWA.js → chunk-O5BX4VGQ.js} +1 -1
  50. package/dist/{chunk-746L7AHM.js → chunk-OQTFMCR7.js} +1 -1
  51. package/dist/{chunk-SEY52XON.js → chunk-ORWIYNP2.js} +1 -1
  52. package/dist/{chunk-4GRFDNQQ.js → chunk-P23LLUTC.js} +1 -1
  53. package/dist/{chunk-634XVU3D.js → chunk-PAYQJPGK.js} +8 -1
  54. package/dist/{chunk-CPWOVYZE.js → chunk-PJVUDTJF.js} +1 -1
  55. package/dist/{chunk-FZHLRCBV.js → chunk-PL44IXBM.js} +1 -1
  56. package/dist/{chunk-R2UDZINP.js → chunk-PSM56FCC.js} +2 -2
  57. package/dist/{chunk-IO5S4RFO.js → chunk-RF3LELGM.js} +1 -1
  58. package/dist/{chunk-JZBVDH6A.js → chunk-RNBZLAMF.js} +1 -1
  59. package/dist/{chunk-ORENI3LP.js → chunk-S55ACYBL.js} +1 -1
  60. package/dist/{chunk-3EQOAHVG.js → chunk-SINWGUXZ.js} +2 -2
  61. package/dist/{chunk-FCLS6CKW.js → chunk-TAKY7IW6.js} +1 -1
  62. package/dist/{chunk-KNB55WE4.js → chunk-TKFNBBX7.js} +1 -1
  63. package/dist/{chunk-MEAFCHUY.js → chunk-TLMVUH67.js} +1 -1
  64. package/dist/{chunk-4GPLGY6N.js → chunk-TY6PRG7C.js} +1 -1
  65. package/dist/{chunk-4O7GPTNJ.js → chunk-UESUZHNN.js} +1 -1
  66. package/dist/{chunk-UWKKDBBZ.js → chunk-W7ZOQUWH.js} +1 -1
  67. package/dist/{chunk-3FN3YH2F.js → chunk-X4RTQG5W.js} +1 -1
  68. package/dist/{chunk-FDMMEAI7.js → chunk-XNCSX2EJ.js} +2 -2
  69. package/dist/{chunk-SMQM5N45.js → chunk-ZF75KDQ2.js} +1 -1
  70. package/dist/{chunk-KNZ6ICKB.js → chunk-ZUW6LUA4.js} +1 -1
  71. package/dist/{collection-add-products-CKF2VFVK.js → collection-add-products-JEV3HTQA.js} +2 -2
  72. package/dist/{collection-detail-UDBTTHLK.js → collection-detail-ZGKHTJ5H.js} +3 -3
  73. package/dist/{collection-list-U74G2R6W.js → collection-list-TRNIZE2V.js} +3 -3
  74. package/dist/{commission-rule-commission-edit-EAOSJNA2.js → commission-rule-commission-edit-7AV3COXL.js} +27 -41
  75. package/dist/{commission-rule-create-X3AYVCQG.js → commission-rule-create-PV7FDDQ2.js} +51 -150
  76. package/dist/{commission-rule-detail-EITJYZG5.js → commission-rule-detail-4RULHWYE.js} +3 -3
  77. package/dist/{commission-rule-edit-FZLHYL4A.js → commission-rule-edit-W5KIEYZY.js} +16 -28
  78. package/dist/{commissions-list-TT2ITT75.js → commissions-list-QDBOLLAF.js} +5 -5
  79. package/dist/{customer-detail-3OQ7RSDN.js → customer-detail-HSVYFZN7.js} +3 -3
  80. package/dist/{customer-group-add-customers-4OAYSXWK.js → customer-group-add-customers-MOWMJ7PG.js} +2 -2
  81. package/dist/{customer-group-detail-CH4UIK3X.js → customer-group-detail-YHWFAT2F.js} +3 -3
  82. package/dist/{customer-group-list-777C2B57.js → customer-group-list-GAG6CY33.js} +3 -3
  83. package/dist/{customer-list-U7VFBV7E.js → customer-list-4Y27FCH6.js} +3 -3
  84. package/dist/{customers-add-customer-group-AZ3ILZMA.js → customers-add-customer-group-DBKMGNEY.js} +2 -2
  85. package/dist/{global-commission-edit-3CEVUAAP.js → global-commission-edit-XTGJWPF4.js} +46 -60
  86. package/dist/index.js +103 -103
  87. package/dist/{inventory-detail-W7BGKWKL.js → inventory-detail-BT3EEWZT.js} +3 -3
  88. package/dist/{inventory-list-SCRYOBZV.js → inventory-list-JCSZES64.js} +3 -3
  89. package/dist/{location-detail-GAINHCV5.js → location-detail-MPSZ6VYO.js} +2 -2
  90. package/dist/{location-fulfillment-providers-6DFBFALS.js → location-fulfillment-providers-6SHQJMAO.js} +2 -2
  91. package/dist/{location-service-zone-create-IOB7DWBR.js → location-service-zone-create-R6OUVLOC.js} +3 -3
  92. package/dist/{location-service-zone-manage-areas-CWWABV5M.js → location-service-zone-manage-areas-V5QULP5K.js} +3 -3
  93. package/dist/{marketplace-add-currencies-YVJA6G6V.js → marketplace-add-currencies-J5NZQFVS.js} +2 -2
  94. package/dist/{marketplace-detail-M7DWNMIH.js → marketplace-detail-BIYPD5HW.js} +3 -3
  95. package/dist/{offer-detail-page-2DG3W7VG.js → offer-detail-page-CHPMMAI3.js} +3 -3
  96. package/dist/{offer-variant-detail-page-U4LDYFE3.js → offer-variant-detail-page-DW4L5LZW.js} +3 -3
  97. package/dist/{offers-PYM6LQSX.js → offers-GLTALPMB.js} +2 -2
  98. package/dist/{order-create-claim-2MO3LM6J.js → order-create-claim-CQ7ECVA6.js} +2 -2
  99. package/dist/{order-create-edit-UFD26FE2.js → order-create-edit-AIE4ULOL.js} +2 -2
  100. package/dist/{order-create-exchange-4PWNGE6U.js → order-create-exchange-NUTFZBDA.js} +2 -2
  101. package/dist/{order-create-return-Y7QS52UL.js → order-create-return-LDLSBK3K.js} +2 -2
  102. package/dist/{order-detail-HPYAUA2N.js → order-detail-5AT6CB7Y.js} +3 -3
  103. package/dist/{order-edit-billing-address-MNBJ6F3S.js → order-edit-billing-address-5CV6WCIA.js} +1 -1
  104. package/dist/{order-list-IVXCYRGB.js → order-list-YHFF6DGL.js} +3 -3
  105. package/dist/pages/index.js +57 -57
  106. package/dist/{payout-list-7WJZFNW5.js → payout-list-OJCFABOS.js} +3 -3
  107. package/dist/{price-list-configuration-6LD6DTEQ.js → price-list-configuration-CNNPJPFF.js} +3 -3
  108. package/dist/{price-list-create-SR24HYH3.js → price-list-create-WA62TKA2.js} +4 -4
  109. package/dist/{price-list-detail-QIMJQ6DD.js → price-list-detail-GUKZPZ5N.js} +3 -3
  110. package/dist/{price-list-list-GIVZGIYW.js → price-list-list-GQ5KMQOH.js} +3 -3
  111. package/dist/{price-list-prices-add-VE5RTT5O.js → price-list-prices-add-3TR5HL2I.js} +3 -3
  112. package/dist/{product-create-4P7XFKE5.js → product-create-RLFRPP6W.js} +3 -3
  113. package/dist/{product-list-4JGMM4AF.js → product-list-33W3IZGZ.js} +3 -3
  114. package/dist/{product-media-RUHCF3BH.js → product-media-NVYHJEI3.js} +2 -2
  115. package/dist/{product-tag-detail-LPILT2ZS.js → product-tag-detail-UG55ECBZ.js} +3 -3
  116. package/dist/{product-tag-list-CK6W4LSP.js → product-tag-list-ZCXPJR6Z.js} +3 -3
  117. package/dist/{product-type-detail-KOGHJIMG.js → product-type-detail-5U53ERTD.js} +3 -3
  118. package/dist/{product-type-list-TM26QMHR.js → product-type-list-3QPADFNI.js} +3 -3
  119. package/dist/{promotion-detail-R24ZU5GF.js → promotion-detail-WAGO4GG4.js} +4 -4
  120. package/dist/{promotion-list-LXSHJ65M.js → promotion-list-ONYUXHN3.js} +6 -6
  121. package/dist/{region-add-countries-5I2UDAJU.js → region-add-countries-UPRSJ6ZY.js} +2 -2
  122. package/dist/{region-create-SIB6WZPV.js → region-create-3YST5TQW.js} +2 -2
  123. package/dist/{region-detail-P2HHBYFV.js → region-detail-2HFBXNZX.js} +3 -3
  124. package/dist/{region-list-2XXKCDDX.js → region-list-Z6PIQFHM.js} +3 -3
  125. package/dist/{reservation-list-RGD6O4RY.js → reservation-list-RM6QUKG7.js} +3 -3
  126. package/dist/{reset-password-BROULSO2.js → reset-password-VQ5PYBJ5.js} +1 -1
  127. package/dist/{return-reason-list-2LFMI7CT.js → return-reason-list-IXHFGQUJ.js} +3 -3
  128. package/dist/{sales-channel-add-products-7ERGMGJ7.js → sales-channel-add-products-76RTGNYX.js} +2 -2
  129. package/dist/{sales-channel-detail-LWVBJCJQ.js → sales-channel-detail-QBCCXUMD.js} +3 -3
  130. package/dist/{shipping-option-type-list-QA2TA7XQ.js → shipping-option-type-list-QLBJ333L.js} +3 -3
  131. package/dist/{shipping-profiles-list-JF2SQIQ7.js → shipping-profiles-list-LI6KACDB.js} +3 -3
  132. package/dist/{store-details-CSHIHCVO.js → store-details-SNDIUE5E.js} +3 -3
  133. package/dist/{store-edit-ETQ5MZUP.js → store-edit-W4PB6TBU.js} +2 -2
  134. package/dist/{store-list-FGLLHZPD.js → store-list-IPMJOHOA.js} +3 -3
  135. package/dist/{tax-region-create-3JJHFERV.js → tax-region-create-G24BSFF4.js} +1 -1
  136. package/dist/{tax-region-detail-EU5U3SFN.js → tax-region-detail-L5AKP2R6.js} +4 -4
  137. package/dist/{tax-region-list-FIBHEFVD.js → tax-region-list-6LH6TYQZ.js} +3 -3
  138. package/dist/{tax-region-province-detail-U4RULBEK.js → tax-region-province-detail-INTRLPOC.js} +3 -3
  139. package/dist/{tax-region-tax-override-create-I5FQMBBC.js → tax-region-tax-override-create-M4NJX2F4.js} +3 -3
  140. package/dist/{tax-region-tax-override-edit-4X56DGNL.js → tax-region-tax-override-edit-LMMRTZZG.js} +3 -3
  141. package/dist/{user-invite-NJZWT4M5.js → user-invite-RER7BW6S.js} +2 -2
  142. package/dist/{user-list-TR7RSGUO.js → user-list-IUJTQS5X.js} +3 -3
  143. package/package.json +1 -1
@@ -1,12 +1,15 @@
1
1
  import {
2
2
  CommissionValueFields,
3
3
  useStoreCurrencies
4
- } from "./chunk-3EQOAHVG.js";
4
+ } from "./chunk-SINWGUXZ.js";
5
5
  import {
6
6
  buildValuesPayload,
7
7
  fixedValuesFromRate
8
- } from "./chunk-STPSVH3T.js";
8
+ } from "./chunk-CGIVQ7D2.js";
9
9
  import "./chunk-MAEP2UCK.js";
10
+ import {
11
+ Combobox
12
+ } from "./chunk-AW77UWCZ.js";
10
13
  import {
11
14
  SwitchBox
12
15
  } from "./chunk-2EME4AWX.js";
@@ -28,9 +31,6 @@ import {
28
31
  } from "./chunk-ZIFHQXP3.js";
29
32
  import "./chunk-FXWKGNRV.js";
30
33
  import "./chunk-VDKOJ5WD.js";
31
- import {
32
- useDocumentDirection
33
- } from "./chunk-Y7QKP6QU.js";
34
34
  import "./chunk-RHKRREUU.js";
35
35
  import "./chunk-ZA2KFUFR.js";
36
36
  import "./chunk-ZBWL72TB.js";
@@ -38,7 +38,7 @@ import "./chunk-NBMM2TZK.js";
38
38
 
39
39
  // src/pages/commissions/commission-rule-commission-edit/commission-rule-commission-edit.tsx
40
40
  import { zodResolver } from "@hookform/resolvers/zod";
41
- import { Button, Heading, Select, toast } from "@medusajs/ui";
41
+ import { Button, Heading, toast } from "@medusajs/ui";
42
42
  import { useForm } from "react-hook-form";
43
43
  import { useTranslation } from "react-i18next";
44
44
  import { useParams } from "react-router-dom";
@@ -54,8 +54,11 @@ var EditCommissionSchema = zod.object({
54
54
  var EditCommissionForm = ({ rule }) => {
55
55
  const { t } = useTranslation();
56
56
  const { handleSuccess } = useRouteModal();
57
- const direction = useDocumentDirection();
58
57
  const { currencies } = useStoreCurrencies();
58
+ const typeOptions = [
59
+ { value: "percentage", label: t("commissions.fields.type.percentage") },
60
+ { value: "fixed", label: t("commissions.fields.type.fixed") }
61
+ ];
59
62
  const form = useForm({
60
63
  defaultValues: {
61
64
  type: rule.type,
@@ -98,25 +101,17 @@ var EditCommissionForm = ({ rule }) => {
98
101
  {
99
102
  control: form.control,
100
103
  name: "type",
101
- render: ({ field: { onChange, ref, ...field } }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
102
- /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.type.label", "Type") }),
103
- /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(Select, { ...field, onValueChange: onChange, dir: direction, children: [
104
- /* @__PURE__ */ jsx(
105
- Select.Trigger,
106
- {
107
- ref,
108
- "data-testid": "commission-edit-type-select",
109
- children: /* @__PURE__ */ jsx(Select.Value, {})
110
- }
111
- ),
112
- /* @__PURE__ */ jsxs(Select.Content, { children: [
113
- /* @__PURE__ */ jsx(Select.Item, { value: "percentage", children: t(
114
- "commissions.fields.type.percentage",
115
- "Percentage"
116
- ) }),
117
- /* @__PURE__ */ jsx(Select.Item, { value: "fixed", children: t("commissions.fields.type.fixed", "Fixed") })
118
- ] })
119
- ] }) }),
104
+ render: ({ field }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
105
+ /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.type.label") }),
106
+ /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
107
+ Combobox,
108
+ {
109
+ ...field,
110
+ options: typeOptions,
111
+ forceHideInput: true,
112
+ "data-testid": "commission-edit-type-select"
113
+ }
114
+ ) }),
120
115
  /* @__PURE__ */ jsx(Form.ErrorMessage, {})
121
116
  ] })
122
117
  }
@@ -134,11 +129,8 @@ var EditCommissionForm = ({ rule }) => {
134
129
  {
135
130
  control: form.control,
136
131
  name: "include_tax",
137
- label: t("commissions.fields.taxIncluded", "Tax included"),
138
- description: t(
139
- "commissions.fields.taxIncludedHint",
140
- "If checked, commission is calculated on the total including tax."
141
- )
132
+ label: t("commissions.fields.taxIncluded"),
133
+ description: t("commissions.fields.taxIncludedHint")
142
134
  }
143
135
  ),
144
136
  /* @__PURE__ */ jsx(
@@ -146,14 +138,8 @@ var EditCommissionForm = ({ rule }) => {
146
138
  {
147
139
  control: form.control,
148
140
  name: "include_shipping",
149
- label: t(
150
- "commissions.fields.shippingIncluded",
151
- "Shipping included"
152
- ),
153
- description: t(
154
- "commissions.fields.shippingIncludedHint",
155
- "If checked, commission is calculated on the total including shipping."
156
- )
141
+ label: t("commissions.fields.shippingIncluded"),
142
+ description: t("commissions.fields.shippingIncludedHint")
157
143
  }
158
144
  )
159
145
  ] }) }),
@@ -185,8 +171,8 @@ var CommissionRuleCommissionEdit = () => {
185
171
  }
186
172
  return /* @__PURE__ */ jsxs(RouteDrawer, { children: [
187
173
  /* @__PURE__ */ jsxs(RouteDrawer.Header, { children: [
188
- /* @__PURE__ */ jsx(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { children: t("commissions.commissionEdit.header", "Edit Commission") }) }),
189
- /* @__PURE__ */ jsx(RouteDrawer.Description, { className: "sr-only", children: t("commissions.commissionEdit.header", "Edit Commission") })
174
+ /* @__PURE__ */ jsx(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { children: t("commissions.commissionEdit.header") }) }),
175
+ /* @__PURE__ */ jsx(RouteDrawer.Description, { className: "sr-only", children: t("commissions.commissionEdit.header") })
190
176
  ] }),
191
177
  ready && /* @__PURE__ */ jsx(EditCommissionForm, { rule: commission_rate })
192
178
  ] });
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  CommissionValueFields,
3
3
  useStoreCurrencies
4
- } from "./chunk-3EQOAHVG.js";
4
+ } from "./chunk-SINWGUXZ.js";
5
5
  import "./chunk-QR3GYYX6.js";
6
6
  import {
7
7
  SCOPE_TYPE_DIMENSIONS,
8
8
  buildRulesFromScope,
9
9
  buildValuesPayload
10
- } from "./chunk-STPSVH3T.js";
10
+ } from "./chunk-CGIVQ7D2.js";
11
11
  import "./chunk-MAEP2UCK.js";
12
12
  import {
13
13
  useComboboxData
@@ -39,9 +39,6 @@ import {
39
39
  } from "./chunk-ZIFHQXP3.js";
40
40
  import "./chunk-FXWKGNRV.js";
41
41
  import "./chunk-VDKOJ5WD.js";
42
- import {
43
- useDocumentDirection
44
- } from "./chunk-Y7QKP6QU.js";
45
42
  import "./chunk-RHKRREUU.js";
46
43
  import "./chunk-ZA2KFUFR.js";
47
44
  import {
@@ -60,62 +57,35 @@ import { useForm } from "react-hook-form";
60
57
  import { useTranslation as useTranslation3 } from "react-i18next";
61
58
 
62
59
  // src/pages/commissions/commission-rule-create/components/create-commission-rule-form/create-commission-rule-commission.tsx
63
- import { Heading, RadioGroup } from "@medusajs/ui";
60
+ import { Heading } from "@medusajs/ui";
64
61
  import { useTranslation } from "react-i18next";
65
62
  import { jsx, jsxs } from "react/jsx-runtime";
66
63
  var CreateCommissionRuleCommission = () => {
67
64
  const { t } = useTranslation();
68
65
  const form = useTabbedForm();
69
- const direction = useDocumentDirection();
70
66
  const { currencies } = useStoreCurrencies();
71
67
  const commissionType = form.watch("commissionType");
68
+ const typeOptions = [
69
+ { value: "percentage", label: t("commissions.fields.type.percentage") },
70
+ { value: "fixed", label: t("commissions.fields.type.fixed") }
71
+ ];
72
72
  return /* @__PURE__ */ jsx("div", { className: "flex flex-col items-center p-16", children: /* @__PURE__ */ jsxs("div", { className: "flex w-full max-w-[720px] flex-col gap-y-8", children: [
73
- /* @__PURE__ */ jsx(Heading, { children: t("commissions.create.commission", "Commission") }),
73
+ /* @__PURE__ */ jsx(Heading, { children: t("commissions.create.commission") }),
74
74
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-4", children: [
75
75
  /* @__PURE__ */ jsx(
76
76
  Form.Field,
77
77
  {
78
78
  control: form.control,
79
79
  name: "commissionType",
80
- render: ({ field: { onChange, ...rest } }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
81
- /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.type.label", "Type") }),
82
- /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
83
- RadioGroup,
80
+ render: ({ field }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
81
+ /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.type.label") }),
82
+ /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
83
+ Combobox,
84
84
  {
85
- dir: direction,
86
- onValueChange: onChange,
87
- ...rest,
88
- className: "grid grid-cols-1 gap-4 md:grid-cols-2",
89
- "data-testid": "commission-rule-commission-type-radio-group",
90
- children: [
91
- /* @__PURE__ */ jsx(
92
- RadioGroup.ChoiceBox,
93
- {
94
- value: "percentage",
95
- label: t(
96
- "commissions.fields.type.percentage",
97
- "Percentage"
98
- ),
99
- description: t(
100
- "commissions.fields.type.percentageHint",
101
- "Charge a percentage of the order total."
102
- ),
103
- "data-testid": "commission-rule-commission-type-option-percentage"
104
- }
105
- ),
106
- /* @__PURE__ */ jsx(
107
- RadioGroup.ChoiceBox,
108
- {
109
- value: "fixed",
110
- label: t("commissions.fields.type.fixed", "Fixed"),
111
- description: t(
112
- "commissions.fields.type.fixedHint",
113
- "Charge a fixed amount per order."
114
- ),
115
- "data-testid": "commission-rule-commission-type-option-fixed"
116
- }
117
- )
118
- ]
85
+ ...field,
86
+ options: typeOptions,
87
+ forceHideInput: true,
88
+ "data-testid": "commission-rule-commission-type-select"
119
89
  }
120
90
  ) }),
121
91
  /* @__PURE__ */ jsx(Form.ErrorMessage, {})
@@ -137,11 +107,8 @@ var CreateCommissionRuleCommission = () => {
137
107
  {
138
108
  control: form.control,
139
109
  name: "include_tax",
140
- label: t("commissions.fields.taxIncluded", "Tax included"),
141
- description: t(
142
- "commissions.fields.taxIncludedHint",
143
- "If checked, commission is calculated based on the total amount including tax. If unchecked, tax is excluded and goes entirely to the store."
144
- )
110
+ label: t("commissions.fields.taxIncluded"),
111
+ description: t("commissions.fields.taxIncludedHint")
145
112
  }
146
113
  ),
147
114
  /* @__PURE__ */ jsx(
@@ -149,14 +116,8 @@ var CreateCommissionRuleCommission = () => {
149
116
  {
150
117
  control: form.control,
151
118
  name: "include_shipping",
152
- label: t(
153
- "commissions.fields.shippingIncluded",
154
- "Shipping included"
155
- ),
156
- description: t(
157
- "commissions.fields.shippingIncludedHint",
158
- "If checked, commission is calculated based on the total amount including shipping. If unchecked, shipping fees go entirely to the store."
159
- )
119
+ label: t("commissions.fields.shippingIncluded"),
120
+ description: t("commissions.fields.shippingIncludedHint")
160
121
  }
161
122
  )
162
123
  ] })
@@ -169,15 +130,30 @@ CreateCommissionRuleCommission._tabMeta = defineTabMeta({
169
130
  });
170
131
 
171
132
  // src/pages/commissions/commission-rule-create/components/create-commission-rule-form/create-commission-rule-details.tsx
172
- import { Heading as Heading2, Input, RadioGroup as RadioGroup2 } from "@medusajs/ui";
133
+ import { Heading as Heading2, Input } from "@medusajs/ui";
173
134
  import { useTranslation as useTranslation2 } from "react-i18next";
174
135
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
175
136
  var CreateCommissionRuleDetails = () => {
176
137
  const { t } = useTranslation2();
177
138
  const form = useTabbedForm();
178
- const direction = useDocumentDirection();
179
139
  const scopeType = form.watch("scopeType");
180
140
  const dimensions = SCOPE_TYPE_DIMENSIONS[scopeType];
141
+ const scopeTypeOptions = [
142
+ { value: "store", label: t("commissions.fields.scopeType.store") },
143
+ {
144
+ value: "product_type",
145
+ label: t("commissions.fields.scopeType.productType")
146
+ },
147
+ { value: "category", label: t("commissions.fields.scopeType.category") },
148
+ {
149
+ value: "store_product_type",
150
+ label: t("commissions.fields.scopeType.storeProductType")
151
+ },
152
+ {
153
+ value: "store_category",
154
+ label: t("commissions.fields.scopeType.storeCategory")
155
+ }
156
+ ];
181
157
  const stores = useComboboxData({
182
158
  queryKey: ["commission_stores"],
183
159
  queryFn: (params) => sdk.admin.sellers.query({ ...params }),
@@ -203,7 +179,7 @@ var CreateCommissionRuleDetails = () => {
203
179
  }))
204
180
  });
205
181
  return /* @__PURE__ */ jsx2("div", { className: "flex flex-col items-center p-16", children: /* @__PURE__ */ jsxs2("div", { className: "flex w-full max-w-[720px] flex-col gap-y-8", children: [
206
- /* @__PURE__ */ jsx2(Heading2, { children: t("commissions.create.details", "Details") }),
182
+ /* @__PURE__ */ jsx2(Heading2, { children: t("commissions.create.details") }),
207
183
  /* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-y-4", children: [
208
184
  /* @__PURE__ */ jsx2(
209
185
  Form.Field,
@@ -222,90 +198,15 @@ var CreateCommissionRuleDetails = () => {
222
198
  {
223
199
  control: form.control,
224
200
  name: "scopeType",
225
- render: ({ field: { onChange, ...rest } }) => /* @__PURE__ */ jsxs2(Form.Item, { children: [
226
- /* @__PURE__ */ jsx2(Form.Label, { children: t("commissions.fields.scopeType.label", "Type") }),
227
- /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsxs2(
228
- RadioGroup2,
201
+ render: ({ field }) => /* @__PURE__ */ jsxs2(Form.Item, { children: [
202
+ /* @__PURE__ */ jsx2(Form.Label, { children: t("commissions.fields.scopeType.label") }),
203
+ /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsx2(
204
+ Combobox,
229
205
  {
230
- dir: direction,
231
- onValueChange: onChange,
232
- ...rest,
233
- className: "grid grid-cols-1 gap-4 md:grid-cols-2",
234
- "data-testid": "commission-rule-scope-type-radio-group",
235
- children: [
236
- /* @__PURE__ */ jsx2(
237
- RadioGroup2.ChoiceBox,
238
- {
239
- value: "store",
240
- label: t("commissions.fields.scopeType.store", "Store"),
241
- description: t(
242
- "commissions.fields.scopeType.storeHint",
243
- "Apply to specific stores."
244
- ),
245
- "data-testid": "commission-rule-scope-type-option-store"
246
- }
247
- ),
248
- /* @__PURE__ */ jsx2(
249
- RadioGroup2.ChoiceBox,
250
- {
251
- value: "product_type",
252
- label: t(
253
- "commissions.fields.scopeType.productType",
254
- "Product Type"
255
- ),
256
- description: t(
257
- "commissions.fields.scopeType.productTypeHint",
258
- "Apply to specific product types."
259
- ),
260
- "data-testid": "commission-rule-scope-type-option-product-type"
261
- }
262
- ),
263
- /* @__PURE__ */ jsx2(
264
- RadioGroup2.ChoiceBox,
265
- {
266
- value: "category",
267
- label: t(
268
- "commissions.fields.scopeType.category",
269
- "Category"
270
- ),
271
- description: t(
272
- "commissions.fields.scopeType.categoryHint",
273
- "Apply to specific categories."
274
- ),
275
- "data-testid": "commission-rule-scope-type-option-category"
276
- }
277
- ),
278
- /* @__PURE__ */ jsx2(
279
- RadioGroup2.ChoiceBox,
280
- {
281
- value: "store_product_type",
282
- label: t(
283
- "commissions.fields.scopeType.storeProductType",
284
- "Store + Product Type"
285
- ),
286
- description: t(
287
- "commissions.fields.scopeType.storeProductTypeHint",
288
- "Apply to product types within specific stores."
289
- ),
290
- "data-testid": "commission-rule-scope-type-option-store-product-type"
291
- }
292
- ),
293
- /* @__PURE__ */ jsx2(
294
- RadioGroup2.ChoiceBox,
295
- {
296
- value: "store_category",
297
- label: t(
298
- "commissions.fields.scopeType.storeCategory",
299
- "Store + Category"
300
- ),
301
- description: t(
302
- "commissions.fields.scopeType.storeCategoryHint",
303
- "Apply to categories within specific stores."
304
- ),
305
- "data-testid": "commission-rule-scope-type-option-store-category"
306
- }
307
- )
308
- ]
206
+ ...field,
207
+ options: scopeTypeOptions,
208
+ forceHideInput: true,
209
+ "data-testid": "commission-rule-scope-type-select"
309
210
  }
310
211
  ) }),
311
212
  /* @__PURE__ */ jsx2(Form.ErrorMessage, {})
@@ -318,7 +219,7 @@ var CreateCommissionRuleDetails = () => {
318
219
  control: form.control,
319
220
  name: "stores",
320
221
  render: ({ field }) => /* @__PURE__ */ jsxs2(Form.Item, { children: [
321
- /* @__PURE__ */ jsx2(Form.Label, { children: t("commissions.fields.stores", "Stores") }),
222
+ /* @__PURE__ */ jsx2(Form.Label, { children: t("commissions.fields.stores") }),
322
223
  /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsx2(
323
224
  Combobox,
324
225
  {
@@ -339,7 +240,7 @@ var CreateCommissionRuleDetails = () => {
339
240
  control: form.control,
340
241
  name: "productTypes",
341
242
  render: ({ field }) => /* @__PURE__ */ jsxs2(Form.Item, { children: [
342
- /* @__PURE__ */ jsx2(Form.Label, { children: t("commissions.fields.productTypes", "Product Types") }),
243
+ /* @__PURE__ */ jsx2(Form.Label, { children: t("commissions.fields.productTypes") }),
343
244
  /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsx2(
344
245
  Combobox,
345
246
  {
@@ -360,7 +261,7 @@ var CreateCommissionRuleDetails = () => {
360
261
  control: form.control,
361
262
  name: "categories",
362
263
  render: ({ field }) => /* @__PURE__ */ jsxs2(Form.Item, { children: [
363
- /* @__PURE__ */ jsx2(Form.Label, { children: t("commissions.fields.categories", "Categories") }),
264
+ /* @__PURE__ */ jsx2(Form.Label, { children: t("commissions.fields.categories") }),
364
265
  /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsx2(
365
266
  Combobox,
366
267
  {
@@ -515,8 +416,8 @@ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
515
416
  var Root = ({ children }) => {
516
417
  const { t } = useTranslation4();
517
418
  return /* @__PURE__ */ jsxs4(RouteFocusModal, { children: [
518
- /* @__PURE__ */ jsx4(RouteFocusModal.Title, { asChild: true, children: /* @__PURE__ */ jsx4("span", { className: "sr-only", children: t("commissions.create.header", "Create Commission Rule") }) }),
519
- /* @__PURE__ */ jsx4(RouteFocusModal.Description, { asChild: true, children: /* @__PURE__ */ jsx4("span", { className: "sr-only", children: t("commissions.create.header", "Create Commission Rule") }) }),
419
+ /* @__PURE__ */ jsx4(RouteFocusModal.Title, { asChild: true, children: /* @__PURE__ */ jsx4("span", { className: "sr-only", children: t("commissions.create.header") }) }),
420
+ /* @__PURE__ */ jsx4(RouteFocusModal.Description, { asChild: true, children: /* @__PURE__ */ jsx4("span", { className: "sr-only", children: t("commissions.create.header") }) }),
520
421
  Children.count(children) > 0 ? children : /* @__PURE__ */ jsx4(CreateCommissionRuleForm, {})
521
422
  ] });
522
423
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  CommissionRuleDetail
3
- } from "./chunk-ASNNJIW7.js";
4
- import "./chunk-BHJFT3ST.js";
5
- import "./chunk-STPSVH3T.js";
3
+ } from "./chunk-4INT6ILW.js";
4
+ import "./chunk-3MC3ZGY2.js";
5
+ import "./chunk-CGIVQ7D2.js";
6
6
  import "./chunk-FI474ADU.js";
7
7
  import "./chunk-3XPXUIK3.js";
8
8
  import "./chunk-E74OUNA3.js";
@@ -4,7 +4,7 @@ import {
4
4
  deriveScopeType,
5
5
  diffScopeRules,
6
6
  referenceIds
7
- } from "./chunk-STPSVH3T.js";
7
+ } from "./chunk-CGIVQ7D2.js";
8
8
  import {
9
9
  useComboboxData
10
10
  } from "./chunk-5KGMGL4N.js";
@@ -142,7 +142,7 @@ var EditCommissionRuleForm = ({ rule }) => {
142
142
  control: form.control,
143
143
  name: "status",
144
144
  render: ({ field: { onChange, ref, ...field } }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
145
- /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.status", "Status") }),
145
+ /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.status") }),
146
146
  /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(Select, { ...field, onValueChange: onChange, dir: direction, children: [
147
147
  /* @__PURE__ */ jsx(
148
148
  Select.Trigger,
@@ -153,8 +153,8 @@ var EditCommissionRuleForm = ({ rule }) => {
153
153
  }
154
154
  ),
155
155
  /* @__PURE__ */ jsxs(Select.Content, { children: [
156
- /* @__PURE__ */ jsx(Select.Item, { value: "active", children: t("commissions.status.enabled", "Active") }),
157
- /* @__PURE__ */ jsx(Select.Item, { value: "inactive", children: t("commissions.status.disabled", "Inactive") })
156
+ /* @__PURE__ */ jsx(Select.Item, { value: "active", children: t("commissions.status.enabled") }),
157
+ /* @__PURE__ */ jsx(Select.Item, { value: "inactive", children: t("commissions.status.disabled") })
158
158
  ] })
159
159
  ] }) }),
160
160
  /* @__PURE__ */ jsx(Form.ErrorMessage, {})
@@ -186,7 +186,7 @@ var EditCommissionRuleForm = ({ rule }) => {
186
186
  control: form.control,
187
187
  name: "code",
188
188
  render: ({ field }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
189
- /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.code", "Code") }),
189
+ /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.code") }),
190
190
  /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
191
191
  Input,
192
192
  {
@@ -205,7 +205,7 @@ var EditCommissionRuleForm = ({ rule }) => {
205
205
  control: form.control,
206
206
  name: "scopeType",
207
207
  render: ({ field: { onChange, ref, ...field } }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
208
- /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.scopeType.label", "Type") }),
208
+ /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.scopeType.label") }),
209
209
  /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(Select, { ...field, onValueChange: onChange, dir: direction, children: [
210
210
  /* @__PURE__ */ jsx(
211
211
  Select.Trigger,
@@ -216,23 +216,11 @@ var EditCommissionRuleForm = ({ rule }) => {
216
216
  }
217
217
  ),
218
218
  /* @__PURE__ */ jsxs(Select.Content, { children: [
219
- /* @__PURE__ */ jsx(Select.Item, { value: "store", children: t("commissions.fields.scopeType.store", "Store") }),
220
- /* @__PURE__ */ jsx(Select.Item, { value: "product_type", children: t(
221
- "commissions.fields.scopeType.productType",
222
- "Product Type"
223
- ) }),
224
- /* @__PURE__ */ jsx(Select.Item, { value: "category", children: t(
225
- "commissions.fields.scopeType.category",
226
- "Category"
227
- ) }),
228
- /* @__PURE__ */ jsx(Select.Item, { value: "store_product_type", children: t(
229
- "commissions.fields.scopeType.storeProductType",
230
- "Store + Product Type"
231
- ) }),
232
- /* @__PURE__ */ jsx(Select.Item, { value: "store_category", children: t(
233
- "commissions.fields.scopeType.storeCategory",
234
- "Store + Category"
235
- ) })
219
+ /* @__PURE__ */ jsx(Select.Item, { value: "store", children: t("commissions.fields.scopeType.store") }),
220
+ /* @__PURE__ */ jsx(Select.Item, { value: "product_type", children: t("commissions.fields.scopeType.productType") }),
221
+ /* @__PURE__ */ jsx(Select.Item, { value: "category", children: t("commissions.fields.scopeType.category") }),
222
+ /* @__PURE__ */ jsx(Select.Item, { value: "store_product_type", children: t("commissions.fields.scopeType.storeProductType") }),
223
+ /* @__PURE__ */ jsx(Select.Item, { value: "store_category", children: t("commissions.fields.scopeType.storeCategory") })
236
224
  ] })
237
225
  ] }) }),
238
226
  /* @__PURE__ */ jsx(Form.ErrorMessage, {})
@@ -245,7 +233,7 @@ var EditCommissionRuleForm = ({ rule }) => {
245
233
  control: form.control,
246
234
  name: "stores",
247
235
  render: ({ field }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
248
- /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.stores", "Stores") }),
236
+ /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.stores") }),
249
237
  /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
250
238
  Combobox,
251
239
  {
@@ -266,7 +254,7 @@ var EditCommissionRuleForm = ({ rule }) => {
266
254
  control: form.control,
267
255
  name: "productTypes",
268
256
  render: ({ field }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
269
- /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.productTypes", "Product Types") }),
257
+ /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.productTypes") }),
270
258
  /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
271
259
  Combobox,
272
260
  {
@@ -287,7 +275,7 @@ var EditCommissionRuleForm = ({ rule }) => {
287
275
  control: form.control,
288
276
  name: "categories",
289
277
  render: ({ field }) => /* @__PURE__ */ jsxs(Form.Item, { children: [
290
- /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.categories", "Categories") }),
278
+ /* @__PURE__ */ jsx(Form.Label, { children: t("commissions.fields.categories") }),
291
279
  /* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
292
280
  Combobox,
293
281
  {
@@ -331,8 +319,8 @@ var CommissionRuleEdit = () => {
331
319
  }
332
320
  return /* @__PURE__ */ jsxs(RouteDrawer, { children: [
333
321
  /* @__PURE__ */ jsxs(RouteDrawer.Header, { children: [
334
- /* @__PURE__ */ jsx(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { children: t("commissions.edit.header", "Edit Commission Rule") }) }),
335
- /* @__PURE__ */ jsx(RouteDrawer.Description, { className: "sr-only", children: t("commissions.edit.header", "Edit Commission Rule") })
322
+ /* @__PURE__ */ jsx(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx(Heading, { children: t("commissions.edit.header") }) }),
323
+ /* @__PURE__ */ jsx(RouteDrawer.Description, { className: "sr-only", children: t("commissions.edit.header") })
336
324
  ] }),
337
325
  ready && /* @__PURE__ */ jsx(EditCommissionRuleForm, { rule: commission_rate })
338
326
  ] });
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CommissionsPage
3
- } from "./chunk-PAGH4K4C.js";
4
- import "./chunk-BHJFT3ST.js";
5
- import "./chunk-STPSVH3T.js";
3
+ } from "./chunk-45HY2CTD.js";
4
+ import "./chunk-3MC3ZGY2.js";
5
+ import "./chunk-CGIVQ7D2.js";
6
6
  import "./chunk-JHIMVLB2.js";
7
7
  import "./chunk-DB6ANJBO.js";
8
8
  import "./chunk-PHOCVOZ5.js";
9
9
  import "./chunk-FQERBIVS.js";
10
- import "./chunk-NQEXDLYH.js";
10
+ import "./chunk-JGCGVEFZ.js";
11
11
  import "./chunk-YN3FGNJM.js";
12
12
  import "./chunk-KAZ5BYTQ.js";
13
- import "./chunk-634XVU3D.js";
13
+ import "./chunk-PAYQJPGK.js";
14
14
  import "./chunk-FI474ADU.js";
15
15
  import "./chunk-3XPXUIK3.js";
16
16
  import "./chunk-E74OUNA3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CustomerDetailPage
3
- } from "./chunk-R2UDZINP.js";
3
+ } from "./chunk-PSM56FCC.js";
4
4
  import "./chunk-54EPH67T.js";
5
5
  import "./chunk-AKSUGT5I.js";
6
6
  import "./chunk-QUHSHIAC.js";
@@ -12,10 +12,10 @@ import "./chunk-JHIMVLB2.js";
12
12
  import "./chunk-DB6ANJBO.js";
13
13
  import "./chunk-PHOCVOZ5.js";
14
14
  import "./chunk-FQERBIVS.js";
15
- import "./chunk-NQEXDLYH.js";
15
+ import "./chunk-JGCGVEFZ.js";
16
16
  import "./chunk-YN3FGNJM.js";
17
17
  import "./chunk-KAZ5BYTQ.js";
18
- import "./chunk-634XVU3D.js";
18
+ import "./chunk-PAYQJPGK.js";
19
19
  import "./chunk-IQPN4PZJ.js";
20
20
  import "./chunk-E74OUNA3.js";
21
21
  import "./chunk-H6MYB7GB.js";
@@ -14,10 +14,10 @@ import "./chunk-FQERBIVS.js";
14
14
  import {
15
15
  _DataTable,
16
16
  useDataTable
17
- } from "./chunk-NQEXDLYH.js";
17
+ } from "./chunk-JGCGVEFZ.js";
18
18
  import "./chunk-YN3FGNJM.js";
19
19
  import "./chunk-KAZ5BYTQ.js";
20
- import "./chunk-634XVU3D.js";
20
+ import "./chunk-PAYQJPGK.js";
21
21
  import "./chunk-TKGWSUEI.js";
22
22
  import {
23
23
  KeyboundForm
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CUSTOMER_GROUP_DETAIL_FIELDS,
3
3
  CustomerGroupDetailPage
4
- } from "./chunk-PAEKCYFU.js";
4
+ } from "./chunk-MYDNPTDK.js";
5
5
  import "./chunk-QG6PLWNH.js";
6
6
  import "./chunk-XIFE4VUR.js";
7
7
  import "./chunk-PVZBDWLK.js";
@@ -9,10 +9,10 @@ import "./chunk-25LYVP3C.js";
9
9
  import "./chunk-DB6ANJBO.js";
10
10
  import "./chunk-PHOCVOZ5.js";
11
11
  import "./chunk-FQERBIVS.js";
12
- import "./chunk-NQEXDLYH.js";
12
+ import "./chunk-JGCGVEFZ.js";
13
13
  import "./chunk-YN3FGNJM.js";
14
14
  import "./chunk-KAZ5BYTQ.js";
15
- import "./chunk-634XVU3D.js";
15
+ import "./chunk-PAYQJPGK.js";
16
16
  import "./chunk-E74OUNA3.js";
17
17
  import "./chunk-H6MYB7GB.js";
18
18
  import "./chunk-UZWFZMOX.js";