@vtj/designer 0.12.47 → 0.12.49

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.
@@ -1,5 +1,5 @@
1
- import { UploadFile, UploadRawFile, UploadFiles, UploadProgressEvent, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
1
+ import { nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import { UploadFile, InputAutoSize, UploadRawFile, UploadFiles, UploadProgressEvent, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus';
3
3
  import { OnCleanup } from '@vue/reactivity';
4
4
  export interface Props {
5
5
  loading?: boolean;
@@ -9,6 +9,502 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
9
9
  }, string, PublicProps, Readonly<Props> & Readonly<{
10
10
  onSend?: ((file: File, auto: boolean, content: any) => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
12
+ textInputRef: ({
13
+ $: ComponentInternalInstance;
14
+ $data: {};
15
+ $props: Partial<{
16
+ readonly disabled: boolean;
17
+ readonly id: string;
18
+ readonly type: string;
19
+ readonly modelValue: string | number | null | undefined;
20
+ readonly tabindex: string | number;
21
+ readonly readonly: boolean;
22
+ readonly autosize: InputAutoSize;
23
+ readonly autocomplete: string;
24
+ readonly containerRole: string;
25
+ readonly validateEvent: boolean;
26
+ readonly inputStyle: StyleValue;
27
+ readonly rows: number;
28
+ readonly clearable: boolean;
29
+ readonly showPassword: boolean;
30
+ readonly showWordLimit: boolean;
31
+ readonly autofocus: boolean;
32
+ }> & Omit<{
33
+ readonly type: string;
34
+ readonly modelValue: string | number | null;
35
+ readonly disabled: boolean;
36
+ readonly autofocus: boolean;
37
+ readonly autosize: InputAutoSize;
38
+ readonly autocomplete: string;
39
+ readonly readonly: boolean;
40
+ readonly clearable: boolean;
41
+ readonly showPassword: boolean;
42
+ readonly showWordLimit: boolean;
43
+ readonly tabindex: string | number;
44
+ readonly validateEvent: boolean;
45
+ readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
46
+ readonly rows: number;
47
+ readonly size?: ("" | "default" | "small" | "large") | undefined;
48
+ readonly id?: string | undefined;
49
+ readonly form?: string | undefined;
50
+ readonly ariaLabel?: string | undefined;
51
+ readonly maxlength?: (string | number) | undefined;
52
+ readonly minlength?: (string | number) | undefined;
53
+ readonly resize?: ("horizontal" | "vertical" | "none" | "both") | undefined;
54
+ readonly formatter?: Function | undefined;
55
+ readonly parser?: Function | undefined;
56
+ readonly placeholder?: string | undefined;
57
+ readonly suffixIcon?: (string | Component) | undefined;
58
+ readonly prefixIcon?: (string | Component) | undefined;
59
+ readonly containerRole?: string | undefined;
60
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
61
+ onChange?: ((value: string) => any) | undefined | undefined;
62
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
63
+ onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
64
+ onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
65
+ onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
66
+ onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
67
+ onInput?: ((value: string) => any) | undefined | undefined;
68
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
69
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
70
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
71
+ onClear?: (() => any) | undefined | undefined;
72
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "id" | "modelValue" | "disabled" | "autofocus" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows">;
73
+ $attrs: {
74
+ [x: string]: unknown;
75
+ };
76
+ $refs: {
77
+ [x: string]: unknown;
78
+ };
79
+ $slots: Readonly<{
80
+ [name: string]: Slot<any> | undefined;
81
+ }>;
82
+ $root: ComponentPublicInstance | null;
83
+ $parent: ComponentPublicInstance | null;
84
+ $host: Element | null;
85
+ $emit: ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void);
86
+ $el: any;
87
+ $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
88
+ readonly ariaLabel: StringConstructor;
89
+ readonly id: {
90
+ readonly type: PropType<string>;
91
+ readonly required: false;
92
+ readonly validator: ((val: unknown) => boolean) | undefined;
93
+ __epPropKey: true;
94
+ } & {
95
+ readonly default: undefined;
96
+ };
97
+ readonly size: {
98
+ readonly type: PropType<"" | "default" | "small" | "large">;
99
+ readonly required: false;
100
+ readonly validator: ((val: unknown) => boolean) | undefined;
101
+ __epPropKey: true;
102
+ };
103
+ readonly disabled: BooleanConstructor;
104
+ readonly modelValue: {
105
+ readonly type: PropType<string | number | null | undefined>;
106
+ readonly required: false;
107
+ readonly validator: ((val: unknown) => boolean) | undefined;
108
+ __epPropKey: true;
109
+ } & {
110
+ readonly default: "";
111
+ };
112
+ readonly maxlength: {
113
+ readonly type: PropType<string | number>;
114
+ readonly required: false;
115
+ readonly validator: ((val: unknown) => boolean) | undefined;
116
+ __epPropKey: true;
117
+ };
118
+ readonly minlength: {
119
+ readonly type: PropType<string | number>;
120
+ readonly required: false;
121
+ readonly validator: ((val: unknown) => boolean) | undefined;
122
+ __epPropKey: true;
123
+ };
124
+ readonly type: {
125
+ readonly type: PropType<string>;
126
+ readonly required: false;
127
+ readonly validator: ((val: unknown) => boolean) | undefined;
128
+ __epPropKey: true;
129
+ } & {
130
+ readonly default: "text";
131
+ };
132
+ readonly resize: {
133
+ readonly type: PropType<"horizontal" | "vertical" | "none" | "both">;
134
+ readonly required: false;
135
+ readonly validator: ((val: unknown) => boolean) | undefined;
136
+ __epPropKey: true;
137
+ };
138
+ readonly autosize: {
139
+ readonly type: PropType<InputAutoSize>;
140
+ readonly required: false;
141
+ readonly validator: ((val: unknown) => boolean) | undefined;
142
+ __epPropKey: true;
143
+ } & {
144
+ readonly default: false;
145
+ };
146
+ readonly autocomplete: {
147
+ readonly type: PropType<string>;
148
+ readonly required: false;
149
+ readonly validator: ((val: unknown) => boolean) | undefined;
150
+ __epPropKey: true;
151
+ } & {
152
+ readonly default: "off";
153
+ };
154
+ readonly formatter: {
155
+ readonly type: PropType<Function>;
156
+ readonly required: false;
157
+ readonly validator: ((val: unknown) => boolean) | undefined;
158
+ __epPropKey: true;
159
+ };
160
+ readonly parser: {
161
+ readonly type: PropType<Function>;
162
+ readonly required: false;
163
+ readonly validator: ((val: unknown) => boolean) | undefined;
164
+ __epPropKey: true;
165
+ };
166
+ readonly placeholder: {
167
+ readonly type: PropType<string>;
168
+ readonly required: false;
169
+ readonly validator: ((val: unknown) => boolean) | undefined;
170
+ __epPropKey: true;
171
+ };
172
+ readonly form: {
173
+ readonly type: PropType<string>;
174
+ readonly required: false;
175
+ readonly validator: ((val: unknown) => boolean) | undefined;
176
+ __epPropKey: true;
177
+ };
178
+ readonly readonly: BooleanConstructor;
179
+ readonly clearable: BooleanConstructor;
180
+ readonly showPassword: BooleanConstructor;
181
+ readonly showWordLimit: BooleanConstructor;
182
+ readonly suffixIcon: {
183
+ readonly type: PropType<string | Component>;
184
+ readonly required: false;
185
+ readonly validator: ((val: unknown) => boolean) | undefined;
186
+ __epPropKey: true;
187
+ };
188
+ readonly prefixIcon: {
189
+ readonly type: PropType<string | Component>;
190
+ readonly required: false;
191
+ readonly validator: ((val: unknown) => boolean) | undefined;
192
+ __epPropKey: true;
193
+ };
194
+ readonly containerRole: {
195
+ readonly type: PropType<string>;
196
+ readonly required: false;
197
+ readonly validator: ((val: unknown) => boolean) | undefined;
198
+ __epPropKey: true;
199
+ } & {
200
+ readonly default: undefined;
201
+ };
202
+ readonly tabindex: {
203
+ readonly type: PropType<string | number>;
204
+ readonly required: false;
205
+ readonly validator: ((val: unknown) => boolean) | undefined;
206
+ __epPropKey: true;
207
+ } & {
208
+ readonly default: 0;
209
+ };
210
+ readonly validateEvent: {
211
+ readonly type: PropType<boolean>;
212
+ readonly required: false;
213
+ readonly validator: ((val: unknown) => boolean) | undefined;
214
+ __epPropKey: true;
215
+ } & {
216
+ readonly default: true;
217
+ };
218
+ readonly inputStyle: {
219
+ readonly type: PropType<StyleValue>;
220
+ readonly required: false;
221
+ readonly validator: ((val: unknown) => boolean) | undefined;
222
+ __epPropKey: true;
223
+ } & {
224
+ readonly default: () => {};
225
+ };
226
+ readonly autofocus: BooleanConstructor;
227
+ readonly rows: {
228
+ readonly type: PropType<number>;
229
+ readonly required: false;
230
+ readonly validator: ((val: unknown) => boolean) | undefined;
231
+ __epPropKey: true;
232
+ } & {
233
+ readonly default: 2;
234
+ };
235
+ }>> & {
236
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
237
+ onChange?: ((value: string) => any) | undefined;
238
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
239
+ onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
240
+ onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
241
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
242
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
243
+ onInput?: ((value: string) => any) | undefined;
244
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
245
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
246
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
247
+ onClear?: (() => any) | undefined;
248
+ }, {
249
+ input: ShallowRef<HTMLInputElement | undefined>;
250
+ textarea: ShallowRef<HTMLTextAreaElement | undefined>;
251
+ ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
252
+ textareaStyle: ComputedRef<StyleValue>;
253
+ autosize: Ref<InputAutoSize>;
254
+ isComposing: Ref<boolean>;
255
+ focus: () => void | undefined;
256
+ blur: () => void | undefined;
257
+ select: () => void;
258
+ clear: () => void;
259
+ resizeTextarea: () => void;
260
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
261
+ input: (value: string) => void;
262
+ clear: () => void;
263
+ "update:modelValue": (value: string) => void;
264
+ change: (value: string) => void;
265
+ blur: (evt: FocusEvent) => void;
266
+ compositionend: (evt: CompositionEvent) => void;
267
+ compositionstart: (evt: CompositionEvent) => void;
268
+ compositionupdate: (evt: CompositionEvent) => void;
269
+ focus: (evt: FocusEvent) => void;
270
+ keydown: (evt: Event | KeyboardEvent) => void;
271
+ mouseenter: (evt: MouseEvent) => void;
272
+ mouseleave: (evt: MouseEvent) => void;
273
+ }, string, {
274
+ readonly disabled: boolean;
275
+ readonly id: string;
276
+ readonly type: string;
277
+ readonly modelValue: string | number | null | undefined;
278
+ readonly tabindex: string | number;
279
+ readonly readonly: boolean;
280
+ readonly autosize: InputAutoSize;
281
+ readonly autocomplete: string;
282
+ readonly containerRole: string;
283
+ readonly validateEvent: boolean;
284
+ readonly inputStyle: StyleValue;
285
+ readonly rows: number;
286
+ readonly clearable: boolean;
287
+ readonly showPassword: boolean;
288
+ readonly showWordLimit: boolean;
289
+ readonly autofocus: boolean;
290
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
291
+ beforeCreate?: (() => void) | (() => void)[];
292
+ created?: (() => void) | (() => void)[];
293
+ beforeMount?: (() => void) | (() => void)[];
294
+ mounted?: (() => void) | (() => void)[];
295
+ beforeUpdate?: (() => void) | (() => void)[];
296
+ updated?: (() => void) | (() => void)[];
297
+ activated?: (() => void) | (() => void)[];
298
+ deactivated?: (() => void) | (() => void)[];
299
+ beforeDestroy?: (() => void) | (() => void)[];
300
+ beforeUnmount?: (() => void) | (() => void)[];
301
+ destroyed?: (() => void) | (() => void)[];
302
+ unmounted?: (() => void) | (() => void)[];
303
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
304
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
305
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
306
+ };
307
+ $forceUpdate: () => void;
308
+ $nextTick: typeof nextTick;
309
+ $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;
310
+ } & Readonly<{
311
+ readonly disabled: boolean;
312
+ readonly id: string;
313
+ readonly type: string;
314
+ readonly modelValue: string | number | null | undefined;
315
+ readonly tabindex: string | number;
316
+ readonly readonly: boolean;
317
+ readonly autosize: InputAutoSize;
318
+ readonly autocomplete: string;
319
+ readonly containerRole: string;
320
+ readonly validateEvent: boolean;
321
+ readonly inputStyle: StyleValue;
322
+ readonly rows: number;
323
+ readonly clearable: boolean;
324
+ readonly showPassword: boolean;
325
+ readonly showWordLimit: boolean;
326
+ readonly autofocus: boolean;
327
+ }> & Omit<Readonly< ExtractPropTypes<{
328
+ readonly ariaLabel: StringConstructor;
329
+ readonly id: {
330
+ readonly type: PropType<string>;
331
+ readonly required: false;
332
+ readonly validator: ((val: unknown) => boolean) | undefined;
333
+ __epPropKey: true;
334
+ } & {
335
+ readonly default: undefined;
336
+ };
337
+ readonly size: {
338
+ readonly type: PropType<"" | "default" | "small" | "large">;
339
+ readonly required: false;
340
+ readonly validator: ((val: unknown) => boolean) | undefined;
341
+ __epPropKey: true;
342
+ };
343
+ readonly disabled: BooleanConstructor;
344
+ readonly modelValue: {
345
+ readonly type: PropType<string | number | null | undefined>;
346
+ readonly required: false;
347
+ readonly validator: ((val: unknown) => boolean) | undefined;
348
+ __epPropKey: true;
349
+ } & {
350
+ readonly default: "";
351
+ };
352
+ readonly maxlength: {
353
+ readonly type: PropType<string | number>;
354
+ readonly required: false;
355
+ readonly validator: ((val: unknown) => boolean) | undefined;
356
+ __epPropKey: true;
357
+ };
358
+ readonly minlength: {
359
+ readonly type: PropType<string | number>;
360
+ readonly required: false;
361
+ readonly validator: ((val: unknown) => boolean) | undefined;
362
+ __epPropKey: true;
363
+ };
364
+ readonly type: {
365
+ readonly type: PropType<string>;
366
+ readonly required: false;
367
+ readonly validator: ((val: unknown) => boolean) | undefined;
368
+ __epPropKey: true;
369
+ } & {
370
+ readonly default: "text";
371
+ };
372
+ readonly resize: {
373
+ readonly type: PropType<"horizontal" | "vertical" | "none" | "both">;
374
+ readonly required: false;
375
+ readonly validator: ((val: unknown) => boolean) | undefined;
376
+ __epPropKey: true;
377
+ };
378
+ readonly autosize: {
379
+ readonly type: PropType<InputAutoSize>;
380
+ readonly required: false;
381
+ readonly validator: ((val: unknown) => boolean) | undefined;
382
+ __epPropKey: true;
383
+ } & {
384
+ readonly default: false;
385
+ };
386
+ readonly autocomplete: {
387
+ readonly type: PropType<string>;
388
+ readonly required: false;
389
+ readonly validator: ((val: unknown) => boolean) | undefined;
390
+ __epPropKey: true;
391
+ } & {
392
+ readonly default: "off";
393
+ };
394
+ readonly formatter: {
395
+ readonly type: PropType<Function>;
396
+ readonly required: false;
397
+ readonly validator: ((val: unknown) => boolean) | undefined;
398
+ __epPropKey: true;
399
+ };
400
+ readonly parser: {
401
+ readonly type: PropType<Function>;
402
+ readonly required: false;
403
+ readonly validator: ((val: unknown) => boolean) | undefined;
404
+ __epPropKey: true;
405
+ };
406
+ readonly placeholder: {
407
+ readonly type: PropType<string>;
408
+ readonly required: false;
409
+ readonly validator: ((val: unknown) => boolean) | undefined;
410
+ __epPropKey: true;
411
+ };
412
+ readonly form: {
413
+ readonly type: PropType<string>;
414
+ readonly required: false;
415
+ readonly validator: ((val: unknown) => boolean) | undefined;
416
+ __epPropKey: true;
417
+ };
418
+ readonly readonly: BooleanConstructor;
419
+ readonly clearable: BooleanConstructor;
420
+ readonly showPassword: BooleanConstructor;
421
+ readonly showWordLimit: BooleanConstructor;
422
+ readonly suffixIcon: {
423
+ readonly type: PropType<string | Component>;
424
+ readonly required: false;
425
+ readonly validator: ((val: unknown) => boolean) | undefined;
426
+ __epPropKey: true;
427
+ };
428
+ readonly prefixIcon: {
429
+ readonly type: PropType<string | Component>;
430
+ readonly required: false;
431
+ readonly validator: ((val: unknown) => boolean) | undefined;
432
+ __epPropKey: true;
433
+ };
434
+ readonly containerRole: {
435
+ readonly type: PropType<string>;
436
+ readonly required: false;
437
+ readonly validator: ((val: unknown) => boolean) | undefined;
438
+ __epPropKey: true;
439
+ } & {
440
+ readonly default: undefined;
441
+ };
442
+ readonly tabindex: {
443
+ readonly type: PropType<string | number>;
444
+ readonly required: false;
445
+ readonly validator: ((val: unknown) => boolean) | undefined;
446
+ __epPropKey: true;
447
+ } & {
448
+ readonly default: 0;
449
+ };
450
+ readonly validateEvent: {
451
+ readonly type: PropType<boolean>;
452
+ readonly required: false;
453
+ readonly validator: ((val: unknown) => boolean) | undefined;
454
+ __epPropKey: true;
455
+ } & {
456
+ readonly default: true;
457
+ };
458
+ readonly inputStyle: {
459
+ readonly type: PropType<StyleValue>;
460
+ readonly required: false;
461
+ readonly validator: ((val: unknown) => boolean) | undefined;
462
+ __epPropKey: true;
463
+ } & {
464
+ readonly default: () => {};
465
+ };
466
+ readonly autofocus: BooleanConstructor;
467
+ readonly rows: {
468
+ readonly type: PropType<number>;
469
+ readonly required: false;
470
+ readonly validator: ((val: unknown) => boolean) | undefined;
471
+ __epPropKey: true;
472
+ } & {
473
+ readonly default: 2;
474
+ };
475
+ }>> & {
476
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
477
+ onChange?: ((value: string) => any) | undefined;
478
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
479
+ onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
480
+ onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
481
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
482
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
483
+ onInput?: ((value: string) => any) | undefined;
484
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
485
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
486
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
487
+ onClear?: (() => any) | undefined;
488
+ }, "clear" | "type" | "ref" | "id" | "modelValue" | "input" | "select" | "textarea" | "disabled" | "autofocus" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "focus" | "blur" | "resizeTextarea"> & ShallowUnwrapRef<{
489
+ input: ShallowRef<HTMLInputElement | undefined>;
490
+ textarea: ShallowRef<HTMLTextAreaElement | undefined>;
491
+ ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
492
+ textareaStyle: ComputedRef<StyleValue>;
493
+ autosize: Ref<InputAutoSize>;
494
+ isComposing: Ref<boolean>;
495
+ focus: () => void | undefined;
496
+ blur: () => void | undefined;
497
+ select: () => void;
498
+ clear: () => void;
499
+ resizeTextarea: () => void;
500
+ }> & {} & ComponentCustomProperties & {} & {
501
+ $slots: {
502
+ prepend?(_: {}): any;
503
+ prefix?(_: {}): any;
504
+ suffix?(_: {}): any;
505
+ append?(_: {}): any;
506
+ };
507
+ }) | null;
12
508
  uploadRef: ({
13
509
  $: ComponentInternalInstance;
14
510
  $data: {};
@@ -324,7 +820,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
324
820
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
325
821
  };
326
822
  $forceUpdate: () => void;
327
- $nextTick: nextTick;
823
+ $nextTick: typeof nextTick;
328
824
  $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;
329
825
  } & Readonly<{
330
826
  readonly data: ({
@@ -1,6 +1,6 @@
1
1
  import { nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNode, RendererNode, RendererElement, ShallowRef, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref } from 'vue';
2
2
  import { ApiSchema, ProjectModel } from '@vtj/core';
3
- import { BaseSize, DialogMode, DraggableOptions, IconParam, ResizableOptions, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, HeaderProps, ContainerProps, FormModel } from '@vtj/ui';
3
+ import { BaseSize, DialogMode, DraggableOptions, IconParam, ResizableOptions, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, HeaderProps, ContainerProps, FormModel } from '@vtj/ui';
4
4
  import { UseMouseSourceType, Position } from '@vueuse/core';
5
5
  import { OnCleanup } from '@vue/reactivity';
6
6
  import { ElTooltipProps, FormItemRule, FormItemProp, FormValidateCallback, FormValidationResult, FormItemContext, ComponentSize, FormItemValidateState } from 'element-plus';
@@ -288,6 +288,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
288
288
  type: BooleanConstructor;
289
289
  };
290
290
  }>>> | null | undefined;
291
+ readonly badge?: PanelBadge | undefined;
291
292
  readonly width?: string | number | undefined;
292
293
  readonly height?: string | number | undefined;
293
294
  readonly shadow?: "none" | "hover" | "always" | undefined;
@@ -558,6 +559,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
558
559
  $emit: (event: string, ...args: any[]) => void;
559
560
  $el: any;
560
561
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
562
+ badge: {
563
+ type: PropType<PanelBadge>;
564
+ };
561
565
  fit: {
562
566
  type: BooleanConstructor;
563
567
  default: boolean;
@@ -627,6 +631,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
627
631
  border: boolean;
628
632
  card: boolean;
629
633
  }> & Omit<Readonly< ExtractPropTypes<{
634
+ badge: {
635
+ type: PropType<PanelBadge>;
636
+ };
630
637
  fit: {
631
638
  type: BooleanConstructor;
632
639
  default: boolean;
@@ -1,5 +1,5 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, nextTick } from 'vue';
2
- import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
2
+ import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, IconParam, PanelBadge, HeaderProps, ContainerProps } from '@vtj/ui';
3
3
  import { OnCleanup } from '@vue/reactivity';
4
4
  import { Props } from '../../shared/panel';
5
5
  export interface Props {
@@ -214,6 +214,7 @@ declare const _default: DefineComponent<Props, {
214
214
  type: BooleanConstructor;
215
215
  };
216
216
  }>>> | null | undefined;
217
+ readonly badge?: PanelBadge | undefined;
217
218
  readonly shadow?: "hover" | "none" | "always" | undefined;
218
219
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "fit" | "radius" | "border" | "card">;
219
220
  $attrs: {
@@ -482,6 +483,9 @@ declare const _default: DefineComponent<Props, {
482
483
  $emit: (event: string, ...args: any[]) => void;
483
484
  $el: any;
484
485
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
486
+ badge: {
487
+ type: PropType<PanelBadge>;
488
+ };
485
489
  fit: {
486
490
  type: BooleanConstructor;
487
491
  default: boolean;
@@ -551,6 +555,9 @@ declare const _default: DefineComponent<Props, {
551
555
  border: boolean;
552
556
  card: boolean;
553
557
  }> & Omit<Readonly< ExtractPropTypes<{
558
+ badge: {
559
+ type: PropType<PanelBadge>;
560
+ };
554
561
  fit: {
555
562
  type: BooleanConstructor;
556
563
  default: boolean;