@dao-style/core 0.2.5 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/form/form-item.vue.d.ts +6 -0
- package/dist/components/form/form.vue.d.ts +17 -4
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/type.d.ts +31 -0
- package/dist/components/message/message.vue.d.ts +1 -0
- package/dist/components/select/props.d.ts +56 -0
- package/dist/components/select/select.vue.d.ts +31 -12
- package/dist/components/transfer/props.d.ts +15 -0
- package/dist/components/transfer/transfer-panel.vue.d.ts +19 -2
- package/dist/components/transfer/transfer.vue.d.ts +42 -13
- package/dist/dao-style.es.js +709 -568
- package/dist/dao-style.umd.js +1 -1
- package/dist/locales/en-US.d.ts +5 -0
- package/dist/locales/zh-CN.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/utils/constant.d.ts +0 -1
- package/dist/utils/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/transfer/components/link.vue.d.ts +0 -35
|
@@ -33,6 +33,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
'padding-top': string;
|
|
34
34
|
'padding-bottom': string;
|
|
35
35
|
}>;
|
|
36
|
+
formItemClass: import("vue").ComputedRef<{
|
|
37
|
+
[x: string]: boolean;
|
|
38
|
+
'dao-form-item': boolean;
|
|
39
|
+
'is-required': boolean;
|
|
40
|
+
}>;
|
|
41
|
+
showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot>;
|
|
36
42
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
37
43
|
label?: unknown;
|
|
38
44
|
required?: unknown;
|
|
@@ -1,15 +1,28 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
type: {
|
|
4
|
-
type: PropType<"vertical" | "horizontal">;
|
|
3
|
+
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
5
4
|
default: string;
|
|
6
|
-
validator: (value:
|
|
5
|
+
validator: (value: "vertical" | "horizontal") => boolean;
|
|
7
6
|
};
|
|
8
7
|
labelWidth: {
|
|
9
8
|
type: StringConstructor;
|
|
10
9
|
default: string;
|
|
11
10
|
};
|
|
12
|
-
},
|
|
11
|
+
}, {
|
|
12
|
+
formClassNames: {
|
|
13
|
+
readonly text: {
|
|
14
|
+
readonly helper: "dao-form-item__helper-text";
|
|
15
|
+
readonly error: "dao-form-item__error-message";
|
|
16
|
+
};
|
|
17
|
+
readonly wrapper: {
|
|
18
|
+
readonly text: "dao-form-item__text-wrapper";
|
|
19
|
+
readonly radio: "dao-form-item__radio-wrapper";
|
|
20
|
+
readonly checkbox: "dao-form-item__checkbox-wrapper";
|
|
21
|
+
readonly switch: "dao-form-item__switch-wrapper";
|
|
22
|
+
readonly footer: "dao-form-item__footer-wrapper";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
13
26
|
type?: unknown;
|
|
14
27
|
labelWidth?: unknown;
|
|
15
28
|
} & {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
|
+
declare const formType: readonly ["horizontal", "vertical"];
|
|
3
|
+
declare type FormType = typeof formType[number];
|
|
4
|
+
export declare const formClassNames: {
|
|
5
|
+
readonly text: {
|
|
6
|
+
readonly helper: "dao-form-item__helper-text";
|
|
7
|
+
readonly error: "dao-form-item__error-message";
|
|
8
|
+
};
|
|
9
|
+
readonly wrapper: {
|
|
10
|
+
readonly text: "dao-form-item__text-wrapper";
|
|
11
|
+
readonly radio: "dao-form-item__radio-wrapper";
|
|
12
|
+
readonly checkbox: "dao-form-item__checkbox-wrapper";
|
|
13
|
+
readonly switch: "dao-form-item__switch-wrapper";
|
|
14
|
+
readonly footer: "dao-form-item__footer-wrapper";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const formProps: {
|
|
18
|
+
type: {
|
|
19
|
+
type: PropType<"vertical" | "horizontal">;
|
|
20
|
+
default: string;
|
|
21
|
+
validator: (value: FormType) => boolean;
|
|
22
|
+
};
|
|
23
|
+
labelWidth: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
declare type FormProps = ExtractPropTypes<typeof formProps>;
|
|
29
|
+
export declare type FormProvide = Partial<Pick<FormProps, 'labelWidth' | 'type'>>;
|
|
30
|
+
export declare const formKey: InjectionKey<FormProvide>;
|
|
31
|
+
export {};
|
|
@@ -23,6 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
typeClass: import("vue").ComputedRef<string>;
|
|
24
24
|
closeMessage: () => void;
|
|
25
25
|
isMessageShow: import("vue").ComputedRef<boolean>;
|
|
26
|
+
onlyContent: import("vue").ComputedRef<string | false>;
|
|
26
27
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "closed" | "show" | "beforeClose" | "beforeShow")[], "update:modelValue" | "change" | "closed" | "show" | "beforeClose" | "beforeShow", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
27
28
|
modelValue?: unknown;
|
|
28
29
|
type?: unknown;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SearchFn } from './types';
|
|
3
|
+
import type { ValidateStatus } from '../../utils/types';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
placeholder: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (size: string) => boolean;
|
|
21
|
+
};
|
|
22
|
+
optionsPlaceholder: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
search: {
|
|
27
|
+
type: PropType<boolean | SearchFn>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
searchPlaceholder: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
menuClass: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
appendTo: {
|
|
39
|
+
type: PropType<string | false | HTMLElement>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
multiple: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
status: {
|
|
47
|
+
type: PropType<"default" | "error" | "success" | "validating">;
|
|
48
|
+
default: string;
|
|
49
|
+
validator: (value: ValidateStatus) => boolean;
|
|
50
|
+
};
|
|
51
|
+
loading: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default _default;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
1
|
import type { Options as PopperOptions } from '@popperjs/core';
|
|
3
|
-
import { DaoSelectOption, OptionValue
|
|
2
|
+
import { DaoSelectOption, OptionValue } from './types';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
modelValue: {
|
|
6
5
|
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
@@ -24,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
23
|
default: undefined;
|
|
25
24
|
};
|
|
26
25
|
search: {
|
|
27
|
-
type: PropType<boolean | SearchFn>;
|
|
26
|
+
type: import("vue").PropType<boolean | import("./types").SearchFn>;
|
|
28
27
|
default: boolean;
|
|
29
28
|
};
|
|
30
29
|
searchPlaceholder: {
|
|
@@ -36,14 +35,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
35
|
default: string;
|
|
37
36
|
};
|
|
38
37
|
appendTo: {
|
|
39
|
-
type: PropType<string | false | HTMLElement>;
|
|
38
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
|
40
39
|
default: string;
|
|
41
40
|
};
|
|
42
41
|
multiple: {
|
|
43
42
|
type: BooleanConstructor;
|
|
44
43
|
default: boolean;
|
|
45
44
|
};
|
|
45
|
+
status: {
|
|
46
|
+
type: import("vue").PropType<"default" | "error" | "success" | "validating">;
|
|
47
|
+
default: string;
|
|
48
|
+
validator: (value: "default" | "error" | "success" | "validating") => boolean;
|
|
49
|
+
};
|
|
50
|
+
loading: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
46
54
|
}, {
|
|
55
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
56
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
57
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
58
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
59
|
+
}>, never, string, string>;
|
|
47
60
|
popper: import("vue").Ref<import("vue").DefineComponent<{
|
|
48
61
|
modelValue: {
|
|
49
62
|
type: BooleanConstructor;
|
|
@@ -54,15 +67,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
67
|
default: string;
|
|
55
68
|
};
|
|
56
69
|
appendTo: {
|
|
57
|
-
type: PropType<string | false | HTMLElement>;
|
|
70
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
|
58
71
|
default: string;
|
|
59
72
|
};
|
|
60
73
|
boundary: {
|
|
61
|
-
type: PropType<import("@popperjs/core").Boundary>;
|
|
74
|
+
type: import("vue").PropType<import("@popperjs/core").Boundary>;
|
|
62
75
|
default: string;
|
|
63
76
|
};
|
|
64
77
|
delay: {
|
|
65
|
-
type: PropType<import("../popper/popper-props").DelayProp>;
|
|
78
|
+
type: import("vue").PropType<import("../popper/popper-props").DelayProp>;
|
|
66
79
|
default: () => import("../popper/popper-props").DelayProp;
|
|
67
80
|
};
|
|
68
81
|
offset: {
|
|
@@ -74,12 +87,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
87
|
default: number;
|
|
75
88
|
};
|
|
76
89
|
placement: {
|
|
77
|
-
type: PropType<import("@popperjs/core").Placement>;
|
|
90
|
+
type: import("vue").PropType<import("@popperjs/core").Placement>;
|
|
78
91
|
default: string;
|
|
79
92
|
validator: (value: import("@popperjs/core").Placement) => boolean;
|
|
80
93
|
};
|
|
81
94
|
trigger: {
|
|
82
|
-
type: PropType<"manual" | import("../popper/popper-props").PopperTrigger | import("../popper/popper-props").PopperTrigger[]>;
|
|
95
|
+
type: import("vue").PropType<"manual" | import("../popper/popper-props").PopperTrigger | import("../popper/popper-props").PopperTrigger[]>;
|
|
83
96
|
default: string;
|
|
84
97
|
};
|
|
85
98
|
visibleArrow: {
|
|
@@ -91,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
104
|
default: string;
|
|
92
105
|
};
|
|
93
106
|
popperOptions: {
|
|
94
|
-
type: PropType<Partial<import("@popperjs/core").OptionsGeneric<import("../popper/popper-props").DaoModifiers>>>;
|
|
107
|
+
type: import("vue").PropType<Partial<import("@popperjs/core").OptionsGeneric<import("../popper/popper-props").DaoModifiers>>>;
|
|
95
108
|
default: () => Partial<import("@popperjs/core").OptionsGeneric<import("../popper/popper-props").DaoModifiers>>;
|
|
96
109
|
};
|
|
97
110
|
disabled: {
|
|
@@ -220,11 +233,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
233
|
menuClass?: unknown;
|
|
221
234
|
appendTo?: unknown;
|
|
222
235
|
multiple?: unknown;
|
|
236
|
+
status?: unknown;
|
|
237
|
+
loading?: unknown;
|
|
223
238
|
} & {
|
|
224
|
-
search: boolean | SearchFn;
|
|
239
|
+
search: boolean | import("./types").SearchFn;
|
|
225
240
|
disabled: boolean;
|
|
226
241
|
size: string;
|
|
242
|
+
loading: boolean;
|
|
227
243
|
appendTo: string | false | HTMLElement;
|
|
244
|
+
status: "default" | "error" | "success" | "validating";
|
|
228
245
|
placeholder: string;
|
|
229
246
|
menuClass: string;
|
|
230
247
|
multiple: boolean;
|
|
@@ -239,11 +256,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
239
256
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
240
257
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
241
258
|
}, {
|
|
242
|
-
search: boolean | SearchFn;
|
|
259
|
+
search: boolean | import("./types").SearchFn;
|
|
243
260
|
disabled: boolean;
|
|
244
261
|
size: string;
|
|
262
|
+
loading: boolean;
|
|
245
263
|
modelValue: string | number | boolean | unknown[];
|
|
246
264
|
appendTo: string | false | HTMLElement;
|
|
265
|
+
status: "default" | "error" | "success" | "validating";
|
|
247
266
|
placeholder: string;
|
|
248
267
|
optionsPlaceholder: string;
|
|
249
268
|
searchPlaceholder: string;
|
|
@@ -37,6 +37,14 @@ export declare const transferProps: {
|
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
|
+
hideCheckAll: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
hideClear: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
40
48
|
props: {
|
|
41
49
|
type: PropType<Props>;
|
|
42
50
|
default: () => {};
|
|
@@ -77,6 +85,13 @@ export declare const transferPanelProp: {
|
|
|
77
85
|
type: PropType<Props>;
|
|
78
86
|
default: () => {};
|
|
79
87
|
};
|
|
88
|
+
checkedStatus: {
|
|
89
|
+
type: ObjectConstructor;
|
|
90
|
+
default: () => {
|
|
91
|
+
checked: boolean;
|
|
92
|
+
indeterminate: boolean;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
80
95
|
};
|
|
81
96
|
export declare type TransferProps = ExtractPropTypes<typeof transferProps>;
|
|
82
97
|
export declare type TransferInstance = InstanceType<typeof Transfer>;
|
|
@@ -37,8 +37,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
}>;
|
|
38
38
|
default: () => {};
|
|
39
39
|
};
|
|
40
|
+
checkedStatus: {
|
|
41
|
+
type: ObjectConstructor;
|
|
42
|
+
default: () => {
|
|
43
|
+
checked: boolean;
|
|
44
|
+
indeterminate: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
40
47
|
}, {
|
|
41
48
|
ns: string;
|
|
49
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
50
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
51
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
52
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
53
|
+
}>, never, string, string>;
|
|
42
54
|
query: import("vue").Ref<string>;
|
|
43
55
|
labelProp: import("vue").ComputedRef<string>;
|
|
44
56
|
keyProp: import("vue").ComputedRef<string>;
|
|
@@ -47,8 +59,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
59
|
isSource: import("vue").ComputedRef<boolean>;
|
|
48
60
|
isEmpty: import("vue").ComputedRef<boolean>;
|
|
49
61
|
hasFooter: import("vue").ComputedRef<boolean>;
|
|
50
|
-
|
|
51
|
-
|
|
62
|
+
handleCheckAll: (checked: boolean) => void;
|
|
63
|
+
handleItemEvent: (action: 'remove' | 'check', row: import("./props").DataItem) => void;
|
|
64
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("refresh" | "selectedChange" | "checkAll")[], "refresh" | "selectedChange" | "checkAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
52
65
|
type?: unknown;
|
|
53
66
|
data?: unknown;
|
|
54
67
|
checkedKeys?: unknown;
|
|
@@ -58,6 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
71
|
filterPlaceholder?: unknown;
|
|
59
72
|
hideDesc?: unknown;
|
|
60
73
|
props?: unknown;
|
|
74
|
+
checkedStatus?: unknown;
|
|
61
75
|
} & {
|
|
62
76
|
props: {
|
|
63
77
|
key: string;
|
|
@@ -70,12 +84,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
84
|
filterable: boolean;
|
|
71
85
|
hideDesc: boolean;
|
|
72
86
|
checkedKeys: unknown[];
|
|
87
|
+
checkedStatus: Record<string, any>;
|
|
73
88
|
} & {
|
|
74
89
|
filterMethod?: ((query: string, item: import("./props").DataItem) => boolean) | undefined;
|
|
75
90
|
filterPlaceholder?: string | undefined;
|
|
76
91
|
}> & {
|
|
77
92
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
78
93
|
onSelectedChange?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onCheckAll?: ((...args: any[]) => any) | undefined;
|
|
79
95
|
}, {
|
|
80
96
|
props: {
|
|
81
97
|
key: string;
|
|
@@ -88,5 +104,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
104
|
filterable: boolean;
|
|
89
105
|
hideDesc: boolean;
|
|
90
106
|
checkedKeys: unknown[];
|
|
107
|
+
checkedStatus: Record<string, any>;
|
|
91
108
|
}>;
|
|
92
109
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { DataItem } from './props';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
source: {
|
|
3
|
-
type: import("vue").PropType<
|
|
4
|
-
default: () =>
|
|
4
|
+
type: import("vue").PropType<DataItem[]>;
|
|
5
|
+
default: () => DataItem[];
|
|
5
6
|
};
|
|
6
7
|
modelValue: {
|
|
7
8
|
type: import("vue").PropType<unknown[]>;
|
|
@@ -16,8 +17,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
17
|
default: () => boolean[];
|
|
17
18
|
};
|
|
18
19
|
filterMethod: {
|
|
19
|
-
type: import("vue").PropType<((query: string, item:
|
|
20
|
-
default: () => ((query: string, item:
|
|
20
|
+
type: import("vue").PropType<((query: string, item: DataItem) => boolean)[]>;
|
|
21
|
+
default: () => ((query: string, item: DataItem) => boolean)[];
|
|
21
22
|
};
|
|
22
23
|
filterPlaceholder: {
|
|
23
24
|
type: import("vue").PropType<string[]>;
|
|
@@ -27,6 +28,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
28
|
type: BooleanConstructor;
|
|
28
29
|
default: boolean;
|
|
29
30
|
};
|
|
31
|
+
hideCheckAll: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
hideClear: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
30
39
|
props: {
|
|
31
40
|
type: import("vue").PropType<{
|
|
32
41
|
key: string;
|
|
@@ -36,16 +45,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
45
|
default: () => {};
|
|
37
46
|
};
|
|
38
47
|
}, {
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
49
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
50
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
51
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
52
|
+
}>, never, string, string>;
|
|
53
|
+
sourceData: import("vue").ComputedRef<DataItem[]>;
|
|
54
|
+
targetData: import("vue").Ref<{
|
|
55
|
+
[x: string]: unknown;
|
|
56
|
+
}[]>;
|
|
41
57
|
selectedKeys: import("vue").WritableComputedRef<unknown[]> | import("vue").Ref<unknown[]>;
|
|
42
|
-
|
|
58
|
+
checkedStatus: {
|
|
59
|
+
checked: boolean;
|
|
60
|
+
indeterminate: boolean;
|
|
61
|
+
canCheckArr: string[];
|
|
62
|
+
disabledCheck: string[];
|
|
63
|
+
};
|
|
43
64
|
onChange: ({ direction, row, }: {
|
|
44
65
|
direction: 'left' | 'right';
|
|
45
|
-
row:
|
|
66
|
+
row: DataItem;
|
|
46
67
|
}) => void;
|
|
47
68
|
onClear: () => void;
|
|
48
|
-
|
|
69
|
+
onCheckAll: (checked: boolean) => void;
|
|
70
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "add" | "clear" | "refresh" | "checkAll")[], "update:modelValue" | "change" | "add" | "clear" | "refresh" | "checkAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
49
71
|
source?: unknown;
|
|
50
72
|
modelValue?: unknown;
|
|
51
73
|
disabledKeys?: unknown;
|
|
@@ -53,6 +75,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
75
|
filterMethod?: unknown;
|
|
54
76
|
filterPlaceholder?: unknown;
|
|
55
77
|
hideDesc?: unknown;
|
|
78
|
+
hideCheckAll?: unknown;
|
|
79
|
+
hideClear?: unknown;
|
|
56
80
|
props?: unknown;
|
|
57
81
|
} & {
|
|
58
82
|
props: {
|
|
@@ -61,16 +85,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
85
|
desc?: string | undefined;
|
|
62
86
|
};
|
|
63
87
|
modelValue: unknown[];
|
|
64
|
-
source:
|
|
88
|
+
source: DataItem[];
|
|
65
89
|
disabledKeys: unknown[];
|
|
66
90
|
filterable: boolean[];
|
|
67
|
-
filterMethod: ((query: string, item:
|
|
91
|
+
filterMethod: ((query: string, item: DataItem) => boolean)[];
|
|
68
92
|
filterPlaceholder: string[];
|
|
69
93
|
hideDesc: boolean;
|
|
94
|
+
hideCheckAll: boolean;
|
|
95
|
+
hideClear: boolean;
|
|
70
96
|
} & {}> & {
|
|
71
97
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
72
98
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
73
99
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
onCheckAll?: ((...args: any[]) => any) | undefined;
|
|
74
101
|
onAdd?: ((...args: any[]) => any) | undefined;
|
|
75
102
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
76
103
|
}, {
|
|
@@ -80,11 +107,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
107
|
desc?: string | undefined;
|
|
81
108
|
};
|
|
82
109
|
modelValue: unknown[];
|
|
83
|
-
source:
|
|
110
|
+
source: DataItem[];
|
|
84
111
|
disabledKeys: unknown[];
|
|
85
112
|
filterable: boolean[];
|
|
86
|
-
filterMethod: ((query: string, item:
|
|
113
|
+
filterMethod: ((query: string, item: DataItem) => boolean)[];
|
|
87
114
|
filterPlaceholder: string[];
|
|
88
115
|
hideDesc: boolean;
|
|
116
|
+
hideCheckAll: boolean;
|
|
117
|
+
hideClear: boolean;
|
|
89
118
|
}>;
|
|
90
119
|
export default _default;
|