@mercurjs/admin 2.0.0-canary.34 → 2.0.0-canary.35

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 (250) hide show
  1. package/dist/{add-campaign-promotions-UVEH25GZ.js → add-campaign-promotions-ZUXBF5G3.js} +10 -10
  2. package/dist/{adjust-inventory-6Q53EEFB.js → adjust-inventory-HZCWL6SC.js} +10 -10
  3. package/dist/api-key-management-detail-SKJNAZ5L.js +87 -0
  4. package/dist/api-key-management-list-2D4WKI6Y.js +33 -0
  5. package/dist/{campaign-create-2IIU3WTS.js → campaign-create-B7XM2FZM.js} +4 -4
  6. package/dist/campaign-detail-7U4CQHU5.js +105 -0
  7. package/dist/campaign-list-SC7FLTRM.js +31 -0
  8. package/dist/{categories-metadata-G7JDGW6O.js → categories-metadata-LPSJNCME.js} +12 -12
  9. package/dist/category-detail-HGHR3R2R.js +105 -0
  10. package/dist/category-list-QBBFGHQM.js +32 -0
  11. package/dist/{category-products-FH4RIZKA.js → category-products-XLCG2JR7.js} +14 -14
  12. package/dist/{chunk-36WVODFU.js → chunk-23663A2W.js} +1 -1
  13. package/dist/chunk-2IGCU3KP.js +170 -0
  14. package/dist/chunk-33FUPXJL.js +102 -0
  15. package/dist/{chunk-O5HZRJPB.js → chunk-3B6MTW5G.js} +9 -0
  16. package/dist/{shipping-profiles-list-FUW4FXLC.js → chunk-3H74EI2D.js} +11 -19
  17. package/dist/{shipping-profile-detail-WHKHB2OQ.js → chunk-3IYIS5UZ.js} +15 -61
  18. package/dist/{return-reason-list-MRYG7ZK7.js → chunk-3SAH3NUS.js} +12 -80
  19. package/dist/chunk-4GVHNYZR.js +294 -0
  20. package/dist/chunk-4WYBW3HK.js +209 -0
  21. package/dist/chunk-5GG65TKV.js +335 -0
  22. package/dist/{customer-group-detail-CPONLZRF.js → chunk-5VEYNZSW.js} +33 -119
  23. package/dist/{customer-group-list-V2CGT3FT.js → chunk-62ZRA6BZ.js} +2 -37
  24. package/dist/{category-list-YPRENMVF.js → chunk-66IHH2HG.js} +105 -89
  25. package/dist/chunk-6L2LSIPR.js +223 -0
  26. package/dist/{region-list-PGWUOULN.js → chunk-6PNMR6XP.js} +18 -32
  27. package/dist/{product-type-list-T5KO5J3W.js → chunk-7COSFMM7.js} +17 -30
  28. package/dist/{api-key-management-detail-RQW5RC5F.js → chunk-7TLEUIAL.js} +22 -80
  29. package/dist/{product-tag-list-I6M6TAYM.js → chunk-A2KURGQO.js} +16 -131
  30. package/dist/{chunk-GFZ7GOEU.js → chunk-A6Z2Q7D5.js} +2 -2
  31. package/dist/{customer-detail-YS265DZS.js → chunk-AOVEX4EM.js} +74 -158
  32. package/dist/{inventory-detail-42GK24BA.js → chunk-AOVJTW7M.js} +130 -196
  33. package/dist/{payout-list-GE7E637R.js → chunk-BHID7W3U.js} +12 -22
  34. package/dist/{price-list-list-VFHHTBLR.js → chunk-CR4E2DCR.js} +98 -78
  35. package/dist/{chunk-UZVYM65V.js → chunk-D44T5KAE.js} +6 -6
  36. package/dist/{chunk-BFCAJKRG.js → chunk-DBYUB2YI.js} +28 -56
  37. package/dist/{user-detail-Q7ST2YKP.js → chunk-DK3U2SRA.js} +17 -62
  38. package/dist/{refund-reason-list-ECQKWA2M.js → chunk-DP5U3GQU.js} +54 -105
  39. package/dist/chunk-E2AAYIHS.js +250 -0
  40. package/dist/{commission-rate-detail-ANI37QHI.js → chunk-EDQBUWY7.js} +46 -106
  41. package/dist/{region-detail-DIEFHHOM.js → chunk-ENMRRG4N.js} +48 -94
  42. package/dist/{chunk-UZJ2NQSN.js → chunk-FRRQW7BG.js} +4 -4
  43. package/dist/{order-detail-V2O5C4CX.js → chunk-FXU7SL6M.js} +413 -423
  44. package/dist/{product-type-detail-JI4DF7WR.js → chunk-FYB5MS4F.js} +29 -110
  45. package/dist/{chunk-QNGHZSK3.js → chunk-G644AXKV.js} +1 -1
  46. package/dist/chunk-GJTIHFXG.js +115 -0
  47. package/dist/{sales-channel-list-2ZUNUM2T.js → chunk-HHNJNKCB.js} +16 -54
  48. package/dist/{campaign-list-EAGDQZO3.js → chunk-HZKW7HRU.js} +14 -32
  49. package/dist/chunk-IXGP2EEN.js +425 -0
  50. package/dist/{profile-detail-AWZ4EZ6R.js → chunk-J7SR4GW5.js} +10 -15
  51. package/dist/{product-variant-detail-DXTUM4R7.js → chunk-JA2XIIIZ.js} +96 -178
  52. package/dist/{price-list-detail-324FZRK5.js → chunk-JRWB7VWP.js} +59 -130
  53. package/dist/{category-detail-2U65E3CX.js → chunk-KUDLPUWR.js} +70 -146
  54. package/dist/{collection-detail-Y4GGSHXX.js → chunk-KXPCEVFB.js} +44 -121
  55. package/dist/{location-list-KVFFPEIV.js → chunk-KYUXTS2L.js} +61 -86
  56. package/dist/{chunk-M3I52H3M.js → chunk-LU72QEQC.js} +4 -4
  57. package/dist/{location-detail-XO4RRCAU.js → chunk-LYT3RI4O.js} +90 -155
  58. package/dist/chunk-NOWUEJ74.js +44 -0
  59. package/dist/{product-detail-3UWUMNHC.js → chunk-NQPAEBSZ.js} +145 -195
  60. package/dist/{api-key-management-list-VYQ4AVSX.js → chunk-O6O22BN4.js} +9 -29
  61. package/dist/{tax-region-province-detail-PB7RFWJ4.js → chunk-OFRQZHVQ.js} +15 -99
  62. package/dist/{reservation-detail-J4M2EXRY.js → chunk-OSHCUDYY.js} +27 -93
  63. package/dist/{campaign-detail-4DO3S5UZ.js → chunk-Q6XCCONH.js} +118 -193
  64. package/dist/{payout-detail-PRYOQSGQ.js → chunk-QBOXELB5.js} +7 -41
  65. package/dist/chunk-QD6KYDYH.js +169 -0
  66. package/dist/{commission-rate-list-FCQ3HXC7.js → chunk-QP6XXG6A.js} +11 -20
  67. package/dist/{promotion-list-SJYMXQXT.js → chunk-RIMR3ULR.js} +14 -51
  68. package/dist/{shipping-option-type-list-4A7FT4P5.js → chunk-SFG7JTBH.js} +14 -51
  69. package/dist/{sales-channel-detail-RMU5QW3N.js → chunk-T25UE7SS.js} +39 -120
  70. package/dist/{tax-region-detail-L3EB6JSF.js → chunk-TE5VQBCL.js} +19 -60
  71. package/dist/{reservation-list-X33SIPG3.js → chunk-TKGZBTOS.js} +11 -20
  72. package/dist/{chunk-LQSLDDPT.js → chunk-TZSOL34K.js} +40 -1
  73. package/dist/{chunk-F5PEK3DA.js → chunk-U3SFHLUA.js} +1 -1
  74. package/dist/{chunk-IZ5RG5XI.js → chunk-UXD3VNBO.js} +1 -20
  75. package/dist/{chunk-XE6KSRKQ.js → chunk-V2DXJ75C.js} +1 -1
  76. package/dist/{marketplace-detail-OVWHCK5W.js → chunk-VBAAYYCS.js} +114 -172
  77. package/dist/{chunk-5POS4GBN.js → chunk-WZADCDDE.js} +4 -4
  78. package/dist/{chunk-HOZHWCST.js → chunk-XDVS4B7W.js} +1 -1
  79. package/dist/{promotion-detail-IO7V5CXR.js → chunk-XVKRTPVM.js} +147 -162
  80. package/dist/{inventory-list-UJNDJFJS.js → chunk-YH4VQBAA.js} +11 -19
  81. package/dist/{collection-add-products-RLTEE27D.js → collection-add-products-IQ7M63BA.js} +13 -13
  82. package/dist/collection-detail-YJ3FV2C6.js +96 -0
  83. package/dist/collection-list-WDQOBHQN.js +78 -0
  84. package/dist/{collection-metadata-CQWEZ4EQ.js → collection-metadata-UZ3VN625.js} +10 -10
  85. package/dist/{commission-rate-create-YK6GCP2R.js → commission-rate-create-VC72GTV4.js} +34 -34
  86. package/dist/commission-rate-detail-UQDIIMIK.js +82 -0
  87. package/dist/{commission-rate-edit-5MPI53CE.js → commission-rate-edit-AXJKJNFY.js} +34 -34
  88. package/dist/commission-rate-list-WTDZLKUR.js +27 -0
  89. package/dist/customer-detail-N7CS4IJU.js +106 -0
  90. package/dist/{customer-group-add-customers-FTRCJHE7.js → customer-group-add-customers-LCNDTLXR.js} +6 -6
  91. package/dist/customer-group-detail-UCTY4FF7.js +105 -0
  92. package/dist/customer-group-list-XOQ64CVR.js +48 -0
  93. package/dist/{customer-group-metadata-BITZXXFX.js → customer-group-metadata-FMAZBXIK.js} +11 -11
  94. package/dist/customer-list-BUUO6OF7.js +32 -0
  95. package/dist/{customer-metadata-6DDHIGDD.js → customer-metadata-7GW4JRZR.js} +11 -11
  96. package/dist/{customers-add-customer-group-SD3KK6JE.js → customers-add-customer-group-BKEV24N2.js} +15 -15
  97. package/dist/{edit-inventory-item-5PZZ3IAH.js → edit-inventory-item-RECBP7OX.js} +7 -7
  98. package/dist/{edit-inventory-item-attributes-7PJQCUXL.js → edit-inventory-item-attributes-2P3BMQJ5.js} +8 -8
  99. package/dist/{edit-rules-E2564ZQB.js → edit-rules-DPHJ7PQQ.js} +9 -9
  100. package/dist/index.d.ts +5 -0
  101. package/dist/index.js +564 -757
  102. package/dist/{inventory-create-LYXHQR7Y.js → inventory-create-QLEIHESO.js} +20 -20
  103. package/dist/inventory-detail-BJT5WEV5.js +106 -0
  104. package/dist/inventory-list-3LWBPWVK.js +29 -0
  105. package/dist/{inventory-metadata-OLR5ZMMN.js → inventory-metadata-ZNHZQEMX.js} +11 -11
  106. package/dist/{inventory-stock-ZOM2ANKJ.js → inventory-stock-G3GP4FZX.js} +17 -17
  107. package/dist/location-detail-N7J6PEAP.js +99 -0
  108. package/dist/{location-fulfillment-providers-6T27UNF7.js → location-fulfillment-providers-BHCY2MYC.js} +18 -18
  109. package/dist/location-list-UG6B47NP.js +52 -0
  110. package/dist/{location-service-zone-create-IYKQNCNO.js → location-service-zone-create-AIVG7HTM.js} +8 -8
  111. package/dist/{location-service-zone-manage-areas-L7BQTR7S.js → location-service-zone-manage-areas-EZSV25CP.js} +10 -10
  112. package/dist/{location-service-zone-shipping-option-create-PSPX634E.js → location-service-zone-shipping-option-create-GYPW6SSN.js} +18 -18
  113. package/dist/{location-service-zone-shipping-option-pricing-HC7Z4BVU.js → location-service-zone-shipping-option-pricing-7VMPXDWX.js} +8 -8
  114. package/dist/{login-U5WERLJC.js → login-2HSCF4ZB.js} +16 -10
  115. package/dist/{marketplace-add-currencies-XQPZT237.js → marketplace-add-currencies-CIGOPBO6.js} +7 -7
  116. package/dist/marketplace-detail-7KJMXXAJ.js +74 -0
  117. package/dist/{marketplace-metadata-GIYATM54.js → marketplace-metadata-PHZ4PUWM.js} +11 -11
  118. package/dist/{order-create-claim-UWNZUBL7.js → order-create-claim-7WW6MXTT.js} +34 -34
  119. package/dist/{order-create-edit-JD4UZ5GW.js → order-create-edit-KAH6ZPLX.js} +20 -20
  120. package/dist/{order-create-exchange-OTIDP47E.js → order-create-exchange-ELLWF3IY.js} +31 -31
  121. package/dist/{order-create-fulfillment-7OP64TNJ.js → order-create-fulfillment-E3J7ILOJ.js} +13 -13
  122. package/dist/{order-create-refund-U4UK5IZB.js → order-create-refund-5QZBOSCA.js} +13 -13
  123. package/dist/{order-create-return-LH4LW5BZ.js → order-create-return-L6DEDPJK.js} +17 -17
  124. package/dist/{order-create-shipment-URYCUNU6.js → order-create-shipment-NBQ226NM.js} +7 -7
  125. package/dist/order-detail-C25NQSZN.js +122 -0
  126. package/dist/{order-edit-billing-address-XRUEKX33.js → order-edit-billing-address-NVRMPZEU.js} +14 -14
  127. package/dist/{order-edit-email-CJ3MEZB6.js → order-edit-email-5FA7X52X.js} +7 -7
  128. package/dist/{order-edit-shipping-address-SV4UVNBQ.js → order-edit-shipping-address-BPU7OL2N.js} +11 -11
  129. package/dist/order-list-7NH7LROU.js +48 -0
  130. package/dist/{order-metadata-HIOSALZT.js → order-metadata-47FUKENZ.js} +10 -10
  131. package/dist/{order-receive-return-4SRRRBW6.js → order-receive-return-FW5QZJBM.js} +8 -8
  132. package/dist/{order-request-transfer-5AGKGFVY.js → order-request-transfer-WD327YGL.js} +7 -7
  133. package/dist/pages/index.d.ts +638 -0
  134. package/dist/pages/index.js +359 -0
  135. package/dist/payout-detail-MDD5SRK5.js +51 -0
  136. package/dist/payout-list-XY2A5KYS.js +28 -0
  137. package/dist/{price-list-configuration-GK4MA3BE.js → price-list-configuration-XK3IZLLX.js} +8 -8
  138. package/dist/{price-list-create-3NNWUS6L.js → price-list-create-OK7YYLAB.js} +22 -22
  139. package/dist/price-list-detail-IGFSM77P.js +102 -0
  140. package/dist/price-list-list-TBXQ5DOS.js +35 -0
  141. package/dist/{price-list-prices-add-IBSLTMNK.js → price-list-prices-add-7PGUONDK.js} +18 -18
  142. package/dist/{price-list-prices-edit-AAVPX34P.js → price-list-prices-edit-QVGBT6AI.js} +14 -14
  143. package/dist/{product-create-C4GHUEM5.js → product-create-NVBKO426.js} +218 -383
  144. package/dist/{product-create-variant-5MVBT5ST.js → product-create-variant-CJPECBV4.js} +68 -230
  145. package/dist/product-detail-ZC37BGPC.js +100 -0
  146. package/dist/{product-export-XTS7P5AD.js → product-export-ULTY2SNJ.js} +14 -14
  147. package/dist/{product-import-ZEZE2JE6.js → product-import-Q2CPHVNJ.js} +10 -10
  148. package/dist/product-list-635ZXM2D.js +85 -0
  149. package/dist/{product-media-Z2DCRZSU.js → product-media-ZMDAVPGI.js} +4 -4
  150. package/dist/{product-metadata-NBB5SRDN.js → product-metadata-36JNWKCJ.js} +10 -10
  151. package/dist/{product-stock-ZXNZZBJI.js → product-stock-HF42WRSC.js} +18 -18
  152. package/dist/{product-tag-create-LL35OFZM.js → product-tag-create-VCRDLR27.js} +7 -7
  153. package/dist/product-tag-detail-OJLYO3Q5.js +135 -0
  154. package/dist/{product-tag-edit-6XBZCCED.js → product-tag-edit-BYE7UP54.js} +7 -7
  155. package/dist/product-tag-list-XFHGJBRF.js +129 -0
  156. package/dist/{product-tag-metadata-UGO4RUFU.js → product-tag-metadata-ADHNZA2H.js} +10 -10
  157. package/dist/product-type-detail-J4UA4AEM.js +97 -0
  158. package/dist/product-type-list-H5EQHCXS.js +34 -0
  159. package/dist/{product-type-metadata-ZKOZNZE3.js → product-type-metadata-UY22KDAN.js} +10 -10
  160. package/dist/product-variant-detail-5WKYURFA.js +111 -0
  161. package/dist/{product-variant-edit-KGLW5GXD.js → product-variant-edit-66ZUIIMP.js} +10 -10
  162. package/dist/{product-variant-metadata-H7J7SZNU.js → product-variant-metadata-7N5F7DM5.js} +10 -10
  163. package/dist/profile-detail-EYNXOHGZ.js +17 -0
  164. package/dist/{promotion-add-campaign-OEMV62HF.js → promotion-add-campaign-B5SF72KC.js} +4 -4
  165. package/dist/{promotion-create-P2WR5RPH.js → promotion-create-D77SANLX.js} +17 -17
  166. package/dist/promotion-detail-MVFOMS4E.js +87 -0
  167. package/dist/promotion-list-IN4VWEQN.js +57 -0
  168. package/dist/{refund-reason-create-PTHFUT2D.js → refund-reason-create-BHI5XXZC.js} +7 -7
  169. package/dist/{refund-reason-edit-WEEQQGYO.js → refund-reason-edit-UWWYC4OB.js} +7 -7
  170. package/dist/refund-reason-list-DJZZC7KK.js +101 -0
  171. package/dist/{region-add-countries-GVOTB5YX.js → region-add-countries-YOGU74UR.js} +9 -9
  172. package/dist/{region-create-3BCYTIDB.js → region-create-UMJK3VGL.js} +14 -14
  173. package/dist/region-detail-OFZHX57G.js +73 -0
  174. package/dist/region-list-L4FKHVJJ.js +34 -0
  175. package/dist/{region-metadata-IYIHJCTK.js → region-metadata-JLHWQGTC.js} +11 -11
  176. package/dist/reservation-detail-LZYEM5NW.js +82 -0
  177. package/dist/reservation-list-OGPDB7WG.js +30 -0
  178. package/dist/{reservation-metadata-MMHE4TPO.js → reservation-metadata-WB42HSMD.js} +11 -11
  179. package/dist/{reset-password-WNANNJDX.js → reset-password-Q7Y4FWRE.js} +2 -2
  180. package/dist/return-reason-list-6ICMSVKF.js +80 -0
  181. package/dist/{sales-channel-add-products-GP7TMMKB.js → sales-channel-add-products-EOWFSO35.js} +14 -14
  182. package/dist/sales-channel-detail-RRJG7U7R.js +97 -0
  183. package/dist/sales-channel-list-LUZ4ZXCY.js +50 -0
  184. package/dist/{sales-channel-metadata-QF5KEN7C.js → sales-channel-metadata-5CLXRNQF.js} +12 -12
  185. package/dist/{seller-details-EUCYPH4Z.js → seller-details-KROISMQC.js} +48 -48
  186. package/dist/seller-list-664H4SI5.js +79 -0
  187. package/dist/{shipping-option-type-create-KBQMPNIW.js → shipping-option-type-create-42URKECR.js} +7 -7
  188. package/dist/shipping-option-type-detail-2RY3NHRO.js +81 -0
  189. package/dist/{shipping-option-type-edit-S3R6JBFV.js → shipping-option-type-edit-VLFV2AR4.js} +7 -7
  190. package/dist/shipping-option-type-list-IOSOE33S.js +59 -0
  191. package/dist/shipping-profile-detail-RIIAX7VE.js +56 -0
  192. package/dist/{shipping-profile-metadata-BJFUYS5L.js → shipping-profile-metadata-7WDHFEEH.js} +10 -10
  193. package/dist/shipping-profiles-list-AL4EJSJY.js +26 -0
  194. package/dist/{tax-region-create-KTFZNQCZ.js → tax-region-create-UOTLTCOP.js} +14 -14
  195. package/dist/tax-region-detail-CA2W5W6A.js +67 -0
  196. package/dist/{tax-region-edit-H2ORQVEW.js → tax-region-edit-7O2Z3EYC.js} +7 -7
  197. package/dist/tax-region-list-JTZ7KZCX.js +26 -0
  198. package/dist/{tax-region-metadata-2PYZ5ECB.js → tax-region-metadata-VQ57FSEM.js} +11 -11
  199. package/dist/tax-region-province-detail-ZHLX4FF4.js +98 -0
  200. package/dist/{tax-region-tax-override-create-IDGG732M.js → tax-region-tax-override-create-WIWUNXW6.js} +31 -31
  201. package/dist/{tax-region-tax-override-edit-NSBZBBZA.js → tax-region-tax-override-edit-SWROFQTP.js} +31 -31
  202. package/dist/user-detail-YNPBC5MN.js +54 -0
  203. package/dist/{user-invite-ATAF42EH.js → user-invite-OT73USBI.js} +10 -10
  204. package/dist/user-list-LNTZNT3D.js +27 -0
  205. package/dist/{user-metadata-QFVK2VJX.js → user-metadata-ZGTN4FRU.js} +11 -11
  206. package/package.json +1 -1
  207. package/dist/chunk-RW35OPIA.js +0 -45
  208. package/dist/collection-list-WUPG6AU2.js +0 -233
  209. package/dist/customer-list-DYQHKNJV.js +0 -153
  210. package/dist/order-list-ASHM44MM.js +0 -317
  211. package/dist/product-list-7WK2AWI2.js +0 -323
  212. package/dist/product-tag-detail-E7VYBISE.js +0 -288
  213. package/dist/seller-list-W76S2T27.js +0 -237
  214. package/dist/shipping-option-type-detail-CFGKF7NV.js +0 -173
  215. package/dist/tax-region-list-D7HWEZUR.js +0 -92
  216. package/dist/user-list-S6BMNMKL.js +0 -342
  217. package/dist/{api-key-management-sales-channels-RDE5YSYK.js → api-key-management-sales-channels-C7EWPHC2.js} +9 -9
  218. package/dist/{campaign-budget-edit-722ECPRI.js → campaign-budget-edit-AIXCDGG3.js} +3 -3
  219. package/dist/{category-create-VSH7BLNC.js → category-create-UWBJGIED.js} +7 -7
  220. package/dist/{category-edit-CCHWEQER.js → category-edit-ZDTTOXKZ.js} +3 -3
  221. package/dist/{chunk-JISYRXUS.js → chunk-B44E3LJT.js} +7 -7
  222. package/dist/{chunk-L22DLGNI.js → chunk-DEKJJ7NG.js} +3 -3
  223. package/dist/{chunk-2PZGY332.js → chunk-LQAAVRET.js} +3 -3
  224. package/dist/{chunk-GEVYE225.js → chunk-RA4UMZRP.js} +3 -3
  225. package/dist/{chunk-NIRWGTM3.js → chunk-RV6NZTNP.js} +3 -3
  226. package/dist/{chunk-SXC5ZMLI.js → chunk-TKEAOWBZ.js} +24 -24
  227. package/dist/{chunk-FLCYR7E5.js → chunk-ULJ3OMWU.js} +3 -3
  228. package/dist/{chunk-XDEVXAGC.js → chunk-VBBBIEVH.js} +3 -3
  229. package/dist/{chunk-FMOQNZFZ.js → chunk-YMKZS2HK.js} +12 -12
  230. package/dist/{customer-create-address-2LLOW6NZ.js → customer-create-address-GKWNPTZS.js} +1 -1
  231. package/dist/{customer-edit-F5UBFJIZ.js → customer-edit-WDRZ6YUO.js} +3 -3
  232. package/dist/{edit-reservation-SAKSTZTE.js → edit-reservation-7UOWKFMF.js} +3 -3
  233. package/dist/{invite-CSXH7VAO.js → invite-AXGDIENO.js} +1 -1
  234. package/dist/{location-create-HHOJPTDK.js → location-create-FQT3BJGV.js} +1 -1
  235. package/dist/{location-edit-2NAOR4DV.js → location-edit-RTPPP4KP.js} +1 -1
  236. package/dist/{location-sales-channels-BJUJNBQQ.js → location-sales-channels-3IGHCJEN.js} +9 -9
  237. package/dist/{location-service-zone-shipping-option-edit-SSMGORBF.js → location-service-zone-shipping-option-edit-E3GN4ZF5.js} +3 -3
  238. package/dist/{marketplace-edit-WPOSY2WN.js → marketplace-edit-GH2GQF3O.js} +3 -3
  239. package/dist/{order-allocate-items-DLVOSAC2.js → order-allocate-items-VEEANPH7.js} +3 -3
  240. package/dist/{price-list-edit-UU2XBKT3.js → price-list-edit-KK7SHR7O.js} +3 -3
  241. package/dist/{product-attributes-HNF4J53T.js → product-attributes-NG4OSBIV.js} +1 -1
  242. package/dist/{product-edit-6EL6US22.js → product-edit-LQJDUUVX.js} +4 -4
  243. package/dist/{product-organization-NWS3NMD6.js → product-organization-AFCELJ62.js} +1 -1
  244. package/dist/{product-prices-V63CFHI3.js → product-prices-WMRIC7WM.js} +7 -7
  245. package/dist/{product-sales-channels-WU3MSCV5.js → product-sales-channels-LSN5DVWZ.js} +5 -5
  246. package/dist/{product-variant-manage-inventory-items-C77QHYRT.js → product-variant-manage-inventory-items-CV2CC2PV.js} +3 -3
  247. package/dist/{profile-edit-3GIVUYUM.js → profile-edit-4HXBRWJ5.js} +6 -6
  248. package/dist/{promotion-edit-details-7Y2A5PPJ.js → promotion-edit-details-YKS24GBD.js} +6 -6
  249. package/dist/{region-edit-7XER3THY.js → region-edit-ODVSNJHM.js} +5 -5
  250. package/dist/{tax-region-province-create-7BMYABJ6.js → tax-region-province-create-RFYCUDER.js} +3 -3
@@ -1,4 +1,3 @@
1
- import "./chunk-LTBX54CI.js";
2
1
  import {
3
2
  SectionRow
4
3
  } from "./chunk-3XPXUIK3.js";
@@ -11,85 +10,23 @@ import {
11
10
  import {
12
11
  ActionMenu
13
12
  } from "./chunk-BDGZ4EQO.js";
14
- import "./chunk-LAVHRER2.js";
15
- import "./chunk-Y7QKP6QU.js";
16
- import "./chunk-XM6GCWNF.js";
17
- import "./chunk-ODBDAABQ.js";
18
- import "./chunk-CDQJKJMX.js";
19
- import "./chunk-JLATVDLM.js";
20
- import "./chunk-GPRBBA7S.js";
21
13
  import {
22
14
  useProductTypes
23
15
  } from "./chunk-E7ZBQO6E.js";
24
- import "./chunk-XGHM75N2.js";
25
- import "./chunk-U2GCSKW3.js";
26
- import "./chunk-RTAIDSDS.js";
27
- import "./chunk-LW3UWYZU.js";
28
16
  import {
29
- commissionRatesQueryKeys,
30
17
  useCommissionRate,
31
18
  useDeleteCommissionRate,
32
19
  useUpdateCommissionRate
33
20
  } from "./chunk-A4X5VP3G.js";
34
- import "./chunk-NNZP4PYP.js";
35
- import "./chunk-GF4QHVX3.js";
36
- import "./chunk-JOQ3RTF5.js";
37
- import "./chunk-V534K7G4.js";
38
- import "./chunk-A5XOYSDC.js";
39
- import "./chunk-TQI3DOQ5.js";
40
- import "./chunk-5PB7KCTF.js";
41
21
  import {
42
22
  useShippingOptions
43
23
  } from "./chunk-YOIARITB.js";
44
- import "./chunk-W7G64ULL.js";
45
- import "./chunk-6C7TCU42.js";
46
- import "./chunk-4YF3GAKE.js";
47
- import "./chunk-M3I52H3M.js";
48
- import "./chunk-LORVU5II.js";
49
- import "./chunk-36ORDF7W.js";
50
- import "./chunk-QSM56ZOP.js";
51
- import "./chunk-MIHEJ6Y6.js";
52
- import "./chunk-3VZV6SJQ.js";
53
24
  import {
54
25
  useProducts
55
26
  } from "./chunk-K357FGGP.js";
56
- import {
57
- queryClient
58
- } from "./chunk-RHKRREUU.js";
59
- import "./chunk-ZA2KFUFR.js";
60
- import {
61
- sdk
62
- } from "./chunk-ZYNBKBY3.js";
63
- import "./chunk-NBMM2TZK.js";
64
-
65
- // src/pages/commission-rates/commission-rate-detail/breadcrumb.tsx
66
- import { jsx } from "react/jsx-runtime";
67
- var CommissionRateDetailBreadcrumb = (props) => {
68
- const { id } = props.params || {};
69
- const { commission_rate } = useCommissionRate(id, void 0, {
70
- initialData: props.data,
71
- enabled: Boolean(id)
72
- });
73
- if (!commission_rate) {
74
- return null;
75
- }
76
- return /* @__PURE__ */ jsx("span", { children: commission_rate.name });
77
- };
78
-
79
- // src/pages/commission-rates/commission-rate-detail/loader.ts
80
- var commissionRateQuery = (id) => ({
81
- queryKey: commissionRatesQueryKeys.detail(id),
82
- queryFn: async () => sdk.admin.commissionRates.$id.query({ $id: id, fields: "*rules" })
83
- });
84
- var commissionRateLoader = async ({
85
- params
86
- }) => {
87
- const id = params.id;
88
- const query = commissionRateQuery(id);
89
- return queryClient.getQueryData(query.queryKey) ?? await queryClient.fetchQuery(query);
90
- };
91
27
 
92
28
  // src/pages/commission-rates/commission-rate-detail/commission-rate-detail.tsx
29
+ import { Children } from "react";
93
30
  import { useLoaderData, useParams } from "react-router-dom";
94
31
 
95
32
  // src/pages/commission-rates/commission-rate-detail/components/commission-rate-general-section/commission-rate-general-section.tsx
@@ -97,7 +34,7 @@ import { PencilSquare, Trash, XCircle, CheckCircle } from "@medusajs/icons";
97
34
  import { Badge, Container, Heading, StatusBadge, toast, usePrompt } from "@medusajs/ui";
98
35
  import { useTranslation } from "react-i18next";
99
36
  import { useNavigate } from "react-router-dom";
100
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
37
+ import { jsx, jsxs } from "react/jsx-runtime";
101
38
  var CommissionRateGeneralSection = ({
102
39
  commissionRate
103
40
  }) => {
@@ -109,24 +46,24 @@ var CommissionRateGeneralSection = ({
109
46
  };
110
47
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", children: [
111
48
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
112
- /* @__PURE__ */ jsx2(Heading, { children: commissionRate.name }),
49
+ /* @__PURE__ */ jsx(Heading, { children: commissionRate.name }),
113
50
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
114
- /* @__PURE__ */ jsx2(StatusBadge, { color: commissionRate.is_enabled ? "green" : "grey", children: commissionRate.is_enabled ? "Enabled" : "Disabled" }),
115
- /* @__PURE__ */ jsx2(CommissionRateActions, { commissionRate })
51
+ /* @__PURE__ */ jsx(StatusBadge, { color: commissionRate.is_enabled ? "green" : "grey", children: commissionRate.is_enabled ? "Enabled" : "Disabled" }),
52
+ /* @__PURE__ */ jsx(CommissionRateActions, { commissionRate })
116
53
  ] })
117
54
  ] }),
118
- /* @__PURE__ */ jsx2(
55
+ /* @__PURE__ */ jsx(
119
56
  SectionRow,
120
57
  {
121
58
  title: "Code",
122
- value: /* @__PURE__ */ jsx2(Badge, { size: "2xsmall", className: "uppercase", children: commissionRate.code })
59
+ value: /* @__PURE__ */ jsx(Badge, { size: "2xsmall", className: "uppercase", children: commissionRate.code })
123
60
  }
124
61
  ),
125
- /* @__PURE__ */ jsx2(
62
+ /* @__PURE__ */ jsx(
126
63
  SectionRow,
127
64
  {
128
65
  title: "Type",
129
- value: /* @__PURE__ */ jsx2(
66
+ value: /* @__PURE__ */ jsx(
130
67
  Badge,
131
68
  {
132
69
  size: "2xsmall",
@@ -136,23 +73,23 @@ var CommissionRateGeneralSection = ({
136
73
  )
137
74
  }
138
75
  ),
139
- /* @__PURE__ */ jsx2(SectionRow, { title: "Value", value: formatValue() }),
140
- /* @__PURE__ */ jsx2(
76
+ /* @__PURE__ */ jsx(SectionRow, { title: "Value", value: formatValue() }),
77
+ /* @__PURE__ */ jsx(
141
78
  SectionRow,
142
79
  {
143
80
  title: "Target",
144
81
  value: commissionRate.target === "item" ? "Item" : "Shipping"
145
82
  }
146
83
  ),
147
- /* @__PURE__ */ jsx2(
84
+ /* @__PURE__ */ jsx(
148
85
  SectionRow,
149
86
  {
150
87
  title: "Include Tax",
151
88
  value: commissionRate.include_tax ? "Yes" : "No"
152
89
  }
153
90
  ),
154
- /* @__PURE__ */ jsx2(SectionRow, { title: "Priority", value: String(commissionRate.priority) }),
155
- commissionRate.min_amount != null && /* @__PURE__ */ jsx2(
91
+ /* @__PURE__ */ jsx(SectionRow, { title: "Priority", value: String(commissionRate.priority) }),
92
+ commissionRate.min_amount != null && /* @__PURE__ */ jsx(
156
93
  SectionRow,
157
94
  {
158
95
  title: "Minimum Amount",
@@ -205,19 +142,19 @@ var CommissionRateActions = ({
205
142
  }
206
143
  });
207
144
  };
208
- return /* @__PURE__ */ jsx2(
145
+ return /* @__PURE__ */ jsx(
209
146
  ActionMenu,
210
147
  {
211
148
  groups: [
212
149
  {
213
150
  actions: [
214
151
  {
215
- icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
152
+ icon: /* @__PURE__ */ jsx(PencilSquare, {}),
216
153
  label: t("actions.edit"),
217
154
  to: `/settings/commission-rates/${commissionRate.id}/edit`
218
155
  },
219
156
  {
220
- icon: commissionRate.is_enabled ? /* @__PURE__ */ jsx2(XCircle, {}) : /* @__PURE__ */ jsx2(CheckCircle, {}),
157
+ icon: commissionRate.is_enabled ? /* @__PURE__ */ jsx(XCircle, {}) : /* @__PURE__ */ jsx(CheckCircle, {}),
221
158
  label: commissionRate.is_enabled ? t("actions.disable") : t("actions.enable"),
222
159
  onClick: handleToggleEnabled
223
160
  }
@@ -226,7 +163,7 @@ var CommissionRateActions = ({
226
163
  {
227
164
  actions: [
228
165
  {
229
- icon: /* @__PURE__ */ jsx2(Trash, {}),
166
+ icon: /* @__PURE__ */ jsx(Trash, {}),
230
167
  label: t("actions.delete"),
231
168
  onClick: handleDelete
232
169
  }
@@ -247,7 +184,7 @@ import {
247
184
  Tooltip
248
185
  } from "@medusajs/ui";
249
186
  import { useTranslation as useTranslation2 } from "react-i18next";
250
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
187
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
251
188
  var CommissionRateRulesSection = ({
252
189
  commissionRate
253
190
  }) => {
@@ -265,11 +202,11 @@ var CommissionRateRulesSection = ({
265
202
  );
266
203
  const entries = Object.entries(groupedRules);
267
204
  return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", children: [
268
- /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx3(Heading2, { level: "h2", children: t("taxRegions.fields.targets.label") }) }),
269
- entries.length === 0 ? /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-center px-6 py-8", children: /* @__PURE__ */ jsx3(Text, { size: "small", className: "text-ui-fg-subtle", children: "No rules configured" }) }) : /* @__PURE__ */ jsx3("div", { className: "px-6 py-4", children: /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-3", children: [
270
- /* @__PURE__ */ jsx3("div", { className: "text-ui-fg-muted flex size-5 items-center justify-center", children: /* @__PURE__ */ jsx3(ArrowDownRightMini, {}) }),
205
+ /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx2(Heading2, { level: "h2", children: t("taxRegions.fields.targets.label") }) }),
206
+ entries.length === 0 ? /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-center px-6 py-8", children: /* @__PURE__ */ jsx2(Text, { size: "small", className: "text-ui-fg-subtle", children: "No rules configured" }) }) : /* @__PURE__ */ jsx2("div", { className: "px-6 py-4", children: /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-3", children: [
207
+ /* @__PURE__ */ jsx2("div", { className: "text-ui-fg-muted flex size-5 items-center justify-center", children: /* @__PURE__ */ jsx2(ArrowDownRightMini, {}) }),
271
208
  /* @__PURE__ */ jsxs2("div", { className: "flex flex-wrap items-center gap-x-1.5 gap-y-2", children: [
272
- /* @__PURE__ */ jsx3(
209
+ /* @__PURE__ */ jsx2(
273
210
  Text,
274
211
  {
275
212
  size: "small",
@@ -284,14 +221,14 @@ var CommissionRateRulesSection = ({
284
221
  {
285
222
  className: "flex items-center gap-x-1.5",
286
223
  children: [
287
- /* @__PURE__ */ jsx3(
224
+ /* @__PURE__ */ jsx2(
288
225
  Reference,
289
226
  {
290
227
  reference,
291
228
  ids
292
229
  }
293
230
  ),
294
- index < entries.length - 1 && /* @__PURE__ */ jsx3(
231
+ index < entries.length - 1 && /* @__PURE__ */ jsx2(
295
232
  Text,
296
233
  {
297
234
  size: "small",
@@ -314,8 +251,8 @@ var Reference = ({
314
251
  ids
315
252
  }) => {
316
253
  return /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-1.5", children: [
317
- /* @__PURE__ */ jsx3(ReferenceBadge, { reference }),
318
- /* @__PURE__ */ jsx3(ReferenceValues, { type: reference, ids })
254
+ /* @__PURE__ */ jsx2(ReferenceBadge, { reference }),
255
+ /* @__PURE__ */ jsx2(ReferenceValues, { type: reference, ids })
319
256
  ] });
320
257
  };
321
258
  var ReferenceBadge = ({
@@ -337,7 +274,7 @@ var ReferenceBadge = ({
337
274
  if (!label) {
338
275
  return null;
339
276
  }
340
- return /* @__PURE__ */ jsx3(Badge2, { size: "2xsmall", children: label });
277
+ return /* @__PURE__ */ jsx2(Badge2, { size: "2xsmall", children: label });
341
278
  };
342
279
  var ReferenceValues = ({
343
280
  type,
@@ -352,18 +289,18 @@ var ReferenceValues = ({
352
289
  throw error;
353
290
  }
354
291
  if (isPending) {
355
- return /* @__PURE__ */ jsx3("div", { className: "bg-ui-tag-neutral-bg border-ui-tag-neutral-border h-5 w-14 animate-pulse rounded-md" });
292
+ return /* @__PURE__ */ jsx2("div", { className: "bg-ui-tag-neutral-bg border-ui-tag-neutral-border h-5 w-14 animate-pulse rounded-md" });
356
293
  }
357
- return /* @__PURE__ */ jsx3(
294
+ return /* @__PURE__ */ jsx2(
358
295
  Tooltip,
359
296
  {
360
297
  content: /* @__PURE__ */ jsxs2("ul", { children: [
361
- labels?.map((label, index) => /* @__PURE__ */ jsx3("li", { children: label }, index)),
362
- additional > 0 && /* @__PURE__ */ jsx3("li", { children: t("taxRegions.fields.targets.additionalValues", {
298
+ labels?.map((label, index) => /* @__PURE__ */ jsx2("li", { children: label }, index)),
299
+ additional > 0 && /* @__PURE__ */ jsx2("li", { children: t("taxRegions.fields.targets.additionalValues", {
363
300
  count: additional
364
301
  }) })
365
302
  ] }),
366
- children: /* @__PURE__ */ jsx3(Badge2, { size: "2xsmall", children: t("taxRegions.fields.targets.values", {
303
+ children: /* @__PURE__ */ jsx2(Badge2, { size: "2xsmall", children: t("taxRegions.fields.targets.values", {
367
304
  count: ids.length
368
305
  }) })
369
306
  }
@@ -413,8 +350,8 @@ var useReferenceValues = (type, ids) => {
413
350
  };
414
351
 
415
352
  // src/pages/commission-rates/commission-rate-detail/commission-rate-detail.tsx
416
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
417
- var CommissionRateDetail = () => {
353
+ import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
354
+ var Root = ({ children }) => {
418
355
  const initialData = useLoaderData();
419
356
  const { id } = useParams();
420
357
  const {
@@ -424,18 +361,21 @@ var CommissionRateDetail = () => {
424
361
  error
425
362
  } = useCommissionRate(id, { fields: "*rules" }, { initialData });
426
363
  if (isLoading || !commission_rate) {
427
- return /* @__PURE__ */ jsx4(SingleColumnPageSkeleton, { sections: 2, showJSON: true, showMetadata: true });
364
+ return /* @__PURE__ */ jsx3(SingleColumnPageSkeleton, { sections: 2, showJSON: true, showMetadata: true });
428
365
  }
429
366
  if (isError) {
430
367
  throw error;
431
368
  }
432
- return /* @__PURE__ */ jsxs3(SingleColumnPage, { data: commission_rate, showJSON: true, showMetadata: true, children: [
433
- /* @__PURE__ */ jsx4(CommissionRateGeneralSection, { commissionRate: commission_rate }),
434
- /* @__PURE__ */ jsx4(CommissionRateRulesSection, { commissionRate: commission_rate })
435
- ] });
369
+ return /* @__PURE__ */ jsx3(SingleColumnPage, { data: commission_rate, showJSON: true, showMetadata: true, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs3(Fragment, { children: [
370
+ /* @__PURE__ */ jsx3(CommissionRateGeneralSection, { commissionRate: commission_rate }),
371
+ /* @__PURE__ */ jsx3(CommissionRateRulesSection, { commissionRate: commission_rate })
372
+ ] }) });
436
373
  };
374
+ var CommissionRateDetail = Object.assign(Root, {
375
+ GeneralSection: CommissionRateGeneralSection,
376
+ RulesSection: CommissionRateRulesSection
377
+ });
378
+
437
379
  export {
438
- CommissionRateDetailBreadcrumb as Breadcrumb,
439
- CommissionRateDetail as Component,
440
- commissionRateLoader as loader
380
+ CommissionRateDetail
441
381
  };
@@ -9,38 +9,26 @@ import {
9
9
  import {
10
10
  formatProvider
11
11
  } from "./chunk-VW56KWO2.js";
12
- import "./chunk-FQERBIVS.js";
13
- import {
14
- _DataTable,
15
- useDataTable
16
- } from "./chunk-FLCYR7E5.js";
17
- import "./chunk-YBZWO4ZV.js";
18
- import "./chunk-KAZ5BYTQ.js";
19
- import "./chunk-3EF54XFY.js";
20
- import {
21
- currencies
22
- } from "./chunk-IQPN4PZJ.js";
23
- import "./chunk-KBYZLKI4.js";
24
- import "./chunk-YWWUOGJA.js";
25
12
  import {
26
13
  SectionRow
27
14
  } from "./chunk-3XPXUIK3.js";
15
+ import {
16
+ _DataTable,
17
+ useDataTable
18
+ } from "./chunk-ULJ3OMWU.js";
28
19
  import {
29
20
  SingleColumnPage
30
21
  } from "./chunk-U2UCL2VG.js";
22
+ import {
23
+ currencies
24
+ } from "./chunk-IQPN4PZJ.js";
31
25
  import {
32
26
  SingleColumnPageSkeleton
33
27
  } from "./chunk-INNFZYX2.js";
34
28
  import {
35
29
  ActionMenu
36
30
  } from "./chunk-BDGZ4EQO.js";
37
- import "./chunk-LAVHRER2.js";
38
- import "./chunk-Y7QKP6QU.js";
39
- import "./chunk-THHRRYRS.js";
40
- import "./chunk-UZWFZMOX.js";
41
- import "./chunk-XQNVC4Q7.js";
42
31
  import {
43
- regionsQueryKeys,
44
32
  useDeleteRegion,
45
33
  useRegion,
46
34
  useUpdateRegion
@@ -48,50 +36,9 @@ import {
48
36
  import {
49
37
  usePricePreferences
50
38
  } from "./chunk-3VZV6SJQ.js";
51
- import {
52
- queryClient
53
- } from "./chunk-RHKRREUU.js";
54
- import "./chunk-ZA2KFUFR.js";
55
- import {
56
- sdk
57
- } from "./chunk-ZYNBKBY3.js";
58
- import "./chunk-NBMM2TZK.js";
59
-
60
- // src/pages/regions/region-detail/constants.ts
61
- var REGION_DETAIL_FIELDS = "*payment_providers,*countries,+automatic_taxes";
62
-
63
- // src/pages/regions/region-detail/breadcrumb.tsx
64
- import { jsx } from "react/jsx-runtime";
65
- var RegionDetailBreadcrumb = (props) => {
66
- const { id } = props.params || {};
67
- const { region } = useRegion(
68
- id,
69
- {
70
- fields: REGION_DETAIL_FIELDS
71
- },
72
- {
73
- initialData: props.data,
74
- enabled: Boolean(id)
75
- }
76
- );
77
- if (!region) {
78
- return null;
79
- }
80
- return /* @__PURE__ */ jsx("span", { children: region.name });
81
- };
82
-
83
- // src/pages/regions/region-detail/loader.ts
84
- var regionQuery = (id) => ({
85
- queryKey: regionsQueryKeys.detail(id),
86
- queryFn: async () => sdk.admin.regions.$id.query({ $id: id, fields: REGION_DETAIL_FIELDS })
87
- });
88
- var regionLoader = async ({ params }) => {
89
- const id = params.id;
90
- const query = regionQuery(id);
91
- return queryClient.getQueryData(query.queryKey) ?? await queryClient.fetchQuery(query);
92
- };
93
39
 
94
40
  // src/pages/regions/region-detail/region-detail.tsx
41
+ import { Children } from "react";
95
42
  import { useLoaderData, useParams } from "react-router-dom";
96
43
 
97
44
  // src/pages/regions/region-detail/components/region-country-section/region-country-section.tsx
@@ -121,7 +68,7 @@ var convertToStaticCountries = (apiCountries) => {
121
68
  };
122
69
 
123
70
  // src/pages/regions/region-detail/components/region-country-section/region-country-section.tsx
124
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
71
+ import { jsx, jsxs } from "react/jsx-runtime";
125
72
  var PREFIX = "c";
126
73
  var PAGE_SIZE = 10;
127
74
  var RegionCountrySection = ({ region }) => {
@@ -187,8 +134,8 @@ var RegionCountrySection = ({ region }) => {
187
134
  };
188
135
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", "data-testid": "region-country-section-container", children: [
189
136
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "region-country-section-header", children: [
190
- /* @__PURE__ */ jsx2(Heading, { level: "h2", "data-testid": "region-country-section-heading", children: t("fields.countries") }),
191
- /* @__PURE__ */ jsx2(
137
+ /* @__PURE__ */ jsx(Heading, { level: "h2", "data-testid": "region-country-section-heading", children: t("fields.countries") }),
138
+ /* @__PURE__ */ jsx(
192
139
  ActionMenu,
193
140
  {
194
141
  groups: [
@@ -196,7 +143,7 @@ var RegionCountrySection = ({ region }) => {
196
143
  actions: [
197
144
  {
198
145
  label: t("regions.addCountries"),
199
- icon: /* @__PURE__ */ jsx2(PlusMini, {}),
146
+ icon: /* @__PURE__ */ jsx(PlusMini, {}),
200
147
  to: "countries/add"
201
148
  }
202
149
  ]
@@ -206,7 +153,7 @@ var RegionCountrySection = ({ region }) => {
206
153
  }
207
154
  )
208
155
  ] }),
209
- /* @__PURE__ */ jsx2(
156
+ /* @__PURE__ */ jsx(
210
157
  _DataTable,
211
158
  {
212
159
  table,
@@ -269,7 +216,7 @@ var CountryActions = ({
269
216
  }
270
217
  );
271
218
  };
272
- return /* @__PURE__ */ jsx2(
219
+ return /* @__PURE__ */ jsx(
273
220
  ActionMenu,
274
221
  {
275
222
  groups: [
@@ -278,7 +225,7 @@ var CountryActions = ({
278
225
  {
279
226
  label: t("actions.remove"),
280
227
  onClick: handleRemove,
281
- icon: /* @__PURE__ */ jsx2(Trash, {})
228
+ icon: /* @__PURE__ */ jsx(Trash, {})
282
229
  }
283
230
  ]
284
231
  }
@@ -295,7 +242,7 @@ var useColumns = () => {
295
242
  columnHelper.display({
296
243
  id: "select",
297
244
  header: ({ table }) => {
298
- return /* @__PURE__ */ jsx2(
245
+ return /* @__PURE__ */ jsx(
299
246
  Checkbox,
300
247
  {
301
248
  checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
@@ -305,7 +252,7 @@ var useColumns = () => {
305
252
  );
306
253
  },
307
254
  cell: ({ row }) => {
308
- return /* @__PURE__ */ jsx2(
255
+ return /* @__PURE__ */ jsx(
309
256
  Checkbox,
310
257
  {
311
258
  checked: row.getIsSelected(),
@@ -323,7 +270,7 @@ var useColumns = () => {
323
270
  id: "actions",
324
271
  cell: ({ row, table }) => {
325
272
  const { region } = table.options.meta;
326
- return /* @__PURE__ */ jsx2(CountryActions, { country: row.original, region });
273
+ return /* @__PURE__ */ jsx(CountryActions, { country: row.original, region });
327
274
  }
328
275
  })
329
276
  ],
@@ -336,7 +283,7 @@ import { PencilSquare, Trash as Trash2 } from "@medusajs/icons";
336
283
  import { Badge, Container as Container2, Heading as Heading2, Text, toast as toast2, usePrompt as usePrompt2 } from "@medusajs/ui";
337
284
  import { useTranslation as useTranslation2 } from "react-i18next";
338
285
  import { useNavigate } from "react-router-dom";
339
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
286
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
340
287
  var RegionGeneralSection = ({
341
288
  region,
342
289
  pricePreferences
@@ -347,21 +294,21 @@ var RegionGeneralSection = ({
347
294
  );
348
295
  return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", "data-testid": "region-general-section-container", children: [
349
296
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "region-general-section-header", children: [
350
- /* @__PURE__ */ jsx3(Heading2, { "data-testid": "region-general-section-name", children: region.name }),
351
- /* @__PURE__ */ jsx3(RegionActions, { region })
297
+ /* @__PURE__ */ jsx2(Heading2, { "data-testid": "region-general-section-name", children: region.name }),
298
+ /* @__PURE__ */ jsx2(RegionActions, { region })
352
299
  ] }),
353
- /* @__PURE__ */ jsx3(
300
+ /* @__PURE__ */ jsx2(
354
301
  SectionRow,
355
302
  {
356
303
  title: t("fields.currency"),
357
304
  value: /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-2", "data-testid": "region-general-section-currency-value", children: [
358
- /* @__PURE__ */ jsx3(Badge, { size: "2xsmall", className: "uppercase", "data-testid": "region-general-section-currency-badge", children: region.currency_code }),
359
- /* @__PURE__ */ jsx3(Text, { size: "small", leading: "compact", "data-testid": "region-general-section-currency-name", children: currencies[region.currency_code.toUpperCase()].name })
305
+ /* @__PURE__ */ jsx2(Badge, { size: "2xsmall", className: "uppercase", "data-testid": "region-general-section-currency-badge", children: region.currency_code }),
306
+ /* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", "data-testid": "region-general-section-currency-name", children: currencies[region.currency_code.toUpperCase()].name })
360
307
  ] }),
361
308
  "data-testid": "region-general-section-currency"
362
309
  }
363
310
  ),
364
- /* @__PURE__ */ jsx3(
311
+ /* @__PURE__ */ jsx2(
365
312
  SectionRow,
366
313
  {
367
314
  title: t("fields.automaticTaxes"),
@@ -369,7 +316,7 @@ var RegionGeneralSection = ({
369
316
  "data-testid": "region-general-section-automatic-taxes"
370
317
  }
371
318
  ),
372
- /* @__PURE__ */ jsx3(
319
+ /* @__PURE__ */ jsx2(
373
320
  SectionRow,
374
321
  {
375
322
  title: t("fields.taxInclusivePricing"),
@@ -377,11 +324,11 @@ var RegionGeneralSection = ({
377
324
  "data-testid": "region-general-section-tax-inclusive-pricing"
378
325
  }
379
326
  ),
380
- /* @__PURE__ */ jsx3(
327
+ /* @__PURE__ */ jsx2(
381
328
  SectionRow,
382
329
  {
383
330
  title: t("fields.paymentProviders"),
384
- value: /* @__PURE__ */ jsx3("div", { className: "inline-flex", "data-testid": "region-general-section-payment-providers-value", children: region.payment_providers?.length ? /* @__PURE__ */ jsx3(
331
+ value: /* @__PURE__ */ jsx2("div", { className: "inline-flex", "data-testid": "region-general-section-payment-providers-value", children: region.payment_providers?.length ? /* @__PURE__ */ jsx2(
385
332
  ListSummary,
386
333
  {
387
334
  list: region.payment_providers.map((p) => formatProvider(p.id))
@@ -421,14 +368,14 @@ var RegionActions = ({ region }) => {
421
368
  }
422
369
  });
423
370
  };
424
- return /* @__PURE__ */ jsx3(
371
+ return /* @__PURE__ */ jsx2(
425
372
  ActionMenu,
426
373
  {
427
374
  groups: [
428
375
  {
429
376
  actions: [
430
377
  {
431
- icon: /* @__PURE__ */ jsx3(PencilSquare, {}),
378
+ icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
432
379
  label: t("actions.edit"),
433
380
  to: `/settings/regions/${region.id}/edit`
434
381
  }
@@ -437,7 +384,7 @@ var RegionActions = ({ region }) => {
437
384
  {
438
385
  actions: [
439
386
  {
440
- icon: /* @__PURE__ */ jsx3(Trash2, {}),
387
+ icon: /* @__PURE__ */ jsx2(Trash2, {}),
441
388
  label: t("actions.delete"),
442
389
  onClick: handleDelete
443
390
  }
@@ -449,9 +396,12 @@ var RegionActions = ({ region }) => {
449
396
  );
450
397
  };
451
398
 
399
+ // src/pages/regions/region-detail/constants.ts
400
+ var REGION_DETAIL_FIELDS = "*payment_providers,*countries,+automatic_taxes";
401
+
452
402
  // src/pages/regions/region-detail/region-detail.tsx
453
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
454
- var RegionDetail = () => {
403
+ import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
404
+ var Root = ({ children }) => {
455
405
  const initialData = useLoaderData();
456
406
  const { id } = useParams();
457
407
  const {
@@ -479,7 +429,7 @@ var RegionDetail = () => {
479
429
  { enabled: !!region }
480
430
  );
481
431
  if (isLoading || isLoadingPreferences || !region) {
482
- return /* @__PURE__ */ jsx4(SingleColumnPageSkeleton, { sections: 2, showJSON: true, showMetadata: true });
432
+ return /* @__PURE__ */ jsx3(SingleColumnPageSkeleton, { sections: 2, showJSON: true, showMetadata: true });
483
433
  }
484
434
  if (isRegionError) {
485
435
  throw regionError;
@@ -487,19 +437,23 @@ var RegionDetail = () => {
487
437
  if (isPreferencesError) {
488
438
  throw preferencesError;
489
439
  }
490
- return /* @__PURE__ */ jsxs3(SingleColumnPage, { data: region, showMetadata: true, showJSON: true, children: [
491
- /* @__PURE__ */ jsx4(
440
+ return /* @__PURE__ */ jsx3(SingleColumnPage, { data: region, showMetadata: true, showJSON: true, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs3(Fragment, { children: [
441
+ /* @__PURE__ */ jsx3(
492
442
  RegionGeneralSection,
493
443
  {
494
444
  region,
495
445
  pricePreferences: pricePreferences ?? []
496
446
  }
497
447
  ),
498
- /* @__PURE__ */ jsx4(RegionCountrySection, { region })
499
- ] });
448
+ /* @__PURE__ */ jsx3(RegionCountrySection, { region })
449
+ ] }) });
500
450
  };
451
+ var RegionDetail = Object.assign(Root, {
452
+ GeneralSection: RegionGeneralSection,
453
+ CountrySection: RegionCountrySection
454
+ });
455
+
501
456
  export {
502
- RegionDetailBreadcrumb as Breadcrumb,
503
- RegionDetail as Component,
504
- regionLoader as loader
457
+ REGION_DETAIL_FIELDS,
458
+ RegionDetail
505
459
  };
@@ -6,10 +6,13 @@ import {
6
6
  import {
7
7
  GEO_ZONE_STACKED_MODAL_ID
8
8
  } from "./chunk-LXSBG6LK.js";
9
+ import {
10
+ countries
11
+ } from "./chunk-JRTZWK77.js";
9
12
  import {
10
13
  _DataTable,
11
14
  useDataTable
12
- } from "./chunk-FLCYR7E5.js";
15
+ } from "./chunk-ULJ3OMWU.js";
13
16
  import {
14
17
  ChipGroup
15
18
  } from "./chunk-IGTRIAUC.js";
@@ -20,9 +23,6 @@ import {
20
23
  import {
21
24
  Form
22
25
  } from "./chunk-3QSRE5LS.js";
23
- import {
24
- countries
25
- } from "./chunk-JRTZWK77.js";
26
26
 
27
27
  // src/pages/locations/common/components/geo-zone-form/geo-zone-form.tsx
28
28
  import { Button, Checkbox } from "@medusajs/ui";