@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.
- package/dist/{Editor-Cp9Sb2ni.js → Editor-BFm57YMW.js} +6 -6
- package/dist/{css.worker-DcQjDQkA.js → css.worker-DhE07keG.js} +17 -17
- package/dist/{editor.worker-lG8NyUhA.js → editor.worker-DKpUct5n.js} +1 -1
- package/dist/html.worker-C5hxLCyX.js +25 -0
- package/dist/index.mjs +2812 -2421
- package/dist/{json.worker-Cz3wPAlQ.js → json.worker-DCDqLFYI.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{ts.worker-C2xNNmKz.js → ts.worker-D9KUThWN.js} +168 -168
- package/package.json +6 -6
- package/types/components/binders/event.d.ts +2 -46
- package/types/components/binders/variable.d.ts +2 -46
- package/types/components/editor/Editor.d.ts +1 -3
- package/types/components/editor/index.d.ts +1 -3
- package/types/components/regions/actions.d.ts +2 -33
- package/types/components/regions/apps.d.ts +2 -33
- package/types/components/regions/brand.d.ts +2 -33
- package/types/components/regions/index.d.ts +10 -258
- package/types/components/regions/preview.d.ts +2 -33
- package/types/components/regions/settings.d.ts +2 -33
- package/types/components/regions/status.d.ts +2 -33
- package/types/components/regions/toolbar.d.ts +2 -33
- package/types/components/regions/workspace.d.ts +2 -33
- package/types/components/setters/function.d.ts +2 -46
- package/types/components/setters/index.d.ts +14 -90
- package/types/components/setters/json.d.ts +2 -46
- package/types/components/setters/vanIcon/iconName.d.ts +2 -0
- package/types/components/setters/vanIcon/index.d.ts +16 -0
- package/types/components/shared/binder.d.ts +3 -552
- package/types/components/skeleton.d.ts +2 -180
- package/types/components/widgets/apis/form.d.ts +2 -1520
- package/types/components/widgets/css/index.d.ts +2 -46
- package/types/components/widgets/designer/index.d.ts +1 -4
- package/types/components/widgets/docs/index.d.ts +2 -101
- package/types/components/widgets/index.d.ts +8 -339
- package/types/components/widgets/market/index.d.ts +2 -101
- package/types/components/widgets/previewer/index.d.ts +1 -4
- package/types/components/widgets/raw/index.d.ts +2 -46
- package/types/components/widgets/schema/index.d.ts +2 -46
- package/types/components/widgets/scripts/group.d.ts +4 -650
- package/types/components/widgets/scripts/lifeCycles.d.ts +2 -46
- package/types/components/widgets/style/JsonMode.d.ts +2 -46
- package/types/components/widgets/style/positioning.d.ts +1 -3
- package/types/components/widgets/style/spacing-input.d.ts +2 -255
- package/types/components/widgets/style/spacing.d.ts +1 -4
- package/types/version.d.ts +2 -2
- package/dist/html.worker-B83UVBG6.js +0 -25
@@ -1,104 +1,5 @@
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions
|
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
|
declare const _default: DefineComponent<{}, {
|
6
3
|
openDesigner: () => void;
|
7
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
8
|
-
panel: ({
|
9
|
-
$: ComponentInternalInstance;
|
10
|
-
$data: {};
|
11
|
-
$props: {
|
12
|
-
readonly title?: string | undefined;
|
13
|
-
readonly subtitle?: string | undefined;
|
14
|
-
readonly plus?: boolean | undefined;
|
15
|
-
readonly refresh?: boolean | undefined;
|
16
|
-
readonly back?: boolean | undefined;
|
17
|
-
readonly edit?: boolean | undefined;
|
18
|
-
readonly remove?: boolean | undefined;
|
19
|
-
readonly save?: boolean | undefined;
|
20
|
-
readonly header?: boolean | undefined;
|
21
|
-
readonly collapsable?: boolean | undefined;
|
22
|
-
readonly menus?: ActionMenuItem[] | undefined;
|
23
|
-
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
24
|
-
readonly onRefresh?: ((...args: any[]) => any) | undefined;
|
25
|
-
readonly onPlus?: ((...args: any[]) => any) | undefined;
|
26
|
-
readonly onBack?: ((...args: any[]) => any) | undefined;
|
27
|
-
readonly onEdit?: ((...args: any[]) => any) | undefined;
|
28
|
-
readonly onRemove?: ((...args: any[]) => any) | undefined;
|
29
|
-
readonly onSave?: ((...args: any[]) => any) | undefined;
|
30
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
31
|
-
$attrs: {
|
32
|
-
[x: string]: unknown;
|
33
|
-
};
|
34
|
-
$refs: {
|
35
|
-
[x: string]: unknown;
|
36
|
-
};
|
37
|
-
$slots: Readonly<{
|
38
|
-
[name: string]: Slot<any> | undefined;
|
39
|
-
}>;
|
40
|
-
$root: ComponentPublicInstance | null;
|
41
|
-
$parent: ComponentPublicInstance | null;
|
42
|
-
$host: Element | null;
|
43
|
-
$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);
|
44
|
-
$el: any;
|
45
|
-
$options: ComponentOptionsBase<Readonly< Props> & Readonly<{
|
46
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
47
|
-
onRefresh?: ((...args: any[]) => any) | undefined;
|
48
|
-
onPlus?: ((...args: any[]) => any) | undefined;
|
49
|
-
onBack?: ((...args: any[]) => any) | undefined;
|
50
|
-
onEdit?: ((...args: any[]) => any) | undefined;
|
51
|
-
onRemove?: ((...args: any[]) => any) | undefined;
|
52
|
-
onSave?: ((...args: any[]) => any) | undefined;
|
53
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
54
|
-
command: (...args: any[]) => void;
|
55
|
-
refresh: (...args: any[]) => void;
|
56
|
-
plus: (...args: any[]) => void;
|
57
|
-
back: (...args: any[]) => void;
|
58
|
-
edit: (...args: any[]) => void;
|
59
|
-
remove: (...args: any[]) => void;
|
60
|
-
save: (...args: any[]) => void;
|
61
|
-
}, string, {
|
62
|
-
header: boolean;
|
63
|
-
menus: ActionMenuItem[];
|
64
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
65
|
-
beforeCreate?: (() => void) | (() => void)[];
|
66
|
-
created?: (() => void) | (() => void)[];
|
67
|
-
beforeMount?: (() => void) | (() => void)[];
|
68
|
-
mounted?: (() => void) | (() => void)[];
|
69
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
70
|
-
updated?: (() => void) | (() => void)[];
|
71
|
-
activated?: (() => void) | (() => void)[];
|
72
|
-
deactivated?: (() => void) | (() => void)[];
|
73
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
74
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
75
|
-
destroyed?: (() => void) | (() => void)[];
|
76
|
-
unmounted?: (() => void) | (() => void)[];
|
77
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
78
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
79
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
80
|
-
};
|
81
|
-
$forceUpdate: () => void;
|
82
|
-
$nextTick: nextTick;
|
83
|
-
$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;
|
84
|
-
} & Readonly<{
|
85
|
-
header: boolean;
|
86
|
-
menus: ActionMenuItem[];
|
87
|
-
}> & Omit<Readonly< Props> & Readonly<{
|
88
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
89
|
-
onRefresh?: ((...args: any[]) => any) | undefined;
|
90
|
-
onPlus?: ((...args: any[]) => any) | undefined;
|
91
|
-
onBack?: ((...args: any[]) => any) | undefined;
|
92
|
-
onEdit?: ((...args: any[]) => any) | undefined;
|
93
|
-
onRemove?: ((...args: any[]) => any) | undefined;
|
94
|
-
onSave?: ((...args: any[]) => any) | undefined;
|
95
|
-
}>, "header" | "menus"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
96
|
-
$slots: {
|
97
|
-
actions?(_: {}): any;
|
98
|
-
default?(_: {}): any;
|
99
|
-
footer?(_: {}): any;
|
100
|
-
};
|
101
|
-
}) | null;
|
102
|
-
frame: HTMLIFrameElement;
|
103
|
-
}, any>;
|
4
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
104
5
|
export default _default;
|
@@ -5,8 +5,5 @@ export interface Props {
|
|
5
5
|
}
|
6
6
|
declare const _default: DefineComponent<Props, {
|
7
7
|
refresh: () => void;
|
8
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
9
|
-
container: HTMLDivElement;
|
10
|
-
iframe: HTMLIFrameElement;
|
11
|
-
}, HTMLDivElement>;
|
8
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
12
9
|
export default _default;
|
@@ -1,47 +1,3 @@
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions
|
2
|
-
|
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;
|
@@ -1,47 +1,3 @@
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions
|
2
|
-
|
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;
|