eco-vue-js 0.9.2 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +3 -139
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.d.ts +4 -0
- package/dist/components/Form/WForm.vue.d.ts.map +1 -1
- package/dist/components/Form/WForm.vue.js +7 -1
- package/dist/components/Form/WFormValidator.vue.d.ts +3 -1
- package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
- package/dist/components/Form/WFormValidator.vue.js +15 -3
- package/dist/components/Form/models/injection.d.ts +1 -0
- package/dist/components/Form/models/injection.d.ts.map +1 -1
- package/dist/components/Form/models/injection.js +2 -1
- package/dist/components/Form/use/useFormHasValueMap.d.ts +6 -0
- package/dist/components/Form/use/useFormHasValueMap.d.ts.map +1 -0
- package/dist/components/Form/use/useFormHasValueMap.js +31 -0
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts +2 -2
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +1 -4
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue.d.ts +2 -12
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputOptions.vue.d.ts +1 -1
- package/dist/components/Modal/WModalStepper.vue.d.ts +3 -690
- package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
- package/dist/components/Modal/WModalStepper.vue.js +7 -5
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +4 -4
- package/dist/components/Select/WSelectSingle.vue.d.ts +4 -4
- package/dist/components/Select/WSelectStringified.vue.d.ts +4 -4
- package/dist/components/Tabs/WTabs.vue.d.ts +3 -259
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +87 -67
- package/dist/components/Tabs/WTabsItem.vue.d.ts +9 -6
- package/dist/components/Tabs/WTabsItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabsItem.vue.js +2 -1
- package/dist/components/Tabs/WTabsStepper.vue.d.ts +18 -307
- package/dist/components/Tabs/WTabsStepper.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabsStepper.vue.js +8 -8
- package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabItem.vue.js +8 -6
- package/dist/components/Tabs/components/TabTitleButton.vue.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabTitleButton.vue.js +4 -4
- package/dist/components/Tabs/types.d.ts +5 -0
- package/dist/components/Tabs/types.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,5 +1,15 @@
|
|
1
1
|
import { TabsStepperProps } from './types';
|
2
|
-
declare
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
slots: {
|
4
|
+
default?(_: {}): any;
|
5
|
+
};
|
6
|
+
refs: {
|
7
|
+
tabs: any;
|
8
|
+
};
|
9
|
+
attrs: Partial<{}>;
|
10
|
+
};
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<TabsStepperProps, {
|
3
13
|
next: () => void;
|
4
14
|
previous: () => void;
|
5
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
@@ -19,312 +29,13 @@ declare const _default: import('vue').DefineComponent<TabsStepperProps, {
|
|
19
29
|
"onUpdate:current-title"?: ((value: string) => any) | undefined;
|
20
30
|
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
21
31
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
22
|
-
tabs:
|
23
|
-
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
24
|
-
"onUpdate:current"?: ((value: string) => any) | undefined;
|
25
|
-
"onUpdate:current-index"?: ((value: number) => any) | undefined;
|
26
|
-
"onUpdate:current-title"?: ((value: string) => any) | undefined;
|
27
|
-
"onUpdate:tabs-length"?: ((value: number) => any) | undefined;
|
28
|
-
}>, {
|
29
|
-
updateCurrent: (value: string) => void;
|
30
|
-
updateIndex: (value: number) => void;
|
31
|
-
next: () => void;
|
32
|
-
previous: () => void;
|
33
|
-
validate: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
34
|
-
invalidate: (index: number, payload: {
|
35
|
-
[x: string]: string | string[] | undefined;
|
36
|
-
}) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["invalidate"]>;
|
37
|
-
initModel: (index: number) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["initModel"]>;
|
38
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
39
|
-
"update:has-changes": (value: boolean) => any;
|
40
|
-
"update:current": (value: string) => any;
|
41
|
-
"update:current-index": (value: number) => any;
|
42
|
-
"update:current-title": (value: string) => any;
|
43
|
-
"update:tabs-length": (value: number) => any;
|
44
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
45
|
-
buttonContainer: HTMLDivElement;
|
46
|
-
button: (({
|
47
|
-
$: import('vue').ComponentInternalInstance;
|
48
|
-
$data: {};
|
49
|
-
$props: {
|
50
|
-
readonly active: boolean;
|
51
|
-
readonly index: number;
|
52
|
-
readonly hasError: boolean;
|
53
|
-
readonly hasChanges: boolean;
|
54
|
-
readonly title: string;
|
55
|
-
readonly icon: SVGComponent | undefined;
|
56
|
-
readonly side?: boolean | undefined;
|
57
|
-
readonly onClick?: ((value: MouseEvent) => any) | undefined;
|
58
|
-
readonly "onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
59
|
-
readonly "onUpdate:scroll-position"?: ((value: {
|
60
|
-
left: number;
|
61
|
-
} | {
|
62
|
-
top: number;
|
63
|
-
}) => any) | undefined;
|
64
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
65
|
-
$attrs: {
|
66
|
-
[x: string]: unknown;
|
67
|
-
};
|
68
|
-
$refs: {
|
69
|
-
[x: string]: unknown;
|
70
|
-
} & {
|
71
|
-
button: HTMLButtonElement;
|
72
|
-
};
|
73
|
-
$slots: Readonly<{
|
74
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
75
|
-
}>;
|
76
|
-
$root: import('vue').ComponentPublicInstance | null;
|
77
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
78
|
-
$host: Element | null;
|
79
|
-
$emit: ((event: "click", value: MouseEvent) => void) & ((event: "update:indicator-style", value: import('vue').CSSProperties) => void) & ((event: "update:scroll-position", value: {
|
80
|
-
left: number;
|
81
|
-
} | {
|
82
|
-
top: number;
|
83
|
-
}) => void);
|
84
|
-
$el: any;
|
85
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
86
|
-
active: boolean;
|
87
|
-
index: number;
|
88
|
-
hasError: boolean;
|
89
|
-
hasChanges: boolean;
|
90
|
-
title: string;
|
91
|
-
icon: SVGComponent | undefined;
|
92
|
-
side?: boolean;
|
93
|
-
}> & Readonly<{
|
94
|
-
onClick?: ((value: MouseEvent) => any) | undefined;
|
95
|
-
"onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
96
|
-
"onUpdate:scroll-position"?: ((value: {
|
97
|
-
left: number;
|
98
|
-
} | {
|
99
|
-
top: number;
|
100
|
-
}) => any) | undefined;
|
101
|
-
}>, {
|
102
|
-
update: () => void;
|
103
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
104
|
-
click: (value: MouseEvent) => any;
|
105
|
-
"update:indicator-style": (value: import('vue').CSSProperties) => any;
|
106
|
-
"update:scroll-position": (value: {
|
107
|
-
left: number;
|
108
|
-
} | {
|
109
|
-
top: number;
|
110
|
-
}) => any;
|
111
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
112
|
-
beforeCreate?: (() => void) | (() => void)[];
|
113
|
-
created?: (() => void) | (() => void)[];
|
114
|
-
beforeMount?: (() => void) | (() => void)[];
|
115
|
-
mounted?: (() => void) | (() => void)[];
|
116
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
117
|
-
updated?: (() => void) | (() => void)[];
|
118
|
-
activated?: (() => void) | (() => void)[];
|
119
|
-
deactivated?: (() => void) | (() => void)[];
|
120
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
121
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
122
|
-
destroyed?: (() => void) | (() => void)[];
|
123
|
-
unmounted?: (() => void) | (() => void)[];
|
124
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
125
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
126
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
127
|
-
};
|
128
|
-
$forceUpdate: () => void;
|
129
|
-
$nextTick: typeof import('vue').nextTick;
|
130
|
-
$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;
|
131
|
-
} & Readonly<{}> & Omit<Readonly<{
|
132
|
-
active: boolean;
|
133
|
-
index: number;
|
134
|
-
hasError: boolean;
|
135
|
-
hasChanges: boolean;
|
136
|
-
title: string;
|
137
|
-
icon: SVGComponent | undefined;
|
138
|
-
side?: boolean;
|
139
|
-
}> & Readonly<{
|
140
|
-
onClick?: ((value: MouseEvent) => any) | undefined;
|
141
|
-
"onUpdate:indicator-style"?: ((value: import('vue').CSSProperties) => any) | undefined;
|
142
|
-
"onUpdate:scroll-position"?: ((value: {
|
143
|
-
left: number;
|
144
|
-
} | {
|
145
|
-
top: number;
|
146
|
-
}) => any) | undefined;
|
147
|
-
}>, "update"> & import('vue').ShallowUnwrapRef<{
|
148
|
-
update: () => void;
|
149
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
150
|
-
$slots: {
|
151
|
-
title?(_: {}): any;
|
152
|
-
suffix?(_: {}): any;
|
153
|
-
right?(_: {}): any;
|
154
|
-
};
|
155
|
-
}) | null)[];
|
156
|
-
tabItem: (({
|
157
|
-
$: import('vue').ComponentInternalInstance;
|
158
|
-
$data: {};
|
159
|
-
$props: {
|
160
|
-
readonly active: boolean;
|
161
|
-
readonly removable: boolean;
|
162
|
-
readonly "onUpdate:height"?: ((value: number) => any) | undefined;
|
163
|
-
readonly "onUpdate:active"?: (() => any) | undefined;
|
164
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
165
|
-
$attrs: {
|
166
|
-
[x: string]: unknown;
|
167
|
-
};
|
168
|
-
$refs: {
|
169
|
-
[x: string]: unknown;
|
170
|
-
} & {
|
171
|
-
element: HTMLDivElement;
|
172
|
-
};
|
173
|
-
$slots: Readonly<{
|
174
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
175
|
-
}>;
|
176
|
-
$root: import('vue').ComponentPublicInstance | null;
|
177
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
178
|
-
$host: Element | null;
|
179
|
-
$emit: ((event: "update:height", value: number) => void) & ((event: "update:active") => void);
|
180
|
-
$el: any;
|
181
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
182
|
-
active: boolean;
|
183
|
-
removable: boolean;
|
184
|
-
}> & Readonly<{
|
185
|
-
"onUpdate:height"?: ((value: number) => any) | undefined;
|
186
|
-
"onUpdate:active"?: (() => any) | undefined;
|
187
|
-
}>, {
|
188
|
-
emitHeight: () => void;
|
189
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
190
|
-
"update:height": (value: number) => any;
|
191
|
-
"update:active": () => any;
|
192
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
193
|
-
beforeCreate?: (() => void) | (() => void)[];
|
194
|
-
created?: (() => void) | (() => void)[];
|
195
|
-
beforeMount?: (() => void) | (() => void)[];
|
196
|
-
mounted?: (() => void) | (() => void)[];
|
197
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
198
|
-
updated?: (() => void) | (() => void)[];
|
199
|
-
activated?: (() => void) | (() => void)[];
|
200
|
-
deactivated?: (() => void) | (() => void)[];
|
201
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
202
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
203
|
-
destroyed?: (() => void) | (() => void)[];
|
204
|
-
unmounted?: (() => void) | (() => void)[];
|
205
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
206
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
207
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
208
|
-
};
|
209
|
-
$forceUpdate: () => void;
|
210
|
-
$nextTick: typeof import('vue').nextTick;
|
211
|
-
$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;
|
212
|
-
} & Readonly<{}> & Omit<Readonly<{
|
213
|
-
active: boolean;
|
214
|
-
removable: boolean;
|
215
|
-
}> & Readonly<{
|
216
|
-
"onUpdate:height"?: ((value: number) => any) | undefined;
|
217
|
-
"onUpdate:active"?: (() => any) | undefined;
|
218
|
-
}>, "emitHeight"> & import('vue').ShallowUnwrapRef<{
|
219
|
-
emitHeight: () => void;
|
220
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
221
|
-
$slots: {
|
222
|
-
default?(_: {}): any;
|
223
|
-
};
|
224
|
-
}) | null)[];
|
225
|
-
form: (({
|
226
|
-
$: import('vue').ComponentInternalInstance;
|
227
|
-
$data: {};
|
228
|
-
$props: {
|
229
|
-
readonly name?: string | undefined;
|
230
|
-
readonly title?: string | undefined;
|
231
|
-
readonly "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
232
|
-
readonly "onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
233
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
234
|
-
$attrs: {
|
235
|
-
[x: string]: unknown;
|
236
|
-
};
|
237
|
-
$refs: {
|
238
|
-
[x: string]: unknown;
|
239
|
-
};
|
240
|
-
$slots: Readonly<{
|
241
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
242
|
-
}>;
|
243
|
-
$root: import('vue').ComponentPublicInstance | null;
|
244
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
245
|
-
$host: Element | null;
|
246
|
-
$emit: ((event: "update:has-changes", value: boolean) => void) & ((event: "update:is-valid", value: boolean | undefined) => void);
|
247
|
-
$el: any;
|
248
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
249
|
-
name?: string;
|
250
|
-
title?: string;
|
251
|
-
}> & Readonly<{
|
252
|
-
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
253
|
-
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
254
|
-
}>, {
|
255
|
-
isValid: import('vue').ComputedRef<boolean>;
|
256
|
-
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
257
|
-
invalidate: (payload: {
|
258
|
-
[x: string]: string | string[] | undefined;
|
259
|
-
}) => void;
|
260
|
-
initModel: () => void;
|
261
|
-
errorMessage: import('vue').ComputedRef<string>;
|
262
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
263
|
-
"update:has-changes": (value: boolean) => any;
|
264
|
-
"update:is-valid": (value: boolean | undefined) => any;
|
265
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
266
|
-
beforeCreate?: (() => void) | (() => void)[];
|
267
|
-
created?: (() => void) | (() => void)[];
|
268
|
-
beforeMount?: (() => void) | (() => void)[];
|
269
|
-
mounted?: (() => void) | (() => void)[];
|
270
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
271
|
-
updated?: (() => void) | (() => void)[];
|
272
|
-
activated?: (() => void) | (() => void)[];
|
273
|
-
deactivated?: (() => void) | (() => void)[];
|
274
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
275
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
276
|
-
destroyed?: (() => void) | (() => void)[];
|
277
|
-
unmounted?: (() => void) | (() => void)[];
|
278
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
279
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
280
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
281
|
-
};
|
282
|
-
$forceUpdate: () => void;
|
283
|
-
$nextTick: typeof import('vue').nextTick;
|
284
|
-
$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;
|
285
|
-
} & Readonly<{}> & Omit<Readonly<{
|
286
|
-
name?: string;
|
287
|
-
title?: string;
|
288
|
-
}> & Readonly<{
|
289
|
-
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
290
|
-
"onUpdate:is-valid"?: ((value: boolean | undefined) => any) | undefined;
|
291
|
-
}>, "errorMessage" | "isValid" | "validate" | "invalidate" | "initModel"> & import('vue').ShallowUnwrapRef<{
|
292
|
-
isValid: import('vue').ComputedRef<boolean>;
|
293
|
-
validate: (silent?: boolean, path?: import('../Form/use/useFormValidateMap').ValidatePath) => string | undefined;
|
294
|
-
invalidate: (payload: {
|
295
|
-
[x: string]: string | string[] | undefined;
|
296
|
-
}) => void;
|
297
|
-
initModel: () => void;
|
298
|
-
errorMessage: import('vue').ComputedRef<string>;
|
299
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
300
|
-
$slots: {
|
301
|
-
default?(_: {}): any;
|
302
|
-
};
|
303
|
-
}) | null)[];
|
304
|
-
}, any, import('vue').ComponentProvideOptions, {
|
305
|
-
P: {};
|
306
|
-
B: {};
|
307
|
-
D: {};
|
308
|
-
C: {};
|
309
|
-
M: {};
|
310
|
-
Defaults: {};
|
311
|
-
}, Readonly<import('./types').TabsProps> & Readonly<{
|
312
|
-
"onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
|
313
|
-
"onUpdate:current"?: ((value: string) => any) | undefined;
|
314
|
-
"onUpdate:current-index"?: ((value: number) => any) | undefined;
|
315
|
-
"onUpdate:current-title"?: ((value: string) => any) | undefined;
|
316
|
-
"onUpdate:tabs-length"?: ((value: number) => any) | undefined;
|
317
|
-
}>, {
|
318
|
-
updateCurrent: (value: string) => void;
|
319
|
-
updateIndex: (value: number) => void;
|
320
|
-
next: () => void;
|
321
|
-
previous: () => void;
|
322
|
-
validate: (index: number, silent?: boolean | undefined, path?: import('../Form/use/useFormValidateMap').ValidatePath | undefined) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["validate"]>;
|
323
|
-
invalidate: (index: number, payload: {
|
324
|
-
[x: string]: string | string[] | undefined;
|
325
|
-
}) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["invalidate"]>;
|
326
|
-
initModel: (index: number) => ReturnType<ComponentInstance<typeof import('../Form/WForm.vue').default>["initModel"]>;
|
327
|
-
}, {}, {}, {}, {}> | null;
|
32
|
+
tabs: any;
|
328
33
|
}, any>;
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
329
35
|
export default _default;
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
37
|
+
new (): {
|
38
|
+
$slots: S;
|
39
|
+
};
|
40
|
+
};
|
330
41
|
//# sourceMappingURL=WTabsStepper.vue.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WTabsStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsStepper.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WTabsStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsStepper.vue"],"names":[],"mappings":"AAgFA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAA;AAmF7C,iBAAS,cAAc;;yBA4HO,GAAG;;;;;WAUnB,OAAO,IAA6B;EAEjD;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;gBA3MJ,IAAI;oBAJA,IAAI;;;;;;;;;;;;;;;;;;;OAgOvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, useTemplateRef, ref, computed, watch, openBlock, createBlock, mergeProps, withCtx, renderSlot } from 'vue';
|
2
2
|
import _sfc_main$1 from './WTabs.vue.js';
|
3
3
|
import { Notify } from '../../utils/Notify.js';
|
4
4
|
|
@@ -14,9 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
setup(__props, { expose: __expose, emit: __emit }) {
|
15
15
|
const props = __props;
|
16
16
|
const emit = __emit;
|
17
|
-
const slots = useSlots();
|
18
17
|
const tabsRef = useTemplateRef("tabs");
|
19
|
-
const defaultSlots = computed(() => props.customSlots ?? slots.default?.() ?? []);
|
20
18
|
const tabsLength = ref(0);
|
21
19
|
const current = ref(0);
|
22
20
|
const first = computed(() => current.value === 0);
|
@@ -47,10 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
47
45
|
previous
|
48
46
|
});
|
49
47
|
return (_ctx, _cache) => {
|
50
|
-
return openBlock(), createBlock(_sfc_main$1, mergeProps({ ref: "tabs" }, {
|
51
|
-
...props,
|
52
|
-
customSlots: defaultSlots.value
|
53
|
-
}, {
|
48
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({ ref: "tabs" }, props, {
|
54
49
|
"no-header": "",
|
55
50
|
"onUpdate:current": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:current", $event)),
|
56
51
|
"onUpdate:currentIndex": _cache[1] || (_cache[1] = ($event) => {
|
@@ -60,7 +55,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
60
55
|
"onUpdate:currentTitle": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:current-title", $event)),
|
61
56
|
"onUpdate:hasChanges": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:has-changes", $event)),
|
62
57
|
"onUpdate:tabsLength": _cache[4] || (_cache[4] = ($event) => tabsLength.value = $event)
|
63
|
-
}),
|
58
|
+
}), {
|
59
|
+
default: withCtx(() => [
|
60
|
+
renderSlot(_ctx.$slots, "default")
|
61
|
+
]),
|
62
|
+
_: 3
|
63
|
+
}, 16);
|
64
64
|
};
|
65
65
|
}
|
66
66
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"TabItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabItem.vue"],"names":[],"mappings":"AAwGA,iBAAS,cAAc;;yBAuCM,GAAG;;;;;WAUlB,OAAO,IAA6B;EAEjD;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA7GX,OAAO;eACJ,OAAO;;sBAaG,IAAI;;;;;YAdjB,OAAO;eACJ,OAAO;;;;;;OAwHlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, useTemplateRef, watch, nextTick,
|
1
|
+
import { defineComponent, useTemplateRef, watch, nextTick, openBlock, createBlock, KeepAlive, withDirectives, createElementBlock, renderSlot, vShow, createCommentVNode } from 'vue';
|
2
2
|
import { useTabItemActiveListener } from '../use/useTabItemActiveListener.js';
|
3
3
|
|
4
4
|
const _hoisted_1 = {
|
@@ -31,11 +31,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
31
|
emitHeight
|
32
32
|
});
|
33
33
|
return (_ctx, _cache) => {
|
34
|
-
return
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
34
|
+
return openBlock(), createBlock(KeepAlive, null, [
|
35
|
+
!_ctx.removable || _ctx.active ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
36
|
+
renderSlot(_ctx.$slots, "default")
|
37
|
+
], 512)), [
|
38
|
+
[vShow, _ctx.active]
|
39
|
+
]) : createCommentVNode("", true)
|
40
|
+
], 1024);
|
39
41
|
};
|
40
42
|
}
|
41
43
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabTitleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabTitleButton.vue"],"names":[],"mappings":"AA8IA,OAAO,EAAC,KAAK,aAAa,EAA6C,MAAM,KAAK,CAAA;AA0FlF,iBAAS,cAAc;;
|
1
|
+
{"version":3,"file":"TabTitleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabTitleButton.vue"],"names":[],"mappings":"AA8IA,OAAO,EAAC,KAAK,aAAa,EAA6C,MAAM,KAAK,CAAA;AA0FlF,iBAAS,cAAc;;uBA2HI,GAAG;wBACD,GAAG;uBACJ,GAAG;;;;;WAUjB,OAAO,IAA6B;EAEjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA5OX,OAAO;WACR,MAAM;cACH,OAAO;gBACL,OAAO;WACZ,MAAM;UACP,YAAY,GAAG,SAAS;WACvB,OAAO;;;;;;;cA+O8B,MAAM;;aAAU,MAAM;;;YArP1D,OAAO;WACR,MAAM;cACH,OAAO;gBACL,OAAO;WACZ,MAAM;UACP,YAAY,GAAG,SAAS;WACvB,OAAO;;;;;cA+O8B,MAAM;;aAAU,MAAM;;;;OAIlE,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -66,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
66
66
|
return (_ctx, _cache) => {
|
67
67
|
return openBlock(), createElementBlock("button", {
|
68
68
|
ref: "button",
|
69
|
-
class: "text-description grid cursor-pointer select-none snap-center
|
69
|
+
class: "text-description grid cursor-pointer select-none snap-center font-semibold outline-none transition-colors duration-500",
|
70
70
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
71
71
|
}, [
|
72
72
|
createElementVNode("div", {
|
@@ -94,9 +94,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
94
94
|
]),
|
95
95
|
_: 1
|
96
96
|
})) : createCommentVNode("", true),
|
97
|
-
createTextVNode(" " + toDisplayString(_ctx.title)
|
98
|
-
|
99
|
-
|
97
|
+
createTextVNode(" " + toDisplayString(_ctx.title), 1)
|
98
|
+
]),
|
99
|
+
renderSlot(_ctx.$slots, "suffix")
|
100
100
|
], 2)),
|
101
101
|
createVNode(Transition, {
|
102
102
|
"enter-active-class": "transition-opacity",
|
@@ -9,4 +9,9 @@ export interface TabsProps {
|
|
9
9
|
switchToNew?: boolean;
|
10
10
|
}
|
11
11
|
export type TabsStepperProps = Omit<TabsProps, 'switchToNew' | 'noHeader' | 'side'>;
|
12
|
+
export type TabsItemScopedProps = {
|
13
|
+
hasError: boolean;
|
14
|
+
hasChanges: boolean;
|
15
|
+
hasValue: boolean;
|
16
|
+
};
|
12
17
|
//# sourceMappingURL=types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,KAAK,CAAA;AAE9B,MAAM,WAAW,SAAS;IACxB,WAAW,CAAC,EAAE,KAAK,EAAE,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,aAAa,GAAG,UAAU,GAAG,MAAM,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,KAAK,CAAA;AAE9B,MAAM,WAAW,SAAS;IACxB,WAAW,CAAC,EAAE,KAAK,EAAE,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,aAAa,GAAG,UAAU,GAAG,MAAM,CAAC,CAAA;AAEnF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA"}
|