@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
@@ -5,68 +5,37 @@ import {
5
5
  TextCell,
6
6
  TextHeader
7
7
  } from "./chunk-JHIMVLB2.js";
8
- import "./chunk-FQERBIVS.js";
9
- import {
10
- PlaceholderCell
11
- } from "./chunk-PHOCVOZ5.js";
12
- import {
13
- _DataTable,
14
- useDataTable
15
- } from "./chunk-FLCYR7E5.js";
16
- import "./chunk-YBZWO4ZV.js";
17
- import "./chunk-KAZ5BYTQ.js";
18
- import "./chunk-3EF54XFY.js";
19
- import {
20
- Thumbnail
21
- } from "./chunk-WIYFXWRI.js";
22
- import "./chunk-KBYZLKI4.js";
23
- import "./chunk-YWWUOGJA.js";
24
8
  import {
25
9
  getFormattedCountry
26
10
  } from "./chunk-W6Y3PPU5.js";
27
- import "./chunk-FI474ADU.js";
28
11
  import {
29
12
  SectionRow
30
13
  } from "./chunk-3XPXUIK3.js";
31
- import "./chunk-JRTZWK77.js";
14
+ import {
15
+ PlaceholderCell
16
+ } from "./chunk-PHOCVOZ5.js";
17
+ import {
18
+ _DataTable,
19
+ useDataTable
20
+ } from "./chunk-ULJ3OMWU.js";
32
21
  import {
33
22
  TwoColumnPage
34
23
  } from "./chunk-U2UCL2VG.js";
24
+ import {
25
+ Thumbnail
26
+ } from "./chunk-WIYFXWRI.js";
35
27
  import {
36
28
  TwoColumnPageSkeleton
37
29
  } from "./chunk-INNFZYX2.js";
38
30
  import {
39
31
  ActionMenu
40
32
  } from "./chunk-BDGZ4EQO.js";
41
- import "./chunk-LAVHRER2.js";
42
- import "./chunk-Y7QKP6QU.js";
43
33
  import {
44
34
  useQueryParams
45
35
  } from "./chunk-THHRRYRS.js";
46
36
  import {
47
37
  useDate
48
38
  } from "./chunk-UZWFZMOX.js";
49
- import "./chunk-XQNVC4Q7.js";
50
- import "./chunk-XM6GCWNF.js";
51
- import "./chunk-ODBDAABQ.js";
52
- import "./chunk-CDQJKJMX.js";
53
- import "./chunk-JLATVDLM.js";
54
- import "./chunk-GPRBBA7S.js";
55
- import "./chunk-E7ZBQO6E.js";
56
- import "./chunk-XGHM75N2.js";
57
- import "./chunk-U2GCSKW3.js";
58
- import "./chunk-RTAIDSDS.js";
59
- import "./chunk-LW3UWYZU.js";
60
- import "./chunk-A4X5VP3G.js";
61
- import "./chunk-NNZP4PYP.js";
62
- import "./chunk-GF4QHVX3.js";
63
- import "./chunk-JOQ3RTF5.js";
64
- import "./chunk-V534K7G4.js";
65
- import "./chunk-A5XOYSDC.js";
66
- import "./chunk-TQI3DOQ5.js";
67
- import "./chunk-5PB7KCTF.js";
68
- import "./chunk-YOIARITB.js";
69
- import "./chunk-W7G64ULL.js";
70
39
  import {
71
40
  useDeleteReservationItem,
72
41
  useReservationItems
@@ -74,12 +43,6 @@ import {
74
43
  import {
75
44
  useStockLocations
76
45
  } from "./chunk-4YF3GAKE.js";
77
- import "./chunk-M3I52H3M.js";
78
- import "./chunk-LORVU5II.js";
79
- import "./chunk-36ORDF7W.js";
80
- import "./chunk-QSM56ZOP.js";
81
- import "./chunk-MIHEJ6Y6.js";
82
- import "./chunk-3VZV6SJQ.js";
83
46
  import {
84
47
  inventoryItemLevelsQueryKeys,
85
48
  inventoryItemsQueryKeys,
@@ -89,53 +52,77 @@ import {
89
52
  import {
90
53
  queryClient
91
54
  } from "./chunk-RHKRREUU.js";
92
- import "./chunk-ZA2KFUFR.js";
93
55
  import {
94
56
  sdk
95
57
  } from "./chunk-ZYNBKBY3.js";
96
- import "./chunk-NBMM2TZK.js";
97
-
98
- // src/pages/inventory/inventory-detail/constants.ts
99
- var INVENTORY_DETAIL_FIELDS = "*variants,*variants.product,*variants.options";
100
-
101
- // src/pages/inventory/inventory-detail/breadcrumb.tsx
102
- import { jsx } from "react/jsx-runtime";
103
- var InventoryDetailBreadcrumb = (props) => {
104
- const { id } = props.params || {};
105
- const { inventory_item } = useInventoryItem(
106
- id,
107
- {
108
- fields: INVENTORY_DETAIL_FIELDS
109
- },
110
- {
111
- initialData: props.data,
112
- enabled: Boolean(id)
113
- }
114
- );
115
- if (!inventory_item) {
116
- return null;
117
- }
118
- return /* @__PURE__ */ jsx("span", { children: inventory_item.title ?? inventory_item.sku ?? id });
119
- };
120
58
 
121
59
  // src/pages/inventory/inventory-detail/inventory-detail.tsx
60
+ import { Children } from "react";
122
61
  import { useLoaderData, useParams } from "react-router-dom";
123
62
 
63
+ // src/pages/inventory/inventory-detail/components/inventory-item-attributes/attributes-section.tsx
64
+ import { Container, Heading } from "@medusajs/ui";
65
+ import { PencilSquare } from "@medusajs/icons";
66
+ import { useTranslation } from "react-i18next";
67
+ import { jsx, jsxs } from "react/jsx-runtime";
68
+ var InventoryItemAttributeSection = ({
69
+ inventoryItem
70
+ }) => {
71
+ const { t } = useTranslation();
72
+ return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", "data-testid": "inventory-item-attribute-section", children: [
73
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "inventory-item-attribute-header", children: [
74
+ /* @__PURE__ */ jsx(Heading, { level: "h2", "data-testid": "inventory-item-attribute-title", children: t("products.attributes") }),
75
+ /* @__PURE__ */ jsx(
76
+ ActionMenu,
77
+ {
78
+ groups: [
79
+ {
80
+ actions: [
81
+ {
82
+ label: t("actions.edit"),
83
+ to: "attributes",
84
+ icon: /* @__PURE__ */ jsx(PencilSquare, {})
85
+ }
86
+ ]
87
+ }
88
+ ],
89
+ "data-testid": "inventory-item-attribute-action-menu"
90
+ }
91
+ )
92
+ ] }),
93
+ /* @__PURE__ */ jsx(SectionRow, { title: t("fields.height"), value: inventoryItem.height, "data-testid": "inventory-item-height-row" }),
94
+ /* @__PURE__ */ jsx(SectionRow, { title: t("fields.width"), value: inventoryItem.width, "data-testid": "inventory-item-width-row" }),
95
+ /* @__PURE__ */ jsx(SectionRow, { title: t("fields.length"), value: inventoryItem.length, "data-testid": "inventory-item-length-row" }),
96
+ /* @__PURE__ */ jsx(SectionRow, { title: t("fields.weight"), value: inventoryItem.weight, "data-testid": "inventory-item-weight-row" }),
97
+ /* @__PURE__ */ jsx(SectionRow, { title: t("fields.midCode"), value: inventoryItem.mid_code, "data-testid": "inventory-item-mid-code-row" }),
98
+ /* @__PURE__ */ jsx(SectionRow, { title: t("fields.material"), value: inventoryItem.material, "data-testid": "inventory-item-material-row" }),
99
+ /* @__PURE__ */ jsx(SectionRow, { title: t("fields.hsCode"), value: inventoryItem.hs_code, "data-testid": "inventory-item-hs-code-row" }),
100
+ /* @__PURE__ */ jsx(
101
+ SectionRow,
102
+ {
103
+ title: t("fields.countryOfOrigin"),
104
+ value: getFormattedCountry(inventoryItem.origin_country),
105
+ "data-testid": "inventory-item-country-of-origin-row"
106
+ }
107
+ )
108
+ ] });
109
+ };
110
+
124
111
  // src/pages/inventory/inventory-detail/components/inventory-item-location-levels.tsx
125
- import { Button, Container, Heading } from "@medusajs/ui";
126
- import { useTranslation as useTranslation2 } from "react-i18next";
112
+ import { Button, Container as Container2, Heading as Heading2 } from "@medusajs/ui";
113
+ import { useTranslation as useTranslation3 } from "react-i18next";
127
114
  import { Link } from "react-router-dom";
128
115
 
129
116
  // src/pages/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx
130
117
  import { useMemo } from "react";
131
- import { PencilSquare, Trash } from "@medusajs/icons";
118
+ import { PencilSquare as PencilSquare2, Trash } from "@medusajs/icons";
132
119
  import { createDataTableColumnHelper, toast, usePrompt } from "@medusajs/ui";
133
- import { useTranslation } from "react-i18next";
120
+ import { useTranslation as useTranslation2 } from "react-i18next";
134
121
  import { useNavigate } from "react-router-dom";
135
122
  import { jsx as jsx2 } from "react/jsx-runtime";
136
123
  var columnHelper = createDataTableColumnHelper();
137
124
  var useLocationListTableColumns = () => {
138
- const { t } = useTranslation();
125
+ const { t } = useTranslation2();
139
126
  const navigate = useNavigate();
140
127
  const prompt = usePrompt();
141
128
  const handleDelete = async (level) => {
@@ -223,7 +210,7 @@ var useLocationListTableColumns = () => {
223
210
  return [
224
211
  [
225
212
  {
226
- icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
213
+ icon: /* @__PURE__ */ jsx2(PencilSquare2, {}),
227
214
  label: t("actions.edit"),
228
215
  onClick: () => {
229
216
  navigate(`locations/${level.location_id}`);
@@ -321,24 +308,24 @@ var ItemLocationListTable = ({
321
308
  };
322
309
 
323
310
  // src/pages/inventory/inventory-detail/components/inventory-item-location-levels.tsx
324
- import { jsx as jsx4, jsxs } from "react/jsx-runtime";
311
+ import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
325
312
  var InventoryItemLocationLevelsSection = ({
326
313
  inventoryItem
327
314
  }) => {
328
- const { t } = useTranslation2();
329
- return /* @__PURE__ */ jsxs(
330
- Container,
315
+ const { t } = useTranslation3();
316
+ return /* @__PURE__ */ jsxs2(
317
+ Container2,
331
318
  {
332
319
  className: "divide-y p-0",
333
320
  "data-testid": "inventory-item-location-levels-section",
334
321
  children: [
335
- /* @__PURE__ */ jsxs(
322
+ /* @__PURE__ */ jsxs2(
336
323
  "div",
337
324
  {
338
325
  className: "flex items-center justify-between px-6 py-4",
339
326
  "data-testid": "inventory-item-location-levels-header",
340
327
  children: [
341
- /* @__PURE__ */ jsx4(Heading, { "data-testid": "inventory-item-location-levels-title", children: t("inventory.locationLevels") }),
328
+ /* @__PURE__ */ jsx4(Heading2, { "data-testid": "inventory-item-location-levels-title", children: t("inventory.locationLevels") }),
342
329
  /* @__PURE__ */ jsx4(
343
330
  Button,
344
331
  {
@@ -359,8 +346,8 @@ var InventoryItemLocationLevelsSection = ({
359
346
  };
360
347
 
361
348
  // src/pages/inventory/inventory-detail/components/inventory-item-reservations.tsx
362
- import { Button as Button2, Container as Container2, Heading as Heading2 } from "@medusajs/ui";
363
- import { useTranslation as useTranslation6 } from "react-i18next";
349
+ import { Button as Button2, Container as Container3, Heading as Heading3 } from "@medusajs/ui";
350
+ import { useTranslation as useTranslation7 } from "react-i18next";
364
351
  import { Link as Link2 } from "react-router-dom";
365
352
 
366
353
  // src/pages/inventory/inventory-detail/components/reservations-table/reservation-list-table.tsx
@@ -369,11 +356,11 @@ import { useMemo as useMemo3 } from "react";
369
356
  // src/pages/inventory/inventory-detail/components/reservations-table/use-reservation-list-table-columns.tsx
370
357
  import { createColumnHelper } from "@tanstack/react-table";
371
358
  import { useMemo as useMemo2 } from "react";
372
- import { useTranslation as useTranslation5 } from "react-i18next";
359
+ import { useTranslation as useTranslation6 } from "react-i18next";
373
360
 
374
361
  // src/components/table/table-cells/common/created-at-cell/created-at-cell.tsx
375
362
  import { Tooltip } from "@medusajs/ui";
376
- import { useTranslation as useTranslation3 } from "react-i18next";
363
+ import { useTranslation as useTranslation4 } from "react-i18next";
377
364
  import { jsx as jsx5 } from "react/jsx-runtime";
378
365
  var CreatedAtCell = ({ date }) => {
379
366
  const { getFullDate } = useDate();
@@ -394,14 +381,14 @@ var CreatedAtCell = ({ date }) => {
394
381
  };
395
382
 
396
383
  // src/pages/inventory/inventory-detail/components/reservations-table/reservation-actions.tsx
397
- import { PencilSquare as PencilSquare2, Trash as Trash2 } from "@medusajs/icons";
384
+ import { PencilSquare as PencilSquare3, Trash as Trash2 } from "@medusajs/icons";
398
385
  import { toast as toast2, usePrompt as usePrompt2 } from "@medusajs/ui";
399
- import { useTranslation as useTranslation4 } from "react-i18next";
386
+ import { useTranslation as useTranslation5 } from "react-i18next";
400
387
  import { jsx as jsx6 } from "react/jsx-runtime";
401
388
  var ReservationActions = ({
402
389
  reservation
403
390
  }) => {
404
- const { t } = useTranslation4();
391
+ const { t } = useTranslation5();
405
392
  const prompt = usePrompt2();
406
393
  const { mutateAsync } = useDeleteReservationItem(reservation.id);
407
394
  const handleDelete = async () => {
@@ -430,7 +417,7 @@ var ReservationActions = ({
430
417
  {
431
418
  actions: [
432
419
  {
433
- icon: /* @__PURE__ */ jsx6(PencilSquare2, {}),
420
+ icon: /* @__PURE__ */ jsx6(PencilSquare3, {}),
434
421
  label: t("actions.edit"),
435
422
  to: `/reservations/${reservation.id}/edit`
436
423
  }
@@ -455,7 +442,7 @@ var ReservationActions = ({
455
442
  import { jsx as jsx7 } from "react/jsx-runtime";
456
443
  var columnHelper2 = createColumnHelper();
457
444
  var useReservationTableColumn = ({ sku }) => {
458
- const { t } = useTranslation5();
445
+ const { t } = useTranslation6();
459
446
  return useMemo2(
460
447
  () => [
461
448
  columnHelper2.display({
@@ -593,14 +580,14 @@ var ReservationItemTable = ({
593
580
  };
594
581
 
595
582
  // src/pages/inventory/inventory-detail/components/inventory-item-reservations.tsx
596
- import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
583
+ import { jsx as jsx9, jsxs as jsxs3 } from "react/jsx-runtime";
597
584
  var InventoryItemReservationsSection = ({
598
585
  inventoryItem
599
586
  }) => {
600
- const { t } = useTranslation6();
601
- return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", "data-testid": "inventory-item-reservations-section", children: [
602
- /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "inventory-item-reservations-header", children: [
603
- /* @__PURE__ */ jsx9(Heading2, { "data-testid": "inventory-item-reservations-title", children: t("reservations.domain") }),
587
+ const { t } = useTranslation7();
588
+ return /* @__PURE__ */ jsxs3(Container3, { className: "divide-y p-0", "data-testid": "inventory-item-reservations-section", children: [
589
+ /* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "inventory-item-reservations-header", children: [
590
+ /* @__PURE__ */ jsx9(Heading3, { "data-testid": "inventory-item-reservations-title", children: t("reservations.domain") }),
604
591
  /* @__PURE__ */ jsx9(Button2, { size: "small", variant: "secondary", asChild: true, "data-testid": "inventory-create-reservation-button", children: /* @__PURE__ */ jsx9(Link2, { to: `/reservations/create?item_id=${inventoryItem.id}`, "data-testid": "inventory-create-reservation-link", children: t("actions.create") }) })
605
592
  ] }),
606
593
  /* @__PURE__ */ jsx9(ReservationItemTable, { inventoryItem })
@@ -609,24 +596,24 @@ var InventoryItemReservationsSection = ({
609
596
 
610
597
  // src/pages/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx
611
598
  import { TriangleRightMini } from "@medusajs/icons";
612
- import { Container as Container3, Heading as Heading3 } from "@medusajs/ui";
613
- import { useTranslation as useTranslation7 } from "react-i18next";
599
+ import { Container as Container4, Heading as Heading4 } from "@medusajs/ui";
600
+ import { useTranslation as useTranslation8 } from "react-i18next";
614
601
  import { Link as Link3 } from "react-router-dom";
615
- import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
602
+ import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
616
603
  var InventoryItemVariantsSection = ({
617
604
  variants
618
605
  }) => {
619
- const { t } = useTranslation7();
606
+ const { t } = useTranslation8();
620
607
  if (!variants?.length) {
621
608
  return null;
622
609
  }
623
- return /* @__PURE__ */ jsxs3(Container3, { className: "p-0", "data-testid": "inventory-item-variants-section", children: [
624
- /* @__PURE__ */ jsx10("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "inventory-item-variants-header", children: /* @__PURE__ */ jsx10(Heading3, { level: "h2", "data-testid": "inventory-item-variants-title", children: t("inventory.associatedVariants") }) }),
610
+ return /* @__PURE__ */ jsxs4(Container4, { className: "p-0", "data-testid": "inventory-item-variants-section", children: [
611
+ /* @__PURE__ */ jsx10("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "inventory-item-variants-header", children: /* @__PURE__ */ jsx10(Heading4, { level: "h2", "data-testid": "inventory-item-variants-title", children: t("inventory.associatedVariants") }) }),
625
612
  /* @__PURE__ */ jsx10("div", { className: "txt-small flex flex-col gap-2 px-2 pb-2", "data-testid": "inventory-item-variants-list", children: variants.map((variant) => {
626
613
  const link = variant.product ? `/products/${variant.product.id}/variants/${variant.id}` : null;
627
- const Inner = /* @__PURE__ */ jsx10("div", { className: "shadow-elevation-card-rest bg-ui-bg-component rounded-md px-4 py-2 transition-colors", "data-testid": `inventory-item-variant-${variant.id}`, children: /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-3", children: [
614
+ const Inner = /* @__PURE__ */ jsx10("div", { className: "shadow-elevation-card-rest bg-ui-bg-component rounded-md px-4 py-2 transition-colors", "data-testid": `inventory-item-variant-${variant.id}`, children: /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-3", children: [
628
615
  /* @__PURE__ */ jsx10("div", { className: "shadow-elevation-card-rest rounded-md", "data-testid": `inventory-item-variant-thumbnail-${variant.id}`, children: /* @__PURE__ */ jsx10(Thumbnail, { src: variant.product?.thumbnail }) }),
629
- /* @__PURE__ */ jsxs3("div", { className: "flex flex-1 flex-col", children: [
616
+ /* @__PURE__ */ jsxs4("div", { className: "flex flex-1 flex-col", children: [
630
617
  /* @__PURE__ */ jsx10("span", { className: "text-ui-fg-base font-medium", "data-testid": `inventory-item-variant-title-${variant.id}`, children: variant.title }),
631
618
  /* @__PURE__ */ jsx10("span", { className: "text-ui-fg-subtle", "data-testid": `inventory-item-variant-options-${variant.id}`, children: variant.options.map((o) => o.value).join(" \u22C5 ") })
632
619
  ] }),
@@ -649,57 +636,12 @@ var InventoryItemVariantsSection = ({
649
636
  ] });
650
637
  };
651
638
 
652
- // src/pages/inventory/inventory-detail/components/inventory-item-attributes/attributes-section.tsx
653
- import { Container as Container4, Heading as Heading4 } from "@medusajs/ui";
654
- import { PencilSquare as PencilSquare3 } from "@medusajs/icons";
655
- import { useTranslation as useTranslation8 } from "react-i18next";
656
- import { jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
657
- var InventoryItemAttributeSection = ({
658
- inventoryItem
659
- }) => {
660
- const { t } = useTranslation8();
661
- return /* @__PURE__ */ jsxs4(Container4, { className: "divide-y p-0", "data-testid": "inventory-item-attribute-section", children: [
662
- /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "inventory-item-attribute-header", children: [
663
- /* @__PURE__ */ jsx11(Heading4, { level: "h2", "data-testid": "inventory-item-attribute-title", children: t("products.attributes") }),
664
- /* @__PURE__ */ jsx11(
665
- ActionMenu,
666
- {
667
- groups: [
668
- {
669
- actions: [
670
- {
671
- label: t("actions.edit"),
672
- to: "attributes",
673
- icon: /* @__PURE__ */ jsx11(PencilSquare3, {})
674
- }
675
- ]
676
- }
677
- ],
678
- "data-testid": "inventory-item-attribute-action-menu"
679
- }
680
- )
681
- ] }),
682
- /* @__PURE__ */ jsx11(SectionRow, { title: t("fields.height"), value: inventoryItem.height, "data-testid": "inventory-item-height-row" }),
683
- /* @__PURE__ */ jsx11(SectionRow, { title: t("fields.width"), value: inventoryItem.width, "data-testid": "inventory-item-width-row" }),
684
- /* @__PURE__ */ jsx11(SectionRow, { title: t("fields.length"), value: inventoryItem.length, "data-testid": "inventory-item-length-row" }),
685
- /* @__PURE__ */ jsx11(SectionRow, { title: t("fields.weight"), value: inventoryItem.weight, "data-testid": "inventory-item-weight-row" }),
686
- /* @__PURE__ */ jsx11(SectionRow, { title: t("fields.midCode"), value: inventoryItem.mid_code, "data-testid": "inventory-item-mid-code-row" }),
687
- /* @__PURE__ */ jsx11(SectionRow, { title: t("fields.material"), value: inventoryItem.material, "data-testid": "inventory-item-material-row" }),
688
- /* @__PURE__ */ jsx11(SectionRow, { title: t("fields.hsCode"), value: inventoryItem.hs_code, "data-testid": "inventory-item-hs-code-row" }),
689
- /* @__PURE__ */ jsx11(
690
- SectionRow,
691
- {
692
- title: t("fields.countryOfOrigin"),
693
- value: getFormattedCountry(inventoryItem.origin_country),
694
- "data-testid": "inventory-item-country-of-origin-row"
695
- }
696
- )
697
- ] });
698
- };
639
+ // src/pages/inventory/inventory-detail/constants.ts
640
+ var INVENTORY_DETAIL_FIELDS = "*variants,*variants.product,*variants.options";
699
641
 
700
642
  // src/pages/inventory/inventory-detail/inventory-detail.tsx
701
- import { jsx as jsx12, jsxs as jsxs5 } from "react/jsx-runtime";
702
- var InventoryDetail = () => {
643
+ import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
644
+ var Root = ({ children }) => {
703
645
  const { id } = useParams();
704
646
  const initialData = useLoaderData();
705
647
  const {
@@ -717,7 +659,7 @@ var InventoryDetail = () => {
717
659
  }
718
660
  );
719
661
  if (isLoading || !inventory_item) {
720
- return /* @__PURE__ */ jsx12(
662
+ return /* @__PURE__ */ jsx11(
721
663
  TwoColumnPageSkeleton,
722
664
  {
723
665
  showJSON: true,
@@ -730,47 +672,39 @@ var InventoryDetail = () => {
730
672
  if (isError) {
731
673
  throw error;
732
674
  }
733
- return /* @__PURE__ */ jsx12("div", { "data-testid": "inventory-detail-page", children: /* @__PURE__ */ jsxs5(
734
- TwoColumnPage,
735
- {
736
- data: inventory_item,
737
- showJSON: true,
738
- showMetadata: true,
739
- children: [
740
- /* @__PURE__ */ jsxs5(TwoColumnPage.Main, { "data-testid": "inventory-detail-main", children: [
741
- /* @__PURE__ */ jsx12(InventoryItemGeneralSection, { inventoryItem: inventory_item }),
742
- /* @__PURE__ */ jsx12(InventoryItemLocationLevelsSection, { inventoryItem: inventory_item }),
743
- /* @__PURE__ */ jsx12(InventoryItemReservationsSection, { inventoryItem: inventory_item })
744
- ] }),
745
- /* @__PURE__ */ jsxs5(TwoColumnPage.Sidebar, { "data-testid": "inventory-detail-sidebar", children: [
746
- inventory_item.variants && inventory_item.variants?.length > 0 && /* @__PURE__ */ jsx12(
747
- InventoryItemVariantsSection,
748
- {
749
- variants: inventory_item.variants
750
- }
751
- ),
752
- /* @__PURE__ */ jsx12(InventoryItemAttributeSection, { inventoryItem: inventory_item })
753
- ] })
754
- ]
755
- }
756
- ) });
675
+ return /* @__PURE__ */ jsx11("div", { "data-testid": "inventory-detail-page", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs5(TwoColumnPage, { data: inventory_item, showJSON: true, showMetadata: true, children: [
676
+ /* @__PURE__ */ jsxs5(TwoColumnPage.Main, { "data-testid": "inventory-detail-main", children: [
677
+ /* @__PURE__ */ jsx11(InventoryItemGeneralSection, { inventoryItem: inventory_item }),
678
+ /* @__PURE__ */ jsx11(
679
+ InventoryItemLocationLevelsSection,
680
+ {
681
+ inventoryItem: inventory_item
682
+ }
683
+ ),
684
+ /* @__PURE__ */ jsx11(InventoryItemReservationsSection, { inventoryItem: inventory_item })
685
+ ] }),
686
+ /* @__PURE__ */ jsxs5(TwoColumnPage.Sidebar, { "data-testid": "inventory-detail-sidebar", children: [
687
+ inventory_item.variants && inventory_item.variants?.length > 0 && /* @__PURE__ */ jsx11(
688
+ InventoryItemVariantsSection,
689
+ {
690
+ variants: inventory_item.variants
691
+ }
692
+ ),
693
+ /* @__PURE__ */ jsx11(InventoryItemAttributeSection, { inventoryItem: inventory_item })
694
+ ] })
695
+ ] }) });
757
696
  };
758
-
759
- // src/pages/inventory/inventory-detail/loader.ts
760
- var inventoryDetailQuery = (id) => ({
761
- queryKey: inventoryItemsQueryKeys.detail(id),
762
- queryFn: async () => sdk.admin.inventoryItems.$id.query({
763
- $id: id,
764
- fields: INVENTORY_DETAIL_FIELDS
765
- })
697
+ var InventoryDetail = Object.assign(Root, {
698
+ Main: TwoColumnPage.Main,
699
+ Sidebar: TwoColumnPage.Sidebar,
700
+ MainGeneralSection: InventoryItemGeneralSection,
701
+ MainLocationLevelsSection: InventoryItemLocationLevelsSection,
702
+ MainReservationsSection: InventoryItemReservationsSection,
703
+ SidebarVariantsSection: InventoryItemVariantsSection,
704
+ SidebarAttributeSection: InventoryItemAttributeSection
766
705
  });
767
- var inventoryItemLoader = async ({ params }) => {
768
- const id = params.id;
769
- const query = inventoryDetailQuery(id);
770
- return queryClient.ensureQueryData(query);
771
- };
706
+
772
707
  export {
773
- InventoryDetailBreadcrumb as Breadcrumb,
774
- InventoryDetail as Component,
775
- inventoryItemLoader as loader
708
+ INVENTORY_DETAIL_FIELDS,
709
+ InventoryDetail
776
710
  };
@@ -1,42 +1,25 @@
1
1
  import {
2
2
  usePayoutTableColumns
3
3
  } from "./chunk-AFQS6E4N.js";
4
- import "./chunk-25LYVP3C.js";
5
- import "./chunk-PXYDR7WQ.js";
6
- import "./chunk-FQERBIVS.js";
7
- import "./chunk-PHOCVOZ5.js";
8
4
  import {
9
5
  _DataTable,
10
6
  useDataTable
11
- } from "./chunk-FLCYR7E5.js";
12
- import "./chunk-YBZWO4ZV.js";
13
- import "./chunk-KAZ5BYTQ.js";
14
- import "./chunk-3EF54XFY.js";
15
- import "./chunk-IQPN4PZJ.js";
7
+ } from "./chunk-ULJ3OMWU.js";
16
8
  import {
17
9
  usePayoutTableQuery
18
10
  } from "./chunk-GR6JUIRU.js";
19
- import "./chunk-KBYZLKI4.js";
20
- import "./chunk-YWWUOGJA.js";
21
- import "./chunk-INNFZYX2.js";
22
- import "./chunk-Y7QKP6QU.js";
23
- import "./chunk-THHRRYRS.js";
24
- import "./chunk-UZWFZMOX.js";
25
- import "./chunk-XQNVC4Q7.js";
26
11
  import {
27
12
  usePayouts
28
13
  } from "./chunk-JOQ3RTF5.js";
29
- import "./chunk-ZA2KFUFR.js";
30
- import "./chunk-ZYNBKBY3.js";
31
- import "./chunk-NBMM2TZK.js";
32
14
 
33
15
  // src/pages/payouts/payout-list/payout-list.tsx
16
+ import { Children } from "react";
34
17
  import { Container, Heading } from "@medusajs/ui";
35
18
  import { keepPreviousData } from "@tanstack/react-query";
36
19
  import { useTranslation } from "react-i18next";
37
- import { jsx, jsxs } from "react/jsx-runtime";
20
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
38
21
  var PAGE_SIZE = 10;
39
- var PayoutList = () => {
22
+ var PayoutListTable = () => {
40
23
  const { t } = useTranslation();
41
24
  const { searchParams, raw } = usePayoutTableQuery({
42
25
  pageSize: PAGE_SIZE
@@ -83,6 +66,13 @@ var PayoutList = () => {
83
66
  )
84
67
  ] });
85
68
  };
69
+ var Root = ({ children }) => {
70
+ return /* @__PURE__ */ jsx(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PayoutListTable, {}) });
71
+ };
72
+ var PayoutList = Object.assign(Root, {
73
+ Table: PayoutListTable
74
+ });
75
+
86
76
  export {
87
- PayoutList as Component
77
+ PayoutList
88
78
  };