kui-vue 5.2.2 → 5.2.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 (288) hide show
  1. package/dist/index.js +2 -2
  2. package/es/index.js +16 -7
  3. package/es/locale/de.js +1 -1
  4. package/es/locale/el.js +1 -1
  5. package/es/locale/en.js +1 -1
  6. package/es/locale/fr.js +1 -1
  7. package/es/locale/it.js +1 -1
  8. package/es/locale/ja.js +1 -1
  9. package/es/locale/ko.js +1 -1
  10. package/es/locale/ru.js +1 -1
  11. package/es/locale/th.js +1 -1
  12. package/es/locale/uk.js +1 -1
  13. package/es/locale/vi.js +1 -1
  14. package/es/locale/zh-CN.js +1 -1
  15. package/es/locale/zh-TW.js +1 -1
  16. package/lib/index.js +2 -2
  17. package/lib/locale/de.js +1 -1
  18. package/lib/locale/el.js +1 -1
  19. package/lib/locale/en.js +1 -1
  20. package/lib/locale/fr.js +1 -1
  21. package/lib/locale/it.js +1 -1
  22. package/lib/locale/ja.js +1 -1
  23. package/lib/locale/ko.js +1 -1
  24. package/lib/locale/ru.js +1 -1
  25. package/lib/locale/th.js +1 -1
  26. package/lib/locale/uk.js +1 -1
  27. package/lib/locale/vi.js +1 -1
  28. package/lib/locale/zh-CN.js +1 -1
  29. package/lib/locale/zh-TW.js +1 -1
  30. package/package.json +11 -12
  31. package/style/index.css +1 -1
  32. package/types/affix/Affix.d.ts +15 -0
  33. package/types/alert/Alert.d.ts +19 -0
  34. package/types/anchor/AnchorLink.d.ts +12 -0
  35. package/types/avatar/AvatarGroup.d.ts +13 -0
  36. package/types/backtop/BackTop.d.ts +16 -0
  37. package/types/badge/Badge.d.ts +18 -0
  38. package/types/badge/index.d.ts +4 -4
  39. package/types/breadcrumb/BreadcrumbItem.d.ts +12 -0
  40. package/types/button/ButtonGroup.d.ts +12 -0
  41. package/types/card/Card.d.ts +14 -0
  42. package/types/carousel/CarouselItem.d.ts +9 -0
  43. package/types/checkbox/CheckboxGroup.d.ts +19 -0
  44. package/types/collapse/CollapsePanel.d.ts +12 -0
  45. package/types/color-picker/ColorPicker.d.ts +28 -0
  46. package/types/date-picker/DatePicker.d.ts +46 -0
  47. package/types/descriptions/DescriptionsItem.d.ts +16 -0
  48. package/types/divider/Divider.d.ts +16 -0
  49. package/types/drawer/Drawer.d.ts +35 -0
  50. package/types/dropdown/DropdownButton.d.ts +19 -0
  51. package/types/empty/Empty.d.ts +13 -0
  52. package/types/flex/Flex.d.ts +15 -0
  53. package/types/form/FormItem.d.ts +15 -0
  54. package/types/grid/GridItem.d.ts +18 -0
  55. package/types/icon/Icon.d.ts +15 -0
  56. package/types/image/ImageGroup.d.ts +11 -0
  57. package/types/image/KImage.d.ts +20 -0
  58. package/types/input/InputGroup.d.ts +16 -0
  59. package/types/input-number/InputNumber.d.ts +32 -0
  60. package/types/layout/sider.d.ts +11 -0
  61. package/types/loading/loading.d.ts +9 -0
  62. package/types/menu/MenuDivider.d.ts +9 -0
  63. package/types/menu/MenuGroup.d.ts +11 -0
  64. package/types/menu/MenuItem.d.ts +15 -0
  65. package/types/menu/SubMenu.d.ts +14 -0
  66. package/types/page/Page.d.ts +27 -0
  67. package/types/popconfirm/Popconfirm.d.ts +19 -0
  68. package/types/poptip/Poptip.d.ts +19 -0
  69. package/types/progress/Progress.d.ts +31 -0
  70. package/types/radio/RadioButton.d.ts +19 -0
  71. package/types/radio/RadioGroup.d.ts +20 -0
  72. package/types/rate/Rate.d.ts +24 -0
  73. package/types/skeleton/SkeletonAvatar.d.ts +17 -0
  74. package/types/skeleton/SkeletonButton.d.ts +18 -0
  75. package/types/skeleton/SkeletonImage.d.ts +16 -0
  76. package/types/skeleton/SkeletonText.d.ts +16 -0
  77. package/types/slider/Slider.d.ts +29 -0
  78. package/types/space/Space.d.ts +17 -0
  79. package/types/spin/Spin.d.ts +18 -0
  80. package/types/stat-card/StatCard.d.ts +20 -0
  81. package/types/stat-card/StatNumber.d.ts +20 -0
  82. package/types/switch/Switch.d.ts +19 -0
  83. package/types/table/Table.d.ts +29 -0
  84. package/types/table/index.d.ts +1 -1
  85. package/types/tabs/TabPanel.d.ts +15 -0
  86. package/types/tag/Tag.d.ts +18 -0
  87. package/types/timeline/TimeLine.d.ts +12 -0
  88. package/types/timeline/TimeLineItem.d.ts +14 -0
  89. package/types/tooltip/Tooltip.d.ts +20 -0
  90. package/types/tree/Tree.d.ts +28 -0
  91. package/types/tree-select/TreeSelect.d.ts +46 -0
  92. package/types/upload/Upload.d.ts +37 -0
  93. package/types/utils/share.d.ts +12 -0
  94. package/vetur/web-types.json +1 -1
  95. package/es/affix/index.d.ts +0 -49
  96. package/es/alert/index.d.ts +0 -61
  97. package/es/anchor/anchor-link.d.ts +0 -23
  98. package/es/anchor/index.d.ts +0 -5
  99. package/es/avatar/avatar-group.d.ts +0 -39
  100. package/es/avatar/index.d.ts +0 -5
  101. package/es/back-top/index.d.ts +0 -46
  102. package/es/badge/index.d.ts +0 -49
  103. package/es/base/transition.d.ts +0 -3
  104. package/es/breadcrumb/breadcrumb-item.d.ts +0 -15
  105. package/es/breadcrumb/index.d.ts +0 -5
  106. package/es/button/button-group.d.ts +0 -21
  107. package/es/button/index.d.ts +0 -5
  108. package/es/card/index.d.ts +0 -30
  109. package/es/carousel/carousel-item.d.ts +0 -2
  110. package/es/carousel/index.d.ts +0 -4
  111. package/es/checkbox/checkbox-group.d.ts +0 -79
  112. package/es/checkbox/index.d.ts +0 -6
  113. package/es/collapse/collapse-panel.d.ts +0 -15
  114. package/es/collapse/index.d.ts +0 -6
  115. package/es/color-picker/alpha.d.ts +0 -15
  116. package/es/color-picker/hue.d.ts +0 -17
  117. package/es/color-picker/index.d.ts +0 -110
  118. package/es/color-picker/mode.d.ts +0 -25
  119. package/es/color-picker/paint.d.ts +0 -26
  120. package/es/color-picker/presets.d.ts +0 -20
  121. package/es/components.d.ts +0 -113
  122. package/es/config/context.d.ts +0 -10
  123. package/es/config/index.d.ts +0 -16
  124. package/es/const/types.d.ts +0 -19
  125. package/es/const/var.d.ts +0 -1
  126. package/es/date-picker/index.d.ts +0 -277
  127. package/es/descriptions/descriptions-item.d.ts +0 -35
  128. package/es/descriptions/index.d.ts +0 -4
  129. package/es/directives/outsiteclick.d.ts +0 -2
  130. package/es/directives/resize.d.ts +0 -3
  131. package/es/directives/scroll.d.ts +0 -2
  132. package/es/directives/transfer.d.ts +0 -2
  133. package/es/divider/index.d.ts +0 -42
  134. package/es/drawer/index.d.ts +0 -177
  135. package/es/dropdown/dropdown-button.d.ts +0 -45
  136. package/es/dropdown/index.d.ts +0 -4
  137. package/es/dropdown/trigger.d.ts +0 -11
  138. package/es/empty/index.d.ts +0 -9
  139. package/es/flex/index.d.ts +0 -45
  140. package/es/form/form-item.d.ts +0 -24
  141. package/es/form/index.d.ts +0 -6
  142. package/es/form/types.d.ts +0 -14
  143. package/es/grid/grid-item.d.ts +0 -22
  144. package/es/grid/index.d.ts +0 -5
  145. package/es/grid/useBreakpoint.d.ts +0 -3
  146. package/es/icon/demo/search.d.ts +0 -2
  147. package/es/icon/demo/tags.d.ts +0 -4
  148. package/es/icon/index.d.ts +0 -45
  149. package/es/image/group.d.ts +0 -11
  150. package/es/image/image.d.ts +0 -45
  151. package/es/image/index.d.ts +0 -5
  152. package/es/image/instance.d.ts +0 -2
  153. package/es/image/preview.d.ts +0 -36
  154. package/es/image/utils.d.ts +0 -6
  155. package/es/index.d.ts +0 -10
  156. package/es/input/index.d.ts +0 -8
  157. package/es/input/input-box.d.ts +0 -39
  158. package/es/input/input-group.d.ts +0 -58
  159. package/es/input-number/index.d.ts +0 -127
  160. package/es/layout/index.d.ts +0 -136
  161. package/es/loading/index.d.ts +0 -16
  162. package/es/locale/de.d.ts +0 -59
  163. package/es/locale/el.d.ts +0 -59
  164. package/es/locale/en.d.ts +0 -59
  165. package/es/locale/fr.d.ts +0 -59
  166. package/es/locale/it.d.ts +0 -59
  167. package/es/locale/ja.d.ts +0 -59
  168. package/es/locale/ko.d.ts +0 -59
  169. package/es/locale/ru.d.ts +0 -59
  170. package/es/locale/th.d.ts +0 -59
  171. package/es/locale/uk.d.ts +0 -59
  172. package/es/locale/vi.d.ts +0 -59
  173. package/es/locale/zh-CN.d.ts +0 -59
  174. package/es/locale/zh-TW.d.ts +0 -59
  175. package/es/menu/index.d.ts +0 -7
  176. package/es/menu/menu-divider.d.ts +0 -2
  177. package/es/menu/menu-group.d.ts +0 -20
  178. package/es/menu/menu-item.d.ts +0 -22
  179. package/es/menu/recursive-menu.d.ts +0 -17
  180. package/es/menu/sub-menu.d.ts +0 -24
  181. package/es/message/index.d.ts +0 -23
  182. package/es/modal/index.d.ts +0 -26
  183. package/es/modal/toast.d.ts +0 -32
  184. package/es/notice/container.d.ts +0 -6
  185. package/es/notice/content.d.ts +0 -54
  186. package/es/notice/index.d.ts +0 -23
  187. package/es/notice/instance.d.ts +0 -8
  188. package/es/page/index.d.ts +0 -115
  189. package/es/popconfirm/index.d.ts +0 -75
  190. package/es/poptip/index.d.ts +0 -66
  191. package/es/progress/index.d.ts +0 -125
  192. package/es/radio/index.d.ts +0 -7
  193. package/es/radio/radio-button.d.ts +0 -76
  194. package/es/radio/radio-group.d.ts +0 -77
  195. package/es/radio/types.d.ts +0 -5
  196. package/es/rate/index.d.ts +0 -99
  197. package/es/rate/star.d.ts +0 -65
  198. package/es/row-col/index.d.ts +0 -5
  199. package/es/select/index.d.ts +0 -5
  200. package/es/skeleton/index.d.ts +0 -7
  201. package/es/skeleton/skeleton-avatar.d.ts +0 -58
  202. package/es/skeleton/skeleton-button.d.ts +0 -58
  203. package/es/skeleton/skeleton-image.d.ts +0 -58
  204. package/es/skeleton/skeleton-text.d.ts +0 -58
  205. package/es/skeleton/types.d.ts +0 -29
  206. package/es/slider/index.d.ts +0 -112
  207. package/es/slider/thumb.d.ts +0 -58
  208. package/es/space/index.d.ts +0 -50
  209. package/es/spin/index.d.ts +0 -58
  210. package/es/splitter/index.d.ts +0 -4
  211. package/es/splitter/splitter-panel.d.ts +0 -35
  212. package/es/splitter/splitter.d.ts +0 -32
  213. package/es/stat-card/countup.d.ts +0 -56
  214. package/es/stat-card/index.d.ts +0 -5
  215. package/es/stat-card/rollup.d.ts +0 -32
  216. package/es/stat-card/stat-card.d.ts +0 -72
  217. package/es/stat-card/stat-number.d.ts +0 -100
  218. package/es/stat-card/utils/countup.d.ts +0 -127
  219. package/es/stat-card/utils/odometer.d.ts +0 -13
  220. package/es/switch/index.d.ts +0 -72
  221. package/es/table/index.d.ts +0 -185
  222. package/es/tabs/index.d.ts +0 -5
  223. package/es/tabs/tab-panel.d.ts +0 -22
  224. package/es/tabs/types.d.ts +0 -16
  225. package/es/tag/index.d.ts +0 -57
  226. package/es/time-line/index.d.ts +0 -5
  227. package/es/time-line/timeline-item.d.ts +0 -20
  228. package/es/time-line/timeline.d.ts +0 -26
  229. package/es/tooltip/index.d.ts +0 -42
  230. package/es/tree/index.d.ts +0 -179
  231. package/es/tree/utils.d.ts +0 -32
  232. package/es/tree-select/index.d.ts +0 -224
  233. package/es/upload/file-list.d.ts +0 -59
  234. package/es/upload/index.d.ts +0 -190
  235. package/es/upload/selector.d.ts +0 -73
  236. package/es/utils/checked.d.ts +0 -2
  237. package/es/utils/color.d.ts +0 -1
  238. package/es/utils/element.d.ts +0 -4
  239. package/es/utils/mouse.d.ts +0 -1
  240. package/es/utils/number.d.ts +0 -6
  241. package/es/utils/placement.d.ts +0 -16
  242. package/es/utils/theme.d.ts +0 -5
  243. package/es/utils/vnode.d.ts +0 -5
  244. package/es/utils/vue.d.ts +0 -5
  245. package/types/anchor/anchor.d.ts +0 -67
  246. package/types/avatar/avatar.d.ts +0 -43
  247. package/types/breadcrumb/breadcrumb.d.ts +0 -22
  248. package/types/button/button.d.ts +0 -39
  249. package/types/carousel/carousel.d.ts +0 -84
  250. package/types/checkbox/checkbox.d.ts +0 -105
  251. package/types/collapse/collapse.d.ts +0 -32
  252. package/types/descriptions/descriptions.d.ts +0 -54
  253. package/types/dropdown/dropdown.d.ts +0 -72
  254. package/types/form/form.d.ts +0 -92
  255. package/types/grid/grid.d.ts +0 -39
  256. package/types/input/input.d.ts +0 -58
  257. package/types/input/textarea.d.ts +0 -26
  258. package/types/menu/menu.d.ts +0 -92
  259. package/types/modal/modal.d.ts +0 -156
  260. package/types/radio/radio.d.ts +0 -73
  261. package/types/row-col/col.d.ts +0 -17
  262. package/types/row-col/row.d.ts +0 -43
  263. package/types/select/option.d.ts +0 -23
  264. package/types/select/select.d.ts +0 -150
  265. package/types/skeleton/skeleton.d.ts +0 -61
  266. package/types/tabs/tabs.d.ts +0 -47
  267. /package/{es/anchor/anchor.d.ts → types/anchor/Anchor.d.ts} +0 -0
  268. /package/{es/avatar/avatar.d.ts → types/avatar/Avatar.d.ts} +0 -0
  269. /package/{es/breadcrumb/breadcrumb.d.ts → types/breadcrumb/Breadcrumb.d.ts} +0 -0
  270. /package/{es/button/button.d.ts → types/button/Button.d.ts} +0 -0
  271. /package/{es/carousel/carousel.d.ts → types/carousel/Carousel.d.ts} +0 -0
  272. /package/{es/checkbox/checkbox.d.ts → types/checkbox/Checkbox.d.ts} +0 -0
  273. /package/{es/collapse/collapse.d.ts → types/collapse/Collapse.d.ts} +0 -0
  274. /package/{es/descriptions/descriptions.d.ts → types/descriptions/Descriptions.d.ts} +0 -0
  275. /package/{es/dropdown/dropdown.d.ts → types/dropdown/Dropdown.d.ts} +0 -0
  276. /package/{es/form/form.d.ts → types/form/Form.d.ts} +0 -0
  277. /package/{es/grid/grid.d.ts → types/grid/Grid.d.ts} +0 -0
  278. /package/{es/input/input.d.ts → types/input/Input.d.ts} +0 -0
  279. /package/{es/input/textarea.d.ts → types/input/TextArea.d.ts} +0 -0
  280. /package/{es/menu/menu.d.ts → types/menu/Menu.d.ts} +0 -0
  281. /package/{es/modal/modal.d.ts → types/modal/Modal.d.ts} +0 -0
  282. /package/{es/radio/radio.d.ts → types/radio/Radio.d.ts} +0 -0
  283. /package/{es/row-col/col.d.ts → types/row-col/Col.d.ts} +0 -0
  284. /package/{es/row-col/row.d.ts → types/row-col/Row.d.ts} +0 -0
  285. /package/{es/select/option.d.ts → types/select/Option.d.ts} +0 -0
  286. /package/{es/select/select.d.ts → types/select/Select.d.ts} +0 -0
  287. /package/{es/skeleton/skeleton.d.ts → types/skeleton/Skeleton.d.ts} +0 -0
  288. /package/{es/tabs/tabs.d.ts → types/tabs/Tabs.d.ts} +0 -0
@@ -0,0 +1,46 @@
1
+ import type { DefineComponent } from "vue";
2
+
3
+ /** TreeSelect component props */
4
+ export interface TreeSelectProps {
5
+ placeholder?: string;
6
+ /** default: default */
7
+ size?: any;
8
+ /** default: bottom-left */
9
+ placement?: any;
10
+ width?: number;
11
+ maxTagCount?: number;
12
+ modelValue?: string | number | any[];
13
+ value?: string | number | any[];
14
+ /** default: true */
15
+ clearable?: boolean;
16
+ filterable?: boolean;
17
+ block?: boolean;
18
+ disabled?: boolean;
19
+ multiple?: boolean;
20
+ loading?: boolean;
21
+ /** default: true */
22
+ bordered?: boolean;
23
+ /** default: true */
24
+ showArrow?: boolean;
25
+ options?: any[];
26
+ /** default: light */
27
+ theme?: string;
28
+ emptyText?: string;
29
+ icon?: string | any[];
30
+ shape?: string;
31
+ arrowIcon?: string | any[];
32
+ treeData?: any[];
33
+ treeCheckable?: boolean;
34
+ treeShowLine?: boolean;
35
+ /** default: true */
36
+ treeShowIcon?: boolean;
37
+ treeCheckStrictly?: boolean;
38
+ treeExpandedKeys?: any[];
39
+ treeSelectedKeys?: any[];
40
+ treeExpandedAll?: boolean;
41
+ }
42
+
43
+ /** TreeSelect Vue 3 component */
44
+ declare const TreeSelect: DefineComponent<TreeSelectProps, {}, any>;
45
+
46
+ export default TreeSelect;
@@ -0,0 +1,37 @@
1
+ import type { DefineComponent } from "vue";
2
+
3
+ /** Upload component props */
4
+ export interface UploadProps {
5
+ /** default: post */
6
+ method?: string;
7
+ /** default: file */
8
+ name?: string;
9
+ action?: string;
10
+ /** default: list */
11
+ type?: string;
12
+ /** default: undefined */
13
+ data?: Record<string, any>;
14
+ disabled?: boolean;
15
+ directory?: boolean;
16
+ multiple?: boolean;
17
+ accept?: string;
18
+ headers?: Record<string, any>;
19
+ /** default: true */
20
+ showUploadList?: boolean;
21
+ transformFile?: (...args: any[]) => any;
22
+ fileList?: any[];
23
+ /** default: true */
24
+ autoTrigger?: boolean;
25
+ limit?: number;
26
+ minSize?: number;
27
+ maxSize?: number;
28
+ uploadText?: string;
29
+ uploadSubText?: string;
30
+ uploadIcon?: string | Record<string, any> | any[];
31
+ draggable?: boolean;
32
+ }
33
+
34
+ /** Upload Vue 3 component */
35
+ declare const Upload: DefineComponent<UploadProps, {}, any>;
36
+
37
+ export default Upload;
@@ -0,0 +1,12 @@
1
+ export declare const isClient: boolean;
2
+ export declare const isDef: <T = any>(val?: T) => val is T;
3
+ export declare const notNullish: <T = any>(val?: T | null | undefined) => val is T;
4
+ export declare const assert: (condition: boolean, ...infos: any[]) => void;
5
+ export declare const isObject: (val: any) => val is object;
6
+ export declare const now: () => number;
7
+ export declare const timestamp: () => number;
8
+ export declare const clamp: (n: number, min: number, max: number) => number;
9
+ export declare const noop: () => void;
10
+ export declare const rand: (min: number, max: number) => number;
11
+ export declare const hasOwn: <T extends object, K extends keyof T>(val: T, key: K) => key is K;
12
+ export declare function copyToClipboard(text: string): Promise<boolean>;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "kui-vue",
4
- "version": "5.2.2",
4
+ "version": "5.2.3",
5
5
  "description-markup": "markdown",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
@@ -1,49 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- declare const affixProps: {
3
- offsetTop: {
4
- type: NumberConstructor;
5
- default: number;
6
- };
7
- offsetBottom: NumberConstructor;
8
- target: {
9
- type: PropType<() => any>;
10
- default: () => (Window & typeof globalThis) | null;
11
- };
12
- onChange: {
13
- type: PropType<(affixed: boolean) => void>;
14
- };
15
- };
16
- export type AffixProps = ExtractPropTypes<typeof affixProps>;
17
- declare const Affix: import('vue').DefineComponent<ExtractPropTypes<{
18
- offsetTop: {
19
- type: NumberConstructor;
20
- default: number;
21
- };
22
- offsetBottom: NumberConstructor;
23
- target: {
24
- type: PropType<() => any>;
25
- default: () => (Window & typeof globalThis) | null;
26
- };
27
- onChange: {
28
- type: PropType<(affixed: boolean) => void>;
29
- };
30
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
31
- offsetTop: {
32
- type: NumberConstructor;
33
- default: number;
34
- };
35
- offsetBottom: NumberConstructor;
36
- target: {
37
- type: PropType<() => any>;
38
- default: () => (Window & typeof globalThis) | null;
39
- };
40
- onChange: {
41
- type: PropType<(affixed: boolean) => void>;
42
- };
43
- }>> & Readonly<{}>, {
44
- offsetTop: number;
45
- target: () => any;
46
- }, {}, {}, {
47
- resize: import('vue').ObjectDirective<any, any, string, any>;
48
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
- export default Affix;
@@ -1,61 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { IconType } from '../icon';
4
- declare const alertProps: {
5
- type: {
6
- type: PropType<"info" | "success" | "warning" | "error">;
7
- default: string;
8
- };
9
- closable: BooleanType;
10
- showIcon: {
11
- type: BooleanType;
12
- default: boolean;
13
- };
14
- icon: PropType<IconType[]>;
15
- message: StringConstructor;
16
- description: StringConstructor;
17
- bordered: BooleanType;
18
- onClose: {
19
- type: PropType<(e: MouseEvent) => void>;
20
- };
21
- };
22
- export type AlertProps = ExtractPropTypes<typeof alertProps>;
23
- declare const Alert: import('vue').DefineComponent<ExtractPropTypes<{
24
- type: {
25
- type: PropType<"info" | "success" | "warning" | "error">;
26
- default: string;
27
- };
28
- closable: BooleanType;
29
- showIcon: {
30
- type: BooleanType;
31
- default: boolean;
32
- };
33
- icon: PropType<IconType[]>;
34
- message: StringConstructor;
35
- description: StringConstructor;
36
- bordered: BooleanType;
37
- onClose: {
38
- type: PropType<(e: MouseEvent) => void>;
39
- };
40
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
41
- type: {
42
- type: PropType<"info" | "success" | "warning" | "error">;
43
- default: string;
44
- };
45
- closable: BooleanType;
46
- showIcon: {
47
- type: BooleanType;
48
- default: boolean;
49
- };
50
- icon: PropType<IconType[]>;
51
- message: StringConstructor;
52
- description: StringConstructor;
53
- bordered: BooleanType;
54
- onClose: {
55
- type: PropType<(e: MouseEvent) => void>;
56
- };
57
- }>> & Readonly<{}>, {
58
- type: "error" | "warning" | "success" | "info";
59
- showIcon: boolean | undefined;
60
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
61
- export default Alert;
@@ -1,23 +0,0 @@
1
- import { ExtractPropTypes } from 'vue';
2
- declare const anchorLinkProps: {
3
- href: {
4
- type: StringConstructor;
5
- required: boolean;
6
- };
7
- title: StringConstructor;
8
- };
9
- export type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>;
10
- declare const AnchorLink: import('vue').DefineComponent<ExtractPropTypes<{
11
- href: {
12
- type: StringConstructor;
13
- required: boolean;
14
- };
15
- title: StringConstructor;
16
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
17
- href: {
18
- type: StringConstructor;
19
- required: boolean;
20
- };
21
- title: StringConstructor;
22
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
- export default AnchorLink;
@@ -1,5 +0,0 @@
1
- import { default as Anchor } from './anchor';
2
- import { default as AnchorLink } from './anchor-link';
3
- export type { AnchorProps } from './anchor';
4
- export type { AnchorLinkProps } from './anchor-link';
5
- export { Anchor, AnchorLink };
@@ -1,39 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { ShapeType } from '../const/types';
3
- export declare const avatarGroupProps: {
4
- maxCount: NumberConstructor;
5
- shape: {
6
- type: PropType<ShapeType>;
7
- default: string;
8
- };
9
- size: {
10
- type: PropType<number | "large" | "small" | "default">;
11
- default: string;
12
- };
13
- };
14
- export type AvatarGroupProps = ExtractPropTypes<typeof avatarGroupProps>;
15
- declare const AvatarGroup: import('vue').DefineComponent<ExtractPropTypes<{
16
- maxCount: NumberConstructor;
17
- shape: {
18
- type: PropType<ShapeType>;
19
- default: string;
20
- };
21
- size: {
22
- type: PropType<number | "large" | "small" | "default">;
23
- default: string;
24
- };
25
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
26
- maxCount: NumberConstructor;
27
- shape: {
28
- type: PropType<ShapeType>;
29
- default: string;
30
- };
31
- size: {
32
- type: PropType<number | "large" | "small" | "default">;
33
- default: string;
34
- };
35
- }>> & Readonly<{}>, {
36
- size: number | "default" | "small" | "large";
37
- shape: ShapeType;
38
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
- export default AvatarGroup;
@@ -1,5 +0,0 @@
1
- import { default as Avatar } from './avatar';
2
- import { default as AvatarGroup } from './avatar-group';
3
- export type { AvatarProps } from './avatar';
4
- export type { AvatarGroupProps } from './avatar-group';
5
- export { Avatar, AvatarGroup };
@@ -1,46 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- declare const backTopProps: {
3
- height: {
4
- type: NumberConstructor;
5
- default: number;
6
- };
7
- right: NumberConstructor;
8
- bottom: NumberConstructor;
9
- target: {
10
- type: PropType<() => HTMLElement | null>;
11
- default: () => HTMLElement | null;
12
- };
13
- onClick: PropType<(e: MouseEvent) => void>;
14
- };
15
- export type BackTopProps = ExtractPropTypes<typeof backTopProps>;
16
- declare const BackTop: import('vue').DefineComponent<ExtractPropTypes<{
17
- height: {
18
- type: NumberConstructor;
19
- default: number;
20
- };
21
- right: NumberConstructor;
22
- bottom: NumberConstructor;
23
- target: {
24
- type: PropType<() => HTMLElement | null>;
25
- default: () => HTMLElement | null;
26
- };
27
- onClick: PropType<(e: MouseEvent) => void>;
28
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
29
- height: {
30
- type: NumberConstructor;
31
- default: number;
32
- };
33
- right: NumberConstructor;
34
- bottom: NumberConstructor;
35
- target: {
36
- type: PropType<() => HTMLElement | null>;
37
- default: () => HTMLElement | null;
38
- };
39
- onClick: PropType<(e: MouseEvent) => void>;
40
- }>> & Readonly<{}>, {
41
- target: () => HTMLElement | null;
42
- height: number;
43
- }, {}, {}, {
44
- scroll: import('vue').ObjectDirective<any, any, string, any>;
45
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
- export default BackTop;
@@ -1,49 +0,0 @@
1
- import { ExtractPropTypes, PropType, VNode } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- export type BadgeStatusType = "default" | "success" | "error" | "warning";
4
- declare const badgeProps: {
5
- count: (NumberConstructor | StringConstructor)[];
6
- dot: BooleanType;
7
- color: StringConstructor;
8
- status: {
9
- type: PropType<BadgeStatusType>;
10
- default: string;
11
- };
12
- text: PropType<string | VNode>;
13
- maxCount: {
14
- type: NumberConstructor;
15
- default: number;
16
- };
17
- };
18
- export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
19
- declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
20
- count: (NumberConstructor | StringConstructor)[];
21
- dot: BooleanType;
22
- color: StringConstructor;
23
- status: {
24
- type: PropType<BadgeStatusType>;
25
- default: string;
26
- };
27
- text: PropType<string | VNode>;
28
- maxCount: {
29
- type: NumberConstructor;
30
- default: number;
31
- };
32
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
33
- count: (NumberConstructor | StringConstructor)[];
34
- dot: BooleanType;
35
- color: StringConstructor;
36
- status: {
37
- type: PropType<BadgeStatusType>;
38
- default: string;
39
- };
40
- text: PropType<string | VNode>;
41
- maxCount: {
42
- type: NumberConstructor;
43
- default: number;
44
- };
45
- }>> & Readonly<{}>, {
46
- maxCount: number;
47
- status: BadgeStatusType;
48
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
- export default Badge;
@@ -1,3 +0,0 @@
1
- import { TransitionProps } from 'vue';
2
- export declare function getTransitionProp(name: string): TransitionProps;
3
- export declare function getTransitionHorProp(name: string): TransitionProps;
@@ -1,15 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { IconType } from '../icon';
3
- declare const breadcrumbItemProps: {
4
- href: StringConstructor;
5
- icon: PropType<IconType[]>;
6
- };
7
- export type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;
8
- declare const BreadcrumbItem: import('vue').DefineComponent<ExtractPropTypes<{
9
- href: StringConstructor;
10
- icon: PropType<IconType[]>;
11
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
12
- href: StringConstructor;
13
- icon: PropType<IconType[]>;
14
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
- export default BreadcrumbItem;
@@ -1,5 +0,0 @@
1
- import { default as Breadcrumb } from './breadcrumb';
2
- import { default as BreadcrumbItem } from './breadcrumb-item';
3
- export type { BreadcrumbProps } from './breadcrumb';
4
- export type { BreadcrumbItemProps } from './breadcrumb-item';
5
- export { Breadcrumb, BreadcrumbItem };
@@ -1,21 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { ShapeType, SizeType } from '../const/types';
3
- declare const buttonGroupProps: {
4
- size: {
5
- type: PropType<SizeType>;
6
- };
7
- shape: PropType<ShapeType>;
8
- };
9
- export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
10
- declare const ButtonGroup: import('vue').DefineComponent<ExtractPropTypes<{
11
- size: {
12
- type: PropType<SizeType>;
13
- };
14
- shape: PropType<ShapeType>;
15
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
16
- size: {
17
- type: PropType<SizeType>;
18
- };
19
- shape: PropType<ShapeType>;
20
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
- export default ButtonGroup;
@@ -1,5 +0,0 @@
1
- import { default as Button } from './button';
2
- import { default as ButtonGroup } from './button-group';
3
- export type { ButtonProps } from './button';
4
- export type { ButtonGroupProps } from './button-group';
5
- export { Button, ButtonGroup };
@@ -1,30 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { IconType } from '../icon';
4
- declare const cardProps: {
5
- bordered: {
6
- type: BooleanType;
7
- default: boolean;
8
- };
9
- title: StringConstructor;
10
- icon: PropType<IconType[]>;
11
- };
12
- export type CardProps = ExtractPropTypes<typeof cardProps>;
13
- declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
14
- bordered: {
15
- type: BooleanType;
16
- default: boolean;
17
- };
18
- title: StringConstructor;
19
- icon: PropType<IconType[]>;
20
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
21
- bordered: {
22
- type: BooleanType;
23
- default: boolean;
24
- };
25
- title: StringConstructor;
26
- icon: PropType<IconType[]>;
27
- }>> & Readonly<{}>, {
28
- bordered: boolean | undefined;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
- export default Card;
@@ -1,2 +0,0 @@
1
- declare const CarouselItem: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- export default CarouselItem;
@@ -1,4 +0,0 @@
1
- import { default as Carousel } from './carousel';
2
- import { default as CarouselItem } from './carousel-item';
3
- export type { CarouselProps } from './carousel';
4
- export { Carousel, CarouselItem };
@@ -1,79 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DirectionType, SizeType, ThemeType } from '../const/types';
3
- export interface CheckboxOption {
4
- label?: string;
5
- value?: string | number;
6
- disabled?: boolean;
7
- [key: string]: any;
8
- }
9
- declare const checkboxGroupProps: {
10
- modelValue: {
11
- type: PropType<any[]>;
12
- default: () => never[];
13
- };
14
- theme: {
15
- type: PropType<ThemeType>;
16
- default: string;
17
- };
18
- disabled: BooleanType;
19
- options: PropType<CheckboxOption[]>;
20
- direction: {
21
- type: PropType<DirectionType>;
22
- default: string;
23
- };
24
- size: {
25
- type: PropType<SizeType>;
26
- };
27
- onChange: {
28
- type: PropType<(value: any[]) => void>;
29
- };
30
- };
31
- export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>;
32
- declare const CheckboxGroup: import('vue').DefineComponent<ExtractPropTypes<{
33
- modelValue: {
34
- type: PropType<any[]>;
35
- default: () => never[];
36
- };
37
- theme: {
38
- type: PropType<ThemeType>;
39
- default: string;
40
- };
41
- disabled: BooleanType;
42
- options: PropType<CheckboxOption[]>;
43
- direction: {
44
- type: PropType<DirectionType>;
45
- default: string;
46
- };
47
- size: {
48
- type: PropType<SizeType>;
49
- };
50
- onChange: {
51
- type: PropType<(value: any[]) => void>;
52
- };
53
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
54
- modelValue: {
55
- type: PropType<any[]>;
56
- default: () => never[];
57
- };
58
- theme: {
59
- type: PropType<ThemeType>;
60
- default: string;
61
- };
62
- disabled: BooleanType;
63
- options: PropType<CheckboxOption[]>;
64
- direction: {
65
- type: PropType<DirectionType>;
66
- default: string;
67
- };
68
- size: {
69
- type: PropType<SizeType>;
70
- };
71
- onChange: {
72
- type: PropType<(value: any[]) => void>;
73
- };
74
- }>> & Readonly<{}>, {
75
- direction: DirectionType;
76
- theme: ThemeType;
77
- modelValue: any[];
78
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
79
- export default CheckboxGroup;
@@ -1,6 +0,0 @@
1
- import { default as Checkbox } from './checkbox';
2
- import { default as CheckboxGroup } from './checkbox-group';
3
- export type { ChangeEvent, CheckboxProps } from './checkbox';
4
- export type { CheckboxGroupProps, CheckboxOption } from './checkbox-group';
5
- export { Checkbox, CheckboxGroup };
6
- export default Checkbox;
@@ -1,15 +0,0 @@
1
- import { ExtractPropTypes } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- declare const collapsePanelProps: {
4
- title: StringConstructor;
5
- active: BooleanType;
6
- };
7
- export type CollapsePanelProps = ExtractPropTypes<typeof collapsePanelProps>;
8
- declare const CollapsePanel: import('vue').DefineComponent<ExtractPropTypes<{
9
- title: StringConstructor;
10
- active: BooleanType;
11
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
12
- title: StringConstructor;
13
- active: BooleanType;
14
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
- export default CollapsePanel;
@@ -1,6 +0,0 @@
1
- import { default as Collapse } from './collapse';
2
- import { default as CollapsePanel } from './collapse-panel';
3
- export type { CollapseProps } from './collapse';
4
- export type { CollapsePanelProps } from './collapse-panel';
5
- export { Collapse, CollapsePanel };
6
- export default Collapse;
@@ -1,15 +0,0 @@
1
- import { PropType } from 'vue';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- modelValue: {
4
- type: PropType<any>;
5
- required: true;
6
- };
7
- onUpdateAlpha: PropType<(alpha: number) => void>;
8
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
- modelValue: {
10
- type: PropType<any>;
11
- required: true;
12
- };
13
- onUpdateAlpha: PropType<(alpha: number) => void>;
14
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
- export default _default;
@@ -1,17 +0,0 @@
1
- import { PropType } from 'vue';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- hue: {
4
- type: NumberConstructor;
5
- default: number;
6
- };
7
- onUpdateHue: PropType<(hue: number) => void>;
8
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
- hue: {
10
- type: NumberConstructor;
11
- default: number;
12
- };
13
- onUpdateHue: PropType<(hue: number) => void>;
14
- }>> & Readonly<{}>, {
15
- hue: number;
16
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
- export default _default;