@vtj/designer 0.10.5 → 0.10.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 (59) hide show
  1. package/dist/index.mjs +4 -4
  2. package/package.json +7 -7
  3. package/types/components/binders/event.d.ts +2 -46
  4. package/types/components/binders/variable.d.ts +2 -46
  5. package/types/components/editor/Editor.d.ts +1 -3
  6. package/types/components/editor/index.d.ts +1 -3
  7. package/types/components/regions/actions.d.ts +2 -33
  8. package/types/components/regions/apps.d.ts +2 -33
  9. package/types/components/regions/brand.d.ts +2 -33
  10. package/types/components/regions/empty.d.ts +1 -1
  11. package/types/components/regions/index.d.ts +11 -259
  12. package/types/components/regions/preview.d.ts +2 -33
  13. package/types/components/regions/settings.d.ts +2 -33
  14. package/types/components/regions/status.d.ts +2 -33
  15. package/types/components/regions/toolbar.d.ts +2 -33
  16. package/types/components/regions/workspace.d.ts +2 -33
  17. package/types/components/setters/css.d.ts +2 -46
  18. package/types/components/setters/file.d.ts +1 -1
  19. package/types/components/setters/function.d.ts +2 -46
  20. package/types/components/setters/icon.d.ts +1 -1
  21. package/types/components/setters/index.d.ts +10 -140
  22. package/types/components/setters/json.d.ts +2 -46
  23. package/types/components/setters/section.d.ts +1 -1
  24. package/types/components/setters/slider.d.ts +1 -1
  25. package/types/components/setters/tag.d.ts +1 -1
  26. package/types/components/setters/vanIcon/index.d.ts +1 -1
  27. package/types/components/shared/binder.d.ts +70 -742
  28. package/types/components/shared/box.d.ts +45 -13
  29. package/types/components/shared/item.d.ts +143 -13
  30. package/types/components/shared/panel.d.ts +72 -15
  31. package/types/components/shared/tabs.d.ts +37 -13
  32. package/types/components/shared/viewer.d.ts +2 -766
  33. package/types/components/shared/viewport.d.ts +29 -13
  34. package/types/components/skeleton.d.ts +2 -180
  35. package/types/components/widgets/about/index.d.ts +1 -1
  36. package/types/components/widgets/actions/coder.d.ts +1 -1
  37. package/types/components/widgets/actions/index.d.ts +1 -1
  38. package/types/components/widgets/apis/base-info.d.ts +1 -1
  39. package/types/components/widgets/apis/form.d.ts +2 -1520
  40. package/types/components/widgets/apis/jsonp-options.d.ts +1 -1
  41. package/types/components/widgets/apis/mock-template.d.ts +1 -1
  42. package/types/components/widgets/apis/request-settings.d.ts +1 -1
  43. package/types/components/widgets/css/index.d.ts +2 -46
  44. package/types/components/widgets/designer/actions.d.ts +1 -1
  45. package/types/components/widgets/designer/index.d.ts +1 -4
  46. package/types/components/widgets/docs/index.d.ts +2 -101
  47. package/types/components/widgets/empty/index.d.ts +1 -1
  48. package/types/components/widgets/index.d.ts +11 -342
  49. package/types/components/widgets/market/index.d.ts +2 -101
  50. package/types/components/widgets/previewer/index.d.ts +1 -4
  51. package/types/components/widgets/raw/index.d.ts +2 -46
  52. package/types/components/widgets/schema/index.d.ts +2 -46
  53. package/types/components/widgets/scripts/group.d.ts +51 -983
  54. package/types/components/widgets/scripts/lifeCycles.d.ts +2 -46
  55. package/types/components/widgets/style/JsonMode.d.ts +2 -46
  56. package/types/components/widgets/style/positioning.d.ts +1 -3
  57. package/types/components/widgets/style/spacing-input.d.ts +2 -255
  58. package/types/components/widgets/style/spacing.d.ts +1 -4
  59. package/types/version.d.ts +2 -2
@@ -1,3 +1,3 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
3
  export default _default;
@@ -1,47 +1,3 @@
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>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
47
3
  export default _default;
@@ -15,5 +15,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
15
15
  onAction?: ((...args: any[]) => any) | undefined;
16
16
  }>, {
17
17
  path: Array<NodeModel | BlockModel>;
18
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
19
  export default _default;
@@ -3,8 +3,5 @@ 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, {
7
- container: HTMLDivElement;
8
- iframe: HTMLIFrameElement;
9
- }, any>;
6
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
10
7
  export default _default;
@@ -1,7 +1,4 @@
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';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
2
  export interface Props {
6
3
  url?: string;
7
4
  }
@@ -10,101 +7,5 @@ declare const _default: DefineComponent<Props, {
10
7
  reload: () => void;
11
8
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
12
9
  url: string;
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>;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
110
11
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
3
  export default _default;
@@ -1,21 +1,17 @@
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';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, Ref, ComputedRef } 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';
7
6
  import { Props } from './style/index';
8
7
  import { Props } from './previewer/index';
9
8
  import { Props } from './docs/index';
10
- import { ActionMenuItem } from '@vtj/ui';
11
- import { Props } from '../shared/panel';
12
- import { OnCleanup } from '@vue/reactivity';
13
9
  import { Props } from './about/index';
14
10
  export declare const widgets: {
15
11
  Logo: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
16
12
  text: string;
17
13
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
- EmptyWidget: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
14
+ EmptyWidget: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
19
15
  Switcher: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
16
  click: (...args: any[]) => void;
21
17
  }, string, PublicProps, Readonly<{}> & Readonly<{
@@ -26,8 +22,8 @@ export declare const widgets: {
26
22
  outline: Ref<boolean, boolean>;
27
23
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
28
24
  Actions: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
29
- coder: boolean;
30
25
  onlyPublishTemplate: boolean;
26
+ coder: boolean;
31
27
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
32
28
  Pages: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
33
29
  Blocks: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -39,360 +35,33 @@ export declare const widgets: {
39
35
  Designer: DefineComponent<{}, {
40
36
  designer: ComputedRef< Designer | null>;
41
37
  mode: ComputedRef<any>;
42
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
43
- container: HTMLDivElement;
44
- iframe: HTMLIFrameElement;
45
- }, any>;
38
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
46
39
  Scripts: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
47
40
  Properties: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
48
41
  Events: 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>;
42
+ Css: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
93
43
  Directives: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
94
44
  Defined: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
95
45
  DataSources: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
96
46
  Style: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
97
47
  Previewer: DefineComponent<Props, {
98
48
  refresh: () => void;
99
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
100
- container: HTMLDivElement;
101
- iframe: HTMLIFrameElement;
102
- }, HTMLDivElement>;
49
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
103
50
  NodePath: 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>;
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>;
192
53
  Docs: DefineComponent<Props, {
193
54
  refresh: () => void;
194
55
  reload: () => void;
195
56
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
196
57
  url: string;
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>;
294
- About: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
58
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
59
+ About: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
295
60
  ProjectConfig: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
296
61
  UniConfig: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
297
62
  Market: DefineComponent<{}, {
298
63
  openDesigner: () => void;
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
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
396
65
  Templates: DefineComponent<{}, {
397
66
  refreshTemplates: () => void;
398
67
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;