@opentinyvue/vue-cascader-view 2.22.0 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +583 -468
- package/package.json +7 -7
- package/src/mobile-first.vue.d.ts +248 -1
- package/src/option.vue.d.ts +29 -1
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-cascader-view",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-icon": "~
|
|
11
|
-
"@opentinyvue/vue-button": "~
|
|
12
|
-
"@opentinyvue/vue-exception": "~
|
|
13
|
-
"@opentinyvue/vue-action-sheet": "~
|
|
14
|
-
"@opentinyvue/vue-common": "~
|
|
10
|
+
"@opentinyvue/vue-icon": "~3.22.0",
|
|
11
|
+
"@opentinyvue/vue-button": "~3.22.0",
|
|
12
|
+
"@opentinyvue/vue-exception": "~3.22.0",
|
|
13
|
+
"@opentinyvue/vue-action-sheet": "~3.22.0",
|
|
14
|
+
"@opentinyvue/vue-common": "~3.22.0",
|
|
15
15
|
"@opentinyvue/vue-renderless": "~3.22.0",
|
|
16
|
-
"@opentinyvue/vue-checkbox": "~
|
|
16
|
+
"@opentinyvue/vue-checkbox": "~3.22.0"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"types": "index.d.ts",
|
|
@@ -1,2 +1,249 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
2
|
+
_constants: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => {
|
|
5
|
+
defaultNodeConfig: {
|
|
6
|
+
lazy: boolean;
|
|
7
|
+
load: null;
|
|
8
|
+
isLeaf: string;
|
|
9
|
+
afterLoad: null;
|
|
10
|
+
currentNodeKey: null;
|
|
11
|
+
checkStrictly: boolean;
|
|
12
|
+
checkDescendants: null;
|
|
13
|
+
defaultCheckedKeys: null;
|
|
14
|
+
defaultExpandedKeys: null;
|
|
15
|
+
autoExpandParent: null;
|
|
16
|
+
defaultExpandAll: null;
|
|
17
|
+
filterNodeMethod: null;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
data: {
|
|
22
|
+
type: ArrayConstructor;
|
|
23
|
+
default: () => never[];
|
|
24
|
+
};
|
|
25
|
+
modelValue: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
26
|
+
visible: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
valueField: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
textField: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
textField2: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
textField3: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
title: StringConstructor;
|
|
47
|
+
textSplit: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
showHeader: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
56
|
+
mask: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
ellipsis: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
searchConfig: {
|
|
65
|
+
type: ObjectConstructor;
|
|
66
|
+
default: () => {
|
|
67
|
+
options: never[];
|
|
68
|
+
searchMethod: null;
|
|
69
|
+
openSearchSlot: boolean;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
childrenField: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
nodeConfig: {
|
|
77
|
+
type: ObjectConstructor;
|
|
78
|
+
default: () => {
|
|
79
|
+
lazy: boolean;
|
|
80
|
+
load: null;
|
|
81
|
+
isLeaf: string;
|
|
82
|
+
afterLoad: null;
|
|
83
|
+
currentNodeKey: null;
|
|
84
|
+
checkStrictly: boolean;
|
|
85
|
+
checkDescendants: null;
|
|
86
|
+
defaultCheckedKeys: null;
|
|
87
|
+
defaultExpandedKeys: null;
|
|
88
|
+
autoExpandParent: null;
|
|
89
|
+
defaultExpandAll: null;
|
|
90
|
+
filterNodeMethod: null;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
lockScroll: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
emitPath: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
tiny_mode: StringConstructor;
|
|
102
|
+
tiny_mode_root: BooleanConstructor;
|
|
103
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
104
|
+
tiny_renderless: FunctionConstructor;
|
|
105
|
+
tiny_theme: StringConstructor;
|
|
106
|
+
tiny_chart_theme: ObjectConstructor;
|
|
107
|
+
}, {
|
|
108
|
+
t: (this: any, path: any, options?: any) => any;
|
|
109
|
+
vm: any;
|
|
110
|
+
f: (props: any, attrs?: {}) => {};
|
|
111
|
+
a: (attrs: any, filters: any, include: any) => {};
|
|
112
|
+
d: (props: any) => void;
|
|
113
|
+
dp: (props: any) => void;
|
|
114
|
+
gcls: (key: any) => any;
|
|
115
|
+
m: (...cssClasses: any[]) => string;
|
|
116
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("click" | "close" | "update:modelValue" | "update:visible" | "confirm" | "update:text" | "search-click")[], "click" | "close" | "update:modelValue" | "update:visible" | "confirm" | "update:text" | "search-click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
117
|
+
_constants: {
|
|
118
|
+
type: ObjectConstructor;
|
|
119
|
+
default: () => {
|
|
120
|
+
defaultNodeConfig: {
|
|
121
|
+
lazy: boolean;
|
|
122
|
+
load: null;
|
|
123
|
+
isLeaf: string;
|
|
124
|
+
afterLoad: null;
|
|
125
|
+
currentNodeKey: null;
|
|
126
|
+
checkStrictly: boolean;
|
|
127
|
+
checkDescendants: null;
|
|
128
|
+
defaultCheckedKeys: null;
|
|
129
|
+
defaultExpandedKeys: null;
|
|
130
|
+
autoExpandParent: null;
|
|
131
|
+
defaultExpandAll: null;
|
|
132
|
+
filterNodeMethod: null;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
data: {
|
|
137
|
+
type: ArrayConstructor;
|
|
138
|
+
default: () => never[];
|
|
139
|
+
};
|
|
140
|
+
modelValue: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
141
|
+
visible: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
valueField: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
textField: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
textField2: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
textField3: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
title: StringConstructor;
|
|
162
|
+
textSplit: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
showHeader: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
171
|
+
mask: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
ellipsis: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
searchConfig: {
|
|
180
|
+
type: ObjectConstructor;
|
|
181
|
+
default: () => {
|
|
182
|
+
options: never[];
|
|
183
|
+
searchMethod: null;
|
|
184
|
+
openSearchSlot: boolean;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
childrenField: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
nodeConfig: {
|
|
192
|
+
type: ObjectConstructor;
|
|
193
|
+
default: () => {
|
|
194
|
+
lazy: boolean;
|
|
195
|
+
load: null;
|
|
196
|
+
isLeaf: string;
|
|
197
|
+
afterLoad: null;
|
|
198
|
+
currentNodeKey: null;
|
|
199
|
+
checkStrictly: boolean;
|
|
200
|
+
checkDescendants: null;
|
|
201
|
+
defaultCheckedKeys: null;
|
|
202
|
+
defaultExpandedKeys: null;
|
|
203
|
+
autoExpandParent: null;
|
|
204
|
+
defaultExpandAll: null;
|
|
205
|
+
filterNodeMethod: null;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
lockScroll: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
212
|
+
emitPath: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
tiny_mode: StringConstructor;
|
|
217
|
+
tiny_mode_root: BooleanConstructor;
|
|
218
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
219
|
+
tiny_renderless: FunctionConstructor;
|
|
220
|
+
tiny_theme: StringConstructor;
|
|
221
|
+
tiny_chart_theme: ObjectConstructor;
|
|
222
|
+
}>> & {
|
|
223
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
224
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
225
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
226
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
227
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
"onUpdate:text"?: ((...args: any[]) => any) | undefined;
|
|
229
|
+
"onSearch-click"?: ((...args: any[]) => any) | undefined;
|
|
230
|
+
}, {
|
|
231
|
+
data: unknown[];
|
|
232
|
+
ellipsis: boolean;
|
|
233
|
+
visible: boolean;
|
|
234
|
+
mask: boolean;
|
|
235
|
+
tiny_mode_root: boolean;
|
|
236
|
+
_constants: Record<string, any>;
|
|
237
|
+
textField: string;
|
|
238
|
+
valueField: string;
|
|
239
|
+
showHeader: boolean;
|
|
240
|
+
lockScroll: boolean;
|
|
241
|
+
searchConfig: Record<string, any>;
|
|
242
|
+
childrenField: string;
|
|
243
|
+
textSplit: string;
|
|
244
|
+
emitPath: boolean;
|
|
245
|
+
nodeConfig: Record<string, any>;
|
|
246
|
+
textField2: string;
|
|
247
|
+
textField3: string;
|
|
248
|
+
}, {}>;
|
|
2
249
|
export default _default;
|
package/src/option.vue.d.ts
CHANGED
|
@@ -1,2 +1,30 @@
|
|
|
1
|
-
declare const _default: import("vue/
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
2
|
+
ellipsis?: any;
|
|
3
|
+
option?: any;
|
|
4
|
+
selected?: any;
|
|
5
|
+
loading?: any;
|
|
6
|
+
textField?: any;
|
|
7
|
+
textField2?: any;
|
|
8
|
+
textField3?: any;
|
|
9
|
+
}>, any, any, {
|
|
10
|
+
data(): any;
|
|
11
|
+
}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "click"[], "click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
12
|
+
ellipsis?: any;
|
|
13
|
+
option?: any;
|
|
14
|
+
selected?: any;
|
|
15
|
+
loading?: any;
|
|
16
|
+
textField?: any;
|
|
17
|
+
textField2?: any;
|
|
18
|
+
textField3?: any;
|
|
19
|
+
}>>> & {
|
|
20
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
readonly ellipsis?: any;
|
|
23
|
+
readonly option?: any;
|
|
24
|
+
readonly selected?: any;
|
|
25
|
+
readonly loading?: any;
|
|
26
|
+
readonly textField?: any;
|
|
27
|
+
readonly textField2?: any;
|
|
28
|
+
readonly textField3?: any;
|
|
29
|
+
}, {}>;
|
|
2
30
|
export default _default;
|