@element-plus/nightly 0.0.20230831 → 0.0.20230915

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 (416) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +479 -367
  4. package/dist/index.full.min.js +18 -18
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +18 -18
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +479 -367
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar.js +1 -1
  14. package/dist/locale/ar.min.js +1 -1
  15. package/dist/locale/ar.min.mjs +1 -1
  16. package/dist/locale/ar.mjs +1 -1
  17. package/dist/locale/az.js +1 -1
  18. package/dist/locale/az.min.js +1 -1
  19. package/dist/locale/az.min.mjs +1 -1
  20. package/dist/locale/az.mjs +1 -1
  21. package/dist/locale/bg.js +1 -1
  22. package/dist/locale/bg.min.js +1 -1
  23. package/dist/locale/bg.min.mjs +1 -1
  24. package/dist/locale/bg.mjs +1 -1
  25. package/dist/locale/bn.js +1 -1
  26. package/dist/locale/bn.min.js +1 -1
  27. package/dist/locale/bn.min.mjs +1 -1
  28. package/dist/locale/bn.mjs +1 -1
  29. package/dist/locale/ca.js +1 -1
  30. package/dist/locale/ca.min.js +1 -1
  31. package/dist/locale/ca.min.mjs +1 -1
  32. package/dist/locale/ca.mjs +1 -1
  33. package/dist/locale/ckb.js +1 -1
  34. package/dist/locale/ckb.min.js +1 -1
  35. package/dist/locale/ckb.min.mjs +1 -1
  36. package/dist/locale/ckb.mjs +1 -1
  37. package/dist/locale/cs.js +1 -1
  38. package/dist/locale/cs.min.js +1 -1
  39. package/dist/locale/cs.min.mjs +1 -1
  40. package/dist/locale/cs.mjs +1 -1
  41. package/dist/locale/da.js +1 -1
  42. package/dist/locale/da.min.js +1 -1
  43. package/dist/locale/da.min.mjs +1 -1
  44. package/dist/locale/da.mjs +1 -1
  45. package/dist/locale/de.js +1 -1
  46. package/dist/locale/de.min.js +1 -1
  47. package/dist/locale/de.min.mjs +1 -1
  48. package/dist/locale/de.mjs +1 -1
  49. package/dist/locale/el.js +1 -1
  50. package/dist/locale/el.min.js +1 -1
  51. package/dist/locale/el.min.mjs +1 -1
  52. package/dist/locale/el.mjs +1 -1
  53. package/dist/locale/en.js +1 -1
  54. package/dist/locale/en.min.js +1 -1
  55. package/dist/locale/en.min.mjs +1 -1
  56. package/dist/locale/en.mjs +1 -1
  57. package/dist/locale/eo.js +1 -1
  58. package/dist/locale/eo.min.js +1 -1
  59. package/dist/locale/eo.min.mjs +1 -1
  60. package/dist/locale/eo.mjs +1 -1
  61. package/dist/locale/es.js +1 -1
  62. package/dist/locale/es.min.js +1 -1
  63. package/dist/locale/es.min.mjs +1 -1
  64. package/dist/locale/es.mjs +1 -1
  65. package/dist/locale/et.js +1 -1
  66. package/dist/locale/et.min.js +1 -1
  67. package/dist/locale/et.min.mjs +1 -1
  68. package/dist/locale/et.mjs +1 -1
  69. package/dist/locale/eu.js +1 -1
  70. package/dist/locale/eu.min.js +1 -1
  71. package/dist/locale/eu.min.mjs +1 -1
  72. package/dist/locale/eu.mjs +1 -1
  73. package/dist/locale/fa.js +1 -1
  74. package/dist/locale/fa.min.js +1 -1
  75. package/dist/locale/fa.min.mjs +1 -1
  76. package/dist/locale/fa.mjs +1 -1
  77. package/dist/locale/fi.js +1 -1
  78. package/dist/locale/fi.min.js +1 -1
  79. package/dist/locale/fi.min.mjs +1 -1
  80. package/dist/locale/fi.mjs +1 -1
  81. package/dist/locale/fr.js +1 -1
  82. package/dist/locale/fr.min.js +1 -1
  83. package/dist/locale/fr.min.mjs +1 -1
  84. package/dist/locale/fr.mjs +1 -1
  85. package/dist/locale/he.js +1 -1
  86. package/dist/locale/he.min.js +1 -1
  87. package/dist/locale/he.min.mjs +1 -1
  88. package/dist/locale/he.mjs +1 -1
  89. package/dist/locale/hr.js +1 -1
  90. package/dist/locale/hr.min.js +1 -1
  91. package/dist/locale/hr.min.mjs +1 -1
  92. package/dist/locale/hr.mjs +1 -1
  93. package/dist/locale/hu.js +1 -1
  94. package/dist/locale/hu.min.js +1 -1
  95. package/dist/locale/hu.min.mjs +1 -1
  96. package/dist/locale/hu.mjs +1 -1
  97. package/dist/locale/hy-am.js +1 -1
  98. package/dist/locale/hy-am.min.js +1 -1
  99. package/dist/locale/hy-am.min.mjs +1 -1
  100. package/dist/locale/hy-am.mjs +1 -1
  101. package/dist/locale/id.js +1 -1
  102. package/dist/locale/id.min.js +1 -1
  103. package/dist/locale/id.min.mjs +1 -1
  104. package/dist/locale/id.mjs +1 -1
  105. package/dist/locale/it.js +1 -1
  106. package/dist/locale/it.min.js +1 -1
  107. package/dist/locale/it.min.mjs +1 -1
  108. package/dist/locale/it.mjs +1 -1
  109. package/dist/locale/ja.js +1 -1
  110. package/dist/locale/ja.min.js +1 -1
  111. package/dist/locale/ja.min.mjs +1 -1
  112. package/dist/locale/ja.mjs +1 -1
  113. package/dist/locale/kk.js +1 -1
  114. package/dist/locale/kk.min.js +1 -1
  115. package/dist/locale/kk.min.mjs +1 -1
  116. package/dist/locale/kk.mjs +1 -1
  117. package/dist/locale/km.js +1 -1
  118. package/dist/locale/km.min.js +1 -1
  119. package/dist/locale/km.min.mjs +1 -1
  120. package/dist/locale/km.mjs +1 -1
  121. package/dist/locale/ko.js +1 -1
  122. package/dist/locale/ko.min.js +1 -1
  123. package/dist/locale/ko.min.mjs +1 -1
  124. package/dist/locale/ko.mjs +1 -1
  125. package/dist/locale/ku.js +1 -1
  126. package/dist/locale/ku.min.js +1 -1
  127. package/dist/locale/ku.min.mjs +1 -1
  128. package/dist/locale/ku.mjs +1 -1
  129. package/dist/locale/ky.js +1 -1
  130. package/dist/locale/ky.min.js +1 -1
  131. package/dist/locale/ky.min.mjs +1 -1
  132. package/dist/locale/ky.mjs +1 -1
  133. package/dist/locale/lt.js +1 -1
  134. package/dist/locale/lt.min.js +1 -1
  135. package/dist/locale/lt.min.mjs +1 -1
  136. package/dist/locale/lt.mjs +1 -1
  137. package/dist/locale/lv.js +1 -1
  138. package/dist/locale/lv.min.js +1 -1
  139. package/dist/locale/lv.min.mjs +1 -1
  140. package/dist/locale/lv.mjs +1 -1
  141. package/dist/locale/mg.js +1 -1
  142. package/dist/locale/mg.min.js +1 -1
  143. package/dist/locale/mg.min.mjs +1 -1
  144. package/dist/locale/mg.mjs +1 -1
  145. package/dist/locale/mn.js +1 -1
  146. package/dist/locale/mn.min.js +1 -1
  147. package/dist/locale/mn.min.mjs +1 -1
  148. package/dist/locale/mn.mjs +1 -1
  149. package/dist/locale/nb-no.js +1 -1
  150. package/dist/locale/nb-no.min.js +1 -1
  151. package/dist/locale/nb-no.min.mjs +1 -1
  152. package/dist/locale/nb-no.mjs +1 -1
  153. package/dist/locale/nl.js +5 -5
  154. package/dist/locale/nl.min.js +1 -1
  155. package/dist/locale/nl.min.js.map +1 -1
  156. package/dist/locale/nl.min.mjs +1 -1
  157. package/dist/locale/nl.min.mjs.map +1 -1
  158. package/dist/locale/nl.mjs +5 -5
  159. package/dist/locale/pa.js +1 -1
  160. package/dist/locale/pa.min.js +1 -1
  161. package/dist/locale/pa.min.mjs +1 -1
  162. package/dist/locale/pa.mjs +1 -1
  163. package/dist/locale/pl.js +1 -1
  164. package/dist/locale/pl.min.js +1 -1
  165. package/dist/locale/pl.min.mjs +1 -1
  166. package/dist/locale/pl.mjs +1 -1
  167. package/dist/locale/pt-br.js +1 -1
  168. package/dist/locale/pt-br.min.js +1 -1
  169. package/dist/locale/pt-br.min.mjs +1 -1
  170. package/dist/locale/pt-br.mjs +1 -1
  171. package/dist/locale/pt.js +1 -1
  172. package/dist/locale/pt.min.js +1 -1
  173. package/dist/locale/pt.min.mjs +1 -1
  174. package/dist/locale/pt.mjs +1 -1
  175. package/dist/locale/ro.js +1 -1
  176. package/dist/locale/ro.min.js +1 -1
  177. package/dist/locale/ro.min.mjs +1 -1
  178. package/dist/locale/ro.mjs +1 -1
  179. package/dist/locale/ru.js +1 -1
  180. package/dist/locale/ru.min.js +1 -1
  181. package/dist/locale/ru.min.mjs +1 -1
  182. package/dist/locale/ru.mjs +1 -1
  183. package/dist/locale/sk.js +1 -1
  184. package/dist/locale/sk.min.js +1 -1
  185. package/dist/locale/sk.min.mjs +1 -1
  186. package/dist/locale/sk.mjs +1 -1
  187. package/dist/locale/sl.js +1 -1
  188. package/dist/locale/sl.min.js +1 -1
  189. package/dist/locale/sl.min.mjs +1 -1
  190. package/dist/locale/sl.mjs +1 -1
  191. package/dist/locale/sr.js +1 -1
  192. package/dist/locale/sr.min.js +1 -1
  193. package/dist/locale/sr.min.mjs +1 -1
  194. package/dist/locale/sr.mjs +1 -1
  195. package/dist/locale/sv.js +1 -1
  196. package/dist/locale/sv.min.js +1 -1
  197. package/dist/locale/sv.min.mjs +1 -1
  198. package/dist/locale/sv.mjs +1 -1
  199. package/dist/locale/ta.js +1 -1
  200. package/dist/locale/ta.min.js +1 -1
  201. package/dist/locale/ta.min.mjs +1 -1
  202. package/dist/locale/ta.mjs +1 -1
  203. package/dist/locale/th.js +1 -1
  204. package/dist/locale/th.min.js +1 -1
  205. package/dist/locale/th.min.mjs +1 -1
  206. package/dist/locale/th.mjs +1 -1
  207. package/dist/locale/tk.js +1 -1
  208. package/dist/locale/tk.min.js +1 -1
  209. package/dist/locale/tk.min.mjs +1 -1
  210. package/dist/locale/tk.mjs +1 -1
  211. package/dist/locale/tr.js +1 -1
  212. package/dist/locale/tr.min.js +1 -1
  213. package/dist/locale/tr.min.mjs +1 -1
  214. package/dist/locale/tr.mjs +1 -1
  215. package/dist/locale/ug-cn.js +1 -1
  216. package/dist/locale/ug-cn.min.js +1 -1
  217. package/dist/locale/ug-cn.min.mjs +1 -1
  218. package/dist/locale/ug-cn.mjs +1 -1
  219. package/dist/locale/uk.js +1 -1
  220. package/dist/locale/uk.min.js +1 -1
  221. package/dist/locale/uk.min.mjs +1 -1
  222. package/dist/locale/uk.mjs +1 -1
  223. package/dist/locale/uz-uz.js +1 -1
  224. package/dist/locale/uz-uz.min.js +1 -1
  225. package/dist/locale/uz-uz.min.mjs +1 -1
  226. package/dist/locale/uz-uz.mjs +1 -1
  227. package/dist/locale/vi.js +1 -1
  228. package/dist/locale/vi.min.js +1 -1
  229. package/dist/locale/vi.min.mjs +1 -1
  230. package/dist/locale/vi.mjs +1 -1
  231. package/dist/locale/zh-cn.js +1 -1
  232. package/dist/locale/zh-cn.min.js +1 -1
  233. package/dist/locale/zh-cn.min.mjs +1 -1
  234. package/dist/locale/zh-cn.mjs +1 -1
  235. package/dist/locale/zh-tw.js +1 -1
  236. package/dist/locale/zh-tw.min.js +1 -1
  237. package/dist/locale/zh-tw.min.mjs +1 -1
  238. package/dist/locale/zh-tw.mjs +1 -1
  239. package/es/components/autocomplete/index.d.ts +12 -1
  240. package/es/components/autocomplete/src/autocomplete.vue.d.ts +12 -1
  241. package/es/components/button/index.d.ts +1 -1
  242. package/es/components/button/src/button.vue.d.ts +1 -1
  243. package/es/components/calendar/index.d.ts +1 -1
  244. package/es/components/calendar/src/calendar.vue.d.ts +1 -1
  245. package/es/components/cascader/index.d.ts +24 -2
  246. package/es/components/cascader/src/cascader.vue.d.ts +12 -1
  247. package/es/components/collapse/src/collapse-item2.mjs +24 -30
  248. package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
  249. package/es/components/collapse/src/collapse2.mjs +1 -3
  250. package/es/components/collapse/src/collapse2.mjs.map +1 -1
  251. package/es/components/color-picker/index.d.ts +5 -1
  252. package/es/components/color-picker/src/color-picker.vue.d.ts +5 -1
  253. package/es/components/color-picker/src/color-picker2.mjs +4 -3
  254. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  255. package/es/components/date-picker/src/composables/use-basic-date-table.d.ts +246 -0
  256. package/es/components/date-picker/src/composables/use-basic-date-table.mjs +352 -0
  257. package/es/components/date-picker/src/composables/use-basic-date-table.mjs.map +1 -0
  258. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +38 -310
  259. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs.map +1 -1
  260. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +93 -354
  261. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +27 -281
  262. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +24 -12
  263. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
  264. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +27 -281
  265. package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs +1 -0
  266. package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs.map +1 -1
  267. package/es/components/date-picker/src/panel-utils.d.ts +54 -562
  268. package/es/components/date-picker/src/props/basic-date-table.d.ts +2 -0
  269. package/es/components/date-picker/src/props/basic-date-table.mjs +2 -1
  270. package/es/components/date-picker/src/props/basic-date-table.mjs.map +1 -1
  271. package/es/components/date-picker/src/props/panel-month-range.mjs +5 -1
  272. package/es/components/date-picker/src/props/panel-month-range.mjs.map +1 -1
  273. package/es/components/image/index.d.ts +4 -1
  274. package/es/components/image/src/image.vue.d.ts +4 -1
  275. package/es/components/image-viewer/index.d.ts +4 -1
  276. package/es/components/image-viewer/src/image-viewer.d.ts +1 -0
  277. package/es/components/image-viewer/src/image-viewer.mjs +2 -1
  278. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  279. package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -1
  280. package/es/components/image-viewer/src/image-viewer2.mjs +2 -0
  281. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  282. package/es/components/input/index.d.ts +4 -0
  283. package/es/components/input/src/input.d.ts +1 -0
  284. package/es/components/input/src/input.mjs +4 -0
  285. package/es/components/input/src/input.mjs.map +1 -1
  286. package/es/components/input/src/input.vue.d.ts +4 -0
  287. package/es/components/input/src/input2.mjs +4 -2
  288. package/es/components/input/src/input2.mjs.map +1 -1
  289. package/es/components/input-number/index.d.ts +12 -1
  290. package/es/components/input-number/src/input-number.vue.d.ts +12 -1
  291. package/es/components/pagination/index.d.ts +3 -0
  292. package/es/components/pagination/src/components/jumper.vue.d.ts +4 -0
  293. package/es/components/pagination/src/components/sizes.d.ts +1 -0
  294. package/es/components/pagination/src/components/sizes.mjs +1 -0
  295. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  296. package/es/components/pagination/src/components/sizes.vue.d.ts +4 -0
  297. package/es/components/pagination/src/components/sizes2.mjs +2 -1
  298. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  299. package/es/components/pagination/src/pagination.d.ts +4 -0
  300. package/es/components/pagination/src/pagination.mjs +5 -0
  301. package/es/components/pagination/src/pagination.mjs.map +1 -1
  302. package/es/components/popconfirm/index.d.ts +1 -1
  303. package/es/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  304. package/es/components/slider/index.d.ts +12 -1
  305. package/es/components/slider/src/slider.vue.d.ts +12 -1
  306. package/es/components/time-picker/src/common/picker.vue.d.ts +4 -0
  307. package/es/components/transfer/index.d.ts +21 -1
  308. package/es/components/transfer/src/transfer-panel.vue.d.ts +4 -0
  309. package/es/components/transfer/src/transfer.vue.d.ts +21 -1
  310. package/es/components/upload/index.d.ts +57 -54
  311. package/es/components/upload/src/upload-content.d.ts +1 -1
  312. package/es/components/upload/src/upload-content.vue.d.ts +20 -18
  313. package/es/components/upload/src/upload-content2.mjs +17 -5
  314. package/es/components/upload/src/upload-content2.mjs.map +1 -1
  315. package/es/components/upload/src/upload.d.ts +4 -3
  316. package/es/components/upload/src/upload.mjs +1 -1
  317. package/es/components/upload/src/upload.mjs.map +1 -1
  318. package/es/components/upload/src/upload.vue.d.ts +57 -54
  319. package/es/components/upload/src/use-handlers.d.ts +1 -1
  320. package/es/locale/lang/nl.mjs +4 -4
  321. package/es/locale/lang/nl.mjs.map +1 -1
  322. package/es/version.d.ts +1 -1
  323. package/es/version.mjs +1 -1
  324. package/es/version.mjs.map +1 -1
  325. package/lib/components/autocomplete/index.d.ts +12 -1
  326. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +12 -1
  327. package/lib/components/button/index.d.ts +1 -1
  328. package/lib/components/button/src/button.vue.d.ts +1 -1
  329. package/lib/components/calendar/index.d.ts +1 -1
  330. package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
  331. package/lib/components/cascader/index.d.ts +24 -2
  332. package/lib/components/cascader/src/cascader.vue.d.ts +12 -1
  333. package/lib/components/collapse/src/collapse-item2.js +24 -30
  334. package/lib/components/collapse/src/collapse-item2.js.map +1 -1
  335. package/lib/components/collapse/src/collapse2.js +1 -3
  336. package/lib/components/collapse/src/collapse2.js.map +1 -1
  337. package/lib/components/color-picker/index.d.ts +5 -1
  338. package/lib/components/color-picker/src/color-picker.vue.d.ts +5 -1
  339. package/lib/components/color-picker/src/color-picker2.js +4 -3
  340. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  341. package/lib/components/date-picker/src/composables/use-basic-date-table.d.ts +246 -0
  342. package/lib/components/date-picker/src/composables/use-basic-date-table.js +361 -0
  343. package/lib/components/date-picker/src/composables/use-basic-date-table.js.map +1 -0
  344. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js +36 -312
  345. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js.map +1 -1
  346. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +93 -354
  347. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +27 -281
  348. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +24 -12
  349. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
  350. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +27 -281
  351. package/lib/components/date-picker/src/date-picker-com/panel-month-range.js +1 -0
  352. package/lib/components/date-picker/src/date-picker-com/panel-month-range.js.map +1 -1
  353. package/lib/components/date-picker/src/panel-utils.d.ts +54 -562
  354. package/lib/components/date-picker/src/props/basic-date-table.d.ts +2 -0
  355. package/lib/components/date-picker/src/props/basic-date-table.js +2 -0
  356. package/lib/components/date-picker/src/props/basic-date-table.js.map +1 -1
  357. package/lib/components/date-picker/src/props/panel-month-range.js +5 -1
  358. package/lib/components/date-picker/src/props/panel-month-range.js.map +1 -1
  359. package/lib/components/image/index.d.ts +4 -1
  360. package/lib/components/image/src/image.vue.d.ts +4 -1
  361. package/lib/components/image-viewer/index.d.ts +4 -1
  362. package/lib/components/image-viewer/src/image-viewer.d.ts +1 -0
  363. package/lib/components/image-viewer/src/image-viewer.js +2 -1
  364. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  365. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -1
  366. package/lib/components/image-viewer/src/image-viewer2.js +2 -0
  367. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  368. package/lib/components/input/index.d.ts +4 -0
  369. package/lib/components/input/src/input.d.ts +1 -0
  370. package/lib/components/input/src/input.js +4 -0
  371. package/lib/components/input/src/input.js.map +1 -1
  372. package/lib/components/input/src/input.vue.d.ts +4 -0
  373. package/lib/components/input/src/input2.js +4 -2
  374. package/lib/components/input/src/input2.js.map +1 -1
  375. package/lib/components/input-number/index.d.ts +12 -1
  376. package/lib/components/input-number/src/input-number.vue.d.ts +12 -1
  377. package/lib/components/pagination/index.d.ts +3 -0
  378. package/lib/components/pagination/src/components/jumper.vue.d.ts +4 -0
  379. package/lib/components/pagination/src/components/sizes.d.ts +1 -0
  380. package/lib/components/pagination/src/components/sizes.js +1 -0
  381. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  382. package/lib/components/pagination/src/components/sizes.vue.d.ts +4 -0
  383. package/lib/components/pagination/src/components/sizes2.js +2 -1
  384. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  385. package/lib/components/pagination/src/pagination.d.ts +4 -0
  386. package/lib/components/pagination/src/pagination.js +5 -0
  387. package/lib/components/pagination/src/pagination.js.map +1 -1
  388. package/lib/components/popconfirm/index.d.ts +1 -1
  389. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  390. package/lib/components/slider/index.d.ts +12 -1
  391. package/lib/components/slider/src/slider.vue.d.ts +12 -1
  392. package/lib/components/time-picker/src/common/picker.vue.d.ts +4 -0
  393. package/lib/components/transfer/index.d.ts +21 -1
  394. package/lib/components/transfer/src/transfer-panel.vue.d.ts +4 -0
  395. package/lib/components/transfer/src/transfer.vue.d.ts +21 -1
  396. package/lib/components/upload/index.d.ts +57 -54
  397. package/lib/components/upload/src/upload-content.d.ts +1 -1
  398. package/lib/components/upload/src/upload-content.vue.d.ts +20 -18
  399. package/lib/components/upload/src/upload-content2.js +16 -4
  400. package/lib/components/upload/src/upload-content2.js.map +1 -1
  401. package/lib/components/upload/src/upload.d.ts +4 -3
  402. package/lib/components/upload/src/upload.js +1 -1
  403. package/lib/components/upload/src/upload.js.map +1 -1
  404. package/lib/components/upload/src/upload.vue.d.ts +57 -54
  405. package/lib/components/upload/src/use-handlers.d.ts +1 -1
  406. package/lib/locale/lang/nl.js +4 -4
  407. package/lib/locale/lang/nl.js.map +1 -1
  408. package/lib/version.d.ts +1 -1
  409. package/lib/version.js +1 -1
  410. package/lib/version.js.map +1 -1
  411. package/package.json +2 -2
  412. package/tags.json +1 -1
  413. package/theme-chalk/el-collapse.css +1 -1
  414. package/theme-chalk/index.css +1 -1
  415. package/theme-chalk/src/collapse.scss +3 -0
  416. package/web-types.json +1 -1
@@ -0,0 +1,361 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var dayjs = require('dayjs');
7
+ var lodashUnified = require('lodash-unified');
8
+ require('../../../../hooks/index.js');
9
+ require('../../../../utils/index.js');
10
+ var utils = require('../utils.js');
11
+ var index = require('../../../../hooks/use-locale/index.js');
12
+ var arrays = require('../../../../utils/arrays.js');
13
+ var index$1 = require('../../../../hooks/use-namespace/index.js');
14
+
15
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
+
17
+ var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
18
+
19
+ const isNormalDay = (type = "") => {
20
+ return ["normal", "today"].includes(type);
21
+ };
22
+ const useBasicDateTable = (props, emit) => {
23
+ const { lang } = index.useLocale();
24
+ const tbodyRef = vue.ref();
25
+ const currentCellRef = vue.ref();
26
+ const lastRow = vue.ref();
27
+ const lastColumn = vue.ref();
28
+ const tableRows = vue.ref([[], [], [], [], [], []]);
29
+ let focusWithClick = false;
30
+ const firstDayOfWeek = props.date.$locale().weekStart || 7;
31
+ const WEEKS_CONSTANT = props.date.locale("en").localeData().weekdaysShort().map((_) => _.toLowerCase());
32
+ const offsetDay = vue.computed(() => {
33
+ return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek;
34
+ });
35
+ const startDate = vue.computed(() => {
36
+ const startDayOfMonth = props.date.startOf("month");
37
+ return startDayOfMonth.subtract(startDayOfMonth.day() || 7, "day");
38
+ });
39
+ const WEEKS = vue.computed(() => {
40
+ return WEEKS_CONSTANT.concat(WEEKS_CONSTANT).slice(firstDayOfWeek, firstDayOfWeek + 7);
41
+ });
42
+ const hasCurrent = vue.computed(() => {
43
+ return lodashUnified.flatten(vue.unref(rows)).some((row) => {
44
+ return row.isCurrent;
45
+ });
46
+ });
47
+ const days = vue.computed(() => {
48
+ const startOfMonth = props.date.startOf("month");
49
+ const startOfMonthDay = startOfMonth.day() || 7;
50
+ const dateCountOfMonth = startOfMonth.daysInMonth();
51
+ const dateCountOfLastMonth = startOfMonth.subtract(1, "month").daysInMonth();
52
+ return {
53
+ startOfMonthDay,
54
+ dateCountOfMonth,
55
+ dateCountOfLastMonth
56
+ };
57
+ });
58
+ const selectedDate = vue.computed(() => {
59
+ return props.selectionMode === "dates" ? arrays.castArray(props.parsedValue) : [];
60
+ });
61
+ const setDateText = (cell, { count, rowIndex, columnIndex }) => {
62
+ const { startOfMonthDay, dateCountOfMonth, dateCountOfLastMonth } = vue.unref(days);
63
+ const offset = vue.unref(offsetDay);
64
+ if (rowIndex >= 0 && rowIndex <= 1) {
65
+ const numberOfDaysFromPreviousMonth = startOfMonthDay + offset < 0 ? 7 + startOfMonthDay + offset : startOfMonthDay + offset;
66
+ if (columnIndex + rowIndex * 7 >= numberOfDaysFromPreviousMonth) {
67
+ cell.text = count;
68
+ return true;
69
+ } else {
70
+ cell.text = dateCountOfLastMonth - (numberOfDaysFromPreviousMonth - columnIndex % 7) + 1 + rowIndex * 7;
71
+ cell.type = "prev-month";
72
+ }
73
+ } else {
74
+ if (count <= dateCountOfMonth) {
75
+ cell.text = count;
76
+ } else {
77
+ cell.text = count - dateCountOfMonth;
78
+ cell.type = "next-month";
79
+ }
80
+ return true;
81
+ }
82
+ return false;
83
+ };
84
+ const setCellMetadata = (cell, { columnIndex, rowIndex }, count) => {
85
+ const { disabledDate, cellClassName } = props;
86
+ const _selectedDate = vue.unref(selectedDate);
87
+ const shouldIncrement = setDateText(cell, { count, rowIndex, columnIndex });
88
+ const cellDate = cell.dayjs.toDate();
89
+ cell.selected = _selectedDate.find((d) => d.valueOf() === cell.dayjs.valueOf());
90
+ cell.isSelected = !!cell.selected;
91
+ cell.isCurrent = isCurrent(cell);
92
+ cell.disabled = disabledDate == null ? void 0 : disabledDate(cellDate);
93
+ cell.customClass = cellClassName == null ? void 0 : cellClassName(cellDate);
94
+ return shouldIncrement;
95
+ };
96
+ const setRowMetadata = (row) => {
97
+ if (props.selectionMode === "week") {
98
+ const [start, end] = props.showWeekNumber ? [1, 7] : [0, 6];
99
+ const isActive = isWeekActive(row[start + 1]);
100
+ row[start].inRange = isActive;
101
+ row[start].start = isActive;
102
+ row[end].inRange = isActive;
103
+ row[end].end = isActive;
104
+ }
105
+ };
106
+ const rows = vue.computed(() => {
107
+ const { minDate, maxDate, rangeState, showWeekNumber } = props;
108
+ const offset = vue.unref(offsetDay);
109
+ const rows_ = vue.unref(tableRows);
110
+ const dateUnit = "day";
111
+ let count = 1;
112
+ if (showWeekNumber) {
113
+ for (let rowIndex = 0; rowIndex < 6; rowIndex++) {
114
+ if (!rows_[rowIndex][0]) {
115
+ rows_[rowIndex][0] = {
116
+ type: "week",
117
+ text: vue.unref(startDate).add(rowIndex * 7 + 1, dateUnit).week()
118
+ };
119
+ }
120
+ }
121
+ }
122
+ utils.buildPickerTable({ row: 6, column: 7 }, rows_, {
123
+ startDate: minDate,
124
+ columnIndexOffset: showWeekNumber ? 1 : 0,
125
+ nextEndDate: rangeState.endDate || maxDate || rangeState.selecting && minDate || null,
126
+ now: dayjs__default["default"]().locale(vue.unref(lang)).startOf(dateUnit),
127
+ unit: dateUnit,
128
+ relativeDateGetter: (idx) => vue.unref(startDate).add(idx - offset, dateUnit),
129
+ setCellMetadata: (...args) => {
130
+ if (setCellMetadata(...args, count)) {
131
+ count += 1;
132
+ }
133
+ },
134
+ setRowMetadata
135
+ });
136
+ return rows_;
137
+ });
138
+ vue.watch(() => props.date, async () => {
139
+ var _a;
140
+ if ((_a = vue.unref(tbodyRef)) == null ? void 0 : _a.contains(document.activeElement)) {
141
+ await vue.nextTick();
142
+ await focus();
143
+ }
144
+ });
145
+ const focus = async () => {
146
+ var _a;
147
+ return (_a = vue.unref(currentCellRef)) == null ? void 0 : _a.focus();
148
+ };
149
+ const isCurrent = (cell) => {
150
+ return props.selectionMode === "date" && isNormalDay(cell.type) && cellMatchesDate(cell, props.parsedValue);
151
+ };
152
+ const cellMatchesDate = (cell, date) => {
153
+ if (!date)
154
+ return false;
155
+ return dayjs__default["default"](date).locale(vue.unref(lang)).isSame(props.date.date(Number(cell.text)), "day");
156
+ };
157
+ const getDateOfCell = (row, column) => {
158
+ const offsetFromStart = row * 7 + (column - (props.showWeekNumber ? 1 : 0)) - vue.unref(offsetDay);
159
+ return vue.unref(startDate).add(offsetFromStart, "day");
160
+ };
161
+ const handleMouseMove = (event) => {
162
+ var _a;
163
+ if (!props.rangeState.selecting)
164
+ return;
165
+ let target = event.target;
166
+ if (target.tagName === "SPAN") {
167
+ target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;
168
+ }
169
+ if (target.tagName === "DIV") {
170
+ target = target.parentNode;
171
+ }
172
+ if (target.tagName !== "TD")
173
+ return;
174
+ const row = target.parentNode.rowIndex - 1;
175
+ const column = target.cellIndex;
176
+ if (vue.unref(rows)[row][column].disabled)
177
+ return;
178
+ if (row !== vue.unref(lastRow) || column !== vue.unref(lastColumn)) {
179
+ lastRow.value = row;
180
+ lastColumn.value = column;
181
+ emit("changerange", {
182
+ selecting: true,
183
+ endDate: getDateOfCell(row, column)
184
+ });
185
+ }
186
+ };
187
+ const isSelectedCell = (cell) => {
188
+ return !vue.unref(hasCurrent) && (cell == null ? void 0 : cell.text) === 1 && cell.type === "normal" || cell.isCurrent;
189
+ };
190
+ const handleFocus = (event) => {
191
+ if (focusWithClick || vue.unref(hasCurrent) || props.selectionMode !== "date")
192
+ return;
193
+ handlePickDate(event, true);
194
+ };
195
+ const handleMouseDown = (event) => {
196
+ const target = event.target.closest("td");
197
+ if (!target)
198
+ return;
199
+ focusWithClick = true;
200
+ };
201
+ const handleMouseUp = (event) => {
202
+ const target = event.target.closest("td");
203
+ if (!target)
204
+ return;
205
+ focusWithClick = false;
206
+ };
207
+ const handleRangePick = (newDate) => {
208
+ if (!props.rangeState.selecting || !props.minDate) {
209
+ emit("pick", { minDate: newDate, maxDate: null });
210
+ emit("select", true);
211
+ } else {
212
+ if (newDate >= props.minDate) {
213
+ emit("pick", { minDate: props.minDate, maxDate: newDate });
214
+ } else {
215
+ emit("pick", { minDate: newDate, maxDate: props.minDate });
216
+ }
217
+ emit("select", false);
218
+ }
219
+ };
220
+ const handleWeekPick = (newDate) => {
221
+ const weekNumber = newDate.week();
222
+ const value = `${newDate.year()}w${weekNumber}`;
223
+ emit("pick", {
224
+ year: newDate.year(),
225
+ week: weekNumber,
226
+ value,
227
+ date: newDate.startOf("week")
228
+ });
229
+ };
230
+ const handleDatesPick = (newDate, selected) => {
231
+ const newValue = selected ? arrays.castArray(props.parsedValue).filter((d) => (d == null ? void 0 : d.valueOf()) !== newDate.valueOf()) : arrays.castArray(props.parsedValue).concat([newDate]);
232
+ emit("pick", newValue);
233
+ };
234
+ const handlePickDate = (event, isKeyboardMovement = false) => {
235
+ const target = event.target.closest("td");
236
+ if (!target)
237
+ return;
238
+ const row = target.parentNode.rowIndex - 1;
239
+ const column = target.cellIndex;
240
+ const cell = vue.unref(rows)[row][column];
241
+ if (cell.disabled || cell.type === "week")
242
+ return;
243
+ const newDate = getDateOfCell(row, column);
244
+ switch (props.selectionMode) {
245
+ case "range": {
246
+ handleRangePick(newDate);
247
+ break;
248
+ }
249
+ case "date": {
250
+ emit("pick", newDate, isKeyboardMovement);
251
+ break;
252
+ }
253
+ case "week": {
254
+ handleWeekPick(newDate);
255
+ break;
256
+ }
257
+ case "dates": {
258
+ handleDatesPick(newDate, !!cell.selected);
259
+ break;
260
+ }
261
+ default: {
262
+ break;
263
+ }
264
+ }
265
+ };
266
+ const isWeekActive = (cell) => {
267
+ if (props.selectionMode !== "week")
268
+ return false;
269
+ let newDate = props.date.startOf("day");
270
+ if (cell.type === "prev-month") {
271
+ newDate = newDate.subtract(1, "month");
272
+ }
273
+ if (cell.type === "next-month") {
274
+ newDate = newDate.add(1, "month");
275
+ }
276
+ newDate = newDate.date(Number.parseInt(cell.text, 10));
277
+ if (props.parsedValue && !Array.isArray(props.parsedValue)) {
278
+ const dayOffset = (props.parsedValue.day() - firstDayOfWeek + 7) % 7 - 1;
279
+ const weekDate = props.parsedValue.subtract(dayOffset, "day");
280
+ return weekDate.isSame(newDate, "day");
281
+ }
282
+ return false;
283
+ };
284
+ return {
285
+ WEEKS,
286
+ rows,
287
+ tbodyRef,
288
+ currentCellRef,
289
+ focus,
290
+ isCurrent,
291
+ isWeekActive,
292
+ isSelectedCell,
293
+ handlePickDate,
294
+ handleMouseUp,
295
+ handleMouseDown,
296
+ handleMouseMove,
297
+ handleFocus
298
+ };
299
+ };
300
+ const useBasicDateTableDOM = (props, {
301
+ isCurrent,
302
+ isWeekActive
303
+ }) => {
304
+ const ns = index$1.useNamespace("date-table");
305
+ const { t } = index.useLocale();
306
+ const tableKls = vue.computed(() => [
307
+ ns.b(),
308
+ { "is-week-mode": props.selectionMode === "week" }
309
+ ]);
310
+ const tableLabel = vue.computed(() => t("el.datepicker.dateTablePrompt"));
311
+ const weekLabel = vue.computed(() => t("el.datepicker.week"));
312
+ const getCellClasses = (cell) => {
313
+ const classes = [];
314
+ if (isNormalDay(cell.type) && !cell.disabled) {
315
+ classes.push("available");
316
+ if (cell.type === "today") {
317
+ classes.push("today");
318
+ }
319
+ } else {
320
+ classes.push(cell.type);
321
+ }
322
+ if (isCurrent(cell)) {
323
+ classes.push("current");
324
+ }
325
+ if (cell.inRange && (isNormalDay(cell.type) || props.selectionMode === "week")) {
326
+ classes.push("in-range");
327
+ if (cell.start) {
328
+ classes.push("start-date");
329
+ }
330
+ if (cell.end) {
331
+ classes.push("end-date");
332
+ }
333
+ }
334
+ if (cell.disabled) {
335
+ classes.push("disabled");
336
+ }
337
+ if (cell.selected) {
338
+ classes.push("selected");
339
+ }
340
+ if (cell.customClass) {
341
+ classes.push(cell.customClass);
342
+ }
343
+ return classes.join(" ");
344
+ };
345
+ const getRowKls = (cell) => [
346
+ ns.e("row"),
347
+ { current: isWeekActive(cell) }
348
+ ];
349
+ return {
350
+ tableKls,
351
+ tableLabel,
352
+ weekLabel,
353
+ getCellClasses,
354
+ getRowKls,
355
+ t
356
+ };
357
+ };
358
+
359
+ exports.useBasicDateTable = useBasicDateTable;
360
+ exports.useBasicDateTableDOM = useBasicDateTableDOM;
361
+ //# sourceMappingURL=use-basic-date-table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-basic-date-table.js","sources":["../../../../../../../packages/components/date-picker/src/composables/use-basic-date-table.ts"],"sourcesContent":["import { computed, nextTick, ref, unref, watch } from 'vue'\nimport dayjs from 'dayjs'\nimport { flatten } from 'lodash-unified'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { castArray } from '@element-plus/utils'\nimport { buildPickerTable } from '../utils'\n\nimport type { SetupContext } from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type { DateCell } from '../date-picker.type'\nimport type {\n BasicDateTableEmits,\n BasicDateTableProps,\n} from '../props/basic-date-table'\n\nconst isNormalDay = (type = '') => {\n return ['normal', 'today'].includes(type)\n}\n\nexport const useBasicDateTable = (\n props: BasicDateTableProps,\n emit: SetupContext<BasicDateTableEmits>['emit']\n) => {\n const { lang } = useLocale()\n const tbodyRef = ref<HTMLElement>()\n const currentCellRef = ref<HTMLElement>()\n // data\n const lastRow = ref<number>()\n const lastColumn = ref<number>()\n const tableRows = ref<DateCell[][]>([[], [], [], [], [], []])\n\n let focusWithClick = false\n\n // todo better way to get Day.js locale object\n const firstDayOfWeek = (props.date as any).$locale().weekStart || 7\n const WEEKS_CONSTANT = props.date\n .locale('en')\n .localeData()\n .weekdaysShort()\n .map((_) => _.toLowerCase())\n\n const offsetDay = computed(() => {\n // Sunday 7(0), cal the left and right offset days, 3217654, such as Monday is -1, the is to adjust the position of the first two rows of dates\n return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek\n })\n\n const startDate = computed(() => {\n const startDayOfMonth = props.date.startOf('month')\n return startDayOfMonth.subtract(startDayOfMonth.day() || 7, 'day')\n })\n\n const WEEKS = computed(() => {\n return WEEKS_CONSTANT.concat(WEEKS_CONSTANT).slice(\n firstDayOfWeek,\n firstDayOfWeek + 7\n )\n })\n\n const hasCurrent = computed<boolean>(() => {\n return flatten(unref(rows)).some((row) => {\n return row.isCurrent\n })\n })\n\n const days = computed(() => {\n const startOfMonth = props.date.startOf('month')\n const startOfMonthDay = startOfMonth.day() || 7 // day of first day\n const dateCountOfMonth = startOfMonth.daysInMonth()\n\n const dateCountOfLastMonth = startOfMonth.subtract(1, 'month').daysInMonth()\n\n return {\n startOfMonthDay,\n dateCountOfMonth,\n dateCountOfLastMonth,\n }\n })\n\n const selectedDate = computed(() => {\n return props.selectionMode === 'dates'\n ? (castArray(props.parsedValue) as Dayjs[])\n : ([] as Dayjs[])\n })\n\n // Return value indicates should the counter be incremented\n type CellCoordinate = { columnIndex: number; rowIndex: number }\n type CellMeta = CellCoordinate & {\n count: number\n }\n const setDateText = (\n cell: DateCell,\n { count, rowIndex, columnIndex }: CellMeta\n ): boolean => {\n const { startOfMonthDay, dateCountOfMonth, dateCountOfLastMonth } =\n unref(days)\n const offset = unref(offsetDay)\n if (rowIndex >= 0 && rowIndex <= 1) {\n const numberOfDaysFromPreviousMonth =\n startOfMonthDay + offset < 0\n ? 7 + startOfMonthDay + offset\n : startOfMonthDay + offset\n\n if (columnIndex + rowIndex * 7 >= numberOfDaysFromPreviousMonth) {\n cell.text = count\n return true\n } else {\n cell.text =\n dateCountOfLastMonth -\n (numberOfDaysFromPreviousMonth - (columnIndex % 7)) +\n 1 +\n rowIndex * 7\n cell.type = 'prev-month'\n }\n } else {\n if (count <= dateCountOfMonth) {\n cell.text = count\n } else {\n cell.text = count - dateCountOfMonth\n cell.type = 'next-month'\n }\n return true\n }\n return false\n }\n\n const setCellMetadata = (\n cell: DateCell,\n { columnIndex, rowIndex }: CellCoordinate,\n count: number\n ) => {\n const { disabledDate, cellClassName } = props\n const _selectedDate = unref(selectedDate)\n const shouldIncrement = setDateText(cell, { count, rowIndex, columnIndex })\n\n const cellDate = cell.dayjs!.toDate()\n cell.selected = _selectedDate.find(\n (d) => d.valueOf() === cell.dayjs!.valueOf()\n )\n cell.isSelected = !!cell.selected\n cell.isCurrent = isCurrent(cell)\n cell.disabled = disabledDate?.(cellDate)\n cell.customClass = cellClassName?.(cellDate)\n return shouldIncrement\n }\n\n const setRowMetadata = (row: DateCell[]) => {\n if (props.selectionMode === 'week') {\n const [start, end] = props.showWeekNumber ? [1, 7] : [0, 6]\n const isActive = isWeekActive(row[start + 1])\n row[start].inRange = isActive\n row[start].start = isActive\n row[end].inRange = isActive\n row[end].end = isActive\n }\n }\n\n const rows = computed(() => {\n const { minDate, maxDate, rangeState, showWeekNumber } = props\n\n const offset = unref(offsetDay)\n const rows_ = unref(tableRows)\n const dateUnit = 'day'\n let count = 1\n\n if (showWeekNumber) {\n for (let rowIndex = 0; rowIndex < 6; rowIndex++) {\n if (!rows_[rowIndex][0]) {\n rows_[rowIndex][0] = {\n type: 'week',\n text: unref(startDate)\n .add(rowIndex * 7 + 1, dateUnit)\n .week(),\n }\n }\n }\n }\n\n buildPickerTable({ row: 6, column: 7 }, rows_, {\n startDate: minDate,\n columnIndexOffset: showWeekNumber ? 1 : 0,\n nextEndDate:\n rangeState.endDate ||\n maxDate ||\n (rangeState.selecting && minDate) ||\n null,\n now: dayjs().locale(unref(lang)).startOf(dateUnit),\n unit: dateUnit,\n relativeDateGetter: (idx: number) =>\n unref(startDate).add(idx - offset, dateUnit),\n setCellMetadata: (...args) => {\n if (setCellMetadata(...args, count)) {\n count += 1\n }\n },\n\n setRowMetadata,\n })\n\n return rows_\n })\n\n watch(\n () => props.date,\n async () => {\n if (unref(tbodyRef)?.contains(document.activeElement)) {\n await nextTick()\n await focus()\n // currentCellRef.value?.focus()\n }\n }\n )\n\n const focus = async () => unref(currentCellRef)?.focus()\n\n const isCurrent = (cell: DateCell): boolean => {\n return (\n props.selectionMode === 'date' &&\n isNormalDay(cell.type) &&\n cellMatchesDate(cell, props.parsedValue as Dayjs)\n )\n }\n\n const cellMatchesDate = (cell: DateCell, date: Dayjs) => {\n if (!date) return false\n return dayjs(date)\n .locale(unref(lang))\n .isSame(props.date.date(Number(cell.text)), 'day')\n }\n\n const getDateOfCell = (row: number, column: number) => {\n const offsetFromStart =\n row * 7 + (column - (props.showWeekNumber ? 1 : 0)) - unref(offsetDay)\n return unref(startDate).add(offsetFromStart, 'day')\n }\n\n const handleMouseMove = (event: MouseEvent) => {\n if (!props.rangeState.selecting) return\n\n let target = event.target as HTMLElement\n if (target.tagName === 'SPAN') {\n target = target.parentNode?.parentNode as HTMLElement\n }\n if (target.tagName === 'DIV') {\n target = target.parentNode as HTMLElement\n }\n if (target.tagName !== 'TD') return\n\n const row = (target.parentNode as HTMLTableRowElement).rowIndex - 1\n const column = (target as HTMLTableCellElement).cellIndex\n\n // can not select disabled date\n if (unref(rows)[row][column].disabled) return\n\n // only update rangeState when mouse moves to a new cell\n // this avoids frequent Date object creation and improves performance\n if (row !== unref(lastRow) || column !== unref(lastColumn)) {\n lastRow.value = row\n lastColumn.value = column\n emit('changerange', {\n selecting: true,\n endDate: getDateOfCell(row, column),\n })\n }\n }\n\n const isSelectedCell = (cell: DateCell) => {\n return (\n (!unref(hasCurrent) && cell?.text === 1 && cell.type === 'normal') ||\n cell.isCurrent\n )\n }\n\n const handleFocus = (event: FocusEvent) => {\n if (focusWithClick || unref(hasCurrent) || props.selectionMode !== 'date')\n return\n handlePickDate(event, true)\n }\n\n const handleMouseDown = (event: MouseEvent) => {\n const target = (event.target as HTMLElement).closest('td')\n if (!target) return\n focusWithClick = true\n }\n\n const handleMouseUp = (event: MouseEvent) => {\n const target = (event.target as HTMLElement).closest('td')\n if (!target) return\n focusWithClick = false\n }\n\n const handleRangePick = (newDate: Dayjs) => {\n if (!props.rangeState.selecting || !props.minDate) {\n emit('pick', { minDate: newDate, maxDate: null })\n emit('select', true)\n } else {\n if (newDate >= props.minDate) {\n emit('pick', { minDate: props.minDate, maxDate: newDate })\n } else {\n emit('pick', { minDate: newDate, maxDate: props.minDate })\n }\n emit('select', false)\n }\n }\n\n const handleWeekPick = (newDate: Dayjs) => {\n const weekNumber = newDate.week()\n const value = `${newDate.year()}w${weekNumber}`\n emit('pick', {\n year: newDate.year(),\n week: weekNumber,\n value,\n date: newDate.startOf('week'),\n })\n }\n\n const handleDatesPick = (newDate: Dayjs, selected: boolean) => {\n const newValue = selected\n ? castArray(props.parsedValue).filter(\n (d) => d?.valueOf() !== newDate.valueOf()\n )\n : castArray(props.parsedValue).concat([newDate])\n emit('pick', newValue)\n }\n\n const handlePickDate = (\n event: FocusEvent | MouseEvent,\n isKeyboardMovement = false\n ) => {\n const target = (event.target as HTMLElement).closest('td')\n\n if (!target) return\n\n const row = (target.parentNode as HTMLTableRowElement).rowIndex - 1\n const column = (target as HTMLTableCellElement).cellIndex\n const cell = unref(rows)[row][column]\n\n if (cell.disabled || cell.type === 'week') return\n\n const newDate = getDateOfCell(row, column)\n\n switch (props.selectionMode) {\n case 'range': {\n handleRangePick(newDate)\n break\n }\n case 'date': {\n emit('pick', newDate, isKeyboardMovement)\n break\n }\n case 'week': {\n handleWeekPick(newDate)\n break\n }\n case 'dates': {\n handleDatesPick(newDate, !!cell.selected)\n break\n }\n default: {\n break\n }\n }\n }\n\n const isWeekActive = (cell: DateCell) => {\n if (props.selectionMode !== 'week') return false\n let newDate = props.date.startOf('day')\n\n if (cell.type === 'prev-month') {\n newDate = newDate.subtract(1, 'month')\n }\n\n if (cell.type === 'next-month') {\n newDate = newDate.add(1, 'month')\n }\n\n newDate = newDate.date(Number.parseInt(cell.text as any, 10))\n\n if (props.parsedValue && !Array.isArray(props.parsedValue)) {\n const dayOffset = ((props.parsedValue.day() - firstDayOfWeek + 7) % 7) - 1\n const weekDate = props.parsedValue.subtract(dayOffset, 'day')\n return weekDate.isSame(newDate, 'day')\n }\n return false\n }\n\n return {\n WEEKS,\n rows,\n tbodyRef,\n currentCellRef,\n\n // cellMatchesDate,\n // getDateOfCell,\n focus,\n isCurrent,\n isWeekActive,\n isSelectedCell,\n\n handlePickDate,\n handleMouseUp,\n handleMouseDown,\n handleMouseMove,\n handleFocus,\n }\n}\n\nexport const useBasicDateTableDOM = (\n props: BasicDateTableProps,\n {\n isCurrent,\n isWeekActive,\n }: Pick<ReturnType<typeof useBasicDateTable>, 'isCurrent' | 'isWeekActive'>\n) => {\n const ns = useNamespace('date-table')\n const { t } = useLocale()\n\n const tableKls = computed(() => [\n ns.b(),\n { 'is-week-mode': props.selectionMode === 'week' },\n ])\n\n const tableLabel = computed(() => t('el.datepicker.dateTablePrompt'))\n const weekLabel = computed(() => t('el.datepicker.week'))\n\n const getCellClasses = (cell: DateCell) => {\n const classes: string[] = []\n if (isNormalDay(cell.type) && !cell.disabled) {\n classes.push('available')\n if (cell.type === 'today') {\n classes.push('today')\n }\n } else {\n classes.push(cell.type!)\n }\n\n if (isCurrent(cell)) {\n classes.push('current')\n }\n\n if (\n cell.inRange &&\n (isNormalDay(cell.type) || props.selectionMode === 'week')\n ) {\n classes.push('in-range')\n\n if (cell.start) {\n classes.push('start-date')\n }\n\n if (cell.end) {\n classes.push('end-date')\n }\n }\n\n if (cell.disabled) {\n classes.push('disabled')\n }\n\n if (cell.selected) {\n classes.push('selected')\n }\n\n if (cell.customClass) {\n classes.push(cell.customClass)\n }\n\n return classes.join(' ')\n }\n\n const getRowKls = (cell: DateCell) => [\n ns.e('row'),\n { current: isWeekActive(cell) },\n ]\n\n return {\n tableKls,\n tableLabel,\n weekLabel,\n\n getCellClasses,\n getRowKls,\n t,\n }\n}\n"],"names":["useLocale","ref","computed","flatten","unref","castArray","buildPickerTable","dayjs","watch","nextTick","useNamespace"],"mappings":";;;;;;;;;;;;;;;;;;AAMA,MAAM,WAAW,GAAG,CAAC,IAAI,GAAG,EAAE,KAAK;AACnC,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC,CAAC;AACU,MAAC,iBAAiB,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK;AAClD,EAAE,MAAM,EAAE,IAAI,EAAE,GAAGA,eAAS,EAAE,CAAC;AAC/B,EAAE,MAAM,QAAQ,GAAGC,OAAG,EAAE,CAAC;AACzB,EAAE,MAAM,cAAc,GAAGA,OAAG,EAAE,CAAC;AAC/B,EAAE,MAAM,OAAO,GAAGA,OAAG,EAAE,CAAC;AACxB,EAAE,MAAM,UAAU,GAAGA,OAAG,EAAE,CAAC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