@vtj/designer 0.13.37 → 0.13.39

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
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, InputType, InputModelModifiers, InputAutoSize, UploadRawFile, UploadData, UploadFiles, UploadProgressEvent, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus';
2
+ import { UploadFile, InputType, InputModelModifiers, InputAutoSize, UploadRawFile, UploadData, UploadProgressEvent, UploadFiles, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus';
3
3
  import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils/index.mjs';
4
4
  import { Mutable, Awaitable } from 'element-plus/es/utils/typescript.mjs';
5
5
  import { OnCleanup } from '@vue/reactivity';
@@ -21,7 +21,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
21
21
  readonly id: string;
22
22
  readonly type: EpPropMergeType<(new (...args: any[]) => string) | (() => InputType) | ((new (...args: any[]) => string) | (() => InputType))[], unknown, unknown>;
23
23
  readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
24
- readonly readonly: boolean;
25
24
  readonly modelModifiers: InputModelModifiers;
26
25
  readonly autosize: InputAutoSize;
27
26
  readonly autocomplete: AutoFill;
@@ -31,6 +30,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
31
30
  readonly inputStyle: StyleValue;
32
31
  readonly rows: number;
33
32
  readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
33
+ readonly readonly: boolean;
34
34
  readonly clearable: boolean;
35
35
  readonly showPassword: boolean;
36
36
  readonly showWordLimit: boolean;
@@ -61,7 +61,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
61
61
  readonly inputmode?: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
62
62
  readonly maxlength?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
63
63
  readonly minlength?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
64
- readonly resize?: EpPropMergeType<StringConstructor, "none" | "horizontal" | "vertical" | "both", unknown> | undefined;
64
+ readonly resize?: EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
65
65
  readonly formatter?: Function | undefined;
66
66
  readonly parser?: Function | undefined;
67
67
  readonly clearIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown> | undefined;
@@ -69,13 +69,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
69
69
  readonly prefixIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown> | undefined;
70
70
  readonly containerRole?: string | undefined;
71
71
  "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
72
+ onInput?: ((value: string) => any) | undefined | undefined;
73
+ onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
72
74
  onChange?: ((value: string, evt?: Event | undefined) => any) | undefined | undefined;
75
+ onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
73
76
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
74
77
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
75
78
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
76
- onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
77
- onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
78
- onInput?: ((value: string) => any) | undefined | undefined;
79
79
  onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
80
80
  onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
81
81
  onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
@@ -186,18 +186,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
186
186
  readonly containerRole: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
187
187
  readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
188
188
  readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
189
- readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
189
+ readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
190
190
  readonly autofocus: BooleanConstructor;
191
191
  readonly rows: EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
192
192
  }>> & {
193
193
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
194
+ onInput?: ((value: string) => any) | undefined;
195
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
194
196
  onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
197
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
195
198
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
196
199
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
197
200
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
198
- onFocus?: ((evt: FocusEvent) => any) | undefined;
199
- onBlur?: ((evt: FocusEvent) => any) | undefined;
200
- onInput?: ((value: string) => any) | undefined;
201
201
  onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
202
202
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
203
203
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
@@ -233,7 +233,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
233
233
  readonly id: string;
234
234
  readonly type: EpPropMergeType<(new (...args: any[]) => string) | (() => InputType) | ((new (...args: any[]) => string) | (() => InputType))[], unknown, unknown>;
235
235
  readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
236
- readonly readonly: boolean;
237
236
  readonly modelModifiers: InputModelModifiers;
238
237
  readonly autosize: InputAutoSize;
239
238
  readonly autocomplete: AutoFill;
@@ -243,6 +242,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
243
242
  readonly inputStyle: StyleValue;
244
243
  readonly rows: number;
245
244
  readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
245
+ readonly readonly: boolean;
246
246
  readonly clearable: boolean;
247
247
  readonly showPassword: boolean;
248
248
  readonly showWordLimit: boolean;
@@ -273,7 +273,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
273
273
  readonly id: string;
274
274
  readonly type: EpPropMergeType<(new (...args: any[]) => string) | (() => InputType) | ((new (...args: any[]) => string) | (() => InputType))[], unknown, unknown>;
275
275
  readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
276
- readonly readonly: boolean;
277
276
  readonly modelModifiers: InputModelModifiers;
278
277
  readonly autosize: InputAutoSize;
279
278
  readonly autocomplete: AutoFill;
@@ -283,6 +282,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
283
282
  readonly inputStyle: StyleValue;
284
283
  readonly rows: number;
285
284
  readonly inputmode: EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
285
+ readonly readonly: boolean;
286
286
  readonly clearable: boolean;
287
287
  readonly showPassword: boolean;
288
288
  readonly showWordLimit: boolean;
@@ -378,18 +378,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
378
378
  readonly containerRole: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
379
379
  readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
380
380
  readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
381
- readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
381
+ readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
382
382
  readonly autofocus: BooleanConstructor;
383
383
  readonly rows: EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
384
384
  }>> & {
385
385
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
386
+ onInput?: ((value: string) => any) | undefined;
387
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
386
388
  onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
389
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
387
390
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
388
391
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
389
392
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
390
- onFocus?: ((evt: FocusEvent) => any) | undefined;
391
- onBlur?: ((evt: FocusEvent) => any) | undefined;
392
- onInput?: ((value: string) => any) | undefined;
393
393
  onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
394
394
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
395
395
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
@@ -408,10 +408,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
408
408
  resizeTextarea: () => void;
409
409
  }> & {} & ComponentCustomProperties & {} & {
410
410
  $slots: {
411
- prepend?(_: {}): any;
412
- prefix?(_: {}): any;
413
- suffix?(_: {}): any;
414
- append?(_: {}): any;
411
+ prepend?: (props: {}) => any;
412
+ } & {
413
+ prefix?: (props: {}) => any;
414
+ } & {
415
+ suffix?: (props: {}) => any;
416
+ } & {
417
+ append?: (props: {}) => any;
415
418
  };
416
419
  }) | null;
417
420
  uploadRef: ({
@@ -423,9 +426,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
423
426
  readonly drag: boolean;
424
427
  readonly multiple: boolean;
425
428
  readonly name: string;
429
+ readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
426
430
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
427
431
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
428
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
429
432
  readonly method: string;
430
433
  readonly action: string;
431
434
  readonly accept: string;
@@ -602,15 +605,15 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
602
605
  clearFiles: (states?: UploadStatus[]) => void;
603
606
  handleStart: (rawFile: UploadRawFile) => void;
604
607
  handleRemove: (file: UploadFile | UploadRawFile) => void;
605
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
608
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
606
609
  readonly data: EpPropMergeType<(new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | ((new (...args: any[]) => Mutable<Record<string, any>> | Promise< Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | (() => Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)))[], unknown, unknown>;
607
610
  readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
608
611
  readonly drag: boolean;
609
612
  readonly multiple: boolean;
610
613
  readonly name: string;
614
+ readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
611
615
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
612
616
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
613
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
614
617
  readonly method: string;
615
618
  readonly action: string;
616
619
  readonly accept: string;
@@ -651,9 +654,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
651
654
  readonly drag: boolean;
652
655
  readonly multiple: boolean;
653
656
  readonly name: string;
657
+ readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
654
658
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
655
659
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
656
- readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
657
660
  readonly method: string;
658
661
  readonly action: string;
659
662
  readonly accept: string;
@@ -790,20 +793,27 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
790
793
  handleRemove: (file: UploadFile | UploadRawFile) => void;
791
794
  }> & {} & ComponentCustomProperties & {} & {
792
795
  $slots: {
793
- file?(_: {
796
+ file?: (props: {
794
797
  file: UploadFile;
795
798
  index: number;
796
- }): any;
797
- file?(_: {
799
+ }) => any;
800
+ } & {
801
+ trigger?: (props: {}) => any;
802
+ } & {
803
+ default?: (props: {}) => any;
804
+ } & {
805
+ trigger?: (props: {}) => any;
806
+ } & {
807
+ default?: (props: {}) => any;
808
+ } & {
809
+ default?: (props: {}) => any;
810
+ } & {
811
+ tip?: (props: {}) => any;
812
+ } & {
813
+ file?: (props: {
798
814
  file: UploadFile;
799
815
  index: number;
800
- }): any;
801
- trigger?(_: {}): any;
802
- trigger?(_: {}): any;
803
- default?(_: {}): any;
804
- default?(_: {}): any;
805
- default?(_: {}): any;
806
- tip?(_: {}): any;
816
+ }) => any;
807
817
  };
808
818
  }) | null;
809
819
  }, HTMLDivElement>;
@@ -293,7 +293,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
293
293
  readonly badge?: PanelBadge | undefined;
294
294
  readonly width?: string | number | undefined;
295
295
  readonly height?: string | number | undefined;
296
- readonly shadow?: "none" | "hover" | "always" | undefined;
296
+ readonly shadow?: "hover" | "always" | "none" | undefined;
297
297
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
298
298
  $attrs: {
299
299
  [x: string]: unknown;
@@ -1390,7 +1390,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1390
1390
  fields: Reactive< FormItemContext[]>;
1391
1391
  }> & {} & ComponentCustomProperties & {} & {
1392
1392
  $slots: {
1393
- default?(_: {}): any;
1393
+ default?: (props: {}) => any;
1394
1394
  };
1395
1395
  }) | null;
1396
1396
  };
@@ -286,7 +286,7 @@ declare const _default: DefineComponent<{}, {
286
286
  readonly badge?: PanelBadge | undefined;
287
287
  readonly width?: string | number | undefined;
288
288
  readonly height?: string | number | undefined;
289
- readonly shadow?: "none" | "hover" | "always" | undefined;
289
+ readonly shadow?: "hover" | "always" | "none" | undefined;
290
290
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
291
291
  $attrs: {
292
292
  [x: string]: unknown;
@@ -50,8 +50,8 @@ declare const _default: DefineComponent<Props, {
50
50
  card: boolean;
51
51
  }> & Omit<{
52
52
  readonly radius: boolean;
53
- readonly fit: boolean;
54
53
  readonly border: boolean;
54
+ readonly fit: boolean;
55
55
  readonly card: boolean;
56
56
  readonly size?: BaseSize | undefined;
57
57
  readonly height?: string | number | undefined;
@@ -216,7 +216,7 @@ declare const _default: DefineComponent<Props, {
216
216
  };
217
217
  }>>> | null | undefined;
218
218
  readonly shadow?: "hover" | "none" | "always" | undefined;
219
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
219
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
220
220
  $attrs: {
221
221
  [x: string]: unknown;
222
222
  };
@@ -594,7 +594,7 @@ declare const _default: DefineComponent<Props, {
594
594
  footer: {
595
595
  type: PropType<ContainerProps>;
596
596
  };
597
- }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
597
+ }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
598
598
  bodyRef: Ref<any, any>;
599
599
  }> & {} & ComponentCustomProperties & {} & {
600
600
  $slots: {
@@ -321,8 +321,8 @@ export declare const widgets: {
321
321
  card: boolean;
322
322
  }> & Omit<{
323
323
  readonly radius: boolean;
324
- readonly fit: boolean;
325
324
  readonly border: boolean;
325
+ readonly fit: boolean;
326
326
  readonly card: boolean;
327
327
  readonly size?: BaseSize | undefined;
328
328
  readonly height?: string | number | undefined;
@@ -487,7 +487,7 @@ export declare const widgets: {
487
487
  };
488
488
  }>>> | null | undefined;
489
489
  readonly shadow?: "hover" | "none" | "always" | undefined;
490
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
490
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
491
491
  $attrs: {
492
492
  [x: string]: unknown;
493
493
  };
@@ -865,7 +865,7 @@ export declare const widgets: {
865
865
  footer: {
866
866
  type: PropType<ContainerProps>;
867
867
  };
868
- }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
868
+ }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
869
869
  bodyRef: Ref<any, any>;
870
870
  }> & {} & ComponentCustomProperties & {} & {
871
871
  $slots: {
@@ -1000,8 +1000,8 @@ export declare const widgets: {
1000
1000
  card: boolean;
1001
1001
  }> & Omit<{
1002
1002
  readonly radius: boolean;
1003
- readonly fit: boolean;
1004
1003
  readonly border: boolean;
1004
+ readonly fit: boolean;
1005
1005
  readonly card: boolean;
1006
1006
  readonly size?: BaseSize | undefined;
1007
1007
  readonly height?: string | number | undefined;
@@ -1166,7 +1166,7 @@ export declare const widgets: {
1166
1166
  };
1167
1167
  }>>> | null | undefined;
1168
1168
  readonly shadow?: "hover" | "none" | "always" | undefined;
1169
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
1169
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
1170
1170
  $attrs: {
1171
1171
  [x: string]: unknown;
1172
1172
  };
@@ -1544,7 +1544,7 @@ export declare const widgets: {
1544
1544
  footer: {
1545
1545
  type: PropType<ContainerProps>;
1546
1546
  };
1547
- }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
1547
+ }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
1548
1548
  bodyRef: Ref<any, any>;
1549
1549
  }> & {} & ComponentCustomProperties & {} & {
1550
1550
  $slots: {
@@ -1678,8 +1678,8 @@ export declare const widgets: {
1678
1678
  card: boolean;
1679
1679
  }> & Omit<{
1680
1680
  readonly radius: boolean;
1681
- readonly fit: boolean;
1682
1681
  readonly border: boolean;
1682
+ readonly fit: boolean;
1683
1683
  readonly card: boolean;
1684
1684
  readonly size?: BaseSize | undefined;
1685
1685
  readonly height?: string | number | undefined;
@@ -1844,7 +1844,7 @@ export declare const widgets: {
1844
1844
  };
1845
1845
  }>>> | null | undefined;
1846
1846
  readonly shadow?: "hover" | "none" | "always" | undefined;
1847
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
1847
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
1848
1848
  $attrs: {
1849
1849
  [x: string]: unknown;
1850
1850
  };
@@ -2222,7 +2222,7 @@ export declare const widgets: {
2222
2222
  footer: {
2223
2223
  type: PropType<ContainerProps>;
2224
2224
  };
2225
- }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
2225
+ }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
2226
2226
  bodyRef: Ref<any, any>;
2227
2227
  }> & {} & ComponentCustomProperties & {} & {
2228
2228
  $slots: {
@@ -3883,7 +3883,7 @@ export declare const widgets: {
3883
3883
  readonly badge?: PanelBadge | undefined;
3884
3884
  readonly width?: string | number | undefined;
3885
3885
  readonly height?: string | number | undefined;
3886
- readonly shadow?: "none" | "hover" | "always" | undefined;
3886
+ readonly shadow?: "hover" | "always" | "none" | undefined;
3887
3887
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
3888
3888
  $attrs: {
3889
3889
  [x: string]: unknown;
@@ -44,8 +44,8 @@ declare const _default: DefineComponent<{}, {
44
44
  card: boolean;
45
45
  }> & Omit<{
46
46
  readonly radius: boolean;
47
- readonly fit: boolean;
48
47
  readonly border: boolean;
48
+ readonly fit: boolean;
49
49
  readonly card: boolean;
50
50
  readonly size?: BaseSize | undefined;
51
51
  readonly height?: string | number | undefined;
@@ -210,7 +210,7 @@ declare const _default: DefineComponent<{}, {
210
210
  };
211
211
  }>>> | null | undefined;
212
212
  readonly shadow?: "hover" | "none" | "always" | undefined;
213
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
213
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
214
214
  $attrs: {
215
215
  [x: string]: unknown;
216
216
  };
@@ -588,7 +588,7 @@ declare const _default: DefineComponent<{}, {
588
588
  footer: {
589
589
  type: PropType<ContainerProps>;
590
590
  };
591
- }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
591
+ }>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
592
592
  bodyRef: Ref<any, any>;
593
593
  }> & {} & ComponentCustomProperties & {} & {
594
594
  $slots: {
@@ -159,7 +159,7 @@ declare function __VLS_template(): {
159
159
  validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
160
160
  clearValidate: () => void;
161
161
  resetField: () => void;
162
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
162
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
163
163
  readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
164
164
  readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
165
165
  readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -236,13 +236,15 @@ declare function __VLS_template(): {
236
236
  resetField: () => void;
237
237
  }> & {} & ComponentCustomProperties & {} & {
238
238
  $slots: {
239
- label?(_: {
239
+ label?: (props: {
240
240
  label: string;
241
- }): any;
242
- default?(_: {}): any;
243
- error?(_: {
241
+ }) => any;
242
+ } & {
243
+ default?: (props: {}) => any;
244
+ } & {
245
+ error?: (props: {
244
246
  error: string;
245
- }): any;
247
+ }) => any;
246
248
  };
247
249
  }) | null;
248
250
  editorRef: unknown;
@@ -652,7 +654,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
652
654
  validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
653
655
  clearValidate: () => void;
654
656
  resetField: () => void;
655
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
657
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
656
658
  readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
657
659
  readonly labelPosition: EpPropMergeType<StringConstructor, "" | "left" | "right" | "top", unknown>;
658
660
  readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -729,13 +731,15 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
729
731
  resetField: () => void;
730
732
  }> & {} & ComponentCustomProperties & {} & {
731
733
  $slots: {
732
- label?(_: {
734
+ label?: (props: {
733
735
  label: string;
734
- }): any;
735
- default?(_: {}): any;
736
- error?(_: {
736
+ }) => any;
737
+ } & {
738
+ default?: (props: {}) => any;
739
+ } & {
740
+ error?: (props: {
737
741
  error: string;
738
- }): any;
742
+ }) => any;
739
743
  };
740
744
  }) | null;
741
745
  editorRef: unknown;
package/types/utils.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare function loading(options?: LoadingOptions): {
8
8
  removeElLoadingChild: () => void;
9
9
  close: () => void;
10
10
  handleAfterLeave: () => void;
11
- vm: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
11
+ vm: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
12
12
  $el: HTMLElement;
13
13
  originalPosition: Ref<string>;
14
14
  originalOverflow: Ref<string>;
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.13.36
5
+ * @version 0.13.38
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.13.36";
8
+ export declare const version = "0.13.38";
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index-Btsv8ajb.js";
2
- export {
3
- f as default
4
- };