@dao-style/core 1.8.1-beta.3 → 1.8.1-beta.4
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/index.d.ts +1 -0
- package/dist/components/virtual-select/index.d.ts +3 -0
- package/dist/components/virtual-select/props.d.ts +106 -0
- package/dist/components/virtual-select/types.d.ts +15 -0
- package/dist/components/virtual-select/uilts.d.ts +77 -0
- package/dist/components/virtual-select/virtual-option.vue.d.ts +60 -0
- package/dist/components/virtual-select/virtual-select.d.ts +1638 -0
- package/dist/components/virtual-select/virtual-select.vue.d.ts +572 -0
- package/dist/dao-style.js +7 -6
- package/dist/dao-style.mjs +5705 -4598
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/volar.d.ts +1 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { DaoVirtualSelectSearchFn, OptionType } from './types';
|
|
3
|
+
import { OptionValue } from '../select/types';
|
|
4
|
+
export declare const virtualSelectProps: {
|
|
5
|
+
search: {
|
|
6
|
+
type: PropType<boolean | DaoVirtualSelectSearchFn>;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
options: {
|
|
10
|
+
type: PropType<OptionType[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
labelKey: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
valueKey: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
itemHeight: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: (StringConstructor | BooleanConstructor | ArrayConstructor | NumberConstructor)[];
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
placeholder: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
validator: (size: string) => boolean;
|
|
41
|
+
};
|
|
42
|
+
optionsPlaceholder: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
searchPlaceholder: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
menuClass: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
appendTo: {
|
|
55
|
+
type: PropType<string | false | HTMLElement>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
multiple: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
status: {
|
|
63
|
+
type: PropType<"default" | "error" | "success" | "validating">;
|
|
64
|
+
default: string;
|
|
65
|
+
validator: (value: "default" | "error" | "success" | "validating") => boolean;
|
|
66
|
+
};
|
|
67
|
+
loading: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export type virtualSelectProps = ExtractPropTypes<typeof virtualSelectProps>;
|
|
73
|
+
export declare const virtualOptionProps: {
|
|
74
|
+
option: {
|
|
75
|
+
type: PropType<OptionType>;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
78
|
+
active: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
labelKey: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
valueKey: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
multiple: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export type virtualOptionProps = ExtractPropTypes<typeof virtualOptionProps>;
|
|
96
|
+
export declare const virtualSelectEmits: {
|
|
97
|
+
'update:modelValue': (val: OptionValue | OptionValue[]) => void;
|
|
98
|
+
change: (val: OptionValue | OptionValue[]) => void;
|
|
99
|
+
'search-change': (search: string) => void;
|
|
100
|
+
close: () => void;
|
|
101
|
+
open: () => void;
|
|
102
|
+
};
|
|
103
|
+
export declare const virtualOptionEmits: {
|
|
104
|
+
select: (val: OptionType) => void;
|
|
105
|
+
};
|
|
106
|
+
export type virtualSelectEmits = typeof virtualSelectEmits;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { OptionValue } from '../select/types';
|
|
2
|
+
type Option = OptionValue | {
|
|
3
|
+
[key: string]: Option;
|
|
4
|
+
} | Option[];
|
|
5
|
+
export type OptionType = {
|
|
6
|
+
[key: string]: Option;
|
|
7
|
+
} & {
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type DaoVirtualSelectSearchFn = (keyword: string, value: OptionValue, option: OptionType) => boolean;
|
|
11
|
+
export interface DaoVirtualSelectState {
|
|
12
|
+
searchText: string;
|
|
13
|
+
visible: boolean;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { type OptionType } from './types';
|
|
2
|
+
import { type virtualSelectProps } from './props';
|
|
3
|
+
export declare const getLabel: (option: OptionType, key: string) => import("..").OptionValue | {
|
|
4
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
5
|
+
} | (import("..").OptionValue | {
|
|
6
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
7
|
+
} | (import("..").OptionValue | {
|
|
8
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
9
|
+
} | (import("..").OptionValue | {
|
|
10
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
11
|
+
} | (import("..").OptionValue | {
|
|
12
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
13
|
+
} | (import("..").OptionValue | {
|
|
14
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
15
|
+
} | (import("..").OptionValue | {
|
|
16
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
17
|
+
} | (import("..").OptionValue | {
|
|
18
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
19
|
+
} | (import("..").OptionValue | {
|
|
20
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
21
|
+
} | (import("..").OptionValue | {
|
|
22
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
23
|
+
} | (import("..").OptionValue | {
|
|
24
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
25
|
+
} | (import("..").OptionValue | {
|
|
26
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
27
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
28
|
+
export declare const getValue: (option: OptionType, key: string) => import("..").OptionValue | {
|
|
29
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
30
|
+
} | (import("..").OptionValue | {
|
|
31
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
32
|
+
} | (import("..").OptionValue | {
|
|
33
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
34
|
+
} | (import("..").OptionValue | {
|
|
35
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
36
|
+
} | (import("..").OptionValue | {
|
|
37
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
38
|
+
} | (import("..").OptionValue | {
|
|
39
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
40
|
+
} | (import("..").OptionValue | {
|
|
41
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
42
|
+
} | (import("..").OptionValue | {
|
|
43
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
44
|
+
} | (import("..").OptionValue | {
|
|
45
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
46
|
+
} | (import("..").OptionValue | {
|
|
47
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
48
|
+
} | (import("..").OptionValue | {
|
|
49
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
50
|
+
} | (import("..").OptionValue | {
|
|
51
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
52
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
53
|
+
export declare const getShowLabel: (option: OptionType, { labelKey, valueKey }: Pick<virtualSelectProps, 'labelKey' | 'valueKey'>) => import("..").OptionValue | {
|
|
54
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
55
|
+
} | (import("..").OptionValue | {
|
|
56
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
57
|
+
} | (import("..").OptionValue | {
|
|
58
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
59
|
+
} | (import("..").OptionValue | {
|
|
60
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
61
|
+
} | (import("..").OptionValue | {
|
|
62
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
63
|
+
} | (import("..").OptionValue | {
|
|
64
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
65
|
+
} | (import("..").OptionValue | {
|
|
66
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
67
|
+
} | (import("..").OptionValue | {
|
|
68
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
69
|
+
} | (import("..").OptionValue | {
|
|
70
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
71
|
+
} | (import("..").OptionValue | {
|
|
72
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
73
|
+
} | (import("..").OptionValue | {
|
|
74
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
75
|
+
} | (import("..").OptionValue | {
|
|
76
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
77
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
option: {
|
|
3
|
+
type: import("vue").PropType<import("./types").OptionType>;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
active: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
labelKey: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
valueKey: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
multiple: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
labelValue: import("vue").ComputedRef<import("..").OptionValue | {
|
|
24
|
+
[key: string]: import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
25
|
+
} | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | (import("..").OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[]>;
|
|
26
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
27
|
+
onClick: () => void;
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
select: (val: import("./types").OptionType) => void;
|
|
30
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
option: {
|
|
32
|
+
type: import("vue").PropType<import("./types").OptionType>;
|
|
33
|
+
default: () => {};
|
|
34
|
+
};
|
|
35
|
+
active: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
labelKey: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
valueKey: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
multiple: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
}>> & {
|
|
52
|
+
onSelect?: ((val: import("./types").OptionType) => any) | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
option: import("./types").OptionType;
|
|
55
|
+
multiple: boolean;
|
|
56
|
+
active: boolean;
|
|
57
|
+
valueKey: string;
|
|
58
|
+
labelKey: string;
|
|
59
|
+
}>;
|
|
60
|
+
export default _default;
|