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
package/es/locale/uk.d.ts DELETED
@@ -1,59 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- k: {
4
- datePicker: {
5
- year: string;
6
- month: string;
7
- selectYear: string;
8
- selectMonth: string;
9
- selectDate: string;
10
- selectTime: string;
11
- startDate: string;
12
- endDate: string;
13
- today: string;
14
- now: string;
15
- ok: string;
16
- back: string;
17
- };
18
- form: {
19
- required: string;
20
- email: string;
21
- phone: string;
22
- number: string;
23
- num_min: string;
24
- num_max: string;
25
- };
26
- empty: {
27
- description: string;
28
- };
29
- common: {
30
- ok: string;
31
- cancel: string;
32
- };
33
- page: {
34
- page: string;
35
- pageSize: string;
36
- goto: string;
37
- items: string;
38
- total: string;
39
- };
40
- select: {
41
- placeholder: string;
42
- loading: string;
43
- emptyText: string;
44
- };
45
- table: {
46
- emptyText: string;
47
- };
48
- upload: {
49
- successful: string;
50
- failed: string;
51
- errorFileSize: string;
52
- releaseToUpload: string;
53
- };
54
- image: {
55
- preview: string;
56
- };
57
- };
58
- };
59
- export default _default;
package/es/locale/vi.d.ts DELETED
@@ -1,59 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- k: {
4
- datePicker: {
5
- year: string;
6
- month: string;
7
- selectYear: string;
8
- selectMonth: string;
9
- selectDate: string;
10
- selectTime: string;
11
- startDate: string;
12
- endDate: string;
13
- today: string;
14
- now: string;
15
- ok: string;
16
- back: string;
17
- };
18
- form: {
19
- required: string;
20
- email: string;
21
- phone: string;
22
- number: string;
23
- num_min: string;
24
- num_max: string;
25
- };
26
- empty: {
27
- description: string;
28
- };
29
- common: {
30
- ok: string;
31
- cancel: string;
32
- };
33
- page: {
34
- page: string;
35
- pageSize: string;
36
- goto: string;
37
- items: string;
38
- total: string;
39
- };
40
- select: {
41
- placeholder: string;
42
- loading: string;
43
- emptyText: string;
44
- };
45
- table: {
46
- emptyText: string;
47
- };
48
- upload: {
49
- successful: string;
50
- failed: string;
51
- errorFileSize: string;
52
- releaseToUpload: string;
53
- };
54
- image: {
55
- preview: string;
56
- };
57
- };
58
- };
59
- export default _default;
@@ -1,59 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- k: {
4
- datePicker: {
5
- year: string;
6
- month: string;
7
- selectYear: string;
8
- selectMonth: string;
9
- selectDate: string;
10
- selectTime: string;
11
- startDate: string;
12
- endDate: string;
13
- today: string;
14
- now: string;
15
- ok: string;
16
- back: string;
17
- };
18
- form: {
19
- required: string;
20
- email: string;
21
- phone: string;
22
- number: string;
23
- num_min: string;
24
- num_max: string;
25
- };
26
- empty: {
27
- description: string;
28
- };
29
- common: {
30
- ok: string;
31
- cancel: string;
32
- };
33
- page: {
34
- page: string;
35
- pageSize: string;
36
- goto: string;
37
- items: string;
38
- total: string;
39
- };
40
- select: {
41
- placeholder: string;
42
- loading: string;
43
- emptyText: string;
44
- };
45
- table: {
46
- emptyText: string;
47
- };
48
- upload: {
49
- successful: string;
50
- failed: string;
51
- errorFileSize: string;
52
- releaseToUpload: string;
53
- };
54
- image: {
55
- preview: string;
56
- };
57
- };
58
- };
59
- export default _default;
@@ -1,59 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- k: {
4
- datePicker: {
5
- year: string;
6
- month: string;
7
- selectYear: string;
8
- selectMonth: string;
9
- selectDate: string;
10
- selectTime: string;
11
- startDate: string;
12
- endDate: string;
13
- today: string;
14
- now: string;
15
- ok: string;
16
- back: string;
17
- };
18
- form: {
19
- required: string;
20
- email: string;
21
- phone: string;
22
- number: string;
23
- num_min: string;
24
- num_max: string;
25
- };
26
- empty: {
27
- description: string;
28
- };
29
- common: {
30
- ok: string;
31
- cancel: string;
32
- };
33
- page: {
34
- page: string;
35
- pageSize: string;
36
- goto: string;
37
- items: string;
38
- total: string;
39
- };
40
- select: {
41
- placeholder: string;
42
- loading: string;
43
- emptyText: string;
44
- };
45
- table: {
46
- emptyText: string;
47
- };
48
- upload: {
49
- successful: string;
50
- failed: string;
51
- errorFileSize: string;
52
- releaseToUpload: string;
53
- };
54
- image: {
55
- preview: string;
56
- };
57
- };
58
- };
59
- export default _default;
@@ -1,7 +0,0 @@
1
- import { default as Menu, MenuOptionsProps, MenuProps, MenuSelectEvent } from './menu';
2
- import { default as MenuDivider } from './menu-divider';
3
- import { default as MenuGroup, MenuGroupProps } from './menu-group';
4
- import { default as MenuItem, MenuItemProps } from './menu-item';
5
- import { default as SubMenu, SubMenuProps } from './sub-menu';
6
- export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu };
7
- export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps };
@@ -1,2 +0,0 @@
1
- declare const MenuDivider: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- export default MenuDivider;
@@ -1,20 +0,0 @@
1
- import { ExtractPropTypes } from 'vue';
2
- export declare const menuGroupProps: {
3
- title: {
4
- type: StringConstructor;
5
- required: boolean;
6
- };
7
- };
8
- export type MenuGroupProps = ExtractPropTypes<typeof menuGroupProps>;
9
- declare const MenuGroup: import('vue').DefineComponent<ExtractPropTypes<{
10
- title: {
11
- type: StringConstructor;
12
- required: boolean;
13
- };
14
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
15
- title: {
16
- type: StringConstructor;
17
- required: boolean;
18
- };
19
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
- export default MenuGroup;
@@ -1,22 +0,0 @@
1
- import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { IconType } from '../icon';
4
- export declare const menuItemProps: {
5
- icon: PropType<IconType[]>;
6
- title: PropType<string | VNodeChild>;
7
- disabled: BooleanType;
8
- isPopup: BooleanType;
9
- };
10
- export type MenuItemProps = ExtractPropTypes<typeof menuItemProps>;
11
- declare const MenuItem: import('vue').DefineComponent<ExtractPropTypes<{
12
- icon: PropType<IconType[]>;
13
- title: PropType<string | VNodeChild>;
14
- disabled: BooleanType;
15
- isPopup: BooleanType;
16
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
17
- icon: PropType<IconType[]>;
18
- title: PropType<string | VNodeChild>;
19
- disabled: BooleanType;
20
- isPopup: BooleanType;
21
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
- export default MenuItem;
package/es/menu/menu.d.ts DELETED
@@ -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,17 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { MenuOptionsProps } from './menu';
4
- declare const RecursiveMenu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
- item: {
6
- type: PropType<MenuOptionsProps>;
7
- required: true;
8
- };
9
- isPopup: BooleanType;
10
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
- item: {
12
- type: PropType<MenuOptionsProps>;
13
- required: true;
14
- };
15
- isPopup: BooleanType;
16
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
- export default RecursiveMenu;
@@ -1,24 +0,0 @@
1
- import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { IconType } from '../icon';
4
- export declare const submenuProps: {
5
- disabled: BooleanType;
6
- title: PropType<string | VNodeChild>;
7
- isPopup: BooleanType;
8
- icon: PropType<IconType[]>;
9
- };
10
- export type SubMenuProps = ExtractPropTypes<typeof submenuProps>;
11
- declare const SubMenu: import('vue').DefineComponent<ExtractPropTypes<{
12
- disabled: BooleanType;
13
- title: PropType<string | VNodeChild>;
14
- isPopup: BooleanType;
15
- icon: PropType<IconType[]>;
16
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
17
- disabled: BooleanType;
18
- title: PropType<string | VNodeChild>;
19
- isPopup: BooleanType;
20
- icon: PropType<IconType[]>;
21
- }>> & Readonly<{}>, {}, {}, {}, {
22
- transfer: import('vue').ObjectDirective<any, any, string, any>;
23
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
- export default SubMenu;
@@ -1,23 +0,0 @@
1
- import { NoticeType } from '../const/types';
2
- import { IconType } from '../icon';
3
- export interface MessageOptions {
4
- type?: NoticeType;
5
- content?: string;
6
- duration?: number;
7
- closable?: boolean;
8
- icon?: IconType[];
9
- color?: string;
10
- onClose?: () => void;
11
- }
12
- export interface MessageApi {
13
- name: "message";
14
- info(content: string, duration?: number, onClose?: () => void): void;
15
- success(content: string, duration?: number, onClose?: () => void): void;
16
- warning(content: string, duration?: number, onClose?: () => void): void;
17
- error(content: string, duration?: number, onClose?: () => void): void;
18
- loading(content: string, duration?: number): () => void;
19
- show(options: MessageOptions): () => void;
20
- destroy(): void;
21
- }
22
- declare const message: MessageApi;
23
- export default message;
@@ -1,26 +0,0 @@
1
- import { IconType } from '../icon';
2
- import { default as Modal } from './modal';
3
- export type { ModalProps } from './modal';
4
- export interface ModalApiProps {
5
- title: string;
6
- okText?: string;
7
- cancelText?: string;
8
- content: string;
9
- color?: string;
10
- icon?: IconType[];
11
- onOk?: Function;
12
- onCancel?: Function;
13
- type?: "info" | "success" | "error" | "warning" | "confirm";
14
- }
15
- export interface ModalApi {
16
- name?: "modal";
17
- show(props: ModalApiProps): void;
18
- info(props: ModalApiProps): void;
19
- success(props: ModalApiProps): void;
20
- warning(props: ModalApiProps): void;
21
- confirm(props: ModalApiProps): void;
22
- error(props: ModalApiProps): void;
23
- destroyAll(): void;
24
- }
25
- export declare const modal: ModalApi;
26
- export default Modal;
@@ -1,176 +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
- width: {
9
- type: PropType<number | string>;
10
- default: number;
11
- };
12
- top: {
13
- type: PropType<number>;
14
- default: number;
15
- };
16
- transfer: {
17
- type: BooleanType;
18
- default: boolean;
19
- };
20
- mask: {
21
- type: BooleanType;
22
- default: boolean;
23
- };
24
- maskClosable: {
25
- type: BooleanType;
26
- default: boolean;
27
- };
28
- maximized: BooleanType;
29
- centered: BooleanType;
30
- draggable: BooleanType;
31
- showClose: {
32
- type: BooleanType;
33
- default: boolean;
34
- };
35
- loading: BooleanType;
36
- footer: {
37
- type: BooleanType;
38
- default: boolean;
39
- };
40
- escKey: {
41
- type: BooleanType;
42
- default: boolean;
43
- };
44
- onClose: {
45
- type: PropType<() => void>;
46
- };
47
- onOk: {
48
- type: PropType<() => void>;
49
- };
50
- onCancel: {
51
- type: PropType<() => void>;
52
- };
53
- onOpenChange: {
54
- type: PropType<(opened: boolean) => void>;
55
- };
56
- };
57
- export type ModalProps = ExtractPropTypes<typeof modalProps>;
58
- declare const Modal: import('vue').DefineComponent<ExtractPropTypes<{
59
- modelValue: BooleanType;
60
- title: StringConstructor;
61
- okText: StringConstructor;
62
- cancelText: StringConstructor;
63
- width: {
64
- type: PropType<number | string>;
65
- default: number;
66
- };
67
- top: {
68
- type: PropType<number>;
69
- default: number;
70
- };
71
- transfer: {
72
- type: BooleanType;
73
- default: boolean;
74
- };
75
- mask: {
76
- type: BooleanType;
77
- default: boolean;
78
- };
79
- maskClosable: {
80
- type: BooleanType;
81
- default: boolean;
82
- };
83
- maximized: BooleanType;
84
- centered: BooleanType;
85
- draggable: BooleanType;
86
- showClose: {
87
- type: BooleanType;
88
- default: boolean;
89
- };
90
- loading: BooleanType;
91
- footer: {
92
- type: BooleanType;
93
- default: boolean;
94
- };
95
- escKey: {
96
- type: BooleanType;
97
- default: boolean;
98
- };
99
- onClose: {
100
- type: PropType<() => void>;
101
- };
102
- onOk: {
103
- type: PropType<() => void>;
104
- };
105
- onCancel: {
106
- type: PropType<() => void>;
107
- };
108
- onOpenChange: {
109
- type: PropType<(opened: boolean) => void>;
110
- };
111
- }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
112
- modelValue: BooleanType;
113
- title: StringConstructor;
114
- okText: StringConstructor;
115
- cancelText: StringConstructor;
116
- width: {
117
- type: PropType<number | string>;
118
- default: number;
119
- };
120
- top: {
121
- type: PropType<number>;
122
- default: number;
123
- };
124
- transfer: {
125
- type: BooleanType;
126
- default: boolean;
127
- };
128
- mask: {
129
- type: BooleanType;
130
- default: boolean;
131
- };
132
- maskClosable: {
133
- type: BooleanType;
134
- default: boolean;
135
- };
136
- maximized: BooleanType;
137
- centered: BooleanType;
138
- draggable: BooleanType;
139
- showClose: {
140
- type: BooleanType;
141
- default: boolean;
142
- };
143
- loading: BooleanType;
144
- footer: {
145
- type: BooleanType;
146
- default: boolean;
147
- };
148
- escKey: {
149
- type: BooleanType;
150
- default: boolean;
151
- };
152
- onClose: {
153
- type: PropType<() => void>;
154
- };
155
- onOk: {
156
- type: PropType<() => void>;
157
- };
158
- onCancel: {
159
- type: PropType<() => void>;
160
- };
161
- onOpenChange: {
162
- type: PropType<(opened: boolean) => void>;
163
- };
164
- }>> & Readonly<{}>, {
165
- top: number;
166
- width: string | number;
167
- mask: boolean | undefined;
168
- footer: boolean | undefined;
169
- transfer: boolean | undefined;
170
- maskClosable: boolean | undefined;
171
- escKey: boolean | undefined;
172
- showClose: boolean | undefined;
173
- }, {}, {}, {
174
- transfer: import('vue').ObjectDirective<any, any, string, any>;
175
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
176
- export default Modal;
@@ -1,32 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { IconType } from '../icon';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- title: StringConstructor;
5
- okText: StringConstructor;
6
- cancelText: StringConstructor;
7
- content: StringConstructor;
8
- color: StringConstructor;
9
- icon: PropType<IconType[]>;
10
- onOk: FunctionConstructor;
11
- onCancel: FunctionConstructor;
12
- type: {
13
- type: PropType<"info" | "success" | "error" | "warning" | "confirm">;
14
- default: string;
15
- };
16
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
- title: StringConstructor;
18
- okText: StringConstructor;
19
- cancelText: StringConstructor;
20
- content: StringConstructor;
21
- color: StringConstructor;
22
- icon: PropType<IconType[]>;
23
- onOk: FunctionConstructor;
24
- onCancel: FunctionConstructor;
25
- type: {
26
- type: PropType<"info" | "success" | "error" | "warning" | "confirm">;
27
- default: string;
28
- };
29
- }>> & Readonly<{}>, {
30
- type: "error" | "warning" | "success" | "info" | "confirm";
31
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
- export default _default;