@gct-paas/design 0.1.6-dev.25 → 0.1.6-dev.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.
@@ -99,26 +99,7 @@ export declare const pageInfo: import('vue').Ref<{
99
99
  txnPageMode?: "create" | "detail" | undefined;
100
100
  baseId?: string | undefined;
101
101
  } | PageInfo>;
102
- export declare const defaultPageJson: {
103
- id: string;
104
- keepAlive: boolean;
105
- pageEvents: {};
106
- pageVars: never[];
107
- widgets: never[];
108
- js: string;
109
- css: string;
110
- modals: never[];
111
- globalEvents: {};
112
- permissions: {};
113
- plugins: never[];
114
- style: {};
115
- pageConfig: {
116
- title: string;
117
- i18n: {};
118
- hasFooter: undefined;
119
- };
120
- pageLayoutMode: pageLayoutModeEnum;
121
- };
102
+ export declare const defaultPageJson: PageJson;
122
103
  /** 设计页面JSON */
123
104
  export declare const pageJson: {
124
105
  id: string;
@@ -1187,6 +1168,9 @@ export declare const pageJson: {
1187
1168
  title?: string | undefined;
1188
1169
  } | undefined;
1189
1170
  hasFooter?: boolean | undefined;
1171
+ unitType?: "px" | "%" | undefined;
1172
+ pageWidth?: number | undefined;
1173
+ independentDetailPage?: boolean | undefined;
1190
1174
  };
1191
1175
  pageVars: {
1192
1176
  id: string;
@@ -1069,6 +1069,9 @@ export declare function useDesigner(): {
1069
1069
  title?: string | undefined;
1070
1070
  } | undefined;
1071
1071
  hasFooter?: boolean | undefined;
1072
+ unitType?: "px" | "%" | undefined;
1073
+ pageWidth?: number | undefined;
1074
+ independentDetailPage?: boolean | undefined;
1072
1075
  };
1073
1076
  pageVars: {
1074
1077
  id: string;
@@ -10,19 +10,19 @@ declare const _default: {
10
10
  prop: string;
11
11
  defaultValue: string;
12
12
  codeError: string;
13
+ topBorder: string;
14
+ leftBorder: string;
15
+ bottomBorder: string;
16
+ rightBorder: string;
17
+ whole: string;
13
18
  upLeft: string;
14
19
  upRight: string;
15
20
  downLeft: string;
16
21
  downRight: string;
17
- whole: string;
18
22
  radius: string;
19
23
  bold: string;
20
24
  italic: string;
21
25
  underline: string;
22
26
  linethrough: string;
23
- topBorder: string;
24
- leftBorder: string;
25
- bottomBorder: string;
26
- rightBorder: string;
27
27
  };
28
28
  export default _default;
@@ -13,20 +13,20 @@ var pageDesigner_default = {
13
13
  prop: "属性",
14
14
  defaultValue: "默认值",
15
15
  codeError: "语法错误请检查!",
16
+ topBorder: "上边框",
17
+ leftBorder: "左边框",
18
+ bottomBorder: "下边框",
19
+ rightBorder: "右边框",
20
+ whole: "全部",
16
21
  upLeft: "左上角",
17
22
  upRight: "右上角",
18
23
  downLeft: "左下角",
19
24
  downRight: "右下角",
20
- whole: "全部",
21
25
  radius: "圆角",
22
26
  bold: "加粗",
23
27
  italic: "倾斜",
24
28
  underline: "下划线",
25
- linethrough: "删除线",
26
- topBorder: "上边框",
27
- leftBorder: "左边框",
28
- bottomBorder: "下边框",
29
- rightBorder: "右边框"
29
+ linethrough: "删除线"
30
30
  };
31
31
  //#endregion
32
32
  export { pageDesigner_exports };
@@ -65,7 +65,7 @@ var DesignerRegister = class {
65
65
  const instance = provider();
66
66
  this.providers.set(fullTag, instance);
67
67
  this.hooks.register.callSync(null, fullTag, instance);
68
- this.addComponent("gct-" + instance.schema.type, instance.component);
68
+ if (!prefix) this.addComponent("gct-" + instance.schema.type, instance.component);
69
69
  }
70
70
  /**
71
71
  * 设计器项适配器注销
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/design",
3
- "version": "0.1.6-dev.25",
3
+ "version": "0.1.6-dev.26",
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-web": "0.1.6-dev.25",
55
- "@gct-paas/schema": "0.1.6-dev.25",
56
- "@gct-paas/core": "0.1.6-dev.25",
57
- "@gct-paas/scss": "0.1.6-dev.25"
54
+ "@gct-paas/core": "0.1.6-dev.26",
55
+ "@gct-paas/core-web": "0.1.6-dev.26",
56
+ "@gct-paas/schema": "0.1.6-dev.26",
57
+ "@gct-paas/scss": "0.1.6-dev.26"
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.6-dev.14",
66
66
  "vue": ">=3",
67
- "@gct-paas/core": "0.1.6-dev.25",
68
- "@gct-paas/core-web": "0.1.6-dev.25",
69
- "@gct-paas/schema": "0.1.6-dev.25",
70
- "@gct-paas/scss": "0.1.6-dev.25"
67
+ "@gct-paas/core": "0.1.6-dev.26",
68
+ "@gct-paas/core-web": "0.1.6-dev.26",
69
+ "@gct-paas/schema": "0.1.6-dev.26",
70
+ "@gct-paas/scss": "0.1.6-dev.26"
71
71
  },
72
72
  "scripts": {
73
73
  "dev": "cross-env NODE_ENV=development vite build --watch --config vite.dev.config.ts",