@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,3 +1,7 @@
1
+ import {
2
+ TextCell,
3
+ TextHeader
4
+ } from "./chunk-JHIMVLB2.js";
1
5
  import {
2
6
  useDeleteProductCategoryAction
3
7
  } from "./chunk-OBOBNRBG.js";
@@ -6,90 +10,105 @@ import {
6
10
  getIsActiveProps,
7
11
  getIsInternalProps
8
12
  } from "./chunk-Y456KVIN.js";
9
- import {
10
- TextCell,
11
- TextHeader
12
- } from "./chunk-JHIMVLB2.js";
13
13
  import {
14
14
  StatusCell
15
15
  } from "./chunk-DB6ANJBO.js";
16
- import "./chunk-FQERBIVS.js";
17
- import "./chunk-PHOCVOZ5.js";
18
16
  import {
19
17
  _DataTable,
20
18
  useDataTable
21
- } from "./chunk-FLCYR7E5.js";
22
- import "./chunk-YBZWO4ZV.js";
23
- import "./chunk-KAZ5BYTQ.js";
24
- import "./chunk-3EF54XFY.js";
25
- import "./chunk-KBYZLKI4.js";
26
- import "./chunk-YWWUOGJA.js";
19
+ } from "./chunk-ULJ3OMWU.js";
27
20
  import {
28
21
  SingleColumnPage
29
22
  } from "./chunk-U2UCL2VG.js";
30
- import "./chunk-INNFZYX2.js";
31
23
  import {
32
24
  ActionMenu
33
25
  } from "./chunk-BDGZ4EQO.js";
34
- import "./chunk-LAVHRER2.js";
35
- import "./chunk-Y7QKP6QU.js";
36
26
  import {
37
27
  useQueryParams
38
28
  } from "./chunk-THHRRYRS.js";
39
- import "./chunk-UZWFZMOX.js";
40
- import "./chunk-XQNVC4Q7.js";
41
29
  import {
42
30
  useProductCategories
43
31
  } from "./chunk-36ORDF7W.js";
44
- import "./chunk-K357FGGP.js";
45
- import "./chunk-RHKRREUU.js";
46
- import "./chunk-ZA2KFUFR.js";
47
- import "./chunk-ZYNBKBY3.js";
48
- import "./chunk-NBMM2TZK.js";
32
+
33
+ // src/pages/categories/category-list/category-list.tsx
34
+ import { Children as Children3 } from "react";
49
35
 
50
36
  // src/pages/categories/category-list/components/category-list-table/category-list-table.tsx
37
+ import { Children as Children2 } from "react";
38
+ import { Container } from "@medusajs/ui";
39
+
40
+ // src/pages/categories/category-list/components/category-list-table/category-list-header.tsx
41
+ import { Children } from "react";
42
+ import { Button, Heading, Text } from "@medusajs/ui";
43
+ import { useTranslation } from "react-i18next";
44
+ import { Link } from "react-router-dom";
45
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
46
+ var CategoryListTitle = () => {
47
+ const { t } = useTranslation();
48
+ return /* @__PURE__ */ jsxs("div", { children: [
49
+ /* @__PURE__ */ jsx(Heading, { children: t("categories.domain") }),
50
+ /* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle", size: "small", children: t("categories.subtitle") })
51
+ ] });
52
+ };
53
+ var CategoryListActions = ({
54
+ children
55
+ }) => {
56
+ const { t } = useTranslation();
57
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
58
+ /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "organize", children: t("categories.organize.action") }) }),
59
+ /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) })
60
+ ] }) });
61
+ };
62
+ var CategoryListHeader = ({
63
+ children
64
+ }) => {
65
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between px-6 py-4", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
66
+ /* @__PURE__ */ jsx(CategoryListTitle, {}),
67
+ /* @__PURE__ */ jsx(CategoryListActions, {})
68
+ ] }) });
69
+ };
70
+
71
+ // src/pages/categories/category-list/components/category-list-table/category-list-data-table.tsx
51
72
  import { PencilSquare, Trash } from "@medusajs/icons";
52
- import { Button, Container, Heading, Text as Text2 } from "@medusajs/ui";
53
73
  import { keepPreviousData } from "@tanstack/react-query";
54
74
  import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
55
75
  import { useMemo as useMemo2 } from "react";
56
- import { useTranslation as useTranslation2 } from "react-i18next";
57
- import { Link } from "react-router-dom";
76
+ import { useTranslation as useTranslation3 } from "react-i18next";
58
77
 
59
78
  // src/pages/categories/category-list/components/category-list-table/use-category-table-columns.tsx
60
79
  import { TriangleRightMini } from "@medusajs/icons";
61
- import { IconButton, Text, clx } from "@medusajs/ui";
80
+ import { IconButton, Text as Text2, clx } from "@medusajs/ui";
62
81
  import { createColumnHelper } from "@tanstack/react-table";
63
82
  import { useMemo } from "react";
64
- import { useTranslation } from "react-i18next";
65
- import { jsx, jsxs } from "react/jsx-runtime";
83
+ import { useTranslation as useTranslation2 } from "react-i18next";
84
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
66
85
  var columnHelper = createColumnHelper();
67
86
  var useCategoryTableColumns = () => {
68
- const { t } = useTranslation();
87
+ const { t } = useTranslation2();
69
88
  return useMemo(
70
89
  () => [
71
90
  columnHelper.accessor("name", {
72
- header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("fields.name") }),
91
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("fields.name") }),
73
92
  cell: ({ getValue, row }) => {
74
93
  const expandHandler = row.getToggleExpandedHandler();
75
94
  if (row.original.parent_category !== void 0) {
76
95
  const path = getCategoryPath(row.original);
77
- return /* @__PURE__ */ jsx("div", { className: "flex size-full items-center gap-1 overflow-hidden", children: path.map((chip, index) => /* @__PURE__ */ jsxs(
96
+ return /* @__PURE__ */ jsx2("div", { className: "flex size-full items-center gap-1 overflow-hidden", children: path.map((chip, index) => /* @__PURE__ */ jsxs2(
78
97
  "div",
79
98
  {
80
99
  className: clx("overflow-hidden", {
81
100
  "text-ui-fg-muted flex items-center gap-x-1": index !== path.length - 1
82
101
  }),
83
102
  children: [
84
- /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", className: "truncate", children: chip.name }),
85
- index !== path.length - 1 && /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: "/" })
103
+ /* @__PURE__ */ jsx2(Text2, { size: "small", leading: "compact", className: "truncate", children: chip.name }),
104
+ index !== path.length - 1 && /* @__PURE__ */ jsx2(Text2, { size: "small", leading: "compact", children: "/" })
86
105
  ]
87
106
  },
88
107
  chip.id
89
108
  )) });
90
109
  }
91
- return /* @__PURE__ */ jsxs("div", { className: "flex size-full items-center gap-x-3 overflow-hidden", children: [
92
- /* @__PURE__ */ jsx("div", { className: "flex size-7 items-center justify-center", children: row.getCanExpand() ? /* @__PURE__ */ jsx(
110
+ return /* @__PURE__ */ jsxs2("div", { className: "flex size-full items-center gap-x-3 overflow-hidden", children: [
111
+ /* @__PURE__ */ jsx2("div", { className: "flex size-7 items-center justify-center", children: row.getCanExpand() ? /* @__PURE__ */ jsx2(
93
112
  IconButton,
94
113
  {
95
114
  type: "button",
@@ -101,7 +120,7 @@ var useCategoryTableColumns = () => {
101
120
  size: "small",
102
121
  variant: "transparent",
103
122
  className: "text-ui-fg-subtle",
104
- children: /* @__PURE__ */ jsx(
123
+ children: /* @__PURE__ */ jsx2(
105
124
  TriangleRightMini,
106
125
  {
107
126
  className: clx({
@@ -111,28 +130,28 @@ var useCategoryTableColumns = () => {
111
130
  )
112
131
  }
113
132
  ) : null }),
114
- /* @__PURE__ */ jsx("span", { className: "truncate", children: getValue() })
133
+ /* @__PURE__ */ jsx2("span", { className: "truncate", children: getValue() })
115
134
  ] });
116
135
  }
117
136
  }),
118
137
  columnHelper.accessor("handle", {
119
- header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("fields.handle") }),
138
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("fields.handle") }),
120
139
  cell: ({ getValue }) => {
121
- return /* @__PURE__ */ jsx(TextCell, { text: `/${getValue()}` });
140
+ return /* @__PURE__ */ jsx2(TextCell, { text: `/${getValue()}` });
122
141
  }
123
142
  }),
124
143
  columnHelper.accessor("is_active", {
125
- header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("fields.status") }),
144
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("fields.status") }),
126
145
  cell: ({ getValue }) => {
127
146
  const { color, label } = getIsActiveProps(getValue(), t);
128
- return /* @__PURE__ */ jsx(StatusCell, { color, children: label });
147
+ return /* @__PURE__ */ jsx2(StatusCell, { color, children: label });
129
148
  }
130
149
  }),
131
150
  columnHelper.accessor("is_internal", {
132
- header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("categories.fields.visibility.label") }),
151
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("categories.fields.visibility.label") }),
133
152
  cell: ({ getValue }) => {
134
153
  const { color, label } = getIsInternalProps(getValue(), t);
135
- return /* @__PURE__ */ jsx(StatusCell, { color, children: label });
154
+ return /* @__PURE__ */ jsx2(StatusCell, { color, children: label });
136
155
  }
137
156
  })
138
157
  ],
@@ -158,11 +177,10 @@ var useCategoryTableQuery = ({
158
177
  };
159
178
  };
160
179
 
161
- // src/pages/categories/category-list/components/category-list-table/category-list-table.tsx
162
- import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
180
+ // src/pages/categories/category-list/components/category-list-table/category-list-data-table.tsx
181
+ import { jsx as jsx3 } from "react/jsx-runtime";
163
182
  var PAGE_SIZE = 20;
164
- var CategoryListTable = () => {
165
- const { t } = useTranslation2();
183
+ var CategoryListDataTable = () => {
166
184
  const { raw, searchParams } = useCategoryTableQuery({ pageSize: PAGE_SIZE });
167
185
  const query = raw.q ? {
168
186
  include_ancestors_tree: true,
@@ -192,43 +210,30 @@ var CategoryListTable = () => {
192
210
  enableExpandableRows: true,
193
211
  pageSize: PAGE_SIZE
194
212
  });
195
- const showRankingAction = !!product_categories && product_categories.length > 0;
196
213
  if (isError) {
197
214
  throw error;
198
215
  }
199
- return /* @__PURE__ */ jsxs2(Container, { className: "divide-y p-0", children: [
200
- /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", children: [
201
- /* @__PURE__ */ jsxs2("div", { children: [
202
- /* @__PURE__ */ jsx2(Heading, { children: t("categories.domain") }),
203
- /* @__PURE__ */ jsx2(Text2, { className: "text-ui-fg-subtle", size: "small", children: t("categories.subtitle") })
204
- ] }),
205
- /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-2", children: [
206
- showRankingAction && /* @__PURE__ */ jsx2(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx2(Link, { to: "organize", children: t("categories.organize.action") }) }),
207
- /* @__PURE__ */ jsx2(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx2(Link, { to: "create", children: t("actions.create") }) })
208
- ] })
209
- ] }),
210
- /* @__PURE__ */ jsx2(
211
- _DataTable,
212
- {
213
- table,
214
- columns,
215
- count,
216
- pageSize: PAGE_SIZE,
217
- isLoading,
218
- navigateTo: (row) => row.id,
219
- queryObject: raw,
220
- search: true,
221
- pagination: true
222
- }
223
- )
224
- ] });
216
+ return /* @__PURE__ */ jsx3(
217
+ _DataTable,
218
+ {
219
+ table,
220
+ columns,
221
+ count,
222
+ pageSize: PAGE_SIZE,
223
+ isLoading,
224
+ navigateTo: (row) => row.id,
225
+ queryObject: raw,
226
+ search: true,
227
+ pagination: true
228
+ }
229
+ );
225
230
  };
226
231
  var CategoryRowActions = ({
227
232
  category
228
233
  }) => {
229
- const { t } = useTranslation2();
234
+ const { t } = useTranslation3();
230
235
  const handleDelete = useDeleteProductCategoryAction(category);
231
- return /* @__PURE__ */ jsx2(
236
+ return /* @__PURE__ */ jsx3(
232
237
  ActionMenu,
233
238
  {
234
239
  groups: [
@@ -236,7 +241,7 @@ var CategoryRowActions = ({
236
241
  actions: [
237
242
  {
238
243
  label: t("actions.edit"),
239
- icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
244
+ icon: /* @__PURE__ */ jsx3(PencilSquare, {}),
240
245
  to: `${category.id}/edit`
241
246
  }
242
247
  ]
@@ -245,7 +250,7 @@ var CategoryRowActions = ({
245
250
  actions: [
246
251
  {
247
252
  label: t("actions.delete"),
248
- icon: /* @__PURE__ */ jsx2(Trash, {}),
253
+ icon: /* @__PURE__ */ jsx3(Trash, {}),
249
254
  onClick: handleDelete
250
255
  }
251
256
  ]
@@ -263,7 +268,7 @@ var useColumns = () => {
263
268
  columnHelper2.display({
264
269
  id: "actions",
265
270
  cell: ({ row }) => {
266
- return /* @__PURE__ */ jsx2(CategoryRowActions, { category: row.original });
271
+ return /* @__PURE__ */ jsx3(CategoryRowActions, { category: row.original });
267
272
  }
268
273
  })
269
274
  ],
@@ -271,17 +276,28 @@ var useColumns = () => {
271
276
  );
272
277
  };
273
278
 
279
+ // src/pages/categories/category-list/components/category-list-table/category-list-table.tsx
280
+ import { Fragment as Fragment2, jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
281
+ var CategoryListTable = ({ children }) => {
282
+ return /* @__PURE__ */ jsx4(Container, { className: "divide-y p-0", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsxs3(Fragment2, { children: [
283
+ /* @__PURE__ */ jsx4(CategoryListHeader, {}),
284
+ /* @__PURE__ */ jsx4(CategoryListDataTable, {})
285
+ ] }) });
286
+ };
287
+
274
288
  // src/pages/categories/category-list/category-list.tsx
275
- import { jsx as jsx3 } from "react/jsx-runtime";
276
- var CategoryList = () => {
277
- return /* @__PURE__ */ jsx3(
278
- SingleColumnPage,
279
- {
280
- hasOutlet: true,
281
- children: /* @__PURE__ */ jsx3(CategoryListTable, {})
282
- }
283
- );
289
+ import { jsx as jsx5 } from "react/jsx-runtime";
290
+ var Root = ({ children }) => {
291
+ return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(CategoryListTable, {}) });
284
292
  };
293
+ var CategoryList = Object.assign(Root, {
294
+ Table: CategoryListTable,
295
+ Header: CategoryListHeader,
296
+ HeaderTitle: CategoryListTitle,
297
+ HeaderActions: CategoryListActions,
298
+ DataTable: CategoryListDataTable
299
+ });
300
+
285
301
  export {
286
- CategoryList as Component
302
+ CategoryList
287
303
  };
@@ -0,0 +1,223 @@
1
+ import {
2
+ require_dist
3
+ } from "./chunk-K6FXWZ2M.js";
4
+ import {
5
+ DateCell
6
+ } from "./chunk-25LYVP3C.js";
7
+ import {
8
+ StatusCell
9
+ } from "./chunk-DB6ANJBO.js";
10
+ import {
11
+ _DataTable,
12
+ useDataTable
13
+ } from "./chunk-ULJ3OMWU.js";
14
+ import {
15
+ SingleColumnPage
16
+ } from "./chunk-U2UCL2VG.js";
17
+ import {
18
+ ActionMenu
19
+ } from "./chunk-BDGZ4EQO.js";
20
+ import {
21
+ useSellerTableFilters
22
+ } from "./chunk-YMKZS2HK.js";
23
+ import {
24
+ useSellersTableQuery
25
+ } from "./chunk-TKEAOWBZ.js";
26
+ import {
27
+ useSellers
28
+ } from "./chunk-GF4QHVX3.js";
29
+ import {
30
+ __toESM
31
+ } from "./chunk-NBMM2TZK.js";
32
+
33
+ // src/pages/sellers/seller-list/seller-list.tsx
34
+ import { Children as Children3 } from "react";
35
+
36
+ // src/pages/sellers/seller-list/components/seller-list-table/seller-list-table.tsx
37
+ import { Children as Children2 } from "react";
38
+ import { Container } from "@medusajs/ui";
39
+
40
+ // src/pages/sellers/seller-list/components/seller-list-table/seller-list-header.tsx
41
+ import { Children } from "react";
42
+ import { Heading } from "@medusajs/ui";
43
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
44
+ var SellerListTitle = () => {
45
+ return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Heading, { level: "h2", children: "Sellers" }) });
46
+ };
47
+ var SellerListActions = ({
48
+ children
49
+ }) => {
50
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children });
51
+ };
52
+ var SellerListHeader = ({
53
+ children
54
+ }) => {
55
+ return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between px-6 py-4", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
56
+ /* @__PURE__ */ jsx(SellerListTitle, {}),
57
+ /* @__PURE__ */ jsx(SellerListActions, {})
58
+ ] }) });
59
+ };
60
+
61
+ // src/pages/sellers/seller-list/components/seller-list-table/seller-list-data-table.tsx
62
+ import { useMemo as useMemo2 } from "react";
63
+ import { PencilSquare } from "@medusajs/icons";
64
+ import { keepPreviousData } from "@tanstack/react-query";
65
+ import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
66
+
67
+ // src/hooks/table/columns/use-seller-table-columns.tsx
68
+ import { createColumnHelper } from "@tanstack/react-table";
69
+ import { useMemo } from "react";
70
+
71
+ // src/components/table/table-cells/seller/seller-status-cell/seller-status-cell.tsx
72
+ import { useTranslation } from "react-i18next";
73
+ var import_types = __toESM(require_dist(), 1);
74
+ import { jsx as jsx2 } from "react/jsx-runtime";
75
+ var SellerStatusCell = ({ status }) => {
76
+ const { t } = useTranslation();
77
+ const [color, text] = {
78
+ [import_types.SellerStatus.PENDING]: ["orange", t("sellers.status.pending")],
79
+ [import_types.SellerStatus.ACTIVE]: ["green", t("sellers.status.active")],
80
+ [import_types.SellerStatus.SUSPENDED]: ["red", t("sellers.status.suspended")]
81
+ }[status];
82
+ return /* @__PURE__ */ jsx2(StatusCell, { color, children: text });
83
+ };
84
+
85
+ // src/hooks/table/columns/use-seller-table-columns.tsx
86
+ import { jsx as jsx3 } from "react/jsx-runtime";
87
+ var columnHelper = createColumnHelper();
88
+ var useSellersTableColumns = () => {
89
+ return useMemo(
90
+ () => [
91
+ columnHelper.display({
92
+ id: "email",
93
+ header: "Email",
94
+ cell: ({ row }) => row.original.email
95
+ }),
96
+ columnHelper.display({
97
+ id: "name",
98
+ header: "Name",
99
+ cell: ({ row }) => row.original.name
100
+ }),
101
+ columnHelper.display({
102
+ id: "status",
103
+ header: "Status",
104
+ cell: ({ row }) => {
105
+ return /* @__PURE__ */ jsx3(SellerStatusCell, { status: row.original.status });
106
+ }
107
+ }),
108
+ columnHelper.display({
109
+ id: "created_at",
110
+ header: "Created",
111
+ cell: ({ row }) => {
112
+ return /* @__PURE__ */ jsx3(DateCell, { date: row.original.created_at });
113
+ }
114
+ })
115
+ ],
116
+ []
117
+ );
118
+ };
119
+
120
+ // src/pages/sellers/seller-list/components/seller-list-table/seller-list-data-table.tsx
121
+ import { jsx as jsx4 } from "react/jsx-runtime";
122
+ var PAGE_SIZE = 10;
123
+ var SellerListDataTable = () => {
124
+ const { searchParams, raw } = useSellersTableQuery({
125
+ pageSize: PAGE_SIZE
126
+ });
127
+ const { sellers, count, isLoading } = useSellers(
128
+ {
129
+ ...searchParams
130
+ },
131
+ {
132
+ placeholderData: keepPreviousData
133
+ }
134
+ );
135
+ const columns = useColumns();
136
+ const filters = useSellerTableFilters();
137
+ const { table } = useDataTable({
138
+ data: sellers ?? [],
139
+ columns,
140
+ count: count ?? 0,
141
+ enablePagination: true,
142
+ pageSize: PAGE_SIZE,
143
+ getRowId: (row) => row?.id || ""
144
+ });
145
+ return /* @__PURE__ */ jsx4(
146
+ _DataTable,
147
+ {
148
+ table,
149
+ columns,
150
+ count: count ?? 0,
151
+ pageSize: PAGE_SIZE,
152
+ filters,
153
+ isLoading,
154
+ queryObject: raw,
155
+ search: true,
156
+ pagination: true,
157
+ navigateTo: (row) => `/sellers/${row.original.id}`,
158
+ orderBy: [
159
+ { key: "email", label: "Email" },
160
+ { key: "name", label: "Name" },
161
+ { key: "created_at", label: "Created" }
162
+ ]
163
+ }
164
+ );
165
+ };
166
+ var columnHelper2 = createColumnHelper2();
167
+ var SellerActions = ({ seller }) => {
168
+ return /* @__PURE__ */ jsx4(
169
+ ActionMenu,
170
+ {
171
+ groups: [
172
+ {
173
+ actions: [
174
+ {
175
+ icon: /* @__PURE__ */ jsx4(PencilSquare, {}),
176
+ label: "Edit",
177
+ to: `/sellers/${seller.id}/edit`
178
+ }
179
+ ]
180
+ }
181
+ ]
182
+ }
183
+ );
184
+ };
185
+ var useColumns = () => {
186
+ const base = useSellersTableColumns();
187
+ return useMemo2(
188
+ () => [
189
+ ...base,
190
+ columnHelper2.display({
191
+ id: "actions",
192
+ cell: ({ row }) => /* @__PURE__ */ jsx4(SellerActions, { seller: row.original })
193
+ })
194
+ ],
195
+ [base]
196
+ );
197
+ };
198
+
199
+ // src/pages/sellers/seller-list/components/seller-list-table/seller-list-table.tsx
200
+ import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
201
+ var SellerListTable = ({ children }) => {
202
+ return /* @__PURE__ */ jsx5(Container, { className: "divide-y p-0", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsxs2(Fragment2, { children: [
203
+ /* @__PURE__ */ jsx5(SellerListHeader, {}),
204
+ /* @__PURE__ */ jsx5(SellerListDataTable, {})
205
+ ] }) });
206
+ };
207
+
208
+ // src/pages/sellers/seller-list/seller-list.tsx
209
+ import { jsx as jsx6 } from "react/jsx-runtime";
210
+ var Root = ({ children }) => {
211
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(SellerListTable, {}) });
212
+ };
213
+ var SellersList = Object.assign(Root, {
214
+ Table: SellerListTable,
215
+ Header: SellerListHeader,
216
+ HeaderTitle: SellerListTitle,
217
+ HeaderActions: SellerListActions,
218
+ DataTable: SellerListDataTable
219
+ });
220
+
221
+ export {
222
+ SellersList
223
+ };
@@ -1,47 +1,29 @@
1
1
  import {
2
2
  useRegionTableColumns
3
- } from "./chunk-2PZGY332.js";
4
- import "./chunk-4F5GP7J7.js";
5
- import "./chunk-VW56KWO2.js";
6
- import "./chunk-FQERBIVS.js";
7
- import "./chunk-PHOCVOZ5.js";
3
+ } from "./chunk-LQAAVRET.js";
8
4
  import {
9
5
  _DataTable,
10
6
  useDataTable
11
- } from "./chunk-FLCYR7E5.js";
12
- import "./chunk-YBZWO4ZV.js";
13
- import "./chunk-KAZ5BYTQ.js";
14
- import "./chunk-3EF54XFY.js";
15
- import {
16
- useRegionTableFilters
17
- } from "./chunk-ZQZHFMD7.js";
18
- import {
19
- useRegionTableQuery
20
- } from "./chunk-7SVLKK6Q.js";
21
- import "./chunk-KBYZLKI4.js";
22
- import "./chunk-YWWUOGJA.js";
23
- import "./chunk-JRTZWK77.js";
7
+ } from "./chunk-ULJ3OMWU.js";
24
8
  import {
25
9
  SingleColumnPage
26
10
  } from "./chunk-U2UCL2VG.js";
27
- import "./chunk-INNFZYX2.js";
28
11
  import {
29
12
  ActionMenu
30
13
  } from "./chunk-BDGZ4EQO.js";
31
- import "./chunk-LAVHRER2.js";
32
- import "./chunk-Y7QKP6QU.js";
33
- import "./chunk-THHRRYRS.js";
34
- import "./chunk-UZWFZMOX.js";
35
- import "./chunk-XQNVC4Q7.js";
14
+ import {
15
+ useRegionTableFilters
16
+ } from "./chunk-ZQZHFMD7.js";
17
+ import {
18
+ useRegionTableQuery
19
+ } from "./chunk-7SVLKK6Q.js";
36
20
  import {
37
21
  useDeleteRegion,
38
22
  useRegions
39
23
  } from "./chunk-QSM56ZOP.js";
40
- import "./chunk-3VZV6SJQ.js";
41
- import "./chunk-RHKRREUU.js";
42
- import "./chunk-ZA2KFUFR.js";
43
- import "./chunk-ZYNBKBY3.js";
44
- import "./chunk-NBMM2TZK.js";
24
+
25
+ // src/pages/regions/region-list/region-list.tsx
26
+ import { Children } from "react";
45
27
 
46
28
  // src/pages/regions/region-list/components/region-list-table/region-list-table.tsx
47
29
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -198,9 +180,13 @@ var useColumns = () => {
198
180
 
199
181
  // src/pages/regions/region-list/region-list.tsx
200
182
  import { jsx as jsx2 } from "react/jsx-runtime";
201
- var RegionList = () => {
202
- return /* @__PURE__ */ jsx2(SingleColumnPage, { children: /* @__PURE__ */ jsx2(RegionListTable, {}) });
183
+ var Root = ({ children }) => {
184
+ return /* @__PURE__ */ jsx2(SingleColumnPage, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(RegionListTable, {}) });
203
185
  };
186
+ var RegionList = Object.assign(Root, {
187
+ Table: RegionListTable
188
+ });
189
+
204
190
  export {
205
- RegionList as Component
191
+ RegionList
206
192
  };