ecinc-cloud-yoabase 9.5.10 → 9.5.12

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 ADDED
@@ -0,0 +1,109 @@
1
+ require('@babel/polyfill')
2
+
3
+ // 导入单个组件
4
+ // cityCodeConfig
5
+ import CityCodeConfig from './src/cityCodeConfig'
6
+ // cockpit
7
+ import Cockpit from './src/cockpit'
8
+ // cockpit1
9
+ import Cockpit1 from './src/cockpit1'
10
+ // conversation
11
+ import ConversationSimulateLeft from './src/conversation/SimulateLeft'
12
+ import ConversationSimulateRight from './src/conversation/SimulateRight'
13
+ import ConversationSimulateTest from './src/conversation/SimulateTest'
14
+ import ConversationTbColumns from './src/conversation/TbColumns'
15
+ import ConversationTopBtn from './src/conversation/TopBtn'
16
+ // email
17
+ //import EmailComponents from './src/email/exportor'
18
+ // holiday
19
+ import BaseHoliday from './src/holiday'
20
+ // InvoiceRecognition
21
+ import InvoiceRecognition from './src/InvoiceRecognition'
22
+ import InvoiceRecognitionRegister from './src/InvoiceRecognition/register'
23
+ import OrganMgrSyncToWechat from './src/organMgr/syncToWechat'
24
+ // passwordPolicy
25
+ import PasswordPolicy from './src/passwordPolicy'
26
+ // platStatistics
27
+ //import PlatStatisticsComponents from './src/platStatistics/exportor'
28
+ // product/menuMgr
29
+ import BaseProductMenuMgr from './src/product/menuMgr'
30
+ // sysLog
31
+ import BaseSysLog from './src/sysLog'
32
+ // systemSummary
33
+ import BaseSystemSummary from './src/systemSummary'
34
+ // uiStyle
35
+ import BaseUiStyle from './src/uiStyle'
36
+ import BaseUiStyleSkinSet from './src/uiStyle/skinSet'
37
+ import BaseUiStyleUserForm from './src/uiStyle/UserForm'
38
+ // voice
39
+ import VoiceSideBar from './src/voice/SideBar'
40
+ import VoiceVoiceDesigner from './src/voice/VoiceDesigner'
41
+ import VoiceCenter from './src/voice/Center'
42
+ import VoiceMenuBar from './src/voice/MenuBar'
43
+ import VoiceRight from './src/voice/RightForm'
44
+ import VoiceRightFormPanelNode from './src/voice/RightForm/PanelNode'
45
+ import VoiceRightFormTab from './src/voice/RightForm/PanelNode/Tab0'
46
+ // common
47
+ //import CommonComponents from './src/common/exportor'
48
+ // workflow
49
+ //import WorkFlowComponents from './src/workflow/exporter'
50
+ import textBox from './src/workflow/wfInstance/mainform/components/textBox'
51
+ import wformFooter from './src/workflow/wfInstance/mainform/components/wformFooter'
52
+ import wformHeader from './src/workflow/wfInstance/mainform/components/wformHeader'
53
+ import wformSerial from './src/workflow/wfInstance/mainform/components/wformSerial'
54
+ import wformTitle from './src/workflow/wfInstance/mainform/components/wformTitle'
55
+
56
+ // 以对象的结构保存组件,便于遍历
57
+ const components = {
58
+ CityCodeConfig,
59
+ Cockpit,
60
+ Cockpit1,
61
+ ConversationSimulateLeft,
62
+ ConversationSimulateRight,
63
+ ConversationSimulateTest,
64
+ ConversationTbColumns,
65
+ ConversationTopBtn,
66
+ BaseHoliday,
67
+ InvoiceRecognition,
68
+ InvoiceRecognitionRegister,
69
+ OrganMgrSyncToWechat,
70
+ PasswordPolicy,
71
+ BaseProductMenuMgr,
72
+ BaseSysLog,
73
+ BaseSystemSummary,
74
+ BaseUiStyle,
75
+ BaseUiStyleSkinSet,
76
+ BaseUiStyleUserForm,
77
+ VoiceSideBar,
78
+ VoiceVoiceDesigner,
79
+ VoiceCenter,
80
+ VoiceMenuBar,
81
+ VoiceRight,
82
+ VoiceRightFormPanelNode,
83
+ VoiceRightFormTab,
84
+ textBox,
85
+ wformFooter,
86
+ wformHeader,
87
+ wformSerial,
88
+ wformTitle
89
+ }
90
+ // 定义 install 方法
91
+ const install = function(Vue) {
92
+ if (install.installed) return
93
+ install.installed = true
94
+ // 遍历并注册全局组件
95
+ Object.keys(components).forEach(key => {
96
+ Vue.component(key, components[key])
97
+ })
98
+ }
99
+
100
+ if (typeof window !== 'undefined' && window.Vue) {
101
+ install(window.Vue)
102
+ }
103
+
104
+ module.exports = {
105
+ // 导出的对象必须具备一个 install 方法
106
+ install,
107
+ // 组件列表
108
+ ...components
109
+ }
package/package.json CHANGED
@@ -1,87 +1,10 @@
1
1
  {
2
2
  "name": "ecinc-cloud-yoabase",
3
3
  "main": "/lib/ecyoabase.umd.min.js",
4
- "version": "9.5.10",
4
+ "version": "9.5.12",
5
5
  "description": "易臣云办公PC版-公共组件",
6
- "keyword": "ecinc cloud plat",
6
+ "keyword": "ecinc cloud ecyoa",
7
7
  "private": false,
8
8
  "author": "ECINC",
9
-
10
- "scripts": {
11
- "lint": "vue-cli-service lint",
12
- "lib:wappaio": "vue-cli-service build --target lib --name ecwappaio --dest lib packages/wappaio.index.js",
13
- "lib:wportal": "vue-cli-service build --target lib --name ecwportal --dest lib packages/wportal.index.js",
14
- "lib:mappaio": "vue-cli-service build --target lib --name ecmappaio --dest lib packages/mappaio.index.js",
15
- "lib:yoabase": "vue-cli-service build --target lib --name ecyoabase --dest lib packages/ecyoa/yoabase/index.js"
16
- },
17
- "husky": {
18
- "hooks": {
19
- "pre-commit": "lint-staged"
20
- }
21
- },
22
- "lint-staged": {
23
- "src/**/*.{js,vue}": [
24
- "eslint --fix",
25
- "git add"
26
- ]
27
- },
28
- "dependencies": {
29
- "@babel/polyfill": "^7.11.5",
30
- "axios": "^0.19.0",
31
- "clipboard": "^2.0.6",
32
- "echarts": "^5.0.2",
33
- "highlight.js": "^9.12.0",
34
- "html2canvas": "^1.0.0-rc.5",
35
- "http-vue-loader": "^1.4.1",
36
- "increase-memory-limit": "^1.0.7",
37
- "jquery": "^3.4.1",
38
- "jquery-ui": "^1.12.1",
39
- "js-cookie": "^2.2.1",
40
- "jsonlint": "^1.6.3",
41
- "jsplumb": "^2.15.6",
42
- "jwt-decode": "^2.2.0",
43
- "sortablejs": "^1.10.1",
44
- "tiff.js": "^1.0.0",
45
- "vee-validate": "^3.0.11",
46
- "video.js": "^7.7.5",
47
- "vue-i18n": "^8.15.0",
48
- "vuedraggable": "^2.23.2"
49
- },
50
- "devDependencies": {
51
- "@babel/core": "^7.0.0",
52
- "@babel/register": "^7.0.0",
53
- "@riophae/vue-treeselect": "^0.4.0",
54
- "@vue/cli-plugin-babel": "^4.5.18",
55
- "@vue/cli-plugin-eslint": "^4.5.18",
56
- "@vue/cli-service": "^4.5.18",
57
- "babel-core": "^7.0.0-bridge.0",
58
- "babel-eslint": "^10.0.1",
59
- "babel-jest": "^25.5.1",
60
- "element-ui": "^2.15.12",
61
- "eslint": "5.15.3",
62
- "eslint-plugin-vue": "5.2.2",
63
- "lint-staged": "8.1.5",
64
- "moment": "^2.24.0",
65
- "node-sass": "^4.14.1",
66
- "sass-loader": "^7.3.1",
67
- "script-loader": "^0.7.2",
68
- "vant": "^2.12.49",
69
- "vue": "^2.7.16",
70
- "vue-codemirror": "^4.0.6",
71
- "vue-grid-layout": "^2.4.0",
72
- "vuex": "^3.6.2"
73
- },
74
- "engines": {
75
- "node": ">=8.9",
76
- "npm": ">= 3.0.0"
77
- },
78
- "browserslist": [
79
- "> 1%",
80
- "last 3 versions",
81
- "not ie <= 9"
82
- ],
83
- "directories": {
84
- "test": "tests"
85
- },
86
9
  "license": "ISC"
87
- }
10
+ }
package/README.md DELETED
@@ -1,24 +0,0 @@
1
- # 易臣智慧云平台9.0
2
-
3
- > 基于Vue的前端组件库,在element-ui、vant基础上,封装前后端接口交互处理逻辑,提供表单、列表、对话框、报表等常用复合组件功能。
4
-
5
- ## 安装
6
-
7
- ``` bash
8
- $ npm install ecinc-cloud-xxx --save
9
- ```
10
- ## 使用
11
-
12
- 在 `main.js` 文件中引入插件并注册
13
-
14
- ``` bash
15
- # main.js
16
- import ecxxx from 'ecinc-cloud-xxxx'
17
- Vue.use(ecxxx)
18
- ```
19
-
20
- ## 注意
21
- 1. 本系列组件依赖于易臣智慧云平台9.0版;
22
- 2. 手机H5版应用需要安装ecinc-cloud-mappaio;
23
- 3. 云办公PC版应用需要安装ecinc-cloud-wappaio;
24
- 4. 云门户PC版应用需要安装ecinc-cloud-wportal。