@dao-style/core 1.9.1-beta.3 → 1.9.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/virtual-select/types.d.ts +1 -2
- package/dist/components/virtual-select/uilts.d.ts +3 -75
- package/dist/components/virtual-select/virtual-option.vue.d.ts +1 -3
- package/dist/components/virtual-select/virtual-select.d.ts +9 -27
- package/dist/components/virtual-select/virtual-select.vue.d.ts +4 -11
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +1170 -1161
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OptionValue } from '../select/types';
|
|
2
|
-
type Option = OptionValue | {
|
|
2
|
+
export type Option = OptionValue | {
|
|
3
3
|
[key: string]: Option;
|
|
4
4
|
} | Option[];
|
|
5
5
|
export type OptionType = {
|
|
@@ -12,4 +12,3 @@ export interface DaoVirtualSelectState {
|
|
|
12
12
|
searchText: string;
|
|
13
13
|
visible: boolean;
|
|
14
14
|
}
|
|
15
|
-
export {};
|
|
@@ -1,77 +1,5 @@
|
|
|
1
1
|
import { type OptionType } from './types';
|
|
2
2
|
import { type virtualSelectProps } from './props';
|
|
3
|
-
export declare const getLabel: (option: OptionType, key: string) => import("
|
|
4
|
-
|
|
5
|
-
} |
|
|
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)[])[])[])[])[])[])[])[])[])[])[];
|
|
3
|
+
export declare const getLabel: (option: OptionType, key: string) => import("./types").Option;
|
|
4
|
+
export declare const getValue: (option: OptionType, key: string) => import("./types").Option;
|
|
5
|
+
export declare const getShowLabel: (option: OptionType, { labelKey, valueKey }: Pick<virtualSelectProps, 'labelKey' | 'valueKey'>) => import("./types").Option;
|
|
@@ -20,9 +20,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
22
|
}, {
|
|
23
|
-
labelValue: import("vue").ComputedRef<import("
|
|
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)[])[])[])[])[])[])[])[])[])[])[]>;
|
|
23
|
+
labelValue: import("vue").ComputedRef<import("./types").Option>;
|
|
26
24
|
isDisabled: import("vue").ComputedRef<boolean>;
|
|
27
25
|
onClick: () => void;
|
|
28
26
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -598,21 +598,15 @@ declare const DaoVirtualSelect: {
|
|
|
598
598
|
}>;
|
|
599
599
|
onSearchClear: () => void;
|
|
600
600
|
selectedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
601
|
+
selectedOptionsLabels: import("vue").ComputedRef<import("./types").Option[]>;
|
|
601
602
|
isActive: (item: OptionType) => boolean;
|
|
602
603
|
computedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
603
604
|
selectableOptions: import("vue").ComputedRef<OptionType[]>;
|
|
604
605
|
isCheckedAllChecked: import("vue").ComputedRef<boolean>;
|
|
605
606
|
isCheckedAllIndeterminate: import("vue").ComputedRef<boolean>;
|
|
606
607
|
onSearchTextChange: () => void;
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
610
|
-
getOptionValue: (option: OptionType) => OptionValue | {
|
|
611
|
-
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
612
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
613
|
-
getOptionShowLabel: (option: OptionType) => OptionValue | {
|
|
614
|
-
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
615
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
608
|
+
optionsValueMap: import("vue").ComputedRef<WeakMap<OptionType, import("./types").Option>>;
|
|
609
|
+
optionsShowLabelMap: import("vue").ComputedRef<WeakMap<OptionType, import("./types").Option>>;
|
|
616
610
|
onSelect: (option: OptionType) => void;
|
|
617
611
|
handleCheckAll: (checked: boolean) => void;
|
|
618
612
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], string, {
|
|
@@ -1132,21 +1126,15 @@ declare const DaoVirtualSelect: {
|
|
|
1132
1126
|
}>;
|
|
1133
1127
|
onSearchClear: () => void;
|
|
1134
1128
|
selectedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1129
|
+
selectedOptionsLabels: import("vue").ComputedRef<import("./types").Option[]>;
|
|
1135
1130
|
isActive: (item: OptionType) => boolean;
|
|
1136
1131
|
computedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1137
1132
|
selectableOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1138
1133
|
isCheckedAllChecked: import("vue").ComputedRef<boolean>;
|
|
1139
1134
|
isCheckedAllIndeterminate: import("vue").ComputedRef<boolean>;
|
|
1140
1135
|
onSearchTextChange: () => void;
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1144
|
-
getOptionValue: (option: OptionType) => OptionValue | {
|
|
1145
|
-
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1146
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1147
|
-
getOptionShowLabel: (option: OptionType) => OptionValue | {
|
|
1148
|
-
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1149
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1136
|
+
optionsValueMap: import("vue").ComputedRef<WeakMap<OptionType, import("./types").Option>>;
|
|
1137
|
+
optionsShowLabelMap: import("vue").ComputedRef<WeakMap<OptionType, import("./types").Option>>;
|
|
1150
1138
|
onSelect: (option: OptionType) => void;
|
|
1151
1139
|
handleCheckAll: (checked: boolean) => void;
|
|
1152
1140
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -1631,21 +1619,15 @@ declare const DaoVirtualSelect: {
|
|
|
1631
1619
|
}>;
|
|
1632
1620
|
onSearchClear: () => void;
|
|
1633
1621
|
selectedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1622
|
+
selectedOptionsLabels: import("vue").ComputedRef<import("./types").Option[]>;
|
|
1634
1623
|
isActive: (item: OptionType) => boolean;
|
|
1635
1624
|
computedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1636
1625
|
selectableOptions: import("vue").ComputedRef<OptionType[]>;
|
|
1637
1626
|
isCheckedAllChecked: import("vue").ComputedRef<boolean>;
|
|
1638
1627
|
isCheckedAllIndeterminate: import("vue").ComputedRef<boolean>;
|
|
1639
1628
|
onSearchTextChange: () => void;
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1643
|
-
getOptionValue: (option: OptionType) => OptionValue | {
|
|
1644
|
-
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1645
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1646
|
-
getOptionShowLabel: (option: OptionType) => OptionValue | {
|
|
1647
|
-
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1648
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
1629
|
+
optionsValueMap: import("vue").ComputedRef<WeakMap<OptionType, import("./types").Option>>;
|
|
1630
|
+
optionsShowLabelMap: import("vue").ComputedRef<WeakMap<OptionType, import("./types").Option>>;
|
|
1649
1631
|
onSelect: (option: OptionType) => void;
|
|
1650
1632
|
handleCheckAll: (checked: boolean) => void;
|
|
1651
1633
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], "open" | "close" | "change" | "update:modelValue" | "search-change", {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Options as PopperOptions } from '@popperjs/core';
|
|
2
2
|
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css';
|
|
3
|
-
import type { OptionType } from './types';
|
|
4
|
-
import type { OptionValue } from '../select/types';
|
|
3
|
+
import type { OptionType, Option } from './types';
|
|
5
4
|
declare const _default: import("vue").DefineComponent<{
|
|
6
5
|
search: {
|
|
7
6
|
type: import("vue").PropType<boolean | import("./types").DaoVirtualSelectSearchFn>;
|
|
@@ -474,21 +473,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
474
473
|
}>;
|
|
475
474
|
onSearchClear: () => void;
|
|
476
475
|
selectedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
476
|
+
selectedOptionsLabels: import("vue").ComputedRef<Option[]>;
|
|
477
477
|
isActive: (item: OptionType) => boolean;
|
|
478
478
|
computedOptions: import("vue").ComputedRef<OptionType[]>;
|
|
479
479
|
selectableOptions: import("vue").ComputedRef<OptionType[]>;
|
|
480
480
|
isCheckedAllChecked: import("vue").ComputedRef<boolean>;
|
|
481
481
|
isCheckedAllIndeterminate: import("vue").ComputedRef<boolean>;
|
|
482
482
|
onSearchTextChange: () => void;
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
486
|
-
getOptionValue: (option: OptionType) => OptionValue | {
|
|
487
|
-
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
488
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
489
|
-
getOptionShowLabel: (option: OptionType) => OptionValue | {
|
|
490
|
-
[key: string]: OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
491
|
-
} | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | (OptionValue | any | any)[])[])[])[])[])[])[])[])[])[])[];
|
|
483
|
+
optionsValueMap: import("vue").ComputedRef<WeakMap<OptionType, Option>>;
|
|
484
|
+
optionsShowLabelMap: import("vue").ComputedRef<WeakMap<OptionType, Option>>;
|
|
492
485
|
onSelect: (option: OptionType) => void;
|
|
493
486
|
handleCheckAll: (checked: boolean) => void;
|
|
494
487
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "change" | "update:modelValue" | "search-change")[], "open" | "close" | "change" | "update:modelValue" | "search-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|