@vtj/designer 0.11.4 → 0.11.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 (31) hide show
  1. package/dist/index.mjs +3581 -3371
  2. package/dist/style.css +1 -1
  3. package/package.json +8 -8
  4. package/types/components/binders/event.d.ts +3 -3
  5. package/types/components/binders/variable.d.ts +3 -3
  6. package/types/components/editor/Editor.d.ts +2 -2
  7. package/types/components/editor/index.d.ts +2 -2
  8. package/types/components/setters/css.d.ts +3 -3
  9. package/types/components/setters/file.d.ts +2 -2
  10. package/types/components/setters/function.d.ts +3 -3
  11. package/types/components/setters/icon.d.ts +2 -2
  12. package/types/components/setters/image.d.ts +2 -2
  13. package/types/components/setters/index.d.ts +21 -21
  14. package/types/components/setters/json.d.ts +3 -3
  15. package/types/components/setters/slider.d.ts +2 -2
  16. package/types/components/setters/tag.d.ts +2 -2
  17. package/types/components/setters/vanIcon/index.d.ts +2 -2
  18. package/types/components/shared/tabs.d.ts +2 -2
  19. package/types/components/shared/viewport.d.ts +10 -2
  20. package/types/components/widgets/apis/form.d.ts +1 -1
  21. package/types/components/widgets/css/index.d.ts +3 -3
  22. package/types/components/widgets/index.d.ts +19 -9
  23. package/types/components/widgets/raw/index.d.ts +3 -3
  24. package/types/components/widgets/schema/index.d.ts +3 -3
  25. package/types/components/widgets/scripts/group.d.ts +8 -8
  26. package/types/components/widgets/scripts/lifeCycles.d.ts +3 -3
  27. package/types/components/widgets/style/JsonMode.d.ts +3 -3
  28. package/types/components/widgets/toolbar/ScreenSize.d.ts +34 -0
  29. package/types/components/widgets/toolbar/index.d.ts +10 -0
  30. package/types/constants.d.ts +2 -2
  31. package/types/version.d.ts +2 -2
@@ -3,11 +3,11 @@ export interface Props {
3
3
  modelValue?: number | number[];
4
4
  }
5
5
  declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
- change: (...args: any[]) => void;
7
6
  "update:modelValue": (...args: any[]) => void;
7
+ change: (...args: any[]) => void;
8
8
  }, string, PublicProps, Readonly<Props> & Readonly<{
9
- onChange?: ((...args: any[]) => any) | undefined;
10
9
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
10
+ onChange?: ((...args: any[]) => any) | undefined;
11
11
  }>, {
12
12
  modelValue: number | number[];
13
13
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -8,11 +8,11 @@ export interface Props {
8
8
  modelValue?: any;
9
9
  }
10
10
  declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- change: (...args: any[]) => void;
12
11
  "update:modelValue": (...args: any[]) => void;
12
+ change: (...args: any[]) => void;
13
13
  }, string, PublicProps, Readonly<Props> & Readonly<{
14
- onChange?: ((...args: any[]) => any) | undefined;
15
14
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
+ onChange?: ((...args: any[]) => any) | undefined;
16
16
  }>, {
17
17
  options: {
18
18
  label: string;
@@ -4,11 +4,11 @@ export interface Props {
4
4
  size?: 'small' | 'large' | 'default' | '';
5
5
  }
6
6
  declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
- change: (...args: any[]) => void;
8
7
  "update:modelValue": (...args: any[]) => void;
8
+ change: (...args: any[]) => void;
9
9
  }, string, PublicProps, Readonly<Props> & Readonly<{
10
- onChange?: ((...args: any[]) => any) | undefined;
11
10
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
+ onChange?: ((...args: any[]) => any) | undefined;
12
12
  }>, {
13
13
  size: "small" | "large" | "default" | "";
14
14
  modelValue: string;
@@ -17,13 +17,13 @@ declare function __VLS_template(): {
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
- command: (...args: any[]) => void;
21
20
  "update:modelValue": (...args: any[]) => void;
21
+ command: (...args: any[]) => void;
22
22
  remove: (...args: any[]) => void;
23
23
  "action-click": (...args: any[]) => void;
24
24
  }, string, PublicProps, Readonly<Props> & Readonly<{
25
- onCommand?: ((...args: any[]) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
26
+ onCommand?: ((...args: any[]) => any) | undefined;
27
27
  onRemove?: ((...args: any[]) => any) | undefined;
28
28
  "onAction-click"?: ((...args: any[]) => any) | undefined;
29
29
  }>, {
@@ -1,8 +1,12 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export interface Props {
3
- mode?: 'pc' | 'pad' | 'mobile';
3
+ mode?: 'pc' | 'pad' | 'mobile' | 'custom';
4
4
  width?: number;
5
5
  height?: number;
6
+ customSize?: {
7
+ width: number;
8
+ height: number;
9
+ };
6
10
  }
7
11
  declare function __VLS_template(): {
8
12
  attrs: Partial<{}>;
@@ -14,7 +18,11 @@ declare function __VLS_template(): {
14
18
  };
15
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
20
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
17
- mode: "pc" | "pad" | "mobile";
21
+ mode: "pc" | "pad" | "mobile" | "custom";
22
+ customSize: {
23
+ width: number;
24
+ height: number;
25
+ };
18
26
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
19
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
28
  export default _default;
@@ -682,7 +682,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
682
682
  $root: ComponentPublicInstance | null;
683
683
  $parent: ComponentPublicInstance | null;
684
684
  $host: Element | null;
685
- $emit: ((event: "close") => void) & ((event: "cancel") => void) & ((event: "submit") => void) & ((event: "open", instance: ComponentInternalInstance) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "maximized") => void) & ((event: "minimized") => void) & ((event: "resizing", dir: string, mie: {
685
+ $emit: ((event: "close") => void) & ((event: "cancel") => void) & ((event: "submit") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open", instance: ComponentInternalInstance) => void) & ((event: "maximized") => void) & ((event: "minimized") => void) & ((event: "resizing", dir: string, mie: {
686
686
  x: ShallowRef<number, number>;
687
687
  y: ShallowRef<number, number>;
688
688
  sourceType: ShallowRef<UseMouseSourceType, UseMouseSourceType>;
@@ -2,15 +2,15 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
2
2
  import { Props } from '../../editor/Editor';
3
3
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
4
4
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
5
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
5
6
  onBlur?: ((...args: any[]) => any) | undefined;
6
7
  onChange?: ((...args: any[]) => any) | undefined;
7
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
8
  }>, {
9
9
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
10
10
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (...args: any[]) => void;
11
12
  blur: (...args: any[]) => void;
12
13
  change: (...args: any[]) => void;
13
- "update:modelValue": (...args: any[]) => void;
14
14
  }, PublicProps, {
15
15
  height: string;
16
16
  modelValue: string;
@@ -29,9 +29,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
29
29
  M: {};
30
30
  Defaults: {};
31
31
  }, Readonly< Props> & Readonly<{
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
32
33
  onBlur?: ((...args: any[]) => any) | undefined;
33
34
  onChange?: ((...args: any[]) => any) | undefined;
34
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
35
  }>, {
36
36
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
37
37
  }, {}, {}, {}, {
@@ -24,6 +24,16 @@ export declare const widgets: {
24
24
  Toolbar: DefineComponent<Props, {
25
25
  mode: Ref<string, string>;
26
26
  outline: Ref<boolean, boolean>;
27
+ customSize: Ref<{
28
+ width: number;
29
+ height: number;
30
+ }, {
31
+ width: number;
32
+ height: number;
33
+ } | {
34
+ width: number;
35
+ height: number;
36
+ }>;
27
37
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
28
38
  Actions: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
29
39
  coder: boolean;
@@ -48,15 +58,15 @@ export declare const widgets: {
48
58
  Events: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
49
59
  Css: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
50
60
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
61
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
51
62
  onBlur?: ((...args: any[]) => any) | undefined;
52
63
  onChange?: ((...args: any[]) => any) | undefined;
53
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
54
64
  }>, {
55
65
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
56
66
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
67
+ "update:modelValue": (...args: any[]) => void;
57
68
  blur: (...args: any[]) => void;
58
69
  change: (...args: any[]) => void;
59
- "update:modelValue": (...args: any[]) => void;
60
70
  }, PublicProps, {
61
71
  height: string;
62
72
  modelValue: string;
@@ -75,9 +85,9 @@ export declare const widgets: {
75
85
  M: {};
76
86
  Defaults: {};
77
87
  }, Readonly< Props> & Readonly<{
88
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
78
89
  onBlur?: ((...args: any[]) => any) | undefined;
79
90
  onChange?: ((...args: any[]) => any) | undefined;
80
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
81
91
  }>, {
82
92
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
83
93
  }, {}, {}, {}, {
@@ -103,15 +113,15 @@ export declare const widgets: {
103
113
  NodePath: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
104
114
  Schema: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
105
115
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
116
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
106
117
  onBlur?: ((...args: any[]) => any) | undefined;
107
118
  onChange?: ((...args: any[]) => any) | undefined;
108
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
109
119
  }>, {
110
120
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
111
121
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
122
+ "update:modelValue": (...args: any[]) => void;
112
123
  blur: (...args: any[]) => void;
113
124
  change: (...args: any[]) => void;
114
- "update:modelValue": (...args: any[]) => void;
115
125
  }, PublicProps, {
116
126
  height: string;
117
127
  modelValue: string;
@@ -130,9 +140,9 @@ export declare const widgets: {
130
140
  M: {};
131
141
  Defaults: {};
132
142
  }, Readonly< Props> & Readonly<{
143
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
133
144
  onBlur?: ((...args: any[]) => any) | undefined;
134
145
  onChange?: ((...args: any[]) => any) | undefined;
135
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
136
146
  }>, {
137
147
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
138
148
  }, {}, {}, {}, {
@@ -147,15 +157,15 @@ export declare const widgets: {
147
157
  }, any>;
148
158
  Raw: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
149
159
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
160
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
150
161
  onBlur?: ((...args: any[]) => any) | undefined;
151
162
  onChange?: ((...args: any[]) => any) | undefined;
152
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
153
163
  }>, {
154
164
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
155
165
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
166
+ "update:modelValue": (...args: any[]) => void;
156
167
  blur: (...args: any[]) => void;
157
168
  change: (...args: any[]) => void;
158
- "update:modelValue": (...args: any[]) => void;
159
169
  }, PublicProps, {
160
170
  height: string;
161
171
  modelValue: string;
@@ -174,9 +184,9 @@ export declare const widgets: {
174
184
  M: {};
175
185
  Defaults: {};
176
186
  }, Readonly< Props> & Readonly<{
187
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
177
188
  onBlur?: ((...args: any[]) => any) | undefined;
178
189
  onChange?: ((...args: any[]) => any) | undefined;
179
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
180
190
  }>, {
181
191
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
182
192
  }, {}, {}, {}, {
@@ -2,15 +2,15 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
2
2
  import { Props } from '../../editor/Editor';
3
3
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
4
4
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
5
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
5
6
  onBlur?: ((...args: any[]) => any) | undefined;
6
7
  onChange?: ((...args: any[]) => any) | undefined;
7
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
8
  }>, {
9
9
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
10
10
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (...args: any[]) => void;
11
12
  blur: (...args: any[]) => void;
12
13
  change: (...args: any[]) => void;
13
- "update:modelValue": (...args: any[]) => void;
14
14
  }, PublicProps, {
15
15
  height: string;
16
16
  modelValue: string;
@@ -29,9 +29,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
29
29
  M: {};
30
30
  Defaults: {};
31
31
  }, Readonly< Props> & Readonly<{
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
32
33
  onBlur?: ((...args: any[]) => any) | undefined;
33
34
  onChange?: ((...args: any[]) => any) | undefined;
34
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
35
  }>, {
36
36
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
37
37
  }, {}, {}, {}, {
@@ -2,15 +2,15 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
2
2
  import { Props } from '../../editor/Editor';
3
3
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
4
4
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
5
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
5
6
  onBlur?: ((...args: any[]) => any) | undefined;
6
7
  onChange?: ((...args: any[]) => any) | undefined;
7
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
8
  }>, {
9
9
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
10
10
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (...args: any[]) => void;
11
12
  blur: (...args: any[]) => void;
12
13
  change: (...args: any[]) => void;
13
- "update:modelValue": (...args: any[]) => void;
14
14
  }, PublicProps, {
15
15
  height: string;
16
16
  modelValue: string;
@@ -29,9 +29,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
29
29
  M: {};
30
30
  Defaults: {};
31
31
  }, Readonly< Props> & Readonly<{
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
32
33
  onBlur?: ((...args: any[]) => any) | undefined;
33
34
  onChange?: ((...args: any[]) => any) | undefined;
34
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
35
  }>, {
36
36
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
37
37
  }, {}, {}, {}, {
@@ -246,7 +246,7 @@ declare function __VLS_template(): {
246
246
  $root: ComponentPublicInstance | null;
247
247
  $parent: ComponentPublicInstance | null;
248
248
  $host: Element | null;
249
- $emit: ((event: "focus") => void) & ((event: "blur") => void) & ((event: "change", value: any, data?: any) => void) & ((event: "update:modelValue", value: any) => void);
249
+ $emit: ((event: "update:modelValue", value: any) => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "change", value: any, data?: any) => void);
250
250
  $el: any;
251
251
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
252
252
  name: {
@@ -468,15 +468,15 @@ declare function __VLS_template(): {
468
468
  };
469
469
  }) | null;
470
470
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
471
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
471
472
  onBlur?: ((...args: any[]) => any) | undefined;
472
473
  onChange?: ((...args: any[]) => any) | undefined;
473
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
474
474
  }>, {
475
475
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
476
476
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
477
+ "update:modelValue": (...args: any[]) => void;
477
478
  blur: (...args: any[]) => void;
478
479
  change: (...args: any[]) => void;
479
- "update:modelValue": (...args: any[]) => void;
480
480
  }, PublicProps, {
481
481
  height: string;
482
482
  modelValue: string;
@@ -495,9 +495,9 @@ declare function __VLS_template(): {
495
495
  M: {};
496
496
  Defaults: {};
497
497
  }, Readonly< Props> & Readonly<{
498
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
498
499
  onBlur?: ((...args: any[]) => any) | undefined;
499
500
  onChange?: ((...args: any[]) => any) | undefined;
500
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
501
501
  }>, {
502
502
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
503
503
  }, {}, {}, {}, {
@@ -732,7 +732,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
732
732
  $root: ComponentPublicInstance | null;
733
733
  $parent: ComponentPublicInstance | null;
734
734
  $host: Element | null;
735
- $emit: ((event: "focus") => void) & ((event: "blur") => void) & ((event: "change", value: any, data?: any) => void) & ((event: "update:modelValue", value: any) => void);
735
+ $emit: ((event: "update:modelValue", value: any) => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "change", value: any, data?: any) => void);
736
736
  $el: any;
737
737
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
738
738
  name: {
@@ -954,15 +954,15 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
954
954
  };
955
955
  }) | null;
956
956
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
957
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
957
958
  onBlur?: ((...args: any[]) => any) | undefined;
958
959
  onChange?: ((...args: any[]) => any) | undefined;
959
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
960
960
  }>, {
961
961
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
962
962
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
963
+ "update:modelValue": (...args: any[]) => void;
963
964
  blur: (...args: any[]) => void;
964
965
  change: (...args: any[]) => void;
965
- "update:modelValue": (...args: any[]) => void;
966
966
  }, PublicProps, {
967
967
  height: string;
968
968
  modelValue: string;
@@ -981,9 +981,9 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
981
981
  M: {};
982
982
  Defaults: {};
983
983
  }, Readonly< Props> & Readonly<{
984
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
984
985
  onBlur?: ((...args: any[]) => any) | undefined;
985
986
  onChange?: ((...args: any[]) => any) | undefined;
986
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
987
987
  }>, {
988
988
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
989
989
  }, {}, {}, {}, {
@@ -8,15 +8,15 @@ export interface Props {
8
8
  }
9
9
  declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
10
10
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
11
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
12
  onBlur?: ((...args: any[]) => any) | undefined;
12
13
  onChange?: ((...args: any[]) => any) | undefined;
13
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
14
  }>, {
15
15
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
16
16
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
+ "update:modelValue": (...args: any[]) => void;
17
18
  blur: (...args: any[]) => void;
18
19
  change: (...args: any[]) => void;
19
- "update:modelValue": (...args: any[]) => void;
20
20
  }, PublicProps, {
21
21
  height: string;
22
22
  modelValue: string;
@@ -35,9 +35,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
35
35
  M: {};
36
36
  Defaults: {};
37
37
  }, Readonly< Props> & Readonly<{
38
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
39
  onBlur?: ((...args: any[]) => any) | undefined;
39
40
  onChange?: ((...args: any[]) => any) | undefined;
40
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
41
  }>, {
42
42
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
43
43
  }, {}, {}, {}, {
@@ -2,15 +2,15 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
2
2
  import { Props } from '../../editor/Editor';
3
3
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
4
4
  editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
5
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
5
6
  onBlur?: ((...args: any[]) => any) | undefined;
6
7
  onChange?: ((...args: any[]) => any) | undefined;
7
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
8
  }>, {
9
9
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
10
10
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (...args: any[]) => void;
11
12
  blur: (...args: any[]) => void;
12
13
  change: (...args: any[]) => void;
13
- "update:modelValue": (...args: any[]) => void;
14
14
  }, PublicProps, {
15
15
  height: string;
16
16
  modelValue: string;
@@ -29,9 +29,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
29
29
  M: {};
30
30
  Defaults: {};
31
31
  }, Readonly< Props> & Readonly<{
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
32
33
  onBlur?: ((...args: any[]) => any) | undefined;
33
34
  onChange?: ((...args: any[]) => any) | undefined;
34
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
35
  }>, {
36
36
  getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
37
37
  }, {}, {}, {}, {
@@ -0,0 +1,34 @@
1
+ import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ modelValue: {
4
+ type: PropType<{
5
+ width: number;
6
+ height: number;
7
+ }>;
8
+ default: () => {
9
+ width: number;
10
+ height: number;
11
+ };
12
+ };
13
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
+ "update:modelValue": (...args: any[]) => void;
15
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
16
+ modelValue: {
17
+ type: PropType<{
18
+ width: number;
19
+ height: number;
20
+ }>;
21
+ default: () => {
22
+ width: number;
23
+ height: number;
24
+ };
25
+ };
26
+ }>> & Readonly<{
27
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
28
+ }>, {
29
+ modelValue: {
30
+ width: number;
31
+ height: number;
32
+ };
33
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
34
+ export default _default;
@@ -5,5 +5,15 @@ export interface Props {
5
5
  declare const _default: DefineComponent<Props, {
6
6
  mode: Ref<string, string>;
7
7
  outline: Ref<boolean, boolean>;
8
+ customSize: Ref<{
9
+ width: number;
10
+ height: number;
11
+ }, {
12
+ width: number;
13
+ height: number;
14
+ } | {
15
+ width: number;
16
+ height: number;
17
+ }>;
8
18
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
9
19
  export default _default;
@@ -42,8 +42,8 @@ export declare const VUE_DEVTOOLS_PATH = "@id/virtual:vue-devtools-path:overlay.
42
42
  * vue-devtools overlay path
43
43
  */
44
44
  export declare const VUE_DEVTOOLS_OVERLAY_PATH = "@id/virtual:vue-devtools-path:overlay/devtools-overlay.mjs";
45
- export declare const NPM_REGISTRY_URL = "https://registry.npmmirror.com/@vtj/pro";
46
- export declare const REMOTE = "https://lcdp.vtj.pro";
45
+ export declare const NPM_REGISTRY_URL: string;
46
+ export declare const REMOTE: string;
47
47
  export declare const ACCESS: {
48
48
  auth: string;
49
49
  storageKey: 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.11.3
5
+ * @version 0.11.5
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.11.3";
8
+ export declare const version = "0.11.5";