@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.
Files changed (227) hide show
  1. package/dist/index.esm.min.mjs +4456 -18521
  2. package/dist/index.min.cjs +14 -2
  3. package/dist/index.system.min.js +14 -2
  4. package/es/constants/core.mjs +0 -1
  5. package/es/constants/editor-register/editor-register.mjs +0 -1
  6. package/es/constants/editor-type/editor-type.d.ts +65 -1
  7. package/es/constants/editor-type/editor-type.mjs +14 -1
  8. package/es/constants/form-container-type/form-container-type.mjs +0 -1
  9. package/es/constants/index.d.ts +4 -0
  10. package/es/constants/index.mjs +2 -7
  11. package/es/controller/edit-form/edit-form.controller.mjs +0 -1
  12. package/es/controller/editor/color-editor.controller.mjs +0 -1
  13. package/es/controller/editor/length-unit-editor.controller.mjs +0 -1
  14. package/es/controller/editor-item/editor-item.controller.mjs +0 -1
  15. package/es/controller/form/form.controller.mjs +5 -4
  16. package/es/controller/form-collapse/form-collapse.controller.mjs +4 -3
  17. package/es/controller/form-collapse-pane/form-collapse-pane.controller.mjs +4 -3
  18. package/es/controller/form-edit-item/form-edit-item.controller.d.ts +1 -0
  19. package/es/controller/form-edit-item/form-edit-item.controller.mjs +6 -2
  20. package/es/controller/form-group/form-group.controller.mjs +4 -3
  21. package/es/controller/form-item/form-item.controller.d.ts +1 -0
  22. package/es/controller/form-item/form-item.controller.mjs +7 -3
  23. package/es/controller/form-item-basic/form-item-basic.controller.mjs +3 -2
  24. package/es/controller/form-item-hidden/form-item-hidden.controller.mjs +0 -1
  25. package/es/controller/form-tab/form-tab.controller.mjs +4 -3
  26. package/es/controller/form-tab-pane/form-tab-pane.controller.mjs +4 -3
  27. package/es/controller/gct-form/gct-form.controller.mjs +5 -4
  28. package/es/create-app-vue.mjs +4 -3
  29. package/es/enums/app-designer/index.d.ts +13 -1
  30. package/es/enums/app-designer/index.mjs +8 -2
  31. package/es/enums/appEnum.d.ts +17 -66
  32. package/es/enums/appEnum.mjs +18 -14
  33. package/es/enums/appStateEnum.mjs +0 -1
  34. package/es/enums/authActionEnum.mjs +0 -1
  35. package/es/enums/breakpointEnum.mjs +0 -1
  36. package/es/enums/cacheEnum.mjs +0 -1
  37. package/es/enums/designEnum.mjs +0 -1
  38. package/es/enums/exceptionEnum.mjs +0 -1
  39. package/es/enums/globalEnum.d.ts +38 -0
  40. package/es/enums/globalEnum.mjs +25 -0
  41. package/es/enums/httpEnum.mjs +0 -1
  42. package/es/enums/index.d.ts +13 -0
  43. package/es/enums/index.mjs +15 -16
  44. package/es/enums/menuEnum.mjs +0 -1
  45. package/es/enums/page-designer/designer.d.ts +17 -3
  46. package/es/enums/page-designer/designer.mjs +85 -6
  47. package/es/enums/page-designer/panel.mjs +0 -1
  48. package/es/enums/page-designer/toolkit.mjs +0 -1
  49. package/es/enums/page-designer/widget.d.ts +2 -1
  50. package/es/enums/page-designer/widget.mjs +3 -3
  51. package/es/enums/pageEnum.mjs +0 -1
  52. package/es/enums/plugin-enum.mjs +0 -1
  53. package/es/enums/processEnum.mjs +0 -1
  54. package/es/enums/roleEnum.mjs +0 -1
  55. package/es/enums/sizeEnum.mjs +0 -1
  56. package/es/global/gct/gct.d.ts +2 -15
  57. package/es/global/gct/gct.mjs +19 -17
  58. package/es/hooks/index.d.ts +2 -0
  59. package/es/hooks/use-app-inst/use-app-inst.d.ts +8 -0
  60. package/es/hooks/use-app-inst/use-app-inst.mjs +8 -0
  61. package/es/hooks/use-form/use-form.mjs +0 -1
  62. package/es/hooks/use-gct-form-value/use-gct-form-value.d.ts +1 -1
  63. package/es/hooks/use-gct-form-value/use-gct-form-value.mjs +0 -4
  64. package/es/hooks/use-modal/use-modal.mjs +0 -1
  65. package/es/hooks/use-namespace/use-namespace.mjs +11 -2
  66. package/es/hooks/use-sub-app-utils/use-sub-app-utils.d.ts +31 -0
  67. package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +30 -0
  68. package/es/hooks/useCopyToClipboard.mjs +0 -1
  69. package/es/index.d.ts +5 -1
  70. package/es/index.mjs +77 -58
  71. package/es/interface/controller/form-edit-item/form-edit-item.controller.d.ts +5 -0
  72. package/es/interface/controller/index.d.ts +0 -1
  73. package/es/interface/form/i-editor/i-editor-basic.d.ts +2 -2
  74. package/es/interface/form/i-editor/i-model-field-select-editor.d.ts +18 -0
  75. package/es/interface/form/i-form/i-form-collapse-pane.d.ts +4 -0
  76. package/es/interface/form/i-form/i-form-item-basic.d.ts +1 -1
  77. package/es/interface/form/i-form/i-form-tab-pane.d.ts +4 -0
  78. package/es/interface/form/index.d.ts +1 -0
  79. package/es/interface/i-app-context/i-app-context.d.ts +34 -0
  80. package/es/interface/i-field-code-chain/i-field-code-chain.d.ts +17 -0
  81. package/es/interface/i-global-var/i-global-var.d.ts +15 -0
  82. package/es/interface/i-mobile-home-menu-item/i-mobile-home-menu-item.d.ts +94 -0
  83. package/es/interface/i-pinia-action/i-global-actions.d.ts +8 -20
  84. package/es/interface/i-pinia-getter/i-global-getters.d.ts +1 -1
  85. package/es/interface/i-pinia-state/i-global-state.d.ts +7 -14
  86. package/es/interface/index.d.ts +5 -2
  87. package/es/interface/open-util/i-open-window-options/i-open-window-options.d.ts +59 -0
  88. package/es/interface/state/index.d.ts +0 -1
  89. package/es/locale/index.mjs +1 -2
  90. package/es/modules/env-manager/env-manager.const.mjs +0 -1
  91. package/es/modules/env-manager/env-manager.interface.mjs +0 -1
  92. package/es/modules/env-manager/env-manager.mjs +7 -8
  93. package/es/modules/error-handler/error-handler.const.mjs +1 -30
  94. package/es/modules/error-handler/error-strategy.mjs +0 -1
  95. package/es/modules/error-handler/index.mjs +0 -1
  96. package/es/modules/platform-config/constants/index.d.ts +7 -0
  97. package/es/modules/platform-config/constants/login.const.d.ts +15 -0
  98. package/es/modules/platform-config/constants/login.const.mjs +50 -0
  99. package/es/modules/platform-config/constants/org.const.d.ts +9 -0
  100. package/es/modules/platform-config/constants/org.const.mjs +54 -0
  101. package/es/modules/platform-config/constants/theme.const.d.ts +9 -0
  102. package/es/modules/platform-config/constants/theme.const.mjs +5 -0
  103. package/es/modules/platform-config/constants/watermark.const.d.ts +16 -0
  104. package/es/modules/platform-config/constants/watermark.const.mjs +14 -0
  105. package/es/modules/platform-config/enums/deploy.enum.d.ts +10 -0
  106. package/es/modules/platform-config/enums/deploy.enum.mjs +7 -0
  107. package/es/modules/platform-config/enums/index.d.ts +6 -0
  108. package/es/modules/platform-config/{constants.d.ts → enums/login.enum.d.ts} +3 -7
  109. package/es/modules/platform-config/enums/login.enum.mjs +16 -0
  110. package/es/modules/platform-config/enums/platform.enum.d.ts +27 -0
  111. package/es/modules/platform-config/enums/platform.enum.mjs +26 -0
  112. package/es/modules/platform-config/index.d.ts +6 -17
  113. package/es/modules/platform-config/interfaces/global-setting.interface.d.ts +7 -0
  114. package/es/modules/platform-config/interfaces/index.d.ts +7 -0
  115. package/es/modules/platform-config/interfaces/login-config.interface.d.ts +17 -0
  116. package/es/modules/platform-config/interfaces/platform-map.interface.d.ts +8 -0
  117. package/es/modules/platform-config/interfaces/theme-setting.interface.d.ts +30 -0
  118. package/es/modules/platform-config/store.d.ts +221 -0
  119. package/es/modules/platform-config/store.mjs +78 -0
  120. package/es/modules/platform-config/useBasicSetting.d.ts +6 -2
  121. package/es/modules/platform-config/useBasicSetting.mjs +39 -0
  122. package/es/modules/platform-config/useDeploySetting.d.ts +9 -4
  123. package/es/modules/platform-config/useDeploySetting.mjs +27 -0
  124. package/es/modules/platform-config/useLoginSetting.d.ts +4 -14
  125. package/es/modules/platform-config/useLoginSetting.mjs +177 -0
  126. package/es/modules/platform-config/useOrgSetting.d.ts +5 -1
  127. package/es/modules/platform-config/useOrgSetting.mjs +66 -0
  128. package/es/modules/platform-config/useProjectSetting.d.ts +12 -0
  129. package/es/modules/platform-config/useProjectSetting.mjs +11 -0
  130. package/es/modules/platform-config/useSecuritySetting.d.ts +5 -1
  131. package/es/modules/platform-config/useSecuritySetting.mjs +60 -0
  132. package/es/modules/platform-config/useThemeSetting.d.ts +6 -3
  133. package/es/modules/platform-config/useThemeSetting.mjs +64 -0
  134. package/es/modules/platform-config/useWatermarkSetting.d.ts +4 -1
  135. package/es/modules/platform-config/useWatermarkSetting.mjs +26 -0
  136. package/es/modules/user-stores/index.d.ts +3 -0
  137. package/es/modules/user-stores/store/permission.store.d.ts +21 -0
  138. package/es/modules/user-stores/store/permission.store.mjs +38 -0
  139. package/es/modules/user-stores/store/tenant.store.d.ts +9 -0
  140. package/es/modules/user-stores/store/tenant.store.mjs +24 -0
  141. package/es/modules/user-stores/store/user.store.d.ts +154 -0
  142. package/es/modules/user-stores/store/user.store.mjs +100 -0
  143. package/es/modules/user-stores/types/permission.d.ts +1 -0
  144. package/es/modules/user-stores/types/tenant.d.ts +1 -0
  145. package/es/modules/user-stores/types/user.d.ts +14 -0
  146. package/es/register/editor-register/editor-register.d.ts +5 -13
  147. package/es/register/editor-register/editor-register.mjs +8 -17
  148. package/es/register/form-item-register/form-item-register.d.ts +4 -15
  149. package/es/register/form-item-register/form-item-register.mjs +7 -17
  150. package/es/register/index.d.ts +18 -1
  151. package/es/register/render-register/render-register.mjs +0 -1
  152. package/es/router/index.mjs +0 -1
  153. package/es/state/form/form.state.mjs +0 -1
  154. package/es/state/form-collapse/form-collapse.state.mjs +0 -1
  155. package/es/state/form-collapse-pane/form-collapse-pane.state.mjs +0 -1
  156. package/es/state/form-edit-item/form-edit-item.state.mjs +0 -1
  157. package/es/state/form-group/form-group.state.mjs +0 -1
  158. package/es/state/form-item/form-item.state.mjs +0 -1
  159. package/es/state/form-item-basic/form-item-basic.state.mjs +0 -1
  160. package/es/state/form-tab/form-tab.state.mjs +0 -1
  161. package/es/state/form-tab-pane/form-tab-pane.state.mjs +0 -1
  162. package/es/state/global-pinia-state/global-pinia-state.d.ts +8 -25
  163. package/es/state/global-pinia-state/global-pinia-state.mjs +30 -16
  164. package/es/store/global-store.d.ts +1 -0
  165. package/es/store/global-store.mjs +34 -37
  166. package/es/store/index.d.ts +2 -3
  167. package/es/store/index.mjs +0 -1
  168. package/es/types/index.d.ts +14 -1
  169. package/es/utils/axios/interceptors.mjs +3 -23
  170. package/es/utils/deviceFingerprint.d.ts +17 -0
  171. package/es/utils/deviceFingerprint.mjs +73 -0
  172. package/es/utils/dictionary/dictionary.mjs +0 -1
  173. package/es/utils/i18n/index.d.ts +2 -1
  174. package/es/utils/i18n/index.mjs +3 -4
  175. package/es/utils/index.d.ts +11 -2
  176. package/es/utils/linked-list/linked-list.d.ts +72 -0
  177. package/es/utils/linked-list/linked-list.mjs +119 -0
  178. package/es/utils/linked-node/linked-node.d.ts +31 -0
  179. package/es/utils/linked-node/linked-node.mjs +32 -0
  180. package/es/utils/mitt/mitt.d.ts +1 -0
  181. package/es/utils/mitt/mitt.mjs +5 -0
  182. package/es/utils/model-loader/model-loader.d.ts +118 -0
  183. package/es/utils/model-loader/model-loader.mjs +326 -0
  184. package/es/utils/namespace/namespace.mjs +0 -1
  185. package/es/utils/plugin-static-resource/plugin-static-resource.mjs +0 -1
  186. package/es/utils/props/gct-form-item/gct-form-item.props.d.ts +63 -0
  187. package/es/utils/props/gct-form-item/gct-form-item.props.mjs +66 -0
  188. package/es/utils/props/index.d.ts +1 -0
  189. package/es/utils/style/index.d.ts +16 -0
  190. package/es/utils/style/index.mjs +141 -0
  191. package/es/utils/tools/tools.d.ts +13 -10
  192. package/es/utils/tools/tools.mjs +19 -11
  193. package/es/utils/treeHelper/treeHelper.d.ts +117 -0
  194. package/es/utils/treeHelper/treeHelper.mjs +220 -0
  195. package/es/utils/util.d.ts +39 -0
  196. package/es/utils/util.mjs +40 -0
  197. package/es/utils/value-helper/value-helper.d.ts +49 -0
  198. package/es/utils/value-helper/value-helper.mjs +109 -0
  199. package/es/utils/width-install/width-install.mjs +0 -2
  200. package/package.json +12 -16
  201. package/es/controller/index.mjs +0 -17
  202. package/es/enums/page-designer/index.mjs +0 -6
  203. package/es/global/index.mjs +0 -3
  204. package/es/hooks/index.mjs +0 -7
  205. package/es/interface/controller/i-designer-controller.d.ts +0 -116
  206. package/es/interface/hooks/i-designer-hooks.d.ts +0 -26
  207. package/es/interface/hooks/index.d.ts +0 -1
  208. package/es/interface/index.mjs +0 -1
  209. package/es/interface/low-code-types/index.d.ts +0 -4
  210. package/es/interface/low-code-types/modal-types.d.ts +0 -67
  211. package/es/interface/low-code-types/model/index.d.ts +0 -5338
  212. package/es/interface/low-code-types/schema/index.d.ts +0 -12
  213. package/es/interface/low-code-types/widget-basic-types.d.ts +0 -667
  214. package/es/interface/state/i-designer-state.d.ts +0 -27
  215. package/es/modules/env-manager/index.mjs +0 -5
  216. package/es/modules/platform-config/index.mjs +0 -17
  217. package/es/modules/platform-config/types.d.ts +0 -67
  218. package/es/provider/i-designer-provider/i-designer-provider.d.ts +0 -102
  219. package/es/provider/index.d.ts +0 -1
  220. package/es/provider/index.mjs +0 -1
  221. package/es/register/designer-register/designer-register.d.ts +0 -53
  222. package/es/register/designer-register/designer-register.mjs +0 -68
  223. package/es/register/index.mjs +0 -6
  224. package/es/state/index.mjs +0 -12
  225. package/es/utils/index.mjs +0 -10
  226. package/es/utils/plugin-pkg-util/plugin-pkg-util.d.ts +0 -96
  227. package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +0 -260
@@ -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
- var MessageType = /* @__PURE__ */ ((MessageType2) => {
326
- MessageType2["ALL"] = "all";
327
- MessageType2["UNREAD"] = "unread";
328
- return MessageType2;
329
- })(MessageType || {});
330
- var WorkbenchType = /* @__PURE__ */ ((WorkbenchType2) => {
331
- WorkbenchType2["TEST"] = "myTestApp";
332
- WorkbenchType2["QUICK"] = "quickAccess";
333
- WorkbenchType2["MY"] = "myApp";
334
- return WorkbenchType2;
335
- })(WorkbenchType || {});
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";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var AppPublishStateEnum = /* @__PURE__ */ ((AppPublishStateEnum2) => {
3
2
  AppPublishStateEnum2["SUCCESS"] = "SUCCESS";
4
3
  AppPublishStateEnum2["FAILURE"] = "FAILURE";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var BasicAction = /* @__PURE__ */ ((BasicAction2) => {
3
2
  BasicAction2["Insert"] = "Insert";
4
3
  BasicAction2["Update"] = "Update";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var sizeEnum = /* @__PURE__ */ ((sizeEnum2) => {
3
2
  sizeEnum2["XS"] = "XS";
4
3
  sizeEnum2["SM"] = "SM";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const TIMEZONE_KEY = "TIMEZONE__";
3
2
  const TENANT_KEY = "TENANT__";
4
3
  const TOKEN_KEY = "TOKEN__";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
3
2
  SEARCH_SEVICE2["EQ"] = "eq";
4
3
  SEARCH_SEVICE2["IEQ"] = "iEq";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var ExceptionEnum = /* @__PURE__ */ ((ExceptionEnum2) => {
3
2
  ExceptionEnum2[ExceptionEnum2["PAGE_NOT_ACCESS"] = 403] = "PAGE_NOT_ACCESS";
4
3
  ExceptionEnum2[ExceptionEnum2["PAGE_NOT_FOUND"] = 404] = "PAGE_NOT_FOUND";
@@ -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 };
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var ResultEnum = /* @__PURE__ */ ((ResultEnum2) => {
3
2
  ResultEnum2[ResultEnum2["SUCCESS"] = 200] = "SUCCESS";
4
3
  ResultEnum2[ResultEnum2["ERROR"] = -1] = "ERROR";
@@ -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
+ }
@@ -1,18 +1,17 @@
1
- export { EntityModelCategoryEnum, EntityModelTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, SHOW_FIELDTYPES, UserServiceType, scriptTypeEnum } from './app-designer/index.mjs';
2
- import './page-designer/index.mjs';
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
- "use strict";
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 };
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var MenuTypeEnum = /* @__PURE__ */ ((MenuTypeEnum2) => {
3
2
  MenuTypeEnum2["SIDEBAR"] = "sidebar";
4
3
  MenuTypeEnum2["MIX_SIDEBAR"] = "mix-sidebar";
@@ -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"] = "\u7A7A\u5B57\u7B26\u4E32";
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 PanelEnum = /* @__PURE__ */ ((PanelEnum2) => {
3
2
  PanelEnum2["PAGE"] = "page";
4
3
  PanelEnum2["HISTORY"] = "history";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var ToolkitEnum = /* @__PURE__ */ ((ToolkitEnum2) => {
3
2
  ToolkitEnum2["OUTLINE"] = "OUTLINE";
4
3
  ToolkitEnum2["WIDGETS"] = "WIDGETS";
@@ -19,7 +19,8 @@ export declare enum CategoryTypeEnum {
19
19
  }
20
20
  export declare enum Platform {
21
21
  WEB = "web",
22
- MOBILE = "mobile"
22
+ MOBILE = "mobile",
23
+ PAD = "pad"
23
24
  }
24
25
  export declare enum BuiltinType {
25
26
  MODAL = "modal",
@@ -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["\uFFE5"] = "\uFFE5";
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["\uFFE5"] = "chMoney";
77
+ CURRENCY_LANG_ENUM2[""] = "chMoney";
78
78
  CURRENCY_LANG_ENUM2["$"] = "usMoney";
79
79
  CURRENCY_LANG_ENUM2["S$"] = "sgpMoney";
80
80
  return CURRENCY_LANG_ENUM2;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var PageEnum = /* @__PURE__ */ ((PageEnum2) => {
3
2
  PageEnum2["BASE_LOGIN"] = "/login";
4
3
  PageEnum2["BASE_TENANT"] = "/tenant";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var PluginModeEnum = /* @__PURE__ */ ((PluginModeEnum2) => {
3
2
  PluginModeEnum2["DESIGN"] = "design";
4
3
  PluginModeEnum2["WEB"] = "web";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var ProcessStatusEnum = /* @__PURE__ */ ((ProcessStatusEnum2) => {
3
2
  ProcessStatusEnum2["APPROVING"] = "APPROVING";
4
3
  ProcessStatusEnum2["COMPLETED"] = "COMPLETED";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var RoleEnum = /* @__PURE__ */ ((RoleEnum2) => {
3
2
  RoleEnum2["SUPER"] = "super";
4
3
  RoleEnum2["TEST"] = "test";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var SizeEnum = /* @__PURE__ */ ((SizeEnum2) => {
3
2
  SizeEnum2["DEFAULT"] = "default";
4
3
  SizeEnum2["SMALL"] = "small";
@@ -1,6 +1,6 @@
1
1
  import { I18n } from 'vue-i18n';
2
2
  import { GlobalStoreUtil } from '../../store';
3
- import { DesignerRegister, EditorRegister, FormItemRegister, RenderRegister } from '../../register';
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
  *
@@ -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 { DesignerRegister } from '../../register/designer-register/designer-register.mjs';
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
 
@@ -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';
@@ -0,0 +1,8 @@
1
+ import { App } from 'vue';
2
+ /**
3
+ * 获取当前绘制界面Vue应用实例
4
+ *
5
+ * @export
6
+ * @returns {*} {App}
7
+ */
8
+ export declare function useAppInst(): App;