@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
@@ -1,27 +1,28 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-TPGIMZLI.js";
4
+ } from "./chunk-VR7P4DAZ.js";
5
5
  import {
6
6
  usePromotionTableFilters
7
7
  } from "./chunk-S2WEYEQR.js";
8
- import {
9
- _DataTable,
10
- useDataTable
11
- } from "./chunk-W3UHAQCV.js";
12
8
  import {
13
9
  SingleColumnPage
14
10
  } from "./chunk-YV6MK4PZ.js";
11
+ import {
12
+ _DataTable,
13
+ useDataTable
14
+ } from "./chunk-7TQNE3E2.js";
15
15
  import {
16
16
  ActionMenu
17
17
  } from "./chunk-BDGZ4EQO.js";
18
18
  import {
19
19
  useDeletePromotion,
20
20
  usePromotions
21
- } from "./chunk-ZLHCZ5F2.js";
21
+ } from "./chunk-JIXW4WHZ.js";
22
22
 
23
23
  // src/pages/promotions/promotion-list-page.tsx
24
24
  import { Children as Children3 } from "react";
25
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
25
26
 
26
27
  // src/pages/promotions/_components/promotion-list-table/promotion-list-table.tsx
27
28
  import { Children as Children2 } from "react";
@@ -59,6 +60,7 @@ var PromotionListHeader = ({
59
60
  import { PencilSquare, Trash } from "@medusajs/icons";
60
61
  import { usePrompt } from "@medusajs/ui";
61
62
  import { createColumnHelper } from "@tanstack/react-table";
63
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
62
64
  import { useMemo } from "react";
63
65
  import { useTranslation as useTranslation2 } from "react-i18next";
64
66
  import { Outlet, useNavigate } from "react-router-dom";
@@ -69,6 +71,7 @@ var PromotionListDataTable = () => {
69
71
  const { searchParams, raw } = usePromotionTableQuery({
70
72
  pageSize: PAGE_SIZE
71
73
  });
74
+ const linkQuery = useLinkQuery("promotion", "+status");
72
75
  const {
73
76
  promotions: data,
74
77
  count,
@@ -76,12 +79,16 @@ var PromotionListDataTable = () => {
76
79
  isError,
77
80
  error
78
81
  } = usePromotions({
79
- fields: "+status",
82
+ ...linkQuery,
80
83
  ...searchParams
81
84
  });
82
85
  const promotions = data?.filter((item) => item !== null);
83
- const filters = usePromotionTableFilters();
84
- const columns = useColumns();
86
+ const baseFilters = usePromotionTableFilters();
87
+ const { columns, filters: extFilters } = useColumns();
88
+ const filters = useMemo(
89
+ () => [...baseFilters, ...extFilters],
90
+ [baseFilters, extFilters]
91
+ );
85
92
  const { table } = useDataTable({
86
93
  data: promotions ?? [],
87
94
  columns,
@@ -180,9 +187,13 @@ var PromotionActions = ({
180
187
  var columnHelper = createColumnHelper();
181
188
  var useColumns = () => {
182
189
  const base = usePromotionTableColumns();
183
- return useMemo(
190
+ const { columns: extended, filters } = useExtendableTable({
191
+ model: "promotion",
192
+ columns: base
193
+ });
194
+ const columns = useMemo(
184
195
  () => [
185
- ...base,
196
+ ...extended,
186
197
  columnHelper.display({
187
198
  id: "actions",
188
199
  cell: ({ row }) => {
@@ -190,8 +201,9 @@ var useColumns = () => {
190
201
  }
191
202
  })
192
203
  ],
193
- [base]
204
+ [extended]
194
205
  );
206
+ return { columns, filters };
195
207
  };
196
208
 
197
209
  // src/pages/promotions/_components/promotion-list-table/promotion-list-table.tsx
@@ -206,7 +218,7 @@ var PromotionListTable = ({ children }) => {
206
218
  // src/pages/promotions/promotion-list-page.tsx
207
219
  import { jsx as jsx4 } from "react/jsx-runtime";
208
220
  var Root = ({ children }) => {
209
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(PromotionListTable, {}) });
221
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "promotions.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(PromotionListTable, {}) }) });
210
222
  };
211
223
  var PromotionListPage = Object.assign(Root, {
212
224
  Table: PromotionListTable,
@@ -7,25 +7,14 @@ import { jsx, jsxs } from "react/jsx-runtime";
7
7
  var AuthLayout = ({ children }) => {
8
8
  return /* @__PURE__ */ jsxs("div", { className: "flex h-dvh w-dvw overflow-hidden", children: [
9
9
  /* @__PURE__ */ jsx("div", { className: "bg-ui-bg-base border-ui-border-base flex h-full w-full flex-col overflow-y-auto border-r lg:w-[584px] lg:shrink-0", children: /* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col p-8 lg:px-14 lg:py-12", children }) }),
10
- /* @__PURE__ */ jsx(
11
- "div",
10
+ /* @__PURE__ */ jsx("div", { className: "relative hidden flex-1 overflow-hidden lg:flex", children: /* @__PURE__ */ jsx(
11
+ "img",
12
12
  {
13
- className: "relative hidden flex-1 items-center justify-center overflow-hidden lg:flex",
14
- style: {
15
- backgroundImage: `url(${assetUrl("/onboarding/bg.svg")})`,
16
- backgroundSize: "cover",
17
- backgroundPosition: "center"
18
- },
19
- children: /* @__PURE__ */ jsx(
20
- "img",
21
- {
22
- src: assetUrl("/onboarding/0.png"),
23
- alt: "",
24
- className: "max-h-[75%] w-[75%] object-contain"
25
- }
26
- )
13
+ src: assetUrl("/onboarding/illustration.svg"),
14
+ alt: "",
15
+ className: "h-full w-full object-cover"
27
16
  }
28
- )
17
+ ) })
29
18
  ] });
30
19
  };
31
20
 
@@ -7,23 +7,23 @@ import {
7
7
  CategoryHeader,
8
8
  ProductStatusCell,
9
9
  ProductStatusHeader
10
- } from "./chunk-WBCWER26.js";
10
+ } from "./chunk-7HLAOLG7.js";
11
11
  import {
12
12
  ProductCell
13
13
  } from "./chunk-FWPGOIFA.js";
14
14
  import {
15
15
  useProductTableFilters
16
- } from "./chunk-JK4M3ZKY.js";
16
+ } from "./chunk-OOK3BD5Z.js";
17
17
  import {
18
18
  PlaceholderCell
19
19
  } from "./chunk-PHOCVOZ5.js";
20
- import {
21
- _DataTable,
22
- useDataTable
23
- } from "./chunk-W3UHAQCV.js";
24
20
  import {
25
21
  SingleColumnPage
26
22
  } from "./chunk-YV6MK4PZ.js";
23
+ import {
24
+ _DataTable,
25
+ useDataTable
26
+ } from "./chunk-7TQNE3E2.js";
27
27
  import {
28
28
  useQueryParams
29
29
  } from "./chunk-THHRRYRS.js";
@@ -32,13 +32,14 @@ import {
32
32
  } from "./chunk-BDGZ4EQO.js";
33
33
  import {
34
34
  useBulkDeleteOffers
35
- } from "./chunk-EPRYM3FA.js";
35
+ } from "./chunk-ULEW54ED.js";
36
36
  import {
37
37
  useProducts
38
- } from "./chunk-G6YNCIVF.js";
38
+ } from "./chunk-744GLNZW.js";
39
39
 
40
40
  // src/pages/offers/offer-list-page.tsx
41
41
  import { Children as Children2 } from "react";
42
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
42
43
 
43
44
  // src/pages/offers/_components/offer-list-table.tsx
44
45
  import { Container } from "@medusajs/ui";
@@ -47,7 +48,9 @@ import { Outlet } from "react-router-dom";
47
48
 
48
49
  // src/pages/offers/_components/offer-list-data-table.tsx
49
50
  import { keepPreviousData } from "@tanstack/react-query";
51
+ import { useMemo as useMemo2 } from "react";
50
52
  import { useTranslation as useTranslation3 } from "react-i18next";
53
+ import { useExtendableTable } from "@mercurjs/dashboard-shared";
51
54
 
52
55
  // src/pages/offers/_components/use-offer-table-columns.tsx
53
56
  import { Text } from "@medusajs/ui";
@@ -200,6 +203,7 @@ var useOfferTableColumns = () => {
200
203
  var useOfferTableFilters = () => useProductTableFilters();
201
204
 
202
205
  // src/pages/offers/_components/use-offer-table-query.tsx
206
+ import { useLinkQuery } from "@mercurjs/dashboard-shared";
203
207
  var useOfferTableQuery = ({
204
208
  pageSize = 10,
205
209
  prefix
@@ -232,6 +236,7 @@ var useOfferTableQuery = ({
232
236
  order,
233
237
  q
234
238
  } = raw;
239
+ const { fields } = useLinkQuery("offer", OFFER_PRODUCT_LIST_FIELDS);
235
240
  const searchParams = {
236
241
  limit: pageSize,
237
242
  offset: offset ? Number(offset) : 0,
@@ -245,7 +250,7 @@ var useOfferTableQuery = ({
245
250
  created_at: created_at ? JSON.parse(created_at) : void 0,
246
251
  updated_at: updated_at ? JSON.parse(updated_at) : void 0,
247
252
  has_offer: "true",
248
- fields: OFFER_PRODUCT_LIST_FIELDS
253
+ fields
249
254
  };
250
255
  return {
251
256
  searchParams,
@@ -265,8 +270,12 @@ var OfferListDataTable = () => {
265
270
  { placeholderData: keepPreviousData }
266
271
  );
267
272
  const rows = products ?? [];
268
- const filters = useOfferTableFilters();
269
- const columns = useOfferTableColumns();
273
+ const baseFilters = useOfferTableFilters();
274
+ const { columns, filters: extFilters } = useColumns();
275
+ const filters = useMemo2(
276
+ () => [...baseFilters, ...extFilters],
277
+ [baseFilters, extFilters]
278
+ );
270
279
  const { table } = useDataTable({
271
280
  data: rows,
272
281
  columns,
@@ -308,6 +317,20 @@ var OfferListDataTable = () => {
308
317
  }
309
318
  );
310
319
  };
320
+ var useColumns = () => {
321
+ const base = useOfferTableColumns();
322
+ const actionsColumn = base[base.length - 1];
323
+ const baseColumns = base.slice(0, -1);
324
+ const { columns: extended, filters } = useExtendableTable({
325
+ model: "offer",
326
+ columns: baseColumns
327
+ });
328
+ const columns = useMemo2(
329
+ () => [...extended, actionsColumn],
330
+ [extended, actionsColumn]
331
+ );
332
+ return { columns, filters };
333
+ };
311
334
 
312
335
  // src/pages/offers/_components/offer-list-header.tsx
313
336
  import { Button, Heading } from "@medusajs/ui";
@@ -339,7 +362,7 @@ var OfferListTable = ({ children }) => /* @__PURE__ */ jsxs2(Container, { classN
339
362
 
340
363
  // src/pages/offers/offer-list-page.tsx
341
364
  import { jsx as jsx6 } from "react/jsx-runtime";
342
- var Root = ({ children }) => /* @__PURE__ */ jsx6(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx6(OfferListTable, {}) });
365
+ var Root = ({ children }) => /* @__PURE__ */ jsx6(SingleColumnPage, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "offers.list", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx6(OfferListTable, {}) }) });
343
366
  var OfferListPage = Object.assign(Root, {
344
367
  Table: OfferListTable,
345
368
  Header: OfferListHeader,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-INNFZYX2.js";
7
7
  import {
8
8
  useProductCategories
9
- } from "./chunk-3SH24DGG.js";
9
+ } from "./chunk-4EAC3GT7.js";
10
10
 
11
11
  // src/pages/products/common/components/category-combobox/single-category-combobox.tsx
12
12
  import {
@@ -24,7 +24,7 @@ var REGIONS_QUERY_KEY = "campaigns";
24
24
  var campaignsQueryKeys = queryKeysFactory(REGIONS_QUERY_KEY);
25
25
  var useCampaign = (id, query, options) => {
26
26
  const { data, ...rest } = useQuery({
27
- queryKey: campaignsQueryKeys.detail(id),
27
+ queryKey: campaignsQueryKeys.detail(id, query),
28
28
  queryFn: async () => sdk.vendor.campaigns.$id.query({ $id: id, ...query }),
29
29
  ...options
30
30
  });
@@ -108,10 +108,10 @@ var promotionsQueryKeys = {
108
108
  ],
109
109
  listRuleValues: (ruleType, ruleValue, query) => [PROMOTIONS_QUERY_KEY, ruleType, ruleValue, query]
110
110
  };
111
- var usePromotion = (id, options) => {
111
+ var usePromotion = (id, query, options) => {
112
112
  const { data, ...rest } = useQuery2({
113
- queryKey: promotionsQueryKeys.detail(id),
114
- queryFn: async () => sdk.vendor.promotions.$id.query({ $id: id }),
113
+ queryKey: promotionsQueryKeys.detail(id, query),
114
+ queryFn: async () => sdk.vendor.promotions.$id.query({ $id: id, ...query }),
115
115
  ...options
116
116
  });
117
117
  return { ...data, ...rest };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeletePriceList
3
- } from "./chunk-5PAUN3PM.js";
3
+ } from "./chunk-CLS6PNZY.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,6 @@
1
1
  import {
2
2
  ordersQueryKeys
3
- } from "./chunk-6FDPVW7Y.js";
3
+ } from "./chunk-UEPUKWD7.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CreateCampaignFormFields
3
- } from "./chunk-3I6ZAMGN.js";
3
+ } from "./chunk-2P5H7EVR.js";
4
4
  import {
5
5
  VisuallyHidden
6
6
  } from "./chunk-54TMLQH3.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-GDWBOQI5.js";
14
14
  import {
15
15
  useCreateCampaign
16
- } from "./chunk-ZLHCZ5F2.js";
16
+ } from "./chunk-JIXW4WHZ.js";
17
17
 
18
18
  // src/pages/campaigns/create/create-campaign-form/create-campaign-form.tsx
19
19
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ordersQueryKeys
3
- } from "./chunk-6FDPVW7Y.js";
3
+ } from "./chunk-UEPUKWD7.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -1,6 +1,6 @@
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";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  PlaceholderCell
3
3
  } from "./chunk-PHOCVOZ5.js";
4
- import {
5
- _DataTable,
6
- useDataTable
7
- } from "./chunk-W3UHAQCV.js";
8
4
  import {
9
5
  SingleColumnPage
10
6
  } from "./chunk-YV6MK4PZ.js";
7
+ import {
8
+ _DataTable,
9
+ useDataTable
10
+ } from "./chunk-7TQNE3E2.js";
11
11
  import {
12
12
  useQueryParams
13
13
  } from "./chunk-THHRRYRS.js";
@@ -20,10 +20,11 @@ import {
20
20
  import {
21
21
  useDeleteInventoryItem,
22
22
  useInventoryItems
23
- } from "./chunk-G6YNCIVF.js";
23
+ } from "./chunk-744GLNZW.js";
24
24
 
25
25
  // src/pages/inventory/inventory-list-page.tsx
26
26
  import { Children as Children2 } from "react";
27
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
27
28
 
28
29
  // src/pages/inventory/_components/inventory-list-table.tsx
29
30
  import { Children } from "react";
@@ -51,7 +52,8 @@ var InventoryListCreateButton = () => {
51
52
  };
52
53
 
53
54
  // src/pages/inventory/_components/inventory-list-data-table.tsx
54
- import { useState } from "react";
55
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
56
+ import { useMemo as useMemo2, useState } from "react";
55
57
  import { useTranslation as useTranslation5 } from "react-i18next";
56
58
  import { useNavigate } from "react-router-dom";
57
59
 
@@ -348,14 +350,23 @@ var InventoryListDataTable = () => {
348
350
  error
349
351
  } = useInventoryItems(
350
352
  {
351
- ...searchParams
353
+ ...searchParams,
354
+ ...useLinkQuery("inventory_item")
352
355
  },
353
356
  {
354
357
  placeholderData: keepPreviousData
355
358
  }
356
359
  );
357
- const filters = useInventoryTableFilters();
358
- const columns = useInventoryTableColumns();
360
+ const baseFilters = useInventoryTableFilters();
361
+ const baseColumns = useInventoryTableColumns();
362
+ const { columns, filters: extFilters } = useExtendableTable({
363
+ model: "inventory_item",
364
+ columns: baseColumns
365
+ });
366
+ const filters = useMemo2(
367
+ () => [...baseFilters, ...extFilters],
368
+ [baseFilters, extFilters]
369
+ );
359
370
  const { table } = useDataTable({
360
371
  data: inventory_items ?? [],
361
372
  columns,
@@ -423,7 +434,7 @@ var InventoryListTable = ({ children }) => {
423
434
  // src/pages/inventory/inventory-list-page.tsx
424
435
  import { jsx as jsx6 } from "react/jsx-runtime";
425
436
  var Root = ({ children }) => {
426
- return /* @__PURE__ */ jsx6(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx6(InventoryListTable, {}) });
437
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "inventory.list", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx6(InventoryListTable, {}) }) });
427
438
  };
428
439
  var InventoryListPage = Object.assign(Root, {
429
440
  Table: InventoryListTable,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  returnsQueryKeys
3
- } from "./chunk-3TST3EWQ.js";
3
+ } from "./chunk-HLAV55RT.js";
4
4
  import {
5
5
  ordersQueryKeys
6
- } from "./chunk-6FDPVW7Y.js";
6
+ } from "./chunk-UEPUKWD7.js";
7
7
  import {
8
8
  queryClient
9
9
  } from "./chunk-RHKRREUU.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PriceListUpdateProductsSchema,
3
3
  usePriceListGridColumns
4
- } from "./chunk-MT6WOKIW.js";
4
+ } from "./chunk-UKTJEFMZ.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-CLS6PNZY.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";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_dist
3
- } from "./chunk-DSTHXHJ5.js";
3
+ } from "./chunk-VYSB4CTB.js";
4
4
  import {
5
5
  useProductTags
6
6
  } from "./chunk-BQHVM46E.js";
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-NTJ3BMOE.js";
10
10
  import {
11
11
  useCollections
12
- } from "./chunk-O7BGGWW6.js";
12
+ } from "./chunk-5NVY7JZC.js";
13
13
  import {
14
14
  useProductCategories
15
- } from "./chunk-3SH24DGG.js";
15
+ } from "./chunk-4EAC3GT7.js";
16
16
  import {
17
17
  __toESM
18
18
  } from "./chunk-NBMM2TZK.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  categoriesQueryKeys,
6
6
  useProductCategories
7
- } from "./chunk-3SH24DGG.js";
7
+ } from "./chunk-4EAC3GT7.js";
8
8
  import {
9
9
  queryClient
10
10
  } from "./chunk-RHKRREUU.js";
@@ -10,13 +10,13 @@ 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";
@@ -26,6 +26,7 @@ import {
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,
@@ -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 { useExtension, withLinkFields } 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 links = useExtension().getLinks("product");
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: withLinkFields(DEFAULT_FIELDS, links)
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
  };