@mercurjs/vendor 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  customerGroupsQueryKeys
3
- } from "./chunk-PADOWAXM.js";
3
+ } from "./chunk-LWJF63JW.js";
4
4
  import {
5
5
  productsQueryKeys
6
- } from "./chunk-WPFTRRWV.js";
6
+ } from "./chunk-ZEVYT6IX.js";
7
7
  import {
8
8
  queryClient
9
9
  } from "./chunk-RHKRREUU.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZA2KFUFR.js";
13
13
  import {
14
14
  sdk
15
- } from "./chunk-Y224F4UU.js";
15
+ } from "./chunk-RIN4CBRB.js";
16
16
 
17
17
  // src/hooks/api/price-lists.tsx
18
18
  import {
@@ -1,8 +1,3 @@
1
- // src/hooks/use-date.tsx
2
- import { format, formatDistance, sub } from "date-fns";
3
- import { enUS as enUS2 } from "date-fns/locale";
4
- import { useTranslation } from "react-i18next";
5
-
6
1
  // src/i18n/languages.ts
7
2
  import {
8
3
  ar,
@@ -226,36 +221,6 @@ var languages = [
226
221
  }
227
222
  ];
228
223
 
229
- // src/hooks/use-date.tsx
230
- var useDate = () => {
231
- const { i18n } = useTranslation();
232
- const locale = languages.find((l) => l.code === i18n.language)?.date_locale || enUS2;
233
- const getFullDate = ({
234
- date,
235
- includeTime = false
236
- }) => {
237
- const ensuredDate = new Date(date);
238
- if (isNaN(ensuredDate.getTime())) {
239
- return "";
240
- }
241
- const timeFormat = includeTime ? "p" : "";
242
- return format(ensuredDate, `PP ${timeFormat}`, {
243
- locale
244
- });
245
- };
246
- function getRelativeDate(date) {
247
- const now = /* @__PURE__ */ new Date();
248
- return formatDistance(sub(new Date(date), { minutes: 0 }), now, {
249
- addSuffix: true,
250
- locale
251
- });
252
- }
253
- return {
254
- getFullDate,
255
- getRelativeDate
256
- };
257
- };
258
-
259
224
  export {
260
- useDate
225
+ languages
261
226
  };
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-3EF54XFY.js";
12
12
  import {
13
13
  useDate
14
- } from "./chunk-CFETU5BI.js";
14
+ } from "./chunk-LRD242C7.js";
15
15
  import {
16
16
  TableSkeleton
17
17
  } from "./chunk-INNFZYX2.js";
@@ -74,7 +74,6 @@ var uploadFilesQuery = async (files) => {
74
74
  };
75
75
 
76
76
  export {
77
- backendUrl,
78
77
  sdk,
79
78
  fetchQuery,
80
79
  uploadFilesQuery
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  productsQueryKeys
3
- } from "./chunk-WPFTRRWV.js";
3
+ } from "./chunk-ZEVYT6IX.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZA2KFUFR.js";
10
10
  import {
11
11
  sdk
12
- } from "./chunk-Y224F4UU.js";
12
+ } from "./chunk-RIN4CBRB.js";
13
13
 
14
14
  // src/hooks/api/collections.tsx
15
15
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeletePriceListAction
3
- } from "./chunk-NX26QE2O.js";
3
+ } from "./chunk-ZYOXKUKZ.js";
4
4
  import {
5
5
  getPriceListStatus
6
6
  } from "./chunk-XRNDVICA.js";
@@ -17,19 +17,19 @@ import {
17
17
  import {
18
18
  _DataTable,
19
19
  useDataTable
20
- } from "./chunk-WHTS4G5K.js";
20
+ } from "./chunk-QXUKJDZB.js";
21
21
  import {
22
22
  SingleColumnPage
23
23
  } from "./chunk-RM5RSDYP.js";
24
24
  import {
25
25
  useQueryParams
26
26
  } from "./chunk-THHRRYRS.js";
27
+ import {
28
+ usePriceLists
29
+ } from "./chunk-PCMNEUMV.js";
27
30
  import {
28
31
  ActionMenu
29
32
  } from "./chunk-BDGZ4EQO.js";
30
- import {
31
- usePriceLists
32
- } from "./chunk-RE7YXVFG.js";
33
33
 
34
34
  // src/pages/price-lists/price-list-list-page.tsx
35
35
  import { Children as Children3 } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useProductTag
3
- } from "./chunk-FPJLYWOU.js";
3
+ } from "./chunk-NYRRRCJS.js";
4
4
 
5
5
  // src/pages/settings/product-tags/[id]/breadcrumb.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  LocalizedTablePagination,
3
3
  TaxRegionCard
4
- } from "./chunk-CELHWX5P.js";
4
+ } from "./chunk-SDSEW72R.js";
5
5
  import {
6
6
  DataTableOrderBy
7
7
  } from "./chunk-KAZ5BYTQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  productsQueryKeys
3
- } from "./chunk-WPFTRRWV.js";
3
+ } from "./chunk-ZEVYT6IX.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZA2KFUFR.js";
10
10
  import {
11
11
  sdk
12
- } from "./chunk-Y224F4UU.js";
12
+ } from "./chunk-RIN4CBRB.js";
13
13
 
14
14
  // src/hooks/api/categories.tsx
15
15
  import {
@@ -4,15 +4,17 @@ import {
4
4
  import {
5
5
  useCustomerGroupTableColumns,
6
6
  useProductTagTableColumns
7
- } from "./chunk-R65A4P4H.js";
7
+ } from "./chunk-N335VHD3.js";
8
8
  import {
9
9
  useProductTypeTableColumns
10
- } from "./chunk-CVVYQI5F.js";
10
+ } from "./chunk-EBZ5VZEO.js";
11
+ import {
12
+ useCollectionTableColumns
13
+ } from "./chunk-JQV7CXEC.js";
11
14
  import {
12
- useCollectionTableColumns,
13
15
  useCollectionTableQuery,
14
16
  useProductTagTableQuery
15
- } from "./chunk-O6PRBSFL.js";
17
+ } from "./chunk-BI2AYXZQ.js";
16
18
  import {
17
19
  useProductTypeTableQuery
18
20
  } from "./chunk-VOHEQ7B5.js";
@@ -37,30 +39,30 @@ import {
37
39
  } from "./chunk-4MFMCZEJ.js";
38
40
  import {
39
41
  useProductTableFilters
40
- } from "./chunk-AONKZGWL.js";
42
+ } from "./chunk-ASEVHHCT.js";
41
43
  import {
42
44
  _DataTable,
43
45
  useDataTable
44
- } from "./chunk-WHTS4G5K.js";
46
+ } from "./chunk-QXUKJDZB.js";
45
47
  import {
46
48
  StackedDrawer,
47
49
  StackedFocusModal
48
50
  } from "./chunk-3CK6OINO.js";
49
51
  import {
50
52
  useProductTags
51
- } from "./chunk-FPJLYWOU.js";
53
+ } from "./chunk-NYRRRCJS.js";
52
54
  import {
53
55
  useProductTypes
54
- } from "./chunk-VDWGP2U6.js";
55
- import {
56
- useCustomerGroups
57
- } from "./chunk-PADOWAXM.js";
56
+ } from "./chunk-VV6IKGCN.js";
58
57
  import {
59
58
  useCollections
60
- } from "./chunk-LWVBKUUL.js";
59
+ } from "./chunk-RL7SFZOF.js";
60
+ import {
61
+ useCustomerGroups
62
+ } from "./chunk-LWJF63JW.js";
61
63
  import {
62
64
  useProducts
63
- } from "./chunk-WPFTRRWV.js";
65
+ } from "./chunk-ZEVYT6IX.js";
64
66
 
65
67
  // src/pages/settings/tax-regions/_common/components/target-form.tsx
66
68
  import { Button, Checkbox } from "@medusajs/ui";
@@ -0,0 +1,177 @@
1
+ // src/components/common/file-upload/file-upload.tsx
2
+ import { ArrowDownTray, XMark } from "@medusajs/icons";
3
+ import { IconButton, Text, clx } from "@medusajs/ui";
4
+ import { useRef, useState } from "react";
5
+
6
+ // src/lib/format-file-size.ts
7
+ var formatFileSize = (bytes) => {
8
+ if (bytes === 0) return "0 B";
9
+ const units = ["B", "KB", "MB", "GB"];
10
+ const i = Math.floor(Math.log(bytes) / Math.log(1024));
11
+ return `${(bytes / Math.pow(1024, i)).toFixed(2)} ${units[i]}`;
12
+ };
13
+
14
+ // src/components/common/file-upload/file-upload.tsx
15
+ import { jsx, jsxs } from "react/jsx-runtime";
16
+ var FileUpload = ({
17
+ label,
18
+ hint,
19
+ multiple = true,
20
+ hasError,
21
+ formats,
22
+ onUploaded,
23
+ onRemove,
24
+ uploadedImage = "",
25
+ fileName,
26
+ fileSize
27
+ }) => {
28
+ const [isDragOver, setIsDragOver] = useState(false);
29
+ const inputRef = useRef(null);
30
+ const dropZoneRef = useRef(null);
31
+ const handleOpenFileSelector = () => {
32
+ inputRef.current?.click();
33
+ };
34
+ const handleDragEnter = (event) => {
35
+ event.preventDefault();
36
+ event.stopPropagation();
37
+ const files = event.dataTransfer?.files;
38
+ if (!files) {
39
+ return;
40
+ }
41
+ setIsDragOver(true);
42
+ };
43
+ const handleDragLeave = (event) => {
44
+ event.preventDefault();
45
+ event.stopPropagation();
46
+ if (!dropZoneRef.current || dropZoneRef.current.contains(event.relatedTarget)) {
47
+ return;
48
+ }
49
+ setIsDragOver(false);
50
+ };
51
+ const handleUploaded = (files) => {
52
+ if (!files) {
53
+ return;
54
+ }
55
+ const fileList = Array.from(files);
56
+ const fileObj = fileList.map((file) => {
57
+ const id = Math.random().toString(36).substring(7);
58
+ const previewUrl = URL.createObjectURL(file);
59
+ return {
60
+ id,
61
+ url: previewUrl,
62
+ file
63
+ };
64
+ });
65
+ onUploaded(fileObj);
66
+ };
67
+ const handleDrop = (event) => {
68
+ event.preventDefault();
69
+ event.stopPropagation();
70
+ setIsDragOver(false);
71
+ handleUploaded(event.dataTransfer?.files);
72
+ };
73
+ const handleFileChange = async (event) => {
74
+ handleUploaded(event.target.files);
75
+ };
76
+ const showFileRow = !multiple && uploadedImage;
77
+ if (showFileRow) {
78
+ return /* @__PURE__ */ jsxs("div", { children: [
79
+ /* @__PURE__ */ jsxs("div", { className: "bg-ui-bg-component shadow-borders-base flex items-center gap-x-3 rounded-lg p-3", children: [
80
+ /* @__PURE__ */ jsx("div", { className: "flex h-10 w-[30px] shrink-0 items-center justify-center overflow-hidden rounded-md", children: /* @__PURE__ */ jsx(
81
+ "img",
82
+ {
83
+ src: uploadedImage,
84
+ alt: fileName,
85
+ className: "h-full w-full object-cover"
86
+ }
87
+ ) }),
88
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col", children: [
89
+ /* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: fileName || "image" }),
90
+ fileSize != null && /* @__PURE__ */ jsx(
91
+ Text,
92
+ {
93
+ size: "small",
94
+ leading: "compact",
95
+ className: "text-ui-fg-subtle",
96
+ children: formatFileSize(fileSize)
97
+ }
98
+ )
99
+ ] }),
100
+ onRemove && /* @__PURE__ */ jsx(
101
+ IconButton,
102
+ {
103
+ type: "button",
104
+ variant: "transparent",
105
+ size: "small",
106
+ onClick: onRemove,
107
+ children: /* @__PURE__ */ jsx(XMark, {})
108
+ }
109
+ )
110
+ ] }),
111
+ /* @__PURE__ */ jsx(
112
+ "input",
113
+ {
114
+ hidden: true,
115
+ ref: inputRef,
116
+ onChange: handleFileChange,
117
+ type: "file",
118
+ accept: formats.join(","),
119
+ multiple: false
120
+ }
121
+ )
122
+ ] });
123
+ }
124
+ return /* @__PURE__ */ jsxs("div", { children: [
125
+ /* @__PURE__ */ jsxs(
126
+ "button",
127
+ {
128
+ ref: dropZoneRef,
129
+ type: "button",
130
+ onClick: handleOpenFileSelector,
131
+ onDrop: handleDrop,
132
+ onDragOver: (e) => e.preventDefault(),
133
+ onDragEnter: handleDragEnter,
134
+ onDragLeave: handleDragLeave,
135
+ className: clx(
136
+ "bg-ui-bg-component border-ui-border-strong transition-fg group flex w-full flex-col items-center gap-y-2 rounded-lg border border-dashed p-8",
137
+ "hover:border-ui-border-interactive focus:border-ui-border-interactive",
138
+ "focus:shadow-borders-focus outline-none focus:border-solid",
139
+ {
140
+ "!border-ui-border-error": hasError,
141
+ "!border-ui-border-interactive": isDragOver
142
+ }
143
+ ),
144
+ children: [
145
+ /* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle group-disabled:text-ui-fg-disabled flex items-center gap-x-2", children: [
146
+ /* @__PURE__ */ jsx(ArrowDownTray, {}),
147
+ /* @__PURE__ */ jsx(Text, { children: label })
148
+ ] }),
149
+ !!hint && /* @__PURE__ */ jsx(
150
+ Text,
151
+ {
152
+ size: "small",
153
+ leading: "compact",
154
+ className: "text-ui-fg-muted group-disabled:text-ui-fg-disabled",
155
+ children: hint
156
+ }
157
+ )
158
+ ]
159
+ }
160
+ ),
161
+ /* @__PURE__ */ jsx(
162
+ "input",
163
+ {
164
+ hidden: true,
165
+ ref: inputRef,
166
+ onChange: handleFileChange,
167
+ type: "file",
168
+ accept: formats.join(","),
169
+ multiple
170
+ }
171
+ )
172
+ ] });
173
+ };
174
+
175
+ export {
176
+ FileUpload
177
+ };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  shippingOptionsQueryKeys
3
- } from "./chunk-JKXAL7WR.js";
3
+ } from "./chunk-VXMOPVRH.js";
4
4
  import {
5
5
  stockLocationsQueryKeys
6
- } from "./chunk-SI4ALL7W.js";
6
+ } from "./chunk-NBPMNUKZ.js";
7
7
  import {
8
8
  queryClient
9
9
  } from "./chunk-RHKRREUU.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZA2KFUFR.js";
13
13
  import {
14
14
  sdk
15
- } from "./chunk-Y224F4UU.js";
15
+ } from "./chunk-RIN4CBRB.js";
16
16
 
17
17
  // src/hooks/api/fulfillment-sets.tsx
18
18
  import {
@@ -8,15 +8,15 @@ import {
8
8
  import {
9
9
  getCountryByIso2
10
10
  } from "./chunk-JRTZWK77.js";
11
- import {
12
- ActionMenu
13
- } from "./chunk-BDGZ4EQO.js";
14
11
  import {
15
12
  useDeleteTaxRate
16
- } from "./chunk-VGJTARSA.js";
13
+ } from "./chunk-LRARA622.js";
17
14
  import {
18
15
  useDeleteTaxRegion
19
- } from "./chunk-DYUTYBAQ.js";
16
+ } from "./chunk-M6N4ISXL.js";
17
+ import {
18
+ ActionMenu
19
+ } from "./chunk-BDGZ4EQO.js";
20
20
 
21
21
  // src/pages/settings/tax-regions/_common/components/tax-region-card.tsx
22
22
  import { Heading, Text, Tooltip, clx } from "@medusajs/ui";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  _DataTable,
6
6
  useDataTable
7
- } from "./chunk-WHTS4G5K.js";
7
+ } from "./chunk-QXUKJDZB.js";
8
8
  import {
9
9
  StackedFocusModal,
10
10
  useStackedModal
@@ -0,0 +1,57 @@
1
+ import {
2
+ queryClient
3
+ } from "./chunk-RHKRREUU.js";
4
+ import {
5
+ queryKeysFactory
6
+ } from "./chunk-ZA2KFUFR.js";
7
+ import {
8
+ sdk
9
+ } from "./chunk-RIN4CBRB.js";
10
+
11
+ // src/hooks/api/invites.tsx
12
+ import {
13
+ useMutation,
14
+ useQuery
15
+ } from "@tanstack/react-query";
16
+ var INVITES_QUERY_KEY = "invites";
17
+ var invitesQueryKeys = queryKeysFactory(INVITES_QUERY_KEY);
18
+ var useInvites = (sellerId, query, options) => {
19
+ const { data, ...rest } = useQuery({
20
+ queryFn: () => sdk.vendor.sellers.$id.members.invites.query({
21
+ $id: sellerId,
22
+ ...query
23
+ }),
24
+ queryKey: invitesQueryKeys.list({ sellerId, ...query }),
25
+ ...options
26
+ });
27
+ return { ...data, ...rest };
28
+ };
29
+ var useAcceptInvite = (options) => {
30
+ return useMutation({
31
+ mutationFn: (payload) => sdk.vendor.members.invites.accept.mutate({
32
+ invite_token: payload.invite_token,
33
+ fetchOptions: {
34
+ headers: {
35
+ Authorization: `Bearer ${payload.auth_token}`
36
+ }
37
+ }
38
+ }),
39
+ ...options
40
+ });
41
+ };
42
+ var useCreateInvite = (sellerId, options) => {
43
+ return useMutation({
44
+ mutationFn: (payload) => sdk.vendor.sellers.$id.members.mutate({ $id: sellerId, ...payload }),
45
+ onSuccess: (data, variables, context) => {
46
+ queryClient.invalidateQueries({ queryKey: invitesQueryKeys.lists() });
47
+ options?.onSuccess?.(data, variables, context);
48
+ },
49
+ ...options
50
+ });
51
+ };
52
+
53
+ export {
54
+ useInvites,
55
+ useAcceptInvite,
56
+ useCreateInvite
57
+ };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PHOCVOZ5.js";
4
4
  import {
5
5
  useDate
6
- } from "./chunk-CFETU5BI.js";
6
+ } from "./chunk-LRD242C7.js";
7
7
 
8
8
  // src/components/table/table-cells/common/date-cell/date-cell.tsx
9
9
  import { Tooltip } from "@medusajs/ui";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useProductTagTableColumns
3
- } from "./chunk-R65A4P4H.js";
3
+ } from "./chunk-N335VHD3.js";
4
4
  import {
5
5
  useProductTagTableQuery
6
- } from "./chunk-O6PRBSFL.js";
6
+ } from "./chunk-BI2AYXZQ.js";
7
7
  import {
8
8
  useProductTagTableFilters
9
9
  } from "./chunk-HHD2VUED.js";
10
10
  import {
11
11
  _DataTable,
12
12
  useDataTable
13
- } from "./chunk-WHTS4G5K.js";
13
+ } from "./chunk-QXUKJDZB.js";
14
14
  import {
15
15
  SingleColumnPage
16
16
  } from "./chunk-RM5RSDYP.js";
17
17
  import {
18
18
  useProductTags
19
- } from "./chunk-FPJLYWOU.js";
19
+ } from "./chunk-NYRRRCJS.js";
20
20
 
21
21
  // src/pages/settings/product-tags/product-tag-list-page.tsx
22
22
  import { Children as Children3 } from "react";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useDebouncedSearch
3
3
  } from "./chunk-OVPAOBZB.js";
4
+ import {
5
+ useProductCategories
6
+ } from "./chunk-RUE5BPC2.js";
4
7
  import {
5
8
  TextSkeleton
6
9
  } from "./chunk-INNFZYX2.js";
7
- import {
8
- useProductCategories
9
- } from "./chunk-VJTYMQVA.js";
10
10
 
11
11
  // src/pages/products/common/components/category-combobox/category-combobox.tsx
12
12
  import {
@@ -32,7 +32,7 @@ import { Trans, useTranslation } from "react-i18next";
32
32
  import { jsx, jsxs } from "react/jsx-runtime";
33
33
  var TABLUAR_NUM_WIDTH = 8;
34
34
  var TAG_BASE_WIDTH = 28;
35
- var CategoryCombobox = forwardRef(({ value, onChange, className, ...props }, ref) => {
35
+ var CategoryCombobox = forwardRef(({ value, onChange, className, isSingleSelect, allowClear, ...props }, ref) => {
36
36
  const innerRef = useRef(null);
37
37
  useImperativeHandle(
38
38
  ref,
@@ -0,0 +1,45 @@
1
+ import {
2
+ queryKeysFactory
3
+ } from "./chunk-ZA2KFUFR.js";
4
+ import {
5
+ sdk
6
+ } from "./chunk-RIN4CBRB.js";
7
+
8
+ // src/hooks/api/price-preferences.tsx
9
+ import {
10
+ useMutation,
11
+ useQuery
12
+ } from "@tanstack/react-query";
13
+ var PRICE_PREFERENCES_QUERY_KEY = "price-preferences";
14
+ var pricePreferencesQueryKeys = queryKeysFactory(
15
+ PRICE_PREFERENCES_QUERY_KEY
16
+ );
17
+ var usePricePreferences = (query, options) => {
18
+ const { data, ...rest } = useQuery({
19
+ queryFn: () => sdk.vendor.pricePreferences.query({ ...query }),
20
+ queryKey: pricePreferencesQueryKeys.list(query),
21
+ ...options
22
+ });
23
+ return { ...data, ...rest };
24
+ };
25
+
26
+ // src/hooks/api/regions.tsx
27
+ import {
28
+ useMutation as useMutation2,
29
+ useQuery as useQuery2
30
+ } from "@tanstack/react-query";
31
+ var REGIONS_QUERY_KEY = "regions";
32
+ var regionsQueryKeys = queryKeysFactory(REGIONS_QUERY_KEY);
33
+ var useRegions = (query, options) => {
34
+ const { data, ...rest } = useQuery2({
35
+ queryFn: () => sdk.vendor.regions.query({ ...query }),
36
+ queryKey: regionsQueryKeys.list(query),
37
+ ...options
38
+ });
39
+ return { ...data, ...rest };
40
+ };
41
+
42
+ export {
43
+ usePricePreferences,
44
+ useRegions
45
+ };
@@ -51,6 +51,7 @@ var ComboboxImpl = ({
51
51
  fetchNextPage,
52
52
  isFetchingNextPage,
53
53
  onCreateOption,
54
+ hideCreateOption,
54
55
  noResultsPlaceholder,
55
56
  allowClear,
56
57
  forceHideInput,
@@ -135,6 +136,14 @@ var ComboboxImpl = ({
135
136
  );
136
137
  const handleOpenChange = (open2) => {
137
138
  if (!open2) {
139
+ if (hideCreateOption && onCreateOption && uncontrolledSearchValue.trim()) {
140
+ const matchesExisting = options.some(
141
+ (o) => o.label?.toLowerCase() === uncontrolledSearchValue.trim().toLowerCase()
142
+ );
143
+ if (!matchesExisting) {
144
+ onCreateOption(uncontrolledSearchValue.trim());
145
+ }
146
+ }
138
147
  setUncontrolledSearchValue("");
139
148
  }
140
149
  setOpen(open2);
@@ -143,7 +152,7 @@ var ComboboxImpl = ({
143
152
  const showTag = hasValue && isArrayValue;
144
153
  const showSelected = showTag && !searchValue && !open;
145
154
  const hideInput = forceHideInput || !isArrayValue && hasValue && !open;
146
- const selectedLabel = options.find((o) => o.value === selectedValues)?.label;
155
+ const selectedLabel = options.find((o) => o.value === selectedValues)?.label || (typeof selectedValues === "string" ? selectedValues : void 0);
147
156
  const hidePlaceholder = showSelected || open;
148
157
  const tagWidth = useMemo(() => {
149
158
  if (!Array.isArray(selectedValues)) {
@@ -311,8 +320,8 @@ var ComboboxImpl = ({
311
320
  }
312
321
  ),
313
322
  children: [
314
- /* @__PURE__ */ jsx(PrimitiveComboboxItemCheck, { className: "flex !size-5 items-center justify-center", children: isArrayValue ? /* @__PURE__ */ jsx(CheckMini, {}) : /* @__PURE__ */ jsx(EllipseMiniSolid, {}) }),
315
- /* @__PURE__ */ jsx(PrimitiveComboboxItemValue, { className: "txt-compact-small", children: label })
323
+ /* @__PURE__ */ jsx(PrimitiveComboboxItemCheck, { className: "flex !size-5 shrink-0 items-center justify-center", children: isArrayValue ? /* @__PURE__ */ jsx(CheckMini, {}) : /* @__PURE__ */ jsx(EllipseMiniSolid, {}) }),
324
+ /* @__PURE__ */ jsx(PrimitiveComboboxItemValue, { className: "txt-compact-small truncate", children: label })
316
325
  ]
317
326
  },
318
327
  value
@@ -328,7 +337,7 @@ var ComboboxImpl = ({
328
337
  children: t("general.noResultsTitle")
329
338
  }
330
339
  ) })),
331
- !results.length && onCreateOption && /* @__PURE__ */ jsxs(Fragment, { children: [
340
+ !results.length && onCreateOption && !hideCreateOption && /* @__PURE__ */ jsxs(Fragment, { children: [
332
341
  /* @__PURE__ */ jsx(PrimitiveSeparator, { className: "bg-ui-border-base -mx-1" }),
333
342
  /* @__PURE__ */ jsxs(
334
343
  PrimitiveComboboxItem,