@mercurjs/admin 2.2.0-canary.39 → 2.2.0-canary.41

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 (203) hide show
  1. package/dist/{add-campaign-promotions-NT4LQZQJ.js → add-campaign-promotions-QK73ARX4.js} +4 -4
  2. package/dist/{api-key-management-list-SXHZJUJB.js → api-key-management-list-5RXBJ24C.js} +2 -2
  3. package/dist/{attribute-create-D4RUU5OT.js → attribute-create-VAR6C5GW.js} +11 -18
  4. package/dist/{attribute-detail-OU6557XI.js → attribute-detail-LBACUDU3.js} +5 -5
  5. package/dist/{attribute-edit-EQH3YMGW.js → attribute-edit-WXO5FGR6.js} +4 -4
  6. package/dist/{attribute-edit-possible-value-X7XTAVVL.js → attribute-edit-possible-value-RO7BY3NC.js} +2 -2
  7. package/dist/{attribute-edit-ranking-CHWUVK5Z.js → attribute-edit-ranking-YGR3KCSC.js} +1 -1
  8. package/dist/{attribute-list-5LGYNGO7.js → attribute-list-6A72PBIY.js} +2 -2
  9. package/dist/{campaign-detail-EHNTH6A7.js → campaign-detail-6J7PTIIP.js} +5 -5
  10. package/dist/{campaign-edit-MAS3DCFB.js → campaign-edit-DBAJFIH4.js} +18 -5
  11. package/dist/{campaign-list-FFGRXEVJ.js → campaign-list-XH7UM5JJ.js} +2 -2
  12. package/dist/{categories-metadata-EKY6TSUK.js → categories-metadata-4LXL2PWA.js} +1 -1
  13. package/dist/{category-create-AIS2MG7E.js → category-create-CJZZZLDD.js} +1 -1
  14. package/dist/{category-detail-HCRJDDA2.js → category-detail-XV6CDZZL.js} +6 -6
  15. package/dist/{category-edit-LYR2IOTA.js → category-edit-2NCWDSZY.js} +19 -6
  16. package/dist/{category-list-7ILXI55P.js → category-list-WYMOJJLW.js} +2 -2
  17. package/dist/{category-products-LZQATT5Z.js → category-products-CQV2TKLY.js} +5 -5
  18. package/dist/{chunk-S22SK4KO.js → chunk-25U23TXK.js} +1 -1
  19. package/dist/{chunk-O5MW4WPZ.js → chunk-27XNPAJP.js} +10 -4
  20. package/dist/{chunk-CYACZXMQ.js → chunk-2CJIE5MY.js} +19 -8
  21. package/dist/{chunk-SLKOHWKT.js → chunk-3L4IFGRJ.js} +46 -9
  22. package/dist/{chunk-MYJJMHR5.js → chunk-4BPQNCF5.js} +1 -1
  23. package/dist/{chunk-VSLKILOI.js → chunk-4RLXMDIJ.js} +2 -2
  24. package/dist/{chunk-5GVJXMOU.js → chunk-4XYSIVPO.js} +2 -2
  25. package/dist/{chunk-PSGHE5YJ.js → chunk-5DAFNAZJ.js} +52 -35
  26. package/dist/{chunk-BLR3NTU6.js → chunk-5PNM6QNB.js} +2 -0
  27. package/dist/{chunk-YUUDST4E.js → chunk-5UT374IW.js} +70 -25
  28. package/dist/{chunk-2YAVXVET.js → chunk-6BWJWA2F.js} +1 -1
  29. package/dist/{chunk-HSL5IICN.js → chunk-6ZVV2XHU.js} +1 -1
  30. package/dist/{chunk-5NC6SI6J.js → chunk-7U2JJYMP.js} +42 -14
  31. package/dist/{chunk-DI2KBXVH.js → chunk-ADTYNS4J.js} +2 -2
  32. package/dist/{chunk-CE2WRTS7.js → chunk-AMZ2QSSI.js} +1 -1
  33. package/dist/chunk-APAT344J.js +144 -0
  34. package/dist/{chunk-74WEDBZ7.js → chunk-BFUHW56P.js} +1 -1
  35. package/dist/{chunk-YNK25LVO.js → chunk-BQWSY6FS.js} +2 -2
  36. package/dist/{chunk-MANRAV52.js → chunk-CBD7HK2G.js} +60 -26
  37. package/dist/{chunk-FLPKTLXN.js → chunk-CHMIK6PK.js} +1 -1
  38. package/dist/{chunk-WKTRJNOK.js → chunk-COOOOQ2N.js} +1 -1
  39. package/dist/{chunk-5K5VNKSE.js → chunk-DJD3MWED.js} +1 -1
  40. package/dist/{chunk-2DSCC2VR.js → chunk-EOSJHPHN.js} +1 -1
  41. package/dist/{chunk-AVATBB62.js → chunk-F2SZ4LPF.js} +61 -5
  42. package/dist/{chunk-BVIIRGSW.js → chunk-F3F4JC7E.js} +3 -1
  43. package/dist/{chunk-7TWARCNU.js → chunk-FNCDMOOR.js} +54 -22
  44. package/dist/{chunk-DISTPZNS.js → chunk-GWSRWILC.js} +1 -1
  45. package/dist/{chunk-5DQED4UT.js → chunk-GXU246YJ.js} +32 -5
  46. package/dist/{chunk-73Y6HKIG.js → chunk-HT34QVZR.js} +1 -1
  47. package/dist/{chunk-O53E5U52.js → chunk-I5HY5Q3K.js} +1 -1
  48. package/dist/{chunk-23OLYWMR.js → chunk-IASJSRP5.js} +71 -50
  49. package/dist/{chunk-FZPSX44L.js → chunk-IMLKFVFH.js} +24 -7
  50. package/dist/{chunk-LZEEPVQY.js → chunk-IZBV7MCY.js} +71 -37
  51. package/dist/{chunk-XFKDDRB6.js → chunk-JEDX4KBB.js} +1 -1
  52. package/dist/{chunk-CY263OE4.js → chunk-JEN37H6L.js} +3 -1
  53. package/dist/{chunk-PRSTCHB5.js → chunk-JSVYNNPF.js} +1 -3
  54. package/dist/{chunk-BO4V6CQN.js → chunk-K2JORJRZ.js} +4 -2
  55. package/dist/{chunk-LH4WPKYK.js → chunk-K7H77TA5.js} +1 -1
  56. package/dist/{chunk-RNDDYLHV.js → chunk-KRFXBBBU.js} +3 -3
  57. package/dist/{chunk-CN4FCZPK.js → chunk-KT4DGVRQ.js} +2 -2
  58. package/dist/{chunk-DWNUEPMI.js → chunk-KUCNCDST.js} +5 -10
  59. package/dist/{chunk-4NAIC6RG.js → chunk-L2D2AMTK.js} +4 -2
  60. package/dist/{chunk-WKR3Y2KD.js → chunk-LBDSZT5Q.js} +19 -8
  61. package/dist/{chunk-P4LTLPTK.js → chunk-LGOPKYNG.js} +1 -1
  62. package/dist/{chunk-VSKHV5QF.js → chunk-LQSSUC7W.js} +1 -1
  63. package/dist/{chunk-RIURQMDE.js → chunk-MFCQTAVI.js} +16 -5
  64. package/dist/{chunk-EUXCKJPT.js → chunk-ML7UVBKL.js} +1 -1
  65. package/dist/{chunk-LX5XLXPI.js → chunk-NLJ5F7FS.js} +1 -1
  66. package/dist/{chunk-325DZAT2.js → chunk-NPHYCQMP.js} +6 -4
  67. package/dist/{chunk-Y62TJJ3P.js → chunk-ORCMDF54.js} +28 -12
  68. package/dist/{chunk-I3ARNGRC.js → chunk-OVUKVGGD.js} +19 -8
  69. package/dist/{chunk-IQDZZ5EQ.js → chunk-PLU2GB4L.js} +28 -8
  70. package/dist/{chunk-FNJEXQ2Z.js → chunk-QAONUPAX.js} +44 -15
  71. package/dist/{chunk-GUDWUAMT.js → chunk-QFFF542X.js} +10 -4
  72. package/dist/{chunk-2S2SBRZP.js → chunk-RATQZHCS.js} +7 -6
  73. package/dist/{chunk-ZO3OJ2UQ.js → chunk-RIO2IHPE.js} +1 -1
  74. package/dist/{chunk-WBSUHLO7.js → chunk-RMB7MPIT.js} +1 -1
  75. package/dist/{chunk-HWWET5ZP.js → chunk-S2C6DUQJ.js} +3 -3
  76. package/dist/{chunk-QH34LF36.js → chunk-TZM63FZ4.js} +2 -2
  77. package/dist/{chunk-3SHHDCA6.js → chunk-U4MV53CS.js} +33 -15
  78. package/dist/{chunk-KC4J2WOM.js → chunk-USG4EATH.js} +20 -5
  79. package/dist/{chunk-LRJNSCMR.js → chunk-VIJXGPDE.js} +79 -25
  80. package/dist/{chunk-JUMT5GX7.js → chunk-VLYPVR5U.js} +20 -9
  81. package/dist/{chunk-PWLDTJJX.js → chunk-VXDRQQRZ.js} +4 -4
  82. package/dist/{chunk-YZBEJ3CY.js → chunk-VYSB4CTB.js} +1500 -1370
  83. package/dist/{chunk-TBKNLE4M.js → chunk-WEVSVBVF.js} +1 -1
  84. package/dist/{chunk-WNTHKSLS.js → chunk-WMK3BQPH.js} +2 -2
  85. package/dist/{chunk-AROCMF45.js → chunk-X5PMVI7H.js} +2 -2
  86. package/dist/{chunk-RDUSAVT3.js → chunk-X6KFVVHH.js} +3 -3
  87. package/dist/{chunk-2FPQHWJZ.js → chunk-X7IR2TVL.js} +106 -24
  88. package/dist/{chunk-7RWFRMQG.js → chunk-ZU74CNL4.js} +1 -1
  89. package/dist/{collection-add-products-QIEQCILA.js → collection-add-products-XUKFZOCQ.js} +5 -5
  90. package/dist/{collection-detail-PTVRSXT3.js → collection-detail-ID4FKP22.js} +6 -6
  91. package/dist/{collection-edit-UMZN5JZ6.js → collection-edit-GPUKISIV.js} +18 -5
  92. package/dist/{collection-list-O5XBGFTN.js → collection-list-C6U4CPLD.js} +5 -5
  93. package/dist/{collection-metadata-TOHJL5WW.js → collection-metadata-SBK6SL4C.js} +1 -1
  94. package/dist/{commission-rule-commission-edit-EXLLNUKM.js → commission-rule-commission-edit-V5JVRNZN.js} +1 -3
  95. package/dist/{commission-rule-create-3MCNOSWN.js → commission-rule-create-EZ2C6AWK.js} +1 -3
  96. package/dist/{commission-rule-detail-VTP2JKEG.js → commission-rule-detail-ZQ3OHFA2.js} +2 -2
  97. package/dist/{commission-rule-edit-X45EQ6BK.js → commission-rule-edit-NQ5EYCGO.js} +1 -3
  98. package/dist/{commissions-list-T7735Y35.js → commissions-list-M5WLJD2P.js} +3 -3
  99. package/dist/{customer-detail-IPM3SBHE.js → customer-detail-IG2QAAQL.js} +2 -2
  100. package/dist/{customer-edit-D55FJLIN.js → customer-edit-TADBOMPB.js} +18 -5
  101. package/dist/{customer-group-add-customers-QBRVKXGO.js → customer-group-add-customers-O6A5ZFPM.js} +1 -1
  102. package/dist/{customer-group-detail-3HV3BJOU.js → customer-group-detail-2B7XJ7NT.js} +2 -2
  103. package/dist/{customer-group-edit-NZ5SUPFQ.js → customer-group-edit-BX4HKVNN.js} +33 -18
  104. package/dist/{customer-group-list-IR6CW36P.js → customer-group-list-7LN5TN3G.js} +2 -2
  105. package/dist/{customer-group-metadata-4W32YXXP.js → customer-group-metadata-JX7ZBXLJ.js} +1 -1
  106. package/dist/{customer-list-276YPXTE.js → customer-list-K5TV3PSF.js} +2 -2
  107. package/dist/{customer-metadata-L622ZJ43.js → customer-metadata-JT5GGCRV.js} +1 -1
  108. package/dist/{customers-add-customer-group-PWKJZJBP.js → customers-add-customer-group-KX3XNNMU.js} +1 -1
  109. package/dist/{edit-inventory-item-73BY4I5T.js → edit-inventory-item-4RXYRJ7O.js} +19 -6
  110. package/dist/{edit-reservation-BC5IOLK6.js → edit-reservation-HA6J6U2N.js} +18 -5
  111. package/dist/{edit-rules-OK44K33O.js → edit-rules-4PPNBI7B.js} +1 -1
  112. package/dist/extension-targets.d.ts +195 -0
  113. package/dist/extension-targets.js +1 -0
  114. package/dist/{global-commission-edit-7ZMMIV7B.js → global-commission-edit-TRSS5JBH.js} +1 -3
  115. package/dist/index.d.ts +6 -2
  116. package/dist/index.js +199 -171
  117. package/dist/{inventory-create-66YM6FST.js → inventory-create-B3FHGX6A.js} +1 -1
  118. package/dist/{inventory-detail-RYFIUKTJ.js → inventory-detail-7VEJHRBB.js} +3 -3
  119. package/dist/{inventory-list-U4W4AP4E.js → inventory-list-IRQUQD4G.js} +2 -2
  120. package/dist/{inventory-metadata-W6Z6J2Z2.js → inventory-metadata-W2E4KYG3.js} +1 -1
  121. package/dist/{inventory-stock-A3TSIGMD.js → inventory-stock-D2BNT2UL.js} +4 -4
  122. package/dist/{location-fulfillment-providers-TMPZH2KQ.js → location-fulfillment-providers-MFM4SHJJ.js} +3 -3
  123. package/dist/{location-service-zone-create-U77V3ROT.js → location-service-zone-create-O6GYRZEE.js} +2 -2
  124. package/dist/{location-service-zone-manage-areas-FUUAAIDJ.js → location-service-zone-manage-areas-DBP3P27I.js} +2 -2
  125. package/dist/{marketplace-add-currencies-KDNMN57C.js → marketplace-add-currencies-IPE5RJF6.js} +1 -1
  126. package/dist/{marketplace-detail-KBJSCI2N.js → marketplace-detail-IHGJXVZS.js} +2 -2
  127. package/dist/{marketplace-edit-26PFXTVD.js → marketplace-edit-WG6LMQ2P.js} +1 -1
  128. package/dist/{marketplace-metadata-VXFQ3JZW.js → marketplace-metadata-STYABOTX.js} +1 -1
  129. package/dist/{offer-detail-page-D3J547CC.js → offer-detail-page-THKNBFWZ.js} +62 -17
  130. package/dist/{offer-variant-detail-page-P4CKF442.js → offer-variant-detail-page-NDGPFP6P.js} +2 -2
  131. package/dist/{offers-7JTHN6FI.js → offers-LYLEYD3A.js} +23 -8
  132. package/dist/{order-create-claim-CHXOZH2C.js → order-create-claim-Y7ESDXLI.js} +1 -1
  133. package/dist/{order-create-edit-O4AOAOF7.js → order-create-edit-6L5S7KQM.js} +1 -1
  134. package/dist/{order-create-exchange-CG3ODKTK.js → order-create-exchange-WHO3K2MW.js} +1 -1
  135. package/dist/{order-create-return-DDOYLDT7.js → order-create-return-R5WJBQ5W.js} +1 -1
  136. package/dist/{order-detail-V6AL4RWB.js → order-detail-NYKOH7OO.js} +2 -2
  137. package/dist/{order-edit-billing-address-KVX4EPM7.js → order-edit-billing-address-BEOKFNLZ.js} +1 -1
  138. package/dist/{order-list-WHZJ6B4G.js → order-list-EZWCH5YW.js} +4 -4
  139. package/dist/{order-metadata-L6SCT4MO.js → order-metadata-VQOA3DOL.js} +1 -1
  140. package/dist/pages/index.d.ts +60 -60
  141. package/dist/pages/index.js +66 -66
  142. package/dist/{payout-list-SOWVPSFQ.js → payout-list-3GQJQSVU.js} +2 -2
  143. package/dist/{price-list-configuration-OTSYJ3AQ.js → price-list-configuration-BLHIGDSV.js} +2 -2
  144. package/dist/{price-list-create-2422HUBU.js → price-list-create-YHSA7U3L.js} +7 -7
  145. package/dist/{price-list-detail-CL3FMPVN.js → price-list-detail-3SS3DGRU.js} +6 -6
  146. package/dist/{price-list-edit-RZQMPHXU.js → price-list-edit-TRRPPI43.js} +19 -6
  147. package/dist/{price-list-list-A42VGE3L.js → price-list-list-REIHOWWT.js} +2 -2
  148. package/dist/{price-list-prices-add-OOG6526Y.js → price-list-prices-add-X2GLUD7O.js} +6 -6
  149. package/dist/{product-add-existing-attributes-DKKPTZMB.js → product-add-existing-attributes-GPAZOIXH.js} +2 -2
  150. package/dist/{product-create-IX4TOFNU.js → product-create-6FDBZUB4.js} +4 -4
  151. package/dist/{product-create-attribute-DQ2RMDPZ.js → product-create-attribute-YFIEH7HD.js} +1 -1
  152. package/dist/{product-create-variant-TBJJ74ZR.js → product-create-variant-4O22DW7M.js} +3 -3
  153. package/dist/{product-detail-BLZYOXLS.js → product-detail-VORTX3LT.js} +4 -4
  154. package/dist/{product-edit-attribute-BSPIDAZJ.js → product-edit-attribute-NUJB7M6R.js} +2 -2
  155. package/dist/{product-list-PLXUL3YW.js → product-list-2WE2JY4F.js} +16 -13
  156. package/dist/{product-media-TDEPDO3W.js → product-media-LINHO45U.js} +3 -3
  157. package/dist/{product-metadata-KBT4QGRF.js → product-metadata-LOF6TSJQ.js} +1 -1
  158. package/dist/{product-organization-HFC44AOV.js → product-organization-ISVMEWQG.js} +1 -1
  159. package/dist/{product-tag-detail-222RARIO.js → product-tag-detail-2PMM6RG6.js} +7 -7
  160. package/dist/{product-tag-list-EZ4JUW4U.js → product-tag-list-KBNI6UDN.js} +7 -7
  161. package/dist/{product-tag-metadata-4EUBENJ6.js → product-tag-metadata-BXC7GMBB.js} +1 -1
  162. package/dist/{product-type-detail-SSMTOG47.js → product-type-detail-UKJ6RIHU.js} +6 -6
  163. package/dist/{product-type-list-XTVTT7ZA.js → product-type-list-JN4SKTFE.js} +2 -2
  164. package/dist/{product-type-metadata-RAVB4BK2.js → product-type-metadata-24JU4JNK.js} +1 -1
  165. package/dist/{product-variant-edit-QJK2CLID.js → product-variant-edit-MAM2RQ4V.js} +2 -2
  166. package/dist/{product-variant-metadata-7VHJ4U6L.js → product-variant-metadata-5PUBLPDN.js} +1 -1
  167. package/dist/{promotion-create-AWZ7YA5T.js → promotion-create-3EDHAI7E.js} +2 -2
  168. package/dist/{promotion-detail-EEDQ3GQD.js → promotion-detail-PLGDC3A7.js} +3 -3
  169. package/dist/{promotion-edit-details-APVHD6J4.js → promotion-edit-details-RTLPOQ4H.js} +22 -13
  170. package/dist/{promotion-list-SXUXYV6R.js → promotion-list-D6HSZKGU.js} +5 -5
  171. package/dist/{refund-reason-list-OVTNXVLP.js → refund-reason-list-OWXAGHOQ.js} +5 -5
  172. package/dist/{region-add-countries-IIHNNE76.js → region-add-countries-UO5A42HM.js} +1 -1
  173. package/dist/{region-create-PHZNUCJR.js → region-create-7NA6RKWS.js} +1 -1
  174. package/dist/{region-detail-AECQQ62I.js → region-detail-636IAPYK.js} +2 -2
  175. package/dist/{region-list-IBQW5J3R.js → region-list-GIU6NFI4.js} +2 -2
  176. package/dist/{region-metadata-3KASKFZ3.js → region-metadata-NRV3L42D.js} +1 -1
  177. package/dist/{reservation-detail-MAWHNY2H.js → reservation-detail-PWZ3PLC4.js} +2 -2
  178. package/dist/{reservation-list-IUYMT4U6.js → reservation-list-URKNAFIX.js} +2 -2
  179. package/dist/{reservation-metadata-ENY4V2ED.js → reservation-metadata-ZFKKAOWG.js} +1 -1
  180. package/dist/{reset-password-UIDUOHVW.js → reset-password-UDA5ZMTZ.js} +1 -1
  181. package/dist/{return-reason-list-FRHFRNKK.js → return-reason-list-4ANB2PXX.js} +6 -6
  182. package/dist/{sales-channel-add-products-ZCUVTJQN.js → sales-channel-add-products-NATZ7L5S.js} +5 -5
  183. package/dist/{sales-channel-detail-EZVCWMMS.js → sales-channel-detail-VDYOKH35.js} +6 -6
  184. package/dist/{sales-channel-metadata-RXC4IDD3.js → sales-channel-metadata-5W4OZZYI.js} +1 -1
  185. package/dist/{shipping-option-type-list-Y43XD2XM.js → shipping-option-type-list-4FML2ZX5.js} +2 -2
  186. package/dist/{shipping-profile-metadata-HMQZ6LGB.js → shipping-profile-metadata-52ZW757T.js} +1 -1
  187. package/dist/{shipping-profiles-list-4VHKTKIL.js → shipping-profiles-list-PZQVMKR4.js} +2 -2
  188. package/dist/{store-address-edit-B4LWVP73.js → store-address-edit-IJ2UW6WC.js} +1 -1
  189. package/dist/{store-bulk-edit-IXWGUFY2.js → store-bulk-edit-I2J5YYZK.js} +1 -1
  190. package/dist/{store-create-PL2XGIR5.js → store-create-4UHISWQE.js} +3 -3
  191. package/dist/{store-details-4DAUF3CD.js → store-details-4D7MSGVL.js} +6 -6
  192. package/dist/{store-edit-ESFC2UXE.js → store-edit-MQZMWYXY.js} +23 -9
  193. package/dist/{store-list-KANREHW5.js → store-list-EBAHJOZO.js} +5 -5
  194. package/dist/{store-member-invite-U4UQS5VC.js → store-member-invite-J2JFDOHX.js} +2 -2
  195. package/dist/{tax-region-create-4YEJ3HFY.js → tax-region-create-GGDCD2VU.js} +1 -1
  196. package/dist/{tax-region-metadata-N3QNTXME.js → tax-region-metadata-4P667IOY.js} +1 -1
  197. package/dist/{tax-region-tax-override-create-JZHOHCXF.js → tax-region-tax-override-create-5PIUENUZ.js} +7 -7
  198. package/dist/{tax-region-tax-override-edit-SZRD23P4.js → tax-region-tax-override-edit-GBPRPUTS.js} +7 -7
  199. package/dist/{user-invite-UN6NCCII.js → user-invite-FCWARLW5.js} +1 -1
  200. package/dist/{user-list-27ZKEJXN.js → user-list-OU6WS25V.js} +2 -2
  201. package/dist/{user-metadata-BD73LJWB.js → user-metadata-CHHV7S3A.js} +1 -1
  202. package/package.json +23 -18
  203. package/dist/chunk-LFKTHNWI.js +0 -83
@@ -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";
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  _DataTable,
25
25
  useDataTable
26
- } from "./chunk-HSL5IICN.js";
26
+ } from "./chunk-6ZVV2XHU.js";
27
27
  import {
28
28
  useDate
29
29
  } from "./chunk-UZWFZMOX.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 { 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
 
@@ -674,7 +711,7 @@ var Root = ({ children }) => {
674
711
  throw error;
675
712
  }
676
713
  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: [
714
+ /* @__PURE__ */ jsx11(TwoColumnPage.Main, { "data-testid": "inventory-detail-main", children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "inventory.detail.main", data: inventory_item, children: [
678
715
  /* @__PURE__ */ jsx11(InventoryItemGeneralSection, { inventoryItem: inventory_item }),
679
716
  /* @__PURE__ */ jsx11(
680
717
  InventoryItemLocationLevelsSection,
@@ -683,8 +720,8 @@ var Root = ({ children }) => {
683
720
  }
684
721
  ),
685
722
  /* @__PURE__ */ jsx11(InventoryItemReservationsSection, { inventoryItem: inventory_item })
686
- ] }),
687
- /* @__PURE__ */ jsxs5(TwoColumnPage.Sidebar, { "data-testid": "inventory-detail-sidebar", children: [
723
+ ] }) }),
724
+ /* @__PURE__ */ jsx11(TwoColumnPage.Sidebar, { "data-testid": "inventory-detail-sidebar", children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "inventory.detail.side", data: inventory_item, children: [
688
725
  inventory_item.variants && inventory_item.variants?.length > 0 && /* @__PURE__ */ jsx11(
689
726
  InventoryItemVariantsSection,
690
727
  {
@@ -692,7 +729,7 @@ var Root = ({ children }) => {
692
729
  }
693
730
  ),
694
731
  /* @__PURE__ */ jsx11(InventoryItemAttributeSection, { inventoryItem: inventory_item })
695
- ] })
732
+ ] }) })
696
733
  ] });
697
734
  };
698
735
  var InventoryDetailPage = Object.assign(Root, {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  _DataTable,
3
3
  useDataTable
4
- } from "./chunk-HSL5IICN.js";
4
+ } from "./chunk-6ZVV2XHU.js";
5
5
  import {
6
6
  SingleColumnPage
7
7
  } from "./chunk-H6MYB7GB.js";
@@ -6,7 +6,7 @@ import {
6
6
  CategoryHeader,
7
7
  ProductStatusCell,
8
8
  ProductStatusHeader
9
- } from "./chunk-WBSUHLO7.js";
9
+ } from "./chunk-RMB7MPIT.js";
10
10
  import {
11
11
  ProductCell,
12
12
  ProductHeader
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-THHRRYRS.js";
20
20
  import {
21
21
  require_dist
22
- } from "./chunk-YZBEJ3CY.js";
22
+ } from "./chunk-VYSB4CTB.js";
23
23
  import {
24
24
  useProductTags
25
25
  } from "./chunk-ABS7HMLY.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AttributeValueInput
3
- } from "./chunk-5K5VNKSE.js";
3
+ } from "./chunk-DJD3MWED.js";
4
4
  import {
5
5
  TabbedForm,
6
6
  defineTabMeta,
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-6BAPAIQM.js";
19
19
  import {
20
20
  require_dist
21
- } from "./chunk-YZBEJ3CY.js";
21
+ } from "./chunk-VYSB4CTB.js";
22
22
  import {
23
23
  useCreateProductVariant,
24
24
  useProduct
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KOURHC2N.js";
4
4
  import {
5
5
  useSellersTableQuery
6
- } from "./chunk-WKTRJNOK.js";
6
+ } from "./chunk-COOOOQ2N.js";
7
7
  import {
8
8
  DateCell
9
9
  } from "./chunk-25LYVP3C.js";
@@ -13,13 +13,13 @@ import {
13
13
  import {
14
14
  _DataTable,
15
15
  useDataTable
16
- } from "./chunk-HSL5IICN.js";
16
+ } from "./chunk-6ZVV2XHU.js";
17
17
  import {
18
18
  SingleColumnPage
19
19
  } from "./chunk-H6MYB7GB.js";
20
20
  import {
21
21
  require_dist
22
- } from "./chunk-YZBEJ3CY.js";
22
+ } from "./chunk-VYSB4CTB.js";
23
23
  import {
24
24
  useSellers
25
25
  } from "./chunk-BILFRATX.js";
@@ -32,6 +32,7 @@ import {
32
32
 
33
33
  // src/pages/stores/store-list/store-list.tsx
34
34
  import { Children as Children3 } from "react";
35
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
35
36
 
36
37
  // src/pages/stores/store-list/components/store-list-table/store-list-table.tsx
37
38
  import { Children as Children2 } from "react";
@@ -44,7 +45,8 @@ import { useTranslation } from "react-i18next";
44
45
  import { Link } from "react-router-dom";
45
46
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
46
47
  var StoreListTitle = () => {
47
- return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Heading, { level: "h2", children: "Stores" }) });
48
+ const { t } = useTranslation();
49
+ return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Heading, { level: "h2", children: t("stores.domain") }) });
48
50
  };
49
51
  var StoreListActions = ({
50
52
  children
@@ -68,7 +70,10 @@ import { useNavigate } from "react-router-dom";
68
70
  import { Checkbox } from "@medusajs/ui";
69
71
  import { PencilSquare } from "@medusajs/icons";
70
72
  import { keepPreviousData } from "@tanstack/react-query";
71
- import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
73
+ import {
74
+ createColumnHelper as createColumnHelper2
75
+ } from "@tanstack/react-table";
76
+ import { useExtendableTable } from "@mercurjs/dashboard-shared";
72
77
 
73
78
  // src/hooks/table/columns/use-seller-table-columns.tsx
74
79
  import { createColumnHelper } from "@tanstack/react-table";
@@ -154,8 +159,12 @@ var StoreListDataTable = () => {
154
159
  placeholderData: keepPreviousData
155
160
  }
156
161
  );
157
- const columns = useColumns();
158
- const filters = useSellerTableFilters();
162
+ const { columns, filters: extFilters } = useColumns();
163
+ const baseFilters = useSellerTableFilters();
164
+ const filters = useMemo2(
165
+ () => [...baseFilters, ...extFilters],
166
+ [baseFilters, extFilters]
167
+ );
159
168
  const { table } = useDataTable({
160
169
  data: sellers ?? [],
161
170
  columns,
@@ -223,40 +232,48 @@ var StoreActions = ({ seller }) => {
223
232
  };
224
233
  var useColumns = () => {
225
234
  const base = useSellersTableColumns();
226
- return useMemo2(
227
- () => [
228
- columnHelper2.display({
229
- id: "select",
230
- header: ({ table }) => {
231
- return /* @__PURE__ */ jsx4(
232
- Checkbox,
233
- {
234
- checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
235
- onCheckedChange: (value) => table.toggleAllPageRowsSelected(!!value)
236
- }
237
- );
238
- },
239
- cell: ({ row }) => {
240
- return /* @__PURE__ */ jsx4(
241
- Checkbox,
242
- {
243
- checked: row.getIsSelected(),
244
- onCheckedChange: (value) => row.toggleSelected(!!value),
245
- onClick: (e) => {
246
- e.stopPropagation();
247
- }
235
+ const selectColumn = useMemo2(
236
+ () => columnHelper2.display({
237
+ id: "select",
238
+ header: ({ table }) => {
239
+ return /* @__PURE__ */ jsx4(
240
+ Checkbox,
241
+ {
242
+ checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
243
+ onCheckedChange: (value) => table.toggleAllPageRowsSelected(!!value)
244
+ }
245
+ );
246
+ },
247
+ cell: ({ row }) => {
248
+ return /* @__PURE__ */ jsx4(
249
+ Checkbox,
250
+ {
251
+ checked: row.getIsSelected(),
252
+ onCheckedChange: (value) => row.toggleSelected(!!value),
253
+ onClick: (e) => {
254
+ e.stopPropagation();
248
255
  }
249
- );
250
- }
251
- }),
252
- ...base,
256
+ }
257
+ );
258
+ }
259
+ }),
260
+ []
261
+ );
262
+ const { columns: extended, filters } = useExtendableTable({
263
+ model: "store",
264
+ columns: [selectColumn, ...base]
265
+ });
266
+ const columns = useMemo2(
267
+ () => [
268
+ ...extended,
253
269
  columnHelper2.display({
254
270
  id: "actions",
255
271
  cell: ({ row }) => /* @__PURE__ */ jsx4(StoreActions, { seller: row.original })
256
272
  })
257
273
  ],
258
- [base]
274
+ [extended]
259
275
  );
276
+ return { columns, filters };
260
277
  };
261
278
 
262
279
  // src/pages/stores/store-list/components/store-list-table/store-list-table.tsx
@@ -271,7 +288,7 @@ var StoreListTable = ({ children }) => {
271
288
  // src/pages/stores/store-list/store-list.tsx
272
289
  import { jsx as jsx6 } from "react/jsx-runtime";
273
290
  var Root = ({ children }) => {
274
- return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(StoreListTable, {}) });
291
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx6(WidgetZone, { id: "stores.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(StoreListTable, {}) }) });
275
292
  };
276
293
  var StoreListPage = Object.assign(Root, {
277
294
  Table: StoreListTable,
@@ -381,6 +381,8 @@ var CreateCategoryForm = ({
381
381
  return /* @__PURE__ */ jsx3(
382
382
  TabbedForm,
383
383
  {
384
+ model: "category",
385
+ zone: "create",
384
386
  form,
385
387
  onSubmit: handleSubmit,
386
388
  isLoading: isPending,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ProductMediaSection
3
- } from "./chunk-BVIIRGSW.js";
3
+ } from "./chunk-F3F4JC7E.js";
4
4
  import {
5
5
  SectionRow
6
6
  } from "./chunk-3XPXUIK3.js";
@@ -16,13 +16,13 @@ import {
16
16
  import {
17
17
  _DataTable,
18
18
  useDataTable
19
- } from "./chunk-HSL5IICN.js";
19
+ } from "./chunk-6ZVV2XHU.js";
20
20
  import {
21
21
  useQueryParams
22
22
  } from "./chunk-THHRRYRS.js";
23
23
  import {
24
24
  require_dist
25
- } from "./chunk-YZBEJ3CY.js";
25
+ } from "./chunk-VYSB4CTB.js";
26
26
  import {
27
27
  useSeller
28
28
  } from "./chunk-BILFRATX.js";
@@ -55,6 +55,7 @@ import {
55
55
  // src/pages/products/product-detail/product-detail.tsx
56
56
  import { Children } from "react";
57
57
  import { useLoaderData, useParams } from "react-router-dom";
58
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
58
59
 
59
60
  // src/pages/products/product-detail/components/product-active-edit-section/product-active-edit-section.tsx
60
61
  var import_types = __toESM(require_dist(), 1);
@@ -306,6 +307,7 @@ import { useState as useState3 } from "react";
306
307
  import { Button as Button2, Container, Heading, Text as Text2, toast as toast2 } from "@medusajs/ui";
307
308
  import { ExclamationCircleSolid } from "@medusajs/icons";
308
309
  import { useTranslation as useTranslation3 } from "react-i18next";
310
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
309
311
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
310
312
  var ProductActiveRequestSection = ({
311
313
  product
@@ -451,7 +453,8 @@ var ProductActiveRequestSection = ({
451
453
  isLoading: isRejecting,
452
454
  onConfirm: handleReject
453
455
  }
454
- )
456
+ ),
457
+ /* @__PURE__ */ jsx3(DisplayExtensionZone, { model: "product", zone: "request", data: product })
455
458
  ]
456
459
  }
457
460
  );
@@ -476,6 +479,7 @@ import {
476
479
  usePrompt
477
480
  } from "@medusajs/ui";
478
481
  import { useTranslation as useTranslation4 } from "react-i18next";
482
+ import { DisplayExtensionZone as DisplayExtensionZone2 } from "@mercurjs/dashboard-shared";
479
483
  import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
480
484
  var AttributeActions = ({
481
485
  productId,
@@ -655,7 +659,8 @@ var ProductAttributeSection = ({
655
659
  attributes: infoAttributes,
656
660
  productId: product.id
657
661
  }
658
- )
662
+ ),
663
+ /* @__PURE__ */ jsx4(DisplayExtensionZone2, { model: "product", zone: "attributes", data: product })
659
664
  ] });
660
665
  };
661
666
 
@@ -664,7 +669,16 @@ import { PencilSquare as PencilSquare2, Trash as Trash2 } from "@medusajs/icons"
664
669
  import { Container as Container3, Heading as Heading3, StatusBadge, usePrompt as usePrompt2 } from "@medusajs/ui";
665
670
  import { useTranslation as useTranslation5 } from "react-i18next";
666
671
  import { useNavigate } from "react-router-dom";
672
+ import { DisplayExtensionZone as DisplayExtensionZone3, DisplayField } from "@mercurjs/dashboard-shared";
667
673
  import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
674
+ var GENERAL_FIELD_IDS = [
675
+ "title",
676
+ "status",
677
+ "description",
678
+ "subtitle",
679
+ "handle",
680
+ "discountable"
681
+ ];
668
682
  var productStatusColor = (status) => {
669
683
  switch (status) {
670
684
  case "draft":
@@ -711,7 +725,7 @@ var ProductGeneralSection = ({
711
725
  className: "flex items-center justify-between px-6 py-4",
712
726
  "data-testid": "product-general-header",
713
727
  children: [
714
- /* @__PURE__ */ jsx5(Heading3, { "data-testid": "product-general-title", children: product.title }),
728
+ /* @__PURE__ */ jsx5(DisplayField, { model: "product", zone: "general", id: "title", data: product, children: /* @__PURE__ */ jsx5(Heading3, { "data-testid": "product-general-title", children: product.title }) }),
715
729
  /* @__PURE__ */ jsxs5(
716
730
  "div",
717
731
  {
@@ -719,11 +733,20 @@ var ProductGeneralSection = ({
719
733
  "data-testid": "product-general-actions",
720
734
  children: [
721
735
  /* @__PURE__ */ jsx5(
722
- StatusBadge,
736
+ DisplayField,
723
737
  {
724
- color: productStatusColor(product.status),
725
- "data-testid": "product-status-badge",
726
- children: t(`products.productStatus.${product.status}`)
738
+ model: "product",
739
+ zone: "general",
740
+ id: "status",
741
+ data: product,
742
+ children: /* @__PURE__ */ jsx5(
743
+ StatusBadge,
744
+ {
745
+ color: productStatusColor(product.status),
746
+ "data-testid": "product-status-badge",
747
+ children: t(`products.productStatus.${product.status}`)
748
+ }
749
+ )
727
750
  }
728
751
  ),
729
752
  /* @__PURE__ */ jsx5(
@@ -758,36 +781,54 @@ var ProductGeneralSection = ({
758
781
  ]
759
782
  }
760
783
  ),
761
- /* @__PURE__ */ jsx5(
784
+ /* @__PURE__ */ jsx5(DisplayField, { model: "product", zone: "general", id: "description", data: product, children: /* @__PURE__ */ jsx5(
762
785
  SectionRow,
763
786
  {
764
787
  title: t("fields.description"),
765
788
  value: product.description,
766
789
  "data-testid": "product-description-row"
767
790
  }
768
- ),
769
- /* @__PURE__ */ jsx5(
791
+ ) }),
792
+ /* @__PURE__ */ jsx5(DisplayField, { model: "product", zone: "general", id: "subtitle", data: product, children: /* @__PURE__ */ jsx5(
770
793
  SectionRow,
771
794
  {
772
795
  title: t("fields.subtitle"),
773
796
  value: product.subtitle,
774
797
  "data-testid": "product-subtitle-row"
775
798
  }
776
- ),
777
- /* @__PURE__ */ jsx5(
799
+ ) }),
800
+ /* @__PURE__ */ jsx5(DisplayField, { model: "product", zone: "general", id: "handle", data: product, children: /* @__PURE__ */ jsx5(
778
801
  SectionRow,
779
802
  {
780
803
  title: t("fields.handle"),
781
804
  value: `/${product.handle}`,
782
805
  "data-testid": "product-handle-row"
783
806
  }
807
+ ) }),
808
+ /* @__PURE__ */ jsx5(
809
+ DisplayField,
810
+ {
811
+ model: "product",
812
+ zone: "general",
813
+ id: "discountable",
814
+ data: product,
815
+ children: /* @__PURE__ */ jsx5(
816
+ SectionRow,
817
+ {
818
+ title: t("fields.discountable"),
819
+ value: product.discountable ? t("fields.true") : t("fields.false"),
820
+ "data-testid": "product-discountable-row"
821
+ }
822
+ )
823
+ }
784
824
  ),
785
825
  /* @__PURE__ */ jsx5(
786
- SectionRow,
826
+ DisplayExtensionZone3,
787
827
  {
788
- title: t("fields.discountable"),
789
- value: product.discountable ? t("fields.true") : t("fields.false"),
790
- "data-testid": "product-discountable-row"
828
+ model: "product",
829
+ zone: "general",
830
+ data: product,
831
+ builtInFieldIds: GENERAL_FIELD_IDS
791
832
  }
792
833
  )
793
834
  ] });
@@ -798,6 +839,7 @@ import { PencilSquare as PencilSquare3 } from "@medusajs/icons";
798
839
  import { Badge as Badge2, Container as Container4, Heading as Heading4, Tooltip as Tooltip2 } from "@medusajs/ui";
799
840
  import { useTranslation as useTranslation6 } from "react-i18next";
800
841
  import { Link } from "react-router-dom";
842
+ import { DisplayExtensionZone as DisplayExtensionZone4 } from "@mercurjs/dashboard-shared";
801
843
  import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
802
844
  var ProductOrganizationSection = ({
803
845
  product
@@ -893,7 +935,8 @@ var ProductOrganizationSection = ({
893
935
  ) : void 0,
894
936
  "data-testid": "product-type-row"
895
937
  }
896
- )
938
+ ),
939
+ /* @__PURE__ */ jsx6(DisplayExtensionZone4, { model: "product", zone: "organize", data: product })
897
940
  ]
898
941
  }
899
942
  );
@@ -912,6 +955,7 @@ var OrganizationTag = ({ label, to }) => {
912
955
  // src/pages/products/product-detail/components/product-variant-section/product-variant-section.tsx
913
956
  import { useCallback, useMemo } from "react";
914
957
  import { PencilSquare as PencilSquare4, Trash as Trash3 } from "@medusajs/icons";
958
+ import { DisplayExtensionZone as DisplayExtensionZone5 } from "@mercurjs/dashboard-shared";
915
959
  import {
916
960
  Badge as Badge3,
917
961
  Button as Button3,
@@ -999,7 +1043,8 @@ var ProductVariantSection = ({
999
1043
  message: t("products.variants.empty.description")
1000
1044
  }
1001
1045
  }
1002
- )
1046
+ ),
1047
+ /* @__PURE__ */ jsx7(DisplayExtensionZone5, { model: "product", zone: "variants", data: product })
1003
1048
  ] });
1004
1049
  };
1005
1050
  var columnHelper = createColumnHelper();
@@ -1206,17 +1251,17 @@ var Root = ({ children }) => {
1206
1251
  showMetadata: true,
1207
1252
  "data-testid": "product-detail-page",
1208
1253
  children: [
1209
- /* @__PURE__ */ jsxs8(TwoColumnPage.Main, { "data-testid": "product-detail-main", children: [
1254
+ /* @__PURE__ */ jsx8(TwoColumnPage.Main, { "data-testid": "product-detail-main", children: /* @__PURE__ */ jsxs8(WidgetZone, { id: "product.detail.main", data: product, children: [
1210
1255
  /* @__PURE__ */ jsx8(ProductActiveRequestSection, { product }),
1211
1256
  /* @__PURE__ */ jsx8(ProductActiveEditSection, { product }),
1212
1257
  /* @__PURE__ */ jsx8(ProductGeneralSection, { product }),
1213
1258
  /* @__PURE__ */ jsx8(ProductMediaSection, { product }),
1214
1259
  /* @__PURE__ */ jsx8(ProductVariantSection, { product })
1215
- ] }),
1216
- /* @__PURE__ */ jsxs8(TwoColumnPage.Sidebar, { "data-testid": "product-detail-sidebar", children: [
1260
+ ] }) }),
1261
+ /* @__PURE__ */ jsx8(TwoColumnPage.Sidebar, { "data-testid": "product-detail-sidebar", children: /* @__PURE__ */ jsxs8(WidgetZone, { id: "product.detail.side", data: product, children: [
1217
1262
  /* @__PURE__ */ jsx8(ProductOrganizationSection, { product }),
1218
1263
  /* @__PURE__ */ jsx8(ProductAttributeSection, { product })
1219
- ] })
1264
+ ] }) })
1220
1265
  ]
1221
1266
  }
1222
1267
  );
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  _DataTable,
12
12
  useDataTable
13
- } from "./chunk-HSL5IICN.js";
13
+ } from "./chunk-6ZVV2XHU.js";
14
14
  import {
15
15
  SingleColumnPage
16
16
  } from "./chunk-H6MYB7GB.js";
@@ -734,7 +734,7 @@ var SelectFilter = ({
734
734
  value: search,
735
735
  onValueChange: setSearch,
736
736
  className: "txt-compact-small placeholder:text-ui-fg-muted bg-transparent outline-none",
737
- placeholder: "Search"
737
+ placeholder: t2("general.search")
738
738
  }
739
739
  ),
740
740
  /* @__PURE__ */ jsx4("div", { className: "flex h-5 w-5 items-center justify-center", children: /* @__PURE__ */ jsx4(