@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
@@ -3,18 +3,16 @@ import {
3
3
  } from "./chunk-RK5N3XIX.js";
4
4
  import {
5
5
  getPromotionStatus
6
- } from "./chunk-HOZHWCST.js";
6
+ } from "./chunk-XDVS4B7W.js";
7
7
  import {
8
8
  formatPercentage
9
9
  } from "./chunk-QDPLZDMX.js";
10
10
  import {
11
11
  formatCurrency
12
12
  } from "./chunk-XSX255FK.js";
13
- import "./chunk-FMFVTERD.js";
14
13
  import {
15
14
  NoRecords
16
15
  } from "./chunk-3EF54XFY.js";
17
- import "./chunk-F5PEK3DA.js";
18
16
  import {
19
17
  TwoColumnPage
20
18
  } from "./chunk-U2UCL2VG.js";
@@ -24,79 +22,14 @@ import {
24
22
  import {
25
23
  ActionMenu
26
24
  } from "./chunk-BDGZ4EQO.js";
27
- import "./chunk-LAVHRER2.js";
28
- import "./chunk-Y7QKP6QU.js";
29
- import "./chunk-UZWFZMOX.js";
30
- import "./chunk-XQNVC4Q7.js";
31
- import "./chunk-XM6GCWNF.js";
32
- import "./chunk-ODBDAABQ.js";
33
- import "./chunk-CDQJKJMX.js";
34
- import "./chunk-JLATVDLM.js";
35
- import "./chunk-GPRBBA7S.js";
36
- import "./chunk-E7ZBQO6E.js";
37
- import "./chunk-XGHM75N2.js";
38
- import "./chunk-U2GCSKW3.js";
39
- import "./chunk-RTAIDSDS.js";
40
- import "./chunk-LW3UWYZU.js";
41
- import "./chunk-A4X5VP3G.js";
42
- import "./chunk-NNZP4PYP.js";
43
- import "./chunk-GF4QHVX3.js";
44
- import "./chunk-JOQ3RTF5.js";
45
- import "./chunk-V534K7G4.js";
46
- import "./chunk-A5XOYSDC.js";
47
- import "./chunk-TQI3DOQ5.js";
48
25
  import {
49
- promotionsQueryKeys,
50
26
  useDeletePromotion,
51
27
  usePromotion,
52
28
  usePromotionRules
53
29
  } from "./chunk-5PB7KCTF.js";
54
- import "./chunk-YOIARITB.js";
55
- import "./chunk-W7G64ULL.js";
56
- import "./chunk-6C7TCU42.js";
57
- import "./chunk-4YF3GAKE.js";
58
- import "./chunk-M3I52H3M.js";
59
- import "./chunk-LORVU5II.js";
60
- import "./chunk-36ORDF7W.js";
61
- import "./chunk-QSM56ZOP.js";
62
- import "./chunk-MIHEJ6Y6.js";
63
- import "./chunk-3VZV6SJQ.js";
64
- import "./chunk-K357FGGP.js";
65
- import {
66
- queryClient
67
- } from "./chunk-RHKRREUU.js";
68
- import "./chunk-ZA2KFUFR.js";
69
- import {
70
- sdk
71
- } from "./chunk-ZYNBKBY3.js";
72
- import "./chunk-NBMM2TZK.js";
73
-
74
- // src/pages/promotions/promotion-detail/breadcrumb.tsx
75
- import { jsx } from "react/jsx-runtime";
76
- var PromotionDetailBreadcrumb = (props) => {
77
- const { id } = props.params || {};
78
- const { promotion } = usePromotion(id, {
79
- initialData: props.data,
80
- enabled: Boolean(id)
81
- });
82
- if (!promotion) {
83
- return null;
84
- }
85
- return /* @__PURE__ */ jsx("span", { children: promotion.code });
86
- };
87
-
88
- // src/pages/promotions/promotion-detail/loader.ts
89
- var promotionDetailQuery = (id) => ({
90
- queryKey: promotionsQueryKeys.detail(id),
91
- queryFn: async () => sdk.admin.promotions.$id.query({ $id: id })
92
- });
93
- var promotionLoader = async ({ params }) => {
94
- const id = params.id;
95
- const query = promotionDetailQuery(id);
96
- return queryClient.ensureQueryData(query);
97
- };
98
30
 
99
31
  // src/pages/promotions/promotion-detail/promotion-detail.tsx
32
+ import { Children } from "react";
100
33
  import { useLoaderData, useParams as useParams2 } from "react-router-dom";
101
34
 
102
35
  // src/pages/promotions/promotion-detail/components/campaign-section/campaign-section.tsx
@@ -104,17 +37,17 @@ import { ArrowUpRightOnBox, PencilSquare } from "@medusajs/icons";
104
37
  import { Container, Heading, Text } from "@medusajs/ui";
105
38
  import { useTranslation } from "react-i18next";
106
39
  import { useParams } from "react-router-dom";
107
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
40
+ import { jsx, jsxs } from "react/jsx-runtime";
108
41
  var CampaignDetailSection = ({
109
42
  campaign
110
43
  }) => {
111
44
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-3", children: [
112
45
  /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-muted flex items-center gap-x-1.5", children: [
113
- /* @__PURE__ */ jsx2(Text, { size: "small", weight: "plus", className: "text-ui-fg-base", children: campaign.name }),
114
- /* @__PURE__ */ jsx2(Text, { size: "small", weight: "plus", children: "\xB7" }),
115
- /* @__PURE__ */ jsx2(Text, { size: "small", weight: "plus", children: campaign.campaign_identifier })
46
+ /* @__PURE__ */ jsx(Text, { size: "small", weight: "plus", className: "text-ui-fg-base", children: campaign.name }),
47
+ /* @__PURE__ */ jsx(Text, { size: "small", weight: "plus", children: "\xB7" }),
48
+ /* @__PURE__ */ jsx(Text, { size: "small", weight: "plus", children: campaign.campaign_identifier })
116
49
  ] }),
117
- /* @__PURE__ */ jsx2(
50
+ /* @__PURE__ */ jsx(
118
51
  DateRangeDisplay,
119
52
  {
120
53
  startsAt: campaign.starts_at,
@@ -133,20 +66,20 @@ var CampaignSection = ({
133
66
  {
134
67
  label: t("actions.edit"),
135
68
  to: "add-to-campaign",
136
- icon: /* @__PURE__ */ jsx2(PencilSquare, {})
69
+ icon: /* @__PURE__ */ jsx(PencilSquare, {})
137
70
  }
138
71
  ];
139
72
  if (campaign) {
140
73
  actions.unshift({
141
74
  label: t("promotions.campaign.actions.goToCampaign"),
142
75
  to: `/campaigns/${campaign.id}`,
143
- icon: /* @__PURE__ */ jsx2(ArrowUpRightOnBox, {})
76
+ icon: /* @__PURE__ */ jsx(ArrowUpRightOnBox, {})
144
77
  });
145
78
  }
146
79
  return /* @__PURE__ */ jsxs(Container, { "data-testid": "promotion-campaign-section-container", children: [
147
80
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", "data-testid": "promotion-campaign-section-header", children: [
148
- /* @__PURE__ */ jsx2(Heading, { level: "h2", "data-testid": "promotion-campaign-section-heading", children: t("promotions.fields.campaign") }),
149
- /* @__PURE__ */ jsx2(
81
+ /* @__PURE__ */ jsx(Heading, { level: "h2", "data-testid": "promotion-campaign-section-heading", children: t("promotions.fields.campaign") }),
82
+ /* @__PURE__ */ jsx(
150
83
  ActionMenu,
151
84
  {
152
85
  groups: [
@@ -158,7 +91,7 @@ var CampaignSection = ({
158
91
  }
159
92
  )
160
93
  ] }),
161
- campaign ? /* @__PURE__ */ jsx2("div", { "data-testid": "promotion-campaign-section-detail", children: /* @__PURE__ */ jsx2(CampaignDetailSection, { campaign }) }) : /* @__PURE__ */ jsx2("div", { "data-testid": "promotion-campaign-section-no-records", children: /* @__PURE__ */ jsx2(
94
+ campaign ? /* @__PURE__ */ jsx("div", { "data-testid": "promotion-campaign-section-detail", children: /* @__PURE__ */ jsx(CampaignDetailSection, { campaign }) }) : /* @__PURE__ */ jsx("div", { "data-testid": "promotion-campaign-section-no-records", children: /* @__PURE__ */ jsx(
162
95
  NoRecords,
163
96
  {
164
97
  className: "h-[180px] pt-4 text-center",
@@ -183,7 +116,7 @@ import { useTranslation as useTranslation3 } from "react-i18next";
183
116
  // src/components/common/badge-list-summary/badge-list-summary.tsx
184
117
  import { Badge, Tooltip, clx } from "@medusajs/ui";
185
118
  import { useTranslation as useTranslation2 } from "react-i18next";
186
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
119
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
187
120
  var BadgeListSummary = ({
188
121
  list,
189
122
  className,
@@ -208,13 +141,13 @@ var BadgeListSummary = ({
208
141
  ),
209
142
  children: [
210
143
  list.slice(0, n).map((item) => {
211
- return /* @__PURE__ */ jsx3(Badge, { rounded: rounded ? "full" : "base", size: "2xsmall", children: item }, item);
144
+ return /* @__PURE__ */ jsx2(Badge, { rounded: rounded ? "full" : "base", size: "2xsmall", children: item }, item);
212
145
  }),
213
- list.length > n && /* @__PURE__ */ jsx3("div", { className: "whitespace-nowrap", children: /* @__PURE__ */ jsx3(
146
+ list.length > n && /* @__PURE__ */ jsx2("div", { className: "whitespace-nowrap", children: /* @__PURE__ */ jsx2(
214
147
  Tooltip,
215
148
  {
216
- content: /* @__PURE__ */ jsx3("ul", { children: list.slice(n).map((c) => /* @__PURE__ */ jsx3("li", { children: c }, c)) }),
217
- children: /* @__PURE__ */ jsx3(
149
+ content: /* @__PURE__ */ jsx2("ul", { children: list.slice(n).map((c) => /* @__PURE__ */ jsx2("li", { children: c }, c)) }),
150
+ children: /* @__PURE__ */ jsx2(
218
151
  Badge,
219
152
  {
220
153
  rounded: rounded ? "full" : "base",
@@ -231,10 +164,10 @@ var BadgeListSummary = ({
231
164
  };
232
165
 
233
166
  // src/pages/promotions/promotion-detail/components/promotion-conditions-section/promotion-conditions-section.tsx
234
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
167
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
235
168
  function RuleBlock({ rule }) {
236
- return /* @__PURE__ */ jsx4("div", { className: "bg-ui-bg-subtle shadow-borders-base align-center flex justify-around rounded-md p-2", children: /* @__PURE__ */ jsxs3("div", { className: "text-ui-fg-subtle txt-compact-xsmall flex items-center whitespace-nowrap", children: [
237
- /* @__PURE__ */ jsx4(
169
+ return /* @__PURE__ */ jsx3("div", { className: "bg-ui-bg-subtle shadow-borders-base align-center flex justify-around rounded-md p-2", children: /* @__PURE__ */ jsxs3("div", { className: "text-ui-fg-subtle txt-compact-xsmall flex items-center whitespace-nowrap", children: [
170
+ /* @__PURE__ */ jsx3(
238
171
  Badge2,
239
172
  {
240
173
  size: "2xsmall",
@@ -243,8 +176,8 @@ function RuleBlock({ rule }) {
243
176
  },
244
177
  "rule-attribute"
245
178
  ),
246
- /* @__PURE__ */ jsx4("span", { className: "txt-compact-2xsmall mx-1 inline-block", children: rule.operator_label }),
247
- /* @__PURE__ */ jsx4(
179
+ /* @__PURE__ */ jsx3("span", { className: "txt-compact-2xsmall mx-1 inline-block", children: rule.operator_label }),
180
+ /* @__PURE__ */ jsx3(
248
181
  BadgeListSummary,
249
182
  {
250
183
  inline: true,
@@ -260,47 +193,87 @@ var PromotionConditionsSection = ({
260
193
  applicationMethodTargetType
261
194
  }) => {
262
195
  const { t } = useTranslation3();
263
- return /* @__PURE__ */ jsxs3(Container2, { className: "p-0", "data-testid": `promotion-conditions-section-container-${ruleType}`, children: [
264
- /* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": `promotion-conditions-section-header-${ruleType}`, children: [
265
- /* @__PURE__ */ jsx4("div", { className: "flex flex-col", children: /* @__PURE__ */ jsx4(Heading2, { "data-testid": `promotion-conditions-section-heading-${ruleType}`, children: t(
266
- ruleType === "target-rules" ? `promotions.fields.conditions.${ruleType}.${applicationMethodTargetType}.title` : `promotions.fields.conditions.${ruleType}.title`
267
- ) }) }),
268
- /* @__PURE__ */ jsx4(
269
- ActionMenu,
270
- {
271
- groups: [
272
- {
273
- actions: [
196
+ return /* @__PURE__ */ jsxs3(
197
+ Container2,
198
+ {
199
+ className: "p-0",
200
+ "data-testid": `promotion-conditions-section-container-${ruleType}`,
201
+ children: [
202
+ /* @__PURE__ */ jsxs3(
203
+ "div",
204
+ {
205
+ className: "flex items-center justify-between px-6 py-4",
206
+ "data-testid": `promotion-conditions-section-header-${ruleType}`,
207
+ children: [
208
+ /* @__PURE__ */ jsx3("div", { className: "flex flex-col", children: /* @__PURE__ */ jsx3(
209
+ Heading2,
274
210
  {
275
- icon: /* @__PURE__ */ jsx4(PencilSquare2, {}),
276
- label: t("actions.edit"),
277
- to: `${ruleType}/edit`
211
+ "data-testid": `promotion-conditions-section-heading-${ruleType}`,
212
+ children: t(
213
+ ruleType === "target-rules" ? `promotions.fields.conditions.${ruleType}.${applicationMethodTargetType}.title` : `promotions.fields.conditions.${ruleType}.title`
214
+ )
278
215
  }
279
- ]
280
- }
281
- ],
282
- "data-testid": `promotion-conditions-section-action-menu-${ruleType}`
283
- }
284
- )
285
- ] }),
286
- /* @__PURE__ */ jsxs3("div", { className: "text-ui-fg-subtle flex flex-col gap-2 px-6 pb-4 pt-2", "data-testid": `promotion-conditions-section-content-${ruleType}`, children: [
287
- !rules.length && /* @__PURE__ */ jsx4("div", { "data-testid": `promotion-conditions-section-no-records-${ruleType}`, children: /* @__PURE__ */ jsx4(
288
- NoRecords,
289
- {
290
- className: "h-[180px]",
291
- title: t("general.noRecordsTitle"),
292
- message: t("promotions.conditions.list.noRecordsMessage"),
293
- action: {
294
- to: `${ruleType}/edit`,
295
- label: t("promotions.conditions.add")
296
- },
297
- buttonVariant: "transparentIconLeft",
298
- dataTestId: `promotion-conditions-section-add-condition-button-${ruleType}`
299
- }
300
- ) }),
301
- rules.map((rule) => /* @__PURE__ */ jsx4("div", { "data-testid": `promotion-conditions-section-rule-${rule.id}`, children: /* @__PURE__ */ jsx4(RuleBlock, { rule }) }, `${rule.id}-${rule.attribute}`))
302
- ] })
303
- ] });
216
+ ) }),
217
+ /* @__PURE__ */ jsx3(
218
+ ActionMenu,
219
+ {
220
+ groups: [
221
+ {
222
+ actions: [
223
+ {
224
+ icon: /* @__PURE__ */ jsx3(PencilSquare2, {}),
225
+ label: t("actions.edit"),
226
+ to: `${ruleType}/edit`
227
+ }
228
+ ]
229
+ }
230
+ ],
231
+ "data-testid": `promotion-conditions-section-action-menu-${ruleType}`
232
+ }
233
+ )
234
+ ]
235
+ }
236
+ ),
237
+ /* @__PURE__ */ jsxs3(
238
+ "div",
239
+ {
240
+ className: "text-ui-fg-subtle flex flex-col gap-2 px-6 pb-4 pt-2",
241
+ "data-testid": `promotion-conditions-section-content-${ruleType}`,
242
+ children: [
243
+ !rules.length && /* @__PURE__ */ jsx3(
244
+ "div",
245
+ {
246
+ "data-testid": `promotion-conditions-section-no-records-${ruleType}`,
247
+ children: /* @__PURE__ */ jsx3(
248
+ NoRecords,
249
+ {
250
+ className: "h-[180px]",
251
+ title: t("general.noRecordsTitle"),
252
+ message: t("promotions.conditions.list.noRecordsMessage"),
253
+ action: {
254
+ to: `${ruleType}/edit`,
255
+ label: t("promotions.conditions.add")
256
+ },
257
+ buttonVariant: "transparentIconLeft",
258
+ dataTestId: `promotion-conditions-section-add-condition-button-${ruleType}`
259
+ }
260
+ )
261
+ }
262
+ ),
263
+ rules.map((rule) => /* @__PURE__ */ jsx3(
264
+ "div",
265
+ {
266
+ "data-testid": `promotion-conditions-section-rule-${rule.id}`,
267
+ children: /* @__PURE__ */ jsx3(RuleBlock, { rule })
268
+ },
269
+ `${rule.id}-${rule.attribute}`
270
+ ))
271
+ ]
272
+ }
273
+ )
274
+ ]
275
+ }
276
+ );
304
277
  };
305
278
 
306
279
  // src/pages/promotions/promotion-detail/components/promotion-general-section/promotion-general-section.tsx
@@ -316,7 +289,7 @@ import {
316
289
  } from "@medusajs/ui";
317
290
  import { useTranslation as useTranslation4 } from "react-i18next";
318
291
  import { useNavigate } from "react-router-dom";
319
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
292
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
320
293
  function getDisplayValue(promotion) {
321
294
  const value = promotion.application_method?.value;
322
295
  if (!value) {
@@ -364,17 +337,17 @@ var PromotionGeneralSection = ({
364
337
  const displayValue = getDisplayValue(promotion);
365
338
  return /* @__PURE__ */ jsxs4(Container3, { className: "divide-y p-0", "data-testid": "promotion-general-section-container", children: [
366
339
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "promotion-general-section-header", children: [
367
- /* @__PURE__ */ jsx5("div", { className: "flex flex-col", children: /* @__PURE__ */ jsx5(Heading3, { "data-testid": "promotion-general-section-code", children: promotion.code }) }),
340
+ /* @__PURE__ */ jsx4("div", { className: "flex flex-col", children: /* @__PURE__ */ jsx4(Heading3, { "data-testid": "promotion-general-section-code", children: promotion.code }) }),
368
341
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-2", children: [
369
- /* @__PURE__ */ jsx5(StatusBadge, { color, "data-testid": "promotion-general-section-status", children: text }),
370
- /* @__PURE__ */ jsx5(
342
+ /* @__PURE__ */ jsx4(StatusBadge, { color, "data-testid": "promotion-general-section-status", children: text }),
343
+ /* @__PURE__ */ jsx4(
371
344
  ActionMenu,
372
345
  {
373
346
  groups: [
374
347
  {
375
348
  actions: [
376
349
  {
377
- icon: /* @__PURE__ */ jsx5(PencilSquare3, {}),
350
+ icon: /* @__PURE__ */ jsx4(PencilSquare3, {}),
378
351
  label: t("actions.edit"),
379
352
  to: `/promotions/${promotion.id}/edit`
380
353
  }
@@ -383,7 +356,7 @@ var PromotionGeneralSection = ({
383
356
  {
384
357
  actions: [
385
358
  {
386
- icon: /* @__PURE__ */ jsx5(Trash, {}),
359
+ icon: /* @__PURE__ */ jsx4(Trash, {}),
387
360
  label: t("actions.delete"),
388
361
  onClick: handleDelete
389
362
  }
@@ -396,19 +369,19 @@ var PromotionGeneralSection = ({
396
369
  ] })
397
370
  ] }),
398
371
  /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-method", children: [
399
- /* @__PURE__ */ jsx5(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-method-label", children: t("promotions.fields.method") }),
400
- /* @__PURE__ */ jsx5(Text2, { size: "small", leading: "compact", className: "text-pretty", "data-testid": "promotion-general-section-method-value", children: promotion.is_automatic ? t("promotions.form.method.automatic.title") : t("promotions.form.method.code.title") })
372
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-method-label", children: t("promotions.fields.method") }),
373
+ /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty", "data-testid": "promotion-general-section-method-value", children: promotion.is_automatic ? t("promotions.form.method.automatic.title") : t("promotions.form.method.code.title") })
401
374
  ] }),
402
375
  /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "promotion-general-section-code-field", children: [
403
- /* @__PURE__ */ jsx5(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-code-label", children: t("fields.code") }),
404
- /* @__PURE__ */ jsx5(
376
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-code-label", children: t("fields.code") }),
377
+ /* @__PURE__ */ jsx4(
405
378
  Copy,
406
379
  {
407
380
  content: promotion.code,
408
381
  className: "text-ui-tag-neutral-text",
409
382
  asChild: true,
410
383
  "data-testid": "promotion-general-section-code-copy",
411
- children: /* @__PURE__ */ jsx5(
384
+ children: /* @__PURE__ */ jsx4(
412
385
  Badge3,
413
386
  {
414
387
  size: "2xsmall",
@@ -422,30 +395,30 @@ var PromotionGeneralSection = ({
422
395
  )
423
396
  ] }),
424
397
  /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-type", children: [
425
- /* @__PURE__ */ jsx5(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-type-label", children: t("promotions.fields.type") }),
426
- /* @__PURE__ */ jsx5(Text2, { size: "small", leading: "compact", className: "text-pretty capitalize", "data-testid": "promotion-general-section-type-value", children: promotion.type })
398
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-type-label", children: t("promotions.fields.type") }),
399
+ /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty capitalize", "data-testid": "promotion-general-section-type-value", children: promotion.type })
427
400
  ] }),
428
401
  /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-value", children: [
429
- /* @__PURE__ */ jsx5(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-value-label", children: t("promotions.fields.value") }),
402
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-value-label", children: t("promotions.fields.value") }),
430
403
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-2", "data-testid": "promotion-general-section-value-content", children: [
431
- /* @__PURE__ */ jsx5(Text2, { className: "inline", size: "small", leading: "compact", "data-testid": "promotion-general-section-value-text", children: displayValue || "-" }),
432
- promotion?.application_method?.type === "fixed" && /* @__PURE__ */ jsx5(Badge3, { size: "2xsmall", rounded: "full", "data-testid": "promotion-general-section-value-currency", children: promotion?.application_method?.currency_code?.toUpperCase() })
404
+ /* @__PURE__ */ jsx4(Text2, { className: "inline", size: "small", leading: "compact", "data-testid": "promotion-general-section-value-text", children: displayValue || "-" }),
405
+ promotion?.application_method?.type === "fixed" && /* @__PURE__ */ jsx4(Badge3, { size: "2xsmall", rounded: "full", "data-testid": "promotion-general-section-value-currency", children: promotion?.application_method?.currency_code?.toUpperCase() })
433
406
  ] })
434
407
  ] }),
435
408
  /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-allocation", children: [
436
- /* @__PURE__ */ jsx5(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-allocation-label", children: t("promotions.fields.allocation") }),
437
- /* @__PURE__ */ jsx5(Text2, { size: "small", leading: "compact", className: "text-pretty capitalize", "data-testid": "promotion-general-section-allocation-value", children: promotion.application_method?.allocation })
409
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-allocation-label", children: t("promotions.fields.allocation") }),
410
+ /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty capitalize", "data-testid": "promotion-general-section-allocation-value", children: promotion.application_method?.allocation })
438
411
  ] }),
439
412
  promotion.application_method?.type === "fixed" && /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-tax-inclusive", children: [
440
- /* @__PURE__ */ jsx5(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-tax-inclusive-label", children: t("promotions.fields.taxInclusive") }),
441
- /* @__PURE__ */ jsx5("div", { className: "flex items-center gap-x-2", "data-testid": "promotion-general-section-tax-inclusive-value", children: /* @__PURE__ */ jsx5(Text2, { className: "inline", size: "small", leading: "compact", children: promotion.is_tax_inclusive ? t("fields.true") : t("fields.false") }) })
413
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-tax-inclusive-label", children: t("promotions.fields.taxInclusive") }),
414
+ /* @__PURE__ */ jsx4("div", { className: "flex items-center gap-x-2", "data-testid": "promotion-general-section-tax-inclusive-value", children: /* @__PURE__ */ jsx4(Text2, { className: "inline", size: "small", leading: "compact", children: promotion.is_tax_inclusive ? t("fields.true") : t("fields.false") }) })
442
415
  ] })
443
416
  ] });
444
417
  };
445
418
 
446
419
  // src/pages/promotions/promotion-detail/promotion-detail.tsx
447
- import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
448
- var PromotionDetail = () => {
420
+ import { Fragment, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
421
+ var Root = ({ children }) => {
449
422
  const initialData = useLoaderData();
450
423
  const { id } = useParams2();
451
424
  const { promotion, isLoading } = usePromotion(id, { initialData });
@@ -457,21 +430,27 @@ var PromotionDetail = () => {
457
430
  const { rules: targetRules } = usePromotionRules(id, "target-rules", query);
458
431
  const { rules: buyRules } = usePromotionRules(id, "buy-rules", query);
459
432
  if (isLoading || !promotion) {
460
- return /* @__PURE__ */ jsx6(TwoColumnPageSkeleton, { mainSections: 3, sidebarSections: 1, showJSON: true });
433
+ return /* @__PURE__ */ jsx5(TwoColumnPageSkeleton, { mainSections: 3, sidebarSections: 1, showJSON: true });
461
434
  }
462
- return /* @__PURE__ */ jsxs5(TwoColumnPage, { data: promotion, hasOutlet: true, showJSON: true, children: [
435
+ return /* @__PURE__ */ jsx5(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs5(TwoColumnPage, { data: promotion, hasOutlet: true, showJSON: true, children: [
463
436
  /* @__PURE__ */ jsxs5(TwoColumnPage.Main, { children: [
464
- /* @__PURE__ */ jsx6(PromotionGeneralSection, { promotion }),
465
- /* @__PURE__ */ jsx6(PromotionConditionsSection, { rules: rules || [], ruleType: "rules" }),
466
- /* @__PURE__ */ jsx6(
437
+ /* @__PURE__ */ jsx5(PromotionGeneralSection, { promotion }),
438
+ /* @__PURE__ */ jsx5(
439
+ PromotionConditionsSection,
440
+ {
441
+ rules: rules || [],
442
+ ruleType: "rules"
443
+ }
444
+ ),
445
+ /* @__PURE__ */ jsx5(
467
446
  PromotionConditionsSection,
468
447
  {
469
448
  rules: targetRules || [],
470
449
  ruleType: "target-rules",
471
- applicationMethodTargetType: promotion.application_method.target_type || "items"
450
+ applicationMethodTargetType: promotion.application_method?.target_type || "items"
472
451
  }
473
452
  ),
474
- promotion.type === "buyget" && /* @__PURE__ */ jsx6(
453
+ promotion.type === "buyget" && /* @__PURE__ */ jsx5(
475
454
  PromotionConditionsSection,
476
455
  {
477
456
  rules: buyRules || [],
@@ -480,11 +459,17 @@ var PromotionDetail = () => {
480
459
  }
481
460
  )
482
461
  ] }),
483
- /* @__PURE__ */ jsx6(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx6(CampaignSection, { campaign: promotion.campaign }) })
484
- ] });
462
+ /* @__PURE__ */ jsx5(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx5(CampaignSection, { campaign: promotion.campaign }) })
463
+ ] }) });
485
464
  };
465
+ var PromotionDetail = Object.assign(Root, {
466
+ Main: TwoColumnPage.Main,
467
+ Sidebar: TwoColumnPage.Sidebar,
468
+ MainGeneralSection: PromotionGeneralSection,
469
+ MainConditionsSection: PromotionConditionsSection,
470
+ SidebarCampaignSection: CampaignSection
471
+ });
472
+
486
473
  export {
487
- PromotionDetailBreadcrumb as Breadcrumb,
488
- PromotionDetail as Component,
489
- promotionLoader as loader
474
+ PromotionDetail
490
475
  };
@@ -1,33 +1,22 @@
1
1
  import {
2
2
  INVENTORY_ITEM_IDS_KEY
3
3
  } from "./chunk-EOZUAYQL.js";
4
- import "./chunk-FQERBIVS.js";
5
4
  import {
6
5
  PlaceholderCell
7
6
  } from "./chunk-PHOCVOZ5.js";
8
7
  import {
9
8
  _DataTable,
10
9
  useDataTable
11
- } from "./chunk-FLCYR7E5.js";
12
- import "./chunk-YBZWO4ZV.js";
13
- import "./chunk-KAZ5BYTQ.js";
14
- import "./chunk-3EF54XFY.js";
15
- import "./chunk-KBYZLKI4.js";
16
- import "./chunk-YWWUOGJA.js";
10
+ } from "./chunk-ULJ3OMWU.js";
17
11
  import {
18
12
  SingleColumnPage
19
13
  } from "./chunk-U2UCL2VG.js";
20
- import "./chunk-INNFZYX2.js";
21
14
  import {
22
15
  ActionMenu
23
16
  } from "./chunk-BDGZ4EQO.js";
24
- import "./chunk-LAVHRER2.js";
25
- import "./chunk-Y7QKP6QU.js";
26
17
  import {
27
18
  useQueryParams
28
19
  } from "./chunk-THHRRYRS.js";
29
- import "./chunk-UZWFZMOX.js";
30
- import "./chunk-XQNVC4Q7.js";
31
20
  import {
32
21
  useStockLocations
33
22
  } from "./chunk-4YF3GAKE.js";
@@ -35,10 +24,9 @@ import {
35
24
  useDeleteInventoryItem,
36
25
  useInventoryItems
37
26
  } from "./chunk-K357FGGP.js";
38
- import "./chunk-RHKRREUU.js";
39
- import "./chunk-ZA2KFUFR.js";
40
- import "./chunk-ZYNBKBY3.js";
41
- import "./chunk-NBMM2TZK.js";
27
+
28
+ // src/pages/inventory/inventory-list/inventory-list.tsx
29
+ import { Children } from "react";
42
30
 
43
31
  // src/pages/inventory/inventory-list/components/inventory-list-table.tsx
44
32
  import { Button, Container, Heading, Text } from "@medusajs/ui";
@@ -425,9 +413,13 @@ var InventoryListTable = () => {
425
413
 
426
414
  // src/pages/inventory/inventory-list/inventory-list.tsx
427
415
  import { jsx as jsx4 } from "react/jsx-runtime";
428
- var InventoryItemListTable = () => {
429
- return /* @__PURE__ */ jsx4("div", { "data-testid": "inventory-page", children: /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(InventoryListTable, {}) }) });
416
+ var Root = ({ children }) => {
417
+ return /* @__PURE__ */ jsx4("div", { "data-testid": "inventory-page", children: /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx4(InventoryListTable, {}) }) });
430
418
  };
419
+ var InventoryItemListTable = Object.assign(Root, {
420
+ Table: InventoryListTable
421
+ });
422
+
431
423
  export {
432
- InventoryItemListTable as Component
424
+ InventoryItemListTable
433
425
  };
@@ -8,7 +8,7 @@ import "./chunk-PHOCVOZ5.js";
8
8
  import {
9
9
  _DataTable,
10
10
  useDataTable
11
- } from "./chunk-FLCYR7E5.js";
11
+ } from "./chunk-ULJ3OMWU.js";
12
12
  import "./chunk-YBZWO4ZV.js";
13
13
  import "./chunk-KAZ5BYTQ.js";
14
14
  import "./chunk-3EF54XFY.js";
@@ -16,6 +16,8 @@ import "./chunk-WIYFXWRI.js";
16
16
  import {
17
17
  KeyboundForm
18
18
  } from "./chunk-U2ZFCAPX.js";
19
+ import "./chunk-INNFZYX2.js";
20
+ import "./chunk-Y7QKP6QU.js";
19
21
  import {
20
22
  useProductTableFilters
21
23
  } from "./chunk-FBUH5OLD.js";
@@ -24,47 +26,45 @@ import {
24
26
  } from "./chunk-VVWB3GIK.js";
25
27
  import "./chunk-KBYZLKI4.js";
26
28
  import "./chunk-YWWUOGJA.js";
29
+ import "./chunk-THHRRYRS.js";
30
+ import "./chunk-UZWFZMOX.js";
31
+ import "./chunk-XQNVC4Q7.js";
27
32
  import {
28
33
  RouteFocusModal,
29
34
  useRouteModal
30
35
  } from "./chunk-MWOKFNRO.js";
31
36
  import "./chunk-3QSRE5LS.js";
32
- import "./chunk-INNFZYX2.js";
33
- import "./chunk-Y7QKP6QU.js";
34
- import "./chunk-THHRRYRS.js";
35
- import "./chunk-UZWFZMOX.js";
36
- import "./chunk-XQNVC4Q7.js";
37
37
  import "./chunk-XM6GCWNF.js";
38
38
  import "./chunk-ODBDAABQ.js";
39
39
  import "./chunk-CDQJKJMX.js";
40
40
  import "./chunk-JLATVDLM.js";
41
- import "./chunk-GPRBBA7S.js";
42
41
  import "./chunk-E7ZBQO6E.js";
42
+ import "./chunk-GPRBBA7S.js";
43
43
  import "./chunk-XGHM75N2.js";
44
44
  import "./chunk-U2GCSKW3.js";
45
+ import "./chunk-A4X5VP3G.js";
45
46
  import "./chunk-RTAIDSDS.js";
46
47
  import "./chunk-LW3UWYZU.js";
47
- import "./chunk-A4X5VP3G.js";
48
48
  import "./chunk-NNZP4PYP.js";
49
- import "./chunk-GF4QHVX3.js";
50
49
  import "./chunk-JOQ3RTF5.js";
51
50
  import "./chunk-V534K7G4.js";
52
- import "./chunk-A5XOYSDC.js";
53
51
  import {
54
52
  useCollection,
55
53
  useUpdateCollectionProducts
56
54
  } from "./chunk-TQI3DOQ5.js";
57
55
  import "./chunk-5PB7KCTF.js";
56
+ import "./chunk-LU72QEQC.js";
57
+ import "./chunk-GF4QHVX3.js";
58
+ import "./chunk-A5XOYSDC.js";
58
59
  import "./chunk-YOIARITB.js";
59
60
  import "./chunk-W7G64ULL.js";
60
61
  import "./chunk-6C7TCU42.js";
61
62
  import "./chunk-4YF3GAKE.js";
62
- import "./chunk-M3I52H3M.js";
63
- import "./chunk-LORVU5II.js";
64
- import "./chunk-36ORDF7W.js";
65
63
  import "./chunk-QSM56ZOP.js";
66
64
  import "./chunk-MIHEJ6Y6.js";
67
65
  import "./chunk-3VZV6SJQ.js";
66
+ import "./chunk-LORVU5II.js";
67
+ import "./chunk-36ORDF7W.js";
68
68
  import {
69
69
  useProducts
70
70
  } from "./chunk-K357FGGP.js";