@vaebe/ccui 2.0.1-beta.1 → 2.0.1-beta.3

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 (438) hide show
  1. package/README.md +1 -1
  2. package/affix/index.d.ts +10 -0
  3. package/affix/src/affix-types.d.ts +20 -0
  4. package/affix/src/affix.d.ts +20 -0
  5. package/alert/index.d.ts +10 -0
  6. package/alert/src/alert-types.d.ts +48 -0
  7. package/alert/src/alert.d.ts +36 -0
  8. package/anchor/index.d.ts +10 -0
  9. package/anchor/src/anchor-types.d.ts +37 -0
  10. package/anchor/src/anchor.d.ts +31 -0
  11. package/auto-complete/index.d.ts +10 -0
  12. package/auto-complete/index.es.js +1986 -0
  13. package/auto-complete/index.umd.js +1 -0
  14. package/auto-complete/src/auto-complete-types.d.ts +134 -0
  15. package/auto-complete/src/auto-complete.d.ts +94 -0
  16. package/auto-complete/style.css +2 -0
  17. package/avatar/index.d.ts +10 -0
  18. package/avatar/src/avatar-types.d.ts +53 -0
  19. package/avatar/src/avatar.d.ts +36 -0
  20. package/avatar/src/components/icon-body.d.ts +4 -0
  21. package/avatar/src/components/icon-img-error.d.ts +4 -0
  22. package/avatar/src/components/icon-nobody.d.ts +4 -0
  23. package/avatar/src/composables/use-get-background-color.d.ts +1 -0
  24. package/avatar/src/composables/use-get-display-name.d.ts +1 -0
  25. package/avatar-group/index.d.ts +12 -0
  26. package/avatar-group/index.es.js +119 -0
  27. package/avatar-group/index.umd.js +1 -0
  28. package/avatar-group/src/avatar-group-types.d.ts +56 -0
  29. package/avatar-group/src/avatar-group.d.ts +27 -0
  30. package/avatar-group/style.css +2 -0
  31. package/badge/index.d.ts +10 -0
  32. package/badge/src/badge-types.d.ts +52 -0
  33. package/badge/src/badge.d.ts +36 -0
  34. package/badge-ribbon/index.d.ts +12 -0
  35. package/badge-ribbon/index.es.js +84 -0
  36. package/badge-ribbon/index.umd.js +1 -0
  37. package/badge-ribbon/src/badge-ribbon-types.d.ts +30 -0
  38. package/badge-ribbon/src/badge-ribbon.d.ts +17 -0
  39. package/badge-ribbon/style.css +2 -0
  40. package/breadcrumb/index.d.ts +10 -0
  41. package/breadcrumb/src/breadcrumb-types.d.ts +29 -0
  42. package/breadcrumb/src/breadcrumb.d.ts +21 -0
  43. package/button/index.d.ts +12 -0
  44. package/button/src/button-group.d.ts +12 -0
  45. package/button/src/button-types.d.ts +168 -0
  46. package/button/src/button.d.ts +75 -0
  47. package/button-3d/index.d.ts +10 -0
  48. package/button-3d/src/button-3d-types.d.ts +27 -0
  49. package/button-3d/src/button-3d.d.ts +23 -0
  50. package/calendar/index.d.ts +10 -0
  51. package/calendar/src/calendar-types.d.ts +56 -0
  52. package/calendar/src/calendar.d.ts +27 -0
  53. package/card/index.d.ts +10 -0
  54. package/card/src/card-types.d.ts +34 -0
  55. package/card/src/card.d.ts +21 -0
  56. package/card-meta/index.d.ts +11 -0
  57. package/card-meta/index.es.js +53 -0
  58. package/card-meta/index.umd.js +1 -0
  59. package/card-meta/src/card-meta-types.d.ts +19 -0
  60. package/card-meta/src/card-meta.d.ts +14 -0
  61. package/card-meta/style.css +2 -0
  62. package/carousel/index.d.ts +10 -0
  63. package/carousel/index.es.js +306 -0
  64. package/carousel/index.umd.js +1 -0
  65. package/carousel/src/carousel-types.d.ts +72 -0
  66. package/carousel/src/carousel.d.ts +58 -0
  67. package/carousel/style.css +2 -0
  68. package/cascader/index.d.ts +12 -0
  69. package/cascader/index.es.js +2267 -0
  70. package/cascader/index.umd.js +1 -0
  71. package/cascader/src/cascader-types.d.ts +214 -0
  72. package/cascader/src/cascader.d.ts +133 -0
  73. package/cascader/style.css +2 -0
  74. package/check-box/index.d.ts +10 -0
  75. package/check-box/src/check-box-group.d.ts +31 -0
  76. package/check-box/src/check-box-types.d.ts +74 -0
  77. package/check-box/src/check-box.d.ts +28 -0
  78. package/check-box/src/components/icon-active.d.ts +2 -0
  79. package/check-box/src/components/icon-default.d.ts +2 -0
  80. package/checkable-tag/index.d.ts +13 -0
  81. package/checkable-tag/index.es.js +141 -0
  82. package/checkable-tag/index.umd.js +1 -0
  83. package/checkable-tag/src/checkable-tag-group.d.ts +26 -0
  84. package/checkable-tag/src/checkable-tag-types.d.ts +83 -0
  85. package/checkable-tag/src/checkable-tag.d.ts +20 -0
  86. package/checkable-tag/style.css +2 -0
  87. package/collapse/index.d.ts +11 -0
  88. package/collapse/src/collapse-item.d.ts +16 -0
  89. package/collapse/src/collapse-types.d.ts +52 -0
  90. package/collapse/src/collapse.d.ts +24 -0
  91. package/color-picker/index.d.ts +10 -0
  92. package/color-picker/index.es.js +1881 -0
  93. package/color-picker/index.umd.js +1 -0
  94. package/color-picker/src/color-picker-types.d.ts +121 -0
  95. package/color-picker/src/color-picker.d.ts +75 -0
  96. package/color-picker/style.css +2 -0
  97. package/config-provider/index.d.ts +10 -0
  98. package/config-provider/src/config-provider-types.d.ts +131 -0
  99. package/config-provider/src/config-provider.d.ts +24 -0
  100. package/date-picker/index.d.ts +10 -0
  101. package/date-picker/src/date-picker-types.d.ts +179 -0
  102. package/date-picker/src/date-picker.d.ts +113 -0
  103. package/descriptions/index.d.ts +11 -0
  104. package/descriptions/src/descriptions-item.d.ts +19 -0
  105. package/descriptions/src/descriptions-types.d.ts +64 -0
  106. package/descriptions/src/descriptions.d.ts +31 -0
  107. package/divider/index.d.ts +10 -0
  108. package/divider/src/divider-types.d.ts +31 -0
  109. package/divider/src/divider.d.ts +24 -0
  110. package/drawer/index.d.ts +10 -0
  111. package/drawer/src/drawer-types.d.ts +155 -0
  112. package/drawer/src/drawer.d.ts +79 -0
  113. package/dropdown/index.d.ts +10 -0
  114. package/dropdown/index.es.js +2 -2
  115. package/dropdown/index.umd.js +1 -1
  116. package/dropdown/src/dropdown-types.d.ts +41 -0
  117. package/dropdown/src/dropdown.d.ts +32 -0
  118. package/empty/index.d.ts +10 -0
  119. package/empty/src/empty-types.d.ts +16 -0
  120. package/empty/src/empty.d.ts +15 -0
  121. package/flex/index.d.ts +10 -0
  122. package/flex/src/flex-types.d.ts +36 -0
  123. package/flex/src/flex.d.ts +29 -0
  124. package/float-button/index.d.ts +11 -0
  125. package/float-button/src/back-top.d.ts +26 -0
  126. package/float-button/src/float-button-types.d.ts +65 -0
  127. package/float-button/src/float-button.d.ts +32 -0
  128. package/form/index.d.ts +14 -0
  129. package/form/src/form-item.d.ts +72 -0
  130. package/form/src/form-list.d.ts +12 -0
  131. package/form/src/form-provider.d.ts +7 -0
  132. package/form/src/form-types.d.ts +360 -0
  133. package/form/src/form.d.ts +64 -0
  134. package/form/src/utils.d.ts +10 -0
  135. package/grid/index.d.ts +10 -0
  136. package/grid/src/grid-types.d.ts +90 -0
  137. package/grid/src/grid.d.ts +58 -0
  138. package/icon/index.d.ts +12 -0
  139. package/icon/src/icon-registry.d.ts +5 -0
  140. package/icon/src/icon-types.d.ts +95 -0
  141. package/icon/src/icon.d.ts +63 -0
  142. package/image/index.d.ts +10 -0
  143. package/image/src/image-types.d.ts +56 -0
  144. package/image/src/image.d.ts +42 -0
  145. package/image-preview-group/index.d.ts +11 -0
  146. package/image-preview-group/index.es.js +162 -0
  147. package/image-preview-group/index.umd.js +1 -0
  148. package/image-preview-group/src/image-preview-group-types.d.ts +51 -0
  149. package/image-preview-group/src/image-preview-group.d.ts +25 -0
  150. package/image-preview-group/style.css +2 -0
  151. package/index.d.ts +93 -7
  152. package/input/index.d.ts +10 -0
  153. package/input/src/input-types.d.ts +164 -0
  154. package/input/src/input.d.ts +74 -0
  155. package/input-number/index.d.ts +10 -0
  156. package/input-number/src/input-number-types.d.ts +165 -0
  157. package/input-number/src/input-number.d.ts +66 -0
  158. package/input-otp/index.d.ts +11 -0
  159. package/input-otp/index.es.js +186 -0
  160. package/input-otp/index.umd.js +1 -0
  161. package/input-otp/src/input-otp-types.d.ts +68 -0
  162. package/input-otp/src/input-otp.d.ts +40 -0
  163. package/input-otp/style.css +2 -0
  164. package/input-search/index.d.ts +11 -0
  165. package/input-search/index.es.js +1228 -0
  166. package/input-search/index.umd.js +1 -0
  167. package/input-search/src/input-search-types.d.ts +106 -0
  168. package/input-search/src/input-search.d.ts +84 -0
  169. package/input-search/style.css +2 -0
  170. package/layout/index.d.ts +10 -0
  171. package/layout/src/layout-types.d.ts +70 -0
  172. package/layout/src/layout.d.ts +56 -0
  173. package/masonry/index.d.ts +10 -0
  174. package/masonry/src/masonry-types.d.ts +19 -0
  175. package/masonry/src/masonry.d.ts +16 -0
  176. package/mentions/index.d.ts +10 -0
  177. package/mentions/index.es.js +711 -0
  178. package/mentions/index.umd.js +1 -0
  179. package/mentions/src/mentions-types.d.ts +124 -0
  180. package/mentions/src/mentions.d.ts +79 -0
  181. package/mentions/style.css +2 -0
  182. package/menu/index.d.ts +10 -0
  183. package/menu/src/menu-types.d.ts +109 -0
  184. package/menu/src/menu.d.ts +63 -0
  185. package/message/index.d.ts +22 -0
  186. package/message/src/message-item.d.ts +46 -0
  187. package/message/src/message-types.d.ts +86 -0
  188. package/message/src/message.d.ts +21 -0
  189. package/message/src/use-message.d.ts +35 -0
  190. package/modal/index.d.ts +24 -0
  191. package/modal/src/confirm-types.d.ts +30 -0
  192. package/modal/src/confirm.d.ts +17 -0
  193. package/modal/src/modal-types.d.ts +175 -0
  194. package/modal/src/modal.d.ts +99 -0
  195. package/modal/src/use-modal.d.ts +34 -0
  196. package/notification/index.d.ts +21 -0
  197. package/notification/src/notification-item.d.ts +49 -0
  198. package/notification/src/notification-types.d.ts +91 -0
  199. package/notification/src/notification.d.ts +20 -0
  200. package/notification/src/use-notification.d.ts +34 -0
  201. package/package.json +611 -12
  202. package/pagination/index.d.ts +10 -0
  203. package/pagination/index.es.js +4 -2
  204. package/pagination/index.umd.js +1 -1
  205. package/pagination/src/pagination-types.d.ts +49 -0
  206. package/pagination/src/pagination.d.ts +43 -0
  207. package/popconfirm/index.d.ts +10 -0
  208. package/popconfirm/src/popconfirm-types.d.ts +82 -0
  209. package/popconfirm/src/popconfirm.d.ts +55 -0
  210. package/popover/index.d.ts +10 -0
  211. package/popover/src/popover-types.d.ts +235 -0
  212. package/popover/src/popover.d.ts +130 -0
  213. package/progress/index.d.ts +10 -0
  214. package/progress/src/progress-types.d.ts +48 -0
  215. package/progress/src/progress.d.ts +37 -0
  216. package/radio/index.d.ts +11 -0
  217. package/radio/src/components/icon-active.d.ts +2 -0
  218. package/radio/src/components/icon-circle.d.ts +2 -0
  219. package/radio/src/radio-group.d.ts +21 -0
  220. package/radio/src/radio-types.d.ts +55 -0
  221. package/radio/src/radio.d.ts +24 -0
  222. package/range-picker/index.d.ts +10 -0
  223. package/range-picker/index.es.js +2415 -0
  224. package/range-picker/index.umd.js +1 -0
  225. package/range-picker/src/range-picker-types.d.ts +169 -0
  226. package/range-picker/src/range-picker.d.ts +112 -0
  227. package/range-picker/style.css +2 -0
  228. package/rate/index.d.ts +10 -0
  229. package/rate/src/components/icon-default.d.ts +2 -0
  230. package/rate/src/rate-types.d.ts +34 -0
  231. package/rate/src/rate.d.ts +30 -0
  232. package/result/index.d.ts +10 -0
  233. package/result/src/result-types.d.ts +21 -0
  234. package/result/src/result.d.ts +18 -0
  235. package/segmented/index.d.ts +10 -0
  236. package/segmented/src/segmented-types.d.ts +32 -0
  237. package/segmented/src/segmented.d.ts +25 -0
  238. package/select/index.d.ts +10 -0
  239. package/select/src/composables/use-select.d.ts +29 -0
  240. package/select/src/select-types.d.ts +215 -0
  241. package/select/src/select.d.ts +149 -0
  242. package/skeleton/index.d.ts +10 -0
  243. package/skeleton/src/skeleton-types.d.ts +39 -0
  244. package/skeleton/src/skeleton.d.ts +27 -0
  245. package/skeleton-node/index.d.ts +11 -0
  246. package/skeleton-node/index.es.js +71 -0
  247. package/skeleton-node/index.umd.js +1 -0
  248. package/skeleton-node/src/skeleton-node-types.d.ts +23 -0
  249. package/skeleton-node/src/skeleton-node.d.ts +17 -0
  250. package/skeleton-node/style.css +2 -0
  251. package/slider/index.d.ts +10 -0
  252. package/slider/index.es.js +3 -3
  253. package/slider/index.umd.js +1 -1
  254. package/slider/src/composables/use-slider-tooltip.d.ts +18 -0
  255. package/slider/src/composables/use-slider.d.ts +68 -0
  256. package/slider/src/slider-types.d.ts +112 -0
  257. package/slider/src/slider.d.ts +149 -0
  258. package/space/index.d.ts +10 -0
  259. package/space/src/space-types.d.ts +28 -0
  260. package/space/src/space.d.ts +21 -0
  261. package/space-compact/index.d.ts +11 -0
  262. package/space-compact/index.es.js +59 -0
  263. package/space-compact/index.umd.js +1 -0
  264. package/space-compact/src/space-compact-types.d.ts +27 -0
  265. package/space-compact/src/space-compact.d.ts +15 -0
  266. package/space-compact/style.css +2 -0
  267. package/spin/index.d.ts +10 -0
  268. package/spin/src/spin-types.d.ts +29 -0
  269. package/spin/src/spin.d.ts +24 -0
  270. package/splitter/index.d.ts +10 -0
  271. package/splitter/src/splitter-types.d.ts +70 -0
  272. package/splitter/src/splitter.d.ts +62 -0
  273. package/status/index.d.ts +10 -0
  274. package/status/src/status-types.d.ts +10 -0
  275. package/status/src/status.d.ts +9 -0
  276. package/steps/index.d.ts +10 -0
  277. package/steps/src/steps-types.d.ts +48 -0
  278. package/steps/src/steps.d.ts +34 -0
  279. package/style.css +2 -0
  280. package/switch/index.d.ts +10 -0
  281. package/switch/src/switch-types.d.ts +45 -0
  282. package/switch/src/switch.d.ts +37 -0
  283. package/table/index.d.ts +11 -0
  284. package/table/src/table-types.d.ts +172 -0
  285. package/table/src/table.d.ts +67 -0
  286. package/table-column/index.d.ts +11 -0
  287. package/table-column/index.es.js +155 -0
  288. package/table-column/index.umd.js +1 -0
  289. package/table-column/src/table-column-types.d.ts +75 -0
  290. package/table-column/src/table-column.d.ts +63 -0
  291. package/table-column-group/index.d.ts +11 -0
  292. package/table-column-group/index.es.js +80 -0
  293. package/table-column-group/index.umd.js +1 -0
  294. package/table-column-group/src/table-column-group-types.d.ts +36 -0
  295. package/table-column-group/src/table-column-group.d.ts +20 -0
  296. package/table-summary/index.d.ts +11 -0
  297. package/table-summary/index.es.js +30 -0
  298. package/table-summary/index.umd.js +1 -0
  299. package/table-summary/src/table-summary-types.d.ts +29 -0
  300. package/table-summary/src/table-summary.d.ts +8 -0
  301. package/tabs/index.d.ts +11 -0
  302. package/tabs/src/components/tab/tab-types.d.ts +18 -0
  303. package/tabs/src/components/tab/tab.d.ts +15 -0
  304. package/tabs/src/components/tabs-nav/index.d.ts +26 -0
  305. package/tabs/src/tabs-types.d.ts +49 -0
  306. package/tabs/src/tabs.d.ts +27 -0
  307. package/tag/index.d.ts +10 -0
  308. package/tag/src/tag-types.d.ts +41 -0
  309. package/tag/src/tag.d.ts +24 -0
  310. package/textarea/index.d.ts +11 -0
  311. package/textarea/index.es.js +1241 -0
  312. package/textarea/index.umd.js +1 -0
  313. package/textarea/src/textarea-types.d.ts +150 -0
  314. package/textarea/src/textarea.d.ts +63 -0
  315. package/textarea/style.css +2 -0
  316. package/time-picker/index.d.ts +10 -0
  317. package/time-picker/index.es.js +2325 -0
  318. package/time-picker/index.umd.js +1 -0
  319. package/time-picker/src/time-picker-types.d.ts +168 -0
  320. package/time-picker/src/time-picker.d.ts +127 -0
  321. package/time-picker/style.css +2 -0
  322. package/time-range-picker/index.d.ts +10 -0
  323. package/time-range-picker/index.es.js +2568 -0
  324. package/time-range-picker/index.umd.js +1 -0
  325. package/time-range-picker/src/time-range-picker-types.d.ts +147 -0
  326. package/time-range-picker/src/time-range-picker.d.ts +124 -0
  327. package/time-range-picker/style.css +2 -0
  328. package/timeline/index.d.ts +11 -0
  329. package/timeline/src/timeline-item.d.ts +31 -0
  330. package/timeline/src/timeline-types.d.ts +72 -0
  331. package/timeline/src/timeline.d.ts +3 -0
  332. package/tooltip/index.d.ts +10 -0
  333. package/tooltip/src/tooltip-types.d.ts +201 -0
  334. package/tooltip/src/tooltip.d.ts +87 -0
  335. package/transfer/index.d.ts +10 -0
  336. package/transfer/index.es.js +1407 -0
  337. package/transfer/index.umd.js +1 -0
  338. package/transfer/src/transfer-types.d.ts +76 -0
  339. package/transfer/src/transfer.d.ts +59 -0
  340. package/transfer/style.css +2 -0
  341. package/tree/index.d.ts +10 -0
  342. package/tree/src/composables/use-tree-check.d.ts +9 -0
  343. package/tree/src/composables/use-tree-flatten.d.ts +11 -0
  344. package/tree/src/composables/use-tree-state.d.ts +17 -0
  345. package/tree/src/tree-types.d.ts +202 -0
  346. package/tree/src/tree.d.ts +122 -0
  347. package/tree-select/index.d.ts +12 -0
  348. package/tree-select/index.es.js +3009 -0
  349. package/tree-select/index.umd.js +1 -0
  350. package/tree-select/src/tree-select-types.d.ts +188 -0
  351. package/tree-select/src/tree-select.d.ts +128 -0
  352. package/tree-select/style.css +2 -0
  353. package/typography/index.d.ts +10 -0
  354. package/typography/src/typography-types.d.ts +316 -0
  355. package/typography/src/typography.d.ts +33 -0
  356. package/upload/index.d.ts +10 -0
  357. package/upload/index.es.js +1450 -0
  358. package/upload/index.umd.js +1 -0
  359. package/upload/src/upload-types.d.ts +99 -0
  360. package/upload/src/upload.d.ts +66 -0
  361. package/upload/style.css +2 -0
  362. package/upload-dragger/index.d.ts +10 -0
  363. package/upload-dragger/index.es.js +1472 -0
  364. package/upload-dragger/index.umd.js +1 -0
  365. package/upload-dragger/src/upload-dragger.d.ts +167 -0
  366. package/upload-dragger/style.css +2 -0
  367. package/util/index.d.ts +12 -0
  368. package/util/src/dom.d.ts +8 -0
  369. package/util/src/func.d.ts +7 -0
  370. package/util/src/type.d.ts +3 -0
  371. package/vue-ccui.es.js +11 -9
  372. package/vue-ccui.umd.js +1 -1
  373. package/watermark/index.d.ts +10 -0
  374. package/watermark/src/watermark-types.d.ts +47 -0
  375. package/watermark/src/watermark.d.ts +34 -0
  376. package/ccui-cli.css +0 -2
  377. package/nuxt/components/category.js +0 -2
  378. package/nuxt/components/install.js +0 -2
  379. package/nuxt/components/status.js +0 -2
  380. package/nuxt/components/title.js +0 -2
  381. package/nuxt/index.js +0 -13
  382. /package/affix/{ccui-cli.css → style.css} +0 -0
  383. /package/alert/{ccui-cli.css → style.css} +0 -0
  384. /package/anchor/{ccui-cli.css → style.css} +0 -0
  385. /package/avatar/{ccui-cli.css → style.css} +0 -0
  386. /package/badge/{ccui-cli.css → style.css} +0 -0
  387. /package/breadcrumb/{ccui-cli.css → style.css} +0 -0
  388. /package/button/{ccui-cli.css → style.css} +0 -0
  389. /package/button-3d/{ccui-cli.css → style.css} +0 -0
  390. /package/calendar/{ccui-cli.css → style.css} +0 -0
  391. /package/card/{ccui-cli.css → style.css} +0 -0
  392. /package/check-box/{ccui-cli.css → style.css} +0 -0
  393. /package/collapse/{ccui-cli.css → style.css} +0 -0
  394. /package/date-picker/{ccui-cli.css → style.css} +0 -0
  395. /package/descriptions/{ccui-cli.css → style.css} +0 -0
  396. /package/divider/{ccui-cli.css → style.css} +0 -0
  397. /package/drawer/{ccui-cli.css → style.css} +0 -0
  398. /package/dropdown/{ccui-cli.css → style.css} +0 -0
  399. /package/empty/{ccui-cli.css → style.css} +0 -0
  400. /package/flex/{ccui-cli.css → style.css} +0 -0
  401. /package/float-button/{ccui-cli.css → style.css} +0 -0
  402. /package/form/{ccui-cli.css → style.css} +0 -0
  403. /package/grid/{ccui-cli.css → style.css} +0 -0
  404. /package/icon/{ccui-cli.css → style.css} +0 -0
  405. /package/image/{ccui-cli.css → style.css} +0 -0
  406. /package/input/{ccui-cli.css → style.css} +0 -0
  407. /package/input-number/{ccui-cli.css → style.css} +0 -0
  408. /package/layout/{ccui-cli.css → style.css} +0 -0
  409. /package/masonry/{ccui-cli.css → style.css} +0 -0
  410. /package/menu/{ccui-cli.css → style.css} +0 -0
  411. /package/message/{ccui-cli.css → style.css} +0 -0
  412. /package/modal/{ccui-cli.css → style.css} +0 -0
  413. /package/notification/{ccui-cli.css → style.css} +0 -0
  414. /package/pagination/{ccui-cli.css → style.css} +0 -0
  415. /package/popconfirm/{ccui-cli.css → style.css} +0 -0
  416. /package/popover/{ccui-cli.css → style.css} +0 -0
  417. /package/progress/{ccui-cli.css → style.css} +0 -0
  418. /package/radio/{ccui-cli.css → style.css} +0 -0
  419. /package/rate/{ccui-cli.css → style.css} +0 -0
  420. /package/result/{ccui-cli.css → style.css} +0 -0
  421. /package/segmented/{ccui-cli.css → style.css} +0 -0
  422. /package/select/{ccui-cli.css → style.css} +0 -0
  423. /package/skeleton/{ccui-cli.css → style.css} +0 -0
  424. /package/slider/{ccui-cli.css → style.css} +0 -0
  425. /package/space/{ccui-cli.css → style.css} +0 -0
  426. /package/spin/{ccui-cli.css → style.css} +0 -0
  427. /package/splitter/{ccui-cli.css → style.css} +0 -0
  428. /package/status/{ccui-cli.css → style.css} +0 -0
  429. /package/steps/{ccui-cli.css → style.css} +0 -0
  430. /package/switch/{ccui-cli.css → style.css} +0 -0
  431. /package/table/{ccui-cli.css → style.css} +0 -0
  432. /package/tabs/{ccui-cli.css → style.css} +0 -0
  433. /package/tag/{ccui-cli.css → style.css} +0 -0
  434. /package/timeline/{ccui-cli.css → style.css} +0 -0
  435. /package/tooltip/{ccui-cli.css → style.css} +0 -0
  436. /package/tree/{ccui-cli.css → style.css} +0 -0
  437. /package/typography/{ccui-cli.css → style.css} +0 -0
  438. /package/watermark/{ccui-cli.css → style.css} +0 -0
@@ -0,0 +1,306 @@
1
+ import { Comment as e, Fragment as t, Text as n, cloneVNode as r, computed as i, defineComponent as a, h as o, onBeforeUnmount as s, onMounted as c, shallowRef as l, watch as u } from "vue";
2
+ //#region ../ccui/ui/shared/hooks/use-namespace.ts
3
+ function d(e, t, n) {
4
+ let r = e;
5
+ return t && (r += `__${t}`), n && (r += `--${n}`), r;
6
+ }
7
+ function f(e, t = !1) {
8
+ let n = t ? `.ccui-${e}` : `ccui-${e}`;
9
+ return {
10
+ b: () => d(n),
11
+ e: (e) => e ? d(n, e) : "",
12
+ m: (e) => e ? d(n, "", e) : "",
13
+ em: (e, t) => e && t ? d(n, e, t) : "",
14
+ is: (e) => `is-${e}`
15
+ };
16
+ }
17
+ //#endregion
18
+ //#region ../ccui/ui/carousel/src/carousel-types.ts
19
+ var p = {
20
+ modelValue: {
21
+ type: Number,
22
+ default: void 0
23
+ },
24
+ defaultActive: {
25
+ type: Number,
26
+ default: 0
27
+ },
28
+ autoplay: {
29
+ type: Boolean,
30
+ default: !1
31
+ },
32
+ autoplaySpeed: {
33
+ type: Number,
34
+ default: 3e3
35
+ },
36
+ dots: {
37
+ type: Boolean,
38
+ default: !0
39
+ },
40
+ dotPosition: {
41
+ type: String,
42
+ default: "bottom"
43
+ },
44
+ effect: {
45
+ type: String,
46
+ default: "scrollx"
47
+ },
48
+ infinite: {
49
+ type: Boolean,
50
+ default: !0
51
+ },
52
+ arrows: {
53
+ type: Boolean,
54
+ default: !1
55
+ },
56
+ pauseOnHover: {
57
+ type: Boolean,
58
+ default: !1
59
+ },
60
+ slidesToShow: {
61
+ type: Number,
62
+ default: 1
63
+ },
64
+ slidesToScroll: {
65
+ type: Number,
66
+ default: 1
67
+ },
68
+ duration: {
69
+ type: Number,
70
+ default: 500
71
+ },
72
+ swipeable: {
73
+ type: Boolean,
74
+ default: !0
75
+ },
76
+ swipeThreshold: {
77
+ type: Number,
78
+ default: 40
79
+ }
80
+ };
81
+ //#endregion
82
+ //#region ../ccui/ui/carousel/src/carousel.tsx
83
+ function m(r) {
84
+ if (!r) return [];
85
+ let i = [];
86
+ for (let a of r) if (a.type === t) i.push(...m(a.children));
87
+ else if (a.type === n || a.type === e) continue;
88
+ else i.push(a);
89
+ return i;
90
+ }
91
+ function h(e, t, n) {
92
+ return e < t ? t : e > n ? n : e;
93
+ }
94
+ var g = /* @__PURE__ */ a({
95
+ name: "CCarousel",
96
+ props: p,
97
+ emits: [
98
+ "update:modelValue",
99
+ "change",
100
+ "afterChange"
101
+ ],
102
+ setup(e, { slots: t, emit: n, expose: a }) {
103
+ let d = f("carousel"), p = l(null), g = l(e.defaultActive ?? 0), _ = l(!1), v = l(!1), y = null, b = null, x = i(() => e.modelValue !== void 0), S = i(() => m(t.default?.())), C = i(() => S.value.length), w = i(() => {
104
+ let t = x.value ? e.modelValue : g.value;
105
+ if (C.value <= 0) return 0;
106
+ let n = e.effect === "scrollx" && e.slidesToShow > 1 ? Math.max(1, e.slidesToShow) : 1, r = Math.max(0, C.value - n);
107
+ return h(Math.floor(t || 0), 0, r);
108
+ }), T = i(() => e.dotPosition === "left" || e.dotPosition === "right"), E = i(() => e.effect === "scrollx" && e.slidesToShow > 1), D = i(() => E.value ? Math.max(1, e.slidesToShow) : 1), O = i(() => E.value ? Math.max(1, e.slidesToScroll) : 1), k = i(() => Math.max(0, C.value - D.value)), A = i(() => C.value <= 0 ? 0 : E.value ? C.value <= D.value ? 1 : Math.ceil((C.value - D.value) / O.value) + 1 : C.value), j = i(() => E.value ? Math.min(A.value - 1, Math.round(w.value / O.value)) : w.value);
109
+ function M(t, r = !1) {
110
+ let i = E.value ? k.value : C.value - 1;
111
+ if (i < 0) return;
112
+ let a = t;
113
+ e.infinite ? (a < 0 && (a = i), a > i && (a = 0)) : a = h(a, 0, i);
114
+ let o = w.value;
115
+ a !== o && (r ? n("afterChange", a) : (v.value = !0, b && clearTimeout(b), b = setTimeout(() => {
116
+ v.value = !1, b = null, n("afterChange", a);
117
+ }, e.duration)), x.value || (g.value = a), n("update:modelValue", a), n("change", a, o));
118
+ }
119
+ function N(e, t = !1) {
120
+ M(e, t);
121
+ }
122
+ function P() {
123
+ let t = O.value, n = E.value ? k.value : C.value - 1, r = w.value + t;
124
+ E.value && !e.infinite && r > n && (r = n), E.value && e.infinite && w.value >= n && (r = 0), M(r);
125
+ }
126
+ function F() {
127
+ let t = O.value, n = E.value ? k.value : C.value - 1, r = w.value - t;
128
+ E.value && e.infinite && w.value <= 0 && (r = n), M(r);
129
+ }
130
+ function I() {
131
+ return w.value;
132
+ }
133
+ a({
134
+ goTo: N,
135
+ next: P,
136
+ prev: F,
137
+ getCurrentIndex: I
138
+ });
139
+ function L() {
140
+ R(), e.autoplay && (e.autoplaySpeed <= 0 || (y = setInterval(() => {
141
+ e.pauseOnHover && _.value || A.value <= 1 || P();
142
+ }, e.autoplaySpeed)));
143
+ }
144
+ function R() {
145
+ y &&= (clearInterval(y), null);
146
+ }
147
+ u(() => [e.autoplay, e.autoplaySpeed], () => L()), c(() => L()), s(() => {
148
+ R(), b && clearTimeout(b);
149
+ });
150
+ function z() {
151
+ _.value = !0;
152
+ }
153
+ function B() {
154
+ _.value = !1;
155
+ }
156
+ function V(e) {
157
+ switch (e.key) {
158
+ case "ArrowLeft":
159
+ case "ArrowUp":
160
+ e.preventDefault(), F();
161
+ break;
162
+ case "ArrowRight":
163
+ case "ArrowDown":
164
+ e.preventDefault(), P();
165
+ break;
166
+ case "Home":
167
+ e.preventDefault(), N(0);
168
+ break;
169
+ case "End":
170
+ e.preventDefault(), N(E.value ? k.value : C.value - 1);
171
+ break;
172
+ }
173
+ }
174
+ let H = 0, U = 0, W = !1;
175
+ function G(t) {
176
+ e.swipeable && (W = !0, H = t.clientX, U = t.clientY);
177
+ }
178
+ function K(t) {
179
+ if (!W) return;
180
+ W = !1;
181
+ let n = t.clientX - H, r = t.clientY - U, i = Math.abs(n), a = Math.abs(r);
182
+ if (T.value) {
183
+ if (a < e.swipeThreshold || a < i) return;
184
+ r < 0 ? P() : F();
185
+ } else {
186
+ if (i < e.swipeThreshold || i < a) return;
187
+ n < 0 ? P() : F();
188
+ }
189
+ }
190
+ function q(e) {
191
+ return E.value ? Math.min(k.value, e * O.value) : e;
192
+ }
193
+ function J() {
194
+ let t = S.value, n = w.value, i = E.value, a = i ? `${100 / D.value}%` : "100%";
195
+ return t.map((t, s) => {
196
+ let c = i ? s >= n && s < n + D.value : s === n, l = [d.e("slide"), c ? d.is("active") : ""];
197
+ return e.effect === "fade" ? o("div", {
198
+ class: l,
199
+ style: {
200
+ opacity: +!!c,
201
+ transitionDuration: `${e.duration}ms`
202
+ },
203
+ "aria-hidden": c ? "false" : "true",
204
+ role: "tabpanel"
205
+ }, [r(t)]) : o("div", {
206
+ class: l,
207
+ style: i ? {
208
+ flex: `0 0 ${a}`,
209
+ width: a
210
+ } : void 0,
211
+ "aria-hidden": c ? "false" : "true",
212
+ role: "tabpanel"
213
+ }, [r(t)]);
214
+ });
215
+ }
216
+ function Y() {
217
+ if (!e.dots) return null;
218
+ let n = A.value;
219
+ if (n <= 0) return null;
220
+ let r = j.value, i = [];
221
+ for (let e = 0; e < n; e++) {
222
+ let n = e === r, a = t.customDot ? t.customDot({
223
+ index: e,
224
+ isActive: n
225
+ }) : o("button", {
226
+ type: "button",
227
+ "aria-label": `Go to slide ${e + 1}`,
228
+ "aria-current": n ? "true" : "false",
229
+ onClick: () => N(q(e))
230
+ });
231
+ i.push(o("li", {
232
+ key: e,
233
+ class: [d.e("dot"), n ? d.is("active") : ""],
234
+ onClick: t.customDot ? () => N(q(e)) : void 0
235
+ }, [a]));
236
+ }
237
+ return o("ul", {
238
+ class: [d.e("dots"), d.em("dots", e.dotPosition)],
239
+ role: "tablist"
240
+ }, i);
241
+ }
242
+ function X() {
243
+ return e.arrows ? [o("button", {
244
+ type: "button",
245
+ class: [d.e("arrow"), d.em("arrow", "prev")],
246
+ "aria-label": "Previous slide",
247
+ onClick: F
248
+ }, "‹"), o("button", {
249
+ type: "button",
250
+ class: [d.e("arrow"), d.em("arrow", "next")],
251
+ "aria-label": "Next slide",
252
+ onClick: P
253
+ }, "›")] : [];
254
+ }
255
+ return () => {
256
+ let t = {};
257
+ if (e.effect === "scrollx" && !T.value) {
258
+ let n = E.value ? 100 / D.value : 100;
259
+ t.transform = `translateX(-${w.value * n}%)`, t.transitionDuration = `${e.duration}ms`;
260
+ }
261
+ return o("div", {
262
+ ref: p,
263
+ class: [
264
+ d.b(),
265
+ d.em("position", e.dotPosition),
266
+ d.em("effect", e.effect),
267
+ v.value ? d.is("animating") : ""
268
+ ],
269
+ tabindex: 0,
270
+ role: "region",
271
+ "aria-roledescription": "carousel",
272
+ "aria-label": "Carousel",
273
+ onMouseenter: z,
274
+ onMouseleave: B,
275
+ onKeydown: V,
276
+ onPointerdown: G,
277
+ onPointerup: K
278
+ }, [
279
+ o("div", {
280
+ class: d.e("viewport"),
281
+ "aria-live": "polite"
282
+ }, [o("div", {
283
+ class: [d.e("track"), d.em("track", e.effect)],
284
+ style: t
285
+ }, J())]),
286
+ ...X(),
287
+ Y()
288
+ ]);
289
+ };
290
+ }
291
+ });
292
+ //#endregion
293
+ //#region ../ccui/ui/carousel/index.ts
294
+ g.install = function(e) {
295
+ e.component(g.name, g);
296
+ };
297
+ var _ = {
298
+ title: "Carousel 走马灯",
299
+ category: "数据展示",
300
+ status: "80%",
301
+ install(e) {
302
+ e.component(g.name, g);
303
+ }
304
+ };
305
+ //#endregion
306
+ export { g as Carousel, _ as default };
@@ -0,0 +1 @@
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`vue`)):typeof define==`function`&&define.amd?define([`exports`,`vue`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.index={},e.Vue))})(this,function(e,t){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});function n(e,t,n){let r=e;return t&&(r+=`__${t}`),n&&(r+=`--${n}`),r}function r(e,t=!1){let r=t?`.ccui-${e}`:`ccui-${e}`;return{b:()=>n(r),e:e=>e?n(r,e):``,m:e=>e?n(r,``,e):``,em:(e,t)=>e&&t?n(r,e,t):``,is:e=>`is-${e}`}}var i={modelValue:{type:Number,default:void 0},defaultActive:{type:Number,default:0},autoplay:{type:Boolean,default:!1},autoplaySpeed:{type:Number,default:3e3},dots:{type:Boolean,default:!0},dotPosition:{type:String,default:`bottom`},effect:{type:String,default:`scrollx`},infinite:{type:Boolean,default:!0},arrows:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!1},slidesToShow:{type:Number,default:1},slidesToScroll:{type:Number,default:1},duration:{type:Number,default:500},swipeable:{type:Boolean,default:!0},swipeThreshold:{type:Number,default:40}};function a(e){if(!e)return[];let n=[];for(let r of e)if(r.type===t.Fragment)n.push(...a(r.children));else if(r.type===t.Text||r.type===t.Comment)continue;else n.push(r);return n}function o(e,t,n){return e<t?t:e>n?n:e}var s=(0,t.defineComponent)({name:`CCarousel`,props:i,emits:[`update:modelValue`,`change`,`afterChange`],setup(e,{slots:n,emit:i,expose:s}){let c=r(`carousel`),l=(0,t.shallowRef)(null),u=(0,t.shallowRef)(e.defaultActive??0),d=(0,t.shallowRef)(!1),f=(0,t.shallowRef)(!1),p=null,m=null,h=(0,t.computed)(()=>e.modelValue!==void 0),g=(0,t.computed)(()=>a(n.default?.())),_=(0,t.computed)(()=>g.value.length),v=(0,t.computed)(()=>{let t=h.value?e.modelValue:u.value;if(_.value<=0)return 0;let n=e.effect===`scrollx`&&e.slidesToShow>1?Math.max(1,e.slidesToShow):1,r=Math.max(0,_.value-n);return o(Math.floor(t||0),0,r)}),y=(0,t.computed)(()=>e.dotPosition===`left`||e.dotPosition===`right`),b=(0,t.computed)(()=>e.effect===`scrollx`&&e.slidesToShow>1),x=(0,t.computed)(()=>b.value?Math.max(1,e.slidesToShow):1),S=(0,t.computed)(()=>b.value?Math.max(1,e.slidesToScroll):1),C=(0,t.computed)(()=>Math.max(0,_.value-x.value)),w=(0,t.computed)(()=>_.value<=0?0:b.value?_.value<=x.value?1:Math.ceil((_.value-x.value)/S.value)+1:_.value),T=(0,t.computed)(()=>b.value?Math.min(w.value-1,Math.round(v.value/S.value)):v.value);function E(t,n=!1){let r=b.value?C.value:_.value-1;if(r<0)return;let a=t;e.infinite?(a<0&&(a=r),a>r&&(a=0)):a=o(a,0,r);let s=v.value;a!==s&&(n?i(`afterChange`,a):(f.value=!0,m&&clearTimeout(m),m=setTimeout(()=>{f.value=!1,m=null,i(`afterChange`,a)},e.duration)),h.value||(u.value=a),i(`update:modelValue`,a),i(`change`,a,s))}function D(e,t=!1){E(e,t)}function O(){let t=S.value,n=b.value?C.value:_.value-1,r=v.value+t;b.value&&!e.infinite&&r>n&&(r=n),b.value&&e.infinite&&v.value>=n&&(r=0),E(r)}function k(){let t=S.value,n=b.value?C.value:_.value-1,r=v.value-t;b.value&&e.infinite&&v.value<=0&&(r=n),E(r)}function A(){return v.value}s({goTo:D,next:O,prev:k,getCurrentIndex:A});function j(){M(),e.autoplay&&(e.autoplaySpeed<=0||(p=setInterval(()=>{e.pauseOnHover&&d.value||w.value<=1||O()},e.autoplaySpeed)))}function M(){p&&=(clearInterval(p),null)}(0,t.watch)(()=>[e.autoplay,e.autoplaySpeed],()=>j()),(0,t.onMounted)(()=>j()),(0,t.onBeforeUnmount)(()=>{M(),m&&clearTimeout(m)});function N(){d.value=!0}function P(){d.value=!1}function F(e){switch(e.key){case`ArrowLeft`:case`ArrowUp`:e.preventDefault(),k();break;case`ArrowRight`:case`ArrowDown`:e.preventDefault(),O();break;case`Home`:e.preventDefault(),D(0);break;case`End`:e.preventDefault(),D(b.value?C.value:_.value-1);break}}let I=0,L=0,R=!1;function z(t){e.swipeable&&(R=!0,I=t.clientX,L=t.clientY)}function B(t){if(!R)return;R=!1;let n=t.clientX-I,r=t.clientY-L,i=Math.abs(n),a=Math.abs(r);if(y.value){if(a<e.swipeThreshold||a<i)return;r<0?O():k()}else{if(i<e.swipeThreshold||i<a)return;n<0?O():k()}}function V(e){return b.value?Math.min(C.value,e*S.value):e}function H(){let n=g.value,r=v.value,i=b.value,a=i?`${100/x.value}%`:`100%`;return n.map((n,o)=>{let s=i?o>=r&&o<r+x.value:o===r,l=[c.e(`slide`),s?c.is(`active`):``];return e.effect===`fade`?(0,t.h)(`div`,{class:l,style:{opacity:+!!s,transitionDuration:`${e.duration}ms`},"aria-hidden":s?`false`:`true`,role:`tabpanel`},[(0,t.cloneVNode)(n)]):(0,t.h)(`div`,{class:l,style:i?{flex:`0 0 ${a}`,width:a}:void 0,"aria-hidden":s?`false`:`true`,role:`tabpanel`},[(0,t.cloneVNode)(n)])})}function U(){if(!e.dots)return null;let r=w.value;if(r<=0)return null;let i=T.value,a=[];for(let e=0;e<r;e++){let r=e===i,o=n.customDot?n.customDot({index:e,isActive:r}):(0,t.h)(`button`,{type:`button`,"aria-label":`Go to slide ${e+1}`,"aria-current":r?`true`:`false`,onClick:()=>D(V(e))});a.push((0,t.h)(`li`,{key:e,class:[c.e(`dot`),r?c.is(`active`):``],onClick:n.customDot?()=>D(V(e)):void 0},[o]))}return(0,t.h)(`ul`,{class:[c.e(`dots`),c.em(`dots`,e.dotPosition)],role:`tablist`},a)}function W(){return e.arrows?[(0,t.h)(`button`,{type:`button`,class:[c.e(`arrow`),c.em(`arrow`,`prev`)],"aria-label":`Previous slide`,onClick:k},`‹`),(0,t.h)(`button`,{type:`button`,class:[c.e(`arrow`),c.em(`arrow`,`next`)],"aria-label":`Next slide`,onClick:O},`›`)]:[]}return()=>{let n={};if(e.effect===`scrollx`&&!y.value){let t=b.value?100/x.value:100;n.transform=`translateX(-${v.value*t}%)`,n.transitionDuration=`${e.duration}ms`}return(0,t.h)(`div`,{ref:l,class:[c.b(),c.em(`position`,e.dotPosition),c.em(`effect`,e.effect),f.value?c.is(`animating`):``],tabindex:0,role:`region`,"aria-roledescription":`carousel`,"aria-label":`Carousel`,onMouseenter:N,onMouseleave:P,onKeydown:F,onPointerdown:z,onPointerup:B},[(0,t.h)(`div`,{class:c.e(`viewport`),"aria-live":`polite`},[(0,t.h)(`div`,{class:[c.e(`track`),c.em(`track`,e.effect)],style:n},H())]),...W(),U()])}}});s.install=function(e){e.component(s.name,s)},e.Carousel=s,e.default={title:`Carousel 走马灯`,category:`数据展示`,status:`80%`,install(e){e.component(s.name,s)}}});
@@ -0,0 +1,72 @@
1
+ import type { ExtractPropTypes, PropType } from 'vue';
2
+ export type CarouselDotPosition = 'top' | 'bottom' | 'left' | 'right';
3
+ export type CarouselEffect = 'scrollx' | 'fade';
4
+ export interface CarouselExpose {
5
+ goTo: (index: number, dontAnimate?: boolean) => void;
6
+ next: () => void;
7
+ prev: () => void;
8
+ getCurrentIndex: () => number;
9
+ }
10
+ export declare const carouselProps: {
11
+ readonly modelValue: {
12
+ readonly type: NumberConstructor;
13
+ readonly default: undefined;
14
+ };
15
+ readonly defaultActive: {
16
+ readonly type: NumberConstructor;
17
+ readonly default: 0;
18
+ };
19
+ readonly autoplay: {
20
+ readonly type: BooleanConstructor;
21
+ readonly default: false;
22
+ };
23
+ readonly autoplaySpeed: {
24
+ readonly type: NumberConstructor;
25
+ readonly default: 3000;
26
+ };
27
+ readonly dots: {
28
+ readonly type: BooleanConstructor;
29
+ readonly default: true;
30
+ };
31
+ readonly dotPosition: {
32
+ readonly type: PropType<CarouselDotPosition>;
33
+ readonly default: "bottom";
34
+ };
35
+ readonly effect: {
36
+ readonly type: PropType<CarouselEffect>;
37
+ readonly default: "scrollx";
38
+ };
39
+ readonly infinite: {
40
+ readonly type: BooleanConstructor;
41
+ readonly default: true;
42
+ };
43
+ readonly arrows: {
44
+ readonly type: BooleanConstructor;
45
+ readonly default: false;
46
+ };
47
+ readonly pauseOnHover: {
48
+ readonly type: BooleanConstructor;
49
+ readonly default: false;
50
+ };
51
+ readonly slidesToShow: {
52
+ readonly type: NumberConstructor;
53
+ readonly default: 1;
54
+ };
55
+ readonly slidesToScroll: {
56
+ readonly type: NumberConstructor;
57
+ readonly default: 1;
58
+ };
59
+ readonly duration: {
60
+ readonly type: NumberConstructor;
61
+ readonly default: 500;
62
+ };
63
+ readonly swipeable: {
64
+ readonly type: BooleanConstructor;
65
+ readonly default: true;
66
+ };
67
+ readonly swipeThreshold: {
68
+ readonly type: NumberConstructor;
69
+ readonly default: 40;
70
+ };
71
+ };
72
+ export type CarouselProps = ExtractPropTypes<typeof carouselProps>;
@@ -0,0 +1,58 @@
1
+ import type { VNode } from 'vue';
2
+
3
+ declare const _default: import("vue").DefineComponent<{
4
+ readonly infinite: boolean;
5
+ readonly defaultActive: number;
6
+ readonly autoplay: boolean;
7
+ readonly autoplaySpeed: number;
8
+ readonly dots: boolean;
9
+ readonly dotPosition: import("./carousel-types").CarouselDotPosition;
10
+ readonly effect: import("./carousel-types").CarouselEffect;
11
+ readonly arrows: boolean;
12
+ readonly pauseOnHover: boolean;
13
+ readonly slidesToShow: number;
14
+ readonly slidesToScroll: number;
15
+ readonly duration: number;
16
+ readonly swipeable: boolean;
17
+ readonly swipeThreshold: number;
18
+ readonly modelValue?: number | undefined;
19
+ }, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
20
+ [key: string]: any;
21
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "afterChange")[], "change" | "update:modelValue" | "afterChange", import("vue").PublicProps, Readonly<{
22
+ readonly infinite: boolean;
23
+ readonly defaultActive: number;
24
+ readonly autoplay: boolean;
25
+ readonly autoplaySpeed: number;
26
+ readonly dots: boolean;
27
+ readonly dotPosition: import("./carousel-types").CarouselDotPosition;
28
+ readonly effect: import("./carousel-types").CarouselEffect;
29
+ readonly arrows: boolean;
30
+ readonly pauseOnHover: boolean;
31
+ readonly slidesToShow: number;
32
+ readonly slidesToScroll: number;
33
+ readonly duration: number;
34
+ readonly swipeable: boolean;
35
+ readonly swipeThreshold: number;
36
+ readonly modelValue?: number | undefined;
37
+ }> & Readonly<{
38
+ onChange?: ((...args: any[]) => any) | undefined;
39
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
40
+ onAfterChange?: ((...args: any[]) => any) | undefined;
41
+ }>, {
42
+ readonly infinite: boolean;
43
+ readonly modelValue: number;
44
+ readonly defaultActive: number;
45
+ readonly autoplay: boolean;
46
+ readonly autoplaySpeed: number;
47
+ readonly dots: boolean;
48
+ readonly dotPosition: import("./carousel-types").CarouselDotPosition;
49
+ readonly effect: import("./carousel-types").CarouselEffect;
50
+ readonly arrows: boolean;
51
+ readonly pauseOnHover: boolean;
52
+ readonly slidesToShow: number;
53
+ readonly slidesToScroll: number;
54
+ readonly duration: number;
55
+ readonly swipeable: boolean;
56
+ readonly swipeThreshold: number;
57
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
58
+ export default _default;
@@ -0,0 +1,2 @@
1
+ :root{--ccui-global-bg:#f5f5f5;--ccui-global-bg-normal:#fff;--ccui-base-bg:#fff;--ccui-base-bg-dark:#000000d9;--ccui-brand:#1677ff;--ccui-brand-foil:#e6f4ff;--ccui-brand-hover:#4096ff;--ccui-brand-active:#0958d9;--ccui-brand-active-focus:#003eb3;--ccui-contrast:#ff4d4f;--ccui-text:#000000e0;--ccui-text-weak:#000000a6;--ccui-aide-text:#00000073;--ccui-aide-text-stress:#000000a6;--ccui-placeholder:#00000040;--ccui-light-text:#fff;--ccui-dark-text:#000000e0;--ccui-link:#1677ff;--ccui-link-active:#0958d9;--ccui-link-light:#4096ff;--ccui-link-light-active:#69b1ff;--ccui-line:#d9d9d9;--ccui-dividing-line:#f0f0f0;--ccui-block:#fff;--ccui-area:#fafafa;--ccui-danger:#ff4d4f;--ccui-warning:#faad14;--ccui-waiting:#00000073;--ccui-success:#52c41a;--ccui-info:#1677ff;--ccui-initial:#e6f4ff;--ccui-unavailable:#f5f5f5;--ccui-shadow:#00000026;--ccui-light-shadow:#0000000f;--ccui-icon-text:#000000e0;--ccui-icon-bg:#fff;--ccui-icon-fill:#00000073;--ccui-icon-fill-hover:#000000a6;--ccui-icon-fill-active:#1677ff;--ccui-icon-fill-active-hover:#4096ff;--ccui-form-control-line:#d9d9d9;--ccui-form-control-line-hover:#4096ff;--ccui-form-control-line-active:#1677ff;--ccui-form-control-line-active-hover:#0958d9;--ccui-list-item-active-bg:#1677ff;--ccui-list-item-active-text:#fff;--ccui-list-item-active-hover-bg:#4096ff;--ccui-list-item-hover-bg:#0000000a;--ccui-list-item-hover-text:#1677ff;--ccui-list-item-selected-bg:#e6f4ff;--ccui-list-item-strip-bg:#fafafa;--ccui-disabled-bg:#0000000a;--ccui-disabled-line:#d9d9d9;--ccui-disabled-text:#00000040;--ccui-primary-disabled:#91caff;--ccui-icon-fill-active-disabled:#91caff;--ccui-label-bg:#fafafa;--ccui-connected-overlay-bg:#fff;--ccui-connected-overlay-line:#1677ff;--ccui-fullscreen-overlay-bg:#fff;--ccui-feedback-overlay-bg:#000000d9;--ccui-feedback-overlay-text:#fff;--ccui-embed-search-bg:#fafafa;--ccui-embed-search-bg-hover:#f0f0f0;--ccui-float-block-shadow:#1677ff29;--ccui-highlight-overlay:#fffc;--ccui-range-item-hover-bg:#e6f4ff;--ccui-primary:#1677ff;--ccui-primary-hover:#4096ff;--ccui-primary-active:#0958d9;--ccui-contrast-hover:#ff7875;--ccui-contrast-active:#d9363e;--ccui-secondary:#000000a6;--ccui-danger-line:#ffccc7;--ccui-danger-bg:#fff2f0;--ccui-warning-line:#ffe58f;--ccui-warning-bg:#fffbe6;--ccui-info-line:#91caff;--ccui-info-bg:#e6f4ff;--ccui-success-line:#b7eb8f;--ccui-success-bg:#f6ffed;--ccui-primary-line:#91caff;--ccui-primary-bg:#e6f4ff;--ccui-default-line:#d9d9d9;--ccui-default-bg:#fff;--ccui-font-size:14px;--ccui-font-size-card-title:16px;--ccui-font-size-page-title:20px;--ccui-font-size-modal-title:16px;--ccui-font-size-price:24px;--ccui-font-size-data-overview:30px;--ccui-font-size-icon:16px;--ccui-font-size-sm:12px;--ccui-font-size-md:14px;--ccui-font-size-lg:16px;--ccui-font-title-weight:600;--ccui-font-content-weight:400;--ccui-line-height-base:1.57143;--ccui-border-radius:6px;--ccui-border-radius-feedback:8px;--ccui-border-radius-card:8px;--ccui-shadow-length-base:0 1px 2px 0;--ccui-shadow-length-slide-left:-6px 0 16px 0;--ccui-shadow-length-slide-right:6px 0 16px 0;--ccui-shadow-length-connected-overlay:0 6px 16px 0;--ccui-shadow-length-hover:0 6px 16px 0;--ccui-shadow-length-feedback-overlay:0 6px 16px 0;--ccui-shadow-fullscreen-overlay:0 6px 16px 0;--ccui-animation-duration-slow:.3s;--ccui-animation-duration-base:.2s;--ccui-animation-duration-fast:.1s;--ccui-animation-ease-in:cubic-bezier(.7, 0, .84, 0);--ccui-animation-ease-out:cubic-bezier(.215, .61, .355, 1);--ccui-animation-ease-in-out:cubic-bezier(.78, .14, .15, .86);--ccui-animation-ease-in-smooth:cubic-bezier(.645, .045, .355, 1);--ccui-animation-linear:cubic-bezier(0, 0, 1, 1);--ccui-z-index-full-page-overlay:1080;--ccui-z-index-pop-up:1060;--ccui-z-index-dropdown:1052;--ccui-z-index-modal:1050;--ccui-z-index-drawer:1040;--ccui-z-index-framework:1000;--ccui-size-sm:24px;--ccui-size-md:32px;--ccui-size-lg:40px;--ccui-color-primary:#1677ff;--ccui-color-primary-hover:#4096ff;--ccui-color-primary-active:#0958d9;--ccui-color-primary-bg:#e6f4ff;--ccui-color-primary-bg-hover:#bae0ff;--ccui-color-primary-border:#91caff;--ccui-color-primary-border-hover:#69b1ff;--ccui-color-success:#52c41a;--ccui-color-success-hover:#73d13d;--ccui-color-success-active:#389e0d;--ccui-color-success-bg:#f6ffed;--ccui-color-success-border:#b7eb8f;--ccui-color-warning:#faad14;--ccui-color-warning-hover:#ffc53d;--ccui-color-warning-active:#d48806;--ccui-color-warning-bg:#fffbe6;--ccui-color-warning-border:#ffe58f;--ccui-color-error:#ff4d4f;--ccui-color-error-hover:#ff7875;--ccui-color-error-active:#d9363e;--ccui-color-error-bg:#fff2f0;--ccui-color-error-border:#ffccc7;--ccui-color-info:#1677ff;--ccui-color-info-hover:#4096ff;--ccui-color-info-bg:#e6f4ff;--ccui-color-info-border:#91caff;--ccui-color-text:#000000e0;--ccui-color-text-secondary:#000000a6;--ccui-color-text-tertiary:#00000073;--ccui-color-text-quaternary:#00000040;--ccui-color-text-disabled:#00000040;--ccui-color-text-placeholder:#00000040;--ccui-color-text-heading:#000000e0;--ccui-color-text-light-solid:#fff;--ccui-color-bg-base:#fff;--ccui-color-bg-container:#fff;--ccui-color-bg-elevated:#fff;--ccui-color-bg-layout:#f5f5f5;--ccui-color-bg-spotlight:#000000d9;--ccui-color-bg-mask:#00000073;--ccui-color-bg-text-hover:#0000000f;--ccui-color-bg-text-active:#00000026;--ccui-color-border:#d9d9d9;--ccui-color-border-secondary:#f0f0f0;--ccui-color-border-disabled:#0000000a;--ccui-color-split:#0505050f;--ccui-color-fill:#00000026;--ccui-color-fill-secondary:#0000000f;--ccui-color-fill-tertiary:#0000000a;--ccui-color-fill-quaternary:#00000005;--ccui-control-outline:#0591ff1a;--ccui-control-outline-error:#ff26050f;--ccui-control-outline-warning:#ffd7051a;--ccui-red-1:#fff1f0;--ccui-red-2:#ffccc7;--ccui-red-3:#ffa39e;--ccui-red-4:#ff7875;--ccui-red-5:#ff4d4f;--ccui-red-6:#f5222d;--ccui-red-7:#cf1322;--ccui-red-8:#a8071a;--ccui-red-9:#820014;--ccui-red-10:#5c0011;--ccui-volcano-1:#fff2e8;--ccui-volcano-2:#ffd8bf;--ccui-volcano-3:#ffbb96;--ccui-volcano-4:#ff9c6e;--ccui-volcano-5:#ff7a45;--ccui-volcano-6:#fa541c;--ccui-volcano-7:#d4380d;--ccui-volcano-8:#ad2102;--ccui-volcano-9:#871400;--ccui-volcano-10:#610b00;--ccui-orange-1:#fff7e6;--ccui-orange-2:#ffe7ba;--ccui-orange-3:#ffd591;--ccui-orange-4:#ffc069;--ccui-orange-5:#ffa940;--ccui-orange-6:#fa8c16;--ccui-orange-7:#d46b08;--ccui-orange-8:#ad4e00;--ccui-orange-9:#873800;--ccui-orange-10:#612500;--ccui-gold-1:#fffbe6;--ccui-gold-2:#fff1b8;--ccui-gold-3:#ffe58f;--ccui-gold-4:#ffd666;--ccui-gold-5:#ffc53d;--ccui-gold-6:#faad14;--ccui-gold-7:#d48806;--ccui-gold-8:#ad6800;--ccui-gold-9:#874d00;--ccui-gold-10:#613400;--ccui-yellow-1:#feffe6;--ccui-yellow-2:#ffffb8;--ccui-yellow-3:#fffb8f;--ccui-yellow-4:#fff566;--ccui-yellow-5:#ffec3d;--ccui-yellow-6:#fadb14;--ccui-yellow-7:#d4b106;--ccui-yellow-8:#ad8b00;--ccui-yellow-9:#876800;--ccui-yellow-10:#614700;--ccui-lime-1:#fcffe6;--ccui-lime-2:#f4ffb8;--ccui-lime-3:#eaff8f;--ccui-lime-4:#d3f261;--ccui-lime-5:#bae637;--ccui-lime-6:#a0d911;--ccui-lime-7:#7cb305;--ccui-lime-8:#5b8c00;--ccui-lime-9:#3f6600;--ccui-lime-10:#254000;--ccui-green-1:#f6ffed;--ccui-green-2:#d9f7be;--ccui-green-3:#b7eb8f;--ccui-green-4:#95de64;--ccui-green-5:#73d13d;--ccui-green-6:#52c41a;--ccui-green-7:#389e0d;--ccui-green-8:#237804;--ccui-green-9:#135200;--ccui-green-10:#092b00;--ccui-cyan-1:#e6fffb;--ccui-cyan-2:#b5f5ec;--ccui-cyan-3:#87e8de;--ccui-cyan-4:#5cdbd3;--ccui-cyan-5:#36cfc9;--ccui-cyan-6:#13c2c2;--ccui-cyan-7:#08979c;--ccui-cyan-8:#006d75;--ccui-cyan-9:#00474f;--ccui-cyan-10:#002329;--ccui-blue-1:#e6f4ff;--ccui-blue-2:#bae0ff;--ccui-blue-3:#91caff;--ccui-blue-4:#69b1ff;--ccui-blue-5:#4096ff;--ccui-blue-6:#1677ff;--ccui-blue-7:#0958d9;--ccui-blue-8:#003eb3;--ccui-blue-9:#002c8c;--ccui-blue-10:#001d66;--ccui-geekblue-1:#f0f5ff;--ccui-geekblue-2:#d6e4ff;--ccui-geekblue-3:#adc6ff;--ccui-geekblue-4:#85a5ff;--ccui-geekblue-5:#597ef7;--ccui-geekblue-6:#2f54eb;--ccui-geekblue-7:#1d39c4;--ccui-geekblue-8:#10239e;--ccui-geekblue-9:#061178;--ccui-geekblue-10:#030852;--ccui-purple-1:#f9f0ff;--ccui-purple-2:#efdbff;--ccui-purple-3:#d3adf7;--ccui-purple-4:#b37feb;--ccui-purple-5:#9254de;--ccui-purple-6:#722ed1;--ccui-purple-7:#531dab;--ccui-purple-8:#391085;--ccui-purple-9:#22075e;--ccui-purple-10:#120338;--ccui-magenta-1:#fff0f6;--ccui-magenta-2:#ffd6e7;--ccui-magenta-3:#ffadd2;--ccui-magenta-4:#ff85c0;--ccui-magenta-5:#f759ab;--ccui-magenta-6:#eb2f96;--ccui-magenta-7:#c41d7f;--ccui-magenta-8:#9e1068;--ccui-magenta-9:#780650;--ccui-magenta-10:#520339;--ccui-pink-1:#fff0f6;--ccui-pink-6:#eb2f96;--ccui-border-radius-lg:8px;--ccui-border-radius-sm:4px;--ccui-border-radius-xs:2px;--ccui-border-radius-outer:4px;--ccui-font-size-xl:20px;--ccui-font-size-heading-1:38px;--ccui-font-size-heading-2:30px;--ccui-font-size-heading-3:24px;--ccui-font-size-heading-4:20px;--ccui-font-size-heading-5:16px;--ccui-line-height-lg:1.5;--ccui-line-height-sm:1.66;--ccui-line-height-heading-1:1.21052;--ccui-line-height-heading-2:1.26666;--ccui-line-height-heading-3:1.33333;--ccui-line-height-heading-4:1.4;--ccui-line-height-heading-5:1.5;--ccui-font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--ccui-font-family-code:SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;--ccui-control-height:32px;--ccui-control-height-sm:24px;--ccui-control-height-lg:40px;--ccui-control-height-xs:16px;--ccui-box-shadow:0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d;--ccui-box-shadow-secondary:0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d;--ccui-box-shadow-tertiary:0 1px 2px 0 #00000008, 0 1px 6px -1px #00000005, 0 2px 4px 0 #00000005;--ccui-motion-duration-slow:.3s;--ccui-motion-duration-mid:.2s;--ccui-motion-duration-fast:.1s;--ccui-motion-ease-in-out:cubic-bezier(.645, .045, .355, 1);--ccui-motion-ease-out:cubic-bezier(.215, .61, .355, 1);--ccui-motion-ease-in:cubic-bezier(.55, .055, .675, .19);--ccui-motion-ease-out-back:cubic-bezier(.12, .4, .29, 1.46);--ccui-motion-ease-in-back:cubic-bezier(.71, -.46, .88, .6);--ccui-motion-ease-out-circ:cubic-bezier(.08, .82, .17, 1);--ccui-motion-ease-in-out-circ:cubic-bezier(.78, .14, .15, .86);--ccui-padding-xxs:4px;--ccui-padding-xs:8px;--ccui-padding-sm:12px;--ccui-padding:16px;--ccui-padding-md:20px;--ccui-padding-lg:24px;--ccui-padding-xl:32px;--ccui-margin-xxs:4px;--ccui-margin-xs:8px;--ccui-margin-sm:12px;--ccui-margin:16px;--ccui-margin-md:20px;--ccui-margin-lg:24px;--ccui-margin-xl:32px}.ccui-carousel{-webkit-user-select:none;user-select:none;width:100%;display:block;position:relative;overflow:hidden}.ccui-carousel__viewport{width:100%;height:100%;position:relative;overflow:hidden}.ccui-carousel__track{width:100%;height:100%;transition-property:transform;transition-timing-function:ease;display:flex}.ccui-carousel__track--fade{display:block;position:relative}.ccui-carousel__slide{box-sizing:border-box;flex:0 0 100%;width:100%;min-height:1px}.ccui-carousel__track--fade .ccui-carousel__slide{pointer-events:none;width:100%;transition-property:opacity;transition-timing-function:ease;position:absolute;inset:0}.ccui-carousel__track--fade .ccui-carousel__slide.is-active{pointer-events:auto;z-index:1}.ccui-carousel__dots{z-index:2;pointer-events:auto;margin:0;padding:0;list-style:none;display:flex;position:absolute}.ccui-carousel__dots--bottom{flex-direction:row;gap:8px;bottom:12px;left:50%;transform:translate(-50%)}.ccui-carousel__dots--top{flex-direction:row;gap:8px;top:12px;left:50%;transform:translate(-50%)}.ccui-carousel__dots--left{flex-direction:column;gap:8px;top:50%;left:12px;transform:translateY(-50%)}.ccui-carousel__dots--right{flex-direction:column;gap:8px;top:50%;right:12px;transform:translateY(-50%)}.ccui-carousel__dot{margin:0;padding:0;line-height:0}.ccui-carousel__dot>button{cursor:pointer;background:#00000040;border:0;border-radius:2px;width:16px;height:3px;padding:0;transition:background .3s,width .3s;display:block}.ccui-carousel__dot.is-active>button{background:var(--ccui-color-primary,#1677ff);width:24px}.ccui-carousel__dots--left .ccui-carousel__dot>button,.ccui-carousel__dots--right .ccui-carousel__dot>button{width:3px;height:16px}.ccui-carousel__dots--left .ccui-carousel__dot.is-active>button,.ccui-carousel__dots--right .ccui-carousel__dot.is-active>button{width:3px;height:24px}.ccui-carousel__arrow{z-index:2;color:#fff;text-align:center;cursor:pointer;background:#0006;border:0;border-radius:50%;width:32px;height:32px;padding:0;font-size:18px;line-height:32px;transition:background .2s;position:absolute;top:50%;transform:translateY(-50%)}.ccui-carousel__arrow:hover{background:#0009}.ccui-carousel__arrow--prev{left:12px}.ccui-carousel__arrow--next{right:12px}
2
+ /*$vite$:1*/
@@ -0,0 +1,12 @@
1
+ import type { App } from 'vue';
2
+ import Cascader from './src/cascader';
3
+ export { Cascader };
4
+ export { CASCADER_SHOW_CHILD, CASCADER_SHOW_PARENT } from './src/cascader-types';
5
+ export type { CascaderShowCheckedStrategy } from './src/cascader-types';
6
+ declare const _default: {
7
+ title: string;
8
+ category: string;
9
+ status: string;
10
+ install(app: App): void;
11
+ };
12
+ export default _default;