kb-ui-vue 0.2.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 (225) hide show
  1. package/dist/components/Alert/Alert.vue.d.ts +26 -0
  2. package/dist/components/Alert/index.d.ts +4 -0
  3. package/dist/components/Avatar/Avatar.vue.d.ts +20 -0
  4. package/dist/components/Avatar/index.d.ts +4 -0
  5. package/dist/components/Badge/Badge.vue.d.ts +28 -0
  6. package/dist/components/Badge/index.d.ts +4 -0
  7. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +15 -0
  8. package/dist/components/Breadcrumb/index.d.ts +4 -0
  9. package/dist/components/Button/Button.vue.d.ts +32 -0
  10. package/dist/components/Button/index.d.ts +4 -0
  11. package/dist/components/Calendar/Calendar.vue.d.ts +12 -0
  12. package/dist/components/Calendar/index.d.ts +4 -0
  13. package/dist/components/Card/Card.vue.d.ts +23 -0
  14. package/dist/components/Card/index.d.ts +4 -0
  15. package/dist/components/Carousel/Carousel.vue.d.ts +18 -0
  16. package/dist/components/Carousel/index.d.ts +4 -0
  17. package/dist/components/Cascader/Cascader.vue.d.ts +21 -0
  18. package/dist/components/Cascader/index.d.ts +4 -0
  19. package/dist/components/Checkbox/Checkbox.vue.d.ts +27 -0
  20. package/dist/components/Checkbox/index.d.ts +4 -0
  21. package/dist/components/Collapse/Collapse.vue.d.ts +35 -0
  22. package/dist/components/Collapse/index.d.ts +4 -0
  23. package/dist/components/ColorPicker/ColorPicker.vue.d.ts +12 -0
  24. package/dist/components/ColorPicker/index.d.ts +4 -0
  25. package/dist/components/CountUp/CountUp.vue.d.ts +20 -0
  26. package/dist/components/CountUp/index.d.ts +4 -0
  27. package/dist/components/DatePicker/DatePicker.vue.d.ts +14 -0
  28. package/dist/components/DatePicker/index.d.ts +4 -0
  29. package/dist/components/Descriptions/Descriptions.vue.d.ts +19 -0
  30. package/dist/components/Descriptions/index.d.ts +4 -0
  31. package/dist/components/Dialog/Dialog.vue.d.ts +35 -0
  32. package/dist/components/Dialog/index.d.ts +4 -0
  33. package/dist/components/Divider/Divider.vue.d.ts +20 -0
  34. package/dist/components/Divider/index.d.ts +4 -0
  35. package/dist/components/Drawer/Drawer.vue.d.ts +31 -0
  36. package/dist/components/Drawer/index.d.ts +4 -0
  37. package/dist/components/Dropdown/Dropdown.vue.d.ts +31 -0
  38. package/dist/components/Dropdown/index.d.ts +4 -0
  39. package/dist/components/Empty/Empty.vue.d.ts +21 -0
  40. package/dist/components/Empty/index.d.ts +4 -0
  41. package/dist/components/Form/Form.vue.d.ts +38 -0
  42. package/dist/components/Form/FormItem.vue.d.ts +21 -0
  43. package/dist/components/Form/index.d.ts +5 -0
  44. package/dist/components/Grid/Col.vue.d.ts +20 -0
  45. package/dist/components/Grid/Row.vue.d.ts +22 -0
  46. package/dist/components/Grid/constants.d.ts +1 -0
  47. package/dist/components/Grid/index.d.ts +5 -0
  48. package/dist/components/Icon/Icon.vue.d.ts +10 -0
  49. package/dist/components/Icon/index.d.ts +4 -0
  50. package/dist/components/Input/Input.vue.d.ts +29 -0
  51. package/dist/components/Input/index.d.ts +4 -0
  52. package/dist/components/InputNumber/InputNumber.vue.d.ts +20 -0
  53. package/dist/components/InputNumber/index.d.ts +4 -0
  54. package/dist/components/InputPassword/InputPassword.vue.d.ts +16 -0
  55. package/dist/components/InputPassword/index.d.ts +4 -0
  56. package/dist/components/List/List.vue.d.ts +26 -0
  57. package/dist/components/List/index.d.ts +4 -0
  58. package/dist/components/Loading/Loading.vue.d.ts +12 -0
  59. package/dist/components/Loading/index.d.ts +4 -0
  60. package/dist/components/Message/Message.vue.d.ts +10 -0
  61. package/dist/components/Message/index.d.ts +16 -0
  62. package/dist/components/Notification/Notification.vue.d.ts +11 -0
  63. package/dist/components/Notification/index.d.ts +16 -0
  64. package/dist/components/Pagination/Pagination.vue.d.ts +18 -0
  65. package/dist/components/Pagination/index.d.ts +4 -0
  66. package/dist/components/Popconfirm/Popconfirm.vue.d.ts +28 -0
  67. package/dist/components/Popconfirm/index.d.ts +4 -0
  68. package/dist/components/Popover/Popover.vue.d.ts +28 -0
  69. package/dist/components/Popover/index.d.ts +4 -0
  70. package/dist/components/Progress/Progress.vue.d.ts +21 -0
  71. package/dist/components/Progress/index.d.ts +4 -0
  72. package/dist/components/Radio/Radio.vue.d.ts +27 -0
  73. package/dist/components/Radio/index.d.ts +4 -0
  74. package/dist/components/Rate/Rate.vue.d.ts +17 -0
  75. package/dist/components/Rate/index.d.ts +4 -0
  76. package/dist/components/Result/Result.vue.d.ts +21 -0
  77. package/dist/components/Result/index.d.ts +4 -0
  78. package/dist/components/Search/Search.vue.d.ts +18 -0
  79. package/dist/components/Search/index.d.ts +4 -0
  80. package/dist/components/Segmented/Segmented.vue.d.ts +19 -0
  81. package/dist/components/Segmented/index.d.ts +4 -0
  82. package/dist/components/Select/Select.vue.d.ts +26 -0
  83. package/dist/components/Select/index.d.ts +4 -0
  84. package/dist/components/Skeleton/Skeleton.vue.d.ts +22 -0
  85. package/dist/components/Skeleton/index.d.ts +4 -0
  86. package/dist/components/Slider/Slider.vue.d.ts +20 -0
  87. package/dist/components/Slider/index.d.ts +4 -0
  88. package/dist/components/Space/Space.vue.d.ts +24 -0
  89. package/dist/components/Space/index.d.ts +4 -0
  90. package/dist/components/Statistic/Statistic.vue.d.ts +29 -0
  91. package/dist/components/Statistic/index.d.ts +4 -0
  92. package/dist/components/Steps/Steps.vue.d.ts +15 -0
  93. package/dist/components/Steps/index.d.ts +4 -0
  94. package/dist/components/Switch/Switch.vue.d.ts +16 -0
  95. package/dist/components/Switch/index.d.ts +4 -0
  96. package/dist/components/Table/Table.vue.d.ts +34 -0
  97. package/dist/components/Table/index.d.ts +4 -0
  98. package/dist/components/Tabs/Tabs.vue.d.ts +30 -0
  99. package/dist/components/Tabs/index.d.ts +4 -0
  100. package/dist/components/Tag/Tag.vue.d.ts +28 -0
  101. package/dist/components/Tag/index.d.ts +4 -0
  102. package/dist/components/Textarea/Textarea.vue.d.ts +20 -0
  103. package/dist/components/Textarea/index.d.ts +4 -0
  104. package/dist/components/Timeline/Timeline.vue.d.ts +13 -0
  105. package/dist/components/Timeline/index.d.ts +4 -0
  106. package/dist/components/Tooltip/Tooltip.vue.d.ts +24 -0
  107. package/dist/components/Tooltip/index.d.ts +4 -0
  108. package/dist/components/Transfer/Transfer.vue.d.ts +18 -0
  109. package/dist/components/Transfer/index.d.ts +4 -0
  110. package/dist/components/Tree/Tree.vue.d.ts +17 -0
  111. package/dist/components/Tree/index.d.ts +4 -0
  112. package/dist/components/Upload/Upload.vue.d.ts +55 -0
  113. package/dist/components/Upload/index.d.ts +4 -0
  114. package/dist/components/Watermark/Watermark.vue.d.ts +28 -0
  115. package/dist/components/Watermark/index.d.ts +4 -0
  116. package/dist/index.cjs +1 -0
  117. package/dist/index.d.ts +117 -0
  118. package/dist/index.js +2410 -0
  119. package/dist/styles/Alert.css +68 -0
  120. package/dist/styles/Avatar.css +31 -0
  121. package/dist/styles/Badge.css +49 -0
  122. package/dist/styles/Breadcrumb.css +28 -0
  123. package/dist/styles/Button.css +108 -0
  124. package/dist/styles/Calendar.css +79 -0
  125. package/dist/styles/Card.css +40 -0
  126. package/dist/styles/Carousel.css +87 -0
  127. package/dist/styles/Cascader.css +75 -0
  128. package/dist/styles/Checkbox.css +62 -0
  129. package/dist/styles/Collapse.css +49 -0
  130. package/dist/styles/ColorPicker.css +36 -0
  131. package/dist/styles/CountUp.css +4 -0
  132. package/dist/styles/DatePicker.css +33 -0
  133. package/dist/styles/Descriptions.css +44 -0
  134. package/dist/styles/Dialog.css +42 -0
  135. package/dist/styles/Divider.css +37 -0
  136. package/dist/styles/Drawer.css +81 -0
  137. package/dist/styles/Dropdown.css +40 -0
  138. package/dist/styles/Empty.css +24 -0
  139. package/dist/styles/Form.css +33 -0
  140. package/dist/styles/Grid.css +194 -0
  141. package/dist/styles/Icon.css +5 -0
  142. package/dist/styles/Input.css +79 -0
  143. package/dist/styles/InputNumber.css +40 -0
  144. package/dist/styles/InputPassword.css +42 -0
  145. package/dist/styles/List.css +29 -0
  146. package/dist/styles/Loading.css +27 -0
  147. package/dist/styles/Message.css +32 -0
  148. package/dist/styles/Notification.css +50 -0
  149. package/dist/styles/Pagination.css +57 -0
  150. package/dist/styles/Popconfirm.css +53 -0
  151. package/dist/styles/Popover.css +54 -0
  152. package/dist/styles/Progress.css +38 -0
  153. package/dist/styles/Radio.css +60 -0
  154. package/dist/styles/Rate.css +21 -0
  155. package/dist/styles/Result.css +41 -0
  156. package/dist/styles/Search.css +46 -0
  157. package/dist/styles/Segmented.css +32 -0
  158. package/dist/styles/Select.css +108 -0
  159. package/dist/styles/Skeleton.css +40 -0
  160. package/dist/styles/Slider.css +46 -0
  161. package/dist/styles/Space.css +27 -0
  162. package/dist/styles/Statistic.css +31 -0
  163. package/dist/styles/Steps.css +83 -0
  164. package/dist/styles/Switch.css +39 -0
  165. package/dist/styles/Table.css +43 -0
  166. package/dist/styles/Tabs.css +41 -0
  167. package/dist/styles/Tag.css +71 -0
  168. package/dist/styles/Textarea.css +43 -0
  169. package/dist/styles/Timeline.css +70 -0
  170. package/dist/styles/Tooltip.css +42 -0
  171. package/dist/styles/Transfer.css +64 -0
  172. package/dist/styles/Tree.css +50 -0
  173. package/dist/styles/Upload.css +66 -0
  174. package/dist/styles/Watermark.css +17 -0
  175. package/dist/styles/all.css +103 -0
  176. package/dist/styles/dark.css +10 -0
  177. package/dist/styles/index.css +2953 -0
  178. package/dist/styles/themes/amber.css +14 -0
  179. package/dist/styles/themes/aurora.css +15 -0
  180. package/dist/styles/themes/autumn.css +18 -0
  181. package/dist/styles/themes/business.css +20 -0
  182. package/dist/styles/themes/candy.css +21 -0
  183. package/dist/styles/themes/cartoon.css +31 -0
  184. package/dist/styles/themes/coffee.css +18 -0
  185. package/dist/styles/themes/cyber.css +37 -0
  186. package/dist/styles/themes/cyberpunk.css +32 -0
  187. package/dist/styles/themes/danqing.css +27 -0
  188. package/dist/styles/themes/flat.css +18 -0
  189. package/dist/styles/themes/forest.css +20 -0
  190. package/dist/styles/themes/gameboy.css +33 -0
  191. package/dist/styles/themes/glass.css +39 -0
  192. package/dist/styles/themes/gold.css +26 -0
  193. package/dist/styles/themes/gothic.css +20 -0
  194. package/dist/styles/themes/gradient.css +18 -0
  195. package/dist/styles/themes/ink.css +16 -0
  196. package/dist/styles/themes/lava.css +15 -0
  197. package/dist/styles/themes/macaron.css +27 -0
  198. package/dist/styles/themes/matcha.css +18 -0
  199. package/dist/styles/themes/memphis.css +25 -0
  200. package/dist/styles/themes/midnight.css +27 -0
  201. package/dist/styles/themes/minimal.css +36 -0
  202. package/dist/styles/themes/mint.css +20 -0
  203. package/dist/styles/themes/mono.css +36 -0
  204. package/dist/styles/themes/morandi.css +18 -0
  205. package/dist/styles/themes/neon.css +16 -0
  206. package/dist/styles/themes/neonlight.css +20 -0
  207. package/dist/styles/themes/ocean.css +20 -0
  208. package/dist/styles/themes/pastel.css +21 -0
  209. package/dist/styles/themes/pop.css +33 -0
  210. package/dist/styles/themes/retro.css +35 -0
  211. package/dist/styles/themes/rose.css +14 -0
  212. package/dist/styles/themes/rounded.css +18 -0
  213. package/dist/styles/themes/sakura.css +20 -0
  214. package/dist/styles/themes/sky.css +20 -0
  215. package/dist/styles/themes/spring.css +18 -0
  216. package/dist/styles/themes/starry.css +15 -0
  217. package/dist/styles/themes/sunset.css +18 -0
  218. package/dist/styles/themes/teal.css +14 -0
  219. package/dist/styles/themes/terminal.css +44 -0
  220. package/dist/styles/themes/vaporwave.css +27 -0
  221. package/dist/styles/themes/violet.css +14 -0
  222. package/dist/styles/themes/wabi.css +27 -0
  223. package/dist/styles/themes/winter.css +20 -0
  224. package/dist/styles/tokens.css +55 -0
  225. package/package.json +45 -0
@@ -0,0 +1,26 @@
1
+ export interface AlertProps {
2
+ type?: 'info' | 'success' | 'warning' | 'danger';
3
+ title?: string;
4
+ /** 是否可关闭 */
5
+ closable?: boolean;
6
+ /** 是否显示类型图标 */
7
+ showIcon?: boolean;
8
+ }
9
+ declare var __VLS_6: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_6) => any;
12
+ };
13
+ declare const __VLS_base: import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AlertProps> & Readonly<{}>, {
14
+ type: "info" | "success" | "warning" | "danger";
15
+ title: string;
16
+ closable: boolean;
17
+ showIcon: boolean;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Alert } from './Alert.vue';
2
+ export { Alert };
3
+ export default Alert;
4
+ export type { AlertProps } from './Alert.vue';
@@ -0,0 +1,20 @@
1
+ export interface AvatarProps {
2
+ /** 图片地址 */
3
+ src?: string;
4
+ alt?: string;
5
+ /** 无图时显示的文字(如名字首字符) */
6
+ fallback?: string;
7
+ /** 尺寸:数字为 px;预设 small/medium/large */
8
+ size?: number | 'small' | 'medium' | 'large';
9
+ /** 圆形 */
10
+ round?: boolean;
11
+ }
12
+ declare const __VLS_export: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
13
+ size: number | "small" | "medium" | "large";
14
+ round: boolean;
15
+ src: string;
16
+ alt: string;
17
+ fallback: string;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Avatar } from './Avatar.vue';
2
+ export { Avatar };
3
+ export default Avatar;
4
+ export type { AvatarProps } from './Avatar.vue';
@@ -0,0 +1,28 @@
1
+ export interface BadgeProps {
2
+ /** 角标内容(数字超过 max 时封顶) */
3
+ content?: string | number;
4
+ /** 小红点模式 */
5
+ dot?: boolean;
6
+ /** 数字封顶值 */
7
+ max?: number;
8
+ /** 自定义背景色 */
9
+ color?: string;
10
+ }
11
+ declare var __VLS_1: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_1) => any;
14
+ };
15
+ declare const __VLS_base: import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
16
+ color: string;
17
+ content: string | number;
18
+ dot: boolean;
19
+ max: number;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Badge } from './Badge.vue';
2
+ export { Badge };
3
+ export default Badge;
4
+ export type { BadgeProps } from './Badge.vue';
@@ -0,0 +1,15 @@
1
+ export interface BreadcrumbItem {
2
+ label: string;
3
+ href?: string;
4
+ }
5
+ export interface BreadcrumbProps {
6
+ items: BreadcrumbItem[];
7
+ /** 分隔符 */
8
+ separator?: string;
9
+ }
10
+ declare const __VLS_export: import('vue').DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BreadcrumbProps> & Readonly<{}>, {
11
+ separator: string;
12
+ items: BreadcrumbItem[];
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Breadcrumb } from './Breadcrumb.vue';
2
+ export { Breadcrumb };
3
+ export default Breadcrumb;
4
+ export type { BreadcrumbProps, BreadcrumbItem } from './Breadcrumb.vue';
@@ -0,0 +1,32 @@
1
+ export interface ButtonProps {
2
+ type?: 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
3
+ size?: 'small' | 'medium' | 'large';
4
+ disabled?: boolean;
5
+ round?: boolean;
6
+ plain?: boolean;
7
+ nativeType?: 'button' | 'submit' | 'reset';
8
+ }
9
+ declare var __VLS_1: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_1) => any;
12
+ };
13
+ declare const __VLS_base: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ click: (event: MouseEvent) => any;
15
+ }, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{
16
+ onClick?: ((event: MouseEvent) => any) | undefined;
17
+ }>, {
18
+ type: "default" | "primary" | "success" | "warning" | "danger" | "info";
19
+ size: "small" | "medium" | "large";
20
+ disabled: boolean;
21
+ round: boolean;
22
+ plain: boolean;
23
+ nativeType: "button" | "submit" | "reset";
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Button } from './Button.vue';
2
+ export { Button };
3
+ export default Button;
4
+ export type { ButtonProps } from './Button.vue';
@@ -0,0 +1,12 @@
1
+ export interface CalendarProps {
2
+ modelValue?: string;
3
+ }
4
+ declare const __VLS_export: import('vue').DefineComponent<CalendarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ "update:modelValue": (value: string) => any;
6
+ }, string, import('vue').PublicProps, Readonly<CalendarProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ }>, {
9
+ modelValue: string;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Calendar } from './Calendar.vue';
2
+ export { Calendar };
3
+ export default Calendar;
4
+ export type { CalendarProps } from './Calendar.vue';
@@ -0,0 +1,23 @@
1
+ export interface CardProps {
2
+ title?: string;
3
+ /** 阴影:always / hover / never */
4
+ shadow?: 'always' | 'hover' | 'never';
5
+ }
6
+ declare var __VLS_1: {}, __VLS_3: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ } & {
10
+ footer?: (props: typeof __VLS_3) => any;
11
+ };
12
+ declare const __VLS_base: import('vue').DefineComponent<CardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardProps> & Readonly<{}>, {
13
+ title: string;
14
+ shadow: "always" | "hover" | "never";
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Card } from './Card.vue';
2
+ export { Card };
3
+ export default Card;
4
+ export type { CardProps } from './Card.vue';
@@ -0,0 +1,18 @@
1
+ export interface CarouselItem {
2
+ title: string;
3
+ description?: string;
4
+ }
5
+ export interface CarouselProps {
6
+ items: CarouselItem[];
7
+ /** 高度(px) */
8
+ height?: number;
9
+ /** 自动播放间隔(ms,0 关闭) */
10
+ autoplay?: number;
11
+ }
12
+ declare const __VLS_export: import('vue').DefineComponent<CarouselProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CarouselProps> & Readonly<{}>, {
13
+ height: number;
14
+ items: CarouselItem[];
15
+ autoplay: number;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Carousel } from './Carousel.vue';
2
+ export { Carousel };
3
+ export default Carousel;
4
+ export type { CarouselProps, CarouselItem } from './Carousel.vue';
@@ -0,0 +1,21 @@
1
+ export interface CascaderOption {
2
+ label: string;
3
+ value: string | number;
4
+ children?: CascaderOption[];
5
+ }
6
+ export interface CascaderProps {
7
+ options: CascaderOption[];
8
+ modelValue?: (string | number)[];
9
+ placeholder?: string;
10
+ }
11
+ declare const __VLS_export: import('vue').DefineComponent<CascaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:modelValue": (value: (string | number)[]) => any;
13
+ }, string, import('vue').PublicProps, Readonly<CascaderProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
15
+ }>, {
16
+ modelValue: (string | number)[];
17
+ placeholder: string;
18
+ options: CascaderOption[];
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Cascader } from './Cascader.vue';
2
+ export { Cascader };
3
+ export default Cascader;
4
+ export type { CascaderProps, CascaderOption } from './Cascader.vue';
@@ -0,0 +1,27 @@
1
+ export interface CheckboxProps {
2
+ modelValue?: boolean;
3
+ disabled?: boolean;
4
+ label?: string;
5
+ }
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: boolean) => any;
12
+ change: (value: boolean) => any;
13
+ }, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
+ onChange?: ((value: boolean) => any) | undefined;
16
+ }>, {
17
+ disabled: boolean;
18
+ modelValue: boolean;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Checkbox } from './Checkbox.vue';
2
+ export { Checkbox };
3
+ export default Checkbox;
4
+ export type { CheckboxProps } from './Checkbox.vue';
@@ -0,0 +1,35 @@
1
+ export interface CollapseItem {
2
+ title: string;
3
+ content?: string;
4
+ disabled?: boolean;
5
+ }
6
+ export interface CollapseProps {
7
+ items: CollapseItem[];
8
+ /** 当前展开项(数组,多开) */
9
+ modelValue?: string[];
10
+ /** 手风琴模式(单选) */
11
+ accordion?: boolean;
12
+ }
13
+ declare var __VLS_2: `item-${number}`, __VLS_3: {
14
+ item: CollapseItem;
15
+ };
16
+ type __VLS_Slots = {} & {
17
+ [K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
18
+ };
19
+ declare const __VLS_base: import('vue').DefineComponent<CollapseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:modelValue": (value: string[]) => any;
21
+ }, string, import('vue').PublicProps, Readonly<CollapseProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
23
+ }>, {
24
+ modelValue: string[];
25
+ items: CollapseItem[];
26
+ accordion: boolean;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Collapse } from './Collapse.vue';
2
+ export { Collapse };
3
+ export default Collapse;
4
+ export type { CollapseProps, CollapseItem } from './Collapse.vue';
@@ -0,0 +1,12 @@
1
+ export interface ColorPickerProps {
2
+ modelValue?: string;
3
+ }
4
+ declare const __VLS_export: import('vue').DefineComponent<ColorPickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ "update:modelValue": (value: string) => any;
6
+ }, string, import('vue').PublicProps, Readonly<ColorPickerProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ }>, {
9
+ modelValue: string;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as ColorPicker } from './ColorPicker.vue';
2
+ export { ColorPicker };
3
+ export default ColorPicker;
4
+ export type { ColorPickerProps } from './ColorPicker.vue';
@@ -0,0 +1,20 @@
1
+ export interface CountUpProps {
2
+ end: number;
3
+ /** 起始值 */
4
+ start?: number;
5
+ /** 动画时长(ms) */
6
+ duration?: number;
7
+ prefix?: string;
8
+ suffix?: string;
9
+ /** 小数位 */
10
+ decimals?: number;
11
+ }
12
+ declare const __VLS_export: import('vue').DefineComponent<CountUpProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CountUpProps> & Readonly<{}>, {
13
+ start: number;
14
+ duration: number;
15
+ prefix: string;
16
+ suffix: string;
17
+ decimals: number;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as CountUp } from './CountUp.vue';
2
+ export { CountUp };
3
+ export default CountUp;
4
+ export type { CountUpProps } from './CountUp.vue';
@@ -0,0 +1,14 @@
1
+ export interface DatePickerProps {
2
+ modelValue?: string;
3
+ placeholder?: string;
4
+ }
5
+ declare const __VLS_export: import('vue').DefineComponent<DatePickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ "update:modelValue": (value: string) => any;
7
+ }, string, import('vue').PublicProps, Readonly<DatePickerProps> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
9
+ }>, {
10
+ modelValue: string;
11
+ placeholder: string;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as DatePicker } from './DatePicker.vue';
2
+ export { DatePicker };
3
+ export default DatePicker;
4
+ export type { DatePickerProps } from './DatePicker.vue';
@@ -0,0 +1,19 @@
1
+ export interface DescriptionItem {
2
+ label: string;
3
+ value: string | number;
4
+ }
5
+ export interface DescriptionsProps {
6
+ items: DescriptionItem[];
7
+ title?: string;
8
+ /** 每行列数 */
9
+ column?: number;
10
+ border?: boolean;
11
+ }
12
+ declare const __VLS_export: import('vue').DefineComponent<DescriptionsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DescriptionsProps> & Readonly<{}>, {
13
+ title: string;
14
+ border: boolean;
15
+ column: number;
16
+ items: DescriptionItem[];
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Descriptions } from './Descriptions.vue';
2
+ export { Descriptions };
3
+ export default Descriptions;
4
+ export type { DescriptionsProps, DescriptionItem } from './Descriptions.vue';
@@ -0,0 +1,35 @@
1
+ export interface DialogProps {
2
+ modelValue?: boolean;
3
+ title?: string;
4
+ width?: string | number;
5
+ closeOnClickOverlay?: boolean;
6
+ /** 是否支持 ESC 关闭(默认 true) */
7
+ closeOnEsc?: boolean;
8
+ }
9
+ declare var __VLS_7: {}, __VLS_9: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_7) => any;
12
+ } & {
13
+ footer?: (props: typeof __VLS_9) => any;
14
+ };
15
+ declare const __VLS_base: import('vue').DefineComponent<DialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ close: () => any;
17
+ "update:modelValue": (value: boolean) => any;
18
+ }, string, import('vue').PublicProps, Readonly<DialogProps> & Readonly<{
19
+ onClose?: (() => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
+ }>, {
22
+ title: string;
23
+ width: string | number;
24
+ modelValue: boolean;
25
+ closeOnClickOverlay: boolean;
26
+ closeOnEsc: boolean;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Dialog } from './Dialog.vue';
2
+ export { Dialog };
3
+ export default Dialog;
4
+ export type { DialogProps } from './Dialog.vue';
@@ -0,0 +1,20 @@
1
+ export interface DividerProps {
2
+ direction?: 'horizontal' | 'vertical';
3
+ contentPosition?: 'left' | 'center' | 'right';
4
+ }
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import('vue').DefineComponent<DividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DividerProps> & Readonly<{}>, {
10
+ direction: "horizontal" | "vertical";
11
+ contentPosition: "left" | "center" | "right";
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Divider } from './Divider.vue';
2
+ export { Divider };
3
+ export default Divider;
4
+ export type { DividerProps } from './Divider.vue';
@@ -0,0 +1,31 @@
1
+ export interface DrawerProps {
2
+ modelValue?: boolean;
3
+ title?: string;
4
+ /** 抽屉方向 */
5
+ direction?: 'left' | 'right' | 'top' | 'bottom';
6
+ width?: string | number;
7
+ }
8
+ declare var __VLS_7: {}, __VLS_9: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_7) => any;
11
+ } & {
12
+ footer?: (props: typeof __VLS_9) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (value: boolean) => any;
16
+ }, string, import('vue').PublicProps, Readonly<DrawerProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
18
+ }>, {
19
+ title: string;
20
+ width: string | number;
21
+ direction: "left" | "right" | "top" | "bottom";
22
+ modelValue: boolean;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Drawer } from './Drawer.vue';
2
+ export { Drawer };
3
+ export default Drawer;
4
+ export type { DrawerProps } from './Drawer.vue';
@@ -0,0 +1,31 @@
1
+ export interface DropdownItem {
2
+ label: string;
3
+ key: string;
4
+ disabled?: boolean;
5
+ danger?: boolean;
6
+ }
7
+ export interface DropdownProps {
8
+ items: DropdownItem[];
9
+ /** 触发方式 */
10
+ trigger?: 'hover' | 'click';
11
+ }
12
+ declare var __VLS_1: {};
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_1) => any;
15
+ };
16
+ declare const __VLS_base: import('vue').DefineComponent<DropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ select: (key: string) => any;
18
+ }, string, import('vue').PublicProps, Readonly<DropdownProps> & Readonly<{
19
+ onSelect?: ((key: string) => any) | undefined;
20
+ }>, {
21
+ trigger: "hover" | "click";
22
+ items: DropdownItem[];
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Dropdown } from './Dropdown.vue';
2
+ export { Dropdown };
3
+ export default Dropdown;
4
+ export type { DropdownProps, DropdownItem } from './Dropdown.vue';
@@ -0,0 +1,21 @@
1
+ export interface EmptyProps {
2
+ /** 空状态文案 */
3
+ description?: string;
4
+ }
5
+ declare var __VLS_1: {}, __VLS_8: {};
6
+ type __VLS_Slots = {} & {
7
+ image?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ action?: (props: typeof __VLS_8) => any;
10
+ };
11
+ declare const __VLS_base: import('vue').DefineComponent<EmptyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EmptyProps> & Readonly<{}>, {
12
+ description: string;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Empty } from './Empty.vue';
2
+ export { Empty };
3
+ export default Empty;
4
+ export type { EmptyProps } from './Empty.vue';
@@ -0,0 +1,38 @@
1
+ export interface FormRule {
2
+ required?: boolean;
3
+ message?: string;
4
+ pattern?: RegExp;
5
+ validator?: (value: unknown) => boolean;
6
+ }
7
+ export interface FormContext {
8
+ model: Record<string, unknown>;
9
+ rules: Record<string, FormRule[]>;
10
+ errors: Record<string, string | null>;
11
+ validateField: (prop: string) => string | null;
12
+ }
13
+ export interface FormProps {
14
+ model: Record<string, unknown>;
15
+ rules?: Record<string, FormRule[]>;
16
+ labelWidth?: string;
17
+ }
18
+ declare function validateField(prop: string): string | null;
19
+ declare function validate(): Promise<boolean>;
20
+ declare var __VLS_1: {};
21
+ type __VLS_Slots = {} & {
22
+ default?: (props: typeof __VLS_1) => any;
23
+ };
24
+ declare const __VLS_base: import('vue').DefineComponent<FormProps, {
25
+ validate: typeof validate;
26
+ validateField: typeof validateField;
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormProps> & Readonly<{}>, {
28
+ rules: Record<string, FormRule[]>;
29
+ labelWidth: string;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };