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.
- package/dist/components/Alert/Alert.vue.d.ts +26 -0
- package/dist/components/Alert/index.d.ts +4 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +20 -0
- package/dist/components/Avatar/index.d.ts +4 -0
- package/dist/components/Badge/Badge.vue.d.ts +28 -0
- package/dist/components/Badge/index.d.ts +4 -0
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +15 -0
- package/dist/components/Breadcrumb/index.d.ts +4 -0
- package/dist/components/Button/Button.vue.d.ts +32 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +12 -0
- package/dist/components/Calendar/index.d.ts +4 -0
- package/dist/components/Card/Card.vue.d.ts +23 -0
- package/dist/components/Card/index.d.ts +4 -0
- package/dist/components/Carousel/Carousel.vue.d.ts +18 -0
- package/dist/components/Carousel/index.d.ts +4 -0
- package/dist/components/Cascader/Cascader.vue.d.ts +21 -0
- package/dist/components/Cascader/index.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +27 -0
- package/dist/components/Checkbox/index.d.ts +4 -0
- package/dist/components/Collapse/Collapse.vue.d.ts +35 -0
- package/dist/components/Collapse/index.d.ts +4 -0
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts +12 -0
- package/dist/components/ColorPicker/index.d.ts +4 -0
- package/dist/components/CountUp/CountUp.vue.d.ts +20 -0
- package/dist/components/CountUp/index.d.ts +4 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +14 -0
- package/dist/components/DatePicker/index.d.ts +4 -0
- package/dist/components/Descriptions/Descriptions.vue.d.ts +19 -0
- package/dist/components/Descriptions/index.d.ts +4 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +35 -0
- package/dist/components/Dialog/index.d.ts +4 -0
- package/dist/components/Divider/Divider.vue.d.ts +20 -0
- package/dist/components/Divider/index.d.ts +4 -0
- package/dist/components/Drawer/Drawer.vue.d.ts +31 -0
- package/dist/components/Drawer/index.d.ts +4 -0
- package/dist/components/Dropdown/Dropdown.vue.d.ts +31 -0
- package/dist/components/Dropdown/index.d.ts +4 -0
- package/dist/components/Empty/Empty.vue.d.ts +21 -0
- package/dist/components/Empty/index.d.ts +4 -0
- package/dist/components/Form/Form.vue.d.ts +38 -0
- package/dist/components/Form/FormItem.vue.d.ts +21 -0
- package/dist/components/Form/index.d.ts +5 -0
- package/dist/components/Grid/Col.vue.d.ts +20 -0
- package/dist/components/Grid/Row.vue.d.ts +22 -0
- package/dist/components/Grid/constants.d.ts +1 -0
- package/dist/components/Grid/index.d.ts +5 -0
- package/dist/components/Icon/Icon.vue.d.ts +10 -0
- package/dist/components/Icon/index.d.ts +4 -0
- package/dist/components/Input/Input.vue.d.ts +29 -0
- package/dist/components/Input/index.d.ts +4 -0
- package/dist/components/InputNumber/InputNumber.vue.d.ts +20 -0
- package/dist/components/InputNumber/index.d.ts +4 -0
- package/dist/components/InputPassword/InputPassword.vue.d.ts +16 -0
- package/dist/components/InputPassword/index.d.ts +4 -0
- package/dist/components/List/List.vue.d.ts +26 -0
- package/dist/components/List/index.d.ts +4 -0
- package/dist/components/Loading/Loading.vue.d.ts +12 -0
- package/dist/components/Loading/index.d.ts +4 -0
- package/dist/components/Message/Message.vue.d.ts +10 -0
- package/dist/components/Message/index.d.ts +16 -0
- package/dist/components/Notification/Notification.vue.d.ts +11 -0
- package/dist/components/Notification/index.d.ts +16 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +18 -0
- package/dist/components/Pagination/index.d.ts +4 -0
- package/dist/components/Popconfirm/Popconfirm.vue.d.ts +28 -0
- package/dist/components/Popconfirm/index.d.ts +4 -0
- package/dist/components/Popover/Popover.vue.d.ts +28 -0
- package/dist/components/Popover/index.d.ts +4 -0
- package/dist/components/Progress/Progress.vue.d.ts +21 -0
- package/dist/components/Progress/index.d.ts +4 -0
- package/dist/components/Radio/Radio.vue.d.ts +27 -0
- package/dist/components/Radio/index.d.ts +4 -0
- package/dist/components/Rate/Rate.vue.d.ts +17 -0
- package/dist/components/Rate/index.d.ts +4 -0
- package/dist/components/Result/Result.vue.d.ts +21 -0
- package/dist/components/Result/index.d.ts +4 -0
- package/dist/components/Search/Search.vue.d.ts +18 -0
- package/dist/components/Search/index.d.ts +4 -0
- package/dist/components/Segmented/Segmented.vue.d.ts +19 -0
- package/dist/components/Segmented/index.d.ts +4 -0
- package/dist/components/Select/Select.vue.d.ts +26 -0
- package/dist/components/Select/index.d.ts +4 -0
- package/dist/components/Skeleton/Skeleton.vue.d.ts +22 -0
- package/dist/components/Skeleton/index.d.ts +4 -0
- package/dist/components/Slider/Slider.vue.d.ts +20 -0
- package/dist/components/Slider/index.d.ts +4 -0
- package/dist/components/Space/Space.vue.d.ts +24 -0
- package/dist/components/Space/index.d.ts +4 -0
- package/dist/components/Statistic/Statistic.vue.d.ts +29 -0
- package/dist/components/Statistic/index.d.ts +4 -0
- package/dist/components/Steps/Steps.vue.d.ts +15 -0
- package/dist/components/Steps/index.d.ts +4 -0
- package/dist/components/Switch/Switch.vue.d.ts +16 -0
- package/dist/components/Switch/index.d.ts +4 -0
- package/dist/components/Table/Table.vue.d.ts +34 -0
- package/dist/components/Table/index.d.ts +4 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +30 -0
- package/dist/components/Tabs/index.d.ts +4 -0
- package/dist/components/Tag/Tag.vue.d.ts +28 -0
- package/dist/components/Tag/index.d.ts +4 -0
- package/dist/components/Textarea/Textarea.vue.d.ts +20 -0
- package/dist/components/Textarea/index.d.ts +4 -0
- package/dist/components/Timeline/Timeline.vue.d.ts +13 -0
- package/dist/components/Timeline/index.d.ts +4 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +24 -0
- package/dist/components/Tooltip/index.d.ts +4 -0
- package/dist/components/Transfer/Transfer.vue.d.ts +18 -0
- package/dist/components/Transfer/index.d.ts +4 -0
- package/dist/components/Tree/Tree.vue.d.ts +17 -0
- package/dist/components/Tree/index.d.ts +4 -0
- package/dist/components/Upload/Upload.vue.d.ts +55 -0
- package/dist/components/Upload/index.d.ts +4 -0
- package/dist/components/Watermark/Watermark.vue.d.ts +28 -0
- package/dist/components/Watermark/index.d.ts +4 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +117 -0
- package/dist/index.js +2410 -0
- package/dist/styles/Alert.css +68 -0
- package/dist/styles/Avatar.css +31 -0
- package/dist/styles/Badge.css +49 -0
- package/dist/styles/Breadcrumb.css +28 -0
- package/dist/styles/Button.css +108 -0
- package/dist/styles/Calendar.css +79 -0
- package/dist/styles/Card.css +40 -0
- package/dist/styles/Carousel.css +87 -0
- package/dist/styles/Cascader.css +75 -0
- package/dist/styles/Checkbox.css +62 -0
- package/dist/styles/Collapse.css +49 -0
- package/dist/styles/ColorPicker.css +36 -0
- package/dist/styles/CountUp.css +4 -0
- package/dist/styles/DatePicker.css +33 -0
- package/dist/styles/Descriptions.css +44 -0
- package/dist/styles/Dialog.css +42 -0
- package/dist/styles/Divider.css +37 -0
- package/dist/styles/Drawer.css +81 -0
- package/dist/styles/Dropdown.css +40 -0
- package/dist/styles/Empty.css +24 -0
- package/dist/styles/Form.css +33 -0
- package/dist/styles/Grid.css +194 -0
- package/dist/styles/Icon.css +5 -0
- package/dist/styles/Input.css +79 -0
- package/dist/styles/InputNumber.css +40 -0
- package/dist/styles/InputPassword.css +42 -0
- package/dist/styles/List.css +29 -0
- package/dist/styles/Loading.css +27 -0
- package/dist/styles/Message.css +32 -0
- package/dist/styles/Notification.css +50 -0
- package/dist/styles/Pagination.css +57 -0
- package/dist/styles/Popconfirm.css +53 -0
- package/dist/styles/Popover.css +54 -0
- package/dist/styles/Progress.css +38 -0
- package/dist/styles/Radio.css +60 -0
- package/dist/styles/Rate.css +21 -0
- package/dist/styles/Result.css +41 -0
- package/dist/styles/Search.css +46 -0
- package/dist/styles/Segmented.css +32 -0
- package/dist/styles/Select.css +108 -0
- package/dist/styles/Skeleton.css +40 -0
- package/dist/styles/Slider.css +46 -0
- package/dist/styles/Space.css +27 -0
- package/dist/styles/Statistic.css +31 -0
- package/dist/styles/Steps.css +83 -0
- package/dist/styles/Switch.css +39 -0
- package/dist/styles/Table.css +43 -0
- package/dist/styles/Tabs.css +41 -0
- package/dist/styles/Tag.css +71 -0
- package/dist/styles/Textarea.css +43 -0
- package/dist/styles/Timeline.css +70 -0
- package/dist/styles/Tooltip.css +42 -0
- package/dist/styles/Transfer.css +64 -0
- package/dist/styles/Tree.css +50 -0
- package/dist/styles/Upload.css +66 -0
- package/dist/styles/Watermark.css +17 -0
- package/dist/styles/all.css +103 -0
- package/dist/styles/dark.css +10 -0
- package/dist/styles/index.css +2953 -0
- package/dist/styles/themes/amber.css +14 -0
- package/dist/styles/themes/aurora.css +15 -0
- package/dist/styles/themes/autumn.css +18 -0
- package/dist/styles/themes/business.css +20 -0
- package/dist/styles/themes/candy.css +21 -0
- package/dist/styles/themes/cartoon.css +31 -0
- package/dist/styles/themes/coffee.css +18 -0
- package/dist/styles/themes/cyber.css +37 -0
- package/dist/styles/themes/cyberpunk.css +32 -0
- package/dist/styles/themes/danqing.css +27 -0
- package/dist/styles/themes/flat.css +18 -0
- package/dist/styles/themes/forest.css +20 -0
- package/dist/styles/themes/gameboy.css +33 -0
- package/dist/styles/themes/glass.css +39 -0
- package/dist/styles/themes/gold.css +26 -0
- package/dist/styles/themes/gothic.css +20 -0
- package/dist/styles/themes/gradient.css +18 -0
- package/dist/styles/themes/ink.css +16 -0
- package/dist/styles/themes/lava.css +15 -0
- package/dist/styles/themes/macaron.css +27 -0
- package/dist/styles/themes/matcha.css +18 -0
- package/dist/styles/themes/memphis.css +25 -0
- package/dist/styles/themes/midnight.css +27 -0
- package/dist/styles/themes/minimal.css +36 -0
- package/dist/styles/themes/mint.css +20 -0
- package/dist/styles/themes/mono.css +36 -0
- package/dist/styles/themes/morandi.css +18 -0
- package/dist/styles/themes/neon.css +16 -0
- package/dist/styles/themes/neonlight.css +20 -0
- package/dist/styles/themes/ocean.css +20 -0
- package/dist/styles/themes/pastel.css +21 -0
- package/dist/styles/themes/pop.css +33 -0
- package/dist/styles/themes/retro.css +35 -0
- package/dist/styles/themes/rose.css +14 -0
- package/dist/styles/themes/rounded.css +18 -0
- package/dist/styles/themes/sakura.css +20 -0
- package/dist/styles/themes/sky.css +20 -0
- package/dist/styles/themes/spring.css +18 -0
- package/dist/styles/themes/starry.css +15 -0
- package/dist/styles/themes/sunset.css +18 -0
- package/dist/styles/themes/teal.css +14 -0
- package/dist/styles/themes/terminal.css +44 -0
- package/dist/styles/themes/vaporwave.css +27 -0
- package/dist/styles/themes/violet.css +14 -0
- package/dist/styles/themes/wabi.css +27 -0
- package/dist/styles/themes/winter.css +20 -0
- package/dist/styles/tokens.css +55 -0
- 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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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
|
+
};
|