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