ecinc-cloud-yoabase 9.5.0 → 9.5.1

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