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,32 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- declare const collapseProps: {
4
- openKeys: {
5
- type: PropType<(string | number)[]>;
6
- default: () => never[];
7
- };
8
- accordion: BooleanType;
9
- sample: BooleanType;
10
- onChange: PropType<(key: string | number) => void>;
11
- };
12
- export type CollapseProps = ExtractPropTypes<typeof collapseProps>;
13
- declare const Collapse: import('vue').DefineComponent<ExtractPropTypes<{
14
- openKeys: {
15
- type: PropType<(string | number)[]>;
16
- default: () => never[];
17
- };
18
- accordion: BooleanType;
19
- sample: BooleanType;
20
- onChange: PropType<(key: string | number) => void>;
21
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
22
- openKeys: {
23
- type: PropType<(string | number)[]>;
24
- default: () => never[];
25
- };
26
- accordion: BooleanType;
27
- sample: BooleanType;
28
- onChange: PropType<(key: string | number) => void>;
29
- }>> & Readonly<{}>, {
30
- openKeys: (string | number)[];
31
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
- export default Collapse;
@@ -1,54 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DirectionType, SizeType } from '../const/types';
3
- export declare const descriptionsProps: {
4
- bordered: BooleanType;
5
- column: {
6
- type: NumberConstructor;
7
- default: number;
8
- };
9
- layout: {
10
- type: PropType<DirectionType>;
11
- default: string;
12
- };
13
- title: StringConstructor;
14
- extra: StringConstructor;
15
- size: {
16
- type: PropType<SizeType>;
17
- };
18
- };
19
- export type DescriptionsProps = ExtractPropTypes<typeof descriptionsProps>;
20
- declare const Descriptions: import('vue').DefineComponent<ExtractPropTypes<{
21
- bordered: BooleanType;
22
- column: {
23
- type: NumberConstructor;
24
- default: number;
25
- };
26
- layout: {
27
- type: PropType<DirectionType>;
28
- default: string;
29
- };
30
- title: StringConstructor;
31
- extra: StringConstructor;
32
- size: {
33
- type: PropType<SizeType>;
34
- };
35
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
36
- bordered: BooleanType;
37
- column: {
38
- type: NumberConstructor;
39
- default: number;
40
- };
41
- layout: {
42
- type: PropType<DirectionType>;
43
- default: string;
44
- };
45
- title: StringConstructor;
46
- extra: StringConstructor;
47
- size: {
48
- type: PropType<SizeType>;
49
- };
50
- }>> & Readonly<{}>, {
51
- column: number;
52
- layout: DirectionType;
53
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
54
- export default Descriptions;
@@ -1,72 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DropPlacementsType, TriggerType } from '../const/types';
3
- export declare const dropdownProps: {
4
- trigger: {
5
- type: PropType<TriggerType>;
6
- default: string;
7
- };
8
- disabled: BooleanType;
9
- arrow: {
10
- type: BooleanType;
11
- default: boolean;
12
- };
13
- show: BooleanType;
14
- placement: {
15
- type: PropType<DropPlacementsType>;
16
- default: string;
17
- };
18
- target: ObjectConstructor;
19
- onOpenChange: {
20
- type: PropType<(opened: boolean) => void>;
21
- };
22
- };
23
- export type DropdownProps = ExtractPropTypes<typeof dropdownProps>;
24
- declare const Dropdown: import('vue').DefineComponent<ExtractPropTypes<{
25
- trigger: {
26
- type: PropType<TriggerType>;
27
- default: string;
28
- };
29
- disabled: BooleanType;
30
- arrow: {
31
- type: BooleanType;
32
- default: boolean;
33
- };
34
- show: BooleanType;
35
- placement: {
36
- type: PropType<DropPlacementsType>;
37
- default: string;
38
- };
39
- target: ObjectConstructor;
40
- onOpenChange: {
41
- type: PropType<(opened: boolean) => void>;
42
- };
43
- }>, () => (import('vue').VNode<unknown, unknown, {
44
- [key: string]: any;
45
- }> | null)[], {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
46
- trigger: {
47
- type: PropType<TriggerType>;
48
- default: string;
49
- };
50
- disabled: BooleanType;
51
- arrow: {
52
- type: BooleanType;
53
- default: boolean;
54
- };
55
- show: BooleanType;
56
- placement: {
57
- type: PropType<DropPlacementsType>;
58
- default: string;
59
- };
60
- target: ObjectConstructor;
61
- onOpenChange: {
62
- type: PropType<(opened: boolean) => void>;
63
- };
64
- }>> & Readonly<{}>, {
65
- placement: DropPlacementsType;
66
- trigger: TriggerType;
67
- arrow: boolean | undefined;
68
- }, {}, {}, {
69
- transfer: import('vue').ObjectDirective<any, any, string, any>;
70
- resize: import('vue').ObjectDirective<any, any, string, any>;
71
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
72
- export default Dropdown;
@@ -1,92 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DirectionType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- import { ColProps, FormRule } from './types';
4
- export interface FormSubmitEvent {
5
- valid: boolean;
6
- }
7
- declare const formProps: {
8
- layout: {
9
- type: PropType<DirectionType>;
10
- default: string;
11
- };
12
- model: PropType<Record<string, any>>;
13
- name: StringConstructor;
14
- labelCol: PropType<ColProps>;
15
- wrapperCol: PropType<ColProps>;
16
- rules: {
17
- type: PropType<Record<string, FormRule[]>>;
18
- };
19
- size: {
20
- type: PropType<SizeType>;
21
- };
22
- theme: PropType<ThemeType>;
23
- shape: PropType<ShapeType>;
24
- disabled: BooleanType;
25
- onSubmit: {
26
- type: PropType<(e: FormSubmitEvent) => void>;
27
- };
28
- onReset: {
29
- type: PropType<() => void>;
30
- };
31
- };
32
- export interface FormExpose {
33
- validate: (callback?: (result: {
34
- valid: boolean;
35
- }) => void) => void;
36
- reset: () => void;
37
- test: (key: string) => void;
38
- submit: (e: FormSubmitEvent) => void;
39
- }
40
- export type FormProps = ExtractPropTypes<typeof formProps>;
41
- declare const Form: import('vue').DefineComponent<ExtractPropTypes<{
42
- layout: {
43
- type: PropType<DirectionType>;
44
- default: string;
45
- };
46
- model: PropType<Record<string, any>>;
47
- name: StringConstructor;
48
- labelCol: PropType<ColProps>;
49
- wrapperCol: PropType<ColProps>;
50
- rules: {
51
- type: PropType<Record<string, FormRule[]>>;
52
- };
53
- size: {
54
- type: PropType<SizeType>;
55
- };
56
- theme: PropType<ThemeType>;
57
- shape: PropType<ShapeType>;
58
- disabled: BooleanType;
59
- onSubmit: {
60
- type: PropType<(e: FormSubmitEvent) => void>;
61
- };
62
- onReset: {
63
- type: PropType<() => void>;
64
- };
65
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
66
- layout: {
67
- type: PropType<DirectionType>;
68
- default: string;
69
- };
70
- model: PropType<Record<string, any>>;
71
- name: StringConstructor;
72
- labelCol: PropType<ColProps>;
73
- wrapperCol: PropType<ColProps>;
74
- rules: {
75
- type: PropType<Record<string, FormRule[]>>;
76
- };
77
- size: {
78
- type: PropType<SizeType>;
79
- };
80
- theme: PropType<ThemeType>;
81
- shape: PropType<ShapeType>;
82
- disabled: BooleanType;
83
- onSubmit: {
84
- type: PropType<(e: FormSubmitEvent) => void>;
85
- };
86
- onReset: {
87
- type: PropType<() => void>;
88
- };
89
- }>> & Readonly<{}>, {
90
- layout: DirectionType;
91
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
92
- export default Form;
@@ -1,39 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, HTMLAttributes } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- declare const gridProps: {
4
- cols: {
5
- type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
6
- default: number;
7
- };
8
- rows: {
9
- type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
10
- default: string;
11
- };
12
- autoRows: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- xGap: {
17
- type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
18
- default: number;
19
- };
20
- yGap: {
21
- type: (NumberConstructor | ObjectConstructor | StringConstructor)[];
22
- default: number;
23
- };
24
- itemMinWidth: {
25
- type: NumberConstructor;
26
- };
27
- align: {
28
- type: StringConstructor;
29
- };
30
- justify: {
31
- type: StringConstructor;
32
- };
33
- debug: {
34
- type: BooleanType;
35
- };
36
- };
37
- export type GridProps = Partial<ExtractPropTypes<typeof gridProps>> & HTMLAttributes;
38
- declare const _default: DefineComponent<GridProps>;
39
- export default _default;
@@ -1,58 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, InputHTMLAttributes, PropType, VNodeChild } from 'vue';
2
- import { BooleanType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- import { IconType } from '../icon';
4
- declare const inputProps: {
5
- clearable: {
6
- type: BooleanType;
7
- default: boolean;
8
- };
9
- visiblePasswordIcon: {
10
- type: BooleanType;
11
- default: boolean;
12
- };
13
- size: {
14
- type: PropType<SizeType>;
15
- };
16
- modelValue: {
17
- type: PropType<any>;
18
- };
19
- disabled: BooleanType;
20
- type: {
21
- type: PropType<"text" | "password" | "hidden">;
22
- default: string;
23
- };
24
- icon: PropType<IconType[]>;
25
- suffix: {
26
- type: PropType<VNodeChild>;
27
- };
28
- readonly: BooleanType;
29
- prefix: {
30
- type: PropType<VNodeChild>;
31
- };
32
- theme: {
33
- type: PropType<ThemeType>;
34
- default: string;
35
- };
36
- shape: PropType<ShapeType>;
37
- inputType: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- onSearch: {
42
- type: PropType<(value: string) => void>;
43
- };
44
- maxlength: NumberConstructor;
45
- "onUpdate:modelValue": PropType<(value: string) => void>;
46
- onIconClick: {
47
- type: PropType<(e: PointerEvent) => void>;
48
- };
49
- onClear: {
50
- type: PropType<() => void>;
51
- };
52
- onChange: {
53
- type: PropType<(value: string) => void>;
54
- };
55
- };
56
- export type InputProps = Partial<ExtractPropTypes<typeof inputProps>> & Omit<InputHTMLAttributes, "onChange">;
57
- declare const _default: DefineComponent<InputProps>;
58
- export default _default;
@@ -1,26 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, PropType, TextareaHTMLAttributes } from 'vue';
2
- import { BooleanType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- export declare const textAreaProps: {
4
- modelValue: PropType<any>;
5
- theme: {
6
- type: PropType<ThemeType>;
7
- default: string;
8
- };
9
- shape: {
10
- type: PropType<ShapeType>;
11
- };
12
- size: PropType<SizeType>;
13
- placeholder: StringConstructor;
14
- rows: {
15
- type: NumberConstructor;
16
- default: number;
17
- };
18
- disabled: BooleanType;
19
- readonly: BooleanType;
20
- onChange: {
21
- type: PropType<(value: string) => void>;
22
- };
23
- };
24
- export type TextAreaProps = Partial<ExtractPropTypes<typeof textAreaProps>> & Omit<TextareaHTMLAttributes, "onChange">;
25
- declare const _default: DefineComponent<TextAreaProps>;
26
- export default _default;
@@ -1,92 +0,0 @@
1
- import { ExtractPropTypes, PropType, VNode } from 'vue';
2
- import { BooleanType, DirectionType } from '../const/types';
3
- import { IconType } from '../icon';
4
- export interface MenuSelectEvent {
5
- key: string;
6
- keyPath: string[];
7
- }
8
- export declare const menuProps: {
9
- theme: StringConstructor;
10
- mode: {
11
- type: PropType<DirectionType>;
12
- default: string;
13
- };
14
- modelValue: {
15
- type: PropType<string[]>;
16
- default: () => never[];
17
- };
18
- accordion: BooleanType;
19
- items: PropType<MenuOptionsProps[]>;
20
- inlineCollapsed: BooleanType;
21
- openKeys: {
22
- type: PropType<string[]>;
23
- default: () => never[];
24
- };
25
- onSelect: {
26
- type: PropType<(data: MenuSelectEvent) => void>;
27
- };
28
- onOpenChange: {
29
- type: PropType<(openKeys: string[]) => void>;
30
- };
31
- };
32
- export interface MenuOptionsProps {
33
- icon?: IconType[];
34
- title?: string | VNode;
35
- key: string;
36
- disabled?: boolean;
37
- children?: MenuOptionsProps[];
38
- [key: string]: any;
39
- }
40
- export type MenuProps = ExtractPropTypes<typeof menuProps>;
41
- declare const Menu: import('vue').DefineComponent<ExtractPropTypes<{
42
- theme: StringConstructor;
43
- mode: {
44
- type: PropType<DirectionType>;
45
- default: string;
46
- };
47
- modelValue: {
48
- type: PropType<string[]>;
49
- default: () => never[];
50
- };
51
- accordion: BooleanType;
52
- items: PropType<MenuOptionsProps[]>;
53
- inlineCollapsed: BooleanType;
54
- openKeys: {
55
- type: PropType<string[]>;
56
- default: () => never[];
57
- };
58
- onSelect: {
59
- type: PropType<(data: MenuSelectEvent) => void>;
60
- };
61
- onOpenChange: {
62
- type: PropType<(openKeys: string[]) => void>;
63
- };
64
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
65
- theme: StringConstructor;
66
- mode: {
67
- type: PropType<DirectionType>;
68
- default: string;
69
- };
70
- modelValue: {
71
- type: PropType<string[]>;
72
- default: () => never[];
73
- };
74
- accordion: BooleanType;
75
- items: PropType<MenuOptionsProps[]>;
76
- inlineCollapsed: BooleanType;
77
- openKeys: {
78
- type: PropType<string[]>;
79
- default: () => never[];
80
- };
81
- onSelect: {
82
- type: PropType<(data: MenuSelectEvent) => void>;
83
- };
84
- onOpenChange: {
85
- type: PropType<(openKeys: string[]) => void>;
86
- };
87
- }>> & Readonly<{}>, {
88
- mode: DirectionType;
89
- modelValue: string[];
90
- openKeys: string[];
91
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
92
- export default Menu;
@@ -1,156 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- export declare const modalProps: {
4
- modelValue: BooleanType;
5
- title: StringConstructor;
6
- okText: StringConstructor;
7
- cancelText: StringConstructor;
8
- top: NumberConstructor;
9
- width: NumberConstructor;
10
- transfer: {
11
- type: BooleanType;
12
- default: boolean;
13
- };
14
- mask: {
15
- type: BooleanType;
16
- default: boolean;
17
- };
18
- maskClosable: {
19
- type: BooleanType;
20
- default: boolean;
21
- };
22
- maximized: BooleanType;
23
- centered: BooleanType;
24
- draggable: BooleanType;
25
- showClose: {
26
- type: BooleanType;
27
- default: boolean;
28
- };
29
- loading: BooleanType;
30
- footer: {
31
- type: BooleanType;
32
- default: boolean;
33
- };
34
- escKey: {
35
- type: BooleanType;
36
- default: boolean;
37
- };
38
- onClose: {
39
- type: PropType<() => void>;
40
- };
41
- onOk: {
42
- type: PropType<() => void>;
43
- };
44
- onCancel: {
45
- type: PropType<() => void>;
46
- };
47
- onOpenChange: {
48
- type: PropType<(opened: boolean) => void>;
49
- };
50
- };
51
- export type ModalProps = ExtractPropTypes<typeof modalProps>;
52
- declare const Modal: import('vue').DefineComponent<ExtractPropTypes<{
53
- modelValue: BooleanType;
54
- title: StringConstructor;
55
- okText: StringConstructor;
56
- cancelText: StringConstructor;
57
- top: NumberConstructor;
58
- width: NumberConstructor;
59
- transfer: {
60
- type: BooleanType;
61
- default: boolean;
62
- };
63
- mask: {
64
- type: BooleanType;
65
- default: boolean;
66
- };
67
- maskClosable: {
68
- type: BooleanType;
69
- default: boolean;
70
- };
71
- maximized: BooleanType;
72
- centered: BooleanType;
73
- draggable: BooleanType;
74
- showClose: {
75
- type: BooleanType;
76
- default: boolean;
77
- };
78
- loading: BooleanType;
79
- footer: {
80
- type: BooleanType;
81
- default: boolean;
82
- };
83
- escKey: {
84
- type: BooleanType;
85
- default: boolean;
86
- };
87
- onClose: {
88
- type: PropType<() => void>;
89
- };
90
- onOk: {
91
- type: PropType<() => void>;
92
- };
93
- onCancel: {
94
- type: PropType<() => void>;
95
- };
96
- onOpenChange: {
97
- type: PropType<(opened: boolean) => void>;
98
- };
99
- }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
100
- modelValue: BooleanType;
101
- title: StringConstructor;
102
- okText: StringConstructor;
103
- cancelText: StringConstructor;
104
- top: NumberConstructor;
105
- width: NumberConstructor;
106
- transfer: {
107
- type: BooleanType;
108
- default: boolean;
109
- };
110
- mask: {
111
- type: BooleanType;
112
- default: boolean;
113
- };
114
- maskClosable: {
115
- type: BooleanType;
116
- default: boolean;
117
- };
118
- maximized: BooleanType;
119
- centered: BooleanType;
120
- draggable: BooleanType;
121
- showClose: {
122
- type: BooleanType;
123
- default: boolean;
124
- };
125
- loading: BooleanType;
126
- footer: {
127
- type: BooleanType;
128
- default: boolean;
129
- };
130
- escKey: {
131
- type: BooleanType;
132
- default: boolean;
133
- };
134
- onClose: {
135
- type: PropType<() => void>;
136
- };
137
- onOk: {
138
- type: PropType<() => void>;
139
- };
140
- onCancel: {
141
- type: PropType<() => void>;
142
- };
143
- onOpenChange: {
144
- type: PropType<(opened: boolean) => void>;
145
- };
146
- }>> & Readonly<{}>, {
147
- mask: boolean | undefined;
148
- footer: boolean | undefined;
149
- transfer: boolean | undefined;
150
- maskClosable: boolean | undefined;
151
- escKey: boolean | undefined;
152
- showClose: boolean | undefined;
153
- }, {}, {}, {
154
- transfer: import('vue').ObjectDirective<any, any, string, any>;
155
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
156
- export default Modal;
@@ -1,73 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, SizeType, ThemeType } from '../const/types';
3
- import { ChangeEvent } from './types';
4
- export declare const radioProps: {
5
- modelValue: {
6
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
7
- default: boolean;
8
- };
9
- value: {
10
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
11
- };
12
- label: {
13
- type: StringConstructor;
14
- };
15
- checked: BooleanType;
16
- disabled: BooleanType;
17
- theme: {
18
- type: PropType<ThemeType>;
19
- default: string;
20
- };
21
- size: {
22
- type: PropType<SizeType>;
23
- };
24
- onChange: PropType<(e: ChangeEvent) => void>;
25
- };
26
- export type RadioProps = ExtractPropTypes<typeof radioProps>;
27
- declare const Radio: import('vue').DefineComponent<ExtractPropTypes<{
28
- modelValue: {
29
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
30
- default: boolean;
31
- };
32
- value: {
33
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
34
- };
35
- label: {
36
- type: StringConstructor;
37
- };
38
- checked: BooleanType;
39
- disabled: BooleanType;
40
- theme: {
41
- type: PropType<ThemeType>;
42
- default: string;
43
- };
44
- size: {
45
- type: PropType<SizeType>;
46
- };
47
- onChange: PropType<(e: ChangeEvent) => void>;
48
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
49
- modelValue: {
50
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
51
- default: boolean;
52
- };
53
- value: {
54
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
55
- };
56
- label: {
57
- type: StringConstructor;
58
- };
59
- checked: BooleanType;
60
- disabled: BooleanType;
61
- theme: {
62
- type: PropType<ThemeType>;
63
- default: string;
64
- };
65
- size: {
66
- type: PropType<SizeType>;
67
- };
68
- onChange: PropType<(e: ChangeEvent) => void>;
69
- }>> & Readonly<{}>, {
70
- theme: ThemeType;
71
- modelValue: string | number | boolean;
72
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
73
- export default Radio;