@gct-paas/design 0.1.6-dev.2 → 0.1.6-dev.4
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/es/index.mjs
CHANGED
|
@@ -91,7 +91,7 @@ import { DesignNode } from "./data/design-node/design-node.mjs";
|
|
|
91
91
|
import { DesignContainerNode } from "./data/design-container-node/design-container-node.mjs";
|
|
92
92
|
import { DesignEditorNode } from "./data/design-editor-node/design-editor-node.mjs";
|
|
93
93
|
import "./data/index.mjs";
|
|
94
|
-
import { nodeContainerProps, nodeEditorProps, nodeProps } from "./props/
|
|
94
|
+
import { nodeContainerProps, nodeEditorProps, nodeProps } from "./props/design-plugin-props.mjs";
|
|
95
95
|
import { NodeBaseProvider } from "./provider/node-base/node-base.provider.mjs";
|
|
96
96
|
import { DesignEditorNodeProvider } from "./provider/design-editor-node/design-editor-node.provider.mjs";
|
|
97
97
|
import "./provider/index.mjs";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { IDesignEditorNode, IDesignNode } from '@gct-paas/schema';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* 节点类型组件输入参数
|
|
5
|
+
*/
|
|
6
|
+
export declare const nodeProps: {
|
|
7
|
+
readonly count: {
|
|
8
|
+
readonly type: NumberConstructor;
|
|
9
|
+
readonly required: true;
|
|
10
|
+
};
|
|
11
|
+
readonly data: {
|
|
12
|
+
readonly type: PropType<IDesignNode>;
|
|
13
|
+
readonly required: true;
|
|
14
|
+
readonly default: () => {};
|
|
15
|
+
};
|
|
16
|
+
readonly parent: {
|
|
17
|
+
readonly type: PropType<IDesignNode>;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 容器类型组件输入参数
|
|
22
|
+
*/
|
|
23
|
+
export declare const nodeContainerProps: {
|
|
24
|
+
readonly count: {
|
|
25
|
+
readonly type: NumberConstructor;
|
|
26
|
+
readonly required: true;
|
|
27
|
+
};
|
|
28
|
+
readonly data: {
|
|
29
|
+
readonly type: PropType<IDesignNode>;
|
|
30
|
+
readonly required: true;
|
|
31
|
+
};
|
|
32
|
+
readonly children: {
|
|
33
|
+
readonly type: PropType<IDesignNode[]>;
|
|
34
|
+
readonly default: () => never[];
|
|
35
|
+
};
|
|
36
|
+
readonly parent: {
|
|
37
|
+
readonly type: PropType<IDesignNode>;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* 设计编辑器节点输入参数
|
|
42
|
+
*/
|
|
43
|
+
export declare const nodeEditorProps: {
|
|
44
|
+
readonly count: {
|
|
45
|
+
readonly type: NumberConstructor;
|
|
46
|
+
readonly required: true;
|
|
47
|
+
};
|
|
48
|
+
readonly data: {
|
|
49
|
+
readonly type: PropType<IDesignEditorNode>;
|
|
50
|
+
readonly required: true;
|
|
51
|
+
readonly default: () => {};
|
|
52
|
+
};
|
|
53
|
+
readonly field: {
|
|
54
|
+
readonly type: PropType<IObject>;
|
|
55
|
+
readonly required: true;
|
|
56
|
+
};
|
|
57
|
+
readonly value: {
|
|
58
|
+
readonly type: PropType<any>;
|
|
59
|
+
readonly default: "";
|
|
60
|
+
};
|
|
61
|
+
readonly parent: {
|
|
62
|
+
readonly type: PropType<IDesignNode>;
|
|
63
|
+
};
|
|
64
|
+
};
|
package/es/props/index.d.ts
CHANGED
|
@@ -1,64 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
/**
|
|
4
|
-
* 节点类型组件输入参数
|
|
5
|
-
*/
|
|
6
|
-
export declare const nodeProps: {
|
|
7
|
-
readonly count: {
|
|
8
|
-
readonly type: NumberConstructor;
|
|
9
|
-
readonly required: true;
|
|
10
|
-
};
|
|
11
|
-
readonly data: {
|
|
12
|
-
readonly type: PropType<IDesignNode>;
|
|
13
|
-
readonly required: true;
|
|
14
|
-
readonly default: () => {};
|
|
15
|
-
};
|
|
16
|
-
readonly parent: {
|
|
17
|
-
readonly type: PropType<IDesignNode>;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* 容器类型组件输入参数
|
|
22
|
-
*/
|
|
23
|
-
export declare const nodeContainerProps: {
|
|
24
|
-
readonly count: {
|
|
25
|
-
readonly type: NumberConstructor;
|
|
26
|
-
readonly required: true;
|
|
27
|
-
};
|
|
28
|
-
readonly data: {
|
|
29
|
-
readonly type: PropType<IDesignNode>;
|
|
30
|
-
readonly required: true;
|
|
31
|
-
};
|
|
32
|
-
readonly children: {
|
|
33
|
-
readonly type: PropType<IDesignNode[]>;
|
|
34
|
-
readonly default: () => never[];
|
|
35
|
-
};
|
|
36
|
-
readonly parent: {
|
|
37
|
-
readonly type: PropType<IDesignNode>;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* 设计编辑器节点输入参数
|
|
42
|
-
*/
|
|
43
|
-
export declare const nodeEditorProps: {
|
|
44
|
-
count: {
|
|
45
|
-
type: NumberConstructor;
|
|
46
|
-
required: boolean;
|
|
47
|
-
};
|
|
48
|
-
data: {
|
|
49
|
-
type: PropType<IDesignEditorNode>;
|
|
50
|
-
required: boolean;
|
|
51
|
-
default: () => {};
|
|
52
|
-
};
|
|
53
|
-
field: {
|
|
54
|
-
type: ObjectConstructor;
|
|
55
|
-
required: boolean;
|
|
56
|
-
};
|
|
57
|
-
value: {
|
|
58
|
-
type: PropType<any>;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
parent: {
|
|
62
|
-
type: PropType<IDesignNode>;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
1
|
+
export * from './design-plugin-props';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/design",
|
|
3
|
-
"version": "0.1.6-dev.
|
|
3
|
+
"version": "0.1.6-dev.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台设计界面底包",
|
|
6
6
|
"loader": "dist/loader.esm.min.js",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"react-dnd-html5-backend": "^16.0.1",
|
|
52
52
|
"vue": "^3.5.30",
|
|
53
53
|
"vue3-dnd": "^2.1.0",
|
|
54
|
-
"@gct-paas/core
|
|
55
|
-
"@gct-paas/schema": "0.1.6-dev.
|
|
56
|
-
"@gct-paas/
|
|
57
|
-
"@gct-paas/
|
|
54
|
+
"@gct-paas/core": "0.1.6-dev.4",
|
|
55
|
+
"@gct-paas/schema": "0.1.6-dev.4",
|
|
56
|
+
"@gct-paas/core-web": "0.1.6-dev.4",
|
|
57
|
+
"@gct-paas/scss": "0.1.6-dev.4"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/babel__core": "^7.20.5",
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@gct-paas/api": "^0.1.4-dev.4",
|
|
66
66
|
"vue": ">=3",
|
|
67
|
-
"@gct-paas/core": "0.1.6-dev.
|
|
68
|
-
"@gct-paas/
|
|
69
|
-
"@gct-paas/
|
|
70
|
-
"@gct-paas/schema": "0.1.6-dev.
|
|
67
|
+
"@gct-paas/core": "0.1.6-dev.4",
|
|
68
|
+
"@gct-paas/core-web": "0.1.6-dev.4",
|
|
69
|
+
"@gct-paas/scss": "0.1.6-dev.4",
|
|
70
|
+
"@gct-paas/schema": "0.1.6-dev.4"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"dev": "cross-env NODE_ENV=development vite build --watch --config vite.dev.config.ts",
|