ecinc-cloud-yoawjzx 9.5.0
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 +76 -0
- package/lib/ecyoawjzx.common.js +43527 -0
- package/lib/ecyoawjzx.umd.js +43537 -0
- package/lib/ecyoawjzx.umd.min.js +32 -0
- package/package.json +10 -0
package/index.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// wjzx
|
|
2
|
+
// ccsz
|
|
3
|
+
import WjzxCcszCapacityUsed from './src/ccsz/capacityUsed'
|
|
4
|
+
import WjzxCcszRuleSet from './src/ccsz/ruleSet'
|
|
5
|
+
// components
|
|
6
|
+
import WjzxComponentClickFileName from './src/components/clickFileName'
|
|
7
|
+
import WjzxComponentFullFileName from './src/components/fullFileName'
|
|
8
|
+
import WjzxComponentNotClickTbColumns from './src/components/notClickTbColumns'
|
|
9
|
+
import WjzxComponentTbColumns from './src/components/tbColumns'
|
|
10
|
+
// hsz
|
|
11
|
+
import WjzxHsz from './src/hsz'
|
|
12
|
+
// index
|
|
13
|
+
import WjzxIndexFileList from './src/index/components/FileList'
|
|
14
|
+
import WjzxIndexMyFilesInfo from './src/index/components/MyFilesInfo'
|
|
15
|
+
import WjzxIndexRecentFilesList from './src/index/components/RecentFilesList'
|
|
16
|
+
// portlet
|
|
17
|
+
import WjzxPortletFileList from './src/portlet/FileList'
|
|
18
|
+
import WjzxPortletGrwj from './src/portlet/grwj'
|
|
19
|
+
import WjzxPortletNewFileList from './src/portlet/NewFileList'
|
|
20
|
+
// wjgl
|
|
21
|
+
import WjzxWjglCanShareRecord from './src/wjgl/components/CanShareRecord'
|
|
22
|
+
import WjzxWjglFileForm from './src/wjgl/components/FileForm'
|
|
23
|
+
import WjzxWjglFileList from './src/wjgl/components/FileList'
|
|
24
|
+
import WjzxWjglOrgTreeDialog from './src/wjgl/components/OrgTreeDialog'
|
|
25
|
+
import WjzxWjglProcess from './src/wjgl/components/Process'
|
|
26
|
+
import WjzxWjglPublicList from './src/wjgl/components/PublicList'
|
|
27
|
+
import WjzxWjglShareRecord from './src/wjgl/components/ShareRecord'
|
|
28
|
+
import WjzxWjgl from './src/wjgl'
|
|
29
|
+
// xztj
|
|
30
|
+
import WjzxXztj from './src/xztj'
|
|
31
|
+
|
|
32
|
+
// 以数组的结构保存组件,便于遍历
|
|
33
|
+
const components = {
|
|
34
|
+
WjzxCcszCapacityUsed,
|
|
35
|
+
WjzxCcszRuleSet,
|
|
36
|
+
WjzxComponentClickFileName,
|
|
37
|
+
WjzxComponentFullFileName,
|
|
38
|
+
WjzxComponentNotClickTbColumns,
|
|
39
|
+
WjzxComponentTbColumns,
|
|
40
|
+
WjzxHsz,
|
|
41
|
+
WjzxIndexFileList,
|
|
42
|
+
WjzxIndexMyFilesInfo,
|
|
43
|
+
WjzxIndexRecentFilesList,
|
|
44
|
+
WjzxPortletFileList,
|
|
45
|
+
WjzxPortletGrwj,
|
|
46
|
+
WjzxPortletNewFileList,
|
|
47
|
+
WjzxWjglCanShareRecord,
|
|
48
|
+
WjzxWjglFileForm,
|
|
49
|
+
WjzxWjglFileList,
|
|
50
|
+
WjzxWjglOrgTreeDialog,
|
|
51
|
+
WjzxWjglProcess,
|
|
52
|
+
WjzxWjglPublicList,
|
|
53
|
+
WjzxWjglShareRecord,
|
|
54
|
+
WjzxWjgl,
|
|
55
|
+
WjzxXztj
|
|
56
|
+
}
|
|
57
|
+
// 定义 install 方法
|
|
58
|
+
const install = function(Vue) {
|
|
59
|
+
if (install.installed) return
|
|
60
|
+
install.installed = true
|
|
61
|
+
// 遍历并注册全局组件
|
|
62
|
+
Object.keys(components).forEach(key => {
|
|
63
|
+
Vue.component(key, components[key])
|
|
64
|
+
})
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
68
|
+
install(window.Vue)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export default {
|
|
72
|
+
// 导出的对象必须具备一个 install 方法
|
|
73
|
+
install,
|
|
74
|
+
// 组件列表
|
|
75
|
+
...components
|
|
76
|
+
}
|