@mercurjs/admin 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 (297) hide show
  1. package/dist/{add-campaign-promotions-QK73ARX4.js → add-campaign-promotions-RH5L6VMH.js} +7 -7
  2. package/dist/{adjust-inventory-X45NEQFK.js → adjust-inventory-P2M7KZ77.js} +10 -10
  3. package/dist/{api-key-management-create-LOD37GOQ.js → api-key-management-create-KDKSGJ4C.js} +3 -3
  4. package/dist/{api-key-management-detail-HKNZPPR2.js → api-key-management-detail-2RZ6NOYH.js} +13 -13
  5. package/dist/{api-key-management-edit-JP2GUMMJ.js → api-key-management-edit-NOGBLKBT.js} +3 -3
  6. package/dist/{api-key-management-list-5RXBJ24C.js → api-key-management-list-CGHUURWX.js} +8 -8
  7. package/dist/{api-key-management-sales-channels-4GLVMHU6.js → api-key-management-sales-channels-VJMUPYV3.js} +5 -5
  8. package/dist/{attribute-create-VGL7LGIH.js → attribute-create-KR4DSDH2.js} +15 -13
  9. package/dist/{attribute-detail-EKDAYT4B.js → attribute-detail-6FMX7IDW.js} +21 -20
  10. package/dist/{attribute-edit-OBNLNOJS.js → attribute-edit-WXO5FGR6.js} +2 -2
  11. package/dist/{attribute-edit-possible-value-QDFVWLA3.js → attribute-edit-possible-value-RO7BY3NC.js} +2 -2
  12. package/dist/{attribute-list-6A72PBIY.js → attribute-list-PJXWYS4C.js} +15 -15
  13. package/dist/{breadcrumb-IEEJTH47.js → breadcrumb-OBHTESQD.js} +1 -1
  14. package/dist/{campaign-budget-edit-NONE5NMV.js → campaign-budget-edit-QXAXRI6B.js} +1 -1
  15. package/dist/{campaign-configuration-JYSVIQFE.js → campaign-configuration-A3E6G2VQ.js} +1 -1
  16. package/dist/{campaign-create-6U2PONHA.js → campaign-create-TZH66JVU.js} +2 -2
  17. package/dist/{campaign-detail-RNB3FEJZ.js → campaign-detail-3PNOOUGP.js} +26 -22
  18. package/dist/{campaign-edit-MAS3DCFB.js → campaign-edit-6CIGS4ZU.js} +23 -7
  19. package/dist/{campaign-list-CDV4GWWD.js → campaign-list-TNJDWTM5.js} +6 -6
  20. package/dist/{categories-metadata-4LXL2PWA.js → categories-metadata-AIT33J5U.js} +10 -10
  21. package/dist/{category-create-AIS2MG7E.js → category-create-NTSIOKLK.js} +3 -3
  22. package/dist/{category-detail-557376TZ.js → category-detail-3WUCMDWO.js} +29 -25
  23. package/dist/{category-edit-LYR2IOTA.js → category-edit-4PGWERPJ.js} +26 -9
  24. package/dist/{category-icon-edit-W2TPCSDC.js → category-icon-edit-C2VAH5JA.js} +2 -2
  25. package/dist/{category-list-XKRI24VN.js → category-list-D4J4G6HW.js} +8 -8
  26. package/dist/{category-media-PC4V7YU4.js → category-media-E5UUDN3I.js} +2 -2
  27. package/dist/category-organize-T45BC4HL.js +129 -0
  28. package/dist/{category-products-44PCDDNN.js → category-products-TTQGSVUC.js} +18 -18
  29. package/dist/{chunk-LVRCEGL7.js → chunk-2KERYQNF.js} +52 -26
  30. package/dist/{chunk-KGA2XI6W.js → chunk-3F4Z4BNA.js} +33 -15
  31. package/dist/{chunk-3BTRS4AA.js → chunk-3FKB6UTO.js} +2 -2
  32. package/dist/{chunk-GCU4LHGY.js → chunk-3KS7PC2Z.js} +79 -33
  33. package/dist/{chunk-HI7NZVSJ.js → chunk-3LDOWS4A.js} +4 -3
  34. package/dist/{chunk-HT34QVZR.js → chunk-3LGGCLSO.js} +4 -3
  35. package/dist/{chunk-UZ452ISX.js → chunk-3WCK2FT4.js} +42 -27
  36. package/dist/{chunk-DPG4AWSG.js → chunk-4DJL3XN7.js} +25 -13
  37. package/dist/{chunk-PFBJWWUA.js → chunk-4QQ6BFWQ.js} +2 -2
  38. package/dist/{chunk-NOKCLBAL.js → chunk-4TNOZ4VH.js} +2 -1
  39. package/dist/{chunk-FICKHCWL.js → chunk-4TW5RTWO.js} +5 -3
  40. package/dist/{chunk-6DJQITWV.js → chunk-5CHUXS7G.js} +1 -1
  41. package/dist/{chunk-QDUZCJ7F.js → chunk-5EOYDQAS.js} +1 -1
  42. package/dist/{chunk-CNODWD3F.js → chunk-5NAX6LXB.js} +5 -4
  43. package/dist/{chunk-BFUHW56P.js → chunk-5NC3VFXY.js} +1 -1
  44. package/dist/{chunk-H7NIKMPE.js → chunk-5NSOIZFB.js} +3 -1
  45. package/dist/{chunk-RIO2IHPE.js → chunk-67KYEPSA.js} +1 -1
  46. package/dist/{chunk-EOSJHPHN.js → chunk-6DDS7IRR.js} +6 -5
  47. package/dist/{chunk-XW2BES72.js → chunk-6R767EBC.js} +8 -5
  48. package/dist/{chunk-EGHDC6K6.js → chunk-6S5RUSUU.js} +12 -11
  49. package/dist/{chunk-TDJSZ73V.js → chunk-6TMGHMZ2.js} +38 -10
  50. package/dist/{chunk-CW3HYGS5.js → chunk-7CQD5AQ6.js} +2 -6
  51. package/dist/{chunk-JSVYNNPF.js → chunk-7IGLZARZ.js} +2 -2
  52. package/dist/{chunk-PAYQJPGK.js → chunk-7PPT3477.js} +2 -2
  53. package/dist/{chunk-JLCA6PWC.js → chunk-AASCLZ5N.js} +1 -1
  54. package/dist/{chunk-RGS5ZOY7.js → chunk-AFYILTAC.js} +4 -3
  55. package/dist/chunk-APAT344J.js +144 -0
  56. package/dist/{chunk-4346EIRG.js → chunk-APMBU7ZV.js} +3 -3
  57. package/dist/{chunk-VGXJXU7X.js → chunk-AW5OKJQZ.js} +7 -6
  58. package/dist/{chunk-VY72NX26.js → chunk-BBD4WOUK.js} +5 -4
  59. package/dist/{chunk-JU2O2H7I.js → chunk-BHF4TD3T.js} +6 -6
  60. package/dist/{chunk-THPXRTE5.js → chunk-BHSY6RCN.js} +34 -13
  61. package/dist/{chunk-VYQ6ASFF.js → chunk-CWQKHTH6.js} +26 -10
  62. package/dist/{chunk-56UFDHNO.js → chunk-DJD3MWED.js} +1 -1
  63. package/dist/{chunk-EX4AGESR.js → chunk-DMZDXTS5.js} +95 -34
  64. package/dist/{chunk-OPSGADQI.js → chunk-DP6YFZHP.js} +1 -1
  65. package/dist/{chunk-HGTPUAHD.js → chunk-DUVYF37J.js} +1 -1
  66. package/dist/{chunk-BTJR5RSV.js → chunk-F57NIOVJ.js} +49 -20
  67. package/dist/{chunk-CHMIK6PK.js → chunk-F6DGTW4E.js} +3 -3
  68. package/dist/{chunk-BNFTJW4L.js → chunk-FVG5DTS6.js} +2 -2
  69. package/dist/{chunk-LSMTJU6Y.js → chunk-G2LHEJLS.js} +3 -3
  70. package/dist/{chunk-7O7LYBHL.js → chunk-G67PGZDM.js} +67 -25
  71. package/dist/{chunk-6ZVV2XHU.js → chunk-GRFWCCUW.js} +1 -1
  72. package/dist/{chunk-BLR3NTU6.js → chunk-GVPKRQWI.js} +4 -6
  73. package/dist/{chunk-BF7X4JQT.js → chunk-H3D6V3KM.js} +3 -2
  74. package/dist/{chunk-TZM63FZ4.js → chunk-HC7FWIMY.js} +7 -6
  75. package/dist/{chunk-W7CJSBDM.js → chunk-HYDXR5K4.js} +27 -15
  76. package/dist/{chunk-AMZ2QSSI.js → chunk-I5FOWDOM.js} +9 -6
  77. package/dist/{chunk-OYZIFLLC.js → chunk-I5HY5Q3K.js} +1 -1
  78. package/dist/{chunk-YMOP6JKN.js → chunk-IGTR66D2.js} +2 -2
  79. package/dist/{chunk-WKDHY2DJ.js → chunk-IJ2CSCLP.js} +5 -2
  80. package/dist/{chunk-NISAIYSW.js → chunk-JJOITP32.js} +11 -10
  81. package/dist/{chunk-25U23TXK.js → chunk-KT7CXVLT.js} +6 -5
  82. package/dist/{chunk-BVIIRGSW.js → chunk-KUBTN5TC.js} +4 -2
  83. package/dist/{chunk-DL7ENIQB.js → chunk-LEQINL55.js} +2 -1
  84. package/dist/{chunk-FMJBQE56.js → chunk-LPIPSLR7.js} +1 -1
  85. package/dist/{chunk-KFYTUQXT.js → chunk-LQQERWMM.js} +11 -10
  86. package/dist/{chunk-4C7L7TJT.js → chunk-LXNWSQOE.js} +3 -3
  87. package/dist/{chunk-VBKFXL2Q.js → chunk-MEDZM6N7.js} +26 -10
  88. package/dist/{chunk-ZKHF75MZ.js → chunk-MMKUMSZS.js} +1 -1
  89. package/dist/{chunk-GISFIAGQ.js → chunk-MPRW23TB.js} +47 -17
  90. package/dist/{chunk-GCEOEV6P.js → chunk-MTHPNKQ4.js} +4 -4
  91. package/dist/{chunk-ZU74CNL4.js → chunk-MUKW4VRI.js} +8 -7
  92. package/dist/{chunk-TH26CWVG.js → chunk-NLJ5F7FS.js} +1 -1
  93. package/dist/{chunk-6KWWJE5P.js → chunk-O7SDCQD6.js} +6 -6
  94. package/dist/{chunk-HQM7D57C.js → chunk-ODDJZVYL.js} +8 -6
  95. package/dist/{chunk-2FPQHWJZ.js → chunk-OG5AVHPY.js} +110 -28
  96. package/dist/{chunk-HRDVGFS7.js → chunk-OX6HZPVY.js} +21 -11
  97. package/dist/{chunk-5ACJR6WB.js → chunk-P2DFLKCN.js} +3 -3
  98. package/dist/{chunk-NWSKT55Z.js → chunk-P2JA3QTQ.js} +7 -6
  99. package/dist/{chunk-ZVPTNPLI.js → chunk-P3GGL5JL.js} +1 -1
  100. package/dist/{chunk-NZVS6B77.js → chunk-PDID73QY.js} +574 -536
  101. package/dist/{chunk-5Y2AIJ2T.js → chunk-PEUWV5YK.js} +2 -1
  102. package/dist/{chunk-K7H77TA5.js → chunk-PHWYJ26A.js} +1 -1
  103. package/dist/{chunk-W3P3RP5R.js → chunk-PPRIEP4H.js} +25 -11
  104. package/dist/{chunk-JEDX4KBB.js → chunk-Q5DRFJPI.js} +6 -5
  105. package/dist/{chunk-J3L2FUIA.js → chunk-QA7S7WVH.js} +54 -38
  106. package/dist/{chunk-Q6QXFLUY.js → chunk-QEX45BI3.js} +3 -1
  107. package/dist/{chunk-JZJT26E3.js → chunk-QVIX6O76.js} +1 -1
  108. package/dist/{chunk-F2SZ4LPF.js → chunk-R2LW5LGL.js} +40 -22
  109. package/dist/{chunk-DI2M3J5Q.js → chunk-RMB7MPIT.js} +1 -1
  110. package/dist/{chunk-2Z2M5K5A.js → chunk-RT2MBSJQ.js} +7 -6
  111. package/dist/{chunk-65YE4SVL.js → chunk-RYISNVIR.js} +27 -14
  112. package/dist/{chunk-BILFRATX.js → chunk-SAU35JEB.js} +1 -1
  113. package/dist/{chunk-PMVWIBTI.js → chunk-SLAWONP2.js} +52 -17
  114. package/dist/{chunk-ML7UVBKL.js → chunk-TIG77LHS.js} +1 -1
  115. package/dist/{chunk-YRINVEI3.js → chunk-TJJ7S3GL.js} +3 -2
  116. package/dist/{chunk-4BCUGMOR.js → chunk-UK5BVJI7.js} +1 -1
  117. package/dist/{chunk-MOG7LT73.js → chunk-UK5CZJ4A.js} +9 -7
  118. package/dist/{chunk-4BPQNCF5.js → chunk-UVH7PC5B.js} +6 -5
  119. package/dist/{chunk-HB3KRNZM.js → chunk-VH4W6LKI.js} +4 -3
  120. package/dist/{chunk-YRUCTB6M.js → chunk-VHOCBKSA.js} +3 -2
  121. package/dist/{chunk-IVBNI2QE.js → chunk-VQ6OPDS3.js} +85 -30
  122. package/dist/{chunk-LQSSUC7W.js → chunk-VX6OCQLN.js} +6 -5
  123. package/dist/{chunk-DSTHXHJ5.js → chunk-VYSB4CTB.js} +1356 -1356
  124. package/dist/{chunk-6BWJWA2F.js → chunk-WF2PHYTE.js} +6 -5
  125. package/dist/{chunk-GLZLBHFC.js → chunk-WX4ABVXL.js} +2 -2
  126. package/dist/{chunk-VPYI4X6C.js → chunk-X4SSIHH7.js} +35 -16
  127. package/dist/{chunk-VJ4LQXMA.js → chunk-XDMCPTDG.js} +96 -69
  128. package/dist/{chunk-KT4DGVRQ.js → chunk-XNUH2AOW.js} +8 -7
  129. package/dist/{chunk-OAN4CZKX.js → chunk-XWP4ZGKN.js} +6 -4
  130. package/dist/{chunk-32ZNZDFT.js → chunk-XXV6ZSWY.js} +4 -3
  131. package/dist/{chunk-GWSRWILC.js → chunk-YLQ63F5E.js} +6 -5
  132. package/dist/{chunk-MZOINNCV.js → chunk-YNR25MNM.js} +78 -56
  133. package/dist/{chunk-YHEH25IE.js → chunk-Z6CIQQUZ.js} +2 -1
  134. package/dist/{chunk-YNN2YNSE.js → chunk-ZAANJVLM.js} +1 -1
  135. package/dist/{chunk-MW47LDBT.js → chunk-ZOTBKQLG.js} +1 -1
  136. package/dist/{collection-add-products-JFUIZEZI.js → collection-add-products-TXJAEXUT.js} +18 -18
  137. package/dist/{collection-create-5IGFVQKE.js → collection-create-7ZQONUJL.js} +4 -3
  138. package/dist/{collection-detail-2WOLOVWF.js → collection-detail-FGXNWXAN.js} +28 -24
  139. package/dist/{collection-edit-UMZN5JZ6.js → collection-edit-ZFAECPWC.js} +33 -10
  140. package/dist/{collection-icon-edit-WCSKUDXE.js → collection-icon-edit-642AZRHR.js} +2 -2
  141. package/dist/{collection-list-B3Y2ALLZ.js → collection-list-ZLBRTQAC.js} +22 -22
  142. package/dist/{collection-media-YIV5BV3Y.js → collection-media-LMJFEFVY.js} +2 -2
  143. package/dist/{collection-metadata-SBK6SL4C.js → collection-metadata-AZRN32RU.js} +10 -10
  144. package/dist/{commission-rule-detail-ZQ3OHFA2.js → commission-rule-detail-FOLHANWL.js} +5 -5
  145. package/dist/{commissions-list-M5WLJD2P.js → commissions-list-SGVCP2O4.js} +9 -9
  146. package/dist/{customer-create-ZQ4RTXBA.js → customer-create-SC6LAEVJ.js} +1 -1
  147. package/dist/{customer-create-address-P2QYUZJ5.js → customer-create-address-VZMOF5AE.js} +9 -4
  148. package/dist/{customer-detail-ZGDPIWA4.js → customer-detail-3KIDRBLW.js} +26 -23
  149. package/dist/{customer-edit-D55FJLIN.js → customer-edit-RAWO66UL.js} +25 -7
  150. package/dist/{customer-edit-address-R5RXDUNZ.js → customer-edit-address-ZEVUPAYN.js} +15 -6
  151. package/dist/{customer-group-add-customers-O6A5ZFPM.js → customer-group-add-customers-LKFLDXVO.js} +5 -5
  152. package/dist/{customer-group-create-44R3DDOT.js → customer-group-create-3KAC3R3N.js} +1 -1
  153. package/dist/{customer-group-detail-FXUICFYC.js → customer-group-detail-KWHS7V6F.js} +28 -25
  154. package/dist/{customer-group-edit-NZ5SUPFQ.js → customer-group-edit-E7JX2L4J.js} +41 -20
  155. package/dist/{customer-group-list-R2DP2D42.js → customer-group-list-3FCJBXFY.js} +16 -16
  156. package/dist/{customer-group-metadata-JX7ZBXLJ.js → customer-group-metadata-3QRU7FIE.js} +10 -10
  157. package/dist/{customer-list-Z4DUQHCH.js → customer-list-JT6YE2IW.js} +7 -7
  158. package/dist/{customer-metadata-JT5GGCRV.js → customer-metadata-7DMBCQXW.js} +10 -10
  159. package/dist/{customers-add-customer-group-KX3XNNMU.js → customers-add-customer-group-IAGH6MJJ.js} +14 -14
  160. package/dist/{edit-inventory-item-73BY4I5T.js → edit-inventory-item-QPWV4MSP.js} +32 -17
  161. package/dist/{edit-inventory-item-attributes-ZMB343AB.js → edit-inventory-item-attributes-J7WHYKMK.js} +10 -10
  162. package/dist/{edit-reservation-BC5IOLK6.js → edit-reservation-PTUSCC6C.js} +26 -8
  163. package/dist/{edit-rules-4PPNBI7B.js → edit-rules-2WZOLTL7.js} +11 -11
  164. package/dist/extension-targets.d.ts +269 -0
  165. package/dist/extension-targets.js +1 -0
  166. package/dist/index.css +3 -3
  167. package/dist/index.d.ts +6 -2
  168. package/dist/index.js +280 -252
  169. package/dist/{inventory-create-XQKH3HZQ.js → inventory-create-RDVKGH2S.js} +11 -11
  170. package/dist/{inventory-detail-RZJNTJDF.js → inventory-detail-LHWQTJ7S.js} +27 -23
  171. package/dist/{inventory-list-SPSBDJXO.js → inventory-list-Q2CCGYI5.js} +6 -6
  172. package/dist/{inventory-metadata-W2E4KYG3.js → inventory-metadata-CQHLKX4T.js} +10 -10
  173. package/dist/{inventory-stock-D2BNT2UL.js → inventory-stock-3TR47RNA.js} +10 -10
  174. package/dist/{loader-HRFMJ5TM.js → loader-ZYV22XGC.js} +15 -11
  175. package/dist/{location-detail-CNETNX3M.js → location-detail-ZRLP4XVJ.js} +12 -12
  176. package/dist/{location-fulfillment-providers-XXZ7AIUF.js → location-fulfillment-providers-CL7PKPTT.js} +20 -20
  177. package/dist/{location-list-RHUT7IRA.js → location-list-HW5F37YZ.js} +12 -12
  178. package/dist/{location-sales-channels-ZQBQ3VDH.js → location-sales-channels-Z4E5VA7M.js} +4 -4
  179. package/dist/{location-service-zone-create-O6GYRZEE.js → location-service-zone-create-WZXZFMA2.js} +4 -4
  180. package/dist/{location-service-zone-manage-areas-DBP3P27I.js → location-service-zone-manage-areas-5SYZKBQK.js} +4 -4
  181. package/dist/{location-service-zone-shipping-option-create-3PQ2EYD7.js → location-service-zone-shipping-option-create-Z3S7EUYH.js} +10 -10
  182. package/dist/{login-OKBXMSKY.js → login-JNIVGP2G.js} +10 -10
  183. package/dist/{manage-locations-SUJNIWWF.js → manage-locations-NGNUXP3N.js} +1 -1
  184. package/dist/{marketplace-add-currencies-IPE5RJF6.js → marketplace-add-currencies-ZBLGQQCX.js} +3 -3
  185. package/dist/{marketplace-detail-IHGJXVZS.js → marketplace-detail-RZWOCVGF.js} +15 -15
  186. package/dist/{marketplace-metadata-STYABOTX.js → marketplace-metadata-74YUQ6UC.js} +10 -10
  187. package/dist/{offer-detail-page-2G5BUOIB.js → offer-detail-page-XS52BE5U.js} +71 -25
  188. package/dist/{offer-variant-detail-page-V6TKNYZL.js → offer-variant-detail-page-QQGOMRUY.js} +9 -8
  189. package/dist/{offers-2QQFKGAX.js → offers-UUFYROYV.js} +38 -23
  190. package/dist/{order-create-claim-Y7ESDXLI.js → order-create-claim-AG3GMAE2.js} +5 -5
  191. package/dist/{order-create-edit-6L5S7KQM.js → order-create-edit-N3TDQQIT.js} +8 -8
  192. package/dist/{order-create-exchange-WHO3K2MW.js → order-create-exchange-ZCQBC54O.js} +15 -15
  193. package/dist/{order-create-refund-4ZO73NWS.js → order-create-refund-HXFCDZV5.js} +10 -10
  194. package/dist/{order-create-return-R5WJBQ5W.js → order-create-return-VUHKWVQM.js} +5 -5
  195. package/dist/{order-detail-QUGH2GXH.js → order-detail-CTZELMAQ.js} +23 -19
  196. package/dist/{order-edit-billing-address-BEOKFNLZ.js → order-edit-billing-address-S4YOG2EE.js} +11 -11
  197. package/dist/{order-edit-email-GLAQZCIT.js → order-edit-email-VSAS3M2E.js} +10 -10
  198. package/dist/{order-edit-shipping-address-PF54SFAG.js → order-edit-shipping-address-FZMDRJU5.js} +10 -10
  199. package/dist/{order-list-GMUOLGZY.js → order-list-EFBU3W6N.js} +13 -13
  200. package/dist/{order-metadata-VQOA3DOL.js → order-metadata-FKM3ZDNM.js} +10 -10
  201. package/dist/{order-request-transfer-BLQQ66IF.js → order-request-transfer-BCE6ED5E.js} +10 -10
  202. package/dist/pages/index.d.ts +25 -25
  203. package/dist/pages/index.js +107 -107
  204. package/dist/{payout-detail-6U2ANWOH.js → payout-detail-LY7SRCKO.js} +1 -1
  205. package/dist/{payout-list-3GQJQSVU.js → payout-list-WE3H7FKO.js} +5 -5
  206. package/dist/{price-list-configuration-BLHIGDSV.js → price-list-configuration-4UNGTKCM.js} +9 -9
  207. package/dist/{price-list-create-HKN72A6Q.js → price-list-create-XGRFJ74B.js} +21 -21
  208. package/dist/{price-list-detail-6JAMNNJW.js → price-list-detail-AE6S3CEM.js} +29 -25
  209. package/dist/{price-list-edit-RZQMPHXU.js → price-list-edit-4JPSL2NL.js} +26 -10
  210. package/dist/{price-list-list-HLWCOORV.js → price-list-list-EM3TNZQG.js} +9 -9
  211. package/dist/{price-list-prices-add-ST6WNQNH.js → price-list-prices-add-DF6W4N6L.js} +19 -19
  212. package/dist/{price-list-prices-edit-ZQE3Z3NK.js → price-list-prices-edit-AXJJTMKL.js} +10 -10
  213. package/dist/{product-add-existing-attributes-J6MML6MT.js → product-add-existing-attributes-UVVJDOEN.js} +15 -15
  214. package/dist/{product-attributes-4EPKS6MP.js → product-attributes-PCZDEFHM.js} +1 -1
  215. package/dist/{product-bulk-edit-TRI2KKHW.js → product-bulk-edit-FGB4T2KQ.js} +1 -1
  216. package/dist/{product-create-B4DTC2OM.js → product-create-3PZNLIDT.js} +22 -16
  217. package/dist/{product-create-attribute-BP6NN4GO.js → product-create-attribute-6AJPI6IJ.js} +2 -2
  218. package/dist/{product-create-variant-VDQQNHAK.js → product-create-variant-2OCZA6GW.js} +4 -4
  219. package/dist/{product-detail-MFJ3AIU6.js → product-detail-IVRD2OHL.js} +26 -21
  220. package/dist/{product-edit-26AWYWUU.js → product-edit-KMK7CMLI.js} +6 -2
  221. package/dist/{product-edit-attribute-AXPTES26.js → product-edit-attribute-FCEYWZWL.js} +3 -3
  222. package/dist/{product-list-DMQSLXM4.js → product-list-IMKQUEIM.js} +30 -27
  223. package/dist/{product-media-XRBLOV7D.js → product-media-B5D2HUQF.js} +4 -4
  224. package/dist/{product-metadata-LOF6TSJQ.js → product-metadata-6EFF4IPX.js} +10 -10
  225. package/dist/{product-organization-ISVMEWQG.js → product-organization-5FUCDOGD.js} +4 -4
  226. package/dist/{product-sales-channels-C6UUHWGB.js → product-sales-channels-GUK6FTDA.js} +4 -4
  227. package/dist/{product-shipping-profile-VTYQ22E4.js → product-shipping-profile-UFIRKPTG.js} +1 -1
  228. package/dist/{product-tag-create-AHG3Y4GE.js → product-tag-create-PSY5Q437.js} +10 -10
  229. package/dist/{product-tag-detail-4FL4CU5S.js → product-tag-detail-L5RXBCPS.js} +24 -24
  230. package/dist/{product-tag-edit-ACHNVZZP.js → product-tag-edit-NVGUS3CY.js} +10 -10
  231. package/dist/{product-tag-list-YPTIDXPX.js → product-tag-list-UX2GZALX.js} +24 -24
  232. package/dist/{product-tag-metadata-BXC7GMBB.js → product-tag-metadata-T4ZYOIXY.js} +10 -10
  233. package/dist/{product-type-detail-RAYCHYAF.js → product-type-detail-LJWSJ6V5.js} +20 -20
  234. package/dist/{product-type-list-JN4SKTFE.js → product-type-list-AQ3GEAZX.js} +5 -5
  235. package/dist/{product-type-metadata-24JU4JNK.js → product-type-metadata-OJJYUALT.js} +10 -10
  236. package/dist/{product-variant-detail-7CFNAI3A.js → product-variant-detail-FZL5OZFE.js} +11 -11
  237. package/dist/{product-variant-edit-C4HXFQFW.js → product-variant-edit-LSSJW4DS.js} +12 -12
  238. package/dist/{product-variant-metadata-5PUBLPDN.js → product-variant-metadata-D5AUINFJ.js} +10 -10
  239. package/dist/{profile-detail-PABUO545.js → profile-detail-PFJX3LPX.js} +1 -1
  240. package/dist/{promotion-add-campaign-WK36UMSF.js → promotion-add-campaign-PYEBYRHK.js} +2 -2
  241. package/dist/{promotion-create-7VBA6JFM.js → promotion-create-OFLXF3RZ.js} +14 -14
  242. package/dist/{promotion-detail-KXXWEFHW.js → promotion-detail-N7JHJGSW.js} +25 -19
  243. package/dist/{promotion-edit-details-YM5JPGEC.js → promotion-edit-details-GXA4FDTK.js} +25 -8
  244. package/dist/{promotion-list-56ZDROMH.js → promotion-list-MIL2B752.js} +9 -9
  245. package/dist/{refund-reason-create-UA3XS6DP.js → refund-reason-create-HTTX2UGC.js} +10 -10
  246. package/dist/{refund-reason-edit-3TAGKV3U.js → refund-reason-edit-I7XXP4EP.js} +10 -10
  247. package/dist/{refund-reason-list-PBLA5HYO.js → refund-reason-list-YYCNRERE.js} +18 -18
  248. package/dist/{region-add-countries-UO5A42HM.js → region-add-countries-WIJCJPOX.js} +3 -3
  249. package/dist/{region-create-7NA6RKWS.js → region-create-B3I3W7QJ.js} +3 -3
  250. package/dist/{region-detail-636IAPYK.js → region-detail-3OFMBGML.js} +5 -5
  251. package/dist/{region-list-GIU6NFI4.js → region-list-DD5S5BD2.js} +5 -5
  252. package/dist/{region-metadata-NRV3L42D.js → region-metadata-RRUP56B2.js} +10 -10
  253. package/dist/{reservation-create-ANLVF7EC.js → reservation-create-3RVQVMRF.js} +2 -2
  254. package/dist/{reservation-detail-MAWHNY2H.js → reservation-detail-QOVPIIMC.js} +20 -16
  255. package/dist/{reservation-list-UWZRPRPH.js → reservation-list-EJPMH7UX.js} +7 -7
  256. package/dist/{reservation-metadata-ZFKKAOWG.js → reservation-metadata-OAEUUCRG.js} +10 -10
  257. package/dist/{reset-password-UDA5ZMTZ.js → reset-password-AZ2RPOG5.js} +1 -1
  258. package/dist/{return-reason-list-NPAAMB5H.js → return-reason-list-PFDQCDWA.js} +10 -10
  259. package/dist/{sales-channel-add-products-2BBIMN6N.js → sales-channel-add-products-FXWQ4LZ6.js} +18 -18
  260. package/dist/{sales-channel-create-OC2BB67N.js → sales-channel-create-77PRY5T6.js} +2 -2
  261. package/dist/{sales-channel-detail-D5R7HPC7.js → sales-channel-detail-HVPDMOUJ.js} +20 -20
  262. package/dist/{sales-channel-edit-V62TBRC4.js → sales-channel-edit-PBN2XYEI.js} +2 -2
  263. package/dist/{sales-channel-list-LVW7XE7K.js → sales-channel-list-WBG6DUZJ.js} +13 -13
  264. package/dist/{sales-channel-metadata-5W4OZZYI.js → sales-channel-metadata-RXT26TCT.js} +10 -10
  265. package/dist/{shipping-option-type-create-GHOCZT64.js → shipping-option-type-create-2EVIHSGN.js} +10 -10
  266. package/dist/{shipping-option-type-detail-W32EHTBS.js → shipping-option-type-detail-BKFYUX2T.js} +11 -11
  267. package/dist/{shipping-option-type-edit-KRIP6HTC.js → shipping-option-type-edit-LTH6PE7B.js} +10 -10
  268. package/dist/{shipping-option-type-list-4FML2ZX5.js → shipping-option-type-list-7F5R6ACH.js} +15 -15
  269. package/dist/{shipping-profile-detail-UFGQ3CCH.js → shipping-profile-detail-FOPCKNOZ.js} +1 -1
  270. package/dist/{shipping-profile-metadata-52ZW757T.js → shipping-profile-metadata-WRFZ55C3.js} +10 -10
  271. package/dist/{shipping-profiles-list-PZQVMKR4.js → shipping-profiles-list-KXXYHJIY.js} +5 -5
  272. package/dist/{store-address-edit-IJ2UW6WC.js → store-address-edit-M6A37RFY.js} +1 -1
  273. package/dist/{store-bulk-edit-OIYKZ6AZ.js → store-bulk-edit-SYHKAJ6D.js} +2 -2
  274. package/dist/{store-closure-edit-H3EKROXP.js → store-closure-edit-VE7D5F7I.js} +1 -1
  275. package/dist/{store-create-Y3BGG5P5.js → store-create-6OQW7F4U.js} +11 -11
  276. package/dist/{store-details-56IHJJQV.js → store-details-YV4U4GZK.js} +25 -42
  277. package/dist/{store-edit-HWOGEOCH.js → store-edit-33N7EQE2.js} +49 -15
  278. package/dist/{store-list-5DRW6QZF.js → store-list-VTV3TYJN.js} +22 -22
  279. package/dist/{store-member-invite-7ORIMT73.js → store-member-invite-T5GCT6HV.js} +2 -2
  280. package/dist/{store-payment-details-edit-ERRJDLBO.js → store-payment-details-edit-JUM745OG.js} +1 -1
  281. package/dist/{store-professional-details-edit-VD2J4VYV.js → store-professional-details-edit-NKBYKBCA.js} +1 -1
  282. package/dist/{tax-region-create-GGDCD2VU.js → tax-region-create-7FXHJKVB.js} +11 -11
  283. package/dist/{tax-region-detail-L7STT6C7.js → tax-region-detail-6AFMQQP7.js} +16 -16
  284. package/dist/{tax-region-edit-6JOV3POI.js → tax-region-edit-N64TGNAG.js} +10 -10
  285. package/dist/{tax-region-list-NIAT626R.js → tax-region-list-IBT5YP3U.js} +4 -4
  286. package/dist/{tax-region-metadata-4P667IOY.js → tax-region-metadata-MKXFQ5B7.js} +10 -10
  287. package/dist/{tax-region-province-detail-2GRPOSWS.js → tax-region-province-detail-CBCYMSGF.js} +15 -15
  288. package/dist/{tax-region-tax-override-create-R5GKEOK6.js → tax-region-tax-override-create-DFOUTYWV.js} +23 -23
  289. package/dist/{tax-region-tax-override-edit-MLJKNLAR.js → tax-region-tax-override-edit-PY7XG5KR.js} +23 -23
  290. package/dist/{user-detail-452E7GII.js → user-detail-4FDNMJ6W.js} +2 -2
  291. package/dist/{user-invite-FCWARLW5.js → user-invite-LSWNFFLT.js} +3 -3
  292. package/dist/{user-list-OU6WS25V.js → user-list-B66HEMCD.js} +5 -5
  293. package/dist/{user-metadata-CHHV7S3A.js → user-metadata-5UFWFXLX.js} +10 -10
  294. package/package.json +17 -12
  295. package/dist/category-organize-H4JYCHDA.js +0 -112
  296. package/dist/chunk-LFKTHNWI.js +0 -83
  297. package/dist/{chunk-7OKYEA6I.js → chunk-HC2TEEKQ.js} +3 -3
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  InventoryItemGeneralSection
3
- } from "./chunk-LFKTHNWI.js";
3
+ } from "./chunk-APAT344J.js";
4
4
  import {
5
5
  getFormattedCountry
6
6
  } from "./chunk-W6Y3PPU5.js";
@@ -20,23 +20,23 @@ import {
20
20
  import {
21
21
  Thumbnail
22
22
  } from "./chunk-WIYFXWRI.js";
23
+ import {
24
+ useQueryParams
25
+ } from "./chunk-THHRRYRS.js";
23
26
  import {
24
27
  _DataTable,
25
28
  useDataTable
26
- } from "./chunk-6ZVV2XHU.js";
29
+ } from "./chunk-GRFWCCUW.js";
27
30
  import {
28
31
  useDate
29
32
  } from "./chunk-UZWFZMOX.js";
30
- import {
31
- useQueryParams
32
- } from "./chunk-THHRRYRS.js";
33
33
  import {
34
34
  useStockLocations
35
35
  } from "./chunk-VXW3BCN2.js";
36
36
  import {
37
37
  useDeleteReservationItem,
38
38
  useReservationItems
39
- } from "./chunk-GLZLBHFC.js";
39
+ } from "./chunk-WX4ABVXL.js";
40
40
  import {
41
41
  ActionMenu
42
42
  } from "./chunk-BDGZ4EQO.js";
@@ -48,7 +48,7 @@ import {
48
48
  inventoryItemsQueryKeys,
49
49
  useInventoryItem,
50
50
  useInventoryItemLevels
51
- } from "./chunk-ZKHF75MZ.js";
51
+ } from "./chunk-MMKUMSZS.js";
52
52
  import {
53
53
  queryClient
54
54
  } from "./chunk-RHKRREUU.js";
@@ -59,10 +59,12 @@ import {
59
59
  // src/pages/inventory/inventory-detail/inventory-detail.tsx
60
60
  import { Children } from "react";
61
61
  import { useLoaderData, useParams } from "react-router-dom";
62
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
62
63
 
63
64
  // src/pages/inventory/inventory-detail/components/inventory-item-attributes/attributes-section.tsx
64
65
  import { Container, Heading } from "@medusajs/ui";
65
66
  import { PencilSquare } from "@medusajs/icons";
67
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
66
68
  import { useTranslation } from "react-i18next";
67
69
  import { jsx, jsxs } from "react/jsx-runtime";
68
70
  var InventoryItemAttributeSection = ({
@@ -104,12 +106,21 @@ var InventoryItemAttributeSection = ({
104
106
  value: getFormattedCountry(inventoryItem.origin_country),
105
107
  "data-testid": "inventory-item-country-of-origin-row"
106
108
  }
109
+ ),
110
+ /* @__PURE__ */ jsx(
111
+ DisplayExtensionZone,
112
+ {
113
+ model: "inventory_item",
114
+ zone: "attributes",
115
+ data: inventoryItem
116
+ }
107
117
  )
108
118
  ] });
109
119
  };
110
120
 
111
121
  // src/pages/inventory/inventory-detail/components/inventory-item-location-levels.tsx
112
122
  import { Button, Container as Container2, Heading as Heading2 } from "@medusajs/ui";
123
+ import { DisplayExtensionZone as DisplayExtensionZone2 } from "@mercurjs/dashboard-shared";
113
124
  import { useTranslation as useTranslation3 } from "react-i18next";
114
125
  import { Link } from "react-router-dom";
115
126
 
@@ -340,7 +351,15 @@ var InventoryItemLocationLevelsSection = ({
340
351
  ]
341
352
  }
342
353
  ),
343
- /* @__PURE__ */ jsx4(ItemLocationListTable, { inventory_item_id: inventoryItem.id })
354
+ /* @__PURE__ */ jsx4(ItemLocationListTable, { inventory_item_id: inventoryItem.id }),
355
+ /* @__PURE__ */ jsx4(
356
+ DisplayExtensionZone2,
357
+ {
358
+ model: "inventory_item",
359
+ zone: "locations",
360
+ data: inventoryItem
361
+ }
362
+ )
344
363
  ]
345
364
  }
346
365
  );
@@ -348,6 +367,7 @@ var InventoryItemLocationLevelsSection = ({
348
367
 
349
368
  // src/pages/inventory/inventory-detail/components/inventory-item-reservations.tsx
350
369
  import { Button as Button2, Container as Container3, Heading as Heading3 } from "@medusajs/ui";
370
+ import { DisplayExtensionZone as DisplayExtensionZone3 } from "@mercurjs/dashboard-shared";
351
371
  import { useTranslation as useTranslation7 } from "react-i18next";
352
372
  import { Link as Link2 } from "react-router-dom";
353
373
 
@@ -591,13 +611,22 @@ var InventoryItemReservationsSection = ({
591
611
  /* @__PURE__ */ jsx9(Heading3, { "data-testid": "inventory-item-reservations-title", children: t("reservations.domain") }),
592
612
  /* @__PURE__ */ jsx9(Button2, { size: "small", variant: "secondary", asChild: true, "data-testid": "inventory-create-reservation-button", children: /* @__PURE__ */ jsx9(Link2, { to: `/reservations/create?item_id=${inventoryItem.id}`, "data-testid": "inventory-create-reservation-link", children: t("actions.create") }) })
593
613
  ] }),
594
- /* @__PURE__ */ jsx9(ReservationItemTable, { inventoryItem })
614
+ /* @__PURE__ */ jsx9(ReservationItemTable, { inventoryItem }),
615
+ /* @__PURE__ */ jsx9(
616
+ DisplayExtensionZone3,
617
+ {
618
+ model: "inventory_item",
619
+ zone: "reservations",
620
+ data: inventoryItem
621
+ }
622
+ )
595
623
  ] });
596
624
  };
597
625
 
598
626
  // src/pages/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx
599
627
  import { TriangleRightMini } from "@medusajs/icons";
600
628
  import { Container as Container4, Heading as Heading4 } from "@medusajs/ui";
629
+ import { DisplayExtensionZone as DisplayExtensionZone4 } from "@mercurjs/dashboard-shared";
601
630
  import { useTranslation as useTranslation8 } from "react-i18next";
602
631
  import { Link as Link3 } from "react-router-dom";
603
632
  import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
@@ -633,7 +662,15 @@ var InventoryItemVariantsSection = ({
633
662
  },
634
663
  variant.id
635
664
  );
636
- }) })
665
+ }) }),
666
+ /* @__PURE__ */ jsx10(
667
+ DisplayExtensionZone4,
668
+ {
669
+ model: "inventory_item",
670
+ zone: "variants",
671
+ data: variants
672
+ }
673
+ )
637
674
  ] });
638
675
  };
639
676
 
@@ -652,9 +689,7 @@ var Root = ({ children }) => {
652
689
  error
653
690
  } = useInventoryItem(
654
691
  id,
655
- {
656
- fields: INVENTORY_DETAIL_FIELDS
657
- },
692
+ useLinkQuery("inventory_item", INVENTORY_DETAIL_FIELDS),
658
693
  {
659
694
  initialData
660
695
  }
@@ -674,7 +709,7 @@ var Root = ({ children }) => {
674
709
  throw error;
675
710
  }
676
711
  return Children.count(children) > 0 ? /* @__PURE__ */ jsx11(TwoColumnPage, { data: inventory_item, showJSON: true, showMetadata: true, "data-testid": "inventory-detail-page", children }) : /* @__PURE__ */ jsxs5(TwoColumnPage, { data: inventory_item, showJSON: true, showMetadata: true, "data-testid": "inventory-detail-page", children: [
677
- /* @__PURE__ */ jsxs5(TwoColumnPage.Main, { "data-testid": "inventory-detail-main", children: [
712
+ /* @__PURE__ */ jsx11(TwoColumnPage.Main, { "data-testid": "inventory-detail-main", children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "inventory.detail.main", data: inventory_item, children: [
678
713
  /* @__PURE__ */ jsx11(InventoryItemGeneralSection, { inventoryItem: inventory_item }),
679
714
  /* @__PURE__ */ jsx11(
680
715
  InventoryItemLocationLevelsSection,
@@ -683,8 +718,8 @@ var Root = ({ children }) => {
683
718
  }
684
719
  ),
685
720
  /* @__PURE__ */ jsx11(InventoryItemReservationsSection, { inventoryItem: inventory_item })
686
- ] }),
687
- /* @__PURE__ */ jsxs5(TwoColumnPage.Sidebar, { "data-testid": "inventory-detail-sidebar", children: [
721
+ ] }) }),
722
+ /* @__PURE__ */ jsx11(TwoColumnPage.Sidebar, { "data-testid": "inventory-detail-sidebar", children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "inventory.detail.side", data: inventory_item, children: [
688
723
  inventory_item.variants && inventory_item.variants?.length > 0 && /* @__PURE__ */ jsx11(
689
724
  InventoryItemVariantsSection,
690
725
  {
@@ -692,7 +727,7 @@ var Root = ({ children }) => {
692
727
  }
693
728
  ),
694
729
  /* @__PURE__ */ jsx11(InventoryItemAttributeSection, { inventoryItem: inventory_item })
695
- ] })
730
+ ] }) })
696
731
  ] });
697
732
  };
698
733
  var InventoryDetailPage = Object.assign(Root, {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getPromotionStatus
3
- } from "./chunk-RIO2IHPE.js";
3
+ } from "./chunk-67KYEPSA.js";
4
4
  import {
5
5
  TextCell,
6
6
  TextHeader
@@ -17,6 +17,7 @@ import {
17
17
  // src/pages/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx
18
18
  import { Children } from "react";
19
19
  import { useLoaderData, useParams } from "react-router-dom";
20
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
20
21
 
21
22
  // src/pages/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/shipping-option-type-general-section.tsx
22
23
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -86,12 +87,12 @@ var Root = ({ children }) => {
86
87
  if (isError) {
87
88
  throw error;
88
89
  }
89
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children: /* @__PURE__ */ jsx2(
90
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children: /* @__PURE__ */ jsx2(WidgetZone, { id: "shipping-option-types.detail.main", data: shipping_option_type, children: /* @__PURE__ */ jsx2(
90
91
  ShippingOptionTypeGeneralSection,
91
92
  {
92
93
  shippingOptionType: shipping_option_type
93
94
  }
94
- ) });
95
+ ) }) });
95
96
  };
96
97
  var ShippingOptionTypeDetailPage = Object.assign(Root, {
97
98
  GeneralSection: ShippingOptionTypeGeneralSection
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-VHCDSNXF.js";
4
4
  import {
5
5
  useSalesChannels
6
- } from "./chunk-MW47LDBT.js";
6
+ } from "./chunk-ZOTBKQLG.js";
7
7
 
8
8
  // src/hooks/table/filters/use-order-table-filters.tsx
9
9
  import { useTranslation } from "react-i18next";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PriceListCustomerGroupRuleForm
3
- } from "./chunk-CHMIK6PK.js";
3
+ } from "./chunk-F6DGTW4E.js";
4
4
  import {
5
5
  PriceListCreateProductsSchema,
6
6
  PriceListRulesSchema,
@@ -13,13 +13,13 @@ import {
13
13
  } from "./chunk-U5MJIHLY.js";
14
14
  import {
15
15
  useProductTableColumns
16
- } from "./chunk-OYZIFLLC.js";
16
+ } from "./chunk-I5HY5Q3K.js";
17
17
  import {
18
18
  useProductTableFilters
19
- } from "./chunk-4346EIRG.js";
19
+ } from "./chunk-APMBU7ZV.js";
20
20
  import {
21
21
  useProductTableQuery
22
- } from "./chunk-H7NIKMPE.js";
22
+ } from "./chunk-5NSOIZFB.js";
23
23
  import {
24
24
  TabbedForm,
25
25
  defineTabMeta,
@@ -40,16 +40,16 @@ import {
40
40
  import {
41
41
  _DataTable,
42
42
  useDataTable
43
- } from "./chunk-6ZVV2XHU.js";
43
+ } from "./chunk-GRFWCCUW.js";
44
44
  import {
45
45
  useCreatePriceList
46
- } from "./chunk-LSMTJU6Y.js";
46
+ } from "./chunk-G2LHEJLS.js";
47
47
  import {
48
48
  useDocumentDirection
49
49
  } from "./chunk-Y7QKP6QU.js";
50
50
  import {
51
51
  useProducts
52
- } from "./chunk-ZKHF75MZ.js";
52
+ } from "./chunk-MMKUMSZS.js";
53
53
 
54
54
  // src/pages/price-lists/price-list-create/components/price-list-create-form/schema.ts
55
55
  import { z } from "zod";
@@ -705,6 +705,8 @@ var PriceListCreateForm = ({
705
705
  return /* @__PURE__ */ jsx4(
706
706
  TabbedForm,
707
707
  {
708
+ model: "price_list",
709
+ zone: "create",
708
710
  form,
709
711
  onSubmit: handleSubmit,
710
712
  isLoading: isPending,
@@ -1,13 +1,13 @@
1
- import {
2
- _DataTable,
3
- useDataTable
4
- } from "./chunk-6ZVV2XHU.js";
5
1
  import {
6
2
  SingleColumnPage
7
3
  } from "./chunk-H6MYB7GB.js";
8
4
  import {
9
5
  useQueryParams
10
6
  } from "./chunk-THHRRYRS.js";
7
+ import {
8
+ _DataTable,
9
+ useDataTable
10
+ } from "./chunk-GRFWCCUW.js";
11
11
  import {
12
12
  useDeleteShippingProfile,
13
13
  useShippingProfiles
@@ -18,6 +18,7 @@ import {
18
18
 
19
19
  // src/pages/shipping-profiles/shipping-profiles-list/shipping-profile-list.tsx
20
20
  import { Children as Children3 } from "react";
21
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
21
22
 
22
23
  // src/pages/shipping-profiles/shipping-profiles-list/components/shipping-profile-list-view/shipping-profile-list-view.tsx
23
24
  import { Children as Children2 } from "react";
@@ -279,7 +280,7 @@ var ShippingProfileListView = ({
279
280
  // src/pages/shipping-profiles/shipping-profiles-list/shipping-profile-list.tsx
280
281
  import { jsx as jsx6 } from "react/jsx-runtime";
281
282
  var Root = ({ children }) => {
282
- return /* @__PURE__ */ jsx6(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingProfileListView, {}) });
283
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "shipping-profiles.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingProfileListView, {}) }) });
283
284
  };
284
285
  var ShippingProfileListPage = Object.assign(Root, {
285
286
  Table: ShippingProfileListView,
@@ -13,11 +13,12 @@ import {
13
13
  import {
14
14
  useDeleteVariant,
15
15
  useProductVariant
16
- } from "./chunk-ZKHF75MZ.js";
16
+ } from "./chunk-MMKUMSZS.js";
17
17
 
18
18
  // src/pages/product-variants/product-variant-detail/product-variant-detail.tsx
19
19
  import { Children } from "react";
20
20
  import { useLoaderData, useParams } from "react-router-dom";
21
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
21
22
 
22
23
  // src/pages/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx
23
24
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -127,8 +128,8 @@ var Root = ({ children }) => {
127
128
  throw error;
128
129
  }
129
130
  return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(TwoColumnPage, { data: variant, showJSON: true, showMetadata: true, hasOutlet: true, children }) : /* @__PURE__ */ jsxs2(TwoColumnPage, { data: variant, showJSON: true, showMetadata: true, hasOutlet: true, children: [
130
- /* @__PURE__ */ jsx2(TwoColumnPage.Main, { children: /* @__PURE__ */ jsx2(VariantGeneralSection, { variant }) }),
131
- /* @__PURE__ */ jsx2(TwoColumnPage.Sidebar, { children: null })
131
+ /* @__PURE__ */ jsx2(TwoColumnPage.Main, { children: /* @__PURE__ */ jsx2(WidgetZone, { id: "product-variants.detail.main", data: variant, children: /* @__PURE__ */ jsx2(VariantGeneralSection, { variant }) }) }),
132
+ /* @__PURE__ */ jsx2(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx2(WidgetZone, { id: "product-variants.detail.side", data: variant, children: null }) })
132
133
  ] });
133
134
  };
134
135
  var ProductVariantDetailPage = Object.assign(Root, {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5A4JNOK3.js";
4
4
  import {
5
5
  useRefundReasonTableQuery
6
- } from "./chunk-WKDHY2DJ.js";
6
+ } from "./chunk-IJ2CSCLP.js";
7
7
  import {
8
8
  DataTable
9
9
  } from "./chunk-C4XKPQ6T.js";
@@ -17,6 +17,7 @@ import {
17
17
 
18
18
  // src/pages/refund-reasons/refund-reason-list/refund-reason-list.tsx
19
19
  import { Children as Children3 } from "react";
20
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
20
21
 
21
22
  // src/pages/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx
22
23
  import { Children as Children2 } from "react";
@@ -174,7 +175,7 @@ var RefundReasonListTable = ({ children }) => {
174
175
  // src/pages/refund-reasons/refund-reason-list/refund-reason-list.tsx
175
176
  import { jsx as jsx4 } from "react/jsx-runtime";
176
177
  var Root = ({ children }) => {
177
- return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(RefundReasonListTable, {}) });
178
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: /* @__PURE__ */ jsx4(WidgetZone, { id: "refund-reasons.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(RefundReasonListTable, {}) }) });
178
179
  };
179
180
  var RefundReasonList = Object.assign(Root, {
180
181
  Table: RefundReasonListTable,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7AV5EJJ5.js";
4
4
  import {
5
5
  useDeleteProductCategoryAction
6
- } from "./chunk-CW3HYGS5.js";
6
+ } from "./chunk-7CQD5AQ6.js";
7
7
  import {
8
8
  getCategoryChildren,
9
9
  getCategoryPath,
@@ -16,42 +16,44 @@ import {
16
16
  } from "./chunk-QJCUPZZQ.js";
17
17
  import {
18
18
  useProductTableColumns
19
- } from "./chunk-OYZIFLLC.js";
19
+ } from "./chunk-I5HY5Q3K.js";
20
20
  import {
21
21
  useProductTableFilters
22
- } from "./chunk-4346EIRG.js";
22
+ } from "./chunk-APMBU7ZV.js";
23
23
  import {
24
24
  useProductTableQuery
25
- } from "./chunk-H7NIKMPE.js";
25
+ } from "./chunk-5NSOIZFB.js";
26
26
  import {
27
27
  TwoColumnPage
28
28
  } from "./chunk-E74OUNA3.js";
29
29
  import {
30
30
  _DataTable,
31
31
  useDataTable
32
- } from "./chunk-6ZVV2XHU.js";
32
+ } from "./chunk-GRFWCCUW.js";
33
33
  import {
34
34
  ActionMenu
35
35
  } from "./chunk-BDGZ4EQO.js";
36
36
  import {
37
37
  useProductCategory,
38
38
  useUpdateProductCategoryProducts
39
- } from "./chunk-JZJT26E3.js";
39
+ } from "./chunk-QVIX6O76.js";
40
40
  import {
41
41
  Skeleton,
42
42
  TwoColumnPageSkeleton
43
43
  } from "./chunk-INNFZYX2.js";
44
44
  import {
45
45
  useProducts
46
- } from "./chunk-ZKHF75MZ.js";
46
+ } from "./chunk-MMKUMSZS.js";
47
47
 
48
48
  // src/pages/categories/category-detail/category-detail.tsx
49
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
49
50
  import { Children } from "react";
50
51
  import { useLoaderData, useParams } from "react-router-dom";
51
52
 
52
53
  // src/pages/categories/category-detail/components/category-general-section/category-general-section.tsx
53
54
  import { PencilSquare, Trash } from "@medusajs/icons";
54
55
  import { Container, Heading, StatusBadge, Text } from "@medusajs/ui";
56
+ import { DisplayExtensionZone, DisplayField } from "@mercurjs/dashboard-shared";
55
57
  import { useTranslation } from "react-i18next";
56
58
  import { jsx, jsxs } from "react/jsx-runtime";
57
59
  var CategoryGeneralSection = ({
@@ -63,11 +65,29 @@ var CategoryGeneralSection = ({
63
65
  const handleDelete = useDeleteProductCategoryAction(category);
64
66
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", children: [
65
67
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
66
- /* @__PURE__ */ jsx(Heading, { children: category.name }),
68
+ /* @__PURE__ */ jsx(DisplayField, { model: "category", zone: "general", id: "name", data: category, children: /* @__PURE__ */ jsx(Heading, { children: category.name }) }),
67
69
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-4", children: [
68
70
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-2", children: [
69
- /* @__PURE__ */ jsx(StatusBadge, { color: activeProps.color, children: activeProps.label }),
70
- /* @__PURE__ */ jsx(StatusBadge, { color: internalProps.color, children: internalProps.label })
71
+ /* @__PURE__ */ jsx(
72
+ DisplayField,
73
+ {
74
+ model: "category",
75
+ zone: "general",
76
+ id: "is_active",
77
+ data: category,
78
+ children: /* @__PURE__ */ jsx(StatusBadge, { color: activeProps.color, children: activeProps.label })
79
+ }
80
+ ),
81
+ /* @__PURE__ */ jsx(
82
+ DisplayField,
83
+ {
84
+ model: "category",
85
+ zone: "general",
86
+ id: "is_internal",
87
+ data: category,
88
+ children: /* @__PURE__ */ jsx(StatusBadge, { color: internalProps.color, children: internalProps.label })
89
+ }
90
+ )
71
91
  ] }),
72
92
  /* @__PURE__ */ jsx(
73
93
  ActionMenu,
@@ -96,23 +116,51 @@ var CategoryGeneralSection = ({
96
116
  )
97
117
  ] })
98
118
  ] }),
99
- /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 gap-3 px-6 py-4", children: [
100
- /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.description") }),
101
- /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: category.description || "-" })
102
- ] }),
103
- /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 gap-3 px-6 py-4", children: [
104
- /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.handle") }),
105
- /* @__PURE__ */ jsxs(Text, { size: "small", leading: "compact", children: [
106
- "/",
107
- category.handle
108
- ] })
109
- ] })
119
+ /* @__PURE__ */ jsx(
120
+ DisplayField,
121
+ {
122
+ model: "category",
123
+ zone: "general",
124
+ id: "description",
125
+ data: category,
126
+ children: /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 gap-3 px-6 py-4", children: [
127
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.description") }),
128
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: category.description || "-" })
129
+ ] })
130
+ }
131
+ ),
132
+ /* @__PURE__ */ jsx(
133
+ DisplayField,
134
+ {
135
+ model: "category",
136
+ zone: "general",
137
+ id: "handle",
138
+ data: category,
139
+ children: /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 gap-3 px-6 py-4", children: [
140
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.handle") }),
141
+ /* @__PURE__ */ jsxs(Text, { size: "small", leading: "compact", children: [
142
+ "/",
143
+ category.handle
144
+ ] })
145
+ ] })
146
+ }
147
+ ),
148
+ /* @__PURE__ */ jsx(
149
+ DisplayExtensionZone,
150
+ {
151
+ model: "category",
152
+ zone: "general",
153
+ data: category,
154
+ builtInFieldIds: ["name", "is_active", "is_internal", "description", "handle"]
155
+ }
156
+ )
110
157
  ] });
111
158
  };
112
159
 
113
160
  // src/pages/categories/category-detail/components/category-icon-section/category-icon-section.tsx
114
161
  import { PencilSquare as PencilSquare2 } from "@medusajs/icons";
115
162
  import { Container as Container2, Heading as Heading2, Text as Text2 } from "@medusajs/ui";
163
+ import { DisplayExtensionZone as DisplayExtensionZone2 } from "@mercurjs/dashboard-shared";
116
164
  import { useTranslation as useTranslation2 } from "react-i18next";
117
165
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
118
166
  var CategoryIconSection = ({
@@ -161,13 +209,14 @@ var CategoryIconSection = ({
161
209
  }
162
210
  ),
163
211
  /* @__PURE__ */ jsx2(Text2, { size: "small", className: "text-ui-fg-muted", children: t("categories.icon.empty.description") })
164
- ] }) })
212
+ ] }) }),
213
+ /* @__PURE__ */ jsx2(DisplayExtensionZone2, { model: "category", zone: "icon", data: category })
165
214
  ] });
166
215
  };
167
216
 
168
217
  // src/pages/categories/category-detail/components/category-media-section/category-media-section.tsx
169
218
  import { PencilSquare as PencilSquare3, ThumbnailBadge } from "@medusajs/icons";
170
- import { ListBadge } from "@mercurjs/dashboard-shared";
219
+ import { DisplayExtensionZone as DisplayExtensionZone3, ListBadge } from "@mercurjs/dashboard-shared";
171
220
  import { Container as Container3, Heading as Heading3, Text as Text3, Tooltip } from "@medusajs/ui";
172
221
  import { useTranslation as useTranslation3 } from "react-i18next";
173
222
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
@@ -230,7 +279,8 @@ var CategoryMediaSection = ({
230
279
  }
231
280
  ),
232
281
  /* @__PURE__ */ jsx3(Text3, { size: "small", className: "text-ui-fg-muted", children: t("categories.media.empty.description") })
233
- ] }) })
282
+ ] }) }),
283
+ /* @__PURE__ */ jsx3(DisplayExtensionZone3, { model: "category", zone: "media", data: category })
234
284
  ] });
235
285
  };
236
286
 
@@ -241,6 +291,7 @@ import {
241
291
  TriangleRightMini
242
292
  } from "@medusajs/icons";
243
293
  import { Badge, Container as Container4, Heading as Heading4, Text as Text4, Tooltip as Tooltip2 } from "@medusajs/ui";
294
+ import { DisplayExtensionZone as DisplayExtensionZone4 } from "@mercurjs/dashboard-shared";
244
295
  import { useMemo, useState } from "react";
245
296
  import { useTranslation as useTranslation4 } from "react-i18next";
246
297
  import { Link } from "react-router-dom";
@@ -276,7 +327,8 @@ var CategoryOrganizeSection = ({
276
327
  /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start gap-3 px-6 py-4", children: [
277
328
  /* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", weight: "plus", children: t("categories.fields.children.label") }),
278
329
  /* @__PURE__ */ jsx4(ChildrenDisplay, { category })
279
- ] })
330
+ ] }),
331
+ /* @__PURE__ */ jsx4(DisplayExtensionZone4, { model: "category", zone: "organize", data: category })
280
332
  ] });
281
333
  };
282
334
  var PathDisplay = ({
@@ -380,6 +432,7 @@ var ChildrenDisplay = ({
380
432
 
381
433
  // src/pages/categories/category-detail/components/category-product-section/category-product-section.tsx
382
434
  import { ExclamationCircle, PlusMini } from "@medusajs/icons";
435
+ import { DisplayExtensionZone as DisplayExtensionZone5 } from "@mercurjs/dashboard-shared";
383
436
  import {
384
437
  Checkbox,
385
438
  CommandBar,
@@ -519,7 +572,8 @@ var CategoryProductSection = ({
519
572
  shortcut: "r"
520
573
  }
521
574
  )
522
- ] }) })
575
+ ] }) }),
576
+ /* @__PURE__ */ jsx5(DisplayExtensionZone5, { model: "category", zone: "products", data: category })
523
577
  ] });
524
578
  };
525
579
  var columnHelper = createColumnHelper();
@@ -558,9 +612,10 @@ import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
558
612
  var Root = ({ children }) => {
559
613
  const { id } = useParams();
560
614
  const initialData = useLoaderData();
615
+ const linkQuery = useLinkQuery("category");
561
616
  const { product_category, isLoading, isError, error } = useProductCategory(
562
617
  id,
563
- void 0,
618
+ linkQuery,
564
619
  {
565
620
  initialData
566
621
  }
@@ -580,13 +635,13 @@ var Root = ({ children }) => {
580
635
  throw error;
581
636
  }
582
637
  return Children.count(children) > 0 ? /* @__PURE__ */ jsx6(TwoColumnPage, { showJSON: true, showMetadata: true, data: product_category, "data-testid": "category-detail-page", children }) : /* @__PURE__ */ jsxs6(TwoColumnPage, { showJSON: true, showMetadata: true, data: product_category, "data-testid": "category-detail-page", children: [
583
- /* @__PURE__ */ jsxs6(TwoColumnPage.Main, { children: [
638
+ /* @__PURE__ */ jsx6(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs6(WidgetZone, { id: "categories.detail.main", data: product_category, children: [
584
639
  /* @__PURE__ */ jsx6(CategoryGeneralSection, { category: product_category }),
585
640
  /* @__PURE__ */ jsx6(CategoryMediaSection, { category: product_category }),
586
641
  /* @__PURE__ */ jsx6(CategoryIconSection, { category: product_category }),
587
642
  /* @__PURE__ */ jsx6(CategoryProductSection, { category: product_category })
588
- ] }),
589
- /* @__PURE__ */ jsx6(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx6(CategoryOrganizeSection, { category: product_category }) })
643
+ ] }) }),
644
+ /* @__PURE__ */ jsx6(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "categories.detail.side", data: product_category, children: /* @__PURE__ */ jsx6(CategoryOrganizeSection, { category: product_category }) }) })
590
645
  ] });
591
646
  };
592
647
  var CategoryDetailPage = Object.assign(Root, {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  DateCell
3
3
  } from "./chunk-25LYVP3C.js";
4
- import {
5
- _DataTable,
6
- useDataTable
7
- } from "./chunk-6ZVV2XHU.js";
8
4
  import {
9
5
  SingleColumnPage
10
6
  } from "./chunk-H6MYB7GB.js";
11
7
  import {
12
8
  useQueryParams
13
9
  } from "./chunk-THHRRYRS.js";
10
+ import {
11
+ _DataTable,
12
+ useDataTable
13
+ } from "./chunk-GRFWCCUW.js";
14
14
  import {
15
15
  useUsers
16
16
  } from "./chunk-A2F5MDPU.js";
@@ -20,6 +20,7 @@ import {
20
20
 
21
21
  // src/pages/users/user-list/user-list.tsx
22
22
  import { Children as Children3 } from "react";
23
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
23
24
 
24
25
  // src/pages/users/user-list/components/user-list-table/user-list-table.tsx
25
26
  import { Children as Children2 } from "react";
@@ -234,7 +235,7 @@ var UserListTable = ({ children }) => {
234
235
  // src/pages/users/user-list/user-list.tsx
235
236
  import { jsx as jsx4 } from "react/jsx-runtime";
236
237
  var Root = ({ children }) => {
237
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(UserListTable, {}) });
238
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "users.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(UserListTable, {}) }) });
238
239
  };
239
240
  var UserListPage = Object.assign(Root, {
240
241
  Table: UserListTable,