kui-vue 6.2.2 → 6.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (473) hide show
  1. package/ai/kui-components.json +1016 -457
  2. package/dist/index.js +2 -2
  3. package/es/index.js +6225 -4909
  4. package/es/locale/de.js +6 -2
  5. package/es/locale/el.js +6 -2
  6. package/es/locale/en.js +6 -2
  7. package/es/locale/fr.js +6 -2
  8. package/es/locale/it.js +6 -2
  9. package/es/locale/ja.js +6 -2
  10. package/es/locale/ko.js +6 -2
  11. package/es/locale/ru.js +6 -2
  12. package/es/locale/th.js +6 -2
  13. package/es/locale/uk.js +6 -2
  14. package/es/locale/vi.js +6 -2
  15. package/es/locale/zh-CN.js +6 -2
  16. package/es/locale/zh-TW.js +6 -2
  17. package/lib/index.cjs +2 -2
  18. package/lib/locale/de.cjs +2 -2
  19. package/lib/locale/el.cjs +2 -2
  20. package/lib/locale/en.cjs +2 -2
  21. package/lib/locale/fr.cjs +2 -2
  22. package/lib/locale/it.cjs +2 -2
  23. package/lib/locale/ja.cjs +2 -2
  24. package/lib/locale/ko.cjs +2 -2
  25. package/lib/locale/ru.cjs +2 -2
  26. package/lib/locale/th.cjs +2 -2
  27. package/lib/locale/uk.cjs +2 -2
  28. package/lib/locale/vi.cjs +2 -2
  29. package/lib/locale/zh-CN.cjs +2 -2
  30. package/lib/locale/zh-TW.cjs +2 -2
  31. package/package.json +6 -5
  32. package/style/base.css +2 -2
  33. package/style/components.css +2 -2
  34. package/style/index.css +2 -2
  35. package/style/motion.css +1 -1
  36. package/style/theme.css +2 -2
  37. package/types/affix/index.d.cts +42 -0
  38. package/types/alert/index.d.cts +84 -0
  39. package/types/alert/index.d.ts +6 -6
  40. package/types/anchor/anchor-link.d.cts +23 -0
  41. package/types/anchor/anchor.d.cts +58 -0
  42. package/types/anchor/anchor.d.ts +1 -1
  43. package/types/anchor/context.d.cts +8 -0
  44. package/types/anchor/index.d.cts +5 -0
  45. package/types/anchor/index.d.ts +4 -4
  46. package/types/auto-complete/index.d.cts +181 -0
  47. package/types/auto-complete/index.d.ts +53 -1
  48. package/types/avatar/avatar-group.d.cts +42 -0
  49. package/types/avatar/avatar-group.d.ts +1 -1
  50. package/types/avatar/avatar.d.cts +49 -0
  51. package/types/avatar/avatar.d.ts +2 -2
  52. package/types/avatar/context.d.cts +8 -0
  53. package/types/avatar/index.d.cts +5 -0
  54. package/types/avatar/index.d.ts +4 -4
  55. package/types/back-top/index.d.cts +60 -0
  56. package/types/badge/index.d.cts +45 -0
  57. package/types/badge/index.d.ts +8 -18
  58. package/types/base/transition.d.cts +3 -0
  59. package/types/breadcrumb/breadcrumb-item.d.cts +25 -0
  60. package/types/breadcrumb/breadcrumb-item.d.ts +1 -1
  61. package/types/breadcrumb/breadcrumb.d.cts +22 -0
  62. package/types/breadcrumb/index.d.cts +5 -0
  63. package/types/breadcrumb/index.d.ts +4 -4
  64. package/types/button/button-group.d.cts +21 -0
  65. package/types/button/button-group.d.ts +1 -1
  66. package/types/button/button.d.cts +38 -0
  67. package/types/button/button.d.ts +4 -5
  68. package/types/button/index.d.cts +5 -0
  69. package/types/button/index.d.ts +4 -4
  70. package/types/calendar/index.d.cts +93 -0
  71. package/types/card/card-meta.d.cts +17 -0
  72. package/types/card/index.d.cts +76 -0
  73. package/types/card/index.d.ts +8 -8
  74. package/types/carousel/carousel-item.d.cts +2 -0
  75. package/types/carousel/carousel.d.cts +116 -0
  76. package/types/carousel/carousel.d.ts +1 -1
  77. package/types/carousel/drag.d.cts +19 -0
  78. package/types/carousel/index.d.cts +4 -0
  79. package/types/carousel/index.d.ts +3 -3
  80. package/types/cascader/index.d.cts +151 -0
  81. package/types/cascader/index.d.ts +30 -21
  82. package/types/cascader/types.d.cts +76 -0
  83. package/types/cascader/types.d.ts +7 -2
  84. package/types/check-card/check-card-group.d.cts +80 -0
  85. package/types/check-card/check-card-group.d.ts +5 -9
  86. package/types/check-card/check-card.d.cts +113 -0
  87. package/types/check-card/check-card.d.ts +6 -10
  88. package/types/check-card/context.d.cts +20 -0
  89. package/types/check-card/context.d.ts +3 -3
  90. package/types/check-card/index.d.cts +7 -0
  91. package/types/check-card/index.d.ts +5 -5
  92. package/types/check-card/types.d.cts +22 -0
  93. package/types/check-card/types.d.ts +3 -4
  94. package/types/checkbox/checkbox-group.d.cts +87 -0
  95. package/types/checkbox/checkbox-group.d.ts +6 -6
  96. package/types/checkbox/checkbox.d.cts +68 -0
  97. package/types/checkbox/checkbox.d.ts +3 -3
  98. package/types/checkbox/index.d.cts +7 -0
  99. package/types/checkbox/index.d.ts +5 -5
  100. package/types/checkbox/types.d.cts +12 -0
  101. package/types/collapse/collapse-panel.d.cts +21 -0
  102. package/types/collapse/collapse-panel.d.ts +1 -1
  103. package/types/collapse/collapse.d.cts +62 -0
  104. package/types/collapse/collapse.d.ts +6 -6
  105. package/types/collapse/context.d.cts +7 -0
  106. package/types/collapse/index.d.cts +6 -0
  107. package/types/collapse/index.d.ts +4 -4
  108. package/types/color-picker/alpha.d.cts +22 -0
  109. package/types/color-picker/hue.d.cts +21 -0
  110. package/types/color-picker/index.d.cts +228 -0
  111. package/types/color-picker/index.d.ts +31 -4
  112. package/types/color-picker/mode.d.cts +28 -0
  113. package/types/color-picker/mode.d.ts +2 -2
  114. package/types/color-picker/paint.d.cts +40 -0
  115. package/types/color-picker/presets.d.cts +22 -0
  116. package/types/color-picker/types.d.cts +1 -0
  117. package/types/components.d.cts +166 -0
  118. package/types/components.d.ts +166 -166
  119. package/types/config/context.d.cts +128 -0
  120. package/types/config/context.d.ts +102 -1
  121. package/types/config/index.d.cts +38 -0
  122. package/types/config/index.d.ts +2 -2
  123. package/types/config/popup-host.d.cts +6 -0
  124. package/types/config/popup.d.cts +4 -0
  125. package/types/const/types.d.cts +39 -0
  126. package/types/const/types.d.ts +12 -2
  127. package/types/const/var.d.cts +6 -0
  128. package/types/const/var.d.ts +6 -1
  129. package/types/date-picker/index.d.cts +334 -0
  130. package/types/date-picker/index.d.ts +21 -3
  131. package/types/descriptions/descriptions-item.d.cts +28 -0
  132. package/types/descriptions/descriptions-item.d.ts +1 -1
  133. package/types/descriptions/descriptions.d.cts +69 -0
  134. package/types/descriptions/descriptions.d.ts +1 -1
  135. package/types/descriptions/index.d.cts +6 -0
  136. package/types/descriptions/index.d.ts +4 -4
  137. package/types/directives/outsiteclick.d.cts +2 -0
  138. package/types/directives/resize.d.cts +3 -0
  139. package/types/directives/scroll.d.cts +2 -0
  140. package/types/divider/index.d.cts +42 -0
  141. package/types/divider/index.d.ts +1 -1
  142. package/types/drawer/index.d.cts +197 -0
  143. package/types/drawer/index.d.ts +22 -9
  144. package/types/dropdown/dropdown-button.d.cts +65 -0
  145. package/types/dropdown/dropdown-button.d.ts +24 -5
  146. package/types/dropdown/dropdown-context.d.cts +16 -0
  147. package/types/dropdown/dropdown-context.d.ts +5 -0
  148. package/types/dropdown/dropdown.d.cts +80 -0
  149. package/types/dropdown/dropdown.d.ts +17 -1
  150. package/types/dropdown/index.d.cts +6 -0
  151. package/types/dropdown/index.d.ts +4 -4
  152. package/types/dropdown/trigger.d.cts +13 -0
  153. package/types/dropdown/trigger.d.ts +4 -4
  154. package/types/empty/index.d.cts +12 -0
  155. package/types/feature-card/index.d.cts +101 -0
  156. package/types/feature-card/index.d.ts +6 -6
  157. package/types/feedback-panel/feedback-panel.d.cts +64 -0
  158. package/types/feedback-panel/feedback-panel.d.ts +7 -7
  159. package/types/feedback-panel/index.d.cts +4 -0
  160. package/types/feedback-panel/index.d.ts +3 -3
  161. package/types/flame-wrap/engine.d.cts +83 -0
  162. package/types/flame-wrap/engine.d.ts +18 -0
  163. package/types/flame-wrap/index.d.cts +81 -0
  164. package/types/flame-wrap/index.d.ts +1 -1
  165. package/types/flex/index.d.cts +44 -0
  166. package/types/flex/index.d.ts +3 -3
  167. package/types/flex/types.d.cts +4 -0
  168. package/types/flex/types.d.ts +1 -1
  169. package/types/form/context.d.cts +68 -0
  170. package/types/form/context.d.ts +4 -2
  171. package/types/form/form-item.d.cts +39 -0
  172. package/types/form/form-item.d.ts +2 -2
  173. package/types/form/form.d.cts +87 -0
  174. package/types/form/form.d.ts +2 -2
  175. package/types/form/index.d.cts +8 -0
  176. package/types/form/index.d.ts +6 -6
  177. package/types/form/types.d.cts +27 -0
  178. package/types/global.d.cts +516 -0
  179. package/types/global.d.ts +256 -0
  180. package/types/grid/grid-item.d.cts +25 -0
  181. package/types/grid/grid-item.d.ts +1 -1
  182. package/types/grid/grid.d.cts +44 -0
  183. package/types/grid/grid.d.ts +2 -2
  184. package/types/grid/index.d.cts +6 -0
  185. package/types/grid/index.d.ts +5 -5
  186. package/types/grid/useBreakpoint.d.cts +9 -0
  187. package/types/icon/index.d.cts +62 -0
  188. package/types/icon/index.d.ts +3 -3
  189. package/types/icon/types.d.cts +4 -0
  190. package/types/image/context.d.cts +9 -0
  191. package/types/image/context.d.ts +1 -1
  192. package/types/image/group.d.cts +11 -0
  193. package/types/image/image.d.cts +73 -0
  194. package/types/image/image.d.ts +6 -6
  195. package/types/image/index.d.cts +6 -0
  196. package/types/image/index.d.ts +5 -5
  197. package/types/image/instance.d.cts +17 -0
  198. package/types/image/instance.d.ts +1 -1
  199. package/types/image/preview.d.cts +47 -0
  200. package/types/image/preview.d.ts +1 -1
  201. package/types/image/utils.d.cts +6 -0
  202. package/types/index.d.cts +1 -1
  203. package/types/index.d.ts +1 -1
  204. package/types/input/index.d.cts +8 -0
  205. package/types/input/index.d.ts +6 -6
  206. package/types/input/input-base.d.cts +186 -0
  207. package/types/input/input-base.d.ts +2 -2
  208. package/types/input/input-box.d.cts +47 -0
  209. package/types/input/input-box.d.ts +1 -1
  210. package/types/input/input-group.d.cts +54 -0
  211. package/types/input/input-group.d.ts +3 -7
  212. package/types/input/input.d.cts +114 -0
  213. package/types/input/input.d.ts +19 -19
  214. package/types/input/textarea.d.cts +81 -0
  215. package/types/input/textarea.d.ts +1 -1
  216. package/types/input-number/index.d.cts +180 -0
  217. package/types/input-number/index.d.ts +39 -9
  218. package/types/input-otp/index.d.cts +4 -0
  219. package/types/input-otp/index.d.ts +3 -3
  220. package/types/input-otp/input-otp.d.cts +113 -0
  221. package/types/input-otp/input-otp.d.ts +3 -3
  222. package/types/input-otp/types.d.cts +1 -0
  223. package/types/input-tag/index.d.cts +118 -0
  224. package/types/input-tag/index.d.ts +1 -1
  225. package/types/kanban/index.d.cts +124 -0
  226. package/types/kanban/index.d.ts +5 -4
  227. package/types/layout/index.d.cts +136 -0
  228. package/types/layout/index.d.ts +1 -1
  229. package/types/list-panel/index.d.cts +79 -0
  230. package/types/list-panel/index.d.ts +7 -7
  231. package/types/loading/index.d.cts +11 -0
  232. package/types/locale/de.d.cts +4 -0
  233. package/types/locale/de.d.ts +4 -0
  234. package/types/locale/el.d.cts +4 -0
  235. package/types/locale/el.d.ts +4 -0
  236. package/types/locale/en.d.cts +4 -0
  237. package/types/locale/en.d.ts +4 -0
  238. package/types/locale/fr.d.cts +4 -0
  239. package/types/locale/fr.d.ts +4 -0
  240. package/types/locale/it.d.cts +4 -0
  241. package/types/locale/it.d.ts +4 -0
  242. package/types/locale/ja.d.cts +4 -0
  243. package/types/locale/ja.d.ts +4 -0
  244. package/types/locale/ko.d.cts +4 -0
  245. package/types/locale/ko.d.ts +4 -0
  246. package/types/locale/ru.d.cts +4 -0
  247. package/types/locale/ru.d.ts +4 -0
  248. package/types/locale/th.d.cts +4 -0
  249. package/types/locale/th.d.ts +4 -0
  250. package/types/locale/uk.d.cts +4 -0
  251. package/types/locale/uk.d.ts +4 -0
  252. package/types/locale/vi.d.cts +4 -0
  253. package/types/locale/vi.d.ts +4 -0
  254. package/types/locale/zh-CN.d.cts +4 -0
  255. package/types/locale/zh-CN.d.ts +4 -0
  256. package/types/locale/zh-TW.d.cts +4 -0
  257. package/types/locale/zh-TW.d.ts +4 -0
  258. package/types/mentions/index.d.cts +167 -0
  259. package/types/mentions/index.d.ts +17 -1
  260. package/types/menu/index.d.cts +8 -0
  261. package/types/menu/index.d.ts +6 -6
  262. package/types/menu/menu-context.d.cts +23 -0
  263. package/types/menu/menu-context.d.ts +1 -1
  264. package/types/menu/menu-divider.d.cts +2 -0
  265. package/types/menu/menu-group.d.cts +11 -0
  266. package/types/menu/menu-item.d.cts +23 -0
  267. package/types/menu/menu-item.d.ts +2 -2
  268. package/types/menu/menu-keyboard.d.cts +30 -0
  269. package/types/menu/menu-keyboard.d.ts +23 -0
  270. package/types/menu/menu.d.cts +99 -0
  271. package/types/menu/menu.d.ts +3 -3
  272. package/types/menu/recursive-menu.d.cts +14 -0
  273. package/types/menu/recursive-menu.d.ts +1 -1
  274. package/types/menu/sub-menu.d.cts +19 -0
  275. package/types/menu/sub-menu.d.ts +2 -2
  276. package/types/menu/types.d.cts +14 -0
  277. package/types/menu/types.d.ts +1 -1
  278. package/types/message/index.d.cts +26 -0
  279. package/types/message/index.d.ts +2 -2
  280. package/types/modal/index.d.cts +38 -0
  281. package/types/modal/index.d.ts +11 -5
  282. package/types/modal/modal.d.cts +178 -0
  283. package/types/modal/modal.d.ts +29 -6
  284. package/types/modal/toast.d.cts +37 -0
  285. package/types/modal/toast.d.ts +7 -7
  286. package/types/notice/container.d.cts +6 -0
  287. package/types/notice/content.d.cts +64 -0
  288. package/types/notice/content.d.ts +3 -3
  289. package/types/notice/index.d.cts +24 -0
  290. package/types/notice/index.d.ts +2 -2
  291. package/types/notice/instance.d.cts +8 -0
  292. package/types/notice/instance.d.ts +1 -1
  293. package/types/page/index.d.cts +143 -0
  294. package/types/page/index.d.ts +5 -5
  295. package/types/page/responsive.d.cts +1 -0
  296. package/types/page-header/index.d.cts +14 -0
  297. package/types/popconfirm/index.d.cts +82 -0
  298. package/types/popconfirm/index.d.ts +18 -2
  299. package/types/poptip/index.d.cts +80 -0
  300. package/types/poptip/index.d.ts +18 -2
  301. package/types/popup/index.d.cts +251 -0
  302. package/types/popup/index.d.ts +3 -3
  303. package/types/popup/layers.d.cts +11 -0
  304. package/types/popup/layers.d.ts +2 -0
  305. package/types/popup/types.d.cts +15 -0
  306. package/types/progress/index.d.cts +123 -0
  307. package/types/progress/index.d.ts +2 -2
  308. package/types/qrcode/index.d.cts +195 -0
  309. package/types/qrcode/index.d.ts +6 -6
  310. package/types/radio/index.d.cts +9 -0
  311. package/types/radio/index.d.ts +8 -8
  312. package/types/radio/radio-button.d.cts +84 -0
  313. package/types/radio/radio-button.d.ts +6 -6
  314. package/types/radio/radio-group.d.cts +36 -0
  315. package/types/radio/radio-group.d.ts +3 -3
  316. package/types/radio/radio.d.cts +84 -0
  317. package/types/radio/radio.d.ts +6 -6
  318. package/types/radio/types.d.cts +12 -0
  319. package/types/radio/types.d.ts +1 -1
  320. package/types/rate/index.d.cts +102 -0
  321. package/types/rate/index.d.ts +2 -2
  322. package/types/rate/star.d.cts +70 -0
  323. package/types/rate/star.d.ts +2 -2
  324. package/types/result/index.d.cts +4 -0
  325. package/types/result/index.d.ts +3 -3
  326. package/types/result/result.d.cts +34 -0
  327. package/types/result/result.d.ts +3 -3
  328. package/types/ripple/engine.d.cts +66 -0
  329. package/types/ripple/engine.d.ts +18 -0
  330. package/types/ripple/index.d.cts +42 -0
  331. package/types/ripple/index.d.ts +1 -1
  332. package/types/row-col/col.d.cts +52 -0
  333. package/types/row-col/index.d.cts +5 -0
  334. package/types/row-col/index.d.ts +4 -4
  335. package/types/row-col/row.d.cts +38 -0
  336. package/types/segmented/index.d.cts +49 -0
  337. package/types/segmented/index.d.ts +4 -3
  338. package/types/select/index.d.cts +6 -0
  339. package/types/select/index.d.ts +5 -5
  340. package/types/select/option.d.cts +53 -0
  341. package/types/select/option.d.ts +3 -3
  342. package/types/select/select.d.cts +81 -0
  343. package/types/select/select.d.ts +9 -4
  344. package/types/select/types.d.cts +12 -0
  345. package/types/skeleton/index.d.cts +11 -0
  346. package/types/skeleton/index.d.ts +10 -10
  347. package/types/skeleton/skeleton-avatar.d.cts +27 -0
  348. package/types/skeleton/skeleton-avatar.d.ts +9 -9
  349. package/types/skeleton/skeleton-button.d.cts +29 -0
  350. package/types/skeleton/skeleton-button.d.ts +11 -11
  351. package/types/skeleton/skeleton-image.d.cts +25 -0
  352. package/types/skeleton/skeleton-image.d.ts +5 -5
  353. package/types/skeleton/skeleton-text.d.cts +25 -0
  354. package/types/skeleton/skeleton-text.d.ts +7 -7
  355. package/types/skeleton/skeleton.d.cts +53 -0
  356. package/types/skeleton/skeleton.d.ts +9 -9
  357. package/types/skeleton/types.d.cts +71 -0
  358. package/types/skeleton/types.d.ts +1 -1
  359. package/types/skeleton/use-skeleton-loading.d.cts +2 -0
  360. package/types/slider/index.d.cts +66 -0
  361. package/types/slider/index.d.ts +1 -1
  362. package/types/slider/thumb.d.cts +70 -0
  363. package/types/slider/thumb.d.ts +1 -1
  364. package/types/space/index.d.cts +54 -0
  365. package/types/space/index.d.ts +1 -1
  366. package/types/spin/index.d.cts +71 -0
  367. package/types/spin/index.d.ts +1 -1
  368. package/types/splitter/index.d.cts +4 -0
  369. package/types/splitter/index.d.ts +2 -2
  370. package/types/splitter/splitter-panel.d.cts +35 -0
  371. package/types/splitter/splitter.d.cts +31 -0
  372. package/types/splitter/splitter.d.ts +1 -1
  373. package/types/stat-card/countup.d.cts +56 -0
  374. package/types/stat-card/index.d.cts +6 -0
  375. package/types/stat-card/index.d.ts +5 -5
  376. package/types/stat-card/rollup.d.cts +34 -0
  377. package/types/stat-card/stat-card.d.cts +120 -0
  378. package/types/stat-card/stat-card.d.ts +26 -8
  379. package/types/stat-card/stat-number.d.cts +110 -0
  380. package/types/stat-card/stat-number.d.ts +1 -1
  381. package/types/stat-card/types.d.cts +15 -0
  382. package/types/stat-card/utils/countup.d.cts +128 -0
  383. package/types/stat-card/utils/countup.d.ts +3 -3
  384. package/types/stat-card/utils/odometer.d.cts +17 -0
  385. package/types/stat-card/utils/odometer.d.ts +1 -1
  386. package/types/stat-card/utils/stat-item-key.d.cts +11 -0
  387. package/types/stat-card/utils/stat-item-key.d.ts +11 -0
  388. package/types/steps/index.d.cts +86 -0
  389. package/types/switch/index.d.cts +63 -0
  390. package/types/switch/index.d.ts +1 -1
  391. package/types/table/column-setting.d.cts +78 -0
  392. package/types/table/column-setting.d.ts +2 -2
  393. package/types/table/index.d.cts +262 -0
  394. package/types/table/index.d.ts +25 -9
  395. package/types/table/types.d.cts +39 -0
  396. package/types/table/types.d.ts +17 -1
  397. package/types/table/utils.d.cts +89 -0
  398. package/types/table/utils.d.ts +77 -1
  399. package/types/tabs/index.d.cts +6 -0
  400. package/types/tabs/index.d.ts +5 -5
  401. package/types/tabs/tab-panel.d.cts +22 -0
  402. package/types/tabs/tab-panel.d.ts +2 -2
  403. package/types/tabs/tabs.d.cts +51 -0
  404. package/types/tabs/tabs.d.ts +1 -1
  405. package/types/tabs/types.d.cts +16 -0
  406. package/types/tabs/types.d.ts +1 -1
  407. package/types/tag/index.d.cts +58 -0
  408. package/types/tag/index.d.ts +6 -6
  409. package/types/time-line/index.d.cts +6 -0
  410. package/types/time-line/index.d.ts +5 -5
  411. package/types/time-line/timeline-item.d.cts +21 -0
  412. package/types/time-line/timeline-item.d.ts +1 -1
  413. package/types/time-line/timeline.d.cts +27 -0
  414. package/types/time-line/timeline.d.ts +2 -2
  415. package/types/tooltip/index.d.cts +76 -0
  416. package/types/tooltip/index.d.ts +18 -2
  417. package/types/tour/index.d.cts +122 -0
  418. package/types/transfer/index.d.cts +129 -0
  419. package/types/transfer/index.d.ts +5 -4
  420. package/types/tree/context.d.cts +6 -0
  421. package/types/tree/index.d.cts +166 -0
  422. package/types/tree/index.d.ts +7 -7
  423. package/types/tree/types.d.cts +27 -0
  424. package/types/tree/types.d.ts +1 -1
  425. package/types/tree/utils.d.cts +33 -0
  426. package/types/tree/utils.d.ts +1 -1
  427. package/types/tree-select/index.d.cts +96 -0
  428. package/types/tree-select/index.d.ts +9 -4
  429. package/types/typography/index.d.cts +316 -0
  430. package/types/upload/file-list.d.cts +101 -0
  431. package/types/upload/file-list.d.ts +3 -3
  432. package/types/upload/index.d.cts +229 -0
  433. package/types/upload/index.d.ts +4 -4
  434. package/types/upload/picture-sort.d.cts +2 -0
  435. package/types/upload/selector.d.cts +82 -0
  436. package/types/upload/selector.d.ts +4 -4
  437. package/types/upload/types.d.cts +39 -0
  438. package/types/upload/types.d.ts +1 -1
  439. package/types/utils/checked.d.cts +2 -0
  440. package/types/utils/checked.d.ts +1 -1
  441. package/types/utils/color.d.cts +14 -0
  442. package/types/utils/color.d.ts +13 -0
  443. package/types/utils/css.d.cts +2 -0
  444. package/types/utils/element.d.cts +17 -0
  445. package/types/utils/focus.d.cts +5 -0
  446. package/types/utils/model-value.d.cts +10 -0
  447. package/types/utils/mouse.d.cts +1 -0
  448. package/types/utils/number.d.cts +6 -0
  449. package/types/utils/number.d.ts +1 -1
  450. package/types/utils/overlay-order.d.cts +6 -0
  451. package/types/utils/overlay-order.d.ts +6 -0
  452. package/types/utils/overlay-stack.d.cts +13 -0
  453. package/types/utils/overlay-stack.d.ts +13 -0
  454. package/types/utils/placement.d.cts +16 -0
  455. package/types/utils/popup.d.cts +11 -0
  456. package/types/utils/promise.d.cts +5 -0
  457. package/types/utils/promise.d.ts +5 -0
  458. package/types/utils/selection-tags.d.cts +18 -0
  459. package/types/utils/selection-tags.d.ts +1 -1
  460. package/types/utils/share.d.cts +12 -0
  461. package/types/utils/theme.d.cts +5 -0
  462. package/types/utils/vnode.d.cts +33 -0
  463. package/types/utils/vnode.d.ts +25 -0
  464. package/types/utils/vue.d.cts +17 -0
  465. package/types/virtual-list/index.d.cts +76 -0
  466. package/types/virtual-list/index.d.ts +1 -1
  467. package/types/virtual-list/range.d.cts +15 -0
  468. package/types/watermark/index.d.cts +188 -0
  469. package/types/watermark/index.d.ts +3 -3
  470. package/types/watermark/types.d.cts +11 -0
  471. package/vetur/attributes.json +533 -229
  472. package/vetur/tags.json +76 -28
  473. package/vetur/web-types.json +672 -288
@@ -0,0 +1,89 @@
1
+ import type { Column, TableKey, TableRecord, TableTreeRow } from "./types.cjs";
2
+ export declare const flattenColumns: (columns: Column[]) => Column[];
3
+ export declare const countColumnLeaves: (column: Column) => number;
4
+ /**
5
+ * 按列 `key` 从记录里取单元格值,`rowKey` 与 `childrenColumnName` 的字段名也走这同一个读取器。
6
+ * kui-react 与 kui-vue 的 `components/table/utils.ts` 里是逐字节相同的副本,改一边必须同步另一边,
7
+ * 否则同一份数据在两个框架里会渲染出不同内容、排出不同顺序。
8
+ *
9
+ * 取值规则:
10
+ * - 整名优先:`key` 本身就是记录上的属性时直接取它,所以字段名自带点号(`{ "a.b": 1 }`)不会被误当成路径;
11
+ * - 整名没命中且 `key` 含点号时按 `.` 逐段下钻,任意一段走到非对象(含 `null`)就返回 `undefined`,
12
+ * 所以 `{ user: null }` 配 `key="user.name"` 渲染成空而不是抛错;数字段天然能取数组元素(`"tags.0"`);
13
+ * - `__proto__`/`constructor`/`prototype` 这三段一律取不到值,避免列名顺着原型链摸到全局对象。
14
+ */
15
+ export declare const getRecordValue: <T extends object>(record: T, key: string) => unknown;
16
+ export declare const getTreeChildren: (record: TableRecord, childrenColumnName: string) => TableRecord[];
17
+ /**
18
+ * 分组表头父列上的 `fixed` 向下继承给整棵子树。kui-react 与 kui-vue 的
19
+ * `components/table/utils.ts` 里是逐字节相同的副本,改一边必须同步另一边,
20
+ * 否则同一份列配置在两个框架里会固定出不同的列。
21
+ *
22
+ * `colgroup` 与 sticky 偏移都只按叶子列累加,所以父列上写的 `fixed` 必须落到它的每个叶子列上,
23
+ * 「固定整组」这种配置才不会整体失效。叶子自己显式写的 `fixed` 优先,只在没写时补继承值;
24
+ * 一个方向都没继承到的列返回原来的对象引用,整棵子树都没变时连数组都复用同一个引用,
25
+ * 免得每次渲染都给列树新建对象,把 `visibleColumns → leaves → headerInfo` 的 memo 打回原形。
26
+ */
27
+ export declare const inheritColumnFixed: <C extends {
28
+ fixed?: "left" | "right";
29
+ children?: C[];
30
+ }>(columns: C[], inherited?: "left" | "right") => C[];
31
+ /**
32
+ * 表头排序的共享比较器。kui-react 与 kui-vue 的 `components/table/utils.ts` 里是逐字节相同的副本,
33
+ * 改一边必须同步另一边,否则同一份数据在两个框架下会排出不同顺序。
34
+ *
35
+ * 规则:
36
+ * - 两侧都是 number(含 `Date` 之外的数值)时按数值比较,`NaN` 排在最前;
37
+ * - 其余情况(字符串、数字与字符串混排、布尔、`null`/`undefined`)统一转成字符串,
38
+ * 用带数字感知的字典序比较,所以 `"9"` 排在 `"10"` 前面,`null`/`undefined` 视作空串。
39
+ */
40
+ export declare const compareSortValues: (first: unknown, second: unknown) => number;
41
+ export declare const getSyntheticRowKey: (record: object) => string;
42
+ /**
43
+ * 解析一行的 key,kui-react 与 kui-vue 行为一致:`rowKey` 可以是字段名,也可以是取值函数;
44
+ * 两者都拿不到 `string`/`number` 时回退到 `getSyntheticRowKey` 生成的兜底 key。
45
+ *
46
+ * 字段名走 `getRecordValue`,所以和列 `key` 一样支持 `"user.uid"` 这种点路径。
47
+ * 本函数与上面的 `getSyntheticRowKey` 在两个仓库里是逐字节相同的副本,改一边必须同步另一边。
48
+ */
49
+ export declare const resolveRowKey: <T extends object>(record: T, rowKey: string | ((record: T) => TableKey)) => TableKey;
50
+ interface FlattenTreeOptions {
51
+ data: TableRecord[];
52
+ childrenColumnName: string;
53
+ expandedKeys?: Set<TableKey>;
54
+ getKey: (record: TableRecord) => TableKey;
55
+ sortRecords?: (records: TableRecord[]) => TableRecord[];
56
+ }
57
+ export declare const flattenTreeData: ({ data, childrenColumnName, expandedKeys, getKey, sortRecords, }: FlattenTreeOptions) => TableTreeRow[];
58
+ /**
59
+ * `expandAllRows` 期间 `data` 异步变化时,把“数据里新出现的父行”补进展开集合,
60
+ * 已经在数据里的行保持用户手动展开或折叠的结果。kui-react 与 kui-vue 的
61
+ * `components/table/utils.ts` 里是逐字节相同的副本,改一边必须同步另一边。
62
+ *
63
+ * `knownParentKeys` 是上一次看到的数据里的父行 key 集合,`nextParentKeys` 是本次的,
64
+ * 所以从数据里消失又回来的父行算“新出现”、会被重新展开,两仓都不记住它曾被折叠。
65
+ * `changed` 只回答“展开集合要不要加新 key”:调用方每轮都要把 `nextParentKeys` 记回去,
66
+ * 但不能无条件写回展开状态,否则 `data` 每轮都是新数组,渲染期同步状态会直接死循环。
67
+ */
68
+ export declare const mergeExpandAllRows: (knownParentKeys: Set<TableKey>, nextParentKeys: Set<TableKey>, expandedKeys: Set<TableKey>) => {
69
+ keys: Set<TableKey>;
70
+ changed: boolean;
71
+ };
72
+ /**
73
+ * 单元格省略号配置的归一:列上写了 `ellipsis` 就以列为准,没写才跟着表格级的 `ellipsis` 走,
74
+ * 所以表格级全开时某一列还能用 `ellipsis: false` 单独关掉。`true` 是单行,数字是行数,
75
+ * 对象可以另给 `rows` 与 `tooltip`。返回 `null` 表示这一列不截断。
76
+ * `tooltip` 在这里只当不透明值传下去,节点类型由各自的框架决定,因此两仓的
77
+ * `components/table/utils.ts` 里这一段是逐字节相同的副本,改一边必须同步另一边。
78
+ */
79
+ export declare const resolveCellEllipsis: <TooltipValue>(columnValue: boolean | number | {
80
+ rows?: number;
81
+ tooltip?: TooltipValue | false;
82
+ } | undefined, tableValue: boolean | number | {
83
+ rows?: number;
84
+ tooltip?: TooltipValue | false;
85
+ } | undefined) => {
86
+ rows: number;
87
+ tooltip?: TooltipValue | false;
88
+ } | null;
89
+ export {};
@@ -1,7 +1,52 @@
1
- import type { Column, TableKey, TableRecord, TableTreeRow } from "./types";
1
+ import type { Column, TableKey, TableRecord, TableTreeRow } from "./types.js";
2
2
  export declare const flattenColumns: (columns: Column[]) => Column[];
3
3
  export declare const countColumnLeaves: (column: Column) => number;
4
+ /**
5
+ * 按列 `key` 从记录里取单元格值,`rowKey` 与 `childrenColumnName` 的字段名也走这同一个读取器。
6
+ * kui-react 与 kui-vue 的 `components/table/utils.ts` 里是逐字节相同的副本,改一边必须同步另一边,
7
+ * 否则同一份数据在两个框架里会渲染出不同内容、排出不同顺序。
8
+ *
9
+ * 取值规则:
10
+ * - 整名优先:`key` 本身就是记录上的属性时直接取它,所以字段名自带点号(`{ "a.b": 1 }`)不会被误当成路径;
11
+ * - 整名没命中且 `key` 含点号时按 `.` 逐段下钻,任意一段走到非对象(含 `null`)就返回 `undefined`,
12
+ * 所以 `{ user: null }` 配 `key="user.name"` 渲染成空而不是抛错;数字段天然能取数组元素(`"tags.0"`);
13
+ * - `__proto__`/`constructor`/`prototype` 这三段一律取不到值,避免列名顺着原型链摸到全局对象。
14
+ */
15
+ export declare const getRecordValue: <T extends object>(record: T, key: string) => unknown;
4
16
  export declare const getTreeChildren: (record: TableRecord, childrenColumnName: string) => TableRecord[];
17
+ /**
18
+ * 分组表头父列上的 `fixed` 向下继承给整棵子树。kui-react 与 kui-vue 的
19
+ * `components/table/utils.ts` 里是逐字节相同的副本,改一边必须同步另一边,
20
+ * 否则同一份列配置在两个框架里会固定出不同的列。
21
+ *
22
+ * `colgroup` 与 sticky 偏移都只按叶子列累加,所以父列上写的 `fixed` 必须落到它的每个叶子列上,
23
+ * 「固定整组」这种配置才不会整体失效。叶子自己显式写的 `fixed` 优先,只在没写时补继承值;
24
+ * 一个方向都没继承到的列返回原来的对象引用,整棵子树都没变时连数组都复用同一个引用,
25
+ * 免得每次渲染都给列树新建对象,把 `visibleColumns → leaves → headerInfo` 的 memo 打回原形。
26
+ */
27
+ export declare const inheritColumnFixed: <C extends {
28
+ fixed?: "left" | "right";
29
+ children?: C[];
30
+ }>(columns: C[], inherited?: "left" | "right") => C[];
31
+ /**
32
+ * 表头排序的共享比较器。kui-react 与 kui-vue 的 `components/table/utils.ts` 里是逐字节相同的副本,
33
+ * 改一边必须同步另一边,否则同一份数据在两个框架下会排出不同顺序。
34
+ *
35
+ * 规则:
36
+ * - 两侧都是 number(含 `Date` 之外的数值)时按数值比较,`NaN` 排在最前;
37
+ * - 其余情况(字符串、数字与字符串混排、布尔、`null`/`undefined`)统一转成字符串,
38
+ * 用带数字感知的字典序比较,所以 `"9"` 排在 `"10"` 前面,`null`/`undefined` 视作空串。
39
+ */
40
+ export declare const compareSortValues: (first: unknown, second: unknown) => number;
41
+ export declare const getSyntheticRowKey: (record: object) => string;
42
+ /**
43
+ * 解析一行的 key,kui-react 与 kui-vue 行为一致:`rowKey` 可以是字段名,也可以是取值函数;
44
+ * 两者都拿不到 `string`/`number` 时回退到 `getSyntheticRowKey` 生成的兜底 key。
45
+ *
46
+ * 字段名走 `getRecordValue`,所以和列 `key` 一样支持 `"user.uid"` 这种点路径。
47
+ * 本函数与上面的 `getSyntheticRowKey` 在两个仓库里是逐字节相同的副本,改一边必须同步另一边。
48
+ */
49
+ export declare const resolveRowKey: <T extends object>(record: T, rowKey: string | ((record: T) => TableKey)) => TableKey;
5
50
  interface FlattenTreeOptions {
6
51
  data: TableRecord[];
7
52
  childrenColumnName: string;
@@ -10,4 +55,35 @@ interface FlattenTreeOptions {
10
55
  sortRecords?: (records: TableRecord[]) => TableRecord[];
11
56
  }
12
57
  export declare const flattenTreeData: ({ data, childrenColumnName, expandedKeys, getKey, sortRecords, }: FlattenTreeOptions) => TableTreeRow[];
58
+ /**
59
+ * `expandAllRows` 期间 `data` 异步变化时,把“数据里新出现的父行”补进展开集合,
60
+ * 已经在数据里的行保持用户手动展开或折叠的结果。kui-react 与 kui-vue 的
61
+ * `components/table/utils.ts` 里是逐字节相同的副本,改一边必须同步另一边。
62
+ *
63
+ * `knownParentKeys` 是上一次看到的数据里的父行 key 集合,`nextParentKeys` 是本次的,
64
+ * 所以从数据里消失又回来的父行算“新出现”、会被重新展开,两仓都不记住它曾被折叠。
65
+ * `changed` 只回答“展开集合要不要加新 key”:调用方每轮都要把 `nextParentKeys` 记回去,
66
+ * 但不能无条件写回展开状态,否则 `data` 每轮都是新数组,渲染期同步状态会直接死循环。
67
+ */
68
+ export declare const mergeExpandAllRows: (knownParentKeys: Set<TableKey>, nextParentKeys: Set<TableKey>, expandedKeys: Set<TableKey>) => {
69
+ keys: Set<TableKey>;
70
+ changed: boolean;
71
+ };
72
+ /**
73
+ * 单元格省略号配置的归一:列上写了 `ellipsis` 就以列为准,没写才跟着表格级的 `ellipsis` 走,
74
+ * 所以表格级全开时某一列还能用 `ellipsis: false` 单独关掉。`true` 是单行,数字是行数,
75
+ * 对象可以另给 `rows` 与 `tooltip`。返回 `null` 表示这一列不截断。
76
+ * `tooltip` 在这里只当不透明值传下去,节点类型由各自的框架决定,因此两仓的
77
+ * `components/table/utils.ts` 里这一段是逐字节相同的副本,改一边必须同步另一边。
78
+ */
79
+ export declare const resolveCellEllipsis: <TooltipValue>(columnValue: boolean | number | {
80
+ rows?: number;
81
+ tooltip?: TooltipValue | false;
82
+ } | undefined, tableValue: boolean | number | {
83
+ rows?: number;
84
+ tooltip?: TooltipValue | false;
85
+ } | undefined) => {
86
+ rows: number;
87
+ tooltip?: TooltipValue | false;
88
+ } | null;
13
89
  export {};
@@ -0,0 +1,6 @@
1
+ import TabPanel from "./tab-panel.cjs";
2
+ import Tabs from "./tabs.cjs";
3
+ export type { TabPanelProps } from "./tab-panel.cjs";
4
+ export type { TabsProps } from "./tabs.cjs";
5
+ export type { TabKey } from "./types.cjs";
6
+ export { TabPanel, Tabs };
@@ -1,6 +1,6 @@
1
- import TabPanel from "./tab-panel";
2
- import Tabs from "./tabs";
3
- export type { TabPanelProps } from "./tab-panel";
4
- export type { TabsProps } from "./tabs";
5
- export type { TabKey } from "./types";
1
+ import TabPanel from "./tab-panel.js";
2
+ import Tabs from "./tabs.js";
3
+ export type { TabPanelProps } from "./tab-panel.js";
4
+ export type { TabsProps } from "./tabs.js";
5
+ export type { TabKey } from "./types.js";
6
6
  export { TabPanel, Tabs };
@@ -0,0 +1,22 @@
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import type { BooleanType } from "../const/types.cjs";
3
+ import type { IconType } from "../icon/index.cjs";
4
+ declare const tabPanelProps: {
5
+ title: PropType<VNodeChild>;
6
+ icon: PropType<IconType[]>;
7
+ disabled: BooleanType;
8
+ closable: BooleanType;
9
+ };
10
+ export type TabPanelProps = ExtractPropTypes<typeof tabPanelProps>;
11
+ declare const TabPanel: import("vue").DefineComponent<ExtractPropTypes<{
12
+ title: PropType<VNodeChild>;
13
+ icon: PropType<IconType[]>;
14
+ disabled: BooleanType;
15
+ closable: BooleanType;
16
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
17
+ title: PropType<VNodeChild>;
18
+ icon: PropType<IconType[]>;
19
+ disabled: BooleanType;
20
+ closable: BooleanType;
21
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
+ export default TabPanel;
@@ -1,6 +1,6 @@
1
1
  import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
- import type { BooleanType } from "../const/types";
3
- import type { IconType } from "../icon";
2
+ import type { BooleanType } from "../const/types.js";
3
+ import type { IconType } from "../icon/index.js";
4
4
  declare const tabPanelProps: {
5
5
  title: PropType<VNodeChild>;
6
6
  icon: PropType<IconType[]>;
@@ -0,0 +1,51 @@
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import type { BooleanType } from "../const/types.cjs";
3
+ declare const tabsProps: {
4
+ modelValue: (NumberConstructor | StringConstructor)[];
5
+ value: (NumberConstructor | StringConstructor)[];
6
+ variant: PropType<"line" | "card" | "sample" | "browser">;
7
+ card: BooleanType;
8
+ sample: BooleanType;
9
+ centered: BooleanType;
10
+ animated: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ };
15
+ export type TabsProps = ExtractPropTypes<typeof tabsProps>;
16
+ declare const Tabs: import("vue").DefineComponent<ExtractPropTypes<{
17
+ modelValue: (NumberConstructor | StringConstructor)[];
18
+ value: (NumberConstructor | StringConstructor)[];
19
+ variant: PropType<"line" | "card" | "sample" | "browser">;
20
+ card: BooleanType;
21
+ sample: BooleanType;
22
+ centered: BooleanType;
23
+ animated: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:modelValue": (name: string) => boolean;
29
+ tabClick: (name: string) => boolean;
30
+ change: (name: string) => boolean;
31
+ remove: (name: string) => boolean;
32
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
33
+ modelValue: (NumberConstructor | StringConstructor)[];
34
+ value: (NumberConstructor | StringConstructor)[];
35
+ variant: PropType<"line" | "card" | "sample" | "browser">;
36
+ card: BooleanType;
37
+ sample: BooleanType;
38
+ centered: BooleanType;
39
+ animated: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ }>> & Readonly<{
44
+ onChange?: ((name: string) => any) | undefined;
45
+ "onUpdate:modelValue"?: ((name: string) => any) | undefined;
46
+ onRemove?: ((name: string) => any) | undefined;
47
+ onTabClick?: ((name: string) => any) | undefined;
48
+ }>, {
49
+ animated: boolean;
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
+ export default Tabs;
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes, type PropType } from "vue";
2
- import type { BooleanType } from "../const/types";
2
+ import type { BooleanType } from "../const/types.js";
3
3
  declare const tabsProps: {
4
4
  modelValue: (NumberConstructor | StringConstructor)[];
5
5
  value: (NumberConstructor | StringConstructor)[];
@@ -0,0 +1,16 @@
1
+ import type { IconType } from "../icon/index.cjs";
2
+ export type TabKey = string | number | null | undefined;
3
+ export interface TabsPaneLike {
4
+ key: TabKey;
5
+ props?: {
6
+ icon?: IconType[];
7
+ title?: string;
8
+ closable?: boolean;
9
+ disabled?: boolean;
10
+ [key: string]: unknown;
11
+ };
12
+ }
13
+ export interface TabClickPayload {
14
+ disabled?: boolean;
15
+ key: TabKey;
16
+ }
@@ -1,4 +1,4 @@
1
- import type { IconType } from "../icon";
1
+ import type { IconType } from "../icon/index.js";
2
2
  export type TabKey = string | number | null | undefined;
3
3
  export interface TabsPaneLike {
4
4
  key: TabKey;
@@ -0,0 +1,58 @@
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import { type BooleanType, type ColorType, type ShapeType, type SizeType, type SurfaceThemeType } from "../const/types.cjs";
3
+ import { type IconType } from "../icon/index.cjs";
4
+ declare const tagProps: {
5
+ closeable: BooleanType;
6
+ compact: BooleanType;
7
+ color: ColorType;
8
+ shape: PropType<ShapeType>;
9
+ icon: PropType<IconType[]>;
10
+ size: {
11
+ type: PropType<SizeType>;
12
+ default: string;
13
+ };
14
+ theme: {
15
+ type: PropType<SurfaceThemeType>;
16
+ default: string;
17
+ };
18
+ };
19
+ export type TagProps = ExtractPropTypes<typeof tagProps>;
20
+ declare const Tag: import("vue").DefineComponent<ExtractPropTypes<{
21
+ closeable: BooleanType;
22
+ compact: BooleanType;
23
+ color: ColorType;
24
+ shape: PropType<ShapeType>;
25
+ icon: PropType<IconType[]>;
26
+ size: {
27
+ type: PropType<SizeType>;
28
+ default: string;
29
+ };
30
+ theme: {
31
+ type: PropType<SurfaceThemeType>;
32
+ default: string;
33
+ };
34
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
+ close: () => true;
36
+ afterClose: () => true;
37
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
38
+ closeable: BooleanType;
39
+ compact: BooleanType;
40
+ color: ColorType;
41
+ shape: PropType<ShapeType>;
42
+ icon: PropType<IconType[]>;
43
+ size: {
44
+ type: PropType<SizeType>;
45
+ default: string;
46
+ };
47
+ theme: {
48
+ type: PropType<SurfaceThemeType>;
49
+ default: string;
50
+ };
51
+ }>> & Readonly<{
52
+ onClose?: (() => any) | undefined;
53
+ onAfterClose?: (() => any) | undefined;
54
+ }>, {
55
+ size: SizeType;
56
+ theme: SurfaceThemeType;
57
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
58
+ export default Tag;
@@ -1,6 +1,6 @@
1
1
  import { type ExtractPropTypes, type PropType } from "vue";
2
- import { type BooleanType, type ColorType, type ShapeType, type SizeType, type ThemeType } from "../const/types";
3
- import { type IconType } from "../icon";
2
+ import { type BooleanType, type ColorType, type ShapeType, type SizeType, type SurfaceThemeType } from "../const/types.js";
3
+ import { type IconType } from "../icon/index.js";
4
4
  declare const tagProps: {
5
5
  closeable: BooleanType;
6
6
  compact: BooleanType;
@@ -12,7 +12,7 @@ declare const tagProps: {
12
12
  default: string;
13
13
  };
14
14
  theme: {
15
- type: PropType<ThemeType>;
15
+ type: PropType<SurfaceThemeType>;
16
16
  default: string;
17
17
  };
18
18
  };
@@ -28,7 +28,7 @@ declare const Tag: import("vue").DefineComponent<ExtractPropTypes<{
28
28
  default: string;
29
29
  };
30
30
  theme: {
31
- type: PropType<ThemeType>;
31
+ type: PropType<SurfaceThemeType>;
32
32
  default: string;
33
33
  };
34
34
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -45,7 +45,7 @@ declare const Tag: import("vue").DefineComponent<ExtractPropTypes<{
45
45
  default: string;
46
46
  };
47
47
  theme: {
48
- type: PropType<ThemeType>;
48
+ type: PropType<SurfaceThemeType>;
49
49
  default: string;
50
50
  };
51
51
  }>> & Readonly<{
@@ -53,6 +53,6 @@ declare const Tag: import("vue").DefineComponent<ExtractPropTypes<{
53
53
  onAfterClose?: (() => any) | undefined;
54
54
  }>, {
55
55
  size: SizeType;
56
- theme: ThemeType;
56
+ theme: SurfaceThemeType;
57
57
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
58
58
  export default Tag;
@@ -0,0 +1,6 @@
1
+ import TimeLine from "./timeline.cjs";
2
+ import TimeLineItem from "./timeline-item.cjs";
3
+ export type { TimelineMode } from "../const/types.cjs";
4
+ export type { TimelineProps } from "./timeline.cjs";
5
+ export type { TimelineItemProps } from "./timeline-item.cjs";
6
+ export { TimeLine, TimeLineItem };
@@ -1,6 +1,6 @@
1
- import TimeLine from "./timeline";
2
- import TimeLineItem from "./timeline-item";
3
- export type { TimelineMode } from "../const/types";
4
- export type { TimelineProps } from "./timeline";
5
- export type { TimelineItemProps } from "./timeline-item";
1
+ import TimeLine from "./timeline.js";
2
+ import TimeLineItem from "./timeline-item.js";
3
+ export type { TimelineMode } from "../const/types.js";
4
+ export type { TimelineProps } from "./timeline.js";
5
+ export type { TimelineItemProps } from "./timeline-item.js";
6
6
  export { TimeLine, TimeLineItem };
@@ -0,0 +1,21 @@
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import { type IconType } from "../icon/index.cjs";
3
+ declare const timelineItemProps: {
4
+ color: StringConstructor;
5
+ icon: PropType<IconType[]>;
6
+ time: PropType<VNodeChild>;
7
+ extra: PropType<VNodeChild>;
8
+ };
9
+ export type TimelineItemProps = ExtractPropTypes<typeof timelineItemProps>;
10
+ declare const TimeLineItem: import("vue").DefineComponent<ExtractPropTypes<{
11
+ color: StringConstructor;
12
+ icon: PropType<IconType[]>;
13
+ time: PropType<VNodeChild>;
14
+ extra: PropType<VNodeChild>;
15
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
16
+ color: StringConstructor;
17
+ icon: PropType<IconType[]>;
18
+ time: PropType<VNodeChild>;
19
+ extra: PropType<VNodeChild>;
20
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ export default TimeLineItem;
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
- import { type IconType } from "../icon";
2
+ import { type IconType } from "../icon/index.js";
3
3
  declare const timelineItemProps: {
4
4
  color: StringConstructor;
5
5
  icon: PropType<IconType[]>;
@@ -0,0 +1,27 @@
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import type { TimelineMode } from "../const/types.cjs";
3
+ declare const timelineProps: {
4
+ mode: {
5
+ type: PropType<TimelineMode>;
6
+ default: string;
7
+ validator: (val: string) => boolean;
8
+ };
9
+ };
10
+ export type TimelineProps = ExtractPropTypes<typeof timelineProps>;
11
+ declare const TimeLine: import("vue").DefineComponent<ExtractPropTypes<{
12
+ mode: {
13
+ type: PropType<TimelineMode>;
14
+ default: string;
15
+ validator: (val: string) => boolean;
16
+ };
17
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
18
+ mode: {
19
+ type: PropType<TimelineMode>;
20
+ default: string;
21
+ validator: (val: string) => boolean;
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ mode: TimelineMode;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
+ export default TimeLine;
27
+ export type { TimelineMode } from "../const/types.cjs";
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes, type PropType } from "vue";
2
- import type { TimelineMode } from "../const/types";
2
+ import type { TimelineMode } from "../const/types.js";
3
3
  declare const timelineProps: {
4
4
  mode: {
5
5
  type: PropType<TimelineMode>;
@@ -24,4 +24,4 @@ declare const TimeLine: import("vue").DefineComponent<ExtractPropTypes<{
24
24
  mode: TimelineMode;
25
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
26
  export default TimeLine;
27
- export type { TimelineMode } from "../const/types";
27
+ export type { TimelineMode } from "../const/types.js";
@@ -0,0 +1,76 @@
1
+ import type { ForwardedComponent } from "../utils/vue.cjs";
2
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
3
+ import type { BooleanType, PlacementsType } from "../const/types.cjs";
4
+ declare const tooltipProps: {
5
+ trigger: {
6
+ type: PropType<"hover" | "manual">;
7
+ default: string;
8
+ };
9
+ show: BooleanType;
10
+ title: PropType<VNodeChild>;
11
+ color: StringConstructor;
12
+ disabled: BooleanType;
13
+ width: PropType<number | string>;
14
+ placement: {
15
+ type: PropType<PlacementsType>;
16
+ default: string;
17
+ };
18
+ /** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
19
+ destroyOnClose: {
20
+ type: BooleanType;
21
+ default: boolean;
22
+ };
23
+ panelOnly: BooleanType;
24
+ };
25
+ export type TooltipProps = ExtractPropTypes<typeof tooltipProps>;
26
+ declare const Tooltip: import("vue").DefineComponent<ExtractPropTypes<{
27
+ trigger: {
28
+ type: PropType<"hover" | "manual">;
29
+ default: string;
30
+ };
31
+ show: BooleanType;
32
+ title: PropType<VNodeChild>;
33
+ color: StringConstructor;
34
+ disabled: BooleanType;
35
+ width: PropType<number | string>;
36
+ placement: {
37
+ type: PropType<PlacementsType>;
38
+ default: string;
39
+ };
40
+ /** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
41
+ destroyOnClose: {
42
+ type: BooleanType;
43
+ default: boolean;
44
+ };
45
+ panelOnly: BooleanType;
46
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
+ "update:show": (show: boolean) => boolean;
48
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
49
+ trigger: {
50
+ type: PropType<"hover" | "manual">;
51
+ default: string;
52
+ };
53
+ show: BooleanType;
54
+ title: PropType<VNodeChild>;
55
+ color: StringConstructor;
56
+ disabled: BooleanType;
57
+ width: PropType<number | string>;
58
+ placement: {
59
+ type: PropType<PlacementsType>;
60
+ default: string;
61
+ };
62
+ /** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
63
+ destroyOnClose: {
64
+ type: BooleanType;
65
+ default: boolean;
66
+ };
67
+ panelOnly: BooleanType;
68
+ }>> & Readonly<{
69
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
70
+ }>, {
71
+ trigger: "manual" | "hover";
72
+ placement: PlacementsType;
73
+ destroyOnClose: boolean | undefined;
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
+ export declare const TooltipPanel: ForwardedComponent<typeof Tooltip>;
76
+ export default Tooltip;
@@ -1,6 +1,6 @@
1
- import type { ForwardedComponent } from "../utils/vue";
1
+ import type { ForwardedComponent } from "../utils/vue.js";
2
2
  import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
3
- import type { BooleanType, PlacementsType } from "../const/types";
3
+ import type { BooleanType, PlacementsType } from "../const/types.js";
4
4
  declare const tooltipProps: {
5
5
  trigger: {
6
6
  type: PropType<"hover" | "manual">;
@@ -15,6 +15,11 @@ declare const tooltipProps: {
15
15
  type: PropType<PlacementsType>;
16
16
  default: string;
17
17
  };
18
+ /** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
19
+ destroyOnClose: {
20
+ type: BooleanType;
21
+ default: boolean;
22
+ };
18
23
  panelOnly: BooleanType;
19
24
  };
20
25
  export type TooltipProps = ExtractPropTypes<typeof tooltipProps>;
@@ -32,6 +37,11 @@ declare const Tooltip: import("vue").DefineComponent<ExtractPropTypes<{
32
37
  type: PropType<PlacementsType>;
33
38
  default: string;
34
39
  };
40
+ /** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
41
+ destroyOnClose: {
42
+ type: BooleanType;
43
+ default: boolean;
44
+ };
35
45
  panelOnly: BooleanType;
36
46
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
47
  "update:show": (show: boolean) => boolean;
@@ -49,12 +59,18 @@ declare const Tooltip: import("vue").DefineComponent<ExtractPropTypes<{
49
59
  type: PropType<PlacementsType>;
50
60
  default: string;
51
61
  };
62
+ /** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
63
+ destroyOnClose: {
64
+ type: BooleanType;
65
+ default: boolean;
66
+ };
52
67
  panelOnly: BooleanType;
53
68
  }>> & Readonly<{
54
69
  "onUpdate:show"?: ((show: boolean) => any) | undefined;
55
70
  }>, {
56
71
  trigger: "manual" | "hover";
57
72
  placement: PlacementsType;
73
+ destroyOnClose: boolean | undefined;
58
74
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
59
75
  export declare const TooltipPanel: ForwardedComponent<typeof Tooltip>;
60
76
  export default Tooltip;