@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
@@ -9421,7 +9421,8 @@ var en_default = {
9421
9421
  proposed: "Proposed",
9422
9422
  published: "Published",
9423
9423
  requires_action: "Requires Action",
9424
- rejected: "Rejected"
9424
+ rejected: "Rejected",
9425
+ accepted: "Accepted"
9425
9426
  },
9426
9427
  request: {
9427
9428
  panel: {
@@ -9904,6 +9905,7 @@ var en_default = {
9904
9905
  attributes: "Attributes",
9905
9906
  requiresShipping: "Requires shipping",
9906
9907
  requiresShippingHint: "Does the inventory item require shipping?",
9908
+ descriptionPlaceholder: "The item description",
9907
9909
  successToast: "Inventory item was successfully created."
9908
9910
  },
9909
9911
  reservation: {
@@ -10099,6 +10101,13 @@ var en_default = {
10099
10101
  }
10100
10102
  },
10101
10103
  orders: {
10104
+ group: {
10105
+ heading: "Orders in group",
10106
+ noOtherOrders: "No other orders in this group"
10107
+ },
10108
+ commission: {
10109
+ total: "Total"
10110
+ },
10102
10111
  giftCardsStoreCreditLines: "Gift cards & credit lines",
10103
10112
  creditLines: {
10104
10113
  title: "Credit lines",
@@ -10176,6 +10185,7 @@ var en_default = {
10176
10185
  title: "Payments",
10177
10186
  isReadyToBeCaptured: "Payment <0/> is ready to be captured.",
10178
10187
  totalPaidByCustomer: "Total paid by customer",
10188
+ totalPending: "Total pending",
10179
10189
  totalStoreCreditRefunds: "Total store credit refunds",
10180
10190
  capture: "Capture payment",
10181
10191
  capture_short: "Capture",
@@ -11200,10 +11210,16 @@ var en_default = {
11200
11210
  campaign_currency: {
11201
11211
  tooltip: "This is the promotion's currency. Change it from the Details tab."
11202
11212
  },
11213
+ campaignSection: {
11214
+ noRecordsTitle: "Not part of a campaign",
11215
+ noRecordsMessage: "Add this promotion to an existing campaign",
11216
+ addToCampaign: "Add to Campaign"
11217
+ },
11203
11218
  form: {
11204
11219
  required: "Required",
11205
11220
  and: "AND",
11206
11221
  selectAttribute: "Select Attribute",
11222
+ selectOperator: "Select Operator",
11207
11223
  campaign: {
11208
11224
  existing: {
11209
11225
  title: "Existing Campaign",
@@ -11460,7 +11476,9 @@ var en_default = {
11460
11476
  successToast_other: "Successfully deleted prices for {{count}} products."
11461
11477
  },
11462
11478
  add: {
11463
- successToast: "Prices were successfully added to the price list."
11479
+ successToast: "Prices were successfully added to the price list.",
11480
+ alreadyInPriceList: "This product is already in the price list",
11481
+ noVariants: "This product has no variants"
11464
11482
  },
11465
11483
  edit: {
11466
11484
  successToast: "Prices were successfully updated."
@@ -11578,7 +11596,8 @@ var en_default = {
11578
11596
  domain: "Marketplace",
11579
11597
  manageMarketplaceDetails: "Manage your marketplace's details",
11580
11598
  edit: {
11581
- header: "Edit Marketplace"
11599
+ header: "Edit Marketplace",
11600
+ namePlaceholder: "ACME"
11582
11601
  }
11583
11602
  },
11584
11603
  store: {
@@ -11935,12 +11954,21 @@ var en_default = {
11935
11954
  lastUsedAtLabel: "Last used at",
11936
11955
  revokedByLabel: "Revoked by",
11937
11956
  revokedAtLabel: "Revoked at",
11938
- createdByLabel: "Created by"
11957
+ createdByLabel: "Created by",
11958
+ tokenLabel: "Token"
11939
11959
  }
11940
11960
  },
11941
11961
  attributes: {
11942
11962
  domain: "Product Attributes",
11943
11963
  subtitle: "Manage product attributes and their possible values.",
11964
+ editRanking: {
11965
+ successToast: "Ranking updated successfully."
11966
+ },
11967
+ possibleValues: {
11968
+ editRanking: "Edit ranking",
11969
+ noRecordsTitle: "No created values",
11970
+ noRecordsMessage: "Create attribute to organize your products"
11971
+ },
11944
11972
  list: {
11945
11973
  title: "Product Attributes",
11946
11974
  noRecordsMessage: "No product attributes have been created yet."
@@ -12013,7 +12041,9 @@ var en_default = {
12013
12041
  isFilterable: "Filterable attribute",
12014
12042
  isFilterableHint: "If checked, customers will be able to filter products using this attribute.",
12015
12043
  isGlobal: "Global attribute",
12016
- isGlobalHint: "If checked, this attribute applies to all products across all categories."
12044
+ isGlobalHint: "If checked, this attribute applies to all products across all categories.",
12045
+ isVariantAxis: "Use for variants",
12046
+ isVariantAxisHint: "If checked, this attribute will define product variants (e.g. size, color)."
12017
12047
  },
12018
12048
  type: {
12019
12049
  select: "Single Select",
@@ -12300,6 +12330,7 @@ var en_default = {
12300
12330
  yes: "Yes",
12301
12331
  no: "No",
12302
12332
  amount: "Amount",
12333
+ commission: "Commission",
12303
12334
  reference: "Reference",
12304
12335
  reference_id: "Reference ID",
12305
12336
  refundAmount: "Refund amount",
@@ -12509,8 +12540,10 @@ var en_default = {
12509
12540
  views: {
12510
12541
  save: "Save",
12511
12542
  saveAsNew: "Save as new view",
12543
+ saveAsSystemDefault: "Save as system default",
12512
12544
  updateDefaultForEveryone: "Update default for everyone",
12513
12545
  updateViewName: "Update view",
12546
+ updateNamed: 'Update "{{name}}"',
12514
12547
  prompts: {
12515
12548
  updateDefault: {
12516
12549
  title: "Update default view",
@@ -12523,6 +12556,18 @@ var en_default = {
12523
12556
  description: 'Are you sure you want to update "{{name}}"?',
12524
12557
  confirmText: "Update",
12525
12558
  cancelText: "Cancel"
12559
+ },
12560
+ saveAsDefault: {
12561
+ title: "Save as system default",
12562
+ description: "This will save the current configuration as the system default. All users will see this configuration by default unless they have their own personal views. Are you sure?",
12563
+ confirmText: "Save as default",
12564
+ cancelText: "Cancel"
12565
+ },
12566
+ updateExisting: {
12567
+ title: "Update existing view",
12568
+ description: 'Update "{{name}}" with the current configuration?',
12569
+ confirmText: "Update",
12570
+ cancelText: "Cancel"
12526
12571
  }
12527
12572
  }
12528
12573
  },
@@ -12541,6 +12586,17 @@ var en_default = {
12541
12586
  stores: {
12542
12587
  domain: "Stores",
12543
12588
  handleTooltip: "The handle is used as the URL slug for the store. Leave empty to auto-generate from the name.",
12589
+ emptyStates: {
12590
+ users: {
12591
+ title: "No users yet"
12592
+ },
12593
+ products: {
12594
+ title: "No products yet"
12595
+ },
12596
+ orders: {
12597
+ title: "No orders yet"
12598
+ }
12599
+ },
12544
12600
  fields: {
12545
12601
  name: "Name",
12546
12602
  handle: "Handle",
@@ -21,6 +21,7 @@ import {
21
21
  import { useState } from "react";
22
22
  import { useTranslation } from "react-i18next";
23
23
  import { Link } from "react-router-dom";
24
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
24
25
  import { jsx, jsxs } from "react/jsx-runtime";
25
26
  var ProductMediaSection = ({
26
27
  product,
@@ -179,7 +180,8 @@ var ProductMediaSection = ({
179
180
  "data-testid": "product-media-command-bar-delete"
180
181
  }
181
182
  )
182
- ] }) })
183
+ ] }) }),
184
+ /* @__PURE__ */ jsx(DisplayExtensionZone, { model: "product", zone: "media", data: product })
183
185
  ] });
184
186
  };
185
187
  var getMedia = (product) => {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RK5N3XIX.js";
4
4
  import {
5
5
  getPromotionStatus
6
- } from "./chunk-ZO3OJ2UQ.js";
6
+ } from "./chunk-RIO2IHPE.js";
7
7
  import {
8
8
  formatPercentage
9
9
  } from "./chunk-QDPLZDMX.js";
@@ -31,12 +31,14 @@ import {
31
31
  // src/pages/promotions/promotion-detail/promotion-detail.tsx
32
32
  import { Children } from "react";
33
33
  import { useLoaderData, useParams as useParams4 } from "react-router-dom";
34
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
34
35
 
35
36
  // src/pages/promotions/promotion-detail/components/campaign-section/campaign-section.tsx
36
37
  import { ArrowUpRightOnBox, PencilSquare } from "@medusajs/icons";
37
38
  import { Container, Heading, Text } from "@medusajs/ui";
38
39
  import { useTranslation } from "react-i18next";
39
40
  import { useParams } from "react-router-dom";
41
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
40
42
  import { jsx, jsxs } from "react/jsx-runtime";
41
43
  var CampaignDetailSection = ({
42
44
  campaign
@@ -99,16 +101,17 @@ var CampaignSection = ({
99
101
  NoRecords,
100
102
  {
101
103
  className: "h-[180px] pt-4 text-center",
102
- title: "Not part of a campaign",
103
- message: "Add this promotion to an existing campaign",
104
+ title: t("promotions.campaignSection.noRecordsTitle"),
105
+ message: t("promotions.campaignSection.noRecordsMessage"),
104
106
  action: {
105
107
  to: `/promotions/${id}/add-to-campaign`,
106
- label: "Add to Campaign"
108
+ label: t("promotions.campaignSection.addToCampaign")
107
109
  },
108
110
  buttonVariant: "transparentIconLeft",
109
111
  dataTestId: "promotion-campaign-section-add-to-campaign-button"
110
112
  }
111
- ) })
113
+ ) }),
114
+ /* @__PURE__ */ jsx(DisplayExtensionZone, { model: "promotion", zone: "campaign", data: campaign })
112
115
  ] });
113
116
  };
114
117
 
@@ -117,6 +120,7 @@ import { PencilSquare as PencilSquare2 } from "@medusajs/icons";
117
120
  import { Badge as Badge2, Container as Container2, Heading as Heading2 } from "@medusajs/ui";
118
121
  import { useTranslation as useTranslation3 } from "react-i18next";
119
122
  import { useParams as useParams2 } from "react-router-dom";
123
+ import { DisplayExtensionZone as DisplayExtensionZone2 } from "@mercurjs/dashboard-shared";
120
124
 
121
125
  // src/components/common/badge-list-summary/badge-list-summary.tsx
122
126
  import { Badge, Tooltip, clx } from "@medusajs/ui";
@@ -287,6 +291,14 @@ var PromotionConditionsSection = ({
287
291
  ))
288
292
  ]
289
293
  }
294
+ ),
295
+ /* @__PURE__ */ jsx3(
296
+ DisplayExtensionZone2,
297
+ {
298
+ model: "promotion",
299
+ zone: `conditions-${ruleType}`,
300
+ data: rules
301
+ }
290
302
  )
291
303
  ]
292
304
  }
@@ -307,7 +319,18 @@ import {
307
319
  import { useTranslation as useTranslation4 } from "react-i18next";
308
320
  import { useNavigate } from "react-router-dom";
309
321
  import { useParams as useParams3 } from "react-router-dom";
322
+ import { DisplayExtensionZone as DisplayExtensionZone3, DisplayField } from "@mercurjs/dashboard-shared";
310
323
  import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
324
+ var GENERAL_FIELD_IDS = [
325
+ "code",
326
+ "status",
327
+ "is_automatic",
328
+ "code_badge",
329
+ "type",
330
+ "value",
331
+ "allocation",
332
+ "is_tax_inclusive"
333
+ ];
311
334
  function getDisplayValue(promotion) {
312
335
  const value = promotion.application_method?.value;
313
336
  if (!value) {
@@ -363,9 +386,9 @@ var PromotionGeneralSection = ({
363
386
  const displayValue = getDisplayValue(promotion);
364
387
  return /* @__PURE__ */ jsxs4(Container3, { className: "divide-y p-0", "data-testid": "promotion-general-section-container", children: [
365
388
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "promotion-general-section-header", children: [
366
- /* @__PURE__ */ jsx4("div", { className: "flex flex-col", children: /* @__PURE__ */ jsx4(Heading3, { "data-testid": "promotion-general-section-code", children: promotion.code }) }),
389
+ /* @__PURE__ */ jsx4("div", { className: "flex flex-col", children: /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "code", data: promotion, children: /* @__PURE__ */ jsx4(Heading3, { "data-testid": "promotion-general-section-code", children: promotion.code }) }) }),
367
390
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-2", children: [
368
- /* @__PURE__ */ jsx4(StatusBadge, { color, "data-testid": "promotion-general-section-status", children: text }),
391
+ /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "status", data: promotion, children: /* @__PURE__ */ jsx4(StatusBadge, { color, "data-testid": "promotion-general-section-status", children: text }) }),
369
392
  /* @__PURE__ */ jsx4(
370
393
  ActionMenu,
371
394
  {
@@ -394,11 +417,11 @@ var PromotionGeneralSection = ({
394
417
  )
395
418
  ] })
396
419
  ] }),
397
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-method", children: [
420
+ /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "is_automatic", data: promotion, children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-method", children: [
398
421
  /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-method-label", children: t("promotions.fields.method") }),
399
422
  /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty", "data-testid": "promotion-general-section-method-value", children: promotion.is_automatic ? t("promotions.form.method.automatic.title") : t("promotions.form.method.code.title") })
400
- ] }),
401
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "promotion-general-section-code-field", children: [
423
+ ] }) }),
424
+ /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "code_badge", data: promotion, children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", "data-testid": "promotion-general-section-code-field", children: [
402
425
  /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-code-label", children: t("fields.code") }),
403
426
  /* @__PURE__ */ jsx4(
404
427
  Copy,
@@ -419,26 +442,35 @@ var PromotionGeneralSection = ({
419
442
  )
420
443
  }
421
444
  )
422
- ] }),
423
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-type", children: [
445
+ ] }) }),
446
+ /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "type", data: promotion, children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-type", children: [
424
447
  /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-type-label", children: t("promotions.fields.type") }),
425
448
  /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty capitalize", "data-testid": "promotion-general-section-type-value", children: promotion.type })
426
- ] }),
427
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-value", children: [
449
+ ] }) }),
450
+ /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "value", data: promotion, children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-value", children: [
428
451
  /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-value-label", children: t("promotions.fields.value") }),
429
452
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-2", "data-testid": "promotion-general-section-value-content", children: [
430
453
  /* @__PURE__ */ jsx4(Text2, { className: "inline", size: "small", leading: "compact", "data-testid": "promotion-general-section-value-text", children: displayValue || "-" }),
431
454
  promotion?.application_method?.type === "fixed" && /* @__PURE__ */ jsx4(Badge3, { size: "2xsmall", rounded: "full", "data-testid": "promotion-general-section-value-currency", children: promotion?.application_method?.currency_code?.toUpperCase() })
432
455
  ] })
433
- ] }),
434
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-allocation", children: [
456
+ ] }) }),
457
+ /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "allocation", data: promotion, children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-allocation", children: [
435
458
  /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-allocation-label", children: t("promotions.fields.allocation") }),
436
459
  /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty capitalize", "data-testid": "promotion-general-section-allocation-value", children: promotion.application_method?.allocation })
437
- ] }),
438
- promotion.application_method?.type === "fixed" && /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-tax-inclusive", children: [
460
+ ] }) }),
461
+ promotion.application_method?.type === "fixed" && /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "is_tax_inclusive", data: promotion, children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", "data-testid": "promotion-general-section-tax-inclusive", children: [
439
462
  /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", "data-testid": "promotion-general-section-tax-inclusive-label", children: t("promotions.fields.taxInclusive") }),
440
463
  /* @__PURE__ */ jsx4("div", { className: "flex items-center gap-x-2", "data-testid": "promotion-general-section-tax-inclusive-value", children: /* @__PURE__ */ jsx4(Text2, { className: "inline", size: "small", leading: "compact", children: promotion.is_tax_inclusive ? t("fields.true") : t("fields.false") }) })
441
- ] })
464
+ ] }) }),
465
+ /* @__PURE__ */ jsx4(
466
+ DisplayExtensionZone3,
467
+ {
468
+ model: "promotion",
469
+ zone: "general",
470
+ data: promotion,
471
+ builtInFieldIds: GENERAL_FIELD_IDS
472
+ }
473
+ )
442
474
  ] });
443
475
  };
444
476
 
@@ -459,7 +491,7 @@ var Root = ({ children }) => {
459
491
  return /* @__PURE__ */ jsx5(TwoColumnPageSkeleton, { mainSections: 3, sidebarSections: 1, showJSON: true });
460
492
  }
461
493
  return Children.count(children) > 0 ? /* @__PURE__ */ jsx5(TwoColumnPage, { data: promotion, hasOutlet: true, showJSON: true, "data-testid": "promotion-detail-page", children }) : /* @__PURE__ */ jsxs5(TwoColumnPage, { data: promotion, hasOutlet: true, showJSON: true, "data-testid": "promotion-detail-page", children: [
462
- /* @__PURE__ */ jsxs5(TwoColumnPage.Main, { children: [
494
+ /* @__PURE__ */ jsx5(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "promotions.detail.main", data: promotion, children: [
463
495
  /* @__PURE__ */ jsx5(PromotionGeneralSection, { promotion }),
464
496
  /* @__PURE__ */ jsx5(
465
497
  PromotionConditionsSection,
@@ -484,8 +516,8 @@ var Root = ({ children }) => {
484
516
  applicationMethodTargetType: "items"
485
517
  }
486
518
  )
487
- ] }),
488
- /* @__PURE__ */ jsx5(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx5(CampaignSection, { campaign: promotion.campaign }) })
519
+ ] }) }),
520
+ /* @__PURE__ */ jsx5(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx5(WidgetZone, { id: "promotions.detail.side", data: promotion, children: /* @__PURE__ */ jsx5(CampaignSection, { campaign: promotion.campaign }) }) })
489
521
  ] });
490
522
  };
491
523
  var PromotionDetailPage = Object.assign(Root, {
@@ -13,7 +13,7 @@ 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";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  _DataTable,
9
9
  useDataTable
10
- } from "./chunk-HSL5IICN.js";
10
+ } from "./chunk-6ZVV2XHU.js";
11
11
  import {
12
12
  SingleColumnPage
13
13
  } from "./chunk-H6MYB7GB.js";
@@ -27,10 +27,12 @@ import {
27
27
 
28
28
  // src/pages/reservations/reservation-list/reservation-list.tsx
29
29
  import { Children as Children2 } from "react";
30
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
30
31
 
31
32
  // src/pages/reservations/reservation-list/components/reservation-list-table/reservation-list-table.tsx
32
33
  import { Button, Container, Heading, Text } from "@medusajs/ui";
33
- import { Children } from "react";
34
+ import { useExtendableTable } from "@mercurjs/dashboard-shared";
35
+ import { Children, useMemo as useMemo2 } from "react";
34
36
  import { useTranslation as useTranslation4 } from "react-i18next";
35
37
  import { Link } from "react-router-dom";
36
38
 
@@ -257,8 +259,12 @@ var ReservationListDataTable = () => {
257
259
  const { reservations, count, isPending, isError, error } = useReservationItems({
258
260
  ...searchParams
259
261
  });
260
- const filters = useReservationTableFilters();
261
- const columns = useReservationTableColumns();
262
+ const baseFilters = useReservationTableFilters();
263
+ const { columns, filters: extFilters } = useColumns();
264
+ const filters = useMemo2(
265
+ () => [...baseFilters, ...extFilters],
266
+ [baseFilters, extFilters]
267
+ );
262
268
  const { table } = useDataTable({
263
269
  data: reservations || [],
264
270
  columns,
@@ -286,6 +292,27 @@ var ReservationListDataTable = () => {
286
292
  }
287
293
  );
288
294
  };
295
+ var useColumns = () => {
296
+ const base = useReservationTableColumns();
297
+ const actionsColumn = base.filter(
298
+ (c) => c.id === "actions"
299
+ );
300
+ const dataColumns = base.filter(
301
+ (c) => c.id !== "actions"
302
+ );
303
+ const { columns: extended, filters } = useExtendableTable({
304
+ model: "reservation",
305
+ columns: dataColumns
306
+ });
307
+ const columns = useMemo2(
308
+ () => [
309
+ ...extended,
310
+ ...actionsColumn
311
+ ],
312
+ [extended, actionsColumn]
313
+ );
314
+ return { columns, filters };
315
+ };
289
316
  var ReservationListTable = ({ children }) => {
290
317
  return /* @__PURE__ */ jsx3(Container, { className: "divide-y p-0", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
291
318
  /* @__PURE__ */ jsx3(ReservationListHeader, {}),
@@ -296,7 +323,7 @@ var ReservationListTable = ({ children }) => {
296
323
  // src/pages/reservations/reservation-list/reservation-list.tsx
297
324
  import { jsx as jsx4 } from "react/jsx-runtime";
298
325
  var Root = ({ children }) => {
299
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ReservationListTable, {}) });
326
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx4(WidgetZone, { id: "reservation.list", children: /* @__PURE__ */ jsx4(ReservationListTable, {}) }) });
300
327
  };
301
328
  var ReservationListPage = Object.assign(Root, {
302
329
  Table: ReservationListTable,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useDeleteCommissionRuleAction,
3
3
  useScopeReferenceNames
4
- } from "./chunk-PRSTCHB5.js";
4
+ } from "./chunk-JSVYNNPF.js";
5
5
  import {
6
6
  formatCommissionValue,
7
7
  getIsActiveProps,
@@ -3,7 +3,7 @@ import {
3
3
  CategoryHeader,
4
4
  ProductStatusCell,
5
5
  ProductStatusHeader
6
- } from "./chunk-WBSUHLO7.js";
6
+ } from "./chunk-RMB7MPIT.js";
7
7
  import {
8
8
  ProductCell,
9
9
  ProductHeader
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  _DataTable,
16
16
  useDataTable
17
- } from "./chunk-HSL5IICN.js";
17
+ } from "./chunk-6ZVV2XHU.js";
18
18
  import {
19
19
  SingleColumnPage
20
20
  } from "./chunk-H6MYB7GB.js";
@@ -30,6 +30,7 @@ import {
30
30
 
31
31
  // src/pages/price-lists/price-list-list/price-list-list.tsx
32
32
  import { Children as Children3 } from "react";
33
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
33
34
 
34
35
  // src/pages/price-lists/price-list-list/components/price-list-list-table/price-list-list-table.tsx
35
36
  import { Children as Children2 } from "react";
@@ -65,72 +66,35 @@ var PriceListListHeader = ({
65
66
 
66
67
  // src/pages/price-lists/price-list-list/components/price-list-list-table/price-list-list-data-table.tsx
67
68
  import { keepPreviousData } from "@tanstack/react-query";
69
+ import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
70
+ import { useExtendableTable } from "@mercurjs/dashboard-shared";
71
+ import { useMemo as useMemo2 } from "react";
68
72
  import { useTranslation as useTranslation5 } from "react-i18next";
69
73
 
70
74
  // src/pages/price-lists/price-list-list/components/price-list-list-table/use-pricing-table-columns.tsx
71
75
  import { createColumnHelper } from "@tanstack/react-table";
72
76
  import { useMemo } from "react";
73
- import { useTranslation as useTranslation3 } from "react-i18next";
74
-
75
- // src/pages/price-lists/price-list-list/components/price-list-list-table/price-list-list-table-actions.tsx
76
- import { PencilSquare, Trash } from "@medusajs/icons";
77
77
  import { useTranslation as useTranslation2 } from "react-i18next";
78
78
  import { jsx as jsx2 } from "react/jsx-runtime";
79
- var PriceListListTableActions = ({ priceList }) => {
80
- const { t } = useTranslation2();
81
- const handleDelete = useDeletePriceListAction({ priceList, navigateOnSuccess: false });
82
- return /* @__PURE__ */ jsx2(
83
- ActionMenu,
84
- {
85
- groups: [
86
- {
87
- actions: [
88
- {
89
- label: t("actions.edit"),
90
- to: `${priceList.id}/edit`,
91
- icon: /* @__PURE__ */ jsx2(PencilSquare, {})
92
- }
93
- ]
94
- },
95
- {
96
- actions: [
97
- {
98
- label: t("actions.delete"),
99
- onClick: handleDelete,
100
- icon: /* @__PURE__ */ jsx2(Trash, {})
101
- }
102
- ]
103
- }
104
- ]
105
- }
106
- );
107
- };
108
-
109
- // src/pages/price-lists/price-list-list/components/price-list-list-table/use-pricing-table-columns.tsx
110
- import { jsx as jsx3 } from "react/jsx-runtime";
111
79
  var columnHelper = createColumnHelper();
112
80
  var usePricingTableColumns = () => {
113
- const { t } = useTranslation3();
81
+ const { t } = useTranslation2();
114
82
  return useMemo(
115
83
  () => [
116
84
  columnHelper.accessor("title", {
117
- header: () => /* @__PURE__ */ jsx3(TextHeader, { text: t("fields.title") }),
85
+ header: () => /* @__PURE__ */ jsx2(TextHeader, { text: t("fields.title") }),
118
86
  cell: (info) => info.getValue()
119
87
  }),
120
88
  columnHelper.accessor("status", {
121
89
  header: t("priceLists.fields.status.label"),
122
90
  cell: ({ row }) => {
123
91
  const { color, text } = getPriceListStatus(t, row.original);
124
- return /* @__PURE__ */ jsx3(StatusCell, { color, children: text });
92
+ return /* @__PURE__ */ jsx2(StatusCell, { color, children: text });
125
93
  }
126
94
  }),
127
95
  columnHelper.accessor("prices", {
128
96
  header: t("priceLists.fields.priceOverrides.header"),
129
- cell: (info) => /* @__PURE__ */ jsx3(TextCell, { text: `${info.getValue()?.length || "-"}` })
130
- }),
131
- columnHelper.display({
132
- id: "actions",
133
- cell: ({ row }) => /* @__PURE__ */ jsx3(PriceListListTableActions, { priceList: row.original })
97
+ cell: (info) => /* @__PURE__ */ jsx2(TextCell, { text: `${info.getValue()?.length || "-"}` })
134
98
  })
135
99
  ],
136
100
  [t]
@@ -138,9 +102,9 @@ var usePricingTableColumns = () => {
138
102
  };
139
103
 
140
104
  // src/pages/price-lists/price-list-list/components/price-list-list-table/use-pricing-table-filters.tsx
141
- import { useTranslation as useTranslation4 } from "react-i18next";
105
+ import { useTranslation as useTranslation3 } from "react-i18next";
142
106
  var usePricingTableFilters = () => {
143
- const { t } = useTranslation4();
107
+ const { t } = useTranslation3();
144
108
  const filters = [
145
109
  { label: t("fields.createdAt"), key: "starts_at", type: "date" },
146
110
  { label: t("fields.updatedAt"), key: "ends_at", type: "date" }
@@ -172,9 +136,62 @@ var usePricingTableQuery = ({
172
136
  };
173
137
  };
174
138
 
139
+ // src/pages/price-lists/price-list-list/components/price-list-list-table/price-list-list-table-actions.tsx
140
+ import { PencilSquare, Trash } from "@medusajs/icons";
141
+ import { useTranslation as useTranslation4 } from "react-i18next";
142
+ import { jsx as jsx3 } from "react/jsx-runtime";
143
+ var PriceListListTableActions = ({ priceList }) => {
144
+ const { t } = useTranslation4();
145
+ const handleDelete = useDeletePriceListAction({ priceList, navigateOnSuccess: false });
146
+ return /* @__PURE__ */ jsx3(
147
+ ActionMenu,
148
+ {
149
+ groups: [
150
+ {
151
+ actions: [
152
+ {
153
+ label: t("actions.edit"),
154
+ to: `${priceList.id}/edit`,
155
+ icon: /* @__PURE__ */ jsx3(PencilSquare, {})
156
+ }
157
+ ]
158
+ },
159
+ {
160
+ actions: [
161
+ {
162
+ label: t("actions.delete"),
163
+ onClick: handleDelete,
164
+ icon: /* @__PURE__ */ jsx3(Trash, {})
165
+ }
166
+ ]
167
+ }
168
+ ]
169
+ }
170
+ );
171
+ };
172
+
175
173
  // src/pages/price-lists/price-list-list/components/price-list-list-table/price-list-list-data-table.tsx
176
174
  import { jsx as jsx4 } from "react/jsx-runtime";
177
175
  var PAGE_SIZE = 20;
176
+ var columnHelper2 = createColumnHelper2();
177
+ var useColumns = () => {
178
+ const base = usePricingTableColumns();
179
+ const { columns: extended, filters } = useExtendableTable({
180
+ model: "price_list",
181
+ columns: base
182
+ });
183
+ const columns = useMemo2(
184
+ () => [
185
+ ...extended,
186
+ columnHelper2.display({
187
+ id: "actions",
188
+ cell: ({ row }) => /* @__PURE__ */ jsx4(PriceListListTableActions, { priceList: row.original })
189
+ })
190
+ ],
191
+ [extended]
192
+ );
193
+ return { columns, filters };
194
+ };
178
195
  var PriceListListDataTable = () => {
179
196
  const { t } = useTranslation5();
180
197
  const { searchParams, raw } = usePricingTableQuery({
@@ -186,8 +203,12 @@ var PriceListListDataTable = () => {
186
203
  placeholderData: keepPreviousData
187
204
  }
188
205
  );
189
- const filters = usePricingTableFilters();
190
- const columns = usePricingTableColumns();
206
+ const baseFilters = usePricingTableFilters();
207
+ const { columns, filters: extFilters } = useColumns();
208
+ const filters = useMemo2(
209
+ () => [...baseFilters, ...extFilters],
210
+ [baseFilters, extFilters]
211
+ );
191
212
  const { table } = useDataTable({
192
213
  data: price_lists || [],
193
214
  columns,
@@ -234,7 +255,7 @@ var PriceListListTable = ({ children }) => {
234
255
  // src/pages/price-lists/price-list-list/price-list-list.tsx
235
256
  import { jsx as jsx6 } from "react/jsx-runtime";
236
257
  var Root = ({ children }) => {
237
- return /* @__PURE__ */ jsx6(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(PriceListListTable, {}) });
258
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "price-lists.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(PriceListListTable, {}) }) });
238
259
  };
239
260
  var PriceListListPage = Object.assign(Root, {
240
261
  Table: PriceListListTable,