super-page-designer 2.0.3 → 2.0.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.
@@ -17,7 +17,7 @@ declare const _default: import('vue').DefineComponent<{
17
17
  default: () => any[];
18
18
  };
19
19
  }>>, {
20
- events: unknown[];
21
20
  configure: Record<string, any>;
21
+ events: unknown[];
22
22
  }, {}>;
23
23
  export default _default;
@@ -1,3 +1,3 @@
1
- import { default as Design } from './components/design';
1
+ import { default as Design } from './components/design/index.ts';
2
2
 
3
3
  export { Design };
package/dist/es/style.css CHANGED
@@ -7814,6 +7814,56 @@ fieldset.amb-design-item-selected {
7814
7814
  .remove-formLabel-formContent-blankStyle > .el-form-item__content{
7815
7815
  padding-right: 0 !important;
7816
7816
  }
7817
+
7818
+ /*不显示列样式*/
7819
+ .hiddenBorder{
7820
+ border-right: solid 1px #ebebeb !important;
7821
+ border-left: solid 1px #ebebeb !important;
7822
+ background-color: #ebebeb !important;
7823
+ }
7824
+ /*选中列样式*/
7825
+ .addBorder{
7826
+ border-right: solid 1px #5893ef !important;
7827
+ border-left: solid 1px #5893ef !important;
7828
+ background-color: #5893ef !important;
7829
+ color: #FFFFFF;
7830
+ }
7831
+ .ghost {
7832
+ opacity: 0.5;
7833
+ background: #c8ebfb;
7834
+ }
7835
+
7836
+ li[data-v-7d20e187] {
7837
+ color: #333;
7838
+ }
7839
+ .context-menu[data-v-7d20e187] {
7840
+ position: fixed;
7841
+ background: #fff;
7842
+ z-index: 999;
7843
+ padding: 5px;
7844
+ margin: 0;
7845
+ margin-top: 30px;
7846
+ }
7847
+ .context-menu li[data-v-7d20e187] {
7848
+ min-width: 75px;
7849
+ height: 28px;
7850
+ line-height: 28px;
7851
+ text-align: left;
7852
+ color: #1a1a1a;
7853
+ cursor: pointer;
7854
+ }
7855
+ .context-menu li[data-v-7d20e187]:hover {
7856
+ background: #5893ef;
7857
+ color: #fff;
7858
+ }
7859
+ .context-menu[data-v-7d20e187] {
7860
+ border: 1px solid #eee;
7861
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
7862
+ border-radius: 5px;
7863
+ }
7864
+ li[data-v-7d20e187] {
7865
+ list-style-type: none;
7866
+ }
7817
7867
  .el-tree-node__content {
7818
7868
  height: 34px !important;
7819
7869
  }
@@ -8371,56 +8421,6 @@ fieldset.amb-design-item-selected {
8371
8421
  .remove-formLabel-formContent-blankStyle > .el-form-item__content{
8372
8422
  padding-right: 0 !important;
8373
8423
  }
8374
-
8375
- /*不显示列样式*/
8376
- .hiddenBorder{
8377
- border-right: solid 1px #ebebeb !important;
8378
- border-left: solid 1px #ebebeb !important;
8379
- background-color: #ebebeb !important;
8380
- }
8381
- /*选中列样式*/
8382
- .addBorder{
8383
- border-right: solid 1px #5893ef !important;
8384
- border-left: solid 1px #5893ef !important;
8385
- background-color: #5893ef !important;
8386
- color: #FFFFFF;
8387
- }
8388
- .ghost {
8389
- opacity: 0.5;
8390
- background: #c8ebfb;
8391
- }
8392
-
8393
- li[data-v-7d20e187] {
8394
- color: #333;
8395
- }
8396
- .context-menu[data-v-7d20e187] {
8397
- position: fixed;
8398
- background: #fff;
8399
- z-index: 999;
8400
- padding: 5px;
8401
- margin: 0;
8402
- margin-top: 30px;
8403
- }
8404
- .context-menu li[data-v-7d20e187] {
8405
- min-width: 75px;
8406
- height: 28px;
8407
- line-height: 28px;
8408
- text-align: left;
8409
- color: #1a1a1a;
8410
- cursor: pointer;
8411
- }
8412
- .context-menu li[data-v-7d20e187]:hover {
8413
- background: #5893ef;
8414
- color: #fff;
8415
- }
8416
- .context-menu[data-v-7d20e187] {
8417
- border: 1px solid #eee;
8418
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
8419
- border-radius: 5px;
8420
- }
8421
- li[data-v-7d20e187] {
8422
- list-style-type: none;
8423
- }
8424
8424
  .el-tree-node__content {
8425
8425
  height: 34px !important;
8426
8426
  }
@@ -13434,6 +13434,10 @@ fieldset.amb-design-item-selected {
13434
13434
  .remove-formLabel-formContent-blankStyle > .el-form-item__content{
13435
13435
  padding-right: 0 !important;
13436
13436
  }
13437
+
13438
+ [data-v-bbacb76f] .el-form-item__label{
13439
+ padding: 0;
13440
+ }
13437
13441
  .el-tree-node__content {
13438
13442
  height: 34px !important;
13439
13443
  }
@@ -13992,10 +13996,6 @@ fieldset.amb-design-item-selected {
13992
13996
  padding-right: 0 !important;
13993
13997
  }
13994
13998
 
13995
- [data-v-bbacb76f] .el-form-item__label{
13996
- padding: 0;
13997
- }
13998
-
13999
13999
  .amb-design-attr-header[data-v-228a52e4] {
14000
14000
  position: sticky;
14001
14001
  position: -webkit-sticky;
@@ -14022,6 +14022,19 @@ fieldset.amb-design-item-selected {
14022
14022
  color: #ffffff;
14023
14023
  }
14024
14024
 
14025
+ .editorTool[data-v-24e5130d] {
14026
+ margin-left: auto;
14027
+ }
14028
+ .editorOption[data-v-24e5130d] {
14029
+ margin-right: 10px;
14030
+ cursor: pointer;
14031
+ }
14032
+ .pppp[data-v-24e5130d] {
14033
+ display: flex; /* 使用Flex布局 */
14034
+ justify-content: flex-start;
14035
+ align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
14036
+ }
14037
+
14025
14038
  .amb-design-attr-header[data-v-5458d957] {
14026
14039
  position: sticky;
14027
14040
  position: -webkit-sticky;
@@ -14060,19 +14073,6 @@ fieldset.amb-design-item-selected {
14060
14073
  color: #ffffff;
14061
14074
  }
14062
14075
 
14063
- .editorTool[data-v-24e5130d] {
14064
- margin-left: auto;
14065
- }
14066
- .editorOption[data-v-24e5130d] {
14067
- margin-right: 10px;
14068
- cursor: pointer;
14069
- }
14070
- .pppp[data-v-24e5130d] {
14071
- display: flex; /* 使用Flex布局 */
14072
- justify-content: flex-start;
14073
- align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
14074
- }
14075
-
14076
14076
  .event-item[data-v-f3d86cef] {
14077
14077
  font-size:12px;
14078
14078
  border-bottom:2px dashed #F5F6F8;
@@ -14080,6 +14080,19 @@ fieldset.amb-design-item-selected {
14080
14080
  padding-bottom:5px;
14081
14081
  }
14082
14082
 
14083
+ .seleteSort[data-v-d6967820] {
14084
+ border-radius: 5px;
14085
+ border: 1px solid rgba(88, 147, 239);
14086
+ }
14087
+
14088
+ [data-v-7a7f7d66] .el-cascader-menu {
14089
+ min-width: 120px !important;
14090
+ }
14091
+
14092
+ .input-with-select .el-input-group__append {
14093
+ background-color: var(--el-fill-color-blank);
14094
+ }
14095
+
14083
14096
  .icon-set-center-body[data-v-4aa5ce08]{
14084
14097
  display: grid;
14085
14098
  grid-template-columns:repeat(5,1fr);
@@ -14117,19 +14130,6 @@ fieldset.amb-design-item-selected {
14117
14130
  margin-bottom: 20px;
14118
14131
  }
14119
14132
 
14120
- .seleteSort[data-v-d6967820] {
14121
- border-radius: 5px;
14122
- border: 1px solid rgba(88, 147, 239);
14123
- }
14124
-
14125
- [data-v-7a7f7d66] .el-cascader-menu {
14126
- min-width: 120px !important;
14127
- }
14128
-
14129
- .input-with-select .el-input-group__append {
14130
- background-color: var(--el-fill-color-blank);
14131
- }
14132
-
14133
14133
  [data-v-4aea180c] .el-select__selection{
14134
14134
  display: inline-block;
14135
14135
  }
@@ -14139,15 +14139,6 @@ fieldset.amb-design-item-selected {
14139
14139
  border: 1px solid rgba(88, 147, 239);
14140
14140
  }
14141
14141
 
14142
- .row-backgroud-header-tittle[data-v-b203475d]{
14143
- display: flex;
14144
- justify-content: space-between;
14145
- text-align: center
14146
- }
14147
- .row-backgroud-header-tittle > div[data-v-b203475d]{
14148
- width: 100%
14149
- }
14150
-
14151
14142
  li[data-v-73667c88] {
14152
14143
  color: #333;
14153
14144
  }
@@ -14193,6 +14184,15 @@ li[data-v-73667c88] {
14193
14184
  color: #7b7b7b;
14194
14185
  }
14195
14186
 
14187
+ .row-backgroud-header-tittle[data-v-b203475d]{
14188
+ display: flex;
14189
+ justify-content: space-between;
14190
+ text-align: center
14191
+ }
14192
+ .row-backgroud-header-tittle > div[data-v-b203475d]{
14193
+ width: 100%
14194
+ }
14195
+
14196
14196
  .el-tag[data-v-665d3bf4]{
14197
14197
  margin-left: 10px;
14198
14198
  }
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
+ "type": "module",
6
7
  "main": "dist/es/index.ts",
7
8
  "files": [
8
9
  "dist/*"
@@ -35,8 +36,8 @@
35
36
  "pinia": "^2.1.7",
36
37
  "qrcode": "^1.5.3",
37
38
  "quill": "^2.0.1",
38
- "service-flow-designer": "2.0.2",
39
- "super-page-runtime": "2.0.1",
39
+ "service-flow-designer": "2.0.5",
40
+ "super-page-runtime": "2.0.4",
40
41
  "uuid": "^9.0.1",
41
42
  "vite": "^5.1.6",
42
43
  "vite-plugin-node-stdlib-browser": "^0.2.1",
@@ -77,6 +78,7 @@
77
78
  "saas": "^1.0.0",
78
79
  "sass": "^1.72.0",
79
80
  "start-server-and-test": "^2.0.3",
81
+ "vite-plugin-dts": "^3.9.1",
80
82
  "vitest": "^1.3.1",
81
83
  "vue-i18n": "^9.10.2"
82
84
  }
@@ -1,24 +0,0 @@
1
- import { Component } from './interfaces/page-design-types';
2
-
3
- /**
4
- * 深度复制
5
- * @returns
6
- */
7
- export declare function deepCopy(srcObj: any): any;
8
- /**
9
- * 获取路径的请求地址
10
- * 从Src下去获取
11
- * @param {*} url
12
- * @returns
13
- */
14
- export declare function getSrcFileUrl(url: string): string;
15
- /**
16
- * 获取UUID,去掉破折号
17
- * @returns
18
- */
19
- export declare function getUuidv4(): string;
20
- /**
21
- * 根据UUID获取页面设计对象中的组件
22
- * @returns
23
- */
24
- export declare function findDesignItemByUuid(data: any, uuid: string): Component | null;
@@ -1,23 +0,0 @@
1
- import { PageDesign } from './interfaces/page-design-types';
2
-
3
- /**
4
- * 计算页面所需的样式
5
- * @param configure
6
- * @param designStyle
7
- * @param designClass
8
- */
9
- export declare function caculatePageStyle(configure: PageDesign, designStyle: any, designClass: any): void;
10
- /**
11
- * 计算通用的样式
12
- * @param configure
13
- * @param designStyle
14
- * @param designClass
15
- */
16
- export declare function caculateCommonStyle(configure: any, designStyle: any, designClass: any): void;
17
- /**
18
- * 样式转换
19
- * @param configure
20
- * @param designStyle 动态样式名
21
- * @param designClass 动态class
22
- */
23
- export declare function caculateComponentStyle(configure: any, designStyle: any, designClass: any, designHeaderStyle: any): void;
@@ -1,29 +0,0 @@
1
- export declare function formatConditionList(conditionList: any, attributeMap: [], fieldMap: []): string;
2
- export declare function getOperators(item: object): {
3
- name: string;
4
- label: string;
5
- }[];
6
- export declare function addColumnToGroupHeaders(column: any, parentUuid: any, groupHeaders: any): void;
7
- /**
8
- * 设置字段在组合表头中的顺序
9
- * @param parentUuid
10
- * @param draggingGroupData
11
- * @param groupHeaders
12
- */
13
- export declare function setGroupHeaderDataDisplayOrder(parentUuid: any, draggingGroupData: any, groupHeaders: any): void;
14
- /**
15
- * 根据字段uuid删除组合表头
16
- * @param groupHeaders
17
- * @param columnUuid
18
- */
19
- export declare function deleteGroupHeaderByColumnUuid(groupHeaders: any, columnUuid: any): void;
20
- export declare function getTopGroupHeaderList(groupHeaders: any): any[];
21
- export declare function isLeafNode(headerCol: any, groupHeaders: any): boolean;
22
- /**
23
- * 获得子节点
24
- * @param parentUuid
25
- * @param groupHeaders
26
- * @returns
27
- */
28
- export declare function getChildrenList(parentUuid: any, groupHeaders: any): any[];
29
- export declare function getColumnsWithGroupHeader(tableConfigure: any): any[];
@@ -1,177 +0,0 @@
1
- import { Component } from './interfaces/page-design-types';
2
-
3
- /**
4
- * @description: 转换组件样式
5
- * @Date: 2024-04-18 15:26:55
6
- * @param {*}
7
- * @return {*}
8
- */
9
- export declare function caculateDetailComponentStyle(configure: any, designStyle: any, designClass: any, designHeaderStyle?: any): void;
10
- /**
11
- * @description: 转换组件属性
12
- * @Date: 2024-04-18 15:28:00
13
- * @param {*}
14
- * @return {*}
15
- */
16
- export declare function caculateComponentProps(configure: any, property: any): void;
17
- /**
18
- * 移除组件的数据源对象
19
- * @param configure
20
- */
21
- export declare function removComponentOptionConfigs(configure: Component): void;
22
- /**
23
- * @description: 转换table column样式
24
- * @Date: 2024-04-18 15:26:55
25
- * @param {*}
26
- * @return {*}
27
- */
28
- export declare function columnTittleStyle(configure: any): void;
29
- export declare function columnCustomTittleClass(configure: any): void;
30
- export declare function columnContentStyle(configure: any): void;
31
- export declare function columnContentClass(configure: any): void;
32
- export declare function setDefaultValue(baseProperty: object, setting: object): void;
33
- /**
34
- *
35
- * // pageDesign中rules的格式:
36
- // {prop1:[{
37
- // required: true,
38
- // message: 'xx必填',
39
- // label:'xx'
40
- // },
41
- // {
42
- // type: 'number',
43
- // message: 'xxx格式不匹配',
44
- // label:'xx'
45
- // },
46
- // {
47
- // pattern: '\d\',
48
- // message: 'xxx格式不匹配',
49
- // label:'xx'
50
- // }],
51
- // prop2:[{
52
- // required: true,
53
- // message: 'xxx必填',
54
- // label:'xx'
55
- // },
56
- // {
57
- // type: 'number',
58
- // message: 'xxx格式不匹配',
59
- // label:'xx'
60
- // },
61
- // {
62
- // pattern: '\d\',
63
- // message: 'xxx格式不匹配',
64
- // label:'xx'
65
- // }],
66
- // ... ...
67
- // }
68
-
69
- 必填的格式是:{
70
- // required: true,
71
- // message: 'xx必填',
72
- // label:'xx'
73
- // }
74
- * @param pageDesign
75
- * @param configure
76
- * @param isRequired
77
- */
78
- export declare function watchRequiredValidate(pageDesign: any, configure: any, isRequired: any, fieldInfo: any): void;
79
- /**
80
- *
81
- * // pageDesign中rules的格式:
82
- // {prop1:[{
83
- // required: true,
84
- // message: 'xx必填',
85
- // label:'xx'
86
- // },
87
- // {
88
- // type: 'number',
89
- // message: 'xxx格式不匹配',
90
- // label:'xx'
91
- // },
92
- // {
93
- // pattern: '\d\',
94
- // message: 'xxx格式不匹配',
95
- // label:'xx'
96
- // }],
97
- // prop2:[{
98
- // required: true,
99
- // message: 'xxx必填',
100
- // label:'xx'
101
- // },
102
- // {
103
- // type: 'number',
104
- // message: 'xxx格式不匹配',
105
- // label:'xx'
106
- // },
107
- // {
108
- // pattern: '\d\',
109
- // message: 'xxx格式不匹配',
110
- // label:'xx'
111
- // }],
112
- // ... ...
113
- // }
114
-
115
- 校验类型 的格式是: {
116
- type: 'number',
117
- message: 'xxx格式不匹配',
118
- label:'xx'
119
- }
120
- * @param pageDesign
121
- * @param configure
122
- * @param type string、integer、number、boolean、float、email、ip
123
- */
124
- export declare function watchValidateType(pageDesign: any, configure: any, type: any, fieldInfo: any): void;
125
- /**
126
- *
127
- * // pageDesign中rules的格式:
128
- // {prop1:[{
129
- // required: true,
130
- // message: 'xx必填',
131
- // label:'xx'
132
- // },
133
- // {
134
- // type: 'number',
135
- // message: 'xxx格式不匹配',
136
- // label:'xx'
137
- // },
138
- // {
139
- // pattern: '\d\',
140
- // message: 'xxx格式不匹配',
141
- // label:'xx'
142
- // }],
143
- // prop2:[{
144
- // required: true,
145
- // message: 'xxx必填',
146
- // label:'xx'
147
- // },
148
- // {
149
- // type: 'number',
150
- // message: 'xxx格式不匹配',
151
- // label:'xx'
152
- // },
153
- // {
154
- // pattern: '\d\',
155
- // message: 'xxx格式不匹配',
156
- // label:'xx'
157
- // }],
158
- // ... ...
159
- // }
160
-
161
- 正则表达式 的格式是: {
162
- pattern: '\d\',
163
- message: 'xxx格式不匹配',
164
- label:'xx'
165
- }
166
- * @param pageDesign
167
- * @param configure
168
- * @param pattern 正则表达式
169
- */
170
- export declare function watchPatternValidate(pageDesign: any, configure: any, pattern: any, fieldInfo: any): void;
171
- export declare function watchMaxOrMinValidate(pageDesign: any, configure: any, type: any, isEnable: any, value: any, fieldInfo: any): void;
172
- /**
173
- * 删除指定组件的校验规则
174
- * @param pageDesign
175
- * @param configure
176
- */
177
- export declare function deleteRule(pageDesign: any, configure: any): void;
@@ -1,264 +0,0 @@
1
- /**
2
- * 状态
3
- */
4
- export declare enum EnableStates {
5
- ENABLE = "ENABLE",
6
- DISABLE = "DISABLE"
7
- }
8
- /**
9
- * 屏幕尺寸
10
- */
11
- export declare enum PageDimensions {
12
- PC = "pc",
13
- IPAD = "ipad",
14
- PHONE = "phone"
15
- }
16
- /**
17
- * 组件对象
18
- */
19
- export interface Component extends Object {
20
- uuid: string;
21
- name: string;
22
- label: string;
23
- desc?: string;
24
- icon?: string;
25
- version?: number;
26
- releaseDate?: string;
27
- creator?: string;
28
- auditor?: string;
29
- snapshot?: string;
30
- docHref?: string;
31
- parent?: Component;
32
- items?: Component[];
33
- props?: any;
34
- style?: any;
35
- events?: ComponentEvent[];
36
- methods?: ComponentMethod[];
37
- advance?: any;
38
- runtime?: any;
39
- [otherProp: string]: any;
40
- }
41
- /**
42
- * 页面对象
43
- */
44
- export interface PageDesign extends Component {
45
- systemCode: string;
46
- systemVersion: number;
47
- code: string;
48
- dimensions?: string;
49
- tableSysCode?: string;
50
- tableSysVersion?: number;
51
- tableName: string;
52
- tableAlias: string;
53
- workflowCode: string;
54
- workflowVersion: number;
55
- variables?: CustomVariable[];
56
- logicDesigns?: object[];
57
- modelFields?: ModelField[];
58
- pagePermissions?: PagePermission[];
59
- initOptionConfigs?: Array<any>;
60
- rules?: object;
61
- tableUuids?: Array<any>;
62
- tableNames?: Array<any>;
63
- formNoRuleCode?: string;
64
- judgeHeavyList?: Array<any>;
65
- conversionCodes?: Array<any>;
66
- pageType?: string;
67
- beanName?: string;
68
- importBeanName?: string;
69
- label: string;
70
- notIdInitializationList?: Array<any>;
71
- subTablePageInfo?: object;
72
- customValidatorUuids?: Array<string>;
73
- customEvents?: Array<any>;
74
- tableRuntimes?: {
75
- [uuid: string]: object;
76
- };
77
- i18nLabels?: Array<object>;
78
- }
79
- /**
80
- * 页面资源
81
- */
82
- export interface PagePermission extends Object {
83
- uuid: string;
84
- simpleCode: string;
85
- code: string;
86
- name: string;
87
- funcType: 'AUTHENTICATED' | 'ANONYMOUS' | 'AUTHORIZED';
88
- path: string;
89
- type: 'serivce' | 'custom' | 'standard';
90
- source: 'auto' | 'custom';
91
- uuids: Array<string> | undefined;
92
- }
93
- /**
94
- * 事件对象
95
- */
96
- export interface ComponentEvent extends Object {
97
- name: string;
98
- label: string;
99
- params?: ComponentEventParam[];
100
- }
101
- /**
102
- * 事件对象
103
- */
104
- export interface ComponentEventParam extends Object {
105
- name: string;
106
- label: string;
107
- type: string;
108
- }
109
- /**
110
- * 方法对象
111
- */
112
- export interface ComponentMethod extends Object {
113
- name: string;
114
- label: string;
115
- inParams: ComponentEventParam[];
116
- outParams: ComponentEventParam[];
117
- }
118
- /**
119
- * 方法参数描述
120
- */
121
- export interface ComponentMethodParam extends Object {
122
- name: string;
123
- type: string;
124
- }
125
- /**
126
- * 自定义变量对象
127
- */
128
- export interface CustomVariable extends Object {
129
- name: string;
130
- alias: string;
131
- defaultValue?: string;
132
- isArrayElement?: boolean;
133
- items?: CustomVariable[];
134
- [otherProp: string]: any;
135
- }
136
- /**
137
- * 自定义变量对象
138
- */
139
- export interface ModelField extends Object {
140
- name: string;
141
- alias: string;
142
- dataType: string;
143
- displayOrder: number;
144
- }
145
- /**
146
- * 前端逻辑对象
147
- */
148
- export interface LogicDesign extends Object {
149
- code: string;
150
- name: string;
151
- props?: any;
152
- variables?: CustomVariable[];
153
- flow: {
154
- nodes?: LogicNode[];
155
- };
156
- triggerSource?: LogicTriggerSource[];
157
- }
158
- /**
159
- * 前端逻辑节点对象
160
- */
161
- export interface LogicNode extends Object {
162
- id: string;
163
- type: string;
164
- x: number;
165
- y: number;
166
- properties?: any;
167
- }
168
- /**
169
- * 前端逻辑节点触发来源
170
- */
171
- export interface LogicTriggerSource extends Object {
172
- assemblyIndex: number;
173
- assemblyType: string;
174
- triggerType: string;
175
- triggerName: string;
176
- }
177
- export interface ListView {
178
- code: string;
179
- name: string;
180
- totalType: string;
181
- remark: string;
182
- pagination: boolean;
183
- rowNum: number;
184
- optionalRows: string;
185
- layout: string;
186
- startQuery: string;
187
- popUp: boolean;
188
- isAdvancedQuery?: boolean;
189
- isSearchFaint?: boolean;
190
- isInitializationQuery: boolean;
191
- defaultQueryCriteria: string;
192
- queryLabelPosition: string;
193
- editable: boolean;
194
- columnWidth?: number;
195
- fieldForOrder?: string;
196
- urlToSaveOrder?: string;
197
- urlToSaveRow?: string;
198
- urlToDeleteRow?: string;
199
- urlToListData: string;
200
- isSql: boolean;
201
- customConfig: boolean;
202
- tableName: string;
203
- systemCode?: string;
204
- isDefaultListView?: boolean;
205
- totalable: boolean;
206
- defaultSortField: string;
207
- titleAlign: string;
208
- contAlign: string;
209
- /**
210
- * 显示效果
211
- * default 默认
212
- * covered 铺满
213
- */
214
- displayEffect: string;
215
- imageName?: string;
216
- imageUuid?: string;
217
- isDragColumn?: boolean;
218
- border?: boolean;
219
- i18nKey?: string;
220
- items?: any;
221
- groupHeaders?: any;
222
- configure: string;
223
- }
224
- export interface ListColumn {
225
- headerName: string;
226
- prop: string;
227
- width: number;
228
- listColumnSort: string;
229
- filterable: boolean;
230
- visible: boolean;
231
- exportable: boolean;
232
- total: boolean;
233
- listColumnFixed: string;
234
- format: string;
235
- valueSet: string;
236
- querySettingName: string;
237
- queryMatching: string;
238
- querySetting: string;
239
- editable: boolean;
240
- defaultValue: string;
241
- controlName: string;
242
- controlConfig: string;
243
- eventType: string;
244
- /**
245
- * 显示顺序,多层级关系,可能值有重复
246
- * 如有第一层级的顺序1,有第二层级的顺序1
247
- */
248
- displayOrder: number;
249
- fileSet: string;
250
- orgTreeSet: string;
251
- dynamicColumnJson: string;
252
- valueSetOptions: string;
253
- required: boolean;
254
- pattern: string;
255
- checkType: string;
256
- contAlign: string;
257
- i18nKey: string;
258
- /**
259
- * 字段类型为文本,行编辑控件类型为多选下拉框multiselect时,数据库是否存储多个值,用于控制台账查询功能
260
- * 如果是false表示数据库存储的不是多个值,只是查询时需要多个值使用“等号符号”进行or查询,
261
- * 如果是true表示数据库存储了多个值(一般是以逗号隔开),则查询时需要多个值使用“包含符号”进行or查询。
262
- */
263
- ifMultiData: boolean;
264
- }
@@ -1,7 +0,0 @@
1
- export interface Option {
2
- value: string | number | boolean;
3
- label: string;
4
- [otherProp: string]: any;
5
- }
6
- export declare const tfOptions: Option[];
7
- export declare const dataTypeOptions: Option[];
@@ -1,3 +0,0 @@
1
- export declare function queryWorkflowsRequest(tableName: any): any;
2
- export declare function createWorkflowRequest(tableName: any, pageName: any): any;
3
- export declare function getHighestVersionDefinition(wfDefinitionCode: any, defVersion: any): any;
@@ -1,14 +0,0 @@
1
- /**
2
- * 树对象定义
3
- */
4
- export interface Tree {
5
- name: string;
6
- label: string;
7
- componentIndex: number;
8
- uuid: string;
9
- children?: Tree[];
10
- }
11
- /**
12
- * 页面大纲树的管理类
13
- */
14
- export declare function convertToExploreTreeDatas(designItems: any, searchItemName: string | null, cachePageItemMap: any, eventResult: any): any;
@@ -1,36 +0,0 @@
1
- import { RemovableRef } from '@vueuse/core';
2
- import { PageDesign } from './interfaces/page-design-types';
3
-
4
- /**
5
- * 初始化页面引用对象
6
- * @param pageCode
7
- * @param pageVersion
8
- */
9
- export declare function initComponentRefState(pageDesign: PageDesign): RemovableRef<any>;
10
- /**
11
- * 添加组件引用对象
12
- * @param pageDesign 页面设计对象
13
- * @param componentIndex 对象ID
14
- * @param refObj 引用对象
15
- * @returns
16
- */
17
- export declare function addComponentRef(pageDesign: PageDesign, componentIndex: number, refObj: object): RemovableRef<any>;
18
- /**
19
- * 获取组件引用对象
20
- * @param pageDesign 页面设计对象
21
- * @param componentIndex 对象ID
22
- * @returns
23
- */
24
- export declare function getComponentRef(pageDesign: PageDesign, componentIndex: number): object | undefined;
25
- /**
26
- * 初始化页面引用对象
27
- * @param pageCode
28
- * @param pageVersion
29
- */
30
- export declare function initPageDesignState(pageDesign: PageDesign): RemovableRef<any>;
31
- /**
32
- * 获取页面设计对象
33
- * @param pageCode
34
- * @param pageVersion
35
- */
36
- export declare function getPageDesign(pageCode: string, pageVersion: number): RemovableRef<PageDesign> | null;
@@ -1,38 +0,0 @@
1
- import { Component, PageDesign } from './interfaces/page-design-types';
2
-
3
- /**
4
- * 获取可选功能类型
5
- * @returns
6
- */
7
- export declare function getFunctionTypes(): Array<any>;
8
- /**
9
- * 添加资源
10
- * @param pageDesign 页面设计对象
11
- * @param eventName 功能
12
- * @param name 资源名称
13
- * @param funcType 资源类型
14
- * @param uuid 组件UUID
15
- */
16
- export declare function addPermission(pageDesign: PageDesign, eventName: any, name: any, uuid: any): any;
17
- /**
18
- * 自动更新资源
19
- */
20
- export declare function batchUpdatePermissions(configure: Component, pageDesign: PageDesign): void;
21
- /**
22
- * 批量移除资源
23
- * @param pageDesign
24
- * @param uuid
25
- */
26
- export declare function batchRemovePermissions(pageDesign: PageDesign, uuid: any): any;
27
- /**
28
- * 删除资源
29
- * @param pageDesign 页面设计对象
30
- * @param simpleCode 简码
31
- * @param uuid 组件的uuid
32
- */
33
- export declare function delPermission(pageDesign: PageDesign, simpleCode: any, uuid: any): any;
34
- /**
35
- * 附加权限的编码、路径
36
- * @param pageDesign
37
- */
38
- export declare function appendOtherPermissionFields(pageDesign: PageDesign): void;
@@ -1,30 +0,0 @@
1
- import { Component, PageDesign } from './interfaces/page-design-types';
2
-
3
- /**
4
- * 查询表字的字段
5
- * @param systemCode
6
- * @param systemVersion
7
- * @param tableName
8
- * @returns
9
- */
10
- export declare function queryTableFields(systemCode: string, systemVersion: number, tableName: string): Promise<any>;
11
- /**
12
- * 查询表字的字段和字段map
13
- * @param systemCode
14
- * @param systemVersion
15
- * @param tableName
16
- * @returns
17
- */
18
- export declare function queryTableFieldsOrMap(systemCode: string, systemVersion: number, tableName: string): Promise<any>;
19
- /**
20
- * 查询子表
21
- * @param systemCode
22
- * @param systemVersion 数据表版本
23
- * @param publishVersion 页面版本
24
- * @returns
25
- */
26
- export declare function querySublist(systemCode: string, systemVersion: number, publishVersion: string): Promise<any>;
27
- /**
28
- * 设置tableRuntimes
29
- */
30
- export declare function setTableRuntimesFromConfigure(tableConfigure: Component, pageDesign: PageDesign): void;
@@ -1,6 +0,0 @@
1
- export declare function getSystem(): any;
2
- export declare function getSystemId(): any;
3
- export declare function getSystemCode(): any;
4
- export declare function getSystemName(): any;
5
- export declare function getPublishVersion(): any;
6
- export declare function getStandard(): any;
@@ -1,12 +0,0 @@
1
- interface Option {
2
- value: string | number | boolean;
3
- label: string;
4
- [otherProp: string]: any;
5
- }
6
- declare const contextVarOptions: Option[];
7
- declare const taskVarOptions: Option[];
8
- declare function getTypeOptions(types: Array<string>, needParams: boolean | undefined): {
9
- value: string;
10
- label: string;
11
- }[];
12
- export { contextVarOptions, taskVarOptions, getTypeOptions };
@@ -1,23 +0,0 @@
1
- interface PageContextVarOptions {
2
- [otherProp: string]: any;
3
- }
4
- export declare const usePageContextStore: import('pinia').StoreDefinition<"pageContextUtil", import('pinia')._UnwrapAll<Pick<{
5
- pageContext: any;
6
- pageContextVarOptions: import('vue').Ref<PageContextVarOptions>;
7
- setPageContext: (newPageContext: any) => void;
8
- getModelField: (fieldName: string) => any | null;
9
- getPagePermissionOptions: () => Array<any>;
10
- }, "pageContext" | "pageContextVarOptions">>, Pick<{
11
- pageContext: any;
12
- pageContextVarOptions: import('vue').Ref<PageContextVarOptions>;
13
- setPageContext: (newPageContext: any) => void;
14
- getModelField: (fieldName: string) => any | null;
15
- getPagePermissionOptions: () => Array<any>;
16
- }, "pageContext">, Pick<{
17
- pageContext: any;
18
- pageContextVarOptions: import('vue').Ref<PageContextVarOptions>;
19
- setPageContext: (newPageContext: any) => void;
20
- getModelField: (fieldName: string) => any | null;
21
- getPagePermissionOptions: () => Array<any>;
22
- }, "pageContext" | "setPageContext" | "getModelField" | "getPagePermissionOptions">>;
23
- export {};