@mercurjs/vendor 2.2.0-canary.5 → 2.2.0-canary.51

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 (310) hide show
  1. package/dist/{[id]-3QBUXM5P.js → [id]-66LIKKOL.js} +149 -60
  2. package/dist/{[id]-CLENX4P4.js → [id]-6K5OJU5T.js} +35 -34
  3. package/dist/{[id]-ZCMSBEVM.js → [id]-6RTJXOT5.js} +8 -7
  4. package/dist/{[id]-K2CT7BXQ.js → [id]-ARHFE7ID.js} +31 -13
  5. package/dist/{[id]-6I7F2CWX.js → [id]-BMW6PEZT.js} +45 -43
  6. package/dist/[id]-FN47ZDW5.js +515 -0
  7. package/dist/[id]-K7IIXKLB.js +3167 -0
  8. package/dist/{[id]-EDPXLUMQ.js → [id]-NUH6WK7Y.js} +103 -61
  9. package/dist/{[id]-ZSTC3MHU.js → [id]-PIE6V3E2.js} +57 -53
  10. package/dist/{[id]-WNR2IWCZ.js → [id]-RRWUTLTP.js} +147 -49
  11. package/dist/[id]-TBLROHGL.js +639 -0
  12. package/dist/[id]-VWIZD2JL.js +477 -0
  13. package/dist/[id]-XRSZYRKI.js +997 -0
  14. package/dist/{[id]-WMWGSGD5.js → [id]-YGSBJHXB.js} +131 -53
  15. package/dist/{[location_id]-NUBXDDJC.js → [location_id]-TUAKRLYQ.js} +17 -16
  16. package/dist/{[province_id]-4O576JMN.js → [province_id]-6VYYS4DZ.js} +34 -33
  17. package/dist/{add-4HQSNMRX.js → add-KB477RH5.js} +113 -43
  18. package/dist/{add-4IUBRHY4.js → add-WNXNHSGI.js} +63 -57
  19. package/dist/{add-customer-groups-IIAPH2MB.js → add-customer-groups-PB4LCA5E.js} +44 -42
  20. package/dist/{add-products-4LZZZHEQ.js → add-products-O72MJ3N2.js} +40 -40
  21. package/dist/{add-promotions-IE6DYFL7.js → add-promotions-LODQB5KI.js} +18 -18
  22. package/dist/{add-to-campaign-DLP7PSQB.js → add-to-campaign-7WAUGNNI.js} +6 -6
  23. package/dist/{address-D533QSTK.js → address-ZR4EM2QA.js} +42 -30
  24. package/dist/{adjust-inventory-AMBE5KGO.js → adjust-inventory-P4X6PFKW.js} +4 -4
  25. package/dist/allocate-items-NSQOU2QJ.js +685 -0
  26. package/dist/{areas-7Y6BVS5A.js → areas-N4ORDJTD.js} +14 -14
  27. package/dist/attributes-DRC3WYY6.js +353 -0
  28. package/dist/{breadcrumb-IZKI3GPT.js → breadcrumb-4YT6FRUQ.js} +4 -4
  29. package/dist/{breadcrumb-DW6S4FGG.js → breadcrumb-BKBSL3PC.js} +4 -4
  30. package/dist/breadcrumb-ETWGVI34.js +28 -0
  31. package/dist/{breadcrumb-YBBYFQYG.js → breadcrumb-F4N5CPRD.js} +2 -2
  32. package/dist/{breadcrumb-JZYJV7GG.js → breadcrumb-JGDD7EHO.js} +3 -3
  33. package/dist/breadcrumb-JWDW3P6C.js +46 -0
  34. package/dist/{breadcrumb-N2H37QV2.js → breadcrumb-KKWNLFMC.js} +4 -4
  35. package/dist/{breadcrumb-3Z7KZG62.js → breadcrumb-LEFHXFLT.js} +3 -3
  36. package/dist/{breadcrumb-D3UDTWGE.js → breadcrumb-MOA2DBOE.js} +2 -2
  37. package/dist/{breadcrumb-UAUX7XCV.js → breadcrumb-PJOTRHG7.js} +5 -3
  38. package/dist/breadcrumb-PYLGF3AN.js +47 -0
  39. package/dist/{breadcrumb-LOKKID7U.js → breadcrumb-TO45VBVD.js} +2 -2
  40. package/dist/{breadcrumb-F3BN5753.js → breadcrumb-UEUUMDIY.js} +2 -2
  41. package/dist/breadcrumb-VCRGVYJR.js +33 -0
  42. package/dist/{breadcrumb-THJ2HPRB.js → breadcrumb-WWLMQQQF.js} +10 -9
  43. package/dist/breadcrumb-Y7N7L7DM.js +13 -0
  44. package/dist/{breadcrumb-Y5UW3I4C.js → breadcrumb-YOY6Z36F.js} +2 -2
  45. package/dist/{campaigns-L6ULR6KR.js → campaigns-GPLRB2AR.js} +10 -10
  46. package/dist/{categories-2SA6OUEU.js → categories-53X36JNS.js} +14 -12
  47. package/dist/{chunk-SFQKKIHA.js → chunk-27WLUOI2.js} +1 -1
  48. package/dist/{chunk-QXLRABYH.js → chunk-2P5H7EVR.js} +1 -1
  49. package/dist/{chunk-PXYDR7WQ.js → chunk-3BXCPHN6.js} +3 -2
  50. package/dist/{chunk-X4INVIWL.js → chunk-3C2T27YW.js} +3 -3
  51. package/dist/{chunk-IUI25GGG.js → chunk-3F4MUPGR.js} +3 -3
  52. package/dist/chunk-42R54Z2X.js +8 -0
  53. package/dist/{chunk-LOWRQKFP.js → chunk-4CNLTLQP.js} +7 -6
  54. package/dist/{chunk-NJZQGGY3.js → chunk-4EAC3GT7.js} +2 -2
  55. package/dist/{chunk-QT7YFHCA.js → chunk-4NADEZZQ.js} +27 -4
  56. package/dist/{chunk-WLT7K7K7.js → chunk-4OQLPIUZ.js} +29 -32
  57. package/dist/{chunk-XFQJU6FA.js → chunk-55TS752B.js} +4 -4
  58. package/dist/chunk-5ALC4Z2H.js +23 -0
  59. package/dist/{chunk-4LVP635F.js → chunk-5FBQOAXU.js} +135 -126
  60. package/dist/{chunk-ZDQSWX6W.js → chunk-5NVY7JZC.js} +5 -5
  61. package/dist/{chunk-E2HQPY32.js → chunk-5RMLLTR7.js} +5 -5
  62. package/dist/chunk-5SRG2247.js +353 -0
  63. package/dist/{chunk-ZNG4GXMP.js → chunk-744GLNZW.js} +29 -24
  64. package/dist/{chunk-IR63FDQO.js → chunk-77PB6XKP.js} +1 -1
  65. package/dist/{chunk-NXNDOUFK.js → chunk-7CQ4RKVV.js} +53 -41
  66. package/dist/{chunk-FYA5XFSG.js → chunk-7HLAOLG7.js} +1 -1
  67. package/dist/{chunk-M6N4ISXL.js → chunk-7MARNXFG.js} +1 -1
  68. package/dist/{chunk-AIF2KTEE.js → chunk-7TQNE3E2.js} +16 -5
  69. package/dist/chunk-7ZNZJIVN.js +30 -0
  70. package/dist/{chunk-WHSE47DM.js → chunk-AOLE7MBM.js} +1 -1
  71. package/dist/{chunk-44UMMJ5Z.js → chunk-APWPWXWQ.js} +22 -11
  72. package/dist/{chunk-YIZK67RW.js → chunk-BQHVM46E.js} +29 -49
  73. package/dist/{chunk-UAF2S447.js → chunk-BXDN7ZA5.js} +26 -19
  74. package/dist/{chunk-VIJRMTAH.js → chunk-CLS6PNZY.js} +3 -3
  75. package/dist/{chunk-NJMNYS7G.js → chunk-COGWTNSC.js} +3 -3
  76. package/dist/{chunk-NIZ6GG7F.js → chunk-CSIWSOAM.js} +1 -1
  77. package/dist/{chunk-3EF54XFY.js → chunk-CVXKASWV.js} +2 -2
  78. package/dist/{chunk-L7QKFC5N.js → chunk-E6W57UP3.js} +32 -122
  79. package/dist/chunk-EEBJYXWA.js +15 -0
  80. package/dist/chunk-EFKHV25A.js +185 -0
  81. package/dist/{chunk-Y54FXXKC.js → chunk-EX5IIVVN.js} +7 -7
  82. package/dist/{chunk-YQYRAD5C.js → chunk-FCZJAYMM.js} +1 -1
  83. package/dist/chunk-FWPGOIFA.js +22 -0
  84. package/dist/{chunk-EIUYXS7E.js → chunk-FXQWGW2J.js} +4 -4
  85. package/dist/{chunk-6DRHR2BA.js → chunk-G6GYT6DY.js} +27 -15
  86. package/dist/chunk-GK6X67DV.js +462 -0
  87. package/dist/{chunk-PVZBDWLK.js → chunk-GRH7C3QN.js} +1 -1
  88. package/dist/{chunk-IQWK723D.js → chunk-GZ4KTAWS.js} +1 -1
  89. package/dist/{chunk-2RBEV5U4.js → chunk-HF7D3QES.js} +1 -1
  90. package/dist/chunk-HLAV55RT.js +438 -0
  91. package/dist/chunk-I3I5IYHO.js +33 -0
  92. package/dist/{chunk-M6GKMFTC.js → chunk-ICKOFNHF.js} +6 -3
  93. package/dist/{chunk-DARJTN4I.js → chunk-IMJ62GAP.js} +10 -5
  94. package/dist/{chunk-HXGLPDZW.js → chunk-IMVZFBCM.js} +6 -17
  95. package/dist/{chunk-SGR4DMCW.js → chunk-INYLPVCG.js} +3 -3
  96. package/dist/chunk-IPNO77ZJ.js +376 -0
  97. package/dist/{chunk-PPLC4IKI.js → chunk-IV57G2CB.js} +14 -1
  98. package/dist/{chunk-HNT3DMUK.js → chunk-IWF43LO2.js} +5 -6
  99. package/dist/chunk-J6XCRFBW.js +30 -0
  100. package/dist/{chunk-BOZJOOGW.js → chunk-JIXW4WHZ.js} +5 -5
  101. package/dist/{chunk-3B34B2M2.js → chunk-JJP6AKMV.js} +1 -1
  102. package/dist/{chunk-VRTUSO6M.js → chunk-JLLFEA23.js} +1 -1
  103. package/dist/{chunk-VXMOPVRH.js → chunk-JR7AABT5.js} +2 -2
  104. package/dist/{chunk-KAZ5BYTQ.js → chunk-KCHYLLVG.js} +6 -4
  105. package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
  106. package/dist/chunk-KEXXZLVI.js +127 -0
  107. package/dist/{chunk-VXWN37PT.js → chunk-KIURBTC4.js} +1 -1
  108. package/dist/chunk-L57USMYC.js +39 -0
  109. package/dist/{chunk-PBD36EZJ.js → chunk-LOBDXF34.js} +5 -5
  110. package/dist/{chunk-RIN4CBRB.js → chunk-LXZXXOJ3.js} +1 -17
  111. package/dist/chunk-LYYM7H7H.js +59 -0
  112. package/dist/chunk-MABIMRLS.js +62 -0
  113. package/dist/{chunk-MWQQVKRU.js → chunk-MAVQ636Y.js} +1 -1
  114. package/dist/{chunk-AVOIZO63.js → chunk-MDGTQT5D.js} +77 -21
  115. package/dist/{chunk-LRIC4B7Z.js → chunk-MJ4B2OFU.js} +24 -13
  116. package/dist/chunk-MK44MYO7.js +173 -0
  117. package/dist/{chunk-S7EKBD2C.js → chunk-MNHP6YRC.js} +3 -3
  118. package/dist/{chunk-FZHQ4RU7.js → chunk-NQBWBBDV.js} +277 -82
  119. package/dist/{chunk-VV6IKGCN.js → chunk-NTJ3BMOE.js} +1 -1
  120. package/dist/{chunk-FDR22JMM.js → chunk-NWU7EGGF.js} +8 -63
  121. package/dist/{chunk-457ZQ52D.js → chunk-O4N6UK6M.js} +4 -4
  122. package/dist/{chunk-A3XYCMSV.js → chunk-OOK3BD5Z.js} +58 -3
  123. package/dist/{chunk-FIH3RWX2.js → chunk-P3ETXWHD.js} +2 -2
  124. package/dist/{chunk-DVEKYLPV.js → chunk-P6XBOWET.js} +9 -8
  125. package/dist/{chunk-4S6XGIC6.js → chunk-PUAWN7SS.js} +1 -1
  126. package/dist/{chunk-U6PBLMXD.js → chunk-Q6SPIHFR.js} +8 -3
  127. package/dist/{chunk-H6LZ77GX.js → chunk-QGZH3D2P.js} +4 -1
  128. package/dist/{chunk-F4OJN2F2.js → chunk-QIF4QE7T.js} +1 -1
  129. package/dist/{chunk-2Y6AQMWI.js → chunk-QJ2CNSSH.js} +638 -837
  130. package/dist/{chunk-CNT4KVYA.js → chunk-QU444FAP.js} +68 -18
  131. package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
  132. package/dist/chunk-SPFLYPY6.js +6 -0
  133. package/dist/{chunk-2USXZSTK.js → chunk-SYWAMZNQ.js} +8 -7
  134. package/dist/{chunk-36L54SQQ.js → chunk-TNZMNJRF.js} +10 -9
  135. package/dist/{chunk-EZ3JOAUS.js → chunk-U5MXCMDR.js} +26 -15
  136. package/dist/{chunk-4NMY6A5J.js → chunk-UD4AAGHO.js} +31 -15
  137. package/dist/{chunk-L2SUH6H5.js → chunk-UEPUKWD7.js} +35 -21
  138. package/dist/{chunk-QZJIDKQR.js → chunk-UKTJEFMZ.js} +4 -4
  139. package/dist/{chunk-UORPTGV2.js → chunk-ULEW54ED.js} +11 -15
  140. package/dist/chunk-UM7ZR3VU.js +14 -0
  141. package/dist/chunk-VCUUITW6.js +35 -0
  142. package/dist/{chunk-LRARA622.js → chunk-VE6GRIIN.js} +2 -2
  143. package/dist/{chunk-TTURAYON.js → chunk-VXDL42OM.js} +89 -75
  144. package/dist/{chunk-F5H5JZQZ.js → chunk-VYSB4CTB.js} +2112 -1706
  145. package/dist/{chunk-BDPQODDX.js → chunk-W5LVOEN2.js} +13 -13
  146. package/dist/{chunk-KD7RYE6R.js → chunk-WAILZCDL.js} +20 -9
  147. package/dist/{chunk-LQD232FW.js → chunk-WJ5EU3KW.js} +1 -1
  148. package/dist/{chunk-VB3FKUFH.js → chunk-WQQMCV7M.js} +23 -36
  149. package/dist/{chunk-6YA3C4NB.js → chunk-XBKWFLJG.js} +4 -13
  150. package/dist/chunk-XQUF3WIS.js +159 -0
  151. package/dist/{chunk-LWJF63JW.js → chunk-XWHHBJGS.js} +92 -16
  152. package/dist/chunk-YBF45CX5.js +23 -0
  153. package/dist/{chunk-L25QQ2WQ.js → chunk-YEPZGGUE.js} +43 -21
  154. package/dist/{chunk-JQV7CXEC.js → chunk-YNGA3GRX.js} +17 -2
  155. package/dist/{chunk-TODJFRLH.js → chunk-YRXXO2RT.js} +3 -3
  156. package/dist/{chunk-X22KTLZ7.js → chunk-Z3SPAROE.js} +1 -1
  157. package/dist/chunk-ZHFFTT3I.js +17 -0
  158. package/dist/{chunk-LHKHQAAY.js → chunk-ZLYGEART.js} +1 -1
  159. package/dist/{chunk-NBPMNUKZ.js → chunk-ZQCCVCHB.js} +1 -1
  160. package/dist/collections-AE7QLCFD.js +70 -0
  161. package/dist/{configuration-C4IGBNXH.js → configuration-I6BUESSG.js} +3 -3
  162. package/dist/{configuration-VYG3W3VY.js → configuration-QVMG6LAM.js} +5 -5
  163. package/dist/{create-WFI5UAKV.js → create-2DXKC5OJ.js} +50 -45
  164. package/dist/{create-WWBEBEX3.js → create-2WFPJBDQ.js} +32 -32
  165. package/dist/create-AIM3P5UN.js +79 -0
  166. package/dist/create-BCDMP6EZ.js +1179 -0
  167. package/dist/{create-UPYB65PD.js → create-BV3QDTK2.js} +4 -4
  168. package/dist/{create-GB3ZA4LH.js → create-C2WABAJU.js} +6 -6
  169. package/dist/{create-R4FU54BA.js → create-F2VZZ7XS.js} +121 -51
  170. package/dist/{create-W6Z57NBD.js → create-HRIZOTVG.js} +31 -31
  171. package/dist/{create-R7K3ECN6.js → create-K26SM34L.js} +3 -3
  172. package/dist/{create-UQNYMVBM.js → create-K7V36IWH.js} +14 -14
  173. package/dist/{create-C7VELTYL.js → create-KW6KFXGI.js} +24 -24
  174. package/dist/create-MW33P4AB.js +245 -0
  175. package/dist/{create-YBF4YGWG.js → create-NF2LPVXA.js} +3 -3
  176. package/dist/create-OJKICHYP.js +1931 -0
  177. package/dist/create-T6PTW7VW.js +1798 -0
  178. package/dist/{create-LMBCRUYT.js → create-TPNH5U7Z.js} +28 -28
  179. package/dist/{create-SFU3W3ZH.js → create-U64NEOEL.js} +3 -3
  180. package/dist/{create-XVHOCZHJ.js → create-X5SOAPD3.js} +3 -3
  181. package/dist/{create-PQXCQKYL.js → create-ZZFXWYZS.js} +52 -49
  182. package/dist/customer-group-add-customers-DZ3JYD6S.js +251 -0
  183. package/dist/customer-group-create-6YNGAE2W.js +147 -0
  184. package/dist/customer-group-detail-VZUHEIRY.js +62 -0
  185. package/dist/customer-group-edit-UA36663R.js +159 -0
  186. package/dist/customer-groups-RGHBJV55.js +305 -0
  187. package/dist/{customers-ETXVNM3G.js → customers-7S2MK4VG.js} +12 -12
  188. package/dist/edit-3RDEZH6V.js +367 -0
  189. package/dist/{edit-ORXS3A2Y.js → edit-3V34KJS2.js} +3 -3
  190. package/dist/{edit-FPM66ECJ.js → edit-45TYWHR6.js} +25 -25
  191. package/dist/{edit-SDUFYPUB.js → edit-AP567NTZ.js} +107 -58
  192. package/dist/{edit-ZEXRHXXH.js → edit-GBTLRL6H.js} +33 -34
  193. package/dist/{edit-ZTZARH3J.js → edit-HXCSFGP5.js} +24 -24
  194. package/dist/{edit-Q3UQIOLS.js → edit-I2RJUPWV.js} +4 -4
  195. package/dist/{edit-465N5P5K.js → edit-J7H3XPMW.js} +50 -47
  196. package/dist/{edit-ZMERG3L7.js → edit-JB7KVBOL.js} +5 -5
  197. package/dist/{edit-C4OCKQVU.js → edit-JT4OKP5H.js} +25 -9
  198. package/dist/{edit-O4JLGKQR.js → edit-NHQJLCAK.js} +4 -4
  199. package/dist/edit-PIOHPBF5.js +103 -0
  200. package/dist/edit-TTY4PUZR.js +876 -0
  201. package/dist/{edit-OXMCTPMM.js → edit-UYYI6HIT.js} +30 -13
  202. package/dist/{edit-QADWO547.js → edit-W7T5NAFW.js} +33 -34
  203. package/dist/{edit-KAKVPHZZ.js → edit-WN2Q3TOX.js} +4 -4
  204. package/dist/{edit-CZZ44QUQ.js → edit-X4DFAW7S.js} +81 -38
  205. package/dist/{edit-ZAHCMF5U.js → edit-YLWMEXUS.js} +25 -9
  206. package/dist/{edit-522DG3BY.js → edit-ZOLSAIKF.js} +3 -3
  207. package/dist/{edit-budget-L3CCEWNF.js → edit-budget-XVJ65KUO.js} +3 -3
  208. package/dist/{edit-inventory-item-ULRIERFP.js → edit-inventory-item-NHSXZ7UB.js} +24 -9
  209. package/dist/{edit-inventory-item-attributes-F4RMFJ7O.js → edit-inventory-item-attributes-VTFPTLLT.js} +3 -3
  210. package/dist/edit-price-XCJDZ4CU.js +197 -0
  211. package/dist/edit-stock-5SQJH74B.js +230 -0
  212. package/dist/extension-targets.d.ts +246 -0
  213. package/dist/extension-targets.js +1 -0
  214. package/dist/fulfillment-AYMJFN6O.js +641 -0
  215. package/dist/{fulfillment-providers-OLISOIOK.js → fulfillment-providers-KUIDFRP4.js} +40 -40
  216. package/dist/index.css +122 -26
  217. package/dist/index.d.ts +2 -0
  218. package/dist/index.js +410 -263
  219. package/dist/{offer-inventory-batch-page-XVL75E72.js → inventory-L26YLIBO.js} +20 -20
  220. package/dist/{inventory-SV7OEXA3.js → inventory-ZWZ2SUYW.js} +11 -11
  221. package/dist/{invite-T5E2DRJ3.js → invite-CQEODMVX.js} +29 -40
  222. package/dist/{invite-4GXOLGBA.js → invite-VYXX7ICP.js} +39 -39
  223. package/dist/loader-CDW7SKZP.js +34 -0
  224. package/dist/loader-OGR7BCER.js +35 -0
  225. package/dist/{locations-INS6FTMJ.js → locations-UVMY2QLW.js} +3 -3
  226. package/dist/login-Z43XSPNR.js +39 -0
  227. package/dist/{manage-locations-6SJF53Q3.js → manage-locations-WD3WRVMF.js} +3 -3
  228. package/dist/{media-GJVAZ23R.js → media-KNKXCLN5.js} +31 -30
  229. package/dist/media-UAAKHWJZ.js +316 -0
  230. package/dist/{metadata-3EHFO2QW.js → metadata-6FYHGP2P.js} +27 -27
  231. package/dist/{metadata-46AMJQKQ.js → metadata-GI4A7XUC.js} +27 -27
  232. package/dist/{metadata-TYRXTG7D.js → metadata-GR7QS5N6.js} +27 -27
  233. package/dist/{metadata-XRI5S7UL.js → metadata-MRDVKETB.js} +25 -25
  234. package/dist/{metadata-MASPEMAH.js → metadata-QZEX5FQH.js} +25 -25
  235. package/dist/{offer-create-page-P6WC35VW.js → offer-create-page-LRKRHBRT.js} +247 -266
  236. package/dist/offer-detail-page-RSBA6WJB.js +637 -0
  237. package/dist/offer-variant-detail-page-TH24AKYJ.js +411 -0
  238. package/dist/offers-LBJILJQX.js +54 -0
  239. package/dist/{onboarding-ZDJEO2PQ.js → onboarding-4DXHB5KY.js} +71 -72
  240. package/dist/orders-HPWWKQCP.js +63 -0
  241. package/dist/{organization-BV5XORHR.js → organization-NQHWLNES.js} +64 -57
  242. package/dist/{organize-J4AQZLF3.js → organize-PNLFCNY4.js} +4 -4
  243. package/dist/{organize-HLUNMRQ7.js → organize-X4IMS4S5.js} +4 -4
  244. package/dist/pages/index.d.ts +272 -233
  245. package/dist/pages/index.js +93 -90
  246. package/dist/{payment-details-E7TAR64A.js → payment-details-T7CKYYQR.js} +43 -31
  247. package/dist/{payouts-UXJDTXDL.js → payouts-4GWI7AHB.js} +11 -11
  248. package/dist/{price-lists-LKZFVUNY.js → price-lists-QJTMWEEP.js} +13 -13
  249. package/dist/{pricing-IOWXFNPP.js → pricing-3UMIZUIM.js} +32 -32
  250. package/dist/{offer-pricing-edit-page-WZNP3TWV.js → pricing-LEEEQ2TR.js} +21 -19
  251. package/dist/{product-tags-C4DJBIPX.js → product-tags-4ANZQLH6.js} +47 -44
  252. package/dist/{product-types-UUHBV4IZ.js → product-types-F5YH6TBY.js} +11 -11
  253. package/dist/product-variant-detail-EUWXJWAJ.js +372 -0
  254. package/dist/{product-variant-edit-CYVK4G4J.js → product-variant-edit-OP7DAKIN.js} +45 -27
  255. package/dist/products-P43J5YLZ.js +93 -0
  256. package/dist/{products-TUZHQYSU.js → products-QRYZFYMR.js} +41 -40
  257. package/dist/{professional-details-QVJK7GNV.js → professional-details-UVRM7GID.js} +42 -30
  258. package/dist/{profile-M4MK4J7N.js → profile-HYJJLO63.js} +78 -44
  259. package/dist/{promotions-VAKQ7UYY.js → promotions-5NINDEZB.js} +13 -13
  260. package/dist/receive-HEBVFXLK.js +578 -0
  261. package/dist/refund-E5L7SK3V.js +268 -0
  262. package/dist/{register-VLI5C4PI.js → register-7VJ3W7B3.js} +26 -26
  263. package/dist/{reset-password-NCBLUMJH.js → reset-password-3M3JXLOO.js} +3 -3
  264. package/dist/{return-reasons-3EFETIWE.js → return-reasons-XWCE7C47.js} +29 -23
  265. package/dist/{sales-channels-MKK3XQGI.js → sales-channels-57VSC3CU.js} +13 -13
  266. package/dist/{sales-channels-R4JFYTDK.js → sales-channels-VXOZQKLK.js} +15 -15
  267. package/dist/{settings-VOVFCJ4Q.js → settings-QQ5UERKB.js} +54 -51
  268. package/dist/shipment-KF4M3RDJ.js +241 -0
  269. package/dist/shipping-3KKFZONF.js +125 -0
  270. package/dist/{shipping-profile-WK7R2VVW.js → shipping-profile-ZHE4U2MG.js} +5 -9
  271. package/dist/shipping-profiles-W6ESWKTU.js +46 -0
  272. package/dist/{stock-TAGO52GT.js → stock-JCDE7SMM.js} +27 -27
  273. package/dist/{store-3U2WDW6T.js → store-UOOVXKZY.js} +139 -65
  274. package/dist/{store-closure-HTK6XTQT.js → store-closure-7TG7Y7LW.js} +24 -24
  275. package/dist/{store-select-N5IA6BQV.js → store-select-SARJSWL4.js} +45 -26
  276. package/dist/{tax-regions-YXZW7UVX.js → tax-regions-4NK7L6FA.js} +13 -10
  277. package/dist/{team-N4T6P4CT.js → team-45IARFMH.js} +42 -41
  278. package/package.json +23 -18
  279. package/dist/[id]-3DXXFPJE.js +0 -480
  280. package/dist/[id]-DGWOCCUA.js +0 -382
  281. package/dist/[id]-NWAAHM6N.js +0 -359
  282. package/dist/[id]-YFLMC7AI.js +0 -1562
  283. package/dist/[id]-ZUSRD52M.js +0 -1219
  284. package/dist/allocate-items-B67DKZZ6.js +0 -533
  285. package/dist/attributes-BB4O7OOS.js +0 -278
  286. package/dist/breadcrumb-BA27PBHV.js +0 -46
  287. package/dist/breadcrumb-IFYULMOT.js +0 -47
  288. package/dist/breadcrumb-R2C6QY4X.js +0 -33
  289. package/dist/chunk-27KRIXMQ.js +0 -71
  290. package/dist/chunk-BDZOSMAX.js +0 -23
  291. package/dist/chunk-CFRWIQIZ.js +0 -43
  292. package/dist/chunk-G7BL4L3L.js +0 -66
  293. package/dist/chunk-HWE4QOEO.js +0 -426
  294. package/dist/chunk-T6LHVNWO.js +0 -27
  295. package/dist/collections-YKIAWPJF.js +0 -68
  296. package/dist/create-2IURYR3Z.js +0 -215
  297. package/dist/create-G5XL6G7W.js +0 -73
  298. package/dist/edit-GQNIINRR.js +0 -192
  299. package/dist/fulfillment-SDBS7ZAE.js +0 -559
  300. package/dist/loader-VDYPD3RI.js +0 -31
  301. package/dist/login-F2KYD3HD.js +0 -39
  302. package/dist/metadata-5BPOBBU2.js +0 -45
  303. package/dist/offer-detail-page-J53ZAGPF.js +0 -492
  304. package/dist/offer-edit-page-3MO566RP.js +0 -151
  305. package/dist/offers-V6RBL7JE.js +0 -32
  306. package/dist/orders-HLW2JMX7.js +0 -63
  307. package/dist/product-variant-detail-HXEUTD4R.js +0 -209
  308. package/dist/products-V3SPTJ4A.js +0 -91
  309. package/dist/shipment-4IGIMGZC.js +0 -176
  310. package/dist/shipping-profiles-MYE56X3G.js +0 -46
@@ -6,49 +6,53 @@ import {
6
6
  } from "./chunk-BWGPN6XV.js";
7
7
  import {
8
8
  StatusCell
9
- } from "./chunk-NIZ6GG7F.js";
9
+ } from "./chunk-CSIWSOAM.js";
10
10
  import "./chunk-FMFVTERD.js";
11
11
  import "./chunk-DB6ANJBO.js";
12
- import {
13
- NoRecords
14
- } from "./chunk-3EF54XFY.js";
15
- import "./chunk-FZHQ4RU7.js";
12
+ import "./chunk-NQBWBBDV.js";
16
13
  import {
17
14
  TwoColumnPage
18
15
  } from "./chunk-YV6MK4PZ.js";
16
+ import {
17
+ NoRecords
18
+ } from "./chunk-CVXKASWV.js";
19
19
  import "./chunk-LRD242C7.js";
20
- import "./chunk-QHQWEERJ.js";
21
20
  import {
22
21
  TwoColumnPageSkeleton
23
22
  } from "./chunk-INNFZYX2.js";
24
- import {
25
- promotionsQueryKeys,
26
- useDeletePromotion,
27
- usePromotion,
28
- usePromotionRules
29
- } from "./chunk-BOZJOOGW.js";
30
23
  import {
31
24
  ActionMenu
32
25
  } from "./chunk-BDGZ4EQO.js";
33
26
  import "./chunk-LAVHRER2.js";
27
+ import "./chunk-QHQWEERJ.js";
34
28
  import "./chunk-Y7QKP6QU.js";
29
+ import {
30
+ promotionsQueryKeys,
31
+ useDeletePromotion,
32
+ usePromotion,
33
+ usePromotionRules
34
+ } from "./chunk-JIXW4WHZ.js";
35
35
  import {
36
36
  queryClient
37
37
  } from "./chunk-RHKRREUU.js";
38
38
  import "./chunk-ZA2KFUFR.js";
39
39
  import {
40
40
  fetchQuery
41
- } from "./chunk-RIN4CBRB.js";
41
+ } from "./chunk-LXZXXOJ3.js";
42
42
  import "./chunk-NBMM2TZK.js";
43
43
 
44
44
  // src/pages/promotions/[id]/loader.tsx
45
- var promotionDetailQuery = (id) => ({
46
- queryKey: promotionsQueryKeys.detail(id),
47
- queryFn: async () => fetchQuery(`/vendor/promotions/${id}`, {
48
- method: "GET",
49
- query: { fields: "+status" }
50
- })
51
- });
45
+ import { getLinkQuery } from "@mercurjs/dashboard-shared";
46
+ var promotionDetailQuery = (id) => {
47
+ const query = getLinkQuery("promotion", "+status");
48
+ return {
49
+ queryKey: promotionsQueryKeys.detail(id, query),
50
+ queryFn: async () => fetchQuery(`/vendor/promotions/${id}`, {
51
+ method: "GET",
52
+ query
53
+ })
54
+ };
55
+ };
52
56
  var loader = async ({ params }) => {
53
57
  const id = params.id;
54
58
  return queryClient.ensureQueryData(promotionDetailQuery(id));
@@ -57,12 +61,14 @@ var loader = async ({ params }) => {
57
61
  // src/pages/promotions/[id]/promotion-detail-page.tsx
58
62
  import { Children } from "react";
59
63
  import { useLoaderData, useParams as useParams2 } from "react-router-dom";
64
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
60
65
 
61
66
  // src/pages/promotions/[id]/_components/campaign-section/campaign-section.tsx
62
67
  import { ArrowUpRightOnBox, PencilSquare } from "@medusajs/icons";
63
68
  import { Container, Heading, Text } from "@medusajs/ui";
64
69
  import { useTranslation } from "react-i18next";
65
70
  import { useParams } from "react-router-dom";
71
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
66
72
  import { jsx, jsxs } from "react/jsx-runtime";
67
73
  var CampaignDetailSection = ({
68
74
  campaign
@@ -120,15 +126,16 @@ var CampaignSection = ({
120
126
  NoRecords,
121
127
  {
122
128
  className: "h-[180px] pt-4 text-center",
123
- title: "Not part of a campaign",
124
- message: "Add this promotion to an existing campaign",
129
+ title: t("promotions.campaignSection.noRecordsTitle"),
130
+ message: t("promotions.campaignSection.noRecordsMessage"),
125
131
  action: {
126
132
  to: `/promotions/${id}/add-to-campaign`,
127
- label: "Add to Campaign"
133
+ label: t("promotions.campaignSection.addToCampaign")
128
134
  },
129
135
  buttonVariant: "transparentIconLeft"
130
136
  }
131
- )
137
+ ),
138
+ /* @__PURE__ */ jsx(DisplayExtensionZone, { model: "promotion", zone: "campaign", data: campaign })
132
139
  ] });
133
140
  };
134
141
 
@@ -136,6 +143,7 @@ var CampaignSection = ({
136
143
  import { PencilSquare as PencilSquare2 } from "@medusajs/icons";
137
144
  import { Badge as Badge2, Container as Container2, Heading as Heading2 } from "@medusajs/ui";
138
145
  import { useTranslation as useTranslation3 } from "react-i18next";
146
+ import { DisplayExtensionZone as DisplayExtensionZone2 } from "@mercurjs/dashboard-shared";
139
147
 
140
148
  // src/components/common/badge-list-summary/badge-list-summary.tsx
141
149
  import { Badge, Tooltip, clx } from "@medusajs/ui";
@@ -258,7 +266,15 @@ var PromotionConditionsSection = ({
258
266
  }
259
267
  ),
260
268
  rules.map((rule) => /* @__PURE__ */ jsx3(RuleBlock, { rule }, `${rule.id}-${rule.attribute}`))
261
- ] })
269
+ ] }),
270
+ /* @__PURE__ */ jsx3(
271
+ DisplayExtensionZone2,
272
+ {
273
+ model: "promotion",
274
+ zone: `conditions-${ruleType}`,
275
+ data: rules
276
+ }
277
+ )
262
278
  ] });
263
279
  };
264
280
 
@@ -267,6 +283,7 @@ import { PencilSquare as PencilSquare3, Trash } from "@medusajs/icons";
267
283
  import { Badge as Badge3, Container as Container3, Copy, Heading as Heading3, Text as Text2, usePrompt } from "@medusajs/ui";
268
284
  import { useTranslation as useTranslation4 } from "react-i18next";
269
285
  import { useNavigate } from "react-router-dom";
286
+ import { DisplayExtensionZone as DisplayExtensionZone3, DisplayField } from "@mercurjs/dashboard-shared";
270
287
 
271
288
  // src/lib/format-currency.ts
272
289
  var formatCurrency = (amount, currency) => {
@@ -325,9 +342,18 @@ var PromotionGeneralSection = ({
325
342
  const displayValue = getDisplayValue(promotion);
326
343
  return /* @__PURE__ */ jsxs4(Container3, { className: "divide-y p-0", children: [
327
344
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between px-6 py-4", children: [
328
- /* @__PURE__ */ jsx4("div", { className: "flex flex-col", children: /* @__PURE__ */ jsx4(Heading3, { children: promotion.code }) }),
345
+ /* @__PURE__ */ jsx4("div", { className: "flex flex-col", children: /* @__PURE__ */ jsx4(DisplayField, { model: "promotion", zone: "general", id: "code", data: promotion, children: /* @__PURE__ */ jsx4(Heading3, { children: promotion.code }) }) }),
329
346
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-2", children: [
330
- /* @__PURE__ */ jsx4(StatusCell, { promotion }),
347
+ /* @__PURE__ */ jsx4(
348
+ DisplayField,
349
+ {
350
+ model: "promotion",
351
+ zone: "general",
352
+ id: "status",
353
+ data: promotion,
354
+ children: /* @__PURE__ */ jsx4(StatusCell, { promotion })
355
+ }
356
+ ),
331
357
  /* @__PURE__ */ jsx4(
332
358
  ActionMenu,
333
359
  {
@@ -355,45 +381,105 @@ var PromotionGeneralSection = ({
355
381
  )
356
382
  ] })
357
383
  ] }),
358
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", children: [
359
- /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("promotions.fields.method") }),
360
- /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty", children: promotion.is_automatic ? t("promotions.form.method.automatic.title") : t("promotions.form.method.code.title") })
361
- ] }),
362
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
363
- /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("fields.code") }),
364
- /* @__PURE__ */ jsx4(
365
- Copy,
366
- {
367
- content: promotion.code,
368
- className: "text-ui-tag-neutral-text",
369
- asChild: true,
370
- children: /* @__PURE__ */ jsx4(
371
- Badge3,
384
+ /* @__PURE__ */ jsx4(
385
+ DisplayField,
386
+ {
387
+ model: "promotion",
388
+ zone: "general",
389
+ id: "is_automatic",
390
+ data: promotion,
391
+ children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", children: [
392
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("promotions.fields.method") }),
393
+ /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty", children: promotion.is_automatic ? t("promotions.form.method.automatic.title") : t("promotions.form.method.code.title") })
394
+ ] })
395
+ }
396
+ ),
397
+ /* @__PURE__ */ jsx4(
398
+ DisplayField,
399
+ {
400
+ model: "promotion",
401
+ zone: "general",
402
+ id: "code_value",
403
+ data: promotion,
404
+ children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
405
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("fields.code") }),
406
+ /* @__PURE__ */ jsx4(
407
+ Copy,
372
408
  {
373
- size: "2xsmall",
374
- rounded: "full",
375
- className: "cursor-pointer text-pretty",
376
- children: promotion.code
409
+ content: promotion.code,
410
+ className: "text-ui-tag-neutral-text",
411
+ asChild: true,
412
+ children: /* @__PURE__ */ jsx4(
413
+ Badge3,
414
+ {
415
+ size: "2xsmall",
416
+ rounded: "full",
417
+ className: "cursor-pointer text-pretty",
418
+ children: promotion.code
419
+ }
420
+ )
377
421
  }
378
422
  )
423
+ ] })
424
+ }
425
+ ),
426
+ /* @__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", children: [
427
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("promotions.fields.type") }),
428
+ /* @__PURE__ */ jsx4(
429
+ Text2,
430
+ {
431
+ size: "small",
432
+ leading: "compact",
433
+ className: "text-pretty capitalize",
434
+ children: promotion.type
379
435
  }
380
436
  )
381
- ] }),
382
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", children: [
383
- /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("promotions.fields.type") }),
384
- /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty capitalize", children: promotion.type })
385
- ] }),
386
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", children: [
437
+ ] }) }),
438
+ /* @__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", children: [
387
439
  /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("promotions.fields.value") }),
388
440
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-2", children: [
389
441
  /* @__PURE__ */ jsx4(Text2, { className: "inline", size: "small", leading: "compact", children: displayValue || "-" }),
390
442
  promotion?.application_method?.type === "fixed" && /* @__PURE__ */ jsx4(Badge3, { size: "2xsmall", rounded: "full", children: promotion?.application_method?.currency_code?.toUpperCase() })
391
443
  ] })
392
- ] }),
393
- /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", children: [
394
- /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("promotions.fields.allocation") }),
395
- /* @__PURE__ */ jsx4(Text2, { size: "small", leading: "compact", className: "text-pretty capitalize", children: promotion.application_method?.allocation })
396
- ] })
444
+ ] }) }),
445
+ /* @__PURE__ */ jsx4(
446
+ DisplayField,
447
+ {
448
+ model: "promotion",
449
+ zone: "general",
450
+ id: "allocation",
451
+ data: promotion,
452
+ children: /* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start px-6 py-4", children: [
453
+ /* @__PURE__ */ jsx4(Text2, { size: "small", weight: "plus", leading: "compact", children: t("promotions.fields.allocation") }),
454
+ /* @__PURE__ */ jsx4(
455
+ Text2,
456
+ {
457
+ size: "small",
458
+ leading: "compact",
459
+ className: "text-pretty capitalize",
460
+ children: promotion.application_method?.allocation
461
+ }
462
+ )
463
+ ] })
464
+ }
465
+ ),
466
+ /* @__PURE__ */ jsx4(
467
+ DisplayExtensionZone3,
468
+ {
469
+ model: "promotion",
470
+ zone: "general",
471
+ data: promotion,
472
+ builtInFieldIds: [
473
+ "code",
474
+ "status",
475
+ "is_automatic",
476
+ "code_value",
477
+ "type",
478
+ "value",
479
+ "allocation"
480
+ ]
481
+ }
482
+ )
397
483
  ] });
398
484
  };
399
485
 
@@ -402,7 +488,10 @@ import { Fragment, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
402
488
  var Root = ({ children }) => {
403
489
  const initialData = useLoaderData();
404
490
  const { id } = useParams2();
405
- const { promotion, isLoading } = usePromotion(id, { initialData });
491
+ const linkQuery = useLinkQuery("promotion", "+status");
492
+ const { promotion, isLoading } = usePromotion(id, linkQuery, {
493
+ initialData
494
+ });
406
495
  const query = {};
407
496
  if (promotion?.type === "buyget") query.promotion_type = promotion.type;
408
497
  const { rules } = usePromotionRules(id, "rules", query);
@@ -411,7 +500,7 @@ var Root = ({ children }) => {
411
500
  if (isLoading || !promotion)
412
501
  return /* @__PURE__ */ jsx5(TwoColumnPageSkeleton, { mainSections: 3, sidebarSections: 1, showJSON: true });
413
502
  return /* @__PURE__ */ jsx5(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs5(TwoColumnPage, { data: promotion, hasOutlet: true, children: [
414
- /* @__PURE__ */ jsxs5(TwoColumnPage.Main, { children: [
503
+ /* @__PURE__ */ jsx5(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "promotions.detail.main", data: promotion, children: [
415
504
  /* @__PURE__ */ jsx5(PromotionGeneralSection, { promotion }),
416
505
  /* @__PURE__ */ jsx5(PromotionConditionsSection, { rules: rules || [], ruleType: "rules" }),
417
506
  /* @__PURE__ */ jsx5(
@@ -428,8 +517,8 @@ var Root = ({ children }) => {
428
517
  ruleType: "buy-rules"
429
518
  }
430
519
  )
431
- ] }),
432
- /* @__PURE__ */ jsx5(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx5(CampaignSection, { campaign: promotion.campaign }) })
520
+ ] }) }),
521
+ /* @__PURE__ */ jsx5(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx5(WidgetZone, { id: "promotions.detail.side", data: promotion, children: /* @__PURE__ */ jsx5(CampaignSection, { campaign: promotion.campaign }) }) })
433
522
  ] }) });
434
523
  };
435
524
  var PromotionDetailPage = Object.assign(Root, {
@@ -2,15 +2,15 @@ import {
2
2
  TaxOverrideTable,
3
3
  TaxRateLine,
4
4
  useTaxOverrideTable
5
- } from "./chunk-Y54FXXKC.js";
5
+ } from "./chunk-EX5IIVVN.js";
6
6
  import "./chunk-Q4UVXS46.js";
7
7
  import {
8
8
  TaxRegionTable,
9
9
  useTaxRegionTable
10
- } from "./chunk-NJMNYS7G.js";
10
+ } from "./chunk-COGWTNSC.js";
11
11
  import {
12
12
  TaxRegionCard
13
- } from "./chunk-E2HQPY32.js";
13
+ } from "./chunk-5RMLLTR7.js";
14
14
  import {
15
15
  getCountryProvinceObjectByIso2
16
16
  } from "./chunk-N2TQXB44.js";
@@ -24,48 +24,48 @@ import {
24
24
  import {
25
25
  getCountryByIso2
26
26
  } from "./chunk-JRTZWK77.js";
27
- import "./chunk-YN3FGNJM.js";
28
- import "./chunk-KAZ5BYTQ.js";
29
- import "./chunk-3EF54XFY.js";
30
27
  import "./chunk-U2EI2ZLM.js";
31
28
  import {
32
29
  SingleColumnPage
33
30
  } from "./chunk-YV6MK4PZ.js";
31
+ import "./chunk-YN3FGNJM.js";
32
+ import "./chunk-KCHYLLVG.js";
33
+ import "./chunk-CVXKASWV.js";
34
34
  import "./chunk-THHRRYRS.js";
35
35
  import {
36
36
  SingleColumnPageSkeleton
37
37
  } from "./chunk-INNFZYX2.js";
38
- import "./chunk-YIZK67RW.js";
39
- import "./chunk-F4OJN2F2.js";
38
+ import "./chunk-BDGZ4EQO.js";
39
+ import "./chunk-LAVHRER2.js";
40
+ import "./chunk-Y7QKP6QU.js";
41
+ import "./chunk-BQHVM46E.js";
42
+ import "./chunk-QIF4QE7T.js";
40
43
  import {
41
44
  useTaxRates
42
- } from "./chunk-LRARA622.js";
45
+ } from "./chunk-VE6GRIIN.js";
43
46
  import {
44
47
  taxRegionsQueryKeys,
45
48
  useTaxRegion,
46
49
  useTaxRegions
47
- } from "./chunk-M6N4ISXL.js";
48
- import "./chunk-S7EKBD2C.js";
49
- import "./chunk-VXMOPVRH.js";
50
- import "./chunk-VV6IKGCN.js";
51
- import "./chunk-VIJRMTAH.js";
52
- import "./chunk-BOZJOOGW.js";
53
- import "./chunk-LWJF63JW.js";
54
- import "./chunk-T6LHVNWO.js";
55
- import "./chunk-4S6XGIC6.js";
56
- import "./chunk-QT7YFHCA.js";
57
- import "./chunk-IQWK723D.js";
58
- import "./chunk-UORPTGV2.js";
59
- import "./chunk-ZDQSWX6W.js";
60
- import "./chunk-VXWN37PT.js";
61
- import "./chunk-NJZQGGY3.js";
62
- import "./chunk-NBPMNUKZ.js";
63
- import "./chunk-L2SUH6H5.js";
64
- import "./chunk-3B34B2M2.js";
65
- import "./chunk-BDGZ4EQO.js";
66
- import "./chunk-LAVHRER2.js";
67
- import "./chunk-Y7QKP6QU.js";
68
- import "./chunk-ZNG4GXMP.js";
50
+ } from "./chunk-7MARNXFG.js";
51
+ import "./chunk-MNHP6YRC.js";
52
+ import "./chunk-NTJ3BMOE.js";
53
+ import "./chunk-CLS6PNZY.js";
54
+ import "./chunk-JIXW4WHZ.js";
55
+ import "./chunk-GZ4KTAWS.js";
56
+ import "./chunk-PUAWN7SS.js";
57
+ import "./chunk-4NADEZZQ.js";
58
+ import "./chunk-XWHHBJGS.js";
59
+ import "./chunk-5NVY7JZC.js";
60
+ import "./chunk-KIURBTC4.js";
61
+ import "./chunk-4EAC3GT7.js";
62
+ import "./chunk-JR7AABT5.js";
63
+ import "./chunk-ZQCCVCHB.js";
64
+ import "./chunk-MABIMRLS.js";
65
+ import "./chunk-ULEW54ED.js";
66
+ import "./chunk-UEPUKWD7.js";
67
+ import "./chunk-JJP6AKMV.js";
68
+ import "./chunk-744GLNZW.js";
69
69
  import "./chunk-A5DJIOHN.js";
70
70
  import {
71
71
  queryClient
@@ -73,11 +73,12 @@ import {
73
73
  import "./chunk-ZA2KFUFR.js";
74
74
  import {
75
75
  fetchQuery
76
- } from "./chunk-RIN4CBRB.js";
76
+ } from "./chunk-LXZXXOJ3.js";
77
77
  import "./chunk-NBMM2TZK.js";
78
78
 
79
79
  // src/pages/settings/tax-regions/[id]/index.tsx
80
80
  import { useLoaderData, useParams } from "react-router-dom";
81
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
81
82
 
82
83
  // src/pages/settings/tax-regions/[id]/_components/tax-region-detail-section.tsx
83
84
  import { Badge, Container, Tooltip } from "@medusajs/ui";
@@ -299,7 +300,7 @@ var TaxRegionDetail = () => {
299
300
  if (isError) {
300
301
  throw error;
301
302
  }
302
- return /* @__PURE__ */ jsxs3(SingleColumnPage, { data: taxRegion, children: [
303
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { data: taxRegion, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "tax-regions.detail.main", data: taxRegion, children: [
303
304
  /* @__PURE__ */ jsx6(
304
305
  TaxRegionSublevelAlert,
305
306
  {
@@ -317,7 +318,7 @@ var TaxRegionDetail = () => {
317
318
  }
318
319
  ),
319
320
  /* @__PURE__ */ jsx6(TaxRegionOverrideSection, { taxRegion })
320
- ] });
321
+ ] }) });
321
322
  };
322
323
  var Component = TaxRegionDetail;
323
324
  export {
@@ -7,23 +7,23 @@ import {
7
7
  import {
8
8
  SingleColumnPageSkeleton
9
9
  } from "./chunk-INNFZYX2.js";
10
- import {
11
- shippingProfileQueryKeys,
12
- useDeleteShippingProfile,
13
- useShippingProfile
14
- } from "./chunk-IQWK723D.js";
15
10
  import {
16
11
  ActionMenu
17
12
  } from "./chunk-BDGZ4EQO.js";
18
13
  import "./chunk-LAVHRER2.js";
19
14
  import "./chunk-Y7QKP6QU.js";
15
+ import {
16
+ shippingProfileQueryKeys,
17
+ useDeleteShippingProfile,
18
+ useShippingProfile
19
+ } from "./chunk-GZ4KTAWS.js";
20
20
  import {
21
21
  queryClient
22
22
  } from "./chunk-RHKRREUU.js";
23
23
  import "./chunk-ZA2KFUFR.js";
24
24
  import {
25
25
  fetchQuery
26
- } from "./chunk-RIN4CBRB.js";
26
+ } from "./chunk-LXZXXOJ3.js";
27
27
  import "./chunk-NBMM2TZK.js";
28
28
 
29
29
  // src/pages/settings/shipping-profiles/[id]/loader.ts
@@ -42,6 +42,7 @@ var shippingProfileLoader = async ({ params }) => {
42
42
  // src/pages/settings/shipping-profiles/[id]/shipping-profile-detail-page.tsx
43
43
  import { Children } from "react";
44
44
  import { useLoaderData, useParams } from "react-router-dom";
45
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
45
46
 
46
47
  // src/pages/settings/shipping-profiles/[id]/_components/shipping-profile-general-section.tsx
47
48
  import { Trash } from "@medusajs/icons";
@@ -126,7 +127,7 @@ var Root = ({ children }) => {
126
127
  if (isError) {
127
128
  throw error;
128
129
  }
129
- return /* @__PURE__ */ jsx2(SingleColumnPage, { data: shipping_profile, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(ShippingProfileGeneralSection, { profile: shipping_profile }) });
130
+ return /* @__PURE__ */ jsx2(SingleColumnPage, { data: shipping_profile, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(WidgetZone, { id: "shipping-profiles.detail.main", data: shipping_profile, children: /* @__PURE__ */ jsx2(ShippingProfileGeneralSection, { profile: shipping_profile }) }) });
130
131
  };
131
132
  var ShippingProfileDetailPage = Object.assign(Root, {
132
133
  GeneralSection: ShippingProfileGeneralSection
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getStylizedAmount
3
- } from "./chunk-PXYDR7WQ.js";
3
+ } from "./chunk-3BXCPHN6.js";
4
4
  import "./chunk-IQPN4PZJ.js";
5
5
  import {
6
6
  SingleColumnPage
@@ -10,19 +10,28 @@ import {
10
10
  } from "./chunk-INNFZYX2.js";
11
11
  import {
12
12
  usePayout
13
- } from "./chunk-VXWN37PT.js";
13
+ } from "./chunk-KIURBTC4.js";
14
14
  import "./chunk-ZA2KFUFR.js";
15
- import "./chunk-RIN4CBRB.js";
15
+ import "./chunk-LXZXXOJ3.js";
16
16
  import "./chunk-NBMM2TZK.js";
17
17
 
18
18
  // src/pages/payouts/[id]/payout-detail-page.tsx
19
19
  import { Children } from "react";
20
20
  import { useParams } from "react-router-dom";
21
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
21
22
 
22
23
  // src/pages/payouts/[id]/_components/payout-general-section.tsx
23
24
  import { Container, Heading, StatusBadge, Text } from "@medusajs/ui";
25
+ import { DisplayExtensionZone, DisplayField } from "@mercurjs/dashboard-shared";
24
26
  import { useTranslation } from "react-i18next";
25
27
  import { jsx, jsxs } from "react/jsx-runtime";
28
+ var GENERAL_FIELD_IDS = [
29
+ "display_id",
30
+ "status",
31
+ "amount",
32
+ "created_at",
33
+ "updated_at"
34
+ ];
26
35
  var payoutStatusColor = (status) => {
27
36
  switch (status) {
28
37
  case "paid":
@@ -45,17 +54,17 @@ var PayoutGeneralSection = ({ payout }) => {
45
54
  });
46
55
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", children: [
47
56
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
48
- /* @__PURE__ */ jsxs(Heading, { children: [
57
+ /* @__PURE__ */ jsx(DisplayField, { model: "payout", zone: "general", id: "display_id", data: payout, children: /* @__PURE__ */ jsxs(Heading, { children: [
49
58
  "#",
50
59
  payout.display_id
51
- ] }),
52
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: /* @__PURE__ */ jsx(StatusBadge, { color: payoutStatusColor(payout.status), children: statusText }) })
60
+ ] }) }),
61
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: /* @__PURE__ */ jsx(DisplayField, { model: "payout", zone: "general", id: "status", data: payout, children: /* @__PURE__ */ jsx(StatusBadge, { color: payoutStatusColor(payout.status), children: statusText }) }) })
53
62
  ] }),
54
- /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
63
+ /* @__PURE__ */ jsx(DisplayField, { model: "payout", zone: "general", id: "amount", data: payout, children: /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
55
64
  /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.amount") }),
56
65
  /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: getStylizedAmount(payout.amount, payout.currency_code) })
57
- ] }),
58
- /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
66
+ ] }) }),
67
+ /* @__PURE__ */ jsx(DisplayField, { model: "payout", zone: "general", id: "created_at", data: payout, children: /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
59
68
  /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.createdAt") }),
60
69
  /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: new Date(payout.created_at).toLocaleDateString(void 0, {
61
70
  year: "numeric",
@@ -64,8 +73,8 @@ var PayoutGeneralSection = ({ payout }) => {
64
73
  hour: "2-digit",
65
74
  minute: "2-digit"
66
75
  }) })
67
- ] }),
68
- /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
76
+ ] }) }),
77
+ /* @__PURE__ */ jsx(DisplayField, { model: "payout", zone: "general", id: "updated_at", data: payout, children: /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-center px-6 py-4", children: [
69
78
  /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: t("fields.updatedAt") }),
70
79
  /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: new Date(payout.updated_at).toLocaleDateString(void 0, {
71
80
  year: "numeric",
@@ -74,7 +83,16 @@ var PayoutGeneralSection = ({ payout }) => {
74
83
  hour: "2-digit",
75
84
  minute: "2-digit"
76
85
  }) })
77
- ] })
86
+ ] }) }),
87
+ /* @__PURE__ */ jsx(
88
+ DisplayExtensionZone,
89
+ {
90
+ model: "payout",
91
+ zone: "general",
92
+ data: payout,
93
+ builtInFieldIds: GENERAL_FIELD_IDS
94
+ }
95
+ )
78
96
  ] });
79
97
  };
80
98
 
@@ -89,7 +107,7 @@ var Root = ({ children }) => {
89
107
  if (isError) {
90
108
  throw error;
91
109
  }
92
- return /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: true, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(PayoutGeneralSection, { payout }) });
110
+ return /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: true, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(WidgetZone, { id: "payouts.detail.main", data: payout, children: /* @__PURE__ */ jsx2(PayoutGeneralSection, { payout }) }) });
93
111
  };
94
112
  var PayoutDetailPage = Object.assign(Root, {
95
113
  GeneralSection: PayoutGeneralSection