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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/dist/index.esm.min.mjs +6520 -18715
  2. package/dist/index.min.cjs +386 -2
  3. package/dist/index.system.min.js +386 -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/expression-type/BuiltOperators.d.ts +20 -0
  9. package/es/constants/expression-type/BuiltOperators.mjs +148 -0
  10. package/es/constants/expression-type/FunctionKeys.d.ts +1 -0
  11. package/es/constants/expression-type/FunctionKeys.mjs +81 -0
  12. package/es/constants/expression-type/editor.d.ts +8 -0
  13. package/es/constants/expression-type/editor.mjs +4 -0
  14. package/es/constants/expression-type/function.d.ts +7 -0
  15. package/es/constants/expression-type/function.mjs +875 -0
  16. package/es/constants/expression-type/index.d.ts +42 -0
  17. package/es/constants/expression-type/index.mjs +120 -0
  18. package/es/constants/expression-type/modeCfg.d.ts +30 -0
  19. package/es/constants/expression-type/modeCfg.mjs +268 -0
  20. package/es/constants/expression-type/variable.d.ts +12 -0
  21. package/es/constants/expression-type/variable.mjs +42 -0
  22. package/es/constants/form-container-type/form-container-type.mjs +0 -1
  23. package/es/constants/index.d.ts +5 -0
  24. package/es/constants/index.mjs +6 -6
  25. package/es/controller/edit-form/edit-form.controller.mjs +0 -1
  26. package/es/controller/editor/color-editor.controller.mjs +0 -1
  27. package/es/controller/editor/length-unit-editor.controller.mjs +0 -1
  28. package/es/controller/editor-item/editor-item.controller.mjs +0 -1
  29. package/es/controller/form/form.controller.mjs +5 -4
  30. package/es/controller/form-collapse/form-collapse.controller.mjs +4 -3
  31. package/es/controller/form-collapse-pane/form-collapse-pane.controller.mjs +4 -3
  32. package/es/controller/form-edit-item/form-edit-item.controller.d.ts +1 -0
  33. package/es/controller/form-edit-item/form-edit-item.controller.mjs +6 -2
  34. package/es/controller/form-group/form-group.controller.mjs +4 -3
  35. package/es/controller/form-item/form-item.controller.d.ts +1 -0
  36. package/es/controller/form-item/form-item.controller.mjs +7 -3
  37. package/es/controller/form-item-basic/form-item-basic.controller.mjs +3 -2
  38. package/es/controller/form-item-hidden/form-item-hidden.controller.mjs +0 -1
  39. package/es/controller/form-tab/form-tab.controller.mjs +4 -3
  40. package/es/controller/form-tab-pane/form-tab-pane.controller.mjs +4 -3
  41. package/es/controller/gct-form/gct-form.controller.mjs +5 -4
  42. package/es/create-app-vue.mjs +3 -9
  43. package/es/enums/app-designer/index.d.ts +13 -1
  44. package/es/enums/app-designer/index.mjs +8 -2
  45. package/es/enums/appEnum.d.ts +22 -66
  46. package/es/enums/appEnum.mjs +24 -15
  47. package/es/enums/appStateEnum.mjs +0 -1
  48. package/es/enums/authActionEnum.mjs +0 -1
  49. package/es/enums/breakpointEnum.mjs +0 -1
  50. package/es/enums/cacheEnum.mjs +0 -1
  51. package/es/enums/designEnum.d.ts +2 -2
  52. package/es/enums/designEnum.mjs +31 -32
  53. package/es/enums/developer-center/index.d.ts +1 -0
  54. package/es/enums/developer-center/integration.d.ts +4 -0
  55. package/es/enums/developer-center/integration.mjs +7 -0
  56. package/es/enums/exceptionEnum.mjs +0 -1
  57. package/es/enums/expressionEnum.d.ts +130 -0
  58. package/es/enums/expressionEnum.mjs +75 -0
  59. package/es/enums/globalEnum.d.ts +38 -0
  60. package/es/enums/globalEnum.mjs +25 -0
  61. package/es/enums/httpEnum.mjs +0 -1
  62. package/es/enums/index.d.ts +19 -0
  63. package/es/enums/index.mjs +13 -16
  64. package/es/enums/menuEnum.mjs +0 -1
  65. package/es/enums/page-designer/designer.d.ts +23 -3
  66. package/es/enums/page-designer/designer.mjs +90 -6
  67. package/es/enums/page-designer/panel.d.ts +78 -7
  68. package/es/enums/page-designer/panel.mjs +22 -4
  69. package/es/enums/page-designer/toolkit.mjs +0 -1
  70. package/es/enums/page-designer/widget.d.ts +2 -1
  71. package/es/enums/page-designer/widget.mjs +3 -3
  72. package/es/enums/pageEnum.mjs +0 -1
  73. package/es/enums/plugin-enum.mjs +0 -1
  74. package/es/enums/processEnum.d.ts +54 -0
  75. package/es/enums/processEnum.mjs +36 -2
  76. package/es/enums/roleEnum.mjs +0 -1
  77. package/es/enums/sizeEnum.mjs +0 -1
  78. package/es/global/gct/gct.d.ts +11 -28
  79. package/es/global/gct/gct.mjs +29 -32
  80. package/es/hooks/index.d.ts +2 -1
  81. package/es/hooks/use-app-inst/use-app-inst.d.ts +8 -0
  82. package/es/hooks/use-app-inst/use-app-inst.mjs +8 -0
  83. package/es/hooks/use-form/use-form.mjs +0 -1
  84. package/es/hooks/use-gct-form-value/use-gct-form-value.d.ts +1 -1
  85. package/es/hooks/use-gct-form-value/use-gct-form-value.mjs +0 -4
  86. package/es/hooks/use-modal/use-modal.mjs +0 -1
  87. package/es/hooks/use-overlay-scrollbars/use-overlay-scrollbars.d.ts +11 -0
  88. package/es/hooks/use-sub-app-utils/use-sub-app-utils.d.ts +31 -0
  89. package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +30 -0
  90. package/es/hooks/useCopyToClipboard.mjs +0 -1
  91. package/es/index.d.ts +6 -8
  92. package/es/index.mjs +98 -64
  93. package/es/interface/controller/form-edit-item/form-edit-item.controller.d.ts +5 -0
  94. package/es/interface/controller/index.d.ts +0 -1
  95. package/es/interface/form/i-editor/i-editor-basic.d.ts +2 -2
  96. package/es/interface/form/i-editor/i-model-field-select-editor.d.ts +18 -0
  97. package/es/interface/form/i-form/i-form-collapse-pane.d.ts +4 -0
  98. package/es/interface/form/i-form/i-form-item-basic.d.ts +1 -1
  99. package/es/interface/form/i-form/i-form-tab-pane.d.ts +4 -0
  100. package/es/interface/form/index.d.ts +1 -0
  101. package/es/interface/i-app-context/i-app-context.d.ts +34 -0
  102. package/es/interface/i-field-code-chain/i-field-code-chain.d.ts +17 -0
  103. package/es/interface/i-global-var/i-global-var.d.ts +15 -0
  104. package/es/interface/i-mobile-home-menu-item/i-mobile-home-menu-item.d.ts +94 -0
  105. package/es/interface/i-pinia-action/i-global-actions.d.ts +8 -20
  106. package/es/interface/i-pinia-getter/i-global-getters.d.ts +1 -1
  107. package/es/interface/i-pinia-state/i-global-state.d.ts +7 -14
  108. package/es/interface/index.d.ts +5 -5
  109. package/es/interface/open-util/i-message-util/i-message-util.d.ts +54 -0
  110. package/es/interface/{i-modal → open-util/i-modal}/i-modal.d.ts +9 -10
  111. package/es/interface/{i-modal-data → open-util/i-modal-data}/i-modal-data.d.ts +6 -0
  112. package/es/interface/open-util/i-modal-options/i-modal-options.d.ts +12 -0
  113. package/es/interface/open-util/i-open-window-options/i-open-window-options.d.ts +59 -0
  114. package/es/interface/open-util/i-overlay-container/i-overlay-container.d.ts +36 -0
  115. package/es/interface/open-util/i-overlay-controller/i-overlay-controller.d.ts +36 -0
  116. package/es/interface/open-util/index.d.ts +7 -0
  117. package/es/interface/state/index.d.ts +0 -1
  118. package/es/locale/index.mjs +2 -2
  119. package/es/modules/env-manager/env-manager.const.mjs +0 -1
  120. package/es/modules/env-manager/env-manager.interface.mjs +0 -1
  121. package/es/modules/env-manager/env-manager.mjs +7 -8
  122. package/es/modules/error-handler/error-handler.const.mjs +1 -30
  123. package/es/modules/error-handler/error-strategy.mjs +0 -1
  124. package/es/modules/error-handler/index.mjs +0 -1
  125. package/es/modules/platform-config/constants/index.d.ts +7 -0
  126. package/es/modules/platform-config/constants/login.const.d.ts +15 -0
  127. package/es/modules/platform-config/constants/login.const.mjs +50 -0
  128. package/es/modules/platform-config/constants/org.const.d.ts +9 -0
  129. package/es/modules/platform-config/constants/org.const.mjs +54 -0
  130. package/es/modules/platform-config/constants/theme.const.d.ts +9 -0
  131. package/es/modules/platform-config/constants/theme.const.mjs +5 -0
  132. package/es/modules/platform-config/constants/watermark.const.d.ts +16 -0
  133. package/es/modules/platform-config/constants/watermark.const.mjs +14 -0
  134. package/es/modules/platform-config/enums/deploy.enum.d.ts +10 -0
  135. package/es/modules/platform-config/enums/deploy.enum.mjs +7 -0
  136. package/es/modules/platform-config/enums/index.d.ts +6 -0
  137. package/es/modules/platform-config/{constants.d.ts → enums/login.enum.d.ts} +3 -7
  138. package/es/modules/platform-config/enums/login.enum.mjs +16 -0
  139. package/es/modules/platform-config/enums/platform.enum.d.ts +27 -0
  140. package/es/modules/platform-config/enums/platform.enum.mjs +26 -0
  141. package/es/modules/platform-config/index.d.ts +6 -17
  142. package/es/modules/platform-config/interfaces/global-setting.interface.d.ts +7 -0
  143. package/es/modules/platform-config/interfaces/index.d.ts +7 -0
  144. package/es/modules/platform-config/interfaces/login-config.interface.d.ts +17 -0
  145. package/es/modules/platform-config/interfaces/platform-map.interface.d.ts +8 -0
  146. package/es/modules/platform-config/interfaces/theme-setting.interface.d.ts +30 -0
  147. package/es/modules/platform-config/store.d.ts +221 -0
  148. package/es/modules/platform-config/store.mjs +78 -0
  149. package/es/modules/platform-config/useBasicSetting.d.ts +6 -2
  150. package/es/modules/platform-config/useBasicSetting.mjs +39 -0
  151. package/es/modules/platform-config/useDeploySetting.d.ts +9 -4
  152. package/es/modules/platform-config/useDeploySetting.mjs +27 -0
  153. package/es/modules/platform-config/useLoginSetting.d.ts +4 -14
  154. package/es/modules/platform-config/useLoginSetting.mjs +177 -0
  155. package/es/modules/platform-config/useOrgSetting.d.ts +5 -1
  156. package/es/modules/platform-config/useOrgSetting.mjs +66 -0
  157. package/es/modules/platform-config/useProjectSetting.d.ts +12 -0
  158. package/es/modules/platform-config/useProjectSetting.mjs +11 -0
  159. package/es/modules/platform-config/useSecuritySetting.d.ts +5 -1
  160. package/es/modules/platform-config/useSecuritySetting.mjs +60 -0
  161. package/es/modules/platform-config/useThemeSetting.d.ts +6 -3
  162. package/es/modules/platform-config/useThemeSetting.mjs +64 -0
  163. package/es/modules/platform-config/useWatermarkSetting.d.ts +4 -1
  164. package/es/modules/platform-config/useWatermarkSetting.mjs +26 -0
  165. package/es/modules/user-stores/index.d.ts +3 -0
  166. package/es/modules/user-stores/store/permission.store.d.ts +21 -0
  167. package/es/modules/user-stores/store/permission.store.mjs +38 -0
  168. package/es/modules/user-stores/store/tenant.store.d.ts +9 -0
  169. package/es/modules/user-stores/store/tenant.store.mjs +24 -0
  170. package/es/modules/user-stores/store/user.store.d.ts +154 -0
  171. package/es/modules/user-stores/store/user.store.mjs +107 -0
  172. package/es/modules/user-stores/types/permission.d.ts +1 -0
  173. package/es/modules/user-stores/types/tenant.d.ts +1 -0
  174. package/es/modules/user-stores/types/user.d.ts +14 -0
  175. package/es/register/editor-register/editor-register.d.ts +5 -13
  176. package/es/register/editor-register/editor-register.mjs +8 -17
  177. package/es/register/form-item-register/form-item-register.d.ts +4 -15
  178. package/es/register/form-item-register/form-item-register.mjs +7 -17
  179. package/es/register/index.d.ts +12 -2
  180. package/es/router/index.mjs +0 -1
  181. package/es/setup-app.d.ts +8 -0
  182. package/es/setup-app.mjs +30 -0
  183. package/es/state/form/form.state.mjs +0 -1
  184. package/es/state/form-collapse/form-collapse.state.mjs +0 -1
  185. package/es/state/form-collapse-pane/form-collapse-pane.state.mjs +0 -1
  186. package/es/state/form-edit-item/form-edit-item.state.mjs +0 -1
  187. package/es/state/form-group/form-group.state.mjs +0 -1
  188. package/es/state/form-item/form-item.state.mjs +0 -1
  189. package/es/state/form-item-basic/form-item-basic.state.mjs +0 -1
  190. package/es/state/form-tab/form-tab.state.mjs +0 -1
  191. package/es/state/form-tab-pane/form-tab-pane.state.mjs +0 -1
  192. package/es/state/global-pinia-state/global-pinia-state.d.ts +8 -25
  193. package/es/state/global-pinia-state/global-pinia-state.mjs +30 -16
  194. package/es/store/global-store.d.ts +1 -0
  195. package/es/store/global-store.mjs +40 -37
  196. package/es/store/index.d.ts +2 -3
  197. package/es/store/index.mjs +0 -1
  198. package/es/types/index.d.ts +18 -1
  199. package/es/utils/axios/interceptors.mjs +2 -23
  200. package/es/utils/cache-adapter/cache-adapter.d.ts +2 -0
  201. package/es/utils/cache-adapter/cache-adapter.mjs +59 -0
  202. package/es/utils/deviceFingerprint.d.ts +17 -0
  203. package/es/utils/deviceFingerprint.mjs +73 -0
  204. package/es/utils/dictionary/dictionary.mjs +0 -1
  205. package/es/utils/i18n/index.d.ts +2 -1
  206. package/es/utils/i18n/index.mjs +3 -4
  207. package/es/utils/index.d.ts +17 -3
  208. package/es/utils/linked-list/linked-list.d.ts +72 -0
  209. package/es/utils/linked-list/linked-list.mjs +119 -0
  210. package/es/utils/linked-node/linked-node.d.ts +31 -0
  211. package/es/utils/linked-node/linked-node.mjs +32 -0
  212. package/es/utils/lowcode/utils.d.ts +1 -0
  213. package/es/utils/lowcode/utils.mjs +20 -0
  214. package/es/utils/lowcode/validate.d.ts +13 -0
  215. package/es/utils/lowcode/validate.mjs +29 -0
  216. package/es/utils/mitt/mitt.d.ts +1 -0
  217. package/es/utils/mitt/mitt.mjs +5 -0
  218. package/es/utils/model-loader/model-loader.d.ts +118 -0
  219. package/es/utils/model-loader/model-loader.mjs +326 -0
  220. package/es/utils/namespace/namespace.d.ts +8 -0
  221. package/es/utils/namespace/namespace.mjs +4 -2
  222. package/es/utils/openUtil/index.d.ts +2 -0
  223. package/es/utils/openUtil/modal/modal.d.ts +61 -0
  224. package/es/utils/openUtil/modal/modal.mjs +80 -0
  225. package/es/utils/openUtil/overlay-container/overlay-container.d.ts +100 -0
  226. package/es/utils/openUtil/overlay-container/overlay-container.mjs +139 -0
  227. package/es/utils/plugin-static-resource/plugin-static-resource.mjs +0 -1
  228. package/es/utils/props/gct-form-item/gct-form-item.props.d.ts +63 -0
  229. package/es/utils/props/gct-form-item/gct-form-item.props.mjs +66 -0
  230. package/es/utils/props/index.d.ts +1 -0
  231. package/es/utils/style/index.d.ts +16 -0
  232. package/es/utils/style/index.mjs +141 -0
  233. package/es/utils/tools/tools.d.ts +13 -10
  234. package/es/utils/tools/tools.mjs +23 -11
  235. package/es/utils/treeHelper/treeHelper.d.ts +124 -0
  236. package/es/utils/treeHelper/treeHelper.mjs +234 -0
  237. package/es/utils/util.d.ts +39 -0
  238. package/es/utils/util.mjs +40 -0
  239. package/es/utils/uuid/uuid.d.ts +3 -0
  240. package/es/utils/uuid/uuid.mjs +48 -0
  241. package/es/utils/value-helper/value-helper.d.ts +49 -0
  242. package/es/utils/value-helper/value-helper.mjs +111 -0
  243. package/es/utils/width-install/width-install.mjs +4 -2
  244. package/package.json +13 -16
  245. package/es/controller/index.mjs +0 -17
  246. package/es/enums/page-designer/index.mjs +0 -6
  247. package/es/global/index.mjs +0 -3
  248. package/es/hooks/index.mjs +0 -7
  249. package/es/hooks/use-namespace/use-namespace.d.ts +0 -9
  250. package/es/hooks/use-namespace/use-namespace.mjs +0 -9
  251. package/es/interface/controller/i-designer-controller.d.ts +0 -116
  252. package/es/interface/hooks/i-designer-hooks.d.ts +0 -26
  253. package/es/interface/hooks/index.d.ts +0 -1
  254. package/es/interface/i-message-util/i-message-util.d.ts +0 -78
  255. package/es/interface/index.mjs +0 -1
  256. package/es/interface/low-code-types/index.d.ts +0 -4
  257. package/es/interface/low-code-types/modal-types.d.ts +0 -67
  258. package/es/interface/low-code-types/model/index.d.ts +0 -5338
  259. package/es/interface/low-code-types/schema/index.d.ts +0 -12
  260. package/es/interface/low-code-types/widget-basic-types.d.ts +0 -667
  261. package/es/interface/state/i-designer-state.d.ts +0 -27
  262. package/es/modules/env-manager/index.mjs +0 -5
  263. package/es/modules/platform-config/index.mjs +0 -17
  264. package/es/modules/platform-config/types.d.ts +0 -67
  265. package/es/provider/i-designer-provider/i-designer-provider.d.ts +0 -102
  266. package/es/provider/index.d.ts +0 -1
  267. package/es/provider/index.mjs +0 -1
  268. package/es/register/designer-register/designer-register.d.ts +0 -53
  269. package/es/register/designer-register/designer-register.mjs +0 -68
  270. package/es/register/index.mjs +0 -6
  271. package/es/register/render-register/render-register.d.ts +0 -59
  272. package/es/register/render-register/render-register.mjs +0 -64
  273. package/es/state/index.mjs +0 -12
  274. package/es/utils/index.mjs +0 -10
  275. package/es/utils/plugin-pkg-util/plugin-pkg-util.d.ts +0 -96
  276. package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +0 -260
@@ -32,8 +32,7 @@ export declare enum TextDecoration {
32
32
  }
33
33
  export declare enum EventCategory {
34
34
  INNER = "inner",
35
- JS = "js",
36
- LO = "lo"
35
+ JS = "js"
37
36
  }
38
37
  export declare enum PropGroup {
39
38
  /**基础属性 */
@@ -44,8 +43,6 @@ export declare enum PropGroup {
44
43
  DISPLAY = "display",
45
44
  /**标签 */
46
45
  LABEL = "label",
47
- /**vue3 */
48
- VUE3 = "vue3",
49
46
  /**字段列表 */
50
47
  FIELD = "field",
51
48
  /**数据相关 */
@@ -68,6 +65,7 @@ export declare enum PropGroup {
68
65
  FORM_CONFIG = "formConfig",
69
66
  /** 字段布局 */
70
67
  FIELD_LAYOUT = "FieldLayout",
68
+ LEFT_RIGHT_COLUMNS = "leftRightColumns",
71
69
  /**选择器配置 */
72
70
  TABLESELECT_CONFIG = "tableSelect",
73
71
  /**单选框配置 */
@@ -80,6 +78,8 @@ export declare enum PropGroup {
80
78
  OPTIONS = "options",
81
79
  /**面板配置 */
82
80
  COLLAPSE = "collapse",
81
+ SPACE_OCCUPATION = "spaceOccupation",
82
+ DIVIDER = "divider",
83
83
  /**iframe配置 */
84
84
  IFRAME = "iframe",
85
85
  /**文档集配置 */
@@ -132,7 +132,13 @@ export declare enum PropGroup {
132
132
  /**算子配置 */
133
133
  OPERATOR_CONFIG = "operatorConfig",
134
134
  /**业务配置 */
135
- BUSINESS_CONFIG = "businessConfig"
135
+ BUSINESS_CONFIG = "businessConfig",
136
+ /**Vue3配置 */
137
+ Vue3 = "Vue3",
138
+ /**树配置 */
139
+ TREE_CONFIG = "treeConfig",
140
+ /**卡片显示 */
141
+ CARDDISPLAY = "cardDisplay"
136
142
  }
137
143
  export declare enum StyleGroup {
138
144
  /**布局 */
@@ -148,7 +154,9 @@ export declare enum StyleGroup {
148
154
  /**
149
155
  * 标题栏配置
150
156
  */
151
- HEADER = "header"
157
+ HEADER = "header",
158
+ /**显示 */
159
+ SHOW_PROP = "showProp"
152
160
  }
153
161
  export declare enum tagEnum {
154
162
  TAG = "tag",
@@ -162,6 +170,68 @@ export declare enum TagTypeEnum {
162
170
  DASHED_RADIUS = "dashed_radius",
163
171
  STATUS = "status"
164
172
  }
173
+ /**
174
+ * 标签展示类型(DisplayTagTypeEnum)
175
+ *
176
+ * 说明:
177
+ * - 用于表格设计器“样式设置”的多字段显示配置中,定义标签的视觉形态;
178
+ * - 将标签形态分为三大类:
179
+ * 1)线面结合:同时具备边框与浅色背景,适合通用信息标识;
180
+ * 2)面性:纯色背景,无边框,适合强调型/高对比度标签;
181
+ * 3)线性:仅边框,无背景,适合轻量/弱强调标签;
182
+ */
183
+ export declare enum DisplayTagTypeEnum {
184
+ /**
185
+ * 线面结合-圆角
186
+ * 视觉:1px 实线边框 + 浅色背景,3px 圆角;
187
+ */
188
+ RADIUS = "radius",
189
+ /**
190
+ * 线面结合-大圆角(胶囊)
191
+ * 视觉:1px 实线边框 + 浅色背景,50px 大圆角;
192
+ */
193
+ BIG_RADIUS = "big_radius",
194
+ /**
195
+ * 线面结合-状态
196
+ * 视觉:1px 实线边框 + 浅色背景,混合圆角(11px/3px/3px);
197
+ */
198
+ STATUS = "status",
199
+ /**
200
+ * 面性-圆角
201
+ * 视觉:纯色背景,3px 圆角,无边框;
202
+ */
203
+ SURFACE_RADIUS = "surface_radius",
204
+ /**
205
+ * 面性-大圆角(胶囊)
206
+ * 视觉:纯色背景,50px 大圆角,无边框;
207
+ */
208
+ SURFACE_BIG_RADIUS = "surface_big_radius",
209
+ /**
210
+ * 面性-状态
211
+ * 视觉:纯色背景,混合圆角(11px/3px/3px),无边框;
212
+ */
213
+ SURFACE_STATUS = "surface_status",
214
+ /**
215
+ * 线性-圆角
216
+ * 视觉:1px 实线边框,3px 圆角,无背景;
217
+ */
218
+ LINE_RADIUS = "line_radius",
219
+ /**
220
+ * 线性-大圆角(胶囊)
221
+ * 视觉:1px 实线边框,50px 大圆角,无背景;
222
+ */
223
+ LINE_BIG_RADIUS = "line_big_radius",
224
+ /**
225
+ * 线性-虚线圆角
226
+ * 视觉:1px 虚线边框,3px 圆角,无背景;
227
+ */
228
+ LINE_DASHED_RADIUS = "line_dashed_radius",
229
+ /**
230
+ * 线性-状态
231
+ * 视觉:1px 实线边框,混合圆角(11px/3px/3px),无背景;
232
+ */
233
+ LINE_STATUS = "line_status"
234
+ }
165
235
  export declare enum ProgressTypeEnum {
166
236
  /**圆形 */
167
237
  CIRCLE = "circle",
@@ -183,7 +253,8 @@ export declare enum GLOBAL_VAR_TYPE {
183
253
  NULL = "NULL",
184
254
  DATE = "date",
185
255
  DATETIME = "datetime",
186
- TIME = "time"
256
+ TIME = "time",
257
+ VAR = "var"
187
258
  }
188
259
  export declare enum GLOBAL_TYPE {
189
260
  MODAL = "modal",
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var PanelEnum = /* @__PURE__ */ ((PanelEnum2) => {
3
2
  PanelEnum2["PAGE"] = "page";
4
3
  PanelEnum2["HISTORY"] = "history";
@@ -39,7 +38,6 @@ var TextDecoration = /* @__PURE__ */ ((TextDecoration2) => {
39
38
  var EventCategory = /* @__PURE__ */ ((EventCategory2) => {
40
39
  EventCategory2["INNER"] = "inner";
41
40
  EventCategory2["JS"] = "js";
42
- EventCategory2["LO"] = "lo";
43
41
  return EventCategory2;
44
42
  })(EventCategory || {});
45
43
  var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
@@ -47,7 +45,6 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
47
45
  PropGroup2["ADVANCED"] = "advance";
48
46
  PropGroup2["DISPLAY"] = "display";
49
47
  PropGroup2["LABEL"] = "label";
50
- PropGroup2["VUE3"] = "vue3";
51
48
  PropGroup2["FIELD"] = "field";
52
49
  PropGroup2["DATA"] = "data";
53
50
  PropGroup2["OTHER"] = "other";
@@ -59,12 +56,15 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
59
56
  PropGroup2["FIELD_CONFIG"] = "fieldConfig";
60
57
  PropGroup2["FORM_CONFIG"] = "formConfig";
61
58
  PropGroup2["FIELD_LAYOUT"] = "FieldLayout";
59
+ PropGroup2["LEFT_RIGHT_COLUMNS"] = "leftRightColumns";
62
60
  PropGroup2["TABLESELECT_CONFIG"] = "tableSelect";
63
61
  PropGroup2["GENRADIO"] = "genRadio";
64
62
  PropGroup2["GENCHECKBOX"] = "genCheckbox";
65
63
  PropGroup2["GENSWITCH"] = "genSwitch";
66
64
  PropGroup2["OPTIONS"] = "options";
67
65
  PropGroup2["COLLAPSE"] = "collapse";
66
+ PropGroup2["SPACE_OCCUPATION"] = "spaceOccupation";
67
+ PropGroup2["DIVIDER"] = "divider";
68
68
  PropGroup2["IFRAME"] = "iframe";
69
69
  PropGroup2["FILECOLLECT"] = "fileCollect";
70
70
  PropGroup2["CARDLIST"] = "cardList";
@@ -92,6 +92,9 @@ var PropGroup = /* @__PURE__ */ ((PropGroup2) => {
92
92
  PropGroup2["DATARANGE"] = "dataRange";
93
93
  PropGroup2["OPERATOR_CONFIG"] = "operatorConfig";
94
94
  PropGroup2["BUSINESS_CONFIG"] = "businessConfig";
95
+ PropGroup2["Vue3"] = "Vue3";
96
+ PropGroup2["TREE_CONFIG"] = "treeConfig";
97
+ PropGroup2["CARDDISPLAY"] = "cardDisplay";
95
98
  return PropGroup2;
96
99
  })(PropGroup || {});
97
100
  var StyleGroup = /* @__PURE__ */ ((StyleGroup2) => {
@@ -101,6 +104,7 @@ var StyleGroup = /* @__PURE__ */ ((StyleGroup2) => {
101
104
  StyleGroup2["MARGIN"] = "margin";
102
105
  StyleGroup2["BORDER"] = "border";
103
106
  StyleGroup2["HEADER"] = "header";
107
+ StyleGroup2["SHOW_PROP"] = "showProp";
104
108
  return StyleGroup2;
105
109
  })(StyleGroup || {});
106
110
  var tagEnum = /* @__PURE__ */ ((tagEnum2) => {
@@ -117,6 +121,19 @@ var TagTypeEnum = /* @__PURE__ */ ((TagTypeEnum2) => {
117
121
  TagTypeEnum2["STATUS"] = "status";
118
122
  return TagTypeEnum2;
119
123
  })(TagTypeEnum || {});
124
+ var DisplayTagTypeEnum = /* @__PURE__ */ ((DisplayTagTypeEnum2) => {
125
+ DisplayTagTypeEnum2["RADIUS"] = "radius";
126
+ DisplayTagTypeEnum2["BIG_RADIUS"] = "big_radius";
127
+ DisplayTagTypeEnum2["STATUS"] = "status";
128
+ DisplayTagTypeEnum2["SURFACE_RADIUS"] = "surface_radius";
129
+ DisplayTagTypeEnum2["SURFACE_BIG_RADIUS"] = "surface_big_radius";
130
+ DisplayTagTypeEnum2["SURFACE_STATUS"] = "surface_status";
131
+ DisplayTagTypeEnum2["LINE_RADIUS"] = "line_radius";
132
+ DisplayTagTypeEnum2["LINE_BIG_RADIUS"] = "line_big_radius";
133
+ DisplayTagTypeEnum2["LINE_DASHED_RADIUS"] = "line_dashed_radius";
134
+ DisplayTagTypeEnum2["LINE_STATUS"] = "line_status";
135
+ return DisplayTagTypeEnum2;
136
+ })(DisplayTagTypeEnum || {});
120
137
  var ProgressTypeEnum = /* @__PURE__ */ ((ProgressTypeEnum2) => {
121
138
  ProgressTypeEnum2["CIRCLE"] = "circle";
122
139
  ProgressTypeEnum2["LINE"] = "line";
@@ -137,6 +154,7 @@ var GLOBAL_VAR_TYPE = /* @__PURE__ */ ((GLOBAL_VAR_TYPE2) => {
137
154
  GLOBAL_VAR_TYPE2["DATE"] = "date";
138
155
  GLOBAL_VAR_TYPE2["DATETIME"] = "datetime";
139
156
  GLOBAL_VAR_TYPE2["TIME"] = "time";
157
+ GLOBAL_VAR_TYPE2["VAR"] = "var";
140
158
  return GLOBAL_VAR_TYPE2;
141
159
  })(GLOBAL_VAR_TYPE || {});
142
160
  var GLOBAL_TYPE = /* @__PURE__ */ ((GLOBAL_TYPE2) => {
@@ -193,4 +211,4 @@ var Dependency_ENUM = /* @__PURE__ */ ((Dependency_ENUM2) => {
193
211
  return Dependency_ENUM2;
194
212
  })(Dependency_ENUM || {});
195
213
 
196
- export { ASSIGNMENTSTRATEGY_ENUM, BorderStyle, COLUMNS_TYPE, Dependency_ENUM, DisplayType, EventCategory, GLOBAL_TYPE, GLOBAL_VAR_TYPE, INNER_EVENT, PanelEnum, Postion, ProgressTypeEnum, PropGroup, SUB_TABLE_EDIT_MODE, SUB_TABLE_OPE_EVENT_TYPE, SUB_TABLE_OPE_EVENT_TYPE_INLINE, StyleGroup, TagTypeEnum, TextAlign, TextDecoration, VERIFICATIONCONDITIONS_TYPE, tagEnum };
214
+ export { ASSIGNMENTSTRATEGY_ENUM, BorderStyle, COLUMNS_TYPE, Dependency_ENUM, DisplayTagTypeEnum, DisplayType, EventCategory, GLOBAL_TYPE, GLOBAL_VAR_TYPE, INNER_EVENT, PanelEnum, Postion, ProgressTypeEnum, PropGroup, SUB_TABLE_EDIT_MODE, SUB_TABLE_OPE_EVENT_TYPE, SUB_TABLE_OPE_EVENT_TYPE_INLINE, StyleGroup, TagTypeEnum, TextAlign, TextDecoration, VERIFICATIONCONDITIONS_TYPE, tagEnum };
@@ -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";
@@ -33,3 +33,57 @@ export declare enum ExamineAndApproveStateEnum {
33
33
  /**我的自定义审批模态框 */
34
34
  MY_CUSTOM_Modal = "myCustomModal"
35
35
  }
36
+ /**
37
+ * tips: 增加枚举时同步后端增加,该值会作为变量运行在 bpmn 中
38
+ */
39
+ export declare enum ButtonTypeEnum {
40
+ /** 重新提交 */
41
+ Resubmit = "Resubmit",
42
+ /** 终止 */
43
+ End = "Terminate",
44
+ /** 撤回 */
45
+ Withdraw = "Withdraw",
46
+ /** 同意 */
47
+ Approve = "Approve",
48
+ /** 拒绝 */
49
+ Refuse = "Refuse",
50
+ /** 转交 */
51
+ Reassign = "Reassign",
52
+ /** 加签 */
53
+ Countersign = "Countersign",
54
+ /** 驳回 */
55
+ Reject = "Reject"
56
+ }
57
+ /** 审批意见枚举 */
58
+ export declare enum OpinionTypeEnum {
59
+ /** 全部必填 */
60
+ Required = "Required",
61
+ /** 全部非必填 */
62
+ Optional = "Optional",
63
+ /** 同意时必填 */
64
+ ApproveRequired = "ApproveRequired",
65
+ /** 拒绝时必填 */
66
+ RefuseRequired = "RefuseRequired",
67
+ /** 转交时必填 */
68
+ ReassignRequired = "ReassignRequired",
69
+ /** 驳回时必填 */
70
+ RejectRequired = "RejectRequired",
71
+ /** 加签时必填 */
72
+ CountersignRequired = "CountersignRequired"
73
+ }
74
+ /**
75
+ * bpmn节点类型
76
+ */
77
+ export declare enum BpmnNodeTypeEnum {
78
+ BpmnStart = "bpmnStart",
79
+ BpmnSubmit = "bpmnSubmit",
80
+ BpmnApproval = "bpmnApproval",// 审批节点
81
+ BpmnEnd = "bpmnEnd",
82
+ BpmnExclusive = "bpmnExclusive",// 条件分支
83
+ BpmnJs = "bpmnJs",// 脚本节点
84
+ BpmnMessage = "bpmnMessage",// 消息节点
85
+ BpmnParallel = "bpmnParallel",// 并行节点
86
+ BpmnJoin = "bpmnJoin",// 聚合节点
87
+ BpmnForm = "bpmnForm",// 表单节点
88
+ BpmnBusiness = "bpmnBusiness"
89
+ }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var ProcessStatusEnum = /* @__PURE__ */ ((ProcessStatusEnum2) => {
3
2
  ProcessStatusEnum2["APPROVING"] = "APPROVING";
4
3
  ProcessStatusEnum2["COMPLETED"] = "COMPLETED";
@@ -24,5 +23,40 @@ var ExamineAndApproveStateEnum = /* @__PURE__ */ ((ExamineAndApproveStateEnum2)
24
23
  ExamineAndApproveStateEnum2["MY_CUSTOM_Modal"] = "myCustomModal";
25
24
  return ExamineAndApproveStateEnum2;
26
25
  })(ExamineAndApproveStateEnum || {});
26
+ var ButtonTypeEnum = /* @__PURE__ */ ((ButtonTypeEnum2) => {
27
+ ButtonTypeEnum2["Resubmit"] = "Resubmit";
28
+ ButtonTypeEnum2["End"] = "Terminate";
29
+ ButtonTypeEnum2["Withdraw"] = "Withdraw";
30
+ ButtonTypeEnum2["Approve"] = "Approve";
31
+ ButtonTypeEnum2["Refuse"] = "Refuse";
32
+ ButtonTypeEnum2["Reassign"] = "Reassign";
33
+ ButtonTypeEnum2["Countersign"] = "Countersign";
34
+ ButtonTypeEnum2["Reject"] = "Reject";
35
+ return ButtonTypeEnum2;
36
+ })(ButtonTypeEnum || {});
37
+ var OpinionTypeEnum = /* @__PURE__ */ ((OpinionTypeEnum2) => {
38
+ OpinionTypeEnum2["Required"] = "Required";
39
+ OpinionTypeEnum2["Optional"] = "Optional";
40
+ OpinionTypeEnum2["ApproveRequired"] = "ApproveRequired";
41
+ OpinionTypeEnum2["RefuseRequired"] = "RefuseRequired";
42
+ OpinionTypeEnum2["ReassignRequired"] = "ReassignRequired";
43
+ OpinionTypeEnum2["RejectRequired"] = "RejectRequired";
44
+ OpinionTypeEnum2["CountersignRequired"] = "CountersignRequired";
45
+ return OpinionTypeEnum2;
46
+ })(OpinionTypeEnum || {});
47
+ var BpmnNodeTypeEnum = /* @__PURE__ */ ((BpmnNodeTypeEnum2) => {
48
+ BpmnNodeTypeEnum2["BpmnStart"] = "bpmnStart";
49
+ BpmnNodeTypeEnum2["BpmnSubmit"] = "bpmnSubmit";
50
+ BpmnNodeTypeEnum2["BpmnApproval"] = "bpmnApproval";
51
+ BpmnNodeTypeEnum2["BpmnEnd"] = "bpmnEnd";
52
+ BpmnNodeTypeEnum2["BpmnExclusive"] = "bpmnExclusive";
53
+ BpmnNodeTypeEnum2["BpmnJs"] = "bpmnJs";
54
+ BpmnNodeTypeEnum2["BpmnMessage"] = "bpmnMessage";
55
+ BpmnNodeTypeEnum2["BpmnParallel"] = "bpmnParallel";
56
+ BpmnNodeTypeEnum2["BpmnJoin"] = "bpmnJoin";
57
+ BpmnNodeTypeEnum2["BpmnForm"] = "bpmnForm";
58
+ BpmnNodeTypeEnum2["BpmnBusiness"] = "bpmnBusiness";
59
+ return BpmnNodeTypeEnum2;
60
+ })(BpmnNodeTypeEnum || {});
27
61
 
28
- export { ExamineAndApproveStateEnum, ProcessStatusEnum, ch_ProcessStatusMap };
62
+ export { BpmnNodeTypeEnum, ButtonTypeEnum, ExamineAndApproveStateEnum, OpinionTypeEnum, ProcessStatusEnum, ch_ProcessStatusMap };
@@ -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,11 +1,9 @@
1
1
  import { I18n } from 'vue-i18n';
2
- import { GlobalStoreUtil } from '../../store';
3
- import { DesignerRegister, EditorRegister, FormItemRegister, RenderRegister } from '../../register';
4
- import { IMessageUtil } from '../../interface';
2
+ import { IGlobalRegister } from '../../register';
3
+ import { IMessageUtil, IOverlayController } from '../../interface';
5
4
  import { DictionaryUtil } from '../../utils';
6
5
  import { EnvironmentManager } from '../../modules/env-manager';
7
6
  import { ApiMap } from '@gct-paas/api';
8
- import { LocaleUtil } from '../../locale';
9
7
  import { RouterUtil } from '../../router';
10
8
  /**
11
9
  * gct paas 平台全局对象
@@ -17,7 +15,7 @@ export declare class GctGlobal {
17
15
  /**
18
16
  * i18n 工具类
19
17
  */
20
- readonly i18nUtil: LocaleUtil;
18
+ private readonly i18nUtil;
21
19
  /**
22
20
  * i18n 实例
23
21
  *
@@ -25,18 +23,10 @@ export declare class GctGlobal {
25
23
  * @type {I18n}
26
24
  */
27
25
  i18n: I18n;
28
- /**
29
- * i18n 实例的 t 方法,多语言转换
30
- *
31
- * @param {string} key
32
- * @param {string} [def]
33
- * @returns {*} {string}
34
- */
35
- t(key: string, def?: string): string;
36
26
  /**
37
27
  * 全局 store 工具类
38
28
  */
39
- readonly storeUtil: GlobalStoreUtil;
29
+ private readonly storeUtil;
40
30
  /**
41
31
  * 全局 store 实例
42
32
  */
@@ -64,20 +54,13 @@ export declare class GctGlobal {
64
54
  /**
65
55
  * 综合性注册中心
66
56
  */
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
- };
57
+ readonly register: IGlobalRegister;
58
+ /**
59
+ * 全局呈现容器控制器,这里只是声明了类型,具体实例需要由主项目根据实际情况进行实现和挂载
60
+ *
61
+ * @type {IOverlayController}
62
+ */
63
+ openUtil: IOverlayController;
81
64
  /**
82
65
  * API 管理
83
66
  *
@@ -1,17 +1,27 @@
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';
2
+ import { EditorRegister } from '../../register/editor-register/editor-register.mjs';
3
+ import { FormItemRegister } from '../../register/form-item-register/form-item-register.mjs';
4
+ import 'qs';
7
5
  import { DictionaryUtil } from '../../utils/dictionary/dictionary.mjs';
6
+ import 'lodash-es';
7
+ import '../../utils/mitt/mitt.mjs';
8
+ import '../../enums/app-designer/index.mjs';
9
+ import '../../enums/page-designer/designer.mjs';
10
+ import '../../enums/breakpointEnum.mjs';
11
+ import '../../constants/expression-type/modeCfg.mjs';
12
+ import '../../constants/expression-type/BuiltOperators.mjs';
13
+ import '../../constants/expression-type/function.mjs';
14
+ import '../../constants/expression-type/variable.mjs';
15
+ import 'vue';
16
+ import 'qx-util';
17
+ import 'path-browserify';
18
+ import '../../utils/uuid/uuid.mjs';
19
+ import 'axios';
20
+ import '@fingerprintjs/fingerprintjs';
8
21
  import { EnvironmentManager } from '../../modules/env-manager/env-manager.mjs';
9
- import { FormItemRegister } from '../../register/form-item-register/form-item-register.mjs';
10
- import { EditorRegister } from '../../register/editor-register/editor-register.mjs';
11
- import { RenderRegister } from '../../register/render-register/render-register.mjs';
12
- import { DesignerRegister } from '../../register/designer-register/designer-register.mjs';
22
+ import { LocaleUtil } from '../../locale/index.mjs';
23
+ import { RouterUtil } from '../../router/index.mjs';
13
24
 
14
- "use strict";
15
25
  class GctGlobal {
16
26
  /**
17
27
  * i18n 工具类
@@ -24,16 +34,6 @@ class GctGlobal {
24
34
  * @type {I18n}
25
35
  */
26
36
  i18n = this.i18nUtil.i18n;
27
- /**
28
- * i18n 实例的 t 方法,多语言转换
29
- *
30
- * @param {string} key
31
- * @param {string} [def]
32
- * @returns {*} {string}
33
- */
34
- t(key, def) {
35
- return this.i18n.global.t(key, def);
36
- }
37
37
  /**
38
38
  * 全局 store 工具类
39
39
  */
@@ -66,19 +66,15 @@ class GctGlobal {
66
66
  * 综合性注册中心
67
67
  */
68
68
  register = {
69
- designer: {
70
- pad: new DesignerRegister(),
71
- mobile: new DesignerRegister(),
72
- web: new DesignerRegister()
73
- },
74
- render: {
75
- pad: new RenderRegister(),
76
- mobile: new RenderRegister(),
77
- web: new RenderRegister()
78
- },
79
- editor: EditorRegister,
80
- formItem: FormItemRegister
69
+ editor: new EditorRegister(),
70
+ formItem: new FormItemRegister()
81
71
  };
72
+ /**
73
+ * 全局呈现容器控制器,这里只是声明了类型,具体实例需要由主项目根据实际情况进行实现和挂载
74
+ *
75
+ * @type {IOverlayController}
76
+ */
77
+ openUtil;
82
78
  /**
83
79
  * 异步初始化一些内容,在 createApp 之前调用
84
80
  *
@@ -88,6 +84,7 @@ class GctGlobal {
88
84
  */
89
85
  async init() {
90
86
  await this.env.checkIsTestEnv();
87
+ await this.store.init();
91
88
  }
92
89
  }
93
90
 
@@ -1,5 +1,6 @@
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
- export { useNamespace } from './use-namespace/use-namespace';
5
+ export { useIFrameProps, useWuJieBus, useWuJieProps, } from './use-sub-app-utils/use-sub-app-utils';
5
6
  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;
@@ -0,0 +1,8 @@
1
+ import { inject } from 'vue';
2
+ import { APP_INST } from '../../constants/index.mjs';
3
+
4
+ function useAppInst() {
5
+ return inject(APP_INST);
6
+ }
7
+
8
+ export { useAppInst };
@@ -1,6 +1,5 @@
1
1
  import { inject } from 'vue';
2
2
 
3
- "use strict";
4
3
  function useForm() {
5
4
  const c = inject("formController");
6
5
  return c;
@@ -7,7 +7,7 @@ import { WritableComputedRef } from 'vue';
7
7
  * @param {string} [key] 可以指定字段字段名(指定后直接改 form),默认取 props 中的 value
8
8
  * @returns {*} {WritableComputedRef<T>}
9
9
  */
10
- export declare function useGctFormValue<T = any>(key?: string): WritableComputedRef<T> | null;
10
+ export declare function useGctFormValue<T = any>(key?: string): WritableComputedRef<T>;
11
11
  /**
12
12
  * 获取编辑器双向数据绑定值对象,自动发送更新事件(纯字符串)
13
13
  *
@@ -1,7 +1,6 @@
1
1
  import { computed, getCurrentInstance } from 'vue';
2
2
  import { useForm } from '../use-form/use-form.mjs';
3
3
 
4
- "use strict";
5
4
  function useGctFormValue(key) {
6
5
  let val = null;
7
6
  if (key) {
@@ -69,9 +68,6 @@ function useGctFormValueByText(prefix, suffix) {
69
68
  if (props.value === newVal) {
70
69
  return;
71
70
  }
72
- if (typeof newVal === "string") {
73
- newVal = newVal.trim();
74
- }
75
71
  if (newVal == "") {
76
72
  emit("update:value", "");
77
73
  return;
@@ -1,6 +1,5 @@
1
1
  import { inject } from 'vue';
2
2
 
3
- "use strict";
4
3
  function useModal(ok) {
5
4
  const modal = inject("modal");
6
5
  if (modal) {
@@ -0,0 +1,11 @@
1
+ import { Ref } from 'vue';
2
+ import { OverlayScrollbars, EventListeners, PartialOptions } from 'overlayscrollbars';
3
+ /**
4
+ * OverlayScrollbars Vue 3 组合式函数
5
+ *
6
+ * @export
7
+ * @param {PartialOptions} options
8
+ * @param {EventListeners} [eventListeners]
9
+ * @return {*}
10
+ */
11
+ export declare function useOverlayScrollbars(osElRef: Ref<HTMLElement | undefined>, options: PartialOptions, eventListeners?: EventListeners): Ref<OverlayScrollbars>;