@element-plus/nightly 0.0.20241117 → 0.0.20241118

Sign up to get free protection for your applications and to get access to all the features.
Files changed (362) hide show
  1. package/dist/index.full.js +2 -2
  2. package/dist/index.full.min.js +2 -2
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +2 -2
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +2 -2
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hr.js +1 -1
  92. package/dist/locale/hr.min.js +1 -1
  93. package/dist/locale/hr.min.mjs +1 -1
  94. package/dist/locale/hr.mjs +1 -1
  95. package/dist/locale/hu.js +1 -1
  96. package/dist/locale/hu.min.js +1 -1
  97. package/dist/locale/hu.min.mjs +1 -1
  98. package/dist/locale/hu.mjs +1 -1
  99. package/dist/locale/hy-am.js +1 -1
  100. package/dist/locale/hy-am.min.js +1 -1
  101. package/dist/locale/hy-am.min.mjs +1 -1
  102. package/dist/locale/hy-am.mjs +1 -1
  103. package/dist/locale/id.js +1 -1
  104. package/dist/locale/id.min.js +1 -1
  105. package/dist/locale/id.min.mjs +1 -1
  106. package/dist/locale/id.mjs +1 -1
  107. package/dist/locale/it.js +1 -1
  108. package/dist/locale/it.min.js +1 -1
  109. package/dist/locale/it.min.mjs +1 -1
  110. package/dist/locale/it.mjs +1 -1
  111. package/dist/locale/ja.js +1 -1
  112. package/dist/locale/ja.min.js +1 -1
  113. package/dist/locale/ja.min.mjs +1 -1
  114. package/dist/locale/ja.mjs +1 -1
  115. package/dist/locale/kk.js +1 -1
  116. package/dist/locale/kk.min.js +1 -1
  117. package/dist/locale/kk.min.mjs +1 -1
  118. package/dist/locale/kk.mjs +1 -1
  119. package/dist/locale/km.js +1 -1
  120. package/dist/locale/km.min.js +1 -1
  121. package/dist/locale/km.min.mjs +1 -1
  122. package/dist/locale/km.mjs +1 -1
  123. package/dist/locale/ko.js +1 -1
  124. package/dist/locale/ko.min.js +1 -1
  125. package/dist/locale/ko.min.mjs +1 -1
  126. package/dist/locale/ko.mjs +1 -1
  127. package/dist/locale/ku.js +1 -1
  128. package/dist/locale/ku.min.js +1 -1
  129. package/dist/locale/ku.min.mjs +1 -1
  130. package/dist/locale/ku.mjs +1 -1
  131. package/dist/locale/ky.js +1 -1
  132. package/dist/locale/ky.min.js +1 -1
  133. package/dist/locale/ky.min.mjs +1 -1
  134. package/dist/locale/ky.mjs +1 -1
  135. package/dist/locale/lt.js +1 -1
  136. package/dist/locale/lt.min.js +1 -1
  137. package/dist/locale/lt.min.mjs +1 -1
  138. package/dist/locale/lt.mjs +1 -1
  139. package/dist/locale/lv.js +1 -1
  140. package/dist/locale/lv.min.js +1 -1
  141. package/dist/locale/lv.min.mjs +1 -1
  142. package/dist/locale/lv.mjs +1 -1
  143. package/dist/locale/mg.js +1 -1
  144. package/dist/locale/mg.min.js +1 -1
  145. package/dist/locale/mg.min.mjs +1 -1
  146. package/dist/locale/mg.mjs +1 -1
  147. package/dist/locale/mn.js +1 -1
  148. package/dist/locale/mn.min.js +1 -1
  149. package/dist/locale/mn.min.mjs +1 -1
  150. package/dist/locale/mn.mjs +1 -1
  151. package/dist/locale/my.js +1 -1
  152. package/dist/locale/my.min.js +1 -1
  153. package/dist/locale/my.min.mjs +1 -1
  154. package/dist/locale/my.mjs +1 -1
  155. package/dist/locale/nb-no.js +1 -1
  156. package/dist/locale/nb-no.min.js +1 -1
  157. package/dist/locale/nb-no.min.mjs +1 -1
  158. package/dist/locale/nb-no.mjs +1 -1
  159. package/dist/locale/nl.js +1 -1
  160. package/dist/locale/nl.min.js +1 -1
  161. package/dist/locale/nl.min.mjs +1 -1
  162. package/dist/locale/nl.mjs +1 -1
  163. package/dist/locale/pa.js +1 -1
  164. package/dist/locale/pa.min.js +1 -1
  165. package/dist/locale/pa.min.mjs +1 -1
  166. package/dist/locale/pa.mjs +1 -1
  167. package/dist/locale/pl.js +1 -1
  168. package/dist/locale/pl.min.js +1 -1
  169. package/dist/locale/pl.min.mjs +1 -1
  170. package/dist/locale/pl.mjs +1 -1
  171. package/dist/locale/pt-br.js +1 -1
  172. package/dist/locale/pt-br.min.js +1 -1
  173. package/dist/locale/pt-br.min.mjs +1 -1
  174. package/dist/locale/pt-br.mjs +1 -1
  175. package/dist/locale/pt.js +1 -1
  176. package/dist/locale/pt.min.js +1 -1
  177. package/dist/locale/pt.min.mjs +1 -1
  178. package/dist/locale/pt.mjs +1 -1
  179. package/dist/locale/ro.js +1 -1
  180. package/dist/locale/ro.min.js +1 -1
  181. package/dist/locale/ro.min.mjs +1 -1
  182. package/dist/locale/ro.mjs +1 -1
  183. package/dist/locale/ru.js +1 -1
  184. package/dist/locale/ru.min.js +1 -1
  185. package/dist/locale/ru.min.mjs +1 -1
  186. package/dist/locale/ru.mjs +1 -1
  187. package/dist/locale/sk.js +1 -1
  188. package/dist/locale/sk.min.js +1 -1
  189. package/dist/locale/sk.min.mjs +1 -1
  190. package/dist/locale/sk.mjs +1 -1
  191. package/dist/locale/sl.js +1 -1
  192. package/dist/locale/sl.min.js +1 -1
  193. package/dist/locale/sl.min.mjs +1 -1
  194. package/dist/locale/sl.mjs +1 -1
  195. package/dist/locale/sr.js +1 -1
  196. package/dist/locale/sr.min.js +1 -1
  197. package/dist/locale/sr.min.mjs +1 -1
  198. package/dist/locale/sr.mjs +1 -1
  199. package/dist/locale/sv.js +1 -1
  200. package/dist/locale/sv.min.js +1 -1
  201. package/dist/locale/sv.min.mjs +1 -1
  202. package/dist/locale/sv.mjs +1 -1
  203. package/dist/locale/sw.js +1 -1
  204. package/dist/locale/sw.min.js +1 -1
  205. package/dist/locale/sw.min.mjs +1 -1
  206. package/dist/locale/sw.mjs +1 -1
  207. package/dist/locale/ta.js +1 -1
  208. package/dist/locale/ta.min.js +1 -1
  209. package/dist/locale/ta.min.mjs +1 -1
  210. package/dist/locale/ta.mjs +1 -1
  211. package/dist/locale/th.js +1 -1
  212. package/dist/locale/th.min.js +1 -1
  213. package/dist/locale/th.min.mjs +1 -1
  214. package/dist/locale/th.mjs +1 -1
  215. package/dist/locale/tk.js +1 -1
  216. package/dist/locale/tk.min.js +1 -1
  217. package/dist/locale/tk.min.mjs +1 -1
  218. package/dist/locale/tk.mjs +1 -1
  219. package/dist/locale/tr.js +1 -1
  220. package/dist/locale/tr.min.js +1 -1
  221. package/dist/locale/tr.min.mjs +1 -1
  222. package/dist/locale/tr.mjs +1 -1
  223. package/dist/locale/ug-cn.js +1 -1
  224. package/dist/locale/ug-cn.min.js +1 -1
  225. package/dist/locale/ug-cn.min.mjs +1 -1
  226. package/dist/locale/ug-cn.mjs +1 -1
  227. package/dist/locale/uk.js +1 -1
  228. package/dist/locale/uk.min.js +1 -1
  229. package/dist/locale/uk.min.mjs +1 -1
  230. package/dist/locale/uk.mjs +1 -1
  231. package/dist/locale/uz-uz.js +1 -1
  232. package/dist/locale/uz-uz.min.js +1 -1
  233. package/dist/locale/uz-uz.min.mjs +1 -1
  234. package/dist/locale/uz-uz.mjs +1 -1
  235. package/dist/locale/vi.js +1 -1
  236. package/dist/locale/vi.min.js +1 -1
  237. package/dist/locale/vi.min.mjs +1 -1
  238. package/dist/locale/vi.mjs +1 -1
  239. package/dist/locale/zh-cn.js +1 -1
  240. package/dist/locale/zh-cn.min.js +1 -1
  241. package/dist/locale/zh-cn.min.mjs +1 -1
  242. package/dist/locale/zh-cn.mjs +1 -1
  243. package/dist/locale/zh-tw.js +1 -1
  244. package/dist/locale/zh-tw.min.js +1 -1
  245. package/dist/locale/zh-tw.min.mjs +1 -1
  246. package/dist/locale/zh-tw.mjs +1 -1
  247. package/es/components/col/index.mjs +2 -2
  248. package/es/components/col/src/col.mjs +43 -66
  249. package/es/components/col/src/col.mjs.map +1 -1
  250. package/es/components/col/src/col2.mjs +66 -43
  251. package/es/components/col/src/col2.mjs.map +1 -1
  252. package/es/components/dialog/src/dialog-content.mjs +89 -26
  253. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  254. package/es/components/dialog/src/dialog-content2.mjs +26 -89
  255. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  256. package/es/components/dialog/src/dialog.mjs +1 -1
  257. package/es/components/dialog/src/dialog2.mjs +1 -1
  258. package/es/components/index.mjs +8 -8
  259. package/es/components/notification/index.mjs +1 -1
  260. package/es/components/notification/src/notification.mjs +64 -145
  261. package/es/components/notification/src/notification.mjs.map +1 -1
  262. package/es/components/notification/src/notification2.mjs +145 -64
  263. package/es/components/notification/src/notification2.mjs.map +1 -1
  264. package/es/components/notification/src/notify.mjs +2 -2
  265. package/es/components/popper/index.mjs +2 -2
  266. package/es/components/popper/src/trigger.mjs +31 -132
  267. package/es/components/popper/src/trigger.mjs.map +1 -1
  268. package/es/components/popper/src/trigger2.mjs +132 -31
  269. package/es/components/popper/src/trigger2.mjs.map +1 -1
  270. package/es/components/progress/index.mjs +2 -2
  271. package/es/components/progress/src/progress.mjs +53 -208
  272. package/es/components/progress/src/progress.mjs.map +1 -1
  273. package/es/components/progress/src/progress2.mjs +208 -53
  274. package/es/components/progress/src/progress2.mjs.map +1 -1
  275. package/es/components/row/index.mjs +2 -2
  276. package/es/components/row/src/row.mjs +45 -29
  277. package/es/components/row/src/row.mjs.map +1 -1
  278. package/es/components/row/src/row2.mjs +29 -45
  279. package/es/components/row/src/row2.mjs.map +1 -1
  280. package/es/components/select/index.mjs +1 -1
  281. package/es/components/select/src/select.mjs +112 -421
  282. package/es/components/select/src/select.mjs.map +1 -1
  283. package/es/components/select/src/select2.mjs +421 -112
  284. package/es/components/select/src/select2.mjs.map +1 -1
  285. package/es/components/slider/index.mjs +2 -2
  286. package/es/components/slider/src/slider.mjs +90 -240
  287. package/es/components/slider/src/slider.mjs.map +1 -1
  288. package/es/components/slider/src/slider2.mjs +240 -90
  289. package/es/components/slider/src/slider2.mjs.map +1 -1
  290. package/es/components/tooltip/src/trigger.mjs +1 -1
  291. package/es/components/tooltip/src/trigger2.mjs +1 -1
  292. package/es/components/tour/index.mjs +1 -1
  293. package/es/components/tour/src/content.mjs +44 -68
  294. package/es/components/tour/src/content.mjs.map +1 -1
  295. package/es/components/tour/src/content2.mjs +68 -44
  296. package/es/components/tour/src/content2.mjs.map +1 -1
  297. package/es/components/tour/src/step.mjs +1 -1
  298. package/es/components/tour/src/tour.mjs +1 -1
  299. package/es/components/tour/src/tour2.mjs +1 -1
  300. package/es/index.mjs +8 -8
  301. package/es/version.d.ts +1 -1
  302. package/es/version.mjs +1 -1
  303. package/es/version.mjs.map +1 -1
  304. package/lib/components/col/index.js +2 -2
  305. package/lib/components/col/src/col.js +43 -66
  306. package/lib/components/col/src/col.js.map +1 -1
  307. package/lib/components/col/src/col2.js +66 -43
  308. package/lib/components/col/src/col2.js.map +1 -1
  309. package/lib/components/dialog/src/dialog-content.js +88 -26
  310. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  311. package/lib/components/dialog/src/dialog-content2.js +26 -88
  312. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  313. package/lib/components/dialog/src/dialog.js +1 -1
  314. package/lib/components/dialog/src/dialog2.js +1 -1
  315. package/lib/components/index.js +8 -8
  316. package/lib/components/notification/index.js +1 -1
  317. package/lib/components/notification/src/notification.js +65 -144
  318. package/lib/components/notification/src/notification.js.map +1 -1
  319. package/lib/components/notification/src/notification2.js +144 -65
  320. package/lib/components/notification/src/notification2.js.map +1 -1
  321. package/lib/components/notification/src/notify.js +2 -2
  322. package/lib/components/popper/index.js +2 -2
  323. package/lib/components/popper/src/trigger.js +32 -132
  324. package/lib/components/popper/src/trigger.js.map +1 -1
  325. package/lib/components/popper/src/trigger2.js +132 -32
  326. package/lib/components/popper/src/trigger2.js.map +1 -1
  327. package/lib/components/progress/index.js +2 -2
  328. package/lib/components/progress/src/progress.js +53 -208
  329. package/lib/components/progress/src/progress.js.map +1 -1
  330. package/lib/components/progress/src/progress2.js +208 -53
  331. package/lib/components/progress/src/progress2.js.map +1 -1
  332. package/lib/components/row/index.js +2 -2
  333. package/lib/components/row/src/row.js +45 -31
  334. package/lib/components/row/src/row.js.map +1 -1
  335. package/lib/components/row/src/row2.js +31 -45
  336. package/lib/components/row/src/row2.js.map +1 -1
  337. package/lib/components/select/index.js +1 -1
  338. package/lib/components/select/src/select.js +112 -421
  339. package/lib/components/select/src/select.js.map +1 -1
  340. package/lib/components/select/src/select2.js +421 -112
  341. package/lib/components/select/src/select2.js.map +1 -1
  342. package/lib/components/slider/index.js +2 -2
  343. package/lib/components/slider/src/slider.js +91 -240
  344. package/lib/components/slider/src/slider.js.map +1 -1
  345. package/lib/components/slider/src/slider2.js +240 -91
  346. package/lib/components/slider/src/slider2.js.map +1 -1
  347. package/lib/components/tooltip/src/trigger.js +1 -1
  348. package/lib/components/tooltip/src/trigger2.js +1 -1
  349. package/lib/components/tour/index.js +1 -1
  350. package/lib/components/tour/src/content.js +47 -68
  351. package/lib/components/tour/src/content.js.map +1 -1
  352. package/lib/components/tour/src/content2.js +68 -47
  353. package/lib/components/tour/src/content2.js.map +1 -1
  354. package/lib/components/tour/src/step.js +1 -1
  355. package/lib/components/tour/src/tour.js +1 -1
  356. package/lib/components/tour/src/tour2.js +1 -1
  357. package/lib/index.js +8 -8
  358. package/lib/version.d.ts +1 -1
  359. package/lib/version.js +1 -1
  360. package/lib/version.js.map +1 -1
  361. package/package.json +2 -2
  362. package/web-types.json +1 -1
@@ -1,427 +1,118 @@
1
- import { defineComponent, computed, reactive, toRefs, provide, resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, toHandlerKey, createVNode, withCtx, createElementVNode, withModifiers, renderSlot, createCommentVNode, Fragment, renderList, normalizeStyle, createTextVNode, toDisplayString, createBlock, withKeys, vModelText, resolveDynamicComponent, vShow } from 'vue';
2
- import '../../../directives/index.mjs';
3
- import { ElTooltip } from '../../tooltip/index.mjs';
4
- import { ElScrollbar } from '../../scrollbar/index.mjs';
5
- import { ElTag } from '../../tag/index.mjs';
6
- import { ElIcon } from '../../icon/index.mjs';
7
- import '../../../constants/index.mjs';
1
+ import { placements } from '@popperjs/core';
2
+ import '../../../hooks/index.mjs';
8
3
  import '../../../utils/index.mjs';
9
- import Option from './option.mjs';
10
- import ElSelectMenu from './select-dropdown.mjs';
11
- import { useSelect } from './useSelect.mjs';
12
- import { selectKey } from './token.mjs';
13
- import ElOptions from './options.mjs';
14
- import { SelectProps } from './select2.mjs';
15
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
16
- import ClickOutside from '../../../directives/click-outside/index.mjs';
17
- import { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';
18
- import { isArray } from '@vue/shared';
4
+ import '../../tooltip/index.mjs';
5
+ import { CircleClose, ArrowDown } from '@element-plus/icons-vue';
6
+ import '../../tag/index.mjs';
7
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
8
+ import { useSizeProp } from '../../../hooks/use-size/index.mjs';
9
+ import { useTooltipContentProps } from '../../tooltip/src/content.mjs';
10
+ import { iconPropType } from '../../../utils/vue/icon.mjs';
11
+ import { tagProps } from '../../tag/src/tag.mjs';
12
+ import { useEmptyValuesProps } from '../../../hooks/use-empty-values/index.mjs';
13
+ import { useAriaProps } from '../../../hooks/use-aria/index.mjs';
19
14
 
20
- const COMPONENT_NAME = "ElSelect";
21
- const _sfc_main = defineComponent({
22
- name: COMPONENT_NAME,
23
- componentName: COMPONENT_NAME,
24
- components: {
25
- ElSelectMenu,
26
- ElOption: Option,
27
- ElOptions,
28
- ElTag,
29
- ElScrollbar,
30
- ElTooltip,
31
- ElIcon
15
+ const SelectProps = buildProps({
16
+ name: String,
17
+ id: String,
18
+ modelValue: {
19
+ type: [Array, String, Number, Boolean, Object],
20
+ default: void 0
32
21
  },
33
- directives: { ClickOutside },
34
- props: SelectProps,
35
- emits: [
36
- UPDATE_MODEL_EVENT,
37
- CHANGE_EVENT,
38
- "remove-tag",
39
- "clear",
40
- "visible-change",
41
- "focus",
42
- "blur"
43
- ],
44
- setup(props, { emit }) {
45
- const modelValue = computed(() => {
46
- const { modelValue: rawModelValue, multiple } = props;
47
- const fallback = multiple ? [] : void 0;
48
- if (isArray(rawModelValue)) {
49
- return multiple ? rawModelValue : fallback;
50
- }
51
- return multiple ? fallback : rawModelValue;
52
- });
53
- const _props = reactive({
54
- ...toRefs(props),
55
- modelValue
56
- });
57
- const API = useSelect(_props, emit);
58
- provide(selectKey, reactive({
59
- props: _props,
60
- states: API.states,
61
- optionsArray: API.optionsArray,
62
- handleOptionSelect: API.handleOptionSelect,
63
- onOptionCreate: API.onOptionCreate,
64
- onOptionDestroy: API.onOptionDestroy,
65
- selectRef: API.selectRef,
66
- setSelected: API.setSelected
67
- }));
68
- const selectedLabel = computed(() => {
69
- if (!props.multiple) {
70
- return API.states.selectedLabel;
71
- }
72
- return API.states.selected.map((i) => i.currentLabel);
73
- });
74
- return {
75
- ...API,
76
- modelValue,
77
- selectedLabel
78
- };
79
- }
22
+ autocomplete: {
23
+ type: String,
24
+ default: "off"
25
+ },
26
+ automaticDropdown: Boolean,
27
+ size: useSizeProp,
28
+ effect: {
29
+ type: definePropType(String),
30
+ default: "light"
31
+ },
32
+ disabled: Boolean,
33
+ clearable: Boolean,
34
+ filterable: Boolean,
35
+ allowCreate: Boolean,
36
+ loading: Boolean,
37
+ popperClass: {
38
+ type: String,
39
+ default: ""
40
+ },
41
+ popperOptions: {
42
+ type: definePropType(Object),
43
+ default: () => ({})
44
+ },
45
+ remote: Boolean,
46
+ loadingText: String,
47
+ noMatchText: String,
48
+ noDataText: String,
49
+ remoteMethod: Function,
50
+ filterMethod: Function,
51
+ multiple: Boolean,
52
+ multipleLimit: {
53
+ type: Number,
54
+ default: 0
55
+ },
56
+ placeholder: {
57
+ type: String
58
+ },
59
+ defaultFirstOption: Boolean,
60
+ reserveKeyword: {
61
+ type: Boolean,
62
+ default: true
63
+ },
64
+ valueKey: {
65
+ type: String,
66
+ default: "value"
67
+ },
68
+ collapseTags: Boolean,
69
+ collapseTagsTooltip: Boolean,
70
+ maxCollapseTags: {
71
+ type: Number,
72
+ default: 1
73
+ },
74
+ teleported: useTooltipContentProps.teleported,
75
+ persistent: {
76
+ type: Boolean,
77
+ default: true
78
+ },
79
+ clearIcon: {
80
+ type: iconPropType,
81
+ default: CircleClose
82
+ },
83
+ fitInputWidth: Boolean,
84
+ suffixIcon: {
85
+ type: iconPropType,
86
+ default: ArrowDown
87
+ },
88
+ tagType: { ...tagProps.type, default: "info" },
89
+ tagEffect: { ...tagProps.effect, default: "light" },
90
+ validateEvent: {
91
+ type: Boolean,
92
+ default: true
93
+ },
94
+ remoteShowSuffix: Boolean,
95
+ showArrow: {
96
+ type: Boolean,
97
+ default: true
98
+ },
99
+ offset: {
100
+ type: Number,
101
+ default: 12
102
+ },
103
+ placement: {
104
+ type: definePropType(String),
105
+ values: placements,
106
+ default: "bottom-start"
107
+ },
108
+ fallbackPlacements: {
109
+ type: definePropType(Array),
110
+ default: ["bottom-start", "top-start", "right", "left"]
111
+ },
112
+ appendTo: String,
113
+ ...useEmptyValuesProps,
114
+ ...useAriaProps(["ariaLabel"])
80
115
  });
81
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
82
- const _component_el_tag = resolveComponent("el-tag");
83
- const _component_el_tooltip = resolveComponent("el-tooltip");
84
- const _component_el_icon = resolveComponent("el-icon");
85
- const _component_el_option = resolveComponent("el-option");
86
- const _component_el_options = resolveComponent("el-options");
87
- const _component_el_scrollbar = resolveComponent("el-scrollbar");
88
- const _component_el_select_menu = resolveComponent("el-select-menu");
89
- const _directive_click_outside = resolveDirective("click-outside");
90
- return withDirectives((openBlock(), createElementBlock("div", {
91
- ref: "selectRef",
92
- class: normalizeClass([_ctx.nsSelect.b(), _ctx.nsSelect.m(_ctx.selectSize)]),
93
- [toHandlerKey(_ctx.mouseEnterEventName)]: ($event) => _ctx.states.inputHovering = true,
94
- onMouseleave: ($event) => _ctx.states.inputHovering = false
95
- }, [
96
- createVNode(_component_el_tooltip, {
97
- ref: "tooltipRef",
98
- visible: _ctx.dropdownMenuVisible,
99
- placement: _ctx.placement,
100
- teleported: _ctx.teleported,
101
- "popper-class": [_ctx.nsSelect.e("popper"), _ctx.popperClass],
102
- "popper-options": _ctx.popperOptions,
103
- "fallback-placements": _ctx.fallbackPlacements,
104
- effect: _ctx.effect,
105
- pure: "",
106
- trigger: "click",
107
- transition: `${_ctx.nsSelect.namespace.value}-zoom-in-top`,
108
- "stop-popper-mouse-event": false,
109
- "gpu-acceleration": false,
110
- persistent: _ctx.persistent,
111
- "append-to": _ctx.appendTo,
112
- "show-arrow": _ctx.showArrow,
113
- offset: _ctx.offset,
114
- onBeforeShow: _ctx.handleMenuEnter,
115
- onHide: ($event) => _ctx.states.isBeforeHide = false
116
- }, {
117
- default: withCtx(() => {
118
- var _a;
119
- return [
120
- createElementVNode("div", {
121
- ref: "wrapperRef",
122
- class: normalizeClass([
123
- _ctx.nsSelect.e("wrapper"),
124
- _ctx.nsSelect.is("focused", _ctx.isFocused),
125
- _ctx.nsSelect.is("hovering", _ctx.states.inputHovering),
126
- _ctx.nsSelect.is("filterable", _ctx.filterable),
127
- _ctx.nsSelect.is("disabled", _ctx.selectDisabled)
128
- ]),
129
- onClick: withModifiers(_ctx.toggleMenu, ["prevent"])
130
- }, [
131
- _ctx.$slots.prefix ? (openBlock(), createElementBlock("div", {
132
- key: 0,
133
- ref: "prefixRef",
134
- class: normalizeClass(_ctx.nsSelect.e("prefix"))
135
- }, [
136
- renderSlot(_ctx.$slots, "prefix")
137
- ], 2)) : createCommentVNode("v-if", true),
138
- createElementVNode("div", {
139
- ref: "selectionRef",
140
- class: normalizeClass([
141
- _ctx.nsSelect.e("selection"),
142
- _ctx.nsSelect.is("near", _ctx.multiple && !_ctx.$slots.prefix && !!_ctx.states.selected.length)
143
- ])
144
- }, [
145
- _ctx.multiple ? renderSlot(_ctx.$slots, "tag", { key: 0 }, () => [
146
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.showTagList, (item) => {
147
- return openBlock(), createElementBlock("div", {
148
- key: _ctx.getValueKey(item),
149
- class: normalizeClass(_ctx.nsSelect.e("selected-item"))
150
- }, [
151
- createVNode(_component_el_tag, {
152
- closable: !_ctx.selectDisabled && !item.isDisabled,
153
- size: _ctx.collapseTagSize,
154
- type: _ctx.tagType,
155
- effect: _ctx.tagEffect,
156
- "disable-transitions": "",
157
- style: normalizeStyle(_ctx.tagStyle),
158
- onClose: ($event) => _ctx.deleteTag($event, item)
159
- }, {
160
- default: withCtx(() => [
161
- createElementVNode("span", {
162
- class: normalizeClass(_ctx.nsSelect.e("tags-text"))
163
- }, [
164
- renderSlot(_ctx.$slots, "label", {
165
- label: item.currentLabel,
166
- value: item.value
167
- }, () => [
168
- createTextVNode(toDisplayString(item.currentLabel), 1)
169
- ])
170
- ], 2)
171
- ]),
172
- _: 2
173
- }, 1032, ["closable", "size", "type", "effect", "style", "onClose"])
174
- ], 2);
175
- }), 128)),
176
- _ctx.collapseTags && _ctx.states.selected.length > _ctx.maxCollapseTags ? (openBlock(), createBlock(_component_el_tooltip, {
177
- key: 0,
178
- ref: "tagTooltipRef",
179
- disabled: _ctx.dropdownMenuVisible || !_ctx.collapseTagsTooltip,
180
- "fallback-placements": ["bottom", "top", "right", "left"],
181
- effect: _ctx.effect,
182
- placement: "bottom",
183
- teleported: _ctx.teleported
184
- }, {
185
- default: withCtx(() => [
186
- createElementVNode("div", {
187
- ref: "collapseItemRef",
188
- class: normalizeClass(_ctx.nsSelect.e("selected-item"))
189
- }, [
190
- createVNode(_component_el_tag, {
191
- closable: false,
192
- size: _ctx.collapseTagSize,
193
- type: _ctx.tagType,
194
- effect: _ctx.tagEffect,
195
- "disable-transitions": "",
196
- style: normalizeStyle(_ctx.collapseTagStyle)
197
- }, {
198
- default: withCtx(() => [
199
- createElementVNode("span", {
200
- class: normalizeClass(_ctx.nsSelect.e("tags-text"))
201
- }, " + " + toDisplayString(_ctx.states.selected.length - _ctx.maxCollapseTags), 3)
202
- ]),
203
- _: 1
204
- }, 8, ["size", "type", "effect", "style"])
205
- ], 2)
206
- ]),
207
- content: withCtx(() => [
208
- createElementVNode("div", {
209
- ref: "tagMenuRef",
210
- class: normalizeClass(_ctx.nsSelect.e("selection"))
211
- }, [
212
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.collapseTagList, (item) => {
213
- return openBlock(), createElementBlock("div", {
214
- key: _ctx.getValueKey(item),
215
- class: normalizeClass(_ctx.nsSelect.e("selected-item"))
216
- }, [
217
- createVNode(_component_el_tag, {
218
- class: "in-tooltip",
219
- closable: !_ctx.selectDisabled && !item.isDisabled,
220
- size: _ctx.collapseTagSize,
221
- type: _ctx.tagType,
222
- effect: _ctx.tagEffect,
223
- "disable-transitions": "",
224
- onClose: ($event) => _ctx.deleteTag($event, item)
225
- }, {
226
- default: withCtx(() => [
227
- createElementVNode("span", {
228
- class: normalizeClass(_ctx.nsSelect.e("tags-text"))
229
- }, [
230
- renderSlot(_ctx.$slots, "label", {
231
- label: item.currentLabel,
232
- value: item.value
233
- }, () => [
234
- createTextVNode(toDisplayString(item.currentLabel), 1)
235
- ])
236
- ], 2)
237
- ]),
238
- _: 2
239
- }, 1032, ["closable", "size", "type", "effect", "onClose"])
240
- ], 2);
241
- }), 128))
242
- ], 2)
243
- ]),
244
- _: 3
245
- }, 8, ["disabled", "effect", "teleported"])) : createCommentVNode("v-if", true)
246
- ]) : createCommentVNode("v-if", true),
247
- !_ctx.selectDisabled ? (openBlock(), createElementBlock("div", {
248
- key: 1,
249
- class: normalizeClass([
250
- _ctx.nsSelect.e("selected-item"),
251
- _ctx.nsSelect.e("input-wrapper"),
252
- _ctx.nsSelect.is("hidden", !_ctx.filterable)
253
- ])
254
- }, [
255
- withDirectives(createElementVNode("input", {
256
- id: _ctx.inputId,
257
- ref: "inputRef",
258
- "onUpdate:modelValue": ($event) => _ctx.states.inputValue = $event,
259
- type: "text",
260
- name: _ctx.name,
261
- class: normalizeClass([_ctx.nsSelect.e("input"), _ctx.nsSelect.is(_ctx.selectSize)]),
262
- disabled: _ctx.selectDisabled,
263
- autocomplete: _ctx.autocomplete,
264
- style: normalizeStyle(_ctx.inputStyle),
265
- role: "combobox",
266
- readonly: !_ctx.filterable,
267
- spellcheck: "false",
268
- "aria-activedescendant": ((_a = _ctx.hoverOption) == null ? void 0 : _a.id) || "",
269
- "aria-controls": _ctx.contentId,
270
- "aria-expanded": _ctx.dropdownMenuVisible,
271
- "aria-label": _ctx.ariaLabel,
272
- "aria-autocomplete": "none",
273
- "aria-haspopup": "listbox",
274
- onKeydown: [
275
- withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"]),
276
- withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"]),
277
- withKeys(withModifiers(_ctx.handleEsc, ["stop", "prevent"]), ["esc"]),
278
- withKeys(withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
279
- withKeys(withModifiers(_ctx.deletePrevTag, ["stop"]), ["delete"])
280
- ],
281
- onCompositionstart: _ctx.handleCompositionStart,
282
- onCompositionupdate: _ctx.handleCompositionUpdate,
283
- onCompositionend: _ctx.handleCompositionEnd,
284
- onInput: _ctx.onInput,
285
- onClick: withModifiers(_ctx.toggleMenu, ["stop"])
286
- }, null, 46, ["id", "onUpdate:modelValue", "name", "disabled", "autocomplete", "readonly", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label", "onKeydown", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onInput", "onClick"]), [
287
- [vModelText, _ctx.states.inputValue]
288
- ]),
289
- _ctx.filterable ? (openBlock(), createElementBlock("span", {
290
- key: 0,
291
- ref: "calculatorRef",
292
- "aria-hidden": "true",
293
- class: normalizeClass(_ctx.nsSelect.e("input-calculator")),
294
- textContent: toDisplayString(_ctx.states.inputValue)
295
- }, null, 10, ["textContent"])) : createCommentVNode("v-if", true)
296
- ], 2)) : createCommentVNode("v-if", true),
297
- _ctx.shouldShowPlaceholder ? (openBlock(), createElementBlock("div", {
298
- key: 2,
299
- class: normalizeClass([
300
- _ctx.nsSelect.e("selected-item"),
301
- _ctx.nsSelect.e("placeholder"),
302
- _ctx.nsSelect.is("transparent", !_ctx.hasModelValue || _ctx.expanded && !_ctx.states.inputValue)
303
- ])
304
- }, [
305
- _ctx.hasModelValue ? renderSlot(_ctx.$slots, "label", {
306
- key: 0,
307
- label: _ctx.currentPlaceholder,
308
- value: _ctx.modelValue
309
- }, () => [
310
- createElementVNode("span", null, toDisplayString(_ctx.currentPlaceholder), 1)
311
- ]) : (openBlock(), createElementBlock("span", { key: 1 }, toDisplayString(_ctx.currentPlaceholder), 1))
312
- ], 2)) : createCommentVNode("v-if", true)
313
- ], 2),
314
- createElementVNode("div", {
315
- ref: "suffixRef",
316
- class: normalizeClass(_ctx.nsSelect.e("suffix"))
317
- }, [
318
- _ctx.iconComponent && !_ctx.showClose ? (openBlock(), createBlock(_component_el_icon, {
319
- key: 0,
320
- class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
321
- }, {
322
- default: withCtx(() => [
323
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))
324
- ]),
325
- _: 1
326
- }, 8, ["class"])) : createCommentVNode("v-if", true),
327
- _ctx.showClose && _ctx.clearIcon ? (openBlock(), createBlock(_component_el_icon, {
328
- key: 1,
329
- class: normalizeClass([
330
- _ctx.nsSelect.e("caret"),
331
- _ctx.nsSelect.e("icon"),
332
- _ctx.nsSelect.e("clear")
333
- ]),
334
- onClick: _ctx.handleClearClick
335
- }, {
336
- default: withCtx(() => [
337
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))
338
- ]),
339
- _: 1
340
- }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true),
341
- _ctx.validateState && _ctx.validateIcon && _ctx.needStatusIcon ? (openBlock(), createBlock(_component_el_icon, {
342
- key: 2,
343
- class: normalizeClass([_ctx.nsInput.e("icon"), _ctx.nsInput.e("validateIcon")])
344
- }, {
345
- default: withCtx(() => [
346
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.validateIcon)))
347
- ]),
348
- _: 1
349
- }, 8, ["class"])) : createCommentVNode("v-if", true)
350
- ], 2)
351
- ], 10, ["onClick"])
352
- ];
353
- }),
354
- content: withCtx(() => [
355
- createVNode(_component_el_select_menu, { ref: "menuRef" }, {
356
- default: withCtx(() => [
357
- _ctx.$slots.header ? (openBlock(), createElementBlock("div", {
358
- key: 0,
359
- class: normalizeClass(_ctx.nsSelect.be("dropdown", "header")),
360
- onClick: withModifiers(() => {
361
- }, ["stop"])
362
- }, [
363
- renderSlot(_ctx.$slots, "header")
364
- ], 10, ["onClick"])) : createCommentVNode("v-if", true),
365
- withDirectives(createVNode(_component_el_scrollbar, {
366
- id: _ctx.contentId,
367
- ref: "scrollbarRef",
368
- tag: "ul",
369
- "wrap-class": _ctx.nsSelect.be("dropdown", "wrap"),
370
- "view-class": _ctx.nsSelect.be("dropdown", "list"),
371
- class: normalizeClass([_ctx.nsSelect.is("empty", _ctx.filteredOptionsCount === 0)]),
372
- role: "listbox",
373
- "aria-label": _ctx.ariaLabel,
374
- "aria-orientation": "vertical"
375
- }, {
376
- default: withCtx(() => [
377
- _ctx.showNewOption ? (openBlock(), createBlock(_component_el_option, {
378
- key: 0,
379
- value: _ctx.states.inputValue,
380
- created: true
381
- }, null, 8, ["value"])) : createCommentVNode("v-if", true),
382
- createVNode(_component_el_options, null, {
383
- default: withCtx(() => [
384
- renderSlot(_ctx.$slots, "default")
385
- ]),
386
- _: 3
387
- })
388
- ]),
389
- _: 3
390
- }, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
391
- [vShow, _ctx.states.options.size > 0 && !_ctx.loading]
392
- ]),
393
- _ctx.$slots.loading && _ctx.loading ? (openBlock(), createElementBlock("div", {
394
- key: 1,
395
- class: normalizeClass(_ctx.nsSelect.be("dropdown", "loading"))
396
- }, [
397
- renderSlot(_ctx.$slots, "loading")
398
- ], 2)) : _ctx.loading || _ctx.filteredOptionsCount === 0 ? (openBlock(), createElementBlock("div", {
399
- key: 2,
400
- class: normalizeClass(_ctx.nsSelect.be("dropdown", "empty"))
401
- }, [
402
- renderSlot(_ctx.$slots, "empty", {}, () => [
403
- createElementVNode("span", null, toDisplayString(_ctx.emptyText), 1)
404
- ])
405
- ], 2)) : createCommentVNode("v-if", true),
406
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
407
- key: 3,
408
- class: normalizeClass(_ctx.nsSelect.be("dropdown", "footer")),
409
- onClick: withModifiers(() => {
410
- }, ["stop"])
411
- }, [
412
- renderSlot(_ctx.$slots, "footer")
413
- ], 10, ["onClick"])) : createCommentVNode("v-if", true)
414
- ]),
415
- _: 3
416
- }, 512)
417
- ]),
418
- _: 3
419
- }, 8, ["visible", "placement", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "transition", "persistent", "append-to", "show-arrow", "offset", "onBeforeShow", "onHide"])
420
- ], 16, ["onMouseleave"])), [
421
- [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
422
- ]);
423
- }
424
- var Select = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "select.vue"]]);
425
116
 
426
- export { Select as default };
117
+ export { SelectProps };
427
118
  //# sourceMappingURL=select.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.mjs","sources":["../../../../../../packages/components/select/src/select.vue"],"sourcesContent":["<template>\n <div\n ref=\"selectRef\"\n v-click-outside:[popperRef]=\"handleClickOutside\"\n :class=\"[nsSelect.b(), nsSelect.m(selectSize)]\"\n @[mouseEnterEventName]=\"states.inputHovering = true\"\n @mouseleave=\"states.inputHovering = false\"\n >\n <el-tooltip\n ref=\"tooltipRef\"\n :visible=\"dropdownMenuVisible\"\n :placement=\"placement\"\n :teleported=\"teleported\"\n :popper-class=\"[nsSelect.e('popper'), popperClass]\"\n :popper-options=\"popperOptions\"\n :fallback-placements=\"fallbackPlacements\"\n :effect=\"effect\"\n pure\n trigger=\"click\"\n :transition=\"`${nsSelect.namespace.value}-zoom-in-top`\"\n :stop-popper-mouse-event=\"false\"\n :gpu-acceleration=\"false\"\n :persistent=\"persistent\"\n :append-to=\"appendTo\"\n :show-arrow=\"showArrow\"\n :offset=\"offset\"\n @before-show=\"handleMenuEnter\"\n @hide=\"states.isBeforeHide = false\"\n >\n <template #default>\n <div\n ref=\"wrapperRef\"\n :class=\"[\n nsSelect.e('wrapper'),\n nsSelect.is('focused', isFocused),\n nsSelect.is('hovering', states.inputHovering),\n nsSelect.is('filterable', filterable),\n nsSelect.is('disabled', selectDisabled),\n ]\"\n @click.prevent=\"toggleMenu\"\n >\n <div\n v-if=\"$slots.prefix\"\n ref=\"prefixRef\"\n :class=\"nsSelect.e('prefix')\"\n >\n <slot name=\"prefix\" />\n </div>\n <div\n ref=\"selectionRef\"\n :class=\"[\n nsSelect.e('selection'),\n nsSelect.is(\n 'near',\n multiple && !$slots.prefix && !!states.selected.length\n ),\n ]\"\n >\n <slot v-if=\"multiple\" name=\"tag\">\n <div\n v-for=\"item in showTagList\"\n :key=\"getValueKey(item)\"\n :class=\"nsSelect.e('selected-item')\"\n >\n <el-tag\n :closable=\"!selectDisabled && !item.isDisabled\"\n :size=\"collapseTagSize\"\n :type=\"tagType\"\n :effect=\"tagEffect\"\n disable-transitions\n :style=\"tagStyle\"\n @close=\"deleteTag($event, item)\"\n >\n <span :class=\"nsSelect.e('tags-text')\">\n <slot\n name=\"label\"\n :label=\"item.currentLabel\"\n :value=\"item.value\"\n >\n {{ item.currentLabel }}\n </slot>\n </span>\n </el-tag>\n </div>\n\n <el-tooltip\n v-if=\"collapseTags && states.selected.length > maxCollapseTags\"\n ref=\"tagTooltipRef\"\n :disabled=\"dropdownMenuVisible || !collapseTagsTooltip\"\n :fallback-placements=\"['bottom', 'top', 'right', 'left']\"\n :effect=\"effect\"\n placement=\"bottom\"\n :teleported=\"teleported\"\n >\n <template #default>\n <div\n ref=\"collapseItemRef\"\n :class=\"nsSelect.e('selected-item')\"\n >\n <el-tag\n :closable=\"false\"\n :size=\"collapseTagSize\"\n :type=\"tagType\"\n :effect=\"tagEffect\"\n disable-transitions\n :style=\"collapseTagStyle\"\n >\n <span :class=\"nsSelect.e('tags-text')\">\n + {{ states.selected.length - maxCollapseTags }}\n </span>\n </el-tag>\n </div>\n </template>\n <template #content>\n <div ref=\"tagMenuRef\" :class=\"nsSelect.e('selection')\">\n <div\n v-for=\"item in collapseTagList\"\n :key=\"getValueKey(item)\"\n :class=\"nsSelect.e('selected-item')\"\n >\n <el-tag\n class=\"in-tooltip\"\n :closable=\"!selectDisabled && !item.isDisabled\"\n :size=\"collapseTagSize\"\n :type=\"tagType\"\n :effect=\"tagEffect\"\n disable-transitions\n @close=\"deleteTag($event, item)\"\n >\n <span :class=\"nsSelect.e('tags-text')\">\n <slot\n name=\"label\"\n :label=\"item.currentLabel\"\n :value=\"item.value\"\n >\n {{ item.currentLabel }}\n </slot>\n </span>\n </el-tag>\n </div>\n </div>\n </template>\n </el-tooltip>\n </slot>\n <div\n v-if=\"!selectDisabled\"\n :class=\"[\n nsSelect.e('selected-item'),\n nsSelect.e('input-wrapper'),\n nsSelect.is('hidden', !filterable),\n ]\"\n >\n <input\n :id=\"inputId\"\n ref=\"inputRef\"\n v-model=\"states.inputValue\"\n type=\"text\"\n :name=\"name\"\n :class=\"[nsSelect.e('input'), nsSelect.is(selectSize)]\"\n :disabled=\"selectDisabled\"\n :autocomplete=\"autocomplete\"\n :style=\"inputStyle\"\n role=\"combobox\"\n :readonly=\"!filterable\"\n spellcheck=\"false\"\n :aria-activedescendant=\"hoverOption?.id || ''\"\n :aria-controls=\"contentId\"\n :aria-expanded=\"dropdownMenuVisible\"\n :aria-label=\"ariaLabel\"\n aria-autocomplete=\"none\"\n aria-haspopup=\"listbox\"\n @keydown.down.stop.prevent=\"navigateOptions('next')\"\n @keydown.up.stop.prevent=\"navigateOptions('prev')\"\n @keydown.esc.stop.prevent=\"handleEsc\"\n @keydown.enter.stop.prevent=\"selectOption\"\n @keydown.delete.stop=\"deletePrevTag\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"onInput\"\n @click.stop=\"toggleMenu\"\n />\n <span\n v-if=\"filterable\"\n ref=\"calculatorRef\"\n aria-hidden=\"true\"\n :class=\"nsSelect.e('input-calculator')\"\n v-text=\"states.inputValue\"\n />\n </div>\n <div\n v-if=\"shouldShowPlaceholder\"\n :class=\"[\n nsSelect.e('selected-item'),\n nsSelect.e('placeholder'),\n nsSelect.is(\n 'transparent',\n !hasModelValue || (expanded && !states.inputValue)\n ),\n ]\"\n >\n <slot\n v-if=\"hasModelValue\"\n name=\"label\"\n :label=\"currentPlaceholder\"\n :value=\"modelValue\"\n >\n <span>{{ currentPlaceholder }}</span>\n </slot>\n <span v-else>{{ currentPlaceholder }}</span>\n </div>\n </div>\n <div ref=\"suffixRef\" :class=\"nsSelect.e('suffix')\">\n <el-icon\n v-if=\"iconComponent && !showClose\"\n :class=\"[nsSelect.e('caret'), nsSelect.e('icon'), iconReverse]\"\n >\n <component :is=\"iconComponent\" />\n </el-icon>\n <el-icon\n v-if=\"showClose && clearIcon\"\n :class=\"[\n nsSelect.e('caret'),\n nsSelect.e('icon'),\n nsSelect.e('clear'),\n ]\"\n @click=\"handleClearClick\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\n <el-icon\n v-if=\"validateState && validateIcon && needStatusIcon\"\n :class=\"[nsInput.e('icon'), nsInput.e('validateIcon')]\"\n >\n <component :is=\"validateIcon\" />\n </el-icon>\n </div>\n </div>\n </template>\n <template #content>\n <el-select-menu ref=\"menuRef\">\n <div\n v-if=\"$slots.header\"\n :class=\"nsSelect.be('dropdown', 'header')\"\n @click.stop\n >\n <slot name=\"header\" />\n </div>\n <el-scrollbar\n v-show=\"states.options.size > 0 && !loading\"\n :id=\"contentId\"\n ref=\"scrollbarRef\"\n tag=\"ul\"\n :wrap-class=\"nsSelect.be('dropdown', 'wrap')\"\n :view-class=\"nsSelect.be('dropdown', 'list')\"\n :class=\"[nsSelect.is('empty', filteredOptionsCount === 0)]\"\n role=\"listbox\"\n :aria-label=\"ariaLabel\"\n aria-orientation=\"vertical\"\n >\n <el-option\n v-if=\"showNewOption\"\n :value=\"states.inputValue\"\n :created=\"true\"\n />\n <el-options>\n <slot />\n </el-options>\n </el-scrollbar>\n <div\n v-if=\"$slots.loading && loading\"\n :class=\"nsSelect.be('dropdown', 'loading')\"\n >\n <slot name=\"loading\" />\n </div>\n <div\n v-else-if=\"loading || filteredOptionsCount === 0\"\n :class=\"nsSelect.be('dropdown', 'empty')\"\n >\n <slot name=\"empty\">\n <span>{{ emptyText }}</span>\n </slot>\n </div>\n <div\n v-if=\"$slots.footer\"\n :class=\"nsSelect.be('dropdown', 'footer')\"\n @click.stop\n >\n <slot name=\"footer\" />\n </div>\n </el-select-menu>\n </template>\n </el-tooltip>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, provide, reactive, toRefs } from 'vue'\nimport { ClickOutside } from '@element-plus/directives'\nimport ElTooltip from '@element-plus/components/tooltip'\nimport ElScrollbar from '@element-plus/components/scrollbar'\nimport ElTag from '@element-plus/components/tag'\nimport ElIcon from '@element-plus/components/icon'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { isArray } from '@element-plus/utils'\nimport ElOption from './option.vue'\nimport ElSelectMenu from './select-dropdown.vue'\nimport { useSelect } from './useSelect'\nimport { selectKey } from './token'\nimport ElOptions from './options'\n\nimport { SelectProps } from './select'\nimport type { SelectContext } from './token'\n\nconst COMPONENT_NAME = 'ElSelect'\nexport default defineComponent({\n name: COMPONENT_NAME,\n componentName: COMPONENT_NAME,\n components: {\n ElSelectMenu,\n ElOption,\n ElOptions,\n ElTag,\n ElScrollbar,\n ElTooltip,\n ElIcon,\n },\n directives: { ClickOutside },\n props: SelectProps,\n emits: [\n UPDATE_MODEL_EVENT,\n CHANGE_EVENT,\n 'remove-tag',\n 'clear',\n 'visible-change',\n 'focus',\n 'blur',\n ],\n\n setup(props, { emit }) {\n const modelValue = computed(() => {\n const { modelValue: rawModelValue, multiple } = props\n const fallback = multiple ? [] : undefined\n // When it is array, we check if this is multi-select.\n // Based on the result we get\n if (isArray(rawModelValue)) {\n return multiple ? rawModelValue : fallback\n }\n\n return multiple ? fallback : rawModelValue\n })\n\n const _props = reactive({\n ...toRefs(props),\n modelValue,\n })\n\n const API = useSelect(_props, emit)\n\n provide(\n selectKey,\n reactive({\n props: _props,\n states: API.states,\n optionsArray: API.optionsArray,\n handleOptionSelect: API.handleOptionSelect,\n onOptionCreate: API.onOptionCreate,\n onOptionDestroy: API.onOptionDestroy,\n selectRef: API.selectRef,\n setSelected: API.setSelected,\n }) as unknown as SelectContext\n )\n\n const selectedLabel = computed(() => {\n if (!props.multiple) {\n return API.states.selectedLabel\n }\n return API.states.selected.map((i) => i.currentLabel as string)\n })\n\n return {\n ...API,\n modelValue,\n selectedLabel,\n }\n },\n})\n</script>\n"],"names":["ElOption","_resolveComponent","_createVNode","_withCtx","_createElementVNode","_normalizeClass","_withModifiers","_openBlock","_createElementBlock","_renderSlot","_createCommentVNode","_Fragment","_renderList","_createTextVNode","_toDisplayString","_createBlock","_normalizeStyle","_withKeys","_vModelText","_resolveDynamicComponent","_withDirectives"],"mappings":";;;;;;;;;;;;;;;;;;;AA0TA,MAAM,cAAiB,GAAA,UAAA,CAAA;AACvB,MAAK,YAAa,eAAa,CAAA;AAAA,EAC7B,IAAM,EAAA,cAAA;AAAA,EACN,aAAe,EAAA,cAAA;AAAA,EACf,UAAY,EAAA;AAAA,IACV,YAAA;AAAA,cACAA,MAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA,IACA,WAAA;AAAA,IACA,SAAA;AAAA,IACA,MAAA;AAAA,GACF;AAAA,EACA,UAAA,EAAY,EAAE,YAAa,EAAA;AAAA,EAC3B,KAAO,EAAA,WAAA;AAAA,EACP,KAAO,EAAA;AAAA,IACL,kBAAA;AAAA,IACA,YAAA;AAAA,IACA,YAAA;AAAA,IACA,OAAA;AAAA,IACA,gBAAA;AAAA,IACA,OAAA;AAAA,IACA,MAAA;AAAA,GACF;AAAA,EAEA,KAAM,CAAA,KAAA,EAAO,EAAE,IAAA,EAAQ,EAAA;AACrB,IAAM,MAAA,UAAA,GAAa,SAAS,MAAM;AAChC,MAA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AA,EAAAH,cAAA,CAAA,IAAA,CAAA,QAAA,CAAA,EAAA,CAAA,UAAA,EAAA,QAAA,CAAA,CAAA;AAAA,cAA4C,OAAA,EAAAC,aAAA,CAAA,MAAA;AAAA,eAAA,EAAA,CAAA,MAAA,CAAA,CAAA;AAAA,aAAA,EAAA;AAAV,cAAAG,UAAA,CAAA,IAAA,CAAA,MAAA,EAAA,QAAA,CAAA;AAAA,aAAA,EAAA,EAAA,EAAA,CAAA,SAAA,CAAA,CAAA,IAAAC,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA;AAAA,WAAA,CAAA;AAAA,UAAA,CAAA,EAAA,CAAA;;;;;;;;AAGtC,CAAA;AAwBM,aAAA,gBAAA,WAAA,CAAA,SAAA,EAAA,CAAA,CAAA,QAAA,EAAA,WAAA,CAAA,EAAA,CAAA,QAAA,EAAA,YAAA,CAAA,CAAA,CAAA;;;;"}
1
+ {"version":3,"file":"select.mjs","sources":["../../../../../../packages/components/select/src/select.ts"],"sourcesContent":["import { placements } from '@popperjs/core'\nimport {\n useAriaProps,\n useEmptyValuesProps,\n useSizeProp,\n} from '@element-plus/hooks'\nimport { buildProps, definePropType, iconPropType } from '@element-plus/utils'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport { ArrowDown, CircleClose } from '@element-plus/icons-vue'\nimport { tagProps } from '@element-plus/components/tag'\nimport type {\n Options,\n Placement,\n PopperEffect,\n} from '@element-plus/components/popper'\n\nexport const SelectProps = buildProps({\n /**\n * @description the name attribute of select input\n */\n name: String,\n /**\n * @description native input id\n */\n id: String,\n /**\n * @description binding value\n */\n modelValue: {\n type: [Array, String, Number, Boolean, Object],\n default: undefined,\n },\n /**\n * @description the autocomplete attribute of select input\n */\n autocomplete: {\n type: String,\n default: 'off',\n },\n /**\n * @description for non-filterable Select, this prop decides if the option menu pops up when the input is focused\n */\n automaticDropdown: Boolean,\n /**\n * @description size of Input\n */\n size: useSizeProp,\n /**\n * @description tooltip theme, built-in theme: `dark` / `light`\n */\n effect: {\n type: definePropType<PopperEffect | string>(String),\n default: 'light',\n },\n /**\n * @description whether Select is disabled\n */\n disabled: Boolean,\n /**\n * @description whether select can be cleared\n */\n clearable: Boolean,\n /**\n * @description whether Select is filterable\n */\n filterable: Boolean,\n /**\n * @description whether creating new items is allowed. To use this, `filterable` must be true\n */\n allowCreate: Boolean,\n /**\n * @description whether Select is loading data from server\n */\n loading: Boolean,\n /**\n * @description custom class name for Select's dropdown\n */\n popperClass: {\n type: String,\n default: '',\n },\n /**\n * @description [popper.js](https://popper.js.org/docs/v2/) parameters\n */\n popperOptions: {\n type: definePropType<Partial<Options>>(Object),\n default: () => ({} as Partial<Options>),\n },\n /**\n * @description whether options are loaded from server\n */\n remote: Boolean,\n /**\n * @description displayed text while loading data from server, default is 'Loading'\n */\n loadingText: String,\n /**\n * @description displayed text when no data matches the filtering query, you can also use slot `empty`, default is 'No matching data'\n */\n noMatchText: String,\n /**\n * @description displayed text when there is no options, you can also use slot `empty`, default is 'No data'\n */\n noDataText: String,\n /**\n * @description custom remote search method\n */\n remoteMethod: Function,\n /**\n * @description custom filter method\n */\n filterMethod: Function,\n /**\n * @description whether multiple-select is activated\n */\n multiple: Boolean,\n /**\n * @description maximum number of options user can select when `multiple` is `true`. No limit when set to 0\n */\n multipleLimit: {\n type: Number,\n default: 0,\n },\n /**\n * @description placeholder, default is 'Select'\n */\n placeholder: {\n type: String,\n },\n /**\n * @description select first matching option on enter key. Use with `filterable` or `remote`\n */\n defaultFirstOption: Boolean,\n /**\n * @description when `multiple` and `filter` is true, whether to reserve current keyword after selecting an option\n */\n reserveKeyword: {\n type: Boolean,\n default: true,\n },\n /**\n * @description unique identity key name for value, required when value is an object\n */\n valueKey: {\n type: String,\n default: 'value',\n },\n /**\n * @description whether to collapse tags to a text when multiple selecting\n */\n collapseTags: Boolean,\n /**\n * @description whether show all selected tags when mouse hover text of collapse-tags. To use this, `collapse-tags` must be true\n */\n collapseTagsTooltip: Boolean,\n /**\n * @description the max tags number to be shown. To use this, `collapse-tags` must be true\n */\n maxCollapseTags: {\n type: Number,\n default: 1,\n },\n /**\n * @description whether select dropdown is teleported to the body\n */\n teleported: useTooltipContentProps.teleported,\n /**\n * @description when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed\n */\n persistent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description custom clear icon component\n */\n clearIcon: {\n type: iconPropType,\n default: CircleClose,\n },\n /**\n * @description whether the width of the dropdown is the same as the input\n */\n fitInputWidth: Boolean,\n /**\n * @description custom suffix icon component\n */\n suffixIcon: {\n type: iconPropType,\n default: ArrowDown,\n },\n /**\n * @description tag type\n */\n // eslint-disable-next-line vue/require-prop-types\n tagType: { ...tagProps.type, default: 'info' },\n /**\n * @description tag effect\n */\n tagEffect: { ...tagProps.effect, default: 'light' },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description in remote search method show suffix icon\n */\n remoteShowSuffix: Boolean,\n /**\n * @description determines whether the arrow is displayed\n */\n showArrow: {\n type: Boolean,\n default: true,\n },\n /**\n * @description offset of the dropdown\n */\n offset: {\n type: Number,\n default: 12,\n },\n /**\n * @description position of dropdown\n */\n placement: {\n type: definePropType<Placement>(String),\n values: placements,\n default: 'bottom-start',\n },\n /**\n * @description list of possible positions for dropdown\n */\n fallbackPlacements: {\n type: definePropType<Placement[]>(Array),\n default: ['bottom-start', 'top-start', 'right', 'left'],\n },\n /**\n * @description which element the selection dropdown appends to\n */\n appendTo: String,\n ...useEmptyValuesProps,\n ...useAriaProps(['ariaLabel']),\n})\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAUY,MAAC,WAAW,GAAG,UAAU,CAAC;AACtC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,EAAE,EAAE,MAAM;AACZ,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;AAClD,I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