@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
@@ -0,0 +1,170 @@
1
+ import {
2
+ useCustomerTableColumns
3
+ } from "./chunk-QG6PLWNH.js";
4
+ import {
5
+ _DataTable,
6
+ useDataTable
7
+ } from "./chunk-ULJ3OMWU.js";
8
+ import {
9
+ SingleColumnPage
10
+ } from "./chunk-U2UCL2VG.js";
11
+ import {
12
+ ActionMenu
13
+ } from "./chunk-BDGZ4EQO.js";
14
+ import {
15
+ useCustomerTableFilters
16
+ } from "./chunk-K3GJ266Z.js";
17
+ import {
18
+ useCustomerTableQuery
19
+ } from "./chunk-PVZBDWLK.js";
20
+ import {
21
+ useCustomers
22
+ } from "./chunk-A5XOYSDC.js";
23
+
24
+ // src/pages/customers/customer-list/customer-list.tsx
25
+ import { Children as Children2 } from "react";
26
+
27
+ // src/pages/customers/customer-list/components/customer-list-table/customer-list-table.tsx
28
+ import { PencilSquare } from "@medusajs/icons";
29
+ import { Button, Container, Heading } from "@medusajs/ui";
30
+ import { keepPreviousData } from "@tanstack/react-query";
31
+ import { createColumnHelper } from "@tanstack/react-table";
32
+ import { Children, useMemo } from "react";
33
+ import { useTranslation } from "react-i18next";
34
+ import { Link } from "react-router-dom";
35
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
36
+ var PAGE_SIZE = 20;
37
+ var CustomerListTitle = () => {
38
+ const { t } = useTranslation();
39
+ return /* @__PURE__ */ jsx(Heading, { "data-testid": "customer-list-heading", children: t("customers.domain") });
40
+ };
41
+ var CustomerListCreateButton = () => {
42
+ const { t } = useTranslation();
43
+ return /* @__PURE__ */ jsx(Link, { to: "/customers/create", "data-testid": "customer-list-create-link", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", "data-testid": "customer-list-create-button", children: t("actions.create") }) });
44
+ };
45
+ var CustomerListActions = ({ children }) => {
46
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(CustomerListCreateButton, {}) });
47
+ };
48
+ var CustomerListHeader = ({ children }) => {
49
+ return /* @__PURE__ */ jsx(
50
+ "div",
51
+ {
52
+ className: "flex items-center justify-between px-6 py-4",
53
+ "data-testid": "customer-list-header",
54
+ children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
55
+ /* @__PURE__ */ jsx(CustomerListTitle, {}),
56
+ /* @__PURE__ */ jsx(CustomerListActions, {})
57
+ ] })
58
+ }
59
+ );
60
+ };
61
+ var CustomerListDataTable = () => {
62
+ const { t } = useTranslation();
63
+ const { searchParams, raw } = useCustomerTableQuery({ pageSize: PAGE_SIZE });
64
+ const { customers, count, isLoading, isError, error } = useCustomers(
65
+ {
66
+ ...searchParams
67
+ },
68
+ {
69
+ placeholderData: keepPreviousData
70
+ }
71
+ );
72
+ const filters = useCustomerTableFilters();
73
+ const columns = useColumns();
74
+ const { table } = useDataTable({
75
+ data: customers ?? [],
76
+ columns,
77
+ count,
78
+ enablePagination: true,
79
+ getRowId: (row) => row.id,
80
+ pageSize: PAGE_SIZE
81
+ });
82
+ if (isError) {
83
+ throw error;
84
+ }
85
+ return /* @__PURE__ */ jsx(
86
+ _DataTable,
87
+ {
88
+ table,
89
+ columns,
90
+ pageSize: PAGE_SIZE,
91
+ count,
92
+ filters,
93
+ orderBy: [
94
+ { key: "email", label: t("fields.email") },
95
+ { key: "first_name", label: t("fields.firstName") },
96
+ { key: "last_name", label: t("fields.lastName") },
97
+ { key: "has_account", label: t("customers.hasAccount") },
98
+ { key: "created_at", label: t("fields.createdAt") },
99
+ { key: "updated_at", label: t("fields.updatedAt") }
100
+ ],
101
+ isLoading,
102
+ navigateTo: (row) => row.original.id,
103
+ search: true,
104
+ queryObject: raw,
105
+ noRecords: {
106
+ message: t("customers.list.noRecordsMessage")
107
+ }
108
+ }
109
+ );
110
+ };
111
+ var CustomerListTable = ({ children }) => {
112
+ return /* @__PURE__ */ jsx(Container, { className: "divide-y p-0", "data-testid": "customer-list-container", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
113
+ /* @__PURE__ */ jsx(CustomerListHeader, {}),
114
+ /* @__PURE__ */ jsx(CustomerListDataTable, {})
115
+ ] }) });
116
+ };
117
+ var CustomerActions = ({
118
+ customer
119
+ }) => {
120
+ const { t } = useTranslation();
121
+ return /* @__PURE__ */ jsx(
122
+ ActionMenu,
123
+ {
124
+ "data-testid": `customer-list-row-actions-${customer.id}`,
125
+ groups: [
126
+ {
127
+ actions: [
128
+ {
129
+ icon: /* @__PURE__ */ jsx(PencilSquare, {}),
130
+ label: t("actions.edit"),
131
+ to: `/customers/${customer.id}/edit`
132
+ }
133
+ ]
134
+ }
135
+ ]
136
+ }
137
+ );
138
+ };
139
+ var columnHelper = createColumnHelper();
140
+ var useColumns = () => {
141
+ const columns = useCustomerTableColumns();
142
+ return useMemo(
143
+ () => [
144
+ ...columns,
145
+ columnHelper.display({
146
+ id: "actions",
147
+ cell: ({ row }) => /* @__PURE__ */ jsx(CustomerActions, { customer: row.original })
148
+ })
149
+ ],
150
+ [columns]
151
+ );
152
+ };
153
+
154
+ // src/pages/customers/customer-list/customer-list.tsx
155
+ import { jsx as jsx2 } from "react/jsx-runtime";
156
+ var Root = ({ children }) => {
157
+ return /* @__PURE__ */ jsx2(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx2(CustomerListTable, {}) });
158
+ };
159
+ var CustomerListPage = Object.assign(Root, {
160
+ Table: CustomerListTable,
161
+ Header: CustomerListHeader,
162
+ HeaderTitle: CustomerListTitle,
163
+ HeaderActions: CustomerListActions,
164
+ HeaderCreateButton: CustomerListCreateButton,
165
+ DataTable: CustomerListDataTable
166
+ });
167
+
168
+ export {
169
+ CustomerListPage
170
+ };
@@ -0,0 +1,102 @@
1
+ import {
2
+ useDeleteShippingOptionTypeAction
3
+ } from "./chunk-2BE77FVK.js";
4
+ import {
5
+ SingleColumnPage
6
+ } from "./chunk-U2UCL2VG.js";
7
+ import {
8
+ SingleColumnPageSkeleton
9
+ } from "./chunk-INNFZYX2.js";
10
+ import {
11
+ ActionMenu
12
+ } from "./chunk-BDGZ4EQO.js";
13
+ import {
14
+ useShippingOptionType
15
+ } from "./chunk-XM6GCWNF.js";
16
+
17
+ // src/pages/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx
18
+ import { Children } from "react";
19
+ import { useLoaderData, useParams } from "react-router-dom";
20
+
21
+ // src/pages/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/shipping-option-type-general-section.tsx
22
+ import { PencilSquare, Trash } from "@medusajs/icons";
23
+ import { Container, Heading, Text } from "@medusajs/ui";
24
+ import { useTranslation } from "react-i18next";
25
+ import { jsx, jsxs } from "react/jsx-runtime";
26
+ var ShippingOptionTypeGeneralSection = ({
27
+ shippingOptionType
28
+ }) => {
29
+ const { t } = useTranslation();
30
+ const handleDelete = useDeleteShippingOptionTypeAction(
31
+ shippingOptionType.id,
32
+ shippingOptionType.label
33
+ );
34
+ return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", "data-testid": "shipping-option-type-general-section-container", children: [
35
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "shipping-option-type-general-section-header", children: [
36
+ /* @__PURE__ */ jsx(Heading, { "data-testid": "shipping-option-type-general-section-heading", children: shippingOptionType.label }),
37
+ /* @__PURE__ */ jsx(
38
+ ActionMenu,
39
+ {
40
+ groups: [
41
+ {
42
+ actions: [
43
+ {
44
+ label: t("actions.edit"),
45
+ icon: /* @__PURE__ */ jsx(PencilSquare, {}),
46
+ to: "edit"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ actions: [
52
+ {
53
+ label: t("actions.delete"),
54
+ icon: /* @__PURE__ */ jsx(Trash, {}),
55
+ onClick: handleDelete
56
+ }
57
+ ]
58
+ }
59
+ ],
60
+ "data-testid": "shipping-option-type-general-section-action-menu"
61
+ }
62
+ )
63
+ ] }),
64
+ /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "shipping-option-type-general-section-code-row", children: [
65
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", "data-testid": "shipping-option-type-general-section-code-label", children: t("fields.code") }),
66
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", "data-testid": "shipping-option-type-general-section-code-value", children: shippingOptionType.code })
67
+ ] }),
68
+ /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "shipping-option-type-general-section-description-row", children: [
69
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", "data-testid": "shipping-option-type-general-section-description-label", children: t("fields.description") }),
70
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", "data-testid": "shipping-option-type-general-section-description-value", children: shippingOptionType.description || "-" })
71
+ ] })
72
+ ] });
73
+ };
74
+
75
+ // src/pages/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx
76
+ import { jsx as jsx2 } from "react/jsx-runtime";
77
+ var Root = ({ children }) => {
78
+ const { id } = useParams();
79
+ const initialData = useLoaderData();
80
+ const { shipping_option_type, isPending, isError, error } = useShippingOptionType(id, void 0, {
81
+ initialData
82
+ });
83
+ if (isPending || !shipping_option_type) {
84
+ return /* @__PURE__ */ jsx2(SingleColumnPageSkeleton, { sections: 2, showJSON: true, showMetadata: true });
85
+ }
86
+ if (isError) {
87
+ throw error;
88
+ }
89
+ return /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(
90
+ ShippingOptionTypeGeneralSection,
91
+ {
92
+ shippingOptionType: shipping_option_type
93
+ }
94
+ ) });
95
+ };
96
+ var ShippingOptionTypeDetail = Object.assign(Root, {
97
+ GeneralSection: ShippingOptionTypeGeneralSection
98
+ });
99
+
100
+ export {
101
+ ShippingOptionTypeDetail
102
+ };
@@ -15,6 +15,9 @@ var useOrderTableQuery = ({
15
15
  "updated_at",
16
16
  "region_id",
17
17
  "sales_channel_id",
18
+ "customer_id",
19
+ "seller_id",
20
+ "status",
18
21
  "payment_status",
19
22
  "fulfillment_status",
20
23
  "order"
@@ -24,6 +27,9 @@ var useOrderTableQuery = ({
24
27
  const {
25
28
  offset,
26
29
  sales_channel_id,
30
+ customer_id,
31
+ seller_id,
32
+ status,
27
33
  created_at,
28
34
  updated_at,
29
35
  fulfillment_status,
@@ -36,6 +42,9 @@ var useOrderTableQuery = ({
36
42
  limit: pageSize,
37
43
  offset: offset ? Number(offset) : 0,
38
44
  sales_channel_id: sales_channel_id?.split(","),
45
+ customer_id: customer_id?.split(","),
46
+ seller_id: seller_id?.split(","),
47
+ status: status?.split(","),
39
48
  fulfillment_status: fulfillment_status?.split(","),
40
49
  payment_status: payment_status?.split(","),
41
50
  created_at: created_at ? JSON.parse(created_at) : void 0,
@@ -1,35 +1,23 @@
1
- import "./chunk-FQERBIVS.js";
2
1
  import {
3
2
  _DataTable,
4
3
  useDataTable
5
- } from "./chunk-FLCYR7E5.js";
6
- import "./chunk-YBZWO4ZV.js";
7
- import "./chunk-KAZ5BYTQ.js";
8
- import "./chunk-3EF54XFY.js";
9
- import "./chunk-KBYZLKI4.js";
10
- import "./chunk-YWWUOGJA.js";
4
+ } from "./chunk-ULJ3OMWU.js";
11
5
  import {
12
6
  SingleColumnPage
13
7
  } from "./chunk-U2UCL2VG.js";
14
- import "./chunk-INNFZYX2.js";
15
8
  import {
16
9
  ActionMenu
17
10
  } from "./chunk-BDGZ4EQO.js";
18
- import "./chunk-LAVHRER2.js";
19
- import "./chunk-Y7QKP6QU.js";
20
11
  import {
21
12
  useQueryParams
22
13
  } from "./chunk-THHRRYRS.js";
23
- import "./chunk-UZWFZMOX.js";
24
- import "./chunk-XQNVC4Q7.js";
25
14
  import {
26
15
  useDeleteShippingProfile,
27
16
  useShippingProfiles
28
17
  } from "./chunk-U2GCSKW3.js";
29
- import "./chunk-RHKRREUU.js";
30
- import "./chunk-ZA2KFUFR.js";
31
- import "./chunk-ZYNBKBY3.js";
32
- import "./chunk-NBMM2TZK.js";
18
+
19
+ // src/pages/shipping-profiles/shipping-profiles-list/shipping-profile-list.tsx
20
+ import { Children } from "react";
33
21
 
34
22
  // src/pages/shipping-profiles/shipping-profiles-list/components/shipping-profile-list-table/shipping-profile-list-table.tsx
35
23
  import { Button, Container, Heading, Text } from "@medusajs/ui";
@@ -234,9 +222,13 @@ var ShippingProfileListTable = () => {
234
222
 
235
223
  // src/pages/shipping-profiles/shipping-profiles-list/shipping-profile-list.tsx
236
224
  import { jsx as jsx4 } from "react/jsx-runtime";
237
- var ShippingProfileList = () => {
238
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(ShippingProfileListTable, {}) });
225
+ var Root = ({ children }) => {
226
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ShippingProfileListTable, {}) });
239
227
  };
228
+ var ShippingProfileList = Object.assign(Root, {
229
+ Table: ShippingProfileListTable
230
+ });
231
+
240
232
  export {
241
- ShippingProfileList as Component
233
+ ShippingProfileList
242
234
  };
@@ -1,4 +1,3 @@
1
- import "./chunk-FI474ADU.js";
2
1
  import {
3
2
  SectionRow
4
3
  } from "./chunk-3XPXUIK3.js";
@@ -11,52 +10,13 @@ import {
11
10
  import {
12
11
  ActionMenu
13
12
  } from "./chunk-BDGZ4EQO.js";
14
- import "./chunk-LAVHRER2.js";
15
- import "./chunk-Y7QKP6QU.js";
16
13
  import {
17
- shippingProfileQueryKeys,
18
14
  useDeleteShippingProfile,
19
15
  useShippingProfile
20
16
  } from "./chunk-U2GCSKW3.js";
21
- import {
22
- queryClient
23
- } from "./chunk-RHKRREUU.js";
24
- import "./chunk-ZA2KFUFR.js";
25
- import {
26
- sdk
27
- } from "./chunk-ZYNBKBY3.js";
28
- import "./chunk-NBMM2TZK.js";
29
-
30
- // src/pages/shipping-profiles/shipping-profile-detail/breadcrumb.tsx
31
- import { jsx } from "react/jsx-runtime";
32
- var ShippingProfileDetailBreadcrumb = (props) => {
33
- const { shipping_profile_id } = props.params || {};
34
- const { shipping_profile } = useShippingProfile(
35
- shipping_profile_id,
36
- void 0,
37
- {
38
- initialData: props.data,
39
- enabled: Boolean(shipping_profile_id)
40
- }
41
- );
42
- if (!shipping_profile) {
43
- return null;
44
- }
45
- return /* @__PURE__ */ jsx("span", { children: shipping_profile.name });
46
- };
47
-
48
- // src/pages/shipping-profiles/shipping-profile-detail/loader.ts
49
- var shippingProfileQuery = (id) => ({
50
- queryKey: shippingProfileQueryKeys.detail(id),
51
- queryFn: async () => sdk.admin.shippingProfiles.$id.query({ $id: id })
52
- });
53
- var shippingProfileLoader = async ({ params }) => {
54
- const id = params.shipping_profile_id;
55
- const query = shippingProfileQuery(id);
56
- return queryClient.ensureQueryData(query);
57
- };
58
17
 
59
18
  // src/pages/shipping-profiles/shipping-profile-detail/shipping-profile-detail.tsx
19
+ import { Children } from "react";
60
20
  import { useLoaderData, useParams } from "react-router-dom";
61
21
 
62
22
  // src/pages/shipping-profiles/shipping-profile-detail/components/shipping-profile-general-section/shipping-profile-general-section.tsx
@@ -64,7 +24,7 @@ import { Trash } from "@medusajs/icons";
64
24
  import { Container, Heading, toast, usePrompt } from "@medusajs/ui";
65
25
  import { useTranslation } from "react-i18next";
66
26
  import { useNavigate } from "react-router-dom";
67
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
27
+ import { jsx, jsxs } from "react/jsx-runtime";
68
28
  var ShippingProfileGeneralSection = ({
69
29
  profile
70
30
  }) => {
@@ -102,15 +62,15 @@ var ShippingProfileGeneralSection = ({
102
62
  };
103
63
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", "data-testid": "shipping-profile-general-section-container", children: [
104
64
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "shipping-profile-general-section-header", children: [
105
- /* @__PURE__ */ jsx2(Heading, { "data-testid": "shipping-profile-general-section-heading", children: profile.name }),
106
- /* @__PURE__ */ jsx2(
65
+ /* @__PURE__ */ jsx(Heading, { "data-testid": "shipping-profile-general-section-heading", children: profile.name }),
66
+ /* @__PURE__ */ jsx(
107
67
  ActionMenu,
108
68
  {
109
69
  groups: [
110
70
  {
111
71
  actions: [
112
72
  {
113
- icon: /* @__PURE__ */ jsx2(Trash, {}),
73
+ icon: /* @__PURE__ */ jsx(Trash, {}),
114
74
  label: t("actions.delete"),
115
75
  onClick: handleDelete
116
76
  }
@@ -121,13 +81,13 @@ var ShippingProfileGeneralSection = ({
121
81
  }
122
82
  )
123
83
  ] }),
124
- /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.type"), value: profile.type, "data-testid": "shipping-profile-general-section-type-row" })
84
+ /* @__PURE__ */ jsx(SectionRow, { title: t("fields.type"), value: profile.type, "data-testid": "shipping-profile-general-section-type-row" })
125
85
  ] });
126
86
  };
127
87
 
128
88
  // src/pages/shipping-profiles/shipping-profile-detail/shipping-profile-detail.tsx
129
- import { jsx as jsx3 } from "react/jsx-runtime";
130
- var ShippingProfileDetail = () => {
89
+ import { jsx as jsx2 } from "react/jsx-runtime";
90
+ var Root = ({ children }) => {
131
91
  const { shipping_profile_id } = useParams();
132
92
  const initialData = useLoaderData();
133
93
  const { shipping_profile, isLoading, isError, error } = useShippingProfile(
@@ -136,23 +96,17 @@ var ShippingProfileDetail = () => {
136
96
  { initialData }
137
97
  );
138
98
  if (isLoading || !shipping_profile) {
139
- return /* @__PURE__ */ jsx3(SingleColumnPageSkeleton, { sections: 1, showJSON: true, showMetadata: true });
99
+ return /* @__PURE__ */ jsx2(SingleColumnPageSkeleton, { sections: 1, showJSON: true, showMetadata: true });
140
100
  }
141
101
  if (isError) {
142
102
  throw error;
143
103
  }
144
- return /* @__PURE__ */ jsx3(
145
- SingleColumnPage,
146
- {
147
- showMetadata: true,
148
- showJSON: true,
149
- data: shipping_profile,
150
- children: /* @__PURE__ */ jsx3(ShippingProfileGeneralSection, { profile: shipping_profile })
151
- }
152
- );
104
+ return /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: true, showJSON: true, data: shipping_profile, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(ShippingProfileGeneralSection, { profile: shipping_profile }) });
153
105
  };
106
+ var ShippingProfileDetail = Object.assign(Root, {
107
+ GeneralSection: ShippingProfileGeneralSection
108
+ });
109
+
154
110
  export {
155
- ShippingProfileDetailBreadcrumb as Breadcrumb,
156
- ShippingProfileDetail as Component,
157
- shippingProfileLoader as loader
111
+ ShippingProfileDetail
158
112
  };
@@ -1,89 +1,26 @@
1
1
  import {
2
2
  useReturnReasonTableColumns
3
3
  } from "./chunk-5A4JNOK3.js";
4
- import "./chunk-O5VKW5FL.js";
5
- import "./chunk-2PZGY332.js";
6
- import "./chunk-AFQS6E4N.js";
7
- import "./chunk-QG6PLWNH.js";
8
- import "./chunk-BFCAJKRG.js";
9
- import "./chunk-4F5GP7J7.js";
10
- import "./chunk-54EPH67T.js";
11
- import "./chunk-JQV7CXEC.js";
12
- import "./chunk-HINXQTCW.js";
13
- import "./chunk-VW56KWO2.js";
14
4
  import {
15
- returnReasonsQueryKeys,
16
5
  useDeleteReturnReason,
17
6
  useReturnReasons
18
7
  } from "./chunk-2W3LB6MB.js";
19
- import "./chunk-2Y3WMGN6.js";
20
- import "./chunk-RW35OPIA.js";
21
- import "./chunk-25LYVP3C.js";
22
- import "./chunk-LQSLDDPT.js";
23
- import "./chunk-JHIMVLB2.js";
24
- import "./chunk-PXYDR7WQ.js";
25
- import "./chunk-3CKTAFTR.js";
26
- import "./chunk-G5OVX555.js";
27
- import "./chunk-FWPGOIFA.js";
28
- import "./chunk-DB6ANJBO.js";
29
- import "./chunk-FQERBIVS.js";
30
- import "./chunk-PHOCVOZ5.js";
31
8
  import {
32
9
  _DataTable,
33
10
  useDataTable
34
- } from "./chunk-FLCYR7E5.js";
35
- import "./chunk-YBZWO4ZV.js";
36
- import "./chunk-KAZ5BYTQ.js";
37
- import "./chunk-3EF54XFY.js";
38
- import "./chunk-WIYFXWRI.js";
39
- import "./chunk-IQPN4PZJ.js";
40
- import {
41
- useReturnReasonTableQuery
42
- } from "./chunk-SXC5ZMLI.js";
43
- import "./chunk-MG4GKUJW.js";
44
- import "./chunk-AYVH6Q5O.js";
45
- import "./chunk-VOHEQ7B5.js";
46
- import "./chunk-N5IUYCUZ.js";
47
- import "./chunk-7SVLKK6Q.js";
48
- import "./chunk-GR6JUIRU.js";
49
- import "./chunk-PVZBDWLK.js";
50
- import "./chunk-O5HZRJPB.js";
51
- import "./chunk-VKOE5J66.js";
52
- import "./chunk-DY3XQPHC.js";
53
- import "./chunk-VVWB3GIK.js";
54
- import "./chunk-KBYZLKI4.js";
55
- import "./chunk-YWWUOGJA.js";
56
- import "./chunk-JRTZWK77.js";
11
+ } from "./chunk-ULJ3OMWU.js";
57
12
  import {
58
13
  SingleColumnPage
59
14
  } from "./chunk-U2UCL2VG.js";
60
- import "./chunk-INNFZYX2.js";
61
15
  import {
62
16
  ActionMenu
63
17
  } from "./chunk-BDGZ4EQO.js";
64
- import "./chunk-LAVHRER2.js";
65
- import "./chunk-Y7QKP6QU.js";
66
- import "./chunk-THHRRYRS.js";
67
- import "./chunk-UZWFZMOX.js";
68
- import "./chunk-XQNVC4Q7.js";
69
- import {
70
- queryClient
71
- } from "./chunk-RHKRREUU.js";
72
- import "./chunk-ZA2KFUFR.js";
73
18
  import {
74
- sdk
75
- } from "./chunk-ZYNBKBY3.js";
76
- import "./chunk-NBMM2TZK.js";
19
+ useReturnReasonTableQuery
20
+ } from "./chunk-TKEAOWBZ.js";
77
21
 
78
- // src/pages/return-reasons/return-reason-list/loader.ts
79
- var returnReasonListQuery = (query) => ({
80
- queryKey: returnReasonsQueryKeys.list(query),
81
- queryFn: async () => sdk.admin.returnReasons.query({ ...query })
82
- });
83
- var returnReasonListLoader = async () => {
84
- const query = returnReasonListQuery();
85
- return queryClient.getQueryData(query.queryKey) ?? await queryClient.fetchQuery(query);
86
- };
22
+ // src/pages/return-reasons/return-reason-list/return-reason-list.tsx
23
+ import { Children } from "react";
87
24
 
88
25
  // src/pages/return-reasons/return-reason-list/components/return-reason-list-table/return-reason-list-table.tsx
89
26
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -227,18 +164,13 @@ var useColumns = () => {
227
164
 
228
165
  // src/pages/return-reasons/return-reason-list/return-reason-list.tsx
229
166
  import { jsx as jsx2 } from "react/jsx-runtime";
230
- var ReturnReasonList = () => {
231
- return /* @__PURE__ */ jsx2(
232
- SingleColumnPage,
233
- {
234
- showMetadata: false,
235
- showJSON: false,
236
- hasOutlet: true,
237
- children: /* @__PURE__ */ jsx2(ReturnReasonListTable, {})
238
- }
239
- );
167
+ var Root = ({ children }) => {
168
+ return /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(ReturnReasonListTable, {}) });
240
169
  };
170
+ var ReturnReasonList = Object.assign(Root, {
171
+ Table: ReturnReasonListTable
172
+ });
173
+
241
174
  export {
242
- ReturnReasonList as Component,
243
- returnReasonListLoader as loader
175
+ ReturnReasonList
244
176
  };