@mercurjs/vendor 2.0.0 → 2.0.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 (256) hide show
  1. package/dist/{[id]-S6EPH4OO.js → [id]-6WYSWXWC.js} +30 -28
  2. package/dist/{[id]-SJXBJLAT.js → [id]-CLZ7BUYL.js} +9 -8
  3. package/dist/{[id]-47FGVJYM.js → [id]-DCCF7277.js} +35 -33
  4. package/dist/{[id]-ARXBXGNZ.js → [id]-EJAHMOOE.js} +33 -31
  5. package/dist/{[id]-HD76VJ2P.js → [id]-ENTJSLN2.js} +16 -15
  6. package/dist/{[id]-XY3A3EMF.js → [id]-LZPT5Y55.js} +32 -31
  7. package/dist/{[id]-Z4P7XA4G.js → [id]-OGHRZ2VY.js} +232 -103
  8. package/dist/{[id]-FLIHBDAS.js → [id]-PHS2WYFX.js} +33 -31
  9. package/dist/{[id]-JF6CCBRE.js → [id]-T64V4G6T.js} +19 -18
  10. package/dist/{[id]-IWPWKLOH.js → [id]-TLZZ53G7.js} +13 -12
  11. package/dist/{[id]-6HM66I3E.js → [id]-UAOAQVEM.js} +48 -45
  12. package/dist/{[id]-Q6HILUAG.js → [id]-VKG2WEIR.js} +39 -37
  13. package/dist/{[id]-VTFOP3BF.js → [id]-WRA56ZMU.js} +5 -5
  14. package/dist/{[id]-MIV4U5UW.js → [id]-XRGNT7CY.js} +7 -7
  15. package/dist/{[location_id]-AWDD2VHW.js → [location_id]-7ZUB2TTU.js} +14 -14
  16. package/dist/{[province_id]-36QJ2FKC.js → [province_id]-XGA44S7P.js} +30 -29
  17. package/dist/add-7ZTE42IE.js +158 -0
  18. package/dist/{add-YUANWTIL.js → add-AKC7LTK3.js} +49 -46
  19. package/dist/{add-customer-groups-7SLONTS2.js → add-customer-groups-BRC3DKQ2.js} +29 -27
  20. package/dist/{add-products-ISR3DRPQ.js → add-products-ZSULNZVI.js} +31 -29
  21. package/dist/{add-promotions-FZRDYHYX.js → add-promotions-TNFVT5ST.js} +12 -11
  22. package/dist/{add-to-campaign-V6D7JKRS.js → add-to-campaign-HL6NGRR4.js} +6 -6
  23. package/dist/address-3DSJESKM.js +249 -0
  24. package/dist/{adjust-inventory-P7AB7VIB.js → adjust-inventory-H4EUP7J3.js} +4 -4
  25. package/dist/{allocate-items-QAS5PZLR.js → allocate-items-6OAKG25R.js} +8 -8
  26. package/dist/{areas-Y7VDWH7G.js → areas-JO6L3M7Y.js} +11 -10
  27. package/dist/{attributes-UEM2VJKV.js → attributes-WRZYJEYN.js} +5 -4
  28. package/dist/{breadcrumb-6NAAOPIY.js → breadcrumb-3Z7KZG62.js} +4 -4
  29. package/dist/{breadcrumb-5OTOCYNL.js → breadcrumb-5BXDYVRO.js} +4 -4
  30. package/dist/{breadcrumb-3QTVWXZB.js → breadcrumb-BS7Y5OKF.js} +5 -5
  31. package/dist/{breadcrumb-CIGKLKKS.js → breadcrumb-D3UDTWGE.js} +3 -3
  32. package/dist/breadcrumb-D6QNYOAO.js +45 -0
  33. package/dist/{breadcrumb-OVMEC5OZ.js → breadcrumb-F3BN5753.js} +3 -3
  34. package/dist/{breadcrumb-MOQ7GI3Z.js → breadcrumb-KQSFIXQ4.js} +3 -3
  35. package/dist/{breadcrumb-NCBGPQML.js → breadcrumb-M5Z5WA6I.js} +4 -4
  36. package/dist/{breadcrumb-EOYLR3IQ.js → breadcrumb-OIGGCB3L.js} +3 -3
  37. package/dist/{breadcrumb-LENACUAA.js → breadcrumb-UAUX7XCV.js} +3 -3
  38. package/dist/breadcrumb-UH7FAYU2.js +46 -0
  39. package/dist/{breadcrumb-ASB2YCNV.js → breadcrumb-Y5UW3I4C.js} +3 -3
  40. package/dist/{breadcrumb-WP34OXGQ.js → breadcrumb-YBBYFQYG.js} +3 -3
  41. package/dist/breadcrumb-ZMVHXCOX.js +32 -0
  42. package/dist/bulk-edit-C6WJKURW.js +244 -0
  43. package/dist/{campaigns-PMVKUFEA.js → campaigns-SF2YDBID.js} +9 -8
  44. package/dist/{categories-JARCKR7M.js → categories-WRDJAJ2Q.js} +9 -8
  45. package/dist/{chunk-HUZG6A3X.js → chunk-2POPPFAP.js} +3 -3
  46. package/dist/{chunk-S5GQ2SES.js → chunk-2SLAVXFY.js} +5 -5
  47. package/dist/{chunk-JVBLYMY2.js → chunk-32RYSB2V.js} +2 -2
  48. package/dist/{chunk-VHMGJUYN.js → chunk-3B34B2M2.js} +1 -1
  49. package/dist/{chunk-BI2WWFPS.js → chunk-3BZBEC3Y.js} +1 -1
  50. package/dist/{chunk-LMHJRE4A.js → chunk-3DXMZA7M.js} +2 -2
  51. package/dist/{chunk-Z2WPXJ6J.js → chunk-4DYUQ3G5.js} +2 -2
  52. package/dist/{chunk-HBQC3YQZ.js → chunk-573EQEW2.js} +1 -1
  53. package/dist/{chunk-FBZHM2QZ.js → chunk-5BONGICL.js} +5 -5
  54. package/dist/{chunk-ZZ7VKT2S.js → chunk-5IWBNPZX.js} +766 -204
  55. package/dist/{chunk-KHHY7EEM.js → chunk-6WY5X4PE.js} +5 -5
  56. package/dist/{chunk-CUO22GTM.js → chunk-7TIZP4YG.js} +1 -1
  57. package/dist/{chunk-52I65K53.js → chunk-7XC7ZRG7.js} +17 -129
  58. package/dist/{chunk-AONKZGWL.js → chunk-ASEVHHCT.js} +3 -3
  59. package/dist/{chunk-TG3TCIL6.js → chunk-AW4WN2EK.js} +6 -6
  60. package/dist/{chunk-DDEIH66R.js → chunk-B5326BWT.js} +4 -4
  61. package/dist/{chunk-O6PRBSFL.js → chunk-BI2AYXZQ.js} +50 -35
  62. package/dist/{chunk-HUNGNEPY.js → chunk-BOZJOOGW.js} +1 -1
  63. package/dist/{chunk-AIFLEWO2.js → chunk-BWGPN6XV.js} +1 -1
  64. package/dist/{chunk-5XOCUDS2.js → chunk-CUMY2VZ5.js} +1 -1
  65. package/dist/chunk-DLNNTQRY.js +217 -0
  66. package/dist/{chunk-B2RVONU7.js → chunk-DRAZNW7J.js} +4 -4
  67. package/dist/{chunk-CVVYQI5F.js → chunk-EBZ5VZEO.js} +1 -1
  68. package/dist/{chunk-ZPGWTLF2.js → chunk-EFIF2GCZ.js} +4 -4
  69. package/dist/{chunk-DHADGZJ5.js → chunk-F4OJN2F2.js} +40 -5
  70. package/dist/{chunk-PYQJ5N25.js → chunk-FEUCCLKR.js} +6 -6
  71. package/dist/{chunk-JKSPDM7I.js → chunk-FNG7ZA7N.js} +1 -1
  72. package/dist/{chunk-UXKKD4AD.js → chunk-FQTYHU6G.js} +5 -5
  73. package/dist/chunk-FX4V5JCF.js +37 -0
  74. package/dist/{chunk-ZFFA36DB.js → chunk-GCSQEJMD.js} +2 -2
  75. package/dist/{chunk-NANYVBFI.js → chunk-GJM5XI3E.js} +1 -1
  76. package/dist/{chunk-W6ZVQJYB.js → chunk-GYV6SKY7.js} +1 -1
  77. package/dist/chunk-I5K5USJM.js +330 -0
  78. package/dist/{chunk-J2XP7VRG.js → chunk-IBTTL6EJ.js} +4 -4
  79. package/dist/{chunk-3LPVUPZZ.js → chunk-IDYGSAHT.js} +1 -1
  80. package/dist/{chunk-DC2K6CFQ.js → chunk-IQWK723D.js} +1 -1
  81. package/dist/{chunk-PWZKFTJS.js → chunk-ITQW6CK2.js} +5 -5
  82. package/dist/{chunk-NWFWI4IE.js → chunk-JKKRKFCS.js} +55 -62
  83. package/dist/chunk-JQV7CXEC.js +37 -0
  84. package/dist/{chunk-RH2NI4BC.js → chunk-JRT2U4UI.js} +448 -101
  85. package/dist/{chunk-4FCZDRAE.js → chunk-JTCUWZ7D.js} +5 -5
  86. package/dist/chunk-LA6XSPQG.js +3723 -0
  87. package/dist/{chunk-JXP5YZ77.js → chunk-LHKHQAAY.js} +1 -1
  88. package/dist/{chunk-TTFCO5HU.js → chunk-LKA7QM6R.js} +7 -7
  89. package/dist/{chunk-FGCKXH45.js → chunk-LPOAVK6Y.js} +1 -0
  90. package/dist/{chunk-VGJTARSA.js → chunk-LRARA622.js} +2 -2
  91. package/dist/chunk-LRD242C7.js +40 -0
  92. package/dist/{chunk-PADOWAXM.js → chunk-LWJF63JW.js} +1 -1
  93. package/dist/{chunk-DYUTYBAQ.js → chunk-M6N4ISXL.js} +1 -1
  94. package/dist/{chunk-2F3H6ORE.js → chunk-MWQQVKRU.js} +1 -1
  95. package/dist/{chunk-JK5CK6SW.js → chunk-N2WKLVUX.js} +20 -3
  96. package/dist/{chunk-R65A4P4H.js → chunk-N335VHD3.js} +1 -1
  97. package/dist/chunk-NBMM2TZK.js +33 -0
  98. package/dist/{chunk-SI4ALL7W.js → chunk-NBPMNUKZ.js} +1 -1
  99. package/dist/{chunk-GDMNHL7E.js → chunk-NCABGI3E.js} +6 -6
  100. package/dist/chunk-NYRRRCJS.js +339 -0
  101. package/dist/{chunk-QJ7QW3SZ.js → chunk-O7E4KQAK.js} +6 -6
  102. package/dist/{chunk-NKB6WTBH.js → chunk-OWPZ3CIR.js} +5 -5
  103. package/dist/{chunk-RE7YXVFG.js → chunk-PCMNEUMV.js} +3 -3
  104. package/dist/{chunk-CFETU5BI.js → chunk-QHQWEERJ.js} +1 -36
  105. package/dist/{chunk-WHTS4G5K.js → chunk-QXUKJDZB.js} +1 -1
  106. package/dist/{chunk-Y224F4UU.js → chunk-RIN4CBRB.js} +0 -1
  107. package/dist/{chunk-LWVBKUUL.js → chunk-RL7SFZOF.js} +2 -2
  108. package/dist/{chunk-UYJ65N46.js → chunk-RLETOWCM.js} +5 -5
  109. package/dist/{chunk-DVPTD7LZ.js → chunk-RMBCBXWD.js} +1 -1
  110. package/dist/{chunk-A2BNIZ7D.js → chunk-RTAWYMQP.js} +1 -1
  111. package/dist/{chunk-VJTYMQVA.js → chunk-RUE5BPC2.js} +2 -2
  112. package/dist/{chunk-EOOK6473.js → chunk-RV5UTYBG.js} +15 -13
  113. package/dist/chunk-S2Q7PO7I.js +177 -0
  114. package/dist/{chunk-Y4VBOHAP.js → chunk-S7EKBD2C.js} +3 -3
  115. package/dist/{chunk-CELHWX5P.js → chunk-SDSEW72R.js} +5 -5
  116. package/dist/{chunk-4TBDDMFP.js → chunk-SGT6QYWH.js} +1 -1
  117. package/dist/chunk-STBCWNZQ.js +57 -0
  118. package/dist/{chunk-LZ7QV42C.js → chunk-SYNUA6LQ.js} +1 -1
  119. package/dist/{chunk-CTWSWZ4R.js → chunk-T7LEJIIM.js} +4 -4
  120. package/dist/{chunk-7EM7WET3.js → chunk-TZTKHOEK.js} +4 -4
  121. package/dist/chunk-UL4O5M4S.js +45 -0
  122. package/dist/{chunk-AW77UWCZ.js → chunk-VBRTC2VU.js} +13 -4
  123. package/dist/{chunk-VDWGP2U6.js → chunk-VV6IKGCN.js} +1 -1
  124. package/dist/{chunk-JKXAL7WR.js → chunk-VXMOPVRH.js} +2 -2
  125. package/dist/{chunk-RIILGKYR.js → chunk-VXWN37PT.js} +1 -1
  126. package/dist/{chunk-CDIZEXFJ.js → chunk-WQX4ASK4.js} +6 -4
  127. package/dist/{chunk-SOZMJA7V.js → chunk-X22KTLZ7.js} +1 -1
  128. package/dist/{chunk-SDA5NDMT.js → chunk-XZG2HZYW.js} +2 -2
  129. package/dist/{chunk-SECZTXSU.js → chunk-YQYRAD5C.js} +1 -1
  130. package/dist/{chunk-WPFTRRWV.js → chunk-ZEVYT6IX.js} +202 -6
  131. package/dist/chunk-ZWTCVOHQ.js +14 -0
  132. package/dist/{chunk-NX26QE2O.js → chunk-ZYOXKUKZ.js} +1 -1
  133. package/dist/chunk-ZZO3INVE.js +9631 -0
  134. package/dist/collections-2M4RFH4P.js +66 -0
  135. package/dist/{configuration-RNWBTRAH.js → configuration-O5GDANA7.js} +5 -5
  136. package/dist/{configuration-KWAL2QZ5.js → configuration-RHPIO2QT.js} +3 -3
  137. package/dist/{create-BEVGWF6U.js → create-2TUWGQ2D.js} +33 -32
  138. package/dist/{create-YPCVTXAK.js → create-33TRLASX.js} +4 -4
  139. package/dist/{create-BBFTIFI2.js → create-3WUTLUJO.js} +36 -33
  140. package/dist/create-6IRE6AMF.js +78 -0
  141. package/dist/{create-F5K53QPH.js → create-D4F457BD.js} +38 -36
  142. package/dist/{create-7UEEO5TM.js → create-D6EW3EWC.js} +3 -3
  143. package/dist/{create-EJM5C2XP.js → create-FFKQAZ5D.js} +6 -6
  144. package/dist/{create-ZU362U3B.js → create-GHM7OTCR.js} +3 -3
  145. package/dist/{create-VUKGQU4L.js → create-IFMEEHN4.js} +34 -32
  146. package/dist/{create-IE6MYOIY.js → create-IOUKWPE4.js} +11 -10
  147. package/dist/{create-XGF6DB5F.js → create-KGOMJUXR.js} +5 -4
  148. package/dist/{create-TFDUNJSI.js → create-KGYL7FBM.js} +3 -3
  149. package/dist/{create-UCU73IXX.js → create-OF2OZ7EI.js} +25 -23
  150. package/dist/{create-MKBBF2V3.js → create-Q6ITSYJM.js} +3 -3
  151. package/dist/{create-VEWS4QDP.js → create-QK2SSLZK.js} +48 -45
  152. package/dist/{create-NPSYO6PE.js → create-YITFTHMA.js} +37 -35
  153. package/dist/{customers-4QWR5UOL.js → customers-OXAD52MC.js} +10 -9
  154. package/dist/{edit-J3LD76JS.js → edit-4HZHLYI3.js} +6 -6
  155. package/dist/{edit-47I7VVNB.js → edit-5CJZRHAA.js} +3 -3
  156. package/dist/{edit-BYXHU3IG.js → edit-7GVP6SRA.js} +3 -3
  157. package/dist/{edit-J6WCPHDS.js → edit-7HTH2UJF.js} +5 -5
  158. package/dist/{edit-XU33IVZH.js → edit-ATXE6CM5.js} +3 -3
  159. package/dist/{edit-ZMINDMGM.js → edit-B5B3XKDM.js} +3 -3
  160. package/dist/{edit-DG3MY3ZH.js → edit-FC64DWB2.js} +5 -5
  161. package/dist/{edit-LOKLQGM2.js → edit-FNDDSSMT.js} +3 -3
  162. package/dist/{edit-S7B7VPM4.js → edit-J5SC7GHQ.js} +29 -28
  163. package/dist/{edit-7LQATDUD.js → edit-LRRJTHV2.js} +4 -4
  164. package/dist/{edit-BQLSTFTQ.js → edit-MYSWY6W4.js} +5 -5
  165. package/dist/edit-ONSN756P.js +237 -0
  166. package/dist/{edit-JZVEAKJU.js → edit-PIE7Y73J.js} +49 -46
  167. package/dist/{edit-CZVL3IVY.js → edit-QRJIWTU2.js} +30 -29
  168. package/dist/{edit-JAKXFAVP.js → edit-SGEECDCR.js} +25 -24
  169. package/dist/{edit-5BUGSOTL.js → edit-UAXMJAEI.js} +5 -4
  170. package/dist/edit-UQAQVEUI.js +353 -0
  171. package/dist/edit-Z7EZRPUP.js +362 -0
  172. package/dist/{edit-NHU3LJIH.js → edit-ZEIL7EQW.js} +23 -22
  173. package/dist/{edit-budget-Z5USV462.js → edit-budget-J27CSEZH.js} +3 -3
  174. package/dist/{edit-inventory-item-YFW2AFRD.js → edit-inventory-item-US77M2FF.js} +3 -3
  175. package/dist/{edit-inventory-item-attributes-IYAMJDTB.js → edit-inventory-item-attributes-QYNDTUHT.js} +5 -4
  176. package/dist/edit-stocks-and-prices-543AYFDJ.js +409 -0
  177. package/dist/{fulfillment-V3D4XU3R.js → fulfillment-5LNFBSBS.js} +26 -25
  178. package/dist/{fulfillment-providers-YYN3GVV7.js → fulfillment-providers-U7Z7QMOQ.js} +33 -31
  179. package/dist/{home-PP7YYCSB.js → home-I3OILW5Z.js} +2 -2
  180. package/dist/index.css +5127 -3
  181. package/dist/index.js +453 -215
  182. package/dist/{inventory-AIRQ2KNS.js → inventory-W6S2NIBI.js} +8 -7
  183. package/dist/invite-P6HTOEIV.js +301 -0
  184. package/dist/invite-SI2KIPWI.js +370 -0
  185. package/dist/{locations-SQKM7JWN.js → locations-7SQJ3O2F.js} +4 -4
  186. package/dist/login-QDS5UXKV.js +36 -0
  187. package/dist/{manage-locations-4PQS4QY7.js → manage-locations-R4T72DTA.js} +4 -4
  188. package/dist/{media-UR73M6X2.js → media-RDXCLPKQ.js} +7 -6
  189. package/dist/{metadata-REBVXJJF.js → metadata-7JKDCVYY.js} +26 -25
  190. package/dist/{metadata-DIJTVDF7.js → metadata-AWUKZ25V.js} +6 -6
  191. package/dist/{metadata-ZKG2TRYU.js → metadata-UKBRUFH2.js} +23 -22
  192. package/dist/{metadata-UBZXDIFG.js → metadata-W5XIPFVU.js} +26 -25
  193. package/dist/{metadata-OOM44E2U.js → metadata-X4UIPNL6.js} +26 -25
  194. package/dist/{metadata-OGVHZEKS.js → metadata-ZV5RYLKR.js} +23 -22
  195. package/dist/{no-match-BO2NNLCM.js → no-match-JLVLPCRH.js} +1 -1
  196. package/dist/onboarding-DLIBZRKE.js +873 -0
  197. package/dist/orders-IAL3JNPU.js +61 -0
  198. package/dist/organization-QCSXE52A.js +303 -0
  199. package/dist/{organize-5AIJPYS2.js → organize-5W5KNBM2.js} +5 -5
  200. package/dist/{organize-YXJVI74L.js → organize-U2LVYSOD.js} +5 -5
  201. package/dist/pages/index.d.ts +222 -49
  202. package/dist/pages/index.js +96 -93
  203. package/dist/payment-details-ATUYMVJX.js +234 -0
  204. package/dist/{payouts-3BY73LZ3.js → payouts-ZLX3KFQT.js} +9 -8
  205. package/dist/{price-lists-G256JJN7.js → price-lists-JX22K5EO.js} +10 -9
  206. package/dist/{prices-EW7KBY6R.js → prices-6NY4DELP.js} +14 -13
  207. package/dist/{pricing-SQNF3KGG.js → pricing-RBESFX5P.js} +33 -31
  208. package/dist/{product-tags-FR32HXFW.js → product-tags-W4BL6RWV.js} +43 -40
  209. package/dist/{product-types-WJPLJI7H.js → product-types-MBLFYJOA.js} +10 -9
  210. package/dist/{product-variant-detail-G5MBDTFL.js → product-variant-detail-KU5OCL7E.js} +270 -56
  211. package/dist/{product-variant-edit-PW7W5J5E.js → product-variant-edit-5FMMMH2W.js} +8 -7
  212. package/dist/{products-C4BF2X7D.js → products-3VVYJUH7.js} +31 -29
  213. package/dist/products-YYLVCOOY.js +93 -0
  214. package/dist/professional-details-6Y5K6GBL.js +167 -0
  215. package/dist/profile-Y4AATQES.js +171 -0
  216. package/dist/{promotions-INYBMACT.js → promotions-NBJTFP6N.js} +10 -9
  217. package/dist/register-ZLE6MNPF.js +223 -0
  218. package/dist/{reset-password-CPTU3KHW.js → reset-password-PLCDLFL4.js} +4 -4
  219. package/dist/{chunk-5NF4OTVV.js → return-reasons-64WZ5Z3Z.js} +46 -5
  220. package/dist/{sales-channels-6I3U4W4Z.js → sales-channels-UIDLFCX6.js} +10 -9
  221. package/dist/{sales-channels-SOACADV2.js → sales-channels-UWPEFKAO.js} +12 -11
  222. package/dist/{settings-MAXHH7EC.js → settings-5MNWE5CR.js} +53 -56
  223. package/dist/{shipping-profile-7FTHSPY2.js → shipping-profile-JJBIVZPM.js} +4 -4
  224. package/dist/shipping-profiles-O7XB2DTE.js +45 -0
  225. package/dist/{stock-LOO5SU5Q.js → stock-2CGEFBXO.js} +30 -30
  226. package/dist/{stock-4G4PELBV.js → stock-VJAAYYW5.js} +30 -31
  227. package/dist/store-ZBSMNWFT.js +568 -0
  228. package/dist/store-closure-43FK32AQ.js +172 -0
  229. package/dist/store-select-Q2HE572R.js +166 -0
  230. package/dist/{tax-regions-45JVTUP3.js → tax-regions-FPMGLITT.js} +8 -8
  231. package/dist/team-ZLZJJWIY.js +269 -0
  232. package/package.json +9 -6
  233. package/dist/additional-attributes-XUFDADGP.js +0 -219
  234. package/dist/breadcrumb-3RAESPC7.js +0 -31
  235. package/dist/breadcrumb-54IEJEAX.js +0 -45
  236. package/dist/breadcrumb-CFDJOGTA.js +0 -44
  237. package/dist/chunk-6EYGH3TB.js +0 -26
  238. package/dist/chunk-FPJLYWOU.js +0 -190
  239. package/dist/chunk-GTUR4HSV.js +0 -53
  240. package/dist/chunk-LODQAVDC.js +0 -179
  241. package/dist/chunk-NYK5PQIF.js +0 -2078
  242. package/dist/chunk-PKBMQBKP.js +0 -7
  243. package/dist/chunk-RNC4NFVK.js +0 -170
  244. package/dist/collections-2222I5MO.js +0 -63
  245. package/dist/create-R3SFYWAH.js +0 -69
  246. package/dist/edit-HBNCGMQO.js +0 -413
  247. package/dist/login-RDIRFQ7U.js +0 -35
  248. package/dist/orders-Q347PBOH.js +0 -59
  249. package/dist/organization-TDDI3HOH.js +0 -233
  250. package/dist/products-4WTWZIVH.js +0 -85
  251. package/dist/register-6WOPLDJK.js +0 -366
  252. package/dist/return-reasons-4V2KVSRI.js +0 -52
  253. package/dist/seller-44DTDU26.js +0 -36
  254. package/dist/shipping-profiles-3PYQLYFE.js +0 -43
  255. /package/dist/{chunk-XG4PTPRM.js → chunk-NXDFDEKP.js} +0 -0
  256. /package/dist/{chunk-S3PQKKNV.js → chunk-V74Y5NIV.js} +0 -0
@@ -11,57 +11,61 @@ import {
11
11
  import {
12
12
  TwoColumnPage
13
13
  } from "./chunk-RM5RSDYP.js";
14
- import {
15
- Thumbnail
16
- } from "./chunk-WIYFXWRI.js";
17
14
  import {
18
15
  DataTable,
19
16
  useDataTableDateFilters
20
- } from "./chunk-5XOCUDS2.js";
17
+ } from "./chunk-CUMY2VZ5.js";
21
18
  import {
22
19
  useQueryParams
23
20
  } from "./chunk-THHRRYRS.js";
24
- import "./chunk-CFETU5BI.js";
21
+ import "./chunk-LRD242C7.js";
25
22
  import "./chunk-JRTZWK77.js";
23
+ import "./chunk-NYRRRCJS.js";
24
+ import "./chunk-STBCWNZQ.js";
25
+ import "./chunk-F4OJN2F2.js";
26
+ import "./chunk-LRARA622.js";
27
+ import "./chunk-M6N4ISXL.js";
28
+ import "./chunk-S7EKBD2C.js";
29
+ import "./chunk-VXMOPVRH.js";
30
+ import "./chunk-IQWK723D.js";
31
+ import "./chunk-VV6IKGCN.js";
32
+ import "./chunk-PCMNEUMV.js";
33
+ import "./chunk-BOZJOOGW.js";
34
+ import "./chunk-RL7SFZOF.js";
35
+ import "./chunk-LWJF63JW.js";
36
+ import "./chunk-NBPMNUKZ.js";
37
+ import "./chunk-GCSQEJMD.js";
38
+ import "./chunk-VXWN37PT.js";
39
+ import "./chunk-UL4O5M4S.js";
40
+ import "./chunk-FX4V5JCF.js";
26
41
  import {
27
42
  ActionMenu
28
43
  } from "./chunk-BDGZ4EQO.js";
44
+ import "./chunk-QHQWEERJ.js";
45
+ import {
46
+ useSalesChannels
47
+ } from "./chunk-3B34B2M2.js";
48
+ import {
49
+ useProductCategories
50
+ } from "./chunk-RUE5BPC2.js";
51
+ import {
52
+ Thumbnail
53
+ } from "./chunk-WIYFXWRI.js";
29
54
  import "./chunk-LAVHRER2.js";
30
55
  import "./chunk-Y7QKP6QU.js";
31
56
  import {
32
57
  TwoColumnPageSkeleton
33
58
  } from "./chunk-INNFZYX2.js";
34
- import "./chunk-FPJLYWOU.js";
35
- import "./chunk-DHADGZJ5.js";
36
- import "./chunk-VGJTARSA.js";
37
- import "./chunk-DYUTYBAQ.js";
38
- import "./chunk-Y4VBOHAP.js";
39
- import "./chunk-JKXAL7WR.js";
40
- import "./chunk-DC2K6CFQ.js";
41
- import "./chunk-VDWGP2U6.js";
42
- import "./chunk-RE7YXVFG.js";
43
- import "./chunk-HUNGNEPY.js";
44
- import "./chunk-PADOWAXM.js";
45
- import "./chunk-LWVBKUUL.js";
46
- import "./chunk-RIILGKYR.js";
47
- import "./chunk-6EYGH3TB.js";
48
- import "./chunk-GTUR4HSV.js";
49
- import "./chunk-SI4ALL7W.js";
50
- import "./chunk-ZFFA36DB.js";
51
- import {
52
- useSalesChannels
53
- } from "./chunk-VHMGJUYN.js";
54
- import "./chunk-VJTYMQVA.js";
55
59
  import {
56
60
  productsQueryKeys,
57
61
  useDeleteProduct,
58
62
  useDeleteProductOption,
59
63
  useDeleteVariantLazy,
60
64
  useProduct,
61
- useProductAttributes,
62
65
  useProductVariants,
66
+ useRemoveProductAttribute,
63
67
  useUpdateProduct
64
- } from "./chunk-WPFTRRWV.js";
68
+ } from "./chunk-ZEVYT6IX.js";
65
69
  import "./chunk-A5DJIOHN.js";
66
70
  import {
67
71
  queryClient
@@ -69,13 +73,26 @@ import {
69
73
  import "./chunk-ZA2KFUFR.js";
70
74
  import {
71
75
  sdk
72
- } from "./chunk-Y224F4UU.js";
73
- import "./chunk-PKBMQBKP.js";
76
+ } from "./chunk-RIN4CBRB.js";
77
+ import "./chunk-NBMM2TZK.js";
74
78
 
75
79
  // src/pages/products/[id]/loader.tsx
80
+ var PRODUCT_DETAIL_FIELDS = [
81
+ "*variants.inventory_items",
82
+ "*variants.images",
83
+ "*categories",
84
+ "+additional_data",
85
+ "+attribute_values.*",
86
+ "+attribute_values.attribute.*",
87
+ "+options.*",
88
+ "+options.values.*"
89
+ ].join(",");
76
90
  var productDetailQuery = (id) => ({
77
- queryKey: productsQueryKeys.detail(id),
78
- queryFn: async () => sdk.vendor.products.$id.query({ $id: id })
91
+ queryKey: productsQueryKeys.detail(id, { fields: PRODUCT_DETAIL_FIELDS }),
92
+ queryFn: async () => sdk.vendor.products.$id.query({
93
+ $id: id,
94
+ fields: PRODUCT_DETAIL_FIELDS
95
+ })
79
96
  });
80
97
  var loader = async ({ params }) => {
81
98
  const id = params.id;
@@ -189,13 +206,14 @@ var ProductGeneralSection = () => {
189
206
  )
190
207
  ] })
191
208
  ] }),
192
- /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.description"), value: product.description }),
209
+ /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.description"), value: product.description || "-" }),
210
+ /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.subtitle"), value: product.subtitle || "-" }),
193
211
  /* @__PURE__ */ jsx2(SectionRow, { title: t("fields.handle"), value: `/${product.handle}` }),
194
212
  /* @__PURE__ */ jsx2(
195
213
  SectionRow,
196
214
  {
197
215
  title: t("fields.discountable"),
198
- value: product.discountable ? t("fields.true") : t("fields.false")
216
+ value: product.discountable ? "True" : "False"
199
217
  }
200
218
  )
201
219
  ] });
@@ -493,6 +511,7 @@ var ProductOptionSection = () => {
493
511
  };
494
512
 
495
513
  // src/pages/products/[id]/_components/product-organization-section/product-organization-section.tsx
514
+ import { useMemo } from "react";
496
515
  import { PencilSquare as PencilSquare4 } from "@medusajs/icons";
497
516
  import { Badge as Badge2, Container as Container4, Heading as Heading4, Tooltip as Tooltip2 } from "@medusajs/ui";
498
517
  import { useTranslation as useTranslation4 } from "react-i18next";
@@ -501,6 +520,30 @@ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
501
520
  var ProductOrganizationSection = () => {
502
521
  const { product } = useProductDetailContext();
503
522
  const { t } = useTranslation4();
523
+ const additionalSecondaryCategoryIds = useMemo(() => {
524
+ const additional = product.additional_data?.secondary_categories;
525
+ if (!additional || !Array.isArray(additional)) return [];
526
+ return additional.flatMap(
527
+ (entry) => Array.isArray(entry.category_ids) ? entry.category_ids : []
528
+ );
529
+ }, [product]);
530
+ const hasSecondaryFromAdditional = additionalSecondaryCategoryIds.length > 0;
531
+ const { product_categories: allCategories } = useProductCategories(
532
+ {
533
+ id: additionalSecondaryCategoryIds,
534
+ limit: 100
535
+ },
536
+ { enabled: hasSecondaryFromAdditional }
537
+ );
538
+ const secondaryCategories = useMemo(() => {
539
+ if (product.secondary_categories?.length) {
540
+ return product.secondary_categories;
541
+ }
542
+ if (hasSecondaryFromAdditional && allCategories) {
543
+ return allCategories;
544
+ }
545
+ return [];
546
+ }, [product, hasSecondaryFromAdditional, allCategories]);
504
547
  return /* @__PURE__ */ jsxs4(Container4, { className: "divide-y p-0", children: [
505
548
  /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between px-6 py-4", children: [
506
549
  /* @__PURE__ */ jsx5(Heading4, { level: "h2", children: t("products.organization.header") }),
@@ -564,7 +607,7 @@ var ProductOrganizationSection = () => {
564
607
  /* @__PURE__ */ jsx5(
565
608
  SectionRow,
566
609
  {
567
- title: t("fields.categories"),
610
+ title: t("products.fields.primaryCategory.label"),
568
611
  value: product.categories?.length ? product.categories.map((pcat) => /* @__PURE__ */ jsx5(
569
612
  OrganizationTag,
570
613
  {
@@ -574,6 +617,20 @@ var ProductOrganizationSection = () => {
574
617
  pcat.id
575
618
  )) : void 0
576
619
  }
620
+ ),
621
+ /* @__PURE__ */ jsx5(
622
+ SectionRow,
623
+ {
624
+ title: t("products.fields.secondaryCategories.label", "Secondary Categories"),
625
+ value: secondaryCategories?.length ? secondaryCategories.map((cat) => /* @__PURE__ */ jsx5(
626
+ OrganizationTag,
627
+ {
628
+ label: cat.name,
629
+ to: `/categories/${cat.id}`
630
+ },
631
+ cat.id
632
+ )) : void 0
633
+ }
577
634
  )
578
635
  ] });
579
636
  };
@@ -594,7 +651,7 @@ import {
594
651
  usePrompt as usePrompt4
595
652
  } from "@medusajs/ui";
596
653
  import { keepPreviousData } from "@tanstack/react-query";
597
- import { useCallback, useMemo } from "react";
654
+ import { useCallback, useMemo as useMemo2 } from "react";
598
655
  import { useTranslation as useTranslation5 } from "react-i18next";
599
656
  import { useNavigate as useNavigate2, useParams, useSearchParams } from "react-router-dom";
600
657
 
@@ -625,7 +682,7 @@ var ProductVariantSection = () => {
625
682
  limit: PAGE_SIZE,
626
683
  allow_backorder: allow_backorder ? JSON.parse(allow_backorder) : void 0,
627
684
  manage_inventory: manage_inventory ? JSON.parse(manage_inventory) : void 0,
628
- fields: "title,sku,thumbnail,*options,created_at,*inventory_items.inventory.location_levels,inventory_quantity,manage_inventory"
685
+ fields: "title,sku,thumbnail,*options,created_at,updated_at,*inventory_items.inventory.location_levels,inventory_quantity,manage_inventory"
629
686
  },
630
687
  {
631
688
  placeholderData: keepPreviousData
@@ -666,14 +723,9 @@ var ProductVariantSection = () => {
666
723
  {
667
724
  actions: [
668
725
  {
669
- label: t("products.editPrices"),
670
- to: `prices`,
726
+ label: t("products.variants.editStocksAndPrices.action", "Edit Stocks & Prices"),
727
+ to: `edit-stocks-and-prices`,
671
728
  icon: /* @__PURE__ */ jsx6(PencilSquare5, {})
672
- },
673
- {
674
- label: t("inventory.stock.action"),
675
- to: `stock`,
676
- icon: /* @__PURE__ */ jsx6(Buildings, {})
677
729
  }
678
730
  ]
679
731
  }
@@ -691,7 +743,7 @@ var useColumns = (product) => {
691
743
  const { mutateAsync } = useDeleteVariantLazy(product.id);
692
744
  const prompt = usePrompt4();
693
745
  const [searchParams] = useSearchParams();
694
- const tableSearchParams = useMemo(() => {
746
+ const tableSearchParams = useMemo2(() => {
695
747
  const filtered = new URLSearchParams();
696
748
  for (const [key, value] of searchParams.entries()) {
697
749
  if (key.startsWith(`${PREFIX}_`)) {
@@ -717,7 +769,7 @@ var useColumns = (product) => {
717
769
  },
718
770
  [mutateAsync, prompt, t]
719
771
  );
720
- const optionColumns = useMemo(() => {
772
+ const optionColumns = useMemo2(() => {
721
773
  if (!product?.options) {
722
774
  return [];
723
775
  }
@@ -787,16 +839,18 @@ var useColumns = (product) => {
787
839
  notManaged: true
788
840
  };
789
841
  }
790
- const quantity = variant.inventory_quantity;
791
842
  const inventoryItems = castVariant.inventory_items?.map((i) => i.inventory).filter(Boolean);
792
843
  const hasInventoryKit = inventoryItems.length > 1;
793
844
  const locations = {};
845
+ let totalStocked = 0;
794
846
  inventoryItems.forEach((i) => {
795
847
  i.location_levels?.forEach((l) => {
796
848
  locations[l.id] = true;
849
+ totalStocked += l.stocked_quantity ?? 0;
797
850
  });
798
851
  });
799
852
  const locationCount = Object.keys(locations).length;
853
+ const quantity = variant.inventory_quantity ?? totalStocked;
800
854
  const text = hasInventoryKit ? t("products.variant.tableItemAvailable", {
801
855
  availableCount: quantity
802
856
  }) : t("products.variant.tableItem", {
@@ -808,7 +862,7 @@ var useColumns = (product) => {
808
862
  },
809
863
  [t]
810
864
  );
811
- return useMemo(() => {
865
+ return useMemo2(() => {
812
866
  return [
813
867
  columnHelper.accessor("thumbnail", {
814
868
  header: "",
@@ -830,6 +884,22 @@ var useColumns = (product) => {
830
884
  sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
831
885
  sortDescLabel: t("filters.sorting.alphabeticallyDesc")
832
886
  }),
887
+ columnHelper.accessor("created_at", {
888
+ header: t("fields.createdAt"),
889
+ enableSorting: true,
890
+ sortAscLabel: t("filters.sorting.dateAsc"),
891
+ sortDescLabel: t("filters.sorting.dateDesc"),
892
+ enableHiding: true,
893
+ isVisibleByDefault: false
894
+ }),
895
+ columnHelper.accessor("updated_at", {
896
+ header: t("fields.updatedAt"),
897
+ enableSorting: true,
898
+ sortAscLabel: t("filters.sorting.dateAsc"),
899
+ sortDescLabel: t("filters.sorting.dateDesc"),
900
+ enableHiding: true,
901
+ isVisibleByDefault: false
902
+ }),
833
903
  ...optionColumns,
834
904
  columnHelper.display({
835
905
  id: "inventory",
@@ -863,7 +933,7 @@ var filterHelper = createDataTableFilterHelper();
863
933
  var useFilters = () => {
864
934
  const { t } = useTranslation5();
865
935
  const dateFilters = useDataTableDateFilters();
866
- return useMemo(() => {
936
+ return useMemo2(() => {
867
937
  return [
868
938
  filterHelper.accessor("allow_backorder", {
869
939
  type: "radio",
@@ -947,63 +1017,122 @@ var ProductAttributeSection = () => {
947
1017
  };
948
1018
 
949
1019
  // src/pages/products/[id]/_components/product-additional-attribute-section/ProductAdditionalAttributesSection.tsx
950
- import { Container as Container7, Heading as Heading6 } from "@medusajs/ui";
951
- import { PencilSquare as PencilSquare7 } from "@medusajs/icons";
952
- import { useMemo as useMemo2 } from "react";
1020
+ import { DropCap, PencilSquare as PencilSquare7, Plus as Plus2, Swatch, Trash as Trash4 } from "@medusajs/icons";
1021
+ import { Badge as Badge4, Container as Container7, Heading as Heading6, Text as Text2, toast, usePrompt as usePrompt5 } from "@medusajs/ui";
1022
+ import { useTranslation as useTranslation7 } from "react-i18next";
953
1023
  import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
954
- var ProductAdditionalAttributesSection = () => {
955
- const { product } = useProductDetailContext();
956
- const { attributes, isLoading } = useProductAttributes(product.id);
957
- const attributeList = useMemo2(() => {
958
- return attributes?.map((attribute) => {
959
- const value = product.attribute_values?.find((av) => av && av.attribute_id === attribute.id)?.value || "-";
960
- return {
961
- ...attribute,
962
- value
963
- };
1024
+ var OptionRowActions = ({ productId, option }) => {
1025
+ const { t } = useTranslation7();
1026
+ const prompt = usePrompt5();
1027
+ const { mutateAsync, isPending } = useDeleteProductOption(productId, option.id);
1028
+ const canDelete = option.metadata?.author !== "admin";
1029
+ const handleDelete = async () => {
1030
+ const res = await prompt({
1031
+ title: t("general.areYouSure"),
1032
+ description: t("products.options.deleteWarning", { title: option.title }),
1033
+ confirmText: t("actions.delete"),
1034
+ cancelText: t("actions.cancel")
964
1035
  });
965
- }, [attributes, product.attribute_values]);
966
- if (isLoading) return;
967
- return /* @__PURE__ */ jsxs7(Container7, { className: "divide-y p-0", children: [
968
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between px-6 py-4", children: [
969
- /* @__PURE__ */ jsx8(Heading6, { level: "h2", children: "Attributes" }),
970
- /* @__PURE__ */ jsx8(
971
- ActionMenu,
1036
+ if (!res) return;
1037
+ await mutateAsync(void 0, { onError: (err) => toast.error(err.message) });
1038
+ };
1039
+ return /* @__PURE__ */ jsx8(
1040
+ ActionMenu,
1041
+ {
1042
+ groups: [
1043
+ { actions: [{ icon: /* @__PURE__ */ jsx8(PencilSquare7, {}), label: t("actions.edit"), to: `options/${option.id}/edit` }] },
1044
+ ...canDelete ? [{ actions: [{ icon: /* @__PURE__ */ jsx8(Trash4, {}), label: t("actions.delete"), disabled: isPending, onClick: handleDelete }] }] : []
1045
+ ]
1046
+ }
1047
+ );
1048
+ };
1049
+ var InformationalAttributeRowActions = ({ productId, attribute }) => {
1050
+ const { t } = useTranslation7();
1051
+ const prompt = usePrompt5();
1052
+ const { mutateAsync, isPending } = useRemoveProductAttribute(productId, attribute.attribute_id);
1053
+ const isVendorSource = attribute.attribute_source === "vendor";
1054
+ const handleDelete = async () => {
1055
+ const res = await prompt({
1056
+ title: t("general.areYouSure"),
1057
+ description: "You are about to remove this attribute from the product. This action cannot be undone.",
1058
+ confirmText: t("actions.delete"),
1059
+ cancelText: t("actions.cancel")
1060
+ });
1061
+ if (!res) return;
1062
+ await mutateAsync(void 0, { onError: (err) => toast.error(err.message) });
1063
+ };
1064
+ return /* @__PURE__ */ jsx8(
1065
+ ActionMenu,
1066
+ {
1067
+ groups: [
1068
+ { actions: [{ icon: /* @__PURE__ */ jsx8(PencilSquare7, {}), label: t("actions.edit"), to: `informational-attributes/${attribute.attribute_id}/edit` }] },
1069
+ ...isVendorSource ? [{ actions: [{ icon: /* @__PURE__ */ jsx8(Trash4, {}), label: t("actions.delete"), disabled: isPending, onClick: handleDelete }] }] : []
1070
+ ]
1071
+ }
1072
+ );
1073
+ };
1074
+ var ProductAdditionalAttributesSection = ({ product }) => {
1075
+ const { t } = useTranslation7();
1076
+ const informationalAttributes = product.informational_attributes?.filter(Boolean) ?? [];
1077
+ const options = product.options?.filter(Boolean) ?? [];
1078
+ if (!informationalAttributes.length && !options.length) return null;
1079
+ return /* @__PURE__ */ jsxs7(Container7, { className: "p-0", children: [
1080
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between border-b px-6 py-4", children: [
1081
+ /* @__PURE__ */ jsx8(Heading6, { children: t("products.attributes") }),
1082
+ /* @__PURE__ */ jsx8(ActionMenu, { groups: [{ actions: [{ label: t("actions.add"), to: "attributes/add", icon: /* @__PURE__ */ jsx8(Plus2, {}) }] }] })
1083
+ ] }),
1084
+ options.length > 0 && /* @__PURE__ */ jsxs7("div", { className: "px-3 py-4", children: [
1085
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-3 px-3 pb-4", children: [
1086
+ /* @__PURE__ */ jsx8("div", { className: "flex size-7 items-center justify-center rounded-md bg-ui-bg-base shadow-borders-base", children: /* @__PURE__ */ jsx8("div", { className: "flex size-6 items-center justify-center rounded-[4px] bg-ui-bg-component", children: /* @__PURE__ */ jsx8(Swatch, { className: "text-ui-fg-subtle" }) }) }),
1087
+ /* @__PURE__ */ jsxs7("div", { children: [
1088
+ /* @__PURE__ */ jsx8(Text2, { size: "small", weight: "plus", leading: "compact", children: t("products.options.variations.label") }),
1089
+ /* @__PURE__ */ jsx8(Text2, { size: "xsmall", leading: "compact", className: "text-ui-fg-subtle", children: t("products.options.variations.description") })
1090
+ ] })
1091
+ ] }),
1092
+ /* @__PURE__ */ jsx8("div", { className: "divide-y overflow-hidden rounded-lg border", children: options.map((option) => /* @__PURE__ */ jsx8(
1093
+ SectionRow,
972
1094
  {
973
- groups: [
974
- {
975
- actions: [
976
- {
977
- label: "Edit",
978
- to: "additional-attributes",
979
- icon: /* @__PURE__ */ jsx8(PencilSquare7, {})
980
- }
981
- ]
982
- }
983
- ]
984
- }
985
- )
1095
+ title: option.title,
1096
+ actions: /* @__PURE__ */ jsx8(OptionRowActions, { productId: product.id, option }),
1097
+ className: "bg-ui-bg-component p-3",
1098
+ value: option.values?.map((value, index) => /* @__PURE__ */ jsx8(Badge4, { size: "2xsmall", className: "flex min-w-[20px] items-center justify-center", children: value.value }, `${option.id}-${value.value}-${index}`)),
1099
+ tooltip: option.metadata?.author === "admin" ? t("products.edit.attributes.required") : void 0
1100
+ },
1101
+ option.id
1102
+ )) })
986
1103
  ] }),
987
- attributeList?.map((attribute) => /* @__PURE__ */ jsx8(
988
- SectionRow,
989
- {
990
- title: attribute.name,
991
- value: attribute.value,
992
- tooltip: attribute.description
993
- },
994
- attribute.id
995
- ))
1104
+ options.length > 0 && informationalAttributes.length > 0 && /* @__PURE__ */ jsx8("div", { className: "border-t border-dashed border-ui-border-base" }),
1105
+ informationalAttributes.length > 0 && /* @__PURE__ */ jsxs7("div", { className: "px-3 py-4", children: [
1106
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-3 px-3 pb-4", children: [
1107
+ /* @__PURE__ */ jsx8("div", { className: "flex size-7 items-center justify-center rounded-md bg-ui-bg-base shadow-borders-base", children: /* @__PURE__ */ jsx8("div", { className: "flex size-6 items-center justify-center rounded-[4px] bg-ui-bg-component", children: /* @__PURE__ */ jsx8(DropCap, { className: "text-ui-fg-subtle" }) }) }),
1108
+ /* @__PURE__ */ jsxs7("div", { children: [
1109
+ /* @__PURE__ */ jsx8(Text2, { size: "small", weight: "plus", leading: "compact", children: t("products.edit.informationalAttributes.header") }),
1110
+ /* @__PURE__ */ jsx8(Text2, { size: "xsmall", leading: "compact", className: "text-ui-fg-subtle", children: t("products.edit.informationalAttributes.description") })
1111
+ ] })
1112
+ ] }),
1113
+ /* @__PURE__ */ jsx8("div", { className: "divide-y overflow-hidden rounded-lg border", children: informationalAttributes.map((attribute) => /* @__PURE__ */ jsx8(
1114
+ SectionRow,
1115
+ {
1116
+ title: attribute.name,
1117
+ actions: /* @__PURE__ */ jsx8(InformationalAttributeRowActions, { productId: product.id, attribute }),
1118
+ className: "bg-ui-bg-component p-3 [&>p]:gap-x-1",
1119
+ value: attribute.values?.length ? attribute.values.map((v) => v.value).join(", ") : "-",
1120
+ tooltip: attribute.is_required ? t("products.edit.attributes.required") : void 0
1121
+ },
1122
+ `${attribute.attribute_id}-${attribute.attribute_source}`
1123
+ )) })
1124
+ ] })
996
1125
  ] });
997
1126
  };
998
1127
 
999
1128
  // src/pages/products/[id]/_components/product-shipping-profile-section/product-shipping-profile-section.tsx
1000
1129
  import { PencilSquare as PencilSquare8, ShoppingBag } from "@medusajs/icons";
1001
1130
  import { Container as Container8, Heading as Heading7 } from "@medusajs/ui";
1002
- import { useTranslation as useTranslation7 } from "react-i18next";
1131
+ import { useTranslation as useTranslation8 } from "react-i18next";
1003
1132
  import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
1004
1133
  var ProductShippingProfileSection = () => {
1005
1134
  const { product } = useProductDetailContext();
1006
- const { t } = useTranslation7();
1135
+ const { t } = useTranslation8();
1007
1136
  const shippingProfile = product.shipping_profile;
1008
1137
  return /* @__PURE__ */ jsxs8(Container8, { className: "p-0", children: [
1009
1138
  /* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between px-6 py-4", children: [
@@ -1039,13 +1168,13 @@ var ProductShippingProfileSection = () => {
1039
1168
 
1040
1169
  // src/pages/products/[id]/_components/product-sales-channel-section/product-sales-channel-section.tsx
1041
1170
  import { Channels, PencilSquare as PencilSquare9 } from "@medusajs/icons";
1042
- import { Container as Container9, Heading as Heading8, Text as Text2, Tooltip as Tooltip4 } from "@medusajs/ui";
1043
- import { Trans, useTranslation as useTranslation8 } from "react-i18next";
1171
+ import { Container as Container9, Heading as Heading8, Text as Text3, Tooltip as Tooltip4 } from "@medusajs/ui";
1172
+ import { Trans, useTranslation as useTranslation9 } from "react-i18next";
1044
1173
  import { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
1045
1174
  var ProductSalesChannelSection = () => {
1046
1175
  const { product } = useProductDetailContext();
1047
1176
  const { count } = useSalesChannels();
1048
- const { t } = useTranslation8();
1177
+ const { t } = useTranslation9();
1049
1178
  const availableInSalesChannels = product.sales_channels?.map((sc) => ({
1050
1179
  id: sc.id,
1051
1180
  name: sc.name
@@ -1075,13 +1204,13 @@ var ProductSalesChannelSection = () => {
1075
1204
  /* @__PURE__ */ jsxs9("div", { className: "grid grid-cols-[28px_1fr] items-center gap-x-3", children: [
1076
1205
  /* @__PURE__ */ jsx10("div", { className: "bg-ui-bg-base shadow-borders-base flex size-7 items-center justify-center rounded-md", children: /* @__PURE__ */ jsx10("div", { className: "bg-ui-bg-component flex size-6 items-center justify-center rounded-[4px]", children: /* @__PURE__ */ jsx10(Channels, { className: "text-ui-fg-subtle" }) }) }),
1077
1206
  availableInSalesChannels.length > 0 ? /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-1", children: [
1078
- /* @__PURE__ */ jsx10(Text2, { size: "small", leading: "compact", children: firstChannels.map((sc) => sc.name).join(", ") }),
1207
+ /* @__PURE__ */ jsx10(Text3, { size: "small", leading: "compact", children: firstChannels.map((sc) => sc.name).join(", ") }),
1079
1208
  restChannels.length > 0 && /* @__PURE__ */ jsx10(
1080
1209
  Tooltip4,
1081
1210
  {
1082
1211
  content: /* @__PURE__ */ jsx10("ul", { children: restChannels.map((sc) => /* @__PURE__ */ jsx10("li", { children: sc.name }, sc.id)) }),
1083
1212
  children: /* @__PURE__ */ jsx10(
1084
- Text2,
1213
+ Text3,
1085
1214
  {
1086
1215
  size: "small",
1087
1216
  leading: "compact",
@@ -1091,9 +1220,9 @@ var ProductSalesChannelSection = () => {
1091
1220
  )
1092
1221
  }
1093
1222
  )
1094
- ] }) : /* @__PURE__ */ jsx10(Text2, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: t("products.noSalesChannels") })
1223
+ ] }) : /* @__PURE__ */ jsx10(Text3, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: t("products.noSalesChannels") })
1095
1224
  ] }),
1096
- /* @__PURE__ */ jsx10("div", { children: /* @__PURE__ */ jsx10(Text2, { className: "text-ui-fg-subtle", size: "small", leading: "compact", children: /* @__PURE__ */ jsx10(
1225
+ /* @__PURE__ */ jsx10("div", { children: /* @__PURE__ */ jsx10(Text3, { className: "text-ui-fg-subtle", size: "small", leading: "compact", children: /* @__PURE__ */ jsx10(
1097
1226
  Trans,
1098
1227
  {
1099
1228
  i18nKey: "sales_channels.availableIn",
@@ -1137,12 +1266,11 @@ var Root = ({ children }) => {
1137
1266
  /* @__PURE__ */ jsxs10(TwoColumnPage.Main, { children: [
1138
1267
  /* @__PURE__ */ jsx11(ProductGeneralSection, {}),
1139
1268
  /* @__PURE__ */ jsx11(ProductMediaSection, {}),
1140
- /* @__PURE__ */ jsx11(ProductOptionSection, {}),
1141
1269
  /* @__PURE__ */ jsx11(ProductVariantSection, {})
1142
1270
  ] }),
1143
1271
  /* @__PURE__ */ jsxs10(TwoColumnPage.Sidebar, { children: [
1144
- /* @__PURE__ */ jsx11(ProductShippingProfileSection, {}),
1145
- /* @__PURE__ */ jsx11(ProductOrganizationSection, {})
1272
+ /* @__PURE__ */ jsx11(ProductOrganizationSection, {}),
1273
+ /* @__PURE__ */ jsx11(ProductAdditionalAttributesSection, { product })
1146
1274
  ] })
1147
1275
  ] }) });
1148
1276
  };
@@ -1161,6 +1289,7 @@ var ProductDetailPage = Object.assign(Root, {
1161
1289
  useContext: useProductDetailContext
1162
1290
  });
1163
1291
  export {
1292
+ PRODUCT_DETAIL_FIELDS,
1164
1293
  ProductDetailPage,
1165
1294
  loader
1166
1295
  };
@@ -5,58 +5,60 @@ import {
5
5
  useProductTableQuery
6
6
  } from "./chunk-4MFMCZEJ.js";
7
7
  import "./chunk-FQERBIVS.js";
8
+ import "./chunk-DB6ANJBO.js";
8
9
  import {
9
10
  useProductTableFilters
10
- } from "./chunk-AONKZGWL.js";
11
- import "./chunk-DB6ANJBO.js";
11
+ } from "./chunk-ASEVHHCT.js";
12
12
  import "./chunk-PHOCVOZ5.js";
13
13
  import {
14
14
  _DataTable,
15
15
  useDataTable
16
- } from "./chunk-WHTS4G5K.js";
16
+ } from "./chunk-QXUKJDZB.js";
17
17
  import "./chunk-LYUCDASZ.js";
18
18
  import "./chunk-KAZ5BYTQ.js";
19
19
  import "./chunk-3EF54XFY.js";
20
20
  import {
21
21
  SingleColumnPage
22
22
  } from "./chunk-RM5RSDYP.js";
23
- import "./chunk-WIYFXWRI.js";
24
23
  import "./chunk-THHRRYRS.js";
25
- import "./chunk-CFETU5BI.js";
24
+ import "./chunk-LRD242C7.js";
25
+ import "./chunk-NYRRRCJS.js";
26
+ import "./chunk-STBCWNZQ.js";
27
+ import "./chunk-F4OJN2F2.js";
28
+ import "./chunk-LRARA622.js";
29
+ import "./chunk-M6N4ISXL.js";
30
+ import "./chunk-S7EKBD2C.js";
31
+ import "./chunk-VXMOPVRH.js";
32
+ import "./chunk-IQWK723D.js";
33
+ import "./chunk-VV6IKGCN.js";
34
+ import "./chunk-PCMNEUMV.js";
35
+ import "./chunk-BOZJOOGW.js";
36
+ import {
37
+ collectionsQueryKeys,
38
+ useCollection,
39
+ useUpdateCollectionProducts
40
+ } from "./chunk-RL7SFZOF.js";
41
+ import "./chunk-LWJF63JW.js";
42
+ import "./chunk-NBPMNUKZ.js";
43
+ import "./chunk-GCSQEJMD.js";
44
+ import "./chunk-VXWN37PT.js";
45
+ import "./chunk-UL4O5M4S.js";
46
+ import "./chunk-FX4V5JCF.js";
26
47
  import {
27
48
  ActionMenu
28
49
  } from "./chunk-BDGZ4EQO.js";
50
+ import "./chunk-QHQWEERJ.js";
51
+ import "./chunk-3B34B2M2.js";
52
+ import "./chunk-RUE5BPC2.js";
53
+ import "./chunk-WIYFXWRI.js";
29
54
  import "./chunk-LAVHRER2.js";
30
55
  import "./chunk-Y7QKP6QU.js";
31
56
  import {
32
57
  SingleColumnPageSkeleton
33
58
  } from "./chunk-INNFZYX2.js";
34
- import "./chunk-FPJLYWOU.js";
35
- import "./chunk-DHADGZJ5.js";
36
- import "./chunk-VGJTARSA.js";
37
- import "./chunk-DYUTYBAQ.js";
38
- import "./chunk-Y4VBOHAP.js";
39
- import "./chunk-JKXAL7WR.js";
40
- import "./chunk-DC2K6CFQ.js";
41
- import "./chunk-VDWGP2U6.js";
42
- import "./chunk-RE7YXVFG.js";
43
- import "./chunk-HUNGNEPY.js";
44
- import "./chunk-PADOWAXM.js";
45
- import {
46
- collectionsQueryKeys,
47
- useCollection,
48
- useUpdateCollectionProducts
49
- } from "./chunk-LWVBKUUL.js";
50
- import "./chunk-RIILGKYR.js";
51
- import "./chunk-6EYGH3TB.js";
52
- import "./chunk-GTUR4HSV.js";
53
- import "./chunk-SI4ALL7W.js";
54
- import "./chunk-ZFFA36DB.js";
55
- import "./chunk-VHMGJUYN.js";
56
- import "./chunk-VJTYMQVA.js";
57
59
  import {
58
60
  useProducts
59
- } from "./chunk-WPFTRRWV.js";
61
+ } from "./chunk-ZEVYT6IX.js";
60
62
  import "./chunk-A5DJIOHN.js";
61
63
  import {
62
64
  queryClient
@@ -64,8 +66,8 @@ import {
64
66
  import "./chunk-ZA2KFUFR.js";
65
67
  import {
66
68
  sdk
67
- } from "./chunk-Y224F4UU.js";
68
- import "./chunk-PKBMQBKP.js";
69
+ } from "./chunk-RIN4CBRB.js";
70
+ import "./chunk-NBMM2TZK.js";
69
71
 
70
72
  // src/pages/collections/[id]/loader.tsx
71
73
  var collectionDetailQuery = (id) => ({