@vtj/designer 0.12.69 → 0.13.0

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 (35) hide show
  1. package/dist/Editor-DHLvxB1R.js +4 -0
  2. package/dist/{index-CWU3Kf69.js → index-BojxLi04.js} +5865 -5446
  3. package/dist/index.mjs +25 -25
  4. package/dist/style.css +1 -1
  5. package/package.json +7 -7
  6. package/types/components/hooks/index.d.ts +1 -0
  7. package/types/components/hooks/useBinder.d.ts +3 -1
  8. package/types/components/hooks/useDesigner.d.ts +2 -2
  9. package/types/components/hooks/useWorkspace.d.ts +16 -0
  10. package/types/components/regions/index.d.ts +2 -2
  11. package/types/components/regions/workspace.d.ts +2 -2
  12. package/types/components/setter.d.ts +1 -0
  13. package/types/components/setters/function.d.ts +3 -0
  14. package/types/components/setters/index.d.ts +1 -0
  15. package/types/components/shared/action-menu.d.ts +15 -0
  16. package/types/components/shared/binder.d.ts +2297 -20
  17. package/types/components/shared/index.d.ts +2 -2
  18. package/types/components/shared/panel.d.ts +10 -10
  19. package/types/components/shared/tabs.d.ts +15 -1
  20. package/types/components/shared/viewer.d.ts +4 -4
  21. package/types/components/widgets/ai/image-input.d.ts +3 -3
  22. package/types/components/widgets/ai/index.d.ts +8 -8
  23. package/types/components/widgets/ai/json-input.d.ts +11 -11
  24. package/types/components/widgets/apis/form.d.ts +1152 -13
  25. package/types/components/widgets/docs/index.d.ts +8 -8
  26. package/types/components/widgets/index.d.ts +23 -22
  27. package/types/components/widgets/market/index.d.ts +8 -8
  28. package/types/components/widgets/scripts/group.d.ts +2 -2
  29. package/types/components/widgets/style/spacing-input.d.ts +3 -3
  30. package/types/framework/simulator.d.ts +2 -2
  31. package/types/managers/deps.d.ts +5 -0
  32. package/types/version.d.ts +2 -2
  33. package/types/wrappers/setter.d.ts +9 -0
  34. package/dist/Editor-WXSkVjuR.js +0 -4
  35. /package/types/components/{shared/micro-app.d.ts → widgets/globals/index.d.ts} +0 -0
@@ -7,6 +7,6 @@ import { default as Binder } from './binder';
7
7
  import { default as Viewer } from './viewer';
8
8
  import { default as SlotsPicker } from './slots';
9
9
  import { default as Viewport } from './viewport';
10
- import { default as MicroApp } from './micro-app';
10
+ import { default as ActionMenu } from './action-menu';
11
11
  export * from './types';
12
- export { Icon, Panel, Tabs, Item, Box, Binder, Viewer, SlotsPicker, Viewport, MicroApp };
12
+ export { Icon, Panel, Tabs, Item, Box, Binder, Viewer, SlotsPicker, Viewport, ActionMenu };
@@ -1,4 +1,4 @@
1
- import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, IconParam, PanelBadge, HeaderProps, ContainerProps } from '@vtj/ui';
1
+ import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
2
2
  import { ComponentInternalInstance, ExtractPropTypes, PropType, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, nextTick, DefineComponent, PublicProps } from 'vue';
3
3
  import { OnCleanup } from '@vue/reactivity';
4
4
  export interface Props {
@@ -31,8 +31,8 @@ declare function __VLS_template(): {
31
31
  border: boolean;
32
32
  card: boolean;
33
33
  }> & Omit<{
34
- readonly fit: boolean;
35
34
  readonly radius: boolean;
35
+ readonly fit: boolean;
36
36
  readonly border: boolean;
37
37
  readonly card: boolean;
38
38
  readonly size?: BaseSize | undefined;
@@ -106,6 +106,7 @@ declare function __VLS_template(): {
106
106
  type: BooleanConstructor;
107
107
  };
108
108
  }>>> | undefined;
109
+ readonly badge?: PanelBadge | undefined;
109
110
  readonly footer?: Readonly<Partial< ExtractPropTypes<{
110
111
  tag: {
111
112
  type: StringConstructor;
@@ -196,9 +197,8 @@ declare function __VLS_template(): {
196
197
  type: BooleanConstructor;
197
198
  };
198
199
  }>>> | null | undefined;
199
- readonly badge?: PanelBadge | undefined;
200
200
  readonly shadow?: "hover" | "none" | "always" | undefined;
201
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "fit" | "radius" | "border" | "card">;
201
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
202
202
  $attrs: {
203
203
  [x: string]: unknown;
204
204
  };
@@ -576,7 +576,7 @@ declare function __VLS_template(): {
576
576
  footer: {
577
577
  type: PropType<ContainerProps>;
578
578
  };
579
- }>> & Readonly<{}>, "fit" | "radius" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
579
+ }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
580
580
  bodyRef: Ref<any, any>;
581
581
  }> & {} & ComponentCustomProperties & {} & {
582
582
  $slots: {
@@ -613,8 +613,8 @@ declare const __VLS_component: DefineComponent<Props, {
613
613
  onRemove?: ((...args: any[]) => any) | undefined;
614
614
  onSave?: ((...args: any[]) => any) | undefined;
615
615
  }>, {
616
- header: boolean;
617
616
  menus: ActionMenuItem[];
617
+ header: boolean;
618
618
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
619
619
  panelRef: ({
620
620
  $: ComponentInternalInstance;
@@ -625,8 +625,8 @@ declare const __VLS_component: DefineComponent<Props, {
625
625
  border: boolean;
626
626
  card: boolean;
627
627
  }> & Omit<{
628
- readonly fit: boolean;
629
628
  readonly radius: boolean;
629
+ readonly fit: boolean;
630
630
  readonly border: boolean;
631
631
  readonly card: boolean;
632
632
  readonly size?: BaseSize | undefined;
@@ -700,6 +700,7 @@ declare const __VLS_component: DefineComponent<Props, {
700
700
  type: BooleanConstructor;
701
701
  };
702
702
  }>>> | undefined;
703
+ readonly badge?: PanelBadge | undefined;
703
704
  readonly footer?: Readonly<Partial< ExtractPropTypes<{
704
705
  tag: {
705
706
  type: StringConstructor;
@@ -790,9 +791,8 @@ declare const __VLS_component: DefineComponent<Props, {
790
791
  type: BooleanConstructor;
791
792
  };
792
793
  }>>> | null | undefined;
793
- readonly badge?: PanelBadge | undefined;
794
794
  readonly shadow?: "hover" | "none" | "always" | undefined;
795
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "fit" | "radius" | "border" | "card">;
795
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
796
796
  $attrs: {
797
797
  [x: string]: unknown;
798
798
  };
@@ -1170,7 +1170,7 @@ declare const __VLS_component: DefineComponent<Props, {
1170
1170
  footer: {
1171
1171
  type: PropType<ContainerProps>;
1172
1172
  };
1173
- }>> & Readonly<{}>, "fit" | "radius" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
1173
+ }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
1174
1174
  bodyRef: Ref<any, any>;
1175
1175
  }> & {} & ComponentCustomProperties & {} & {
1176
1176
  $slots: {
@@ -1,4 +1,4 @@
1
- import { TabsItem, ActionMenuItem } from '@vtj/ui';
1
+ import { TabsItem, ActionMenuItem, IconParam, ActionProps } from '@vtj/ui';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  export interface Props {
4
4
  items?: TabsItem[];
@@ -10,6 +10,20 @@ export interface Props {
10
10
  declare function __VLS_template(): {
11
11
  attrs: Partial<{}>;
12
12
  slots: {
13
+ label?(_: {
14
+ label: string;
15
+ name?: string | number;
16
+ icon?: IconParam;
17
+ value?: string | number;
18
+ data?: any;
19
+ disabled?: boolean;
20
+ closable?: boolean;
21
+ lazy?: boolean;
22
+ actions?: ActionProps[];
23
+ component?: any;
24
+ props?: Record<string, any>;
25
+ slot?: string;
26
+ }): any;
13
27
  default?(_: {}): any;
14
28
  };
15
29
  refs: {};
@@ -7204,6 +7204,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
7204
7204
  props: TreeOptionProps;
7205
7205
  checkStrictly: boolean;
7206
7206
  lazy: boolean;
7207
+ checkOnClickNode: boolean;
7208
+ checkOnClickLeaf: boolean;
7207
7209
  accordion: boolean;
7208
7210
  draggable: boolean;
7209
7211
  defaultExpandAll: boolean;
@@ -7213,8 +7215,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
7213
7215
  renderAfterExpand: boolean;
7214
7216
  showCheckbox: boolean;
7215
7217
  expandOnClickNode: boolean;
7216
- checkOnClickNode: boolean;
7217
- checkOnClickLeaf: boolean;
7218
7218
  highlightCurrent: boolean;
7219
7219
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
7220
7220
  P: {};
@@ -14416,6 +14416,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
14416
14416
  props: TreeOptionProps;
14417
14417
  checkStrictly: boolean;
14418
14418
  lazy: boolean;
14419
+ checkOnClickNode: boolean;
14420
+ checkOnClickLeaf: boolean;
14419
14421
  accordion: boolean;
14420
14422
  draggable: boolean;
14421
14423
  defaultExpandAll: boolean;
@@ -14425,8 +14427,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
14425
14427
  renderAfterExpand: boolean;
14426
14428
  showCheckbox: boolean;
14427
14429
  expandOnClickNode: boolean;
14428
- checkOnClickNode: boolean;
14429
- checkOnClickLeaf: boolean;
14430
14430
  highlightCurrent: boolean;
14431
14431
  }> | null;
14432
14432
  }, HTMLDivElement>;
@@ -46,6 +46,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
46
46
  }> & Omit<{
47
47
  readonly name: string;
48
48
  readonly method: string;
49
+ readonly disabled: boolean;
49
50
  readonly data: ({
50
51
  [x: string]: any;
51
52
  } | Promise<{
@@ -58,7 +59,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
58
59
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
59
60
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
60
61
  readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
61
- readonly disabled: boolean;
62
62
  readonly beforeUpload: (rawFile: UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob | null | undefined> | null | undefined;
63
63
  readonly onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
64
64
  readonly onPreview: (uploadFile: UploadFile) => void;
@@ -78,7 +78,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
78
78
  readonly beforeRemove?: ((uploadFile: UploadFile, uploadFiles: UploadFiles) => boolean | Promise<boolean>) | undefined;
79
79
  readonly headers?: (Record<string, any> | Headers) | undefined;
80
80
  readonly limit?: number | undefined;
81
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "method" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
81
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "method" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
82
82
  $attrs: {
83
83
  [x: string]: unknown;
84
84
  };
@@ -533,7 +533,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
533
533
  };
534
534
  readonly disabled: BooleanConstructor;
535
535
  readonly limit: NumberConstructor;
536
- }>>, "name" | "method" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "submit" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
536
+ }>>, "name" | "method" | "disabled" | "submit" | "data" | "onChange" | "onError" | "onProgress" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
537
537
  abort: (file: UploadFile) => void;
538
538
  submit: () => void;
539
539
  clearFiles: (states?: UploadStatus[]) => void;
@@ -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, PanelBadge, HeaderProps, ContainerProps } from '@vtj/ui';
2
+ import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
3
3
  import { OnCleanup } from '@vue/reactivity';
4
4
  import { Props } from '../../shared/panel';
5
5
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
@@ -41,8 +41,8 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
41
41
  border: boolean;
42
42
  card: boolean;
43
43
  }> & Omit<{
44
- readonly fit: boolean;
45
44
  readonly radius: boolean;
45
+ readonly fit: boolean;
46
46
  readonly border: boolean;
47
47
  readonly card: boolean;
48
48
  readonly size?: BaseSize | undefined;
@@ -116,6 +116,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
116
116
  type: BooleanConstructor;
117
117
  };
118
118
  }>>> | undefined;
119
+ readonly badge?: PanelBadge | undefined;
119
120
  readonly footer?: Readonly<Partial< ExtractPropTypes<{
120
121
  tag: {
121
122
  type: StringConstructor;
@@ -206,9 +207,8 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
206
207
  type: BooleanConstructor;
207
208
  };
208
209
  }>>> | null | undefined;
209
- readonly badge?: PanelBadge | undefined;
210
210
  readonly shadow?: "hover" | "none" | "always" | undefined;
211
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "fit" | "radius" | "border" | "card">;
211
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
212
212
  $attrs: {
213
213
  [x: string]: unknown;
214
214
  };
@@ -586,7 +586,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
586
586
  footer: {
587
587
  type: PropType<ContainerProps>;
588
588
  };
589
- }>> & Readonly<{}>, "fit" | "radius" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
589
+ }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
590
590
  bodyRef: Ref<any, any>;
591
591
  }> & {} & ComponentCustomProperties & {} & {
592
592
  $slots: {
@@ -628,8 +628,8 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
628
628
  remove: (...args: any[]) => void;
629
629
  save: (...args: any[]) => void;
630
630
  }, string, {
631
- header: boolean;
632
631
  menus: ActionMenuItem[];
632
+ header: boolean;
633
633
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
634
634
  beforeCreate?: (() => void) | (() => void)[];
635
635
  created?: (() => void) | (() => void)[];
@@ -651,8 +651,8 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
651
651
  $nextTick: nextTick;
652
652
  $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;
653
653
  } & Readonly<{
654
- header: boolean;
655
654
  menus: ActionMenuItem[];
655
+ header: boolean;
656
656
  }> & Omit<Readonly< Props> & Readonly<{
657
657
  onCommand?: ((...args: any[]) => any) | undefined;
658
658
  onRefresh?: ((...args: any[]) => any) | undefined;
@@ -661,7 +661,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
661
661
  onEdit?: ((...args: any[]) => any) | undefined;
662
662
  onRemove?: ((...args: any[]) => any) | undefined;
663
663
  onSave?: ((...args: any[]) => any) | undefined;
664
- }>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("header" | "menus")> & ShallowUnwrapRef<{
664
+ }>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & ShallowUnwrapRef<{
665
665
  panelRef: Ref<any, any>;
666
666
  scrollToBottom: () => void;
667
667
  autoScrollToBottom: (diff?: number) => void;
@@ -34,6 +34,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
34
34
  readonly type: string;
35
35
  readonly modelValue: string | number | null;
36
36
  readonly disabled: boolean;
37
+ readonly tabindex: string | number;
37
38
  readonly autofocus: boolean;
38
39
  readonly autosize: InputAutoSize;
39
40
  readonly autocomplete: string;
@@ -41,20 +42,19 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
41
42
  readonly clearable: boolean;
42
43
  readonly showPassword: boolean;
43
44
  readonly showWordLimit: boolean;
44
- readonly tabindex: string | number;
45
45
  readonly validateEvent: boolean;
46
46
  readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
47
47
  readonly rows: number;
48
48
  readonly size?: ("" | "default" | "small" | "large") | undefined;
49
49
  readonly name?: string | undefined;
50
50
  readonly id?: string | undefined;
51
+ readonly ariaLabel?: string | undefined;
51
52
  readonly form?: string | undefined;
52
53
  readonly placeholder?: string | undefined;
53
54
  readonly inputmode?: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
54
- readonly ariaLabel?: string | undefined;
55
55
  readonly maxlength?: (string | number) | undefined;
56
56
  readonly minlength?: (string | number) | undefined;
57
- readonly resize?: ("horizontal" | "vertical" | "none" | "both") | undefined;
57
+ readonly resize?: ("none" | "horizontal" | "vertical" | "both") | undefined;
58
58
  readonly formatter?: Function | undefined;
59
59
  readonly parser?: Function | undefined;
60
60
  readonly suffixIcon?: (string | Component) | undefined;
@@ -72,7 +72,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
72
72
  onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
73
73
  onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
74
74
  onClear?: (() => any) | undefined | undefined;
75
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "id" | "modelValue" | "disabled" | "autofocus" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows">;
75
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "id" | "modelValue" | "disabled" | "tabindex" | "autofocus" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "validateEvent" | "inputStyle" | "rows">;
76
76
  $attrs: {
77
77
  [x: string]: unknown;
78
78
  };
@@ -85,7 +85,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
85
85
  $root: ComponentPublicInstance | null;
86
86
  $parent: ComponentPublicInstance | null;
87
87
  $host: Element | null;
88
- $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);
88
+ $emit: ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "clear") => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: string) => 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);
89
89
  $el: any;
90
90
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
91
91
  readonly inputmode: {
@@ -142,7 +142,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
142
142
  readonly default: "text";
143
143
  };
144
144
  readonly resize: {
145
- readonly type: PropType<"horizontal" | "vertical" | "none" | "both">;
145
+ readonly type: PropType<"none" | "horizontal" | "vertical" | "both">;
146
146
  readonly required: false;
147
147
  readonly validator: ((val: unknown) => boolean) | undefined;
148
148
  __epPropKey: true;
@@ -393,7 +393,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
393
393
  readonly default: "text";
394
394
  };
395
395
  readonly resize: {
396
- readonly type: PropType<"horizontal" | "vertical" | "none" | "both">;
396
+ readonly type: PropType<"none" | "horizontal" | "vertical" | "both">;
397
397
  readonly required: false;
398
398
  readonly validator: ((val: unknown) => boolean) | undefined;
399
399
  __epPropKey: true;
@@ -508,7 +508,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
508
508
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
509
509
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
510
510
  onClear?: (() => any) | undefined;
511
- }, "clear" | "type" | "ref" | "id" | "modelValue" | "input" | "select" | "textarea" | "disabled" | "autofocus" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "focus" | "blur" | "resizeTextarea"> & ShallowUnwrapRef<{
511
+ }, "clear" | "type" | "ref" | "id" | "modelValue" | "disabled" | "focus" | "tabindex" | "autofocus" | "input" | "select" | "textarea" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "blur" | "resizeTextarea"> & ShallowUnwrapRef<{
512
512
  input: ShallowRef<HTMLInputElement | undefined>;
513
513
  textarea: ShallowRef<HTMLTextAreaElement | undefined>;
514
514
  ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
@@ -565,6 +565,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
565
565
  }> & Omit<{
566
566
  readonly name: string;
567
567
  readonly method: string;
568
+ readonly disabled: boolean;
568
569
  readonly data: ({
569
570
  [x: string]: any;
570
571
  } | Promise<{
@@ -577,7 +578,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
577
578
  readonly onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
578
579
  readonly onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
579
580
  readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
580
- readonly disabled: boolean;
581
581
  readonly beforeUpload: (rawFile: UploadRawFile) => boolean | void | File | Blob | Promise<boolean | void | File | Blob | null | undefined> | null | undefined;
582
582
  readonly onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
583
583
  readonly onPreview: (uploadFile: UploadFile) => void;
@@ -597,7 +597,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
597
597
  readonly beforeRemove?: ((uploadFile: UploadFile, uploadFiles: UploadFiles) => boolean | Promise<boolean>) | undefined;
598
598
  readonly headers?: (Record<string, any> | Headers) | undefined;
599
599
  readonly limit?: number | undefined;
600
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "method" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
600
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "method" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest">;
601
601
  $attrs: {
602
602
  [x: string]: unknown;
603
603
  };
@@ -1052,7 +1052,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
1052
1052
  };
1053
1053
  readonly disabled: BooleanConstructor;
1054
1054
  readonly limit: NumberConstructor;
1055
- }>>, "name" | "method" | "data" | "onChange" | "onError" | "onProgress" | "disabled" | "submit" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
1055
+ }>>, "name" | "method" | "disabled" | "submit" | "data" | "onChange" | "onError" | "onProgress" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "multiple" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
1056
1056
  abort: (file: UploadFile) => void;
1057
1057
  submit: () => void;
1058
1058
  clearFiles: (states?: UploadStatus[]) => void;