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

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 (266) hide show
  1. package/dist/{[id]-4HO4S2PX.js → [id]-3GF4DR5K.js} +704 -670
  2. package/dist/{[id]-4LIIFGET.js → [id]-3HIZGJWE.js} +140 -51
  3. package/dist/{[id]-XP5KEMNX.js → [id]-AXGVRF7M.js} +99 -62
  4. package/dist/{[id]-N7JEZFXQ.js → [id]-C7IFTDTJ.js} +4 -3
  5. package/dist/{[id]-DT5YJVKG.js → [id]-DKF4YEXN.js} +32 -31
  6. package/dist/{[id]-DCGPICT3.js → [id]-IFWREJVP.js} +37 -36
  7. package/dist/{[id]-IEBZ6V3W.js → [id]-LJABCC3D.js} +43 -42
  8. package/dist/{[id]-3LNKC5OJ.js → [id]-MIASQVLP.js} +93 -52
  9. package/dist/{[id]-U6FKX5UQ.js → [id]-NGB5OLRW.js} +68 -54
  10. package/dist/{[id]-XB45DY2D.js → [id]-ONBG5DZJ.js} +121 -43
  11. package/dist/{[id]-CUBGVODE.js → [id]-OV5VX7KD.js} +102 -61
  12. package/dist/{[id]-5P5LTATX.js → [id]-QWI3RWE6.js} +31 -13
  13. package/dist/{[id]-AQUUZFRX.js → [id]-RFC2YGFT.js} +142 -44
  14. package/dist/{[id]-5EECCIRP.js → [id]-VKEADKFV.js} +74 -49
  15. package/dist/{[location_id]-I4HHUHWY.js → [location_id]-ZG5GZKHC.js} +11 -10
  16. package/dist/{[province_id]-OYX4MOCF.js → [province_id]-KEDQTW6S.js} +31 -30
  17. package/dist/{add-RPRJWCYU.js → add-FDIWOFVE.js} +31 -30
  18. package/dist/{add-3T4GBFMM.js → add-ZIP3VEAV.js} +37 -37
  19. package/dist/{add-customer-groups-FB5T6PQN.js → add-customer-groups-EJIRM264.js} +25 -25
  20. package/dist/{add-products-F243SWGD.js → add-products-MW2JYTSJ.js} +30 -30
  21. package/dist/{add-promotions-TJDK7HLW.js → add-promotions-3BALABRA.js} +7 -7
  22. package/dist/{add-to-campaign-Q6OAJMUJ.js → add-to-campaign-B7RFNWPF.js} +5 -5
  23. package/dist/{address-XVBSNMFU.js → address-CP2MSWLA.js} +41 -29
  24. package/dist/{adjust-inventory-IZLRMQXV.js → adjust-inventory-CQPDV5X7.js} +3 -3
  25. package/dist/{allocate-items-Q3VALDYT.js → allocate-items-5HHGU3XW.js} +4 -4
  26. package/dist/{areas-IYGBRCRH.js → areas-XQE3AYPZ.js} +7 -7
  27. package/dist/{attributes-LGEM2JJW.js → attributes-HU6I723C.js} +2 -2
  28. package/dist/breadcrumb-3M7RKX5V.js +47 -0
  29. package/dist/{breadcrumb-WG6TIF4C.js → breadcrumb-4O2P6XRS.js} +5 -3
  30. package/dist/{breadcrumb-K4HBKZUE.js → breadcrumb-4Z7NR2BO.js} +3 -3
  31. package/dist/{breadcrumb-BC6XN2SE.js → breadcrumb-4ZZFD3UH.js} +3 -3
  32. package/dist/{breadcrumb-MOA2DBOE.js → breadcrumb-6VWM2EJF.js} +2 -2
  33. package/dist/{breadcrumb-YOY6Z36F.js → breadcrumb-75QGQDKN.js} +2 -2
  34. package/dist/{breadcrumb-FEYGZFJU.js → breadcrumb-C7X6FV2H.js} +3 -3
  35. package/dist/breadcrumb-EAYZVNKS.js +33 -0
  36. package/dist/{breadcrumb-H45Z2WNG.js → breadcrumb-FF7H3XPP.js} +4 -4
  37. package/dist/{breadcrumb-KZPOPXGG.js → breadcrumb-GLBWFHKW.js} +2 -2
  38. package/dist/{breadcrumb-XEZCMI55.js → breadcrumb-HK53R6S2.js} +2 -2
  39. package/dist/{breadcrumb-BFNJWOJ4.js → breadcrumb-KV6K64PW.js} +2 -2
  40. package/dist/{breadcrumb-LEFHXFLT.js → breadcrumb-KZ5TSCXK.js} +3 -3
  41. package/dist/breadcrumb-TPITDYD7.js +46 -0
  42. package/dist/{breadcrumb-XGXKCDYS.js → breadcrumb-UVODV3YP.js} +4 -4
  43. package/dist/{breadcrumb-L262VPBO.js → breadcrumb-WIB5IGST.js} +2 -2
  44. package/dist/{breadcrumb-BXD3SRM7.js → breadcrumb-X5TTCKIB.js} +2 -2
  45. package/dist/{campaigns-DZKRNCA4.js → campaigns-JKFMRYZE.js} +6 -6
  46. package/dist/{categories-JZJA2IBQ.js → categories-2PGWWGP6.js} +7 -7
  47. package/dist/{chunk-CRYZK4NU.js → chunk-2GVPLCQR.js} +2 -2
  48. package/dist/{chunk-MJP5V3JN.js → chunk-3IZSQI6K.js} +2 -2
  49. package/dist/chunk-432S4FGR.js +0 -0
  50. package/dist/{chunk-HDEOZN2Q.js → chunk-4OQLPIUZ.js} +27 -27
  51. package/dist/{chunk-JJP6AKMV.js → chunk-4U2BLH45.js} +1 -1
  52. package/dist/{chunk-WFHGJGCW.js → chunk-4ZWIWI2H.js} +27 -12
  53. package/dist/{chunk-DSTHXHJ5.js → chunk-52KJSIHS.js} +1358 -1392
  54. package/dist/{chunk-GSH6ZGI6.js → chunk-54SCBOWD.js} +35 -12
  55. package/dist/{chunk-MAW6ZT3D.js → chunk-55TS752B.js} +1 -1
  56. package/dist/{chunk-3ALBZK4M.js → chunk-57ZJ6HTU.js} +18 -4
  57. package/dist/{chunk-EPRYM3FA.js → chunk-5DKUSZQ7.js} +2 -2
  58. package/dist/{chunk-L57USMYC.js → chunk-5YZ3G5EZ.js} +1 -1
  59. package/dist/{chunk-3SH24DGG.js → chunk-656G74I2.js} +2 -2
  60. package/dist/{chunk-ZLYGEART.js → chunk-65HHU6D3.js} +1 -1
  61. package/dist/{chunk-ZTOYVPGA.js → chunk-6PSJJHI4.js} +1 -1
  62. package/dist/{chunk-FCZJAYMM.js → chunk-6RHJFSE3.js} +1 -1
  63. package/dist/{chunk-W3UHAQCV.js → chunk-7TQNE3E2.js} +1 -1
  64. package/dist/{chunk-FDKFUIYV.js → chunk-AAKR2CB4.js} +1 -1
  65. package/dist/{chunk-KTJLJTFO.js → chunk-ASN3XS2R.js} +95 -68
  66. package/dist/{chunk-UNE4VD5U.js → chunk-B25W27XK.js} +21 -10
  67. package/dist/{chunk-H6LZ77GX.js → chunk-BEPAXQMU.js} +4 -1
  68. package/dist/{chunk-PUAWN7SS.js → chunk-BHEU34FL.js} +1 -1
  69. package/dist/{chunk-634XVU3D.js → chunk-CVXKASWV.js} +2 -2
  70. package/dist/{chunk-S7NGDLZ3.js → chunk-D6RN3ONJ.js} +3 -3
  71. package/dist/{chunk-VD27SL7H.js → chunk-DHARUTMI.js} +7 -6
  72. package/dist/{chunk-6FDPVW7Y.js → chunk-DIAWPVYS.js} +2 -2
  73. package/dist/{chunk-MT6WOKIW.js → chunk-DREOA2LP.js} +3 -3
  74. package/dist/{chunk-RILHLBKW.js → chunk-DRKRLQZZ.js} +2 -2
  75. package/dist/{chunk-IEVN722X.js → chunk-DSY5PNK6.js} +1 -1
  76. package/dist/{chunk-LXZXXOJ3.js → chunk-DTGEFKK4.js} +14 -1
  77. package/dist/{chunk-JDNXS37G.js → chunk-E5VLRRZR.js} +2 -2
  78. package/dist/{chunk-GZ4KTAWS.js → chunk-EPSDO2MJ.js} +1 -1
  79. package/dist/{chunk-KZQFIPY2.js → chunk-ESXMD6CR.js} +12 -4
  80. package/dist/{chunk-D76WZZSB.js → chunk-F4ORNDFU.js} +8 -7
  81. package/dist/{chunk-VE6GRIIN.js → chunk-FV76G2D7.js} +2 -2
  82. package/dist/{chunk-WBCWER26.js → chunk-G64YUZSL.js} +1 -1
  83. package/dist/{chunk-Y4PM3IDZ.js → chunk-GGXGKMYK.js} +1 -1
  84. package/dist/{chunk-7MARNXFG.js → chunk-GHDLST2P.js} +1 -1
  85. package/dist/{chunk-2NPD4S55.js → chunk-H3PVTKOP.js} +2 -2
  86. package/dist/{chunk-E6W57UP3.js → chunk-HRUO43BZ.js} +2 -2
  87. package/dist/{chunk-OYUJYPDF.js → chunk-II3CLUXA.js} +3 -2
  88. package/dist/{chunk-CUAGC54B.js → chunk-IP6TSKUQ.js} +23 -9
  89. package/dist/{chunk-KIURBTC4.js → chunk-J2XUEO2E.js} +1 -1
  90. package/dist/{chunk-QIF4QE7T.js → chunk-K5324KIX.js} +1 -1
  91. package/dist/{chunk-5BYYDBLS.js → chunk-KGHHGMDU.js} +4 -4
  92. package/dist/{chunk-QWW6RHZC.js → chunk-KUH5ZX7G.js} +5 -4
  93. package/dist/{chunk-NTJ3BMOE.js → chunk-L2NJPDUD.js} +1 -1
  94. package/dist/{chunk-JK4M3ZKY.js → chunk-LFX6R456.js} +5 -5
  95. package/dist/{chunk-MAVQ636Y.js → chunk-MDFKI2FL.js} +1 -1
  96. package/dist/{chunk-WFE6CT6M.js → chunk-MDGTQT5D.js} +1 -1
  97. package/dist/{chunk-ZLHCZ5F2.js → chunk-MR6REQKT.js} +5 -5
  98. package/dist/{chunk-LWFBBTJ3.js → chunk-N7YRIXJA.js} +22 -11
  99. package/dist/{chunk-ZQCCVCHB.js → chunk-O72AIZUN.js} +1 -1
  100. package/dist/{chunk-RPU4UOQK.js → chunk-OATVHDPZ.js} +1 -1
  101. package/dist/{chunk-JY2XON7H.js → chunk-OCS24TF4.js} +7 -6
  102. package/dist/{chunk-3TST3EWQ.js → chunk-OQTL7PXK.js} +2 -2
  103. package/dist/{chunk-V5K6HISS.js → chunk-ORI73OPX.js} +2 -2
  104. package/dist/{chunk-2KA4TGBQ.js → chunk-OZ2UHCWA.js} +20 -9
  105. package/dist/{chunk-JTHDMXZV.js → chunk-P27MQBMZ.js} +2 -2
  106. package/dist/{chunk-4IRQSBA7.js → chunk-P76QYIFF.js} +1 -1
  107. package/dist/{chunk-5PAUN3PM.js → chunk-P7UBW2EI.js} +3 -3
  108. package/dist/{chunk-5RMLLTR7.js → chunk-PEXMLTJX.js} +2 -2
  109. package/dist/chunk-QEFPTNPC.js +81 -0
  110. package/dist/{chunk-BQHVM46E.js → chunk-RLRWDHME.js} +1 -1
  111. package/dist/{chunk-7BFQKYCJ.js → chunk-RPMYKDNA.js} +2 -2
  112. package/dist/{chunk-UX5UYDCY.js → chunk-RSOV55K7.js} +2 -2
  113. package/dist/{chunk-RTMMO6IU.js → chunk-RZHVUQ7G.js} +25 -13
  114. package/dist/{chunk-3I6ZAMGN.js → chunk-SFQOECF7.js} +1 -1
  115. package/dist/{chunk-LQSLDDPT.js → chunk-T35QBLG7.js} +1 -1
  116. package/dist/{chunk-7EXKHL5L.js → chunk-TDL742KZ.js} +1 -1
  117. package/dist/{chunk-6Q3J6ZMM.js → chunk-UDPMSL6L.js} +41 -19
  118. package/dist/{chunk-EDV4MTTT.js → chunk-VQTQILLY.js} +65 -37
  119. package/dist/{chunk-TPGIMZLI.js → chunk-VR7P4DAZ.js} +1 -1
  120. package/dist/{chunk-5BQO3YQP.js → chunk-VUWAOX7H.js} +2 -2
  121. package/dist/{chunk-JR7AABT5.js → chunk-VWPNMEOE.js} +2 -2
  122. package/dist/{chunk-MVEHWM7K.js → chunk-W34KDYZA.js} +15 -4
  123. package/dist/{chunk-EAAZV3B7.js → chunk-WJ4KVDFV.js} +24 -12
  124. package/dist/{chunk-MUGQQY6P.js → chunk-WN2NWWVO.js} +49 -11
  125. package/dist/chunk-WQTWBXKO.js +23 -0
  126. package/dist/{chunk-3BXCPHN6.js → chunk-XCHKUSUU.js} +1 -0
  127. package/dist/{chunk-KG2NUK4J.js → chunk-XEQU2OQP.js} +46 -15
  128. package/dist/{chunk-AOLE7MBM.js → chunk-XG76XXM2.js} +1 -1
  129. package/dist/{chunk-O7BGGWW6.js → chunk-XKEYHWBS.js} +5 -5
  130. package/dist/{chunk-DQ7LZZJX.js → chunk-XQO243HC.js} +24 -13
  131. package/dist/{chunk-TJKZ5QCJ.js → chunk-XUJUJD2E.js} +3 -3
  132. package/dist/{chunk-27WLUOI2.js → chunk-Y6S7K3YB.js} +1 -1
  133. package/dist/{chunk-G6YNCIVF.js → chunk-YAUGB4LD.js} +2 -2
  134. package/dist/{chunk-WCXFUBEF.js → chunk-YVI3LZ3X.js} +9 -9
  135. package/dist/{chunk-MNHP6YRC.js → chunk-YVYYOBAE.js} +3 -3
  136. package/dist/{chunk-3C2T27YW.js → chunk-YXWZT3PX.js} +1 -1
  137. package/dist/{chunk-QWJTJSIT.js → chunk-ZC2ME3UB.js} +1 -1
  138. package/dist/{collections-XIHCTMSJ.js → collections-BLDMQOVB.js} +31 -31
  139. package/dist/{configuration-3GCBMM27.js → configuration-UMRBE5RQ.js} +2 -2
  140. package/dist/{configuration-FWZTMYXY.js → configuration-YVYVOLSP.js} +4 -4
  141. package/dist/{create-BV3QDTK2.js → create-3SBSLZQO.js} +3 -3
  142. package/dist/{create-NF2LPVXA.js → create-3TN2CT6M.js} +2 -2
  143. package/dist/{create-VL7LDTVE.js → create-3WBHG32J.js} +12 -12
  144. package/dist/{create-2RGNAVVY.js → create-3ZQFAKYR.js} +27 -27
  145. package/dist/{create-PJVLJ7T6.js → create-4ZRQVXT5.js} +31 -31
  146. package/dist/{create-GO7APBBU.js → create-7Z63KA2P.js} +25 -25
  147. package/dist/{create-N534JQPH.js → create-B4VIR7YP.js} +7 -7
  148. package/dist/{create-U64NEOEL.js → create-EKDZW233.js} +2 -2
  149. package/dist/{create-X5SOAPD3.js → create-EMU23LKH.js} +2 -2
  150. package/dist/{create-RPBHXU32.js → create-FYKFT7TQ.js} +23 -23
  151. package/dist/{create-32MXB6FD.js → create-NNBIDU4Q.js} +23 -23
  152. package/dist/{create-FHIFVCSG.js → create-PO2JF7F5.js} +37 -37
  153. package/dist/{create-NEK6JCKR.js → create-PO3JC6QK.js} +13 -13
  154. package/dist/{create-YKYLCEAK.js → create-QZVZF3MJ.js} +5 -5
  155. package/dist/{create-K26SM34L.js → create-T3KSWODJ.js} +2 -2
  156. package/dist/{create-HEZYB7RF.js → create-TDQISX3H.js} +59 -25
  157. package/dist/{create-3AMFYYI6.js → create-XORPYXNT.js} +25 -25
  158. package/dist/{create-AMNH3WXL.js → create-XU35U2HL.js} +36 -32
  159. package/dist/{create-XLYGW5PN.js → create-ZLYEPOAQ.js} +24 -24
  160. package/dist/{customer-group-add-customers-2C53NFBJ.js → customer-group-add-customers-UTBBZ6T4.js} +5 -5
  161. package/dist/{customer-group-create-75QQEQZF.js → customer-group-create-L3H5REVP.js} +2 -2
  162. package/dist/{customer-group-detail-AOQYYAOG.js → customer-group-detail-WSBXE23J.js} +19 -15
  163. package/dist/{customer-group-edit-N77RCW6I.js → customer-group-edit-D6FJH5TK.js} +49 -28
  164. package/dist/{customer-groups-GNFV7VMT.js → customer-groups-TWCYFU3U.js} +37 -16
  165. package/dist/{customers-HNINO6YL.js → customers-6HDZKARD.js} +7 -7
  166. package/dist/{edit-UNN3QTEJ.js → edit-2RN3OT27.js} +24 -8
  167. package/dist/{edit-WEUFBORT.js → edit-5XPDTCB5.js} +25 -25
  168. package/dist/{edit-TD7QFM4Z.js → edit-CNXA4GKJ.js} +15 -17
  169. package/dist/{edit-BSD6667Q.js → edit-DCMMX4GW.js} +28 -29
  170. package/dist/{edit-NHQJLCAK.js → edit-DKUERO2V.js} +2 -2
  171. package/dist/{edit-I2RJUPWV.js → edit-FF2ZWS6U.js} +3 -3
  172. package/dist/{edit-3DUCWSLA.js → edit-ISFEI7YX.js} +79 -46
  173. package/dist/{edit-O65JD54W.js → edit-IVBVZ5NL.js} +6 -6
  174. package/dist/{edit-IJ6DCBUU.js → edit-K2IP2H25.js} +29 -12
  175. package/dist/{edit-ZOLSAIKF.js → edit-MUQ37ETA.js} +2 -2
  176. package/dist/{edit-JB7KVBOL.js → edit-NTTJKLUI.js} +4 -4
  177. package/dist/{edit-4PWAJ7A3.js → edit-OOY2XGLZ.js} +24 -24
  178. package/dist/{edit-7SBPHN6P.js → edit-P6YZBA32.js} +24 -8
  179. package/dist/{edit-3V34KJS2.js → edit-Q7KDO37A.js} +2 -2
  180. package/dist/{edit-ZGAOUZYP.js → edit-QII5YJ2R.js} +25 -25
  181. package/dist/{edit-WN2Q3TOX.js → edit-RRA6J5FW.js} +3 -3
  182. package/dist/{edit-SIKOSSHF.js → edit-Y4XONJJU.js} +23 -23
  183. package/dist/{edit-ZORE6RUD.js → edit-YDMBLXGU.js} +56 -37
  184. package/dist/{edit-7CLOJ3UZ.js → edit-YPIJHIGC.js} +37 -37
  185. package/dist/{edit-budget-D22WMVYR.js → edit-budget-PYPHUJPW.js} +2 -2
  186. package/dist/{edit-inventory-item-QMYWEBZ3.js → edit-inventory-item-5VBH365V.js} +23 -8
  187. package/dist/{edit-inventory-item-attributes-HLG6JR6S.js → edit-inventory-item-attributes-RMKG2IRO.js} +2 -2
  188. package/dist/{edit-price-F7ZWM3FN.js → edit-price-PDS4XN2J.js} +5 -5
  189. package/dist/{edit-stock-ITAZNHPU.js → edit-stock-UI6HXHJJ.js} +4 -4
  190. package/dist/extension-targets.d.ts +248 -0
  191. package/dist/extension-targets.js +1 -0
  192. package/dist/{fulfillment-U2GRQ6DD.js → fulfillment-6GC3NRFT.js} +33 -24
  193. package/dist/{fulfillment-providers-CMU2JB5X.js → fulfillment-providers-IND53UPG.js} +28 -28
  194. package/dist/index.css +24 -12
  195. package/dist/index.d.ts +2 -0
  196. package/dist/index.js +257 -230
  197. package/dist/{inventory-FKEXULLT.js → inventory-BDST2XIX.js} +7 -7
  198. package/dist/{inventory-4JKLAZ2Q.js → inventory-LSG2IEWD.js} +4 -4
  199. package/dist/{invite-3R2CEWLN.js → invite-CNJQ27AY.js} +30 -43
  200. package/dist/{invite-MNAX6EUC.js → invite-DD2G6UUM.js} +27 -27
  201. package/dist/{loader-MAAMUP2Z.js → loader-BLRQLIJT.js} +13 -11
  202. package/dist/{loader-HTPUNIOS.js → loader-MJTR2S7V.js} +14 -12
  203. package/dist/{locations-2VWSMWHL.js → locations-HHP2DZ4N.js} +3 -3
  204. package/dist/login-FK6ATIQV.js +41 -0
  205. package/dist/{manage-locations-RWGDXXJQ.js → manage-locations-V2AJVZXA.js} +3 -3
  206. package/dist/{media-P6WSFHY4.js → media-2Z2UIOQU.js} +27 -27
  207. package/dist/{media-YB4G5CMV.js → media-T26YU24S.js} +25 -25
  208. package/dist/{metadata-J447GEBP.js → metadata-3CER2AEK.js} +23 -23
  209. package/dist/{metadata-6OYHLPLA.js → metadata-BGYWXGMG.js} +23 -23
  210. package/dist/{metadata-VTQ2CGZX.js → metadata-MSAODJ2T.js} +23 -23
  211. package/dist/{metadata-5Q6FLVX4.js → metadata-WB37SSTG.js} +23 -23
  212. package/dist/{metadata-ADXGD4Y6.js → metadata-XS3VAC3N.js} +23 -23
  213. package/dist/{offer-create-page-ACPKTNHA.js → offer-create-page-QAHHXLLJ.js} +31 -29
  214. package/dist/{offer-detail-page-S4R4N5GL.js → offer-detail-page-ZLGP4ELR.js} +81 -28
  215. package/dist/{offer-variant-detail-page-XUMDXZUD.js → offer-variant-detail-page-2A7TRGYS.js} +28 -22
  216. package/dist/offers-ZBAZOZ7Q.js +54 -0
  217. package/dist/{onboarding-TUGXFOA6.js → onboarding-XCCZ2TMN.js} +70 -75
  218. package/dist/orders-VFSDZYOV.js +63 -0
  219. package/dist/{organization-YIOAVFHN.js → organization-YB45TRUN.js} +25 -25
  220. package/dist/{organize-OWT5QSJR.js → organize-HQLROEUF.js} +4 -4
  221. package/dist/{organize-BTA7NJD2.js → organize-T62CDRZC.js} +4 -4
  222. package/dist/pages/index.d.ts +17 -2
  223. package/dist/pages/index.js +69 -69
  224. package/dist/{payment-details-K2XFATEL.js → payment-details-O4EWCOYQ.js} +42 -30
  225. package/dist/{payouts-K5IDTJV3.js → payouts-7O5W2X5J.js} +8 -8
  226. package/dist/{price-lists-DNPIPDAW.js → price-lists-5CSCTVWN.js} +9 -9
  227. package/dist/{pricing-5VUPPNKS.js → pricing-CF3FJP6A.js} +5 -5
  228. package/dist/{pricing-J5FIDZIY.js → pricing-NHI4NSLA.js} +25 -25
  229. package/dist/{product-tags-SJYIGXEV.js → product-tags-2TLA7BVO.js} +38 -38
  230. package/dist/{product-types-4PTJW5DE.js → product-types-LZAMCLGS.js} +7 -7
  231. package/dist/{product-variant-detail-FO6J3RFA.js → product-variant-detail-UNG6LWDP.js} +27 -26
  232. package/dist/{product-variant-edit-55TAIBZO.js → product-variant-edit-K5U3JZFW.js} +25 -25
  233. package/dist/{products-XM57LXJK.js → products-27ASSSVK.js} +43 -42
  234. package/dist/{products-EQMANSO6.js → products-WJJBC3NI.js} +30 -30
  235. package/dist/{professional-details-WWZPTXSX.js → professional-details-ZCRAWCXZ.js} +41 -29
  236. package/dist/{profile-5IADQ727.js → profile-T2QLFLI7.js} +77 -38
  237. package/dist/{promotions-BYW6TZ5B.js → promotions-E4Z6APSX.js} +9 -9
  238. package/dist/{receive-MTXKKPKZ.js → receive-QCVCAR3R.js} +6 -6
  239. package/dist/{refund-3IXGYA7W.js → refund-GAOWE636.js} +74 -50
  240. package/dist/{register-U5PQZATC.js → register-IKY5DDUR.js} +28 -27
  241. package/dist/{reset-password-SKUJJLSV.js → reset-password-RMKCQLBX.js} +3 -3
  242. package/dist/{return-reasons-QDPSIJG3.js → return-reasons-RH6IEU2M.js} +20 -17
  243. package/dist/{sales-channels-GBSTCWVP.js → sales-channels-C5M2ZA5L.js} +6 -5
  244. package/dist/{sales-channels-N4NE3FXP.js → sales-channels-ZHYGTRWU.js} +7 -6
  245. package/dist/{settings-ZUBBFS67.js → settings-5IUDEPUN.js} +42 -42
  246. package/dist/{shipment-TKSCPC3M.js → shipment-UP2OGESO.js} +23 -23
  247. package/dist/{shipping-DODEUYOQ.js → shipping-ACK5UOA5.js} +4 -4
  248. package/dist/{shipping-profile-O4JMJLN7.js → shipping-profile-3US7LC5E.js} +2 -2
  249. package/dist/shipping-profiles-34432J3C.js +46 -0
  250. package/dist/{stock-GYK2GHJN.js → stock-VMND7PJY.js} +23 -23
  251. package/dist/{store-XWOALZ5Q.js → store-BCNSSIO6.js} +130 -60
  252. package/dist/{store-closure-46B3XZ2I.js → store-closure-QGR3F45Y.js} +23 -23
  253. package/dist/{store-select-E77E3ZY7.js → store-select-55ZOJGGV.js} +47 -27
  254. package/dist/{tax-regions-S2LFRTMP.js → tax-regions-RTPVM4IC.js} +11 -8
  255. package/dist/{team-N2C5JPSU.js → team-DAUWBJAI.js} +32 -31
  256. package/package.json +21 -16
  257. package/dist/breadcrumb-ILEAQRW7.js +0 -33
  258. package/dist/breadcrumb-NZYOCEEM.js +0 -47
  259. package/dist/breadcrumb-VY5DNTTJ.js +0 -46
  260. package/dist/chunk-HXGLPDZW.js +0 -34
  261. package/dist/chunk-KVKO6N4G.js +0 -13
  262. package/dist/login-YUWOWICV.js +0 -39
  263. package/dist/offers-OTZJBW43.js +0 -54
  264. package/dist/orders-PJSJNGZS.js +0 -63
  265. package/dist/shipping-profiles-4TJ4IH6U.js +0 -46
  266. /package/dist/{chunk-HFRHHT36.js → chunk-NWU7EGGF.js} +0 -0
@@ -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"
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SPFLYPY6.js";
4
4
  import {
5
5
  useCustomerGroup
6
- } from "./chunk-OYUJYPDF.js";
6
+ } from "./chunk-II3CLUXA.js";
7
7
 
8
8
  // src/pages/customer-groups/customer-group-detail/breadcrumb.tsx
9
9
  import { jsx } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeletePriceListAction
3
- } from "./chunk-IEVN722X.js";
3
+ } from "./chunk-DSY5PNK6.js";
4
4
  import {
5
5
  getPriceListStatus
6
6
  } from "./chunk-XRNDVICA.js";
@@ -14,13 +14,13 @@ import {
14
14
  import {
15
15
  StatusCell
16
16
  } from "./chunk-DB6ANJBO.js";
17
- import {
18
- _DataTable,
19
- useDataTable
20
- } from "./chunk-W3UHAQCV.js";
21
17
  import {
22
18
  SingleColumnPage
23
19
  } from "./chunk-YV6MK4PZ.js";
20
+ import {
21
+ _DataTable,
22
+ useDataTable
23
+ } from "./chunk-7TQNE3E2.js";
24
24
  import {
25
25
  useQueryParams
26
26
  } from "./chunk-THHRRYRS.js";
@@ -29,10 +29,11 @@ import {
29
29
  } from "./chunk-BDGZ4EQO.js";
30
30
  import {
31
31
  usePriceLists
32
- } from "./chunk-5PAUN3PM.js";
32
+ } from "./chunk-P7UBW2EI.js";
33
33
 
34
34
  // src/pages/price-lists/price-list-list-page.tsx
35
35
  import { Children as Children3 } from "react";
36
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
36
37
 
37
38
  // src/pages/price-lists/_components/price-list-list-table/price-list-list-table.tsx
38
39
  import { Children as Children2 } from "react";
@@ -71,12 +72,10 @@ var PriceListListHeader = ({
71
72
 
72
73
  // src/pages/price-lists/_components/price-list-list-table/price-list-list-data-table.tsx
73
74
  import { keepPreviousData } from "@tanstack/react-query";
75
+ import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
76
+ import { useMemo as useMemo2 } from "react";
74
77
  import { useTranslation as useTranslation4 } from "react-i18next";
75
-
76
- // src/pages/price-lists/_components/price-list-list-table/use-pricing-table-columns.tsx
77
- import { createColumnHelper } from "@tanstack/react-table";
78
- import { useMemo } from "react";
79
- import { useTranslation as useTranslation3 } from "react-i18next";
78
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
80
79
 
81
80
  // src/pages/price-lists/_components/price-list-list-table/price-list-list-table-actions.tsx
82
81
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -117,6 +116,9 @@ var PriceListListTableActions = ({
117
116
  };
118
117
 
119
118
  // src/pages/price-lists/_components/price-list-list-table/use-pricing-table-columns.tsx
119
+ import { createColumnHelper } from "@tanstack/react-table";
120
+ import { useMemo } from "react";
121
+ import { useTranslation as useTranslation3 } from "react-i18next";
120
122
  import { jsx as jsx3 } from "react/jsx-runtime";
121
123
  var columnHelper = createColumnHelper();
122
124
  var usePricingTableColumns = () => {
@@ -142,10 +144,6 @@ var usePricingTableColumns = () => {
142
144
  const prices = row.original?.prices?.length || "-";
143
145
  return /* @__PURE__ */ jsx3(TextCell, { text: prices });
144
146
  }
145
- }),
146
- columnHelper.display({
147
- id: "actions",
148
- cell: ({ row }) => /* @__PURE__ */ jsx3(PriceListListTableActions, { priceList: row.original })
149
147
  })
150
148
  ],
151
149
  [t]
@@ -185,14 +183,19 @@ var PriceListListDataTable = () => {
185
183
  const { searchParams, raw } = usePricingTableQuery({
186
184
  pageSize: PAGE_SIZE
187
185
  });
186
+ const linkQuery = useLinkQuery("price_list");
188
187
  const { price_lists, count, isLoading, isError, error } = usePriceLists(
189
- searchParams,
188
+ { ...searchParams, ...linkQuery },
190
189
  {
191
190
  placeholderData: keepPreviousData
192
191
  }
193
192
  );
194
- const filters = usePricingTableFilters();
195
- const columns = usePricingTableColumns();
193
+ const baseFilters = usePricingTableFilters();
194
+ const { columns, filters: extFilters } = useColumns();
195
+ const filters = useMemo2(
196
+ () => [...baseFilters, ...extFilters],
197
+ [baseFilters, extFilters]
198
+ );
196
199
  const { table } = useDataTable({
197
200
  data: price_lists || [],
198
201
  columns,
@@ -232,6 +235,25 @@ var PriceListListDataTable = () => {
232
235
  }
233
236
  );
234
237
  };
238
+ var columnHelper2 = createColumnHelper2();
239
+ var useColumns = () => {
240
+ const base = usePricingTableColumns();
241
+ const { columns: extended, filters } = useExtendableTable({
242
+ model: "price_list",
243
+ columns: base
244
+ });
245
+ const columns = useMemo2(
246
+ () => [
247
+ ...extended,
248
+ columnHelper2.display({
249
+ id: "actions",
250
+ cell: ({ row }) => /* @__PURE__ */ jsx4(PriceListListTableActions, { priceList: row.original })
251
+ })
252
+ ],
253
+ [extended]
254
+ );
255
+ return { columns, filters };
256
+ };
235
257
 
236
258
  // src/pages/price-lists/_components/price-list-list-table/price-list-list-table.tsx
237
259
  import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -245,7 +267,7 @@ var PriceListListTable = ({ children }) => {
245
267
  // src/pages/price-lists/price-list-list-page.tsx
246
268
  import { jsx as jsx6 } from "react/jsx-runtime";
247
269
  var Root = ({ children }) => {
248
- return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(PriceListListTable, {}) });
270
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx6(WidgetZone, { id: "price-lists.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(PriceListListTable, {}) }) });
249
271
  };
250
272
  var PriceListListPage = Object.assign(Root, {
251
273
  Table: PriceListListTable,
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-GRH7C3QN.js";
10
10
  import {
11
11
  useCustomerTableFilters
12
- } from "./chunk-QWJTJSIT.js";
13
- import {
14
- _DataTable,
15
- useDataTable
16
- } from "./chunk-W3UHAQCV.js";
12
+ } from "./chunk-ZC2ME3UB.js";
17
13
  import {
18
14
  SingleColumnPage
19
15
  } from "./chunk-YV6MK4PZ.js";
16
+ import {
17
+ _DataTable,
18
+ useDataTable
19
+ } from "./chunk-7TQNE3E2.js";
20
20
  import {
21
21
  SingleColumnPageSkeleton
22
22
  } from "./chunk-INNFZYX2.js";
@@ -28,11 +28,12 @@ import {
28
28
  useCustomers,
29
29
  useDeleteCustomerGroup,
30
30
  useRemoveCustomersFromGroup
31
- } from "./chunk-OYUJYPDF.js";
31
+ } from "./chunk-II3CLUXA.js";
32
32
 
33
33
  // src/pages/customer-groups/customer-group-detail/customer-group-detail.tsx
34
34
  import { Children } from "react";
35
35
  import { useLoaderData, useParams } from "react-router-dom";
36
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
36
37
 
37
38
  // src/pages/customer-groups/customer-group-detail/components/customer-group-customer-section/customer-group-customer-section.tsx
38
39
  import { XCircle } from "@medusajs/icons";
@@ -48,6 +49,7 @@ import { createColumnHelper } from "@tanstack/react-table";
48
49
  import { useMemo, useState } from "react";
49
50
  import { useTranslation } from "react-i18next";
50
51
  import { Link } from "react-router-dom";
52
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
51
53
  import { jsx, jsxs } from "react/jsx-runtime";
52
54
  var PAGE_SIZE = 20;
53
55
  var CustomerGroupCustomerSection = ({
@@ -186,6 +188,14 @@ var CustomerGroupCustomerSection = ({
186
188
  message: t("customerGroups.customers.list.noRecordsMessage")
187
189
  }
188
190
  }
191
+ ),
192
+ /* @__PURE__ */ jsx(
193
+ DisplayExtensionZone,
194
+ {
195
+ model: "customer_group",
196
+ zone: "customers",
197
+ data: group
198
+ }
189
199
  )
190
200
  ]
191
201
  }
@@ -293,6 +303,7 @@ import { PencilSquare, Trash } from "@medusajs/icons";
293
303
  import { Container as Container2, Heading as Heading2, Text, toast as toast2, usePrompt as usePrompt2 } from "@medusajs/ui";
294
304
  import { useTranslation as useTranslation2 } from "react-i18next";
295
305
  import { useNavigate } from "react-router-dom";
306
+ import { DisplayExtensionZone as DisplayExtensionZone2, DisplayField } from "@mercurjs/dashboard-shared";
296
307
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
297
308
  var CustomerGroupGeneralSection = ({
298
309
  group
@@ -339,7 +350,7 @@ var CustomerGroupGeneralSection = ({
339
350
  className: "flex items-center justify-between px-6 py-4",
340
351
  "data-testid": "customer-group-general-section-header",
341
352
  children: [
342
- /* @__PURE__ */ jsx2(Heading2, { "data-testid": "customer-group-general-section-name", children: group.name }),
353
+ /* @__PURE__ */ jsx2(DisplayField, { model: "customer_group", zone: "general", id: "name", data: group, children: /* @__PURE__ */ jsx2(Heading2, { "data-testid": "customer-group-general-section-name", children: group.name }) }),
343
354
  /* @__PURE__ */ jsx2(
344
355
  ActionMenu,
345
356
  {
@@ -368,32 +379,50 @@ var CustomerGroupGeneralSection = ({
368
379
  ]
369
380
  }
370
381
  ),
371
- /* @__PURE__ */ jsxs2(
372
- "div",
382
+ /* @__PURE__ */ jsx2(
383
+ DisplayField,
373
384
  {
374
- className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4",
375
- "data-testid": "customer-group-general-section-customers-row",
376
- children: [
377
- /* @__PURE__ */ jsx2(
378
- Text,
379
- {
380
- size: "small",
381
- leading: "compact",
382
- weight: "plus",
383
- "data-testid": "customer-group-general-section-customers-label",
384
- children: t("customers.domain")
385
- }
386
- ),
387
- /* @__PURE__ */ jsx2(
388
- Text,
389
- {
390
- size: "small",
391
- leading: "compact",
392
- "data-testid": "customer-group-general-section-customers-value",
393
- children: group.customers?.length || "-"
394
- }
395
- )
396
- ]
385
+ model: "customer_group",
386
+ zone: "general",
387
+ id: "customers",
388
+ data: group,
389
+ children: /* @__PURE__ */ jsxs2(
390
+ "div",
391
+ {
392
+ className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4",
393
+ "data-testid": "customer-group-general-section-customers-row",
394
+ children: [
395
+ /* @__PURE__ */ jsx2(
396
+ Text,
397
+ {
398
+ size: "small",
399
+ leading: "compact",
400
+ weight: "plus",
401
+ "data-testid": "customer-group-general-section-customers-label",
402
+ children: t("customers.domain")
403
+ }
404
+ ),
405
+ /* @__PURE__ */ jsx2(
406
+ Text,
407
+ {
408
+ size: "small",
409
+ leading: "compact",
410
+ "data-testid": "customer-group-general-section-customers-value",
411
+ children: group.customers?.length || "-"
412
+ }
413
+ )
414
+ ]
415
+ }
416
+ )
417
+ }
418
+ ),
419
+ /* @__PURE__ */ jsx2(
420
+ DisplayExtensionZone2,
421
+ {
422
+ model: "customer_group",
423
+ zone: "general",
424
+ data: group,
425
+ builtInFieldIds: ["name", "customers"]
397
426
  }
398
427
  )
399
428
  ]
@@ -406,11 +435,10 @@ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
406
435
  var Root = ({ children }) => {
407
436
  const initialData = useLoaderData();
408
437
  const { id } = useParams();
438
+ const query = useLinkQuery("customer_group", CUSTOMER_GROUP_DETAIL_FIELDS);
409
439
  const { customer_group, isLoading, isError, error } = useCustomerGroup(
410
440
  id,
411
- {
412
- fields: CUSTOMER_GROUP_DETAIL_FIELDS
413
- },
441
+ query,
414
442
  { initialData }
415
443
  );
416
444
  if (isLoading || !customer_group) {
@@ -419,10 +447,10 @@ var Root = ({ children }) => {
419
447
  if (isError) {
420
448
  throw error;
421
449
  }
422
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, data: customer_group, hasOutlet: true, children }) : /* @__PURE__ */ jsxs3(SingleColumnPage, { showJSON: true, data: customer_group, hasOutlet: true, children: [
450
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, data: customer_group, hasOutlet: true, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, data: customer_group, hasOutlet: true, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "customer-groups.detail.main", data: customer_group, children: [
423
451
  /* @__PURE__ */ jsx3(CustomerGroupGeneralSection, { group: customer_group }),
424
452
  /* @__PURE__ */ jsx3(CustomerGroupCustomerSection, { group: customer_group })
425
- ] });
453
+ ] }) });
426
454
  };
427
455
  var CustomerGroupDetailPage = Object.assign(Root, {
428
456
  GeneralSection: CustomerGroupGeneralSection,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StatusCell
3
- } from "./chunk-Y4PM3IDZ.js";
3
+ } from "./chunk-GGXGKMYK.js";
4
4
  import {
5
5
  TextCell,
6
6
  TextHeader
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ordersQueryKeys
3
- } from "./chunk-6FDPVW7Y.js";
3
+ } from "./chunk-DIAWPVYS.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZA2KFUFR.js";
10
10
  import {
11
11
  sdk
12
- } from "./chunk-LXZXXOJ3.js";
12
+ } from "./chunk-DTGEFKK4.js";
13
13
 
14
14
  // src/hooks/api/payments.tsx
15
15
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  stockLocationsQueryKeys
3
- } from "./chunk-ZQCCVCHB.js";
3
+ } from "./chunk-O72AIZUN.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZA2KFUFR.js";
10
10
  import {
11
11
  sdk
12
- } from "./chunk-LXZXXOJ3.js";
12
+ } from "./chunk-DTGEFKK4.js";
13
13
 
14
14
  // src/hooks/api/shipping-options.tsx
15
15
  import {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-ZA2KFUFR.js";
7
7
  import {
8
8
  sdk
9
- } from "./chunk-LXZXXOJ3.js";
9
+ } from "./chunk-DTGEFKK4.js";
10
10
 
11
11
  // src/hooks/api/members.tsx
12
12
  import {
@@ -18,10 +18,12 @@ var membersQueryKeys = {
18
18
  ...queryKeysFactory(MEMBERS_QUERY_KEY),
19
19
  me: () => [MEMBERS_QUERY_KEY, "me"]
20
20
  };
21
- var useMe = (options) => {
21
+ var useMe = (query, options) => {
22
22
  const { data, ...rest } = useQuery({
23
- queryFn: () => sdk.vendor.members.me.query(),
24
- queryKey: membersQueryKeys.me(),
23
+ queryFn: () => sdk.vendor.members.me.query(
24
+ query
25
+ ),
26
+ queryKey: query ? [...membersQueryKeys.me(), query] : membersQueryKeys.me(),
25
27
  ...options
26
28
  });
27
29
  return {
@@ -96,6 +98,14 @@ var useCurrentSeller = () => {
96
98
  error
97
99
  };
98
100
  };
101
+ var useSeller = (id, query, options) => {
102
+ const { data, ...rest } = useQuery2({
103
+ queryKey: sellersQueryKeys.detail(id, query),
104
+ queryFn: () => sdk.vendor.sellers.$id.query({ $id: id, ...query }),
105
+ ...options
106
+ });
107
+ return { ...data, ...rest };
108
+ };
99
109
  var useSellers = (query, options) => {
100
110
  const { data, ...rest } = useQuery2({
101
111
  queryKey: sellersQueryKeys.list(query),
@@ -200,6 +210,7 @@ export {
200
210
  useMember,
201
211
  useRemoveSellerMember,
202
212
  useCurrentSeller,
213
+ useSeller,
203
214
  useSellers,
204
215
  useSelectSeller,
205
216
  useUpdateSeller,
@@ -6,20 +6,21 @@ import {
6
6
  } from "./chunk-GRH7C3QN.js";
7
7
  import {
8
8
  useCustomerTableFilters
9
- } from "./chunk-QWJTJSIT.js";
10
- import {
11
- _DataTable,
12
- useDataTable
13
- } from "./chunk-W3UHAQCV.js";
9
+ } from "./chunk-ZC2ME3UB.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
  useCustomers
19
- } from "./chunk-OYUJYPDF.js";
19
+ } from "./chunk-II3CLUXA.js";
20
20
 
21
21
  // src/pages/customers/customer-list-page.tsx
22
22
  import { Children as Children3 } from "react";
23
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
23
24
 
24
25
  // src/pages/customers/_components/customer-list-table/customer-list-table.tsx
25
26
  import { Children as Children2 } from "react";
@@ -51,6 +52,7 @@ var CustomerListHeader = ({
51
52
 
52
53
  // src/pages/customers/_components/customer-list-table/customer-list-data-table.tsx
53
54
  import { keepPreviousData } from "@tanstack/react-query";
55
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
54
56
  import { useMemo } from "react";
55
57
  import { useTranslation as useTranslation2 } from "react-i18next";
56
58
  import { jsx as jsx2 } from "react/jsx-runtime";
@@ -60,16 +62,22 @@ var CustomerListDataTable = () => {
60
62
  const { searchParams, raw } = useCustomerTableQuery({
61
63
  pageSize: PAGE_SIZE
62
64
  });
65
+ const linkQuery = useLinkQuery("customer");
63
66
  const { customers, count, isLoading, isError, error } = useCustomers(
64
67
  {
65
- ...searchParams
68
+ ...searchParams,
69
+ ...linkQuery
66
70
  },
67
71
  {
68
72
  placeholderData: keepPreviousData
69
73
  }
70
74
  );
71
- const filters = useCustomerTableFilters();
72
- const columns = useColumns();
75
+ const baseFilters = useCustomerTableFilters();
76
+ const { columns, filters: extFilters } = useColumns();
77
+ const filters = useMemo(
78
+ () => [...baseFilters, ...extFilters],
79
+ [baseFilters, extFilters]
80
+ );
73
81
  const { table } = useDataTable({
74
82
  data: customers ?? [],
75
83
  columns,
@@ -121,8 +129,12 @@ var CustomerListDataTable = () => {
121
129
  );
122
130
  };
123
131
  var useColumns = () => {
124
- const columns = useCustomerTableColumns();
125
- return useMemo(() => [...columns], [columns]);
132
+ const base = useCustomerTableColumns();
133
+ const { columns, filters } = useExtendableTable({
134
+ model: "customer",
135
+ columns: base
136
+ });
137
+ return { columns: useMemo(() => [...columns], [columns]), filters };
126
138
  };
127
139
 
128
140
  // src/pages/customers/_components/customer-list-table/customer-list-table.tsx
@@ -140,7 +152,7 @@ var CustomerListTable = ({ children }) => {
140
152
  // src/pages/customers/customer-list-page.tsx
141
153
  import { jsx as jsx4 } from "react/jsx-runtime";
142
154
  var Root = ({ children }) => {
143
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(CustomerListTable, {}) });
155
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "customers.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(CustomerListTable, {}) }) });
144
156
  };
145
157
  var CustomerListPage = Object.assign(Root, {
146
158
  Table: CustomerListTable,
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  useDeleteProduct,
9
9
  useUpdateProduct
10
- } from "./chunk-G6YNCIVF.js";
10
+ } from "./chunk-YAUGB4LD.js";
11
11
 
12
12
  // src/pages/products/[id]/_components/product-media-section/product-media-section.tsx
13
13
  import { useState } from "react";
@@ -25,6 +25,7 @@ import {
25
25
  } from "@medusajs/ui";
26
26
  import { useTranslation } from "react-i18next";
27
27
  import { Link } from "react-router-dom";
28
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
28
29
  import { jsx, jsxs } from "react/jsx-runtime";
29
30
  var ProductMediaSection = ({
30
31
  product,
@@ -186,7 +187,8 @@ var ProductMediaSection = ({
186
187
  shortcut: "d"
187
188
  }
188
189
  )
189
- ] }) })
190
+ ] }) }),
191
+ /* @__PURE__ */ jsx(DisplayExtensionZone, { model: "product", zone: "media", data: product })
190
192
  ] });
191
193
  };
192
194
  var getMedia = (product) => {
@@ -211,7 +213,16 @@ import { PencilSquare as PencilSquare2, Trash } from "@medusajs/icons";
211
213
  import { Container as Container2, Heading as Heading2, StatusBadge, usePrompt as usePrompt2 } from "@medusajs/ui";
212
214
  import { useTranslation as useTranslation2 } from "react-i18next";
213
215
  import { useNavigate } from "react-router-dom";
216
+ import { DisplayExtensionZone as DisplayExtensionZone2, DisplayField } from "@mercurjs/dashboard-shared";
214
217
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
218
+ var GENERAL_FIELD_IDS = [
219
+ "title",
220
+ "status",
221
+ "description",
222
+ "subtitle",
223
+ "handle",
224
+ "discountable"
225
+ ];
215
226
  var productStatusColor = (status) => {
216
227
  switch (status) {
217
228
  case "draft":
@@ -253,9 +264,18 @@ var ProductGeneralSection = ({
253
264
  };
254
265
  return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", children: [
255
266
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", children: [
256
- /* @__PURE__ */ jsx2(Heading2, { children: product.title }),
267
+ /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "title", data: product, children: /* @__PURE__ */ jsx2(Heading2, { children: product.title }) }),
257
268
  /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-4", children: [
258
- /* @__PURE__ */ jsx2(StatusBadge, { color: productStatusColor(product.status), children: t(`products.productStatus.${product.status}`) }),
269
+ /* @__PURE__ */ jsx2(
270
+ DisplayField,
271
+ {
272
+ model: "product",
273
+ zone: "general",
274
+ id: "status",
275
+ data: product,
276
+ children: /* @__PURE__ */ jsx2(StatusBadge, { color: productStatusColor(product.status), children: t(`products.productStatus.${product.status}`) })
277
+ }
278
+ ),
259
279
  /* @__PURE__ */ jsx2(
260
280
  ActionMenu,
261
281
  {
@@ -283,26 +303,44 @@ var ProductGeneralSection = ({
283
303
  )
284
304
  ] })
285
305
  ] }),
286
- /* @__PURE__ */ jsx2(
306
+ /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "description", data: product, children: /* @__PURE__ */ jsx2(
287
307
  SectionRow,
288
308
  {
289
309
  title: t("fields.description"),
290
310
  value: product.description || "-"
291
311
  }
292
- ),
293
- /* @__PURE__ */ jsx2(
312
+ ) }),
313
+ /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "subtitle", data: product, children: /* @__PURE__ */ jsx2(
294
314
  SectionRow,
295
315
  {
296
316
  title: t("fields.subtitle"),
297
317
  value: product.subtitle || "-"
298
318
  }
319
+ ) }),
320
+ /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "handle", data: product, children: /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.handle"), value: `/${product.handle}` }) }),
321
+ /* @__PURE__ */ jsx2(
322
+ DisplayField,
323
+ {
324
+ model: "product",
325
+ zone: "general",
326
+ id: "discountable",
327
+ data: product,
328
+ children: /* @__PURE__ */ jsx2(
329
+ SectionRow,
330
+ {
331
+ title: t("fields.discountable"),
332
+ value: product.discountable ? t("general.true") : t("general.false")
333
+ }
334
+ )
335
+ }
299
336
  ),
300
- /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.handle"), value: `/${product.handle}` }),
301
337
  /* @__PURE__ */ jsx2(
302
- SectionRow,
338
+ DisplayExtensionZone2,
303
339
  {
304
- title: t("fields.discountable"),
305
- value: product.discountable ? t("general.true") : t("general.false")
340
+ model: "product",
341
+ zone: "general",
342
+ data: product,
343
+ builtInFieldIds: GENERAL_FIELD_IDS
306
344
  }
307
345
  )
308
346
  ] });
@@ -0,0 +1,23 @@
1
+ // src/components/common/display-id/display-id.tsx
2
+ import { useTranslation } from "react-i18next";
3
+ import { useState } from "react";
4
+ import copy from "copy-to-clipboard";
5
+ import { clx, toast, Tooltip } from "@medusajs/ui";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ function DisplayId({ id, className }) {
8
+ const { t } = useTranslation();
9
+ const [open, setOpen] = useState(false);
10
+ const onClick = () => {
11
+ copy(id);
12
+ toast.success(t("actions.idCopiedToClipboard"));
13
+ };
14
+ return /* @__PURE__ */ jsx(Tooltip, { maxWidth: 260, content: id, open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxs("span", { onClick, className: clx("cursor-pointer", className), children: [
15
+ "#",
16
+ id.slice(-7)
17
+ ] }) });
18
+ }
19
+ var display_id_default = DisplayId;
20
+
21
+ export {
22
+ display_id_default
23
+ };
@@ -43,6 +43,7 @@ var isAmountLessThenRoundingError = (amount, currencyCode) => {
43
43
  };
44
44
 
45
45
  export {
46
+ getDecimalDigits,
46
47
  getLocaleAmount,
47
48
  getStylizedAmount,
48
49
  isAmountLessThenRoundingError