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,21 @@
1
+ export interface FormItemProps {
2
+ label?: string;
3
+ /** 对应 form.model 的字段名 */
4
+ prop?: 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<FormItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormItemProps> & Readonly<{}>, {
11
+ label: string;
12
+ prop: 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,5 @@
1
+ import { default as Form } from './Form.vue';
2
+ import { default as FormItem } from './FormItem.vue';
3
+ export { Form, FormItem };
4
+ export type { FormProps, FormRule } from './Form.vue';
5
+ export type { FormItemProps } from './FormItem.vue';
@@ -0,0 +1,20 @@
1
+ export interface ColProps {
2
+ span?: number;
3
+ offset?: number;
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<ColProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ColProps> & Readonly<{}>, {
10
+ span: number;
11
+ offset: number;
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,22 @@
1
+ export interface RowProps {
2
+ gutter?: number;
3
+ justify?: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
4
+ align?: 'top' | 'middle' | 'bottom';
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<RowProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RowProps> & Readonly<{}>, {
11
+ align: "top" | "middle" | "bottom";
12
+ gutter: number;
13
+ justify: "start" | "center" | "end" | "space-between" | "space-around";
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1 @@
1
+ export declare const ROW_GUTTER_KEY: symbol;
@@ -0,0 +1,5 @@
1
+ import { default as Row } from './Row.vue';
2
+ import { default as Col } from './Col.vue';
3
+ export { Row, Col };
4
+ export type { RowProps } from './Row.vue';
5
+ export type { ColProps } from './Col.vue';
@@ -0,0 +1,10 @@
1
+ export interface IconProps {
2
+ name: string;
3
+ size?: number | string;
4
+ color?: string;
5
+ }
6
+ declare const __VLS_export: import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Icon } from './Icon.vue';
2
+ export { Icon };
3
+ export default Icon;
4
+ export type { IconProps } from './Icon.vue';
@@ -0,0 +1,29 @@
1
+ export interface InputProps {
2
+ modelValue?: string;
3
+ type?: 'text' | 'password' | 'number';
4
+ placeholder?: string;
5
+ disabled?: boolean;
6
+ readonly?: boolean;
7
+ clearable?: boolean;
8
+ size?: 'small' | 'medium' | 'large';
9
+ }
10
+ declare const __VLS_export: import('vue').DefineComponent<InputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: string) => any;
12
+ change: (value: string) => any;
13
+ focus: (event: FocusEvent) => any;
14
+ blur: (event: FocusEvent) => any;
15
+ }, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
+ onChange?: ((value: string) => any) | undefined;
18
+ onFocus?: ((event: FocusEvent) => any) | undefined;
19
+ onBlur?: ((event: FocusEvent) => any) | undefined;
20
+ }>, {
21
+ type: "text" | "password" | "number";
22
+ size: "small" | "medium" | "large";
23
+ disabled: boolean;
24
+ modelValue: string;
25
+ readonly: boolean;
26
+ clearable: boolean;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Input } from './Input.vue';
2
+ export { Input };
3
+ export default Input;
4
+ export type { InputProps } from './Input.vue';
@@ -0,0 +1,20 @@
1
+ export interface InputNumberProps {
2
+ modelValue?: number;
3
+ min?: number;
4
+ max?: number;
5
+ step?: number;
6
+ disabled?: boolean;
7
+ }
8
+ declare const __VLS_export: import('vue').DefineComponent<InputNumberProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (value: number) => any;
10
+ }, string, import('vue').PublicProps, Readonly<InputNumberProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
12
+ }>, {
13
+ disabled: boolean;
14
+ modelValue: number;
15
+ max: number;
16
+ min: number;
17
+ step: 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 InputNumber } from './InputNumber.vue';
2
+ export { InputNumber };
3
+ export default InputNumber;
4
+ export type { InputNumberProps } from './InputNumber.vue';
@@ -0,0 +1,16 @@
1
+ export interface InputPasswordProps {
2
+ modelValue?: string;
3
+ placeholder?: string;
4
+ size?: 'small' | 'medium' | 'large';
5
+ }
6
+ declare const __VLS_export: import('vue').DefineComponent<InputPasswordProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string) => any;
8
+ }, string, import('vue').PublicProps, Readonly<InputPasswordProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
10
+ }>, {
11
+ size: "small" | "medium" | "large";
12
+ modelValue: string;
13
+ placeholder: string;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as InputPassword } from './InputPassword.vue';
2
+ export { InputPassword };
3
+ export default InputPassword;
4
+ export type { InputPasswordProps } from './InputPassword.vue';
@@ -0,0 +1,26 @@
1
+ export interface ListProps<T = unknown> {
2
+ items: T[];
3
+ empty?: string;
4
+ bordered?: boolean;
5
+ }
6
+ type __VLS_Props = ListProps;
7
+ declare var __VLS_1: {
8
+ item: unknown;
9
+ index: number;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ item?: (props: typeof __VLS_1) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ items: unknown[];
16
+ empty: string;
17
+ bordered: 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 List } from './List.vue';
2
+ export { List };
3
+ export default List;
4
+ export type { ListProps } from './List.vue';
@@ -0,0 +1,12 @@
1
+ export interface LoadingProps {
2
+ /** 指示器尺寸(px) */
3
+ size?: number;
4
+ /** 提示文字 */
5
+ text?: string;
6
+ }
7
+ declare const __VLS_export: import('vue').DefineComponent<LoadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
8
+ size: number;
9
+ text: 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 Loading } from './Loading.vue';
2
+ export { Loading };
3
+ export default Loading;
4
+ export type { LoadingProps } from './Loading.vue';
@@ -0,0 +1,10 @@
1
+ export interface MessageProps {
2
+ type?: 'success' | 'error' | 'info' | 'warning';
3
+ content?: string;
4
+ }
5
+ declare const __VLS_export: import('vue').DefineComponent<MessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageProps> & Readonly<{}>, {
6
+ type: "success" | "error" | "info" | "warning";
7
+ content: string;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,16 @@
1
+ export { default as Message } from './Message.vue';
2
+ export type { MessageProps } from './Message.vue';
3
+ type MessageType = 'success' | 'error' | 'info' | 'warning';
4
+ interface MessageOptions {
5
+ type?: MessageType;
6
+ content: string;
7
+ duration?: number;
8
+ }
9
+ declare const message: {
10
+ success: (content: string, duration?: number) => () => void;
11
+ error: (content: string, duration?: number) => () => void;
12
+ info: (content: string, duration?: number) => () => void;
13
+ warning: (content: string, duration?: number) => () => void;
14
+ show: (content: string, options?: Partial<MessageOptions>) => () => void;
15
+ };
16
+ export default message;
@@ -0,0 +1,11 @@
1
+ export interface NotificationProps {
2
+ type?: 'success' | 'error' | 'info' | 'warning';
3
+ title: string;
4
+ message?: string;
5
+ }
6
+ declare const __VLS_export: import('vue').DefineComponent<NotificationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NotificationProps> & Readonly<{}>, {
7
+ type: "success" | "error" | "info" | "warning";
8
+ message: string;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,16 @@
1
+ export { default as Notification } from './Notification.vue';
2
+ export type { NotificationProps } from './Notification.vue';
3
+ type NotificationType = 'success' | 'error' | 'info' | 'warning';
4
+ interface NotificationOptions {
5
+ type?: NotificationType;
6
+ title: string;
7
+ message?: string;
8
+ duration?: number;
9
+ }
10
+ declare const notification: {
11
+ success: (options: Omit<NotificationOptions, "type">) => () => void;
12
+ error: (options: Omit<NotificationOptions, "type">) => () => void;
13
+ info: (options: Omit<NotificationOptions, "type">) => () => void;
14
+ warning: (options: Omit<NotificationOptions, "type">) => () => void;
15
+ };
16
+ export default notification;
@@ -0,0 +1,18 @@
1
+ export interface PaginationProps {
2
+ total: number;
3
+ pageSize?: number;
4
+ currentPage?: number;
5
+ /** 页码窗口大小 */
6
+ pagerCount?: number;
7
+ }
8
+ declare const __VLS_export: import('vue').DefineComponent<PaginationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:currentPage": (value: number) => any;
10
+ }, string, import('vue').PublicProps, Readonly<PaginationProps> & Readonly<{
11
+ "onUpdate:currentPage"?: ((value: number) => any) | undefined;
12
+ }>, {
13
+ pageSize: number;
14
+ currentPage: number;
15
+ pagerCount: 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 Pagination } from './Pagination.vue';
2
+ export { Pagination };
3
+ export default Pagination;
4
+ export type { PaginationProps } from './Pagination.vue';
@@ -0,0 +1,28 @@
1
+ export interface PopconfirmProps {
2
+ title: string;
3
+ /** 确定按钮文字 */
4
+ confirmText?: string;
5
+ cancelText?: string;
6
+ }
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_base: import('vue').DefineComponent<PopconfirmProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ cancel: () => any;
13
+ confirm: () => any;
14
+ }, string, import('vue').PublicProps, Readonly<PopconfirmProps> & Readonly<{
15
+ onCancel?: (() => any) | undefined;
16
+ onConfirm?: (() => any) | undefined;
17
+ }>, {
18
+ confirmText: string;
19
+ cancelText: string;
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 Popconfirm } from './Popconfirm.vue';
2
+ export { Popconfirm };
3
+ export default Popconfirm;
4
+ export type { PopconfirmProps } from './Popconfirm.vue';
@@ -0,0 +1,28 @@
1
+ export interface PopoverProps {
2
+ title?: string;
3
+ content?: string;
4
+ /** 触发方式 */
5
+ trigger?: 'hover' | 'click';
6
+ /** 位置 */
7
+ placement?: 'top' | 'bottom' | 'left' | 'right';
8
+ }
9
+ declare var __VLS_1: {}, __VLS_3: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_1) => any;
12
+ } & {
13
+ extra?: (props: typeof __VLS_3) => any;
14
+ };
15
+ declare const __VLS_base: import('vue').DefineComponent<PopoverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PopoverProps> & Readonly<{}>, {
16
+ title: string;
17
+ content: string;
18
+ placement: "top" | "bottom" | "left" | "right";
19
+ trigger: "hover" | "click";
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 Popover } from './Popover.vue';
2
+ export { Popover };
3
+ export default Popover;
4
+ export type { PopoverProps } from './Popover.vue';
@@ -0,0 +1,21 @@
1
+ export interface ProgressProps {
2
+ /** 进度百分比 0-100(超界自动收敛) */
3
+ percentage?: number;
4
+ /** 轨道高度(px) */
5
+ strokeWidth?: number;
6
+ /** 自定义颜色 */
7
+ color?: string;
8
+ /** 是否显示百分比文本 */
9
+ showText?: boolean;
10
+ /** 状态(决定颜色) */
11
+ status?: 'normal' | 'success' | 'warning' | 'danger';
12
+ }
13
+ declare const __VLS_export: import('vue').DefineComponent<ProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
14
+ color: string;
15
+ status: "normal" | "success" | "warning" | "danger";
16
+ percentage: number;
17
+ strokeWidth: number;
18
+ showText: boolean;
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 Progress } from './Progress.vue';
2
+ export { Progress };
3
+ export default Progress;
4
+ export type { ProgressProps } from './Progress.vue';
@@ -0,0 +1,27 @@
1
+ export interface RadioProps {
2
+ modelValue?: string | number | boolean;
3
+ value: string | number | boolean;
4
+ disabled?: boolean;
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<RadioProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: string | number | boolean) => any;
12
+ change: (value: string | number | boolean) => any;
13
+ }, string, import('vue').PublicProps, Readonly<RadioProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
15
+ onChange?: ((value: string | number | boolean) => any) | undefined;
16
+ }>, {
17
+ disabled: boolean;
18
+ modelValue: string | number | 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 Radio } from './Radio.vue';
2
+ export { Radio };
3
+ export default Radio;
4
+ export type { RadioProps } from './Radio.vue';
@@ -0,0 +1,17 @@
1
+ export interface RateProps {
2
+ modelValue?: number;
3
+ /** 星星总数 */
4
+ max?: number;
5
+ disabled?: boolean;
6
+ }
7
+ declare const __VLS_export: import('vue').DefineComponent<RateProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (value: number) => any;
9
+ }, string, import('vue').PublicProps, Readonly<RateProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
11
+ }>, {
12
+ disabled: boolean;
13
+ modelValue: number;
14
+ max: number;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Rate } from './Rate.vue';
2
+ export { Rate };
3
+ export default Rate;
4
+ export type { RateProps } from './Rate.vue';
@@ -0,0 +1,21 @@
1
+ export interface ResultProps {
2
+ status?: 'success' | 'error' | 'warning' | 'info';
3
+ title: string;
4
+ description?: string;
5
+ }
6
+ declare var __VLS_6: {};
7
+ type __VLS_Slots = {} & {
8
+ action?: (props: typeof __VLS_6) => any;
9
+ };
10
+ declare const __VLS_base: import('vue').DefineComponent<ResultProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ResultProps> & Readonly<{}>, {
11
+ status: "success" | "error" | "warning" | "info";
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 Result } from './Result.vue';
2
+ export { Result };
3
+ export default Result;
4
+ export type { ResultProps } from './Result.vue';
@@ -0,0 +1,18 @@
1
+ export interface SearchProps {
2
+ modelValue?: string;
3
+ placeholder?: string;
4
+ size?: 'small' | 'medium' | 'large';
5
+ }
6
+ declare const __VLS_export: import('vue').DefineComponent<SearchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ search: (value: string) => any;
8
+ "update:modelValue": (value: string) => any;
9
+ }, string, import('vue').PublicProps, Readonly<SearchProps> & Readonly<{
10
+ onSearch?: ((value: string) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
12
+ }>, {
13
+ size: "small" | "medium" | "large";
14
+ modelValue: string;
15
+ placeholder: string;
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 Search } from './Search.vue';
2
+ export { Search };
3
+ export default Search;
4
+ export type { SearchProps } from './Search.vue';
@@ -0,0 +1,19 @@
1
+ export interface SegmentedOption {
2
+ label: string;
3
+ value: string | number;
4
+ disabled?: boolean;
5
+ }
6
+ export interface SegmentedProps {
7
+ options: SegmentedOption[];
8
+ modelValue?: string | number;
9
+ }
10
+ declare const __VLS_export: import('vue').DefineComponent<SegmentedProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (value: string | number) => any;
12
+ }, string, import('vue').PublicProps, Readonly<SegmentedProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
14
+ }>, {
15
+ modelValue: string | number;
16
+ options: SegmentedOption[];
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 Segmented } from './Segmented.vue';
2
+ export { Segmented };
3
+ export default Segmented;
4
+ export type { SegmentedProps, SegmentedOption } from './Segmented.vue';
@@ -0,0 +1,26 @@
1
+ export interface SelectOption {
2
+ label: string;
3
+ value: string | number;
4
+ disabled?: boolean;
5
+ }
6
+ export interface SelectProps {
7
+ modelValue?: string | number;
8
+ options: SelectOption[];
9
+ placeholder?: string;
10
+ disabled?: boolean;
11
+ size?: 'small' | 'medium' | 'large';
12
+ }
13
+ declare const __VLS_export: import('vue').DefineComponent<SelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (value: string | number) => any;
15
+ change: (value: string | number) => any;
16
+ }, string, import('vue').PublicProps, Readonly<SelectProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
18
+ onChange?: ((value: string | number) => any) | undefined;
19
+ }>, {
20
+ size: "small" | "medium" | "large";
21
+ disabled: boolean;
22
+ modelValue: string | number;
23
+ placeholder: string;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as Select } from './Select.vue';
2
+ export { Select };
3
+ export default Select;
4
+ export type { SelectProps, SelectOption } from './Select.vue';
@@ -0,0 +1,22 @@
1
+ export interface SkeletonProps {
2
+ /** 骨架行数 */
3
+ rows?: number;
4
+ /** 是否显示动画 */
5
+ animated?: boolean;
6
+ }
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_base: import('vue').DefineComponent<SkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
12
+ rows: number;
13
+ animated: boolean;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,4 @@
1
+ import { default as Skeleton } from './Skeleton.vue';
2
+ export { Skeleton };
3
+ export default Skeleton;
4
+ export type { SkeletonProps } from './Skeleton.vue';