@mercurjs/vendor 2.2.0-canary.2 → 2.2.0-canary.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/dist/{[id]-KRLGIVLR.js → [id]-3JICOSAI.js} +133 -41
  2. package/dist/[id]-CR76L5TG.js +3102 -0
  3. package/dist/{[id]-7BAKUHUO.js → [id]-DDGHFRSB.js} +5 -5
  4. package/dist/{[id]-KVWYLDN3.js → [id]-E7DYRMMO.js} +162 -71
  5. package/dist/{[id]-4OBGG7OH.js → [id]-FIP4UMQ4.js} +197 -105
  6. package/dist/{[id]-3EC6HYXL.js → [id]-FZRXOJWL.js} +22 -21
  7. package/dist/{[id]-ZWWMJAKI.js → [id]-PD3ISUL5.js} +7 -7
  8. package/dist/{[id]-UUUQK22M.js → [id]-Q5AXQ5XO.js} +460 -581
  9. package/dist/{[id]-KJIQTFGE.js → [id]-VSNA6SV5.js} +15 -15
  10. package/dist/{[id]-Y2ISCLUD.js → [id]-XUKQKCDN.js} +3 -3
  11. package/dist/{[id]-K2CT7BXQ.js → [id]-YPCO3DJV.js} +1 -1
  12. package/dist/{[id]-LUFRJLAU.js → [id]-ZEFQ7FQQ.js} +36 -33
  13. package/dist/{[id]-COLO4TQJ.js → [id]-ZW7TBWDU.js} +24 -23
  14. package/dist/{[province_id]-H2QAPKVH.js → [province_id]-CHOO7ERP.js} +14 -14
  15. package/dist/{add-FIWTANZX.js → add-GYXNRUAE.js} +40 -37
  16. package/dist/{add-PBZQCIZQ.js → add-IC5R27X3.js} +95 -32
  17. package/dist/{add-customer-groups-RAHCP67U.js → add-customer-groups-KIGBZT5G.js} +20 -23
  18. package/dist/{add-products-N3V2MVLD.js → add-products-ALJVIFXU.js} +23 -22
  19. package/dist/{add-promotions-CSCAJZHV.js → add-promotions-EQ5MMQKG.js} +8 -8
  20. package/dist/{add-to-campaign-DLP7PSQB.js → add-to-campaign-C6JDNB6F.js} +4 -4
  21. package/dist/{address-7F5SN7PV.js → address-UKLDTSTP.js} +13 -13
  22. package/dist/{adjust-inventory-SZF4W7LR.js → adjust-inventory-5XPGE44Y.js} +2 -2
  23. package/dist/allocate-items-URVRAFPS.js +685 -0
  24. package/dist/{areas-7Y6BVS5A.js → areas-64VXOFYS.js} +6 -6
  25. package/dist/{attributes-MBZ76HVZ.js → attributes-YQNW5JBY.js} +2 -2
  26. package/dist/{breadcrumb-HND5FFWC.js → breadcrumb-26G7BS3Q.js} +3 -3
  27. package/dist/{breadcrumb-7PURSRTT.js → breadcrumb-2AYN2SV7.js} +12 -12
  28. package/dist/{breadcrumb-ZCG2RHIU.js → breadcrumb-4KKLMVC3.js} +12 -12
  29. package/dist/{breadcrumb-WRG4SITG.js → breadcrumb-4XSHX5RV.js} +13 -13
  30. package/dist/{breadcrumb-QV2IAX7N.js → breadcrumb-E5OF4L2J.js} +2 -2
  31. package/dist/breadcrumb-JC5FUQYF.js +28 -0
  32. package/dist/{breadcrumb-YBBYFQYG.js → breadcrumb-LBO2I4OJ.js} +1 -1
  33. package/dist/breadcrumb-PIDJ23EZ.js +13 -0
  34. package/dist/{breadcrumb-65SAGUUL.js → breadcrumb-RWYEU5JK.js} +3 -3
  35. package/dist/{breadcrumb-VWELWDB2.js → breadcrumb-VXKAO6GP.js} +1 -1
  36. package/dist/{breadcrumb-FLDHJRVY.js → breadcrumb-WMNG4P6C.js} +9 -8
  37. package/dist/{breadcrumb-EDPMEN2P.js → breadcrumb-XPQETVMM.js} +2 -2
  38. package/dist/{campaigns-L6ULR6KR.js → campaigns-4I2T6EDZ.js} +5 -5
  39. package/dist/{categories-FUZQKBXV.js → categories-3P2DRH5V.js} +10 -8
  40. package/dist/{chunk-EZ3JOAUS.js → chunk-22CIYLKO.js} +1 -1
  41. package/dist/{chunk-RZLN2Q6G.js → chunk-247L47JD.js} +1 -1
  42. package/dist/{chunk-SFQKKIHA.js → chunk-27WLUOI2.js} +1 -1
  43. package/dist/{chunk-M7KSRYRI.js → chunk-2ECD67FO.js} +2 -2
  44. package/dist/{chunk-36L54SQQ.js → chunk-2H4FGZ4U.js} +1 -1
  45. package/dist/{chunk-X2FVFUET.js → chunk-2NUZTTBU.js} +27 -8
  46. package/dist/chunk-2OY4NW7L.js +185 -0
  47. package/dist/{chunk-K4X324QP.js → chunk-36WXPGD2.js} +6 -5
  48. package/dist/{chunk-PXYDR7WQ.js → chunk-3BXCPHN6.js} +3 -2
  49. package/dist/chunk-3EDZQSKG.js +33 -0
  50. package/dist/{chunk-2DXNJURE.js → chunk-3L2DVCOC.js} +1 -1
  51. package/dist/chunk-42R54Z2X.js +8 -0
  52. package/dist/{chunk-CNMY5HVP.js → chunk-4EQIJMQT.js} +3 -3
  53. package/dist/{chunk-UAF2S447.js → chunk-4OIOYUQE.js} +3 -3
  54. package/dist/{chunk-UORPTGV2.js → chunk-4R5GESED.js} +10 -14
  55. package/dist/{chunk-WUPJADSO.js → chunk-4RFPRO2W.js} +2 -2
  56. package/dist/chunk-4YWKKCTT.js +32 -0
  57. package/dist/{chunk-XFQJU6FA.js → chunk-5QG6P6EU.js} +1 -1
  58. package/dist/{chunk-N4MVIBFM.js → chunk-5Y6RDTW2.js} +3 -3
  59. package/dist/{chunk-DZIXC7OE.js → chunk-6FLSBL4Q.js} +30 -85
  60. package/dist/{chunk-DVEKYLPV.js → chunk-6QS6IZC6.js} +1 -1
  61. package/dist/chunk-6ZGQ3SOR.js +127 -0
  62. package/dist/{chunk-NXNJQZCP.js → chunk-7FIPNQM2.js} +1 -1
  63. package/dist/{chunk-NSZQERLE.js → chunk-7GGWRJJF.js} +2 -2
  64. package/dist/{chunk-QS6RWIBL.js → chunk-7RGUD6PI.js} +34 -20
  65. package/dist/{chunk-5L2DCA4W.js → chunk-7ZPJGL4C.js} +57 -6
  66. package/dist/{chunk-KD7RYE6R.js → chunk-AG6KIAUD.js} +2 -2
  67. package/dist/{chunk-UCQKXXLD.js → chunk-AKKIZD2P.js} +32 -34
  68. package/dist/chunk-CHBURL76.js +438 -0
  69. package/dist/{chunk-PBD36EZJ.js → chunk-CI4YXVQF.js} +2 -2
  70. package/dist/{chunk-7LBY5JLV.js → chunk-DAV7WS53.js} +1 -1
  71. package/dist/{chunk-6BS2AVGJ.js → chunk-DNXMONCL.js} +6 -6
  72. package/dist/{chunk-TNVYTMBL.js → chunk-E4O5PARZ.js} +4 -4
  73. package/dist/{chunk-L7QKFC5N.js → chunk-E6W57UP3.js} +32 -122
  74. package/dist/chunk-EEBJYXWA.js +15 -0
  75. package/dist/chunk-FP6U6BPH.js +61 -0
  76. package/dist/{chunk-SGR4DMCW.js → chunk-FRYZRBLA.js} +1 -1
  77. package/dist/chunk-FWPGOIFA.js +22 -0
  78. package/dist/chunk-GL7F6NDU.js +30 -0
  79. package/dist/chunk-H7BVANDX.js +407 -0
  80. package/dist/{chunk-FDR22JMM.js → chunk-HFRHHT36.js} +8 -63
  81. package/dist/{chunk-FJUUGFXL.js → chunk-HOUDNM5M.js} +1 -1
  82. package/dist/{chunk-6Y53VZ3C.js → chunk-HZCSJLGH.js} +11 -11
  83. package/dist/chunk-I75SROQZ.js +315 -0
  84. package/dist/{chunk-JQV7CXEC.js → chunk-II3ACSV2.js} +17 -2
  85. package/dist/{chunk-DARJTN4I.js → chunk-IMJ62GAP.js} +10 -5
  86. package/dist/{chunk-PPLC4IKI.js → chunk-IV57G2CB.js} +14 -1
  87. package/dist/{chunk-7SLWXX6L.js → chunk-J434WDD3.js} +5 -6
  88. package/dist/chunk-J6XCRFBW.js +30 -0
  89. package/dist/{chunk-KAZ5BYTQ.js → chunk-KCHYLLVG.js} +6 -4
  90. package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
  91. package/dist/{chunk-GXIAIITP.js → chunk-KZYRC3WR.js} +36 -39
  92. package/dist/chunk-L57USMYC.js +39 -0
  93. package/dist/chunk-LFX6WU4A.js +36 -0
  94. package/dist/{chunk-EROX26D4.js → chunk-LRMWYKSF.js} +1 -1
  95. package/dist/{chunk-LWJF63JW.js → chunk-LTQQRVZG.js} +89 -14
  96. package/dist/chunk-LYYM7H7H.js +59 -0
  97. package/dist/{chunk-NHFEY3EI.js → chunk-M3YUT5AY.js} +2 -2
  98. package/dist/{chunk-H6LZ77GX.js → chunk-MJCL3WID.js} +1 -1
  99. package/dist/{chunk-X4INVIWL.js → chunk-MZRZVLWD.js} +3 -3
  100. package/dist/{chunk-DDH7ULIQ.js → chunk-N6MGVXXQ.js} +1 -1
  101. package/dist/{chunk-QXLRABYH.js → chunk-O7VOGTLX.js} +1 -1
  102. package/dist/{chunk-35G3SZRN.js → chunk-P3SOE76R.js} +1 -1
  103. package/dist/{chunk-PZ44R4AS.js → chunk-P7Q5ZSZD.js} +1 -1
  104. package/dist/{chunk-5ATEALH7.js → chunk-PFJFS3F4.js} +1 -5
  105. package/dist/chunk-POOTMH3K.js +62 -0
  106. package/dist/{chunk-GGWUWT55.js → chunk-QJI4OET7.js} +23 -36
  107. package/dist/{chunk-NJMNYS7G.js → chunk-QS35HWC5.js} +1 -1
  108. package/dist/{chunk-RTBNJQOV.js → chunk-R4JLYNUA.js} +419 -538
  109. package/dist/{chunk-DIW4GRTI.js → chunk-RT3G3GEK.js} +47 -31
  110. package/dist/{chunk-QT7YFHCA.js → chunk-S23FD6FA.js} +12 -0
  111. package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
  112. package/dist/chunk-SPFLYPY6.js +6 -0
  113. package/dist/{chunk-EIUYXS7E.js → chunk-SZBERGA4.js} +1 -1
  114. package/dist/chunk-T6DSYOY5.js +173 -0
  115. package/dist/{chunk-4LVP635F.js → chunk-TKSKCYM3.js} +128 -126
  116. package/dist/{chunk-QNNJN4H6.js → chunk-TSTUAL6N.js} +59 -0
  117. package/dist/{chunk-LNM2D2I4.js → chunk-TZMNEN7A.js} +7 -6
  118. package/dist/chunk-UM7ZR3VU.js +14 -0
  119. package/dist/{chunk-X22KTLZ7.js → chunk-UO6IX5Y7.js} +1 -1
  120. package/dist/chunk-VCUUITW6.js +35 -0
  121. package/dist/{chunk-LQD232FW.js → chunk-WJ5EU3KW.js} +1 -1
  122. package/dist/{chunk-AIF2KTEE.js → chunk-WKRW5OPL.js} +12 -2
  123. package/dist/{chunk-6YA3C4NB.js → chunk-XBKWFLJG.js} +4 -13
  124. package/dist/{chunk-WBHFU3MG.js → chunk-XJYQ4SW5.js} +2 -2
  125. package/dist/chunk-XQUF3WIS.js +159 -0
  126. package/dist/chunk-YBF45CX5.js +23 -0
  127. package/dist/{chunk-AVOIZO63.js → chunk-YQZBAP3S.js} +4 -2
  128. package/dist/chunk-ZHFFTT3I.js +17 -0
  129. package/dist/{chunk-TODJFRLH.js → chunk-ZHR77OQI.js} +2 -2
  130. package/dist/chunk-ZUHIKMQL.js +353 -0
  131. package/dist/{chunk-44RQ5PTN.js → chunk-ZZIJSTXN.js} +225 -90
  132. package/dist/{collections-YCAAFGSW.js → collections-7M7O23NO.js} +28 -26
  133. package/dist/{configuration-UOSNP45I.js → configuration-5IDQRYJQ.js} +4 -4
  134. package/dist/{configuration-C4IGBNXH.js → configuration-TXRAYMI4.js} +1 -1
  135. package/dist/{create-BJ4OO6LS.js → create-2N73Y6FO.js} +14 -14
  136. package/dist/{create-R7K3ECN6.js → create-3MUVY3UY.js} +1 -1
  137. package/dist/{create-SFU3W3ZH.js → create-6DRXGPYA.js} +1 -1
  138. package/dist/{create-XAD5NMSJ.js → create-6KM5AZCG.js} +20 -20
  139. package/dist/{create-YDDBH4VQ.js → create-A6CPQMMH.js} +27 -26
  140. package/dist/create-B4EWCX7X.js +1798 -0
  141. package/dist/{create-YBF4YGWG.js → create-BHSMHOFN.js} +1 -1
  142. package/dist/{create-XVHOCZHJ.js → create-BVUZWMET.js} +1 -1
  143. package/dist/create-CJEZCYN6.js +1179 -0
  144. package/dist/create-DAVMJNC2.js +1931 -0
  145. package/dist/{create-35MYQPVM.js → create-E4HTVPP7.js} +17 -17
  146. package/dist/{create-JDGM5KXE.js → create-G4TF2M7G.js} +88 -42
  147. package/dist/{create-UQNYMVBM.js → create-LOP7AF5N.js} +6 -6
  148. package/dist/{create-UPYB65PD.js → create-MKFDE32U.js} +1 -1
  149. package/dist/{create-B5ZXTK3K.js → create-NR7ULWQS.js} +37 -34
  150. package/dist/{create-HI5UI2EZ.js → create-SJSLOXOW.js} +31 -26
  151. package/dist/{create-GB3ZA4LH.js → create-SYI6DVKM.js} +4 -4
  152. package/dist/{create-ORXYT74H.js → create-ZAGMLDR4.js} +13 -13
  153. package/dist/create-ZP4LSJYQ.js +216 -0
  154. package/dist/customer-group-add-customers-GTM556QA.js +251 -0
  155. package/dist/customer-group-create-OYHAXX2T.js +140 -0
  156. package/dist/customer-group-detail-KW62TLWA.js +58 -0
  157. package/dist/customer-group-edit-WH7O4N4L.js +137 -0
  158. package/dist/customer-groups-UJFZBZ2B.js +276 -0
  159. package/dist/{customers-ETXVNM3G.js → customers-4WKIFPUU.js} +7 -7
  160. package/dist/{edit-UGEC27HP.js → edit-3EN2H52W.js} +39 -36
  161. package/dist/{edit-ZMERG3L7.js → edit-3VNT35DW.js} +1 -1
  162. package/dist/{edit-ORXS3A2Y.js → edit-6DUTTLEV.js} +1 -1
  163. package/dist/edit-6K3NSVI7.js +103 -0
  164. package/dist/{edit-REDDBLTA.js → edit-6Z6RIJRZ.js} +4 -4
  165. package/dist/{edit-2Q7TRUTL.js → edit-CVSO5CX7.js} +14 -14
  166. package/dist/{edit-ZAHCMF5U.js → edit-FQDSESVI.js} +1 -1
  167. package/dist/edit-GZXLWSTL.js +176 -0
  168. package/dist/edit-LLNKSZR4.js +871 -0
  169. package/dist/{edit-O4JLGKQR.js → edit-MKVDAUA5.js} +1 -1
  170. package/dist/{edit-ZCXUG42Q.js → edit-NDUSRTWY.js} +13 -13
  171. package/dist/{edit-522DG3BY.js → edit-RBREBAQQ.js} +1 -1
  172. package/dist/{edit-Q3UQIOLS.js → edit-RQHOHZR6.js} +1 -1
  173. package/dist/{edit-VKT62KHG.js → edit-SAB6F3ZG.js} +36 -15
  174. package/dist/{edit-C4OCKQVU.js → edit-SM2GHVKW.js} +1 -1
  175. package/dist/{edit-KAKVPHZZ.js → edit-UVY3TEHD.js} +1 -1
  176. package/dist/{edit-SGUY2CCK.js → edit-V7WLYLOQ.js} +16 -16
  177. package/dist/{edit-FKXIQ6ZI.js → edit-XMZSLH4O.js} +16 -16
  178. package/dist/{edit-L5ZZLMAY.js → edit-YTS77SJS.js} +43 -32
  179. package/dist/{edit-budget-L3CCEWNF.js → edit-budget-4JMGEPNF.js} +1 -1
  180. package/dist/{edit-inventory-item-6B7ITDGD.js → edit-inventory-item-G22KFCYY.js} +2 -2
  181. package/dist/{edit-inventory-item-attributes-Y7MQZLXI.js → edit-inventory-item-attributes-RJSM4MEI.js} +2 -2
  182. package/dist/edit-price-K6K2FTMF.js +196 -0
  183. package/dist/edit-stock-6TUSJD5R.js +229 -0
  184. package/dist/fulfillment-VEF6HG6D.js +641 -0
  185. package/dist/{fulfillment-providers-DQAU43JZ.js → fulfillment-providers-VKBWFH45.js} +24 -24
  186. package/dist/index.css +107 -10
  187. package/dist/index.js +302 -183
  188. package/dist/{inventory-KAUVPMPZ.js → inventory-OCIGVZ4V.js} +6 -6
  189. package/dist/{offer-inventory-batch-page-WKCWNDNK.js → inventory-T7BRSFKY.js} +16 -16
  190. package/dist/{invite-CI2P4GF6.js → invite-J6L3Q7MQ.js} +12 -12
  191. package/dist/{invite-Q6EYDZVQ.js → invite-VWNUFOFI.js} +21 -21
  192. package/dist/loader-2EQ4ROTD.js +34 -0
  193. package/dist/loader-HYUC2XZX.js +33 -0
  194. package/dist/{login-KY342RMK.js → login-WOZMCEFY.js} +12 -12
  195. package/dist/{manage-locations-WNHEBS3A.js → manage-locations-R3ASMF5B.js} +1 -1
  196. package/dist/{media-B6ME2WXY.js → media-KIIJ6WSZ.js} +18 -17
  197. package/dist/media-RJHUSBXL.js +315 -0
  198. package/dist/{metadata-WR4RFXO5.js → metadata-45S6CFKY.js} +14 -14
  199. package/dist/{metadata-2CMH4I6U.js → metadata-FCATUWIZ.js} +14 -14
  200. package/dist/{metadata-GWI6R4ES.js → metadata-L5GBBXC4.js} +14 -14
  201. package/dist/{metadata-TLDUF5KV.js → metadata-R4ZRMAO6.js} +14 -14
  202. package/dist/{metadata-NUXUC2JA.js → metadata-RM5VVAOS.js} +14 -14
  203. package/dist/{offer-create-page-4Z6L63BU.js → offer-create-page-DV4JCIL2.js} +190 -195
  204. package/dist/offer-detail-page-TIBYGQBS.js +590 -0
  205. package/dist/offer-variant-detail-page-ORH56HZI.js +421 -0
  206. package/dist/offers-VA63KV3C.js +54 -0
  207. package/dist/{onboarding-43LQQQGQ.js → onboarding-L5RRKT65.js} +12 -12
  208. package/dist/{orders-ZV4D6L2V.js → orders-KKJD6EWZ.js} +27 -27
  209. package/dist/{organization-ZTQGRJWS.js → organization-6YPU2RQP.js} +53 -89
  210. package/dist/{organize-K6QMAMEN.js → organize-LR7FWK2J.js} +3 -3
  211. package/dist/{organize-HNJUHEEG.js → organize-SUG4SGVR.js} +3 -3
  212. package/dist/pages/index.d.ts +40 -16
  213. package/dist/pages/index.js +73 -73
  214. package/dist/{payment-details-64US5XWD.js → payment-details-UVEIHQA5.js} +13 -13
  215. package/dist/{payouts-UXJDTXDL.js → payouts-D4A4CILI.js} +8 -8
  216. package/dist/{price-lists-KBPUVSZI.js → price-lists-WJFXFGEV.js} +10 -10
  217. package/dist/{pricing-DF6C5XK4.js → pricing-QEVR2Z4K.js} +19 -19
  218. package/dist/{offer-pricing-edit-page-4TYGGSOE.js → pricing-XJUUCYL5.js} +24 -18
  219. package/dist/{product-tags-6MZB4W5R.js → product-tags-MW2JMRFY.js} +36 -33
  220. package/dist/{product-types-UUHBV4IZ.js → product-types-XXU7X42K.js} +6 -6
  221. package/dist/product-variant-detail-XZWTSH3H.js +369 -0
  222. package/dist/{product-variant-edit-YYNPHE4L.js → product-variant-edit-A2KO3E7B.js} +41 -44
  223. package/dist/{products-MZBU5MEV.js → products-TZS2OPK3.js} +37 -37
  224. package/dist/{products-IWKTGZS6.js → products-XSXEUKIB.js} +23 -22
  225. package/dist/{professional-details-5T2VS6MM.js → professional-details-ELUEJPOH.js} +13 -13
  226. package/dist/{profile-6XGHAT7H.js → profile-EDVGIBW6.js} +16 -16
  227. package/dist/{promotions-O7U4BTK6.js → promotions-JYO23G6N.js} +8 -8
  228. package/dist/receive-47SMYKIJ.js +578 -0
  229. package/dist/refund-IU7B77FV.js +268 -0
  230. package/dist/{register-N6WOSMLA.js → register-SR2SYX4Q.js} +14 -14
  231. package/dist/{reset-password-EICPAY2N.js → reset-password-N22YRMR3.js} +1 -1
  232. package/dist/{return-reasons-IX3LIOCU.js → return-reasons-POR5YPTF.js} +18 -15
  233. package/dist/{sales-channels-JW3QUYR7.js → sales-channels-ETB6QRRY.js} +8 -8
  234. package/dist/{sales-channels-B6FULRWI.js → sales-channels-YXRRARDL.js} +7 -7
  235. package/dist/{settings-MV53ZZ53.js → settings-MHBYIZ2I.js} +38 -35
  236. package/dist/shipment-ZX6PQ32L.js +241 -0
  237. package/dist/shipping-W4SPR3JO.js +122 -0
  238. package/dist/{shipping-profile-Y4SNEPZX.js → shipping-profile-L5CFXVEE.js} +4 -8
  239. package/dist/{shipping-profiles-2NWKCEJK.js → shipping-profiles-QBJUWXVQ.js} +17 -17
  240. package/dist/{stock-7CSVEJJU.js → stock-FW4DOVFV.js} +14 -14
  241. package/dist/{store-X23G3JCJ.js → store-NWWBV2UO.js} +75 -144
  242. package/dist/{store-closure-P5PD2RSV.js → store-closure-O3CBSOJD.js} +19 -14
  243. package/dist/{store-select-TREPDS3G.js → store-select-C7GI5MKK.js} +13 -13
  244. package/dist/{tax-regions-YXZW7UVX.js → tax-regions-2JCIB4T7.js} +2 -2
  245. package/dist/{team-SPP5OY5W.js → team-MY24J5WO.js} +20 -20
  246. package/package.json +2 -2
  247. package/dist/[id]-LTNOHLGE.js +0 -1219
  248. package/dist/allocate-items-SDFS5GYN.js +0 -533
  249. package/dist/chunk-432S4FGR.js +0 -0
  250. package/dist/chunk-AIZM66CG.js +0 -66
  251. package/dist/chunk-BDZOSMAX.js +0 -23
  252. package/dist/chunk-CFRWIQIZ.js +0 -43
  253. package/dist/chunk-GKZHBXZK.js +0 -426
  254. package/dist/chunk-RXZFEFNV.js +0 -73
  255. package/dist/chunk-T6LHVNWO.js +0 -27
  256. package/dist/chunk-WLT7K7K7.js +0 -63
  257. package/dist/create-FCKGCZSM.js +0 -210
  258. package/dist/edit-GQNIINRR.js +0 -192
  259. package/dist/fulfillment-75Z4H23W.js +0 -559
  260. package/dist/loader-FBB5OQRT.js +0 -31
  261. package/dist/metadata-5BPOBBU2.js +0 -45
  262. package/dist/offer-detail-page-6MAHNNIO.js +0 -488
  263. package/dist/offer-edit-page-DYQFU6JU.js +0 -151
  264. package/dist/offers-ZG6OTDZ2.js +0 -32
  265. package/dist/product-variant-detail-RVWEYVPC.js +0 -220
  266. package/dist/shipment-Q33QBMXX.js +0 -176
@@ -1,67 +1,72 @@
1
+ import {
2
+ getCollectionGallery,
3
+ getCollectionIcon
4
+ } from "./chunk-42R54Z2X.js";
1
5
  import {
2
6
  useProductTableColumns
3
- } from "./chunk-GGWUWT55.js";
4
- import "./chunk-5ATEALH7.js";
7
+ } from "./chunk-QJI4OET7.js";
8
+ import "./chunk-PFJFS3F4.js";
5
9
  import {
6
10
  useProductTableQuery
7
- } from "./chunk-H6LZ77GX.js";
11
+ } from "./chunk-MJCL3WID.js";
12
+ import "./chunk-FWPGOIFA.js";
8
13
  import "./chunk-FQERBIVS.js";
9
14
  import {
10
15
  useProductTableFilters
11
- } from "./chunk-5L2DCA4W.js";
16
+ } from "./chunk-7ZPJGL4C.js";
12
17
  import "./chunk-DB6ANJBO.js";
13
18
  import "./chunk-PHOCVOZ5.js";
14
19
  import {
15
20
  _DataTable,
16
21
  useDataTable
17
- } from "./chunk-AIF2KTEE.js";
22
+ } from "./chunk-WKRW5OPL.js";
18
23
  import "./chunk-YN3FGNJM.js";
19
- import "./chunk-KAZ5BYTQ.js";
24
+ import "./chunk-KCHYLLVG.js";
20
25
  import "./chunk-3EF54XFY.js";
21
26
  import {
22
27
  SingleColumnPage
23
28
  } from "./chunk-YV6MK4PZ.js";
24
- import "./chunk-LRD242C7.js";
25
- import "./chunk-QHQWEERJ.js";
26
29
  import "./chunk-THHRRYRS.js";
27
- import "./chunk-DZIXC7OE.js";
30
+ import "./chunk-LRD242C7.js";
31
+ import "./chunk-6FLSBL4Q.js";
28
32
  import "./chunk-WIYFXWRI.js";
29
33
  import {
30
34
  SingleColumnPageSkeleton
31
35
  } from "./chunk-INNFZYX2.js";
32
- import "./chunk-GXIAIITP.js";
36
+ import "./chunk-KZYRC3WR.js";
33
37
  import "./chunk-F4OJN2F2.js";
34
38
  import "./chunk-LRARA622.js";
35
39
  import "./chunk-M6N4ISXL.js";
36
40
  import "./chunk-S7EKBD2C.js";
37
- import "./chunk-VXMOPVRH.js";
38
41
  import "./chunk-VV6IKGCN.js";
39
- import "./chunk-NHFEY3EI.js";
42
+ import "./chunk-M3YUT5AY.js";
40
43
  import "./chunk-BOZJOOGW.js";
41
- import "./chunk-LWJF63JW.js";
42
- import "./chunk-T6LHVNWO.js";
43
- import "./chunk-4S6XGIC6.js";
44
- import "./chunk-QT7YFHCA.js";
45
44
  import "./chunk-IQWK723D.js";
46
- import "./chunk-UORPTGV2.js";
45
+ import "./chunk-4S6XGIC6.js";
46
+ import "./chunk-S23FD6FA.js";
47
47
  import {
48
48
  collectionsQueryKeys,
49
49
  useCollection,
50
50
  useUpdateCollectionProducts
51
- } from "./chunk-NXNJQZCP.js";
51
+ } from "./chunk-7FIPNQM2.js";
52
+ import "./chunk-LTQQRVZG.js";
52
53
  import "./chunk-VXWN37PT.js";
53
- import "./chunk-RZLN2Q6G.js";
54
+ import "./chunk-247L47JD.js";
55
+ import "./chunk-POOTMH3K.js";
56
+ import "./chunk-VXMOPVRH.js";
54
57
  import "./chunk-NBPMNUKZ.js";
55
- import "./chunk-QS6RWIBL.js";
58
+ import "./chunk-4R5GESED.js";
59
+ import "./chunk-7RGUD6PI.js";
56
60
  import "./chunk-3B34B2M2.js";
57
61
  import {
58
62
  ActionMenu
59
63
  } from "./chunk-BDGZ4EQO.js";
60
64
  import "./chunk-LAVHRER2.js";
65
+ import "./chunk-QHQWEERJ.js";
61
66
  import "./chunk-Y7QKP6QU.js";
62
67
  import {
63
68
  useProducts
64
- } from "./chunk-QNNJN4H6.js";
69
+ } from "./chunk-TSTUAL6N.js";
65
70
  import "./chunk-A5DJIOHN.js";
66
71
  import {
67
72
  queryClient
@@ -107,26 +112,109 @@ var CollectionGeneralSection = ({
107
112
  ] });
108
113
  };
109
114
 
115
+ // src/pages/collections/[id]/_components/collection-icon-section/collection-icon-section.tsx
116
+ import { Container as Container2, Heading as Heading2, Text as Text2 } from "@medusajs/ui";
117
+ import { useTranslation as useTranslation2 } from "react-i18next";
118
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
119
+ var CollectionIconSection = ({
120
+ collection
121
+ }) => {
122
+ const { t } = useTranslation2();
123
+ const icon = getCollectionIcon(collection.images);
124
+ return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", "data-testid": "collection-icon-section", children: [
125
+ /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx2(Heading2, { children: t("collections.icon.label") }) }),
126
+ /* @__PURE__ */ jsx2("div", { className: "px-6 py-4", children: icon ? /* @__PURE__ */ jsx2("div", { className: "bg-ui-bg-base shadow-elevation-card-rest relative aspect-square w-24 overflow-hidden rounded-[8px]", children: /* @__PURE__ */ jsx2(
127
+ "img",
128
+ {
129
+ src: icon.url,
130
+ alt: "",
131
+ className: "size-full object-contain object-center p-2",
132
+ "data-testid": "collection-icon-section-image"
133
+ }
134
+ ) }) : /* @__PURE__ */ jsxs2("div", { className: "flex flex-col items-center justify-center gap-y-1 py-8", children: [
135
+ /* @__PURE__ */ jsx2(
136
+ Text2,
137
+ {
138
+ size: "small",
139
+ leading: "compact",
140
+ weight: "plus",
141
+ className: "text-ui-fg-subtle",
142
+ children: t("collections.icon.empty.header")
143
+ }
144
+ ),
145
+ /* @__PURE__ */ jsx2(Text2, { size: "small", className: "text-ui-fg-muted", children: t("collections.icon.empty.description") })
146
+ ] }) })
147
+ ] });
148
+ };
149
+
150
+ // src/pages/collections/[id]/_components/collection-media-section/collection-media-section.tsx
151
+ import { FeaturedBadge, ThumbnailBadge } from "@medusajs/icons";
152
+ import { Container as Container3, Heading as Heading3, Text as Text3, Tooltip } from "@medusajs/ui";
153
+ import { useTranslation as useTranslation3 } from "react-i18next";
154
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
155
+ var CollectionMediaSection = ({
156
+ collection
157
+ }) => {
158
+ const { t } = useTranslation3();
159
+ const gallery = getCollectionGallery(collection.images);
160
+ return /* @__PURE__ */ jsxs3(Container3, { className: "divide-y p-0", "data-testid": "collection-media-section", children: [
161
+ /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx3(Heading3, { children: t("collections.media.label") }) }),
162
+ /* @__PURE__ */ jsx3("div", { className: "px-6 py-4", children: gallery.length > 0 ? /* @__PURE__ */ jsx3("div", { className: "grid grid-cols-[repeat(auto-fill,minmax(96px,1fr))] gap-4", children: gallery.map((image) => /* @__PURE__ */ jsxs3(
163
+ "div",
164
+ {
165
+ className: "shadow-elevation-card-rest relative aspect-square size-full overflow-hidden rounded-[8px]",
166
+ "data-testid": `collection-media-section-item-${image.id}`,
167
+ children: [
168
+ /* @__PURE__ */ jsx3(
169
+ "img",
170
+ {
171
+ src: image.url,
172
+ alt: "",
173
+ className: "size-full object-cover object-center"
174
+ }
175
+ ),
176
+ (image.is_thumbnail || image.is_banner) && /* @__PURE__ */ jsxs3("div", { className: "absolute left-2 top-2 flex items-center gap-x-1", children: [
177
+ image.is_thumbnail && /* @__PURE__ */ jsx3(Tooltip, { content: t("collections.media.thumbnail"), children: /* @__PURE__ */ jsx3(ThumbnailBadge, {}) }),
178
+ image.is_banner && /* @__PURE__ */ jsx3(Tooltip, { content: t("collections.media.banner"), children: /* @__PURE__ */ jsx3(FeaturedBadge, { className: "text-ui-fg-interactive" }) })
179
+ ] })
180
+ ]
181
+ },
182
+ image.id
183
+ )) }) : /* @__PURE__ */ jsxs3("div", { className: "flex flex-col items-center justify-center gap-y-1 py-8", children: [
184
+ /* @__PURE__ */ jsx3(
185
+ Text3,
186
+ {
187
+ size: "small",
188
+ leading: "compact",
189
+ weight: "plus",
190
+ className: "text-ui-fg-subtle",
191
+ children: t("collections.media.empty.header")
192
+ }
193
+ ),
194
+ /* @__PURE__ */ jsx3(Text3, { size: "small", className: "text-ui-fg-muted", children: t("collections.media.empty.description") })
195
+ ] }) })
196
+ ] });
197
+ };
198
+
110
199
  // src/pages/collections/[id]/_components/collection-product-section/collection-product-section.tsx
111
200
  import { PencilSquare, Trash } from "@medusajs/icons";
112
- import { Checkbox, Container as Container2, Heading as Heading2, toast, usePrompt } from "@medusajs/ui";
201
+ import { Checkbox, Container as Container4, Heading as Heading4, toast, usePrompt } from "@medusajs/ui";
113
202
  import { createColumnHelper } from "@tanstack/react-table";
114
203
  import { useMemo } from "react";
115
- import { useTranslation as useTranslation2 } from "react-i18next";
204
+ import { useTranslation as useTranslation4 } from "react-i18next";
116
205
  import { keepPreviousData } from "@tanstack/react-query";
117
- import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
206
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
118
207
  var PAGE_SIZE = 10;
119
208
  var CollectionProductSection = ({
120
209
  collection
121
210
  }) => {
122
- const { t } = useTranslation2();
211
+ const { t } = useTranslation4();
123
212
  const { searchParams, raw } = useProductTableQuery({
124
213
  pageSize: PAGE_SIZE
125
214
  });
126
215
  const { products, count, isLoading, isError, error } = useProducts(
127
216
  {
128
217
  ...searchParams,
129
- fields: "+thumbnail",
130
218
  collection_id: collection.id
131
219
  },
132
220
  { placeholderData: keepPreviousData }
@@ -181,9 +269,9 @@ var CollectionProductSection = ({
181
269
  if (isError) {
182
270
  throw error;
183
271
  }
184
- return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", children: [
185
- /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx2(Heading2, { level: "h2", children: t("products.domain") }) }),
186
- /* @__PURE__ */ jsx2(
272
+ return /* @__PURE__ */ jsxs4(Container4, { className: "divide-y p-0", children: [
273
+ /* @__PURE__ */ jsx4("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx4(Heading4, { level: "h2", children: t("products.domain") }) }),
274
+ /* @__PURE__ */ jsx4(
187
275
  _DataTable,
188
276
  {
189
277
  table,
@@ -225,7 +313,7 @@ var ProductActions = ({
225
313
  product,
226
314
  collectionId
227
315
  }) => {
228
- const { t } = useTranslation2();
316
+ const { t } = useTranslation4();
229
317
  const prompt = usePrompt();
230
318
  const { mutateAsync } = useUpdateCollectionProducts(collectionId);
231
319
  const handleRemove = async () => {
@@ -258,14 +346,14 @@ var ProductActions = ({
258
346
  }
259
347
  );
260
348
  };
261
- return /* @__PURE__ */ jsx2(
349
+ return /* @__PURE__ */ jsx4(
262
350
  ActionMenu,
263
351
  {
264
352
  groups: [
265
353
  {
266
354
  actions: [
267
355
  {
268
- icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
356
+ icon: /* @__PURE__ */ jsx4(PencilSquare, {}),
269
357
  label: t("actions.edit"),
270
358
  to: `/products/${product.id}/edit`
271
359
  }
@@ -274,7 +362,7 @@ var ProductActions = ({
274
362
  {
275
363
  actions: [
276
364
  {
277
- icon: /* @__PURE__ */ jsx2(Trash, {}),
365
+ icon: /* @__PURE__ */ jsx4(Trash, {}),
278
366
  label: t("actions.remove"),
279
367
  onClick: handleRemove
280
368
  }
@@ -292,7 +380,7 @@ var useColumns = () => {
292
380
  columnHelper.display({
293
381
  id: "select",
294
382
  header: ({ table }) => {
295
- return /* @__PURE__ */ jsx2(
383
+ return /* @__PURE__ */ jsx4(
296
384
  Checkbox,
297
385
  {
298
386
  checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
@@ -301,7 +389,7 @@ var useColumns = () => {
301
389
  );
302
390
  },
303
391
  cell: ({ row }) => {
304
- return /* @__PURE__ */ jsx2(
392
+ return /* @__PURE__ */ jsx4(
305
393
  Checkbox,
306
394
  {
307
395
  checked: row.getIsSelected(),
@@ -318,7 +406,7 @@ var useColumns = () => {
318
406
  id: "actions",
319
407
  cell: ({ row, table }) => {
320
408
  const { collectionId } = table.options.meta;
321
- return /* @__PURE__ */ jsx2(
409
+ return /* @__PURE__ */ jsx4(
322
410
  ProductActions,
323
411
  {
324
412
  product: row.original,
@@ -333,7 +421,7 @@ var useColumns = () => {
333
421
  };
334
422
 
335
423
  // src/pages/collections/[id]/collection-detail-page.tsx
336
- import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
424
+ import { Fragment, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
337
425
  var Root = ({ children }) => {
338
426
  const initialData = useLoaderData();
339
427
  const { id } = useParams();
@@ -341,16 +429,20 @@ var Root = ({ children }) => {
341
429
  initialData
342
430
  });
343
431
  if (isLoading || !collection) {
344
- return /* @__PURE__ */ jsx3(SingleColumnPageSkeleton, { sections: 2 });
432
+ return /* @__PURE__ */ jsx5(SingleColumnPageSkeleton, { sections: 4 });
345
433
  }
346
434
  if (isError) throw error;
347
- return /* @__PURE__ */ jsx3(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs3(SingleColumnPage, { data: collection, children: [
348
- /* @__PURE__ */ jsx3(CollectionGeneralSection, { collection }),
349
- /* @__PURE__ */ jsx3(CollectionProductSection, { collection })
435
+ return /* @__PURE__ */ jsx5(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs5(SingleColumnPage, { data: collection, children: [
436
+ /* @__PURE__ */ jsx5(CollectionGeneralSection, { collection }),
437
+ /* @__PURE__ */ jsx5(CollectionMediaSection, { collection }),
438
+ /* @__PURE__ */ jsx5(CollectionIconSection, { collection }),
439
+ /* @__PURE__ */ jsx5(CollectionProductSection, { collection })
350
440
  ] }) });
351
441
  };
352
442
  var CollectionDetailPage = Object.assign(Root, {
353
443
  GeneralSection: CollectionGeneralSection,
444
+ MediaSection: CollectionMediaSection,
445
+ IconSection: CollectionIconSection,
354
446
  ProductSection: CollectionProductSection
355
447
  });
356
448
  export {