@vtj/designer 0.10.5 → 0.10.6

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.
Files changed (59) hide show
  1. package/dist/index.mjs +4 -4
  2. package/package.json +7 -7
  3. package/types/components/binders/event.d.ts +2 -46
  4. package/types/components/binders/variable.d.ts +2 -46
  5. package/types/components/editor/Editor.d.ts +1 -3
  6. package/types/components/editor/index.d.ts +1 -3
  7. package/types/components/regions/actions.d.ts +2 -33
  8. package/types/components/regions/apps.d.ts +2 -33
  9. package/types/components/regions/brand.d.ts +2 -33
  10. package/types/components/regions/empty.d.ts +1 -1
  11. package/types/components/regions/index.d.ts +11 -259
  12. package/types/components/regions/preview.d.ts +2 -33
  13. package/types/components/regions/settings.d.ts +2 -33
  14. package/types/components/regions/status.d.ts +2 -33
  15. package/types/components/regions/toolbar.d.ts +2 -33
  16. package/types/components/regions/workspace.d.ts +2 -33
  17. package/types/components/setters/css.d.ts +2 -46
  18. package/types/components/setters/file.d.ts +1 -1
  19. package/types/components/setters/function.d.ts +2 -46
  20. package/types/components/setters/icon.d.ts +1 -1
  21. package/types/components/setters/index.d.ts +10 -140
  22. package/types/components/setters/json.d.ts +2 -46
  23. package/types/components/setters/section.d.ts +1 -1
  24. package/types/components/setters/slider.d.ts +1 -1
  25. package/types/components/setters/tag.d.ts +1 -1
  26. package/types/components/setters/vanIcon/index.d.ts +1 -1
  27. package/types/components/shared/binder.d.ts +70 -742
  28. package/types/components/shared/box.d.ts +45 -13
  29. package/types/components/shared/item.d.ts +143 -13
  30. package/types/components/shared/panel.d.ts +72 -15
  31. package/types/components/shared/tabs.d.ts +37 -13
  32. package/types/components/shared/viewer.d.ts +2 -766
  33. package/types/components/shared/viewport.d.ts +29 -13
  34. package/types/components/skeleton.d.ts +2 -180
  35. package/types/components/widgets/about/index.d.ts +1 -1
  36. package/types/components/widgets/actions/coder.d.ts +1 -1
  37. package/types/components/widgets/actions/index.d.ts +1 -1
  38. package/types/components/widgets/apis/base-info.d.ts +1 -1
  39. package/types/components/widgets/apis/form.d.ts +2 -1520
  40. package/types/components/widgets/apis/jsonp-options.d.ts +1 -1
  41. package/types/components/widgets/apis/mock-template.d.ts +1 -1
  42. package/types/components/widgets/apis/request-settings.d.ts +1 -1
  43. package/types/components/widgets/css/index.d.ts +2 -46
  44. package/types/components/widgets/designer/actions.d.ts +1 -1
  45. package/types/components/widgets/designer/index.d.ts +1 -4
  46. package/types/components/widgets/docs/index.d.ts +2 -101
  47. package/types/components/widgets/empty/index.d.ts +1 -1
  48. package/types/components/widgets/index.d.ts +11 -342
  49. package/types/components/widgets/market/index.d.ts +2 -101
  50. package/types/components/widgets/previewer/index.d.ts +1 -4
  51. package/types/components/widgets/raw/index.d.ts +2 -46
  52. package/types/components/widgets/schema/index.d.ts +2 -46
  53. package/types/components/widgets/scripts/group.d.ts +51 -983
  54. package/types/components/widgets/scripts/lifeCycles.d.ts +2 -46
  55. package/types/components/widgets/style/JsonMode.d.ts +2 -46
  56. package/types/components/widgets/style/positioning.d.ts +1 -3
  57. package/types/components/widgets/style/spacing-input.d.ts +2 -255
  58. package/types/components/widgets/style/spacing.d.ts +1 -4
  59. package/types/version.d.ts +2 -2
@@ -1,11 +1,13 @@
1
+ import { XDialog, XContainer, XForm, XPanel } from '@vtj/ui';
2
+ import { Search } from '@vtj/icons';
1
3
  import { Context } from '@vtj/renderer';
2
4
  import { BlockModel } from '@vtj/core';
3
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, nextTick, DefineComponent, PublicProps } from 'vue';
4
- import { ElTooltipProps, FormItemRule, FormItemProp, FormValidateCallback, FormValidationResult, FormItemContext } from 'element-plus';
5
- import { FormModel } from '@vtj/ui';
6
- import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils/index.mjs';
7
- import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
8
- import { OnCleanup } from '@vue/reactivity';
5
+ import { ElInput, ElDivider, ElButton, ElEmpty } from 'element-plus';
6
+ import { default as Tabs } from './tabs';
7
+ import { default as Item } from './item';
8
+ import { default as Viewer } from './viewer';
9
+ import { ComputedRef, Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
10
+ import { BinderOption } from '../hooks';
9
11
  export interface Props {
10
12
  title: string;
11
13
  context: Context | null;
@@ -16,377 +18,65 @@ export interface Props {
16
18
  submitMethod?: (model: Record<string, any>) => Promise<boolean>;
17
19
  unbindEnabled?: boolean;
18
20
  }
19
- declare function __VLS_template(): {
20
- attrs: Partial<{}>;
21
- slots: {
22
- default?(_: {}): any;
23
- };
24
- refs: {
25
- formRef: ({
26
- $: ComponentInternalInstance;
27
- $data: {};
28
- $props: Partial<{
29
- footer: boolean;
30
- inline: boolean;
31
- tooltipMessage: boolean | Partial< ElTooltipProps>;
32
- model: Record<string, any>;
33
- submitText: string | null;
34
- resetText: string | null;
35
- enterSubmit: boolean;
36
- }> & Omit<{
37
- readonly footer: boolean;
38
- readonly inline: boolean;
39
- readonly submitText: string | null;
40
- readonly resetText: string | null;
41
- readonly enterSubmit: boolean;
42
- readonly model?: Record<string, any> | undefined;
43
- readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
44
- readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
45
- readonly inlineColumns?: number | undefined;
46
- readonly onReset?: (() => any) | undefined | undefined;
47
- readonly onSubmit?: ((model: Record<string, any>) => any) | undefined | undefined;
48
- readonly onChange?: ((model: Record<string, any>) => any) | undefined | undefined;
49
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit">;
50
- $attrs: {
51
- [x: string]: unknown;
52
- };
53
- $refs: {
54
- [x: string]: unknown;
55
- } & {
56
- formRef: ({
57
- $: ComponentInternalInstance;
58
- $data: {};
59
- $props: Partial<{
60
- readonly disabled: boolean;
61
- readonly inline: boolean;
62
- readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
63
- readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
64
- readonly inlineMessage: boolean;
65
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
66
- readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
67
- readonly labelSuffix: string;
68
- readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
69
- readonly statusIcon: boolean;
70
- readonly hideRequiredAsterisk: boolean;
71
- readonly scrollToError: boolean;
72
- }> & Omit<{
73
- readonly disabled: boolean;
74
- readonly inline: boolean;
75
- readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
76
- readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
77
- readonly inlineMessage: boolean;
78
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
79
- readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
80
- readonly labelSuffix: string;
81
- readonly statusIcon: boolean;
82
- readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
83
- readonly hideRequiredAsterisk: boolean;
84
- readonly scrollToError: boolean;
85
- readonly size?: EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown> | undefined;
86
- readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
87
- readonly model?: Record<string, any> | undefined;
88
- readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown> | undefined;
89
- onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
90
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
91
- $attrs: {
92
- [x: string]: unknown;
93
- };
94
- $refs: {
95
- [x: string]: unknown;
96
- };
97
- $slots: Readonly<{
98
- [name: string]: Slot<any> | undefined;
99
- }>;
100
- $root: ComponentPublicInstance | null;
101
- $parent: ComponentPublicInstance | null;
102
- $host: Element | null;
103
- $emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
104
- $el: any;
105
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
106
- readonly model: ObjectConstructor;
107
- readonly rules: {
108
- readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
109
- readonly required: false;
110
- readonly validator: ((val: unknown) => boolean) | undefined;
111
- __epPropKey: true;
112
- };
113
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
114
- readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
115
- readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
116
- readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
117
- readonly inline: BooleanConstructor;
118
- readonly inlineMessage: BooleanConstructor;
119
- readonly statusIcon: BooleanConstructor;
120
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
121
- readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
122
- readonly hideRequiredAsterisk: BooleanConstructor;
123
- readonly scrollToError: BooleanConstructor;
124
- readonly scrollIntoViewOptions: {
125
- readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
126
- readonly required: false;
127
- readonly validator: ((val: unknown) => boolean) | undefined;
128
- __epPropKey: true;
129
- };
130
- readonly size: {
131
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
132
- readonly required: false;
133
- readonly validator: ((val: unknown) => boolean) | undefined;
134
- __epPropKey: true;
135
- };
136
- readonly disabled: BooleanConstructor;
137
- }>> & {
138
- onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
139
- }, {
140
- validate: (callback?: FormValidateCallback) => FormValidationResult;
141
- validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
142
- resetFields: (props?: Arrayable<FormItemProp>) => void;
143
- clearValidate: (props?: Arrayable<FormItemProp>) => void;
144
- scrollToField: (prop: FormItemProp) => void;
145
- fields: FormItemContext[];
146
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
147
- validate: (prop: FormItemProp, isValid: boolean, message: string) => void;
148
- }, string, {
149
- readonly disabled: boolean;
150
- readonly inline: boolean;
151
- readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
152
- readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
153
- readonly inlineMessage: boolean;
154
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
155
- readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
156
- readonly labelSuffix: string;
157
- readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
158
- readonly statusIcon: boolean;
159
- readonly hideRequiredAsterisk: boolean;
160
- readonly scrollToError: boolean;
161
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
162
- beforeCreate?: (() => void) | (() => void)[];
163
- created?: (() => void) | (() => void)[];
164
- beforeMount?: (() => void) | (() => void)[];
165
- mounted?: (() => void) | (() => void)[];
166
- beforeUpdate?: (() => void) | (() => void)[];
167
- updated?: (() => void) | (() => void)[];
168
- activated?: (() => void) | (() => void)[];
169
- deactivated?: (() => void) | (() => void)[];
170
- beforeDestroy?: (() => void) | (() => void)[];
171
- beforeUnmount?: (() => void) | (() => void)[];
172
- destroyed?: (() => void) | (() => void)[];
173
- unmounted?: (() => void) | (() => void)[];
174
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
175
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
176
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
177
- };
178
- $forceUpdate: () => void;
179
- $nextTick: nextTick;
180
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
181
- } & Readonly<{
182
- readonly disabled: boolean;
183
- readonly inline: boolean;
184
- readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
185
- readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
186
- readonly inlineMessage: boolean;
187
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
188
- readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
189
- readonly labelSuffix: string;
190
- readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
191
- readonly statusIcon: boolean;
192
- readonly hideRequiredAsterisk: boolean;
193
- readonly scrollToError: boolean;
194
- }> & Omit<Readonly< ExtractPropTypes<{
195
- readonly model: ObjectConstructor;
196
- readonly rules: {
197
- readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
198
- readonly required: false;
199
- readonly validator: ((val: unknown) => boolean) | undefined;
200
- __epPropKey: true;
201
- };
202
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
203
- readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
204
- readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
205
- readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
206
- readonly inline: BooleanConstructor;
207
- readonly inlineMessage: BooleanConstructor;
208
- readonly statusIcon: BooleanConstructor;
209
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
210
- readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
211
- readonly hideRequiredAsterisk: BooleanConstructor;
212
- readonly scrollToError: BooleanConstructor;
213
- readonly scrollIntoViewOptions: {
214
- readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
215
- readonly required: false;
216
- readonly validator: ((val: unknown) => boolean) | undefined;
217
- __epPropKey: true;
218
- };
219
- readonly size: {
220
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
221
- readonly required: false;
222
- readonly validator: ((val: unknown) => boolean) | undefined;
223
- __epPropKey: true;
224
- };
225
- readonly disabled: BooleanConstructor;
226
- }>> & {
227
- onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
228
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
229
- validate: (callback?: FormValidateCallback) => FormValidationResult;
230
- validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
231
- resetFields: (props?: Arrayable<FormItemProp>) => void;
232
- clearValidate: (props?: Arrayable<FormItemProp>) => void;
233
- scrollToField: (prop: FormItemProp) => void;
234
- fields: FormItemContext[];
235
- }> & {} & ComponentCustomProperties & {} & {
236
- $slots: {
237
- default?(_: {}): any;
238
- };
239
- }) | null;
240
- };
241
- $slots: Readonly<{
242
- [name: string]: Slot<any> | undefined;
243
- }>;
244
- $root: ComponentPublicInstance | null;
245
- $parent: ComponentPublicInstance | null;
246
- $host: Element | null;
247
- $emit: ((event: "reset") => void) & ((event: "submit", model: Record<string, any>) => void) & ((event: "change", model: Record<string, any>) => void);
248
- $el: any;
249
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
250
- model: {
251
- type: PropType<Record<string, any>>;
252
- default(): any;
253
- };
254
- inline: {
255
- type: BooleanConstructor;
256
- };
257
- inlineColumns: {
258
- type: NumberConstructor;
259
- };
260
- footer: {
261
- type: BooleanConstructor;
262
- default: boolean;
263
- };
264
- submitText: {
265
- type: PropType<string | null>;
266
- default: string;
267
- };
268
- resetText: {
269
- type: PropType<string | null>;
270
- default: string;
271
- };
272
- submitMethod: {
273
- type: PropType<(model: FormModel) => Promise<any>>;
274
- };
275
- tooltipMessage: {
276
- type: PropType<boolean | Partial< ElTooltipProps>>;
277
- default: undefined;
278
- };
279
- enterSubmit: {
280
- type: BooleanConstructor;
281
- default: boolean;
282
- };
283
- }>> & Readonly<{
284
- onReset?: (() => any) | undefined;
285
- onSubmit?: ((model: Record<string, any>) => any) | undefined;
286
- onChange?: ((model: Record<string, any>) => any) | undefined;
287
- }>, {
288
- formRef: Ref<any, any>;
289
- model: FormModel;
290
- submit: () => Promise<void>;
291
- reset: (fields?: string[] | string) => void;
292
- validate: () => Promise<any>;
293
- clearValidate: () => void;
294
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
295
- reset: () => any;
296
- submit: (model: Record<string, any>) => any;
297
- change: (model: Record<string, any>) => any;
298
- }, string, {
299
- footer: boolean;
300
- inline: boolean;
301
- tooltipMessage: boolean | Partial< ElTooltipProps>;
302
- model: Record<string, any>;
303
- submitText: string | null;
304
- resetText: string | null;
305
- enterSubmit: boolean;
306
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
307
- beforeCreate?: (() => void) | (() => void)[];
308
- created?: (() => void) | (() => void)[];
309
- beforeMount?: (() => void) | (() => void)[];
310
- mounted?: (() => void) | (() => void)[];
311
- beforeUpdate?: (() => void) | (() => void)[];
312
- updated?: (() => void) | (() => void)[];
313
- activated?: (() => void) | (() => void)[];
314
- deactivated?: (() => void) | (() => void)[];
315
- beforeDestroy?: (() => void) | (() => void)[];
316
- beforeUnmount?: (() => void) | (() => void)[];
317
- destroyed?: (() => void) | (() => void)[];
318
- unmounted?: (() => void) | (() => void)[];
319
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
320
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
321
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
322
- };
323
- $forceUpdate: () => void;
324
- $nextTick: nextTick;
325
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
326
- } & Readonly<{
327
- footer: boolean;
328
- inline: boolean;
329
- tooltipMessage: boolean | Partial< ElTooltipProps>;
330
- model: Record<string, any>;
331
- submitText: string | null;
332
- resetText: string | null;
333
- enterSubmit: boolean;
334
- }> & Omit<Readonly< ExtractPropTypes<{
335
- model: {
336
- type: PropType<Record<string, any>>;
337
- default(): any;
338
- };
339
- inline: {
340
- type: BooleanConstructor;
341
- };
342
- inlineColumns: {
343
- type: NumberConstructor;
344
- };
345
- footer: {
346
- type: BooleanConstructor;
347
- default: boolean;
348
- };
349
- submitText: {
350
- type: PropType<string | null>;
351
- default: string;
352
- };
353
- resetText: {
354
- type: PropType<string | null>;
355
- default: string;
356
- };
357
- submitMethod: {
358
- type: PropType<(model: FormModel) => Promise<any>>;
359
- };
360
- tooltipMessage: {
361
- type: PropType<boolean | Partial< ElTooltipProps>>;
362
- default: undefined;
363
- };
364
- enterSubmit: {
365
- type: BooleanConstructor;
366
- default: boolean;
367
- };
368
- }>> & Readonly<{
369
- onReset?: (() => any) | undefined;
370
- onSubmit?: ((model: Record<string, any>) => any) | undefined;
371
- onChange?: ((model: Record<string, any>) => any) | undefined;
372
- }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
373
- formRef: Ref<any, any>;
374
- model: FormModel;
375
- submit: () => Promise<void>;
376
- reset: (fields?: string[] | string) => void;
377
- validate: () => Promise<any>;
378
- clearValidate: () => void;
379
- }> & {} & ComponentCustomProperties & {} & {
380
- $slots: {
381
- default?(_: {}): any;
382
- footer?(_: {}): any;
383
- action?(_: {}): any;
384
- };
385
- }) | null;
386
- };
387
- rootEl: any;
388
- };
389
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const searchResult: ComputedRef< BinderOption[]>, keyword: Ref<string, string>;
22
+ declare const tabs: {
23
+ name: string;
24
+ label: string;
25
+ }[];
26
+ declare const currentTab: Ref<string, string>;
27
+ declare const formRef: Ref<any, any>;
28
+ declare const handleSubmit: (model: any) => Promise<void>;
29
+ declare const onClose: () => void;
30
+ declare const onUnbind: () => void;
31
+ declare const onCancel: () => void;
32
+ declare const onSubmit: () => Promise<void>;
33
+ declare const onPicker: (val: string) => void;
34
+ declare const onCopy: (name: string) => void;
35
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
36
+ declare var __VLS_63: {};
37
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
38
+ default?: (props: typeof __VLS_63) => any;
39
+ }>;
40
+ declare const __VLS_self: DefineComponent<Props, {
41
+ XDialog: typeof XDialog;
42
+ XContainer: typeof XContainer;
43
+ XForm: typeof XForm;
44
+ XPanel: typeof XPanel;
45
+ Search: typeof Search;
46
+ ElInput: typeof ElInput;
47
+ ElDivider: typeof ElDivider;
48
+ ElButton: typeof ElButton;
49
+ ElEmpty: typeof ElEmpty;
50
+ Tabs: typeof Tabs;
51
+ Item: typeof Item;
52
+ Viewer: typeof Viewer;
53
+ searchResult: typeof searchResult;
54
+ keyword: typeof keyword;
55
+ tabs: typeof tabs;
56
+ currentTab: typeof currentTab;
57
+ formRef: typeof formRef;
58
+ handleSubmit: typeof handleSubmit;
59
+ onClose: typeof onClose;
60
+ onUnbind: typeof onUnbind;
61
+ onCancel: typeof onCancel;
62
+ onSubmit: typeof onSubmit;
63
+ onPicker: typeof onPicker;
64
+ onCopy: typeof onCopy;
65
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
66
+ close: (...args: any[]) => void;
67
+ cancel: (...args: any[]) => void;
68
+ submit: (...args: any[]) => void;
69
+ "update:modelValue": (...args: any[]) => void;
70
+ pick: (...args: any[]) => void;
71
+ unbind: (...args: any[]) => void;
72
+ }, string, PublicProps, Readonly<Props> & Readonly<{
73
+ onClose?: ((...args: any[]) => any) | undefined;
74
+ onCancel?: ((...args: any[]) => any) | undefined;
75
+ onSubmit?: ((...args: any[]) => any) | undefined;
76
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
77
+ onPick?: ((...args: any[]) => any) | undefined;
78
+ onUnbind?: ((...args: any[]) => any) | undefined;
79
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
390
80
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
391
81
  close: (...args: any[]) => void;
392
82
  cancel: (...args: any[]) => void;
@@ -401,372 +91,10 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
401
91
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
402
92
  onPick?: ((...args: any[]) => any) | undefined;
403
93
  onUnbind?: ((...args: any[]) => any) | undefined;
404
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
405
- formRef: ({
406
- $: ComponentInternalInstance;
407
- $data: {};
408
- $props: Partial<{
409
- footer: boolean;
410
- inline: boolean;
411
- tooltipMessage: boolean | Partial< ElTooltipProps>;
412
- model: Record<string, any>;
413
- submitText: string | null;
414
- resetText: string | null;
415
- enterSubmit: boolean;
416
- }> & Omit<{
417
- readonly footer: boolean;
418
- readonly inline: boolean;
419
- readonly submitText: string | null;
420
- readonly resetText: string | null;
421
- readonly enterSubmit: boolean;
422
- readonly model?: Record<string, any> | undefined;
423
- readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
424
- readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
425
- readonly inlineColumns?: number | undefined;
426
- readonly onReset?: (() => any) | undefined | undefined;
427
- readonly onSubmit?: ((model: Record<string, any>) => any) | undefined | undefined;
428
- readonly onChange?: ((model: Record<string, any>) => any) | undefined | undefined;
429
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit">;
430
- $attrs: {
431
- [x: string]: unknown;
432
- };
433
- $refs: {
434
- [x: string]: unknown;
435
- } & {
436
- formRef: ({
437
- $: ComponentInternalInstance;
438
- $data: {};
439
- $props: Partial<{
440
- readonly disabled: boolean;
441
- readonly inline: boolean;
442
- readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
443
- readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
444
- readonly inlineMessage: boolean;
445
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
446
- readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
447
- readonly labelSuffix: string;
448
- readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
449
- readonly statusIcon: boolean;
450
- readonly hideRequiredAsterisk: boolean;
451
- readonly scrollToError: boolean;
452
- }> & Omit<{
453
- readonly disabled: boolean;
454
- readonly inline: boolean;
455
- readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
456
- readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
457
- readonly inlineMessage: boolean;
458
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
459
- readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
460
- readonly labelSuffix: string;
461
- readonly statusIcon: boolean;
462
- readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
463
- readonly hideRequiredAsterisk: boolean;
464
- readonly scrollToError: boolean;
465
- readonly size?: EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown> | undefined;
466
- readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>> | undefined;
467
- readonly model?: Record<string, any> | undefined;
468
- readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown> | undefined;
469
- onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
470
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
471
- $attrs: {
472
- [x: string]: unknown;
473
- };
474
- $refs: {
475
- [x: string]: unknown;
476
- };
477
- $slots: Readonly<{
478
- [name: string]: Slot<any> | undefined;
479
- }>;
480
- $root: ComponentPublicInstance | null;
481
- $parent: ComponentPublicInstance | null;
482
- $host: Element | null;
483
- $emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
484
- $el: any;
485
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
486
- readonly model: ObjectConstructor;
487
- readonly rules: {
488
- readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
489
- readonly required: false;
490
- readonly validator: ((val: unknown) => boolean) | undefined;
491
- __epPropKey: true;
492
- };
493
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
494
- readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
495
- readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
496
- readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
497
- readonly inline: BooleanConstructor;
498
- readonly inlineMessage: BooleanConstructor;
499
- readonly statusIcon: BooleanConstructor;
500
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
501
- readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
502
- readonly hideRequiredAsterisk: BooleanConstructor;
503
- readonly scrollToError: BooleanConstructor;
504
- readonly scrollIntoViewOptions: {
505
- readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
506
- readonly required: false;
507
- readonly validator: ((val: unknown) => boolean) | undefined;
508
- __epPropKey: true;
509
- };
510
- readonly size: {
511
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
512
- readonly required: false;
513
- readonly validator: ((val: unknown) => boolean) | undefined;
514
- __epPropKey: true;
515
- };
516
- readonly disabled: BooleanConstructor;
517
- }>> & {
518
- onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
519
- }, {
520
- validate: (callback?: FormValidateCallback) => FormValidationResult;
521
- validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
522
- resetFields: (props?: Arrayable<FormItemProp>) => void;
523
- clearValidate: (props?: Arrayable<FormItemProp>) => void;
524
- scrollToField: (prop: FormItemProp) => void;
525
- fields: FormItemContext[];
526
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
527
- validate: (prop: FormItemProp, isValid: boolean, message: string) => void;
528
- }, string, {
529
- readonly disabled: boolean;
530
- readonly inline: boolean;
531
- readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
532
- readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
533
- readonly inlineMessage: boolean;
534
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
535
- readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
536
- readonly labelSuffix: string;
537
- readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
538
- readonly statusIcon: boolean;
539
- readonly hideRequiredAsterisk: boolean;
540
- readonly scrollToError: boolean;
541
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
542
- beforeCreate?: (() => void) | (() => void)[];
543
- created?: (() => void) | (() => void)[];
544
- beforeMount?: (() => void) | (() => void)[];
545
- mounted?: (() => void) | (() => void)[];
546
- beforeUpdate?: (() => void) | (() => void)[];
547
- updated?: (() => void) | (() => void)[];
548
- activated?: (() => void) | (() => void)[];
549
- deactivated?: (() => void) | (() => void)[];
550
- beforeDestroy?: (() => void) | (() => void)[];
551
- beforeUnmount?: (() => void) | (() => void)[];
552
- destroyed?: (() => void) | (() => void)[];
553
- unmounted?: (() => void) | (() => void)[];
554
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
555
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
556
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
557
- };
558
- $forceUpdate: () => void;
559
- $nextTick: nextTick;
560
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
561
- } & Readonly<{
562
- readonly disabled: boolean;
563
- readonly inline: boolean;
564
- readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
565
- readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
566
- readonly inlineMessage: boolean;
567
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
568
- readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
569
- readonly labelSuffix: string;
570
- readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
571
- readonly statusIcon: boolean;
572
- readonly hideRequiredAsterisk: boolean;
573
- readonly scrollToError: boolean;
574
- }> & Omit<Readonly< ExtractPropTypes<{
575
- readonly model: ObjectConstructor;
576
- readonly rules: {
577
- readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
578
- readonly required: false;
579
- readonly validator: ((val: unknown) => boolean) | undefined;
580
- __epPropKey: true;
581
- };
582
- readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
583
- readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
584
- readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
585
- readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
586
- readonly inline: BooleanConstructor;
587
- readonly inlineMessage: BooleanConstructor;
588
- readonly statusIcon: BooleanConstructor;
589
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
590
- readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
591
- readonly hideRequiredAsterisk: BooleanConstructor;
592
- readonly scrollToError: BooleanConstructor;
593
- readonly scrollIntoViewOptions: {
594
- readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
595
- readonly required: false;
596
- readonly validator: ((val: unknown) => boolean) | undefined;
597
- __epPropKey: true;
598
- };
599
- readonly size: {
600
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
601
- readonly required: false;
602
- readonly validator: ((val: unknown) => boolean) | undefined;
603
- __epPropKey: true;
604
- };
605
- readonly disabled: BooleanConstructor;
606
- }>> & {
607
- onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
608
- }, "disabled" | "inline" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validateField" | "resetFields" | "scrollToField"> & ShallowUnwrapRef<{
609
- validate: (callback?: FormValidateCallback) => FormValidationResult;
610
- validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
611
- resetFields: (props?: Arrayable<FormItemProp>) => void;
612
- clearValidate: (props?: Arrayable<FormItemProp>) => void;
613
- scrollToField: (prop: FormItemProp) => void;
614
- fields: FormItemContext[];
615
- }> & {} & ComponentCustomProperties & {} & {
616
- $slots: {
617
- default?(_: {}): any;
618
- };
619
- }) | null;
620
- };
621
- $slots: Readonly<{
622
- [name: string]: Slot<any> | undefined;
623
- }>;
624
- $root: ComponentPublicInstance | null;
625
- $parent: ComponentPublicInstance | null;
626
- $host: Element | null;
627
- $emit: ((event: "reset") => void) & ((event: "submit", model: Record<string, any>) => void) & ((event: "change", model: Record<string, any>) => void);
628
- $el: any;
629
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
630
- model: {
631
- type: PropType<Record<string, any>>;
632
- default(): any;
633
- };
634
- inline: {
635
- type: BooleanConstructor;
636
- };
637
- inlineColumns: {
638
- type: NumberConstructor;
639
- };
640
- footer: {
641
- type: BooleanConstructor;
642
- default: boolean;
643
- };
644
- submitText: {
645
- type: PropType<string | null>;
646
- default: string;
647
- };
648
- resetText: {
649
- type: PropType<string | null>;
650
- default: string;
651
- };
652
- submitMethod: {
653
- type: PropType<(model: FormModel) => Promise<any>>;
654
- };
655
- tooltipMessage: {
656
- type: PropType<boolean | Partial< ElTooltipProps>>;
657
- default: undefined;
658
- };
659
- enterSubmit: {
660
- type: BooleanConstructor;
661
- default: boolean;
662
- };
663
- }>> & Readonly<{
664
- onReset?: (() => any) | undefined;
665
- onSubmit?: ((model: Record<string, any>) => any) | undefined;
666
- onChange?: ((model: Record<string, any>) => any) | undefined;
667
- }>, {
668
- formRef: Ref<any, any>;
669
- model: FormModel;
670
- submit: () => Promise<void>;
671
- reset: (fields?: string[] | string) => void;
672
- validate: () => Promise<any>;
673
- clearValidate: () => void;
674
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
675
- reset: () => any;
676
- submit: (model: Record<string, any>) => any;
677
- change: (model: Record<string, any>) => any;
678
- }, string, {
679
- footer: boolean;
680
- inline: boolean;
681
- tooltipMessage: boolean | Partial< ElTooltipProps>;
682
- model: Record<string, any>;
683
- submitText: string | null;
684
- resetText: string | null;
685
- enterSubmit: boolean;
686
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
687
- beforeCreate?: (() => void) | (() => void)[];
688
- created?: (() => void) | (() => void)[];
689
- beforeMount?: (() => void) | (() => void)[];
690
- mounted?: (() => void) | (() => void)[];
691
- beforeUpdate?: (() => void) | (() => void)[];
692
- updated?: (() => void) | (() => void)[];
693
- activated?: (() => void) | (() => void)[];
694
- deactivated?: (() => void) | (() => void)[];
695
- beforeDestroy?: (() => void) | (() => void)[];
696
- beforeUnmount?: (() => void) | (() => void)[];
697
- destroyed?: (() => void) | (() => void)[];
698
- unmounted?: (() => void) | (() => void)[];
699
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
700
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
701
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
702
- };
703
- $forceUpdate: () => void;
704
- $nextTick: nextTick;
705
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
706
- } & Readonly<{
707
- footer: boolean;
708
- inline: boolean;
709
- tooltipMessage: boolean | Partial< ElTooltipProps>;
710
- model: Record<string, any>;
711
- submitText: string | null;
712
- resetText: string | null;
713
- enterSubmit: boolean;
714
- }> & Omit<Readonly< ExtractPropTypes<{
715
- model: {
716
- type: PropType<Record<string, any>>;
717
- default(): any;
718
- };
719
- inline: {
720
- type: BooleanConstructor;
721
- };
722
- inlineColumns: {
723
- type: NumberConstructor;
724
- };
725
- footer: {
726
- type: BooleanConstructor;
727
- default: boolean;
728
- };
729
- submitText: {
730
- type: PropType<string | null>;
731
- default: string;
732
- };
733
- resetText: {
734
- type: PropType<string | null>;
735
- default: string;
736
- };
737
- submitMethod: {
738
- type: PropType<(model: FormModel) => Promise<any>>;
739
- };
740
- tooltipMessage: {
741
- type: PropType<boolean | Partial< ElTooltipProps>>;
742
- default: undefined;
743
- };
744
- enterSubmit: {
745
- type: BooleanConstructor;
746
- default: boolean;
747
- };
748
- }>> & Readonly<{
749
- onReset?: (() => any) | undefined;
750
- onSubmit?: ((model: Record<string, any>) => any) | undefined;
751
- onChange?: ((model: Record<string, any>) => any) | undefined;
752
- }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
753
- formRef: Ref<any, any>;
754
- model: FormModel;
755
- submit: () => Promise<void>;
756
- reset: (fields?: string[] | string) => void;
757
- validate: () => Promise<any>;
758
- clearValidate: () => void;
759
- }> & {} & ComponentCustomProperties & {} & {
760
- $slots: {
761
- default?(_: {}): any;
762
- footer?(_: {}): any;
763
- action?(_: {}): any;
764
- };
765
- }) | null;
766
- }, any>;
767
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
94
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
95
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
768
96
  export default _default;
769
- type __VLS_WithTemplateSlots<T, S> = T & {
97
+ type __VLS_WithSlots<T, S> = T & {
770
98
  new (): {
771
99
  $slots: S;
772
100
  };