@vaebe/ccui 2.0.1-beta.2 → 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,25 @@
1
+ import type { SegmentedOption } from './segmented-types';
2
+
3
+ declare const _default: import("vue").DefineComponent<{
4
+ readonly block: boolean;
5
+ readonly size: import("./segmented-types").SegmentedSize;
6
+ readonly disabled: boolean;
7
+ readonly modelValue: string | number;
8
+ readonly options: (string | number | SegmentedOption)[];
9
+ }, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<{
10
+ readonly block: boolean;
11
+ readonly size: import("./segmented-types").SegmentedSize;
12
+ readonly disabled: boolean;
13
+ readonly modelValue: string | number;
14
+ readonly options: (string | number | SegmentedOption)[];
15
+ }> & Readonly<{
16
+ onChange?: ((...args: any[]) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
18
+ }>, {
19
+ readonly block: boolean;
20
+ readonly size: import("./segmented-types").SegmentedSize;
21
+ readonly disabled: boolean;
22
+ readonly modelValue: string | number;
23
+ readonly options: (string | number | SegmentedOption)[];
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { App } from 'vue';
2
+ import Select from './src/select';
3
+ export { Select };
4
+ declare const _default: {
5
+ title: string;
6
+ category: string;
7
+ status: string;
8
+ install(app: App): void;
9
+ };
10
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import type { ComputedRef, Ref } from 'vue';
2
+ import type { ResolvedSelectOption, SelectFieldNames, SelectMode, SelectModelValue, SelectProps, SelectRawValue } from '../select-types';
3
+ interface FlattenedItem {
4
+ type: 'group' | 'option';
5
+ group?: {
6
+ label: unknown;
7
+ depth: number;
8
+ };
9
+ option?: ResolvedSelectOption;
10
+ }
11
+ export declare function effectiveMode(props: SelectProps): SelectMode;
12
+ export declare function useSelect(props: SelectProps, searchText: Ref<string>, emit: (event: 'update:modelValue' | 'change', value: SelectModelValue) => void): {
13
+ addTagValue: (value: string) => boolean;
14
+ clearValue: () => void;
15
+ displayLabelOf: (option: ResolvedSelectOption) => unknown;
16
+ fieldNames: ComputedRef<Required<SelectFieldNames>>;
17
+ isMultiple: ComputedRef<boolean>;
18
+ mode: ComputedRef<SelectMode>;
19
+ removeValue: (value: SelectRawValue) => void;
20
+ reorderTagValue: (fromValue: SelectRawValue, toValue: SelectRawValue) => void;
21
+ selectOption: (option: ResolvedSelectOption) => void;
22
+ selectedLabel: ComputedRef<unknown>;
23
+ selectedOptions: ComputedRef<ResolvedSelectOption[]>;
24
+ selectedValueSet: ComputedRef<Set<SelectRawValue>>;
25
+ selectedValues: ComputedRef<SelectRawValue[]>;
26
+ visibleFlatOptions: ComputedRef<FlattenedItem[]>;
27
+ visibleOptions: ComputedRef<ResolvedSelectOption[]>;
28
+ };
29
+ export {};
@@ -0,0 +1,215 @@
1
+ import type { ExtractPropTypes, PropType, VNode } from 'vue';
2
+ import type { CcSemanticClasses, CcSemanticStyles } from '../../shared/hooks/use-semantic';
3
+ export type SelectRawValue = string | number;
4
+ export type SelectModelValue = SelectRawValue | SelectRawValue[] | LabelInValuePayload | LabelInValuePayload[] | null | undefined;
5
+ export type SelectSize = 'large' | 'default' | 'small';
6
+ export type SelectMode = 'default' | 'multiple' | 'tags';
7
+ export type SelectPlacement = 'bottom' | 'top' | 'auto';
8
+ export interface SelectFieldNames {
9
+ label?: string;
10
+ value?: string;
11
+ disabled?: string;
12
+ options?: string;
13
+ }
14
+ export interface SelectOption {
15
+ label?: unknown;
16
+ value?: SelectRawValue;
17
+ disabled?: boolean;
18
+ [key: string]: unknown;
19
+ }
20
+ export interface SelectGroupOption {
21
+ label?: unknown;
22
+ options: SelectRawOption[];
23
+ [key: string]: unknown;
24
+ }
25
+ export type SelectRawOption = SelectOption | SelectGroupOption;
26
+ export type SelectFilterOption = boolean | ((input: string, option: SelectOption) => boolean);
27
+ export interface ResolvedSelectOption {
28
+ raw: SelectOption;
29
+ label: unknown;
30
+ value: SelectRawValue;
31
+ disabled: boolean;
32
+ groupPath: unknown[];
33
+ }
34
+ export interface LabelInValuePayload {
35
+ value: SelectRawValue;
36
+ label: unknown;
37
+ }
38
+ export type GetPopupContainer = (triggerNode: HTMLElement | null) => HTMLElement | null;
39
+ export declare const selectProps: {
40
+ readonly modelValue: {
41
+ readonly type: PropType<SelectModelValue>;
42
+ readonly default: undefined;
43
+ };
44
+ readonly options: {
45
+ readonly type: PropType<SelectRawOption[]>;
46
+ readonly default: () => never[];
47
+ };
48
+ readonly fieldNames: {
49
+ readonly type: PropType<SelectFieldNames>;
50
+ readonly default: () => {};
51
+ };
52
+ readonly mode: {
53
+ readonly type: PropType<SelectMode>;
54
+ readonly default: undefined;
55
+ };
56
+ readonly placement: {
57
+ readonly type: PropType<SelectPlacement>;
58
+ readonly default: "bottom";
59
+ };
60
+ readonly filterOption: {
61
+ readonly type: PropType<SelectFilterOption>;
62
+ readonly default: true;
63
+ };
64
+ readonly popupClassName: {
65
+ readonly type: StringConstructor;
66
+ readonly default: "";
67
+ };
68
+ readonly getPopupContainer: {
69
+ readonly type: PropType<GetPopupContainer>;
70
+ readonly default: undefined;
71
+ };
72
+ readonly popupAppendToBody: {
73
+ readonly type: BooleanConstructor;
74
+ readonly default: false;
75
+ };
76
+ readonly placeholder: {
77
+ readonly type: StringConstructor;
78
+ readonly default: "Please select";
79
+ };
80
+ readonly disabled: {
81
+ readonly type: BooleanConstructor;
82
+ readonly default: false;
83
+ };
84
+ readonly clearable: {
85
+ readonly type: BooleanConstructor;
86
+ readonly default: false;
87
+ };
88
+ /**
89
+ * 自定义清除图标。接 string(Iconify name / CSS class)或 VNode;
90
+ * 同名 `clearIcon` slot 优先级最高。
91
+ */
92
+ readonly clearIcon: {
93
+ readonly type: PropType<string | VNode>;
94
+ readonly default: undefined;
95
+ };
96
+ /**
97
+ * 自定义下拉箭头图标。接 string(Iconify name / CSS class)或 VNode;
98
+ * 同名 `suffixIcon` slot 优先级最高。
99
+ */
100
+ readonly suffixIcon: {
101
+ readonly type: PropType<string | VNode>;
102
+ readonly default: undefined;
103
+ };
104
+ /**
105
+ * 自定义 multiple 模式下 tag 的删除图标。接 string(Iconify name / CSS class)或 VNode;
106
+ * 同名 `removeIcon` slot 优先级最高。
107
+ */
108
+ readonly removeIcon: {
109
+ readonly type: PropType<string | VNode>;
110
+ readonly default: undefined;
111
+ };
112
+ readonly multiple: {
113
+ readonly type: BooleanConstructor;
114
+ readonly default: false;
115
+ };
116
+ readonly filterable: {
117
+ readonly type: BooleanConstructor;
118
+ readonly default: false;
119
+ };
120
+ readonly loading: {
121
+ readonly type: BooleanConstructor;
122
+ readonly default: false;
123
+ };
124
+ readonly size: {
125
+ readonly type: PropType<SelectSize>;
126
+ readonly default: "default";
127
+ };
128
+ readonly noDataText: {
129
+ readonly type: StringConstructor;
130
+ readonly default: "No data";
131
+ };
132
+ readonly loadingText: {
133
+ readonly type: StringConstructor;
134
+ readonly default: "Loading...";
135
+ };
136
+ readonly maxTagCount: {
137
+ readonly type: NumberConstructor;
138
+ readonly default: 3;
139
+ };
140
+ readonly maxCount: {
141
+ readonly type: NumberConstructor;
142
+ readonly default: 0;
143
+ };
144
+ readonly status: {
145
+ readonly type: PropType<"" | "error" | "warning" | "success" | "validating">;
146
+ readonly default: "";
147
+ };
148
+ readonly labelInValue: {
149
+ readonly type: BooleanConstructor;
150
+ readonly default: false;
151
+ };
152
+ readonly autoFocus: {
153
+ readonly type: BooleanConstructor;
154
+ readonly default: false;
155
+ };
156
+ readonly defaultActiveFirstOption: {
157
+ readonly type: BooleanConstructor;
158
+ readonly default: true;
159
+ };
160
+ readonly highlightMatch: {
161
+ readonly type: BooleanConstructor;
162
+ readonly default: false;
163
+ };
164
+ readonly virtualScroll: {
165
+ readonly type: BooleanConstructor;
166
+ readonly default: false;
167
+ };
168
+ readonly virtualItemHeight: {
169
+ readonly type: NumberConstructor;
170
+ readonly default: 32;
171
+ };
172
+ readonly virtualMaxHeight: {
173
+ readonly type: NumberConstructor;
174
+ readonly default: 240;
175
+ };
176
+ readonly optionLabelProp: {
177
+ readonly type: StringConstructor;
178
+ readonly default: "";
179
+ };
180
+ readonly showSearch: {
181
+ readonly type: BooleanConstructor;
182
+ readonly default: false;
183
+ };
184
+ readonly transitionName: {
185
+ readonly type: StringConstructor;
186
+ readonly default: "ccui-select-fade";
187
+ };
188
+ readonly tagsDraggable: {
189
+ readonly type: BooleanConstructor;
190
+ readonly default: false;
191
+ };
192
+ /**
193
+ * 录入组件统一 variant 形态。
194
+ */
195
+ readonly variant: {
196
+ readonly type: PropType<SelectVariant>;
197
+ readonly default: "outlined";
198
+ };
199
+ /**
200
+ * 语义化 DOM className 注入。可用 key:`root` / `selector` / `popup`。
201
+ */
202
+ readonly classNames: {
203
+ readonly type: PropType<CcSemanticClasses>;
204
+ readonly default: undefined;
205
+ };
206
+ /**
207
+ * 语义化 DOM style 注入。可用 key 与 classNames 一致。
208
+ */
209
+ readonly styles: {
210
+ readonly type: PropType<CcSemanticStyles>;
211
+ readonly default: undefined;
212
+ };
213
+ };
214
+ export type SelectVariant = 'outlined' | 'filled' | 'borderless' | 'underlined';
215
+ export type SelectProps = ExtractPropTypes<typeof selectProps>;
@@ -0,0 +1,149 @@
1
+ import type { VNode } from 'vue';
2
+
3
+ declare const _default: import("vue").DefineComponent<{
4
+ readonly size: import("./select-types").SelectSize;
5
+ readonly multiple: boolean;
6
+ readonly disabled: boolean;
7
+ readonly options: import("./select-types").SelectRawOption[];
8
+ readonly placeholder: string;
9
+ readonly status: "" | "error" | "success" | "warning" | "validating";
10
+ readonly filterOption: import("./select-types").SelectFilterOption;
11
+ readonly placement: import("./select-types").SelectPlacement;
12
+ readonly popupClassName: string;
13
+ readonly popupAppendToBody: boolean;
14
+ readonly transitionName: string;
15
+ readonly defaultActiveFirstOption: boolean;
16
+ readonly variant: import("./select-types").SelectVariant;
17
+ readonly loading: boolean;
18
+ readonly maxCount: number;
19
+ readonly fieldNames: import("./select-types").SelectFieldNames;
20
+ readonly showSearch: boolean;
21
+ readonly maxTagCount: number;
22
+ readonly clearable: boolean;
23
+ readonly autoFocus: boolean;
24
+ readonly filterable: boolean;
25
+ readonly noDataText: string;
26
+ readonly loadingText: string;
27
+ readonly labelInValue: boolean;
28
+ readonly highlightMatch: boolean;
29
+ readonly virtualScroll: boolean;
30
+ readonly virtualItemHeight: number;
31
+ readonly virtualMaxHeight: number;
32
+ readonly optionLabelProp: string;
33
+ readonly tagsDraggable: boolean;
34
+ readonly classNames?: import("../../shared/hooks/use-semantic").CcSemanticClasses | undefined;
35
+ readonly styles?: import("../../shared/hooks/use-semantic").CcSemanticStyles | undefined;
36
+ readonly modelValue?: import("./select-types").SelectModelValue;
37
+ readonly clearIcon?: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ [key: string]: any;
39
+ }> | undefined;
40
+ readonly getPopupContainer?: import("./select-types").GetPopupContainer | undefined;
41
+ readonly mode?: import("./select-types").SelectMode | undefined;
42
+ readonly suffixIcon?: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
+ [key: string]: any;
44
+ }> | undefined;
45
+ readonly removeIcon?: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
+ [key: string]: any;
47
+ }> | undefined;
48
+ }, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "change" | "clear" | "blur" | "focus" | "update:modelValue" | "visible-change")[], "search" | "change" | "clear" | "blur" | "focus" | "update:modelValue" | "visible-change", import("vue").PublicProps, Readonly<{
51
+ readonly size: import("./select-types").SelectSize;
52
+ readonly multiple: boolean;
53
+ readonly disabled: boolean;
54
+ readonly options: import("./select-types").SelectRawOption[];
55
+ readonly placeholder: string;
56
+ readonly status: "" | "error" | "success" | "warning" | "validating";
57
+ readonly filterOption: import("./select-types").SelectFilterOption;
58
+ readonly placement: import("./select-types").SelectPlacement;
59
+ readonly popupClassName: string;
60
+ readonly popupAppendToBody: boolean;
61
+ readonly transitionName: string;
62
+ readonly defaultActiveFirstOption: boolean;
63
+ readonly variant: import("./select-types").SelectVariant;
64
+ readonly loading: boolean;
65
+ readonly maxCount: number;
66
+ readonly fieldNames: import("./select-types").SelectFieldNames;
67
+ readonly showSearch: boolean;
68
+ readonly maxTagCount: number;
69
+ readonly clearable: boolean;
70
+ readonly autoFocus: boolean;
71
+ readonly filterable: boolean;
72
+ readonly noDataText: string;
73
+ readonly loadingText: string;
74
+ readonly labelInValue: boolean;
75
+ readonly highlightMatch: boolean;
76
+ readonly virtualScroll: boolean;
77
+ readonly virtualItemHeight: number;
78
+ readonly virtualMaxHeight: number;
79
+ readonly optionLabelProp: string;
80
+ readonly tagsDraggable: boolean;
81
+ readonly classNames?: import("../../shared/hooks/use-semantic").CcSemanticClasses | undefined;
82
+ readonly styles?: import("../../shared/hooks/use-semantic").CcSemanticStyles | undefined;
83
+ readonly modelValue?: import("./select-types").SelectModelValue;
84
+ readonly clearIcon?: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
85
+ [key: string]: any;
86
+ }> | undefined;
87
+ readonly getPopupContainer?: import("./select-types").GetPopupContainer | undefined;
88
+ readonly mode?: import("./select-types").SelectMode | undefined;
89
+ readonly suffixIcon?: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
90
+ [key: string]: any;
91
+ }> | undefined;
92
+ readonly removeIcon?: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
93
+ [key: string]: any;
94
+ }> | undefined;
95
+ }> & Readonly<{
96
+ onChange?: ((...args: any[]) => any) | undefined;
97
+ onBlur?: ((...args: any[]) => any) | undefined;
98
+ onFocus?: ((...args: any[]) => any) | undefined;
99
+ onSearch?: ((...args: any[]) => any) | undefined;
100
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
101
+ "onVisible-change"?: ((...args: any[]) => any) | undefined;
102
+ onClear?: ((...args: any[]) => any) | undefined;
103
+ }>, {
104
+ readonly size: import("./select-types").SelectSize;
105
+ readonly multiple: boolean;
106
+ readonly disabled: boolean;
107
+ readonly classNames: import("../../shared/hooks/use-semantic").CcSemanticClasses;
108
+ readonly styles: import("../../shared/hooks/use-semantic").CcSemanticStyles;
109
+ readonly modelValue: import("./select-types").SelectModelValue;
110
+ readonly options: import("./select-types").SelectRawOption[];
111
+ readonly placeholder: string;
112
+ readonly clearIcon: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
113
+ [key: string]: any;
114
+ }>;
115
+ readonly status: "" | "error" | "success" | "warning" | "validating";
116
+ readonly filterOption: import("./select-types").SelectFilterOption;
117
+ readonly placement: import("./select-types").SelectPlacement;
118
+ readonly popupClassName: string;
119
+ readonly popupAppendToBody: boolean;
120
+ readonly getPopupContainer: import("./select-types").GetPopupContainer;
121
+ readonly transitionName: string;
122
+ readonly defaultActiveFirstOption: boolean;
123
+ readonly variant: import("./select-types").SelectVariant;
124
+ readonly loading: boolean;
125
+ readonly mode: import("./select-types").SelectMode;
126
+ readonly maxCount: number;
127
+ readonly fieldNames: import("./select-types").SelectFieldNames;
128
+ readonly showSearch: boolean;
129
+ readonly maxTagCount: number;
130
+ readonly clearable: boolean;
131
+ readonly autoFocus: boolean;
132
+ readonly suffixIcon: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
133
+ [key: string]: any;
134
+ }>;
135
+ readonly removeIcon: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
136
+ [key: string]: any;
137
+ }>;
138
+ readonly filterable: boolean;
139
+ readonly noDataText: string;
140
+ readonly loadingText: string;
141
+ readonly labelInValue: boolean;
142
+ readonly highlightMatch: boolean;
143
+ readonly virtualScroll: boolean;
144
+ readonly virtualItemHeight: number;
145
+ readonly virtualMaxHeight: number;
146
+ readonly optionLabelProp: string;
147
+ readonly tagsDraggable: boolean;
148
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
149
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { App } from 'vue';
2
+ import Skeleton from './src/skeleton';
3
+ export { Skeleton };
4
+ declare const _default: {
5
+ title: string;
6
+ category: string;
7
+ status: string;
8
+ install(app: App): void;
9
+ };
10
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import type { ExtractPropTypes, PropType } from 'vue';
2
+ export interface SkeletonAvatarShape {
3
+ shape?: 'circle' | 'square';
4
+ size?: 'small' | 'default' | 'large' | number;
5
+ }
6
+ export interface SkeletonTitleShape {
7
+ width?: string | number;
8
+ }
9
+ export interface SkeletonParagraphShape {
10
+ rows?: number;
11
+ width?: string | number | (string | number)[];
12
+ }
13
+ export declare const skeletonProps: {
14
+ readonly active: {
15
+ readonly type: BooleanConstructor;
16
+ readonly default: false;
17
+ };
18
+ readonly loading: {
19
+ readonly type: BooleanConstructor;
20
+ readonly default: true;
21
+ };
22
+ readonly avatar: {
23
+ readonly type: PropType<boolean | SkeletonAvatarShape>;
24
+ readonly default: false;
25
+ };
26
+ readonly title: {
27
+ readonly type: PropType<boolean | SkeletonTitleShape>;
28
+ readonly default: true;
29
+ };
30
+ readonly paragraph: {
31
+ readonly type: PropType<boolean | SkeletonParagraphShape>;
32
+ readonly default: true;
33
+ };
34
+ readonly round: {
35
+ readonly type: BooleanConstructor;
36
+ readonly default: false;
37
+ };
38
+ };
39
+ export type SkeletonProps = ExtractPropTypes<typeof skeletonProps>;
@@ -0,0 +1,27 @@
1
+ import type { SkeletonAvatarShape, SkeletonParagraphShape, SkeletonTitleShape } from './skeleton-types';
2
+
3
+ declare const _default: import("vue").DefineComponent<{
4
+ readonly title: boolean | SkeletonTitleShape;
5
+ readonly round: boolean;
6
+ readonly active: boolean;
7
+ readonly loading: boolean;
8
+ readonly avatar: boolean | SkeletonAvatarShape;
9
+ readonly paragraph: boolean | SkeletonParagraphShape;
10
+ }, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
+ [key: string]: any;
12
+ }>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
13
+ readonly title: boolean | SkeletonTitleShape;
14
+ readonly round: boolean;
15
+ readonly active: boolean;
16
+ readonly loading: boolean;
17
+ readonly avatar: boolean | SkeletonAvatarShape;
18
+ readonly paragraph: boolean | SkeletonParagraphShape;
19
+ }> & Readonly<{}>, {
20
+ readonly title: boolean | SkeletonTitleShape;
21
+ readonly round: boolean;
22
+ readonly active: boolean;
23
+ readonly loading: boolean;
24
+ readonly avatar: boolean | SkeletonAvatarShape;
25
+ readonly paragraph: boolean | SkeletonParagraphShape;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import type { App } from 'vue';
2
+ import SkeletonNode from './src/skeleton-node';
3
+ export { SkeletonNode };
4
+ export type { SkeletonNodeProps } from './src/skeleton-node-types';
5
+ declare const _default: {
6
+ title: string;
7
+ category: string;
8
+ status: string;
9
+ install(app: App): void;
10
+ };
11
+ export default _default;
@@ -0,0 +1,71 @@
1
+ import { computed as e, defineComponent as t, h as n } from "vue";
2
+ //#region ../ccui/ui/shared/hooks/use-namespace.ts
3
+ function r(e, t, n) {
4
+ let r = e;
5
+ return t && (r += `__${t}`), n && (r += `--${n}`), r;
6
+ }
7
+ function i(e, t = !1) {
8
+ let n = t ? `.ccui-${e}` : `ccui-${e}`;
9
+ return {
10
+ b: () => r(n),
11
+ e: (e) => e ? r(n, e) : "",
12
+ m: (e) => e ? r(n, "", e) : "",
13
+ em: (e, t) => e && t ? r(n, e, t) : "",
14
+ is: (e) => `is-${e}`
15
+ };
16
+ }
17
+ //#endregion
18
+ //#region ../ccui/ui/skeleton-node/src/skeleton-node-types.ts
19
+ var a = {
20
+ active: {
21
+ type: Boolean,
22
+ default: !1
23
+ },
24
+ width: {
25
+ type: [String, Number],
26
+ default: "160px"
27
+ },
28
+ height: {
29
+ type: [String, Number],
30
+ default: "96px"
31
+ }
32
+ };
33
+ //#endregion
34
+ //#region ../ccui/ui/skeleton-node/src/skeleton-node.tsx
35
+ function o(e) {
36
+ return typeof e == "number" ? `${e}px` : e;
37
+ }
38
+ var s = /* @__PURE__ */ t({
39
+ name: "CSkeletonNode",
40
+ props: a,
41
+ setup(t, { slots: r }) {
42
+ let a = i("skeleton-node"), s = e(() => ({
43
+ [a.b()]: !0,
44
+ [a.m("active")]: t.active
45
+ })), c = e(() => ({
46
+ width: o(t.width),
47
+ height: o(t.height)
48
+ }));
49
+ return () => n("span", {
50
+ class: s.value,
51
+ style: c.value,
52
+ "aria-busy": "true",
53
+ "aria-hidden": "true"
54
+ }, r.default ? [r.default()] : []);
55
+ }
56
+ });
57
+ //#endregion
58
+ //#region ../ccui/ui/skeleton-node/index.ts
59
+ s.install = function(e) {
60
+ e.component(s.name, s);
61
+ };
62
+ var c = {
63
+ title: "SkeletonNode 自定义骨架",
64
+ category: "反馈",
65
+ status: "90%",
66
+ install(e) {
67
+ e.component(s.name, s);
68
+ }
69
+ };
70
+ //#endregion
71
+ export { s as SkeletonNode, c 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={active:{type:Boolean,default:!1},width:{type:[String,Number],default:`160px`},height:{type:[String,Number],default:`96px`}};function a(e){return typeof e==`number`?`${e}px`:e}var o=(0,t.defineComponent)({name:`CSkeletonNode`,props:i,setup(e,{slots:n}){let i=r(`skeleton-node`),o=(0,t.computed)(()=>({[i.b()]:!0,[i.m(`active`)]:e.active})),s=(0,t.computed)(()=>({width:a(e.width),height:a(e.height)}));return()=>(0,t.h)(`span`,{class:o.value,style:s.value,"aria-busy":`true`,"aria-hidden":`true`},n.default?[n.default()]:[])}});o.install=function(e){e.component(o.name,o)},e.SkeletonNode=o,e.default={title:`SkeletonNode 自定义骨架`,category:`反馈`,status:`90%`,install(e){e.component(o.name,o)}}});
@@ -0,0 +1,23 @@
1
+ import type { ExtractPropTypes, PropType } from 'vue';
2
+ /**
3
+ * 自定义形状的骨架占位容器。
4
+ *
5
+ * default slot 内放任意 VNode,最常见是一个 Icon;本组件提供动画背景 + 居中布局。
6
+ */
7
+ export declare const skeletonNodeProps: {
8
+ readonly active: {
9
+ readonly type: BooleanConstructor;
10
+ readonly default: false;
11
+ };
12
+ /** 占位宽度(默认 `'160px'`)。 */
13
+ readonly width: {
14
+ readonly type: PropType<string | number>;
15
+ readonly default: "160px";
16
+ };
17
+ /** 占位高度(默认 `'96px'`)。 */
18
+ readonly height: {
19
+ readonly type: PropType<string | number>;
20
+ readonly default: "96px";
21
+ };
22
+ };
23
+ export type SkeletonNodeProps = ExtractPropTypes<typeof skeletonNodeProps>;
@@ -0,0 +1,17 @@
1
+
2
+ declare const _default: import("vue").DefineComponent<{
3
+ readonly height: string | number;
4
+ readonly width: string | number;
5
+ readonly active: boolean;
6
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
+ [key: string]: any;
8
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
9
+ readonly height: string | number;
10
+ readonly width: string | number;
11
+ readonly active: boolean;
12
+ }> & Readonly<{}>, {
13
+ readonly height: string | number;
14
+ readonly width: string | number;
15
+ readonly active: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ 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-skeleton-node{border-radius:var(--ccui-border-radius,6px);color:#0000002e;vertical-align:middle;background:#0000000f;justify-content:center;align-items:center;display:inline-flex}.ccui-skeleton-node--active{background:linear-gradient(90deg,#0000000f 25%,#00000026 37%,#0000000f 63%) 0 0/400% 100%;animation:1.4s infinite ccuiSkeletonLoading}@keyframes ccuiSkeletonLoading{0%{background-position:100%}to{background-position:0}}
2
+ /*$vite$:1*/