@vtj/designer 0.9.25 → 0.9.27

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 (46) hide show
  1. package/dist/{Editor-Cp9Sb2ni.js → Editor-BFm57YMW.js} +6 -6
  2. package/dist/{css.worker-DcQjDQkA.js → css.worker-DhE07keG.js} +17 -17
  3. package/dist/{editor.worker-lG8NyUhA.js → editor.worker-DKpUct5n.js} +1 -1
  4. package/dist/html.worker-C5hxLCyX.js +25 -0
  5. package/dist/index.mjs +2812 -2421
  6. package/dist/{json.worker-Cz3wPAlQ.js → json.worker-DCDqLFYI.js} +1 -1
  7. package/dist/style.css +1 -1
  8. package/dist/{ts.worker-C2xNNmKz.js → ts.worker-D9KUThWN.js} +168 -168
  9. package/package.json +6 -6
  10. package/types/components/binders/event.d.ts +2 -46
  11. package/types/components/binders/variable.d.ts +2 -46
  12. package/types/components/editor/Editor.d.ts +1 -3
  13. package/types/components/editor/index.d.ts +1 -3
  14. package/types/components/regions/actions.d.ts +2 -33
  15. package/types/components/regions/apps.d.ts +2 -33
  16. package/types/components/regions/brand.d.ts +2 -33
  17. package/types/components/regions/index.d.ts +10 -258
  18. package/types/components/regions/preview.d.ts +2 -33
  19. package/types/components/regions/settings.d.ts +2 -33
  20. package/types/components/regions/status.d.ts +2 -33
  21. package/types/components/regions/toolbar.d.ts +2 -33
  22. package/types/components/regions/workspace.d.ts +2 -33
  23. package/types/components/setters/function.d.ts +2 -46
  24. package/types/components/setters/index.d.ts +14 -90
  25. package/types/components/setters/json.d.ts +2 -46
  26. package/types/components/setters/vanIcon/iconName.d.ts +2 -0
  27. package/types/components/setters/vanIcon/index.d.ts +16 -0
  28. package/types/components/shared/binder.d.ts +3 -552
  29. package/types/components/skeleton.d.ts +2 -180
  30. package/types/components/widgets/apis/form.d.ts +2 -1520
  31. package/types/components/widgets/css/index.d.ts +2 -46
  32. package/types/components/widgets/designer/index.d.ts +1 -4
  33. package/types/components/widgets/docs/index.d.ts +2 -101
  34. package/types/components/widgets/index.d.ts +8 -339
  35. package/types/components/widgets/market/index.d.ts +2 -101
  36. package/types/components/widgets/previewer/index.d.ts +1 -4
  37. package/types/components/widgets/raw/index.d.ts +2 -46
  38. package/types/components/widgets/schema/index.d.ts +2 -46
  39. package/types/components/widgets/scripts/group.d.ts +4 -650
  40. package/types/components/widgets/scripts/lifeCycles.d.ts +2 -46
  41. package/types/components/widgets/style/JsonMode.d.ts +2 -46
  42. package/types/components/widgets/style/positioning.d.ts +1 -3
  43. package/types/components/widgets/style/spacing-input.d.ts +2 -255
  44. package/types/components/widgets/style/spacing.d.ts +1 -4
  45. package/types/version.d.ts +2 -2
  46. package/dist/html.worker-B83UVBG6.js +0 -25
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -7,36 +7,5 @@ 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, {
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>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
11
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -7,36 +7,5 @@ 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, {
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>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
11
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -8,36 +8,5 @@ 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, {
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>;
11
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
43
12
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -9,36 +9,5 @@ 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, {
13
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
14
- region: {
15
- type: PropType<RegionType>;
16
- required: true;
17
- };
18
- widget: {
19
- type: PropType<Widget>;
20
- required: true;
21
- };
22
- }>> & Readonly<{}>, {
23
- widgetRef: Ref<any, any>;
24
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
25
- P: {};
26
- B: {};
27
- D: {};
28
- C: {};
29
- M: {};
30
- Defaults: {};
31
- }, Readonly< ExtractPropTypes<{
32
- region: {
33
- type: PropType<RegionType>;
34
- required: true;
35
- };
36
- widget: {
37
- type: PropType<Widget>;
38
- required: true;
39
- };
40
- }>> & Readonly<{}>, {
41
- widgetRef: Ref<any, any>;
42
- }, {}, {}, {}, {}> | null)[];
43
- }, any>;
12
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
44
13
  export default _default;
@@ -1,6 +1,5 @@
1
1
  import { JSFunction } from '@vtj/core';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { Props } from '../editor/Editor';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  export interface Props {
5
4
  modelValue?: JSFunction;
6
5
  }
@@ -10,48 +9,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
10
9
  onChange?: ((...args: any[]) => any) | undefined;
11
10
  }>, {
12
11
  modelValue: JSFunction;
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>;
12
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
57
13
  export default _default;
@@ -1,10 +1,9 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { Props } from './expression';
3
3
  import { Props } from './select';
4
4
  import { Props } from './number';
5
5
  import { Props } from './icon';
6
6
  import { Props } from './json';
7
- import { Props } from '../editor/Editor';
8
7
  import { Props } from './function';
9
8
  import { JSFunction } from '@vtj/core';
10
9
  import { Props } from './radio';
@@ -14,6 +13,7 @@ import { Props } from './image';
14
13
  import { Props } from './section';
15
14
  import { Props } from './slider';
16
15
  import { Props } from './file';
16
+ import { Props } from './vanIcon/index';
17
17
  export declare const setters: {
18
18
  StringSetter: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
19
19
  BooleanSetter: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -51,100 +51,14 @@ export declare const setters: {
51
51
  }>, {
52
52
  type: "Array" | "Object" | "JSON";
53
53
  modelValue: any;
54
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
55
- codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
56
- onBlur?: ((...args: any[]) => any) | undefined;
57
- onChange?: ((...args: any[]) => any) | undefined;
58
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
59
- }>, {
60
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
61
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
62
- blur: (...args: any[]) => void;
63
- change: (...args: any[]) => void;
64
- "update:modelValue": (...args: any[]) => void;
65
- }, PublicProps, {
66
- height: string;
67
- modelValue: string;
68
- dark: boolean;
69
- readonly: boolean;
70
- options: import("monaco-editor").editor.IEditorConstructionOptions;
71
- lang: string;
72
- minimap: boolean;
73
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
74
- container: HTMLDivElement;
75
- }, HTMLDivElement, ComponentProvideOptions, {
76
- P: {};
77
- B: {};
78
- D: {};
79
- C: {};
80
- M: {};
81
- Defaults: {};
82
- }, Readonly< Props> & Readonly<{
83
- onBlur?: ((...args: any[]) => any) | undefined;
84
- onChange?: ((...args: any[]) => any) | undefined;
85
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
86
- }>, {
87
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
88
- }, {}, {}, {}, {
89
- height: string;
90
- modelValue: string;
91
- dark: boolean;
92
- readonly: boolean;
93
- options: import("monaco-editor").editor.IEditorConstructionOptions;
94
- lang: string;
95
- minimap: boolean;
96
- }> | null;
97
- }, HTMLDivElement>;
54
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
98
55
  FunctionSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
99
56
  change: (...args: any[]) => void;
100
57
  }, string, PublicProps, Readonly< Props> & Readonly<{
101
58
  onChange?: ((...args: any[]) => any) | undefined;
102
59
  }>, {
103
60
  modelValue: JSFunction;
104
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
105
- codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
106
- onBlur?: ((...args: any[]) => any) | undefined;
107
- onChange?: ((...args: any[]) => any) | undefined;
108
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
109
- }>, {
110
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
111
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
112
- blur: (...args: any[]) => void;
113
- change: (...args: any[]) => void;
114
- "update:modelValue": (...args: any[]) => void;
115
- }, PublicProps, {
116
- height: string;
117
- modelValue: string;
118
- dark: boolean;
119
- readonly: boolean;
120
- options: import("monaco-editor").editor.IEditorConstructionOptions;
121
- lang: string;
122
- minimap: boolean;
123
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
124
- container: HTMLDivElement;
125
- }, HTMLDivElement, ComponentProvideOptions, {
126
- P: {};
127
- B: {};
128
- D: {};
129
- C: {};
130
- M: {};
131
- Defaults: {};
132
- }, Readonly< Props> & Readonly<{
133
- onBlur?: ((...args: any[]) => any) | undefined;
134
- onChange?: ((...args: any[]) => any) | undefined;
135
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
136
- }>, {
137
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
138
- }, {}, {}, {}, {
139
- height: string;
140
- modelValue: string;
141
- dark: boolean;
142
- readonly: boolean;
143
- options: import("monaco-editor").editor.IEditorConstructionOptions;
144
- lang: string;
145
- minimap: boolean;
146
- }> | null;
147
- }, HTMLDivElement>;
61
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
148
62
  RadioSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
149
63
  options: {
150
64
  label: string;
@@ -202,4 +116,14 @@ export declare const setters: {
202
116
  onChange?: ((...args: any[]) => any) | undefined;
203
117
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
204
118
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
119
+ VanIconSetter: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
120
+ change: (...args: any[]) => void;
121
+ "update:modelValue": (...args: any[]) => void;
122
+ }, string, PublicProps, Readonly< Props> & Readonly<{
123
+ onChange?: ((...args: any[]) => any) | undefined;
124
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
125
+ }>, {
126
+ size: "small" | "large" | "default" | "";
127
+ modelValue: string;
128
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
205
129
  };
@@ -1,5 +1,4 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
2
- import { Props } from '../editor/Editor';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
2
  export interface Props {
4
3
  modelValue?: any;
5
4
  type?: 'Array' | 'Object' | 'JSON';
@@ -11,48 +10,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
11
10
  }>, {
12
11
  type: "Array" | "Object" | "JSON";
13
12
  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>;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
58
14
  export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: string[];
2
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export interface Props {
3
+ modelValue?: string;
4
+ size?: 'small' | 'large' | 'default' | '';
5
+ }
6
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
+ change: (...args: any[]) => void;
8
+ "update:modelValue": (...args: any[]) => void;
9
+ }, string, PublicProps, Readonly<Props> & Readonly<{
10
+ onChange?: ((...args: any[]) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
12
+ }>, {
13
+ size: "small" | "large" | "default" | "";
14
+ modelValue: string;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;