@dao-style/core 2.0.0-alpha.2 → 2.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/components/action-icon/action-icon.d.ts +401 -2
- package/dist/components/action-icon/action-icon.vue.d.ts +47 -6
- package/dist/components/action-icon/props.d.ts +22 -2
- package/dist/components/autocomplete/autocomplete.d.ts +1295 -6
- package/dist/components/autocomplete/autocomplete.vue.d.ts +29 -43
- package/dist/components/batch-bar/batch-bar.d.ts +135 -2
- package/dist/components/batch-bar/batch-bar.vue.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +65 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-props.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb.d.ts +110 -2
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +4 -4
- package/dist/components/button/button-group.d.ts +1 -2
- package/dist/components/button/button-group.vue.d.ts +1 -1
- package/dist/components/button/button.d.ts +491 -2
- package/dist/components/button/button.vue.d.ts +62 -23
- package/dist/components/button/props.d.ts +31 -8
- package/dist/components/card/card-header.d.ts +82 -7
- package/dist/components/card/card-header.vue.d.ts +3 -12
- package/dist/components/card/card-item.d.ts +13 -2
- package/dist/components/card/card-item.vue.d.ts +1 -1
- package/dist/components/card/card-props.d.ts +1 -9
- package/dist/components/card/card.d.ts +107 -7
- package/dist/components/card/card.vue.d.ts +4 -13
- package/dist/components/checkbox/checkbox-group.d.ts +76 -2
- package/dist/components/checkbox/checkbox-group.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +207 -2
- package/dist/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/components/dialog/dialog-footer.d.ts +129 -2
- package/dist/components/dialog/dialog-footer.vue.d.ts +1 -1
- package/dist/components/dialog/dialog-header.d.ts +96 -4
- package/dist/components/dialog/dialog-header.vue.d.ts +6 -6
- package/dist/components/dialog/dialog.d.ts +454 -4
- package/dist/components/dialog/dialog.vue.d.ts +7 -6
- package/dist/components/dialog/props.d.ts +4 -4
- package/dist/components/drawer/drawer.d.ts +277 -2
- package/dist/components/drawer/drawer.vue.d.ts +1 -1
- package/dist/components/dropdown/dropdown-item.d.ts +378 -2
- package/dist/components/dropdown/dropdown-item.vue.d.ts +47 -6
- package/dist/components/dropdown/dropdown-menu.d.ts +13 -2
- package/dist/components/dropdown/dropdown-menu.vue.d.ts +1 -1
- package/dist/components/dropdown/dropdown.d.ts +1075 -2
- package/dist/components/dropdown/dropdown.vue.d.ts +39 -37
- package/dist/components/dropdown/props.d.ts +24 -4
- package/dist/components/ellipsis/ellipsis.d.ts +4160 -2
- package/dist/components/ellipsis/ellipsis.vue.d.ts +123 -113
- package/dist/components/ellipsis/props.d.ts +1 -1
- package/dist/components/empty/empty.d.ts +93 -2
- package/dist/components/empty/empty.vue.d.ts +5 -5
- package/dist/components/empty/props.d.ts +1 -1
- package/dist/components/expansion/expansion-item.d.ts +139 -4
- package/dist/components/expansion/expansion-item.vue.d.ts +1 -1
- package/dist/components/expansion/expansion.d.ts +128 -2
- package/dist/components/expansion/expansion.vue.d.ts +3 -3
- package/dist/components/expansion/props.d.ts +1 -1
- package/dist/components/form/error-text.d.ts +39 -2
- package/dist/components/form/error-text.vue.d.ts +1 -1
- package/dist/components/form/form-group.d.ts +154 -3
- package/dist/components/form/form-group.vue.d.ts +3 -3
- package/dist/components/form/form-item.d.ts +298 -3
- package/dist/components/form/form-item.vue.d.ts +17 -9
- package/dist/components/form/form.d.ts +104 -2
- package/dist/components/form/form.vue.d.ts +5 -5
- package/dist/components/form/helper-text.d.ts +39 -2
- package/dist/components/form/helper-text.vue.d.ts +1 -1
- package/dist/components/form/props.d.ts +10 -6
- package/dist/components/header/header.d.ts +76 -2
- package/dist/components/header/header.vue.d.ts +1 -1
- package/dist/components/icon/icon.d.ts +33 -2
- package/dist/components/icon/icon.vue.d.ts +2 -12
- package/dist/components/icon/index.d.ts +0 -1
- package/dist/components/icon/props.d.ts +0 -4
- package/dist/components/input/input.d.ts +333 -2
- package/dist/components/input/input.vue.d.ts +5 -12
- package/dist/components/message/message-inner.vue.d.ts +1 -1
- package/dist/components/message/message.d.ts +199 -4
- package/dist/components/message/message.vue.d.ts +8 -8
- package/dist/components/nav/nav-head.d.ts +77 -3
- package/dist/components/nav/nav-head.vue.d.ts +1 -11
- package/dist/components/nav/nav-item.d.ts +260 -2
- package/dist/components/nav/nav-item.vue.d.ts +13 -13
- package/dist/components/nav/nav-sub.d.ts +297 -2
- package/dist/components/nav/nav-sub.vue.d.ts +13 -13
- package/dist/components/nav/nav.d.ts +122 -2
- package/dist/components/nav/nav.vue.d.ts +2 -2
- package/dist/components/nav/props.d.ts +10 -14
- package/dist/components/pagination/pagination.d.ts +313 -2
- package/dist/components/pagination/pagination.vue.d.ts +1 -1
- package/dist/components/popover/popover-props.d.ts +3 -3
- package/dist/components/popover/popover.d.ts +344 -2
- package/dist/components/popover/popover.vue.d.ts +10 -9
- package/dist/components/popper/popper-content.vue.d.ts +3 -3
- package/dist/components/popper/popper-props.d.ts +3 -3
- package/dist/components/popper/popper.d.ts +344 -2
- package/dist/components/popper/popper.vue.d.ts +10 -9
- package/dist/components/popper/use-popper.d.ts +2 -1
- package/dist/components/progress/progress.d.ts +111 -2
- package/dist/components/progress/progress.vue.d.ts +1 -1
- package/dist/components/radio/radio-group.d.ts +85 -2
- package/dist/components/radio/radio-group.vue.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +161 -2
- package/dist/components/radio/radio.vue.d.ts +1 -1
- package/dist/components/select/option.d.ts +98 -2
- package/dist/components/select/option.vue.d.ts +1 -1
- package/dist/components/select/options.d.ts +1 -1
- package/dist/components/select/props.d.ts +1 -1
- package/dist/components/select/select.d.ts +1645 -3
- package/dist/components/select/select.vue.d.ts +34 -31
- package/dist/components/switch/switch-props.d.ts +1 -1
- package/dist/components/switch/switch.vue.d.ts +1 -1
- package/dist/components/table/column-setting-props.d.ts +1 -1
- package/dist/components/table/column-setting.vue.d.ts +59 -35
- package/dist/components/table/components/tdAction.vue.d.ts +1 -1
- package/dist/components/table/resizer.vue.d.ts +1 -1
- package/dist/components/table/table-props.d.ts +5 -1
- package/dist/components/table/table.d.ts +1333 -20
- package/dist/components/table/table.vue.d.ts +119 -21
- package/dist/components/table/type.d.ts +2 -1
- package/dist/components/tabs/props.d.ts +2 -2
- package/dist/components/tabs/tab-item.d.ts +103 -2
- package/dist/components/tabs/tab-item.vue.d.ts +1 -1
- package/dist/components/tabs/tab-nav.d.ts +63 -2
- package/dist/components/tabs/tab-nav.vue.d.ts +4 -2
- package/dist/components/tabs/tabs.d.ts +201 -2
- package/dist/components/tabs/tabs.vue.d.ts +7 -3
- package/dist/components/tag/tag.d.ts +123 -2
- package/dist/components/tag/tag.vue.d.ts +1 -1
- package/dist/components/text-button/props.d.ts +3 -1
- package/dist/components/text-button/test/TestComponent.vue.d.ts +7 -9
- package/dist/components/text-button/text-button.d.ts +117 -4
- package/dist/components/text-button/text-button.vue.d.ts +17 -14
- package/dist/components/toolbar/toolbar-filter.vue.d.ts +1 -1
- package/dist/components/toolbar/toolbar.d.ts +265 -3
- package/dist/components/toolbar/toolbar.vue.d.ts +1 -1
- package/dist/components/tooltip/tooltip-props.d.ts +3 -3
- package/dist/components/tooltip/tooltip.d.ts +344 -2
- package/dist/components/tooltip/tooltip.vue.d.ts +10 -9
- package/dist/components/transfer/props.d.ts +6 -8
- package/dist/components/transfer/transfer-panel.d.ts +308 -7
- package/dist/components/transfer/transfer-panel.vue.d.ts +16 -16
- package/dist/components/transfer/transfer.d.ts +589 -19
- package/dist/components/transfer/transfer.vue.d.ts +15 -15
- package/dist/components/virtual-select/props.d.ts +3 -3
- package/dist/components/virtual-select/uilts.d.ts +1 -1
- package/dist/components/virtual-select/virtual-option.vue.d.ts +1 -1
- package/dist/components/virtual-select/virtual-select.d.ts +1610 -3
- package/dist/components/virtual-select/virtual-select.vue.d.ts +31 -28
- package/dist/dao-style.js +7 -31
- package/dist/dao-style.mjs +6764 -6871
- package/dist/directives/tooltip/directive.d.ts +1 -1
- package/dist/directives/tooltip/wrapper.d.ts +18 -5
- package/dist/font/DaoCloudIconFont/DaoCloudIconFont.woff2 +0 -0
- package/dist/index.d.ts +5 -1
- package/dist/style.css +1 -1
- package/dist/uses/index.d.ts +3 -0
- package/dist/uses/useFocusTrap.d.ts +13 -0
- package/dist/uses/useLockGesture.d.ts +4 -0
- package/dist/utils/assist.d.ts +2 -2
- package/index.js +7 -0
- package/package.json +15 -15
- package/dist/components/icon/svg.d.ts +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
type: {
|
|
3
|
-
type: import("vue").PropType<
|
|
3
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
4
4
|
default: string;
|
|
5
|
-
validator: (value:
|
|
5
|
+
validator: (value: "vertical" | "horizontal") => boolean;
|
|
6
6
|
};
|
|
7
7
|
labelWidth: {
|
|
8
8
|
type: import("vue").PropType<string>;
|
|
@@ -22,11 +22,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
readonly footer: "dao-form-item__footer-wrapper";
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
26
|
type: {
|
|
27
|
-
type: import("vue").PropType<
|
|
27
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
28
28
|
default: string;
|
|
29
|
-
validator: (value:
|
|
29
|
+
validator: (value: "vertical" | "horizontal") => boolean;
|
|
30
30
|
};
|
|
31
31
|
labelWidth: {
|
|
32
32
|
type: import("vue").PropType<string>;
|
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
import { SlotFn } from '../../utils/types';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const DaoHelperText: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
content: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
content: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>>, {
|
|
14
|
+
content: string;
|
|
15
|
+
}, true, {}, {}, {
|
|
16
|
+
P: {};
|
|
17
|
+
B: {};
|
|
18
|
+
D: {};
|
|
19
|
+
C: {};
|
|
20
|
+
M: {};
|
|
21
|
+
Defaults: {};
|
|
22
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
content: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>>, {}, {}, {}, {}, {
|
|
28
|
+
content: string;
|
|
29
|
+
}>;
|
|
30
|
+
__isFragment?: undefined;
|
|
31
|
+
__isTeleport?: undefined;
|
|
32
|
+
__isSuspense?: undefined;
|
|
33
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
content: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
39
|
+
content: string;
|
|
40
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
4
41
|
$slots: {
|
|
5
42
|
default: SlotFn;
|
|
6
43
|
};
|
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
6
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
content: {
|
|
8
8
|
type: StringConstructor;
|
|
9
9
|
default: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { FormType
|
|
2
|
+
import { FormType } from './type';
|
|
3
3
|
export declare const formItemProps: {
|
|
4
4
|
label: {
|
|
5
5
|
type: PropType<string>;
|
|
@@ -10,15 +10,15 @@ export declare const formItemProps: {
|
|
|
10
10
|
default: boolean;
|
|
11
11
|
};
|
|
12
12
|
wrapperType: {
|
|
13
|
-
type: PropType<
|
|
13
|
+
type: PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
|
|
14
14
|
default: undefined;
|
|
15
15
|
};
|
|
16
16
|
paddingTop: {
|
|
17
|
-
type: PropType<
|
|
17
|
+
type: PropType<string | number>;
|
|
18
18
|
default: number;
|
|
19
19
|
};
|
|
20
20
|
paddingBottom: {
|
|
21
|
-
type: PropType<
|
|
21
|
+
type: PropType<string | number>;
|
|
22
22
|
default: number;
|
|
23
23
|
};
|
|
24
24
|
labelWidth: {
|
|
@@ -37,11 +37,15 @@ export declare const formItemProps: {
|
|
|
37
37
|
type: PropType<string>;
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
|
+
type: {
|
|
41
|
+
type: PropType<"vertical" | "horizontal">;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
40
44
|
};
|
|
41
45
|
export type FormItemProps = ExtractPropTypes<typeof formItemProps>;
|
|
42
46
|
export declare const formProps: {
|
|
43
47
|
type: {
|
|
44
|
-
type: PropType<
|
|
48
|
+
type: PropType<"vertical" | "horizontal">;
|
|
45
49
|
default: string;
|
|
46
50
|
validator: (value: FormType) => boolean;
|
|
47
51
|
};
|
|
@@ -53,7 +57,7 @@ export declare const formProps: {
|
|
|
53
57
|
export type FormProps = ExtractPropTypes<typeof formProps>;
|
|
54
58
|
export declare const formGroupProps: {
|
|
55
59
|
type: {
|
|
56
|
-
type: PropType<"
|
|
60
|
+
type: PropType<"2nd" | "3rd" | "1st">;
|
|
57
61
|
default: string;
|
|
58
62
|
};
|
|
59
63
|
title: {
|
|
@@ -1,6 +1,80 @@
|
|
|
1
1
|
import { SlotFn } from '../../utils/types';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const DaoHeader: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: import("vue").PropType<import("./props").HeaderType>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
title: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}>>, {
|
|
13
|
+
ns: string;
|
|
14
|
+
showInfo: import("vue").ComputedRef<{
|
|
15
|
+
title: boolean;
|
|
16
|
+
breadcrumb: boolean | import("vue").Slot<any> | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
type: {
|
|
20
|
+
type: import("vue").PropType<import("./props").HeaderType>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
title: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
type: import("./props").HeaderType;
|
|
29
|
+
title: string;
|
|
30
|
+
}, true, {}, {}, {
|
|
31
|
+
P: {};
|
|
32
|
+
B: {};
|
|
33
|
+
D: {};
|
|
34
|
+
C: {};
|
|
35
|
+
M: {};
|
|
36
|
+
Defaults: {};
|
|
37
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
type: {
|
|
39
|
+
type: import("vue").PropType<import("./props").HeaderType>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
title: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
}>>, {
|
|
47
|
+
ns: string;
|
|
48
|
+
showInfo: import("vue").ComputedRef<{
|
|
49
|
+
title: boolean;
|
|
50
|
+
breadcrumb: boolean | import("vue").Slot<any> | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
}, {}, {}, {}, {
|
|
53
|
+
type: import("./props").HeaderType;
|
|
54
|
+
title: string;
|
|
55
|
+
}>;
|
|
56
|
+
__isFragment?: undefined;
|
|
57
|
+
__isTeleport?: undefined;
|
|
58
|
+
__isSuspense?: undefined;
|
|
59
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
type: {
|
|
61
|
+
type: import("vue").PropType<import("./props").HeaderType>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
title: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
}>>, {
|
|
69
|
+
ns: string;
|
|
70
|
+
showInfo: import("vue").ComputedRef<{
|
|
71
|
+
title: boolean;
|
|
72
|
+
breadcrumb: boolean | import("vue").Slot<any> | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
75
|
+
type: import("./props").HeaderType;
|
|
76
|
+
title: string;
|
|
77
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
4
78
|
$slots: {
|
|
5
79
|
title: SlotFn;
|
|
6
80
|
breadcrumb: SlotFn;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
title: boolean;
|
|
14
14
|
breadcrumb: boolean | import("vue").Slot<any> | undefined;
|
|
15
15
|
}>;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
type: {
|
|
18
18
|
type: import("vue").PropType<import("./props").HeaderType>;
|
|
19
19
|
default: string;
|
|
@@ -1,6 +1,37 @@
|
|
|
1
|
-
import Icon from './icon.vue';
|
|
2
1
|
import { IconProps } from './props';
|
|
3
|
-
declare const DaoIcon:
|
|
2
|
+
declare const DaoIcon: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
name: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: boolean;
|
|
7
|
+
};
|
|
8
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
name: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>>, {}, true, {}, {}, {
|
|
14
|
+
P: {};
|
|
15
|
+
B: {};
|
|
16
|
+
D: {};
|
|
17
|
+
C: {};
|
|
18
|
+
M: {};
|
|
19
|
+
Defaults: {};
|
|
20
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
name: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: boolean;
|
|
24
|
+
};
|
|
25
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
26
|
+
__isFragment?: undefined;
|
|
27
|
+
__isTeleport?: undefined;
|
|
28
|
+
__isSuspense?: undefined;
|
|
29
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
name: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: boolean;
|
|
33
|
+
};
|
|
34
|
+
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
4
35
|
$props: Partial<IconProps>;
|
|
5
36
|
});
|
|
6
37
|
export default DaoIcon;
|
|
@@ -3,20 +3,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: boolean;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
7
|
name: {
|
|
12
8
|
type: StringConstructor;
|
|
13
9
|
required: boolean;
|
|
14
10
|
};
|
|
15
|
-
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
}>>, {
|
|
20
|
-
useFont: boolean;
|
|
21
|
-
}, {}>;
|
|
11
|
+
}>>, {}, {}>;
|
|
22
12
|
export default _default;
|
|
@@ -1,7 +1,338 @@
|
|
|
1
1
|
import { SlotFn } from '../../utils/types';
|
|
2
|
-
import Input from './input.vue';
|
|
3
2
|
import { InputProps } from './props';
|
|
4
|
-
declare const DaoInput:
|
|
3
|
+
declare const DaoInput: {
|
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: import("vue").PropType<import("./props").ModalValueType>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
type: {
|
|
10
|
+
type: import("vue").PropType<import("./props").InputType>;
|
|
11
|
+
default: string;
|
|
12
|
+
validator: (value: import("./props").InputType) => boolean;
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
type: import("vue").PropType<import("./props").InputSize>;
|
|
20
|
+
default: string;
|
|
21
|
+
validator: (value: import("./props").InputSize) => boolean;
|
|
22
|
+
};
|
|
23
|
+
block: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
status: {
|
|
28
|
+
type: import("vue").PropType<import("./props").InputStatus>;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: import("./props").InputStatus) => boolean;
|
|
31
|
+
};
|
|
32
|
+
borderless: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
append: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
prepend: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
rootAttrs: {
|
|
45
|
+
type: ObjectConstructor;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
48
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
"onAfter-reset"?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
currentValue: import("vue").Ref<import("./props").ModalValueType>;
|
|
56
|
+
displayValue: import("vue").ComputedRef<import("./props").ModalValueType>;
|
|
57
|
+
isFocus: import("vue").Ref<boolean>;
|
|
58
|
+
input: import("vue").Ref<HTMLInputElement | null>;
|
|
59
|
+
clearable: import("vue").ComputedRef<boolean | "" | 0 | undefined>;
|
|
60
|
+
wrapClasses: import("vue").ComputedRef<(string | {
|
|
61
|
+
[x: string]: boolean | "" | 0 | undefined;
|
|
62
|
+
})[]>;
|
|
63
|
+
inputClasses: import("vue").ComputedRef<(string | {
|
|
64
|
+
[x: string]: boolean | import("vue").Slot<any> | undefined;
|
|
65
|
+
})[]>;
|
|
66
|
+
inputAttrs: import("vue").ComputedRef<{
|
|
67
|
+
onInput(event: Event): void;
|
|
68
|
+
onChange(event: Event): void;
|
|
69
|
+
onBlur(event: FocusEvent): void;
|
|
70
|
+
onFocus(event: FocusEvent): void;
|
|
71
|
+
}>;
|
|
72
|
+
slots: Readonly<{
|
|
73
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
resetCurrentVal: () => void;
|
|
76
|
+
statusClasses: import("vue").ComputedRef<string>;
|
|
77
|
+
changeNumberValue: (changeType: "increase" | "decrease") => void;
|
|
78
|
+
isIncreaseDisabled: import("vue").Ref<boolean>;
|
|
79
|
+
isDecreaseDisabled: import("vue").Ref<boolean>;
|
|
80
|
+
isChangingNumber: import("vue").Ref<boolean>;
|
|
81
|
+
inputType: import("vue").ComputedRef<import("./props").InputType>;
|
|
82
|
+
passwordIcon: import("vue").ComputedRef<"icon-eye-slash" | "icon-eye">;
|
|
83
|
+
toggleShowPassword: () => void;
|
|
84
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change" | "update:modelValue" | "after-reset")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
modelValue: {
|
|
86
|
+
type: import("vue").PropType<import("./props").ModalValueType>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
type: {
|
|
90
|
+
type: import("vue").PropType<import("./props").InputType>;
|
|
91
|
+
default: string;
|
|
92
|
+
validator: (value: import("./props").InputType) => boolean;
|
|
93
|
+
};
|
|
94
|
+
disabled: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
size: {
|
|
99
|
+
type: import("vue").PropType<import("./props").InputSize>;
|
|
100
|
+
default: string;
|
|
101
|
+
validator: (value: import("./props").InputSize) => boolean;
|
|
102
|
+
};
|
|
103
|
+
block: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
status: {
|
|
108
|
+
type: import("vue").PropType<import("./props").InputStatus>;
|
|
109
|
+
default: string;
|
|
110
|
+
validator: (value: import("./props").InputStatus) => boolean;
|
|
111
|
+
};
|
|
112
|
+
borderless: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
append: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
prepend: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
rootAttrs: {
|
|
125
|
+
type: ObjectConstructor;
|
|
126
|
+
};
|
|
127
|
+
}>> & {
|
|
128
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
129
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
132
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
"onAfter-reset"?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
}, {
|
|
135
|
+
type: import("./props").InputType;
|
|
136
|
+
modelValue: import("./props").ModalValueType;
|
|
137
|
+
disabled: boolean;
|
|
138
|
+
size: import("./props").InputSize;
|
|
139
|
+
status: import("./props").InputStatus;
|
|
140
|
+
block: boolean;
|
|
141
|
+
borderless: boolean;
|
|
142
|
+
append: string;
|
|
143
|
+
prepend: string;
|
|
144
|
+
}, true, {}, {}, {
|
|
145
|
+
P: {};
|
|
146
|
+
B: {};
|
|
147
|
+
D: {};
|
|
148
|
+
C: {};
|
|
149
|
+
M: {};
|
|
150
|
+
Defaults: {};
|
|
151
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
152
|
+
modelValue: {
|
|
153
|
+
type: import("vue").PropType<import("./props").ModalValueType>;
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
type: {
|
|
157
|
+
type: import("vue").PropType<import("./props").InputType>;
|
|
158
|
+
default: string;
|
|
159
|
+
validator: (value: import("./props").InputType) => boolean;
|
|
160
|
+
};
|
|
161
|
+
disabled: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
size: {
|
|
166
|
+
type: import("vue").PropType<import("./props").InputSize>;
|
|
167
|
+
default: string;
|
|
168
|
+
validator: (value: import("./props").InputSize) => boolean;
|
|
169
|
+
};
|
|
170
|
+
block: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
status: {
|
|
175
|
+
type: import("vue").PropType<import("./props").InputStatus>;
|
|
176
|
+
default: string;
|
|
177
|
+
validator: (value: import("./props").InputStatus) => boolean;
|
|
178
|
+
};
|
|
179
|
+
borderless: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
append: {
|
|
184
|
+
type: StringConstructor;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
prepend: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
rootAttrs: {
|
|
192
|
+
type: ObjectConstructor;
|
|
193
|
+
};
|
|
194
|
+
}>> & {
|
|
195
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
196
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
197
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
198
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
199
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
200
|
+
"onAfter-reset"?: ((...args: any[]) => any) | undefined;
|
|
201
|
+
}, {
|
|
202
|
+
currentValue: import("vue").Ref<import("./props").ModalValueType>;
|
|
203
|
+
displayValue: import("vue").ComputedRef<import("./props").ModalValueType>;
|
|
204
|
+
isFocus: import("vue").Ref<boolean>;
|
|
205
|
+
input: import("vue").Ref<HTMLInputElement | null>;
|
|
206
|
+
clearable: import("vue").ComputedRef<boolean | "" | 0 | undefined>;
|
|
207
|
+
wrapClasses: import("vue").ComputedRef<(string | {
|
|
208
|
+
[x: string]: boolean | "" | 0 | undefined;
|
|
209
|
+
})[]>;
|
|
210
|
+
inputClasses: import("vue").ComputedRef<(string | {
|
|
211
|
+
[x: string]: boolean | import("vue").Slot<any> | undefined;
|
|
212
|
+
})[]>;
|
|
213
|
+
inputAttrs: import("vue").ComputedRef<{
|
|
214
|
+
onInput(event: Event): void;
|
|
215
|
+
onChange(event: Event): void;
|
|
216
|
+
onBlur(event: FocusEvent): void;
|
|
217
|
+
onFocus(event: FocusEvent): void;
|
|
218
|
+
}>;
|
|
219
|
+
slots: Readonly<{
|
|
220
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
221
|
+
}>;
|
|
222
|
+
resetCurrentVal: () => void;
|
|
223
|
+
statusClasses: import("vue").ComputedRef<string>;
|
|
224
|
+
changeNumberValue: (changeType: "increase" | "decrease") => void;
|
|
225
|
+
isIncreaseDisabled: import("vue").Ref<boolean>;
|
|
226
|
+
isDecreaseDisabled: import("vue").Ref<boolean>;
|
|
227
|
+
isChangingNumber: import("vue").Ref<boolean>;
|
|
228
|
+
inputType: import("vue").ComputedRef<import("./props").InputType>;
|
|
229
|
+
passwordIcon: import("vue").ComputedRef<"icon-eye-slash" | "icon-eye">;
|
|
230
|
+
toggleShowPassword: () => void;
|
|
231
|
+
}, {}, {}, {}, {
|
|
232
|
+
type: import("./props").InputType;
|
|
233
|
+
modelValue: import("./props").ModalValueType;
|
|
234
|
+
disabled: boolean;
|
|
235
|
+
size: import("./props").InputSize;
|
|
236
|
+
status: import("./props").InputStatus;
|
|
237
|
+
block: boolean;
|
|
238
|
+
borderless: boolean;
|
|
239
|
+
append: string;
|
|
240
|
+
prepend: string;
|
|
241
|
+
}>;
|
|
242
|
+
__isFragment?: undefined;
|
|
243
|
+
__isTeleport?: undefined;
|
|
244
|
+
__isSuspense?: undefined;
|
|
245
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
246
|
+
modelValue: {
|
|
247
|
+
type: import("vue").PropType<import("./props").ModalValueType>;
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
type: {
|
|
251
|
+
type: import("vue").PropType<import("./props").InputType>;
|
|
252
|
+
default: string;
|
|
253
|
+
validator: (value: import("./props").InputType) => boolean;
|
|
254
|
+
};
|
|
255
|
+
disabled: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
259
|
+
size: {
|
|
260
|
+
type: import("vue").PropType<import("./props").InputSize>;
|
|
261
|
+
default: string;
|
|
262
|
+
validator: (value: import("./props").InputSize) => boolean;
|
|
263
|
+
};
|
|
264
|
+
block: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
status: {
|
|
269
|
+
type: import("vue").PropType<import("./props").InputStatus>;
|
|
270
|
+
default: string;
|
|
271
|
+
validator: (value: import("./props").InputStatus) => boolean;
|
|
272
|
+
};
|
|
273
|
+
borderless: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
277
|
+
append: {
|
|
278
|
+
type: StringConstructor;
|
|
279
|
+
default: string;
|
|
280
|
+
};
|
|
281
|
+
prepend: {
|
|
282
|
+
type: StringConstructor;
|
|
283
|
+
default: string;
|
|
284
|
+
};
|
|
285
|
+
rootAttrs: {
|
|
286
|
+
type: ObjectConstructor;
|
|
287
|
+
};
|
|
288
|
+
}>> & {
|
|
289
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
290
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
291
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
292
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
293
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
294
|
+
"onAfter-reset"?: ((...args: any[]) => any) | undefined;
|
|
295
|
+
}, {
|
|
296
|
+
currentValue: import("vue").Ref<import("./props").ModalValueType>;
|
|
297
|
+
displayValue: import("vue").ComputedRef<import("./props").ModalValueType>;
|
|
298
|
+
isFocus: import("vue").Ref<boolean>;
|
|
299
|
+
input: import("vue").Ref<HTMLInputElement | null>;
|
|
300
|
+
clearable: import("vue").ComputedRef<boolean | "" | 0 | undefined>;
|
|
301
|
+
wrapClasses: import("vue").ComputedRef<(string | {
|
|
302
|
+
[x: string]: boolean | "" | 0 | undefined;
|
|
303
|
+
})[]>;
|
|
304
|
+
inputClasses: import("vue").ComputedRef<(string | {
|
|
305
|
+
[x: string]: boolean | import("vue").Slot<any> | undefined;
|
|
306
|
+
})[]>;
|
|
307
|
+
inputAttrs: import("vue").ComputedRef<{
|
|
308
|
+
onInput(event: Event): void;
|
|
309
|
+
onChange(event: Event): void;
|
|
310
|
+
onBlur(event: FocusEvent): void;
|
|
311
|
+
onFocus(event: FocusEvent): void;
|
|
312
|
+
}>;
|
|
313
|
+
slots: Readonly<{
|
|
314
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
315
|
+
}>;
|
|
316
|
+
resetCurrentVal: () => void;
|
|
317
|
+
statusClasses: import("vue").ComputedRef<string>;
|
|
318
|
+
changeNumberValue: (changeType: "increase" | "decrease") => void;
|
|
319
|
+
isIncreaseDisabled: import("vue").Ref<boolean>;
|
|
320
|
+
isDecreaseDisabled: import("vue").Ref<boolean>;
|
|
321
|
+
isChangingNumber: import("vue").Ref<boolean>;
|
|
322
|
+
inputType: import("vue").ComputedRef<import("./props").InputType>;
|
|
323
|
+
passwordIcon: import("vue").ComputedRef<"icon-eye-slash" | "icon-eye">;
|
|
324
|
+
toggleShowPassword: () => void;
|
|
325
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change" | "update:modelValue" | "after-reset")[], "input" | "focus" | "blur" | "change" | "update:modelValue" | "after-reset", {
|
|
326
|
+
type: import("./props").InputType;
|
|
327
|
+
modelValue: import("./props").ModalValueType;
|
|
328
|
+
disabled: boolean;
|
|
329
|
+
size: import("./props").InputSize;
|
|
330
|
+
status: import("./props").InputStatus;
|
|
331
|
+
block: boolean;
|
|
332
|
+
borderless: boolean;
|
|
333
|
+
append: string;
|
|
334
|
+
prepend: string;
|
|
335
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
5
336
|
$props: Partial<InputProps>;
|
|
6
337
|
$slots: {
|
|
7
338
|
prefix: SlotFn;
|