kui-vue 5.2.2 → 5.3.0

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 (279) hide show
  1. package/dist/index.js +2 -2
  2. package/es/index.js +3385 -363
  3. package/es/locale/de.js +7 -1
  4. package/es/locale/el.js +7 -1
  5. package/es/locale/en.js +7 -1
  6. package/es/locale/fr.js +7 -1
  7. package/es/locale/it.js +7 -1
  8. package/es/locale/ja.js +7 -1
  9. package/es/locale/ko.js +7 -1
  10. package/es/locale/ru.js +7 -1
  11. package/es/locale/th.js +7 -1
  12. package/es/locale/uk.js +7 -1
  13. package/es/locale/vi.js +7 -1
  14. package/es/locale/zh-CN.js +7 -1
  15. package/es/locale/zh-TW.js +7 -1
  16. package/lib/index.js +2 -2
  17. package/lib/locale/de.js +2 -2
  18. package/lib/locale/el.js +2 -2
  19. package/lib/locale/en.js +2 -2
  20. package/lib/locale/fr.js +2 -2
  21. package/lib/locale/it.js +2 -2
  22. package/lib/locale/ja.js +2 -2
  23. package/lib/locale/ko.js +2 -2
  24. package/lib/locale/ru.js +2 -2
  25. package/lib/locale/th.js +2 -2
  26. package/lib/locale/uk.js +2 -2
  27. package/lib/locale/vi.js +2 -2
  28. package/lib/locale/zh-CN.js +2 -2
  29. package/lib/locale/zh-TW.js +2 -2
  30. package/package.json +20 -19
  31. package/style/index.css +2 -2
  32. package/types/avatar/avatar-group.d.ts +1 -1
  33. package/types/badge/index.d.ts +4 -4
  34. package/types/color-picker/index.d.ts +1 -1
  35. package/types/components.d.ts +6 -2
  36. package/types/date-picker/index.d.ts +1 -1
  37. package/types/descriptions/descriptions-item.d.ts +1 -1
  38. package/types/descriptions/descriptions.d.ts +1 -1
  39. package/types/divider/index.d.ts +1 -1
  40. package/types/drawer/index.d.ts +1 -1
  41. package/types/dropdown/dropdown-button.d.ts +1 -1
  42. package/types/dropdown/dropdown.d.ts +1 -1
  43. package/types/empty/index.d.ts +1 -1
  44. package/types/flex/index.d.ts +1 -1
  45. package/types/global.d.ts +8 -4
  46. package/types/input/input-box.d.ts +1 -1
  47. package/types/input/input-group.d.ts +1 -1
  48. package/types/input/input.d.ts +3 -3
  49. package/types/input/textarea.d.ts +2 -2
  50. package/types/input-number/index.d.ts +1 -1
  51. package/types/layout/index.d.ts +2 -2
  52. package/types/loading/index.d.ts +1 -1
  53. package/types/locale/de.d.ts +6 -0
  54. package/types/locale/el.d.ts +6 -0
  55. package/types/locale/en.d.ts +6 -0
  56. package/types/locale/fr.d.ts +6 -0
  57. package/types/locale/it.d.ts +6 -0
  58. package/types/locale/ja.d.ts +6 -0
  59. package/types/locale/ko.d.ts +6 -0
  60. package/types/locale/ru.d.ts +6 -0
  61. package/types/locale/th.d.ts +6 -0
  62. package/types/locale/uk.d.ts +6 -0
  63. package/types/locale/vi.d.ts +6 -0
  64. package/types/locale/zh-CN.d.ts +6 -0
  65. package/types/locale/zh-TW.d.ts +6 -0
  66. package/types/menu/menu-group.d.ts +1 -1
  67. package/types/menu/menu-item.d.ts +1 -1
  68. package/types/menu/menu.d.ts +1 -1
  69. package/types/menu/sub-menu.d.ts +1 -1
  70. package/types/modal/modal.d.ts +27 -7
  71. package/types/page/index.d.ts +1 -1
  72. package/types/popconfirm/index.d.ts +1 -1
  73. package/types/poptip/index.d.ts +1 -1
  74. package/types/progress/index.d.ts +1 -1
  75. package/types/qrcode/index.d.ts +165 -0
  76. package/types/radio/radio-button.d.ts +1 -1
  77. package/types/radio/radio-group.d.ts +1 -1
  78. package/types/radio/radio.d.ts +1 -1
  79. package/types/rate/index.d.ts +1 -1
  80. package/types/rate/star.d.ts +1 -1
  81. package/types/row-col/col.d.ts +1 -1
  82. package/types/row-col/row.d.ts +1 -1
  83. package/types/select/option.d.ts +1 -1
  84. package/types/select/select.d.ts +1 -1
  85. package/types/slider/index.d.ts +1 -1
  86. package/types/space/index.d.ts +1 -1
  87. package/types/spin/index.d.ts +1 -1
  88. package/types/stat-card/stat-card.d.ts +1 -1
  89. package/types/stat-card/stat-number.d.ts +1 -1
  90. package/types/switch/index.d.ts +1 -1
  91. package/types/table/index.d.ts +2 -2
  92. package/types/tabs/tab-panel.d.ts +1 -1
  93. package/types/tabs/tabs.d.ts +1 -4
  94. package/types/tag/index.d.ts +1 -1
  95. package/types/time-line/timeline-item.d.ts +1 -1
  96. package/types/time-line/timeline.d.ts +1 -1
  97. package/types/tooltip/index.d.ts +1 -1
  98. package/types/tree/index.d.ts +1 -1
  99. package/types/tree-select/index.d.ts +1 -1
  100. package/types/upload/file-list.d.ts +1 -1
  101. package/types/upload/index.d.ts +1 -1
  102. package/types/upload/selector.d.ts +1 -1
  103. package/types/utils/share.d.ts +12 -0
  104. package/types/watermark/index.d.ts +197 -0
  105. package/vetur/attributes.json +149 -37
  106. package/vetur/tags.json +52 -18
  107. package/vetur/web-types.json +282 -68
  108. package/es/affix/index.d.ts +0 -49
  109. package/es/alert/index.d.ts +0 -61
  110. package/es/anchor/anchor-link.d.ts +0 -23
  111. package/es/anchor/anchor.d.ts +0 -67
  112. package/es/anchor/index.d.ts +0 -5
  113. package/es/avatar/avatar-group.d.ts +0 -39
  114. package/es/avatar/avatar.d.ts +0 -43
  115. package/es/avatar/index.d.ts +0 -5
  116. package/es/back-top/index.d.ts +0 -46
  117. package/es/badge/index.d.ts +0 -49
  118. package/es/base/transition.d.ts +0 -3
  119. package/es/breadcrumb/breadcrumb-item.d.ts +0 -15
  120. package/es/breadcrumb/breadcrumb.d.ts +0 -22
  121. package/es/breadcrumb/index.d.ts +0 -5
  122. package/es/button/button-group.d.ts +0 -21
  123. package/es/button/button.d.ts +0 -39
  124. package/es/button/index.d.ts +0 -5
  125. package/es/card/index.d.ts +0 -30
  126. package/es/carousel/carousel-item.d.ts +0 -2
  127. package/es/carousel/carousel.d.ts +0 -84
  128. package/es/carousel/index.d.ts +0 -4
  129. package/es/checkbox/checkbox-group.d.ts +0 -79
  130. package/es/checkbox/checkbox.d.ts +0 -105
  131. package/es/checkbox/index.d.ts +0 -6
  132. package/es/collapse/collapse-panel.d.ts +0 -15
  133. package/es/collapse/collapse.d.ts +0 -32
  134. package/es/collapse/index.d.ts +0 -6
  135. package/es/color-picker/alpha.d.ts +0 -15
  136. package/es/color-picker/hue.d.ts +0 -17
  137. package/es/color-picker/index.d.ts +0 -110
  138. package/es/color-picker/mode.d.ts +0 -25
  139. package/es/color-picker/paint.d.ts +0 -26
  140. package/es/color-picker/presets.d.ts +0 -20
  141. package/es/components.d.ts +0 -113
  142. package/es/config/context.d.ts +0 -10
  143. package/es/config/index.d.ts +0 -16
  144. package/es/const/types.d.ts +0 -19
  145. package/es/const/var.d.ts +0 -1
  146. package/es/date-picker/index.d.ts +0 -277
  147. package/es/descriptions/descriptions-item.d.ts +0 -35
  148. package/es/descriptions/descriptions.d.ts +0 -54
  149. package/es/descriptions/index.d.ts +0 -4
  150. package/es/directives/outsiteclick.d.ts +0 -2
  151. package/es/directives/resize.d.ts +0 -3
  152. package/es/directives/scroll.d.ts +0 -2
  153. package/es/directives/transfer.d.ts +0 -2
  154. package/es/divider/index.d.ts +0 -42
  155. package/es/drawer/index.d.ts +0 -177
  156. package/es/dropdown/dropdown-button.d.ts +0 -45
  157. package/es/dropdown/dropdown.d.ts +0 -72
  158. package/es/dropdown/index.d.ts +0 -4
  159. package/es/dropdown/trigger.d.ts +0 -11
  160. package/es/empty/index.d.ts +0 -9
  161. package/es/flex/index.d.ts +0 -45
  162. package/es/form/form-item.d.ts +0 -24
  163. package/es/form/form.d.ts +0 -92
  164. package/es/form/index.d.ts +0 -6
  165. package/es/form/types.d.ts +0 -14
  166. package/es/grid/grid-item.d.ts +0 -22
  167. package/es/grid/grid.d.ts +0 -39
  168. package/es/grid/index.d.ts +0 -5
  169. package/es/grid/useBreakpoint.d.ts +0 -3
  170. package/es/icon/demo/search.d.ts +0 -2
  171. package/es/icon/demo/tags.d.ts +0 -4
  172. package/es/icon/index.d.ts +0 -45
  173. package/es/image/group.d.ts +0 -11
  174. package/es/image/image.d.ts +0 -45
  175. package/es/image/index.d.ts +0 -5
  176. package/es/image/instance.d.ts +0 -2
  177. package/es/image/preview.d.ts +0 -36
  178. package/es/image/utils.d.ts +0 -6
  179. package/es/index.d.ts +0 -10
  180. package/es/input/index.d.ts +0 -8
  181. package/es/input/input-box.d.ts +0 -39
  182. package/es/input/input-group.d.ts +0 -58
  183. package/es/input/input.d.ts +0 -56
  184. package/es/input/textarea.d.ts +0 -25
  185. package/es/input-number/index.d.ts +0 -127
  186. package/es/layout/index.d.ts +0 -136
  187. package/es/loading/index.d.ts +0 -16
  188. package/es/locale/de.d.ts +0 -59
  189. package/es/locale/el.d.ts +0 -59
  190. package/es/locale/en.d.ts +0 -59
  191. package/es/locale/fr.d.ts +0 -59
  192. package/es/locale/it.d.ts +0 -59
  193. package/es/locale/ja.d.ts +0 -59
  194. package/es/locale/ko.d.ts +0 -59
  195. package/es/locale/ru.d.ts +0 -59
  196. package/es/locale/th.d.ts +0 -59
  197. package/es/locale/uk.d.ts +0 -59
  198. package/es/locale/vi.d.ts +0 -59
  199. package/es/locale/zh-CN.d.ts +0 -59
  200. package/es/locale/zh-TW.d.ts +0 -59
  201. package/es/menu/index.d.ts +0 -7
  202. package/es/menu/menu-divider.d.ts +0 -2
  203. package/es/menu/menu-group.d.ts +0 -20
  204. package/es/menu/menu-item.d.ts +0 -22
  205. package/es/menu/menu.d.ts +0 -92
  206. package/es/menu/recursive-menu.d.ts +0 -17
  207. package/es/menu/sub-menu.d.ts +0 -24
  208. package/es/message/index.d.ts +0 -23
  209. package/es/modal/index.d.ts +0 -26
  210. package/es/modal/modal.d.ts +0 -176
  211. package/es/modal/toast.d.ts +0 -32
  212. package/es/notice/container.d.ts +0 -6
  213. package/es/notice/content.d.ts +0 -54
  214. package/es/notice/index.d.ts +0 -23
  215. package/es/notice/instance.d.ts +0 -8
  216. package/es/page/index.d.ts +0 -115
  217. package/es/popconfirm/index.d.ts +0 -75
  218. package/es/poptip/index.d.ts +0 -66
  219. package/es/progress/index.d.ts +0 -125
  220. package/es/radio/index.d.ts +0 -7
  221. package/es/radio/radio-button.d.ts +0 -76
  222. package/es/radio/radio-group.d.ts +0 -77
  223. package/es/radio/radio.d.ts +0 -73
  224. package/es/radio/types.d.ts +0 -5
  225. package/es/rate/index.d.ts +0 -99
  226. package/es/rate/star.d.ts +0 -65
  227. package/es/row-col/col.d.ts +0 -17
  228. package/es/row-col/index.d.ts +0 -5
  229. package/es/row-col/row.d.ts +0 -43
  230. package/es/select/index.d.ts +0 -5
  231. package/es/select/option.d.ts +0 -23
  232. package/es/select/select.d.ts +0 -150
  233. package/es/skeleton/index.d.ts +0 -7
  234. package/es/skeleton/skeleton-avatar.d.ts +0 -58
  235. package/es/skeleton/skeleton-button.d.ts +0 -58
  236. package/es/skeleton/skeleton-image.d.ts +0 -58
  237. package/es/skeleton/skeleton-text.d.ts +0 -58
  238. package/es/skeleton/skeleton.d.ts +0 -61
  239. package/es/skeleton/types.d.ts +0 -29
  240. package/es/slider/index.d.ts +0 -112
  241. package/es/slider/thumb.d.ts +0 -58
  242. package/es/space/index.d.ts +0 -50
  243. package/es/spin/index.d.ts +0 -58
  244. package/es/splitter/index.d.ts +0 -4
  245. package/es/splitter/splitter-panel.d.ts +0 -35
  246. package/es/splitter/splitter.d.ts +0 -32
  247. package/es/stat-card/countup.d.ts +0 -56
  248. package/es/stat-card/index.d.ts +0 -5
  249. package/es/stat-card/rollup.d.ts +0 -32
  250. package/es/stat-card/stat-card.d.ts +0 -72
  251. package/es/stat-card/stat-number.d.ts +0 -100
  252. package/es/stat-card/utils/countup.d.ts +0 -127
  253. package/es/stat-card/utils/odometer.d.ts +0 -13
  254. package/es/switch/index.d.ts +0 -72
  255. package/es/table/index.d.ts +0 -185
  256. package/es/tabs/index.d.ts +0 -5
  257. package/es/tabs/tab-panel.d.ts +0 -22
  258. package/es/tabs/tabs.d.ts +0 -44
  259. package/es/tabs/types.d.ts +0 -16
  260. package/es/tag/index.d.ts +0 -57
  261. package/es/time-line/index.d.ts +0 -5
  262. package/es/time-line/timeline-item.d.ts +0 -20
  263. package/es/time-line/timeline.d.ts +0 -26
  264. package/es/tooltip/index.d.ts +0 -42
  265. package/es/tree/index.d.ts +0 -179
  266. package/es/tree/utils.d.ts +0 -32
  267. package/es/tree-select/index.d.ts +0 -224
  268. package/es/upload/file-list.d.ts +0 -59
  269. package/es/upload/index.d.ts +0 -190
  270. package/es/upload/selector.d.ts +0 -73
  271. package/es/utils/checked.d.ts +0 -2
  272. package/es/utils/color.d.ts +0 -1
  273. package/es/utils/element.d.ts +0 -4
  274. package/es/utils/mouse.d.ts +0 -1
  275. package/es/utils/number.d.ts +0 -6
  276. package/es/utils/placement.d.ts +0 -16
  277. package/es/utils/theme.d.ts +0 -5
  278. package/es/utils/vnode.d.ts +0 -5
  279. package/es/utils/vue.d.ts +0 -5
@@ -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;
@@ -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;