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
@@ -1,110 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DropPlacementsType, SizeType } from '../const/types';
3
- type ColorMode = "hex" | "rgb" | "hsl";
4
- export declare const colorPickerProps: {
5
- modelValue: StringConstructor;
6
- disabled: BooleanType;
7
- disabledAlpha: BooleanType;
8
- showText: BooleanType;
9
- placement: {
10
- type: PropType<DropPlacementsType>;
11
- default: string;
12
- };
13
- trigger: {
14
- type: PropType<"hover" | "click">;
15
- default: string;
16
- };
17
- size: {
18
- type: PropType<SizeType>;
19
- };
20
- mode: {
21
- type: PropType<ColorMode>;
22
- default: string;
23
- };
24
- presets: {
25
- type: PropType<string[]>;
26
- };
27
- onChange: {
28
- type: PropType<(color: string) => void>;
29
- };
30
- onUpdateMode: {
31
- type: PropType<(mode: ColorMode) => void>;
32
- };
33
- onOpenChange: {
34
- type: PropType<(open: boolean) => void>;
35
- };
36
- };
37
- export type ColorPickerProps = ExtractPropTypes<typeof colorPickerProps>;
38
- declare const ColorPicker: import('vue').DefineComponent<ExtractPropTypes<{
39
- modelValue: StringConstructor;
40
- disabled: BooleanType;
41
- disabledAlpha: BooleanType;
42
- showText: BooleanType;
43
- placement: {
44
- type: PropType<DropPlacementsType>;
45
- default: string;
46
- };
47
- trigger: {
48
- type: PropType<"hover" | "click">;
49
- default: string;
50
- };
51
- size: {
52
- type: PropType<SizeType>;
53
- };
54
- mode: {
55
- type: PropType<ColorMode>;
56
- default: string;
57
- };
58
- presets: {
59
- type: PropType<string[]>;
60
- };
61
- onChange: {
62
- type: PropType<(color: string) => void>;
63
- };
64
- onUpdateMode: {
65
- type: PropType<(mode: ColorMode) => void>;
66
- };
67
- onOpenChange: {
68
- type: PropType<(open: boolean) => void>;
69
- };
70
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
71
- modelValue: StringConstructor;
72
- disabled: BooleanType;
73
- disabledAlpha: BooleanType;
74
- showText: BooleanType;
75
- placement: {
76
- type: PropType<DropPlacementsType>;
77
- default: string;
78
- };
79
- trigger: {
80
- type: PropType<"hover" | "click">;
81
- default: string;
82
- };
83
- size: {
84
- type: PropType<SizeType>;
85
- };
86
- mode: {
87
- type: PropType<ColorMode>;
88
- default: string;
89
- };
90
- presets: {
91
- type: PropType<string[]>;
92
- };
93
- onChange: {
94
- type: PropType<(color: string) => void>;
95
- };
96
- onUpdateMode: {
97
- type: PropType<(mode: ColorMode) => void>;
98
- };
99
- onOpenChange: {
100
- type: PropType<(open: boolean) => void>;
101
- };
102
- }>> & Readonly<{}>, {
103
- mode: ColorMode;
104
- placement: DropPlacementsType;
105
- trigger: "click" | "hover";
106
- }, {}, {}, {
107
- transfer: import('vue').ObjectDirective<any, any, string, any>;
108
- resize: import('vue').ObjectDirective<any, any, string, any>;
109
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
110
- export default ColorPicker;
@@ -1,25 +0,0 @@
1
- import { ColorInstance } from 'color';
2
- import { PropType } from 'vue';
3
- import { BooleanType } from '../const/types';
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
- modelValue: (ObjectConstructor | StringConstructor)[];
6
- mode: {
7
- type: PropType<"hex" | "rgb" | "hsl">;
8
- default: string;
9
- };
10
- disabledAlpha: BooleanType;
11
- onUpdateMode: PropType<(mode: "hex" | "rgb" | "hsl") => void>;
12
- onUpdateColorValue: PropType<(color: ColorInstance) => void>;
13
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
- modelValue: (ObjectConstructor | StringConstructor)[];
15
- mode: {
16
- type: PropType<"hex" | "rgb" | "hsl">;
17
- default: string;
18
- };
19
- disabledAlpha: BooleanType;
20
- onUpdateMode: PropType<(mode: "hex" | "rgb" | "hsl") => void>;
21
- onUpdateColorValue: PropType<(color: ColorInstance) => void>;
22
- }>> & Readonly<{}>, {
23
- mode: "hex" | "rgb" | "hsl";
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
- export default _default;
@@ -1,26 +0,0 @@
1
- import { ColorObject } from 'color';
2
- import { PropType } from 'vue';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- hue: {
5
- type: NumberConstructor;
6
- default: number;
7
- };
8
- modelValue: {
9
- type: PropType<any>;
10
- required: true;
11
- };
12
- onUpdateRGB: PropType<(color: ColorObject) => void>;
13
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
- hue: {
15
- type: NumberConstructor;
16
- default: number;
17
- };
18
- modelValue: {
19
- type: PropType<any>;
20
- required: true;
21
- };
22
- onUpdateRGB: PropType<(color: ColorObject) => void>;
23
- }>> & Readonly<{}>, {
24
- hue: number;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
- export default _default;
@@ -1,20 +0,0 @@
1
- import { ColorInstance } from 'color';
2
- import { PropType } from 'vue';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- color: (ObjectConstructor | StringConstructor)[];
5
- modelValue: {
6
- type: PropType<string[]>;
7
- default: () => string[];
8
- };
9
- onUpdateColor: PropType<(color: ColorInstance) => void>;
10
- }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
- color: (ObjectConstructor | StringConstructor)[];
12
- modelValue: {
13
- type: PropType<string[]>;
14
- default: () => string[];
15
- };
16
- onUpdateColor: PropType<(color: ColorInstance) => void>;
17
- }>> & Readonly<{}>, {
18
- modelValue: string[];
19
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
- export default _default;
@@ -1,113 +0,0 @@
1
- export { default as Affix } from './affix';
2
- export type { AffixProps } from './affix';
3
- export { default as Alert } from './alert';
4
- export type { AlertProps } from './alert';
5
- export { Anchor, AnchorLink } from './anchor';
6
- export type { AnchorLinkProps, AnchorProps } from './anchor';
7
- export { Avatar, AvatarGroup } from './avatar';
8
- export type { AvatarGroupProps, AvatarProps } from './avatar';
9
- export { Breadcrumb, BreadcrumbItem } from './breadcrumb';
10
- export type { BreadcrumbItemProps, BreadcrumbProps } from './breadcrumb';
11
- export { default as BackTop } from './back-top';
12
- export type { BackTopProps } from './back-top';
13
- export { default as Badge } from './badge';
14
- export type { BadgeProps, BadgeStatusType } from './badge';
15
- export { Button, ButtonGroup } from './button';
16
- export type { ButtonGroupProps, ButtonProps } from './button';
17
- export { default as Card } from './card';
18
- export type { CardProps } from './card';
19
- export { Carousel, CarouselItem } from './carousel';
20
- export type { CarouselProps } from './carousel';
21
- export { Checkbox, CheckboxGroup } from './checkbox';
22
- export type { ChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps } from './checkbox';
23
- export { Collapse, CollapsePanel } from './collapse';
24
- export type { CollapsePanelProps, CollapseProps } from './collapse';
25
- export { default as ColorPicker } from './color-picker';
26
- export type { ColorPickerProps } from './color-picker';
27
- export { default as DatePicker } from './date-picker';
28
- export type { DatePickerProps } from './date-picker';
29
- export { Descriptions, DescriptionsItem } from './descriptions';
30
- export type { DescriptionsItemProps, DescriptionsProps } from './descriptions';
31
- export { default as Drawer } from './drawer';
32
- export type { DrawerProps } from './drawer';
33
- export { Dropdown, DropdownButton } from './dropdown';
34
- export type { DropdownButtonProps, DropdownProps } from './dropdown';
35
- export { default as Divider } from './divider';
36
- export type { DividerProps } from './divider';
37
- export { default as Empty } from './empty';
38
- export type { EmptyProps } from './empty';
39
- export { Form, FormItem } from './form';
40
- export type { FormContext, FormItemProps, FormProps, FormSubmitEvent } from './form';
41
- export type { FormRule } from './form/types';
42
- export { default as Flex } from './flex';
43
- export type { FlexAlignType, FlexJustifyType, FlexProps, FlexSizeType } from './flex';
44
- export { Grid, GridItem } from './grid';
45
- export type { GridItemProps, GridProps } from './grid';
46
- export { ImageGroup, KImage } from './image';
47
- export type { ImageGroupProps, ImageProps } from './image';
48
- export { default as Icon } from './icon';
49
- export type { IconProps, IconType } from './icon';
50
- export { Input, InputGroup, TextArea } from './input';
51
- export type { InputGroupProps, InputProps, TextAreaProps } from './input';
52
- export { default as InputNumber } from './input-number';
53
- export type { InputNumberProps } from './input-number';
54
- export { Content, Footer, Header, Layout, Sider } from './layout';
55
- export { default as loading } from './loading';
56
- export type { LoadingProps } from './loading';
57
- export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu } from './menu';
58
- export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps, } from './menu';
59
- export { default as message } from './message';
60
- export type { MessageOptions } from './message';
61
- export { modal, default as Modal } from './modal';
62
- export type { ModalApiProps, ModalProps } from './modal';
63
- export { default as notice } from './notice';
64
- export type { NoticeOptions } from './notice';
65
- export { default as Page } from './page';
66
- export type { PageProps } from './page';
67
- export { default as Poptip } from './poptip';
68
- export type { PoptipProps } from './poptip';
69
- export { default as Popconfirm } from './popconfirm';
70
- export type { PopconfirmProps } from './popconfirm';
71
- export { default as Progress } from './progress';
72
- export type { ProgressProps, ProgressStatus, ProgressStroke, ProgressType } from './progress';
73
- export { Radio, RadioButton, RadioGroup } from './radio';
74
- export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio';
75
- export { default as Rate } from './rate';
76
- export type { RateProps } from './rate';
77
- export { Option, Select } from './select';
78
- export type { OptionProps, SelectOption, SelectProps } from './select';
79
- export { default as ConfigProvider } from './config';
80
- export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText } from './skeleton';
81
- export type { SkeletonProps } from './skeleton';
82
- export { StatCard, StatNumber } from './stat-card';
83
- export type { StatCardProps, StatNumberItem, StatNumberProps } from './stat-card';
84
- export { default as Slider } from './slider';
85
- export type { SliderProps } from './slider';
86
- export { default as Space } from './space';
87
- export type { SpaceProps } from './space';
88
- export { default as Spin } from './spin';
89
- export type { SpinProps } from './spin';
90
- export { default as KSwitch } from './switch';
91
- export type { SwitchProps } from './switch';
92
- export { default as Table } from './table';
93
- export type { Column, SortState, TableProps } from './table';
94
- export { default as Tooltip } from './tooltip';
95
- export type { TooltipProps } from './tooltip';
96
- export { TabPanel, Tabs } from './tabs';
97
- export type { TabPanelProps, TabsProps } from './tabs';
98
- export { TimeLine, TimeLineItem } from './time-line';
99
- export type { TimelineItemProps, TimelineMode, TimelineProps } from './time-line';
100
- export { default as Tree } from './tree';
101
- export type { TreeExpandEvent, TreeNode, TreeProps } from './tree';
102
- export { default as TreeSelect } from './tree-select';
103
- export type { TreeSelectProps } from './tree-select';
104
- export { default as Tag } from './tag';
105
- export type { TagProps } from './tag';
106
- export { Col, Row } from './row-col';
107
- export type { ColProps, RowProps } from './row-col';
108
- export { default as Upload } from './upload';
109
- export type { UploadChangeEvent, UploadContext, UploadFile, UploadProps } from './upload';
110
- export { Splitter, SplitterPanel } from './splitter';
111
- export type { SplitterPanelProps, SplitterProps } from './splitter';
112
- export { default as theme } from './utils/theme';
113
- export type { AlignType, BooleanType, ButtonType, ColorType, DirectionType, DrawerPlacementsType, DropPlacementsType, PlacementsType, RadioType, ShapeType, SizeType, SpinModeType, ThemeType, UploadStatusType, } from './const/types';
@@ -1,10 +0,0 @@
1
- import { ComponentInternalInstance } from 'vue';
2
- interface Point {
3
- x: number;
4
- y: number;
5
- }
6
- export declare function setAppContext(app: ComponentInternalInstance | null): void;
7
- export declare const getAppContext: () => ComponentInternalInstance | null;
8
- export declare const recordMousePoint: () => void;
9
- export declare const getMousePoint: () => Point;
10
- export {};
@@ -1,16 +0,0 @@
1
- declare const ConfigProvider: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- locale: {
3
- type: ObjectConstructor;
4
- default: () => null;
5
- };
6
- }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
7
- [key: string]: any;
8
- }>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
- locale: {
10
- type: ObjectConstructor;
11
- default: () => null;
12
- };
13
- }>> & Readonly<{}>, {
14
- locale: Record<string, any>;
15
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
- export default ConfigProvider;
@@ -1,19 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { colors } from './var';
3
- export type PlacementsType = "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-top" | "right-bottom";
4
- export type DrawerPlacementsType = "left" | "right" | "top" | "bottom";
5
- export type DropPlacementsType = "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
6
- export type ValueType = "string" | "number" | "boolean";
7
- export type SizeType = "small" | "medium" | "large";
8
- export type ShapeType = "circle" | "square" | "round";
9
- export type BooleanType = PropType<boolean | undefined>;
10
- export type ButtonType = "primary" | "danger" | "warning" | "default" | "text" | "link";
11
- export type ThemeType = "outline" | "fill" | "default" | "solid" | "dashed" | "card";
12
- export type RadioType = "radio" | "button";
13
- export type DirectionType = "horizontal" | "vertical" | "inline";
14
- export type AlignType = "start" | "center" | "end";
15
- export type ColorType = PropType<(typeof colors)[number] | string>;
16
- export type UploadStatusType = "success" | "error" | "uploading" | "waiting";
17
- export type SpinModeType = "bounce" | "flip" | "rotate" | "zoom";
18
- export type TriggerType = "hover" | "click" | "contextmenu";
19
- export type NoticeType = "info" | "success" | "warning" | "error" | "loading";
package/es/const/var.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare const colors: readonly ["default", "red", "orange", "yellow", "olive", "green", "teal", "blue", "volcano", "violet", "cyan", "gold", "lime", "magenta", "purple", "pink", "brown", "gray"];
@@ -1,277 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- import { IconType } from '../icon';
4
- type DatePickerValueType = "date" | "timestamp" | "unix" | "string";
5
- type DatePickerModeType = "year" | "month" | "date" | "time" | "dateTime" | "dateRange" | "dateTimeRange";
6
- interface DatePickerPresetsType {
7
- label: string;
8
- value: () => any;
9
- }
10
- export declare const datePickerProps: {
11
- modelValue: {
12
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor | ArrayConstructor)[];
13
- default: null;
14
- };
15
- startDate: {
16
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
17
- default: null;
18
- };
19
- endDate: {
20
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
21
- default: null;
22
- };
23
- valueType: {
24
- type: PropType<DatePickerValueType>;
25
- default: string;
26
- };
27
- mode: {
28
- type: PropType<DatePickerModeType>;
29
- default: string;
30
- };
31
- presets: PropType<DatePickerPresetsType[]>;
32
- disabled: {
33
- type: BooleanType;
34
- };
35
- opened: {
36
- type: BooleanType;
37
- };
38
- clearable: {
39
- type: BooleanType;
40
- default: boolean;
41
- };
42
- editable: {
43
- type: BooleanType;
44
- default: boolean;
45
- };
46
- placeholder: {
47
- type: PropType<string | string[]>;
48
- default: string;
49
- };
50
- format: {
51
- type: StringConstructor;
52
- default: null;
53
- };
54
- disabledDate: {
55
- type: PropType<(date: Date) => boolean>;
56
- default: () => boolean;
57
- };
58
- disabledTime: {
59
- type: PropType<(date: Date) => boolean>;
60
- default: () => boolean;
61
- };
62
- size: {
63
- type: PropType<SizeType>;
64
- };
65
- dateIcon: {
66
- type: PropType<IconType[]>;
67
- };
68
- theme: {
69
- type: PropType<ThemeType>;
70
- default: string;
71
- };
72
- shape: {
73
- type: PropType<ShapeType>;
74
- };
75
- bordered: {
76
- type: BooleanType;
77
- default: boolean;
78
- };
79
- placement: {
80
- type: PropType<DropPlacementsType>;
81
- default: string;
82
- };
83
- onChange: {
84
- type: PropType<(date: Date | Date[], dateStr: string | string[]) => void>;
85
- };
86
- onOpenChange: {
87
- type: PropType<(open: boolean) => void>;
88
- };
89
- onClear: {
90
- type: PropType<() => void>;
91
- };
92
- };
93
- export type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
94
- declare const DatePicker: import('vue').DefineComponent<ExtractPropTypes<{
95
- modelValue: {
96
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor | ArrayConstructor)[];
97
- default: null;
98
- };
99
- startDate: {
100
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
101
- default: null;
102
- };
103
- endDate: {
104
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
105
- default: null;
106
- };
107
- valueType: {
108
- type: PropType<DatePickerValueType>;
109
- default: string;
110
- };
111
- mode: {
112
- type: PropType<DatePickerModeType>;
113
- default: string;
114
- };
115
- presets: PropType<DatePickerPresetsType[]>;
116
- disabled: {
117
- type: BooleanType;
118
- };
119
- opened: {
120
- type: BooleanType;
121
- };
122
- clearable: {
123
- type: BooleanType;
124
- default: boolean;
125
- };
126
- editable: {
127
- type: BooleanType;
128
- default: boolean;
129
- };
130
- placeholder: {
131
- type: PropType<string | string[]>;
132
- default: string;
133
- };
134
- format: {
135
- type: StringConstructor;
136
- default: null;
137
- };
138
- disabledDate: {
139
- type: PropType<(date: Date) => boolean>;
140
- default: () => boolean;
141
- };
142
- disabledTime: {
143
- type: PropType<(date: Date) => boolean>;
144
- default: () => boolean;
145
- };
146
- size: {
147
- type: PropType<SizeType>;
148
- };
149
- dateIcon: {
150
- type: PropType<IconType[]>;
151
- };
152
- theme: {
153
- type: PropType<ThemeType>;
154
- default: string;
155
- };
156
- shape: {
157
- type: PropType<ShapeType>;
158
- };
159
- bordered: {
160
- type: BooleanType;
161
- default: boolean;
162
- };
163
- placement: {
164
- type: PropType<DropPlacementsType>;
165
- default: string;
166
- };
167
- onChange: {
168
- type: PropType<(date: Date | Date[], dateStr: string | string[]) => void>;
169
- };
170
- onOpenChange: {
171
- type: PropType<(open: boolean) => void>;
172
- };
173
- onClear: {
174
- type: PropType<() => void>;
175
- };
176
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
177
- modelValue: {
178
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor | ArrayConstructor)[];
179
- default: null;
180
- };
181
- startDate: {
182
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
183
- default: null;
184
- };
185
- endDate: {
186
- type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
187
- default: null;
188
- };
189
- valueType: {
190
- type: PropType<DatePickerValueType>;
191
- default: string;
192
- };
193
- mode: {
194
- type: PropType<DatePickerModeType>;
195
- default: string;
196
- };
197
- presets: PropType<DatePickerPresetsType[]>;
198
- disabled: {
199
- type: BooleanType;
200
- };
201
- opened: {
202
- type: BooleanType;
203
- };
204
- clearable: {
205
- type: BooleanType;
206
- default: boolean;
207
- };
208
- editable: {
209
- type: BooleanType;
210
- default: boolean;
211
- };
212
- placeholder: {
213
- type: PropType<string | string[]>;
214
- default: string;
215
- };
216
- format: {
217
- type: StringConstructor;
218
- default: null;
219
- };
220
- disabledDate: {
221
- type: PropType<(date: Date) => boolean>;
222
- default: () => boolean;
223
- };
224
- disabledTime: {
225
- type: PropType<(date: Date) => boolean>;
226
- default: () => boolean;
227
- };
228
- size: {
229
- type: PropType<SizeType>;
230
- };
231
- dateIcon: {
232
- type: PropType<IconType[]>;
233
- };
234
- theme: {
235
- type: PropType<ThemeType>;
236
- default: string;
237
- };
238
- shape: {
239
- type: PropType<ShapeType>;
240
- };
241
- bordered: {
242
- type: BooleanType;
243
- default: boolean;
244
- };
245
- placement: {
246
- type: PropType<DropPlacementsType>;
247
- default: string;
248
- };
249
- onChange: {
250
- type: PropType<(date: Date | Date[], dateStr: string | string[]) => void>;
251
- };
252
- onOpenChange: {
253
- type: PropType<(open: boolean) => void>;
254
- };
255
- onClear: {
256
- type: PropType<() => void>;
257
- };
258
- }>> & Readonly<{}>, {
259
- bordered: boolean | undefined;
260
- mode: DatePickerModeType;
261
- theme: ThemeType;
262
- placeholder: string | string[];
263
- modelValue: string | number | Record<string, any> | Date | unknown[];
264
- valueType: DatePickerValueType;
265
- placement: DropPlacementsType;
266
- clearable: boolean | undefined;
267
- startDate: string | number | Record<string, any> | Date;
268
- endDate: string | number | Record<string, any> | Date;
269
- editable: boolean | undefined;
270
- format: string;
271
- disabledDate: (date: Date) => boolean;
272
- disabledTime: (date: Date) => boolean;
273
- }, {}, {}, {
274
- transfer: import('vue').ObjectDirective<any, any, string, any>;
275
- resize: import('vue').ObjectDirective<any, any, string, any>;
276
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
277
- export default DatePicker;
@@ -1,35 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DirectionType } from '../const/types';
3
- export declare const descriptionsItemProps: {
4
- label: StringConstructor;
5
- span: {
6
- type: NumberConstructor;
7
- default: number;
8
- };
9
- type: PropType<"label" | "content">;
10
- bordered: BooleanType;
11
- layout: PropType<DirectionType>;
12
- };
13
- export type DescriptionsItemProps = ExtractPropTypes<typeof descriptionsItemProps>;
14
- declare const DescriptionsItem: import('vue').DefineComponent<ExtractPropTypes<{
15
- label: StringConstructor;
16
- span: {
17
- type: NumberConstructor;
18
- default: number;
19
- };
20
- type: PropType<"label" | "content">;
21
- bordered: BooleanType;
22
- layout: PropType<DirectionType>;
23
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
24
- label: StringConstructor;
25
- span: {
26
- type: NumberConstructor;
27
- default: number;
28
- };
29
- type: PropType<"label" | "content">;
30
- bordered: BooleanType;
31
- layout: PropType<DirectionType>;
32
- }>> & Readonly<{}>, {
33
- span: number;
34
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
35
- export default DescriptionsItem;
@@ -1,4 +0,0 @@
1
- import { DescriptionsProps, default as Descriptions } from './descriptions';
2
- import { DescriptionsItemProps, default as DescriptionsItem } from './descriptions-item';
3
- export { Descriptions, DescriptionsItem };
4
- export type { DescriptionsItemProps, DescriptionsProps };
@@ -1,2 +0,0 @@
1
- import { ObjectDirective } from 'vue';
2
- export declare const clickOutside: ObjectDirective;
@@ -1,3 +0,0 @@
1
- import { ObjectDirective } from 'vue';
2
- declare const resize: ObjectDirective;
3
- export default resize;