@gct-paas/core 0.1.6-dev.9 → 6.0.0-dev.10
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/README.md +322 -0
- package/dist/index.esm.min.js +2 -1
- package/dist/{redirect-index-Ck5Ddtcb.js → redirect-index-QBY98C6e.js} +1 -0
- package/es/_virtual/_rolldown/runtime.mjs +13 -0
- package/es/constants/expression-type/FunctionKeys.mjs +2 -0
- package/es/constants/expression-type/function.mjs +20 -0
- package/es/constants/expression-type/index.mjs +2 -0
- package/es/constants/expression-type/modeCfg.mjs +12 -2
- package/es/constants/index.d.ts +4 -0
- package/es/constants/index.mjs +5 -1
- package/es/enums/app-designer/index.d.ts +29 -3
- package/es/enums/app-designer/index.mjs +33 -4
- package/es/enums/appEnum.d.ts +5 -1
- package/es/enums/appEnum.mjs +6 -1
- package/es/enums/authActionEnum.d.ts +5 -1
- package/es/enums/authActionEnum.mjs +4 -0
- package/es/enums/developer-center/integration.d.ts +6 -0
- package/es/enums/developer-center/integration.mjs +8 -1
- package/es/enums/expressionEnum.d.ts +4 -2
- package/es/enums/expressionEnum.mjs +2 -0
- package/es/enums/globalEnum.d.ts +30 -0
- package/es/enums/globalEnum.mjs +40 -1
- package/es/enums/index.d.ts +11 -0
- package/es/enums/index.mjs +13 -1
- package/es/enums/page-designer/designer.d.ts +2 -0
- package/es/enums/page-designer/designer.mjs +2 -0
- package/es/enums/page-designer/layout.d.ts +6 -0
- package/es/enums/page-designer/layout.mjs +8 -1
- package/es/enums/page-designer/panel.d.ts +9 -2
- package/es/enums/page-designer/panel.mjs +10 -2
- package/es/enums/pageEnum.d.ts +2 -1
- package/es/enums/pageEnum.mjs +1 -0
- package/es/enums/process.d.ts +5 -0
- package/es/enums/process.mjs +9 -0
- package/es/enums/sizeEnum.d.ts +4 -0
- package/es/enums/sizeEnum.mjs +6 -1
- package/es/global/gct/gct.d.ts +25 -19
- package/es/global/gct/gct.mjs +9 -5
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useDebouncePromise.d.ts +14 -0
- package/es/hooks/useDebouncePromise.mjs +56 -0
- package/es/index.d.ts +2 -0
- package/es/index.mjs +40 -28
- package/es/interface/i-action-item/i-action-item.d.ts +65 -0
- package/es/interface/i-app-context/i-app-context.d.ts +25 -1
- package/es/interface/i-dictionary/i-dictionary-item.d.ts +80 -0
- package/es/interface/i-pinia-action/i-global-actions.d.ts +9 -0
- package/es/interface/i-pinia-getter/i-global-getters.d.ts +22 -1
- package/es/interface/i-pinia-state/i-global-state.d.ts +9 -2
- package/es/interface/index.d.ts +2 -1
- package/es/interface/open-util/i-confirm-util/i-confirm-util.d.ts +65 -0
- package/es/interface/open-util/i-drawer-options/i-drawer-options.d.ts +298 -0
- package/es/interface/open-util/i-modal/i-modal.d.ts +14 -1
- package/es/interface/open-util/i-modal-data/i-modal-data.d.ts +3 -3
- package/es/interface/open-util/i-modal-options/i-modal-options.d.ts +2 -1
- package/es/interface/open-util/i-overlay-controller/i-overlay-controller.d.ts +9 -0
- package/es/interface/open-util/index.d.ts +2 -0
- package/es/locale/auto-register.d.ts +2 -0
- package/es/locale/auto-register.mjs +13 -0
- package/es/locale/index.d.ts +25 -1
- package/es/locale/index.mjs +57 -3
- package/es/locale/sys/model.mjs +9 -0
- package/es/locale/sys.d.ts +17 -0
- package/es/locale/sys.mjs +26 -0
- package/es/modules/env-manager/env-manager.const.d.ts +2 -0
- package/es/modules/env-manager/env-manager.const.mjs +4 -2
- package/es/modules/env-manager/env-manager.d.ts +8 -13
- package/es/modules/env-manager/env-manager.interface.d.ts +5 -9
- package/es/modules/env-manager/env-manager.interface.mjs +2 -0
- package/es/modules/env-manager/env-manager.mjs +19 -27
- package/es/modules/env-manager/env-manager.util.d.ts +5 -0
- package/es/modules/env-manager/env-manager.util.mjs +11 -0
- package/es/modules/env-manager/index.d.ts +1 -0
- package/es/modules/env-manager/index.mjs +1 -0
- package/es/modules/mqtt/interfaces/i-mqtt.d.ts +6 -2
- package/es/modules/mqtt/mqtt-client.d.ts +8 -7
- package/es/modules/mqtt/mqtt-client.mjs +30 -19
- package/es/modules/platform-config/constants/theme.const.d.ts +9 -1
- package/es/modules/platform-config/constants/theme.const.mjs +13 -2
- package/es/modules/platform-config/enums/login.enum.d.ts +3 -1
- package/es/modules/platform-config/enums/login.enum.mjs +2 -0
- package/es/modules/platform-config/index.d.ts +3 -0
- package/es/modules/platform-config/index.mjs +3 -0
- package/es/modules/platform-config/store.d.ts +18 -18
- package/es/modules/platform-config/useDeploySetting.d.ts +1 -2
- package/es/modules/platform-config/useDeploySetting.mjs +6 -3
- package/es/modules/platform-config/useLoginSetting.d.ts +2 -2
- package/es/modules/platform-config/useLoginSetting.mjs +29 -31
- package/es/modules/platform-config/useOrgSetting.d.ts +2 -2
- package/es/modules/platform-config/useOrgSetting.mjs +4 -6
- package/es/modules/platform-config/useSecuritySetting.d.ts +2 -2
- package/es/modules/platform-config/useSecuritySetting.mjs +2 -3
- package/es/modules/platform-config/useThemeSetting.d.ts +1 -1
- package/es/modules/platform-config/useThemeSetting.mjs +32 -4
- package/es/modules/platform-config/useWatermarkSetting.d.ts +5 -2
- package/es/modules/platform-config/useWatermarkSetting.mjs +2 -3
- package/es/modules/sign-log/index.d.ts +1 -0
- package/es/modules/sign-log/index.mjs +1 -0
- package/es/modules/sign-log/sign-log.d.ts +10 -0
- package/es/modules/sign-log/sign-log.mjs +109 -0
- package/es/modules/sign-log/sing-log.interface.d.ts +9 -0
- package/es/modules/system-mqtt/index.d.ts +2 -0
- package/es/modules/system-mqtt/index.mjs +1 -0
- package/es/modules/system-mqtt/system-mqtt.interface.d.ts +71 -0
- package/es/modules/system-mqtt/system-mqtt.service.d.ts +104 -0
- package/es/modules/system-mqtt/system-mqtt.service.mjs +199 -0
- package/es/modules/user-stores/store/permission.store.d.ts +1 -0
- package/es/modules/user-stores/store/permission.store.mjs +10 -0
- package/es/modules/user-stores/store/user.store.mjs +4 -2
- package/es/router/guard/index.d.ts +4 -0
- package/es/router/guard/index.mjs +41 -0
- package/es/router/index.mjs +2 -0
- package/es/setup-app.mjs +2 -9
- package/es/state/global-pinia-state/global-pinia-state.d.ts +6 -0
- package/es/state/global-pinia-state/global-pinia-state.mjs +6 -0
- package/es/store/global-store.mjs +15 -1
- package/es/types/index.d.ts +7 -0
- package/es/utils/auth-util/auth-util.d.ts +37 -0
- package/es/utils/auth-util/auth-util.mjs +79 -0
- package/es/utils/axios/check-status.d.ts +1 -0
- package/es/utils/axios/check-status.mjs +64 -0
- package/es/utils/axios/interceptors.mjs +30 -0
- package/es/utils/deviceFingerprint.mjs +5 -1
- package/es/utils/i18n/index.mjs +1 -0
- package/es/utils/index.d.ts +4 -2
- package/es/utils/index.mjs +3 -1
- package/es/utils/kit-pkg-util/kit-pkg-util.mjs +1 -1
- package/es/utils/openUtil/modal/modal.d.ts +1 -1
- package/es/utils/openUtil/modal/modal.mjs +1 -1
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +8 -2
- package/es/utils/openUtil/overlay-popover-container/overlay-popover-container.mjs +2 -1
- package/es/utils/select-user-utils.d.ts +50 -0
- package/es/utils/select-user-utils.mjs +129 -0
- package/es/utils/tools/tools.d.ts +6 -0
- package/es/utils/tools/tools.mjs +12 -3
- package/package.json +5 -3
|
@@ -1 +1,2 @@
|
|
|
1
|
+
/*! @gct-paas/core v6.0.0-dev.9 */
|
|
1
2
|
import{createElementBlock as e,defineComponent as r,openBlock as t,unref as a}from"vue";import{useRouter as p}from"vue-router";var o=/* @__PURE__ */r({__name:"redirect-index",setup(r){const{currentRoute:o,replace:i}=p(),{params:s,query:u}=a(o),{path:m,_redirect_type:n="path"}=s;Reflect.deleteProperty(s,"_redirect_type"),Reflect.deleteProperty(s,"path");const c=Array.isArray(m)?m.join("/"):m;return i("name"===n?{name:c,query:u,params:JSON.parse(s._origin_params??"{}")}:{path:c.startsWith("/")?c:"/"+c,query:u}),(r,a)=>(t(),e("div"))}});export{o as default};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __exportAll = (all, no_symbols) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) __defProp(target, name, {
|
|
6
|
+
get: all[name],
|
|
7
|
+
enumerable: true
|
|
8
|
+
});
|
|
9
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
|
+
return target;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { __exportAll };
|
|
@@ -377,6 +377,26 @@ SQRT(4) 返回 2`,
|
|
|
377
377
|
示例
|
|
378
378
|
STDEV([10, 12, 23, 23, 16, 23, 21, 16])=5.237229365663817`,
|
|
379
379
|
definition: "declare function STDEV(...args: number[]): Promise<number>;"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
desc: `RSQ(array1, array2)
|
|
383
|
+
返回 Pearson 乘积矩相关系数平方值(决定系数 R²),用于评估两个变量之间线性关系的拟合程度。返回值介于 0~1 之间。
|
|
384
|
+
值接近 1:强线性关系,自变量 x 能较好解释因变量 y 的变化;值接近 0:几乎无线性关系;值为 1:完美线性关系;值为 0:无线性关系。
|
|
385
|
+
参数 array1 为因变量 y,array2 为自变量 x;两者均须为数字数组,元素个数大于 1 且长度相同;参数不合规时返回空。
|
|
386
|
+
示例
|
|
387
|
+
RSQ([1, 2, 3, 4, 5], [2, 4, 6, 8, 10]) 返回 1
|
|
388
|
+
RSQ([2, 4, 5, 4, 5], [1, 3, 4, 3, 5]) 返回 0.93
|
|
389
|
+
RSQ([10, 12, 23, 23, 16], [21, 16, 23, 21, 16]) 返回 0.27
|
|
390
|
+
RSQ([1, 2, 3], [2, 5, 1]) 返回 0.06
|
|
391
|
+
RSQ([1], [2]) 返回 空`,
|
|
392
|
+
definition: "declare function RSQ(y: number[], x: number[]): Promise<number>;"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
desc: `MAXABS
|
|
396
|
+
MAXABS(数字1, 数字2, ...) 获取一组数值中绝对值最大的原始数值,保留数字正负符号。
|
|
397
|
+
示例
|
|
398
|
+
MAXABS(-2, -6, -4)=-6`,
|
|
399
|
+
definition: "declare function MAXABS(...args: number[]): Promise<number>;"
|
|
380
400
|
}
|
|
381
401
|
]
|
|
382
402
|
},
|
|
@@ -92,7 +92,9 @@ var ModeFnMap = {
|
|
|
92
92
|
"MINUTE",
|
|
93
93
|
"TUPLE",
|
|
94
94
|
"SEQMAP",
|
|
95
|
-
"SUMSQ"
|
|
95
|
+
"SUMSQ",
|
|
96
|
+
"RSQ",
|
|
97
|
+
"MAXABS"
|
|
96
98
|
],
|
|
97
99
|
[ExpressionModeEnum.LABEL_PRINT]: [
|
|
98
100
|
"IF",
|
|
@@ -133,7 +135,9 @@ var ModeFnMap = {
|
|
|
133
135
|
"MINUTE",
|
|
134
136
|
"TUPLE",
|
|
135
137
|
"SEQMAP",
|
|
136
|
-
"SUMSQ"
|
|
138
|
+
"SUMSQ",
|
|
139
|
+
"RSQ",
|
|
140
|
+
"MAXABS"
|
|
137
141
|
]
|
|
138
142
|
};
|
|
139
143
|
/**
|
|
@@ -238,6 +242,12 @@ var ModeTabMap = {
|
|
|
238
242
|
ExpressionTabEnum.FIELD,
|
|
239
243
|
ExpressionTabEnum.FUNCTION,
|
|
240
244
|
ExpressionTabEnum.OPERATOR
|
|
245
|
+
],
|
|
246
|
+
[ExpressionModeEnum.EDHR_LABEL_PRINT]: [
|
|
247
|
+
ExpressionTabEnum.PARAMS,
|
|
248
|
+
ExpressionTabEnum.FUNCTION,
|
|
249
|
+
ExpressionTabEnum.OPERATOR,
|
|
250
|
+
ExpressionTabEnum.VARIABLE
|
|
241
251
|
]
|
|
242
252
|
};
|
|
243
253
|
var ReturnTypeMaps = {
|
package/es/constants/index.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export declare const PLUGIN_BASE_URL = "/minio";
|
|
|
10
10
|
* 图片文件基础路径
|
|
11
11
|
*/
|
|
12
12
|
export declare const VITE_MINIO_PATH = "/minio";
|
|
13
|
+
/**
|
|
14
|
+
* 默认头像
|
|
15
|
+
*/
|
|
16
|
+
export declare const VITE_GLOB_DEFAULT_AVATAR = "system/user_default_img-fddbb29e-63ec-46e9-bf70-6330df2cf555.png";
|
|
13
17
|
/**
|
|
14
18
|
* 应用实例全局标识符
|
|
15
19
|
*/
|
package/es/constants/index.mjs
CHANGED
|
@@ -25,8 +25,12 @@ var PLUGIN_BASE_URL = "/minio";
|
|
|
25
25
|
*/
|
|
26
26
|
var VITE_MINIO_PATH = "/minio";
|
|
27
27
|
/**
|
|
28
|
+
* 默认头像
|
|
29
|
+
*/
|
|
30
|
+
var VITE_GLOB_DEFAULT_AVATAR = "system/user_default_img-fddbb29e-63ec-46e9-bf70-6330df2cf555.png";
|
|
31
|
+
/**
|
|
28
32
|
* 应用实例全局标识符
|
|
29
33
|
*/
|
|
30
34
|
var APP_INST = "app_inst";
|
|
31
35
|
//#endregion
|
|
32
|
-
export { APP_INST, PLUGIN_BASE_URL, STYLE_NAMESPACE_TAG, VITE_MINIO_PATH };
|
|
36
|
+
export { APP_INST, PLUGIN_BASE_URL, STYLE_NAMESPACE_TAG, VITE_GLOB_DEFAULT_AVATAR, VITE_MINIO_PATH };
|
|
@@ -75,9 +75,7 @@ export declare enum FieldSysVarDefaultValueEnum {
|
|
|
75
75
|
CURRENT_ORG = "CURRENT_ORG"
|
|
76
76
|
}
|
|
77
77
|
export declare enum scriptTypeEnum {
|
|
78
|
-
/**
|
|
79
|
-
* 事件脚本
|
|
80
|
-
*/
|
|
78
|
+
/** 事件脚本 */
|
|
81
79
|
EVENT = "event",
|
|
82
80
|
/**模型业务服务 */
|
|
83
81
|
BUSINESSSERVICE = "businessService",
|
|
@@ -120,3 +118,31 @@ export declare enum ModelFieldEnum {
|
|
|
120
118
|
SEX = "\u6027\u522B",
|
|
121
119
|
CUSTOM = "custom"
|
|
122
120
|
}
|
|
121
|
+
export declare enum ScriptTypeEnum {
|
|
122
|
+
/** 公共方法 */
|
|
123
|
+
GLOBAL_METHOD = "global_method_module",
|
|
124
|
+
/** 脚本 */
|
|
125
|
+
DEFAULT = "script_module",
|
|
126
|
+
/** 编排 */
|
|
127
|
+
ORCHESTRATION = "so_module"
|
|
128
|
+
}
|
|
129
|
+
export declare enum EventsTypeEnum {
|
|
130
|
+
/** 服务编排 */
|
|
131
|
+
SO_SERVICE = "SO_SERVICE",
|
|
132
|
+
/** 服务脚本 */
|
|
133
|
+
SCRIPT_SERVICE = "SCRIPT_SERVICE"
|
|
134
|
+
}
|
|
135
|
+
export declare enum ModelTypeEnum {
|
|
136
|
+
/** 实体模型 */
|
|
137
|
+
ENTITY = "entity_module",
|
|
138
|
+
/** 枚举 */
|
|
139
|
+
ENUM = "enum_module",
|
|
140
|
+
/** 虚拟 */
|
|
141
|
+
VIRTUAL = 5,
|
|
142
|
+
/** 视图 */
|
|
143
|
+
VIEW = "view_model_module",
|
|
144
|
+
/** SQL */
|
|
145
|
+
SQL = 7,
|
|
146
|
+
/** 数据 */
|
|
147
|
+
DATA = "data_model"
|
|
148
|
+
}
|
|
@@ -90,9 +90,7 @@ var FieldSysVarDefaultValueEnum = /* @__PURE__ */ function(FieldSysVarDefaultVal
|
|
|
90
90
|
return FieldSysVarDefaultValueEnum;
|
|
91
91
|
}({});
|
|
92
92
|
var scriptTypeEnum = /* @__PURE__ */ function(scriptTypeEnum) {
|
|
93
|
-
/**
|
|
94
|
-
* 事件脚本
|
|
95
|
-
*/
|
|
93
|
+
/** 事件脚本 */
|
|
96
94
|
scriptTypeEnum["EVENT"] = "event";
|
|
97
95
|
/**模型业务服务 */
|
|
98
96
|
scriptTypeEnum["BUSINESSSERVICE"] = "businessService";
|
|
@@ -141,5 +139,36 @@ var ModelFieldEnum = /* @__PURE__ */ function(ModelFieldEnum) {
|
|
|
141
139
|
ModelFieldEnum["CUSTOM"] = "custom";
|
|
142
140
|
return ModelFieldEnum;
|
|
143
141
|
}({});
|
|
142
|
+
var ScriptTypeEnum = /* @__PURE__ */ function(ScriptTypeEnum) {
|
|
143
|
+
/** 公共方法 */
|
|
144
|
+
ScriptTypeEnum["GLOBAL_METHOD"] = "global_method_module";
|
|
145
|
+
/** 脚本 */
|
|
146
|
+
ScriptTypeEnum["DEFAULT"] = "script_module";
|
|
147
|
+
/** 编排 */
|
|
148
|
+
ScriptTypeEnum["ORCHESTRATION"] = "so_module";
|
|
149
|
+
return ScriptTypeEnum;
|
|
150
|
+
}({});
|
|
151
|
+
var EventsTypeEnum = /* @__PURE__ */ function(EventsTypeEnum) {
|
|
152
|
+
/** 服务编排 */
|
|
153
|
+
EventsTypeEnum["SO_SERVICE"] = "SO_SERVICE";
|
|
154
|
+
/** 服务脚本 */
|
|
155
|
+
EventsTypeEnum["SCRIPT_SERVICE"] = "SCRIPT_SERVICE";
|
|
156
|
+
return EventsTypeEnum;
|
|
157
|
+
}({});
|
|
158
|
+
var ModelTypeEnum = /* @__PURE__ */ function(ModelTypeEnum) {
|
|
159
|
+
/** 实体模型 */
|
|
160
|
+
ModelTypeEnum["ENTITY"] = "entity_module";
|
|
161
|
+
/** 枚举 */
|
|
162
|
+
ModelTypeEnum["ENUM"] = "enum_module";
|
|
163
|
+
/** 虚拟 */
|
|
164
|
+
ModelTypeEnum[ModelTypeEnum["VIRTUAL"] = 5] = "VIRTUAL";
|
|
165
|
+
/** 视图 */
|
|
166
|
+
ModelTypeEnum["VIEW"] = "view_model_module";
|
|
167
|
+
/** SQL */
|
|
168
|
+
ModelTypeEnum[ModelTypeEnum["SQL"] = 7] = "SQL";
|
|
169
|
+
/** 数据 */
|
|
170
|
+
ModelTypeEnum["DATA"] = "data_model";
|
|
171
|
+
return ModelTypeEnum;
|
|
172
|
+
}({});
|
|
144
173
|
//#endregion
|
|
145
|
-
export { EntityModelCategoryEnum, EntityModelTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, ModelFieldEnum, PatternEnum, ResetConditionEnum, SHOW_FIELDTYPES, TypeEnum, UserServiceType, pageLayoutModeEnum, scriptTypeEnum };
|
|
174
|
+
export { EntityModelCategoryEnum, EntityModelTypeEnum, EventsTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, ModelFieldEnum, ModelTypeEnum, PatternEnum, ResetConditionEnum, SHOW_FIELDTYPES, ScriptTypeEnum, TypeEnum, UserServiceType, pageLayoutModeEnum, scriptTypeEnum };
|
package/es/enums/appEnum.d.ts
CHANGED
package/es/enums/appEnum.mjs
CHANGED
|
@@ -280,6 +280,10 @@ var FIELD_TYPE = /* @__PURE__ */ function(FIELD_TYPE) {
|
|
|
280
280
|
*/
|
|
281
281
|
FIELD_TYPE["Biz_Process"] = "biz_process";
|
|
282
282
|
FIELD_TYPE["TENANT"] = "tenant";
|
|
283
|
+
/**
|
|
284
|
+
* 公式显示字段
|
|
285
|
+
*/
|
|
286
|
+
FIELD_TYPE["FUNCTION"] = "function";
|
|
283
287
|
return FIELD_TYPE;
|
|
284
288
|
}({});
|
|
285
289
|
var FIELD_TYPE_BASIC = /* @__PURE__ */ function(FIELD_TYPE_BASIC) {
|
|
@@ -614,7 +618,8 @@ var FieldIconMap = {
|
|
|
614
618
|
[FIELD_TYPE.MATERIAL_NO]: "icon-field-material-no",
|
|
615
619
|
[FIELD_TYPE.PRODUCT]: "icon-field-product",
|
|
616
620
|
[FIELD_TYPE.DEVICE]: "icon-field-device",
|
|
617
|
-
[FIELD_TYPE.Biz_Process]: "icon-jichengzhongxin1"
|
|
621
|
+
[FIELD_TYPE.Biz_Process]: "icon-jichengzhongxin1",
|
|
622
|
+
[FIELD_TYPE.FUNCTION]: "icon-zidingyi"
|
|
618
623
|
};
|
|
619
624
|
var AggTypes = /* @__PURE__ */ function(AggTypes) {
|
|
620
625
|
AggTypes["COUNT"] = "COUNT";
|
|
@@ -43,7 +43,11 @@ export declare enum CustomAction {
|
|
|
43
43
|
Reassign = "Reassign",
|
|
44
44
|
Log = "Log",
|
|
45
45
|
Moving = "Moving",
|
|
46
|
-
EnableDisable = "EnableDisable"
|
|
46
|
+
EnableDisable = "EnableDisable",
|
|
47
|
+
BtwConvertTemplate = "BtwConvertTemplate",
|
|
48
|
+
BtwUpdate = "BtwUpdate",
|
|
49
|
+
BtwDelete = "BtwDelete",
|
|
50
|
+
BtwCopy = "BtwCopy"
|
|
47
51
|
}
|
|
48
52
|
export type AuthActionEnum = BasicAction | CustomAction;
|
|
49
53
|
export declare const DefaultActions: BasicAction[];
|
|
@@ -46,6 +46,10 @@ var CustomAction = /* @__PURE__ */ function(CustomAction) {
|
|
|
46
46
|
CustomAction["Log"] = "Log";
|
|
47
47
|
CustomAction["Moving"] = "Moving";
|
|
48
48
|
CustomAction["EnableDisable"] = "EnableDisable";
|
|
49
|
+
CustomAction["BtwConvertTemplate"] = "BtwConvertTemplate";
|
|
50
|
+
CustomAction["BtwUpdate"] = "BtwUpdate";
|
|
51
|
+
CustomAction["BtwDelete"] = "BtwDelete";
|
|
52
|
+
CustomAction["BtwCopy"] = "BtwCopy";
|
|
49
53
|
return CustomAction;
|
|
50
54
|
}({});
|
|
51
55
|
var DefaultActions = [
|
|
@@ -4,5 +4,12 @@ var PrintResourceEnum = /* @__PURE__ */ function(PrintResourceEnum) {
|
|
|
4
4
|
PrintResourceEnum["INTERNET_PRINT"] = "INTERNET_PRINT";
|
|
5
5
|
return PrintResourceEnum;
|
|
6
6
|
}({});
|
|
7
|
+
var PrintFormatEnum = /* @__PURE__ */ function(PrintFormatEnum) {
|
|
8
|
+
PrintFormatEnum["Zpl"] = "zpl";
|
|
9
|
+
PrintFormatEnum["String"] = "string";
|
|
10
|
+
PrintFormatEnum["Png"] = "png";
|
|
11
|
+
PrintFormatEnum["Btw"] = "btw";
|
|
12
|
+
return PrintFormatEnum;
|
|
13
|
+
}({});
|
|
7
14
|
//#endregion
|
|
8
|
-
export { PrintResourceEnum };
|
|
15
|
+
export { PrintFormatEnum, PrintResourceEnum };
|
|
@@ -20,7 +20,8 @@ export declare enum ExpressionModeEnum {
|
|
|
20
20
|
MEDPRO_BUSINESSFLOW = 14,//medpro 业务流
|
|
21
21
|
RUN_FORMULA = 15,//组件-公式计算字段字段
|
|
22
22
|
BI_FORMULA = 16,// BI公式字段函数
|
|
23
|
-
DATA_SET_FORMULA = 17
|
|
23
|
+
DATA_SET_FORMULA = 17,// 数据集公式字段函数
|
|
24
|
+
EDHR_LABEL_PRINT = 18
|
|
24
25
|
}
|
|
25
26
|
export type ModeTabMapInterface = Record<ExpressionModeEnum, ExpressionTabEnum[]>;
|
|
26
27
|
export declare enum ExpressionTabEnum {
|
|
@@ -29,7 +30,8 @@ export declare enum ExpressionTabEnum {
|
|
|
29
30
|
FIELD = "field",// 字段
|
|
30
31
|
VARIABLE = "variable",// 变量
|
|
31
32
|
NODE = "node",// 节点
|
|
32
|
-
OPERATOR = "operator"
|
|
33
|
+
OPERATOR = "operator",// 运算符
|
|
34
|
+
PARAMS = "params"
|
|
33
35
|
}
|
|
34
36
|
export declare enum OperatorTypeEnum {
|
|
35
37
|
/**算术 */
|
|
@@ -21,6 +21,7 @@ var ExpressionModeEnum = /* @__PURE__ */ function(ExpressionModeEnum) {
|
|
|
21
21
|
ExpressionModeEnum[ExpressionModeEnum["RUN_FORMULA"] = 15] = "RUN_FORMULA";
|
|
22
22
|
ExpressionModeEnum[ExpressionModeEnum["BI_FORMULA"] = 16] = "BI_FORMULA";
|
|
23
23
|
ExpressionModeEnum[ExpressionModeEnum["DATA_SET_FORMULA"] = 17] = "DATA_SET_FORMULA";
|
|
24
|
+
ExpressionModeEnum[ExpressionModeEnum["EDHR_LABEL_PRINT"] = 18] = "EDHR_LABEL_PRINT";
|
|
24
25
|
return ExpressionModeEnum;
|
|
25
26
|
}({});
|
|
26
27
|
var ExpressionTabEnum = /* @__PURE__ */ function(ExpressionTabEnum) {
|
|
@@ -30,6 +31,7 @@ var ExpressionTabEnum = /* @__PURE__ */ function(ExpressionTabEnum) {
|
|
|
30
31
|
ExpressionTabEnum["VARIABLE"] = "variable";
|
|
31
32
|
ExpressionTabEnum["NODE"] = "node";
|
|
32
33
|
ExpressionTabEnum["OPERATOR"] = "operator";
|
|
34
|
+
ExpressionTabEnum["PARAMS"] = "params";
|
|
33
35
|
return ExpressionTabEnum;
|
|
34
36
|
}({});
|
|
35
37
|
var OperatorTypeEnum = /* @__PURE__ */ function(OperatorTypeEnum) {
|
package/es/enums/globalEnum.d.ts
CHANGED
|
@@ -80,3 +80,33 @@ export declare enum WorkBenchTabEnum {
|
|
|
80
80
|
/** 已选菜单 */
|
|
81
81
|
SELECT_MENU = "select_menu"
|
|
82
82
|
}
|
|
83
|
+
/** 快速搜索查询导航 */
|
|
84
|
+
export declare enum QuickSearchEnum {
|
|
85
|
+
/**模型实体 */
|
|
86
|
+
MODEL_ENITY = 1,
|
|
87
|
+
/**模型枚举 */
|
|
88
|
+
MODEL_ENUM = 2,
|
|
89
|
+
/**模型视图 */
|
|
90
|
+
MODEL_VIEW = 3,
|
|
91
|
+
/**模型数据 */
|
|
92
|
+
MODEL_DATA = 4,
|
|
93
|
+
/**pc页面设计 */
|
|
94
|
+
WEB_PAGE = 5,
|
|
95
|
+
/**移动页面设计 */
|
|
96
|
+
MOBILE_PAGE = 6,
|
|
97
|
+
/**PAD页面设计 */
|
|
98
|
+
PAD_PAGE = 13,
|
|
99
|
+
/**标签设计 */
|
|
100
|
+
LABLE_PRINT = 7,
|
|
101
|
+
/**单据设计 */
|
|
102
|
+
DOCUMENT_PRINT = 8,
|
|
103
|
+
/**流程设计 */
|
|
104
|
+
PROCESS_DESIGNER = 9,
|
|
105
|
+
/**脚本开发 */
|
|
106
|
+
DEV_SCRIPT = 10,
|
|
107
|
+
/**编排开发 */
|
|
108
|
+
DEV_LOGIC = 11,
|
|
109
|
+
/**方法开发 */
|
|
110
|
+
DEV_METHOD = 12
|
|
111
|
+
}
|
|
112
|
+
export declare const ProjectNameType: Record<string, string>;
|
package/es/enums/globalEnum.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ProjectName } from "./appEnum.mjs";
|
|
1
2
|
//#region src/enums/globalEnum.ts
|
|
2
3
|
/**
|
|
3
4
|
* 平台类型枚举
|
|
@@ -88,5 +89,43 @@ var WorkBenchTabEnum = /* @__PURE__ */ function(WorkBenchTabEnum) {
|
|
|
88
89
|
WorkBenchTabEnum["SELECT_MENU"] = "select_menu";
|
|
89
90
|
return WorkBenchTabEnum;
|
|
90
91
|
}({});
|
|
92
|
+
/** 快速搜索查询导航 */
|
|
93
|
+
var QuickSearchEnum = /* @__PURE__ */ function(QuickSearchEnum) {
|
|
94
|
+
/**模型实体 */
|
|
95
|
+
QuickSearchEnum[QuickSearchEnum["MODEL_ENITY"] = 1] = "MODEL_ENITY";
|
|
96
|
+
/**模型枚举 */
|
|
97
|
+
QuickSearchEnum[QuickSearchEnum["MODEL_ENUM"] = 2] = "MODEL_ENUM";
|
|
98
|
+
/**模型视图 */
|
|
99
|
+
QuickSearchEnum[QuickSearchEnum["MODEL_VIEW"] = 3] = "MODEL_VIEW";
|
|
100
|
+
/**模型数据 */
|
|
101
|
+
QuickSearchEnum[QuickSearchEnum["MODEL_DATA"] = 4] = "MODEL_DATA";
|
|
102
|
+
/**pc页面设计 */
|
|
103
|
+
QuickSearchEnum[QuickSearchEnum["WEB_PAGE"] = 5] = "WEB_PAGE";
|
|
104
|
+
/**移动页面设计 */
|
|
105
|
+
QuickSearchEnum[QuickSearchEnum["MOBILE_PAGE"] = 6] = "MOBILE_PAGE";
|
|
106
|
+
/**PAD页面设计 */
|
|
107
|
+
QuickSearchEnum[QuickSearchEnum["PAD_PAGE"] = 13] = "PAD_PAGE";
|
|
108
|
+
/**标签设计 */
|
|
109
|
+
QuickSearchEnum[QuickSearchEnum["LABLE_PRINT"] = 7] = "LABLE_PRINT";
|
|
110
|
+
/**单据设计 */
|
|
111
|
+
QuickSearchEnum[QuickSearchEnum["DOCUMENT_PRINT"] = 8] = "DOCUMENT_PRINT";
|
|
112
|
+
/**流程设计 */
|
|
113
|
+
QuickSearchEnum[QuickSearchEnum["PROCESS_DESIGNER"] = 9] = "PROCESS_DESIGNER";
|
|
114
|
+
/**脚本开发 */
|
|
115
|
+
QuickSearchEnum[QuickSearchEnum["DEV_SCRIPT"] = 10] = "DEV_SCRIPT";
|
|
116
|
+
/**编排开发 */
|
|
117
|
+
QuickSearchEnum[QuickSearchEnum["DEV_LOGIC"] = 11] = "DEV_LOGIC";
|
|
118
|
+
/**方法开发 */
|
|
119
|
+
QuickSearchEnum[QuickSearchEnum["DEV_METHOD"] = 12] = "DEV_METHOD";
|
|
120
|
+
return QuickSearchEnum;
|
|
121
|
+
}({});
|
|
122
|
+
var ProjectNameType = {
|
|
123
|
+
[ProjectName.PORTAL]: "WORKTABLE",
|
|
124
|
+
[ProjectName.BACKEND_MANAGEMENT]: "ENTERPRISE",
|
|
125
|
+
[ProjectName.DEVELOPER_CENTER]: "DEVELOPER",
|
|
126
|
+
[ProjectName.TENANT_CENTER]: "TENANT",
|
|
127
|
+
[ProjectName.APP_DESIGNER]: "APPDESIGN",
|
|
128
|
+
[ProjectName.WEB_RENDER]: "APPFRONT"
|
|
129
|
+
};
|
|
91
130
|
//#endregion
|
|
92
|
-
export { DeviceParamsTypeEnum, LogoTypeEnum, PlatformSettingEnum, PlatformType, UserRoleReqEnum, WorkBenchTabEnum, nullDisplayEnum };
|
|
131
|
+
export { DeviceParamsTypeEnum, LogoTypeEnum, PlatformSettingEnum, PlatformType, ProjectNameType, QuickSearchEnum, UserRoleReqEnum, WorkBenchTabEnum, nullDisplayEnum };
|
package/es/enums/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './sizeEnum';
|
|
|
17
17
|
export * from './processEnum';
|
|
18
18
|
export * from './plugin-enum';
|
|
19
19
|
export * from './expressionEnum';
|
|
20
|
+
export * from './process';
|
|
20
21
|
/**mqtt主题枚举*/
|
|
21
22
|
export declare enum GctMqttTopsEnum {
|
|
22
23
|
/**mqtt电子表单 编辑 遗嘱消息解锁使用 */
|
|
@@ -33,3 +34,13 @@ export declare enum GlobalParamEnum {
|
|
|
33
34
|
*/
|
|
34
35
|
SELECT_ID = "$VAR_GCT_SELECT_ID"
|
|
35
36
|
}
|
|
37
|
+
export declare enum PageTypeEnum {
|
|
38
|
+
/** WEB */
|
|
39
|
+
WEB = "web_module",
|
|
40
|
+
/** MOBILE */
|
|
41
|
+
MOBILE = "mobile_module",
|
|
42
|
+
/** PAD */
|
|
43
|
+
PAD = "pad_module",
|
|
44
|
+
/** 统计 */
|
|
45
|
+
STATISTICS = 8
|
|
46
|
+
}
|
package/es/enums/index.mjs
CHANGED
|
@@ -22,6 +22,7 @@ import "./sizeEnum.mjs";
|
|
|
22
22
|
import "./processEnum.mjs";
|
|
23
23
|
import "./plugin-enum.mjs";
|
|
24
24
|
import "./expressionEnum.mjs";
|
|
25
|
+
import "./process.mjs";
|
|
25
26
|
//#region src/enums/index.ts
|
|
26
27
|
/**mqtt主题枚举*/
|
|
27
28
|
var GctMqttTopsEnum = /* @__PURE__ */ function(GctMqttTopsEnum) {
|
|
@@ -41,5 +42,16 @@ var GlobalParamEnum = /* @__PURE__ */ function(GlobalParamEnum) {
|
|
|
41
42
|
GlobalParamEnum["SELECT_ID"] = "$VAR_GCT_SELECT_ID";
|
|
42
43
|
return GlobalParamEnum;
|
|
43
44
|
}({});
|
|
45
|
+
var PageTypeEnum = /* @__PURE__ */ function(PageTypeEnum) {
|
|
46
|
+
/** WEB */
|
|
47
|
+
PageTypeEnum["WEB"] = "web_module";
|
|
48
|
+
/** MOBILE */
|
|
49
|
+
PageTypeEnum["MOBILE"] = "mobile_module";
|
|
50
|
+
/** PAD */
|
|
51
|
+
PageTypeEnum["PAD"] = "pad_module";
|
|
52
|
+
/** 统计 */
|
|
53
|
+
PageTypeEnum[PageTypeEnum["STATISTICS"] = 8] = "STATISTICS";
|
|
54
|
+
return PageTypeEnum;
|
|
55
|
+
}({});
|
|
44
56
|
//#endregion
|
|
45
|
-
export { GctMqttTopsEnum, GlobalParamEnum };
|
|
57
|
+
export { GctMqttTopsEnum, GlobalParamEnum, PageTypeEnum };
|
|
@@ -30,6 +30,8 @@ export declare enum FormComponents {
|
|
|
30
30
|
RefreshButton = "refresh-button",
|
|
31
31
|
CreateVersionButton = "create-version-button",
|
|
32
32
|
CopyVersionButton = "copy-version-button",
|
|
33
|
+
TxnConfirmButton = "txn-confirm-button",
|
|
34
|
+
TxnCancelButton = "txn-cancel-button",
|
|
33
35
|
Checkbox = "checkbox",
|
|
34
36
|
DataTable = "data-table",
|
|
35
37
|
DataVTable = "data-v-table",
|
|
@@ -32,6 +32,8 @@ var FormComponents = /* @__PURE__ */ function(FormComponents) {
|
|
|
32
32
|
FormComponents["RefreshButton"] = "refresh-button";
|
|
33
33
|
FormComponents["CreateVersionButton"] = "create-version-button";
|
|
34
34
|
FormComponents["CopyVersionButton"] = "copy-version-button";
|
|
35
|
+
FormComponents["TxnConfirmButton"] = "txn-confirm-button";
|
|
36
|
+
FormComponents["TxnCancelButton"] = "txn-cancel-button";
|
|
35
37
|
FormComponents["Checkbox"] = "checkbox";
|
|
36
38
|
FormComponents["DataTable"] = "data-table";
|
|
37
39
|
FormComponents["DataVTable"] = "data-v-table";
|
|
@@ -13,5 +13,12 @@ var PrintTypeEnum = /* @__PURE__ */ function(PrintTypeEnum) {
|
|
|
13
13
|
PrintTypeEnum["RECEIPT"] = "document_module";
|
|
14
14
|
return PrintTypeEnum;
|
|
15
15
|
}({});
|
|
16
|
+
var ContextSceneEnum = /* @__PURE__ */ function(ContextSceneEnum) {
|
|
17
|
+
/** 事务页面 */
|
|
18
|
+
ContextSceneEnum["TXN"] = "txn";
|
|
19
|
+
/** 详情页面 */
|
|
20
|
+
ContextSceneEnum["DETAIL"] = "detail";
|
|
21
|
+
return ContextSceneEnum;
|
|
22
|
+
}({});
|
|
16
23
|
//#endregion
|
|
17
|
-
export { FormDesignEnum, PrintTypeEnum };
|
|
24
|
+
export { ContextSceneEnum, FormDesignEnum, PrintTypeEnum };
|
|
@@ -253,8 +253,7 @@ export declare enum GLOBAL_VAR_TYPE {
|
|
|
253
253
|
NULL = "NULL",
|
|
254
254
|
DATE = "date",
|
|
255
255
|
DATETIME = "datetime",
|
|
256
|
-
TIME = "time"
|
|
257
|
-
VAR = "var"
|
|
256
|
+
TIME = "time"
|
|
258
257
|
}
|
|
259
258
|
export declare enum GLOBAL_TYPE {
|
|
260
259
|
MODAL = "modal",
|
|
@@ -314,3 +313,11 @@ export declare enum Dependency_ENUM {
|
|
|
314
313
|
/**赋值 */
|
|
315
314
|
ASSIGNMENT = "assignment"
|
|
316
315
|
}
|
|
316
|
+
/**
|
|
317
|
+
* 表格单元格内容行高模式
|
|
318
|
+
*/
|
|
319
|
+
export declare enum TABLE_CELL_HEIGHT_MODE {
|
|
320
|
+
ONE_ROW = "one-row",
|
|
321
|
+
ALL_ROW = "all-row",
|
|
322
|
+
CUSTOM_ROW = "custom-row"
|
|
323
|
+
}
|
|
@@ -268,7 +268,6 @@ var GLOBAL_VAR_TYPE = /* @__PURE__ */ function(GLOBAL_VAR_TYPE) {
|
|
|
268
268
|
GLOBAL_VAR_TYPE["DATE"] = "date";
|
|
269
269
|
GLOBAL_VAR_TYPE["DATETIME"] = "datetime";
|
|
270
270
|
GLOBAL_VAR_TYPE["TIME"] = "time";
|
|
271
|
-
GLOBAL_VAR_TYPE["VAR"] = "var";
|
|
272
271
|
return GLOBAL_VAR_TYPE;
|
|
273
272
|
}({});
|
|
274
273
|
var GLOBAL_TYPE = /* @__PURE__ */ function(GLOBAL_TYPE) {
|
|
@@ -338,5 +337,14 @@ var Dependency_ENUM = /* @__PURE__ */ function(Dependency_ENUM) {
|
|
|
338
337
|
Dependency_ENUM["ASSIGNMENT"] = "assignment";
|
|
339
338
|
return Dependency_ENUM;
|
|
340
339
|
}({});
|
|
340
|
+
/**
|
|
341
|
+
* 表格单元格内容行高模式
|
|
342
|
+
*/
|
|
343
|
+
var TABLE_CELL_HEIGHT_MODE = /* @__PURE__ */ function(TABLE_CELL_HEIGHT_MODE) {
|
|
344
|
+
TABLE_CELL_HEIGHT_MODE["ONE_ROW"] = "one-row";
|
|
345
|
+
TABLE_CELL_HEIGHT_MODE["ALL_ROW"] = "all-row";
|
|
346
|
+
TABLE_CELL_HEIGHT_MODE["CUSTOM_ROW"] = "custom-row";
|
|
347
|
+
return TABLE_CELL_HEIGHT_MODE;
|
|
348
|
+
}({});
|
|
341
349
|
//#endregion
|
|
342
|
-
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 };
|
|
350
|
+
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, TABLE_CELL_HEIGHT_MODE, TagTypeEnum, TextAlign, TextDecoration, VERIFICATIONCONDITIONS_TYPE, tagEnum };
|
package/es/enums/pageEnum.d.ts
CHANGED
|
@@ -7,5 +7,6 @@ export declare enum PageEnum {
|
|
|
7
7
|
MESSAGE_CENTER = "/message",
|
|
8
8
|
ERROR_PAGE = "/exception",
|
|
9
9
|
ERROR_LOG_PAGE = "/error-log/list",
|
|
10
|
-
USER_CENTER_PWD = "/user-center/password"
|
|
10
|
+
USER_CENTER_PWD = "/user-center/password",
|
|
11
|
+
USER_CENTER_LOGIN = "/user-center/login-history"
|
|
11
12
|
}
|
package/es/enums/pageEnum.mjs
CHANGED
|
@@ -9,6 +9,7 @@ var PageEnum = /* @__PURE__ */ function(PageEnum) {
|
|
|
9
9
|
PageEnum["ERROR_PAGE"] = "/exception";
|
|
10
10
|
PageEnum["ERROR_LOG_PAGE"] = "/error-log/list";
|
|
11
11
|
PageEnum["USER_CENTER_PWD"] = "/user-center/password";
|
|
12
|
+
PageEnum["USER_CENTER_LOGIN"] = "/user-center/login-history";
|
|
12
13
|
return PageEnum;
|
|
13
14
|
}({});
|
|
14
15
|
//#endregion
|
package/es/enums/sizeEnum.d.ts
CHANGED
package/es/enums/sizeEnum.mjs
CHANGED
|
@@ -24,5 +24,10 @@ var UploadTypeEnum = /* @__PURE__ */ function(UploadTypeEnum) {
|
|
|
24
24
|
UploadTypeEnum["CER"] = "cer";
|
|
25
25
|
return UploadTypeEnum;
|
|
26
26
|
}({});
|
|
27
|
+
var statusEnum = /* @__PURE__ */ function(statusEnum) {
|
|
28
|
+
statusEnum["EXCEPTION"] = "exception";
|
|
29
|
+
statusEnum["ACTIVE"] = "active";
|
|
30
|
+
return statusEnum;
|
|
31
|
+
}({});
|
|
27
32
|
//#endregion
|
|
28
|
-
export { SizeEnum, UploadTypeEnum };
|
|
33
|
+
export { SizeEnum, UploadTypeEnum, statusEnum };
|