@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,39 +4,39 @@ import {
4
4
  import "./chunk-4F5GP7J7.js";
5
5
  import {
6
6
  useDeletePriceListAction
7
- } from "./chunk-IEVN722X.js";
7
+ } from "./chunk-JLLFEA23.js";
8
8
  import {
9
9
  getPriceListStatus
10
10
  } from "./chunk-XRNDVICA.js";
11
11
  import "./chunk-6IJMSVC6.js";
12
12
  import {
13
13
  useProductTableColumns
14
- } from "./chunk-FDKFUIYV.js";
15
- import "./chunk-WBCWER26.js";
14
+ } from "./chunk-WQQMCV7M.js";
15
+ import "./chunk-7HLAOLG7.js";
16
16
  import {
17
17
  useProductTableQuery
18
- } from "./chunk-H6LZ77GX.js";
18
+ } from "./chunk-QGZH3D2P.js";
19
19
  import "./chunk-FWPGOIFA.js";
20
20
  import {
21
21
  useProductTableFilters
22
- } from "./chunk-JK4M3ZKY.js";
22
+ } from "./chunk-OOK3BD5Z.js";
23
23
  import "./chunk-DB6ANJBO.js";
24
24
  import "./chunk-PHOCVOZ5.js";
25
25
  import "./chunk-SMQT3ZNO.js";
26
+ import {
27
+ TwoColumnPage
28
+ } from "./chunk-YV6MK4PZ.js";
26
29
  import "./chunk-FQERBIVS.js";
27
30
  import {
28
31
  _DataTable,
29
32
  useDataTable
30
- } from "./chunk-W3UHAQCV.js";
33
+ } from "./chunk-7TQNE3E2.js";
31
34
  import "./chunk-YN3FGNJM.js";
32
35
  import "./chunk-KCHYLLVG.js";
33
- import "./chunk-634XVU3D.js";
34
- import {
35
- TwoColumnPage
36
- } from "./chunk-YV6MK4PZ.js";
36
+ import "./chunk-CVXKASWV.js";
37
37
  import "./chunk-THHRRYRS.js";
38
38
  import "./chunk-LRD242C7.js";
39
- import "./chunk-DSTHXHJ5.js";
39
+ import "./chunk-VYSB4CTB.js";
40
40
  import "./chunk-WIYFXWRI.js";
41
41
  import {
42
42
  TwoColumnPageSkeleton
@@ -57,24 +57,24 @@ import {
57
57
  priceListsQueryKeys,
58
58
  usePriceList,
59
59
  usePriceListLinkProducts
60
- } from "./chunk-5PAUN3PM.js";
61
- import "./chunk-ZLHCZ5F2.js";
60
+ } from "./chunk-CLS6PNZY.js";
61
+ import "./chunk-JIXW4WHZ.js";
62
62
  import "./chunk-GZ4KTAWS.js";
63
63
  import "./chunk-PUAWN7SS.js";
64
- import "./chunk-MVEHWM7K.js";
65
- import "./chunk-OYUJYPDF.js";
66
- import "./chunk-O7BGGWW6.js";
64
+ import "./chunk-4NADEZZQ.js";
65
+ import "./chunk-XWHHBJGS.js";
66
+ import "./chunk-5NVY7JZC.js";
67
67
  import "./chunk-KIURBTC4.js";
68
- import "./chunk-3SH24DGG.js";
68
+ import "./chunk-4EAC3GT7.js";
69
69
  import "./chunk-JR7AABT5.js";
70
70
  import "./chunk-ZQCCVCHB.js";
71
- import "./chunk-5BQO3YQP.js";
72
- import "./chunk-EPRYM3FA.js";
73
- import "./chunk-6FDPVW7Y.js";
71
+ import "./chunk-MABIMRLS.js";
72
+ import "./chunk-ULEW54ED.js";
73
+ import "./chunk-UEPUKWD7.js";
74
74
  import "./chunk-JJP6AKMV.js";
75
75
  import {
76
76
  useProducts
77
- } from "./chunk-G6YNCIVF.js";
77
+ } from "./chunk-744GLNZW.js";
78
78
  import "./chunk-A5DJIOHN.js";
79
79
  import {
80
80
  queryClient
@@ -86,12 +86,17 @@ import {
86
86
  import "./chunk-NBMM2TZK.js";
87
87
 
88
88
  // src/pages/price-lists/[id]/loader.tsx
89
- var pricingDetailQuery = (id) => ({
90
- queryKey: priceListsQueryKeys.detail(id),
91
- queryFn: async () => await fetchQuery(`/vendor/price-lists/${id}`, {
92
- method: "GET"
93
- })
94
- });
89
+ import { getLinkQuery } from "@mercurjs/dashboard-shared";
90
+ var pricingDetailQuery = (id) => {
91
+ const query = getLinkQuery("price_list");
92
+ return {
93
+ queryKey: priceListsQueryKeys.detail(id, query),
94
+ queryFn: async () => await fetchQuery(`/vendor/price-lists/${id}`, {
95
+ method: "GET",
96
+ query
97
+ })
98
+ };
99
+ };
95
100
  var loader = async ({ params }) => {
96
101
  const id = params.id;
97
102
  const query = pricingDetailQuery(id);
@@ -101,11 +106,13 @@ var loader = async ({ params }) => {
101
106
  // src/pages/price-lists/[id]/price-list-detail-page.tsx
102
107
  import { Children } from "react";
103
108
  import { useLoaderData, useParams } from "react-router-dom";
109
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
104
110
 
105
111
  // src/pages/price-lists/[id]/_components/price-list-configuration-section/price-list-configuration-section.tsx
106
112
  import { PencilSquare } from "@medusajs/icons";
107
113
  import { Container, Heading } from "@medusajs/ui";
108
114
  import { useTranslation } from "react-i18next";
115
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
109
116
  import { jsx, jsxs } from "react/jsx-runtime";
110
117
  var PriceListConfigurationSection = ({
111
118
  priceList
@@ -138,6 +145,14 @@ var PriceListConfigurationSection = ({
138
145
  startsAt: priceList.starts_at,
139
146
  showTime: true
140
147
  }
148
+ ),
149
+ /* @__PURE__ */ jsx(
150
+ DisplayExtensionZone,
151
+ {
152
+ model: "price_list",
153
+ zone: "configuration",
154
+ data: priceList
155
+ }
141
156
  )
142
157
  ] });
143
158
  };
@@ -146,6 +161,7 @@ var PriceListConfigurationSection = ({
146
161
  import { PencilSquare as PencilSquare2, Trash } from "@medusajs/icons";
147
162
  import { Container as Container2, Heading as Heading2, StatusBadge, Text } from "@medusajs/ui";
148
163
  import { useTranslation as useTranslation2 } from "react-i18next";
164
+ import { DisplayExtensionZone as DisplayExtensionZone2, DisplayField } from "@mercurjs/dashboard-shared";
149
165
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
150
166
  var PriceListGeneralSection = ({
151
167
  priceList
@@ -157,9 +173,9 @@ var PriceListGeneralSection = ({
157
173
  const type = priceList.type === "sale" ? t("priceLists.fields.type.options.sale.label") : t("priceLists.fields.type.options.override.label");
158
174
  return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", children: [
159
175
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", children: [
160
- /* @__PURE__ */ jsx2(Heading2, { children: priceList.title }),
176
+ /* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "title", data: priceList, children: /* @__PURE__ */ jsx2(Heading2, { children: priceList.title }) }),
161
177
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-4", children: [
162
- /* @__PURE__ */ jsx2(StatusBadge, { color, children: text }),
178
+ /* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "status", data: priceList, children: /* @__PURE__ */ jsx2(StatusBadge, { color, children: text }) }),
163
179
  /* @__PURE__ */ jsx2(
164
180
  ActionMenu,
165
181
  {
@@ -187,18 +203,33 @@ var PriceListGeneralSection = ({
187
203
  )
188
204
  ] })
189
205
  ] }),
190
- /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
206
+ /* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "type", data: priceList, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
191
207
  /* @__PURE__ */ jsx2(Text, { leading: "compact", size: "small", weight: "plus", children: t("fields.type") }),
192
208
  /* @__PURE__ */ jsx2(Text, { size: "small", className: "text-pretty", children: type })
193
- ] }),
194
- /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
209
+ ] }) }),
210
+ /* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "description", data: priceList, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
195
211
  /* @__PURE__ */ jsx2(Text, { leading: "compact", size: "small", weight: "plus", children: t("fields.description") }),
196
212
  /* @__PURE__ */ jsx2(Text, { size: "small", className: "text-pretty", children: priceList.description })
197
- ] }),
198
- /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
213
+ ] }) }),
214
+ /* @__PURE__ */ jsx2(DisplayField, { model: "price_list", zone: "general", id: "price_overrides", data: priceList, children: /* @__PURE__ */ jsxs2("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
199
215
  /* @__PURE__ */ jsx2(Text, { leading: "compact", size: "small", weight: "plus", children: t("priceLists.fields.priceOverrides.label") }),
200
216
  /* @__PURE__ */ jsx2(Text, { size: "small", className: "text-pretty", children: overrideCount || "-" })
201
- ] })
217
+ ] }) }),
218
+ /* @__PURE__ */ jsx2(
219
+ DisplayExtensionZone2,
220
+ {
221
+ model: "price_list",
222
+ zone: "general",
223
+ data: priceList,
224
+ builtInFieldIds: [
225
+ "title",
226
+ "status",
227
+ "type",
228
+ "description",
229
+ "price_overrides"
230
+ ]
231
+ }
232
+ )
202
233
  ] });
203
234
  };
204
235
 
@@ -210,6 +241,7 @@ import { createColumnHelper } from "@tanstack/react-table";
210
241
  import { useMemo, useState } from "react";
211
242
  import { useTranslation as useTranslation3 } from "react-i18next";
212
243
  import { useNavigate } from "react-router-dom";
244
+ import { DisplayExtensionZone as DisplayExtensionZone3 } from "@mercurjs/dashboard-shared";
213
245
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
214
246
  var PAGE_SIZE = 10;
215
247
  var PREFIX = "p";
@@ -345,6 +377,14 @@ var PriceListProductSection = ({
345
377
  prefix: PREFIX,
346
378
  queryObject: raw
347
379
  }
380
+ ),
381
+ /* @__PURE__ */ jsx3(
382
+ DisplayExtensionZone3,
383
+ {
384
+ model: "price_list",
385
+ zone: "products",
386
+ data: priceList
387
+ }
348
388
  )
349
389
  ] });
350
390
  };
@@ -455,7 +495,8 @@ import { Fragment, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
455
495
  var Root = ({ children }) => {
456
496
  const initialData = useLoaderData();
457
497
  const { id } = useParams();
458
- const { price_list, isLoading, isError, error } = usePriceList(id, void 0, {
498
+ const linkQuery = useLinkQuery("price_list");
499
+ const { price_list, isLoading, isError, error } = usePriceList(id, linkQuery, {
459
500
  placeholderData: initialData
460
501
  });
461
502
  if (isLoading || !price_list) {
@@ -465,11 +506,11 @@ var Root = ({ children }) => {
465
506
  throw error;
466
507
  }
467
508
  return /* @__PURE__ */ jsx4(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs4(TwoColumnPage, { hasOutlet: true, data: price_list, children: [
468
- /* @__PURE__ */ jsxs4(TwoColumnPage.Main, { children: [
509
+ /* @__PURE__ */ jsx4(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs4(WidgetZone, { id: "price-lists.detail.main", data: price_list, children: [
469
510
  /* @__PURE__ */ jsx4(PriceListGeneralSection, { priceList: price_list }),
470
511
  /* @__PURE__ */ jsx4(PriceListProductSection, { priceList: price_list })
471
- ] }),
472
- /* @__PURE__ */ jsx4(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx4(PriceListConfigurationSection, { priceList: price_list }) })
512
+ ] }) }),
513
+ /* @__PURE__ */ jsx4(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "price-lists.detail.side", data: price_list, children: /* @__PURE__ */ jsx4(PriceListConfigurationSection, { priceList: price_list }) }) })
473
514
  ] }) });
474
515
  };
475
516
  var PriceListDetailPage = Object.assign(Root, {
@@ -11,17 +11,17 @@ import {
11
11
  import {
12
12
  SectionRow
13
13
  } from "./chunk-4TLP3TAA.js";
14
+ import {
15
+ TwoColumnPage
16
+ } from "./chunk-YV6MK4PZ.js";
14
17
  import "./chunk-FQERBIVS.js";
15
18
  import {
16
19
  _DataTable,
17
20
  useDataTable
18
- } from "./chunk-W3UHAQCV.js";
21
+ } from "./chunk-7TQNE3E2.js";
19
22
  import "./chunk-YN3FGNJM.js";
20
23
  import "./chunk-KCHYLLVG.js";
21
- import "./chunk-634XVU3D.js";
22
- import {
23
- TwoColumnPage
24
- } from "./chunk-YV6MK4PZ.js";
24
+ import "./chunk-CVXKASWV.js";
25
25
  import {
26
26
  useQueryParams
27
27
  } from "./chunk-THHRRYRS.js";
@@ -43,7 +43,7 @@ import {
43
43
  useDeleteInventoryItemLevel,
44
44
  useInventoryItem,
45
45
  useInventoryItemLevels
46
- } from "./chunk-G6YNCIVF.js";
46
+ } from "./chunk-744GLNZW.js";
47
47
  import "./chunk-A5DJIOHN.js";
48
48
  import {
49
49
  queryClient
@@ -55,13 +55,17 @@ import {
55
55
  import "./chunk-NBMM2TZK.js";
56
56
 
57
57
  // src/pages/inventory/[id]/loader.tsx
58
- var inventoryDetailQuery = (id) => ({
59
- queryKey: inventoryItemsQueryKeys.detail(id),
60
- queryFn: async () => fetchQuery(
61
- `/vendor/inventory-items/${id}?fields=${INVENTORY_DETAIL_FIELDS}`,
62
- { method: "GET" }
63
- )
64
- });
58
+ import { getLinkQuery } from "@mercurjs/dashboard-shared";
59
+ var inventoryDetailQuery = (id) => {
60
+ const query = getLinkQuery("inventory_item", INVENTORY_DETAIL_FIELDS);
61
+ return {
62
+ queryKey: inventoryItemsQueryKeys.detail(id, query),
63
+ queryFn: async () => fetchQuery(
64
+ `/vendor/inventory-items/${id}?fields=${query.fields}`,
65
+ { method: "GET" }
66
+ )
67
+ };
68
+ };
65
69
  var loader = async ({ params }) => {
66
70
  const id = params.id;
67
71
  const query = inventoryDetailQuery(id);
@@ -71,9 +75,11 @@ var loader = async ({ params }) => {
71
75
  // src/pages/inventory/[id]/inventory-detail-page.tsx
72
76
  import { Children } from "react";
73
77
  import { useLoaderData, useParams } from "react-router-dom";
78
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
74
79
 
75
80
  // src/pages/inventory/[id]/_components/inventory-item-attributes/attributes-section.tsx
76
81
  import { Container, Heading } from "@medusajs/ui";
82
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
77
83
  import { PencilSquare } from "@medusajs/icons";
78
84
  import { useTranslation } from "react-i18next";
79
85
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -113,6 +119,14 @@ var InventoryItemAttributeSection = ({
113
119
  title: t("fields.countryOfOrigin"),
114
120
  value: getFormattedCountry(inventoryItem.origin_country)
115
121
  }
122
+ ),
123
+ /* @__PURE__ */ jsx(
124
+ DisplayExtensionZone,
125
+ {
126
+ model: "inventory_item",
127
+ zone: "attributes",
128
+ data: inventoryItem
129
+ }
116
130
  )
117
131
  ] });
118
132
  };
@@ -121,7 +135,9 @@ var InventoryItemAttributeSection = ({
121
135
  import { Container as Container2, Heading as Heading2 } from "@medusajs/ui";
122
136
  import { PencilSquare as PencilSquare2 } from "@medusajs/icons";
123
137
  import { useTranslation as useTranslation2 } from "react-i18next";
138
+ import { DisplayExtensionZone as DisplayExtensionZone2, DisplayField } from "@mercurjs/dashboard-shared";
124
139
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
140
+ var GENERAL_FIELD_IDS = ["title", "sku", "in_stock", "reserved", "available"];
125
141
  var InventoryItemGeneralSection = ({
126
142
  inventoryItem
127
143
  }) => {
@@ -137,11 +153,20 @@ var InventoryItemGeneralSection = ({
137
153
  const availableQuantity = stockedQuantity - reservedQuantity;
138
154
  return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", children: [
139
155
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", children: [
140
- /* @__PURE__ */ jsxs2(Heading2, { children: [
141
- inventoryItem.title ?? inventoryItem.sku,
142
- " ",
143
- t("fields.details")
144
- ] }),
156
+ /* @__PURE__ */ jsx2(
157
+ DisplayField,
158
+ {
159
+ model: "inventory_item",
160
+ zone: "general",
161
+ id: "title",
162
+ data: inventoryItem,
163
+ children: /* @__PURE__ */ jsxs2(Heading2, { children: [
164
+ inventoryItem.title ?? inventoryItem.sku,
165
+ " ",
166
+ t("fields.details")
167
+ ] })
168
+ }
169
+ ),
145
170
  /* @__PURE__ */ jsx2(
146
171
  ActionMenu,
147
172
  {
@@ -159,36 +184,81 @@ var InventoryItemGeneralSection = ({
159
184
  }
160
185
  )
161
186
  ] }),
162
- /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.sku"), value: inventoryItem.sku ?? "-" }),
163
187
  /* @__PURE__ */ jsx2(
164
- SectionRow,
188
+ DisplayField,
189
+ {
190
+ model: "inventory_item",
191
+ zone: "general",
192
+ id: "sku",
193
+ data: inventoryItem,
194
+ children: /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.sku"), value: inventoryItem.sku ?? "-" })
195
+ }
196
+ ),
197
+ /* @__PURE__ */ jsx2(
198
+ DisplayField,
165
199
  {
166
- title: t("fields.inStock"),
167
- value: getQuantityFormat(
168
- stockedQuantity,
169
- inventoryItem.location_levels?.length
200
+ model: "inventory_item",
201
+ zone: "general",
202
+ id: "in_stock",
203
+ data: inventoryItem,
204
+ children: /* @__PURE__ */ jsx2(
205
+ SectionRow,
206
+ {
207
+ title: t("fields.inStock"),
208
+ value: getQuantityFormat(
209
+ stockedQuantity,
210
+ inventoryItem.location_levels?.length
211
+ )
212
+ }
170
213
  )
171
214
  }
172
215
  ),
173
216
  /* @__PURE__ */ jsx2(
174
- SectionRow,
217
+ DisplayField,
175
218
  {
176
- title: t("inventory.reserved"),
177
- value: getQuantityFormat(
178
- reservedQuantity,
179
- inventoryItem.location_levels?.length
219
+ model: "inventory_item",
220
+ zone: "general",
221
+ id: "reserved",
222
+ data: inventoryItem,
223
+ children: /* @__PURE__ */ jsx2(
224
+ SectionRow,
225
+ {
226
+ title: t("inventory.reserved"),
227
+ value: getQuantityFormat(
228
+ reservedQuantity,
229
+ inventoryItem.location_levels?.length
230
+ )
231
+ }
180
232
  )
181
233
  }
182
234
  ),
183
235
  /* @__PURE__ */ jsx2(
184
- SectionRow,
236
+ DisplayField,
185
237
  {
186
- title: t("inventory.available"),
187
- value: getQuantityFormat(
188
- availableQuantity,
189
- inventoryItem.location_levels?.length
238
+ model: "inventory_item",
239
+ zone: "general",
240
+ id: "available",
241
+ data: inventoryItem,
242
+ children: /* @__PURE__ */ jsx2(
243
+ SectionRow,
244
+ {
245
+ title: t("inventory.available"),
246
+ value: getQuantityFormat(
247
+ availableQuantity,
248
+ inventoryItem.location_levels?.length
249
+ )
250
+ }
190
251
  )
191
252
  }
253
+ ),
254
+ /* @__PURE__ */ jsx2(
255
+ DisplayExtensionZone2,
256
+ {
257
+ model: "inventory_item",
258
+ zone: "general",
259
+ data: inventoryItem,
260
+ builtInFieldIds: GENERAL_FIELD_IDS
261
+ }
192
262
  )
193
263
  ] });
194
264
  };
@@ -203,6 +273,7 @@ var getQuantityFormat = (quantity, locations) => {
203
273
  import { Button, Container as Container3, Heading as Heading3 } from "@medusajs/ui";
204
274
  import { useTranslation as useTranslation5 } from "react-i18next";
205
275
  import { Link } from "react-router-dom";
276
+ import { DisplayExtensionZone as DisplayExtensionZone3 } from "@mercurjs/dashboard-shared";
206
277
 
207
278
  // src/pages/inventory/[id]/_components/location-levels-table/use-location-list-table-columns.tsx
208
279
  import { createColumnHelper } from "@tanstack/react-table";
@@ -404,7 +475,15 @@ var InventoryItemLocationLevelsSection = ({
404
475
  /* @__PURE__ */ jsx6(Heading3, { children: t("inventory.locationLevels") }),
405
476
  /* @__PURE__ */ jsx6(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx6(Link, { to: "locations", children: t("inventory.manageLocations") }) })
406
477
  ] }),
407
- /* @__PURE__ */ jsx6(ItemLocationListTable, { inventory_item_id: inventoryItem.id })
478
+ /* @__PURE__ */ jsx6(ItemLocationListTable, { inventory_item_id: inventoryItem.id }),
479
+ /* @__PURE__ */ jsx6(
480
+ DisplayExtensionZone3,
481
+ {
482
+ model: "inventory_item",
483
+ zone: "locations",
484
+ data: inventoryItem
485
+ }
486
+ )
408
487
  ] });
409
488
  };
410
489
 
@@ -413,6 +492,7 @@ import { TriangleRightMini } from "@medusajs/icons";
413
492
  import { Container as Container4, Heading as Heading4 } from "@medusajs/ui";
414
493
  import { useTranslation as useTranslation6 } from "react-i18next";
415
494
  import { Link as Link2 } from "react-router-dom";
495
+ import { DisplayExtensionZone as DisplayExtensionZone4 } from "@mercurjs/dashboard-shared";
416
496
  import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
417
497
  var InventoryItemVariantsSection = ({
418
498
  variants
@@ -445,7 +525,15 @@ var InventoryItemVariantsSection = ({
445
525
  },
446
526
  variant.id
447
527
  );
448
- }) })
528
+ }) }),
529
+ /* @__PURE__ */ jsx7(
530
+ DisplayExtensionZone4,
531
+ {
532
+ model: "inventory_item",
533
+ zone: "variants",
534
+ data: variants
535
+ }
536
+ )
449
537
  ] });
450
538
  };
451
539
 
@@ -456,7 +544,7 @@ var Root = ({ children }) => {
456
544
  const initialData = useLoaderData();
457
545
  const { inventory_item, isPending: isLoading } = useInventoryItem(
458
546
  id,
459
- { fields: INVENTORY_DETAIL_FIELDS },
547
+ useLinkQuery("inventory_item", INVENTORY_DETAIL_FIELDS),
460
548
  { initialData }
461
549
  );
462
550
  if (isLoading || !inventory_item) {
@@ -471,19 +559,29 @@ var Root = ({ children }) => {
471
559
  );
472
560
  }
473
561
  return /* @__PURE__ */ jsx8(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs5(TwoColumnPage, { data: inventory_item, children: [
474
- /* @__PURE__ */ jsxs5(TwoColumnPage.Main, { children: [
562
+ /* @__PURE__ */ jsx8(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "inventory.detail.main", data: inventory_item, children: [
475
563
  /* @__PURE__ */ jsx8(InventoryItemGeneralSection, { inventoryItem: inventory_item }),
476
- /* @__PURE__ */ jsx8(InventoryItemLocationLevelsSection, { inventoryItem: inventory_item })
477
- ] }),
478
- /* @__PURE__ */ jsxs5(TwoColumnPage.Sidebar, { children: [
564
+ /* @__PURE__ */ jsx8(
565
+ InventoryItemLocationLevelsSection,
566
+ {
567
+ inventoryItem: inventory_item
568
+ }
569
+ )
570
+ ] }) }),
571
+ /* @__PURE__ */ jsx8(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "inventory.detail.side", data: inventory_item, children: [
479
572
  /* @__PURE__ */ jsx8(
480
573
  InventoryItemVariantsSection,
481
574
  {
482
575
  variants: inventory_item.variants
483
576
  }
484
577
  ),
485
- /* @__PURE__ */ jsx8(InventoryItemAttributeSection, { inventoryItem: inventory_item })
486
- ] })
578
+ /* @__PURE__ */ jsx8(
579
+ InventoryItemAttributeSection,
580
+ {
581
+ inventoryItem: inventory_item
582
+ }
583
+ )
584
+ ] }) })
487
585
  ] }) });
488
586
  };
489
587
  var InventoryDetailPage = Object.assign(Root, {