@gct-paas/core 0.1.4-dev.7 → 0.1.4-dev.8
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/dist/index.esm.min.mjs +4456 -18521
- package/dist/index.min.cjs +14 -2
- package/dist/index.system.min.js +14 -2
- package/es/constants/core.mjs +0 -1
- package/es/constants/editor-register/editor-register.mjs +0 -1
- package/es/constants/editor-type/editor-type.d.ts +65 -1
- package/es/constants/editor-type/editor-type.mjs +14 -1
- package/es/constants/form-container-type/form-container-type.mjs +0 -1
- package/es/constants/index.d.ts +4 -0
- package/es/constants/index.mjs +2 -7
- package/es/controller/edit-form/edit-form.controller.mjs +0 -1
- package/es/controller/editor/color-editor.controller.mjs +0 -1
- package/es/controller/editor/length-unit-editor.controller.mjs +0 -1
- package/es/controller/editor-item/editor-item.controller.mjs +0 -1
- package/es/controller/form/form.controller.mjs +5 -4
- package/es/controller/form-collapse/form-collapse.controller.mjs +4 -3
- package/es/controller/form-collapse-pane/form-collapse-pane.controller.mjs +4 -3
- package/es/controller/form-edit-item/form-edit-item.controller.d.ts +1 -0
- package/es/controller/form-edit-item/form-edit-item.controller.mjs +6 -2
- package/es/controller/form-group/form-group.controller.mjs +4 -3
- package/es/controller/form-item/form-item.controller.d.ts +1 -0
- package/es/controller/form-item/form-item.controller.mjs +7 -3
- package/es/controller/form-item-basic/form-item-basic.controller.mjs +3 -2
- package/es/controller/form-item-hidden/form-item-hidden.controller.mjs +0 -1
- package/es/controller/form-tab/form-tab.controller.mjs +4 -3
- package/es/controller/form-tab-pane/form-tab-pane.controller.mjs +4 -3
- package/es/controller/gct-form/gct-form.controller.mjs +5 -4
- package/es/create-app-vue.mjs +4 -3
- package/es/enums/app-designer/index.d.ts +13 -1
- package/es/enums/app-designer/index.mjs +8 -2
- package/es/enums/appEnum.d.ts +17 -66
- package/es/enums/appEnum.mjs +18 -14
- package/es/enums/appStateEnum.mjs +0 -1
- package/es/enums/authActionEnum.mjs +0 -1
- package/es/enums/breakpointEnum.mjs +0 -1
- package/es/enums/cacheEnum.mjs +0 -1
- package/es/enums/designEnum.mjs +0 -1
- package/es/enums/exceptionEnum.mjs +0 -1
- package/es/enums/globalEnum.d.ts +38 -0
- package/es/enums/globalEnum.mjs +25 -0
- package/es/enums/httpEnum.mjs +0 -1
- package/es/enums/index.d.ts +13 -0
- package/es/enums/index.mjs +15 -16
- package/es/enums/menuEnum.mjs +0 -1
- package/es/enums/page-designer/designer.d.ts +17 -3
- package/es/enums/page-designer/designer.mjs +85 -6
- package/es/enums/page-designer/panel.mjs +0 -1
- package/es/enums/page-designer/toolkit.mjs +0 -1
- package/es/enums/page-designer/widget.d.ts +2 -1
- package/es/enums/page-designer/widget.mjs +3 -3
- package/es/enums/pageEnum.mjs +0 -1
- package/es/enums/plugin-enum.mjs +0 -1
- package/es/enums/processEnum.mjs +0 -1
- package/es/enums/roleEnum.mjs +0 -1
- package/es/enums/sizeEnum.mjs +0 -1
- package/es/global/gct/gct.d.ts +2 -15
- package/es/global/gct/gct.mjs +19 -17
- package/es/hooks/index.d.ts +2 -0
- package/es/hooks/use-app-inst/use-app-inst.d.ts +8 -0
- package/es/hooks/use-app-inst/use-app-inst.mjs +8 -0
- package/es/hooks/use-form/use-form.mjs +0 -1
- package/es/hooks/use-gct-form-value/use-gct-form-value.d.ts +1 -1
- package/es/hooks/use-gct-form-value/use-gct-form-value.mjs +0 -4
- package/es/hooks/use-modal/use-modal.mjs +0 -1
- package/es/hooks/use-namespace/use-namespace.mjs +11 -2
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.d.ts +31 -0
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +30 -0
- package/es/hooks/useCopyToClipboard.mjs +0 -1
- package/es/index.d.ts +5 -1
- package/es/index.mjs +77 -58
- package/es/interface/controller/form-edit-item/form-edit-item.controller.d.ts +5 -0
- package/es/interface/controller/index.d.ts +0 -1
- package/es/interface/form/i-editor/i-editor-basic.d.ts +2 -2
- package/es/interface/form/i-editor/i-model-field-select-editor.d.ts +18 -0
- package/es/interface/form/i-form/i-form-collapse-pane.d.ts +4 -0
- package/es/interface/form/i-form/i-form-item-basic.d.ts +1 -1
- package/es/interface/form/i-form/i-form-tab-pane.d.ts +4 -0
- package/es/interface/form/index.d.ts +1 -0
- package/es/interface/i-app-context/i-app-context.d.ts +34 -0
- package/es/interface/i-field-code-chain/i-field-code-chain.d.ts +17 -0
- package/es/interface/i-global-var/i-global-var.d.ts +15 -0
- package/es/interface/i-mobile-home-menu-item/i-mobile-home-menu-item.d.ts +94 -0
- package/es/interface/i-pinia-action/i-global-actions.d.ts +8 -20
- package/es/interface/i-pinia-getter/i-global-getters.d.ts +1 -1
- package/es/interface/i-pinia-state/i-global-state.d.ts +7 -14
- package/es/interface/index.d.ts +5 -2
- package/es/interface/open-util/i-open-window-options/i-open-window-options.d.ts +59 -0
- package/es/interface/state/index.d.ts +0 -1
- package/es/locale/index.mjs +1 -2
- package/es/modules/env-manager/env-manager.const.mjs +0 -1
- package/es/modules/env-manager/env-manager.interface.mjs +0 -1
- package/es/modules/env-manager/env-manager.mjs +7 -8
- package/es/modules/error-handler/error-handler.const.mjs +1 -30
- package/es/modules/error-handler/error-strategy.mjs +0 -1
- package/es/modules/error-handler/index.mjs +0 -1
- package/es/modules/platform-config/constants/index.d.ts +7 -0
- package/es/modules/platform-config/constants/login.const.d.ts +15 -0
- package/es/modules/platform-config/constants/login.const.mjs +50 -0
- package/es/modules/platform-config/constants/org.const.d.ts +9 -0
- package/es/modules/platform-config/constants/org.const.mjs +54 -0
- package/es/modules/platform-config/constants/theme.const.d.ts +9 -0
- package/es/modules/platform-config/constants/theme.const.mjs +5 -0
- package/es/modules/platform-config/constants/watermark.const.d.ts +16 -0
- package/es/modules/platform-config/constants/watermark.const.mjs +14 -0
- package/es/modules/platform-config/enums/deploy.enum.d.ts +10 -0
- package/es/modules/platform-config/enums/deploy.enum.mjs +7 -0
- package/es/modules/platform-config/enums/index.d.ts +6 -0
- package/es/modules/platform-config/{constants.d.ts → enums/login.enum.d.ts} +3 -7
- package/es/modules/platform-config/enums/login.enum.mjs +16 -0
- package/es/modules/platform-config/enums/platform.enum.d.ts +27 -0
- package/es/modules/platform-config/enums/platform.enum.mjs +26 -0
- package/es/modules/platform-config/index.d.ts +6 -17
- package/es/modules/platform-config/interfaces/global-setting.interface.d.ts +7 -0
- package/es/modules/platform-config/interfaces/index.d.ts +7 -0
- package/es/modules/platform-config/interfaces/login-config.interface.d.ts +17 -0
- package/es/modules/platform-config/interfaces/platform-map.interface.d.ts +8 -0
- package/es/modules/platform-config/interfaces/theme-setting.interface.d.ts +30 -0
- package/es/modules/platform-config/store.d.ts +221 -0
- package/es/modules/platform-config/store.mjs +78 -0
- package/es/modules/platform-config/useBasicSetting.d.ts +6 -2
- package/es/modules/platform-config/useBasicSetting.mjs +39 -0
- package/es/modules/platform-config/useDeploySetting.d.ts +9 -4
- package/es/modules/platform-config/useDeploySetting.mjs +27 -0
- package/es/modules/platform-config/useLoginSetting.d.ts +4 -14
- package/es/modules/platform-config/useLoginSetting.mjs +177 -0
- package/es/modules/platform-config/useOrgSetting.d.ts +5 -1
- package/es/modules/platform-config/useOrgSetting.mjs +66 -0
- package/es/modules/platform-config/useProjectSetting.d.ts +12 -0
- package/es/modules/platform-config/useProjectSetting.mjs +11 -0
- package/es/modules/platform-config/useSecuritySetting.d.ts +5 -1
- package/es/modules/platform-config/useSecuritySetting.mjs +60 -0
- package/es/modules/platform-config/useThemeSetting.d.ts +6 -3
- package/es/modules/platform-config/useThemeSetting.mjs +64 -0
- package/es/modules/platform-config/useWatermarkSetting.d.ts +4 -1
- package/es/modules/platform-config/useWatermarkSetting.mjs +26 -0
- package/es/modules/user-stores/index.d.ts +3 -0
- package/es/modules/user-stores/store/permission.store.d.ts +21 -0
- package/es/modules/user-stores/store/permission.store.mjs +38 -0
- package/es/modules/user-stores/store/tenant.store.d.ts +9 -0
- package/es/modules/user-stores/store/tenant.store.mjs +24 -0
- package/es/modules/user-stores/store/user.store.d.ts +154 -0
- package/es/modules/user-stores/store/user.store.mjs +100 -0
- package/es/modules/user-stores/types/permission.d.ts +1 -0
- package/es/modules/user-stores/types/tenant.d.ts +1 -0
- package/es/modules/user-stores/types/user.d.ts +14 -0
- package/es/register/editor-register/editor-register.d.ts +5 -13
- package/es/register/editor-register/editor-register.mjs +8 -17
- package/es/register/form-item-register/form-item-register.d.ts +4 -15
- package/es/register/form-item-register/form-item-register.mjs +7 -17
- package/es/register/index.d.ts +18 -1
- package/es/register/render-register/render-register.mjs +0 -1
- package/es/router/index.mjs +0 -1
- package/es/state/form/form.state.mjs +0 -1
- package/es/state/form-collapse/form-collapse.state.mjs +0 -1
- package/es/state/form-collapse-pane/form-collapse-pane.state.mjs +0 -1
- package/es/state/form-edit-item/form-edit-item.state.mjs +0 -1
- package/es/state/form-group/form-group.state.mjs +0 -1
- package/es/state/form-item/form-item.state.mjs +0 -1
- package/es/state/form-item-basic/form-item-basic.state.mjs +0 -1
- package/es/state/form-tab/form-tab.state.mjs +0 -1
- package/es/state/form-tab-pane/form-tab-pane.state.mjs +0 -1
- package/es/state/global-pinia-state/global-pinia-state.d.ts +8 -25
- package/es/state/global-pinia-state/global-pinia-state.mjs +30 -16
- package/es/store/global-store.d.ts +1 -0
- package/es/store/global-store.mjs +34 -37
- package/es/store/index.d.ts +2 -3
- package/es/store/index.mjs +0 -1
- package/es/types/index.d.ts +14 -1
- package/es/utils/axios/interceptors.mjs +3 -23
- package/es/utils/deviceFingerprint.d.ts +17 -0
- package/es/utils/deviceFingerprint.mjs +73 -0
- package/es/utils/dictionary/dictionary.mjs +0 -1
- package/es/utils/i18n/index.d.ts +2 -1
- package/es/utils/i18n/index.mjs +3 -4
- package/es/utils/index.d.ts +11 -2
- package/es/utils/linked-list/linked-list.d.ts +72 -0
- package/es/utils/linked-list/linked-list.mjs +119 -0
- package/es/utils/linked-node/linked-node.d.ts +31 -0
- package/es/utils/linked-node/linked-node.mjs +32 -0
- package/es/utils/mitt/mitt.d.ts +1 -0
- package/es/utils/mitt/mitt.mjs +5 -0
- package/es/utils/model-loader/model-loader.d.ts +118 -0
- package/es/utils/model-loader/model-loader.mjs +326 -0
- package/es/utils/namespace/namespace.mjs +0 -1
- package/es/utils/plugin-static-resource/plugin-static-resource.mjs +0 -1
- package/es/utils/props/gct-form-item/gct-form-item.props.d.ts +63 -0
- package/es/utils/props/gct-form-item/gct-form-item.props.mjs +66 -0
- package/es/utils/props/index.d.ts +1 -0
- package/es/utils/style/index.d.ts +16 -0
- package/es/utils/style/index.mjs +141 -0
- package/es/utils/tools/tools.d.ts +13 -10
- package/es/utils/tools/tools.mjs +19 -11
- package/es/utils/treeHelper/treeHelper.d.ts +117 -0
- package/es/utils/treeHelper/treeHelper.mjs +220 -0
- package/es/utils/util.d.ts +39 -0
- package/es/utils/util.mjs +40 -0
- package/es/utils/value-helper/value-helper.d.ts +49 -0
- package/es/utils/value-helper/value-helper.mjs +109 -0
- package/es/utils/width-install/width-install.mjs +0 -2
- package/package.json +12 -16
- package/es/controller/index.mjs +0 -17
- package/es/enums/page-designer/index.mjs +0 -6
- package/es/global/index.mjs +0 -3
- package/es/hooks/index.mjs +0 -7
- package/es/interface/controller/i-designer-controller.d.ts +0 -116
- package/es/interface/hooks/i-designer-hooks.d.ts +0 -26
- package/es/interface/hooks/index.d.ts +0 -1
- package/es/interface/index.mjs +0 -1
- package/es/interface/low-code-types/index.d.ts +0 -4
- package/es/interface/low-code-types/modal-types.d.ts +0 -67
- package/es/interface/low-code-types/model/index.d.ts +0 -5338
- package/es/interface/low-code-types/schema/index.d.ts +0 -12
- package/es/interface/low-code-types/widget-basic-types.d.ts +0 -667
- package/es/interface/state/i-designer-state.d.ts +0 -27
- package/es/modules/env-manager/index.mjs +0 -5
- package/es/modules/platform-config/index.mjs +0 -17
- package/es/modules/platform-config/types.d.ts +0 -67
- package/es/provider/i-designer-provider/i-designer-provider.d.ts +0 -102
- package/es/provider/index.d.ts +0 -1
- package/es/provider/index.mjs +0 -1
- package/es/register/designer-register/designer-register.d.ts +0 -53
- package/es/register/designer-register/designer-register.mjs +0 -68
- package/es/register/index.mjs +0 -6
- package/es/state/index.mjs +0 -12
- package/es/utils/index.mjs +0 -10
- package/es/utils/plugin-pkg-util/plugin-pkg-util.d.ts +0 -96
- package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +0 -260
package/es/enums/appEnum.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
const SIDE_BAR_MINI_WIDTH = 48;
|
|
3
2
|
const SIDE_BAR_SHOW_TIT_MINI_WIDTH = 80;
|
|
4
3
|
var ContentEnum = /* @__PURE__ */ ((ContentEnum2) => {
|
|
@@ -106,6 +105,7 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
|
|
|
106
105
|
FIELD_TYPE2["PRODUCT"] = "product";
|
|
107
106
|
FIELD_TYPE2["DEVICE"] = "device";
|
|
108
107
|
FIELD_TYPE2["Biz_Process"] = "biz_process";
|
|
108
|
+
FIELD_TYPE2["TENANT"] = "tenant";
|
|
109
109
|
return FIELD_TYPE2;
|
|
110
110
|
})(FIELD_TYPE || {});
|
|
111
111
|
var FIELD_TYPE_BASIC = /* @__PURE__ */ ((FIELD_TYPE_BASIC2) => {
|
|
@@ -211,7 +211,8 @@ const FieldTypeToJs = {
|
|
|
211
211
|
["edhr_tmpl" /* E_DHR_TEMPLATE */]: "string",
|
|
212
212
|
["online_form" /* ONLINE_FORM */]: "string",
|
|
213
213
|
["data_table_formula" /* DATA_TABLE_FORMULA */]: "string",
|
|
214
|
-
["biz_process" /* Biz_Process */]: "string"
|
|
214
|
+
["biz_process" /* Biz_Process */]: "string",
|
|
215
|
+
["tenant" /* TENANT */]: "string"
|
|
215
216
|
};
|
|
216
217
|
var CreateType = /* @__PURE__ */ ((CreateType2) => {
|
|
217
218
|
CreateType2["SYSTEM"] = "SYSTEM";
|
|
@@ -281,6 +282,7 @@ const FieldIconMap = {
|
|
|
281
282
|
["printer" /* PRINTER */]: "icon-dayinanniu",
|
|
282
283
|
["message_tmpl" /* MESSAGE_TMPL */]: "icon-xiaoximoban",
|
|
283
284
|
["range_user" /* RANGE_USER */]: "icon-fanweirenyuan",
|
|
285
|
+
["label_template" /* LABEL_TEMPLATE */]: "icon-biaoqianmoban",
|
|
284
286
|
["label_template_ref" /* LABEL_TEMPLATE_REF */]: "icon-biaoqianmoban",
|
|
285
287
|
["document_template" /* DOCUMENT_TEMPLATE */]: "icon-danjumoban",
|
|
286
288
|
["electronic_signature" /* SIGNATURE */]: "icon-qianming1",
|
|
@@ -289,7 +291,7 @@ const FieldIconMap = {
|
|
|
289
291
|
["online_form" /* ONLINE_FORM */]: "icon-zaixianbiaodan",
|
|
290
292
|
["data_table_formula" /* DATA_TABLE_FORMULA */]: "icon-gongshiziduan",
|
|
291
293
|
["readonlycmp" /* READONLYCMP */]: "icon-wenben1",
|
|
292
|
-
["tenant"]: "icon-id",
|
|
294
|
+
["tenant" /* TENANT */]: "icon-id",
|
|
293
295
|
["associated_primary_key" /* ASSOCIATED_PRIMARY_KEY */]: "icon-id",
|
|
294
296
|
["material_no" /* MATERIAL_NO */]: "icon-field-material-no",
|
|
295
297
|
["product" /* PRODUCT */]: "icon-field-product",
|
|
@@ -322,17 +324,19 @@ var UniqueConstraintType = /* @__PURE__ */ ((UniqueConstraintType2) => {
|
|
|
322
324
|
UniqueConstraintType2["LOGIC"] = "LOGIC";
|
|
323
325
|
return UniqueConstraintType2;
|
|
324
326
|
})(UniqueConstraintType || {});
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
327
|
+
const MessageType = {
|
|
328
|
+
/**全部 */
|
|
329
|
+
ALL: "all",
|
|
330
|
+
/**未读 */
|
|
331
|
+
UNREAD: "unread"
|
|
332
|
+
};
|
|
333
|
+
const WorkbenchType = {
|
|
334
|
+
/**全部 */
|
|
335
|
+
TEST: "myTestApp",
|
|
336
|
+
/**未读 */
|
|
337
|
+
QUICK: "quickAccess",
|
|
338
|
+
MY: "myApp"
|
|
339
|
+
};
|
|
336
340
|
var PersonalCenterType = /* @__PURE__ */ ((PersonalCenterType2) => {
|
|
337
341
|
PersonalCenterType2["PROFILE"] = "profile";
|
|
338
342
|
PersonalCenterType2["GENDER"] = "gender";
|
package/es/enums/cacheEnum.mjs
CHANGED
package/es/enums/designEnum.mjs
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 平台类型枚举
|
|
3
|
+
*
|
|
4
|
+
* @author copilot
|
|
5
|
+
* @date 2025-06-13
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
export declare enum PlatformType {
|
|
10
|
+
/**
|
|
11
|
+
* 网页端
|
|
12
|
+
*/
|
|
13
|
+
WEB = "web",
|
|
14
|
+
/**
|
|
15
|
+
* PDA端
|
|
16
|
+
*/
|
|
17
|
+
PDA = "pda",
|
|
18
|
+
/**
|
|
19
|
+
* PAD端
|
|
20
|
+
*/
|
|
21
|
+
PAD = "pad"
|
|
22
|
+
}
|
|
23
|
+
/**空值显示枚举 */
|
|
24
|
+
export declare enum nullDisplayEnum {
|
|
25
|
+
'--' = "--",
|
|
26
|
+
'empty' = "(\u7A7A)",
|
|
27
|
+
'null' = "null",
|
|
28
|
+
'N/A' = "N/A",
|
|
29
|
+
'noDisplay' = ""
|
|
30
|
+
}
|
|
31
|
+
export declare enum DeviceParamsTypeEnum {
|
|
32
|
+
STRING = "String",
|
|
33
|
+
INTEGER = "Integer",
|
|
34
|
+
LONG = "Long",
|
|
35
|
+
FLOAT = "Float",
|
|
36
|
+
BOOLEAN = "Boolean",
|
|
37
|
+
DATE = "Date"
|
|
38
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var PlatformType = /* @__PURE__ */ ((PlatformType2) => {
|
|
2
|
+
PlatformType2["WEB"] = "web";
|
|
3
|
+
PlatformType2["PDA"] = "pda";
|
|
4
|
+
PlatformType2["PAD"] = "pad";
|
|
5
|
+
return PlatformType2;
|
|
6
|
+
})(PlatformType || {});
|
|
7
|
+
var nullDisplayEnum = /* @__PURE__ */ ((nullDisplayEnum2) => {
|
|
8
|
+
nullDisplayEnum2["--"] = "--";
|
|
9
|
+
nullDisplayEnum2["empty"] = "(空)";
|
|
10
|
+
nullDisplayEnum2["null"] = "null";
|
|
11
|
+
nullDisplayEnum2["N/A"] = "N/A";
|
|
12
|
+
nullDisplayEnum2["noDisplay"] = "";
|
|
13
|
+
return nullDisplayEnum2;
|
|
14
|
+
})(nullDisplayEnum || {});
|
|
15
|
+
var DeviceParamsTypeEnum = /* @__PURE__ */ ((DeviceParamsTypeEnum2) => {
|
|
16
|
+
DeviceParamsTypeEnum2["STRING"] = "String";
|
|
17
|
+
DeviceParamsTypeEnum2["INTEGER"] = "Integer";
|
|
18
|
+
DeviceParamsTypeEnum2["LONG"] = "Long";
|
|
19
|
+
DeviceParamsTypeEnum2["FLOAT"] = "Float";
|
|
20
|
+
DeviceParamsTypeEnum2["BOOLEAN"] = "Boolean";
|
|
21
|
+
DeviceParamsTypeEnum2["DATE"] = "Date";
|
|
22
|
+
return DeviceParamsTypeEnum2;
|
|
23
|
+
})(DeviceParamsTypeEnum || {});
|
|
24
|
+
|
|
25
|
+
export { DeviceParamsTypeEnum, PlatformType, nullDisplayEnum };
|
package/es/enums/httpEnum.mjs
CHANGED
package/es/enums/index.d.ts
CHANGED
|
@@ -8,9 +8,22 @@ export * from './cacheEnum';
|
|
|
8
8
|
export * from './designEnum';
|
|
9
9
|
export * from './exceptionEnum';
|
|
10
10
|
export * from './httpEnum';
|
|
11
|
+
export * from './globalEnum';
|
|
11
12
|
export * from './menuEnum';
|
|
12
13
|
export * from './pageEnum';
|
|
13
14
|
export * from './roleEnum';
|
|
14
15
|
export * from './sizeEnum';
|
|
15
16
|
export * from './processEnum';
|
|
16
17
|
export * from './plugin-enum';
|
|
18
|
+
export declare enum ReturnTypeEnum {
|
|
19
|
+
String = "string",
|
|
20
|
+
Number = "number",
|
|
21
|
+
Boolean = "boolean"
|
|
22
|
+
}
|
|
23
|
+
/**mqtt主题枚举*/
|
|
24
|
+
export declare enum GctMqttTopsEnum {
|
|
25
|
+
/**mqtt电子表单 编辑 遗嘱消息解锁使用 */
|
|
26
|
+
EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK = "FORM_INST_MULTI_PERSON_EDIT_BREAK",
|
|
27
|
+
/**mqtt用于接受其他用户解锁的主题 */
|
|
28
|
+
EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK"
|
|
29
|
+
}
|
package/es/enums/index.mjs
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
export { EntityModelCategoryEnum, EntityModelTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, SHOW_FIELDTYPES, UserServiceType, scriptTypeEnum } from './app-designer/index.mjs';
|
|
2
|
-
|
|
3
|
-
export { AggTypes, ContentEnum, CreateType, FIELD_TYPE, FIELD_TYPE_BASIC, FIELD_TYPE_CATEGORY, FIELD_TYPE_LOGIC, FIELD_TYPE_TRACE, FieldIconMap, FieldTypeToJs, GENDER_TYPE, MaterialEnum, MenuType, MessageType, NodesConfigTypeEnum, OpenMode, PermissionModeEnum, PersonalCenterType, ProjectName, RouterTransitionEnum, SIDE_BAR_MINI_WIDTH, SIDE_BAR_SHOW_TIT_MINI_WIDTH, SessionTimeoutProcessingEnum, SettingButtonPositionEnum, TODO_TYPE, ThemeEnum, UniqueConstraintType, WorkbenchType, selectionTypeEnums } from './appEnum.mjs';
|
|
4
|
-
export { AppPublishStateEnum } from './appStateEnum.mjs';
|
|
5
|
-
export { BasicAction, CustomAction, DefaultActions, PlatformSettingActions } from './authActionEnum.mjs';
|
|
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';
|
|
6
3
|
export { screenEnum, screenMap, sizeEnum } from './breakpointEnum.mjs';
|
|
7
|
-
export { APP_DARK_MODE_KEY_, APP_LOCAL_CACHE_KEY, APP_SESSION_CACHE_KEY, CacheTypeEnum, DESIGNER_SESSION_CACHE_KEY, LOCALE_KEY, LOCALE_LIST_KEY, LOCAL_I18N_TRANSLATE, LOCK_INFO_KEY, MULTIPLE_TABS_KEY, PROJ_CFG_KEY, ROLES_KEY, TENANT_KEY, TIMEZONE_KEY, TOKEN_KEY, USER_INFO_KEY } from './cacheEnum.mjs';
|
|
8
|
-
export { AGLINE_ENUMS, ButtonOpeEnum, RdoButtonOpeEnum, SEARCH_SEVICE, notSingleArr, presetColor } from './designEnum.mjs';
|
|
9
|
-
export { ErrorTypeEnum, ExceptionEnum } from './exceptionEnum.mjs';
|
|
10
|
-
export { BizServiceEnum, ContentTypeEnum, RequestEnum, ResultEnum } from './httpEnum.mjs';
|
|
11
|
-
export { MenuModeEnum, MenuSplitTyeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TopMenuAlignEnum, TriggerEnum } from './menuEnum.mjs';
|
|
12
|
-
export { PageEnum } from './pageEnum.mjs';
|
|
13
|
-
export { RoleEnum } from './roleEnum.mjs';
|
|
14
|
-
export { SizeEnum } from './sizeEnum.mjs';
|
|
15
|
-
export { ExamineAndApproveStateEnum, ProcessStatusEnum, ch_ProcessStatusMap } from './processEnum.mjs';
|
|
16
|
-
export { PluginModeEnum } from './plugin-enum.mjs';
|
|
17
4
|
|
|
18
|
-
|
|
5
|
+
var ReturnTypeEnum = /* @__PURE__ */ ((ReturnTypeEnum2) => {
|
|
6
|
+
ReturnTypeEnum2["String"] = "string";
|
|
7
|
+
ReturnTypeEnum2["Number"] = "number";
|
|
8
|
+
ReturnTypeEnum2["Boolean"] = "boolean";
|
|
9
|
+
return ReturnTypeEnum2;
|
|
10
|
+
})(ReturnTypeEnum || {});
|
|
11
|
+
var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
12
|
+
GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK"] = "FORM_INST_MULTI_PERSON_EDIT_BREAK";
|
|
13
|
+
GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK"] = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK";
|
|
14
|
+
return GctMqttTopsEnum2;
|
|
15
|
+
})(GctMqttTopsEnum || {});
|
|
16
|
+
|
|
17
|
+
export { GctMqttTopsEnum, ReturnTypeEnum };
|
package/es/enums/menuEnum.mjs
CHANGED
|
@@ -32,6 +32,7 @@ export declare enum FormComponents {
|
|
|
32
32
|
CopyVersionButton = "copy-version-button",
|
|
33
33
|
Checkbox = "checkbox",
|
|
34
34
|
DataTable = "data-table",
|
|
35
|
+
DataVTable = "data-v-table",
|
|
35
36
|
TreeTable = "tree-table",
|
|
36
37
|
DataTableColumn = "data-table-column",
|
|
37
38
|
RefDataTable = "ref-data-table",
|
|
@@ -83,6 +84,8 @@ export declare enum FormComponents {
|
|
|
83
84
|
SubTableDeleteBtn = "sub-table-delete-button",
|
|
84
85
|
LinkPageBtn = "link-page-button",
|
|
85
86
|
Collapse = "collapse",
|
|
87
|
+
SpaceOccupation = "space-occupation",
|
|
88
|
+
Divider = "divider",
|
|
86
89
|
CardList = "card-list",
|
|
87
90
|
CardHeaderLeft = "card-header-left",
|
|
88
91
|
CardHeaderRight = "card-header-right",
|
|
@@ -130,7 +133,9 @@ export declare enum FormComponents {
|
|
|
130
133
|
Boolean = "boolean",
|
|
131
134
|
BizProcess = "biz-process",
|
|
132
135
|
ApprovalHistory = "approval-history",
|
|
133
|
-
FlowDiagram = "flow-diagram"
|
|
136
|
+
FlowDiagram = "flow-diagram",
|
|
137
|
+
CustomCode = "custom-code",
|
|
138
|
+
ApprovalProcess = "approval-process"
|
|
134
139
|
}
|
|
135
140
|
export declare enum SearchComponents {
|
|
136
141
|
SearchInput = "SearchInput",
|
|
@@ -141,14 +146,19 @@ export declare enum SearchComponents {
|
|
|
141
146
|
SearchDateTime = "SearchDateTime",
|
|
142
147
|
SearchTime = "SearchTime",
|
|
143
148
|
SearchSelect = "SearchSelect",
|
|
149
|
+
SearchUserSelect = "SearchUserSelect",
|
|
144
150
|
SearchRdoSelect = "SearchRdoSelect",
|
|
145
151
|
SearchTransaction = "SearchTransaction",
|
|
146
152
|
SearchTmplTreeSelect = "SearchTmplTreeSelect",
|
|
147
153
|
SearchPrinter = "SearchPrinter",
|
|
148
|
-
SearchBizProcess = "SearchBizProcess"
|
|
154
|
+
SearchBizProcess = "SearchBizProcess",
|
|
155
|
+
SearchSelectRangUser = "SearchSelectRangUser",
|
|
156
|
+
SearchSelectDepartment = "SearchSelectDepartment"
|
|
149
157
|
}
|
|
150
158
|
export declare enum tableColumnWidthEnum {
|
|
151
|
-
|
|
159
|
+
/**适配父容器 */
|
|
160
|
+
AUTO_PARENT_BOX = "AutoParentBox",
|
|
161
|
+
/**自适应 展示所有*/
|
|
152
162
|
ATUO = "selfAdaption",
|
|
153
163
|
/**固定 */
|
|
154
164
|
ENUMERATION = "fixed",
|
|
@@ -275,3 +285,7 @@ export declare enum buttonShowType {
|
|
|
275
285
|
}
|
|
276
286
|
/** 支持查询的字段类型 */
|
|
277
287
|
export declare const searchListByFieldType: FIELD_TYPE[];
|
|
288
|
+
/** mobile 支持查询的字段类型 */
|
|
289
|
+
export declare const mobileSearchListByFieldType: FIELD_TYPE[];
|
|
290
|
+
/** 支持查询的字段类型 */
|
|
291
|
+
export declare const padSearchListByFieldType: FIELD_TYPE[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FIELD_TYPE } from '../appEnum.mjs';
|
|
2
2
|
|
|
3
|
-
"use strict";
|
|
4
3
|
var SCOPE = /* @__PURE__ */ ((SCOPE2) => {
|
|
5
4
|
SCOPE2["PAGE"] = "page";
|
|
6
5
|
SCOPE2["MODAL"] = "modal";
|
|
@@ -35,6 +34,7 @@ var FormComponents = /* @__PURE__ */ ((FormComponents2) => {
|
|
|
35
34
|
FormComponents2["CopyVersionButton"] = "copy-version-button";
|
|
36
35
|
FormComponents2["Checkbox"] = "checkbox";
|
|
37
36
|
FormComponents2["DataTable"] = "data-table";
|
|
37
|
+
FormComponents2["DataVTable"] = "data-v-table";
|
|
38
38
|
FormComponents2["TreeTable"] = "tree-table";
|
|
39
39
|
FormComponents2["DataTableColumn"] = "data-table-column";
|
|
40
40
|
FormComponents2["RefDataTable"] = "ref-data-table";
|
|
@@ -86,6 +86,8 @@ var FormComponents = /* @__PURE__ */ ((FormComponents2) => {
|
|
|
86
86
|
FormComponents2["SubTableDeleteBtn"] = "sub-table-delete-button";
|
|
87
87
|
FormComponents2["LinkPageBtn"] = "link-page-button";
|
|
88
88
|
FormComponents2["Collapse"] = "collapse";
|
|
89
|
+
FormComponents2["SpaceOccupation"] = "space-occupation";
|
|
90
|
+
FormComponents2["Divider"] = "divider";
|
|
89
91
|
FormComponents2["CardList"] = "card-list";
|
|
90
92
|
FormComponents2["CardHeaderLeft"] = "card-header-left";
|
|
91
93
|
FormComponents2["CardHeaderRight"] = "card-header-right";
|
|
@@ -131,6 +133,8 @@ var FormComponents = /* @__PURE__ */ ((FormComponents2) => {
|
|
|
131
133
|
FormComponents2["BizProcess"] = "biz-process";
|
|
132
134
|
FormComponents2["ApprovalHistory"] = "approval-history";
|
|
133
135
|
FormComponents2["FlowDiagram"] = "flow-diagram";
|
|
136
|
+
FormComponents2["CustomCode"] = "custom-code";
|
|
137
|
+
FormComponents2["ApprovalProcess"] = "approval-process";
|
|
134
138
|
return FormComponents2;
|
|
135
139
|
})(FormComponents || {});
|
|
136
140
|
var SearchComponents = /* @__PURE__ */ ((SearchComponents2) => {
|
|
@@ -142,14 +146,18 @@ var SearchComponents = /* @__PURE__ */ ((SearchComponents2) => {
|
|
|
142
146
|
SearchComponents2["SearchDateTime"] = "SearchDateTime";
|
|
143
147
|
SearchComponents2["SearchTime"] = "SearchTime";
|
|
144
148
|
SearchComponents2["SearchSelect"] = "SearchSelect";
|
|
149
|
+
SearchComponents2["SearchUserSelect"] = "SearchUserSelect";
|
|
145
150
|
SearchComponents2["SearchRdoSelect"] = "SearchRdoSelect";
|
|
146
151
|
SearchComponents2["SearchTransaction"] = "SearchTransaction";
|
|
147
152
|
SearchComponents2["SearchTmplTreeSelect"] = "SearchTmplTreeSelect";
|
|
148
153
|
SearchComponents2["SearchPrinter"] = "SearchPrinter";
|
|
149
154
|
SearchComponents2["SearchBizProcess"] = "SearchBizProcess";
|
|
155
|
+
SearchComponents2["SearchSelectRangUser"] = "SearchSelectRangUser";
|
|
156
|
+
SearchComponents2["SearchSelectDepartment"] = "SearchSelectDepartment";
|
|
150
157
|
return SearchComponents2;
|
|
151
158
|
})(SearchComponents || {});
|
|
152
159
|
var tableColumnWidthEnum = /* @__PURE__ */ ((tableColumnWidthEnum2) => {
|
|
160
|
+
tableColumnWidthEnum2["AUTO_PARENT_BOX"] = "AutoParentBox";
|
|
153
161
|
tableColumnWidthEnum2["ATUO"] = "selfAdaption";
|
|
154
162
|
tableColumnWidthEnum2["ENUMERATION"] = "fixed";
|
|
155
163
|
tableColumnWidthEnum2["PERCENTAGE"] = "percentage";
|
|
@@ -157,7 +165,7 @@ var tableColumnWidthEnum = /* @__PURE__ */ ((tableColumnWidthEnum2) => {
|
|
|
157
165
|
})(tableColumnWidthEnum || {});
|
|
158
166
|
var controlConfigEnum = /* @__PURE__ */ ((controlConfigEnum2) => {
|
|
159
167
|
controlConfigEnum2["NULL"] = "NULL";
|
|
160
|
-
controlConfigEnum2["STRING"] = "
|
|
168
|
+
controlConfigEnum2["STRING"] = "空字符串";
|
|
161
169
|
controlConfigEnum2["ZERO"] = "0";
|
|
162
170
|
return controlConfigEnum2;
|
|
163
171
|
})(controlConfigEnum || {});
|
|
@@ -316,15 +324,86 @@ const searchListByFieldType = [
|
|
|
316
324
|
FIELD_TYPE.ORG_MULTI,
|
|
317
325
|
FIELD_TYPE.ORG,
|
|
318
326
|
// FIELD_TYPE.MASTERSLAVE,
|
|
319
|
-
FIELD_TYPE.AGG,
|
|
320
|
-
FIELD_TYPE.EXPRESSION,
|
|
327
|
+
// FIELD_TYPE.AGG,
|
|
328
|
+
// FIELD_TYPE.EXPRESSION,
|
|
321
329
|
FIELD_TYPE.SERIAL,
|
|
322
330
|
FIELD_TYPE.ONLINE_FORM_TEMPLATE,
|
|
323
331
|
FIELD_TYPE.E_DHR_TEMPLATE,
|
|
324
332
|
FIELD_TYPE.PRINTER,
|
|
325
333
|
FIELD_TYPE.LABEL_TEMPLATE_REF,
|
|
326
334
|
FIELD_TYPE.Biz_Process,
|
|
327
|
-
FIELD_TYPE.DOCUMENT_TEMPLATE
|
|
335
|
+
FIELD_TYPE.DOCUMENT_TEMPLATE,
|
|
336
|
+
FIELD_TYPE.TRANSACTION,
|
|
337
|
+
FIELD_TYPE.RANGE_USER,
|
|
338
|
+
FIELD_TYPE.MESSAGE_TMPL
|
|
339
|
+
];
|
|
340
|
+
const mobileSearchListByFieldType = [
|
|
341
|
+
FIELD_TYPE.BOOLEAN,
|
|
342
|
+
FIELD_TYPE.DATE,
|
|
343
|
+
FIELD_TYPE.DATE_TIME,
|
|
344
|
+
FIELD_TYPE.DECIMAL,
|
|
345
|
+
FIELD_TYPE.DOUBLE,
|
|
346
|
+
FIELD_TYPE.ENUM,
|
|
347
|
+
FIELD_TYPE.ENUM_MULTI,
|
|
348
|
+
FIELD_TYPE.INTEGER,
|
|
349
|
+
FIELD_TYPE.LONG,
|
|
350
|
+
FIELD_TYPE.LONG_TEXT,
|
|
351
|
+
FIELD_TYPE.TEXT,
|
|
352
|
+
FIELD_TYPE.USER_MULTI,
|
|
353
|
+
FIELD_TYPE.USER,
|
|
354
|
+
FIELD_TYPE.TIME,
|
|
355
|
+
FIELD_TYPE.REF_MULTI,
|
|
356
|
+
FIELD_TYPE.REF,
|
|
357
|
+
FIELD_TYPE.RDO_REF,
|
|
358
|
+
FIELD_TYPE.ORG_MULTI,
|
|
359
|
+
FIELD_TYPE.ORG,
|
|
360
|
+
// FIELD_TYPE.MASTERSLAVE,
|
|
361
|
+
// FIELD_TYPE.AGG,
|
|
362
|
+
// FIELD_TYPE.EXPRESSION,
|
|
363
|
+
FIELD_TYPE.SERIAL,
|
|
364
|
+
FIELD_TYPE.ONLINE_FORM_TEMPLATE,
|
|
365
|
+
FIELD_TYPE.E_DHR_TEMPLATE,
|
|
366
|
+
FIELD_TYPE.PRINTER,
|
|
367
|
+
FIELD_TYPE.LABEL_TEMPLATE_REF,
|
|
368
|
+
FIELD_TYPE.Biz_Process,
|
|
369
|
+
FIELD_TYPE.DOCUMENT_TEMPLATE,
|
|
370
|
+
FIELD_TYPE.TRANSACTION,
|
|
371
|
+
// FIELD_TYPE.RANGE_USER,
|
|
372
|
+
FIELD_TYPE.MESSAGE_TMPL
|
|
373
|
+
];
|
|
374
|
+
const padSearchListByFieldType = [
|
|
375
|
+
FIELD_TYPE.BOOLEAN,
|
|
376
|
+
FIELD_TYPE.DATE,
|
|
377
|
+
FIELD_TYPE.DATE_TIME,
|
|
378
|
+
FIELD_TYPE.DECIMAL,
|
|
379
|
+
FIELD_TYPE.DOUBLE,
|
|
380
|
+
FIELD_TYPE.ENUM,
|
|
381
|
+
FIELD_TYPE.ENUM_MULTI,
|
|
382
|
+
FIELD_TYPE.INTEGER,
|
|
383
|
+
FIELD_TYPE.LONG,
|
|
384
|
+
FIELD_TYPE.LONG_TEXT,
|
|
385
|
+
FIELD_TYPE.TEXT,
|
|
386
|
+
FIELD_TYPE.USER_MULTI,
|
|
387
|
+
FIELD_TYPE.USER,
|
|
388
|
+
FIELD_TYPE.TIME,
|
|
389
|
+
FIELD_TYPE.REF_MULTI,
|
|
390
|
+
FIELD_TYPE.REF,
|
|
391
|
+
FIELD_TYPE.RDO_REF,
|
|
392
|
+
FIELD_TYPE.ORG_MULTI,
|
|
393
|
+
FIELD_TYPE.ORG,
|
|
394
|
+
// FIELD_TYPE.MASTERSLAVE,
|
|
395
|
+
// FIELD_TYPE.AGG,
|
|
396
|
+
// FIELD_TYPE.EXPRESSION,
|
|
397
|
+
FIELD_TYPE.SERIAL,
|
|
398
|
+
// FIELD_TYPE.ONLINE_FORM_TEMPLATE,
|
|
399
|
+
// FIELD_TYPE.E_DHR_TEMPLATE,
|
|
400
|
+
FIELD_TYPE.PRINTER,
|
|
401
|
+
FIELD_TYPE.LABEL_TEMPLATE_REF,
|
|
402
|
+
// FIELD_TYPE.Biz_Process,
|
|
403
|
+
// FIELD_TYPE.DOCUMENT_TEMPLATE,
|
|
404
|
+
FIELD_TYPE.TRANSACTION
|
|
405
|
+
// FIELD_TYPE.RANGE_USER,
|
|
406
|
+
// FIELD_TYPE.MESSAGE_TMPL,
|
|
328
407
|
];
|
|
329
408
|
|
|
330
|
-
export { BindCmpStyleEnum, BindCmpStyleTypeEnum, Ch_BindCmpStyleEnum, FormComponents, SCOPE, SearchComponents, bindCmpStyleMap, buttonShowType, controlConfigEnum, fixedAlignENUM, searchListByFieldType, sortTypeEnum, statisticalMethodEnum, tableColumnTypeEnum, tableColumnWidthEnum, tabsTypeENUM, transformBindCmp2CmpType };
|
|
409
|
+
export { BindCmpStyleEnum, BindCmpStyleTypeEnum, Ch_BindCmpStyleEnum, FormComponents, SCOPE, SearchComponents, bindCmpStyleMap, buttonShowType, controlConfigEnum, fixedAlignENUM, mobileSearchListByFieldType, padSearchListByFieldType, searchListByFieldType, sortTypeEnum, statisticalMethodEnum, tableColumnTypeEnum, tableColumnWidthEnum, tabsTypeENUM, transformBindCmp2CmpType };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var CategoryTypeEnum = /* @__PURE__ */ ((CategoryTypeEnum2) => {
|
|
3
2
|
CategoryTypeEnum2["FORM"] = "form";
|
|
4
3
|
CategoryTypeEnum2["LAYOUT"] = "layout";
|
|
@@ -13,6 +12,7 @@ var CategoryTypeEnum = /* @__PURE__ */ ((CategoryTypeEnum2) => {
|
|
|
13
12
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
14
13
|
Platform2["WEB"] = "web";
|
|
15
14
|
Platform2["MOBILE"] = "mobile";
|
|
15
|
+
Platform2["PAD"] = "pad";
|
|
16
16
|
return Platform2;
|
|
17
17
|
})(Platform || {});
|
|
18
18
|
var BuiltinType = /* @__PURE__ */ ((BuiltinType2) => {
|
|
@@ -42,7 +42,7 @@ var SelectPickerEnums = /* @__PURE__ */ ((SelectPickerEnums2) => {
|
|
|
42
42
|
return SelectPickerEnums2;
|
|
43
43
|
})(SelectPickerEnums || {});
|
|
44
44
|
var CURRENCY_ENUM = /* @__PURE__ */ ((CURRENCY_ENUM2) => {
|
|
45
|
-
CURRENCY_ENUM2["
|
|
45
|
+
CURRENCY_ENUM2["¥"] = "¥";
|
|
46
46
|
CURRENCY_ENUM2["$"] = "$";
|
|
47
47
|
CURRENCY_ENUM2["S$"] = "S$";
|
|
48
48
|
return CURRENCY_ENUM2;
|
|
@@ -74,7 +74,7 @@ var TIMETYPE_LANG_ENUM = /* @__PURE__ */ ((TIMETYPE_LANG_ENUM2) => {
|
|
|
74
74
|
return TIMETYPE_LANG_ENUM2;
|
|
75
75
|
})(TIMETYPE_LANG_ENUM || {});
|
|
76
76
|
var CURRENCY_LANG_ENUM = /* @__PURE__ */ ((CURRENCY_LANG_ENUM2) => {
|
|
77
|
-
CURRENCY_LANG_ENUM2["
|
|
77
|
+
CURRENCY_LANG_ENUM2["¥"] = "chMoney";
|
|
78
78
|
CURRENCY_LANG_ENUM2["$"] = "usMoney";
|
|
79
79
|
CURRENCY_LANG_ENUM2["S$"] = "sgpMoney";
|
|
80
80
|
return CURRENCY_LANG_ENUM2;
|
package/es/enums/pageEnum.mjs
CHANGED
package/es/enums/plugin-enum.mjs
CHANGED
package/es/enums/processEnum.mjs
CHANGED
package/es/enums/roleEnum.mjs
CHANGED
package/es/enums/sizeEnum.mjs
CHANGED
package/es/global/gct/gct.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I18n } from 'vue-i18n';
|
|
2
2
|
import { GlobalStoreUtil } from '../../store';
|
|
3
|
-
import {
|
|
3
|
+
import { IGlobalRegister } from '../../register';
|
|
4
4
|
import { IMessageUtil } from '../../interface';
|
|
5
5
|
import { DictionaryUtil } from '../../utils';
|
|
6
6
|
import { EnvironmentManager } from '../../modules/env-manager';
|
|
@@ -64,20 +64,7 @@ export declare class GctGlobal {
|
|
|
64
64
|
/**
|
|
65
65
|
* 综合性注册中心
|
|
66
66
|
*/
|
|
67
|
-
readonly register:
|
|
68
|
-
designer: {
|
|
69
|
-
pad: DesignerRegister;
|
|
70
|
-
mobile: DesignerRegister;
|
|
71
|
-
web: DesignerRegister;
|
|
72
|
-
};
|
|
73
|
-
render: {
|
|
74
|
-
pad: RenderRegister;
|
|
75
|
-
mobile: RenderRegister;
|
|
76
|
-
web: RenderRegister;
|
|
77
|
-
};
|
|
78
|
-
editor: typeof EditorRegister;
|
|
79
|
-
formItem: typeof FormItemRegister;
|
|
80
|
-
};
|
|
67
|
+
readonly register: IGlobalRegister;
|
|
81
68
|
/**
|
|
82
69
|
* API 管理
|
|
83
70
|
*
|
package/es/global/gct/gct.mjs
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import { GlobalStoreUtil } from '../../store/index.mjs';
|
|
2
|
-
import '../../register/index.mjs';
|
|
3
|
-
import '../../utils/index.mjs';
|
|
4
|
-
import '../../modules/env-manager/index.mjs';
|
|
5
|
-
import { LocaleUtil } from '../../locale/index.mjs';
|
|
6
|
-
import { RouterUtil } from '../../router/index.mjs';
|
|
7
|
-
import { DictionaryUtil } from '../../utils/dictionary/dictionary.mjs';
|
|
8
|
-
import { EnvironmentManager } from '../../modules/env-manager/env-manager.mjs';
|
|
9
|
-
import { FormItemRegister } from '../../register/form-item-register/form-item-register.mjs';
|
|
10
2
|
import { EditorRegister } from '../../register/editor-register/editor-register.mjs';
|
|
3
|
+
import { FormItemRegister } from '../../register/form-item-register/form-item-register.mjs';
|
|
11
4
|
import { RenderRegister } from '../../register/render-register/render-register.mjs';
|
|
12
|
-
import {
|
|
5
|
+
import { DictionaryUtil } from '../../utils/dictionary/dictionary.mjs';
|
|
6
|
+
import '../../utils/mitt/mitt.mjs';
|
|
7
|
+
import 'lodash-es';
|
|
8
|
+
import '../../enums/app-designer/index.mjs';
|
|
9
|
+
import '../../enums/page-designer/designer.mjs';
|
|
10
|
+
import '../../enums/breakpointEnum.mjs';
|
|
11
|
+
import 'path-browserify';
|
|
12
|
+
import 'qx-util';
|
|
13
|
+
import 'qs';
|
|
14
|
+
import 'vue';
|
|
15
|
+
import 'axios';
|
|
16
|
+
import '@fingerprintjs/fingerprintjs';
|
|
17
|
+
import { EnvironmentManager } from '../../modules/env-manager/env-manager.mjs';
|
|
18
|
+
import { LocaleUtil } from '../../locale/index.mjs';
|
|
19
|
+
import { RouterUtil } from '../../router/index.mjs';
|
|
13
20
|
|
|
14
|
-
"use strict";
|
|
15
21
|
class GctGlobal {
|
|
16
22
|
/**
|
|
17
23
|
* i18n 工具类
|
|
@@ -66,18 +72,13 @@ class GctGlobal {
|
|
|
66
72
|
* 综合性注册中心
|
|
67
73
|
*/
|
|
68
74
|
register = {
|
|
69
|
-
designer: {
|
|
70
|
-
pad: new DesignerRegister(),
|
|
71
|
-
mobile: new DesignerRegister(),
|
|
72
|
-
web: new DesignerRegister()
|
|
73
|
-
},
|
|
74
75
|
render: {
|
|
75
76
|
pad: new RenderRegister(),
|
|
76
77
|
mobile: new RenderRegister(),
|
|
77
78
|
web: new RenderRegister()
|
|
78
79
|
},
|
|
79
|
-
editor: EditorRegister,
|
|
80
|
-
formItem: FormItemRegister
|
|
80
|
+
editor: new EditorRegister(),
|
|
81
|
+
formItem: new FormItemRegister()
|
|
81
82
|
};
|
|
82
83
|
/**
|
|
83
84
|
* 异步初始化一些内容,在 createApp 之前调用
|
|
@@ -88,6 +89,7 @@ class GctGlobal {
|
|
|
88
89
|
*/
|
|
89
90
|
async init() {
|
|
90
91
|
await this.env.checkIsTestEnv();
|
|
92
|
+
await this.store.init();
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
|
package/es/hooks/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export { useAppInst } from './use-app-inst/use-app-inst';
|
|
1
2
|
export { useForm } from './use-form/use-form';
|
|
2
3
|
export { useGctFormValue, useGctFormValueByText, } from './use-gct-form-value/use-gct-form-value';
|
|
3
4
|
export { useModal } from './use-modal/use-modal';
|
|
4
5
|
export { useNamespace } from './use-namespace/use-namespace';
|
|
6
|
+
export { useIFrameProps, useWuJieBus, useWuJieProps, } from './use-sub-app-utils/use-sub-app-utils';
|
|
5
7
|
export { copyTextToClipboard, isDef, useCopyToClipboard, } from './useCopyToClipboard';
|