straw-ui-vue 0.1.48 → 0.1.49
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/st-cascade/desktop/st-cascade-desktop.d.ts +22 -11
- package/dist/components/st-cascade/desktop/types/st-cascade-desktop.d.ts +9 -3
- package/dist/components/st-cascade/index.d.ts +319 -162
- package/dist/components/st-cascade/phone/st-cascade-phone.d.ts +23 -13
- package/dist/components/st-cascade/phone/types/st-cascade-phone.d.ts +10 -6
- package/dist/components/st-cascade/st-cascade-group.d.ts +20 -11
- package/dist/components/st-cascade/st-cascade.d.ts +22 -11
- package/dist/components/st-cascade/types/st-cascade-context.d.ts +12 -4
- package/dist/components/st-cascade/types/st-cascade-group.d.ts +5 -3
- package/dist/components/st-cascade/useCascadeState.d.ts +6 -0
- package/dist/components/st-checkbox/index.d.ts +6 -6
- package/dist/components/st-checkbox/st-checkbox-group.d.ts +1 -1
- package/dist/components/st-checkbox/types/st-checkbox-group.d.ts +1 -1
- package/dist/components/st-confirm/index.d.ts +5 -5
- package/dist/components/st-confirm/st-confirm.d.ts +2 -2
- package/dist/components/st-date-picker/index.d.ts +6 -6
- package/dist/components/st-date-picker/st-picker-trigger.d.ts +1 -1
- package/dist/components/st-dialog/desktop/st-dialog-desktop.d.ts +2 -2
- package/dist/components/st-dialog/index.d.ts +25 -25
- package/dist/components/st-dialog/phone/st-dialog-phone.d.ts +2 -2
- package/dist/components/st-dialog/st-dialog.d.ts +2 -2
- package/dist/components/st-drawer/desktop/st-drawer-desktop-group.d.ts +2 -2
- package/dist/components/st-drawer/desktop/st-drawer-desktop.d.ts +2 -2
- package/dist/components/st-drawer/index.d.ts +55 -55
- package/dist/components/st-drawer/phone/st-drawer-phone-group.d.ts +2 -2
- package/dist/components/st-drawer/phone/st-drawer-phone.d.ts +2 -2
- package/dist/components/st-drawer/st-drawer-group.d.ts +2 -2
- package/dist/components/st-drawer/st-drawer.d.ts +2 -2
- package/dist/components/st-input/index.d.ts +0 -9
- package/dist/components/st-input/st-input-group.d.ts +0 -1
- package/dist/components/st-input/st-input.d.ts +0 -1
- package/dist/components/st-input/types/st-input-group.d.ts +4 -4
- package/dist/components/st-input/types/st-input.d.ts +0 -2
- package/dist/components/st-message/index.d.ts +5 -5
- package/dist/components/st-message/st-message.d.ts +2 -2
- package/dist/components/st-prompt/index.d.ts +5 -5
- package/dist/components/st-prompt/st-prompt.d.ts +2 -2
- package/dist/components/st-radio/index.d.ts +15 -15
- package/dist/components/st-radio/st-radio-group.d.ts +2 -2
- package/dist/components/st-radio/st-radio.d.ts +1 -1
- package/dist/components/st-radio/types/st-radio-group.d.ts +1 -1
- package/dist/components/st-scrollbar/types/st-scrollbar-group-scroller.d.ts +1 -1
- package/dist/components/st-scrollbar/types/st-scrollbar-group-virtual.d.ts +2 -2
- package/dist/components/st-scrollbar/types/st-scrollbar.d.ts +3 -3
- package/dist/components/st-segmented/index.d.ts +3 -3
- package/dist/components/st-segmented/st-segmented.d.ts +1 -1
- package/dist/components/st-segmented/types/st-segmented.d.ts +2 -2
- package/dist/components/st-select/desktop/st-select-desktop.d.ts +5 -0
- package/dist/components/st-select/desktop/types/st-select-desktop.d.ts +12 -0
- package/dist/components/st-select/index.d.ts +106 -0
- package/dist/components/st-select/phone/st-select-phone-footer.d.ts +1 -0
- package/dist/components/st-select/phone/st-select-phone.d.ts +8 -0
- package/dist/components/st-select/phone/types/st-select-phone-footer.d.ts +2 -0
- package/dist/components/st-select/phone/types/st-select-phone.d.ts +16 -0
- package/dist/components/st-select/st-select-content.d.ts +2 -2
- package/dist/components/st-select/st-select-group-list.d.ts +4 -0
- package/dist/components/st-select/types/st-select-group-list.d.ts +8 -0
- package/dist/components/st-sidebar/index.d.ts +9 -0
- package/dist/components/st-sidebar/st-sidebar-group.d.ts +1 -0
- package/dist/components/st-sidebar/st-sidebar.d.ts +1 -0
- package/dist/components/st-sidebar/types/st-sidebar-context.d.ts +41 -37
- package/dist/components/st-sidebar/types/st-sidebar-group.d.ts +34 -30
- package/dist/components/st-sidebar/types/st-sidebar.d.ts +39 -37
- package/dist/components/st-tree/index.d.ts +92 -35
- package/dist/components/st-tree/st-tree-group-node.d.ts +1 -1
- package/dist/components/st-tree/st-tree-group.d.ts +14 -5
- package/dist/components/st-tree/st-tree.d.ts +15 -6
- package/dist/components/st-tree/types/st-tree-context.d.ts +3 -0
- package/dist/components/st-tree/types/st-tree-group-node.d.ts +2 -2
- package/dist/components/st-tree/types/st-tree-group.d.ts +7 -5
- package/dist/components/st-tree/types/st-tree.d.ts +7 -5
- package/dist/straw-ui.js +2792 -2443
- package/dist/utils.js +1 -1
- package/package.json +94 -94
|
@@ -1,25 +1,34 @@
|
|
|
1
1
|
export declare const StCascade: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StCascadeProps & {
|
|
3
|
-
modelValue?: import('./index.ts').
|
|
4
|
-
|
|
3
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
4
|
+
path?: import('./index.ts').StCascadePath;
|
|
5
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
6
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
5
7
|
}> & Readonly<{
|
|
6
|
-
onConfirm?: (value: import('./index.ts').
|
|
8
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
7
9
|
onClear?: () => any;
|
|
8
10
|
onCancel?: () => any;
|
|
9
|
-
onChange?: (value: import('./index.ts').
|
|
11
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
10
12
|
onVisibleChange?: (visible: boolean) => any;
|
|
11
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
12
|
-
"onUpdate:
|
|
13
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
14
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
15
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
16
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
13
17
|
}>, import('./index.ts').StCascadeExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
confirm: (value: import('./index.ts').
|
|
18
|
+
confirm: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
15
19
|
clear: () => any;
|
|
16
20
|
cancel: () => any;
|
|
17
|
-
change: (value: import('./index.ts').
|
|
21
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
18
22
|
visibleChange: (visible: boolean) => any;
|
|
19
|
-
"update:modelValue": (value: import('./index.ts').
|
|
20
|
-
"update:
|
|
23
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
24
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
25
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
26
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
21
27
|
}, import('vue').PublicProps, {
|
|
22
28
|
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
29
|
+
strict: boolean;
|
|
30
|
+
expandOnClick: boolean | "auto";
|
|
31
|
+
showPath: boolean;
|
|
23
32
|
floatingLabel: boolean;
|
|
24
33
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
25
34
|
P: {};
|
|
@@ -29,62 +38,84 @@ export declare const StCascade: {
|
|
|
29
38
|
M: {};
|
|
30
39
|
Defaults: {};
|
|
31
40
|
}, Readonly<import('./index.ts').StCascadeProps & {
|
|
32
|
-
modelValue?: import('./index.ts').
|
|
33
|
-
|
|
41
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
42
|
+
path?: import('./index.ts').StCascadePath;
|
|
43
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
44
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
34
45
|
}> & Readonly<{
|
|
35
|
-
onConfirm?: (value: import('./index.ts').
|
|
46
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
36
47
|
onClear?: () => any;
|
|
37
48
|
onCancel?: () => any;
|
|
38
|
-
onChange?: (value: import('./index.ts').
|
|
49
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
39
50
|
onVisibleChange?: (visible: boolean) => any;
|
|
40
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
41
|
-
"onUpdate:
|
|
51
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
52
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
53
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
54
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
42
55
|
}>, import('./index.ts').StCascadeExpose, {}, {}, {}, {
|
|
43
56
|
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
57
|
+
strict: boolean;
|
|
58
|
+
expandOnClick: boolean | "auto";
|
|
59
|
+
showPath: boolean;
|
|
44
60
|
floatingLabel: boolean;
|
|
45
61
|
}>;
|
|
46
62
|
__isFragment?: never;
|
|
47
63
|
__isTeleport?: never;
|
|
48
64
|
__isSuspense?: never;
|
|
49
65
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StCascadeProps & {
|
|
50
|
-
modelValue?: import('./index.ts').
|
|
51
|
-
|
|
66
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
67
|
+
path?: import('./index.ts').StCascadePath;
|
|
68
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
69
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
52
70
|
}> & Readonly<{
|
|
53
|
-
onConfirm?: (value: import('./index.ts').
|
|
71
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
54
72
|
onClear?: () => any;
|
|
55
73
|
onCancel?: () => any;
|
|
56
|
-
onChange?: (value: import('./index.ts').
|
|
74
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
57
75
|
onVisibleChange?: (visible: boolean) => any;
|
|
58
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
59
|
-
"onUpdate:
|
|
76
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
77
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
78
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
79
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
60
80
|
}>, import('./index.ts').StCascadeExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
-
confirm: (value: import('./index.ts').
|
|
81
|
+
confirm: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
62
82
|
clear: () => any;
|
|
63
83
|
cancel: () => any;
|
|
64
|
-
change: (value: import('./index.ts').
|
|
84
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
65
85
|
visibleChange: (visible: boolean) => any;
|
|
66
|
-
"update:modelValue": (value: import('./index.ts').
|
|
67
|
-
"update:
|
|
86
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
87
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
88
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
89
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
68
90
|
}, string, {
|
|
69
91
|
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
92
|
+
strict: boolean;
|
|
93
|
+
expandOnClick: boolean | "auto";
|
|
94
|
+
showPath: boolean;
|
|
70
95
|
floatingLabel: boolean;
|
|
71
96
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
72
97
|
$slots: import('./index.ts').StCascadeSlots;
|
|
73
98
|
}) & {
|
|
74
99
|
StCascadeGroup: {
|
|
75
100
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StCascadeGroupProps & {
|
|
76
|
-
modelValue?: import('./index.ts').
|
|
77
|
-
|
|
101
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
102
|
+
path?: import('./index.ts').StCascadePath;
|
|
103
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
104
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
78
105
|
activePath?: import('./index.ts').StCascadePath;
|
|
79
106
|
}> & Readonly<{
|
|
80
|
-
onChange?: (value: import('./index.ts').
|
|
81
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
82
|
-
"onUpdate:
|
|
107
|
+
onChange?: (value: import('./index.ts').StCascadeValue) => any;
|
|
108
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
109
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
110
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
111
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
83
112
|
"onUpdate:activePath"?: (value: import('./index.ts').StCascadePath) => any;
|
|
84
113
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
85
|
-
change: (value: import('./index.ts').
|
|
86
|
-
"update:modelValue": (value: import('./index.ts').
|
|
87
|
-
"update:
|
|
114
|
+
change: (value: import('./index.ts').StCascadeValue) => any;
|
|
115
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
116
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
117
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
118
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
88
119
|
"update:activePath": (value: import('./index.ts').StCascadePath) => any;
|
|
89
120
|
}, import('vue').PublicProps, {
|
|
90
121
|
disabled: boolean;
|
|
@@ -93,6 +124,7 @@ export declare const StCascade: {
|
|
|
93
124
|
valueKey: string;
|
|
94
125
|
childrenKey: string;
|
|
95
126
|
multiple: boolean;
|
|
127
|
+
strict: boolean;
|
|
96
128
|
separator: string;
|
|
97
129
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
98
130
|
P: {};
|
|
@@ -102,13 +134,17 @@ export declare const StCascade: {
|
|
|
102
134
|
M: {};
|
|
103
135
|
Defaults: {};
|
|
104
136
|
}, Readonly<import('./index.ts').StCascadeGroupProps & {
|
|
105
|
-
modelValue?: import('./index.ts').
|
|
106
|
-
|
|
137
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
138
|
+
path?: import('./index.ts').StCascadePath;
|
|
139
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
140
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
107
141
|
activePath?: import('./index.ts').StCascadePath;
|
|
108
142
|
}> & Readonly<{
|
|
109
|
-
onChange?: (value: import('./index.ts').
|
|
110
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
111
|
-
"onUpdate:
|
|
143
|
+
onChange?: (value: import('./index.ts').StCascadeValue) => any;
|
|
144
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
145
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
146
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
147
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
112
148
|
"onUpdate:activePath"?: (value: import('./index.ts').StCascadePath) => any;
|
|
113
149
|
}>, {}, {}, {}, {}, {
|
|
114
150
|
disabled: boolean;
|
|
@@ -117,24 +153,31 @@ export declare const StCascade: {
|
|
|
117
153
|
valueKey: string;
|
|
118
154
|
childrenKey: string;
|
|
119
155
|
multiple: boolean;
|
|
156
|
+
strict: boolean;
|
|
120
157
|
separator: string;
|
|
121
158
|
}>;
|
|
122
159
|
__isFragment?: never;
|
|
123
160
|
__isTeleport?: never;
|
|
124
161
|
__isSuspense?: never;
|
|
125
162
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StCascadeGroupProps & {
|
|
126
|
-
modelValue?: import('./index.ts').
|
|
127
|
-
|
|
163
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
164
|
+
path?: import('./index.ts').StCascadePath;
|
|
165
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
166
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
128
167
|
activePath?: import('./index.ts').StCascadePath;
|
|
129
168
|
}> & Readonly<{
|
|
130
|
-
onChange?: (value: import('./index.ts').
|
|
131
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
132
|
-
"onUpdate:
|
|
169
|
+
onChange?: (value: import('./index.ts').StCascadeValue) => any;
|
|
170
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
171
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
172
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
173
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
133
174
|
"onUpdate:activePath"?: (value: import('./index.ts').StCascadePath) => any;
|
|
134
175
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
135
|
-
change: (value: import('./index.ts').
|
|
136
|
-
"update:modelValue": (value: import('./index.ts').
|
|
137
|
-
"update:
|
|
176
|
+
change: (value: import('./index.ts').StCascadeValue) => any;
|
|
177
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
178
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
179
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
180
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
138
181
|
"update:activePath": (value: import('./index.ts').StCascadePath) => any;
|
|
139
182
|
}, string, {
|
|
140
183
|
disabled: boolean;
|
|
@@ -143,6 +186,7 @@ export declare const StCascade: {
|
|
|
143
186
|
valueKey: string;
|
|
144
187
|
childrenKey: string;
|
|
145
188
|
multiple: boolean;
|
|
189
|
+
strict: boolean;
|
|
146
190
|
separator: string;
|
|
147
191
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
148
192
|
$slots: import('./index.ts').StCascadeGroupSlots;
|
|
@@ -211,20 +255,26 @@ export declare const StCascade: {
|
|
|
211
255
|
});
|
|
212
256
|
StCascadeDesktop: {
|
|
213
257
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StCascadeDesktopProps & {
|
|
214
|
-
modelValue?: import('./index.ts').
|
|
215
|
-
|
|
258
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
259
|
+
path?: import('./index.ts').StCascadePath;
|
|
260
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
261
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
216
262
|
}> & Readonly<{
|
|
217
263
|
onClear?: () => any;
|
|
218
|
-
onChange?: (value: import('./index.ts').
|
|
264
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
219
265
|
onVisibleChange?: (visible: boolean) => any;
|
|
220
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
221
|
-
"onUpdate:
|
|
266
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
267
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
268
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
269
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
222
270
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
223
271
|
clear: () => any;
|
|
224
|
-
change: (value: import('./index.ts').
|
|
272
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
225
273
|
visibleChange: (visible: boolean) => any;
|
|
226
|
-
"update:modelValue": (value: import('./index.ts').
|
|
227
|
-
"update:
|
|
274
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
275
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
276
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
277
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
228
278
|
}, import('vue').PublicProps, {
|
|
229
279
|
size: import('../../types.ts').StSize;
|
|
230
280
|
disabled: boolean;
|
|
@@ -235,7 +285,10 @@ export declare const StCascade: {
|
|
|
235
285
|
placeholder: string;
|
|
236
286
|
clearable: boolean;
|
|
237
287
|
multiple: boolean;
|
|
288
|
+
strict: boolean;
|
|
289
|
+
expandOnClick: boolean | "auto";
|
|
238
290
|
separator: string;
|
|
291
|
+
showPath: boolean;
|
|
239
292
|
defaultExpandedAll: boolean;
|
|
240
293
|
floatingLabel: boolean;
|
|
241
294
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -246,14 +299,18 @@ export declare const StCascade: {
|
|
|
246
299
|
M: {};
|
|
247
300
|
Defaults: {};
|
|
248
301
|
}, Readonly<import('./index.ts').StCascadeDesktopProps & {
|
|
249
|
-
modelValue?: import('./index.ts').
|
|
250
|
-
|
|
302
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
303
|
+
path?: import('./index.ts').StCascadePath;
|
|
304
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
305
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
251
306
|
}> & Readonly<{
|
|
252
307
|
onClear?: () => any;
|
|
253
|
-
onChange?: (value: import('./index.ts').
|
|
308
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
254
309
|
onVisibleChange?: (visible: boolean) => any;
|
|
255
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
256
|
-
"onUpdate:
|
|
310
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
311
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
312
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
313
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
257
314
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, {
|
|
258
315
|
size: import('../../types.ts').StSize;
|
|
259
316
|
disabled: boolean;
|
|
@@ -264,7 +321,10 @@ export declare const StCascade: {
|
|
|
264
321
|
placeholder: string;
|
|
265
322
|
clearable: boolean;
|
|
266
323
|
multiple: boolean;
|
|
324
|
+
strict: boolean;
|
|
325
|
+
expandOnClick: boolean | "auto";
|
|
267
326
|
separator: string;
|
|
327
|
+
showPath: boolean;
|
|
268
328
|
defaultExpandedAll: boolean;
|
|
269
329
|
floatingLabel: boolean;
|
|
270
330
|
}>;
|
|
@@ -272,20 +332,26 @@ export declare const StCascade: {
|
|
|
272
332
|
__isTeleport?: never;
|
|
273
333
|
__isSuspense?: never;
|
|
274
334
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StCascadeDesktopProps & {
|
|
275
|
-
modelValue?: import('./index.ts').
|
|
276
|
-
|
|
335
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
336
|
+
path?: import('./index.ts').StCascadePath;
|
|
337
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
338
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
277
339
|
}> & Readonly<{
|
|
278
340
|
onClear?: () => any;
|
|
279
|
-
onChange?: (value: import('./index.ts').
|
|
341
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
280
342
|
onVisibleChange?: (visible: boolean) => any;
|
|
281
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
282
|
-
"onUpdate:
|
|
343
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
344
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
345
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
346
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
283
347
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
284
348
|
clear: () => any;
|
|
285
|
-
change: (value: import('./index.ts').
|
|
349
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
286
350
|
visibleChange: (visible: boolean) => any;
|
|
287
|
-
"update:modelValue": (value: import('./index.ts').
|
|
288
|
-
"update:
|
|
351
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
352
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
353
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
354
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
289
355
|
}, string, {
|
|
290
356
|
size: import('../../types.ts').StSize;
|
|
291
357
|
disabled: boolean;
|
|
@@ -296,7 +362,10 @@ export declare const StCascade: {
|
|
|
296
362
|
placeholder: string;
|
|
297
363
|
clearable: boolean;
|
|
298
364
|
multiple: boolean;
|
|
365
|
+
strict: boolean;
|
|
366
|
+
expandOnClick: boolean | "auto";
|
|
299
367
|
separator: string;
|
|
368
|
+
showPath: boolean;
|
|
300
369
|
defaultExpandedAll: boolean;
|
|
301
370
|
floatingLabel: boolean;
|
|
302
371
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -304,24 +373,30 @@ export declare const StCascade: {
|
|
|
304
373
|
});
|
|
305
374
|
StCascadePhone: {
|
|
306
375
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StCascadePhoneProps & {
|
|
307
|
-
modelValue?: import('./index.ts').
|
|
308
|
-
|
|
376
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
377
|
+
path?: import('./index.ts').StCascadePath;
|
|
378
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
379
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
309
380
|
}> & Readonly<{
|
|
310
|
-
onConfirm?: (value: import('./index.ts').
|
|
381
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
311
382
|
onClear?: () => any;
|
|
312
383
|
onCancel?: () => any;
|
|
313
|
-
onChange?: (value: import('./index.ts').
|
|
384
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
314
385
|
onVisibleChange?: (visible: boolean) => any;
|
|
315
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
316
|
-
"onUpdate:
|
|
386
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
387
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
388
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
389
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
317
390
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
318
|
-
confirm: (value: import('./index.ts').
|
|
391
|
+
confirm: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
319
392
|
clear: () => any;
|
|
320
393
|
cancel: () => any;
|
|
321
|
-
change: (value: import('./index.ts').
|
|
394
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
322
395
|
visibleChange: (visible: boolean) => any;
|
|
323
|
-
"update:modelValue": (value: import('./index.ts').
|
|
324
|
-
"update:
|
|
396
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
397
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
398
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
399
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
325
400
|
}, import('vue').PublicProps, {
|
|
326
401
|
size: import('../../types.ts').StSize;
|
|
327
402
|
disabled: boolean;
|
|
@@ -333,7 +408,9 @@ export declare const StCascade: {
|
|
|
333
408
|
placeholder: string;
|
|
334
409
|
clearable: boolean;
|
|
335
410
|
multiple: boolean;
|
|
411
|
+
strict: boolean;
|
|
336
412
|
separator: string;
|
|
413
|
+
showPath: boolean;
|
|
337
414
|
floatingLabel: boolean;
|
|
338
415
|
tabPlaceholder: string;
|
|
339
416
|
confirmText: string;
|
|
@@ -347,16 +424,20 @@ export declare const StCascade: {
|
|
|
347
424
|
M: {};
|
|
348
425
|
Defaults: {};
|
|
349
426
|
}, Readonly<import('./index.ts').StCascadePhoneProps & {
|
|
350
|
-
modelValue?: import('./index.ts').
|
|
351
|
-
|
|
427
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
428
|
+
path?: import('./index.ts').StCascadePath;
|
|
429
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
430
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
352
431
|
}> & Readonly<{
|
|
353
|
-
onConfirm?: (value: import('./index.ts').
|
|
432
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
354
433
|
onClear?: () => any;
|
|
355
434
|
onCancel?: () => any;
|
|
356
|
-
onChange?: (value: import('./index.ts').
|
|
435
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
357
436
|
onVisibleChange?: (visible: boolean) => any;
|
|
358
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
359
|
-
"onUpdate:
|
|
437
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
438
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
439
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
440
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
360
441
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, {
|
|
361
442
|
size: import('../../types.ts').StSize;
|
|
362
443
|
disabled: boolean;
|
|
@@ -368,7 +449,9 @@ export declare const StCascade: {
|
|
|
368
449
|
placeholder: string;
|
|
369
450
|
clearable: boolean;
|
|
370
451
|
multiple: boolean;
|
|
452
|
+
strict: boolean;
|
|
371
453
|
separator: string;
|
|
454
|
+
showPath: boolean;
|
|
372
455
|
floatingLabel: boolean;
|
|
373
456
|
tabPlaceholder: string;
|
|
374
457
|
confirmText: string;
|
|
@@ -379,24 +462,30 @@ export declare const StCascade: {
|
|
|
379
462
|
__isTeleport?: never;
|
|
380
463
|
__isSuspense?: never;
|
|
381
464
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StCascadePhoneProps & {
|
|
382
|
-
modelValue?: import('./index.ts').
|
|
383
|
-
|
|
465
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
466
|
+
path?: import('./index.ts').StCascadePath;
|
|
467
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
468
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
384
469
|
}> & Readonly<{
|
|
385
|
-
onConfirm?: (value: import('./index.ts').
|
|
470
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
386
471
|
onClear?: () => any;
|
|
387
472
|
onCancel?: () => any;
|
|
388
|
-
onChange?: (value: import('./index.ts').
|
|
473
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
389
474
|
onVisibleChange?: (visible: boolean) => any;
|
|
390
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
391
|
-
"onUpdate:
|
|
475
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
476
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
477
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
478
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
392
479
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
393
|
-
confirm: (value: import('./index.ts').
|
|
480
|
+
confirm: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
394
481
|
clear: () => any;
|
|
395
482
|
cancel: () => any;
|
|
396
|
-
change: (value: import('./index.ts').
|
|
483
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
397
484
|
visibleChange: (visible: boolean) => any;
|
|
398
|
-
"update:modelValue": (value: import('./index.ts').
|
|
399
|
-
"update:
|
|
485
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
486
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
487
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
488
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
400
489
|
}, string, {
|
|
401
490
|
size: import('../../types.ts').StSize;
|
|
402
491
|
disabled: boolean;
|
|
@@ -408,7 +497,9 @@ export declare const StCascade: {
|
|
|
408
497
|
placeholder: string;
|
|
409
498
|
clearable: boolean;
|
|
410
499
|
multiple: boolean;
|
|
500
|
+
strict: boolean;
|
|
411
501
|
separator: string;
|
|
502
|
+
showPath: boolean;
|
|
412
503
|
floatingLabel: boolean;
|
|
413
504
|
tabPlaceholder: string;
|
|
414
505
|
confirmText: string;
|
|
@@ -421,18 +512,24 @@ export declare const StCascade: {
|
|
|
421
512
|
/** 级联选择状态中心组件(原子容器,提供级联上下文与导航激活路径) */
|
|
422
513
|
export declare const StCascadeGroup: {
|
|
423
514
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StCascadeGroupProps & {
|
|
424
|
-
modelValue?: import('./index.ts').
|
|
425
|
-
|
|
515
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
516
|
+
path?: import('./index.ts').StCascadePath;
|
|
517
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
518
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
426
519
|
activePath?: import('./index.ts').StCascadePath;
|
|
427
520
|
}> & Readonly<{
|
|
428
|
-
onChange?: (value: import('./index.ts').
|
|
429
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
430
|
-
"onUpdate:
|
|
521
|
+
onChange?: (value: import('./index.ts').StCascadeValue) => any;
|
|
522
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
523
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
524
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
525
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
431
526
|
"onUpdate:activePath"?: (value: import('./index.ts').StCascadePath) => any;
|
|
432
527
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
433
|
-
change: (value: import('./index.ts').
|
|
434
|
-
"update:modelValue": (value: import('./index.ts').
|
|
435
|
-
"update:
|
|
528
|
+
change: (value: import('./index.ts').StCascadeValue) => any;
|
|
529
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
530
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
531
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
532
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
436
533
|
"update:activePath": (value: import('./index.ts').StCascadePath) => any;
|
|
437
534
|
}, import('vue').PublicProps, {
|
|
438
535
|
disabled: boolean;
|
|
@@ -441,6 +538,7 @@ export declare const StCascadeGroup: {
|
|
|
441
538
|
valueKey: string;
|
|
442
539
|
childrenKey: string;
|
|
443
540
|
multiple: boolean;
|
|
541
|
+
strict: boolean;
|
|
444
542
|
separator: string;
|
|
445
543
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
446
544
|
P: {};
|
|
@@ -450,13 +548,17 @@ export declare const StCascadeGroup: {
|
|
|
450
548
|
M: {};
|
|
451
549
|
Defaults: {};
|
|
452
550
|
}, Readonly<import('./index.ts').StCascadeGroupProps & {
|
|
453
|
-
modelValue?: import('./index.ts').
|
|
454
|
-
|
|
551
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
552
|
+
path?: import('./index.ts').StCascadePath;
|
|
553
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
554
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
455
555
|
activePath?: import('./index.ts').StCascadePath;
|
|
456
556
|
}> & Readonly<{
|
|
457
|
-
onChange?: (value: import('./index.ts').
|
|
458
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
459
|
-
"onUpdate:
|
|
557
|
+
onChange?: (value: import('./index.ts').StCascadeValue) => any;
|
|
558
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
559
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
560
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
561
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
460
562
|
"onUpdate:activePath"?: (value: import('./index.ts').StCascadePath) => any;
|
|
461
563
|
}>, {}, {}, {}, {}, {
|
|
462
564
|
disabled: boolean;
|
|
@@ -465,24 +567,31 @@ export declare const StCascadeGroup: {
|
|
|
465
567
|
valueKey: string;
|
|
466
568
|
childrenKey: string;
|
|
467
569
|
multiple: boolean;
|
|
570
|
+
strict: boolean;
|
|
468
571
|
separator: string;
|
|
469
572
|
}>;
|
|
470
573
|
__isFragment?: never;
|
|
471
574
|
__isTeleport?: never;
|
|
472
575
|
__isSuspense?: never;
|
|
473
576
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StCascadeGroupProps & {
|
|
474
|
-
modelValue?: import('./index.ts').
|
|
475
|
-
|
|
577
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
578
|
+
path?: import('./index.ts').StCascadePath;
|
|
579
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
580
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
476
581
|
activePath?: import('./index.ts').StCascadePath;
|
|
477
582
|
}> & Readonly<{
|
|
478
|
-
onChange?: (value: import('./index.ts').
|
|
479
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
480
|
-
"onUpdate:
|
|
583
|
+
onChange?: (value: import('./index.ts').StCascadeValue) => any;
|
|
584
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
585
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
586
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
587
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
481
588
|
"onUpdate:activePath"?: (value: import('./index.ts').StCascadePath) => any;
|
|
482
589
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
483
|
-
change: (value: import('./index.ts').
|
|
484
|
-
"update:modelValue": (value: import('./index.ts').
|
|
485
|
-
"update:
|
|
590
|
+
change: (value: import('./index.ts').StCascadeValue) => any;
|
|
591
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
592
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
593
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
594
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
486
595
|
"update:activePath": (value: import('./index.ts').StCascadePath) => any;
|
|
487
596
|
}, string, {
|
|
488
597
|
disabled: boolean;
|
|
@@ -491,6 +600,7 @@ export declare const StCascadeGroup: {
|
|
|
491
600
|
valueKey: string;
|
|
492
601
|
childrenKey: string;
|
|
493
602
|
multiple: boolean;
|
|
603
|
+
strict: boolean;
|
|
494
604
|
separator: string;
|
|
495
605
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
496
606
|
$slots: import('./index.ts').StCascadeGroupSlots;
|
|
@@ -562,20 +672,26 @@ export declare const StCascadeGroupItem: {
|
|
|
562
672
|
/** 桌面端级联选择组件(预封装:触发输入框 + 弹出层 + 树形面板) */
|
|
563
673
|
export declare const StCascadeDesktop: {
|
|
564
674
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StCascadeDesktopProps & {
|
|
565
|
-
modelValue?: import('./index.ts').
|
|
566
|
-
|
|
675
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
676
|
+
path?: import('./index.ts').StCascadePath;
|
|
677
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
678
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
567
679
|
}> & Readonly<{
|
|
568
680
|
onClear?: () => any;
|
|
569
|
-
onChange?: (value: import('./index.ts').
|
|
681
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
570
682
|
onVisibleChange?: (visible: boolean) => any;
|
|
571
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
572
|
-
"onUpdate:
|
|
683
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
684
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
685
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
686
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
573
687
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
574
688
|
clear: () => any;
|
|
575
|
-
change: (value: import('./index.ts').
|
|
689
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
576
690
|
visibleChange: (visible: boolean) => any;
|
|
577
|
-
"update:modelValue": (value: import('./index.ts').
|
|
578
|
-
"update:
|
|
691
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
692
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
693
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
694
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
579
695
|
}, import('vue').PublicProps, {
|
|
580
696
|
size: import('../../types.ts').StSize;
|
|
581
697
|
disabled: boolean;
|
|
@@ -586,7 +702,10 @@ export declare const StCascadeDesktop: {
|
|
|
586
702
|
placeholder: string;
|
|
587
703
|
clearable: boolean;
|
|
588
704
|
multiple: boolean;
|
|
705
|
+
strict: boolean;
|
|
706
|
+
expandOnClick: boolean | "auto";
|
|
589
707
|
separator: string;
|
|
708
|
+
showPath: boolean;
|
|
590
709
|
defaultExpandedAll: boolean;
|
|
591
710
|
floatingLabel: boolean;
|
|
592
711
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -597,14 +716,18 @@ export declare const StCascadeDesktop: {
|
|
|
597
716
|
M: {};
|
|
598
717
|
Defaults: {};
|
|
599
718
|
}, Readonly<import('./index.ts').StCascadeDesktopProps & {
|
|
600
|
-
modelValue?: import('./index.ts').
|
|
601
|
-
|
|
719
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
720
|
+
path?: import('./index.ts').StCascadePath;
|
|
721
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
722
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
602
723
|
}> & Readonly<{
|
|
603
724
|
onClear?: () => any;
|
|
604
|
-
onChange?: (value: import('./index.ts').
|
|
725
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
605
726
|
onVisibleChange?: (visible: boolean) => any;
|
|
606
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
607
|
-
"onUpdate:
|
|
727
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
728
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
729
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
730
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
608
731
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, {
|
|
609
732
|
size: import('../../types.ts').StSize;
|
|
610
733
|
disabled: boolean;
|
|
@@ -615,7 +738,10 @@ export declare const StCascadeDesktop: {
|
|
|
615
738
|
placeholder: string;
|
|
616
739
|
clearable: boolean;
|
|
617
740
|
multiple: boolean;
|
|
741
|
+
strict: boolean;
|
|
742
|
+
expandOnClick: boolean | "auto";
|
|
618
743
|
separator: string;
|
|
744
|
+
showPath: boolean;
|
|
619
745
|
defaultExpandedAll: boolean;
|
|
620
746
|
floatingLabel: boolean;
|
|
621
747
|
}>;
|
|
@@ -623,20 +749,26 @@ export declare const StCascadeDesktop: {
|
|
|
623
749
|
__isTeleport?: never;
|
|
624
750
|
__isSuspense?: never;
|
|
625
751
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StCascadeDesktopProps & {
|
|
626
|
-
modelValue?: import('./index.ts').
|
|
627
|
-
|
|
752
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
753
|
+
path?: import('./index.ts').StCascadePath;
|
|
754
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
755
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
628
756
|
}> & Readonly<{
|
|
629
757
|
onClear?: () => any;
|
|
630
|
-
onChange?: (value: import('./index.ts').
|
|
758
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
631
759
|
onVisibleChange?: (visible: boolean) => any;
|
|
632
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
633
|
-
"onUpdate:
|
|
760
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
761
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
762
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
763
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
634
764
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
635
765
|
clear: () => any;
|
|
636
|
-
change: (value: import('./index.ts').
|
|
766
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
637
767
|
visibleChange: (visible: boolean) => any;
|
|
638
|
-
"update:modelValue": (value: import('./index.ts').
|
|
639
|
-
"update:
|
|
768
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
769
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
770
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
771
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
640
772
|
}, string, {
|
|
641
773
|
size: import('../../types.ts').StSize;
|
|
642
774
|
disabled: boolean;
|
|
@@ -647,7 +779,10 @@ export declare const StCascadeDesktop: {
|
|
|
647
779
|
placeholder: string;
|
|
648
780
|
clearable: boolean;
|
|
649
781
|
multiple: boolean;
|
|
782
|
+
strict: boolean;
|
|
783
|
+
expandOnClick: boolean | "auto";
|
|
650
784
|
separator: string;
|
|
785
|
+
showPath: boolean;
|
|
651
786
|
defaultExpandedAll: boolean;
|
|
652
787
|
floatingLabel: boolean;
|
|
653
788
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -656,24 +791,30 @@ export declare const StCascadeDesktop: {
|
|
|
656
791
|
/** 移动端级联选择组件(预封装:触发输入框 + 抽屉 + 分层标签页 + 确认/取消) */
|
|
657
792
|
export declare const StCascadePhone: {
|
|
658
793
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StCascadePhoneProps & {
|
|
659
|
-
modelValue?: import('./index.ts').
|
|
660
|
-
|
|
794
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
795
|
+
path?: import('./index.ts').StCascadePath;
|
|
796
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
797
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
661
798
|
}> & Readonly<{
|
|
662
|
-
onConfirm?: (value: import('./index.ts').
|
|
799
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
663
800
|
onClear?: () => any;
|
|
664
801
|
onCancel?: () => any;
|
|
665
|
-
onChange?: (value: import('./index.ts').
|
|
802
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
666
803
|
onVisibleChange?: (visible: boolean) => any;
|
|
667
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
668
|
-
"onUpdate:
|
|
804
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
805
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
806
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
807
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
669
808
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
670
|
-
confirm: (value: import('./index.ts').
|
|
809
|
+
confirm: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
671
810
|
clear: () => any;
|
|
672
811
|
cancel: () => any;
|
|
673
|
-
change: (value: import('./index.ts').
|
|
812
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
674
813
|
visibleChange: (visible: boolean) => any;
|
|
675
|
-
"update:modelValue": (value: import('./index.ts').
|
|
676
|
-
"update:
|
|
814
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
815
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
816
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
817
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
677
818
|
}, import('vue').PublicProps, {
|
|
678
819
|
size: import('../../types.ts').StSize;
|
|
679
820
|
disabled: boolean;
|
|
@@ -685,7 +826,9 @@ export declare const StCascadePhone: {
|
|
|
685
826
|
placeholder: string;
|
|
686
827
|
clearable: boolean;
|
|
687
828
|
multiple: boolean;
|
|
829
|
+
strict: boolean;
|
|
688
830
|
separator: string;
|
|
831
|
+
showPath: boolean;
|
|
689
832
|
floatingLabel: boolean;
|
|
690
833
|
tabPlaceholder: string;
|
|
691
834
|
confirmText: string;
|
|
@@ -699,16 +842,20 @@ export declare const StCascadePhone: {
|
|
|
699
842
|
M: {};
|
|
700
843
|
Defaults: {};
|
|
701
844
|
}, Readonly<import('./index.ts').StCascadePhoneProps & {
|
|
702
|
-
modelValue?: import('./index.ts').
|
|
703
|
-
|
|
845
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
846
|
+
path?: import('./index.ts').StCascadePath;
|
|
847
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
848
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
704
849
|
}> & Readonly<{
|
|
705
|
-
onConfirm?: (value: import('./index.ts').
|
|
850
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
706
851
|
onClear?: () => any;
|
|
707
852
|
onCancel?: () => any;
|
|
708
|
-
onChange?: (value: import('./index.ts').
|
|
853
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
709
854
|
onVisibleChange?: (visible: boolean) => any;
|
|
710
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
711
|
-
"onUpdate:
|
|
855
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
856
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
857
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
858
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
712
859
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, {
|
|
713
860
|
size: import('../../types.ts').StSize;
|
|
714
861
|
disabled: boolean;
|
|
@@ -720,7 +867,9 @@ export declare const StCascadePhone: {
|
|
|
720
867
|
placeholder: string;
|
|
721
868
|
clearable: boolean;
|
|
722
869
|
multiple: boolean;
|
|
870
|
+
strict: boolean;
|
|
723
871
|
separator: string;
|
|
872
|
+
showPath: boolean;
|
|
724
873
|
floatingLabel: boolean;
|
|
725
874
|
tabPlaceholder: string;
|
|
726
875
|
confirmText: string;
|
|
@@ -731,24 +880,30 @@ export declare const StCascadePhone: {
|
|
|
731
880
|
__isTeleport?: never;
|
|
732
881
|
__isSuspense?: never;
|
|
733
882
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StCascadePhoneProps & {
|
|
734
|
-
modelValue?: import('./index.ts').
|
|
735
|
-
|
|
883
|
+
modelValue?: import('./index.ts').StCascadeValue;
|
|
884
|
+
path?: import('./index.ts').StCascadePath;
|
|
885
|
+
multipleValue?: import('./index.ts').StCascadeValue[];
|
|
886
|
+
multiplePaths?: import('./index.ts').StCascadePath[];
|
|
736
887
|
}> & Readonly<{
|
|
737
|
-
onConfirm?: (value: import('./index.ts').
|
|
888
|
+
onConfirm?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
738
889
|
onClear?: () => any;
|
|
739
890
|
onCancel?: () => any;
|
|
740
|
-
onChange?: (value: import('./index.ts').
|
|
891
|
+
onChange?: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
741
892
|
onVisibleChange?: (visible: boolean) => any;
|
|
742
|
-
"onUpdate:modelValue"?: (value: import('./index.ts').
|
|
743
|
-
"onUpdate:
|
|
893
|
+
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadeValue) => any;
|
|
894
|
+
"onUpdate:path"?: (value: import('./index.ts').StCascadePath) => any;
|
|
895
|
+
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadeValue[]) => any;
|
|
896
|
+
"onUpdate:multiplePaths"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
744
897
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
745
|
-
confirm: (value: import('./index.ts').
|
|
898
|
+
confirm: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
746
899
|
clear: () => any;
|
|
747
900
|
cancel: () => any;
|
|
748
|
-
change: (value: import('./index.ts').
|
|
901
|
+
change: (value: import('./index.ts').StCascadeValue | import('./index.ts').StCascadeValue[]) => any;
|
|
749
902
|
visibleChange: (visible: boolean) => any;
|
|
750
|
-
"update:modelValue": (value: import('./index.ts').
|
|
751
|
-
"update:
|
|
903
|
+
"update:modelValue": (value: import('./index.ts').StCascadeValue) => any;
|
|
904
|
+
"update:path": (value: import('./index.ts').StCascadePath) => any;
|
|
905
|
+
"update:multipleValue": (value: import('./index.ts').StCascadeValue[]) => any;
|
|
906
|
+
"update:multiplePaths": (value: import('./index.ts').StCascadePath[]) => any;
|
|
752
907
|
}, string, {
|
|
753
908
|
size: import('../../types.ts').StSize;
|
|
754
909
|
disabled: boolean;
|
|
@@ -760,7 +915,9 @@ export declare const StCascadePhone: {
|
|
|
760
915
|
placeholder: string;
|
|
761
916
|
clearable: boolean;
|
|
762
917
|
multiple: boolean;
|
|
918
|
+
strict: boolean;
|
|
763
919
|
separator: string;
|
|
920
|
+
showPath: boolean;
|
|
764
921
|
floatingLabel: boolean;
|
|
765
922
|
tabPlaceholder: string;
|
|
766
923
|
confirmText: string;
|