@mercurjs/vendor 2.2.0-rc.0 → 2.2.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/dist/{[id]-5P5LTATX.js → [id]-2LOU4IGP.js} +29 -11
  2. package/dist/{[id]-DT5YJVKG.js → [id]-6K5OJU5T.js} +18 -17
  3. package/dist/{[id]-N7JEZFXQ.js → [id]-6RTJXOT5.js} +2 -1
  4. package/dist/{[id]-XP5KEMNX.js → [id]-7T4JCGCZ.js} +86 -49
  5. package/dist/{[id]-DCGPICT3.js → [id]-BMW6PEZT.js} +23 -22
  6. package/dist/{[id]-CUBGVODE.js → [id]-FN47ZDW5.js} +89 -48
  7. package/dist/{[id]-4HO4S2PX.js → [id]-KTJU7CRX.js} +691 -657
  8. package/dist/{[id]-3LNKC5OJ.js → [id]-NUH6WK7Y.js} +80 -39
  9. package/dist/{[id]-AQUUZFRX.js → [id]-RRWUTLTP.js} +141 -43
  10. package/dist/{[id]-4LIIFGET.js → [id]-TJF2WSOF.js} +139 -50
  11. package/dist/{[id]-IEBZ6V3W.js → [id]-UWBLKWZI.js} +29 -28
  12. package/dist/{[id]-5EECCIRP.js → [id]-VWIZD2JL.js} +61 -36
  13. package/dist/{[id]-U6FKX5UQ.js → [id]-XRSZYRKI.js} +55 -33
  14. package/dist/{[id]-XB45DY2D.js → [id]-YIP2TDVC.js} +120 -42
  15. package/dist/{[location_id]-I4HHUHWY.js → [location_id]-TUAKRLYQ.js} +6 -5
  16. package/dist/{[province_id]-OYX4MOCF.js → [province_id]-6VYYS4DZ.js} +17 -16
  17. package/dist/{add-RPRJWCYU.js → add-KB477RH5.js} +18 -17
  18. package/dist/{add-3T4GBFMM.js → add-NSLA2RT7.js} +24 -24
  19. package/dist/{add-customer-groups-FB5T6PQN.js → add-customer-groups-PB4LCA5E.js} +12 -12
  20. package/dist/{add-products-F243SWGD.js → add-products-O72MJ3N2.js} +17 -17
  21. package/dist/{add-promotions-TJDK7HLW.js → add-promotions-6X7N3DTU.js} +6 -6
  22. package/dist/{add-to-campaign-Q6OAJMUJ.js → add-to-campaign-7WAUGNNI.js} +4 -4
  23. package/dist/{address-XVBSNMFU.js → address-ZR4EM2QA.js} +28 -16
  24. package/dist/{adjust-inventory-IZLRMQXV.js → adjust-inventory-P4X6PFKW.js} +1 -1
  25. package/dist/{allocate-items-Q3VALDYT.js → allocate-items-NSQOU2QJ.js} +2 -2
  26. package/dist/{areas-IYGBRCRH.js → areas-N4ORDJTD.js} +3 -3
  27. package/dist/{attributes-LGEM2JJW.js → attributes-DRC3WYY6.js} +1 -1
  28. package/dist/{breadcrumb-XGXKCDYS.js → breadcrumb-4YT6FRUQ.js} +3 -3
  29. package/dist/{breadcrumb-H45Z2WNG.js → breadcrumb-BKBSL3PC.js} +3 -3
  30. package/dist/{breadcrumb-K4HBKZUE.js → breadcrumb-ETWGVI34.js} +2 -2
  31. package/dist/{breadcrumb-KZPOPXGG.js → breadcrumb-F4N5CPRD.js} +1 -1
  32. package/dist/{breadcrumb-BXD3SRM7.js → breadcrumb-JGDD7EHO.js} +1 -1
  33. package/dist/{breadcrumb-VY5DNTTJ.js → breadcrumb-JWDW3P6C.js} +10 -10
  34. package/dist/{breadcrumb-FEYGZFJU.js → breadcrumb-KKWNLFMC.js} +2 -2
  35. package/dist/{breadcrumb-WG6TIF4C.js → breadcrumb-PJOTRHG7.js} +4 -2
  36. package/dist/{breadcrumb-NZYOCEEM.js → breadcrumb-PYLGF3AN.js} +10 -10
  37. package/dist/{breadcrumb-XEZCMI55.js → breadcrumb-TO45VBVD.js} +1 -1
  38. package/dist/{breadcrumb-L262VPBO.js → breadcrumb-UEUUMDIY.js} +1 -1
  39. package/dist/{breadcrumb-ILEAQRW7.js → breadcrumb-VCRGVYJR.js} +10 -10
  40. package/dist/{breadcrumb-BFNJWOJ4.js → breadcrumb-WWLMQQQF.js} +1 -1
  41. package/dist/{breadcrumb-BC6XN2SE.js → breadcrumb-Y7N7L7DM.js} +2 -2
  42. package/dist/{campaigns-DZKRNCA4.js → campaigns-GPLRB2AR.js} +5 -5
  43. package/dist/{categories-JZJA2IBQ.js → categories-53X36JNS.js} +6 -6
  44. package/dist/{chunk-JDNXS37G.js → chunk-2INANL6V.js} +2 -2
  45. package/dist/{chunk-3I6ZAMGN.js → chunk-2P5H7EVR.js} +1 -1
  46. package/dist/{chunk-ZTOYVPGA.js → chunk-3F4MUPGR.js} +1 -1
  47. package/dist/chunk-432S4FGR.js +0 -0
  48. package/dist/{chunk-JY2XON7H.js → chunk-4CNLTLQP.js} +6 -5
  49. package/dist/{chunk-3SH24DGG.js → chunk-4EAC3GT7.js} +1 -1
  50. package/dist/{chunk-MVEHWM7K.js → chunk-4NADEZZQ.js} +14 -3
  51. package/dist/{chunk-HDEOZN2Q.js → chunk-4OQLPIUZ.js} +27 -27
  52. package/dist/{chunk-MAW6ZT3D.js → chunk-55TS752B.js} +1 -1
  53. package/dist/{chunk-O7BGGWW6.js → chunk-5NVY7JZC.js} +4 -4
  54. package/dist/{chunk-MUGQQY6P.js → chunk-5SRG2247.js} +49 -11
  55. package/dist/{chunk-L57USMYC.js → chunk-5YZ3G5EZ.js} +1 -1
  56. package/dist/{chunk-G6YNCIVF.js → chunk-744GLNZW.js} +1 -1
  57. package/dist/{chunk-CUAGC54B.js → chunk-7CQ4RKVV.js} +23 -9
  58. package/dist/{chunk-WBCWER26.js → chunk-7HLAOLG7.js} +1 -1
  59. package/dist/{chunk-W3UHAQCV.js → chunk-7TQNE3E2.js} +1 -1
  60. package/dist/{chunk-7EXKHL5L.js → chunk-7ZNZJIVN.js} +1 -1
  61. package/dist/{chunk-UNE4VD5U.js → chunk-APWPWXWQ.js} +21 -10
  62. package/dist/{chunk-EAAZV3B7.js → chunk-BXDN7ZA5.js} +24 -12
  63. package/dist/{chunk-5PAUN3PM.js → chunk-CLS6PNZY.js} +2 -2
  64. package/dist/{chunk-MJP5V3JN.js → chunk-COGWTNSC.js} +1 -1
  65. package/dist/{chunk-RPU4UOQK.js → chunk-CQRCUQC4.js} +1 -1
  66. package/dist/{chunk-634XVU3D.js → chunk-CVXKASWV.js} +2 -2
  67. package/dist/{chunk-CRYZK4NU.js → chunk-EFKHV25A.js} +1 -1
  68. package/dist/{chunk-KZQFIPY2.js → chunk-ESXMD6CR.js} +12 -4
  69. package/dist/{chunk-5BYYDBLS.js → chunk-EX5IIVVN.js} +2 -2
  70. package/dist/{chunk-TJKZ5QCJ.js → chunk-FXQWGW2J.js} +2 -2
  71. package/dist/{chunk-Y4PM3IDZ.js → chunk-GGXGKMYK.js} +1 -1
  72. package/dist/{chunk-EDV4MTTT.js → chunk-GK6X67DV.js} +65 -37
  73. package/dist/{chunk-2KA4TGBQ.js → chunk-GZRCPKO5.js} +19 -8
  74. package/dist/{chunk-3TST3EWQ.js → chunk-HLAV55RT.js} +1 -1
  75. package/dist/{chunk-E6W57UP3.js → chunk-HRUO43BZ.js} +2 -2
  76. package/dist/{chunk-UX5UYDCY.js → chunk-I3I5IYHO.js} +1 -1
  77. package/dist/{chunk-3ALBZK4M.js → chunk-ICKOFNHF.js} +5 -2
  78. package/dist/{chunk-RTMMO6IU.js → chunk-II2GAEVL.js} +25 -13
  79. package/dist/{chunk-HXGLPDZW.js → chunk-IMVZFBCM.js} +6 -17
  80. package/dist/{chunk-GSH6ZGI6.js → chunk-IPNO77ZJ.js} +35 -12
  81. package/dist/{chunk-4IRQSBA7.js → chunk-IWF43LO2.js} +1 -1
  82. package/dist/{chunk-ZLHCZ5F2.js → chunk-JIXW4WHZ.js} +4 -4
  83. package/dist/{chunk-IEVN722X.js → chunk-JLLFEA23.js} +1 -1
  84. package/dist/{chunk-7BFQKYCJ.js → chunk-KEXXZLVI.js} +1 -1
  85. package/dist/{chunk-JTHDMXZV.js → chunk-LOBDXF34.js} +2 -2
  86. package/dist/{chunk-5BQO3YQP.js → chunk-MABIMRLS.js} +1 -1
  87. package/dist/{chunk-WFE6CT6M.js → chunk-MDGTQT5D.js} +1 -1
  88. package/dist/{chunk-LWFBBTJ3.js → chunk-MJ4B2OFU.js} +21 -10
  89. package/dist/{chunk-S7NGDLZ3.js → chunk-MK44MYO7.js} +2 -2
  90. package/dist/{chunk-2NPD4S55.js → chunk-O4N6UK6M.js} +2 -2
  91. package/dist/{chunk-JK4M3ZKY.js → chunk-OOK3BD5Z.js} +3 -3
  92. package/dist/{chunk-V5K6HISS.js → chunk-P3ETXWHD.js} +1 -1
  93. package/dist/{chunk-D76WZZSB.js → chunk-P6XBOWET.js} +6 -5
  94. package/dist/{chunk-H6LZ77GX.js → chunk-QGZH3D2P.js} +4 -1
  95. package/dist/{chunk-KTJLJTFO.js → chunk-QMTSINXN.js} +93 -66
  96. package/dist/{chunk-KG2NUK4J.js → chunk-QU444FAP.js} +46 -15
  97. package/dist/{chunk-WFHGJGCW.js → chunk-S4ILPAEO.js} +27 -12
  98. package/dist/{chunk-QWW6RHZC.js → chunk-SYWAMZNQ.js} +3 -2
  99. package/dist/{chunk-LQSLDDPT.js → chunk-T35QBLG7.js} +1 -1
  100. package/dist/{chunk-VD27SL7H.js → chunk-TNZMNJRF.js} +6 -5
  101. package/dist/{chunk-DQ7LZZJX.js → chunk-U5MXCMDR.js} +24 -13
  102. package/dist/{chunk-6FDPVW7Y.js → chunk-UEPUKWD7.js} +1 -1
  103. package/dist/{chunk-MT6WOKIW.js → chunk-UKTJEFMZ.js} +1 -1
  104. package/dist/{chunk-EPRYM3FA.js → chunk-ULEW54ED.js} +1 -1
  105. package/dist/{chunk-TPGIMZLI.js → chunk-VR7P4DAZ.js} +1 -1
  106. package/dist/{chunk-DSTHXHJ5.js → chunk-VYSB4CTB.js} +1356 -1356
  107. package/dist/{chunk-WCXFUBEF.js → chunk-W5LVOEN2.js} +7 -7
  108. package/dist/{chunk-FDKFUIYV.js → chunk-WQQMCV7M.js} +1 -1
  109. package/dist/chunk-WQTWBXKO.js +23 -0
  110. package/dist/{chunk-3BXCPHN6.js → chunk-XCHKUSUU.js} +1 -0
  111. package/dist/{chunk-OYUJYPDF.js → chunk-XWHHBJGS.js} +2 -1
  112. package/dist/{chunk-27WLUOI2.js → chunk-Y6S7K3YB.js} +1 -1
  113. package/dist/{chunk-6Q3J6ZMM.js → chunk-YEPZGGUE.js} +41 -19
  114. package/dist/{chunk-RILHLBKW.js → chunk-YRXXO2RT.js} +2 -2
  115. package/dist/{chunk-3C2T27YW.js → chunk-YXWZT3PX.js} +1 -1
  116. package/dist/{chunk-QWJTJSIT.js → chunk-Z3SPAROE.js} +1 -1
  117. package/dist/{collections-XIHCTMSJ.js → collections-AE7QLCFD.js} +18 -18
  118. package/dist/{configuration-3GCBMM27.js → configuration-I6BUESSG.js} +1 -1
  119. package/dist/{configuration-FWZTMYXY.js → configuration-QVMG6LAM.js} +3 -3
  120. package/dist/{create-PJVLJ7T6.js → create-2DXKC5OJ.js} +18 -18
  121. package/dist/{create-2RGNAVVY.js → create-2WFPJBDQ.js} +14 -14
  122. package/dist/{create-VL7LDTVE.js → create-3PIY2COT.js} +8 -8
  123. package/dist/{create-HEZYB7RF.js → create-7HXY7U5W.js} +55 -21
  124. package/dist/{create-FHIFVCSG.js → create-BE2YNVX3.js} +24 -24
  125. package/dist/{create-YKYLCEAK.js → create-C2WABAJU.js} +4 -4
  126. package/dist/{create-NEK6JCKR.js → create-EIMV4KCC.js} +9 -9
  127. package/dist/{create-XLYGW5PN.js → create-F2VZZ7XS.js} +11 -11
  128. package/dist/{create-N534JQPH.js → create-K7V36IWH.js} +3 -3
  129. package/dist/{create-32MXB6FD.js → create-KW6KFXGI.js} +10 -10
  130. package/dist/{create-3AMFYYI6.js → create-MW33P4AB.js} +12 -12
  131. package/dist/{create-GO7APBBU.js → create-RXIY777H.js} +12 -12
  132. package/dist/{create-RPBHXU32.js → create-TPNH5U7Z.js} +10 -10
  133. package/dist/{create-AMNH3WXL.js → create-ZZBMZZQG.js} +23 -19
  134. package/dist/{customer-group-add-customers-2C53NFBJ.js → customer-group-add-customers-DZ3JYD6S.js} +4 -4
  135. package/dist/{customer-group-create-75QQEQZF.js → customer-group-create-6YNGAE2W.js} +1 -1
  136. package/dist/{customer-group-detail-AOQYYAOG.js → customer-group-detail-VZUHEIRY.js} +18 -14
  137. package/dist/{customer-group-edit-N77RCW6I.js → customer-group-edit-UA36663R.js} +48 -27
  138. package/dist/{customer-groups-GNFV7VMT.js → customer-groups-RGHBJV55.js} +36 -15
  139. package/dist/{customers-HNINO6YL.js → customers-7S2MK4VG.js} +6 -6
  140. package/dist/{edit-BSD6667Q.js → edit-3RDEZH6V.js} +12 -12
  141. package/dist/{edit-7CLOJ3UZ.js → edit-3XGZNC24.js} +24 -24
  142. package/dist/{edit-4PWAJ7A3.js → edit-45TYWHR6.js} +11 -11
  143. package/dist/{edit-3DUCWSLA.js → edit-5IQNX7YB.js} +66 -33
  144. package/dist/{edit-ZGAOUZYP.js → edit-GBTLRL6H.js} +12 -12
  145. package/dist/{edit-SIKOSSHF.js → edit-HXCSFGP5.js} +10 -10
  146. package/dist/{edit-UNN3QTEJ.js → edit-JT4OKP5H.js} +23 -7
  147. package/dist/{edit-O65JD54W.js → edit-PIOHPBF5.js} +2 -2
  148. package/dist/{edit-IJ6DCBUU.js → edit-UYYI6HIT.js} +28 -11
  149. package/dist/{edit-TD7QFM4Z.js → edit-VFHZ6GVR.js} +14 -9
  150. package/dist/{edit-WEUFBORT.js → edit-W7T5NAFW.js} +12 -12
  151. package/dist/{edit-ZORE6RUD.js → edit-X4DFAW7S.js} +46 -24
  152. package/dist/{edit-7SBPHN6P.js → edit-YLWMEXUS.js} +23 -7
  153. package/dist/{edit-budget-D22WMVYR.js → edit-budget-XVJ65KUO.js} +1 -1
  154. package/dist/{edit-inventory-item-QMYWEBZ3.js → edit-inventory-item-NHSXZ7UB.js} +22 -7
  155. package/dist/{edit-inventory-item-attributes-HLG6JR6S.js → edit-inventory-item-attributes-VTFPTLLT.js} +1 -1
  156. package/dist/{edit-price-F7ZWM3FN.js → edit-price-XCJDZ4CU.js} +3 -3
  157. package/dist/{edit-stock-ITAZNHPU.js → edit-stock-5SQJH74B.js} +2 -2
  158. package/dist/extension-targets.d.ts +248 -0
  159. package/dist/extension-targets.js +1 -0
  160. package/dist/{fulfillment-U2GRQ6DD.js → fulfillment-5LEDKCH7.js} +20 -11
  161. package/dist/{fulfillment-providers-CMU2JB5X.js → fulfillment-providers-KUIDFRP4.js} +15 -15
  162. package/dist/index.css +18 -12
  163. package/dist/index.d.ts +2 -0
  164. package/dist/index.js +228 -201
  165. package/dist/{inventory-4JKLAZ2Q.js → inventory-L26YLIBO.js} +2 -2
  166. package/dist/{inventory-FKEXULLT.js → inventory-ZWZ2SUYW.js} +5 -5
  167. package/dist/{invite-3R2CEWLN.js → invite-CQEODMVX.js} +16 -27
  168. package/dist/{invite-MNAX6EUC.js → invite-VYXX7ICP.js} +14 -14
  169. package/dist/{loader-HTPUNIOS.js → loader-CDW7SKZP.js} +2 -2
  170. package/dist/{loader-MAAMUP2Z.js → loader-OGR7BCER.js} +12 -10
  171. package/dist/{locations-2VWSMWHL.js → locations-UVMY2QLW.js} +1 -1
  172. package/dist/{login-YUWOWICV.js → login-Z43XSPNR.js} +12 -12
  173. package/dist/{manage-locations-RWGDXXJQ.js → manage-locations-WD3WRVMF.js} +1 -1
  174. package/dist/{media-YB4G5CMV.js → media-UAAKHWJZ.js} +12 -12
  175. package/dist/{media-P6WSFHY4.js → media-VRNKF2TX.js} +14 -14
  176. package/dist/{metadata-J447GEBP.js → metadata-6FYHGP2P.js} +10 -10
  177. package/dist/{metadata-5Q6FLVX4.js → metadata-GI4A7XUC.js} +10 -10
  178. package/dist/{metadata-VTQ2CGZX.js → metadata-GR7QS5N6.js} +10 -10
  179. package/dist/{metadata-ADXGD4Y6.js → metadata-MRDVKETB.js} +10 -10
  180. package/dist/{metadata-6OYHLPLA.js → metadata-QZEX5FQH.js} +10 -10
  181. package/dist/{offer-create-page-ACPKTNHA.js → offer-create-page-LRKRHBRT.js} +18 -16
  182. package/dist/{offer-detail-page-S4R4N5GL.js → offer-detail-page-RSBA6WJB.js} +80 -27
  183. package/dist/{offer-variant-detail-page-XUMDXZUD.js → offer-variant-detail-page-KBDN27ZG.js} +25 -16
  184. package/dist/{offers-OTZJBW43.js → offers-LBJILJQX.js} +17 -17
  185. package/dist/{onboarding-TUGXFOA6.js → onboarding-4DXHB5KY.js} +58 -59
  186. package/dist/{orders-PJSJNGZS.js → orders-JGKXRRJ6.js} +21 -21
  187. package/dist/{organization-YIOAVFHN.js → organization-NQHWLNES.js} +12 -12
  188. package/dist/{organize-OWT5QSJR.js → organize-PNLFCNY4.js} +3 -3
  189. package/dist/{organize-BTA7NJD2.js → organize-X4IMS4S5.js} +3 -3
  190. package/dist/pages/index.d.ts +17 -2
  191. package/dist/pages/index.js +55 -54
  192. package/dist/{payment-details-K2XFATEL.js → payment-details-T7CKYYQR.js} +29 -17
  193. package/dist/{payouts-K5IDTJV3.js → payouts-MGC6Z3AT.js} +6 -6
  194. package/dist/{price-lists-DNPIPDAW.js → price-lists-QJTMWEEP.js} +8 -8
  195. package/dist/{pricing-J5FIDZIY.js → pricing-CFDZXHIE.js} +12 -12
  196. package/dist/{pricing-5VUPPNKS.js → pricing-LEEEQ2TR.js} +3 -3
  197. package/dist/{product-tags-SJYIGXEV.js → product-tags-Z7DOYERG.js} +25 -25
  198. package/dist/{product-types-4PTJW5DE.js → product-types-F5YH6TBY.js} +4 -4
  199. package/dist/{product-variant-detail-FO6J3RFA.js → product-variant-detail-EUWXJWAJ.js} +14 -13
  200. package/dist/{product-variant-edit-55TAIBZO.js → product-variant-edit-OP7DAKIN.js} +12 -12
  201. package/dist/{products-EQMANSO6.js → products-QRYZFYMR.js} +17 -17
  202. package/dist/{products-XM57LXJK.js → products-SGYVJ33I.js} +30 -29
  203. package/dist/{professional-details-WWZPTXSX.js → professional-details-UVRM7GID.js} +28 -16
  204. package/dist/{profile-5IADQ727.js → profile-HYJJLO63.js} +58 -24
  205. package/dist/{promotions-BYW6TZ5B.js → promotions-TF4GPADY.js} +8 -8
  206. package/dist/{receive-MTXKKPKZ.js → receive-NHOBI4NE.js} +4 -4
  207. package/dist/{refund-3IXGYA7W.js → refund-6MXXZP2L.js} +73 -49
  208. package/dist/{register-U5PQZATC.js → register-SC2R7TDT.js} +13 -13
  209. package/dist/{reset-password-SKUJJLSV.js → reset-password-OIZAI2US.js} +1 -1
  210. package/dist/{return-reasons-QDPSIJG3.js → return-reasons-L5BFL5WW.js} +18 -15
  211. package/dist/{sales-channels-GBSTCWVP.js → sales-channels-57VSC3CU.js} +4 -3
  212. package/dist/{sales-channels-N4NE3FXP.js → sales-channels-VXOZQKLK.js} +4 -3
  213. package/dist/{settings-ZUBBFS67.js → settings-UZGHDHAR.js} +28 -28
  214. package/dist/{shipment-TKSCPC3M.js → shipment-KF4M3RDJ.js} +10 -10
  215. package/dist/{shipping-DODEUYOQ.js → shipping-3KKFZONF.js} +2 -2
  216. package/dist/{shipping-profile-O4JMJLN7.js → shipping-profile-ZHE4U2MG.js} +1 -1
  217. package/dist/{shipping-profiles-4TJ4IH6U.js → shipping-profiles-W6ESWKTU.js} +14 -14
  218. package/dist/{stock-GYK2GHJN.js → stock-JCDE7SMM.js} +10 -10
  219. package/dist/{store-XWOALZ5Q.js → store-UOOVXKZY.js} +121 -47
  220. package/dist/{store-closure-46B3XZ2I.js → store-closure-7TG7Y7LW.js} +10 -10
  221. package/dist/{store-select-E77E3ZY7.js → store-select-SARJSWL4.js} +32 -13
  222. package/dist/{tax-regions-S2LFRTMP.js → tax-regions-4NK7L6FA.js} +7 -4
  223. package/dist/{team-N2C5JPSU.js → team-45IARFMH.js} +19 -18
  224. package/package.json +17 -12
  225. /package/dist/{chunk-HFRHHT36.js → chunk-NWU7EGGF.js} +0 -0
@@ -13,29 +13,26 @@ import {
13
13
  } from "./chunk-YVCBMOJG.js";
14
14
  import {
15
15
  SingleCategoryCombobox
16
- } from "./chunk-4IRQSBA7.js";
16
+ } from "./chunk-IWF43LO2.js";
17
17
  import {
18
18
  useComboboxData
19
19
  } from "./chunk-OVPAOBZB.js";
20
20
  import {
21
21
  UploadMediaFormItem
22
- } from "./chunk-RPU4UOQK.js";
22
+ } from "./chunk-CQRCUQC4.js";
23
23
  import {
24
24
  PRODUCT_CREATE_FORM_DEFAULTS,
25
25
  ProductCreateSchema,
26
26
  generateVariantsFromAttributes,
27
27
  normalizeProductFormValues
28
- } from "./chunk-JDNXS37G.js";
28
+ } from "./chunk-2INANL6V.js";
29
29
  import {
30
30
  ChipInput
31
31
  } from "./chunk-KDE4HKH2.js";
32
32
  import {
33
33
  useAttributeTableFilters,
34
34
  useAttributeTableQuery
35
- } from "./chunk-HDEOZN2Q.js";
36
- import {
37
- DataTable
38
- } from "./chunk-IV57G2CB.js";
35
+ } from "./chunk-4OQLPIUZ.js";
39
36
  import {
40
37
  Combobox
41
38
  } from "./chunk-VBRTC2VU.js";
@@ -52,9 +49,13 @@ import {
52
49
  import {
53
50
  Form
54
51
  } from "./chunk-3QSRE5LS.js";
52
+ import {
53
+ _DataTable,
54
+ useDataTable
55
+ } from "./chunk-7TQNE3E2.js";
55
56
  import {
56
57
  require_dist
57
- } from "./chunk-DSTHXHJ5.js";
58
+ } from "./chunk-VYSB4CTB.js";
58
59
  import {
59
60
  ActionMenu
60
61
  } from "./chunk-BDGZ4EQO.js";
@@ -64,7 +65,7 @@ import {
64
65
  import {
65
66
  useCreateProduct,
66
67
  useProductAttributes
67
- } from "./chunk-G6YNCIVF.js";
68
+ } from "./chunk-744GLNZW.js";
68
69
  import {
69
70
  sdk
70
71
  } from "./chunk-LXZXXOJ3.js";
@@ -108,14 +109,13 @@ import {
108
109
  import { useTranslation as useTranslation2 } from "react-i18next";
109
110
 
110
111
  // src/pages/products/create/components/product-create-attributes-form/product-create-add-attributes-modal.tsx
112
+ import { Badge, Button, Checkbox } from "@medusajs/ui";
113
+ import { keepPreviousData } from "@tanstack/react-query";
111
114
  import {
112
- Badge,
113
- Button,
114
- createDataTableColumnHelper
115
- } from "@medusajs/ui";
115
+ createColumnHelper
116
+ } from "@tanstack/react-table";
116
117
  import { useEffect, useMemo, useState } from "react";
117
118
  import { useTranslation } from "react-i18next";
118
- import { keepPreviousData } from "@tanstack/react-query";
119
119
  import { jsx, jsxs } from "react/jsx-runtime";
120
120
  var ADD_ATTRIBUTES_MODAL_ID = "add-attributes";
121
121
  var PAGE_SIZE = 20;
@@ -132,12 +132,10 @@ var ProductCreateAddAttributesModal = () => {
132
132
  const { t } = useTranslation();
133
133
  const { getValues, setValue } = form;
134
134
  const { setIsOpen, getIsOpen } = useStackedModal();
135
- const [rowSelection, setRowSelection] = useState(
136
- {}
137
- );
138
- const [state, setState] = useState([]);
135
+ const [rowSelection, setRowSelection] = useState({});
136
+ const [selected, setSelected] = useState([]);
139
137
  const categoryId = form.watch("category_id");
140
- const { searchParams } = useAttributeTableQuery({
138
+ const { searchParams, raw } = useAttributeTableQuery({
141
139
  pageSize: PAGE_SIZE,
142
140
  prefix: ADD_ATTRIBUTES_MODAL_ID
143
141
  });
@@ -156,14 +154,14 @@ var ProductCreateAddAttributesModal = () => {
156
154
  const attributes = getValues("attributes") ?? [];
157
155
  const existing = attributes.filter((a) => a.attribute_id);
158
156
  const selection = {};
159
- const stateEntries = [];
157
+ const entries = [];
160
158
  for (const a of existing) {
161
159
  if (a.attribute_id) {
162
160
  selection[a.attribute_id] = true;
163
161
  const apiAttr = product_attributes?.find(
164
162
  (pa) => pa.id === a.attribute_id
165
163
  );
166
- stateEntries.push({
164
+ entries.push({
167
165
  id: a.attribute_id,
168
166
  name: a.title,
169
167
  values: Array.isArray(a.values) ? a.values : a.values ? [a.values] : [],
@@ -180,7 +178,7 @@ var ProductCreateAddAttributesModal = () => {
180
178
  for (const attr of product_attributes) {
181
179
  if (attr.is_required && !selection[attr.id]) {
182
180
  selection[attr.id] = true;
183
- stateEntries.push({
181
+ entries.push({
184
182
  id: attr.id,
185
183
  name: attr.name,
186
184
  values: [],
@@ -192,9 +190,10 @@ var ProductCreateAddAttributesModal = () => {
192
190
  }
193
191
  }
194
192
  setRowSelection(selection);
195
- setState(stateEntries);
193
+ setSelected(entries);
196
194
  }, [open, getValues, product_attributes]);
197
- const onRowSelectionChange = (next) => {
195
+ const updater = (fn) => {
196
+ const next = typeof fn === "function" ? fn(rowSelection) : fn;
198
197
  if (product_attributes) {
199
198
  for (const attr of product_attributes) {
200
199
  if (attr.is_required) {
@@ -202,24 +201,20 @@ var ProductCreateAddAttributesModal = () => {
202
201
  }
203
202
  }
204
203
  }
205
- const ids = Object.keys(next);
206
- const addedIdsSet = new Set(
207
- ids.filter((id) => next[id] && !rowSelection[id])
204
+ const addedIds = new Set(
205
+ Object.keys(next).filter((id) => next[id] && !rowSelection[id])
208
206
  );
209
- let addedAttributes = [];
210
- if (addedIdsSet.size > 0) {
211
- addedAttributes = product_attributes?.filter((attr) => addedIdsSet.has(attr.id)).map((attr) => ({
212
- id: attr.id,
213
- name: attr.name,
214
- values: [],
215
- is_variant_axis: attr.is_variant_axis,
216
- type: attr.type,
217
- available_values: attr.values?.map((v) => ({ id: v.id, name: v.name })) ?? []
218
- })) ?? [];
219
- }
220
- setState((prev) => {
221
- const filteredPrev = prev.filter((a) => next[a.id]);
222
- return Array.from(/* @__PURE__ */ new Set([...filteredPrev, ...addedAttributes]));
207
+ const addedAttributes = addedIds.size > 0 ? product_attributes?.filter((attr) => addedIds.has(attr.id)).map((attr) => ({
208
+ id: attr.id,
209
+ name: attr.name,
210
+ values: [],
211
+ is_variant_axis: attr.is_variant_axis,
212
+ type: attr.type,
213
+ available_values: attr.values?.map((v) => ({ id: v.id, name: v.name })) ?? []
214
+ })) ?? [] : [];
215
+ setSelected((prev) => {
216
+ const kept = prev.filter((a) => next[a.id]);
217
+ return Array.from(/* @__PURE__ */ new Set([...kept, ...addedAttributes]));
223
218
  });
224
219
  setRowSelection(next);
225
220
  };
@@ -229,7 +224,7 @@ var ProductCreateAddAttributesModal = () => {
229
224
  const requiredIds = new Set(
230
225
  product_attributes?.filter((a) => a.is_required).map((a) => a.id) ?? []
231
226
  );
232
- const selectedAttributes = state.map((a) => ({
227
+ const selectedAttributes = selected.map((a) => ({
233
228
  attribute_id: a.id,
234
229
  title: a.name,
235
230
  values: a.values,
@@ -247,28 +242,45 @@ var ProductCreateAddAttributesModal = () => {
247
242
  };
248
243
  const filters = useAttributeTableFilters();
249
244
  const columns = useColumns();
245
+ const { table } = useDataTable({
246
+ data: product_attributes ?? [],
247
+ columns,
248
+ count,
249
+ getRowId: (row) => row.id,
250
+ pageSize: PAGE_SIZE,
251
+ enablePagination: true,
252
+ enableRowSelection: (row) => !row.original.is_required,
253
+ rowSelection: { state: rowSelection, updater },
254
+ prefix: ADD_ATTRIBUTES_MODAL_ID
255
+ });
250
256
  if (isError) {
251
257
  throw error;
252
258
  }
253
259
  return /* @__PURE__ */ jsxs(StackedFocusModal.Content, { className: "flex flex-col overflow-hidden", children: [
254
260
  /* @__PURE__ */ jsx(StackedFocusModal.Header, {}),
255
- /* @__PURE__ */ jsx(StackedFocusModal.Body, { className: "flex-1 overflow-hidden", children: /* @__PURE__ */ jsx(
256
- DataTable,
261
+ /* @__PURE__ */ jsx(StackedFocusModal.Body, { className: "flex size-full flex-col overflow-hidden", children: /* @__PURE__ */ jsx(
262
+ _DataTable,
257
263
  {
258
- data: product_attributes,
264
+ table,
259
265
  columns,
260
- filters,
261
- rowCount: count,
266
+ count,
262
267
  pageSize: PAGE_SIZE,
263
- getRowId: (row) => row.id,
264
- rowSelection: {
265
- state: rowSelection,
266
- onRowSelectionChange,
267
- enableRowSelection: (row) => !row.original.is_required
268
- },
269
268
  isLoading,
269
+ filters,
270
+ orderBy: [
271
+ { key: "name", label: t("attributes.fields.name") },
272
+ { key: "created_at", label: t("fields.createdAt") },
273
+ { key: "updated_at", label: t("fields.updatedAt") }
274
+ ],
275
+ queryObject: raw,
276
+ prefix: ADD_ATTRIBUTES_MODAL_ID,
270
277
  layout: "fill",
271
- prefix: ADD_ATTRIBUTES_MODAL_ID
278
+ pagination: true,
279
+ search: true,
280
+ noRecords: {
281
+ title: t("products.create.attributes.noAttributesTitle"),
282
+ message: t("products.create.attributes.noAttributesDescription")
283
+ }
272
284
  }
273
285
  ) }),
274
286
  /* @__PURE__ */ jsx(StackedFocusModal.Footer, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2", children: [
@@ -277,28 +289,43 @@ var ProductCreateAddAttributesModal = () => {
277
289
  ] }) })
278
290
  ] });
279
291
  };
280
- var columnHelper = createDataTableColumnHelper();
292
+ var columnHelper = createColumnHelper();
281
293
  var useColumns = () => {
282
294
  const { t } = useTranslation();
283
295
  return useMemo(
284
296
  () => [
285
- columnHelper.select(),
297
+ columnHelper.display({
298
+ id: "select",
299
+ header: ({ table }) => /* @__PURE__ */ jsx(
300
+ Checkbox,
301
+ {
302
+ checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
303
+ onCheckedChange: (value) => table.toggleAllPageRowsSelected(!!value)
304
+ }
305
+ ),
306
+ cell: ({ row }) => /* @__PURE__ */ jsx(
307
+ Checkbox,
308
+ {
309
+ checked: row.getIsSelected(),
310
+ disabled: !row.getCanSelect(),
311
+ onCheckedChange: (value) => row.toggleSelected(!!value),
312
+ onClick: (e) => e.stopPropagation()
313
+ }
314
+ )
315
+ }),
286
316
  columnHelper.accessor("name", {
287
- header: t("attributes.fields.name"),
288
- enableSorting: false
317
+ header: t("attributes.fields.productAttribute")
289
318
  }),
290
319
  columnHelper.accessor("handle", {
291
320
  header: t("attributes.fields.handle"),
292
321
  cell: (info) => {
293
322
  const handle = info.getValue();
294
323
  return handle ? `/${handle}` : "-";
295
- },
296
- enableSorting: false
324
+ }
297
325
  }),
298
326
  columnHelper.accessor("is_required", {
299
327
  header: t("attributes.fields.required"),
300
- cell: (info) => info.getValue() ? t("filters.radio.yes") : t("filters.radio.no"),
301
- enableSorting: false
328
+ cell: (info) => info.getValue() ? t("filters.radio.yes") : t("filters.radio.no")
302
329
  }),
303
330
  columnHelper.accessor("type", {
304
331
  header: t("attributes.fields.type"),
@@ -306,13 +333,11 @@ var useColumns = () => {
306
333
  const type = info.getValue();
307
334
  const labelKey = ATTRIBUTE_TYPE_LABELS[type];
308
335
  return labelKey ? t(labelKey) : type;
309
- },
310
- enableSorting: false
336
+ }
311
337
  }),
312
338
  columnHelper.accessor("is_variant_axis", {
313
339
  header: t("attributes.fields.variantAxis"),
314
- cell: (info) => info.getValue() ? t("filters.radio.yes") : t("filters.radio.no"),
315
- enableSorting: false
340
+ cell: (info) => info.getValue() ? t("filters.radio.yes") : t("filters.radio.no")
316
341
  }),
317
342
  columnHelper.display({
318
343
  id: "values",
@@ -1748,6 +1773,8 @@ var ProductCreateForm = ({
1748
1773
  return /* @__PURE__ */ jsx9(
1749
1774
  TabbedForm,
1750
1775
  {
1776
+ model: "product",
1777
+ zone: "create",
1751
1778
  form,
1752
1779
  onSubmit: handleSubmit,
1753
1780
  isLoading: isPending,
@@ -1,29 +1,34 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-FDKFUIYV.js";
3
+ } from "./chunk-WQQMCV7M.js";
4
4
  import {
5
+ DEFAULT_FIELDS,
5
6
  useProductTableQuery
6
- } from "./chunk-H6LZ77GX.js";
7
+ } from "./chunk-QGZH3D2P.js";
7
8
  import {
8
9
  useProductTableFilters
9
- } from "./chunk-JK4M3ZKY.js";
10
- import {
11
- _DataTable,
12
- useDataTable
13
- } from "./chunk-W3UHAQCV.js";
10
+ } from "./chunk-OOK3BD5Z.js";
14
11
  import {
15
12
  SingleColumnPage
16
13
  } from "./chunk-YV6MK4PZ.js";
14
+ import {
15
+ _DataTable,
16
+ useDataTable
17
+ } from "./chunk-7TQNE3E2.js";
17
18
  import {
18
19
  ActionMenu
19
20
  } from "./chunk-BDGZ4EQO.js";
20
21
  import {
21
22
  useDeleteProduct,
22
23
  useProducts
23
- } from "./chunk-G6YNCIVF.js";
24
+ } from "./chunk-744GLNZW.js";
25
+ import {
26
+ sdk
27
+ } from "./chunk-LXZXXOJ3.js";
24
28
 
25
29
  // src/pages/products/product-list-page.tsx
26
30
  import { Children as Children3 } from "react";
31
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
27
32
 
28
33
  // src/pages/products/_components/product-list-table/product-list-table.tsx
29
34
  import { Children as Children2 } from "react";
@@ -58,8 +63,10 @@ var ProductListHeader = ({ children }) => {
58
63
  import { toast, usePrompt } from "@medusajs/ui";
59
64
  import { keepPreviousData } from "@tanstack/react-query";
60
65
  import { createColumnHelper } from "@tanstack/react-table";
66
+ import { useExtendableTable } from "@mercurjs/dashboard-shared";
61
67
  import { useMemo } from "react";
62
68
  import { useTranslation as useTranslation2 } from "react-i18next";
69
+ import { useLoaderData } from "react-router-dom";
63
70
  import { PencilSquare, Tag, Trash } from "@medusajs/icons";
64
71
  import { jsx as jsx2 } from "react/jsx-runtime";
65
72
  var PAGE_SIZE = 10;
@@ -68,14 +75,20 @@ var ProductListDataTable = () => {
68
75
  const { searchParams, raw } = useProductTableQuery({
69
76
  pageSize: PAGE_SIZE
70
77
  });
78
+ const initialData = useLoaderData();
71
79
  const { products, count, isLoading, isError, error } = useProducts(
72
80
  searchParams,
73
81
  {
82
+ initialData,
74
83
  placeholderData: keepPreviousData
75
84
  }
76
85
  );
77
- const filters = useProductTableFilters();
78
- const columns = useColumns();
86
+ const baseFilters = useProductTableFilters();
87
+ const { columns, filters: extFilters } = useColumns();
88
+ const filters = useMemo(
89
+ () => [...baseFilters, ...extFilters],
90
+ [baseFilters, extFilters]
91
+ );
79
92
  const { table } = useDataTable({
80
93
  data: products,
81
94
  columns,
@@ -184,9 +197,15 @@ var ProductActions = ({ product }) => {
184
197
  var columnHelper = createColumnHelper();
185
198
  var useColumns = () => {
186
199
  const base = useProductTableColumns();
200
+ const { columns: extended, filters } = useExtendableTable(
201
+ {
202
+ model: "product",
203
+ columns: base
204
+ }
205
+ );
187
206
  const columns = useMemo(
188
207
  () => [
189
- ...base,
208
+ ...extended,
190
209
  columnHelper.display({
191
210
  id: "actions",
192
211
  cell: ({ row }) => {
@@ -194,9 +213,9 @@ var useColumns = () => {
194
213
  }
195
214
  })
196
215
  ],
197
- [base]
216
+ [extended]
198
217
  );
199
- return columns;
218
+ return { columns, filters };
200
219
  };
201
220
 
202
221
  // src/pages/products/_components/product-list-table/product-list-table.tsx
@@ -214,7 +233,7 @@ var ProductListTable = ({ children }) => {
214
233
  // src/pages/products/product-list-page.tsx
215
234
  import { jsx as jsx4 } from "react/jsx-runtime";
216
235
  var Root = ({ children }) => {
217
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ProductListTable, {}) });
236
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "product.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ProductListTable, {}) }) });
218
237
  };
219
238
  var ProductListPage = Object.assign(Root, {
220
239
  Table: ProductListTable,
@@ -225,6 +244,18 @@ var ProductListPage = Object.assign(Root, {
225
244
  DataTable: ProductListDataTable
226
245
  });
227
246
 
247
+ // src/pages/products/list-loader.tsx
248
+ import { getExtensionRegistry, withLinkFields } from "@mercurjs/dashboard-shared";
249
+ var productListLoader = async () => {
250
+ const links = getExtensionRegistry()?.getLinks("product") ?? [];
251
+ return sdk.vendor.products.query({
252
+ limit: PAGE_SIZE,
253
+ offset: 0,
254
+ fields: withLinkFields(DEFAULT_FIELDS, links)
255
+ });
256
+ };
257
+
228
258
  export {
229
- ProductListPage
259
+ ProductListPage,
260
+ productListLoader
230
261
  };
@@ -1,25 +1,26 @@
1
1
  import {
2
2
  useOrderTableColumns
3
- } from "./chunk-E6W57UP3.js";
3
+ } from "./chunk-HRUO43BZ.js";
4
4
  import {
5
5
  useOrderTableQuery
6
6
  } from "./chunk-XBKWFLJG.js";
7
7
  import {
8
8
  useOrderTableFilters
9
9
  } from "./chunk-5ALC4Z2H.js";
10
- import {
11
- _DataTable,
12
- useDataTable
13
- } from "./chunk-W3UHAQCV.js";
14
10
  import {
15
11
  SingleColumnPage
16
12
  } from "./chunk-YV6MK4PZ.js";
13
+ import {
14
+ _DataTable,
15
+ useDataTable
16
+ } from "./chunk-7TQNE3E2.js";
17
17
  import {
18
18
  useOrders
19
- } from "./chunk-6FDPVW7Y.js";
19
+ } from "./chunk-UEPUKWD7.js";
20
20
 
21
21
  // src/pages/orders/order-list-page.tsx
22
22
  import { Children as Children3 } from "react";
23
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
23
24
 
24
25
  // src/pages/orders/_components/order-list-table/order-list-table.tsx
25
26
  import { Children as Children2 } from "react";
@@ -46,7 +47,9 @@ var OrderListHeader = ({
46
47
  };
47
48
 
48
49
  // src/pages/orders/_components/order-list-table/order-list-data-table.tsx
50
+ import { useMemo } from "react";
49
51
  import { useTranslation as useTranslation2 } from "react-i18next";
52
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
50
53
  import { jsx as jsx2 } from "react/jsx-runtime";
51
54
  var PAGE_SIZE = 10;
52
55
  var OrderListDataTable = () => {
@@ -54,8 +57,9 @@ var OrderListDataTable = () => {
54
57
  const { raw, searchParams } = useOrderTableQuery({
55
58
  pageSize: PAGE_SIZE
56
59
  });
57
- const { orders, count, isError, error, isLoading } = useOrders({
58
- fields: [
60
+ const linkQuery = useLinkQuery(
61
+ "order",
62
+ [
59
63
  "id",
60
64
  "status",
61
65
  "created_at",
@@ -68,11 +72,22 @@ var OrderListDataTable = () => {
68
72
  "currency_code",
69
73
  "*customer",
70
74
  "*payment_collections"
71
- ].join(","),
75
+ ].join(",")
76
+ );
77
+ const { orders, count, isError, error, isLoading } = useOrders({
78
+ ...linkQuery,
72
79
  ...searchParams
73
80
  });
74
- const columns = useOrderTableColumns({});
75
- const filters = useOrderTableFilters();
81
+ const baseColumns = useOrderTableColumns({});
82
+ const baseFilters = useOrderTableFilters();
83
+ const { columns, filters: extFilters } = useExtendableTable({
84
+ model: "order",
85
+ columns: baseColumns
86
+ });
87
+ const filters = useMemo(
88
+ () => [...baseFilters, ...extFilters],
89
+ [baseFilters, extFilters]
90
+ );
76
91
  const { table } = useDataTable({
77
92
  data: orders ?? [],
78
93
  columns,
@@ -130,7 +145,7 @@ var OrderListTable = ({ children }) => {
130
145
  // src/pages/orders/order-list-page.tsx
131
146
  import { jsx as jsx4 } from "react/jsx-runtime";
132
147
  var Root = ({ children }) => {
133
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(OrderListTable, {}) });
148
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "orders.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(OrderListTable, {}) }) });
134
149
  };
135
150
  var OrderListPage = Object.assign(Root, {
136
151
  Table: OrderListTable,
@@ -51,6 +51,7 @@ import { Container as Container3, Heading as Heading2 } from "@medusajs/ui";
51
51
  import { Children } from "react";
52
52
  import { useTranslation as useTranslation3 } from "react-i18next";
53
53
  import { useLoaderData } from "react-router-dom";
54
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
54
55
 
55
56
  // src/pages/settings/locations/_components/location-list-item.tsx
56
57
  import { Buildings, PencilSquare, Trash } from "@medusajs/icons";
@@ -226,10 +227,10 @@ var Root = ({ children }) => {
226
227
  throw error;
227
228
  }
228
229
  return /* @__PURE__ */ jsx3(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs3(TwoColumnPage, { children: [
229
- /* @__PURE__ */ jsxs3(TwoColumnPage.Main, { children: [
230
+ /* @__PURE__ */ jsx3(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "locations.list", children: [
230
231
  /* @__PURE__ */ jsx3(LocationListHeader, {}),
231
232
  /* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-3 lg:col-span-2", children: stockLocations.map((location) => /* @__PURE__ */ jsx3(location_list_item_default, { location }, location.id)) })
232
- ] }),
233
+ ] }) }),
233
234
  /* @__PURE__ */ jsx3(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx3(LinksSection, {}) })
234
235
  ] }) });
235
236
  };
@@ -15,7 +15,7 @@ var getOrderPaymentStatus = (t, status) => {
15
15
  ],
16
16
  awaiting: [t("orders.payment.status.awaiting"), "orange"],
17
17
  captured: [t("orders.payment.status.captured"), "green"],
18
- refunded: [t("orders.payment.status.refunded"), "red"],
18
+ refunded: [t("orders.payment.status.refunded"), "green"],
19
19
  partially_refunded: [
20
20
  t("orders.payment.status.partiallyRefunded"),
21
21
  "orange"
@@ -1,10 +1,10 @@
1
- import {
2
- _DataTable,
3
- useDataTable
4
- } from "./chunk-W3UHAQCV.js";
5
1
  import {
6
2
  SingleColumnPage
7
3
  } from "./chunk-YV6MK4PZ.js";
4
+ import {
5
+ _DataTable,
6
+ useDataTable
7
+ } from "./chunk-7TQNE3E2.js";
8
8
  import {
9
9
  useQueryParams
10
10
  } from "./chunk-THHRRYRS.js";
@@ -18,6 +18,7 @@ import {
18
18
 
19
19
  // src/pages/settings/shipping-profiles/shipping-profile-list-page.tsx
20
20
  import { Children as Children3 } from "react";
21
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
21
22
 
22
23
  // src/pages/settings/shipping-profiles/_components/shipping-profile-list-table.tsx
23
24
  import { Children as Children2 } from "react";
@@ -260,7 +261,7 @@ var ShippingProfileListTable = ({ children }) => {
260
261
  // src/pages/settings/shipping-profiles/shipping-profile-list-page.tsx
261
262
  import { jsx as jsx6 } from "react/jsx-runtime";
262
263
  var Root = ({ children }) => {
263
- return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingProfileListTable, {}) });
264
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx6(WidgetZone, { id: "shipping-profiles.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingProfileListTable, {}) }) });
264
265
  };
265
266
  var ShippingProfileListPage = Object.assign(Root, {
266
267
  Table: ShippingProfileListTable,