kui-vue 6.3.0 → 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 (431) hide show
  1. package/ai/kui-components.json +6 -6
  2. package/dist/index.js +2 -2
  3. package/es/index.js +23 -10
  4. package/es/locale/de.js +1 -1
  5. package/es/locale/el.js +1 -1
  6. package/es/locale/en.js +1 -1
  7. package/es/locale/fr.js +1 -1
  8. package/es/locale/it.js +1 -1
  9. package/es/locale/ja.js +1 -1
  10. package/es/locale/ko.js +1 -1
  11. package/es/locale/ru.js +1 -1
  12. package/es/locale/th.js +1 -1
  13. package/es/locale/uk.js +1 -1
  14. package/es/locale/vi.js +1 -1
  15. package/es/locale/zh-CN.js +1 -1
  16. package/es/locale/zh-TW.js +1 -1
  17. package/lib/index.cjs +2 -2
  18. package/lib/locale/de.cjs +1 -1
  19. package/lib/locale/el.cjs +1 -1
  20. package/lib/locale/en.cjs +1 -1
  21. package/lib/locale/fr.cjs +1 -1
  22. package/lib/locale/it.cjs +1 -1
  23. package/lib/locale/ja.cjs +1 -1
  24. package/lib/locale/ko.cjs +1 -1
  25. package/lib/locale/ru.cjs +1 -1
  26. package/lib/locale/th.cjs +1 -1
  27. package/lib/locale/uk.cjs +1 -1
  28. package/lib/locale/vi.cjs +1 -1
  29. package/lib/locale/zh-CN.cjs +1 -1
  30. package/lib/locale/zh-TW.cjs +1 -1
  31. package/package.json +3 -3
  32. package/style/base.css +1 -1
  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 +1 -1
  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 +2 -2
  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 +1 -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 +2 -2
  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 +2 -2
  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 +4 -4
  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 +23 -23
  82. package/types/cascader/types.d.cts +76 -0
  83. package/types/cascader/types.d.ts +2 -2
  84. package/types/check-card/check-card-group.d.cts +80 -0
  85. package/types/check-card/check-card-group.d.ts +2 -2
  86. package/types/check-card/check-card.d.cts +113 -0
  87. package/types/check-card/check-card.d.ts +3 -3
  88. package/types/check-card/context.d.cts +20 -0
  89. package/types/check-card/context.d.ts +2 -2
  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 +2 -2
  94. package/types/checkbox/checkbox-group.d.cts +87 -0
  95. package/types/checkbox/checkbox-group.d.ts +2 -2
  96. package/types/checkbox/checkbox.d.cts +68 -0
  97. package/types/checkbox/checkbox.d.ts +2 -2
  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 +2 -2
  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 +4 -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 +1 -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 +1 -1
  127. package/types/const/var.d.cts +6 -0
  128. package/types/date-picker/index.d.cts +334 -0
  129. package/types/date-picker/index.d.ts +3 -3
  130. package/types/descriptions/descriptions-item.d.cts +28 -0
  131. package/types/descriptions/descriptions-item.d.ts +1 -1
  132. package/types/descriptions/descriptions.d.cts +69 -0
  133. package/types/descriptions/descriptions.d.ts +1 -1
  134. package/types/descriptions/index.d.cts +6 -0
  135. package/types/descriptions/index.d.ts +4 -4
  136. package/types/directives/outsiteclick.d.cts +2 -0
  137. package/types/directives/resize.d.cts +3 -0
  138. package/types/directives/scroll.d.cts +2 -0
  139. package/types/divider/index.d.cts +42 -0
  140. package/types/divider/index.d.ts +1 -1
  141. package/types/drawer/index.d.cts +197 -0
  142. package/types/drawer/index.d.ts +1 -1
  143. package/types/dropdown/dropdown-button.d.cts +65 -0
  144. package/types/dropdown/dropdown-button.d.ts +2 -2
  145. package/types/dropdown/dropdown-context.d.cts +16 -0
  146. package/types/dropdown/dropdown.d.cts +80 -0
  147. package/types/dropdown/dropdown.d.ts +1 -1
  148. package/types/dropdown/index.d.cts +6 -0
  149. package/types/dropdown/index.d.ts +4 -4
  150. package/types/dropdown/trigger.d.cts +13 -0
  151. package/types/dropdown/trigger.d.ts +2 -2
  152. package/types/empty/index.d.cts +12 -0
  153. package/types/feature-card/index.d.cts +101 -0
  154. package/types/feature-card/index.d.ts +2 -2
  155. package/types/feedback-panel/feedback-panel.d.cts +64 -0
  156. package/types/feedback-panel/feedback-panel.d.ts +3 -3
  157. package/types/feedback-panel/index.d.cts +4 -0
  158. package/types/feedback-panel/index.d.ts +3 -3
  159. package/types/flame-wrap/engine.d.cts +83 -0
  160. package/types/flame-wrap/index.d.cts +81 -0
  161. package/types/flame-wrap/index.d.ts +1 -1
  162. package/types/flex/index.d.cts +44 -0
  163. package/types/flex/index.d.ts +3 -3
  164. package/types/flex/types.d.cts +4 -0
  165. package/types/flex/types.d.ts +1 -1
  166. package/types/form/context.d.cts +68 -0
  167. package/types/form/context.d.ts +2 -2
  168. package/types/form/form-item.d.cts +39 -0
  169. package/types/form/form-item.d.ts +2 -2
  170. package/types/form/form.d.cts +87 -0
  171. package/types/form/form.d.ts +2 -2
  172. package/types/form/index.d.cts +8 -0
  173. package/types/form/index.d.ts +6 -6
  174. package/types/form/types.d.cts +27 -0
  175. package/types/global.d.cts +516 -0
  176. package/types/grid/grid-item.d.cts +25 -0
  177. package/types/grid/grid-item.d.ts +1 -1
  178. package/types/grid/grid.d.cts +44 -0
  179. package/types/grid/grid.d.ts +2 -2
  180. package/types/grid/index.d.cts +6 -0
  181. package/types/grid/index.d.ts +5 -5
  182. package/types/grid/useBreakpoint.d.cts +9 -0
  183. package/types/icon/index.d.cts +62 -0
  184. package/types/icon/index.d.ts +3 -3
  185. package/types/icon/types.d.cts +4 -0
  186. package/types/image/context.d.cts +9 -0
  187. package/types/image/context.d.ts +1 -1
  188. package/types/image/group.d.cts +11 -0
  189. package/types/image/image.d.cts +73 -0
  190. package/types/image/image.d.ts +2 -2
  191. package/types/image/index.d.cts +6 -0
  192. package/types/image/index.d.ts +5 -5
  193. package/types/image/instance.d.cts +17 -0
  194. package/types/image/instance.d.ts +1 -1
  195. package/types/image/preview.d.cts +47 -0
  196. package/types/image/preview.d.ts +1 -1
  197. package/types/image/utils.d.cts +6 -0
  198. package/types/index.d.cts +1 -1
  199. package/types/index.d.ts +1 -1
  200. package/types/input/index.d.cts +8 -0
  201. package/types/input/index.d.ts +6 -6
  202. package/types/input/input-base.d.cts +186 -0
  203. package/types/input/input-base.d.ts +2 -2
  204. package/types/input/input-box.d.cts +47 -0
  205. package/types/input/input-box.d.ts +1 -1
  206. package/types/input/input-group.d.cts +54 -0
  207. package/types/input/input-group.d.ts +1 -1
  208. package/types/input/input.d.cts +114 -0
  209. package/types/input/input.d.ts +19 -19
  210. package/types/input/textarea.d.cts +81 -0
  211. package/types/input/textarea.d.ts +1 -1
  212. package/types/input-number/index.d.cts +180 -0
  213. package/types/input-number/index.d.ts +2 -2
  214. package/types/input-otp/index.d.cts +4 -0
  215. package/types/input-otp/index.d.ts +3 -3
  216. package/types/input-otp/input-otp.d.cts +113 -0
  217. package/types/input-otp/input-otp.d.ts +3 -3
  218. package/types/input-otp/types.d.cts +1 -0
  219. package/types/input-tag/index.d.cts +118 -0
  220. package/types/input-tag/index.d.ts +1 -1
  221. package/types/kanban/index.d.cts +124 -0
  222. package/types/kanban/index.d.ts +1 -1
  223. package/types/layout/index.d.cts +136 -0
  224. package/types/layout/index.d.ts +1 -1
  225. package/types/list-panel/index.d.cts +79 -0
  226. package/types/list-panel/index.d.ts +3 -3
  227. package/types/loading/index.d.cts +11 -0
  228. package/types/mentions/index.d.cts +167 -0
  229. package/types/mentions/index.d.ts +1 -1
  230. package/types/menu/index.d.cts +8 -0
  231. package/types/menu/index.d.ts +6 -6
  232. package/types/menu/menu-context.d.cts +23 -0
  233. package/types/menu/menu-context.d.ts +1 -1
  234. package/types/menu/menu-divider.d.cts +2 -0
  235. package/types/menu/menu-group.d.cts +11 -0
  236. package/types/menu/menu-item.d.cts +23 -0
  237. package/types/menu/menu-item.d.ts +2 -2
  238. package/types/menu/menu-keyboard.d.cts +30 -0
  239. package/types/menu/menu.d.cts +99 -0
  240. package/types/menu/menu.d.ts +3 -3
  241. package/types/menu/recursive-menu.d.cts +14 -0
  242. package/types/menu/recursive-menu.d.ts +1 -1
  243. package/types/menu/sub-menu.d.cts +19 -0
  244. package/types/menu/sub-menu.d.ts +2 -2
  245. package/types/menu/types.d.cts +14 -0
  246. package/types/menu/types.d.ts +1 -1
  247. package/types/message/index.d.cts +26 -0
  248. package/types/message/index.d.ts +2 -2
  249. package/types/modal/index.d.cts +38 -0
  250. package/types/modal/index.d.ts +3 -3
  251. package/types/modal/modal.d.cts +178 -0
  252. package/types/modal/modal.d.ts +2 -2
  253. package/types/modal/toast.d.cts +37 -0
  254. package/types/modal/toast.d.ts +2 -2
  255. package/types/notice/container.d.cts +6 -0
  256. package/types/notice/content.d.cts +64 -0
  257. package/types/notice/content.d.ts +3 -3
  258. package/types/notice/index.d.cts +24 -0
  259. package/types/notice/index.d.ts +2 -2
  260. package/types/notice/instance.d.cts +8 -0
  261. package/types/notice/instance.d.ts +1 -1
  262. package/types/page/index.d.cts +143 -0
  263. package/types/page/index.d.ts +1 -1
  264. package/types/page/responsive.d.cts +1 -0
  265. package/types/page-header/index.d.cts +14 -0
  266. package/types/popconfirm/index.d.cts +82 -0
  267. package/types/popconfirm/index.d.ts +2 -2
  268. package/types/poptip/index.d.cts +80 -0
  269. package/types/poptip/index.d.ts +2 -2
  270. package/types/popup/index.d.cts +251 -0
  271. package/types/popup/index.d.ts +3 -3
  272. package/types/popup/layers.d.cts +11 -0
  273. package/types/popup/types.d.cts +15 -0
  274. package/types/progress/index.d.cts +123 -0
  275. package/types/progress/index.d.ts +2 -2
  276. package/types/qrcode/index.d.cts +195 -0
  277. package/types/qrcode/index.d.ts +2 -2
  278. package/types/radio/index.d.cts +9 -0
  279. package/types/radio/index.d.ts +8 -8
  280. package/types/radio/radio-button.d.cts +84 -0
  281. package/types/radio/radio-button.d.ts +3 -3
  282. package/types/radio/radio-group.d.cts +36 -0
  283. package/types/radio/radio-group.d.ts +2 -2
  284. package/types/radio/radio.d.cts +84 -0
  285. package/types/radio/radio.d.ts +2 -2
  286. package/types/radio/types.d.cts +12 -0
  287. package/types/radio/types.d.ts +1 -1
  288. package/types/rate/index.d.cts +102 -0
  289. package/types/rate/index.d.ts +2 -2
  290. package/types/rate/star.d.cts +70 -0
  291. package/types/rate/star.d.ts +2 -2
  292. package/types/result/index.d.cts +4 -0
  293. package/types/result/index.d.ts +3 -3
  294. package/types/result/result.d.cts +34 -0
  295. package/types/result/result.d.ts +3 -3
  296. package/types/ripple/engine.d.cts +66 -0
  297. package/types/ripple/index.d.cts +42 -0
  298. package/types/ripple/index.d.ts +1 -1
  299. package/types/row-col/col.d.cts +52 -0
  300. package/types/row-col/index.d.cts +5 -0
  301. package/types/row-col/index.d.ts +4 -4
  302. package/types/row-col/row.d.cts +38 -0
  303. package/types/segmented/index.d.cts +49 -0
  304. package/types/segmented/index.d.ts +4 -3
  305. package/types/select/index.d.cts +6 -0
  306. package/types/select/index.d.ts +5 -5
  307. package/types/select/option.d.cts +53 -0
  308. package/types/select/option.d.ts +3 -3
  309. package/types/select/select.d.cts +81 -0
  310. package/types/select/select.d.ts +4 -4
  311. package/types/select/types.d.cts +12 -0
  312. package/types/skeleton/index.d.cts +11 -0
  313. package/types/skeleton/index.d.ts +10 -10
  314. package/types/skeleton/skeleton-avatar.d.cts +27 -0
  315. package/types/skeleton/skeleton-avatar.d.ts +9 -9
  316. package/types/skeleton/skeleton-button.d.cts +29 -0
  317. package/types/skeleton/skeleton-button.d.ts +11 -11
  318. package/types/skeleton/skeleton-image.d.cts +25 -0
  319. package/types/skeleton/skeleton-image.d.ts +5 -5
  320. package/types/skeleton/skeleton-text.d.cts +25 -0
  321. package/types/skeleton/skeleton-text.d.ts +7 -7
  322. package/types/skeleton/skeleton.d.cts +53 -0
  323. package/types/skeleton/skeleton.d.ts +9 -9
  324. package/types/skeleton/types.d.cts +71 -0
  325. package/types/skeleton/types.d.ts +1 -1
  326. package/types/skeleton/use-skeleton-loading.d.cts +2 -0
  327. package/types/slider/index.d.cts +66 -0
  328. package/types/slider/index.d.ts +1 -1
  329. package/types/slider/thumb.d.cts +70 -0
  330. package/types/slider/thumb.d.ts +1 -1
  331. package/types/space/index.d.cts +54 -0
  332. package/types/space/index.d.ts +1 -1
  333. package/types/spin/index.d.cts +71 -0
  334. package/types/spin/index.d.ts +1 -1
  335. package/types/splitter/index.d.cts +4 -0
  336. package/types/splitter/index.d.ts +2 -2
  337. package/types/splitter/splitter-panel.d.cts +35 -0
  338. package/types/splitter/splitter.d.cts +31 -0
  339. package/types/splitter/splitter.d.ts +1 -1
  340. package/types/stat-card/countup.d.cts +56 -0
  341. package/types/stat-card/index.d.cts +6 -0
  342. package/types/stat-card/index.d.ts +5 -5
  343. package/types/stat-card/rollup.d.cts +34 -0
  344. package/types/stat-card/stat-card.d.cts +120 -0
  345. package/types/stat-card/stat-card.d.ts +3 -3
  346. package/types/stat-card/stat-number.d.cts +110 -0
  347. package/types/stat-card/stat-number.d.ts +1 -1
  348. package/types/stat-card/types.d.cts +15 -0
  349. package/types/stat-card/utils/countup.d.cts +128 -0
  350. package/types/stat-card/utils/odometer.d.cts +17 -0
  351. package/types/stat-card/utils/odometer.d.ts +1 -1
  352. package/types/stat-card/utils/stat-item-key.d.cts +11 -0
  353. package/types/steps/index.d.cts +86 -0
  354. package/types/switch/index.d.cts +63 -0
  355. package/types/switch/index.d.ts +1 -1
  356. package/types/table/column-setting.d.cts +78 -0
  357. package/types/table/column-setting.d.ts +2 -2
  358. package/types/table/index.d.cts +262 -0
  359. package/types/table/index.d.ts +5 -5
  360. package/types/table/types.d.cts +39 -0
  361. package/types/table/utils.d.cts +89 -0
  362. package/types/table/utils.d.ts +1 -1
  363. package/types/tabs/index.d.cts +6 -0
  364. package/types/tabs/index.d.ts +5 -5
  365. package/types/tabs/tab-panel.d.cts +22 -0
  366. package/types/tabs/tab-panel.d.ts +2 -2
  367. package/types/tabs/tabs.d.cts +51 -0
  368. package/types/tabs/tabs.d.ts +1 -1
  369. package/types/tabs/types.d.cts +16 -0
  370. package/types/tabs/types.d.ts +1 -1
  371. package/types/tag/index.d.cts +58 -0
  372. package/types/tag/index.d.ts +2 -2
  373. package/types/time-line/index.d.cts +6 -0
  374. package/types/time-line/index.d.ts +5 -5
  375. package/types/time-line/timeline-item.d.cts +21 -0
  376. package/types/time-line/timeline-item.d.ts +1 -1
  377. package/types/time-line/timeline.d.cts +27 -0
  378. package/types/time-line/timeline.d.ts +2 -2
  379. package/types/tooltip/index.d.cts +76 -0
  380. package/types/tooltip/index.d.ts +2 -2
  381. package/types/tour/index.d.cts +122 -0
  382. package/types/transfer/index.d.cts +129 -0
  383. package/types/transfer/index.d.ts +1 -1
  384. package/types/tree/context.d.cts +6 -0
  385. package/types/tree/index.d.cts +166 -0
  386. package/types/tree/index.d.ts +5 -5
  387. package/types/tree/types.d.cts +27 -0
  388. package/types/tree/types.d.ts +1 -1
  389. package/types/tree/utils.d.cts +33 -0
  390. package/types/tree/utils.d.ts +1 -1
  391. package/types/tree-select/index.d.cts +96 -0
  392. package/types/tree-select/index.d.ts +4 -4
  393. package/types/typography/index.d.cts +316 -0
  394. package/types/upload/file-list.d.cts +101 -0
  395. package/types/upload/file-list.d.ts +3 -3
  396. package/types/upload/index.d.cts +229 -0
  397. package/types/upload/index.d.ts +4 -4
  398. package/types/upload/picture-sort.d.cts +2 -0
  399. package/types/upload/selector.d.cts +82 -0
  400. package/types/upload/selector.d.ts +4 -4
  401. package/types/upload/types.d.cts +39 -0
  402. package/types/upload/types.d.ts +1 -1
  403. package/types/utils/checked.d.cts +2 -0
  404. package/types/utils/checked.d.ts +1 -1
  405. package/types/utils/color.d.cts +14 -0
  406. package/types/utils/css.d.cts +2 -0
  407. package/types/utils/element.d.cts +17 -0
  408. package/types/utils/focus.d.cts +5 -0
  409. package/types/utils/model-value.d.cts +10 -0
  410. package/types/utils/mouse.d.cts +1 -0
  411. package/types/utils/number.d.cts +6 -0
  412. package/types/utils/number.d.ts +1 -1
  413. package/types/utils/overlay-order.d.cts +6 -0
  414. package/types/utils/overlay-stack.d.cts +13 -0
  415. package/types/utils/placement.d.cts +16 -0
  416. package/types/utils/popup.d.cts +11 -0
  417. package/types/utils/promise.d.cts +5 -0
  418. package/types/utils/selection-tags.d.cts +18 -0
  419. package/types/utils/selection-tags.d.ts +1 -1
  420. package/types/utils/share.d.cts +12 -0
  421. package/types/utils/theme.d.cts +5 -0
  422. package/types/utils/vnode.d.cts +33 -0
  423. package/types/utils/vue.d.cts +17 -0
  424. package/types/virtual-list/index.d.cts +76 -0
  425. package/types/virtual-list/index.d.ts +1 -1
  426. package/types/virtual-list/range.d.cts +15 -0
  427. package/types/watermark/index.d.cts +188 -0
  428. package/types/watermark/index.d.ts +3 -3
  429. package/types/watermark/types.d.cts +11 -0
  430. package/vetur/attributes.json +4 -4
  431. package/vetur/web-types.json +5 -5
@@ -0,0 +1,45 @@
1
+ import { type ExtractPropTypes, type PropType, type VNode } from "vue";
2
+ import type { BadgeStatusType, BooleanType, ColorType } from "../const/types.cjs";
3
+ declare const badgeProps: {
4
+ count: (NumberConstructor | StringConstructor)[];
5
+ dot: BooleanType;
6
+ pill: BooleanType;
7
+ color: ColorType;
8
+ status: PropType<BadgeStatusType>;
9
+ text: PropType<string | VNode>;
10
+ active: BooleanType;
11
+ maxCount: {
12
+ type: NumberConstructor;
13
+ default: number;
14
+ };
15
+ };
16
+ export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
17
+ declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
18
+ count: (NumberConstructor | StringConstructor)[];
19
+ dot: BooleanType;
20
+ pill: BooleanType;
21
+ color: ColorType;
22
+ status: PropType<BadgeStatusType>;
23
+ text: PropType<string | VNode>;
24
+ active: BooleanType;
25
+ maxCount: {
26
+ type: NumberConstructor;
27
+ default: number;
28
+ };
29
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
30
+ count: (NumberConstructor | StringConstructor)[];
31
+ dot: BooleanType;
32
+ pill: BooleanType;
33
+ color: ColorType;
34
+ status: PropType<BadgeStatusType>;
35
+ text: PropType<string | VNode>;
36
+ active: BooleanType;
37
+ maxCount: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ }>> & Readonly<{}>, {
42
+ maxCount: number;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
+ export default Badge;
45
+ export type { BadgeStatusType } from "../const/types.cjs";
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes, type PropType, type VNode } from "vue";
2
- import type { BadgeStatusType, BooleanType, ColorType } from "../const/types";
2
+ import type { BadgeStatusType, BooleanType, ColorType } from "../const/types.js";
3
3
  declare const badgeProps: {
4
4
  count: (NumberConstructor | StringConstructor)[];
5
5
  dot: BooleanType;
@@ -42,4 +42,4 @@ declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
42
42
  maxCount: number;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
44
  export default Badge;
45
- export type { BadgeStatusType } from "../const/types";
45
+ export type { BadgeStatusType } from "../const/types.js";
@@ -0,0 +1,3 @@
1
+ import type { TransitionProps } from "vue";
2
+ export declare function getTransitionProp(name: string): TransitionProps;
3
+ export declare function getTransitionHorProp(name: string): TransitionProps;
@@ -0,0 +1,25 @@
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import { type IconType } from "../icon/index.cjs";
3
+ declare const breadcrumbItemProps: {
4
+ href: StringConstructor;
5
+ target: StringConstructor;
6
+ rel: StringConstructor;
7
+ icon: PropType<IconType[]>;
8
+ };
9
+ export type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;
10
+ declare const BreadcrumbItem: import("vue").DefineComponent<ExtractPropTypes<{
11
+ href: StringConstructor;
12
+ target: StringConstructor;
13
+ rel: StringConstructor;
14
+ icon: PropType<IconType[]>;
15
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ click: (event: MouseEvent) => boolean;
17
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
18
+ href: StringConstructor;
19
+ target: StringConstructor;
20
+ rel: StringConstructor;
21
+ icon: PropType<IconType[]>;
22
+ }>> & Readonly<{
23
+ onClick?: ((event: MouseEvent) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
+ export default BreadcrumbItem;
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes, type PropType } from "vue";
2
- import { type IconType } from "../icon";
2
+ import { type IconType } from "../icon/index.js";
3
3
  declare const breadcrumbItemProps: {
4
4
  href: StringConstructor;
5
5
  target: StringConstructor;
@@ -0,0 +1,22 @@
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ declare const breadcrumbProps: {
3
+ separator: {
4
+ type: PropType<VNodeChild>;
5
+ default: string;
6
+ };
7
+ };
8
+ export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>;
9
+ declare const Breadcrumb: import("vue").DefineComponent<ExtractPropTypes<{
10
+ separator: {
11
+ type: PropType<VNodeChild>;
12
+ default: string;
13
+ };
14
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
15
+ separator: {
16
+ type: PropType<VNodeChild>;
17
+ default: string;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ separator: VNodeChild;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
+ export default Breadcrumb;
@@ -0,0 +1,5 @@
1
+ import Breadcrumb from "./breadcrumb.cjs";
2
+ import BreadcrumbItem from "./breadcrumb-item.cjs";
3
+ export type { BreadcrumbProps } from "./breadcrumb.cjs";
4
+ export type { BreadcrumbItemProps } from "./breadcrumb-item.cjs";
5
+ export { Breadcrumb, BreadcrumbItem };
@@ -1,5 +1,5 @@
1
- import Breadcrumb from "./breadcrumb";
2
- import BreadcrumbItem from "./breadcrumb-item";
3
- export type { BreadcrumbProps } from "./breadcrumb";
4
- export type { BreadcrumbItemProps } from "./breadcrumb-item";
1
+ import Breadcrumb from "./breadcrumb.js";
2
+ import BreadcrumbItem from "./breadcrumb-item.js";
3
+ export type { BreadcrumbProps } from "./breadcrumb.js";
4
+ export type { BreadcrumbItemProps } from "./breadcrumb-item.js";
5
5
  export { Breadcrumb, BreadcrumbItem };
@@ -0,0 +1,21 @@
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import { type ShapeType, type SizeType } from "../const/types.cjs";
3
+ declare const buttonGroupProps: {
4
+ size: {
5
+ type: PropType<SizeType>;
6
+ };
7
+ shape: PropType<ShapeType>;
8
+ };
9
+ export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
10
+ declare const ButtonGroup: import("vue").DefineComponent<ExtractPropTypes<{
11
+ size: {
12
+ type: PropType<SizeType>;
13
+ };
14
+ shape: PropType<ShapeType>;
15
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
16
+ size: {
17
+ type: PropType<SizeType>;
18
+ };
19
+ shape: PropType<ShapeType>;
20
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ export default ButtonGroup;
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes, type PropType } from "vue";
2
- import { type ShapeType, type SizeType } from "../const/types";
2
+ import { type ShapeType, type SizeType } from "../const/types.js";
3
3
  declare const buttonGroupProps: {
4
4
  size: {
5
5
  type: PropType<SizeType>;
@@ -0,0 +1,38 @@
1
+ import { type ButtonHTMLAttributes, type DefineComponent, type ExtractPropTypes, type PropType } from "vue";
2
+ import type { BooleanType, ButtonType, ShapeType, SizeType, SurfaceThemeType } from "../const/types.cjs";
3
+ import { type IconType } from "../icon/index.cjs";
4
+ declare const buttonProps: {
5
+ htmlType: {
6
+ type: PropType<"button" | "submit" | "reset">;
7
+ default: string;
8
+ };
9
+ icon: PropType<IconType[]>;
10
+ block: {
11
+ type: BooleanType;
12
+ default: boolean;
13
+ };
14
+ size: {
15
+ type: PropType<SizeType>;
16
+ };
17
+ color: {
18
+ type: PropType<string>;
19
+ };
20
+ loading: {
21
+ type: BooleanType;
22
+ default: boolean;
23
+ };
24
+ type: {
25
+ type: PropType<ButtonType>;
26
+ default: string;
27
+ };
28
+ disabled: BooleanType;
29
+ theme: {
30
+ type: PropType<SurfaceThemeType>;
31
+ };
32
+ shape: PropType<ShapeType>;
33
+ href: StringConstructor;
34
+ target: StringConstructor;
35
+ };
36
+ export type ButtonProps = Partial<ExtractPropTypes<typeof buttonProps>> & Omit<ButtonHTMLAttributes, "type">;
37
+ declare const _default: DefineComponent<ButtonProps>;
38
+ export default _default;
@@ -1,6 +1,6 @@
1
1
  import { type ButtonHTMLAttributes, type DefineComponent, type ExtractPropTypes, type PropType } from "vue";
2
- import type { BooleanType, ButtonType, ShapeType, SizeType, SurfaceThemeType } from "../const/types";
3
- import { type IconType } from "../icon";
2
+ import type { BooleanType, ButtonType, ShapeType, SizeType, SurfaceThemeType } from "../const/types.js";
3
+ import { type IconType } from "../icon/index.js";
4
4
  declare const buttonProps: {
5
5
  htmlType: {
6
6
  type: PropType<"button" | "submit" | "reset">;
@@ -0,0 +1,5 @@
1
+ import Button from "./button.cjs";
2
+ import ButtonGroup from "./button-group.cjs";
3
+ export type { ButtonProps } from "./button.cjs";
4
+ export type { ButtonGroupProps } from "./button-group.cjs";
5
+ export { Button, ButtonGroup };
@@ -1,5 +1,5 @@
1
- import Button from "./button";
2
- import ButtonGroup from "./button-group";
3
- export type { ButtonProps } from "./button";
4
- export type { ButtonGroupProps } from "./button-group";
1
+ import Button from "./button.js";
2
+ import ButtonGroup from "./button-group.js";
3
+ export type { ButtonProps } from "./button.js";
4
+ export type { ButtonGroupProps } from "./button-group.js";
5
5
  export { Button, ButtonGroup };
@@ -0,0 +1,93 @@
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ export interface CalendarEventData {
3
+ key: string | number;
4
+ date: string;
5
+ title: string;
6
+ time?: string;
7
+ color?: string;
8
+ [key: string]: unknown;
9
+ }
10
+ export interface CalendarDateCell {
11
+ date: string;
12
+ day: number;
13
+ currentMonth: boolean;
14
+ events: CalendarEventData[];
15
+ }
16
+ declare const calendarProps: {
17
+ modelValue: StringConstructor;
18
+ value: StringConstructor;
19
+ events: {
20
+ type: PropType<CalendarEventData[]>;
21
+ default: () => never[];
22
+ };
23
+ firstDayOfWeek: NumberConstructor;
24
+ maxEvents: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ showToolbar: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ todayText: StringConstructor;
33
+ weekdays: PropType<string[]>;
34
+ };
35
+ export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
36
+ declare const Calendar: import("vue").DefineComponent<ExtractPropTypes<{
37
+ modelValue: StringConstructor;
38
+ value: StringConstructor;
39
+ events: {
40
+ type: PropType<CalendarEventData[]>;
41
+ default: () => never[];
42
+ };
43
+ firstDayOfWeek: NumberConstructor;
44
+ maxEvents: {
45
+ type: NumberConstructor;
46
+ default: number;
47
+ };
48
+ showToolbar: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ todayText: StringConstructor;
53
+ weekdays: PropType<string[]>;
54
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
+ "update:modelValue": (date: string) => boolean;
56
+ change: (date: string, cell: CalendarDateCell) => boolean;
57
+ monthChange: (value: {
58
+ year: number;
59
+ month: number;
60
+ }) => boolean;
61
+ eventClick: (event: CalendarEventData, cell: CalendarDateCell) => boolean;
62
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
63
+ modelValue: StringConstructor;
64
+ value: StringConstructor;
65
+ events: {
66
+ type: PropType<CalendarEventData[]>;
67
+ default: () => never[];
68
+ };
69
+ firstDayOfWeek: NumberConstructor;
70
+ maxEvents: {
71
+ type: NumberConstructor;
72
+ default: number;
73
+ };
74
+ showToolbar: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ todayText: StringConstructor;
79
+ weekdays: PropType<string[]>;
80
+ }>> & Readonly<{
81
+ onChange?: ((date: string, cell: CalendarDateCell) => any) | undefined;
82
+ "onUpdate:modelValue"?: ((date: string) => any) | undefined;
83
+ onMonthChange?: ((value: {
84
+ year: number;
85
+ month: number;
86
+ }) => any) | undefined;
87
+ onEventClick?: ((event: CalendarEventData, cell: CalendarDateCell) => any) | undefined;
88
+ }>, {
89
+ events: CalendarEventData[];
90
+ maxEvents: number;
91
+ showToolbar: boolean;
92
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
93
+ export default Calendar;
@@ -0,0 +1,17 @@
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ declare const cardMetaProps: {
3
+ avatar: PropType<string | VNodeChild>;
4
+ title: PropType<VNodeChild>;
5
+ description: PropType<VNodeChild>;
6
+ };
7
+ export type CardMetaProps = ExtractPropTypes<typeof cardMetaProps>;
8
+ declare const CardMeta: import("vue").DefineComponent<ExtractPropTypes<{
9
+ avatar: PropType<string | VNodeChild>;
10
+ title: PropType<VNodeChild>;
11
+ description: PropType<VNodeChild>;
12
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
13
+ avatar: PropType<string | VNodeChild>;
14
+ title: PropType<VNodeChild>;
15
+ description: PropType<VNodeChild>;
16
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ export default CardMeta;
@@ -0,0 +1,76 @@
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import type { BooleanType, SizeType, SurfaceShapeType, SurfaceThemeType } from "../const/types.cjs";
3
+ import { type IconType } from "../icon/index.cjs";
4
+ import CardMeta from "./card-meta.cjs";
5
+ export type CardShape = SurfaceShapeType;
6
+ declare const cardProps: {
7
+ bordered: {
8
+ type: BooleanType;
9
+ default: boolean;
10
+ };
11
+ theme: {
12
+ type: PropType<SurfaceThemeType>;
13
+ default: string;
14
+ };
15
+ shape: {
16
+ type: PropType<CardShape>;
17
+ default: string;
18
+ };
19
+ size: {
20
+ type: PropType<SizeType>;
21
+ default: string;
22
+ };
23
+ title: StringConstructor;
24
+ icon: PropType<IconType[]>;
25
+ cover: PropType<string | VNodeChild>;
26
+ };
27
+ export type CardProps = ExtractPropTypes<typeof cardProps>;
28
+ declare const Card: import("vue").DefineComponent<ExtractPropTypes<{
29
+ bordered: {
30
+ type: BooleanType;
31
+ default: boolean;
32
+ };
33
+ theme: {
34
+ type: PropType<SurfaceThemeType>;
35
+ default: string;
36
+ };
37
+ shape: {
38
+ type: PropType<CardShape>;
39
+ default: string;
40
+ };
41
+ size: {
42
+ type: PropType<SizeType>;
43
+ default: string;
44
+ };
45
+ title: StringConstructor;
46
+ icon: PropType<IconType[]>;
47
+ cover: PropType<string | VNodeChild>;
48
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
49
+ bordered: {
50
+ type: BooleanType;
51
+ default: boolean;
52
+ };
53
+ theme: {
54
+ type: PropType<SurfaceThemeType>;
55
+ default: string;
56
+ };
57
+ shape: {
58
+ type: PropType<CardShape>;
59
+ default: string;
60
+ };
61
+ size: {
62
+ type: PropType<SizeType>;
63
+ default: string;
64
+ };
65
+ title: StringConstructor;
66
+ icon: PropType<IconType[]>;
67
+ cover: PropType<string | VNodeChild>;
68
+ }>> & Readonly<{}>, {
69
+ size: SizeType;
70
+ theme: SurfaceThemeType;
71
+ shape: SurfaceShapeType;
72
+ bordered: boolean | undefined;
73
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74
+ export type { CardMetaProps } from "./card-meta.cjs";
75
+ export { CardMeta };
76
+ export default Card;
@@ -1,7 +1,7 @@
1
1
  import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
- import type { BooleanType, SizeType, SurfaceShapeType, SurfaceThemeType } from "../const/types";
3
- import { type IconType } from "../icon";
4
- import CardMeta from "./card-meta";
2
+ import type { BooleanType, SizeType, SurfaceShapeType, SurfaceThemeType } from "../const/types.js";
3
+ import { type IconType } from "../icon/index.js";
4
+ import CardMeta from "./card-meta.js";
5
5
  export type CardShape = SurfaceShapeType;
6
6
  declare const cardProps: {
7
7
  bordered: {
@@ -71,6 +71,6 @@ declare const Card: import("vue").DefineComponent<ExtractPropTypes<{
71
71
  shape: SurfaceShapeType;
72
72
  bordered: boolean | undefined;
73
73
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74
- export type { CardMetaProps } from "./card-meta";
74
+ export type { CardMetaProps } from "./card-meta.js";
75
75
  export { CardMeta };
76
76
  export default Card;
@@ -0,0 +1,2 @@
1
+ declare const CarouselItem: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default CarouselItem;
@@ -0,0 +1,116 @@
1
+ import { type ExtractPropTypes } from "vue";
2
+ import type { BooleanType } from "../const/types.cjs";
3
+ declare const carouselProps: {
4
+ modelValue: {
5
+ type: NumberConstructor;
6
+ default: undefined;
7
+ };
8
+ value: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ };
12
+ loop: {
13
+ type: BooleanType;
14
+ default: boolean;
15
+ };
16
+ autoplay: BooleanType;
17
+ delay: {
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ height: {
22
+ type: NumberConstructor;
23
+ default: number;
24
+ };
25
+ vertical: BooleanConstructor;
26
+ dots: {
27
+ type: BooleanType;
28
+ default: boolean;
29
+ };
30
+ swipeable: {
31
+ type: BooleanType;
32
+ default: boolean;
33
+ };
34
+ };
35
+ export type CarouselProps = ExtractPropTypes<typeof carouselProps>;
36
+ declare const Carousel: import("vue").DefineComponent<ExtractPropTypes<{
37
+ modelValue: {
38
+ type: NumberConstructor;
39
+ default: undefined;
40
+ };
41
+ value: {
42
+ type: NumberConstructor;
43
+ default: number;
44
+ };
45
+ loop: {
46
+ type: BooleanType;
47
+ default: boolean;
48
+ };
49
+ autoplay: BooleanType;
50
+ delay: {
51
+ type: NumberConstructor;
52
+ default: number;
53
+ };
54
+ height: {
55
+ type: NumberConstructor;
56
+ default: number;
57
+ };
58
+ vertical: BooleanConstructor;
59
+ dots: {
60
+ type: BooleanType;
61
+ default: boolean;
62
+ };
63
+ swipeable: {
64
+ type: BooleanType;
65
+ default: boolean;
66
+ };
67
+ }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
68
+ "update:modelValue": (value: number) => boolean;
69
+ change: (value: number) => boolean;
70
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
71
+ modelValue: {
72
+ type: NumberConstructor;
73
+ default: undefined;
74
+ };
75
+ value: {
76
+ type: NumberConstructor;
77
+ default: number;
78
+ };
79
+ loop: {
80
+ type: BooleanType;
81
+ default: boolean;
82
+ };
83
+ autoplay: BooleanType;
84
+ delay: {
85
+ type: NumberConstructor;
86
+ default: number;
87
+ };
88
+ height: {
89
+ type: NumberConstructor;
90
+ default: number;
91
+ };
92
+ vertical: BooleanConstructor;
93
+ dots: {
94
+ type: BooleanType;
95
+ default: boolean;
96
+ };
97
+ swipeable: {
98
+ type: BooleanType;
99
+ default: boolean;
100
+ };
101
+ }>> & Readonly<{
102
+ onChange?: ((value: number) => any) | undefined;
103
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
104
+ }>, {
105
+ height: number;
106
+ vertical: boolean;
107
+ value: number;
108
+ modelValue: number;
109
+ loop: boolean | undefined;
110
+ delay: number;
111
+ dots: boolean | undefined;
112
+ swipeable: boolean | undefined;
113
+ }, {}, {}, {
114
+ resize: import("vue").ObjectDirective<any, any, string, any>;
115
+ }, string, import("vue").ComponentProvideOptions, true, {}, any>;
116
+ export default Carousel;
@@ -1,5 +1,5 @@
1
1
  import { type ExtractPropTypes } from "vue";
2
- import type { BooleanType } from "../const/types";
2
+ import type { BooleanType } from "../const/types.js";
3
3
  declare const carouselProps: {
4
4
  modelValue: {
5
5
  type: NumberConstructor;
@@ -0,0 +1,19 @@
1
+ interface DragOptions {
2
+ swipeable: boolean;
3
+ vertical: boolean;
4
+ size: number;
5
+ count: number;
6
+ index: number;
7
+ loop: boolean;
8
+ }
9
+ interface DragCallbacks {
10
+ options: () => DragOptions;
11
+ start: () => number | void;
12
+ offset: (value: number) => void;
13
+ settle?: (duration: number) => void;
14
+ finish: (step: -1 | 0 | 1) => void;
15
+ }
16
+ export declare function bindCarouselDrag(root: HTMLElement, callbacks: DragCallbacks): () => void;
17
+ export declare function retargetCarousel(root: HTMLElement, vertical: boolean, size: number, count: number, next: number, step: number): number;
18
+ export declare function readCarouselOffset(root: HTMLElement, vertical: boolean, position: number, size: number): number;
19
+ export {};
@@ -0,0 +1,4 @@
1
+ import Carousel from "./carousel.cjs";
2
+ import CarouselItem from "./carousel-item.cjs";
3
+ export type { CarouselProps } from "./carousel.cjs";
4
+ export { Carousel, CarouselItem };
@@ -1,4 +1,4 @@
1
- import Carousel from "./carousel";
2
- import CarouselItem from "./carousel-item";
3
- export type { CarouselProps } from "./carousel";
1
+ import Carousel from "./carousel.js";
2
+ import CarouselItem from "./carousel-item.js";
3
+ export type { CarouselProps } from "./carousel.js";
4
4
  export { Carousel, CarouselItem };