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

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 (225) hide show
  1. package/dist/{[id]-5P5LTATX.js → [id]-2LOU4IGP.js} +29 -11
  2. package/dist/{[id]-DT5YJVKG.js → [id]-6K5OJU5T.js} +18 -17
  3. package/dist/{[id]-N7JEZFXQ.js → [id]-6RTJXOT5.js} +2 -1
  4. package/dist/{[id]-XP5KEMNX.js → [id]-7T4JCGCZ.js} +86 -49
  5. package/dist/{[id]-DCGPICT3.js → [id]-BMW6PEZT.js} +23 -22
  6. package/dist/{[id]-CUBGVODE.js → [id]-FN47ZDW5.js} +89 -48
  7. package/dist/{[id]-4HO4S2PX.js → [id]-KTJU7CRX.js} +691 -657
  8. package/dist/{[id]-3LNKC5OJ.js → [id]-NUH6WK7Y.js} +80 -39
  9. package/dist/{[id]-AQUUZFRX.js → [id]-RRWUTLTP.js} +141 -43
  10. package/dist/{[id]-4LIIFGET.js → [id]-TJF2WSOF.js} +139 -50
  11. package/dist/{[id]-IEBZ6V3W.js → [id]-UWBLKWZI.js} +29 -28
  12. package/dist/{[id]-5EECCIRP.js → [id]-VWIZD2JL.js} +61 -36
  13. package/dist/{[id]-U6FKX5UQ.js → [id]-XRSZYRKI.js} +55 -33
  14. package/dist/{[id]-XB45DY2D.js → [id]-YIP2TDVC.js} +120 -42
  15. package/dist/{[location_id]-I4HHUHWY.js → [location_id]-TUAKRLYQ.js} +6 -5
  16. package/dist/{[province_id]-OYX4MOCF.js → [province_id]-6VYYS4DZ.js} +17 -16
  17. package/dist/{add-RPRJWCYU.js → add-KB477RH5.js} +18 -17
  18. package/dist/{add-3T4GBFMM.js → add-NSLA2RT7.js} +24 -24
  19. package/dist/{add-customer-groups-FB5T6PQN.js → add-customer-groups-PB4LCA5E.js} +12 -12
  20. package/dist/{add-products-F243SWGD.js → add-products-O72MJ3N2.js} +17 -17
  21. package/dist/{add-promotions-TJDK7HLW.js → add-promotions-6X7N3DTU.js} +6 -6
  22. package/dist/{add-to-campaign-Q6OAJMUJ.js → add-to-campaign-7WAUGNNI.js} +4 -4
  23. package/dist/{address-XVBSNMFU.js → address-ZR4EM2QA.js} +28 -16
  24. package/dist/{adjust-inventory-IZLRMQXV.js → adjust-inventory-P4X6PFKW.js} +1 -1
  25. package/dist/{allocate-items-Q3VALDYT.js → allocate-items-NSQOU2QJ.js} +2 -2
  26. package/dist/{areas-IYGBRCRH.js → areas-N4ORDJTD.js} +3 -3
  27. package/dist/{attributes-LGEM2JJW.js → attributes-DRC3WYY6.js} +1 -1
  28. package/dist/{breadcrumb-XGXKCDYS.js → breadcrumb-4YT6FRUQ.js} +3 -3
  29. package/dist/{breadcrumb-H45Z2WNG.js → breadcrumb-BKBSL3PC.js} +3 -3
  30. package/dist/{breadcrumb-K4HBKZUE.js → breadcrumb-ETWGVI34.js} +2 -2
  31. package/dist/{breadcrumb-KZPOPXGG.js → breadcrumb-F4N5CPRD.js} +1 -1
  32. package/dist/{breadcrumb-BXD3SRM7.js → breadcrumb-JGDD7EHO.js} +1 -1
  33. package/dist/{breadcrumb-VY5DNTTJ.js → breadcrumb-JWDW3P6C.js} +10 -10
  34. package/dist/{breadcrumb-FEYGZFJU.js → breadcrumb-KKWNLFMC.js} +2 -2
  35. package/dist/{breadcrumb-WG6TIF4C.js → breadcrumb-PJOTRHG7.js} +4 -2
  36. package/dist/{breadcrumb-NZYOCEEM.js → breadcrumb-PYLGF3AN.js} +10 -10
  37. package/dist/{breadcrumb-XEZCMI55.js → breadcrumb-TO45VBVD.js} +1 -1
  38. package/dist/{breadcrumb-L262VPBO.js → breadcrumb-UEUUMDIY.js} +1 -1
  39. package/dist/{breadcrumb-ILEAQRW7.js → breadcrumb-VCRGVYJR.js} +10 -10
  40. package/dist/{breadcrumb-BFNJWOJ4.js → breadcrumb-WWLMQQQF.js} +1 -1
  41. package/dist/{breadcrumb-BC6XN2SE.js → breadcrumb-Y7N7L7DM.js} +2 -2
  42. package/dist/{campaigns-DZKRNCA4.js → campaigns-GPLRB2AR.js} +5 -5
  43. package/dist/{categories-JZJA2IBQ.js → categories-53X36JNS.js} +6 -6
  44. package/dist/{chunk-JDNXS37G.js → chunk-2INANL6V.js} +2 -2
  45. package/dist/{chunk-3I6ZAMGN.js → chunk-2P5H7EVR.js} +1 -1
  46. package/dist/{chunk-ZTOYVPGA.js → chunk-3F4MUPGR.js} +1 -1
  47. package/dist/chunk-432S4FGR.js +0 -0
  48. package/dist/{chunk-JY2XON7H.js → chunk-4CNLTLQP.js} +6 -5
  49. package/dist/{chunk-3SH24DGG.js → chunk-4EAC3GT7.js} +1 -1
  50. package/dist/{chunk-MVEHWM7K.js → chunk-4NADEZZQ.js} +14 -3
  51. package/dist/{chunk-HDEOZN2Q.js → chunk-4OQLPIUZ.js} +27 -27
  52. package/dist/{chunk-MAW6ZT3D.js → chunk-55TS752B.js} +1 -1
  53. package/dist/{chunk-O7BGGWW6.js → chunk-5NVY7JZC.js} +4 -4
  54. package/dist/{chunk-MUGQQY6P.js → chunk-5SRG2247.js} +49 -11
  55. package/dist/{chunk-L57USMYC.js → chunk-5YZ3G5EZ.js} +1 -1
  56. package/dist/{chunk-G6YNCIVF.js → chunk-744GLNZW.js} +1 -1
  57. package/dist/{chunk-CUAGC54B.js → chunk-7CQ4RKVV.js} +23 -9
  58. package/dist/{chunk-WBCWER26.js → chunk-7HLAOLG7.js} +1 -1
  59. package/dist/{chunk-W3UHAQCV.js → chunk-7TQNE3E2.js} +1 -1
  60. package/dist/{chunk-7EXKHL5L.js → chunk-7ZNZJIVN.js} +1 -1
  61. package/dist/{chunk-UNE4VD5U.js → chunk-APWPWXWQ.js} +21 -10
  62. package/dist/{chunk-EAAZV3B7.js → chunk-BXDN7ZA5.js} +24 -12
  63. package/dist/{chunk-5PAUN3PM.js → chunk-CLS6PNZY.js} +2 -2
  64. package/dist/{chunk-MJP5V3JN.js → chunk-COGWTNSC.js} +1 -1
  65. package/dist/{chunk-RPU4UOQK.js → chunk-CQRCUQC4.js} +1 -1
  66. package/dist/{chunk-634XVU3D.js → chunk-CVXKASWV.js} +2 -2
  67. package/dist/{chunk-CRYZK4NU.js → chunk-EFKHV25A.js} +1 -1
  68. package/dist/{chunk-KZQFIPY2.js → chunk-ESXMD6CR.js} +12 -4
  69. package/dist/{chunk-5BYYDBLS.js → chunk-EX5IIVVN.js} +2 -2
  70. package/dist/{chunk-TJKZ5QCJ.js → chunk-FXQWGW2J.js} +2 -2
  71. package/dist/{chunk-Y4PM3IDZ.js → chunk-GGXGKMYK.js} +1 -1
  72. package/dist/{chunk-EDV4MTTT.js → chunk-GK6X67DV.js} +65 -37
  73. package/dist/{chunk-2KA4TGBQ.js → chunk-GZRCPKO5.js} +19 -8
  74. package/dist/{chunk-3TST3EWQ.js → chunk-HLAV55RT.js} +1 -1
  75. package/dist/{chunk-E6W57UP3.js → chunk-HRUO43BZ.js} +2 -2
  76. package/dist/{chunk-UX5UYDCY.js → chunk-I3I5IYHO.js} +1 -1
  77. package/dist/{chunk-3ALBZK4M.js → chunk-ICKOFNHF.js} +5 -2
  78. package/dist/{chunk-RTMMO6IU.js → chunk-II2GAEVL.js} +25 -13
  79. package/dist/{chunk-HXGLPDZW.js → chunk-IMVZFBCM.js} +6 -17
  80. package/dist/{chunk-GSH6ZGI6.js → chunk-IPNO77ZJ.js} +35 -12
  81. package/dist/{chunk-4IRQSBA7.js → chunk-IWF43LO2.js} +1 -1
  82. package/dist/{chunk-ZLHCZ5F2.js → chunk-JIXW4WHZ.js} +4 -4
  83. package/dist/{chunk-IEVN722X.js → chunk-JLLFEA23.js} +1 -1
  84. package/dist/{chunk-7BFQKYCJ.js → chunk-KEXXZLVI.js} +1 -1
  85. package/dist/{chunk-JTHDMXZV.js → chunk-LOBDXF34.js} +2 -2
  86. package/dist/{chunk-5BQO3YQP.js → chunk-MABIMRLS.js} +1 -1
  87. package/dist/{chunk-WFE6CT6M.js → chunk-MDGTQT5D.js} +1 -1
  88. package/dist/{chunk-LWFBBTJ3.js → chunk-MJ4B2OFU.js} +21 -10
  89. package/dist/{chunk-S7NGDLZ3.js → chunk-MK44MYO7.js} +2 -2
  90. package/dist/{chunk-2NPD4S55.js → chunk-O4N6UK6M.js} +2 -2
  91. package/dist/{chunk-JK4M3ZKY.js → chunk-OOK3BD5Z.js} +3 -3
  92. package/dist/{chunk-V5K6HISS.js → chunk-P3ETXWHD.js} +1 -1
  93. package/dist/{chunk-D76WZZSB.js → chunk-P6XBOWET.js} +6 -5
  94. package/dist/{chunk-H6LZ77GX.js → chunk-QGZH3D2P.js} +4 -1
  95. package/dist/{chunk-KTJLJTFO.js → chunk-QMTSINXN.js} +93 -66
  96. package/dist/{chunk-KG2NUK4J.js → chunk-QU444FAP.js} +46 -15
  97. package/dist/{chunk-WFHGJGCW.js → chunk-S4ILPAEO.js} +27 -12
  98. package/dist/{chunk-QWW6RHZC.js → chunk-SYWAMZNQ.js} +3 -2
  99. package/dist/{chunk-LQSLDDPT.js → chunk-T35QBLG7.js} +1 -1
  100. package/dist/{chunk-VD27SL7H.js → chunk-TNZMNJRF.js} +6 -5
  101. package/dist/{chunk-DQ7LZZJX.js → chunk-U5MXCMDR.js} +24 -13
  102. package/dist/{chunk-6FDPVW7Y.js → chunk-UEPUKWD7.js} +1 -1
  103. package/dist/{chunk-MT6WOKIW.js → chunk-UKTJEFMZ.js} +1 -1
  104. package/dist/{chunk-EPRYM3FA.js → chunk-ULEW54ED.js} +1 -1
  105. package/dist/{chunk-TPGIMZLI.js → chunk-VR7P4DAZ.js} +1 -1
  106. package/dist/{chunk-DSTHXHJ5.js → chunk-VYSB4CTB.js} +1356 -1356
  107. package/dist/{chunk-WCXFUBEF.js → chunk-W5LVOEN2.js} +7 -7
  108. package/dist/{chunk-FDKFUIYV.js → chunk-WQQMCV7M.js} +1 -1
  109. package/dist/chunk-WQTWBXKO.js +23 -0
  110. package/dist/{chunk-3BXCPHN6.js → chunk-XCHKUSUU.js} +1 -0
  111. package/dist/{chunk-OYUJYPDF.js → chunk-XWHHBJGS.js} +2 -1
  112. package/dist/{chunk-27WLUOI2.js → chunk-Y6S7K3YB.js} +1 -1
  113. package/dist/{chunk-6Q3J6ZMM.js → chunk-YEPZGGUE.js} +41 -19
  114. package/dist/{chunk-RILHLBKW.js → chunk-YRXXO2RT.js} +2 -2
  115. package/dist/{chunk-3C2T27YW.js → chunk-YXWZT3PX.js} +1 -1
  116. package/dist/{chunk-QWJTJSIT.js → chunk-Z3SPAROE.js} +1 -1
  117. package/dist/{collections-XIHCTMSJ.js → collections-AE7QLCFD.js} +18 -18
  118. package/dist/{configuration-3GCBMM27.js → configuration-I6BUESSG.js} +1 -1
  119. package/dist/{configuration-FWZTMYXY.js → configuration-QVMG6LAM.js} +3 -3
  120. package/dist/{create-PJVLJ7T6.js → create-2DXKC5OJ.js} +18 -18
  121. package/dist/{create-2RGNAVVY.js → create-2WFPJBDQ.js} +14 -14
  122. package/dist/{create-VL7LDTVE.js → create-3PIY2COT.js} +8 -8
  123. package/dist/{create-HEZYB7RF.js → create-7HXY7U5W.js} +55 -21
  124. package/dist/{create-FHIFVCSG.js → create-BE2YNVX3.js} +24 -24
  125. package/dist/{create-YKYLCEAK.js → create-C2WABAJU.js} +4 -4
  126. package/dist/{create-NEK6JCKR.js → create-EIMV4KCC.js} +9 -9
  127. package/dist/{create-XLYGW5PN.js → create-F2VZZ7XS.js} +11 -11
  128. package/dist/{create-N534JQPH.js → create-K7V36IWH.js} +3 -3
  129. package/dist/{create-32MXB6FD.js → create-KW6KFXGI.js} +10 -10
  130. package/dist/{create-3AMFYYI6.js → create-MW33P4AB.js} +12 -12
  131. package/dist/{create-GO7APBBU.js → create-RXIY777H.js} +12 -12
  132. package/dist/{create-RPBHXU32.js → create-TPNH5U7Z.js} +10 -10
  133. package/dist/{create-AMNH3WXL.js → create-ZZBMZZQG.js} +23 -19
  134. package/dist/{customer-group-add-customers-2C53NFBJ.js → customer-group-add-customers-DZ3JYD6S.js} +4 -4
  135. package/dist/{customer-group-create-75QQEQZF.js → customer-group-create-6YNGAE2W.js} +1 -1
  136. package/dist/{customer-group-detail-AOQYYAOG.js → customer-group-detail-VZUHEIRY.js} +18 -14
  137. package/dist/{customer-group-edit-N77RCW6I.js → customer-group-edit-UA36663R.js} +48 -27
  138. package/dist/{customer-groups-GNFV7VMT.js → customer-groups-RGHBJV55.js} +36 -15
  139. package/dist/{customers-HNINO6YL.js → customers-7S2MK4VG.js} +6 -6
  140. package/dist/{edit-BSD6667Q.js → edit-3RDEZH6V.js} +12 -12
  141. package/dist/{edit-7CLOJ3UZ.js → edit-3XGZNC24.js} +24 -24
  142. package/dist/{edit-4PWAJ7A3.js → edit-45TYWHR6.js} +11 -11
  143. package/dist/{edit-3DUCWSLA.js → edit-5IQNX7YB.js} +66 -33
  144. package/dist/{edit-ZGAOUZYP.js → edit-GBTLRL6H.js} +12 -12
  145. package/dist/{edit-SIKOSSHF.js → edit-HXCSFGP5.js} +10 -10
  146. package/dist/{edit-UNN3QTEJ.js → edit-JT4OKP5H.js} +23 -7
  147. package/dist/{edit-O65JD54W.js → edit-PIOHPBF5.js} +2 -2
  148. package/dist/{edit-IJ6DCBUU.js → edit-UYYI6HIT.js} +28 -11
  149. package/dist/{edit-TD7QFM4Z.js → edit-VFHZ6GVR.js} +14 -9
  150. package/dist/{edit-WEUFBORT.js → edit-W7T5NAFW.js} +12 -12
  151. package/dist/{edit-ZORE6RUD.js → edit-X4DFAW7S.js} +46 -24
  152. package/dist/{edit-7SBPHN6P.js → edit-YLWMEXUS.js} +23 -7
  153. package/dist/{edit-budget-D22WMVYR.js → edit-budget-XVJ65KUO.js} +1 -1
  154. package/dist/{edit-inventory-item-QMYWEBZ3.js → edit-inventory-item-NHSXZ7UB.js} +22 -7
  155. package/dist/{edit-inventory-item-attributes-HLG6JR6S.js → edit-inventory-item-attributes-VTFPTLLT.js} +1 -1
  156. package/dist/{edit-price-F7ZWM3FN.js → edit-price-XCJDZ4CU.js} +3 -3
  157. package/dist/{edit-stock-ITAZNHPU.js → edit-stock-5SQJH74B.js} +2 -2
  158. package/dist/extension-targets.d.ts +248 -0
  159. package/dist/extension-targets.js +1 -0
  160. package/dist/{fulfillment-U2GRQ6DD.js → fulfillment-5LEDKCH7.js} +20 -11
  161. package/dist/{fulfillment-providers-CMU2JB5X.js → fulfillment-providers-KUIDFRP4.js} +15 -15
  162. package/dist/index.css +18 -12
  163. package/dist/index.d.ts +2 -0
  164. package/dist/index.js +228 -201
  165. package/dist/{inventory-4JKLAZ2Q.js → inventory-L26YLIBO.js} +2 -2
  166. package/dist/{inventory-FKEXULLT.js → inventory-ZWZ2SUYW.js} +5 -5
  167. package/dist/{invite-3R2CEWLN.js → invite-CQEODMVX.js} +16 -27
  168. package/dist/{invite-MNAX6EUC.js → invite-VYXX7ICP.js} +14 -14
  169. package/dist/{loader-HTPUNIOS.js → loader-CDW7SKZP.js} +2 -2
  170. package/dist/{loader-MAAMUP2Z.js → loader-OGR7BCER.js} +12 -10
  171. package/dist/{locations-2VWSMWHL.js → locations-UVMY2QLW.js} +1 -1
  172. package/dist/{login-YUWOWICV.js → login-Z43XSPNR.js} +12 -12
  173. package/dist/{manage-locations-RWGDXXJQ.js → manage-locations-WD3WRVMF.js} +1 -1
  174. package/dist/{media-YB4G5CMV.js → media-UAAKHWJZ.js} +12 -12
  175. package/dist/{media-P6WSFHY4.js → media-VRNKF2TX.js} +14 -14
  176. package/dist/{metadata-J447GEBP.js → metadata-6FYHGP2P.js} +10 -10
  177. package/dist/{metadata-5Q6FLVX4.js → metadata-GI4A7XUC.js} +10 -10
  178. package/dist/{metadata-VTQ2CGZX.js → metadata-GR7QS5N6.js} +10 -10
  179. package/dist/{metadata-ADXGD4Y6.js → metadata-MRDVKETB.js} +10 -10
  180. package/dist/{metadata-6OYHLPLA.js → metadata-QZEX5FQH.js} +10 -10
  181. package/dist/{offer-create-page-ACPKTNHA.js → offer-create-page-LRKRHBRT.js} +18 -16
  182. package/dist/{offer-detail-page-S4R4N5GL.js → offer-detail-page-RSBA6WJB.js} +80 -27
  183. package/dist/{offer-variant-detail-page-XUMDXZUD.js → offer-variant-detail-page-KBDN27ZG.js} +25 -16
  184. package/dist/{offers-OTZJBW43.js → offers-LBJILJQX.js} +17 -17
  185. package/dist/{onboarding-TUGXFOA6.js → onboarding-4DXHB5KY.js} +58 -59
  186. package/dist/{orders-PJSJNGZS.js → orders-JGKXRRJ6.js} +21 -21
  187. package/dist/{organization-YIOAVFHN.js → organization-NQHWLNES.js} +12 -12
  188. package/dist/{organize-OWT5QSJR.js → organize-PNLFCNY4.js} +3 -3
  189. package/dist/{organize-BTA7NJD2.js → organize-X4IMS4S5.js} +3 -3
  190. package/dist/pages/index.d.ts +17 -2
  191. package/dist/pages/index.js +55 -54
  192. package/dist/{payment-details-K2XFATEL.js → payment-details-T7CKYYQR.js} +29 -17
  193. package/dist/{payouts-K5IDTJV3.js → payouts-MGC6Z3AT.js} +6 -6
  194. package/dist/{price-lists-DNPIPDAW.js → price-lists-QJTMWEEP.js} +8 -8
  195. package/dist/{pricing-J5FIDZIY.js → pricing-CFDZXHIE.js} +12 -12
  196. package/dist/{pricing-5VUPPNKS.js → pricing-LEEEQ2TR.js} +3 -3
  197. package/dist/{product-tags-SJYIGXEV.js → product-tags-Z7DOYERG.js} +25 -25
  198. package/dist/{product-types-4PTJW5DE.js → product-types-F5YH6TBY.js} +4 -4
  199. package/dist/{product-variant-detail-FO6J3RFA.js → product-variant-detail-EUWXJWAJ.js} +14 -13
  200. package/dist/{product-variant-edit-55TAIBZO.js → product-variant-edit-OP7DAKIN.js} +12 -12
  201. package/dist/{products-EQMANSO6.js → products-QRYZFYMR.js} +17 -17
  202. package/dist/{products-XM57LXJK.js → products-SGYVJ33I.js} +30 -29
  203. package/dist/{professional-details-WWZPTXSX.js → professional-details-UVRM7GID.js} +28 -16
  204. package/dist/{profile-5IADQ727.js → profile-HYJJLO63.js} +58 -24
  205. package/dist/{promotions-BYW6TZ5B.js → promotions-TF4GPADY.js} +8 -8
  206. package/dist/{receive-MTXKKPKZ.js → receive-NHOBI4NE.js} +4 -4
  207. package/dist/{refund-3IXGYA7W.js → refund-6MXXZP2L.js} +73 -49
  208. package/dist/{register-U5PQZATC.js → register-SC2R7TDT.js} +13 -13
  209. package/dist/{reset-password-SKUJJLSV.js → reset-password-OIZAI2US.js} +1 -1
  210. package/dist/{return-reasons-QDPSIJG3.js → return-reasons-L5BFL5WW.js} +18 -15
  211. package/dist/{sales-channels-GBSTCWVP.js → sales-channels-57VSC3CU.js} +4 -3
  212. package/dist/{sales-channels-N4NE3FXP.js → sales-channels-VXOZQKLK.js} +4 -3
  213. package/dist/{settings-ZUBBFS67.js → settings-UZGHDHAR.js} +28 -28
  214. package/dist/{shipment-TKSCPC3M.js → shipment-KF4M3RDJ.js} +10 -10
  215. package/dist/{shipping-DODEUYOQ.js → shipping-3KKFZONF.js} +2 -2
  216. package/dist/{shipping-profile-O4JMJLN7.js → shipping-profile-ZHE4U2MG.js} +1 -1
  217. package/dist/{shipping-profiles-4TJ4IH6U.js → shipping-profiles-W6ESWKTU.js} +14 -14
  218. package/dist/{stock-GYK2GHJN.js → stock-JCDE7SMM.js} +10 -10
  219. package/dist/{store-XWOALZ5Q.js → store-UOOVXKZY.js} +121 -47
  220. package/dist/{store-closure-46B3XZ2I.js → store-closure-7TG7Y7LW.js} +10 -10
  221. package/dist/{store-select-E77E3ZY7.js → store-select-SARJSWL4.js} +32 -13
  222. package/dist/{tax-regions-S2LFRTMP.js → tax-regions-4NK7L6FA.js} +7 -4
  223. package/dist/{team-N2C5JPSU.js → team-45IARFMH.js} +19 -18
  224. package/package.json +17 -12
  225. /package/dist/{chunk-HFRHHT36.js → chunk-NWU7EGGF.js} +0 -0
@@ -4,24 +4,24 @@ import "./chunk-VE6GRIIN.js";
4
4
  import "./chunk-7MARNXFG.js";
5
5
  import "./chunk-MNHP6YRC.js";
6
6
  import "./chunk-NTJ3BMOE.js";
7
- import "./chunk-5PAUN3PM.js";
8
- import "./chunk-ZLHCZ5F2.js";
7
+ import "./chunk-CLS6PNZY.js";
8
+ import "./chunk-JIXW4WHZ.js";
9
9
  import "./chunk-GZ4KTAWS.js";
10
10
  import "./chunk-PUAWN7SS.js";
11
- import "./chunk-MVEHWM7K.js";
12
- import "./chunk-OYUJYPDF.js";
13
- import "./chunk-O7BGGWW6.js";
11
+ import "./chunk-4NADEZZQ.js";
12
+ import "./chunk-XWHHBJGS.js";
13
+ import "./chunk-5NVY7JZC.js";
14
14
  import "./chunk-KIURBTC4.js";
15
15
  import {
16
16
  useProductCategory
17
- } from "./chunk-3SH24DGG.js";
17
+ } from "./chunk-4EAC3GT7.js";
18
18
  import "./chunk-JR7AABT5.js";
19
19
  import "./chunk-ZQCCVCHB.js";
20
- import "./chunk-5BQO3YQP.js";
21
- import "./chunk-EPRYM3FA.js";
22
- import "./chunk-6FDPVW7Y.js";
20
+ import "./chunk-MABIMRLS.js";
21
+ import "./chunk-ULEW54ED.js";
22
+ import "./chunk-UEPUKWD7.js";
23
23
  import "./chunk-JJP6AKMV.js";
24
- import "./chunk-G6YNCIVF.js";
24
+ import "./chunk-744GLNZW.js";
25
25
  import "./chunk-A5DJIOHN.js";
26
26
  import "./chunk-RHKRREUU.js";
27
27
  import "./chunk-ZA2KFUFR.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZEKV7LGF.js";
4
4
  import {
5
5
  useInventoryItem
6
- } from "./chunk-G6YNCIVF.js";
6
+ } from "./chunk-744GLNZW.js";
7
7
  import "./chunk-A5DJIOHN.js";
8
8
  import "./chunk-RHKRREUU.js";
9
9
  import "./chunk-ZA2KFUFR.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-WQZ4ONQV.js";
4
4
  import {
5
5
  useCampaign
6
- } from "./chunk-ZLHCZ5F2.js";
6
+ } from "./chunk-JIXW4WHZ.js";
7
7
  import "./chunk-RHKRREUU.js";
8
8
  import "./chunk-ZA2KFUFR.js";
9
9
  import "./chunk-LXZXXOJ3.js";
@@ -7,22 +7,22 @@ import "./chunk-VE6GRIIN.js";
7
7
  import "./chunk-7MARNXFG.js";
8
8
  import "./chunk-MNHP6YRC.js";
9
9
  import "./chunk-NTJ3BMOE.js";
10
- import "./chunk-5PAUN3PM.js";
11
- import "./chunk-ZLHCZ5F2.js";
10
+ import "./chunk-CLS6PNZY.js";
11
+ import "./chunk-JIXW4WHZ.js";
12
12
  import "./chunk-GZ4KTAWS.js";
13
13
  import "./chunk-PUAWN7SS.js";
14
- import "./chunk-MVEHWM7K.js";
15
- import "./chunk-OYUJYPDF.js";
16
- import "./chunk-O7BGGWW6.js";
14
+ import "./chunk-4NADEZZQ.js";
15
+ import "./chunk-XWHHBJGS.js";
16
+ import "./chunk-5NVY7JZC.js";
17
17
  import "./chunk-KIURBTC4.js";
18
- import "./chunk-3SH24DGG.js";
18
+ import "./chunk-4EAC3GT7.js";
19
19
  import "./chunk-JR7AABT5.js";
20
20
  import "./chunk-ZQCCVCHB.js";
21
- import "./chunk-5BQO3YQP.js";
22
- import "./chunk-EPRYM3FA.js";
23
- import "./chunk-6FDPVW7Y.js";
21
+ import "./chunk-MABIMRLS.js";
22
+ import "./chunk-ULEW54ED.js";
23
+ import "./chunk-UEPUKWD7.js";
24
24
  import "./chunk-JJP6AKMV.js";
25
- import "./chunk-G6YNCIVF.js";
25
+ import "./chunk-744GLNZW.js";
26
26
  import "./chunk-A5DJIOHN.js";
27
27
  import "./chunk-RHKRREUU.js";
28
28
  import "./chunk-ZA2KFUFR.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-XQUF3WIS.js";
4
4
  import {
5
5
  useProduct
6
- } from "./chunk-G6YNCIVF.js";
6
+ } from "./chunk-744GLNZW.js";
7
7
  import "./chunk-A5DJIOHN.js";
8
8
  import "./chunk-RHKRREUU.js";
9
9
  import "./chunk-ZA2KFUFR.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  CustomerGroupDetailBreadcrumb
3
- } from "./chunk-7EXKHL5L.js";
3
+ } from "./chunk-7ZNZJIVN.js";
4
4
  import "./chunk-SPFLYPY6.js";
5
- import "./chunk-OYUJYPDF.js";
5
+ import "./chunk-XWHHBJGS.js";
6
6
  import "./chunk-RHKRREUU.js";
7
7
  import "./chunk-ZA2KFUFR.js";
8
8
  import "./chunk-LXZXXOJ3.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  CampaignListPage
3
- } from "./chunk-DQ7LZZJX.js";
3
+ } from "./chunk-U5MXCMDR.js";
4
4
  import "./chunk-7TIZP4YG.js";
5
5
  import "./chunk-DY3XQPHC.js";
6
6
  import "./chunk-JHIMVLB2.js";
7
7
  import "./chunk-SYNUA6LQ.js";
8
8
  import "./chunk-PHOCVOZ5.js";
9
+ import "./chunk-YV6MK4PZ.js";
9
10
  import "./chunk-FQERBIVS.js";
10
- import "./chunk-W3UHAQCV.js";
11
+ import "./chunk-7TQNE3E2.js";
11
12
  import "./chunk-YN3FGNJM.js";
12
13
  import "./chunk-KCHYLLVG.js";
13
- import "./chunk-634XVU3D.js";
14
- import "./chunk-YV6MK4PZ.js";
14
+ import "./chunk-CVXKASWV.js";
15
15
  import "./chunk-THHRRYRS.js";
16
16
  import "./chunk-LRD242C7.js";
17
17
  import "./chunk-INNFZYX2.js";
@@ -19,7 +19,7 @@ import "./chunk-BDGZ4EQO.js";
19
19
  import "./chunk-LAVHRER2.js";
20
20
  import "./chunk-QHQWEERJ.js";
21
21
  import "./chunk-Y7QKP6QU.js";
22
- import "./chunk-ZLHCZ5F2.js";
22
+ import "./chunk-JIXW4WHZ.js";
23
23
  import "./chunk-RHKRREUU.js";
24
24
  import "./chunk-ZA2KFUFR.js";
25
25
  import "./chunk-LXZXXOJ3.js";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CategoryListPage
3
- } from "./chunk-CUAGC54B.js";
3
+ } from "./chunk-7CQ4RKVV.js";
4
4
  import "./chunk-JHIMVLB2.js";
5
5
  import "./chunk-LYYM7H7H.js";
6
6
  import "./chunk-DB6ANJBO.js";
7
7
  import "./chunk-PHOCVOZ5.js";
8
+ import "./chunk-YV6MK4PZ.js";
8
9
  import "./chunk-FQERBIVS.js";
9
- import "./chunk-W3UHAQCV.js";
10
+ import "./chunk-7TQNE3E2.js";
10
11
  import "./chunk-YN3FGNJM.js";
11
12
  import "./chunk-KCHYLLVG.js";
12
- import "./chunk-634XVU3D.js";
13
- import "./chunk-YV6MK4PZ.js";
13
+ import "./chunk-CVXKASWV.js";
14
14
  import "./chunk-THHRRYRS.js";
15
15
  import "./chunk-LRD242C7.js";
16
16
  import "./chunk-WIYFXWRI.js";
@@ -18,8 +18,8 @@ import "./chunk-INNFZYX2.js";
18
18
  import "./chunk-LAVHRER2.js";
19
19
  import "./chunk-QHQWEERJ.js";
20
20
  import "./chunk-Y7QKP6QU.js";
21
- import "./chunk-3SH24DGG.js";
22
- import "./chunk-G6YNCIVF.js";
21
+ import "./chunk-4EAC3GT7.js";
22
+ import "./chunk-744GLNZW.js";
23
23
  import "./chunk-A5DJIOHN.js";
24
24
  import "./chunk-RHKRREUU.js";
25
25
  import "./chunk-ZA2KFUFR.js";
@@ -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-VYSB4CTB.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-NBMM2TZK.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-3QSRE5LS.js";
8
8
  import {
9
9
  useCurrentSeller
10
- } from "./chunk-MVEHWM7K.js";
10
+ } from "./chunk-4NADEZZQ.js";
11
11
 
12
12
  // src/pages/campaigns/common/components/create-campaign-form-fields/create-campaign-form-fields.tsx
13
13
  import {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-VBRTC2VU.js";
4
4
  import {
5
5
  require_dist
6
- } from "./chunk-DSTHXHJ5.js";
6
+ } from "./chunk-VYSB4CTB.js";
7
7
  import {
8
8
  __toESM
9
9
  } from "./chunk-NBMM2TZK.js";
File without changes
@@ -7,19 +7,20 @@ import {
7
7
  import {
8
8
  useProductTagTableFilters
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
  useProductTags
19
19
  } from "./chunk-BQHVM46E.js";
20
20
 
21
21
  // src/pages/settings/product-tags/product-tag-list-page.tsx
22
22
  import { Children as Children3 } from "react";
23
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
23
24
 
24
25
  // src/pages/settings/product-tags/_components/product-tag-list-table.tsx
25
26
  import { Children as Children2 } from "react";
@@ -123,7 +124,7 @@ var ProductTagListTable = ({
123
124
  // src/pages/settings/product-tags/product-tag-list-page.tsx
124
125
  import { jsx as jsx4 } from "react/jsx-runtime";
125
126
  var Root = ({ children }) => {
126
- return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ProductTagListTable, {}) });
127
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: /* @__PURE__ */ jsx4(WidgetZone, { id: "product-tags.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ProductTagListTable, {}) }) });
127
128
  };
128
129
  var ProductTagListPage = Object.assign(Root, {
129
130
  Table: ProductTagListTable,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  productsQueryKeys
3
- } from "./chunk-G6YNCIVF.js";
3
+ } from "./chunk-744GLNZW.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -18,10 +18,12 @@ var membersQueryKeys = {
18
18
  ...queryKeysFactory(MEMBERS_QUERY_KEY),
19
19
  me: () => [MEMBERS_QUERY_KEY, "me"]
20
20
  };
21
- var useMe = (options) => {
21
+ var useMe = (query, options) => {
22
22
  const { data, ...rest } = useQuery({
23
- queryFn: () => sdk.vendor.members.me.query(),
24
- queryKey: membersQueryKeys.me(),
23
+ queryFn: () => sdk.vendor.members.me.query(
24
+ query
25
+ ),
26
+ queryKey: query ? [...membersQueryKeys.me(), query] : membersQueryKeys.me(),
25
27
  ...options
26
28
  });
27
29
  return {
@@ -96,6 +98,14 @@ var useCurrentSeller = () => {
96
98
  error
97
99
  };
98
100
  };
101
+ var useSeller = (id, query, options) => {
102
+ const { data, ...rest } = useQuery2({
103
+ queryKey: sellersQueryKeys.detail(id, query),
104
+ queryFn: () => sdk.vendor.sellers.$id.query({ $id: id, ...query }),
105
+ ...options
106
+ });
107
+ return { ...data, ...rest };
108
+ };
99
109
  var useSellers = (query, options) => {
100
110
  const { data, ...rest } = useQuery2({
101
111
  queryKey: sellersQueryKeys.list(query),
@@ -200,6 +210,7 @@ export {
200
210
  useMember,
201
211
  useRemoveSellerMember,
202
212
  useCurrentSeller,
213
+ useSeller,
203
214
  useSellers,
204
215
  useSelectSeller,
205
216
  useUpdateSeller,
@@ -1,10 +1,34 @@
1
1
  import {
2
2
  useDataTableDateFilters
3
- } from "./chunk-HFRHHT36.js";
3
+ } from "./chunk-NWU7EGGF.js";
4
4
  import {
5
5
  useQueryParams
6
6
  } from "./chunk-THHRRYRS.js";
7
7
 
8
+ // src/hooks/table/filters/use-attribute-table-filters.tsx
9
+ import { createDataTableFilterHelper } from "@medusajs/ui";
10
+ import { useMemo } from "react";
11
+ import { useTranslation } from "react-i18next";
12
+ var filterHelper = createDataTableFilterHelper();
13
+ var useAttributeTableFilters = () => {
14
+ const { t } = useTranslation();
15
+ const dateFilters = useDataTableDateFilters();
16
+ return useMemo(
17
+ () => [
18
+ filterHelper.accessor("is_filterable", {
19
+ label: t("attributes.fields.filterable"),
20
+ type: "select",
21
+ options: [
22
+ { label: t("filters.radio.yes"), value: "true" },
23
+ { label: t("filters.radio.no"), value: "false" }
24
+ ]
25
+ }),
26
+ ...dateFilters
27
+ ],
28
+ [t, dateFilters]
29
+ );
30
+ };
31
+
8
32
  // src/hooks/table/query/use-attribute-table-query.tsx
9
33
  var useAttributeTableQuery = ({
10
34
  prefix,
@@ -30,31 +54,7 @@ var useAttributeTableQuery = ({
30
54
  };
31
55
  };
32
56
 
33
- // src/hooks/table/filters/use-attribute-table-filters.tsx
34
- import { createDataTableFilterHelper } from "@medusajs/ui";
35
- import { useMemo } from "react";
36
- import { useTranslation } from "react-i18next";
37
- var filterHelper = createDataTableFilterHelper();
38
- var useAttributeTableFilters = () => {
39
- const { t } = useTranslation();
40
- const dateFilters = useDataTableDateFilters();
41
- return useMemo(
42
- () => [
43
- filterHelper.accessor("is_filterable", {
44
- label: t("attributes.fields.filterable"),
45
- type: "select",
46
- options: [
47
- { label: t("filters.radio.yes"), value: "true" },
48
- { label: t("filters.radio.no"), value: "false" }
49
- ]
50
- }),
51
- ...dateFilters
52
- ],
53
- [t, dateFilters]
54
- );
55
- };
56
-
57
57
  export {
58
- useAttributeTableQuery,
59
- useAttributeTableFilters
58
+ useAttributeTableFilters,
59
+ useAttributeTableQuery
60
60
  };
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  _DataTable,
16
16
  useDataTable
17
- } from "./chunk-W3UHAQCV.js";
17
+ } from "./chunk-7TQNE3E2.js";
18
18
  import {
19
19
  useQueryParams
20
20
  } from "./chunk-THHRRYRS.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  productsQueryKeys
3
- } from "./chunk-G6YNCIVF.js";
3
+ } from "./chunk-744GLNZW.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -18,10 +18,10 @@ import {
18
18
  } from "@tanstack/react-query";
19
19
  var COLLECTION_QUERY_KEY = "collections";
20
20
  var collectionsQueryKeys = queryKeysFactory(COLLECTION_QUERY_KEY);
21
- var useCollection = (id, options) => {
21
+ var useCollection = (id, query, options) => {
22
22
  const { data, ...rest } = useQuery({
23
- queryKey: collectionsQueryKeys.detail(id),
24
- queryFn: async () => sdk.vendor.collections.$id.query({ $id: id }),
23
+ queryKey: collectionsQueryKeys.detail(id, query),
24
+ queryFn: async () => sdk.vendor.collections.$id.query({ $id: id, ...query }),
25
25
  ...options
26
26
  });
27
27
  return { ...data, ...rest };
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  useDeleteProduct,
9
9
  useUpdateProduct
10
- } from "./chunk-G6YNCIVF.js";
10
+ } from "./chunk-744GLNZW.js";
11
11
 
12
12
  // src/pages/products/[id]/_components/product-media-section/product-media-section.tsx
13
13
  import { useState } from "react";
@@ -25,6 +25,7 @@ import {
25
25
  } from "@medusajs/ui";
26
26
  import { useTranslation } from "react-i18next";
27
27
  import { Link } from "react-router-dom";
28
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
28
29
  import { jsx, jsxs } from "react/jsx-runtime";
29
30
  var ProductMediaSection = ({
30
31
  product,
@@ -186,7 +187,8 @@ var ProductMediaSection = ({
186
187
  shortcut: "d"
187
188
  }
188
189
  )
189
- ] }) })
190
+ ] }) }),
191
+ /* @__PURE__ */ jsx(DisplayExtensionZone, { model: "product", zone: "media", data: product })
190
192
  ] });
191
193
  };
192
194
  var getMedia = (product) => {
@@ -211,7 +213,16 @@ import { PencilSquare as PencilSquare2, Trash } from "@medusajs/icons";
211
213
  import { Container as Container2, Heading as Heading2, StatusBadge, usePrompt as usePrompt2 } from "@medusajs/ui";
212
214
  import { useTranslation as useTranslation2 } from "react-i18next";
213
215
  import { useNavigate } from "react-router-dom";
216
+ import { DisplayExtensionZone as DisplayExtensionZone2, DisplayField } from "@mercurjs/dashboard-shared";
214
217
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
218
+ var GENERAL_FIELD_IDS = [
219
+ "title",
220
+ "status",
221
+ "description",
222
+ "subtitle",
223
+ "handle",
224
+ "discountable"
225
+ ];
215
226
  var productStatusColor = (status) => {
216
227
  switch (status) {
217
228
  case "draft":
@@ -253,9 +264,18 @@ var ProductGeneralSection = ({
253
264
  };
254
265
  return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", children: [
255
266
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", children: [
256
- /* @__PURE__ */ jsx2(Heading2, { children: product.title }),
267
+ /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "title", data: product, children: /* @__PURE__ */ jsx2(Heading2, { children: product.title }) }),
257
268
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-4", children: [
258
- /* @__PURE__ */ jsx2(StatusBadge, { color: productStatusColor(product.status), children: t(`products.productStatus.${product.status}`) }),
269
+ /* @__PURE__ */ jsx2(
270
+ DisplayField,
271
+ {
272
+ model: "product",
273
+ zone: "general",
274
+ id: "status",
275
+ data: product,
276
+ children: /* @__PURE__ */ jsx2(StatusBadge, { color: productStatusColor(product.status), children: t(`products.productStatus.${product.status}`) })
277
+ }
278
+ ),
259
279
  /* @__PURE__ */ jsx2(
260
280
  ActionMenu,
261
281
  {
@@ -283,26 +303,44 @@ var ProductGeneralSection = ({
283
303
  )
284
304
  ] })
285
305
  ] }),
286
- /* @__PURE__ */ jsx2(
306
+ /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "description", data: product, children: /* @__PURE__ */ jsx2(
287
307
  SectionRow,
288
308
  {
289
309
  title: t("fields.description"),
290
310
  value: product.description || "-"
291
311
  }
292
- ),
293
- /* @__PURE__ */ jsx2(
312
+ ) }),
313
+ /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "subtitle", data: product, children: /* @__PURE__ */ jsx2(
294
314
  SectionRow,
295
315
  {
296
316
  title: t("fields.subtitle"),
297
317
  value: product.subtitle || "-"
298
318
  }
319
+ ) }),
320
+ /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "handle", data: product, children: /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.handle"), value: `/${product.handle}` }) }),
321
+ /* @__PURE__ */ jsx2(
322
+ DisplayField,
323
+ {
324
+ model: "product",
325
+ zone: "general",
326
+ id: "discountable",
327
+ data: product,
328
+ children: /* @__PURE__ */ jsx2(
329
+ SectionRow,
330
+ {
331
+ title: t("fields.discountable"),
332
+ value: product.discountable ? t("general.true") : t("general.false")
333
+ }
334
+ )
335
+ }
299
336
  ),
300
- /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.handle"), value: `/${product.handle}` }),
301
337
  /* @__PURE__ */ jsx2(
302
- SectionRow,
338
+ DisplayExtensionZone2,
303
339
  {
304
- title: t("fields.discountable"),
305
- value: product.discountable ? t("general.true") : t("general.false")
340
+ model: "product",
341
+ zone: "general",
342
+ data: product,
343
+ builtInFieldIds: GENERAL_FIELD_IDS
306
344
  }
307
345
  )
308
346
  ] });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getStylizedAmount
3
- } from "./chunk-3BXCPHN6.js";
3
+ } from "./chunk-XCHKUSUU.js";
4
4
  import {
5
5
  PlaceholderCell
6
6
  } from "./chunk-PHOCVOZ5.js";
@@ -306,7 +306,7 @@ var useInventoryItems = (query, options) => {
306
306
  var useInventoryItem = (id, query, options) => {
307
307
  const { data, ...rest } = useQuery3({
308
308
  queryFn: () => sdk.vendor.inventoryItems.$id.query({ $id: id, ...query }),
309
- queryKey: inventoryItemsQueryKeys.detail(id),
309
+ queryKey: inventoryItemsQueryKeys.detail(id, query),
310
310
  ...options
311
311
  });
312
312
  return { ...data, ...rest };
@@ -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-4EAC3GT7.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,
@@ -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-VYSB4CTB.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-NBMM2TZK.js";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  NoRecords,
10
10
  NoResults
11
- } from "./chunk-634XVU3D.js";
11
+ } from "./chunk-CVXKASWV.js";
12
12
  import {
13
13
  useDate
14
14
  } from "./chunk-LRD242C7.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SPFLYPY6.js";
4
4
  import {
5
5
  useCustomerGroup
6
- } from "./chunk-OYUJYPDF.js";
6
+ } from "./chunk-XWHHBJGS.js";
7
7
 
8
8
  // src/pages/customer-groups/customer-group-detail/breadcrumb.tsx
9
9
  import { jsx } from "react/jsx-runtime";