@mercurjs/vendor 2.2.0-rc.0 → 2.2.0-rc.2

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 (266) hide show
  1. package/dist/{[id]-4HO4S2PX.js → [id]-3GF4DR5K.js} +704 -670
  2. package/dist/{[id]-4LIIFGET.js → [id]-3HIZGJWE.js} +140 -51
  3. package/dist/{[id]-XP5KEMNX.js → [id]-AXGVRF7M.js} +99 -62
  4. package/dist/{[id]-N7JEZFXQ.js → [id]-C7IFTDTJ.js} +4 -3
  5. package/dist/{[id]-DT5YJVKG.js → [id]-DKF4YEXN.js} +32 -31
  6. package/dist/{[id]-DCGPICT3.js → [id]-IFWREJVP.js} +37 -36
  7. package/dist/{[id]-IEBZ6V3W.js → [id]-LJABCC3D.js} +43 -42
  8. package/dist/{[id]-3LNKC5OJ.js → [id]-MIASQVLP.js} +93 -52
  9. package/dist/{[id]-U6FKX5UQ.js → [id]-NGB5OLRW.js} +68 -54
  10. package/dist/{[id]-XB45DY2D.js → [id]-ONBG5DZJ.js} +121 -43
  11. package/dist/{[id]-CUBGVODE.js → [id]-OV5VX7KD.js} +102 -61
  12. package/dist/{[id]-5P5LTATX.js → [id]-QWI3RWE6.js} +31 -13
  13. package/dist/{[id]-AQUUZFRX.js → [id]-RFC2YGFT.js} +142 -44
  14. package/dist/{[id]-5EECCIRP.js → [id]-VKEADKFV.js} +74 -49
  15. package/dist/{[location_id]-I4HHUHWY.js → [location_id]-ZG5GZKHC.js} +11 -10
  16. package/dist/{[province_id]-OYX4MOCF.js → [province_id]-KEDQTW6S.js} +31 -30
  17. package/dist/{add-RPRJWCYU.js → add-FDIWOFVE.js} +31 -30
  18. package/dist/{add-3T4GBFMM.js → add-ZIP3VEAV.js} +37 -37
  19. package/dist/{add-customer-groups-FB5T6PQN.js → add-customer-groups-EJIRM264.js} +25 -25
  20. package/dist/{add-products-F243SWGD.js → add-products-MW2JYTSJ.js} +30 -30
  21. package/dist/{add-promotions-TJDK7HLW.js → add-promotions-3BALABRA.js} +7 -7
  22. package/dist/{add-to-campaign-Q6OAJMUJ.js → add-to-campaign-B7RFNWPF.js} +5 -5
  23. package/dist/{address-XVBSNMFU.js → address-CP2MSWLA.js} +41 -29
  24. package/dist/{adjust-inventory-IZLRMQXV.js → adjust-inventory-CQPDV5X7.js} +3 -3
  25. package/dist/{allocate-items-Q3VALDYT.js → allocate-items-5HHGU3XW.js} +4 -4
  26. package/dist/{areas-IYGBRCRH.js → areas-XQE3AYPZ.js} +7 -7
  27. package/dist/{attributes-LGEM2JJW.js → attributes-HU6I723C.js} +2 -2
  28. package/dist/breadcrumb-3M7RKX5V.js +47 -0
  29. package/dist/{breadcrumb-WG6TIF4C.js → breadcrumb-4O2P6XRS.js} +5 -3
  30. package/dist/{breadcrumb-K4HBKZUE.js → breadcrumb-4Z7NR2BO.js} +3 -3
  31. package/dist/{breadcrumb-BC6XN2SE.js → breadcrumb-4ZZFD3UH.js} +3 -3
  32. package/dist/{breadcrumb-MOA2DBOE.js → breadcrumb-6VWM2EJF.js} +2 -2
  33. package/dist/{breadcrumb-YOY6Z36F.js → breadcrumb-75QGQDKN.js} +2 -2
  34. package/dist/{breadcrumb-FEYGZFJU.js → breadcrumb-C7X6FV2H.js} +3 -3
  35. package/dist/breadcrumb-EAYZVNKS.js +33 -0
  36. package/dist/{breadcrumb-H45Z2WNG.js → breadcrumb-FF7H3XPP.js} +4 -4
  37. package/dist/{breadcrumb-KZPOPXGG.js → breadcrumb-GLBWFHKW.js} +2 -2
  38. package/dist/{breadcrumb-XEZCMI55.js → breadcrumb-HK53R6S2.js} +2 -2
  39. package/dist/{breadcrumb-BFNJWOJ4.js → breadcrumb-KV6K64PW.js} +2 -2
  40. package/dist/{breadcrumb-LEFHXFLT.js → breadcrumb-KZ5TSCXK.js} +3 -3
  41. package/dist/breadcrumb-TPITDYD7.js +46 -0
  42. package/dist/{breadcrumb-XGXKCDYS.js → breadcrumb-UVODV3YP.js} +4 -4
  43. package/dist/{breadcrumb-L262VPBO.js → breadcrumb-WIB5IGST.js} +2 -2
  44. package/dist/{breadcrumb-BXD3SRM7.js → breadcrumb-X5TTCKIB.js} +2 -2
  45. package/dist/{campaigns-DZKRNCA4.js → campaigns-JKFMRYZE.js} +6 -6
  46. package/dist/{categories-JZJA2IBQ.js → categories-2PGWWGP6.js} +7 -7
  47. package/dist/{chunk-CRYZK4NU.js → chunk-2GVPLCQR.js} +2 -2
  48. package/dist/{chunk-MJP5V3JN.js → chunk-3IZSQI6K.js} +2 -2
  49. package/dist/chunk-432S4FGR.js +0 -0
  50. package/dist/{chunk-HDEOZN2Q.js → chunk-4OQLPIUZ.js} +27 -27
  51. package/dist/{chunk-JJP6AKMV.js → chunk-4U2BLH45.js} +1 -1
  52. package/dist/{chunk-WFHGJGCW.js → chunk-4ZWIWI2H.js} +27 -12
  53. package/dist/{chunk-DSTHXHJ5.js → chunk-52KJSIHS.js} +1358 -1392
  54. package/dist/{chunk-GSH6ZGI6.js → chunk-54SCBOWD.js} +35 -12
  55. package/dist/{chunk-MAW6ZT3D.js → chunk-55TS752B.js} +1 -1
  56. package/dist/{chunk-3ALBZK4M.js → chunk-57ZJ6HTU.js} +18 -4
  57. package/dist/{chunk-EPRYM3FA.js → chunk-5DKUSZQ7.js} +2 -2
  58. package/dist/{chunk-L57USMYC.js → chunk-5YZ3G5EZ.js} +1 -1
  59. package/dist/{chunk-3SH24DGG.js → chunk-656G74I2.js} +2 -2
  60. package/dist/{chunk-ZLYGEART.js → chunk-65HHU6D3.js} +1 -1
  61. package/dist/{chunk-ZTOYVPGA.js → chunk-6PSJJHI4.js} +1 -1
  62. package/dist/{chunk-FCZJAYMM.js → chunk-6RHJFSE3.js} +1 -1
  63. package/dist/{chunk-W3UHAQCV.js → chunk-7TQNE3E2.js} +1 -1
  64. package/dist/{chunk-FDKFUIYV.js → chunk-AAKR2CB4.js} +1 -1
  65. package/dist/{chunk-KTJLJTFO.js → chunk-ASN3XS2R.js} +95 -68
  66. package/dist/{chunk-UNE4VD5U.js → chunk-B25W27XK.js} +21 -10
  67. package/dist/{chunk-H6LZ77GX.js → chunk-BEPAXQMU.js} +4 -1
  68. package/dist/{chunk-PUAWN7SS.js → chunk-BHEU34FL.js} +1 -1
  69. package/dist/{chunk-634XVU3D.js → chunk-CVXKASWV.js} +2 -2
  70. package/dist/{chunk-S7NGDLZ3.js → chunk-D6RN3ONJ.js} +3 -3
  71. package/dist/{chunk-VD27SL7H.js → chunk-DHARUTMI.js} +7 -6
  72. package/dist/{chunk-6FDPVW7Y.js → chunk-DIAWPVYS.js} +2 -2
  73. package/dist/{chunk-MT6WOKIW.js → chunk-DREOA2LP.js} +3 -3
  74. package/dist/{chunk-RILHLBKW.js → chunk-DRKRLQZZ.js} +2 -2
  75. package/dist/{chunk-IEVN722X.js → chunk-DSY5PNK6.js} +1 -1
  76. package/dist/{chunk-LXZXXOJ3.js → chunk-DTGEFKK4.js} +14 -1
  77. package/dist/{chunk-JDNXS37G.js → chunk-E5VLRRZR.js} +2 -2
  78. package/dist/{chunk-GZ4KTAWS.js → chunk-EPSDO2MJ.js} +1 -1
  79. package/dist/{chunk-KZQFIPY2.js → chunk-ESXMD6CR.js} +12 -4
  80. package/dist/{chunk-D76WZZSB.js → chunk-F4ORNDFU.js} +8 -7
  81. package/dist/{chunk-VE6GRIIN.js → chunk-FV76G2D7.js} +2 -2
  82. package/dist/{chunk-WBCWER26.js → chunk-G64YUZSL.js} +1 -1
  83. package/dist/{chunk-Y4PM3IDZ.js → chunk-GGXGKMYK.js} +1 -1
  84. package/dist/{chunk-7MARNXFG.js → chunk-GHDLST2P.js} +1 -1
  85. package/dist/{chunk-2NPD4S55.js → chunk-H3PVTKOP.js} +2 -2
  86. package/dist/{chunk-E6W57UP3.js → chunk-HRUO43BZ.js} +2 -2
  87. package/dist/{chunk-OYUJYPDF.js → chunk-II3CLUXA.js} +3 -2
  88. package/dist/{chunk-CUAGC54B.js → chunk-IP6TSKUQ.js} +23 -9
  89. package/dist/{chunk-KIURBTC4.js → chunk-J2XUEO2E.js} +1 -1
  90. package/dist/{chunk-QIF4QE7T.js → chunk-K5324KIX.js} +1 -1
  91. package/dist/{chunk-5BYYDBLS.js → chunk-KGHHGMDU.js} +4 -4
  92. package/dist/{chunk-QWW6RHZC.js → chunk-KUH5ZX7G.js} +5 -4
  93. package/dist/{chunk-NTJ3BMOE.js → chunk-L2NJPDUD.js} +1 -1
  94. package/dist/{chunk-JK4M3ZKY.js → chunk-LFX6R456.js} +5 -5
  95. package/dist/{chunk-MAVQ636Y.js → chunk-MDFKI2FL.js} +1 -1
  96. package/dist/{chunk-WFE6CT6M.js → chunk-MDGTQT5D.js} +1 -1
  97. package/dist/{chunk-ZLHCZ5F2.js → chunk-MR6REQKT.js} +5 -5
  98. package/dist/{chunk-LWFBBTJ3.js → chunk-N7YRIXJA.js} +22 -11
  99. package/dist/{chunk-ZQCCVCHB.js → chunk-O72AIZUN.js} +1 -1
  100. package/dist/{chunk-RPU4UOQK.js → chunk-OATVHDPZ.js} +1 -1
  101. package/dist/{chunk-JY2XON7H.js → chunk-OCS24TF4.js} +7 -6
  102. package/dist/{chunk-3TST3EWQ.js → chunk-OQTL7PXK.js} +2 -2
  103. package/dist/{chunk-V5K6HISS.js → chunk-ORI73OPX.js} +2 -2
  104. package/dist/{chunk-2KA4TGBQ.js → chunk-OZ2UHCWA.js} +20 -9
  105. package/dist/{chunk-JTHDMXZV.js → chunk-P27MQBMZ.js} +2 -2
  106. package/dist/{chunk-4IRQSBA7.js → chunk-P76QYIFF.js} +1 -1
  107. package/dist/{chunk-5PAUN3PM.js → chunk-P7UBW2EI.js} +3 -3
  108. package/dist/{chunk-5RMLLTR7.js → chunk-PEXMLTJX.js} +2 -2
  109. package/dist/chunk-QEFPTNPC.js +81 -0
  110. package/dist/{chunk-BQHVM46E.js → chunk-RLRWDHME.js} +1 -1
  111. package/dist/{chunk-7BFQKYCJ.js → chunk-RPMYKDNA.js} +2 -2
  112. package/dist/{chunk-UX5UYDCY.js → chunk-RSOV55K7.js} +2 -2
  113. package/dist/{chunk-RTMMO6IU.js → chunk-RZHVUQ7G.js} +25 -13
  114. package/dist/{chunk-3I6ZAMGN.js → chunk-SFQOECF7.js} +1 -1
  115. package/dist/{chunk-LQSLDDPT.js → chunk-T35QBLG7.js} +1 -1
  116. package/dist/{chunk-7EXKHL5L.js → chunk-TDL742KZ.js} +1 -1
  117. package/dist/{chunk-6Q3J6ZMM.js → chunk-UDPMSL6L.js} +41 -19
  118. package/dist/{chunk-EDV4MTTT.js → chunk-VQTQILLY.js} +65 -37
  119. package/dist/{chunk-TPGIMZLI.js → chunk-VR7P4DAZ.js} +1 -1
  120. package/dist/{chunk-5BQO3YQP.js → chunk-VUWAOX7H.js} +2 -2
  121. package/dist/{chunk-JR7AABT5.js → chunk-VWPNMEOE.js} +2 -2
  122. package/dist/{chunk-MVEHWM7K.js → chunk-W34KDYZA.js} +15 -4
  123. package/dist/{chunk-EAAZV3B7.js → chunk-WJ4KVDFV.js} +24 -12
  124. package/dist/{chunk-MUGQQY6P.js → chunk-WN2NWWVO.js} +49 -11
  125. package/dist/chunk-WQTWBXKO.js +23 -0
  126. package/dist/{chunk-3BXCPHN6.js → chunk-XCHKUSUU.js} +1 -0
  127. package/dist/{chunk-KG2NUK4J.js → chunk-XEQU2OQP.js} +46 -15
  128. package/dist/{chunk-AOLE7MBM.js → chunk-XG76XXM2.js} +1 -1
  129. package/dist/{chunk-O7BGGWW6.js → chunk-XKEYHWBS.js} +5 -5
  130. package/dist/{chunk-DQ7LZZJX.js → chunk-XQO243HC.js} +24 -13
  131. package/dist/{chunk-TJKZ5QCJ.js → chunk-XUJUJD2E.js} +3 -3
  132. package/dist/{chunk-27WLUOI2.js → chunk-Y6S7K3YB.js} +1 -1
  133. package/dist/{chunk-G6YNCIVF.js → chunk-YAUGB4LD.js} +2 -2
  134. package/dist/{chunk-WCXFUBEF.js → chunk-YVI3LZ3X.js} +9 -9
  135. package/dist/{chunk-MNHP6YRC.js → chunk-YVYYOBAE.js} +3 -3
  136. package/dist/{chunk-3C2T27YW.js → chunk-YXWZT3PX.js} +1 -1
  137. package/dist/{chunk-QWJTJSIT.js → chunk-ZC2ME3UB.js} +1 -1
  138. package/dist/{collections-XIHCTMSJ.js → collections-BLDMQOVB.js} +31 -31
  139. package/dist/{configuration-3GCBMM27.js → configuration-UMRBE5RQ.js} +2 -2
  140. package/dist/{configuration-FWZTMYXY.js → configuration-YVYVOLSP.js} +4 -4
  141. package/dist/{create-BV3QDTK2.js → create-3SBSLZQO.js} +3 -3
  142. package/dist/{create-NF2LPVXA.js → create-3TN2CT6M.js} +2 -2
  143. package/dist/{create-VL7LDTVE.js → create-3WBHG32J.js} +12 -12
  144. package/dist/{create-2RGNAVVY.js → create-3ZQFAKYR.js} +27 -27
  145. package/dist/{create-PJVLJ7T6.js → create-4ZRQVXT5.js} +31 -31
  146. package/dist/{create-GO7APBBU.js → create-7Z63KA2P.js} +25 -25
  147. package/dist/{create-N534JQPH.js → create-B4VIR7YP.js} +7 -7
  148. package/dist/{create-U64NEOEL.js → create-EKDZW233.js} +2 -2
  149. package/dist/{create-X5SOAPD3.js → create-EMU23LKH.js} +2 -2
  150. package/dist/{create-RPBHXU32.js → create-FYKFT7TQ.js} +23 -23
  151. package/dist/{create-32MXB6FD.js → create-NNBIDU4Q.js} +23 -23
  152. package/dist/{create-FHIFVCSG.js → create-PO2JF7F5.js} +37 -37
  153. package/dist/{create-NEK6JCKR.js → create-PO3JC6QK.js} +13 -13
  154. package/dist/{create-YKYLCEAK.js → create-QZVZF3MJ.js} +5 -5
  155. package/dist/{create-K26SM34L.js → create-T3KSWODJ.js} +2 -2
  156. package/dist/{create-HEZYB7RF.js → create-TDQISX3H.js} +59 -25
  157. package/dist/{create-3AMFYYI6.js → create-XORPYXNT.js} +25 -25
  158. package/dist/{create-AMNH3WXL.js → create-XU35U2HL.js} +36 -32
  159. package/dist/{create-XLYGW5PN.js → create-ZLYEPOAQ.js} +24 -24
  160. package/dist/{customer-group-add-customers-2C53NFBJ.js → customer-group-add-customers-UTBBZ6T4.js} +5 -5
  161. package/dist/{customer-group-create-75QQEQZF.js → customer-group-create-L3H5REVP.js} +2 -2
  162. package/dist/{customer-group-detail-AOQYYAOG.js → customer-group-detail-WSBXE23J.js} +19 -15
  163. package/dist/{customer-group-edit-N77RCW6I.js → customer-group-edit-D6FJH5TK.js} +49 -28
  164. package/dist/{customer-groups-GNFV7VMT.js → customer-groups-TWCYFU3U.js} +37 -16
  165. package/dist/{customers-HNINO6YL.js → customers-6HDZKARD.js} +7 -7
  166. package/dist/{edit-UNN3QTEJ.js → edit-2RN3OT27.js} +24 -8
  167. package/dist/{edit-WEUFBORT.js → edit-5XPDTCB5.js} +25 -25
  168. package/dist/{edit-TD7QFM4Z.js → edit-CNXA4GKJ.js} +15 -17
  169. package/dist/{edit-BSD6667Q.js → edit-DCMMX4GW.js} +28 -29
  170. package/dist/{edit-NHQJLCAK.js → edit-DKUERO2V.js} +2 -2
  171. package/dist/{edit-I2RJUPWV.js → edit-FF2ZWS6U.js} +3 -3
  172. package/dist/{edit-3DUCWSLA.js → edit-ISFEI7YX.js} +79 -46
  173. package/dist/{edit-O65JD54W.js → edit-IVBVZ5NL.js} +6 -6
  174. package/dist/{edit-IJ6DCBUU.js → edit-K2IP2H25.js} +29 -12
  175. package/dist/{edit-ZOLSAIKF.js → edit-MUQ37ETA.js} +2 -2
  176. package/dist/{edit-JB7KVBOL.js → edit-NTTJKLUI.js} +4 -4
  177. package/dist/{edit-4PWAJ7A3.js → edit-OOY2XGLZ.js} +24 -24
  178. package/dist/{edit-7SBPHN6P.js → edit-P6YZBA32.js} +24 -8
  179. package/dist/{edit-3V34KJS2.js → edit-Q7KDO37A.js} +2 -2
  180. package/dist/{edit-ZGAOUZYP.js → edit-QII5YJ2R.js} +25 -25
  181. package/dist/{edit-WN2Q3TOX.js → edit-RRA6J5FW.js} +3 -3
  182. package/dist/{edit-SIKOSSHF.js → edit-Y4XONJJU.js} +23 -23
  183. package/dist/{edit-ZORE6RUD.js → edit-YDMBLXGU.js} +56 -37
  184. package/dist/{edit-7CLOJ3UZ.js → edit-YPIJHIGC.js} +37 -37
  185. package/dist/{edit-budget-D22WMVYR.js → edit-budget-PYPHUJPW.js} +2 -2
  186. package/dist/{edit-inventory-item-QMYWEBZ3.js → edit-inventory-item-5VBH365V.js} +23 -8
  187. package/dist/{edit-inventory-item-attributes-HLG6JR6S.js → edit-inventory-item-attributes-RMKG2IRO.js} +2 -2
  188. package/dist/{edit-price-F7ZWM3FN.js → edit-price-PDS4XN2J.js} +5 -5
  189. package/dist/{edit-stock-ITAZNHPU.js → edit-stock-UI6HXHJJ.js} +4 -4
  190. package/dist/extension-targets.d.ts +248 -0
  191. package/dist/extension-targets.js +1 -0
  192. package/dist/{fulfillment-U2GRQ6DD.js → fulfillment-6GC3NRFT.js} +33 -24
  193. package/dist/{fulfillment-providers-CMU2JB5X.js → fulfillment-providers-IND53UPG.js} +28 -28
  194. package/dist/index.css +24 -12
  195. package/dist/index.d.ts +2 -0
  196. package/dist/index.js +257 -230
  197. package/dist/{inventory-FKEXULLT.js → inventory-BDST2XIX.js} +7 -7
  198. package/dist/{inventory-4JKLAZ2Q.js → inventory-LSG2IEWD.js} +4 -4
  199. package/dist/{invite-3R2CEWLN.js → invite-CNJQ27AY.js} +30 -43
  200. package/dist/{invite-MNAX6EUC.js → invite-DD2G6UUM.js} +27 -27
  201. package/dist/{loader-MAAMUP2Z.js → loader-BLRQLIJT.js} +13 -11
  202. package/dist/{loader-HTPUNIOS.js → loader-MJTR2S7V.js} +14 -12
  203. package/dist/{locations-2VWSMWHL.js → locations-HHP2DZ4N.js} +3 -3
  204. package/dist/login-FK6ATIQV.js +41 -0
  205. package/dist/{manage-locations-RWGDXXJQ.js → manage-locations-V2AJVZXA.js} +3 -3
  206. package/dist/{media-P6WSFHY4.js → media-2Z2UIOQU.js} +27 -27
  207. package/dist/{media-YB4G5CMV.js → media-T26YU24S.js} +25 -25
  208. package/dist/{metadata-J447GEBP.js → metadata-3CER2AEK.js} +23 -23
  209. package/dist/{metadata-6OYHLPLA.js → metadata-BGYWXGMG.js} +23 -23
  210. package/dist/{metadata-VTQ2CGZX.js → metadata-MSAODJ2T.js} +23 -23
  211. package/dist/{metadata-5Q6FLVX4.js → metadata-WB37SSTG.js} +23 -23
  212. package/dist/{metadata-ADXGD4Y6.js → metadata-XS3VAC3N.js} +23 -23
  213. package/dist/{offer-create-page-ACPKTNHA.js → offer-create-page-QAHHXLLJ.js} +31 -29
  214. package/dist/{offer-detail-page-S4R4N5GL.js → offer-detail-page-ZLGP4ELR.js} +81 -28
  215. package/dist/{offer-variant-detail-page-XUMDXZUD.js → offer-variant-detail-page-2A7TRGYS.js} +28 -22
  216. package/dist/offers-ZBAZOZ7Q.js +54 -0
  217. package/dist/{onboarding-TUGXFOA6.js → onboarding-XCCZ2TMN.js} +70 -75
  218. package/dist/orders-VFSDZYOV.js +63 -0
  219. package/dist/{organization-YIOAVFHN.js → organization-YB45TRUN.js} +25 -25
  220. package/dist/{organize-OWT5QSJR.js → organize-HQLROEUF.js} +4 -4
  221. package/dist/{organize-BTA7NJD2.js → organize-T62CDRZC.js} +4 -4
  222. package/dist/pages/index.d.ts +17 -2
  223. package/dist/pages/index.js +69 -69
  224. package/dist/{payment-details-K2XFATEL.js → payment-details-O4EWCOYQ.js} +42 -30
  225. package/dist/{payouts-K5IDTJV3.js → payouts-7O5W2X5J.js} +8 -8
  226. package/dist/{price-lists-DNPIPDAW.js → price-lists-5CSCTVWN.js} +9 -9
  227. package/dist/{pricing-5VUPPNKS.js → pricing-CF3FJP6A.js} +5 -5
  228. package/dist/{pricing-J5FIDZIY.js → pricing-NHI4NSLA.js} +25 -25
  229. package/dist/{product-tags-SJYIGXEV.js → product-tags-2TLA7BVO.js} +38 -38
  230. package/dist/{product-types-4PTJW5DE.js → product-types-LZAMCLGS.js} +7 -7
  231. package/dist/{product-variant-detail-FO6J3RFA.js → product-variant-detail-UNG6LWDP.js} +27 -26
  232. package/dist/{product-variant-edit-55TAIBZO.js → product-variant-edit-K5U3JZFW.js} +25 -25
  233. package/dist/{products-XM57LXJK.js → products-27ASSSVK.js} +43 -42
  234. package/dist/{products-EQMANSO6.js → products-WJJBC3NI.js} +30 -30
  235. package/dist/{professional-details-WWZPTXSX.js → professional-details-ZCRAWCXZ.js} +41 -29
  236. package/dist/{profile-5IADQ727.js → profile-T2QLFLI7.js} +77 -38
  237. package/dist/{promotions-BYW6TZ5B.js → promotions-E4Z6APSX.js} +9 -9
  238. package/dist/{receive-MTXKKPKZ.js → receive-QCVCAR3R.js} +6 -6
  239. package/dist/{refund-3IXGYA7W.js → refund-GAOWE636.js} +74 -50
  240. package/dist/{register-U5PQZATC.js → register-IKY5DDUR.js} +28 -27
  241. package/dist/{reset-password-SKUJJLSV.js → reset-password-RMKCQLBX.js} +3 -3
  242. package/dist/{return-reasons-QDPSIJG3.js → return-reasons-RH6IEU2M.js} +20 -17
  243. package/dist/{sales-channels-GBSTCWVP.js → sales-channels-C5M2ZA5L.js} +6 -5
  244. package/dist/{sales-channels-N4NE3FXP.js → sales-channels-ZHYGTRWU.js} +7 -6
  245. package/dist/{settings-ZUBBFS67.js → settings-5IUDEPUN.js} +42 -42
  246. package/dist/{shipment-TKSCPC3M.js → shipment-UP2OGESO.js} +23 -23
  247. package/dist/{shipping-DODEUYOQ.js → shipping-ACK5UOA5.js} +4 -4
  248. package/dist/{shipping-profile-O4JMJLN7.js → shipping-profile-3US7LC5E.js} +2 -2
  249. package/dist/shipping-profiles-34432J3C.js +46 -0
  250. package/dist/{stock-GYK2GHJN.js → stock-VMND7PJY.js} +23 -23
  251. package/dist/{store-XWOALZ5Q.js → store-BCNSSIO6.js} +130 -60
  252. package/dist/{store-closure-46B3XZ2I.js → store-closure-QGR3F45Y.js} +23 -23
  253. package/dist/{store-select-E77E3ZY7.js → store-select-55ZOJGGV.js} +47 -27
  254. package/dist/{tax-regions-S2LFRTMP.js → tax-regions-RTPVM4IC.js} +11 -8
  255. package/dist/{team-N2C5JPSU.js → team-DAUWBJAI.js} +32 -31
  256. package/package.json +21 -16
  257. package/dist/breadcrumb-ILEAQRW7.js +0 -33
  258. package/dist/breadcrumb-NZYOCEEM.js +0 -47
  259. package/dist/breadcrumb-VY5DNTTJ.js +0 -46
  260. package/dist/chunk-HXGLPDZW.js +0 -34
  261. package/dist/chunk-KVKO6N4G.js +0 -13
  262. package/dist/login-YUWOWICV.js +0 -39
  263. package/dist/offers-OTZJBW43.js +0 -54
  264. package/dist/orders-PJSJNGZS.js +0 -63
  265. package/dist/shipping-profiles-4TJ4IH6U.js +0 -46
  266. /package/dist/{chunk-HFRHHT36.js → chunk-NWU7EGGF.js} +0 -0
@@ -7,19 +7,20 @@ import {
7
7
  import {
8
8
  useCollectionTableFilters
9
9
  } from "./chunk-HHD2VUED.js";
10
- import {
11
- _DataTable,
12
- useDataTable
13
- } from "./chunk-W3UHAQCV.js";
14
10
  import {
15
11
  SingleColumnPage
16
12
  } from "./chunk-YV6MK4PZ.js";
13
+ import {
14
+ _DataTable,
15
+ useDataTable
16
+ } from "./chunk-7TQNE3E2.js";
17
17
  import {
18
18
  useCollections
19
- } from "./chunk-O7BGGWW6.js";
19
+ } from "./chunk-XKEYHWBS.js";
20
20
 
21
21
  // src/pages/collections/collection-list-page.tsx
22
22
  import { Children as Children3 } from "react";
23
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
23
24
 
24
25
  // src/pages/collections/_components/collection-list-table/collection-list-table.tsx
25
26
  import { Children as Children2 } from "react";
@@ -56,6 +57,7 @@ var CollectionListHeader = ({
56
57
  import { useTranslation as useTranslation2 } from "react-i18next";
57
58
  import { keepPreviousData } from "@tanstack/react-query";
58
59
  import { useMemo } from "react";
60
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
59
61
  import { jsx as jsx2 } from "react/jsx-runtime";
60
62
  var PAGE_SIZE = 20;
61
63
  var CollectionListDataTable = () => {
@@ -66,14 +68,18 @@ var CollectionListDataTable = () => {
66
68
  const { collections, count, isError, error, isLoading } = useCollections(
67
69
  {
68
70
  ...searchParams,
69
- fields: "*products"
71
+ ...useLinkQuery("collection", "*products")
70
72
  },
71
73
  {
72
74
  placeholderData: keepPreviousData
73
75
  }
74
76
  );
75
- const filters = useCollectionTableFilters();
76
- const columns = useColumns();
77
+ const baseFilters = useCollectionTableFilters();
78
+ const { columns, filters: extFilters } = useColumns();
79
+ const filters = useMemo(
80
+ () => [...baseFilters, ...extFilters],
81
+ [baseFilters, extFilters]
82
+ );
77
83
  const { table } = useDataTable({
78
84
  data: collections ?? [],
79
85
  columns,
@@ -114,7 +120,12 @@ var CollectionListDataTable = () => {
114
120
  };
115
121
  var useColumns = () => {
116
122
  const base = useCollectionTableColumns();
117
- return useMemo(() => [...base], [base]);
123
+ const { columns: extended, filters } = useExtendableTable({
124
+ model: "collection",
125
+ columns: base
126
+ });
127
+ const columns = useMemo(() => [...extended], [extended]);
128
+ return { columns, filters };
118
129
  };
119
130
 
120
131
  // src/pages/collections/_components/collection-list-table/collection-list-table.tsx
@@ -132,7 +143,7 @@ var CollectionListTable = ({ children }) => {
132
143
  // src/pages/collections/collection-list-page.tsx
133
144
  import { jsx as jsx4 } from "react/jsx-runtime";
134
145
  var Root = ({ children }) => {
135
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(CollectionListTable, {}) });
146
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "collections.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(CollectionListTable, {}) }) });
136
147
  };
137
148
  var CollectionListPage = Object.assign(Root, {
138
149
  Table: CollectionListTable,
@@ -3,6 +3,7 @@ import {
3
3
  } from "./chunk-THHRRYRS.js";
4
4
 
5
5
  // src/hooks/table/query/use-product-table-query.tsx
6
+ import { useLinkQuery } from "@mercurjs/dashboard-shared";
6
7
  var DEFAULT_FIELDS = (
7
8
  // TODO: Remove exclusion once we avoid including unnecessary relations by default in the query config
8
9
  "id,title,handle,status,*collection,categories.id,categories.name,variants.id,thumbnail,-type,-tags,-images,-variants"
@@ -11,6 +12,7 @@ var useProductTableQuery = ({
11
12
  prefix,
12
13
  pageSize = 20
13
14
  }) => {
15
+ const linkQuery = useLinkQuery("product", DEFAULT_FIELDS);
14
16
  const queryObject = useQueryParams(
15
17
  [
16
18
  "offset",
@@ -57,7 +59,7 @@ var useProductTableQuery = ({
57
59
  type_id: type_id?.split(","),
58
60
  status: status?.split(","),
59
61
  q,
60
- fields: DEFAULT_FIELDS
62
+ fields: linkQuery.fields
61
63
  };
62
64
  return {
63
65
  searchParams,
@@ -66,5 +68,6 @@ var useProductTableQuery = ({
66
68
  };
67
69
 
68
70
  export {
71
+ DEFAULT_FIELDS,
69
72
  useProductTableQuery
70
73
  };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZA2KFUFR.js";
4
4
  import {
5
5
  sdk
6
- } from "./chunk-LXZXXOJ3.js";
6
+ } from "./chunk-DTGEFKK4.js";
7
7
 
8
8
  // src/hooks/api/price-preferences.tsx
9
9
  import {
@@ -10,7 +10,7 @@ var NoResults = ({ title, message, className }) => {
10
10
  "div",
11
11
  {
12
12
  className: clx(
13
- "flex h-[400px] w-full items-center justify-center",
13
+ "flex min-h-[400px] size-full items-center justify-center",
14
14
  className
15
15
  ),
16
16
  children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-y-2", children: [
@@ -40,7 +40,7 @@ var NoRecords = ({
40
40
  "div",
41
41
  {
42
42
  className: clx(
43
- "flex h-[400px] w-full flex-col items-center justify-center gap-y-4",
43
+ "flex min-h-[400px] size-full flex-col items-center justify-center gap-y-4",
44
44
  className
45
45
  ),
46
46
  children: [
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  returnsQueryKeys
3
- } from "./chunk-3TST3EWQ.js";
3
+ } from "./chunk-OQTL7PXK.js";
4
4
  import {
5
5
  ordersQueryKeys
6
- } from "./chunk-6FDPVW7Y.js";
6
+ } from "./chunk-DIAWPVYS.js";
7
7
  import {
8
8
  queryClient
9
9
  } from "./chunk-RHKRREUU.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZA2KFUFR.js";
13
13
  import {
14
14
  sdk
15
- } from "./chunk-LXZXXOJ3.js";
15
+ } from "./chunk-DTGEFKK4.js";
16
16
 
17
17
  // src/hooks/api/claims.tsx
18
18
  import {
@@ -1,10 +1,10 @@
1
- import {
2
- _DataTable,
3
- useDataTable
4
- } from "./chunk-W3UHAQCV.js";
5
1
  import {
6
2
  SingleColumnPage
7
3
  } from "./chunk-YV6MK4PZ.js";
4
+ import {
5
+ _DataTable,
6
+ useDataTable
7
+ } from "./chunk-7TQNE3E2.js";
8
8
  import {
9
9
  useQueryParams
10
10
  } from "./chunk-THHRRYRS.js";
@@ -14,10 +14,11 @@ import {
14
14
  import {
15
15
  useDeleteShippingProfile,
16
16
  useShippingProfiles
17
- } from "./chunk-GZ4KTAWS.js";
17
+ } from "./chunk-EPSDO2MJ.js";
18
18
 
19
19
  // src/pages/settings/shipping-profiles/shipping-profile-list-page.tsx
20
20
  import { Children as Children3 } from "react";
21
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
21
22
 
22
23
  // src/pages/settings/shipping-profiles/_components/shipping-profile-list-table.tsx
23
24
  import { Children as Children2 } from "react";
@@ -260,7 +261,7 @@ var ShippingProfileListTable = ({ children }) => {
260
261
  // src/pages/settings/shipping-profiles/shipping-profile-list-page.tsx
261
262
  import { jsx as jsx6 } from "react/jsx-runtime";
262
263
  var Root = ({ children }) => {
263
- return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingProfileListTable, {}) });
264
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx6(WidgetZone, { id: "shipping-profiles.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingProfileListTable, {}) }) });
264
265
  };
265
266
  var ShippingProfileListPage = Object.assign(Root, {
266
267
  Table: ShippingProfileListTable,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  inventoryItemLevelsQueryKeys,
3
3
  inventoryItemsQueryKeys
4
- } from "./chunk-G6YNCIVF.js";
4
+ } from "./chunk-YAUGB4LD.js";
5
5
  import {
6
6
  queryClient
7
7
  } from "./chunk-RHKRREUU.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-ZA2KFUFR.js";
11
11
  import {
12
12
  sdk
13
- } from "./chunk-LXZXXOJ3.js";
13
+ } from "./chunk-DTGEFKK4.js";
14
14
 
15
15
  // src/hooks/api/orders.tsx
16
16
  import {
@@ -11,13 +11,13 @@ import {
11
11
  } from "./chunk-WIYFXWRI.js";
12
12
  import {
13
13
  useRegions
14
- } from "./chunk-BQHVM46E.js";
14
+ } from "./chunk-RLRWDHME.js";
15
15
  import {
16
16
  usePricePreferences
17
- } from "./chunk-PUAWN7SS.js";
17
+ } from "./chunk-BHEU34FL.js";
18
18
  import {
19
19
  useCurrentSeller
20
- } from "./chunk-MVEHWM7K.js";
20
+ } from "./chunk-W34KDYZA.js";
21
21
 
22
22
  // src/pages/price-lists/common/hooks/use-price-list-currency-data.tsx
23
23
  var usePriceListCurrencyData = () => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CreateCampaignFormFields
3
- } from "./chunk-3I6ZAMGN.js";
3
+ } from "./chunk-SFQOECF7.js";
4
4
  import {
5
5
  KeyboundForm
6
6
  } from "./chunk-SITRHMZZ.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-3QSRE5LS.js";
14
14
  import {
15
15
  useUpdatePromotion
16
- } from "./chunk-ZLHCZ5F2.js";
16
+ } from "./chunk-MR6REQKT.js";
17
17
 
18
18
  // src/pages/promotions/[id]/add-to-campaign/add-campaign-promotion-form/add-campaign-promotion-form.tsx
19
19
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeletePriceList
3
- } from "./chunk-5PAUN3PM.js";
3
+ } from "./chunk-P7UBW2EI.js";
4
4
 
5
5
  // src/pages/price-lists/common/hooks/use-delete-price-list-action.tsx
6
6
  import { toast, usePrompt } from "@medusajs/ui";
@@ -1,6 +1,18 @@
1
1
  // src/lib/client/client.ts
2
2
  import { createClient } from "@mercurjs/client";
3
3
  import config from "virtual:mercur/config";
4
+
5
+ // src/utils/asset-url.ts
6
+ function assetUrl(path) {
7
+ const base = (typeof __BASE__ !== "undefined" ? __BASE__ : "/").replace(
8
+ /\/+$/,
9
+ ""
10
+ );
11
+ const cleanPath = path.startsWith("/") ? path : `/${path}`;
12
+ return `${base}${cleanPath}`;
13
+ }
14
+
15
+ // src/lib/client/client.ts
4
16
  var backendUrl = config.backendUrl ?? "http://localhost:9000";
5
17
  var sdk = createClient({
6
18
  baseUrl: backendUrl,
@@ -48,7 +60,7 @@ var fetchQuery = async (url, {
48
60
  if (!response.ok) {
49
61
  const errorData = await response.json();
50
62
  if (response.status === 401) {
51
- window.location.href = "/login?reason=Unauthorized";
63
+ window.location.href = `${assetUrl("/login")}?reason=Unauthorized`;
52
64
  return;
53
65
  }
54
66
  const error = new Error(errorData.message || "Server error");
@@ -59,6 +71,7 @@ var fetchQuery = async (url, {
59
71
  };
60
72
 
61
73
  export {
74
+ assetUrl,
62
75
  sdk,
63
76
  fetchQuery
64
77
  };
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-AJLGY3LQ.js";
4
4
  import {
5
5
  i18n
6
- } from "./chunk-KZQFIPY2.js";
6
+ } from "./chunk-ESXMD6CR.js";
7
7
  import {
8
8
  require_dist
9
- } from "./chunk-DSTHXHJ5.js";
9
+ } from "./chunk-52KJSIHS.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-NBMM2TZK.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-ZA2KFUFR.js";
7
7
  import {
8
8
  sdk
9
- } from "./chunk-LXZXXOJ3.js";
9
+ } from "./chunk-DTGEFKK4.js";
10
10
 
11
11
  // src/hooks/api/shipping-profiles.tsx
12
12
  import {
@@ -9375,9 +9375,9 @@ var en_default = {
9375
9375
  valuePlaceholder: "Enter values",
9376
9376
  enterValuePlaceholder: "Enter value",
9377
9377
  selectValuePlaceholder: "Select value",
9378
- requiredTooltip: "This attribute is required by the Marketplace and can't be deselected.",
9378
+ requiredTooltip: "This attribute is required by the marketplace and can't be deselected.",
9379
9379
  noAttributesTitle: "No product attributes yet",
9380
- noAttributesDescription: "There are no attributes defined by the Marketplace.",
9380
+ noAttributesDescription: "There are no attributes defined by the marketplace.",
9381
9381
  errors: {
9382
9382
  titleRequired: "Please enter a title",
9383
9383
  valuesRequired: "Please enter at least one value"
@@ -9639,7 +9639,7 @@ var en_default = {
9639
9639
  },
9640
9640
  primaryCategory: {
9641
9641
  label: "Primary Category",
9642
- tooltip: "Category could define attributes that apply to this product. Attributes are created by the Admin when setting up the marketplace."
9642
+ tooltip: "Category could define attributes that apply to this product. Attributes are created by the admin when setting up the marketplace."
9643
9643
  }
9644
9644
  },
9645
9645
  variant: {
@@ -10298,6 +10298,7 @@ var en_default = {
10298
10298
  createRefund: "Create Refund",
10299
10299
  refundPaymentSuccess: "Refund of amount {{amount}} successful",
10300
10300
  createRefundWrongQuantity: "Quantity should be a number between 1 and {{number}}",
10301
+ enterAmount: "Please enter an amount",
10301
10302
  refundAmount: "Refund {{ amount }}",
10302
10303
  paymentLink: "Copy payment link for {{ amount }}",
10303
10304
  copyPaymentLink: "Copy payment link for {{ amount }}",
@@ -10389,6 +10390,11 @@ var en_default = {
10389
10390
  damagedItemReceived: "Damaged items received",
10390
10391
  damagedItemsReturned: "{{quantity}}x damaged items returned",
10391
10392
  activeChangeError: "There is an active order change in progress on this order. Please finish or discard the change first.",
10393
+ emptyState: {
10394
+ title: "No records yet",
10395
+ description: "Add at least one item from the order to create the return"
10396
+ },
10397
+ emptyItemsError: "Please add at least one item from the order",
10392
10398
  cancel: {
10393
10399
  title: "Cancel Return",
10394
10400
  description: "Are you sure you want to cancel the return request?"
@@ -10610,7 +10616,8 @@ var en_default = {
10610
10616
  error: {
10611
10617
  wrongQuantity: "Only one item is available for fulfillment",
10612
10618
  wrongQuantity_other: "Quantity should be a number between 1 and {{number}}",
10613
- noItems: "No items to fulfill.",
10619
+ noItems: "There are no items to fulfill.",
10620
+ exceedsReservedQuantity: "The quantity you want to fulfill exceeds the reserved quantity for items. Please review your fulfillment.",
10614
10621
  noShippingOption: "Shipping option is required",
10615
10622
  noLocation: "Location is required"
10616
10623
  },
@@ -12893,6 +12900,7 @@ var en_default = {
12893
12900
  attributes: {
12894
12901
  fields: {
12895
12902
  name: "Name",
12903
+ productAttribute: "Product Attribute",
12896
12904
  handle: "Handle",
12897
12905
  required: "Required",
12898
12906
  type: "Type",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeleteProductTypeAction
3
- } from "./chunk-MAVQ636Y.js";
3
+ } from "./chunk-MDFKI2FL.js";
4
4
  import {
5
5
  useProductTypeTableColumns
6
6
  } from "./chunk-EBZ5VZEO.js";
@@ -10,22 +10,23 @@ import {
10
10
  import {
11
11
  useProductTypeTableFilters
12
12
  } from "./chunk-2ZFELO2L.js";
13
- import {
14
- _DataTable,
15
- useDataTable
16
- } from "./chunk-W3UHAQCV.js";
17
13
  import {
18
14
  SingleColumnPage
19
15
  } from "./chunk-YV6MK4PZ.js";
16
+ import {
17
+ _DataTable,
18
+ useDataTable
19
+ } from "./chunk-7TQNE3E2.js";
20
20
  import {
21
21
  ActionMenu
22
22
  } from "./chunk-BDGZ4EQO.js";
23
23
  import {
24
24
  useProductTypes
25
- } from "./chunk-NTJ3BMOE.js";
25
+ } from "./chunk-L2NJPDUD.js";
26
26
 
27
27
  // src/pages/settings/product-types/product-type-list-page.tsx
28
28
  import { Children as Children3 } from "react";
29
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
29
30
 
30
31
  // src/pages/settings/product-types/_components/product-type-list-table.tsx
31
32
  import { Children as Children2 } from "react";
@@ -176,7 +177,7 @@ var ProductTypeListTable = ({ children }) => {
176
177
  // src/pages/settings/product-types/product-type-list-page.tsx
177
178
  import { jsx as jsx5 } from "react/jsx-runtime";
178
179
  var Root = ({ children }) => {
179
- return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(ProductTypeListTable, {}) });
180
+ return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx5(WidgetZone, { id: "product-types.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(ProductTypeListTable, {}) }) });
180
181
  };
181
182
  var ProductTypeListPage = Object.assign(Root, {
182
183
  Table: ProductTypeListTable,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  taxRegionsQueryKeys
3
- } from "./chunk-7MARNXFG.js";
3
+ } from "./chunk-GHDLST2P.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZA2KFUFR.js";
10
10
  import {
11
11
  sdk
12
- } from "./chunk-LXZXXOJ3.js";
12
+ } from "./chunk-DTGEFKK4.js";
13
13
 
14
14
  // src/hooks/api/tax-rates.tsx
15
15
  import {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-PHOCVOZ5.js";
7
7
  import {
8
8
  require_dist
9
- } from "./chunk-DSTHXHJ5.js";
9
+ } from "./chunk-52KJSIHS.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-NBMM2TZK.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DB6ANJBO.js";
4
4
  import {
5
5
  i18n
6
- } from "./chunk-KZQFIPY2.js";
6
+ } from "./chunk-ESXMD6CR.js";
7
7
 
8
8
  // src/lib/promotions.ts
9
9
  var promotionStatusMap = {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-ZA2KFUFR.js";
7
7
  import {
8
8
  sdk
9
- } from "./chunk-LXZXXOJ3.js";
9
+ } from "./chunk-DTGEFKK4.js";
10
10
 
11
11
  // src/hooks/api/tax-regions.tsx
12
12
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PriceListUpdateProductsSchema,
3
3
  usePriceListGridColumns
4
- } from "./chunk-MT6WOKIW.js";
4
+ } from "./chunk-DREOA2LP.js";
5
5
  import {
6
6
  isProductRow
7
7
  } from "./chunk-XRNDVICA.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-GDWBOQI5.js";
21
21
  import {
22
22
  useBatchPriceListPrices
23
- } from "./chunk-5PAUN3PM.js";
23
+ } from "./chunk-P7UBW2EI.js";
24
24
 
25
25
  // src/pages/price-lists/[id]/products/[variant_id]/edit/price-list-prices-edit-form/price-list-prices-edit-form.tsx
26
26
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -8,11 +8,11 @@ import {
8
8
  } from "./chunk-SYNUA6LQ.js";
9
9
  import {
10
10
  MoneyAmountCell
11
- } from "./chunk-L57USMYC.js";
11
+ } from "./chunk-5YZ3G5EZ.js";
12
12
  import {
13
13
  getOrderFulfillmentStatus,
14
14
  getOrderPaymentStatus
15
- } from "./chunk-LQSLDDPT.js";
15
+ } from "./chunk-T35QBLG7.js";
16
16
  import {
17
17
  StatusCell
18
18
  } from "./chunk-DB6ANJBO.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-ZA2KFUFR.js";
7
7
  import {
8
8
  sdk
9
- } from "./chunk-LXZXXOJ3.js";
9
+ } from "./chunk-DTGEFKK4.js";
10
10
 
11
11
  // src/hooks/api/customers.tsx
12
12
  import {
@@ -141,7 +141,7 @@ var customerAddressesQueryKeys = queryKeysFactory(
141
141
  );
142
142
  var useCustomer = (id, query, options) => {
143
143
  const { data, ...rest } = useQuery2({
144
- queryKey: customersQueryKeys.detail(id),
144
+ queryKey: customersQueryKeys.detail(id, query),
145
145
  queryFn: async () => sdk.vendor.customers.$id.query({ $id: id, ...query }),
146
146
  ...options
147
147
  });
@@ -178,6 +178,7 @@ var useBatchCustomerCustomerGroups = (id, options) => {
178
178
  };
179
179
 
180
180
  export {
181
+ customersQueryKeys,
181
182
  useCustomer,
182
183
  useCustomers,
183
184
  useBatchCustomerCustomerGroups,
@@ -11,13 +11,13 @@ import {
11
11
  import {
12
12
  StatusCell
13
13
  } from "./chunk-DB6ANJBO.js";
14
- import {
15
- _DataTable,
16
- useDataTable
17
- } from "./chunk-W3UHAQCV.js";
18
14
  import {
19
15
  SingleColumnPage
20
16
  } from "./chunk-YV6MK4PZ.js";
17
+ import {
18
+ _DataTable,
19
+ useDataTable
20
+ } from "./chunk-7TQNE3E2.js";
21
21
  import {
22
22
  useQueryParams
23
23
  } from "./chunk-THHRRYRS.js";
@@ -26,10 +26,11 @@ import {
26
26
  } from "./chunk-WIYFXWRI.js";
27
27
  import {
28
28
  useProductCategories
29
- } from "./chunk-3SH24DGG.js";
29
+ } from "./chunk-656G74I2.js";
30
30
 
31
31
  // src/pages/categories/category-list-page.tsx
32
32
  import { Children as Children3 } from "react";
33
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
33
34
 
34
35
  // src/pages/categories/_components/category-list-table/category-list-table.tsx
35
36
  import { Children as Children2 } from "react";
@@ -64,6 +65,7 @@ var CategoryListHeader = ({
64
65
 
65
66
  // src/pages/categories/_components/category-list-table/category-list-data-table.tsx
66
67
  import { keepPreviousData } from "@tanstack/react-query";
68
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
67
69
  import { useMemo as useMemo2 } from "react";
68
70
 
69
71
  // src/pages/categories/_components/category-list-table/use-category-table-columns.tsx
@@ -180,14 +182,22 @@ var CategoryListDataTable = () => {
180
182
  const { raw, searchParams } = useCategoryTableQuery({
181
183
  pageSize: PAGE_SIZE
182
184
  });
185
+ const ancestorsLinkQuery = useLinkQuery(
186
+ "category",
187
+ "id,name,handle,is_active,is_internal,parent_category"
188
+ );
189
+ const descendantsLinkQuery = useLinkQuery(
190
+ "category",
191
+ "id,name,category_children,handle,is_internal,is_active"
192
+ );
183
193
  const query = raw.q ? {
184
194
  include_ancestors_tree: true,
185
- fields: "id,name,handle,is_active,is_internal,parent_category",
195
+ ...ancestorsLinkQuery,
186
196
  ...searchParams
187
197
  } : {
188
198
  include_descendants_tree: true,
189
199
  parent_category_id: "null",
190
- fields: "id,name,category_children,handle,is_internal,is_active",
200
+ ...descendantsLinkQuery,
191
201
  ...searchParams
192
202
  };
193
203
  const { product_categories, count, isLoading, isError, error } = useProductCategories(
@@ -228,7 +238,11 @@ var CategoryListDataTable = () => {
228
238
  };
229
239
  var useColumns = () => {
230
240
  const base = useCategoryTableColumns();
231
- return useMemo2(() => [...base], [base]);
241
+ const { columns: extended } = useExtendableTable({
242
+ model: "category",
243
+ columns: base
244
+ });
245
+ return useMemo2(() => [...extended], [extended]);
232
246
  };
233
247
 
234
248
  // src/pages/categories/_components/category-list-table/category-list-table.tsx
@@ -246,7 +260,7 @@ var CategoryListTable = ({ children }) => {
246
260
  // src/pages/categories/category-list-page.tsx
247
261
  import { jsx as jsx5 } from "react/jsx-runtime";
248
262
  var Root = ({ children }) => {
249
- return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(CategoryListTable, {}) });
263
+ return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx5(WidgetZone, { id: "categories.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(CategoryListTable, {}) }) });
250
264
  };
251
265
  var CategoryListPage = Object.assign(Root, {
252
266
  Table: CategoryListTable,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZA2KFUFR.js";
4
4
  import {
5
5
  sdk
6
- } from "./chunk-LXZXXOJ3.js";
6
+ } from "./chunk-DTGEFKK4.js";
7
7
 
8
8
  // src/hooks/api/payouts.tsx
9
9
  import { useQuery } from "@tanstack/react-query";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sdk
3
- } from "./chunk-LXZXXOJ3.js";
3
+ } from "./chunk-DTGEFKK4.js";
4
4
 
5
5
  // src/hooks/api/auth.tsx
6
6
  import { useMutation } from "@tanstack/react-query";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  LocalizedTablePagination,
6
6
  useDeleteTaxRateAction
7
- } from "./chunk-5RMLLTR7.js";
7
+ } from "./chunk-PEXMLTJX.js";
8
8
  import {
9
9
  formatPercentage
10
10
  } from "./chunk-QDPLZDMX.js";
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  NoRecords,
19
19
  NoResults
20
- } from "./chunk-634XVU3D.js";
20
+ } from "./chunk-CVXKASWV.js";
21
21
  import {
22
22
  TableFooterSkeleton
23
23
  } from "./chunk-INNFZYX2.js";
@@ -26,10 +26,10 @@ import {
26
26
  } from "./chunk-BDGZ4EQO.js";
27
27
  import {
28
28
  useProductTypes
29
- } from "./chunk-NTJ3BMOE.js";
29
+ } from "./chunk-L2NJPDUD.js";
30
30
  import {
31
31
  useProducts
32
- } from "./chunk-G6YNCIVF.js";
32
+ } from "./chunk-YAUGB4LD.js";
33
33
 
34
34
  // src/pages/settings/tax-regions/_common/components/tax-rate-line.tsx
35
35
  import { PencilSquare, Trash } from "@medusajs/icons";