jb-mobile-ui 1.4.29 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/JbMobileCascader.vue.d.ts +288 -0
- package/dist/components/JbMobileFilter.vue.d.ts +18 -1
- package/dist/components/JbMobileSteps.vue.d.ts +65 -0
- package/dist/components/JbMobileTabs.vue.d.ts +148 -0
- package/dist/components/Loading.vue.d.ts +2 -0
- package/dist/directives/index.d.ts +3 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.es.js +1366 -304
- package/package.json +1 -1
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
reference?(_: {}): any;
|
|
5
|
+
'disabled-tip'?(_: {
|
|
6
|
+
data: any;
|
|
7
|
+
}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
/**
|
|
15
|
+
* 级联选择器的宽度
|
|
16
|
+
*/
|
|
17
|
+
width: {
|
|
18
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* 级联选择器所选择的值,可通过 v-model 进行双向数据绑定
|
|
23
|
+
*/
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* 级联选择器未选择时的提示文案
|
|
30
|
+
*/
|
|
31
|
+
placeholder: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* 选项列表弹出层的标题
|
|
37
|
+
*/
|
|
38
|
+
popupTitle: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* 选项列表
|
|
44
|
+
*/
|
|
45
|
+
options: {
|
|
46
|
+
type: {
|
|
47
|
+
(arrayLength: number): Record<string, any>[];
|
|
48
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
49
|
+
new (arrayLength: number): Record<string, any>[];
|
|
50
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
51
|
+
isArray(arg: any): arg is any[];
|
|
52
|
+
readonly prototype: any[];
|
|
53
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
54
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
55
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
56
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
57
|
+
of<T>(...items: T[]): T[];
|
|
58
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
59
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
60
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
61
|
+
};
|
|
62
|
+
default: never[];
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* 选项的自定义字段,可修改的字段有 label 和 value
|
|
66
|
+
*/
|
|
67
|
+
fieldNames: {
|
|
68
|
+
type: ObjectConstructor;
|
|
69
|
+
default: () => {};
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* 是否禁用级联选择器
|
|
73
|
+
*/
|
|
74
|
+
disabled: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* 是否多选
|
|
80
|
+
*/
|
|
81
|
+
multiple: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* 是否可以筛选
|
|
87
|
+
*/
|
|
88
|
+
filterable: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* 是否显示 tabs 标签切换
|
|
94
|
+
*/
|
|
95
|
+
isShowTabs: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* 标签页的标签列表
|
|
101
|
+
*/
|
|
102
|
+
tabsList: {
|
|
103
|
+
type: {
|
|
104
|
+
(arrayLength: number): Record<string, any>[];
|
|
105
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
106
|
+
new (arrayLength: number): Record<string, any>[];
|
|
107
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
108
|
+
isArray(arg: any): arg is any[];
|
|
109
|
+
readonly prototype: any[];
|
|
110
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
111
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
112
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
113
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
114
|
+
of<T>(...items: T[]): T[];
|
|
115
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
116
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
117
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
118
|
+
};
|
|
119
|
+
default: never[];
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* 标签页所选择标签的值
|
|
123
|
+
*/
|
|
124
|
+
tabValue: {
|
|
125
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* 选项列表是否正在加载中
|
|
130
|
+
*/
|
|
131
|
+
loading: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
136
|
+
confirm: (...args: any[]) => void;
|
|
137
|
+
"update:modelValue": (...args: any[]) => void;
|
|
138
|
+
"update:tabValue": (...args: any[]) => void;
|
|
139
|
+
showPopup: (...args: any[]) => void;
|
|
140
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
141
|
+
/**
|
|
142
|
+
* 级联选择器的宽度
|
|
143
|
+
*/
|
|
144
|
+
width: {
|
|
145
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* 级联选择器所选择的值,可通过 v-model 进行双向数据绑定
|
|
150
|
+
*/
|
|
151
|
+
modelValue: {
|
|
152
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* 级联选择器未选择时的提示文案
|
|
157
|
+
*/
|
|
158
|
+
placeholder: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* 选项列表弹出层的标题
|
|
164
|
+
*/
|
|
165
|
+
popupTitle: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* 选项列表
|
|
171
|
+
*/
|
|
172
|
+
options: {
|
|
173
|
+
type: {
|
|
174
|
+
(arrayLength: number): Record<string, any>[];
|
|
175
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
176
|
+
new (arrayLength: number): Record<string, any>[];
|
|
177
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
178
|
+
isArray(arg: any): arg is any[];
|
|
179
|
+
readonly prototype: any[];
|
|
180
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
181
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
182
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
183
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
184
|
+
of<T>(...items: T[]): T[];
|
|
185
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
186
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
187
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
188
|
+
};
|
|
189
|
+
default: never[];
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* 选项的自定义字段,可修改的字段有 label 和 value
|
|
193
|
+
*/
|
|
194
|
+
fieldNames: {
|
|
195
|
+
type: ObjectConstructor;
|
|
196
|
+
default: () => {};
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* 是否禁用级联选择器
|
|
200
|
+
*/
|
|
201
|
+
disabled: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* 是否多选
|
|
207
|
+
*/
|
|
208
|
+
multiple: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* 是否可以筛选
|
|
214
|
+
*/
|
|
215
|
+
filterable: {
|
|
216
|
+
type: BooleanConstructor;
|
|
217
|
+
default: boolean;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* 是否显示 tabs 标签切换
|
|
221
|
+
*/
|
|
222
|
+
isShowTabs: {
|
|
223
|
+
type: BooleanConstructor;
|
|
224
|
+
default: boolean;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* 标签页的标签列表
|
|
228
|
+
*/
|
|
229
|
+
tabsList: {
|
|
230
|
+
type: {
|
|
231
|
+
(arrayLength: number): Record<string, any>[];
|
|
232
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
233
|
+
new (arrayLength: number): Record<string, any>[];
|
|
234
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
235
|
+
isArray(arg: any): arg is any[];
|
|
236
|
+
readonly prototype: any[];
|
|
237
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
238
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
239
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
240
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
241
|
+
of<T>(...items: T[]): T[];
|
|
242
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
243
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
244
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
245
|
+
};
|
|
246
|
+
default: never[];
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* 标签页所选择标签的值
|
|
250
|
+
*/
|
|
251
|
+
tabValue: {
|
|
252
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* 选项列表是否正在加载中
|
|
257
|
+
*/
|
|
258
|
+
loading: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
default: boolean;
|
|
261
|
+
};
|
|
262
|
+
}>> & Readonly<{
|
|
263
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
264
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
265
|
+
"onUpdate:tabValue"?: ((...args: any[]) => any) | undefined;
|
|
266
|
+
onShowPopup?: ((...args: any[]) => any) | undefined;
|
|
267
|
+
}>, {
|
|
268
|
+
loading: boolean;
|
|
269
|
+
disabled: boolean;
|
|
270
|
+
multiple: boolean;
|
|
271
|
+
placeholder: string;
|
|
272
|
+
modelValue: string | number;
|
|
273
|
+
width: string | number;
|
|
274
|
+
popupTitle: string;
|
|
275
|
+
options: Record<string, any>[];
|
|
276
|
+
fieldNames: Record<string, any>;
|
|
277
|
+
tabsList: Record<string, any>[];
|
|
278
|
+
filterable: boolean;
|
|
279
|
+
isShowTabs: boolean;
|
|
280
|
+
tabValue: string | number;
|
|
281
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
282
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
283
|
+
export default _default;
|
|
284
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
285
|
+
new (): {
|
|
286
|
+
$slots: S;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
reference?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
scrollRef: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
13
|
/**
|
|
3
14
|
* 筛选项列表
|
|
4
15
|
*/
|
|
@@ -68,4 +79,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
68
79
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
69
80
|
scrollRef: HTMLDivElement;
|
|
70
81
|
}, any>;
|
|
82
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
71
83
|
export default _default;
|
|
84
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
85
|
+
new (): {
|
|
86
|
+
$slots: S;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
/**
|
|
12
|
+
* 步骤条的类型,0 - 无序号,1 - 有序号
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* 步骤条的序号,type 为 1 时有效
|
|
20
|
+
*/
|
|
21
|
+
num: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 步骤条的标题
|
|
27
|
+
*/
|
|
28
|
+
title: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
/**
|
|
34
|
+
* 步骤条的类型,0 - 无序号,1 - 有序号
|
|
35
|
+
*/
|
|
36
|
+
type: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* 步骤条的序号,type 为 1 时有效
|
|
42
|
+
*/
|
|
43
|
+
num: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* 步骤条的标题
|
|
49
|
+
*/
|
|
50
|
+
title: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{}>, {
|
|
55
|
+
type: number;
|
|
56
|
+
title: string;
|
|
57
|
+
num: number;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
59
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
title?(_: {
|
|
5
|
+
tab: Record<string, any>;
|
|
6
|
+
}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* 标签页所选择标签的值,可通过 v-model 进行双向数据绑定
|
|
15
|
+
*/
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 标签页的样式风格,default - 默认风格,capsule - 胶囊风格,button - 按钮风格
|
|
22
|
+
*/
|
|
23
|
+
type: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* 标签页的标签列表
|
|
29
|
+
*/
|
|
30
|
+
tabsList: {
|
|
31
|
+
type: {
|
|
32
|
+
(arrayLength: number): Record<string, any>[];
|
|
33
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
34
|
+
new (arrayLength: number): Record<string, any>[];
|
|
35
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
36
|
+
isArray(arg: any): arg is any[];
|
|
37
|
+
readonly prototype: any[];
|
|
38
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
39
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
40
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
41
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
42
|
+
of<T>(...items: T[]): T[];
|
|
43
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
44
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
45
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
46
|
+
};
|
|
47
|
+
default: never[];
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* 标签数据项的自定义字段,可修改的字段有 label 和 value
|
|
51
|
+
*/
|
|
52
|
+
fieldNames: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* 标签页的内边距,type 为 capsule 时有效
|
|
58
|
+
*/
|
|
59
|
+
padding: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 标签页的背景颜色,type 为 capsule 时有效
|
|
65
|
+
*/
|
|
66
|
+
bgColor: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
71
|
+
change: (...args: any[]) => void;
|
|
72
|
+
"update:modelValue": (...args: any[]) => void;
|
|
73
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
74
|
+
/**
|
|
75
|
+
* 标签页所选择标签的值,可通过 v-model 进行双向数据绑定
|
|
76
|
+
*/
|
|
77
|
+
modelValue: {
|
|
78
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* 标签页的样式风格,default - 默认风格,capsule - 胶囊风格,button - 按钮风格
|
|
83
|
+
*/
|
|
84
|
+
type: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* 标签页的标签列表
|
|
90
|
+
*/
|
|
91
|
+
tabsList: {
|
|
92
|
+
type: {
|
|
93
|
+
(arrayLength: number): Record<string, any>[];
|
|
94
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
95
|
+
new (arrayLength: number): Record<string, any>[];
|
|
96
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
97
|
+
isArray(arg: any): arg is any[];
|
|
98
|
+
readonly prototype: any[];
|
|
99
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
100
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
101
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
102
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
103
|
+
of<T>(...items: T[]): T[];
|
|
104
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
105
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
106
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
107
|
+
};
|
|
108
|
+
default: never[];
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* 标签数据项的自定义字段,可修改的字段有 label 和 value
|
|
112
|
+
*/
|
|
113
|
+
fieldNames: {
|
|
114
|
+
type: ObjectConstructor;
|
|
115
|
+
default: () => {};
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* 标签页的内边距,type 为 capsule 时有效
|
|
119
|
+
*/
|
|
120
|
+
padding: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* 标签页的背景颜色,type 为 capsule 时有效
|
|
126
|
+
*/
|
|
127
|
+
bgColor: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
}>> & Readonly<{
|
|
132
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
}>, {
|
|
135
|
+
type: string;
|
|
136
|
+
modelValue: string | number;
|
|
137
|
+
fieldNames: Record<string, any>;
|
|
138
|
+
tabsList: Record<string, any>[];
|
|
139
|
+
padding: string;
|
|
140
|
+
bgColor: string;
|
|
141
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
142
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
143
|
+
export default _default;
|
|
144
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
145
|
+
new (): {
|
|
146
|
+
$slots: S;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|