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

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 +3 -3
  207. package/dist/chunk-RW35OPIA.js +0 -45
  208. package/dist/collection-list-WUPG6AU2.js +0 -233
  209. package/dist/customer-list-DYQHKNJV.js +0 -153
  210. package/dist/order-list-ASHM44MM.js +0 -317
  211. package/dist/product-list-7WK2AWI2.js +0 -323
  212. package/dist/product-tag-detail-E7VYBISE.js +0 -288
  213. package/dist/seller-list-W76S2T27.js +0 -237
  214. package/dist/shipping-option-type-detail-CFGKF7NV.js +0 -173
  215. package/dist/tax-region-list-D7HWEZUR.js +0 -92
  216. package/dist/user-list-S6BMNMKL.js +0 -342
  217. package/dist/{api-key-management-sales-channels-RDE5YSYK.js → api-key-management-sales-channels-C7EWPHC2.js} +9 -9
  218. package/dist/{campaign-budget-edit-722ECPRI.js → campaign-budget-edit-AIXCDGG3.js} +3 -3
  219. package/dist/{category-create-VSH7BLNC.js → category-create-UWBJGIED.js} +7 -7
  220. package/dist/{category-edit-CCHWEQER.js → category-edit-ZDTTOXKZ.js} +3 -3
  221. package/dist/{chunk-JISYRXUS.js → chunk-B44E3LJT.js} +7 -7
  222. package/dist/{chunk-L22DLGNI.js → chunk-DEKJJ7NG.js} +3 -3
  223. package/dist/{chunk-2PZGY332.js → chunk-LQAAVRET.js} +3 -3
  224. package/dist/{chunk-GEVYE225.js → chunk-RA4UMZRP.js} +3 -3
  225. package/dist/{chunk-NIRWGTM3.js → chunk-RV6NZTNP.js} +3 -3
  226. package/dist/{chunk-SXC5ZMLI.js → chunk-TKEAOWBZ.js} +24 -24
  227. package/dist/{chunk-FLCYR7E5.js → chunk-ULJ3OMWU.js} +3 -3
  228. package/dist/{chunk-XDEVXAGC.js → chunk-VBBBIEVH.js} +3 -3
  229. package/dist/{chunk-FMOQNZFZ.js → chunk-YMKZS2HK.js} +12 -12
  230. package/dist/{customer-create-address-2LLOW6NZ.js → customer-create-address-GKWNPTZS.js} +1 -1
  231. package/dist/{customer-edit-F5UBFJIZ.js → customer-edit-WDRZ6YUO.js} +3 -3
  232. package/dist/{edit-reservation-SAKSTZTE.js → edit-reservation-7UOWKFMF.js} +3 -3
  233. package/dist/{invite-CSXH7VAO.js → invite-AXGDIENO.js} +1 -1
  234. package/dist/{location-create-HHOJPTDK.js → location-create-FQT3BJGV.js} +1 -1
  235. package/dist/{location-edit-2NAOR4DV.js → location-edit-RTPPP4KP.js} +1 -1
  236. package/dist/{location-sales-channels-BJUJNBQQ.js → location-sales-channels-3IGHCJEN.js} +9 -9
  237. package/dist/{location-service-zone-shipping-option-edit-SSMGORBF.js → location-service-zone-shipping-option-edit-E3GN4ZF5.js} +3 -3
  238. package/dist/{marketplace-edit-WPOSY2WN.js → marketplace-edit-GH2GQF3O.js} +3 -3
  239. package/dist/{order-allocate-items-DLVOSAC2.js → order-allocate-items-VEEANPH7.js} +3 -3
  240. package/dist/{price-list-edit-UU2XBKT3.js → price-list-edit-KK7SHR7O.js} +3 -3
  241. package/dist/{product-attributes-HNF4J53T.js → product-attributes-NG4OSBIV.js} +1 -1
  242. package/dist/{product-edit-6EL6US22.js → product-edit-LQJDUUVX.js} +4 -4
  243. package/dist/{product-organization-NWS3NMD6.js → product-organization-AFCELJ62.js} +1 -1
  244. package/dist/{product-prices-V63CFHI3.js → product-prices-WMRIC7WM.js} +7 -7
  245. package/dist/{product-sales-channels-WU3MSCV5.js → product-sales-channels-LSN5DVWZ.js} +5 -5
  246. package/dist/{product-variant-manage-inventory-items-C77QHYRT.js → product-variant-manage-inventory-items-CV2CC2PV.js} +3 -3
  247. package/dist/{profile-edit-3GIVUYUM.js → profile-edit-4HXBRWJ5.js} +6 -6
  248. package/dist/{promotion-edit-details-7Y2A5PPJ.js → promotion-edit-details-YKS24GBD.js} +6 -6
  249. package/dist/{region-edit-7XER3THY.js → region-edit-ODVSNJHM.js} +5 -5
  250. package/dist/{tax-region-province-create-7BMYABJ6.js → tax-region-province-create-RFYCUDER.js} +3 -3
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  ListSummary
3
3
  } from "./chunk-4F5GP7J7.js";
4
- import "./chunk-LXSBG6LK.js";
5
4
  import {
6
5
  formatProvider
7
6
  } from "./chunk-VW56KWO2.js";
@@ -12,9 +11,6 @@ import {
12
11
  import {
13
12
  LinkButton
14
13
  } from "./chunk-7AV5EJJ5.js";
15
- import {
16
- NoRecords
17
- } from "./chunk-3EF54XFY.js";
18
14
  import {
19
15
  IconAvatar
20
16
  } from "./chunk-U2EI2ZLM.js";
@@ -24,6 +20,9 @@ import {
24
20
  import {
25
21
  countries
26
22
  } from "./chunk-JRTZWK77.js";
23
+ import {
24
+ NoRecords
25
+ } from "./chunk-3EF54XFY.js";
27
26
  import {
28
27
  TwoColumnPage
29
28
  } from "./chunk-U2UCL2VG.js";
@@ -33,99 +32,25 @@ import {
33
32
  import {
34
33
  ActionMenu
35
34
  } from "./chunk-BDGZ4EQO.js";
36
- import "./chunk-LAVHRER2.js";
37
- import "./chunk-Y7QKP6QU.js";
38
- import "./chunk-XM6GCWNF.js";
39
- import "./chunk-ODBDAABQ.js";
40
- import "./chunk-CDQJKJMX.js";
41
- import "./chunk-JLATVDLM.js";
42
- import "./chunk-GPRBBA7S.js";
43
- import "./chunk-E7ZBQO6E.js";
44
35
  import {
45
36
  useDeleteFulfillmentServiceZone,
46
37
  useDeleteFulfillmentSet
47
38
  } from "./chunk-XGHM75N2.js";
48
- import "./chunk-U2GCSKW3.js";
49
- import "./chunk-RTAIDSDS.js";
50
- import "./chunk-LW3UWYZU.js";
51
- import "./chunk-A4X5VP3G.js";
52
- import "./chunk-NNZP4PYP.js";
53
- import "./chunk-GF4QHVX3.js";
54
- import "./chunk-JOQ3RTF5.js";
55
- import "./chunk-V534K7G4.js";
56
- import "./chunk-A5XOYSDC.js";
57
- import "./chunk-TQI3DOQ5.js";
58
- import "./chunk-5PB7KCTF.js";
59
39
  import {
60
40
  useDeleteShippingOption
61
41
  } from "./chunk-YOIARITB.js";
62
- import "./chunk-W7G64ULL.js";
63
- import "./chunk-6C7TCU42.js";
64
42
  import {
65
- stockLocationsQueryKeys,
66
43
  useCreateStockLocationFulfillmentSet,
67
44
  useDeleteStockLocation,
68
45
  useFulfillmentProviders,
69
46
  useStockLocation
70
47
  } from "./chunk-4YF3GAKE.js";
71
- import "./chunk-M3I52H3M.js";
72
48
  import {
73
49
  useSalesChannels
74
50
  } from "./chunk-LORVU5II.js";
75
- import "./chunk-36ORDF7W.js";
76
- import "./chunk-QSM56ZOP.js";
77
- import "./chunk-MIHEJ6Y6.js";
78
- import "./chunk-3VZV6SJQ.js";
79
- import "./chunk-K357FGGP.js";
80
- import {
81
- queryClient
82
- } from "./chunk-RHKRREUU.js";
83
- import "./chunk-ZA2KFUFR.js";
84
- import {
85
- sdk
86
- } from "./chunk-ZYNBKBY3.js";
87
- import "./chunk-NBMM2TZK.js";
88
-
89
- // src/pages/locations/location-detail/constants.ts
90
- var LOCATION_DETAILS_FIELD = "name,*sales_channels,*address,fulfillment_sets.type,fulfillment_sets.name,*fulfillment_sets.service_zones.geo_zones,*fulfillment_sets.service_zones,*fulfillment_sets.service_zones.shipping_options,*fulfillment_sets.service_zones.shipping_options.rules,*fulfillment_sets.service_zones.shipping_options.shipping_profile,*fulfillment_providers";
91
-
92
- // src/pages/locations/location-detail/breadcrumb.tsx
93
- import { jsx } from "react/jsx-runtime";
94
- var LocationDetailBreadcrumb = (props) => {
95
- const { location_id } = props.params || {};
96
- const { stock_location } = useStockLocation(
97
- location_id,
98
- {
99
- fields: LOCATION_DETAILS_FIELD
100
- },
101
- {
102
- initialData: props.data,
103
- enabled: Boolean(location_id)
104
- }
105
- );
106
- if (!stock_location) {
107
- return null;
108
- }
109
- return /* @__PURE__ */ jsx("span", { children: stock_location.name });
110
- };
111
-
112
- // src/pages/locations/location-detail/loader.ts
113
- var locationQuery = (id) => ({
114
- queryKey: stockLocationsQueryKeys.detail(id, {
115
- fields: LOCATION_DETAILS_FIELD
116
- }),
117
- queryFn: async () => sdk.admin.stockLocations.$id.query({
118
- $id: id,
119
- fields: LOCATION_DETAILS_FIELD
120
- })
121
- });
122
- var locationLoader = async ({ params }) => {
123
- const id = params.location_id;
124
- const query = locationQuery(id);
125
- return queryClient.ensureQueryData(query);
126
- };
127
51
 
128
52
  // src/pages/locations/location-detail/location-detail.tsx
53
+ import { Children } from "react";
129
54
  import { useLoaderData, useParams } from "react-router-dom";
130
55
 
131
56
  // src/pages/locations/location-detail/components/location-general-section/location-general-section.tsx
@@ -152,19 +77,19 @@ import {
152
77
  import { useMemo, useState } from "react";
153
78
  import { useTranslation } from "react-i18next";
154
79
  import { useNavigate } from "react-router-dom";
155
- import { Fragment, jsx as jsx2, jsxs } from "react/jsx-runtime";
80
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
156
81
  var LocationGeneralSection = ({
157
82
  location
158
83
  }) => {
159
84
  return /* @__PURE__ */ jsxs(Fragment, { children: [
160
- /* @__PURE__ */ jsx2(Container, { className: "p-0", "data-testid": "location-general-section-container", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "location-general-section-header", children: [
85
+ /* @__PURE__ */ jsx(Container, { className: "p-0", "data-testid": "location-general-section-container", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "location-general-section-header", children: [
161
86
  /* @__PURE__ */ jsxs("div", { "data-testid": "location-general-section-info", children: [
162
- /* @__PURE__ */ jsx2(Heading, { "data-testid": "location-general-section-heading", children: location.name }),
163
- /* @__PURE__ */ jsx2(Text, { className: "text-ui-fg-subtle txt-small", "data-testid": "location-general-section-address", children: getFormattedAddress({ address: location.address }).join(", ") })
87
+ /* @__PURE__ */ jsx(Heading, { "data-testid": "location-general-section-heading", children: location.name }),
88
+ /* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle txt-small", "data-testid": "location-general-section-address", children: getFormattedAddress({ address: location.address }).join(", ") })
164
89
  ] }),
165
- /* @__PURE__ */ jsx2(Actions, { location })
90
+ /* @__PURE__ */ jsx(Actions, { location })
166
91
  ] }) }),
167
- /* @__PURE__ */ jsx2(
92
+ /* @__PURE__ */ jsx(
168
93
  FulfillmentSet,
169
94
  {
170
95
  locationId: location.id,
@@ -175,7 +100,7 @@ var LocationGeneralSection = ({
175
100
  )
176
101
  }
177
102
  ),
178
- /* @__PURE__ */ jsx2(
103
+ /* @__PURE__ */ jsx(
179
104
  FulfillmentSet,
180
105
  {
181
106
  locationId: location.id,
@@ -225,7 +150,7 @@ function ShippingOption({
225
150
  });
226
151
  };
227
152
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-3 py-2", "data-testid": `location-shipping-option-${option.id}`, children: [
228
- /* @__PURE__ */ jsx2("div", { className: "flex-1", "data-testid": `location-shipping-option-name-${option.id}`, children: /* @__PURE__ */ jsxs(Text, { size: "small", weight: "plus", children: [
153
+ /* @__PURE__ */ jsx("div", { className: "flex-1", "data-testid": `location-shipping-option-name-${option.id}`, children: /* @__PURE__ */ jsxs(Text, { size: "small", weight: "plus", children: [
229
154
  option.name,
230
155
  " - ",
231
156
  option.shipping_profile.name,
@@ -233,7 +158,7 @@ function ShippingOption({
233
158
  formatProvider(option.provider_id),
234
159
  ")"
235
160
  ] }) }),
236
- /* @__PURE__ */ jsx2(
161
+ /* @__PURE__ */ jsx(
237
162
  Badge,
238
163
  {
239
164
  className: "mr-4",
@@ -244,20 +169,20 @@ function ShippingOption({
244
169
  children: isStoreOption ? t("general.store") : t("general.admin")
245
170
  }
246
171
  ),
247
- /* @__PURE__ */ jsx2(
172
+ /* @__PURE__ */ jsx(
248
173
  ActionMenu,
249
174
  {
250
175
  groups: [
251
176
  {
252
177
  actions: [
253
178
  {
254
- icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
179
+ icon: /* @__PURE__ */ jsx(PencilSquare, {}),
255
180
  label: t("stockLocations.shippingOptions.edit.action"),
256
181
  to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${option.service_zone_id}/shipping-option/${option.id}/edit`
257
182
  },
258
183
  {
259
184
  label: t("stockLocations.shippingOptions.pricing.action"),
260
- icon: /* @__PURE__ */ jsx2(CurrencyDollar, {}),
185
+ icon: /* @__PURE__ */ jsx(CurrencyDollar, {}),
261
186
  disabled: option.price_type === "calculated" /* Calculated */,
262
187
  to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${option.service_zone_id}/shipping-option/${option.id}/pricing`
263
188
  }
@@ -267,7 +192,7 @@ function ShippingOption({
267
192
  actions: [
268
193
  {
269
194
  label: t("actions.delete"),
270
- icon: /* @__PURE__ */ jsx2(Trash, {}),
195
+ icon: /* @__PURE__ */ jsx(Trash, {}),
271
196
  onClick: handleDelete
272
197
  }
273
198
  ]
@@ -290,11 +215,11 @@ function ServiceZoneOptions({
290
215
  );
291
216
  const returnOptions = zone.shipping_options.filter((o) => isReturnOption(o));
292
217
  return /* @__PURE__ */ jsxs("div", { "data-testid": `location-service-zone-options-${zone.id}`, children: [
293
- /* @__PURE__ */ jsx2(Divider, { variant: "dashed" }),
218
+ /* @__PURE__ */ jsx(Divider, { variant: "dashed" }),
294
219
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-4 px-6 py-4", "data-testid": `location-service-zone-shipping-options-${zone.id}`, children: [
295
220
  /* @__PURE__ */ jsxs("div", { className: "item-center flex justify-between", "data-testid": `location-service-zone-shipping-options-header-${zone.id}`, children: [
296
- /* @__PURE__ */ jsx2("span", { className: "text-ui-fg-subtle txt-small self-center font-medium", "data-testid": `location-service-zone-shipping-options-label-${zone.id}`, children: t(`stockLocations.shippingOptions.create.${type}.label`) }),
297
- /* @__PURE__ */ jsx2(
221
+ /* @__PURE__ */ jsx("span", { className: "text-ui-fg-subtle txt-small self-center font-medium", "data-testid": `location-service-zone-shipping-options-label-${zone.id}`, children: t(`stockLocations.shippingOptions.create.${type}.label`) }),
222
+ /* @__PURE__ */ jsx(
298
223
  LinkButton,
299
224
  {
300
225
  to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${zone.id}/shipping-option/create`,
@@ -303,7 +228,7 @@ function ServiceZoneOptions({
303
228
  }
304
229
  )
305
230
  ] }),
306
- !!shippingOptions.length && /* @__PURE__ */ jsx2("div", { className: "shadow-elevation-card-rest bg-ui-bg-subtle grid divide-y rounded-md", "data-testid": `location-service-zone-shipping-options-list-${zone.id}`, children: shippingOptions.map((o) => /* @__PURE__ */ jsx2(
231
+ !!shippingOptions.length && /* @__PURE__ */ jsx("div", { className: "shadow-elevation-card-rest bg-ui-bg-subtle grid divide-y rounded-md", "data-testid": `location-service-zone-shipping-options-list-${zone.id}`, children: shippingOptions.map((o) => /* @__PURE__ */ jsx(
307
232
  ShippingOption,
308
233
  {
309
234
  option: o,
@@ -313,11 +238,11 @@ function ServiceZoneOptions({
313
238
  o.id
314
239
  )) })
315
240
  ] }),
316
- /* @__PURE__ */ jsx2(Divider, { variant: "dashed" }),
241
+ /* @__PURE__ */ jsx(Divider, { variant: "dashed" }),
317
242
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-4 px-6 py-4", "data-testid": `location-service-zone-return-options-${zone.id}`, children: [
318
243
  /* @__PURE__ */ jsxs("div", { className: "item-center flex justify-between", "data-testid": `location-service-zone-return-options-header-${zone.id}`, children: [
319
- /* @__PURE__ */ jsx2("span", { className: "text-ui-fg-subtle txt-small self-center font-medium", "data-testid": `location-service-zone-return-options-label-${zone.id}`, children: t("stockLocations.shippingOptions.create.returns.label") }),
320
- /* @__PURE__ */ jsx2(
244
+ /* @__PURE__ */ jsx("span", { className: "text-ui-fg-subtle txt-small self-center font-medium", "data-testid": `location-service-zone-return-options-label-${zone.id}`, children: t("stockLocations.shippingOptions.create.returns.label") }),
245
+ /* @__PURE__ */ jsx(
321
246
  LinkButton,
322
247
  {
323
248
  to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${zone.id}/shipping-option/create?is_return`,
@@ -326,7 +251,7 @@ function ServiceZoneOptions({
326
251
  }
327
252
  )
328
253
  ] }),
329
- !!returnOptions.length && /* @__PURE__ */ jsx2("div", { className: "shadow-elevation-card-rest bg-ui-bg-subtle grid divide-y rounded-md", "data-testid": `location-service-zone-return-options-list-${zone.id}`, children: returnOptions.map((o) => /* @__PURE__ */ jsx2(
254
+ !!returnOptions.length && /* @__PURE__ */ jsx("div", { className: "shadow-elevation-card-rest bg-ui-bg-subtle grid divide-y rounded-md", "data-testid": `location-service-zone-return-options-list-${zone.id}`, children: returnOptions.map((o) => /* @__PURE__ */ jsx(
330
255
  ShippingOption,
331
256
  {
332
257
  option: o,
@@ -397,11 +322,11 @@ function ServiceZone({
397
322
  }, [zone.shipping_options]);
398
323
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col", "data-testid": `location-service-zone-${zone.id}`, children: [
399
324
  /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center justify-between gap-x-4 px-6 py-4", "data-testid": `location-service-zone-header-${zone.id}`, children: [
400
- /* @__PURE__ */ jsx2(IconAvatar, { "data-testid": `location-service-zone-icon-${zone.id}`, children: /* @__PURE__ */ jsx2(Map, {}) }),
325
+ /* @__PURE__ */ jsx(IconAvatar, { "data-testid": `location-service-zone-icon-${zone.id}`, children: /* @__PURE__ */ jsx(Map, {}) }),
401
326
  /* @__PURE__ */ jsxs("div", { className: "grow-1 flex flex-1 flex-col", "data-testid": `location-service-zone-info-${zone.id}`, children: [
402
- /* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", weight: "plus", "data-testid": `location-service-zone-name-${zone.id}`, children: zone.name }),
327
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", "data-testid": `location-service-zone-name-${zone.id}`, children: zone.name }),
403
328
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", "data-testid": `location-service-zone-details-${zone.id}`, children: [
404
- /* @__PURE__ */ jsx2(
329
+ /* @__PURE__ */ jsx(
405
330
  ListSummary,
406
331
  {
407
332
  variant: "base",
@@ -411,25 +336,25 @@ function ServiceZone({
411
336
  "data-testid": `location-service-zone-countries-${zone.id}`
412
337
  }
413
338
  ),
414
- /* @__PURE__ */ jsx2("span", { children: "\xB7" }),
415
- /* @__PURE__ */ jsx2(Text, { className: "text-ui-fg-subtle txt-small", "data-testid": `location-service-zone-shipping-count-${zone.id}`, children: t(`stockLocations.shippingOptions.fields.count.${type}`, {
339
+ /* @__PURE__ */ jsx("span", { children: "\xB7" }),
340
+ /* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle txt-small", "data-testid": `location-service-zone-shipping-count-${zone.id}`, children: t(`stockLocations.shippingOptions.fields.count.${type}`, {
416
341
  count: shippingOptionsCount
417
342
  }) }),
418
- /* @__PURE__ */ jsx2("span", { children: "\xB7" }),
419
- /* @__PURE__ */ jsx2(Text, { className: "text-ui-fg-subtle txt-small", "data-testid": `location-service-zone-return-count-${zone.id}`, children: t("stockLocations.shippingOptions.fields.count.returns", {
343
+ /* @__PURE__ */ jsx("span", { children: "\xB7" }),
344
+ /* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle txt-small", "data-testid": `location-service-zone-return-count-${zone.id}`, children: t("stockLocations.shippingOptions.fields.count.returns", {
420
345
  count: returnOptionsCount
421
346
  }) })
422
347
  ] })
423
348
  ] }),
424
349
  /* @__PURE__ */ jsxs("div", { className: "flex grow-0 items-center gap-4", "data-testid": `location-service-zone-actions-${zone.id}`, children: [
425
- /* @__PURE__ */ jsx2(
350
+ /* @__PURE__ */ jsx(
426
351
  IconButton,
427
352
  {
428
353
  size: "small",
429
354
  onClick: () => setOpen((s) => !s),
430
355
  variant: "transparent",
431
356
  "data-testid": `location-service-zone-toggle-button-${zone.id}`,
432
- children: /* @__PURE__ */ jsx2(
357
+ children: /* @__PURE__ */ jsx(
433
358
  TriangleDownMini,
434
359
  {
435
360
  style: {
@@ -440,7 +365,7 @@ function ServiceZone({
440
365
  )
441
366
  }
442
367
  ),
443
- /* @__PURE__ */ jsx2(
368
+ /* @__PURE__ */ jsx(
444
369
  ActionMenu,
445
370
  {
446
371
  groups: [
@@ -448,12 +373,12 @@ function ServiceZone({
448
373
  actions: [
449
374
  {
450
375
  label: t("actions.edit"),
451
- icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
376
+ icon: /* @__PURE__ */ jsx(PencilSquare, {}),
452
377
  to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${zone.id}/edit`
453
378
  },
454
379
  {
455
380
  label: t("stockLocations.serviceZones.manageAreas.action"),
456
- icon: /* @__PURE__ */ jsx2(Map, {}),
381
+ icon: /* @__PURE__ */ jsx(Map, {}),
457
382
  to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${zone.id}/areas`
458
383
  }
459
384
  ]
@@ -462,7 +387,7 @@ function ServiceZone({
462
387
  actions: [
463
388
  {
464
389
  label: t("actions.delete"),
465
- icon: /* @__PURE__ */ jsx2(Trash, {}),
390
+ icon: /* @__PURE__ */ jsx(Trash, {}),
466
391
  onClick: handleDelete
467
392
  }
468
393
  ]
@@ -473,7 +398,7 @@ function ServiceZone({
473
398
  )
474
399
  ] })
475
400
  ] }),
476
- open && /* @__PURE__ */ jsx2(
401
+ open && /* @__PURE__ */ jsx(
477
402
  ServiceZoneOptions,
478
403
  {
479
404
  fulfillmentSetId,
@@ -535,7 +460,7 @@ function FulfillmentSet(props) {
535
460
  {
536
461
  actions: [
537
462
  {
538
- icon: /* @__PURE__ */ jsx2(Plus, {}),
463
+ icon: /* @__PURE__ */ jsx(Plus, {}),
539
464
  label: t("stockLocations.serviceZones.create.action"),
540
465
  to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSet.id}/service-zones/create`
541
466
  }
@@ -544,7 +469,7 @@ function FulfillmentSet(props) {
544
469
  {
545
470
  actions: [
546
471
  {
547
- icon: /* @__PURE__ */ jsx2(Trash, {}),
472
+ icon: /* @__PURE__ */ jsx(Trash, {}),
548
473
  label: t("actions.disable"),
549
474
  onClick: handleDelete
550
475
  }
@@ -554,24 +479,24 @@ function FulfillmentSet(props) {
554
479
  {
555
480
  actions: [
556
481
  {
557
- icon: /* @__PURE__ */ jsx2(Plus, {}),
482
+ icon: /* @__PURE__ */ jsx(Plus, {}),
558
483
  label: t("actions.enable"),
559
484
  onClick: handleCreate
560
485
  }
561
486
  ]
562
487
  }
563
488
  ];
564
- return /* @__PURE__ */ jsx2(Container, { className: "p-0", "data-testid": `location-fulfillment-set-${type}`, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col divide-y", children: [
489
+ return /* @__PURE__ */ jsx(Container, { className: "p-0", "data-testid": `location-fulfillment-set-${type}`, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col divide-y", children: [
565
490
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": `location-fulfillment-set-header-${type}`, children: [
566
- /* @__PURE__ */ jsx2(Heading, { level: "h2", "data-testid": `location-fulfillment-set-heading-${type}`, children: t(`stockLocations.fulfillmentSets.${type}.header`) }),
491
+ /* @__PURE__ */ jsx(Heading, { level: "h2", "data-testid": `location-fulfillment-set-heading-${type}`, children: t(`stockLocations.fulfillmentSets.${type}.header`) }),
567
492
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", "data-testid": `location-fulfillment-set-actions-${type}`, children: [
568
- /* @__PURE__ */ jsx2(StatusBadge, { color: fulfillmentSetExists ? "green" : "grey", "data-testid": `location-fulfillment-set-status-badge-${type}`, children: t(
493
+ /* @__PURE__ */ jsx(StatusBadge, { color: fulfillmentSetExists ? "green" : "grey", "data-testid": `location-fulfillment-set-status-badge-${type}`, children: t(
569
494
  fulfillmentSetExists ? "statuses.enabled" : "statuses.disabled"
570
495
  ) }),
571
- /* @__PURE__ */ jsx2(ActionMenu, { groups, "data-testid": `location-fulfillment-set-action-menu-${type}` })
496
+ /* @__PURE__ */ jsx(ActionMenu, { groups, "data-testid": `location-fulfillment-set-action-menu-${type}` })
572
497
  ] })
573
498
  ] }),
574
- fulfillmentSetExists && !hasServiceZones && /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-center py-8 pt-6", "data-testid": `location-fulfillment-set-empty-${type}`, children: /* @__PURE__ */ jsx2(
499
+ fulfillmentSetExists && !hasServiceZones && /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-8 pt-6", "data-testid": `location-fulfillment-set-empty-${type}`, children: /* @__PURE__ */ jsx(
575
500
  NoRecords,
576
501
  {
577
502
  message: t("stockLocations.serviceZones.fields.noRecords"),
@@ -582,7 +507,7 @@ function FulfillmentSet(props) {
582
507
  }
583
508
  }
584
509
  ) }),
585
- hasServiceZones && /* @__PURE__ */ jsx2("div", { className: "flex flex-col divide-y", "data-testid": `location-fulfillment-set-service-zones-${type}`, children: fulfillmentSet?.service_zones.map((zone) => /* @__PURE__ */ jsx2(
510
+ hasServiceZones && /* @__PURE__ */ jsx("div", { className: "flex flex-col divide-y", "data-testid": `location-fulfillment-set-service-zones-${type}`, children: fulfillmentSet?.service_zones.map((zone) => /* @__PURE__ */ jsx(
586
511
  ServiceZone,
587
512
  {
588
513
  zone,
@@ -627,19 +552,19 @@ var Actions = ({ location }) => {
627
552
  }
628
553
  });
629
554
  };
630
- return /* @__PURE__ */ jsx2(
555
+ return /* @__PURE__ */ jsx(
631
556
  ActionMenu,
632
557
  {
633
558
  groups: [
634
559
  {
635
560
  actions: [
636
561
  {
637
- icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
562
+ icon: /* @__PURE__ */ jsx(PencilSquare, {}),
638
563
  label: t("actions.edit"),
639
564
  to: `edit`
640
565
  },
641
566
  {
642
- icon: /* @__PURE__ */ jsx2(ArchiveBox, {}),
567
+ icon: /* @__PURE__ */ jsx(ArchiveBox, {}),
643
568
  label: t("stockLocations.edit.viewInventory"),
644
569
  to: `/inventory?location_id=${location.id}`
645
570
  }
@@ -648,7 +573,7 @@ var Actions = ({ location }) => {
648
573
  {
649
574
  actions: [
650
575
  {
651
- icon: /* @__PURE__ */ jsx2(Trash, {}),
576
+ icon: /* @__PURE__ */ jsx(Trash, {}),
652
577
  label: t("actions.delete"),
653
578
  onClick: handleDelete
654
579
  }
@@ -664,7 +589,7 @@ var Actions = ({ location }) => {
664
589
  import { Channels, PencilSquare as PencilSquare2 } from "@medusajs/icons";
665
590
  import { Container as Container2, Heading as Heading2, Text as Text2 } from "@medusajs/ui";
666
591
  import { useTranslation as useTranslation2 } from "react-i18next";
667
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
592
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
668
593
  function LocationsSalesChannelsSection({
669
594
  location
670
595
  }) {
@@ -673,8 +598,8 @@ function LocationsSalesChannelsSection({
673
598
  const hasConnectedChannels = !!location.sales_channels?.length;
674
599
  return /* @__PURE__ */ jsxs2(Container2, { className: "flex flex-col px-6 py-4", "data-testid": "location-sales-channels-section-container", children: [
675
600
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between", "data-testid": "location-sales-channels-section-header", children: [
676
- /* @__PURE__ */ jsx3(Heading2, { level: "h2", "data-testid": "location-sales-channels-section-heading", children: t("stockLocations.salesChannels.header") }),
677
- /* @__PURE__ */ jsx3(
601
+ /* @__PURE__ */ jsx2(Heading2, { level: "h2", "data-testid": "location-sales-channels-section-heading", children: t("stockLocations.salesChannels.header") }),
602
+ /* @__PURE__ */ jsx2(
678
603
  ActionMenu,
679
604
  {
680
605
  groups: [
@@ -683,7 +608,7 @@ function LocationsSalesChannelsSection({
683
608
  {
684
609
  label: t("actions.edit"),
685
610
  to: "sales-channels",
686
- icon: /* @__PURE__ */ jsx3(PencilSquare2, {})
611
+ icon: /* @__PURE__ */ jsx2(PencilSquare2, {})
687
612
  }
688
613
  ]
689
614
  }
@@ -694,8 +619,8 @@ function LocationsSalesChannelsSection({
694
619
  ] }),
695
620
  hasConnectedChannels ? /* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-y-4 pt-4", "data-testid": "location-sales-channels-section-content", children: [
696
621
  /* @__PURE__ */ jsxs2("div", { className: "grid grid-cols-[28px_1fr] items-center gap-x-3", "data-testid": "location-sales-channels-section-list", children: [
697
- /* @__PURE__ */ jsx3(IconAvatar, { "data-testid": "location-sales-channels-section-icon", children: /* @__PURE__ */ jsx3(Channels, { className: "text-ui-fg-subtle" }) }),
698
- /* @__PURE__ */ jsx3(
622
+ /* @__PURE__ */ jsx2(IconAvatar, { "data-testid": "location-sales-channels-section-icon", children: /* @__PURE__ */ jsx2(Channels, { className: "text-ui-fg-subtle" }) }),
623
+ /* @__PURE__ */ jsx2(
699
624
  ListSummary,
700
625
  {
701
626
  n: 3,
@@ -706,11 +631,11 @@ function LocationsSalesChannelsSection({
706
631
  }
707
632
  )
708
633
  ] }),
709
- /* @__PURE__ */ jsx3(Text2, { className: "text-ui-fg-subtle", size: "small", leading: "compact", "data-testid": "location-sales-channels-section-description", children: t("stockLocations.salesChannels.connectedTo", {
634
+ /* @__PURE__ */ jsx2(Text2, { className: "text-ui-fg-subtle", size: "small", leading: "compact", "data-testid": "location-sales-channels-section-description", children: t("stockLocations.salesChannels.connectedTo", {
710
635
  count: location.sales_channels?.length,
711
636
  total: count
712
637
  }) })
713
- ] }) : /* @__PURE__ */ jsx3(
638
+ ] }) : /* @__PURE__ */ jsx2(
714
639
  NoRecords,
715
640
  {
716
641
  className: "h-fit pb-2 pt-6",
@@ -731,7 +656,7 @@ import { HandTruck, PencilSquare as PencilSquare3 } from "@medusajs/icons";
731
656
  import { Container as Container3, Heading as Heading3 } from "@medusajs/ui";
732
657
  import { Fragment as Fragment2 } from "react";
733
658
  import { useTranslation as useTranslation3 } from "react-i18next";
734
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
659
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
735
660
  function LocationsFulfillmentProvidersSection({
736
661
  location
737
662
  }) {
@@ -743,8 +668,8 @@ function LocationsFulfillmentProvidersSection({
743
668
  });
744
669
  return /* @__PURE__ */ jsxs3(Container3, { className: "flex flex-col px-6 py-4", "data-testid": "location-fulfillment-providers-section-container", children: [
745
670
  /* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between", "data-testid": "location-fulfillment-providers-section-header", children: [
746
- /* @__PURE__ */ jsx4(Heading3, { level: "h2", "data-testid": "location-fulfillment-providers-section-heading", children: t("stockLocations.fulfillmentProviders.header") }),
747
- /* @__PURE__ */ jsx4(
671
+ /* @__PURE__ */ jsx3(Heading3, { level: "h2", "data-testid": "location-fulfillment-providers-section-heading", children: t("stockLocations.fulfillmentProviders.header") }),
672
+ /* @__PURE__ */ jsx3(
748
673
  ActionMenu,
749
674
  {
750
675
  groups: [
@@ -753,7 +678,7 @@ function LocationsFulfillmentProvidersSection({
753
678
  {
754
679
  label: t("actions.edit"),
755
680
  to: "fulfillment-providers",
756
- icon: /* @__PURE__ */ jsx4(PencilSquare3, {})
681
+ icon: /* @__PURE__ */ jsx3(PencilSquare3, {})
757
682
  }
758
683
  ]
759
684
  }
@@ -762,12 +687,12 @@ function LocationsFulfillmentProvidersSection({
762
687
  }
763
688
  )
764
689
  ] }),
765
- fulfillment_providers?.length ? /* @__PURE__ */ jsx4("div", { className: "flex flex-col gap-y-4 pt-4", "data-testid": "location-fulfillment-providers-section-content", children: /* @__PURE__ */ jsx4("div", { className: "grid grid-cols-[28px_1fr] items-center gap-x-3 gap-y-3", "data-testid": "location-fulfillment-providers-section-list", children: fulfillment_providers?.map((fulfillmentProvider) => {
690
+ fulfillment_providers?.length ? /* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-y-4 pt-4", "data-testid": "location-fulfillment-providers-section-content", children: /* @__PURE__ */ jsx3("div", { className: "grid grid-cols-[28px_1fr] items-center gap-x-3 gap-y-3", "data-testid": "location-fulfillment-providers-section-list", children: fulfillment_providers?.map((fulfillmentProvider) => {
766
691
  return /* @__PURE__ */ jsxs3(Fragment2, { children: [
767
- /* @__PURE__ */ jsx4(IconAvatar, { "data-testid": `location-fulfillment-providers-section-provider-icon-${fulfillmentProvider.id}`, children: /* @__PURE__ */ jsx4(HandTruck, { className: "text-ui-fg-subtle" }) }),
768
- /* @__PURE__ */ jsx4("div", { className: "txt-compact-small", "data-testid": `location-fulfillment-providers-section-provider-name-${fulfillmentProvider.id}`, children: formatProvider(fulfillmentProvider.id) })
692
+ /* @__PURE__ */ jsx3(IconAvatar, { "data-testid": `location-fulfillment-providers-section-provider-icon-${fulfillmentProvider.id}`, children: /* @__PURE__ */ jsx3(HandTruck, { className: "text-ui-fg-subtle" }) }),
693
+ /* @__PURE__ */ jsx3("div", { className: "txt-compact-small", "data-testid": `location-fulfillment-providers-section-provider-name-${fulfillmentProvider.id}`, children: formatProvider(fulfillmentProvider.id) })
769
694
  ] }, fulfillmentProvider.id);
770
- }) }) }) : /* @__PURE__ */ jsx4(
695
+ }) }) }) : /* @__PURE__ */ jsx3(
771
696
  NoRecords,
772
697
  {
773
698
  className: "h-fit pb-2 pt-6 text-center",
@@ -783,9 +708,12 @@ function LocationsFulfillmentProvidersSection({
783
708
  }
784
709
  var location_fulfillment_providers_section_default = LocationsFulfillmentProvidersSection;
785
710
 
711
+ // src/pages/locations/location-detail/constants.ts
712
+ var LOCATION_DETAILS_FIELD = "name,*sales_channels,*address,fulfillment_sets.type,fulfillment_sets.name,*fulfillment_sets.service_zones.geo_zones,*fulfillment_sets.service_zones,*fulfillment_sets.service_zones.shipping_options,*fulfillment_sets.service_zones.shipping_options.rules,*fulfillment_sets.service_zones.shipping_options.shipping_profile,*fulfillment_providers";
713
+
786
714
  // src/pages/locations/location-detail/location-detail.tsx
787
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
788
- var LocationDetail = () => {
715
+ import { Fragment as Fragment3, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
716
+ var Root = ({ children }) => {
789
717
  const initialData = useLoaderData();
790
718
  const { location_id } = useParams();
791
719
  const {
@@ -799,30 +727,37 @@ var LocationDetail = () => {
799
727
  { initialData }
800
728
  );
801
729
  if (isLoading || !location) {
802
- return /* @__PURE__ */ jsx5(TwoColumnPageSkeleton, { mainSections: 3, sidebarSections: 2, showJSON: true });
730
+ return /* @__PURE__ */ jsx4(TwoColumnPageSkeleton, { mainSections: 3, sidebarSections: 2, showJSON: true });
803
731
  }
804
732
  if (isError) {
805
733
  throw error;
806
734
  }
807
- return /* @__PURE__ */ jsxs4(
735
+ return /* @__PURE__ */ jsx4(
808
736
  TwoColumnPage,
809
737
  {
810
738
  data: location,
811
739
  showJSON: true,
812
740
  hasOutlet: true,
813
741
  "data-testid": "location-detail-page",
814
- children: [
815
- /* @__PURE__ */ jsx5(TwoColumnPage.Main, { "data-testid": "location-detail-main", children: /* @__PURE__ */ jsx5(LocationGeneralSection, { location }) }),
742
+ children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs4(Fragment3, { children: [
743
+ /* @__PURE__ */ jsx4(TwoColumnPage.Main, { "data-testid": "location-detail-main", children: /* @__PURE__ */ jsx4(LocationGeneralSection, { location }) }),
816
744
  /* @__PURE__ */ jsxs4(TwoColumnPage.Sidebar, { "data-testid": "location-detail-sidebar", children: [
817
- /* @__PURE__ */ jsx5(locations_sales_channels_section_default, { location }),
818
- /* @__PURE__ */ jsx5(location_fulfillment_providers_section_default, { location })
745
+ /* @__PURE__ */ jsx4(locations_sales_channels_section_default, { location }),
746
+ /* @__PURE__ */ jsx4(location_fulfillment_providers_section_default, { location })
819
747
  ] })
820
- ]
748
+ ] })
821
749
  }
822
750
  );
823
751
  };
752
+ var LocationDetail = Object.assign(Root, {
753
+ Main: TwoColumnPage.Main,
754
+ Sidebar: TwoColumnPage.Sidebar,
755
+ MainGeneralSection: LocationGeneralSection,
756
+ SidebarSalesChannelsSection: locations_sales_channels_section_default,
757
+ SidebarFulfillmentProvidersSection: location_fulfillment_providers_section_default
758
+ });
759
+
824
760
  export {
825
- LocationDetailBreadcrumb as Breadcrumb,
826
- LocationDetail as Component,
827
- locationLoader as loader
761
+ LOCATION_DETAILS_FIELD,
762
+ LocationDetail
828
763
  };
@@ -0,0 +1,44 @@
1
+ import {
2
+ MoneyAmountCell
3
+ } from "./chunk-2Y3WMGN6.js";
4
+ import {
5
+ PlaceholderCell
6
+ } from "./chunk-PHOCVOZ5.js";
7
+
8
+ // src/components/table/table-cells/order/display-id-cell/display-id-cell.tsx
9
+ import { useTranslation } from "react-i18next";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ var DisplayIdCell = ({ displayId }) => {
12
+ if (!displayId) {
13
+ return /* @__PURE__ */ jsx(PlaceholderCell, {});
14
+ }
15
+ return /* @__PURE__ */ jsx("div", { className: "text-ui-fg-subtle txt-compact-small flex h-full w-full items-center overflow-hidden", children: /* @__PURE__ */ jsxs("span", { className: "truncate", children: [
16
+ "#",
17
+ displayId
18
+ ] }) });
19
+ };
20
+ var DisplayIdHeader = () => {
21
+ const { t } = useTranslation();
22
+ return /* @__PURE__ */ jsx("div", { className: "flex h-full w-full items-center", children: /* @__PURE__ */ jsx("span", { className: "truncate", children: t("fields.order") }) });
23
+ };
24
+
25
+ // src/components/table/table-cells/order/total-cell/total-cell.tsx
26
+ import { useTranslation as useTranslation2 } from "react-i18next";
27
+ import { jsx as jsx2 } from "react/jsx-runtime";
28
+ var TotalCell = ({ currencyCode, total, className }) => {
29
+ if (!total) {
30
+ return /* @__PURE__ */ jsx2(PlaceholderCell, {});
31
+ }
32
+ return /* @__PURE__ */ jsx2(MoneyAmountCell, { currencyCode, amount: total, className, align: "right" });
33
+ };
34
+ var TotalHeader = () => {
35
+ const { t } = useTranslation2();
36
+ return /* @__PURE__ */ jsx2("div", { className: "flex h-full w-full items-center justify-end", children: /* @__PURE__ */ jsx2("span", { className: "truncate", children: t("fields.total") }) });
37
+ };
38
+
39
+ export {
40
+ DisplayIdCell,
41
+ DisplayIdHeader,
42
+ TotalCell,
43
+ TotalHeader
44
+ };