@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,11 +1,11 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-4GPLGY6N.js";
4
+ } from "./chunk-TY6PRG7C.js";
5
5
  import {
6
6
  usePromotionTableFilters
7
7
  } from "./chunk-S2WEYEQR.js";
8
- import "./chunk-2K7FJQGS.js";
8
+ import "./chunk-7I7FFT4A.js";
9
9
  import "./chunk-JHIMVLB2.js";
10
10
  import "./chunk-FMFVTERD.js";
11
11
  import "./chunk-DB6ANJBO.js";
@@ -14,11 +14,11 @@ 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";
21
- import "./chunk-63LSFKES.js";
20
+ import "./chunk-PAYQJPGK.js";
21
+ import "./chunk-4KLVH4XT.js";
22
22
  import "./chunk-TKGWSUEI.js";
23
23
  import {
24
24
  KeyboundForm
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  ApiKeyManagementListPage
3
- } from "./chunk-FBD7WJPO.js";
3
+ } from "./chunk-EWTSVKNN.js";
4
4
  import "./chunk-XFR5JLNF.js";
5
5
  import "./chunk-25LYVP3C.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-E74OUNA3.js";
15
15
  import "./chunk-H6MYB7GB.js";
16
16
  import "./chunk-UZWFZMOX.js";
@@ -6,12 +6,12 @@ import "./chunk-FQERBIVS.js";
6
6
  import {
7
7
  _DataTable,
8
8
  useDataTable
9
- } from "./chunk-NQEXDLYH.js";
9
+ } from "./chunk-JGCGVEFZ.js";
10
10
  import "./chunk-YN3FGNJM.js";
11
11
  import "./chunk-KAZ5BYTQ.js";
12
12
  import {
13
13
  NoRecords
14
- } from "./chunk-634XVU3D.js";
14
+ } from "./chunk-PAYQJPGK.js";
15
15
  import {
16
16
  SectionRow
17
17
  } from "./chunk-3XPXUIK3.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AttributeListPage,
3
3
  attributeListLoader
4
- } from "./chunk-22EOFXNK.js";
4
+ } from "./chunk-CPL24ZKA.js";
5
5
  import "./chunk-JHIMVLB2.js";
6
6
  import "./chunk-PHOCVOZ5.js";
7
7
  import "./chunk-FQERBIVS.js";
8
- import "./chunk-NQEXDLYH.js";
8
+ import "./chunk-JGCGVEFZ.js";
9
9
  import "./chunk-YN3FGNJM.js";
10
10
  import "./chunk-KAZ5BYTQ.js";
11
- import "./chunk-634XVU3D.js";
11
+ import "./chunk-PAYQJPGK.js";
12
12
  import "./chunk-RT6L7JXU.js";
13
13
  import "./chunk-4YWKKCTT.js";
14
14
  import "./chunk-E74OUNA3.js";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  CAMPAIGN_DETAIL_FIELDS,
3
3
  CampaignDetailPage
4
- } from "./chunk-JKFCU3LQ.js";
5
- import "./chunk-4GPLGY6N.js";
4
+ } from "./chunk-2KOE4QV6.js";
5
+ import "./chunk-TY6PRG7C.js";
6
6
  import "./chunk-S2WEYEQR.js";
7
7
  import "./chunk-RK5N3XIX.js";
8
- import "./chunk-2K7FJQGS.js";
8
+ import "./chunk-7I7FFT4A.js";
9
9
  import "./chunk-JHIMVLB2.js";
10
10
  import "./chunk-FMFVTERD.js";
11
11
  import "./chunk-DB6ANJBO.js";
12
12
  import "./chunk-PHOCVOZ5.js";
13
13
  import "./chunk-FQERBIVS.js";
14
- import "./chunk-NQEXDLYH.js";
14
+ import "./chunk-JGCGVEFZ.js";
15
15
  import "./chunk-YN3FGNJM.js";
16
16
  import "./chunk-KAZ5BYTQ.js";
17
- import "./chunk-634XVU3D.js";
18
- import "./chunk-63LSFKES.js";
17
+ import "./chunk-PAYQJPGK.js";
18
+ import "./chunk-4KLVH4XT.js";
19
19
  import "./chunk-IQPN4PZJ.js";
20
20
  import "./chunk-E74OUNA3.js";
21
21
  import "./chunk-H6MYB7GB.js";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CampaignListPage
3
- } from "./chunk-MVNO35S5.js";
3
+ } from "./chunk-NVBITQAB.js";
4
4
  import "./chunk-HINXQTCW.js";
5
5
  import "./chunk-DY3XQPHC.js";
6
6
  import "./chunk-25LYVP3C.js";
7
7
  import "./chunk-JHIMVLB2.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-E74OUNA3.js";
15
15
  import "./chunk-H6MYB7GB.js";
16
16
  import "./chunk-UZWFZMOX.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CategoryDetailPage
3
- } from "./chunk-746L7AHM.js";
3
+ } from "./chunk-OQTFMCR7.js";
4
4
  import "./chunk-7AV5EJJ5.js";
5
5
  import "./chunk-WJGABDWC.js";
6
6
  import "./chunk-Y456KVIN.js";
@@ -13,10 +13,10 @@ import "./chunk-LYZDVZWA.js";
13
13
  import "./chunk-DB6ANJBO.js";
14
14
  import "./chunk-PHOCVOZ5.js";
15
15
  import "./chunk-FQERBIVS.js";
16
- import "./chunk-NQEXDLYH.js";
16
+ import "./chunk-JGCGVEFZ.js";
17
17
  import "./chunk-YN3FGNJM.js";
18
18
  import "./chunk-KAZ5BYTQ.js";
19
- import "./chunk-634XVU3D.js";
19
+ import "./chunk-PAYQJPGK.js";
20
20
  import "./chunk-VSLHL2AZ.js";
21
21
  import "./chunk-E74OUNA3.js";
22
22
  import "./chunk-WIYFXWRI.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CategoryListPage
3
- } from "./chunk-UWKKDBBZ.js";
3
+ } from "./chunk-W7ZOQUWH.js";
4
4
  import "./chunk-WJGABDWC.js";
5
5
  import "./chunk-JHIMVLB2.js";
6
6
  import "./chunk-Y456KVIN.js";
@@ -8,10 +8,10 @@ import "./chunk-PZ27H46M.js";
8
8
  import "./chunk-DB6ANJBO.js";
9
9
  import "./chunk-PHOCVOZ5.js";
10
10
  import "./chunk-FQERBIVS.js";
11
- import "./chunk-NQEXDLYH.js";
11
+ import "./chunk-JGCGVEFZ.js";
12
12
  import "./chunk-YN3FGNJM.js";
13
13
  import "./chunk-KAZ5BYTQ.js";
14
- import "./chunk-634XVU3D.js";
14
+ import "./chunk-PAYQJPGK.js";
15
15
  import "./chunk-VSLHL2AZ.js";
16
16
  import "./chunk-E74OUNA3.js";
17
17
  import "./chunk-WIYFXWRI.js";
@@ -15,10 +15,10 @@ import "./chunk-FQERBIVS.js";
15
15
  import {
16
16
  _DataTable,
17
17
  useDataTable
18
- } from "./chunk-NQEXDLYH.js";
18
+ } from "./chunk-JGCGVEFZ.js";
19
19
  import "./chunk-YN3FGNJM.js";
20
20
  import "./chunk-KAZ5BYTQ.js";
21
- import "./chunk-634XVU3D.js";
21
+ import "./chunk-PAYQJPGK.js";
22
22
  import "./chunk-TKGWSUEI.js";
23
23
  import {
24
24
  KeyboundForm
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-4GPLGY6N.js";
4
+ } from "./chunk-TY6PRG7C.js";
5
5
  import {
6
6
  usePromotionTableFilters
7
7
  } from "./chunk-S2WEYEQR.js";
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  _DataTable,
13
13
  useDataTable
14
- } from "./chunk-NQEXDLYH.js";
14
+ } from "./chunk-JGCGVEFZ.js";
15
15
  import {
16
16
  currencies
17
17
  } from "./chunk-IQPN4PZJ.js";
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  _DataTable,
14
14
  useDataTable
15
- } from "./chunk-NQEXDLYH.js";
15
+ } from "./chunk-JGCGVEFZ.js";
16
16
  import {
17
17
  StackedFocusModal,
18
18
  useStackedModal
@@ -2,7 +2,7 @@ import {
2
2
  TaxOverrideTable,
3
3
  TaxRateLine,
4
4
  useTaxOverrideTable
5
- } from "./chunk-3FN3YH2F.js";
5
+ } from "./chunk-X4RTQG5W.js";
6
6
  import {
7
7
  TaxRegionCard
8
8
  } from "./chunk-Q2ULPJJ6.js";
@@ -22,7 +22,7 @@ var useDeleteCommissionRuleAction = (rule) => {
22
22
  const { mutateAsync } = useDeleteCommissionRule(rule.id);
23
23
  return async () => {
24
24
  const confirmed = await prompt({
25
- title: t("commissions.delete.title", "Delete commission rule"),
25
+ title: t("commissions.delete.title"),
26
26
  description: t("commissions.delete.description", {
27
27
  name: rule.name,
28
28
  defaultValue: `You are about to delete commission rule ${rule.name}. This action cannot be undone.`
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  _DataTable,
12
12
  useDataTable
13
- } from "./chunk-NQEXDLYH.js";
13
+ } from "./chunk-JGCGVEFZ.js";
14
14
  import {
15
15
  StackedDrawer,
16
16
  StackedFocusModal
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  useDeleteCommissionRuleAction,
3
3
  useScopeReferenceNames
4
- } from "./chunk-BHJFT3ST.js";
4
+ } from "./chunk-3MC3ZGY2.js";
5
5
  import {
6
6
  formatCommissionValue,
7
7
  getIsActiveProps,
8
8
  getScopeSummary,
9
9
  getScopeTypeLabel
10
- } from "./chunk-STPSVH3T.js";
10
+ } from "./chunk-CGIVQ7D2.js";
11
11
  import {
12
12
  TextCell,
13
13
  TextHeader
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  _DataTable,
20
20
  useDataTable
21
- } from "./chunk-NQEXDLYH.js";
21
+ } from "./chunk-JGCGVEFZ.js";
22
22
  import {
23
23
  SectionRow
24
24
  } from "./chunk-3XPXUIK3.js";
@@ -48,7 +48,6 @@ import { Container, Heading } from "@medusajs/ui";
48
48
  import { useTranslation } from "react-i18next";
49
49
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
50
50
  var GLOBAL_COMMISSION_ROWS = [
51
- { key: "code", fallback: "Code" },
52
51
  { key: "type", fallback: "Type" },
53
52
  { key: "value", fallback: "Value" },
54
53
  { key: "tax", fallback: "Tax" },
@@ -63,7 +62,7 @@ var GlobalCommissionSection = () => {
63
62
  const rate = default_commission;
64
63
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", "data-testid": "global-commission-section", children: [
65
64
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
66
- /* @__PURE__ */ jsx(Heading, { children: t("commissions.global.title", "Global Commission") }),
65
+ /* @__PURE__ */ jsx(Heading, { children: t("commissions.global.title") }),
67
66
  /* @__PURE__ */ jsx(
68
67
  ActionMenu,
69
68
  {
@@ -92,36 +91,29 @@ var GlobalCommissionSection = () => {
92
91
  /* @__PURE__ */ jsx(
93
92
  SectionRow,
94
93
  {
95
- title: t("commissions.global.code", "Code"),
96
- value: rate.code
94
+ title: t("commissions.global.type"),
95
+ value: rate.type === "percentage" ? t("commissions.fields.type.percentage") : t("commissions.fields.type.fixed")
97
96
  }
98
97
  ),
99
98
  /* @__PURE__ */ jsx(
100
99
  SectionRow,
101
100
  {
102
- title: t("commissions.global.type", "Type"),
103
- value: rate.type === "percentage" ? t("commissions.fields.type.percentage", "Percentage") : t("commissions.fields.type.fixed", "Fixed")
104
- }
105
- ),
106
- /* @__PURE__ */ jsx(
107
- SectionRow,
108
- {
109
- title: t("commissions.global.value", "Value"),
101
+ title: t("commissions.global.value"),
110
102
  value: formatCommissionValue(rate)
111
103
  }
112
104
  ),
113
105
  /* @__PURE__ */ jsx(
114
106
  SectionRow,
115
107
  {
116
- title: t("commissions.global.tax", "Tax"),
117
- value: rate.include_tax ? t("commissions.global.included", "Included in commission") : t("commissions.global.notIncluded", "Not included")
108
+ title: t("commissions.global.tax"),
109
+ value: rate.include_tax ? t("commissions.global.included") : t("commissions.global.notIncluded")
118
110
  }
119
111
  ),
120
112
  /* @__PURE__ */ jsx(
121
113
  SectionRow,
122
114
  {
123
- title: t("commissions.global.shipping", "Shipping"),
124
- value: rate.include_shipping ? t("commissions.global.included", "Included in commission") : t("commissions.global.notIncluded", "Not included")
115
+ title: t("commissions.global.shipping"),
116
+ value: rate.include_shipping ? t("commissions.global.included") : t("commissions.global.notIncluded")
125
117
  }
126
118
  )
127
119
  ] })
@@ -147,49 +139,40 @@ var useCommissionRulesFilters = () => {
147
139
  () => [
148
140
  {
149
141
  key: "scope_type",
150
- label: t("commissions.fields.scopeType.label", "Type"),
142
+ label: t("commissions.fields.scopeType.label"),
151
143
  type: "select",
152
144
  multiple: true,
153
145
  options: [
154
146
  {
155
- label: t("commissions.fields.scopeType.store", "Store"),
147
+ label: t("commissions.fields.scopeType.store"),
156
148
  value: "store"
157
149
  },
158
150
  {
159
- label: t(
160
- "commissions.fields.scopeType.productType",
161
- "Product Type"
162
- ),
151
+ label: t("commissions.fields.scopeType.productType"),
163
152
  value: "product_type"
164
153
  },
165
154
  {
166
- label: t("commissions.fields.scopeType.category", "Category"),
155
+ label: t("commissions.fields.scopeType.category"),
167
156
  value: "category"
168
157
  },
169
158
  {
170
- label: t(
171
- "commissions.fields.scopeType.storeProductType",
172
- "Store + Product Type"
173
- ),
159
+ label: t("commissions.fields.scopeType.storeProductType"),
174
160
  value: "store_product_type"
175
161
  },
176
162
  {
177
- label: t(
178
- "commissions.fields.scopeType.storeCategory",
179
- "Store + Category"
180
- ),
163
+ label: t("commissions.fields.scopeType.storeCategory"),
181
164
  value: "store_category"
182
165
  }
183
166
  ]
184
167
  },
185
168
  {
186
169
  key: "is_enabled",
187
- label: t("commissions.fields.status", "Status"),
170
+ label: t("commissions.fields.status"),
188
171
  type: "select",
189
172
  options: [
190
- { label: t("commissions.status.enabled", "Active"), value: "true" },
173
+ { label: t("commissions.status.enabled"), value: "true" },
191
174
  {
192
- label: t("commissions.status.disabled", "Inactive"),
175
+ label: t("commissions.status.disabled"),
193
176
  value: "false"
194
177
  }
195
178
  ]
@@ -276,16 +259,13 @@ var CommissionRulesDataTable = () => {
276
259
  filters,
277
260
  navigateTo: (row) => `${row.original.id}`,
278
261
  noRecords: {
279
- title: t("commissions.rules.empty.heading", "No commission rules yet"),
280
- message: t(
281
- "commissions.rules.empty.description",
282
- "Create a commission rule to override the global commission for specific stores, product types, or categories."
283
- )
262
+ title: t("commissions.rules.empty.heading"),
263
+ message: t("commissions.rules.empty.description")
284
264
  },
285
265
  pagination: true,
286
266
  search: true,
287
267
  orderBy: [
288
- { key: "name", label: t("commissions.rules.columns.rule", "Rule") },
268
+ { key: "name", label: t("commissions.rules.columns.rule") },
289
269
  { key: "created_at", label: t("fields.createdAt") },
290
270
  { key: "updated_at", label: t("fields.updatedAt") }
291
271
  ]
@@ -327,26 +307,26 @@ var useColumns = (names) => {
327
307
  return useMemo2(
328
308
  () => [
329
309
  columnHelper.accessor("name", {
330
- header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.rule", "Rule") }),
310
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.rule") }),
331
311
  cell: ({ getValue }) => /* @__PURE__ */ jsx2(TextCell, { text: getValue() })
332
312
  }),
333
313
  columnHelper.display({
334
314
  id: "type",
335
- header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.type", "Type") }),
315
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.type") }),
336
316
  cell: ({ row }) => /* @__PURE__ */ jsx2(TextCell, { text: getScopeTypeLabel(row.original.rules, t) })
337
317
  }),
338
318
  columnHelper.display({
339
319
  id: "scope",
340
- header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.scope", "Scope") }),
320
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.scope") }),
341
321
  cell: ({ row }) => /* @__PURE__ */ jsx2(TextCell, { text: getScopeSummary(row.original.rules, names) })
342
322
  }),
343
323
  columnHelper.display({
344
324
  id: "value",
345
- header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.value", "Value") }),
325
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.value") }),
346
326
  cell: ({ row }) => /* @__PURE__ */ jsx2(TextCell, { text: formatCommissionValue(row.original) })
347
327
  }),
348
328
  columnHelper.accessor("is_enabled", {
349
- header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.status", "Status") }),
329
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("commissions.rules.columns.status") }),
350
330
  cell: ({ getValue }) => {
351
331
  const props = getIsActiveProps(getValue(), t);
352
332
  return /* @__PURE__ */ jsx2(StatusCell, { color: props.color, children: props.label });
@@ -369,7 +349,7 @@ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
369
349
  var CommissionRulesHeader = () => {
370
350
  const { t } = useTranslation4();
371
351
  return /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", children: [
372
- /* @__PURE__ */ jsx3(Heading2, { children: t("commissions.rules.title", "Commission Rules") }),
352
+ /* @__PURE__ */ jsx3(Heading2, { children: t("commissions.rules.title") }),
373
353
  /* @__PURE__ */ jsx3(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx3(Link, { to: "create", children: t("actions.create") }) })
374
354
  ] });
375
355
  };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useDeleteCommissionRuleAction,
3
3
  useScopeReferenceNames
4
- } from "./chunk-BHJFT3ST.js";
4
+ } from "./chunk-3MC3ZGY2.js";
5
5
  import {
6
6
  formatCommissionValue,
7
7
  getIsActiveProps,
8
8
  getScopeSummary,
9
9
  getScopeTypeLabel,
10
10
  referenceIds
11
- } from "./chunk-STPSVH3T.js";
11
+ } from "./chunk-CGIVQ7D2.js";
12
12
  import {
13
13
  SectionRow
14
14
  } from "./chunk-3XPXUIK3.js";
@@ -71,21 +71,14 @@ var ScopeSection = ({ rule }) => {
71
71
  /* @__PURE__ */ jsx(
72
72
  SectionRow,
73
73
  {
74
- title: t("commissions.fields.code", "Code"),
75
- value: rule.code
76
- }
77
- ),
78
- /* @__PURE__ */ jsx(
79
- SectionRow,
80
- {
81
- title: t("commissions.rules.columns.type", "Type"),
74
+ title: t("commissions.rules.columns.type"),
82
75
  value: getScopeTypeLabel(rule.rules, t)
83
76
  }
84
77
  ),
85
78
  stores.length > 0 && /* @__PURE__ */ jsx(
86
79
  SectionRow,
87
80
  {
88
- title: t("commissions.fields.stores", "Stores"),
81
+ title: t("commissions.fields.stores"),
89
82
  value: getScopeSummary(
90
83
  (rule.rules ?? []).filter((r) => r.reference === "seller"),
91
84
  names
@@ -95,7 +88,7 @@ var ScopeSection = ({ rule }) => {
95
88
  productTypes.length > 0 && /* @__PURE__ */ jsx(
96
89
  SectionRow,
97
90
  {
98
- title: t("commissions.fields.productTypes", "Product Types"),
91
+ title: t("commissions.fields.productTypes"),
99
92
  value: getScopeSummary(
100
93
  (rule.rules ?? []).filter((r) => r.reference === "product_type"),
101
94
  names
@@ -105,7 +98,7 @@ var ScopeSection = ({ rule }) => {
105
98
  categories.length > 0 && /* @__PURE__ */ jsx(
106
99
  SectionRow,
107
100
  {
108
- title: t("commissions.fields.categories", "Categories"),
101
+ title: t("commissions.fields.categories"),
109
102
  value: getScopeSummary(
110
103
  (rule.rules ?? []).filter(
111
104
  (r) => r.reference === "product_category"
@@ -120,7 +113,7 @@ var CommissionSection = ({ rule }) => {
120
113
  const { t } = useTranslation();
121
114
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", children: [
122
115
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
123
- /* @__PURE__ */ jsx(Heading, { children: t("commissions.create.commission", "Commission") }),
116
+ /* @__PURE__ */ jsx(Heading, { children: t("commissions.create.commission") }),
124
117
  /* @__PURE__ */ jsx(
125
118
  ActionMenu,
126
119
  {
@@ -141,29 +134,29 @@ var CommissionSection = ({ rule }) => {
141
134
  /* @__PURE__ */ jsx(
142
135
  SectionRow,
143
136
  {
144
- title: t("commissions.fields.type.label", "Type"),
145
- value: rule.type === "percentage" ? t("commissions.fields.type.percentage", "Percentage") : t("commissions.fields.type.fixed", "Fixed")
137
+ title: t("commissions.fields.type.label"),
138
+ value: rule.type === "percentage" ? t("commissions.fields.type.percentage") : t("commissions.fields.type.fixed")
146
139
  }
147
140
  ),
148
141
  /* @__PURE__ */ jsx(
149
142
  SectionRow,
150
143
  {
151
- title: t("commissions.global.value", "Value"),
144
+ title: t("commissions.global.value"),
152
145
  value: formatCommissionValue(rule)
153
146
  }
154
147
  ),
155
148
  /* @__PURE__ */ jsx(
156
149
  SectionRow,
157
150
  {
158
- title: t("commissions.global.tax", "Tax"),
159
- value: rule.include_tax ? t("commissions.global.included", "Included in commission") : t("commissions.global.notIncluded", "Not included")
151
+ title: t("commissions.global.tax"),
152
+ value: rule.include_tax ? t("commissions.global.included") : t("commissions.global.notIncluded")
160
153
  }
161
154
  ),
162
155
  /* @__PURE__ */ jsx(
163
156
  SectionRow,
164
157
  {
165
- title: t("commissions.global.shipping", "Shipping"),
166
- value: rule.include_shipping ? t("commissions.global.included", "Included in commission") : t("commissions.global.notIncluded", "Not included")
158
+ title: t("commissions.global.shipping"),
159
+ value: rule.include_shipping ? t("commissions.global.included") : t("commissions.global.notIncluded")
167
160
  }
168
161
  )
169
162
  ] });
@@ -12693,6 +12693,7 @@ var en_default = {
12693
12693
  fields: {
12694
12694
  code: "Code",
12695
12695
  value: "Value",
12696
+ status: "Status",
12696
12697
  enabled: "Enabled",
12697
12698
  enabledHint: "Enable or disable this commission rule.",
12698
12699
  stores: "Stores",
@@ -12748,7 +12749,7 @@ var en_default = {
12748
12749
  },
12749
12750
  empty: {
12750
12751
  heading: "No commission rules yet",
12751
- description: "Create a commission rule to override the global commission for specific stores, product types, or categories."
12752
+ description: "Create a commission rule to override the global commission for\nspecific stores, product types, or categories."
12752
12753
  }
12753
12754
  },
12754
12755
  status: {
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  _DataTable,
12
12
  useDataTable
13
- } from "./chunk-NQEXDLYH.js";
13
+ } from "./chunk-JGCGVEFZ.js";
14
14
  import {
15
15
  SingleColumnPage
16
16
  } from "./chunk-H6MYB7GB.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  _DataTable,
15
15
  useDataTable
16
- } from "./chunk-NQEXDLYH.js";
16
+ } from "./chunk-JGCGVEFZ.js";
17
17
  import {
18
18
  SingleColumnPage
19
19
  } from "./chunk-H6MYB7GB.js";
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  _DataTable,
21
21
  useDataTable
22
- } from "./chunk-NQEXDLYH.js";
22
+ } from "./chunk-JGCGVEFZ.js";
23
23
  import {
24
24
  TabbedForm,
25
25
  defineTabMeta,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  i18n
3
- } from "./chunk-63LSFKES.js";
3
+ } from "./chunk-4KLVH4XT.js";
4
4
 
5
5
  // src/lib/promotions.ts
6
6
  var getPromotionStatusMap = () => ({
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  _DataTable,
15
15
  useDataTable
16
- } from "./chunk-NQEXDLYH.js";
16
+ } from "./chunk-JGCGVEFZ.js";
17
17
  import {
18
18
  SingleColumnPage
19
19
  } from "./chunk-H6MYB7GB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PriceListCustomerGroupRuleForm
3
- } from "./chunk-A3IFGUDD.js";
3
+ } from "./chunk-3YVZLXH7.js";
4
4
  import {
5
5
  PriceListCreateProductsSchema,
6
6
  PriceListRulesSchema,
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  _DataTable,
25
25
  useDataTable
26
- } from "./chunk-NQEXDLYH.js";
26
+ } from "./chunk-JGCGVEFZ.js";
27
27
  import {
28
28
  TabbedForm,
29
29
  defineTabMeta,
@@ -87,10 +87,10 @@ var formatCommissionValue = (rate) => {
87
87
  };
88
88
  var getIsActiveProps = (isEnabled, t) => isEnabled ? {
89
89
  color: "green",
90
- label: t("commissions.status.enabled", "Active")
90
+ label: t("commissions.status.enabled")
91
91
  } : {
92
92
  color: "red",
93
- label: t("commissions.status.disabled", "Inactive")
93
+ label: t("commissions.status.disabled")
94
94
  };
95
95
  var buildValuesPayload = (currencies, fixedValues = {}) => currencies.map((code) => ({
96
96
  currency_code: code,