@vtj/designer 0.9.30 → 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,3 +1,47 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { Props } from '../../editor/Editor';
3
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
4
+ editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
5
+ onBlur?: ((...args: any[]) => any) | undefined;
6
+ onChange?: ((...args: any[]) => any) | undefined;
7
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
+ }>, {
9
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ blur: (...args: any[]) => void;
12
+ change: (...args: any[]) => void;
13
+ "update:modelValue": (...args: any[]) => void;
14
+ }, PublicProps, {
15
+ height: string;
16
+ modelValue: string;
17
+ dark: boolean;
18
+ readonly: boolean;
19
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
20
+ lang: string;
21
+ minimap: boolean;
22
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
23
+ container: HTMLDivElement;
24
+ }, HTMLDivElement, ComponentProvideOptions, {
25
+ P: {};
26
+ B: {};
27
+ D: {};
28
+ C: {};
29
+ M: {};
30
+ Defaults: {};
31
+ }, Readonly< Props> & Readonly<{
32
+ onBlur?: ((...args: any[]) => any) | undefined;
33
+ onChange?: ((...args: any[]) => any) | undefined;
34
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
+ }>, {
36
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
37
+ }, {}, {}, {}, {
38
+ height: string;
39
+ modelValue: string;
40
+ dark: boolean;
41
+ readonly: boolean;
42
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
43
+ lang: string;
44
+ minimap: boolean;
45
+ }> | null;
46
+ }, any>;
3
47
  export default _default;
@@ -3,5 +3,8 @@ import { Designer } from '../../..';
3
3
  declare const _default: DefineComponent<{}, {
4
4
  designer: ComputedRef< Designer | null>;
5
5
  mode: ComputedRef<any>;
6
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
6
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
7
+ container: HTMLDivElement;
8
+ iframe: HTMLIFrameElement;
9
+ }, any>;
7
10
  export default _default;
@@ -1,4 +1,7 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import { ActionMenuItem } from '@vtj/ui';
3
+ import { Props } from '../../shared/panel';
4
+ import { OnCleanup } from '@vue/reactivity';
2
5
  export interface Props {
3
6
  url?: string;
4
7
  }
@@ -7,5 +10,101 @@ declare const _default: DefineComponent<Props, {
7
10
  reload: () => void;
8
11
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
9
12
  url: string;
10
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
14
+ panel: ({
15
+ $: ComponentInternalInstance;
16
+ $data: {};
17
+ $props: {
18
+ readonly title?: string | undefined;
19
+ readonly subtitle?: string | undefined;
20
+ readonly plus?: boolean | undefined;
21
+ readonly refresh?: boolean | undefined;
22
+ readonly back?: boolean | undefined;
23
+ readonly edit?: boolean | undefined;
24
+ readonly remove?: boolean | undefined;
25
+ readonly save?: boolean | undefined;
26
+ readonly header?: boolean | undefined;
27
+ readonly collapsable?: boolean | undefined;
28
+ readonly menus?: ActionMenuItem[] | undefined;
29
+ readonly onCommand?: ((...args: any[]) => any) | undefined;
30
+ readonly onRefresh?: ((...args: any[]) => any) | undefined;
31
+ readonly onPlus?: ((...args: any[]) => any) | undefined;
32
+ readonly onBack?: ((...args: any[]) => any) | undefined;
33
+ readonly onEdit?: ((...args: any[]) => any) | undefined;
34
+ readonly onRemove?: ((...args: any[]) => any) | undefined;
35
+ readonly onSave?: ((...args: any[]) => any) | undefined;
36
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
37
+ $attrs: {
38
+ [x: string]: unknown;
39
+ };
40
+ $refs: {
41
+ [x: string]: unknown;
42
+ };
43
+ $slots: Readonly<{
44
+ [name: string]: Slot<any> | undefined;
45
+ }>;
46
+ $root: ComponentPublicInstance | null;
47
+ $parent: ComponentPublicInstance | null;
48
+ $host: Element | null;
49
+ $emit: ((event: "command", ...args: any[]) => void) & ((event: "refresh", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
50
+ $el: any;
51
+ $options: ComponentOptionsBase<Readonly< Props> & Readonly<{
52
+ onCommand?: ((...args: any[]) => any) | undefined;
53
+ onRefresh?: ((...args: any[]) => any) | undefined;
54
+ onPlus?: ((...args: any[]) => any) | undefined;
55
+ onBack?: ((...args: any[]) => any) | undefined;
56
+ onEdit?: ((...args: any[]) => any) | undefined;
57
+ onRemove?: ((...args: any[]) => any) | undefined;
58
+ onSave?: ((...args: any[]) => any) | undefined;
59
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
60
+ command: (...args: any[]) => void;
61
+ refresh: (...args: any[]) => void;
62
+ plus: (...args: any[]) => void;
63
+ back: (...args: any[]) => void;
64
+ edit: (...args: any[]) => void;
65
+ remove: (...args: any[]) => void;
66
+ save: (...args: any[]) => void;
67
+ }, string, {
68
+ header: boolean;
69
+ menus: ActionMenuItem[];
70
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
71
+ beforeCreate?: (() => void) | (() => void)[];
72
+ created?: (() => void) | (() => void)[];
73
+ beforeMount?: (() => void) | (() => void)[];
74
+ mounted?: (() => void) | (() => void)[];
75
+ beforeUpdate?: (() => void) | (() => void)[];
76
+ updated?: (() => void) | (() => void)[];
77
+ activated?: (() => void) | (() => void)[];
78
+ deactivated?: (() => void) | (() => void)[];
79
+ beforeDestroy?: (() => void) | (() => void)[];
80
+ beforeUnmount?: (() => void) | (() => void)[];
81
+ destroyed?: (() => void) | (() => void)[];
82
+ unmounted?: (() => void) | (() => void)[];
83
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
84
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
85
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
86
+ };
87
+ $forceUpdate: () => void;
88
+ $nextTick: nextTick;
89
+ $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;
90
+ } & Readonly<{
91
+ header: boolean;
92
+ menus: ActionMenuItem[];
93
+ }> & Omit<Readonly< Props> & Readonly<{
94
+ onCommand?: ((...args: any[]) => any) | undefined;
95
+ onRefresh?: ((...args: any[]) => any) | undefined;
96
+ onPlus?: ((...args: any[]) => any) | undefined;
97
+ onBack?: ((...args: any[]) => any) | undefined;
98
+ onEdit?: ((...args: any[]) => any) | undefined;
99
+ onRemove?: ((...args: any[]) => any) | undefined;
100
+ onSave?: ((...args: any[]) => any) | undefined;
101
+ }>, "header" | "menus"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
102
+ $slots: {
103
+ actions?(_: {}): any;
104
+ default?(_: {}): any;
105
+ footer?(_: {}): any;
106
+ };
107
+ }) | null;
108
+ frame: HTMLIFrameElement;
109
+ }, any>;
11
110
  export default _default;
@@ -1,11 +1,15 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, Ref, ComputedRef } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, Ref, ComputedRef, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
2
  import { Props } from './logo/index';
3
3
  import { Props } from './toolbar/index';
4
4
  import { Props } from './actions/index';
5
5
  import { Designer } from '../..';
6
+ import { Props } from '../editor/Editor';
6
7
  import { Props } from './style/index';
7
8
  import { Props } from './previewer/index';
8
9
  import { Props } from './docs/index';
10
+ import { ActionMenuItem } from '@vtj/ui';
11
+ import { Props } from '../shared/panel';
12
+ import { OnCleanup } from '@vue/reactivity';
9
13
  import { Props } from './about/index';
10
14
  export declare const widgets: {
11
15
  Logo: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
@@ -35,32 +39,360 @@ export declare const widgets: {
35
39
  Designer: DefineComponent<{}, {
36
40
  designer: ComputedRef< Designer | null>;
37
41
  mode: ComputedRef<any>;
38
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
42
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
43
+ container: HTMLDivElement;
44
+ iframe: HTMLIFrameElement;
45
+ }, any>;
39
46
  Scripts: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
40
47
  Properties: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
41
48
  Events: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
42
- Css: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
49
+ Css: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
50
+ editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
51
+ onBlur?: ((...args: any[]) => any) | undefined;
52
+ onChange?: ((...args: any[]) => any) | undefined;
53
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
54
+ }>, {
55
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
56
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
57
+ blur: (...args: any[]) => void;
58
+ change: (...args: any[]) => void;
59
+ "update:modelValue": (...args: any[]) => void;
60
+ }, PublicProps, {
61
+ height: string;
62
+ modelValue: string;
63
+ dark: boolean;
64
+ readonly: boolean;
65
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
66
+ lang: string;
67
+ minimap: boolean;
68
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
69
+ container: HTMLDivElement;
70
+ }, HTMLDivElement, ComponentProvideOptions, {
71
+ P: {};
72
+ B: {};
73
+ D: {};
74
+ C: {};
75
+ M: {};
76
+ Defaults: {};
77
+ }, Readonly< Props> & Readonly<{
78
+ onBlur?: ((...args: any[]) => any) | undefined;
79
+ onChange?: ((...args: any[]) => any) | undefined;
80
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
81
+ }>, {
82
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
83
+ }, {}, {}, {}, {
84
+ height: string;
85
+ modelValue: string;
86
+ dark: boolean;
87
+ readonly: boolean;
88
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
89
+ lang: string;
90
+ minimap: boolean;
91
+ }> | null;
92
+ }, any>;
43
93
  Directives: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
44
94
  Defined: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
45
95
  DataSources: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
46
96
  Style: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
47
97
  Previewer: DefineComponent<Props, {
48
98
  refresh: () => void;
49
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
99
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
100
+ container: HTMLDivElement;
101
+ iframe: HTMLIFrameElement;
102
+ }, HTMLDivElement>;
50
103
  NodePath: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
51
- Schema: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
52
- Raw: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
104
+ Schema: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
105
+ editorRef: 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
+ }, any>;
148
+ Raw: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
149
+ editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
150
+ onBlur?: ((...args: any[]) => any) | undefined;
151
+ onChange?: ((...args: any[]) => any) | undefined;
152
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
153
+ }>, {
154
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
155
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
156
+ blur: (...args: any[]) => void;
157
+ change: (...args: any[]) => void;
158
+ "update:modelValue": (...args: any[]) => void;
159
+ }, PublicProps, {
160
+ height: string;
161
+ modelValue: string;
162
+ dark: boolean;
163
+ readonly: boolean;
164
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
165
+ lang: string;
166
+ minimap: boolean;
167
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
168
+ container: HTMLDivElement;
169
+ }, HTMLDivElement, ComponentProvideOptions, {
170
+ P: {};
171
+ B: {};
172
+ D: {};
173
+ C: {};
174
+ M: {};
175
+ Defaults: {};
176
+ }, Readonly< Props> & Readonly<{
177
+ onBlur?: ((...args: any[]) => any) | undefined;
178
+ onChange?: ((...args: any[]) => any) | undefined;
179
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
180
+ }>, {
181
+ getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
182
+ }, {}, {}, {}, {
183
+ height: string;
184
+ modelValue: string;
185
+ dark: boolean;
186
+ readonly: boolean;
187
+ options: import("monaco-editor").editor.IEditorConstructionOptions;
188
+ lang: string;
189
+ minimap: boolean;
190
+ }> | null;
191
+ }, any>;
53
192
  Docs: DefineComponent<Props, {
54
193
  refresh: () => void;
55
194
  reload: () => void;
56
195
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
57
196
  url: string;
58
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
197
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
198
+ panel: ({
199
+ $: ComponentInternalInstance;
200
+ $data: {};
201
+ $props: {
202
+ readonly title?: string | undefined;
203
+ readonly subtitle?: string | undefined;
204
+ readonly plus?: boolean | undefined;
205
+ readonly refresh?: boolean | undefined;
206
+ readonly back?: boolean | undefined;
207
+ readonly edit?: boolean | undefined;
208
+ readonly remove?: boolean | undefined;
209
+ readonly save?: boolean | undefined;
210
+ readonly header?: boolean | undefined;
211
+ readonly collapsable?: boolean | undefined;
212
+ readonly menus?: ActionMenuItem[] | undefined;
213
+ readonly onCommand?: ((...args: any[]) => any) | undefined;
214
+ readonly onRefresh?: ((...args: any[]) => any) | undefined;
215
+ readonly onPlus?: ((...args: any[]) => any) | undefined;
216
+ readonly onBack?: ((...args: any[]) => any) | undefined;
217
+ readonly onEdit?: ((...args: any[]) => any) | undefined;
218
+ readonly onRemove?: ((...args: any[]) => any) | undefined;
219
+ readonly onSave?: ((...args: any[]) => any) | undefined;
220
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
221
+ $attrs: {
222
+ [x: string]: unknown;
223
+ };
224
+ $refs: {
225
+ [x: string]: unknown;
226
+ };
227
+ $slots: Readonly<{
228
+ [name: string]: Slot<any> | undefined;
229
+ }>;
230
+ $root: ComponentPublicInstance | null;
231
+ $parent: ComponentPublicInstance | null;
232
+ $host: Element | null;
233
+ $emit: ((event: "command", ...args: any[]) => void) & ((event: "refresh", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
234
+ $el: any;
235
+ $options: ComponentOptionsBase<Readonly< Props> & Readonly<{
236
+ onCommand?: ((...args: any[]) => any) | undefined;
237
+ onRefresh?: ((...args: any[]) => any) | undefined;
238
+ onPlus?: ((...args: any[]) => any) | undefined;
239
+ onBack?: ((...args: any[]) => any) | undefined;
240
+ onEdit?: ((...args: any[]) => any) | undefined;
241
+ onRemove?: ((...args: any[]) => any) | undefined;
242
+ onSave?: ((...args: any[]) => any) | undefined;
243
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
244
+ command: (...args: any[]) => void;
245
+ refresh: (...args: any[]) => void;
246
+ plus: (...args: any[]) => void;
247
+ back: (...args: any[]) => void;
248
+ edit: (...args: any[]) => void;
249
+ remove: (...args: any[]) => void;
250
+ save: (...args: any[]) => void;
251
+ }, string, {
252
+ header: boolean;
253
+ menus: ActionMenuItem[];
254
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
255
+ beforeCreate?: (() => void) | (() => void)[];
256
+ created?: (() => void) | (() => void)[];
257
+ beforeMount?: (() => void) | (() => void)[];
258
+ mounted?: (() => void) | (() => void)[];
259
+ beforeUpdate?: (() => void) | (() => void)[];
260
+ updated?: (() => void) | (() => void)[];
261
+ activated?: (() => void) | (() => void)[];
262
+ deactivated?: (() => void) | (() => void)[];
263
+ beforeDestroy?: (() => void) | (() => void)[];
264
+ beforeUnmount?: (() => void) | (() => void)[];
265
+ destroyed?: (() => void) | (() => void)[];
266
+ unmounted?: (() => void) | (() => void)[];
267
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
268
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
269
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
270
+ };
271
+ $forceUpdate: () => void;
272
+ $nextTick: nextTick;
273
+ $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;
274
+ } & Readonly<{
275
+ header: boolean;
276
+ menus: ActionMenuItem[];
277
+ }> & Omit<Readonly< Props> & Readonly<{
278
+ onCommand?: ((...args: any[]) => any) | undefined;
279
+ onRefresh?: ((...args: any[]) => any) | undefined;
280
+ onPlus?: ((...args: any[]) => any) | undefined;
281
+ onBack?: ((...args: any[]) => any) | undefined;
282
+ onEdit?: ((...args: any[]) => any) | undefined;
283
+ onRemove?: ((...args: any[]) => any) | undefined;
284
+ onSave?: ((...args: any[]) => any) | undefined;
285
+ }>, "header" | "menus"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
286
+ $slots: {
287
+ actions?(_: {}): any;
288
+ default?(_: {}): any;
289
+ footer?(_: {}): any;
290
+ };
291
+ }) | null;
292
+ frame: HTMLIFrameElement;
293
+ }, any>;
59
294
  About: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
60
295
  ProjectConfig: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
296
+ UniConfig: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
61
297
  Market: DefineComponent<{}, {
62
298
  openDesigner: () => void;
63
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
299
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
300
+ panel: ({
301
+ $: ComponentInternalInstance;
302
+ $data: {};
303
+ $props: {
304
+ readonly title?: string | undefined;
305
+ readonly subtitle?: string | undefined;
306
+ readonly plus?: boolean | undefined;
307
+ readonly refresh?: boolean | undefined;
308
+ readonly back?: boolean | undefined;
309
+ readonly edit?: boolean | undefined;
310
+ readonly remove?: boolean | undefined;
311
+ readonly save?: boolean | undefined;
312
+ readonly header?: boolean | undefined;
313
+ readonly collapsable?: boolean | undefined;
314
+ readonly menus?: ActionMenuItem[] | undefined;
315
+ readonly onCommand?: ((...args: any[]) => any) | undefined;
316
+ readonly onRefresh?: ((...args: any[]) => any) | undefined;
317
+ readonly onPlus?: ((...args: any[]) => any) | undefined;
318
+ readonly onBack?: ((...args: any[]) => any) | undefined;
319
+ readonly onEdit?: ((...args: any[]) => any) | undefined;
320
+ readonly onRemove?: ((...args: any[]) => any) | undefined;
321
+ readonly onSave?: ((...args: any[]) => any) | undefined;
322
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
323
+ $attrs: {
324
+ [x: string]: unknown;
325
+ };
326
+ $refs: {
327
+ [x: string]: unknown;
328
+ };
329
+ $slots: Readonly<{
330
+ [name: string]: Slot<any> | undefined;
331
+ }>;
332
+ $root: ComponentPublicInstance | null;
333
+ $parent: ComponentPublicInstance | null;
334
+ $host: Element | null;
335
+ $emit: ((event: "command", ...args: any[]) => void) & ((event: "refresh", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
336
+ $el: any;
337
+ $options: ComponentOptionsBase<Readonly< Props> & Readonly<{
338
+ onCommand?: ((...args: any[]) => any) | undefined;
339
+ onRefresh?: ((...args: any[]) => any) | undefined;
340
+ onPlus?: ((...args: any[]) => any) | undefined;
341
+ onBack?: ((...args: any[]) => any) | undefined;
342
+ onEdit?: ((...args: any[]) => any) | undefined;
343
+ onRemove?: ((...args: any[]) => any) | undefined;
344
+ onSave?: ((...args: any[]) => any) | undefined;
345
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
346
+ command: (...args: any[]) => void;
347
+ refresh: (...args: any[]) => void;
348
+ plus: (...args: any[]) => void;
349
+ back: (...args: any[]) => void;
350
+ edit: (...args: any[]) => void;
351
+ remove: (...args: any[]) => void;
352
+ save: (...args: any[]) => void;
353
+ }, string, {
354
+ header: boolean;
355
+ menus: ActionMenuItem[];
356
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
357
+ beforeCreate?: (() => void) | (() => void)[];
358
+ created?: (() => void) | (() => void)[];
359
+ beforeMount?: (() => void) | (() => void)[];
360
+ mounted?: (() => void) | (() => void)[];
361
+ beforeUpdate?: (() => void) | (() => void)[];
362
+ updated?: (() => void) | (() => void)[];
363
+ activated?: (() => void) | (() => void)[];
364
+ deactivated?: (() => void) | (() => void)[];
365
+ beforeDestroy?: (() => void) | (() => void)[];
366
+ beforeUnmount?: (() => void) | (() => void)[];
367
+ destroyed?: (() => void) | (() => void)[];
368
+ unmounted?: (() => void) | (() => void)[];
369
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
370
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
371
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
372
+ };
373
+ $forceUpdate: () => void;
374
+ $nextTick: nextTick;
375
+ $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;
376
+ } & Readonly<{
377
+ header: boolean;
378
+ menus: ActionMenuItem[];
379
+ }> & Omit<Readonly< Props> & Readonly<{
380
+ onCommand?: ((...args: any[]) => any) | undefined;
381
+ onRefresh?: ((...args: any[]) => any) | undefined;
382
+ onPlus?: ((...args: any[]) => any) | undefined;
383
+ onBack?: ((...args: any[]) => any) | undefined;
384
+ onEdit?: ((...args: any[]) => any) | undefined;
385
+ onRemove?: ((...args: any[]) => any) | undefined;
386
+ onSave?: ((...args: any[]) => any) | undefined;
387
+ }>, "header" | "menus"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
388
+ $slots: {
389
+ actions?(_: {}): any;
390
+ default?(_: {}): any;
391
+ footer?(_: {}): any;
392
+ };
393
+ }) | null;
394
+ frame: HTMLIFrameElement;
395
+ }, any>;
64
396
  Templates: DefineComponent<{}, {
65
397
  refreshTemplates: () => void;
66
398
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;