@gct-paas/core 0.1.4-dev.11 → 0.1.4-dev.13

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 (142) hide show
  1. package/dist/index.esm.min.js +4522 -0
  2. package/es/constants/core.mjs +5 -4
  3. package/es/constants/default-date-type/default-date-type.mjs +73 -21
  4. package/es/constants/editor-register/editor-register.mjs +17 -5
  5. package/es/constants/expression-type/BuiltOperators.mjs +152 -147
  6. package/es/constants/expression-type/FunctionKeys.mjs +75 -79
  7. package/es/constants/expression-type/editor.mjs +10 -3
  8. package/es/constants/expression-type/function.mjs +602 -613
  9. package/es/constants/expression-type/index.mjs +111 -113
  10. package/es/constants/expression-type/modeCfg.mjs +256 -263
  11. package/es/constants/expression-type/variable.mjs +43 -39
  12. package/es/constants/form-container-type/form-container-type.mjs +17 -5
  13. package/es/constants/index.d.ts +1 -0
  14. package/es/constants/index.mjs +31 -10
  15. package/es/constants/page-designer/model.mjs +15 -5
  16. package/es/constants/page-designer/regex.d.ts +2 -0
  17. package/es/constants/page-designer/regex.mjs +5 -0
  18. package/es/create-app-vue.mjs +15 -9
  19. package/es/enums/app-designer/index.d.ts +19 -0
  20. package/es/enums/app-designer/index.mjs +131 -63
  21. package/es/enums/appEnum.mjs +681 -360
  22. package/es/enums/appStateEnum.mjs +17 -10
  23. package/es/enums/authActionEnum.mjs +63 -51
  24. package/es/enums/breakpointEnum.mjs +27 -26
  25. package/es/enums/cacheEnum.mjs +22 -21
  26. package/es/enums/designEnum.mjs +110 -71
  27. package/es/enums/developer-center/integration.mjs +7 -6
  28. package/es/enums/exceptionEnum.mjs +21 -17
  29. package/es/enums/expressionEnum.d.ts +1 -1
  30. package/es/enums/expressionEnum.mjs +81 -74
  31. package/es/enums/globalEnum.mjs +59 -36
  32. package/es/enums/httpEnum.mjs +71 -61
  33. package/es/enums/index.mjs +44 -14
  34. package/es/enums/menuEnum.mjs +42 -38
  35. package/es/enums/page-designer/designer.mjs +403 -407
  36. package/es/enums/page-designer/index.d.ts +1 -0
  37. package/es/enums/page-designer/index.mjs +5 -0
  38. package/es/enums/page-designer/layout.d.ts +12 -0
  39. package/es/enums/page-designer/layout.mjs +17 -0
  40. package/es/enums/page-designer/panel.mjs +341 -213
  41. package/es/enums/page-designer/toolkit.mjs +13 -12
  42. package/es/enums/page-designer/widget.mjs +425 -338
  43. package/es/enums/pageEnum.mjs +14 -13
  44. package/es/enums/plugin-enum.mjs +23 -7
  45. package/es/enums/processEnum.mjs +95 -60
  46. package/es/enums/roleEnum.mjs +7 -6
  47. package/es/enums/sizeEnum.d.ts +18 -0
  48. package/es/enums/sizeEnum.mjs +28 -8
  49. package/es/global/gct/gct.mjs +84 -96
  50. package/es/global/index.mjs +1 -0
  51. package/es/hooks/index.mjs +4 -0
  52. package/es/hooks/use-app-inst/use-app-inst.mjs +11 -5
  53. package/es/hooks/use-modal/use-modal.mjs +16 -10
  54. package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +43 -23
  55. package/es/hooks/useCopyToClipboard.mjs +50 -50
  56. package/es/index.mjs +125 -114
  57. package/es/interface/i-pinia-state/i-global-state.d.ts +0 -11
  58. package/es/locale/index.mjs +50 -57
  59. package/es/modules/env-manager/env-manager.const.mjs +16 -8
  60. package/es/modules/env-manager/env-manager.d.ts +2 -0
  61. package/es/modules/env-manager/env-manager.interface.d.ts +2 -0
  62. package/es/modules/env-manager/env-manager.interface.mjs +14 -7
  63. package/es/modules/env-manager/env-manager.mjs +108 -107
  64. package/es/modules/error-handler/error-handler.const.mjs +11 -16
  65. package/es/modules/error-handler/error-strategy.mjs +199 -175
  66. package/es/modules/error-handler/index.mjs +120 -106
  67. package/es/modules/mqtt/constants/mqtt.const.mjs +21 -24
  68. package/es/modules/mqtt/enums/mqtt-status.enum.mjs +23 -9
  69. package/es/modules/mqtt/index.mjs +4 -0
  70. package/es/modules/mqtt/mqtt-client.mjs +228 -261
  71. package/es/modules/mqtt/mqtt-manager.mjs +117 -77
  72. package/es/modules/platform-config/constants/index.mjs +4 -0
  73. package/es/modules/platform-config/constants/login.const.mjs +48 -45
  74. package/es/modules/platform-config/constants/org.const.mjs +57 -52
  75. package/es/modules/platform-config/constants/theme.const.mjs +11 -4
  76. package/es/modules/platform-config/constants/watermark.const.mjs +17 -12
  77. package/es/modules/platform-config/enums/deploy.enum.mjs +13 -6
  78. package/es/modules/platform-config/enums/login.enum.mjs +29 -15
  79. package/es/modules/platform-config/enums/platform.enum.mjs +16 -13
  80. package/es/modules/platform-config/index.mjs +9 -0
  81. package/es/modules/platform-config/store.mjs +68 -79
  82. package/es/modules/platform-config/useBasicSetting.mjs +47 -35
  83. package/es/modules/platform-config/useDeploySetting.mjs +29 -21
  84. package/es/modules/platform-config/useLoginSetting.mjs +151 -173
  85. package/es/modules/platform-config/useOrgSetting.mjs +63 -62
  86. package/es/modules/platform-config/useProjectSetting.mjs +14 -6
  87. package/es/modules/platform-config/useSecuritySetting.mjs +68 -56
  88. package/es/modules/platform-config/useThemeSetting.mjs +78 -59
  89. package/es/modules/platform-config/useWatermarkSetting.mjs +37 -23
  90. package/es/modules/user-stores/index.mjs +3 -0
  91. package/es/modules/user-stores/store/permission.store.mjs +27 -36
  92. package/es/modules/user-stores/store/tenant.store.mjs +20 -22
  93. package/es/modules/user-stores/store/user.store.mjs +94 -117
  94. package/es/router/index.mjs +25 -28
  95. package/es/setup-app.mjs +23 -39
  96. package/es/state/global-pinia-state/global-pinia-state.d.ts +0 -6
  97. package/es/state/global-pinia-state/global-pinia-state.mjs +43 -71
  98. package/es/state/index.mjs +1 -0
  99. package/es/store/global-store.mjs +50 -72
  100. package/es/store/index.mjs +25 -19
  101. package/es/types/index.d.ts +7 -0
  102. package/es/utils/axios/interceptors.mjs +21 -17
  103. package/es/utils/cache-adapter/cache-adapter.mjs +61 -56
  104. package/es/utils/css-loader/css-loader.d.ts +36 -0
  105. package/es/utils/css-loader/css-loader.mjs +82 -0
  106. package/es/utils/design/design.mjs +18 -12
  107. package/es/utils/deviceFingerprint.mjs +77 -63
  108. package/es/utils/dictionary/dictionary.mjs +142 -145
  109. package/es/utils/file/base64Conver.mjs +35 -30
  110. package/es/utils/file/download.mjs +94 -98
  111. package/es/utils/file/parser.d.ts +3 -0
  112. package/es/utils/file/parser.mjs +29 -0
  113. package/es/utils/i18n/index.mjs +14 -3
  114. package/es/utils/index.d.ts +3 -1
  115. package/es/utils/index.mjs +32 -0
  116. package/es/utils/is-sort-filed/is-sort-filed.mjs +42 -37
  117. package/es/utils/linked-list/linked-list.mjs +115 -118
  118. package/es/utils/linked-node/linked-node.mjs +41 -31
  119. package/es/utils/lowcode/utils.mjs +13 -18
  120. package/es/utils/lowcode/validate.mjs +20 -26
  121. package/es/utils/mitt/mitt.mjs +4 -4
  122. package/es/utils/model-loader/model-loader.mjs +280 -325
  123. package/es/utils/namespace/namespace.mjs +178 -164
  124. package/es/utils/openUtil/index.mjs +2 -0
  125. package/es/utils/openUtil/modal/modal.mjs +72 -79
  126. package/es/utils/openUtil/overlay-container/overlay-container.mjs +144 -138
  127. package/es/utils/permission.mjs +33 -37
  128. package/es/utils/plugin-static-resource/plugin-static-resource.mjs +46 -42
  129. package/es/utils/style/index.mjs +94 -138
  130. package/es/utils/tools/tools.mjs +86 -54
  131. package/es/utils/treeHelper/treeHelper.mjs +205 -233
  132. package/es/utils/uploader/uploader.mjs +81 -115
  133. package/es/utils/useUUid.mjs +79 -87
  134. package/es/utils/util.mjs +55 -35
  135. package/es/utils/uuid/uuid.d.ts +2 -0
  136. package/es/utils/uuid/uuid.mjs +33 -43
  137. package/es/utils/validate.mjs +15 -19
  138. package/es/utils/value-helper/value-helper.mjs +113 -98
  139. package/package.json +9 -18
  140. package/dist/index.esm.min.mjs +0 -18322
  141. package/dist/index.min.cjs +0 -393
  142. package/dist/index.system.min.js +0 -393
@@ -1,75 +1,82 @@
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
-
1
+ //#region src/enums/expressionEnum.ts
2
+ /**
3
+ * 使用场景
4
+ */
5
+ var ExpressionModeEnum = /* @__PURE__ */ function(ExpressionModeEnum) {
6
+ ExpressionModeEnum[ExpressionModeEnum["SEARCH"] = 0] = "SEARCH";
7
+ ExpressionModeEnum[ExpressionModeEnum["FIELD_DISPLAY"] = 1] = "FIELD_DISPLAY";
8
+ ExpressionModeEnum[ExpressionModeEnum["EXPORT_TEMPLATE"] = 2] = "EXPORT_TEMPLATE";
9
+ ExpressionModeEnum[ExpressionModeEnum["DISPLAY_RULE"] = 3] = "DISPLAY_RULE";
10
+ ExpressionModeEnum[ExpressionModeEnum["PROCESS_TITLE"] = 4] = "PROCESS_TITLE";
11
+ ExpressionModeEnum[ExpressionModeEnum["GATEWAY_RULE"] = 5] = "GATEWAY_RULE";
12
+ ExpressionModeEnum[ExpressionModeEnum["CREATE_FIELD"] = 6] = "CREATE_FIELD";
13
+ ExpressionModeEnum[ExpressionModeEnum["PAAS_CREATE_FIELD"] = 7] = "PAAS_CREATE_FIELD";
14
+ ExpressionModeEnum[ExpressionModeEnum["ENTITY_FORMULA"] = 8] = "ENTITY_FORMULA";
15
+ ExpressionModeEnum[ExpressionModeEnum["IPAAS_BACK"] = 9] = "IPAAS_BACK";
16
+ ExpressionModeEnum[ExpressionModeEnum["LABEL_PRINT"] = 10] = "LABEL_PRINT";
17
+ ExpressionModeEnum[ExpressionModeEnum["NOCODE_BPMN_RULE"] = 11] = "NOCODE_BPMN_RULE";
18
+ ExpressionModeEnum[ExpressionModeEnum["PAAS_BPMN_RULE"] = 12] = "PAAS_BPMN_RULE";
19
+ ExpressionModeEnum[ExpressionModeEnum["ONLINE_FORM_FIELD_FORMULA"] = 13] = "ONLINE_FORM_FIELD_FORMULA";
20
+ ExpressionModeEnum[ExpressionModeEnum["MEDPRO_BUSINESSFLOW"] = 14] = "MEDPRO_BUSINESSFLOW";
21
+ ExpressionModeEnum[ExpressionModeEnum["RUN_FORMULA"] = 15] = "RUN_FORMULA";
22
+ ExpressionModeEnum[ExpressionModeEnum["BI_FORMULA"] = 16] = "BI_FORMULA";
23
+ ExpressionModeEnum[ExpressionModeEnum["DATA_SET_FORMULA"] = 17] = "DATA_SET_FORMULA";
24
+ return ExpressionModeEnum;
25
+ }({});
26
+ var ExpressionTabEnum = /* @__PURE__ */ function(ExpressionTabEnum) {
27
+ ExpressionTabEnum["FUNCTION"] = "function";
28
+ ExpressionTabEnum["FORM"] = "form";
29
+ ExpressionTabEnum["FIELD"] = "field";
30
+ ExpressionTabEnum["VARIABLE"] = "variable";
31
+ ExpressionTabEnum["NODE"] = "node";
32
+ ExpressionTabEnum["OPERATOR"] = "operator";
33
+ return ExpressionTabEnum;
34
+ }({});
35
+ var OperatorTypeEnum = /* @__PURE__ */ function(OperatorTypeEnum) {
36
+ /**算术 */
37
+ OperatorTypeEnum["ARITHMETIC"] = "arithmetic";
38
+ /**关系 */
39
+ OperatorTypeEnum["RELATIONSHIP"] = "relationship";
40
+ /**逻辑 */
41
+ OperatorTypeEnum["LOGIC"] = "logic";
42
+ /**其他 */
43
+ OperatorTypeEnum["OTHER"] = "other";
44
+ return OperatorTypeEnum;
45
+ }({});
46
+ var VarTypeEnum = /* @__PURE__ */ function(VarTypeEnum) {
47
+ VarTypeEnum["INNER_VAR"] = "INNER_VAR";
48
+ VarTypeEnum["SYSTEM_VAR"] = "SYSTEM_VAR";
49
+ VarTypeEnum["GLOBAL_VAR"] = "GLOBAL_VAR";
50
+ VarTypeEnum["PAGE_VAR"] = "PAGE_VAR";
51
+ return VarTypeEnum;
52
+ }({});
53
+ var ReturnTypeEnum = /* @__PURE__ */ function(ReturnTypeEnum) {
54
+ ReturnTypeEnum["String"] = "string";
55
+ ReturnTypeEnum["Number"] = "number";
56
+ ReturnTypeEnum["Boolean"] = "boolean";
57
+ return ReturnTypeEnum;
58
+ }({});
59
+ var DataSetReturnTypeEnum = /* @__PURE__ */ function(DataSetReturnTypeEnum) {
60
+ DataSetReturnTypeEnum["String"] = "string";
61
+ DataSetReturnTypeEnum["Double"] = "number";
62
+ return DataSetReturnTypeEnum;
63
+ }({});
64
+ var EntityFormulaReturnTypeEnum = /* @__PURE__ */ function(EntityFormulaReturnTypeEnum) {
65
+ EntityFormulaReturnTypeEnum["Text"] = "text";
66
+ EntityFormulaReturnTypeEnum["LongText"] = "long_text";
67
+ EntityFormulaReturnTypeEnum["Int"] = "integer";
68
+ EntityFormulaReturnTypeEnum["Long"] = "long";
69
+ EntityFormulaReturnTypeEnum["Double"] = "decimal";
70
+ EntityFormulaReturnTypeEnum["Boolen"] = "boolean";
71
+ return EntityFormulaReturnTypeEnum;
72
+ }({});
73
+ var IdentifierAddon = /* @__PURE__ */ function(IdentifierAddon) {
74
+ IdentifierAddon["Prefix"] = "​";
75
+ return IdentifierAddon;
76
+ }({});
77
+ /**
78
+ * 零宽字符
79
+ */
80
+ var zeroWidthSpace = "​";
81
+ //#endregion
75
82
  export { DataSetReturnTypeEnum, EntityFormulaReturnTypeEnum, ExpressionModeEnum, ExpressionTabEnum, IdentifierAddon, OperatorTypeEnum, ReturnTypeEnum, VarTypeEnum, zeroWidthSpace };
@@ -1,37 +1,60 @@
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
- var PlatformSettingEnum = /* @__PURE__ */ ((PlatformSettingEnum2) => {
25
- PlatformSettingEnum2["BASIC"] = "BASE_CFG";
26
- PlatformSettingEnum2["WATERMARK"] = "MARK_CFG";
27
- PlatformSettingEnum2["SECURITY"] = "SECURITY_CFG";
28
- PlatformSettingEnum2["LOGIN"] = "LOGIN_CFG";
29
- PlatformSettingEnum2["THEME"] = "THEME_CFG";
30
- PlatformSettingEnum2["ORGANIZATION"] = "ORG_CFG";
31
- PlatformSettingEnum2["APK"] = "APK_CFG";
32
- PlatformSettingEnum2["DEPLOY"] = "DEPLOY_CFG";
33
- PlatformSettingEnum2["GLOBAL"] = "GLOBAL_CFG";
34
- return PlatformSettingEnum2;
35
- })(PlatformSettingEnum || {});
36
-
1
+ //#region src/enums/globalEnum.ts
2
+ /**
3
+ * 平台类型枚举
4
+ *
5
+ * @author copilot
6
+ * @date 2025-06-13
7
+ * @export
8
+ * @enum {string}
9
+ */
10
+ var PlatformType = /* @__PURE__ */ function(PlatformType) {
11
+ /**
12
+ * 网页端
13
+ */
14
+ PlatformType["WEB"] = "web";
15
+ /**
16
+ * PDA端
17
+ */
18
+ PlatformType["PDA"] = "pda";
19
+ /**
20
+ * PAD端
21
+ */
22
+ PlatformType["PAD"] = "pad";
23
+ return PlatformType;
24
+ }({});
25
+ /**空值显示枚举 */
26
+ var nullDisplayEnum = /* @__PURE__ */ function(nullDisplayEnum) {
27
+ nullDisplayEnum["--"] = "--";
28
+ nullDisplayEnum["empty"] = "(空)";
29
+ nullDisplayEnum["null"] = "null";
30
+ nullDisplayEnum["N/A"] = "N/A";
31
+ nullDisplayEnum["noDisplay"] = "";
32
+ return nullDisplayEnum;
33
+ }({});
34
+ var DeviceParamsTypeEnum = /* @__PURE__ */ function(DeviceParamsTypeEnum) {
35
+ DeviceParamsTypeEnum["STRING"] = "String";
36
+ DeviceParamsTypeEnum["INTEGER"] = "Integer";
37
+ DeviceParamsTypeEnum["LONG"] = "Long";
38
+ DeviceParamsTypeEnum["FLOAT"] = "Float";
39
+ DeviceParamsTypeEnum["BOOLEAN"] = "Boolean";
40
+ DeviceParamsTypeEnum["DATE"] = "Date";
41
+ return DeviceParamsTypeEnum;
42
+ }({});
43
+ /**
44
+ * 平台设置相关枚举定义
45
+ */
46
+ /** 平台设置配置类型枚举 */
47
+ var PlatformSettingEnum = /* @__PURE__ */ function(PlatformSettingEnum) {
48
+ PlatformSettingEnum["BASIC"] = "BASE_CFG";
49
+ PlatformSettingEnum["WATERMARK"] = "MARK_CFG";
50
+ PlatformSettingEnum["SECURITY"] = "SECURITY_CFG";
51
+ PlatformSettingEnum["LOGIN"] = "LOGIN_CFG";
52
+ PlatformSettingEnum["THEME"] = "THEME_CFG";
53
+ PlatformSettingEnum["ORGANIZATION"] = "ORG_CFG";
54
+ PlatformSettingEnum["APK"] = "APK_CFG";
55
+ PlatformSettingEnum["DEPLOY"] = "DEPLOY_CFG";
56
+ PlatformSettingEnum["GLOBAL"] = "GLOBAL_CFG";
57
+ return PlatformSettingEnum;
58
+ }({});
59
+ //#endregion
37
60
  export { DeviceParamsTypeEnum, PlatformSettingEnum, PlatformType, nullDisplayEnum };
@@ -1,62 +1,72 @@
1
- var ResultEnum = /* @__PURE__ */ ((ResultEnum2) => {
2
- ResultEnum2[ResultEnum2["SUCCESS"] = 200] = "SUCCESS";
3
- ResultEnum2[ResultEnum2["ERROR"] = -1] = "ERROR";
4
- ResultEnum2[ResultEnum2["TIMEOUT"] = 401] = "TIMEOUT";
5
- ResultEnum2["TYPE"] = "success";
6
- return ResultEnum2;
7
- })(ResultEnum || {});
8
- var RequestEnum = /* @__PURE__ */ ((RequestEnum2) => {
9
- RequestEnum2["GET"] = "GET";
10
- RequestEnum2["POST"] = "POST";
11
- RequestEnum2["PUT"] = "PUT";
12
- RequestEnum2["DELETE"] = "DELETE";
13
- return RequestEnum2;
14
- })(RequestEnum || {});
15
- var ContentTypeEnum = /* @__PURE__ */ ((ContentTypeEnum2) => {
16
- ContentTypeEnum2["JSON"] = "application/json;charset=UTF-8";
17
- ContentTypeEnum2["FORM_URLENCODED"] = "application/x-www-form-urlencoded;charset=UTF-8";
18
- ContentTypeEnum2["FORM_DATA"] = "multipart/form-data;charset=UTF-8";
19
- return ContentTypeEnum2;
20
- })(ContentTypeEnum || {});
21
- var BizServiceEnum = /* @__PURE__ */ ((BizServiceEnum2) => {
22
- BizServiceEnum2["submit"] = "post";
23
- BizServiceEnum2["listByIds"] = "get";
24
- BizServiceEnum2["getone"] = "post";
25
- BizServiceEnum2["listAll"] = "post";
26
- BizServiceEnum2["listByPage"] = "post";
27
- BizServiceEnum2["listTree"] = "post";
28
- BizServiceEnum2["save"] = "post";
29
- BizServiceEnum2["saveOrUpdate"] = "post";
30
- BizServiceEnum2["saveBatch"] = "post";
31
- BizServiceEnum2["importData"] = "post";
32
- BizServiceEnum2["exportData"] = "post";
33
- BizServiceEnum2["remove"] = "post";
34
- BizServiceEnum2["removeById"] = "delete";
35
- BizServiceEnum2["removeByIds"] = "delete";
36
- BizServiceEnum2["update"] = "put";
37
- BizServiceEnum2["updateById"] = "put";
38
- BizServiceEnum2["updateByIds"] = "put";
39
- BizServiceEnum2["rdoSave"] = "post";
40
- BizServiceEnum2["rdoListAll"] = "post";
41
- BizServiceEnum2["rdoListByPage"] = "post";
42
- BizServiceEnum2["rdoListVersionById"] = "get";
43
- BizServiceEnum2["rdoSaveVersion"] = "post";
44
- BizServiceEnum2["rdoSaveBatch"] = "post";
45
- BizServiceEnum2["rdoUpdateVersionById"] = "put";
46
- BizServiceEnum2["rdoRemoveVersionById"] = "delete";
47
- BizServiceEnum2["rdoRemoveById"] = "delete";
48
- BizServiceEnum2["rdoGetVersionById"] = "get";
49
- BizServiceEnum2["getOne"] = "post";
50
- BizServiceEnum2["rdoGetVersionByRefId"] = "post";
51
- BizServiceEnum2["getById"] = "get";
52
- BizServiceEnum2["rdoListAllVersion"] = "post";
53
- BizServiceEnum2["rdoRefListByPage"] = "post";
54
- BizServiceEnum2["export"] = "post";
55
- BizServiceEnum2["import"] = "post";
56
- BizServiceEnum2["rdoExport"] = "post";
57
- BizServiceEnum2["rdoImport"] = "post";
58
- BizServiceEnum2["biz_search"] = "post";
59
- return BizServiceEnum2;
60
- })(BizServiceEnum || {});
61
-
1
+ //#region src/enums/httpEnum.ts
2
+ /**
3
+ * @description: Request result set
4
+ */
5
+ var ResultEnum = /* @__PURE__ */ function(ResultEnum) {
6
+ ResultEnum[ResultEnum["SUCCESS"] = 200] = "SUCCESS";
7
+ ResultEnum[ResultEnum["ERROR"] = -1] = "ERROR";
8
+ ResultEnum[ResultEnum["TIMEOUT"] = 401] = "TIMEOUT";
9
+ ResultEnum["TYPE"] = "success";
10
+ return ResultEnum;
11
+ }({});
12
+ /**
13
+ * @description: request method
14
+ */
15
+ var RequestEnum = /* @__PURE__ */ function(RequestEnum) {
16
+ RequestEnum["GET"] = "GET";
17
+ RequestEnum["POST"] = "POST";
18
+ RequestEnum["PUT"] = "PUT";
19
+ RequestEnum["DELETE"] = "DELETE";
20
+ return RequestEnum;
21
+ }({});
22
+ /**
23
+ * @description: contentType
24
+ */
25
+ var ContentTypeEnum = /* @__PURE__ */ function(ContentTypeEnum) {
26
+ ContentTypeEnum["JSON"] = "application/json;charset=UTF-8";
27
+ ContentTypeEnum["FORM_URLENCODED"] = "application/x-www-form-urlencoded;charset=UTF-8";
28
+ ContentTypeEnum["FORM_DATA"] = "multipart/form-data;charset=UTF-8";
29
+ return ContentTypeEnum;
30
+ }({});
31
+ var BizServiceEnum = /* @__PURE__ */ function(BizServiceEnum) {
32
+ BizServiceEnum["submit"] = "post";
33
+ BizServiceEnum["listByIds"] = "get";
34
+ BizServiceEnum["getone"] = "post";
35
+ BizServiceEnum["listAll"] = "post";
36
+ BizServiceEnum["listByPage"] = "post";
37
+ BizServiceEnum["listTree"] = "post";
38
+ BizServiceEnum["save"] = "post";
39
+ BizServiceEnum["saveOrUpdate"] = "post";
40
+ BizServiceEnum["saveBatch"] = "post";
41
+ BizServiceEnum["importData"] = "post";
42
+ BizServiceEnum["exportData"] = "post";
43
+ BizServiceEnum["remove"] = "post";
44
+ BizServiceEnum["removeById"] = "delete";
45
+ BizServiceEnum["removeByIds"] = "delete";
46
+ BizServiceEnum["update"] = "put";
47
+ BizServiceEnum["updateById"] = "put";
48
+ BizServiceEnum["updateByIds"] = "put";
49
+ BizServiceEnum["rdoSave"] = "post";
50
+ BizServiceEnum["rdoListAll"] = "post";
51
+ BizServiceEnum["rdoListByPage"] = "post";
52
+ BizServiceEnum["rdoListVersionById"] = "get";
53
+ BizServiceEnum["rdoSaveVersion"] = "post";
54
+ BizServiceEnum["rdoSaveBatch"] = "post";
55
+ BizServiceEnum["rdoUpdateVersionById"] = "put";
56
+ BizServiceEnum["rdoRemoveVersionById"] = "delete";
57
+ BizServiceEnum["rdoRemoveById"] = "delete";
58
+ BizServiceEnum["rdoGetVersionById"] = "get";
59
+ BizServiceEnum["getOne"] = "post";
60
+ BizServiceEnum["rdoGetVersionByRefId"] = "post";
61
+ BizServiceEnum["getById"] = "get";
62
+ BizServiceEnum["rdoListAllVersion"] = "post";
63
+ BizServiceEnum["rdoRefListByPage"] = "post";
64
+ BizServiceEnum["export"] = "post";
65
+ BizServiceEnum["import"] = "post";
66
+ BizServiceEnum["rdoExport"] = "post";
67
+ BizServiceEnum["rdoImport"] = "post";
68
+ BizServiceEnum["biz_search"] = "post";
69
+ return BizServiceEnum;
70
+ }({});
71
+ //#endregion
62
72
  export { BizServiceEnum, ContentTypeEnum, RequestEnum, ResultEnum };
@@ -1,15 +1,45 @@
1
- export { EntityModelCategoryEnum, EntityModelTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, SHOW_FIELDTYPES, UserServiceType, pageLayoutModeEnum, scriptTypeEnum } from './app-designer/index.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
- export { screenEnum, screenMap, sizeEnum } from './breakpointEnum.mjs';
4
-
5
- var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
6
- GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK"] = "FORM_INST_MULTI_PERSON_EDIT_BREAK";
7
- GctMqttTopsEnum2["EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK"] = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK";
8
- return GctMqttTopsEnum2;
9
- })(GctMqttTopsEnum || {});
10
- var GlobalParamEnum = /* @__PURE__ */ ((GlobalParamEnum2) => {
11
- GlobalParamEnum2["SELECT_ID"] = "$VAR_GCT_SELECT_ID";
12
- return GlobalParamEnum2;
13
- })(GlobalParamEnum || {});
14
-
1
+ import "./appEnum.mjs";
2
+ import "./app-designer/index.mjs";
3
+ import "./page-designer/panel.mjs";
4
+ import "./page-designer/toolkit.mjs";
5
+ import "./page-designer/widget.mjs";
6
+ import "./page-designer/designer.mjs";
7
+ import "./page-designer/layout.mjs";
8
+ import "./page-designer/index.mjs";
9
+ import "./developer-center/integration.mjs";
10
+ import "./appStateEnum.mjs";
11
+ import "./authActionEnum.mjs";
12
+ import "./breakpointEnum.mjs";
13
+ import "./cacheEnum.mjs";
14
+ import "./designEnum.mjs";
15
+ import "./exceptionEnum.mjs";
16
+ import "./httpEnum.mjs";
17
+ import "./globalEnum.mjs";
18
+ import "./menuEnum.mjs";
19
+ import "./pageEnum.mjs";
20
+ import "./roleEnum.mjs";
21
+ import "./sizeEnum.mjs";
22
+ import "./processEnum.mjs";
23
+ import "./plugin-enum.mjs";
24
+ import "./expressionEnum.mjs";
25
+ //#region src/enums/index.ts
26
+ /**mqtt主题枚举*/
27
+ var GctMqttTopsEnum = /* @__PURE__ */ function(GctMqttTopsEnum) {
28
+ /**mqtt电子表单 编辑 遗嘱消息解锁使用 */
29
+ GctMqttTopsEnum["EDHR_FORM_INST_MULTI_PERSON_EDIT_BREAK"] = "FORM_INST_MULTI_PERSON_EDIT_BREAK";
30
+ /**mqtt用于接受其他用户解锁的主题 */
31
+ GctMqttTopsEnum["EDHR_FORM_INST_MULTI_PERSON_EDIT_UNLOCK"] = "FORM_INST_MULTI_PERSON_EDIT_UNLOCK";
32
+ return GctMqttTopsEnum;
33
+ }({});
34
+ /**
35
+ * 全局参数
36
+ */
37
+ var GlobalParamEnum = /* @__PURE__ */ function(GlobalParamEnum) {
38
+ /**
39
+ * 选择组件标识
40
+ */
41
+ GlobalParamEnum["SELECT_ID"] = "$VAR_GCT_SELECT_ID";
42
+ return GlobalParamEnum;
43
+ }({});
44
+ //#endregion
15
45
  export { GctMqttTopsEnum, GlobalParamEnum };
@@ -1,39 +1,43 @@
1
- var MenuTypeEnum = /* @__PURE__ */ ((MenuTypeEnum2) => {
2
- MenuTypeEnum2["SIDEBAR"] = "sidebar";
3
- MenuTypeEnum2["MIX_SIDEBAR"] = "mix-sidebar";
4
- MenuTypeEnum2["MIX"] = "mix";
5
- MenuTypeEnum2["TOP_MENU"] = "top-menu";
6
- return MenuTypeEnum2;
7
- })(MenuTypeEnum || {});
8
- var TriggerEnum = /* @__PURE__ */ ((TriggerEnum2) => {
9
- TriggerEnum2["NONE"] = "NONE";
10
- TriggerEnum2["FOOTER"] = "FOOTER";
11
- TriggerEnum2["HEADER"] = "HEADER";
12
- return TriggerEnum2;
13
- })(TriggerEnum || {});
14
- var MenuModeEnum = /* @__PURE__ */ ((MenuModeEnum2) => {
15
- MenuModeEnum2["VERTICAL"] = "vertical";
16
- MenuModeEnum2["HORIZONTAL"] = "horizontal";
17
- MenuModeEnum2["VERTICAL_RIGHT"] = "vertical-right";
18
- MenuModeEnum2["INLINE"] = "inline";
19
- return MenuModeEnum2;
20
- })(MenuModeEnum || {});
21
- var MenuSplitTyeEnum = /* @__PURE__ */ ((MenuSplitTyeEnum2) => {
22
- MenuSplitTyeEnum2[MenuSplitTyeEnum2["NONE"] = 0] = "NONE";
23
- MenuSplitTyeEnum2[MenuSplitTyeEnum2["TOP"] = 1] = "TOP";
24
- MenuSplitTyeEnum2[MenuSplitTyeEnum2["LEFT"] = 2] = "LEFT";
25
- return MenuSplitTyeEnum2;
26
- })(MenuSplitTyeEnum || {});
27
- var TopMenuAlignEnum = /* @__PURE__ */ ((TopMenuAlignEnum2) => {
28
- TopMenuAlignEnum2["CENTER"] = "center";
29
- TopMenuAlignEnum2["START"] = "start";
30
- TopMenuAlignEnum2["END"] = "end";
31
- return TopMenuAlignEnum2;
32
- })(TopMenuAlignEnum || {});
33
- var MixSidebarTriggerEnum = /* @__PURE__ */ ((MixSidebarTriggerEnum2) => {
34
- MixSidebarTriggerEnum2["HOVER"] = "hover";
35
- MixSidebarTriggerEnum2["CLICK"] = "click";
36
- return MixSidebarTriggerEnum2;
37
- })(MixSidebarTriggerEnum || {});
38
-
1
+ //#region src/enums/menuEnum.ts
2
+ /**
3
+ * @description: menu type
4
+ */
5
+ var MenuTypeEnum = /* @__PURE__ */ function(MenuTypeEnum) {
6
+ MenuTypeEnum["SIDEBAR"] = "sidebar";
7
+ MenuTypeEnum["MIX_SIDEBAR"] = "mix-sidebar";
8
+ MenuTypeEnum["MIX"] = "mix";
9
+ MenuTypeEnum["TOP_MENU"] = "top-menu";
10
+ return MenuTypeEnum;
11
+ }({});
12
+ var TriggerEnum = /* @__PURE__ */ function(TriggerEnum) {
13
+ TriggerEnum["NONE"] = "NONE";
14
+ TriggerEnum["FOOTER"] = "FOOTER";
15
+ TriggerEnum["HEADER"] = "HEADER";
16
+ return TriggerEnum;
17
+ }({});
18
+ var MenuModeEnum = /* @__PURE__ */ function(MenuModeEnum) {
19
+ MenuModeEnum["VERTICAL"] = "vertical";
20
+ MenuModeEnum["HORIZONTAL"] = "horizontal";
21
+ MenuModeEnum["VERTICAL_RIGHT"] = "vertical-right";
22
+ MenuModeEnum["INLINE"] = "inline";
23
+ return MenuModeEnum;
24
+ }({});
25
+ var MenuSplitTyeEnum = /* @__PURE__ */ function(MenuSplitTyeEnum) {
26
+ MenuSplitTyeEnum[MenuSplitTyeEnum["NONE"] = 0] = "NONE";
27
+ MenuSplitTyeEnum[MenuSplitTyeEnum["TOP"] = 1] = "TOP";
28
+ MenuSplitTyeEnum[MenuSplitTyeEnum["LEFT"] = 2] = "LEFT";
29
+ return MenuSplitTyeEnum;
30
+ }({});
31
+ var TopMenuAlignEnum = /* @__PURE__ */ function(TopMenuAlignEnum) {
32
+ TopMenuAlignEnum["CENTER"] = "center";
33
+ TopMenuAlignEnum["START"] = "start";
34
+ TopMenuAlignEnum["END"] = "end";
35
+ return TopMenuAlignEnum;
36
+ }({});
37
+ var MixSidebarTriggerEnum = /* @__PURE__ */ function(MixSidebarTriggerEnum) {
38
+ MixSidebarTriggerEnum["HOVER"] = "hover";
39
+ MixSidebarTriggerEnum["CLICK"] = "click";
40
+ return MixSidebarTriggerEnum;
41
+ }({});
42
+ //#endregion
39
43
  export { MenuModeEnum, MenuSplitTyeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TopMenuAlignEnum, TriggerEnum };