ecinc-cloud-wappaio 9.7.64 → 9.7.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +14 -13
- package/lib/ecwappaio.common.js +1279 -412
- package/lib/ecwappaio.umd.js +1281 -414
- package/lib/ecwappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// =============================================================
|
|
2
|
-
// PC
|
|
2
|
+
// PC 端整合包:核心组件同步注�?+ 重型组件异步全局注册(chunk 级按需加载�?
|
|
3
3
|
// 业务代码无需改动,模板可直接使用 <RichtextEditor /> <PdfTools /> 等全局组件
|
|
4
4
|
// 首次渲染时才下载对应 chunk
|
|
5
5
|
// =============================================================
|
|
@@ -37,9 +37,9 @@ import '../../ecwapp/Directive/index'
|
|
|
37
37
|
|
|
38
38
|
const components = [app, auth, eventBus, user, Basicform, DynamicForm, FormItem, DataTable, Toolbar, RenderAttachColumn, DatetimeRange, DoingDialog, InnerTable, LRLayout, LeftPanel, RightPanel, PageHeader, PageContent, ScrollPane, SelectDialog, SelectGroup, SidebarLogo, SvgIcon, WfNames]
|
|
39
39
|
|
|
40
|
-
// ---------- 重型组件异步全局注册清单(chunk
|
|
41
|
-
// 格式:[
|
|
42
|
-
// 通过 webpackChunkName magic-comment 控制分包;同 chunkName
|
|
40
|
+
// ---------- 重型组件异步全局注册清单(chunk 级按需加载�?----------
|
|
41
|
+
// 格式:[全局组件�? 异步工厂函数]
|
|
42
|
+
// 通过 webpackChunkName magic-comment 控制分包;同 chunkName 会合并到同一�?chunk
|
|
43
43
|
const asyncComponents = [
|
|
44
44
|
// ========== ecwapp 业务功能 ==========
|
|
45
45
|
['BatchProcessing', () => import(/* webpackChunkName: "func-batch" */ '../../ecwapp/BatchProcessing/index').then((m) => m.BatchProcessing)],
|
|
@@ -50,7 +50,7 @@ const asyncComponents = [
|
|
|
50
50
|
['PDFInjector', () => import(/* webpackChunkName: "func-textrecog" */ '../../ecwapp/TextRecognition/index').then((m) => m.PDFInjector)],
|
|
51
51
|
['TextRecognition', () => import(/* webpackChunkName: "func-textrecog" */ '../../ecwapp/TextRecognition/index').then((m) => m.TextRecognition)],
|
|
52
52
|
|
|
53
|
-
// ========== ecwapp/Wflowform 工作流表单子组件
|
|
53
|
+
// ========== ecwapp/Wflowform 工作流表单子组件 �?chunk: wflow-form ==========
|
|
54
54
|
['Attachment', () => import(/* webpackChunkName: "wflow-form" */ '../../ecwapp/Wflowform').then((m) => m.Attachment)],
|
|
55
55
|
['BodyFile', () => import(/* webpackChunkName: "wflow-form" */ '../../ecwapp/Wflowform').then((m) => m.BodyFile)],
|
|
56
56
|
['CommandBar', () => import(/* webpackChunkName: "wflow-form" */ '../../ecwapp/Wflowform').then((m) => m.CommandBar)],
|
|
@@ -73,7 +73,7 @@ const asyncComponents = [
|
|
|
73
73
|
['ViewBodyFile', () => import(/* webpackChunkName: "wflow-form" */ '../../ecwapp/Wflowform').then((m) => m.ViewBodyFile)],
|
|
74
74
|
['WformLayout', () => import(/* webpackChunkName: "wflow-form" */ '../../ecwapp/Wflowform').then((m) => m.WformLayout)],
|
|
75
75
|
|
|
76
|
-
// ========== ecwplat 平台管理
|
|
76
|
+
// ========== ecwplat 平台管理 �?chunk: plat-* ==========
|
|
77
77
|
['Product', () => import(/* webpackChunkName: "plat-product" */ '../../ecwplat/Product').then((m) => m.Product)],
|
|
78
78
|
['ProductRoleMgr', () => import(/* webpackChunkName: "plat-product" */ '../../ecwplat/Product').then((m) => m.ProductRoleMgr)],
|
|
79
79
|
['ResRoles', () => import(/* webpackChunkName: "plat-roles" */ '../../ecwplat/ResRoles/index').then((m) => m.ResRoles)],
|
|
@@ -92,6 +92,7 @@ const asyncComponents = [
|
|
|
92
92
|
['ImportPersonOrg', () => import(/* webpackChunkName: "plat-organ" */ '../../ecwplat/Organ/index').then((m) => m.ImportPersonOrg)],
|
|
93
93
|
['ImportWorkgroupMember', () => import(/* webpackChunkName: "plat-organ" */ '../../ecwplat/Organ/index').then((m) => m.ImportWorkgroupMember)],
|
|
94
94
|
['OrgPersonMgr', () => import(/* webpackChunkName: "plat-organ" */ '../../ecwplat/Organ/index').then((m) => m.OrgPersonMgr)],
|
|
95
|
+
['MultiOrgPersonMgr', () => import(/* webpackChunkName: "plat-organ" */ '../../ecwplat/Organ/index').then((m) => m.MultiOrgPersonMgr)],
|
|
95
96
|
['OrgPersonForm', () => import(/* webpackChunkName: "plat-organ" */ '../../ecwplat/Organ/index').then((m) => m.OrgPersonForm)],
|
|
96
97
|
['OrgPersonOther', () => import(/* webpackChunkName: "plat-organ" */ '../../ecwplat/Organ/index').then((m) => m.OrgPersonOther)],
|
|
97
98
|
['OrgTreeMgr', () => import(/* webpackChunkName: "plat-organ" */ '../../ecwplat/Organ/index').then((m) => m.OrgTreeMgr)],
|
|
@@ -104,7 +105,7 @@ const asyncComponents = [
|
|
|
104
105
|
['EditorConfig', () => import(/* webpackChunkName: "plat-editor" */ '../../ecwplat/EditorConfig').then((m) => m.EditorConfig)],
|
|
105
106
|
['DataDictForm', () => import(/* webpackChunkName: "plat-editor" */ '../../ecwplat/DataDict').then((m) => m.DataDictForm)],
|
|
106
107
|
|
|
107
|
-
// ========== ecwplus
|
|
108
|
+
// ========== ecwplus 设计器系�?�?chunk: devtool-* ==========
|
|
108
109
|
['BusiformDesigner', () => import(/* webpackChunkName: "devtool-busiform" */ '../../ecwplus/BusiformDesigner').then((m) => m.BusiformDesigner)],
|
|
109
110
|
['FromEventEdit', () => import(/* webpackChunkName: "devtool-busiform" */ '../../ecwplus/BusiformDesigner').then((m) => m.FromEventEdit)],
|
|
110
111
|
['ListPageDesigner', () => import(/* webpackChunkName: "devtool-listpage" */ '../../ecwplus/ListPageDesigner/index')],
|
|
@@ -129,7 +130,7 @@ const asyncComponents = [
|
|
|
129
130
|
['TableEntityList', () => import(/* webpackChunkName: "devtool-admin" */ '../../ecwplus/AdminConsole').then((m) => m.TableEntityList)],
|
|
130
131
|
['TableEntityMgr', () => import(/* webpackChunkName: "devtool-admin" */ '../../ecwplus/AdminConsole').then((m) => m.TableEntityMgr)],
|
|
131
132
|
|
|
132
|
-
// ========== 工作流设计器 +
|
|
133
|
+
// ========== 工作流设计器 + 系统设计�?==========
|
|
133
134
|
['WflowDesigner', () => import(/* webpackChunkName: "wflow-designer" */ '../../ecwplus/WorkflowDesigner/index')],
|
|
134
135
|
['ImportWf', () => import(/* webpackChunkName: "wflow-designer" */ '../../ecwplus/WorkflowDesigner/src/components/ImportWf')],
|
|
135
136
|
['WflowTrace', () => import(/* webpackChunkName: "wflow-designer" */ '../../ecwplus/WorkflowDesigner/src/components/FlowTrace')],
|
|
@@ -147,12 +148,12 @@ const install = function (Vue) {
|
|
|
147
148
|
Vue.use(component)
|
|
148
149
|
})
|
|
149
150
|
|
|
150
|
-
// 2.
|
|
151
|
+
// 2. 异步全局注册重型组件(首次渲染时才下�?chunk�?
|
|
151
152
|
asyncComponents.forEach(([name, factory]) => {
|
|
152
153
|
Vue.component(name, factory)
|
|
153
154
|
})
|
|
154
155
|
|
|
155
|
-
// 3. 异步加载工作流引擎插件(独立 chunk
|
|
156
|
+
// 3. 异步加载工作流引擎插件(独立 chunk�?
|
|
156
157
|
import(/* webpackChunkName: "wflow-engine" */ '../../ecwflow/wfengine/index').then((m) => {
|
|
157
158
|
Vue.use(m.default || m)
|
|
158
159
|
})
|
|
@@ -188,13 +189,13 @@ export default {
|
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
// =============================================================
|
|
191
|
-
//
|
|
192
|
-
//
|
|
192
|
+
// 兼容�?Module 工厂函数 export(路�?动态场景主动调用)
|
|
193
|
+
// 使用示例�?
|
|
193
194
|
// const { WflowDesignerModule } = require('ecinc-cloud-wappaio')
|
|
194
195
|
// components: { WflowDesigner: () => WflowDesignerModule().then(m => m.default) }
|
|
195
196
|
// =============================================================
|
|
196
197
|
|
|
197
|
-
// ----------
|
|
198
|
+
// ---------- 工作流相�?----------
|
|
198
199
|
export const WfengineModule = () => import(/* webpackChunkName: "wflow-engine" */ '../../ecwflow/wfengine/index')
|
|
199
200
|
export const WflowformModule = () => import(/* webpackChunkName: "wflow-form" */ '../../ecwapp/Wflowform')
|
|
200
201
|
export const WflowDesignerModule = () => import(/* webpackChunkName: "wflow-designer" */ '../../ecwplus/WorkflowDesigner/index')
|