eco-vue-js 0.9.8 → 0.9.10
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/Form/WFormValidator.vue.d.ts +2 -0
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +5 -3
- package/dist/components/Modal/WModalStepper.vue.d.ts +300 -170
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalStepper.vue.js +1 -0
- package/dist/components/Tabs/WTabs.vue.d.ts +146 -85
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +62 -55
- package/dist/components/Tabs/WTabsStepper.vue.d.ts +294 -170
- package/dist/components/Tabs/WTabsStepper.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabsStepper.vue.js +8 -3
- package/dist/components/Tabs/components/TabItem.vue.d.ts +190 -2
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.js +36 -16
- package/dist/components/Tabs/components/TabTitleButton.vue.d.ts +31 -5
- package/dist/components/Tabs/components/TabTitleButton.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabTitleButton.vue.js +118 -62
- package/dist/components/Tabs/types.d.ts +4 -1
- package/dist/components/Tabs/types.d.ts.map +1 -1
- package/dist/utils/useDefaultQuery.d.ts.map +1 -1
- package/dist/utils/useDefaultQuery.js +2 -1
- package/package.json +1 -1
@@ -16,6 +16,7 @@ declare function __VLS_template(): {
|
|
16
16
|
next: () => void;
|
17
17
|
previous: () => void;
|
18
18
|
validate: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
19
|
+
validateIfNoError: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
19
20
|
invalidate: (index: number, payload: {
|
20
21
|
[x: string]: string | string[] | undefined;
|
21
22
|
}) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["invalidate"]>;
|
@@ -36,8 +37,15 @@ declare function __VLS_template(): {
|
|
36
37
|
readonly index: number;
|
37
38
|
readonly hasError: boolean;
|
38
39
|
readonly hasChanges: boolean;
|
40
|
+
readonly hasValue: boolean;
|
39
41
|
readonly title: string;
|
40
42
|
readonly icon: SVGComponent | undefined;
|
43
|
+
readonly first: boolean;
|
44
|
+
readonly last: boolean;
|
45
|
+
readonly disabled?: boolean | undefined;
|
46
|
+
readonly stepper?: boolean | undefined;
|
47
|
+
readonly showHasValue?: boolean | undefined;
|
48
|
+
readonly noIndicator?: boolean | undefined;
|
41
49
|
readonly side?: boolean | undefined;
|
42
50
|
readonly onClick?: ((value: MouseEvent) => any) | undefined;
|
43
51
|
readonly "onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
@@ -53,7 +61,7 @@ declare function __VLS_template(): {
|
|
53
61
|
$refs: {
|
54
62
|
[x: string]: unknown;
|
55
63
|
} & {
|
56
|
-
|
64
|
+
container: HTMLDivElement;
|
57
65
|
};
|
58
66
|
$slots: Readonly<{
|
59
67
|
[name: string]: import('vue').Slot<any> | undefined;
|
@@ -72,8 +80,15 @@ declare function __VLS_template(): {
|
|
72
80
|
index: number;
|
73
81
|
hasError: boolean;
|
74
82
|
hasChanges: boolean;
|
83
|
+
hasValue: boolean;
|
75
84
|
title: string;
|
76
85
|
icon: SVGComponent | undefined;
|
86
|
+
first: boolean;
|
87
|
+
last: boolean;
|
88
|
+
disabled?: boolean;
|
89
|
+
stepper?: boolean;
|
90
|
+
showHasValue?: boolean;
|
91
|
+
noIndicator?: boolean;
|
77
92
|
side?: boolean;
|
78
93
|
}> & Readonly<{
|
79
94
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
@@ -118,8 +133,15 @@ declare function __VLS_template(): {
|
|
118
133
|
index: number;
|
119
134
|
hasError: boolean;
|
120
135
|
hasChanges: boolean;
|
136
|
+
hasValue: boolean;
|
121
137
|
title: string;
|
122
138
|
icon: SVGComponent | undefined;
|
139
|
+
first: boolean;
|
140
|
+
last: boolean;
|
141
|
+
disabled?: boolean;
|
142
|
+
stepper?: boolean;
|
143
|
+
showHasValue?: boolean;
|
144
|
+
noIndicator?: boolean;
|
123
145
|
side?: boolean;
|
124
146
|
}> & Readonly<{
|
125
147
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
@@ -133,17 +155,32 @@ declare function __VLS_template(): {
|
|
133
155
|
update: () => void;
|
134
156
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
135
157
|
$slots: {
|
136
|
-
title?(_: {
|
137
|
-
|
138
|
-
|
158
|
+
title?(_: {
|
159
|
+
hasChanges: boolean;
|
160
|
+
hasError: boolean;
|
161
|
+
hasValue: boolean;
|
162
|
+
}): any;
|
163
|
+
suffix?(_: {
|
164
|
+
hasChanges: boolean;
|
165
|
+
hasError: boolean;
|
166
|
+
hasValue: boolean;
|
167
|
+
}): any;
|
168
|
+
right?(_: {
|
169
|
+
hasChanges: boolean;
|
170
|
+
hasError: boolean;
|
171
|
+
hasValue: boolean;
|
172
|
+
}): any;
|
139
173
|
};
|
140
174
|
}) | null)[];
|
141
175
|
tabItem: (({
|
142
176
|
$: import('vue').ComponentInternalInstance;
|
143
177
|
$data: {};
|
144
178
|
$props: {
|
179
|
+
readonly name: string;
|
180
|
+
readonly title: string;
|
145
181
|
readonly active: boolean;
|
146
182
|
readonly removable: boolean;
|
183
|
+
readonly "onTab:switch"?: ((value: string) => any) | undefined;
|
147
184
|
readonly "onUpdate:height"?: ((value: number) => any) | undefined;
|
148
185
|
readonly "onUpdate:active"?: (() => any) | undefined;
|
149
186
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -153,7 +190,93 @@ declare function __VLS_template(): {
|
|
153
190
|
$refs: {
|
154
191
|
[x: string]: unknown;
|
155
192
|
} & {
|
156
|
-
|
193
|
+
form: ({
|
194
|
+
$: import('vue').ComponentInternalInstance;
|
195
|
+
$data: {};
|
196
|
+
$props: {
|
197
|
+
readonly name?: string | undefined;
|
198
|
+
readonly title?: string | undefined;
|
199
|
+
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
200
|
+
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
201
|
+
readonly "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
202
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
203
|
+
$attrs: {
|
204
|
+
[x: string]: unknown;
|
205
|
+
};
|
206
|
+
$refs: {
|
207
|
+
[x: string]: unknown;
|
208
|
+
};
|
209
|
+
$slots: Readonly<{
|
210
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
211
|
+
}>;
|
212
|
+
$root: import('vue').ComponentPublicInstance | null;
|
213
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
214
|
+
$host: Element | null;
|
215
|
+
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-value", value: boolean | null) => void);
|
216
|
+
$el: any;
|
217
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
218
|
+
name?: string;
|
219
|
+
title?: string;
|
220
|
+
}> & Readonly<{
|
221
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
222
|
+
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
223
|
+
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
224
|
+
}>, {
|
225
|
+
isValid: import('vue').ComputedRef<boolean>;
|
226
|
+
hasChanges: import('vue').ComputedRef<boolean>;
|
227
|
+
hasValue: import('vue').ComputedRef<boolean | null>;
|
228
|
+
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
229
|
+
invalidate: (payload: {
|
230
|
+
[x: string]: string | string[] | undefined;
|
231
|
+
}) => void;
|
232
|
+
initModel: () => void;
|
233
|
+
errorMessage: import('vue').ComputedRef<string>;
|
234
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
235
|
+
"update:has-changes": (value: boolean) => any;
|
236
|
+
"update:is-valid": (value: boolean | undefined) => any;
|
237
|
+
"update:has-value": (value: boolean | null) => any;
|
238
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
239
|
+
beforeCreate?: (() => void) | (() => void)[];
|
240
|
+
created?: (() => void) | (() => void)[];
|
241
|
+
beforeMount?: (() => void) | (() => void)[];
|
242
|
+
mounted?: (() => void) | (() => void)[];
|
243
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
244
|
+
updated?: (() => void) | (() => void)[];
|
245
|
+
activated?: (() => void) | (() => void)[];
|
246
|
+
deactivated?: (() => void) | (() => void)[];
|
247
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
248
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
249
|
+
destroyed?: (() => void) | (() => void)[];
|
250
|
+
unmounted?: (() => void) | (() => void)[];
|
251
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
252
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
253
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
254
|
+
};
|
255
|
+
$forceUpdate: () => void;
|
256
|
+
$nextTick: typeof import('vue').nextTick;
|
257
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
258
|
+
} & Readonly<{}> & Omit<Readonly<{
|
259
|
+
name?: string;
|
260
|
+
title?: string;
|
261
|
+
}> & Readonly<{
|
262
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
263
|
+
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
264
|
+
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
265
|
+
}>, "errorMessage" | "hasChanges" | "isValid" | "hasValue" | "validate" | "invalidate" | "initModel"> & import('vue').ShallowUnwrapRef<{
|
266
|
+
isValid: import('vue').ComputedRef<boolean>;
|
267
|
+
hasChanges: import('vue').ComputedRef<boolean>;
|
268
|
+
hasValue: import('vue').ComputedRef<boolean | null>;
|
269
|
+
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
270
|
+
invalidate: (payload: {
|
271
|
+
[x: string]: string | string[] | undefined;
|
272
|
+
}) => void;
|
273
|
+
initModel: () => void;
|
274
|
+
errorMessage: import('vue').ComputedRef<string>;
|
275
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
276
|
+
$slots: {
|
277
|
+
default?(_: {}): any;
|
278
|
+
};
|
279
|
+
}) | null;
|
157
280
|
};
|
158
281
|
$slots: Readonly<{
|
159
282
|
[name: string]: import('vue').Slot<any> | undefined;
|
@@ -161,97 +284,32 @@ declare function __VLS_template(): {
|
|
161
284
|
$root: import('vue').ComponentPublicInstance | null;
|
162
285
|
$parent: import('vue').ComponentPublicInstance | null;
|
163
286
|
$host: Element | null;
|
164
|
-
$emit: ((event: "update:height", value: number) => void) & ((event: "update:active") => void);
|
287
|
+
$emit: ((event: "tab:switch", value: string) => void) & ((event: "update:height", value: number) => void) & ((event: "update:active") => void);
|
165
288
|
$el: any;
|
166
289
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
290
|
+
name: string;
|
291
|
+
title: string;
|
167
292
|
active: boolean;
|
168
293
|
removable: boolean;
|
169
294
|
}> & Readonly<{
|
295
|
+
"onTab:switch"?: ((value: string) => any) | undefined;
|
170
296
|
"onUpdate:height"?: ((value: number) => any) | undefined;
|
171
297
|
"onUpdate:active"?: (() => any) | undefined;
|
172
298
|
}>, {
|
173
299
|
emitHeight: () => void;
|
174
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
175
|
-
"update:height": (value: number) => any;
|
176
|
-
"update:active": () => any;
|
177
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
178
|
-
beforeCreate?: (() => void) | (() => void)[];
|
179
|
-
created?: (() => void) | (() => void)[];
|
180
|
-
beforeMount?: (() => void) | (() => void)[];
|
181
|
-
mounted?: (() => void) | (() => void)[];
|
182
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
183
|
-
updated?: (() => void) | (() => void)[];
|
184
|
-
activated?: (() => void) | (() => void)[];
|
185
|
-
deactivated?: (() => void) | (() => void)[];
|
186
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
187
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
188
|
-
destroyed?: (() => void) | (() => void)[];
|
189
|
-
unmounted?: (() => void) | (() => void)[];
|
190
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
191
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
192
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
193
|
-
};
|
194
|
-
$forceUpdate: () => void;
|
195
|
-
$nextTick: typeof import('vue').nextTick;
|
196
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
197
|
-
} & Readonly<{}> & Omit<Readonly<{
|
198
|
-
active: boolean;
|
199
|
-
removable: boolean;
|
200
|
-
}> & Readonly<{
|
201
|
-
"onUpdate:height"?: ((value: number) => any) | undefined;
|
202
|
-
"onUpdate:active"?: (() => any) | undefined;
|
203
|
-
}>, "emitHeight"> & import('vue').ShallowUnwrapRef<{
|
204
|
-
emitHeight: () => void;
|
205
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
206
|
-
$slots: {
|
207
|
-
default?(_: {}): any;
|
208
|
-
};
|
209
|
-
}) | null)[];
|
210
|
-
form: (({
|
211
|
-
$: import('vue').ComponentInternalInstance;
|
212
|
-
$data: {};
|
213
|
-
$props: {
|
214
|
-
readonly name?: string | undefined;
|
215
|
-
readonly title?: string | undefined;
|
216
|
-
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
217
|
-
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
218
|
-
readonly "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
219
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
220
|
-
$attrs: {
|
221
|
-
[x: string]: unknown;
|
222
|
-
};
|
223
|
-
$refs: {
|
224
|
-
[x: string]: unknown;
|
225
|
-
};
|
226
|
-
$slots: Readonly<{
|
227
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
228
|
-
}>;
|
229
|
-
$root: import('vue').ComponentPublicInstance | null;
|
230
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
231
|
-
$host: Element | null;
|
232
|
-
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-value", value: boolean | null) => void);
|
233
|
-
$el: any;
|
234
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
235
|
-
name?: string;
|
236
|
-
title?: string;
|
237
|
-
}> & Readonly<{
|
238
|
-
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
239
|
-
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
240
|
-
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
241
|
-
}>, {
|
242
300
|
isValid: import('vue').ComputedRef<boolean>;
|
243
301
|
hasChanges: import('vue').ComputedRef<boolean>;
|
244
302
|
hasValue: import('vue').ComputedRef<boolean | null>;
|
303
|
+
errorMessage: import('vue').ComputedRef<string | undefined>;
|
245
304
|
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
246
305
|
invalidate: (payload: {
|
247
306
|
[x: string]: string | string[] | undefined;
|
248
307
|
}) => void;
|
249
308
|
initModel: () => void;
|
250
|
-
errorMessage: import('vue').ComputedRef<string>;
|
251
309
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
252
|
-
"
|
253
|
-
"update:
|
254
|
-
"update:
|
310
|
+
"tab:switch": (value: string) => any;
|
311
|
+
"update:height": (value: number) => any;
|
312
|
+
"update:active": () => any;
|
255
313
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
256
314
|
beforeCreate?: (() => void) | (() => void)[];
|
257
315
|
created?: (() => void) | (() => void)[];
|
@@ -273,22 +331,25 @@ declare function __VLS_template(): {
|
|
273
331
|
$nextTick: typeof import('vue').nextTick;
|
274
332
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
275
333
|
} & Readonly<{}> & Omit<Readonly<{
|
276
|
-
name
|
277
|
-
title
|
334
|
+
name: string;
|
335
|
+
title: string;
|
336
|
+
active: boolean;
|
337
|
+
removable: boolean;
|
278
338
|
}> & Readonly<{
|
279
|
-
"
|
280
|
-
"onUpdate:
|
281
|
-
"onUpdate:
|
282
|
-
}>, "errorMessage" | "hasChanges" | "isValid" | "hasValue" | "validate" | "invalidate" | "initModel"> & import('vue').ShallowUnwrapRef<{
|
339
|
+
"onTab:switch"?: ((value: string) => any) | undefined;
|
340
|
+
"onUpdate:height"?: ((value: number) => any) | undefined;
|
341
|
+
"onUpdate:active"?: (() => any) | undefined;
|
342
|
+
}>, "errorMessage" | "hasChanges" | "isValid" | "hasValue" | "validate" | "invalidate" | "initModel" | "emitHeight"> & import('vue').ShallowUnwrapRef<{
|
343
|
+
emitHeight: () => void;
|
283
344
|
isValid: import('vue').ComputedRef<boolean>;
|
284
345
|
hasChanges: import('vue').ComputedRef<boolean>;
|
285
346
|
hasValue: import('vue').ComputedRef<boolean | null>;
|
347
|
+
errorMessage: import('vue').ComputedRef<string | undefined>;
|
286
348
|
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
287
349
|
invalidate: (payload: {
|
288
350
|
[x: string]: string | string[] | undefined;
|
289
351
|
}) => void;
|
290
352
|
initModel: () => void;
|
291
|
-
errorMessage: import('vue').ComputedRef<string>;
|
292
353
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
293
354
|
$slots: {
|
294
355
|
default?(_: {}): any;
|
@@ -313,6 +374,7 @@ declare function __VLS_template(): {
|
|
313
374
|
next: () => void;
|
314
375
|
previous: () => void;
|
315
376
|
validate: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
377
|
+
validateIfNoError: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
316
378
|
invalidate: (index: number, payload: {
|
317
379
|
[x: string]: string | string[] | undefined;
|
318
380
|
}) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["invalidate"]>;
|
@@ -354,6 +416,7 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
354
416
|
next: () => void;
|
355
417
|
previous: () => void;
|
356
418
|
validate: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
419
|
+
validateIfNoError: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
357
420
|
invalidate: (index: number, payload: {
|
358
421
|
[x: string]: string | string[] | undefined;
|
359
422
|
}) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["invalidate"]>;
|
@@ -374,8 +437,15 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
374
437
|
readonly index: number;
|
375
438
|
readonly hasError: boolean;
|
376
439
|
readonly hasChanges: boolean;
|
440
|
+
readonly hasValue: boolean;
|
377
441
|
readonly title: string;
|
378
442
|
readonly icon: SVGComponent | undefined;
|
443
|
+
readonly first: boolean;
|
444
|
+
readonly last: boolean;
|
445
|
+
readonly disabled?: boolean | undefined;
|
446
|
+
readonly stepper?: boolean | undefined;
|
447
|
+
readonly showHasValue?: boolean | undefined;
|
448
|
+
readonly noIndicator?: boolean | undefined;
|
379
449
|
readonly side?: boolean | undefined;
|
380
450
|
readonly onClick?: ((value: MouseEvent) => any) | undefined;
|
381
451
|
readonly "onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
@@ -391,7 +461,7 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
391
461
|
$refs: {
|
392
462
|
[x: string]: unknown;
|
393
463
|
} & {
|
394
|
-
|
464
|
+
container: HTMLDivElement;
|
395
465
|
};
|
396
466
|
$slots: Readonly<{
|
397
467
|
[name: string]: import('vue').Slot<any> | undefined;
|
@@ -410,8 +480,15 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
410
480
|
index: number;
|
411
481
|
hasError: boolean;
|
412
482
|
hasChanges: boolean;
|
483
|
+
hasValue: boolean;
|
413
484
|
title: string;
|
414
485
|
icon: SVGComponent | undefined;
|
486
|
+
first: boolean;
|
487
|
+
last: boolean;
|
488
|
+
disabled?: boolean;
|
489
|
+
stepper?: boolean;
|
490
|
+
showHasValue?: boolean;
|
491
|
+
noIndicator?: boolean;
|
415
492
|
side?: boolean;
|
416
493
|
}> & Readonly<{
|
417
494
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
@@ -456,8 +533,15 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
456
533
|
index: number;
|
457
534
|
hasError: boolean;
|
458
535
|
hasChanges: boolean;
|
536
|
+
hasValue: boolean;
|
459
537
|
title: string;
|
460
538
|
icon: SVGComponent | undefined;
|
539
|
+
first: boolean;
|
540
|
+
last: boolean;
|
541
|
+
disabled?: boolean;
|
542
|
+
stepper?: boolean;
|
543
|
+
showHasValue?: boolean;
|
544
|
+
noIndicator?: boolean;
|
461
545
|
side?: boolean;
|
462
546
|
}> & Readonly<{
|
463
547
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
@@ -471,17 +555,32 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
471
555
|
update: () => void;
|
472
556
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
473
557
|
$slots: {
|
474
|
-
title?(_: {
|
475
|
-
|
476
|
-
|
558
|
+
title?(_: {
|
559
|
+
hasChanges: boolean;
|
560
|
+
hasError: boolean;
|
561
|
+
hasValue: boolean;
|
562
|
+
}): any;
|
563
|
+
suffix?(_: {
|
564
|
+
hasChanges: boolean;
|
565
|
+
hasError: boolean;
|
566
|
+
hasValue: boolean;
|
567
|
+
}): any;
|
568
|
+
right?(_: {
|
569
|
+
hasChanges: boolean;
|
570
|
+
hasError: boolean;
|
571
|
+
hasValue: boolean;
|
572
|
+
}): any;
|
477
573
|
};
|
478
574
|
}) | null)[];
|
479
575
|
tabItem: (({
|
480
576
|
$: import('vue').ComponentInternalInstance;
|
481
577
|
$data: {};
|
482
578
|
$props: {
|
579
|
+
readonly name: string;
|
580
|
+
readonly title: string;
|
483
581
|
readonly active: boolean;
|
484
582
|
readonly removable: boolean;
|
583
|
+
readonly "onTab:switch"?: ((value: string) => any) | undefined;
|
485
584
|
readonly "onUpdate:height"?: ((value: number) => any) | undefined;
|
486
585
|
readonly "onUpdate:active"?: (() => any) | undefined;
|
487
586
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -491,7 +590,93 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
491
590
|
$refs: {
|
492
591
|
[x: string]: unknown;
|
493
592
|
} & {
|
494
|
-
|
593
|
+
form: ({
|
594
|
+
$: import('vue').ComponentInternalInstance;
|
595
|
+
$data: {};
|
596
|
+
$props: {
|
597
|
+
readonly name?: string | undefined;
|
598
|
+
readonly title?: string | undefined;
|
599
|
+
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
600
|
+
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
601
|
+
readonly "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
602
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
603
|
+
$attrs: {
|
604
|
+
[x: string]: unknown;
|
605
|
+
};
|
606
|
+
$refs: {
|
607
|
+
[x: string]: unknown;
|
608
|
+
};
|
609
|
+
$slots: Readonly<{
|
610
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
611
|
+
}>;
|
612
|
+
$root: import('vue').ComponentPublicInstance | null;
|
613
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
614
|
+
$host: Element | null;
|
615
|
+
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-value", value: boolean | null) => void);
|
616
|
+
$el: any;
|
617
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
618
|
+
name?: string;
|
619
|
+
title?: string;
|
620
|
+
}> & Readonly<{
|
621
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
622
|
+
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
623
|
+
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
624
|
+
}>, {
|
625
|
+
isValid: import('vue').ComputedRef<boolean>;
|
626
|
+
hasChanges: import('vue').ComputedRef<boolean>;
|
627
|
+
hasValue: import('vue').ComputedRef<boolean | null>;
|
628
|
+
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
629
|
+
invalidate: (payload: {
|
630
|
+
[x: string]: string | string[] | undefined;
|
631
|
+
}) => void;
|
632
|
+
initModel: () => void;
|
633
|
+
errorMessage: import('vue').ComputedRef<string>;
|
634
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
635
|
+
"update:has-changes": (value: boolean) => any;
|
636
|
+
"update:is-valid": (value: boolean | undefined) => any;
|
637
|
+
"update:has-value": (value: boolean | null) => any;
|
638
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
639
|
+
beforeCreate?: (() => void) | (() => void)[];
|
640
|
+
created?: (() => void) | (() => void)[];
|
641
|
+
beforeMount?: (() => void) | (() => void)[];
|
642
|
+
mounted?: (() => void) | (() => void)[];
|
643
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
644
|
+
updated?: (() => void) | (() => void)[];
|
645
|
+
activated?: (() => void) | (() => void)[];
|
646
|
+
deactivated?: (() => void) | (() => void)[];
|
647
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
648
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
649
|
+
destroyed?: (() => void) | (() => void)[];
|
650
|
+
unmounted?: (() => void) | (() => void)[];
|
651
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
652
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
653
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
654
|
+
};
|
655
|
+
$forceUpdate: () => void;
|
656
|
+
$nextTick: typeof import('vue').nextTick;
|
657
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
658
|
+
} & Readonly<{}> & Omit<Readonly<{
|
659
|
+
name?: string;
|
660
|
+
title?: string;
|
661
|
+
}> & Readonly<{
|
662
|
+
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
663
|
+
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
664
|
+
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
665
|
+
}>, "errorMessage" | "hasChanges" | "isValid" | "hasValue" | "validate" | "invalidate" | "initModel"> & import('vue').ShallowUnwrapRef<{
|
666
|
+
isValid: import('vue').ComputedRef<boolean>;
|
667
|
+
hasChanges: import('vue').ComputedRef<boolean>;
|
668
|
+
hasValue: import('vue').ComputedRef<boolean | null>;
|
669
|
+
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
670
|
+
invalidate: (payload: {
|
671
|
+
[x: string]: string | string[] | undefined;
|
672
|
+
}) => void;
|
673
|
+
initModel: () => void;
|
674
|
+
errorMessage: import('vue').ComputedRef<string>;
|
675
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
676
|
+
$slots: {
|
677
|
+
default?(_: {}): any;
|
678
|
+
};
|
679
|
+
}) | null;
|
495
680
|
};
|
496
681
|
$slots: Readonly<{
|
497
682
|
[name: string]: import('vue').Slot<any> | undefined;
|
@@ -499,97 +684,32 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
499
684
|
$root: import('vue').ComponentPublicInstance | null;
|
500
685
|
$parent: import('vue').ComponentPublicInstance | null;
|
501
686
|
$host: Element | null;
|
502
|
-
$emit: ((event: "update:height", value: number) => void) & ((event: "update:active") => void);
|
687
|
+
$emit: ((event: "tab:switch", value: string) => void) & ((event: "update:height", value: number) => void) & ((event: "update:active") => void);
|
503
688
|
$el: any;
|
504
689
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
690
|
+
name: string;
|
691
|
+
title: string;
|
505
692
|
active: boolean;
|
506
693
|
removable: boolean;
|
507
694
|
}> & Readonly<{
|
695
|
+
"onTab:switch"?: ((value: string) => any) | undefined;
|
508
696
|
"onUpdate:height"?: ((value: number) => any) | undefined;
|
509
697
|
"onUpdate:active"?: (() => any) | undefined;
|
510
698
|
}>, {
|
511
699
|
emitHeight: () => void;
|
512
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
513
|
-
"update:height": (value: number) => any;
|
514
|
-
"update:active": () => any;
|
515
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
516
|
-
beforeCreate?: (() => void) | (() => void)[];
|
517
|
-
created?: (() => void) | (() => void)[];
|
518
|
-
beforeMount?: (() => void) | (() => void)[];
|
519
|
-
mounted?: (() => void) | (() => void)[];
|
520
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
521
|
-
updated?: (() => void) | (() => void)[];
|
522
|
-
activated?: (() => void) | (() => void)[];
|
523
|
-
deactivated?: (() => void) | (() => void)[];
|
524
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
525
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
526
|
-
destroyed?: (() => void) | (() => void)[];
|
527
|
-
unmounted?: (() => void) | (() => void)[];
|
528
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
529
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
530
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
531
|
-
};
|
532
|
-
$forceUpdate: () => void;
|
533
|
-
$nextTick: typeof import('vue').nextTick;
|
534
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
535
|
-
} & Readonly<{}> & Omit<Readonly<{
|
536
|
-
active: boolean;
|
537
|
-
removable: boolean;
|
538
|
-
}> & Readonly<{
|
539
|
-
"onUpdate:height"?: ((value: number) => any) | undefined;
|
540
|
-
"onUpdate:active"?: (() => any) | undefined;
|
541
|
-
}>, "emitHeight"> & import('vue').ShallowUnwrapRef<{
|
542
|
-
emitHeight: () => void;
|
543
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
544
|
-
$slots: {
|
545
|
-
default?(_: {}): any;
|
546
|
-
};
|
547
|
-
}) | null)[];
|
548
|
-
form: (({
|
549
|
-
$: import('vue').ComponentInternalInstance;
|
550
|
-
$data: {};
|
551
|
-
$props: {
|
552
|
-
readonly name?: string | undefined;
|
553
|
-
readonly title?: string | undefined;
|
554
|
-
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
555
|
-
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
556
|
-
readonly "onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
557
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
558
|
-
$attrs: {
|
559
|
-
[x: string]: unknown;
|
560
|
-
};
|
561
|
-
$refs: {
|
562
|
-
[x: string]: unknown;
|
563
|
-
};
|
564
|
-
$slots: Readonly<{
|
565
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
566
|
-
}>;
|
567
|
-
$root: import('vue').ComponentPublicInstance | null;
|
568
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
569
|
-
$host: Element | null;
|
570
|
-
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:is-valid", value: boolean | undefined) => void) & ((event: "update:has-value", value: boolean | null) => void);
|
571
|
-
$el: any;
|
572
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
573
|
-
name?: string;
|
574
|
-
title?: string;
|
575
|
-
}> & Readonly<{
|
576
|
-
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
577
|
-
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
578
|
-
"onUpdate:has-value"?: ((value: boolean | null) => any) | undefined;
|
579
|
-
}>, {
|
580
700
|
isValid: import('vue').ComputedRef<boolean>;
|
581
701
|
hasChanges: import('vue').ComputedRef<boolean>;
|
582
702
|
hasValue: import('vue').ComputedRef<boolean | null>;
|
703
|
+
errorMessage: import('vue').ComputedRef<string | undefined>;
|
583
704
|
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
584
705
|
invalidate: (payload: {
|
585
706
|
[x: string]: string | string[] | undefined;
|
586
707
|
}) => void;
|
587
708
|
initModel: () => void;
|
588
|
-
errorMessage: import('vue').ComputedRef<string>;
|
589
709
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
590
|
-
"
|
591
|
-
"update:
|
592
|
-
"update:
|
710
|
+
"tab:switch": (value: string) => any;
|
711
|
+
"update:height": (value: number) => any;
|
712
|
+
"update:active": () => any;
|
593
713
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
594
714
|
beforeCreate?: (() => void) | (() => void)[];
|
595
715
|
created?: (() => void) | (() => void)[];
|
@@ -611,22 +731,25 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
611
731
|
$nextTick: typeof import('vue').nextTick;
|
612
732
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
613
733
|
} & Readonly<{}> & Omit<Readonly<{
|
614
|
-
name
|
615
|
-
title
|
734
|
+
name: string;
|
735
|
+
title: string;
|
736
|
+
active: boolean;
|
737
|
+
removable: boolean;
|
616
738
|
}> & Readonly<{
|
617
|
-
"
|
618
|
-
"onUpdate:
|
619
|
-
"onUpdate:
|
620
|
-
}>, "errorMessage" | "hasChanges" | "isValid" | "hasValue" | "validate" | "invalidate" | "initModel"> & import('vue').ShallowUnwrapRef<{
|
739
|
+
"onTab:switch"?: ((value: string) => any) | undefined;
|
740
|
+
"onUpdate:height"?: ((value: number) => any) | undefined;
|
741
|
+
"onUpdate:active"?: (() => any) | undefined;
|
742
|
+
}>, "errorMessage" | "hasChanges" | "isValid" | "hasValue" | "validate" | "invalidate" | "initModel" | "emitHeight"> & import('vue').ShallowUnwrapRef<{
|
743
|
+
emitHeight: () => void;
|
621
744
|
isValid: import('vue').ComputedRef<boolean>;
|
622
745
|
hasChanges: import('vue').ComputedRef<boolean>;
|
623
746
|
hasValue: import('vue').ComputedRef<boolean | null>;
|
747
|
+
errorMessage: import('vue').ComputedRef<string | undefined>;
|
624
748
|
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
625
749
|
invalidate: (payload: {
|
626
750
|
[x: string]: string | string[] | undefined;
|
627
751
|
}) => void;
|
628
752
|
initModel: () => void;
|
629
|
-
errorMessage: import('vue').ComputedRef<string>;
|
630
753
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
631
754
|
$slots: {
|
632
755
|
default?(_: {}): any;
|
@@ -651,6 +774,7 @@ declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
|
651
774
|
next: () => void;
|
652
775
|
previous: () => void;
|
653
776
|
validate: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
777
|
+
validateIfNoError: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
654
778
|
invalidate: (index: number, payload: {
|
655
779
|
[x: string]: string | string[] | undefined;
|
656
780
|
}) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["invalidate"]>;
|