@vtj/designer 0.9.29 → 0.10.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 (43) hide show
  1. package/dist/index.mjs +4325 -3919
  2. package/dist/style.css +1 -1
  3. package/package.json +8 -7
  4. package/types/components/binders/event.d.ts +46 -2
  5. package/types/components/binders/variable.d.ts +46 -2
  6. package/types/components/editor/Editor.d.ts +3 -1
  7. package/types/components/editor/index.d.ts +3 -1
  8. package/types/components/hooks/useDesigner.d.ts +2 -2
  9. package/types/components/regions/actions.d.ts +33 -2
  10. package/types/components/regions/apps.d.ts +33 -2
  11. package/types/components/regions/brand.d.ts +33 -2
  12. package/types/components/regions/index.d.ts +259 -10
  13. package/types/components/regions/preview.d.ts +33 -2
  14. package/types/components/regions/settings.d.ts +33 -2
  15. package/types/components/regions/status.d.ts +33 -2
  16. package/types/components/regions/toolbar.d.ts +33 -2
  17. package/types/components/regions/workspace.d.ts +34 -2
  18. package/types/components/setters/css.d.ts +58 -0
  19. package/types/components/setters/function.d.ts +46 -2
  20. package/types/components/setters/index.d.ts +142 -3
  21. package/types/components/setters/json.d.ts +46 -2
  22. package/types/components/shared/binder.d.ts +552 -3
  23. package/types/components/shared/viewer.d.ts +767 -2
  24. package/types/components/skeleton.d.ts +180 -2
  25. package/types/components/widgets/apis/form.d.ts +1520 -2
  26. package/types/components/widgets/css/index.d.ts +46 -2
  27. package/types/components/widgets/designer/index.d.ts +4 -1
  28. package/types/components/widgets/docs/index.d.ts +101 -2
  29. package/types/components/widgets/index.d.ts +340 -8
  30. package/types/components/widgets/market/index.d.ts +101 -2
  31. package/types/components/widgets/previewer/index.d.ts +6 -3
  32. package/types/components/widgets/raw/index.d.ts +46 -2
  33. package/types/components/widgets/schema/index.d.ts +46 -2
  34. package/types/components/widgets/scripts/group.d.ts +650 -4
  35. package/types/components/widgets/scripts/lifeCycles.d.ts +46 -2
  36. package/types/components/widgets/style/JsonMode.d.ts +46 -2
  37. package/types/components/widgets/style/positioning.d.ts +3 -1
  38. package/types/components/widgets/style/spacing-input.d.ts +255 -2
  39. package/types/components/widgets/style/spacing.d.ts +4 -1
  40. package/types/components/widgets/uni-config/index.d.ts +3 -0
  41. package/types/framework/renderer.d.ts +5 -2
  42. package/types/framework/simulator.d.ts +4 -2
  43. package/types/version.d.ts +2 -2
@@ -1,7 +1,7 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComputedRef, Ref } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComputedRef, Ref, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
2
  import { Props } from './empty';
3
3
  import { Props } from './brand';
4
- import { Widget } from '../..';
4
+ import { Widget, RegionType } from '../..';
5
5
  import { Props } from './toolbar';
6
6
  import { Props } from './actions';
7
7
  import { Props } from './apps';
@@ -14,39 +14,288 @@ export declare const regions: {
14
14
  Brand: DefineComponent<Props, {
15
15
  widgets: ComputedRef< Widget[]>;
16
16
  widgetsRef: Ref<any, any>;
17
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
18
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
19
+ region: {
20
+ type: PropType<RegionType>;
21
+ required: true;
22
+ };
23
+ widget: {
24
+ type: PropType<Widget>;
25
+ required: true;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ widgetRef: Ref<any, any>;
29
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
30
+ P: {};
31
+ B: {};
32
+ D: {};
33
+ C: {};
34
+ M: {};
35
+ Defaults: {};
36
+ }, Readonly< ExtractPropTypes<{
37
+ region: {
38
+ type: PropType<RegionType>;
39
+ required: true;
40
+ };
41
+ widget: {
42
+ type: PropType<Widget>;
43
+ required: true;
44
+ };
45
+ }>> & Readonly<{}>, {
46
+ widgetRef: Ref<any, any>;
47
+ }, {}, {}, {}, {}> | null)[];
48
+ }, any>;
18
49
  Toolbar: DefineComponent<Props, {
19
50
  widgets: ComputedRef< Widget[]>;
20
51
  widgetsRef: Ref<any, any>;
21
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
52
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
53
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
54
+ region: {
55
+ type: PropType<RegionType>;
56
+ required: true;
57
+ };
58
+ widget: {
59
+ type: PropType<Widget>;
60
+ required: true;
61
+ };
62
+ }>> & Readonly<{}>, {
63
+ widgetRef: Ref<any, any>;
64
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
65
+ P: {};
66
+ B: {};
67
+ D: {};
68
+ C: {};
69
+ M: {};
70
+ Defaults: {};
71
+ }, Readonly< ExtractPropTypes<{
72
+ region: {
73
+ type: PropType<RegionType>;
74
+ required: true;
75
+ };
76
+ widget: {
77
+ type: PropType<Widget>;
78
+ required: true;
79
+ };
80
+ }>> & Readonly<{}>, {
81
+ widgetRef: Ref<any, any>;
82
+ }, {}, {}, {}, {}> | null)[];
83
+ }, HTMLDivElement>;
22
84
  Actions: DefineComponent<Props, {
23
85
  widgets: ComputedRef< Widget[]>;
24
86
  widgetsRef: Ref<any, any>;
25
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
87
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
88
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
89
+ region: {
90
+ type: PropType<RegionType>;
91
+ required: true;
92
+ };
93
+ widget: {
94
+ type: PropType<Widget>;
95
+ required: true;
96
+ };
97
+ }>> & Readonly<{}>, {
98
+ widgetRef: Ref<any, any>;
99
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
100
+ P: {};
101
+ B: {};
102
+ D: {};
103
+ C: {};
104
+ M: {};
105
+ Defaults: {};
106
+ }, Readonly< ExtractPropTypes<{
107
+ region: {
108
+ type: PropType<RegionType>;
109
+ required: true;
110
+ };
111
+ widget: {
112
+ type: PropType<Widget>;
113
+ required: true;
114
+ };
115
+ }>> & Readonly<{}>, {
116
+ widgetRef: Ref<any, any>;
117
+ }, {}, {}, {}, {}> | null)[];
118
+ }, any>;
26
119
  Apps: DefineComponent<Props, {
27
120
  widgets: ComputedRef< Widget[]>;
28
121
  widgetsRef: Ref<any, any>;
29
122
  setActive: (name: string) => void;
30
123
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
31
124
  index: number;
32
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
125
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
126
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
127
+ region: {
128
+ type: PropType<RegionType>;
129
+ required: true;
130
+ };
131
+ widget: {
132
+ type: PropType<Widget>;
133
+ required: true;
134
+ };
135
+ }>> & Readonly<{}>, {
136
+ widgetRef: Ref<any, any>;
137
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
138
+ P: {};
139
+ B: {};
140
+ D: {};
141
+ C: {};
142
+ M: {};
143
+ Defaults: {};
144
+ }, Readonly< ExtractPropTypes<{
145
+ region: {
146
+ type: PropType<RegionType>;
147
+ required: true;
148
+ };
149
+ widget: {
150
+ type: PropType<Widget>;
151
+ required: true;
152
+ };
153
+ }>> & Readonly<{}>, {
154
+ widgetRef: Ref<any, any>;
155
+ }, {}, {}, {}, {}> | null)[];
156
+ }, any>;
33
157
  Workspace: DefineComponent<Props, {
34
158
  currentTab: Ref<string, string>;
35
159
  widgets: ComputedRef< Widget[]>;
36
160
  widgetsRef: Ref<any, any>;
37
161
  openTab: (name: string, props?: Record<string, any>) => void;
38
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
162
+ reload: () => void;
163
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
164
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
165
+ region: {
166
+ type: PropType<RegionType>;
167
+ required: true;
168
+ };
169
+ widget: {
170
+ type: PropType<Widget>;
171
+ required: true;
172
+ };
173
+ }>> & Readonly<{}>, {
174
+ widgetRef: Ref<any, any>;
175
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
176
+ P: {};
177
+ B: {};
178
+ D: {};
179
+ C: {};
180
+ M: {};
181
+ Defaults: {};
182
+ }, Readonly< ExtractPropTypes<{
183
+ region: {
184
+ type: PropType<RegionType>;
185
+ required: true;
186
+ };
187
+ widget: {
188
+ type: PropType<Widget>;
189
+ required: true;
190
+ };
191
+ }>> & Readonly<{}>, {
192
+ widgetRef: Ref<any, any>;
193
+ }, {}, {}, {}, {}> | null)[];
194
+ }, any>;
39
195
  Settings: DefineComponent<Props, {
40
196
  widgets: ComputedRef< Widget[]>;
41
197
  widgetsRef: Ref<any, any>;
42
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
198
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
199
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
200
+ region: {
201
+ type: PropType<RegionType>;
202
+ required: true;
203
+ };
204
+ widget: {
205
+ type: PropType<Widget>;
206
+ required: true;
207
+ };
208
+ }>> & Readonly<{}>, {
209
+ widgetRef: Ref<any, any>;
210
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
211
+ P: {};
212
+ B: {};
213
+ D: {};
214
+ C: {};
215
+ M: {};
216
+ Defaults: {};
217
+ }, Readonly< ExtractPropTypes<{
218
+ region: {
219
+ type: PropType<RegionType>;
220
+ required: true;
221
+ };
222
+ widget: {
223
+ type: PropType<Widget>;
224
+ required: true;
225
+ };
226
+ }>> & Readonly<{}>, {
227
+ widgetRef: Ref<any, any>;
228
+ }, {}, {}, {}, {}> | null)[];
229
+ }, any>;
43
230
  Status: DefineComponent<Props, {
44
231
  widgets: ComputedRef< Widget[]>;
45
232
  widgetsRef: Ref<any, any>;
46
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
233
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
234
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
235
+ region: {
236
+ type: PropType<RegionType>;
237
+ required: true;
238
+ };
239
+ widget: {
240
+ type: PropType<Widget>;
241
+ required: true;
242
+ };
243
+ }>> & Readonly<{}>, {
244
+ widgetRef: Ref<any, any>;
245
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
246
+ P: {};
247
+ B: {};
248
+ D: {};
249
+ C: {};
250
+ M: {};
251
+ Defaults: {};
252
+ }, Readonly< ExtractPropTypes<{
253
+ region: {
254
+ type: PropType<RegionType>;
255
+ required: true;
256
+ };
257
+ widget: {
258
+ type: PropType<Widget>;
259
+ required: true;
260
+ };
261
+ }>> & Readonly<{}>, {
262
+ widgetRef: Ref<any, any>;
263
+ }, {}, {}, {}, {}> | null)[];
264
+ }, any>;
47
265
  Preview: DefineComponent<Props, {
48
266
  currentTab: Ref<string, string>;
49
267
  widgets: ComputedRef< Widget[]>;
50
268
  widgetsRef: Ref<any, any>;
51
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
269
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
270
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
271
+ region: {
272
+ type: PropType<RegionType>;
273
+ required: true;
274
+ };
275
+ widget: {
276
+ type: PropType<Widget>;
277
+ required: true;
278
+ };
279
+ }>> & Readonly<{}>, {
280
+ widgetRef: Ref<any, any>;
281
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
282
+ P: {};
283
+ B: {};
284
+ D: {};
285
+ C: {};
286
+ M: {};
287
+ Defaults: {};
288
+ }, Readonly< ExtractPropTypes<{
289
+ region: {
290
+ type: PropType<RegionType>;
291
+ required: true;
292
+ };
293
+ widget: {
294
+ type: PropType<Widget>;
295
+ required: true;
296
+ };
297
+ }>> & Readonly<{}>, {
298
+ widgetRef: Ref<any, any>;
299
+ }, {}, {}, {}, {}> | null)[];
300
+ }, any>;
52
301
  };
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -8,5 +8,36 @@ declare const _default: DefineComponent<Props, {
8
8
  currentTab: Ref<string, string>;
9
9
  widgets: ComputedRef< Widget[]>;
10
10
  widgetsRef: Ref<any, any>;
11
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
12
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
13
+ region: {
14
+ type: PropType<RegionType>;
15
+ required: true;
16
+ };
17
+ widget: {
18
+ type: PropType<Widget>;
19
+ required: true;
20
+ };
21
+ }>> & Readonly<{}>, {
22
+ widgetRef: Ref<any, any>;
23
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
24
+ P: {};
25
+ B: {};
26
+ D: {};
27
+ C: {};
28
+ M: {};
29
+ Defaults: {};
30
+ }, Readonly< ExtractPropTypes<{
31
+ region: {
32
+ type: PropType<RegionType>;
33
+ required: true;
34
+ };
35
+ widget: {
36
+ type: PropType<Widget>;
37
+ required: true;
38
+ };
39
+ }>> & Readonly<{}>, {
40
+ widgetRef: Ref<any, any>;
41
+ }, {}, {}, {}, {}> | null)[];
42
+ }, any>;
12
43
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -7,5 +7,36 @@ export interface Props {
7
7
  declare const _default: DefineComponent<Props, {
8
8
  widgets: ComputedRef< Widget[]>;
9
9
  widgetsRef: Ref<any, any>;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
11
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
12
+ region: {
13
+ type: PropType<RegionType>;
14
+ required: true;
15
+ };
16
+ widget: {
17
+ type: PropType<Widget>;
18
+ required: true;
19
+ };
20
+ }>> & Readonly<{}>, {
21
+ widgetRef: Ref<any, any>;
22
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
23
+ P: {};
24
+ B: {};
25
+ D: {};
26
+ C: {};
27
+ M: {};
28
+ Defaults: {};
29
+ }, Readonly< ExtractPropTypes<{
30
+ region: {
31
+ type: PropType<RegionType>;
32
+ required: true;
33
+ };
34
+ widget: {
35
+ type: PropType<Widget>;
36
+ required: true;
37
+ };
38
+ }>> & Readonly<{}>, {
39
+ widgetRef: Ref<any, any>;
40
+ }, {}, {}, {}, {}> | null)[];
41
+ }, any>;
11
42
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -7,5 +7,36 @@ export interface Props {
7
7
  declare const _default: DefineComponent<Props, {
8
8
  widgets: ComputedRef< Widget[]>;
9
9
  widgetsRef: Ref<any, any>;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
11
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
12
+ region: {
13
+ type: PropType<RegionType>;
14
+ required: true;
15
+ };
16
+ widget: {
17
+ type: PropType<Widget>;
18
+ required: true;
19
+ };
20
+ }>> & Readonly<{}>, {
21
+ widgetRef: Ref<any, any>;
22
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
23
+ P: {};
24
+ B: {};
25
+ D: {};
26
+ C: {};
27
+ M: {};
28
+ Defaults: {};
29
+ }, Readonly< ExtractPropTypes<{
30
+ region: {
31
+ type: PropType<RegionType>;
32
+ required: true;
33
+ };
34
+ widget: {
35
+ type: PropType<Widget>;
36
+ required: true;
37
+ };
38
+ }>> & Readonly<{}>, {
39
+ widgetRef: Ref<any, any>;
40
+ }, {}, {}, {}, {}> | null)[];
41
+ }, any>;
11
42
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -8,5 +8,36 @@ export interface Props {
8
8
  declare const _default: DefineComponent<Props, {
9
9
  widgets: ComputedRef< Widget[]>;
10
10
  widgetsRef: Ref<any, any>;
11
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
12
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
13
+ region: {
14
+ type: PropType<RegionType>;
15
+ required: true;
16
+ };
17
+ widget: {
18
+ type: PropType<Widget>;
19
+ required: true;
20
+ };
21
+ }>> & Readonly<{}>, {
22
+ widgetRef: Ref<any, any>;
23
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
24
+ P: {};
25
+ B: {};
26
+ D: {};
27
+ C: {};
28
+ M: {};
29
+ Defaults: {};
30
+ }, Readonly< ExtractPropTypes<{
31
+ region: {
32
+ type: PropType<RegionType>;
33
+ required: true;
34
+ };
35
+ widget: {
36
+ type: PropType<Widget>;
37
+ required: true;
38
+ };
39
+ }>> & Readonly<{}>, {
40
+ widgetRef: Ref<any, any>;
41
+ }, {}, {}, {}, {}> | null)[];
42
+ }, HTMLDivElement>;
12
43
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -9,5 +9,37 @@ declare const _default: DefineComponent<Props, {
9
9
  widgets: ComputedRef< Widget[]>;
10
10
  widgetsRef: Ref<any, any>;
11
11
  openTab: (name: string, props?: Record<string, any>) => void;
12
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
12
+ reload: () => void;
13
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
14
+ widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
15
+ region: {
16
+ type: PropType<RegionType>;
17
+ required: true;
18
+ };
19
+ widget: {
20
+ type: PropType<Widget>;
21
+ required: true;
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ widgetRef: Ref<any, any>;
25
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
26
+ P: {};
27
+ B: {};
28
+ D: {};
29
+ C: {};
30
+ M: {};
31
+ Defaults: {};
32
+ }, Readonly< ExtractPropTypes<{
33
+ region: {
34
+ type: PropType<RegionType>;
35
+ required: true;
36
+ };
37
+ widget: {
38
+ type: PropType<Widget>;
39
+ required: true;
40
+ };
41
+ }>> & Readonly<{}>, {
42
+ widgetRef: Ref<any, any>;
43
+ }, {}, {}, {}, {}> | null)[];
44
+ }, any>;
13
45
  export default _default;
@@ -0,0 +1,58 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { Props } from '../editor/Editor';
3
+ export interface Props {
4
+ modelValue?: any;
5
+ type?: 'CSS';
6
+ }
7
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
+ change: (...args: any[]) => void;
9
+ }, string, PublicProps, Readonly<Props> & Readonly<{
10
+ onChange?: ((...args: any[]) => any) | undefined;
11
+ }>, {
12
+ type: "CSS";
13
+ modelValue: any;
14
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
15
+ codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
16
+ onBlur?: ((...args: any[]) => any) | undefined;
17
+ onChange?: ((...args: any[]) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
19
+ }>, {
20
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
21
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
22
+ blur: (...args: any[]) => void;
23
+ change: (...args: any[]) => void;
24
+ "update:modelValue": (...args: any[]) => void;
25
+ }, PublicProps, {
26
+ height: string;
27
+ modelValue: string;
28
+ dark: boolean;
29
+ readonly: boolean;
30
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
31
+ lang: string;
32
+ minimap: boolean;
33
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
34
+ container: HTMLDivElement;
35
+ }, HTMLDivElement, ComponentProvideOptions, {
36
+ P: {};
37
+ B: {};
38
+ D: {};
39
+ C: {};
40
+ M: {};
41
+ Defaults: {};
42
+ }, Readonly< Props> & Readonly<{
43
+ onBlur?: ((...args: any[]) => any) | undefined;
44
+ onChange?: ((...args: any[]) => any) | undefined;
45
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
+ }>, {
47
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
48
+ }, {}, {}, {}, {
49
+ height: string;
50
+ modelValue: string;
51
+ dark: boolean;
52
+ readonly: boolean;
53
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
54
+ lang: string;
55
+ minimap: boolean;
56
+ }> | null;
57
+ }, HTMLDivElement>;
58
+ export default _default;
@@ -1,5 +1,6 @@
1
1
  import { JSFunction } from '@vtj/core';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
3
+ import { Props } from '../editor/Editor';
3
4
  export interface Props {
4
5
  modelValue?: JSFunction;
5
6
  }
@@ -9,5 +10,48 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
9
10
  onChange?: ((...args: any[]) => any) | undefined;
10
11
  }>, {
11
12
  modelValue: JSFunction;
12
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
14
+ codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
15
+ onBlur?: ((...args: any[]) => any) | undefined;
16
+ onChange?: ((...args: any[]) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
18
+ }>, {
19
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
20
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
+ blur: (...args: any[]) => void;
22
+ change: (...args: any[]) => void;
23
+ "update:modelValue": (...args: any[]) => void;
24
+ }, PublicProps, {
25
+ height: string;
26
+ modelValue: string;
27
+ dark: boolean;
28
+ readonly: boolean;
29
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
30
+ lang: string;
31
+ minimap: boolean;
32
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
33
+ container: HTMLDivElement;
34
+ }, HTMLDivElement, ComponentProvideOptions, {
35
+ P: {};
36
+ B: {};
37
+ D: {};
38
+ C: {};
39
+ M: {};
40
+ Defaults: {};
41
+ }, Readonly< Props> & Readonly<{
42
+ onBlur?: ((...args: any[]) => any) | undefined;
43
+ onChange?: ((...args: any[]) => any) | undefined;
44
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
+ }>, {
46
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
47
+ }, {}, {}, {}, {
48
+ height: string;
49
+ modelValue: string;
50
+ dark: boolean;
51
+ readonly: boolean;
52
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
53
+ lang: string;
54
+ minimap: boolean;
55
+ }> | null;
56
+ }, HTMLDivElement>;
13
57
  export default _default;