@gct-paas/core 0.1.4-dev.8 → 0.1.4-dev.9

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.
Files changed (86) hide show
  1. package/dist/index.esm.min.mjs +3865 -1995
  2. package/dist/index.min.cjs +383 -11
  3. package/dist/index.system.min.js +383 -11
  4. package/es/constants/expression-type/BuiltOperators.d.ts +20 -0
  5. package/es/constants/expression-type/BuiltOperators.mjs +148 -0
  6. package/es/constants/expression-type/FunctionKeys.d.ts +1 -0
  7. package/es/constants/expression-type/FunctionKeys.mjs +81 -0
  8. package/es/constants/expression-type/editor.d.ts +8 -0
  9. package/es/constants/expression-type/editor.mjs +4 -0
  10. package/es/constants/expression-type/function.d.ts +7 -0
  11. package/es/constants/expression-type/function.mjs +875 -0
  12. package/es/constants/expression-type/index.d.ts +42 -0
  13. package/es/constants/expression-type/index.mjs +120 -0
  14. package/es/constants/expression-type/modeCfg.d.ts +30 -0
  15. package/es/constants/expression-type/modeCfg.mjs +268 -0
  16. package/es/constants/expression-type/variable.d.ts +12 -0
  17. package/es/constants/expression-type/variable.mjs +42 -0
  18. package/es/constants/index.d.ts +1 -0
  19. package/es/constants/index.mjs +5 -0
  20. package/es/create-app-vue.mjs +3 -10
  21. package/es/enums/appEnum.d.ts +5 -0
  22. package/es/enums/appEnum.mjs +6 -1
  23. package/es/enums/designEnum.d.ts +2 -2
  24. package/es/enums/designEnum.mjs +31 -31
  25. package/es/enums/developer-center/index.d.ts +1 -0
  26. package/es/enums/developer-center/integration.d.ts +4 -0
  27. package/es/enums/developer-center/integration.mjs +7 -0
  28. package/es/enums/expressionEnum.d.ts +130 -0
  29. package/es/enums/expressionEnum.mjs +75 -0
  30. package/es/enums/index.d.ts +11 -5
  31. package/es/enums/index.mjs +6 -8
  32. package/es/enums/page-designer/designer.d.ts +6 -0
  33. package/es/enums/page-designer/designer.mjs +6 -1
  34. package/es/enums/page-designer/panel.d.ts +78 -7
  35. package/es/enums/page-designer/panel.mjs +22 -3
  36. package/es/enums/processEnum.d.ts +54 -0
  37. package/es/enums/processEnum.mjs +36 -1
  38. package/es/global/gct/gct.d.ts +9 -13
  39. package/es/global/gct/gct.mjs +15 -20
  40. package/es/hooks/index.d.ts +0 -1
  41. package/es/hooks/use-overlay-scrollbars/use-overlay-scrollbars.d.ts +11 -0
  42. package/es/index.d.ts +1 -7
  43. package/es/index.mjs +26 -11
  44. package/es/interface/index.d.ts +1 -4
  45. package/es/interface/open-util/i-message-util/i-message-util.d.ts +54 -0
  46. package/es/interface/{i-modal → open-util/i-modal}/i-modal.d.ts +9 -10
  47. package/es/interface/{i-modal-data → open-util/i-modal-data}/i-modal-data.d.ts +6 -0
  48. package/es/interface/open-util/i-modal-options/i-modal-options.d.ts +12 -0
  49. package/es/interface/open-util/i-overlay-container/i-overlay-container.d.ts +36 -0
  50. package/es/interface/open-util/i-overlay-controller/i-overlay-controller.d.ts +36 -0
  51. package/es/interface/open-util/index.d.ts +7 -0
  52. package/es/locale/index.mjs +1 -0
  53. package/es/modules/user-stores/store/user.store.mjs +9 -2
  54. package/es/register/index.d.ts +0 -7
  55. package/es/setup-app.d.ts +8 -0
  56. package/es/setup-app.mjs +30 -0
  57. package/es/store/global-store.mjs +9 -3
  58. package/es/types/index.d.ts +4 -0
  59. package/es/utils/axios/interceptors.mjs +0 -1
  60. package/es/utils/cache-adapter/cache-adapter.d.ts +2 -0
  61. package/es/utils/cache-adapter/cache-adapter.mjs +59 -0
  62. package/es/utils/index.d.ts +6 -1
  63. package/es/utils/lowcode/utils.d.ts +1 -0
  64. package/es/utils/lowcode/utils.mjs +20 -0
  65. package/es/utils/lowcode/validate.d.ts +13 -0
  66. package/es/utils/lowcode/validate.mjs +29 -0
  67. package/es/utils/namespace/namespace.d.ts +8 -0
  68. package/es/utils/namespace/namespace.mjs +4 -1
  69. package/es/utils/openUtil/index.d.ts +2 -0
  70. package/es/utils/openUtil/modal/modal.d.ts +61 -0
  71. package/es/utils/openUtil/modal/modal.mjs +80 -0
  72. package/es/utils/openUtil/overlay-container/overlay-container.d.ts +100 -0
  73. package/es/utils/openUtil/overlay-container/overlay-container.mjs +139 -0
  74. package/es/utils/tools/tools.mjs +4 -0
  75. package/es/utils/treeHelper/treeHelper.d.ts +7 -0
  76. package/es/utils/treeHelper/treeHelper.mjs +14 -0
  77. package/es/utils/uuid/uuid.d.ts +3 -0
  78. package/es/utils/uuid/uuid.mjs +48 -0
  79. package/es/utils/value-helper/value-helper.mjs +2 -0
  80. package/es/utils/width-install/width-install.mjs +4 -0
  81. package/package.json +4 -3
  82. package/es/hooks/use-namespace/use-namespace.d.ts +0 -9
  83. package/es/hooks/use-namespace/use-namespace.mjs +0 -18
  84. package/es/interface/i-message-util/i-message-util.d.ts +0 -78
  85. package/es/register/render-register/render-register.d.ts +0 -59
  86. package/es/register/render-register/render-register.mjs +0 -63
@@ -0,0 +1,130 @@
1
+ import { FIELD_TYPE } from '.';
2
+ /**
3
+ * 使用场景
4
+ */
5
+ export declare enum ExpressionModeEnum {
6
+ SEARCH = 0,// 搜索条件
7
+ FIELD_DISPLAY = 1,// 字段显示规则
8
+ EXPORT_TEMPLATE = 2,// 导出模版
9
+ DISPLAY_RULE = 3,// 显隐规则
10
+ PROCESS_TITLE = 4,// 流程标题
11
+ GATEWAY_RULE = 5,// 网关
12
+ CREATE_FIELD = 6,// 创建字段
13
+ PAAS_CREATE_FIELD = 7,// paas平台创建字段
14
+ ENTITY_FORMULA = 8,// 实体-公式字段
15
+ IPAAS_BACK = 9,// 用于 ipaas 后端计算用
16
+ LABEL_PRINT = 10,// 标签打印文本字段配置
17
+ NOCODE_BPMN_RULE = 11,// 无代码流程条件规则
18
+ PAAS_BPMN_RULE = 12,// 低代码审批流
19
+ ONLINE_FORM_FIELD_FORMULA = 13,// 电子表单字段公式
20
+ MEDPRO_BUSINESSFLOW = 14,//medpro 业务流
21
+ RUN_FORMULA = 15,//组件-公式计算字段字段
22
+ BI_FORMULA = 16,// BI公式字段函数
23
+ DATA_SET_FORMULA = 17
24
+ }
25
+ export type ModeTabMapInterface = Record<ExpressionModeEnum, ExpressionTabEnum[]>;
26
+ export declare enum ExpressionTabEnum {
27
+ FUNCTION = "function",// 函数
28
+ FORM = "form",// 表单
29
+ FIELD = "field",// 字段
30
+ VARIABLE = "variable",// 变量
31
+ NODE = "node",// 节点
32
+ OPERATOR = "operator"
33
+ }
34
+ export declare enum OperatorTypeEnum {
35
+ /**算术 */
36
+ ARITHMETIC = "arithmetic",
37
+ /**关系 */
38
+ RELATIONSHIP = "relationship",
39
+ /**逻辑 */
40
+ LOGIC = "logic",
41
+ /**其他 */
42
+ OTHER = "other"
43
+ }
44
+ export declare enum VarTypeEnum {
45
+ INNER_VAR = "INNER_VAR",
46
+ SYSTEM_VAR = "SYSTEM_VAR",
47
+ GLOBAL_VAR = "GLOBAL_VAR",
48
+ PAGE_VAR = "PAGE_VAR"
49
+ }
50
+ export interface IdentifierItemInterface {
51
+ id?: string;
52
+ name?: string;
53
+ desc?: string;
54
+ valueType?: FIELD_TYPE | string;
55
+ type?: FIELD_TYPE | string;
56
+ _id_?: string;
57
+ _name_?: string;
58
+ _type_?: ExpressionTabEnum;
59
+ _args_?: number;
60
+ }
61
+ export interface IdentifierGroupInterface {
62
+ id: string;
63
+ name: string;
64
+ _id_?: string;
65
+ _name_?: string;
66
+ idToChildren?: boolean;
67
+ children: IdentifierItemInterface[];
68
+ }
69
+ export type IdentifiersInterface = Partial<Record<ExpressionTabEnum, (IdentifierGroupInterface | IdentifierItemInterface)[]>>;
70
+ export declare enum ReturnTypeEnum {
71
+ String = "string",
72
+ Number = "number",
73
+ Boolean = "boolean"
74
+ }
75
+ export declare enum DataSetReturnTypeEnum {
76
+ String = "string",
77
+ Double = "number"
78
+ }
79
+ export declare enum EntityFormulaReturnTypeEnum {
80
+ Text = "text",
81
+ LongText = "long_text",
82
+ Int = "integer",
83
+ Long = "long",
84
+ Double = "decimal",
85
+ Boolen = "boolean"
86
+ }
87
+ interface CallbackOptions {
88
+ expr: string;
89
+ exprEcho: string;
90
+ exprName?: string;
91
+ returnType?: ReturnTypeEnum | EntityFormulaReturnTypeEnum;
92
+ modelKey?: string;
93
+ fieldProps?: {
94
+ /**小数位数 */
95
+ digits?: number;
96
+ /**布尔值真 */
97
+ trueText?: string;
98
+ /**布尔值假 */
99
+ falseText?: string;
100
+ };
101
+ }
102
+ export interface ExpressionInterface {
103
+ expr?: string;
104
+ exprEcho?: string;
105
+ exprName?: string;
106
+ returnType?: ReturnTypeEnum | EntityFormulaReturnTypeEnum | DataSetReturnTypeEnum;
107
+ disabledReturnType?: boolean;
108
+ modalTitle?: string;
109
+ mode: ExpressionModeEnum;
110
+ identifiers: IdentifiersInterface;
111
+ modelKey?: string;
112
+ fieldProps?: {
113
+ /**小数位数 */
114
+ digits?: number;
115
+ /**布尔值真 */
116
+ trueText?: string;
117
+ /**布尔值假 */
118
+ falseText?: string;
119
+ };
120
+ callback?: (expr: string, exprEcho?: string, options?: CallbackOptions) => void;
121
+ beforeClose?: (expr: string, exprEcho: string, returnType: string, formState: object) => Promise<boolean>;
122
+ }
123
+ export declare enum IdentifierAddon {
124
+ Prefix = "\u200B"
125
+ }
126
+ /**
127
+ * 零宽字符
128
+ */
129
+ export declare const zeroWidthSpace = "\u200B";
130
+ export {};
@@ -0,0 +1,75 @@
1
+ import './app-designer/index.mjs';
2
+ import './page-designer/designer.mjs';
3
+ import './breakpointEnum.mjs';
4
+
5
+ var ExpressionModeEnum = /* @__PURE__ */ ((ExpressionModeEnum2) => {
6
+ ExpressionModeEnum2[ExpressionModeEnum2["SEARCH"] = 0] = "SEARCH";
7
+ ExpressionModeEnum2[ExpressionModeEnum2["FIELD_DISPLAY"] = 1] = "FIELD_DISPLAY";
8
+ ExpressionModeEnum2[ExpressionModeEnum2["EXPORT_TEMPLATE"] = 2] = "EXPORT_TEMPLATE";
9
+ ExpressionModeEnum2[ExpressionModeEnum2["DISPLAY_RULE"] = 3] = "DISPLAY_RULE";
10
+ ExpressionModeEnum2[ExpressionModeEnum2["PROCESS_TITLE"] = 4] = "PROCESS_TITLE";
11
+ ExpressionModeEnum2[ExpressionModeEnum2["GATEWAY_RULE"] = 5] = "GATEWAY_RULE";
12
+ ExpressionModeEnum2[ExpressionModeEnum2["CREATE_FIELD"] = 6] = "CREATE_FIELD";
13
+ ExpressionModeEnum2[ExpressionModeEnum2["PAAS_CREATE_FIELD"] = 7] = "PAAS_CREATE_FIELD";
14
+ ExpressionModeEnum2[ExpressionModeEnum2["ENTITY_FORMULA"] = 8] = "ENTITY_FORMULA";
15
+ ExpressionModeEnum2[ExpressionModeEnum2["IPAAS_BACK"] = 9] = "IPAAS_BACK";
16
+ ExpressionModeEnum2[ExpressionModeEnum2["LABEL_PRINT"] = 10] = "LABEL_PRINT";
17
+ ExpressionModeEnum2[ExpressionModeEnum2["NOCODE_BPMN_RULE"] = 11] = "NOCODE_BPMN_RULE";
18
+ ExpressionModeEnum2[ExpressionModeEnum2["PAAS_BPMN_RULE"] = 12] = "PAAS_BPMN_RULE";
19
+ ExpressionModeEnum2[ExpressionModeEnum2["ONLINE_FORM_FIELD_FORMULA"] = 13] = "ONLINE_FORM_FIELD_FORMULA";
20
+ ExpressionModeEnum2[ExpressionModeEnum2["MEDPRO_BUSINESSFLOW"] = 14] = "MEDPRO_BUSINESSFLOW";
21
+ ExpressionModeEnum2[ExpressionModeEnum2["RUN_FORMULA"] = 15] = "RUN_FORMULA";
22
+ ExpressionModeEnum2[ExpressionModeEnum2["BI_FORMULA"] = 16] = "BI_FORMULA";
23
+ ExpressionModeEnum2[ExpressionModeEnum2["DATA_SET_FORMULA"] = 17] = "DATA_SET_FORMULA";
24
+ return ExpressionModeEnum2;
25
+ })(ExpressionModeEnum || {});
26
+ var ExpressionTabEnum = /* @__PURE__ */ ((ExpressionTabEnum2) => {
27
+ ExpressionTabEnum2["FUNCTION"] = "function";
28
+ ExpressionTabEnum2["FORM"] = "form";
29
+ ExpressionTabEnum2["FIELD"] = "field";
30
+ ExpressionTabEnum2["VARIABLE"] = "variable";
31
+ ExpressionTabEnum2["NODE"] = "node";
32
+ ExpressionTabEnum2["OPERATOR"] = "operator";
33
+ return ExpressionTabEnum2;
34
+ })(ExpressionTabEnum || {});
35
+ var OperatorTypeEnum = /* @__PURE__ */ ((OperatorTypeEnum2) => {
36
+ OperatorTypeEnum2["ARITHMETIC"] = "arithmetic";
37
+ OperatorTypeEnum2["RELATIONSHIP"] = "relationship";
38
+ OperatorTypeEnum2["LOGIC"] = "logic";
39
+ OperatorTypeEnum2["OTHER"] = "other";
40
+ return OperatorTypeEnum2;
41
+ })(OperatorTypeEnum || {});
42
+ var VarTypeEnum = /* @__PURE__ */ ((VarTypeEnum2) => {
43
+ VarTypeEnum2["INNER_VAR"] = "INNER_VAR";
44
+ VarTypeEnum2["SYSTEM_VAR"] = "SYSTEM_VAR";
45
+ VarTypeEnum2["GLOBAL_VAR"] = "GLOBAL_VAR";
46
+ VarTypeEnum2["PAGE_VAR"] = "PAGE_VAR";
47
+ return VarTypeEnum2;
48
+ })(VarTypeEnum || {});
49
+ var ReturnTypeEnum = /* @__PURE__ */ ((ReturnTypeEnum2) => {
50
+ ReturnTypeEnum2["String"] = "string";
51
+ ReturnTypeEnum2["Number"] = "number";
52
+ ReturnTypeEnum2["Boolean"] = "boolean";
53
+ return ReturnTypeEnum2;
54
+ })(ReturnTypeEnum || {});
55
+ var DataSetReturnTypeEnum = /* @__PURE__ */ ((DataSetReturnTypeEnum2) => {
56
+ DataSetReturnTypeEnum2["String"] = "string";
57
+ DataSetReturnTypeEnum2["Double"] = "number";
58
+ return DataSetReturnTypeEnum2;
59
+ })(DataSetReturnTypeEnum || {});
60
+ var EntityFormulaReturnTypeEnum = /* @__PURE__ */ ((EntityFormulaReturnTypeEnum2) => {
61
+ EntityFormulaReturnTypeEnum2["Text"] = "text";
62
+ EntityFormulaReturnTypeEnum2["LongText"] = "long_text";
63
+ EntityFormulaReturnTypeEnum2["Int"] = "integer";
64
+ EntityFormulaReturnTypeEnum2["Long"] = "long";
65
+ EntityFormulaReturnTypeEnum2["Double"] = "decimal";
66
+ EntityFormulaReturnTypeEnum2["Boolen"] = "boolean";
67
+ return EntityFormulaReturnTypeEnum2;
68
+ })(EntityFormulaReturnTypeEnum || {});
69
+ var IdentifierAddon = /* @__PURE__ */ ((IdentifierAddon2) => {
70
+ IdentifierAddon2["Prefix"] = "​";
71
+ return IdentifierAddon2;
72
+ })(IdentifierAddon || {});
73
+ const zeroWidthSpace = "​";
74
+
75
+ export { DataSetReturnTypeEnum, EntityFormulaReturnTypeEnum, ExpressionModeEnum, ExpressionTabEnum, IdentifierAddon, OperatorTypeEnum, ReturnTypeEnum, VarTypeEnum, zeroWidthSpace };
@@ -1,5 +1,6 @@
1
1
  export * from './app-designer';
2
2
  export * from './page-designer';
3
+ export * from './developer-center';
3
4
  export * from './appEnum';
4
5
  export * from './appStateEnum';
5
6
  export * from './authActionEnum';
@@ -15,11 +16,7 @@ export * from './roleEnum';
15
16
  export * from './sizeEnum';
16
17
  export * from './processEnum';
17
18
  export * from './plugin-enum';
18
- export declare enum ReturnTypeEnum {
19
- String = "string",
20
- Number = "number",
21
- Boolean = "boolean"
22
- }
19
+ export * from './expressionEnum';
23
20
  /**mqtt主题枚举*/
24
21
  export declare enum GctMqttTopsEnum {
25
22
  /**mqtt电子表单 编辑 遗嘱消息解锁使用 */
@@ -27,3 +24,12 @@ export declare enum GctMqttTopsEnum {
27
24
  /**mqtt用于接受其他用户解锁的主题 */
28
25
  EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK"
29
26
  }
27
+ /**
28
+ * 全局参数
29
+ */
30
+ export declare enum GlobalParamEnum {
31
+ /**
32
+ * 选择组件标识
33
+ */
34
+ SELECT_ID = "$VAR_GCT_SELECT_ID"
35
+ }
@@ -1,17 +1,15 @@
1
1
  export { EntityModelCategoryEnum, EntityModelTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, SHOW_FIELDTYPES, UserServiceType, pageLayoutModeEnum, scriptTypeEnum } from './app-designer/index.mjs';
2
- export { BindCmpStyleEnum, BindCmpStyleTypeEnum, Ch_BindCmpStyleEnum, FormComponents, SCOPE, SearchComponents, bindCmpStyleMap, buttonShowType, controlConfigEnum, fixedAlignENUM, mobileSearchListByFieldType, padSearchListByFieldType, searchListByFieldType, sortTypeEnum, statisticalMethodEnum, tableColumnTypeEnum, tableColumnWidthEnum, tabsTypeENUM, transformBindCmp2CmpType } from './page-designer/designer.mjs';
2
+ export { BindCmpStyleEnum, BindCmpStyleTypeEnum, Ch_BindCmpStyleEnum, FormComponents, SCOPE, SCOPEINFO, SearchComponents, bindCmpStyleMap, buttonShowType, controlConfigEnum, fixedAlignENUM, mobileSearchListByFieldType, padSearchListByFieldType, searchListByFieldType, sortTypeEnum, statisticalMethodEnum, tableColumnTypeEnum, tableColumnWidthEnum, tabsTypeENUM, transformBindCmp2CmpType } from './page-designer/designer.mjs';
3
3
  export { screenEnum, screenMap, sizeEnum } from './breakpointEnum.mjs';
4
4
 
5
- var ReturnTypeEnum = /* @__PURE__ */ ((ReturnTypeEnum2) => {
6
- ReturnTypeEnum2["String"] = "string";
7
- ReturnTypeEnum2["Number"] = "number";
8
- ReturnTypeEnum2["Boolean"] = "boolean";
9
- return ReturnTypeEnum2;
10
- })(ReturnTypeEnum || {});
11
5
  var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
12
6
  GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK"] = "FORM_INST_MULTI_PERSON_EDIT_BREAK";
13
7
  GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK"] = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK";
14
8
  return GctMqttTopsEnum2;
15
9
  })(GctMqttTopsEnum || {});
10
+ var GlobalParamEnum = /* @__PURE__ */ ((GlobalParamEnum2) => {
11
+ GlobalParamEnum2["SELECT_ID"] = "$VAR_GCT_SELECT_ID";
12
+ return GlobalParamEnum2;
13
+ })(GlobalParamEnum || {});
16
14
 
17
- export { GctMqttTopsEnum, ReturnTypeEnum };
15
+ export { GctMqttTopsEnum, GlobalParamEnum };
@@ -289,3 +289,9 @@ export declare const searchListByFieldType: FIELD_TYPE[];
289
289
  export declare const mobileSearchListByFieldType: FIELD_TYPE[];
290
290
  /** 支持查询的字段类型 */
291
291
  export declare const padSearchListByFieldType: FIELD_TYPE[];
292
+ export declare enum SCOPEINFO {
293
+ /**字段列表 */
294
+ FIELD_LIST = "fieldList",
295
+ /**字段表单*/
296
+ FIELD_FORM = "fieldForm"
297
+ }
@@ -405,5 +405,10 @@ const padSearchListByFieldType = [
405
405
  // FIELD_TYPE.RANGE_USER,
406
406
  // FIELD_TYPE.MESSAGE_TMPL,
407
407
  ];
408
+ var SCOPEINFO = /* @__PURE__ */ ((SCOPEINFO2) => {
409
+ SCOPEINFO2["FIELD_LIST"] = "fieldList";
410
+ SCOPEINFO2["FIELD_FORM"] = "fieldForm";
411
+ return SCOPEINFO2;
412
+ })(SCOPEINFO || {});
408
413
 
409
- export { BindCmpStyleEnum, BindCmpStyleTypeEnum, Ch_BindCmpStyleEnum, FormComponents, SCOPE, SearchComponents, bindCmpStyleMap, buttonShowType, controlConfigEnum, fixedAlignENUM, mobileSearchListByFieldType, padSearchListByFieldType, searchListByFieldType, sortTypeEnum, statisticalMethodEnum, tableColumnTypeEnum, tableColumnWidthEnum, tabsTypeENUM, transformBindCmp2CmpType };
414
+ export { BindCmpStyleEnum, BindCmpStyleTypeEnum, Ch_BindCmpStyleEnum, FormComponents, SCOPE, SCOPEINFO, SearchComponents, bindCmpStyleMap, buttonShowType, controlConfigEnum, fixedAlignENUM, mobileSearchListByFieldType, padSearchListByFieldType, searchListByFieldType, sortTypeEnum, statisticalMethodEnum, tableColumnTypeEnum, tableColumnWidthEnum, tabsTypeENUM, transformBindCmp2CmpType };
@@ -32,8 +32,7 @@ export declare enum TextDecoration {
32
32
  }
33
33
  export declare enum EventCategory {
34
34
  INNER = "inner",
35
- JS = "js",
36
- LO = "lo"
35
+ JS = "js"
37
36
  }
38
37
  export declare enum PropGroup {
39
38
  /**基础属性 */
@@ -44,8 +43,6 @@ export declare enum PropGroup {
44
43
  DISPLAY = "display",
45
44
  /**标签 */
46
45
  LABEL = "label",
47
- /**vue3 */
48
- VUE3 = "vue3",
49
46
  /**字段列表 */
50
47
  FIELD = "field",
51
48
  /**数据相关 */
@@ -68,6 +65,7 @@ export declare enum PropGroup {
68
65
  FORM_CONFIG = "formConfig",
69
66
  /** 字段布局 */
70
67
  FIELD_LAYOUT = "FieldLayout",
68
+ LEFT_RIGHT_COLUMNS = "leftRightColumns",
71
69
  /**选择器配置 */
72
70
  TABLESELECT_CONFIG = "tableSelect",
73
71
  /**单选框配置 */
@@ -80,6 +78,8 @@ export declare enum PropGroup {
80
78
  OPTIONS = "options",
81
79
  /**面板配置 */
82
80
  COLLAPSE = "collapse",
81
+ SPACE_OCCUPATION = "spaceOccupation",
82
+ DIVIDER = "divider",
83
83
  /**iframe配置 */
84
84
  IFRAME = "iframe",
85
85
  /**文档集配置 */
@@ -132,7 +132,13 @@ export declare enum PropGroup {
132
132
  /**算子配置 */
133
133
  OPERATOR_CONFIG = "operatorConfig",
134
134
  /**业务配置 */
135
- BUSINESS_CONFIG = "businessConfig"
135
+ BUSINESS_CONFIG = "businessConfig",
136
+ /**Vue3配置 */
137
+ Vue3 = "Vue3",
138
+ /**树配置 */
139
+ TREE_CONFIG = "treeConfig",
140
+ /**卡片显示 */
141
+ CARDDISPLAY = "cardDisplay"
136
142
  }
137
143
  export declare enum StyleGroup {
138
144
  /**布局 */
@@ -148,7 +154,9 @@ export declare enum StyleGroup {
148
154
  /**
149
155
  * 标题栏配置
150
156
  */
151
- HEADER = "header"
157
+ HEADER = "header",
158
+ /**显示 */
159
+ SHOW_PROP = "showProp"
152
160
  }
153
161
  export declare enum tagEnum {
154
162
  TAG = "tag",
@@ -162,6 +170,68 @@ export declare enum TagTypeEnum {
162
170
  DASHED_RADIUS = "dashed_radius",
163
171
  STATUS = "status"
164
172
  }
173
+ /**
174
+ * 标签展示类型(DisplayTagTypeEnum)
175
+ *
176
+ * 说明:
177
+ * - 用于表格设计器“样式设置”的多字段显示配置中,定义标签的视觉形态;
178
+ * - 将标签形态分为三大类:
179
+ * 1)线面结合:同时具备边框与浅色背景,适合通用信息标识;
180
+ * 2)面性:纯色背景,无边框,适合强调型/高对比度标签;
181
+ * 3)线性:仅边框,无背景,适合轻量/弱强调标签;
182
+ */
183
+ export declare enum DisplayTagTypeEnum {
184
+ /**
185
+ * 线面结合-圆角
186
+ * 视觉:1px 实线边框 + 浅色背景,3px 圆角;
187
+ */
188
+ RADIUS = "radius",
189
+ /**
190
+ * 线面结合-大圆角(胶囊)
191
+ * 视觉:1px 实线边框 + 浅色背景,50px 大圆角;
192
+ */
193
+ BIG_RADIUS = "big_radius",
194
+ /**
195
+ * 线面结合-状态
196
+ * 视觉:1px 实线边框 + 浅色背景,混合圆角(11px/3px/3px);
197
+ */
198
+ STATUS = "status",
199
+ /**
200
+ * 面性-圆角
201
+ * 视觉:纯色背景,3px 圆角,无边框;
202
+ */
203
+ SURFACE_RADIUS = "surface_radius",
204
+ /**
205
+ * 面性-大圆角(胶囊)
206
+ * 视觉:纯色背景,50px 大圆角,无边框;
207
+ */
208
+ SURFACE_BIG_RADIUS = "surface_big_radius",
209
+ /**
210
+ * 面性-状态
211
+ * 视觉:纯色背景,混合圆角(11px/3px/3px),无边框;
212
+ */
213
+ SURFACE_STATUS = "surface_status",
214
+ /**
215
+ * 线性-圆角
216
+ * 视觉:1px 实线边框,3px 圆角,无背景;
217
+ */
218
+ LINE_RADIUS = "line_radius",
219
+ /**
220
+ * 线性-大圆角(胶囊)
221
+ * 视觉:1px 实线边框,50px 大圆角,无背景;
222
+ */
223
+ LINE_BIG_RADIUS = "line_big_radius",
224
+ /**
225
+ * 线性-虚线圆角
226
+ * 视觉:1px 虚线边框,3px 圆角,无背景;
227
+ */
228
+ LINE_DASHED_RADIUS = "line_dashed_radius",
229
+ /**
230
+ * 线性-状态
231
+ * 视觉:1px 实线边框,混合圆角(11px/3px/3px),无背景;
232
+ */
233
+ LINE_STATUS = "line_status"
234
+ }
165
235
  export declare enum ProgressTypeEnum {
166
236
  /**圆形 */
167
237
  CIRCLE = "circle",
@@ -183,7 +253,8 @@ export declare enum GLOBAL_VAR_TYPE {
183
253
  NULL = "NULL",
184
254
  DATE = "date",
185
255
  DATETIME = "datetime",
186
- TIME = "time"
256
+ TIME = "time",
257
+ VAR = "var"
187
258
  }
188
259
  export declare enum GLOBAL_TYPE {
189
260
  MODAL = "modal",
@@ -38,7 +38,6 @@ var TextDecoration = /* @__PURE__ */ ((TextDecoration2) => {
38
38
  var EventCategory = /* @__PURE__ */ ((EventCategory2) => {
39
39
  EventCategory2["INNER"] = "inner";
40
40
  EventCategory2["JS"] = "js";
41
- EventCategory2["LO"] = "lo";
42
41
  return EventCategory2;
43
42
  })(EventCategory || {});
44
43
  var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
@@ -46,7 +45,6 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
46
45
  PropGroup2["ADVANCED"] = "advance";
47
46
  PropGroup2["DISPLAY"] = "display";
48
47
  PropGroup2["LABEL"] = "label";
49
- PropGroup2["VUE3"] = "vue3";
50
48
  PropGroup2["FIELD"] = "field";
51
49
  PropGroup2["DATA"] = "data";
52
50
  PropGroup2["OTHER"] = "other";
@@ -58,12 +56,15 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
58
56
  PropGroup2["FIELD_CONFIG"] = "fieldConfig";
59
57
  PropGroup2["FORM_CONFIG"] = "formConfig";
60
58
  PropGroup2["FIELD_LAYOUT"] = "FieldLayout";
59
+ PropGroup2["LEFT_RIGHT_COLUMNS"] = "leftRightColumns";
61
60
  PropGroup2["TABLESELECT_CONFIG"] = "tableSelect";
62
61
  PropGroup2["GENRADIO"] = "genRadio";
63
62
  PropGroup2["GENCHECKBOX"] = "genCheckbox";
64
63
  PropGroup2["GENSWITCH"] = "genSwitch";
65
64
  PropGroup2["OPTIONS"] = "options";
66
65
  PropGroup2["COLLAPSE"] = "collapse";
66
+ PropGroup2["SPACE_OCCUPATION"] = "spaceOccupation";
67
+ PropGroup2["DIVIDER"] = "divider";
67
68
  PropGroup2["IFRAME"] = "iframe";
68
69
  PropGroup2["FILECOLLECT"] = "fileCollect";
69
70
  PropGroup2["CARDLIST"] = "cardList";
@@ -91,6 +92,9 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
91
92
  PropGroup2["DATARANGE"] = "dataRange";
92
93
  PropGroup2["OPERATOR_CONFIG"] = "operatorConfig";
93
94
  PropGroup2["BUSINESS_CONFIG"] = "businessConfig";
95
+ PropGroup2["Vue3"] = "Vue3";
96
+ PropGroup2["TREE_CONFIG"] = "treeConfig";
97
+ PropGroup2["CARDDISPLAY"] = "cardDisplay";
94
98
  return PropGroup2;
95
99
  })(PropGroup || {});
96
100
  var StyleGroup = /* @__PURE__ */ ((StyleGroup2) => {
@@ -100,6 +104,7 @@ var StyleGroup = /* @__PURE__ */ ((StyleGroup2) => {
100
104
  StyleGroup2["MARGIN"] = "margin";
101
105
  StyleGroup2["BORDER"] = "border";
102
106
  StyleGroup2["HEADER"] = "header";
107
+ StyleGroup2["SHOW_PROP"] = "showProp";
103
108
  return StyleGroup2;
104
109
  })(StyleGroup || {});
105
110
  var tagEnum = /* @__PURE__ */ ((tagEnum2) => {
@@ -116,6 +121,19 @@ var TagTypeEnum = /* @__PURE__ */ ((TagTypeEnum2) => {
116
121
  TagTypeEnum2["STATUS"] = "status";
117
122
  return TagTypeEnum2;
118
123
  })(TagTypeEnum || {});
124
+ var DisplayTagTypeEnum = /* @__PURE__ */ ((DisplayTagTypeEnum2) => {
125
+ DisplayTagTypeEnum2["RADIUS"] = "radius";
126
+ DisplayTagTypeEnum2["BIG_RADIUS"] = "big_radius";
127
+ DisplayTagTypeEnum2["STATUS"] = "status";
128
+ DisplayTagTypeEnum2["SURFACE_RADIUS"] = "surface_radius";
129
+ DisplayTagTypeEnum2["SURFACE_BIG_RADIUS"] = "surface_big_radius";
130
+ DisplayTagTypeEnum2["SURFACE_STATUS"] = "surface_status";
131
+ DisplayTagTypeEnum2["LINE_RADIUS"] = "line_radius";
132
+ DisplayTagTypeEnum2["LINE_BIG_RADIUS"] = "line_big_radius";
133
+ DisplayTagTypeEnum2["LINE_DASHED_RADIUS"] = "line_dashed_radius";
134
+ DisplayTagTypeEnum2["LINE_STATUS"] = "line_status";
135
+ return DisplayTagTypeEnum2;
136
+ })(DisplayTagTypeEnum || {});
119
137
  var ProgressTypeEnum = /* @__PURE__ */ ((ProgressTypeEnum2) => {
120
138
  ProgressTypeEnum2["CIRCLE"] = "circle";
121
139
  ProgressTypeEnum2["LINE"] = "line";
@@ -136,6 +154,7 @@ var GLOBAL_VAR_TYPE = /* @__PURE__ */ ((GLOBAL_VAR_TYPE2) => {
136
154
  GLOBAL_VAR_TYPE2["DATE"] = "date";
137
155
  GLOBAL_VAR_TYPE2["DATETIME"] = "datetime";
138
156
  GLOBAL_VAR_TYPE2["TIME"] = "time";
157
+ GLOBAL_VAR_TYPE2["VAR"] = "var";
139
158
  return GLOBAL_VAR_TYPE2;
140
159
  })(GLOBAL_VAR_TYPE || {});
141
160
  var GLOBAL_TYPE = /* @__PURE__ */ ((GLOBAL_TYPE2) => {
@@ -192,4 +211,4 @@ var Dependency_ENUM = /* @__PURE__ */ ((Dependency_ENUM2) => {
192
211
  return Dependency_ENUM2;
193
212
  })(Dependency_ENUM || {});
194
213
 
195
- export { ASSIGNMENTSTRATEGY_ENUM, BorderStyle, COLUMNS_TYPE, Dependency_ENUM, DisplayType, EventCategory, GLOBAL_TYPE, GLOBAL_VAR_TYPE, INNER_EVENT, PanelEnum, Postion, ProgressTypeEnum, PropGroup, SUB_TABLE_EDIT_MODE, SUB_TABLE_OPE_EVENT_TYPE, SUB_TABLE_OPE_EVENT_TYPE_INLINE, StyleGroup, TagTypeEnum, TextAlign, TextDecoration, VERIFICATIONCONDITIONS_TYPE, tagEnum };
214
+ export { ASSIGNMENTSTRATEGY_ENUM, BorderStyle, COLUMNS_TYPE, Dependency_ENUM, DisplayTagTypeEnum, DisplayType, EventCategory, GLOBAL_TYPE, GLOBAL_VAR_TYPE, INNER_EVENT, PanelEnum, Postion, ProgressTypeEnum, PropGroup, SUB_TABLE_EDIT_MODE, SUB_TABLE_OPE_EVENT_TYPE, SUB_TABLE_OPE_EVENT_TYPE_INLINE, StyleGroup, TagTypeEnum, TextAlign, TextDecoration, VERIFICATIONCONDITIONS_TYPE, tagEnum };
@@ -33,3 +33,57 @@ export declare enum ExamineAndApproveStateEnum {
33
33
  /**我的自定义审批模态框 */
34
34
  MY_CUSTOM_Modal = "myCustomModal"
35
35
  }
36
+ /**
37
+ * tips: 增加枚举时同步后端增加,该值会作为变量运行在 bpmn 中
38
+ */
39
+ export declare enum ButtonTypeEnum {
40
+ /** 重新提交 */
41
+ Resubmit = "Resubmit",
42
+ /** 终止 */
43
+ End = "Terminate",
44
+ /** 撤回 */
45
+ Withdraw = "Withdraw",
46
+ /** 同意 */
47
+ Approve = "Approve",
48
+ /** 拒绝 */
49
+ Refuse = "Refuse",
50
+ /** 转交 */
51
+ Reassign = "Reassign",
52
+ /** 加签 */
53
+ Countersign = "Countersign",
54
+ /** 驳回 */
55
+ Reject = "Reject"
56
+ }
57
+ /** 审批意见枚举 */
58
+ export declare enum OpinionTypeEnum {
59
+ /** 全部必填 */
60
+ Required = "Required",
61
+ /** 全部非必填 */
62
+ Optional = "Optional",
63
+ /** 同意时必填 */
64
+ ApproveRequired = "ApproveRequired",
65
+ /** 拒绝时必填 */
66
+ RefuseRequired = "RefuseRequired",
67
+ /** 转交时必填 */
68
+ ReassignRequired = "ReassignRequired",
69
+ /** 驳回时必填 */
70
+ RejectRequired = "RejectRequired",
71
+ /** 加签时必填 */
72
+ CountersignRequired = "CountersignRequired"
73
+ }
74
+ /**
75
+ * bpmn节点类型
76
+ */
77
+ export declare enum BpmnNodeTypeEnum {
78
+ BpmnStart = "bpmnStart",
79
+ BpmnSubmit = "bpmnSubmit",
80
+ BpmnApproval = "bpmnApproval",// 审批节点
81
+ BpmnEnd = "bpmnEnd",
82
+ BpmnExclusive = "bpmnExclusive",// 条件分支
83
+ BpmnJs = "bpmnJs",// 脚本节点
84
+ BpmnMessage = "bpmnMessage",// 消息节点
85
+ BpmnParallel = "bpmnParallel",// 并行节点
86
+ BpmnJoin = "bpmnJoin",// 聚合节点
87
+ BpmnForm = "bpmnForm",// 表单节点
88
+ BpmnBusiness = "bpmnBusiness"
89
+ }
@@ -23,5 +23,40 @@ var ExamineAndApproveStateEnum = /* @__PURE__ */ ((ExamineAndApproveStateEnum2)
23
23
  ExamineAndApproveStateEnum2["MY_CUSTOM_Modal"] = "myCustomModal";
24
24
  return ExamineAndApproveStateEnum2;
25
25
  })(ExamineAndApproveStateEnum || {});
26
+ var ButtonTypeEnum = /* @__PURE__ */ ((ButtonTypeEnum2) => {
27
+ ButtonTypeEnum2["Resubmit"] = "Resubmit";
28
+ ButtonTypeEnum2["End"] = "Terminate";
29
+ ButtonTypeEnum2["Withdraw"] = "Withdraw";
30
+ ButtonTypeEnum2["Approve"] = "Approve";
31
+ ButtonTypeEnum2["Refuse"] = "Refuse";
32
+ ButtonTypeEnum2["Reassign"] = "Reassign";
33
+ ButtonTypeEnum2["Countersign"] = "Countersign";
34
+ ButtonTypeEnum2["Reject"] = "Reject";
35
+ return ButtonTypeEnum2;
36
+ })(ButtonTypeEnum || {});
37
+ var OpinionTypeEnum = /* @__PURE__ */ ((OpinionTypeEnum2) => {
38
+ OpinionTypeEnum2["Required"] = "Required";
39
+ OpinionTypeEnum2["Optional"] = "Optional";
40
+ OpinionTypeEnum2["ApproveRequired"] = "ApproveRequired";
41
+ OpinionTypeEnum2["RefuseRequired"] = "RefuseRequired";
42
+ OpinionTypeEnum2["ReassignRequired"] = "ReassignRequired";
43
+ OpinionTypeEnum2["RejectRequired"] = "RejectRequired";
44
+ OpinionTypeEnum2["CountersignRequired"] = "CountersignRequired";
45
+ return OpinionTypeEnum2;
46
+ })(OpinionTypeEnum || {});
47
+ var BpmnNodeTypeEnum = /* @__PURE__ */ ((BpmnNodeTypeEnum2) => {
48
+ BpmnNodeTypeEnum2["BpmnStart"] = "bpmnStart";
49
+ BpmnNodeTypeEnum2["BpmnSubmit"] = "bpmnSubmit";
50
+ BpmnNodeTypeEnum2["BpmnApproval"] = "bpmnApproval";
51
+ BpmnNodeTypeEnum2["BpmnEnd"] = "bpmnEnd";
52
+ BpmnNodeTypeEnum2["BpmnExclusive"] = "bpmnExclusive";
53
+ BpmnNodeTypeEnum2["BpmnJs"] = "bpmnJs";
54
+ BpmnNodeTypeEnum2["BpmnMessage"] = "bpmnMessage";
55
+ BpmnNodeTypeEnum2["BpmnParallel"] = "bpmnParallel";
56
+ BpmnNodeTypeEnum2["BpmnJoin"] = "bpmnJoin";
57
+ BpmnNodeTypeEnum2["BpmnForm"] = "bpmnForm";
58
+ BpmnNodeTypeEnum2["BpmnBusiness"] = "bpmnBusiness";
59
+ return BpmnNodeTypeEnum2;
60
+ })(BpmnNodeTypeEnum || {});
26
61
 
27
- export { ExamineAndApproveStateEnum, ProcessStatusEnum, ch_ProcessStatusMap };
62
+ export { BpmnNodeTypeEnum, ButtonTypeEnum, ExamineAndApproveStateEnum, OpinionTypeEnum, ProcessStatusEnum, ch_ProcessStatusMap };
@@ -1,11 +1,9 @@
1
1
  import { I18n } from 'vue-i18n';
2
- import { GlobalStoreUtil } from '../../store';
3
2
  import { IGlobalRegister } from '../../register';
4
- import { IMessageUtil } from '../../interface';
3
+ import { IMessageUtil, IOverlayController } from '../../interface';
5
4
  import { DictionaryUtil } from '../../utils';
6
5
  import { EnvironmentManager } from '../../modules/env-manager';
7
6
  import { ApiMap } from '@gct-paas/api';
8
- import { LocaleUtil } from '../../locale';
9
7
  import { RouterUtil } from '../../router';
10
8
  /**
11
9
  * gct paas 平台全局对象
@@ -17,7 +15,7 @@ export declare class GctGlobal {
17
15
  /**
18
16
  * i18n 工具类
19
17
  */
20
- readonly i18nUtil: LocaleUtil;
18
+ private readonly i18nUtil;
21
19
  /**
22
20
  * i18n 实例
23
21
  *
@@ -25,18 +23,10 @@ export declare class GctGlobal {
25
23
  * @type {I18n}
26
24
  */
27
25
  i18n: I18n;
28
- /**
29
- * i18n 实例的 t 方法,多语言转换
30
- *
31
- * @param {string} key
32
- * @param {string} [def]
33
- * @returns {*} {string}
34
- */
35
- t(key: string, def?: string): string;
36
26
  /**
37
27
  * 全局 store 工具类
38
28
  */
39
- readonly storeUtil: GlobalStoreUtil;
29
+ private readonly storeUtil;
40
30
  /**
41
31
  * 全局 store 实例
42
32
  */
@@ -65,6 +55,12 @@ export declare class GctGlobal {
65
55
  * 综合性注册中心
66
56
  */
67
57
  readonly register: IGlobalRegister;
58
+ /**
59
+ * 全局呈现容器控制器,这里只是声明了类型,具体实例需要由主项目根据实际情况进行实现和挂载
60
+ *
61
+ * @type {IOverlayController}
62
+ */
63
+ openUtil: IOverlayController;
68
64
  /**
69
65
  * API 管理
70
66
  *