eoss-ui 0.7.22 → 0.7.24
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/lib/button-group.js +48 -7
- package/lib/button.js +48 -7
- package/lib/calogin.js +48 -7
- package/lib/checkbox-group.js +48 -7
- package/lib/data-table-form.js +48 -7
- package/lib/data-table.js +48 -7
- package/lib/date-picker.js +48 -7
- package/lib/dialog.js +48 -7
- package/lib/eoss-ui.common.js +608 -525
- package/lib/flow-group.js +70 -9
- package/lib/flow-list.js +129 -88
- package/lib/flow.js +340 -294
- package/lib/form.js +48 -7
- package/lib/handle-user.js +48 -7
- package/lib/handler.js +48 -7
- package/lib/icon.js +48 -7
- package/lib/index.js +1 -1
- package/lib/input-number.js +48 -7
- package/lib/input.js +48 -7
- package/lib/login.js +74 -16
- package/lib/main.js +176 -135
- package/lib/nav.js +48 -7
- package/lib/page.js +48 -7
- package/lib/pagination.js +48 -7
- package/lib/player.js +48 -7
- package/lib/qr-code.js +48 -7
- package/lib/radio-group.js +48 -7
- package/lib/retrial-auth.js +48 -7
- package/lib/select-ganged.js +48 -7
- package/lib/select.js +48 -7
- package/lib/selector-panel.js +48 -7
- package/lib/selector.js +48 -7
- package/lib/sizer.js +48 -7
- package/lib/steps.js +48 -7
- package/lib/switch.js +48 -7
- package/lib/table-form.js +48 -7
- package/lib/tabs.js +48 -7
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/tips.js +48 -7
- package/lib/tree-group.js +48 -7
- package/lib/tree.js +48 -7
- package/lib/upload.js +48 -7
- package/lib/utils/util.js +48 -7
- package/lib/wujie.js +48 -7
- package/lib/wxlogin.js +48 -7
- package/package.json +160 -160
- package/packages/.DS_Store +0 -0
- package/packages/button-group/src/main.vue +346 -346
- package/packages/calogin/.DS_Store +0 -0
- package/packages/calogin/src/main.vue +412 -412
- package/packages/data-table/src/column.vue +988 -988
- package/packages/data-table/src/main.vue +1831 -1831
- package/packages/date-picker/.DS_Store +0 -0
- package/packages/date-picker/src/.DS_Store +0 -0
- package/packages/flow/.DS_Store +0 -0
- package/packages/flow/src/.DS_Store +0 -0
- package/packages/flow/src/component/Circulate.vue +413 -413
- package/packages/flow/src/component/CommonOpinions.vue +373 -373
- package/packages/flow/src/component/FileList.vue +97 -97
- package/packages/flow/src/component/FreeCirculation.vue +240 -240
- package/packages/flow/src/component/SendMsg.vue +242 -242
- package/packages/flow/src/component/taskUnionExamine.vue +738 -738
- package/packages/flow/src/freeStartFlow.vue +2847 -2847
- package/packages/flow/src/main.vue +3843 -3843
- package/packages/flow/src/processForm.vue +1370 -1366
- package/packages/flow/src/processReject.vue +308 -308
- package/packages/flow/src/reset.vue +941 -941
- package/packages/flow/src/startTaskRead.vue +691 -691
- package/packages/flow/src/supervise.vue +159 -159
- package/packages/flow-group/src/main.vue +717 -696
- package/packages/flow-list/.DS_Store +0 -0
- package/packages/flow-list/src/main.vue +1770 -1770
- package/packages/form/.DS_Store +0 -0
- package/packages/form/src/main.vue +3901 -3901
- package/packages/form/src/table.vue +1512 -1512
- package/packages/handle-user/src/main.vue +137 -137
- package/packages/handler/src/main.vue +496 -496
- package/packages/icon/src/main.vue +104 -104
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +2020 -1994
- package/packages/login/src/resetPassword.vue +557 -557
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/userinfo.vue +502 -502
- package/packages/main/src/public/search.vue +464 -464
- package/packages/main/src/simplicity/avatar.vue +82 -82
- package/packages/main/src/simplicity/handler.vue +263 -263
- package/packages/main/src/simplicity/index.vue +2125 -2125
- package/packages/main/src/simplicity/user.vue +259 -259
- package/packages/main/src/simplicity/userinfo.vue +398 -398
- package/packages/menu/.DS_Store +0 -0
- package/packages/select/.DS_Store +0 -0
- package/packages/select/src/main.vue +782 -782
- package/packages/selector/.DS_Store +0 -0
- package/packages/selector/src/main.vue +761 -761
- package/packages/selector-panel/.DS_Store +0 -0
- package/packages/selector-panel/src/main.vue +1027 -1027
- package/packages/selector-panel/src/selection.vue +170 -170
- package/packages/switch/src/main.vue +170 -170
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/flow.scss +351 -351
- package/packages/theme-chalk/src/form.scss +501 -501
- package/packages/theme-chalk/src/handler.scss +148 -148
- package/packages/theme-chalk/src/icon.scss +1817 -1817
- package/packages/theme-chalk/src/login.scss +987 -984
- package/packages/theme-chalk/src/selector.scss +92 -92
- package/packages/theme-chalk/src/simplicity.scss +1366 -1366
- package/packages/theme-chalk/src/upload.scss +172 -172
- package/packages/upload/.DS_Store +0 -0
- package/packages/upload/src/main.vue +1343 -1343
- package/src/.DS_Store +0 -0
- package/src/config/api.js +315 -315
- package/src/index.js +163 -163
- package/src/utils/.DS_Store +0 -0
- package/src/utils/rules.js +18 -18
- package/src/utils/util.js +49 -9
package/lib/wujie.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
|
@@ -3450,6 +3451,9 @@ var getStorage = function getStorage(key) {
|
|
|
3450
3451
|
if (key === 'host' && !res) {
|
|
3451
3452
|
return win.location.origin;
|
|
3452
3453
|
}
|
|
3454
|
+
if (!res && key === 'token') {
|
|
3455
|
+
res = getCookie('token');
|
|
3456
|
+
}
|
|
3453
3457
|
return res;
|
|
3454
3458
|
}
|
|
3455
3459
|
var defaults = {};
|
|
@@ -3503,11 +3507,48 @@ var removeStorage = function removeStorage(key) {
|
|
|
3503
3507
|
* @desc 设置cookie
|
|
3504
3508
|
* @author huangbo
|
|
3505
3509
|
* @param {string} [name] cookie名称
|
|
3506
|
-
* @
|
|
3510
|
+
* @param {string} [value] cookie值
|
|
3511
|
+
* @param {boolean} [isSession] 是否是会话cookie
|
|
3507
3512
|
**/
|
|
3508
3513
|
var setCookie = function setCookie(name, value) {
|
|
3509
|
-
|
|
3510
|
-
|
|
3514
|
+
var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
3515
|
+
var time = arguments[3];
|
|
3516
|
+
|
|
3517
|
+
var isIE = /MSIE|Trident/.test(navigator.userAgent);
|
|
3518
|
+
try {
|
|
3519
|
+
var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
|
|
3520
|
+
];
|
|
3521
|
+
// 会话/持久Cookie设置
|
|
3522
|
+
if (!isSession) {
|
|
3523
|
+
if (isIE) {
|
|
3524
|
+
// IE使用expires
|
|
3525
|
+
var date = new Date();
|
|
3526
|
+
date.setTime(date.getTime() + (time || 7 * 24 * 60 * 60 * 1000));
|
|
3527
|
+
cookieParts.push('expires=' + date.toUTCString());
|
|
3528
|
+
} else {
|
|
3529
|
+
// 其他浏览器使用max-age
|
|
3530
|
+
cookieParts.push('max-age=' + (time || 7 * 24 * 60 * 60));
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
// 内核兼容处理
|
|
3534
|
+
if (isIE) {
|
|
3535
|
+
// IE特殊处理:添加P3P协议头
|
|
3536
|
+
cookieParts.push('P3P=CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"');
|
|
3537
|
+
} else {
|
|
3538
|
+
// 现代浏览器设置
|
|
3539
|
+
cookieParts.push('samesite=lax');
|
|
3540
|
+
if (window.location.protocol === 'https:') {
|
|
3541
|
+
cookieParts.push('secure');
|
|
3542
|
+
}
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
// 设置Cookie
|
|
3546
|
+
document.cookie = cookieParts.join('; ');
|
|
3547
|
+
return true;
|
|
3548
|
+
} catch (e) {
|
|
3549
|
+
console.error('Cookie设置失败:', e);
|
|
3550
|
+
return false;
|
|
3551
|
+
}
|
|
3511
3552
|
};
|
|
3512
3553
|
|
|
3513
3554
|
/**
|
package/lib/wxlogin.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
|
@@ -3450,6 +3451,9 @@ var getStorage = function getStorage(key) {
|
|
|
3450
3451
|
if (key === 'host' && !res) {
|
|
3451
3452
|
return win.location.origin;
|
|
3452
3453
|
}
|
|
3454
|
+
if (!res && key === 'token') {
|
|
3455
|
+
res = getCookie('token');
|
|
3456
|
+
}
|
|
3453
3457
|
return res;
|
|
3454
3458
|
}
|
|
3455
3459
|
var defaults = {};
|
|
@@ -3503,11 +3507,48 @@ var removeStorage = function removeStorage(key) {
|
|
|
3503
3507
|
* @desc 设置cookie
|
|
3504
3508
|
* @author huangbo
|
|
3505
3509
|
* @param {string} [name] cookie名称
|
|
3506
|
-
* @
|
|
3510
|
+
* @param {string} [value] cookie值
|
|
3511
|
+
* @param {boolean} [isSession] 是否是会话cookie
|
|
3507
3512
|
**/
|
|
3508
3513
|
var setCookie = function setCookie(name, value) {
|
|
3509
|
-
|
|
3510
|
-
|
|
3514
|
+
var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
3515
|
+
var time = arguments[3];
|
|
3516
|
+
|
|
3517
|
+
var isIE = /MSIE|Trident/.test(navigator.userAgent);
|
|
3518
|
+
try {
|
|
3519
|
+
var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
|
|
3520
|
+
];
|
|
3521
|
+
// 会话/持久Cookie设置
|
|
3522
|
+
if (!isSession) {
|
|
3523
|
+
if (isIE) {
|
|
3524
|
+
// IE使用expires
|
|
3525
|
+
var date = new Date();
|
|
3526
|
+
date.setTime(date.getTime() + (time || 7 * 24 * 60 * 60 * 1000));
|
|
3527
|
+
cookieParts.push('expires=' + date.toUTCString());
|
|
3528
|
+
} else {
|
|
3529
|
+
// 其他浏览器使用max-age
|
|
3530
|
+
cookieParts.push('max-age=' + (time || 7 * 24 * 60 * 60));
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
// 内核兼容处理
|
|
3534
|
+
if (isIE) {
|
|
3535
|
+
// IE特殊处理:添加P3P协议头
|
|
3536
|
+
cookieParts.push('P3P=CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"');
|
|
3537
|
+
} else {
|
|
3538
|
+
// 现代浏览器设置
|
|
3539
|
+
cookieParts.push('samesite=lax');
|
|
3540
|
+
if (window.location.protocol === 'https:') {
|
|
3541
|
+
cookieParts.push('secure');
|
|
3542
|
+
}
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
// 设置Cookie
|
|
3546
|
+
document.cookie = cookieParts.join('; ');
|
|
3547
|
+
return true;
|
|
3548
|
+
} catch (e) {
|
|
3549
|
+
console.error('Cookie设置失败:', e);
|
|
3550
|
+
return false;
|
|
3551
|
+
}
|
|
3511
3552
|
};
|
|
3512
3553
|
|
|
3513
3554
|
/**
|
package/package.json
CHANGED
|
@@ -1,160 +1,160 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "eoss-ui",
|
|
3
|
-
"version": "0.7.
|
|
4
|
-
"description": "eoss内部业务组件",
|
|
5
|
-
"main": "lib/eoss-ui.common.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"lib",
|
|
8
|
-
"src",
|
|
9
|
-
"packages",
|
|
10
|
-
"types"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"bootstrap": "yarn || npm i",
|
|
14
|
-
"build:file": "node build/bin/iconInit.js & node build/bin/build-entry.js",
|
|
15
|
-
"build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-chalk/gulpfile.js && cp-cli packages/theme-chalk/lib lib/theme-chalk",
|
|
16
|
-
"build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
|
|
17
|
-
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage",
|
|
18
|
-
"deploy:build": "npm run build:file && cross-env NODE_ENV=production webpack --config build/webpack.demo.js",
|
|
19
|
-
"deploy:extension": "cross-env NODE_ENV=production webpack --config build/webpack.extension.js",
|
|
20
|
-
"dev:extension": "rimraf examples/extension/dist && cross-env NODE_ENV=development webpack --watch --config build/webpack.extension.js",
|
|
21
|
-
"dev": "npm run bootstrap && npm run build:file && cross-env NODE_ENV=development webpack-dev-server --config build/webpack.demo.js & node build/bin/template.js",
|
|
22
|
-
"dev:play": "npm run build:file && cross-env NODE_ENV=development PLAY_ENV=true webpack-dev-server --config build/webpack.demo.js",
|
|
23
|
-
"dist": "npm run clean && npm run build:file && npm run lint && webpack --config build/webpack.conf.js && webpack --config build/webpack.common.js && webpack --config build/webpack.component.js && npm run build:utils && npm run build:theme",
|
|
24
|
-
"lint": "eslint src/**/* test/**/* packages/**/* build/**/* --quiet",
|
|
25
|
-
"pub": "npm run bootstrap && sh build/git-release.sh && sh build/release.sh && node build/bin/gen-indices.js && sh build/deploy-faas.sh",
|
|
26
|
-
"test": "npm run lint && npm run build:theme && cross-env CI_ENV=/dev/ BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
|
|
27
|
-
"test:watch": "npm run build:theme && cross-env BABEL_ENV=test karma start test/unit/karma.conf.js"
|
|
28
|
-
},
|
|
29
|
-
"faas": [
|
|
30
|
-
{
|
|
31
|
-
"domain": "eoss",
|
|
32
|
-
"public": "temp_web/eoss"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"domain": "eoss-theme",
|
|
36
|
-
"public": "examples/eoss-ui",
|
|
37
|
-
"build": [
|
|
38
|
-
"yarn",
|
|
39
|
-
"npm run deploy:build"
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"repository": {
|
|
44
|
-
"type": "git",
|
|
45
|
-
"url": "git@http://git.wisesoft.net.cn/eoss-ui/eoss-ui.git"
|
|
46
|
-
},
|
|
47
|
-
"keywords": [
|
|
48
|
-
"eoss",
|
|
49
|
-
"vue",
|
|
50
|
-
"components"
|
|
51
|
-
],
|
|
52
|
-
"license": "MIT",
|
|
53
|
-
"unpkg": "lib/index.js",
|
|
54
|
-
"style": "lib/theme-chalk/index.css",
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"@interactjs/feedback": "^1.10.3",
|
|
57
|
-
"axios": "^0.27.2",
|
|
58
|
-
"interactjs": "^1.10.26",
|
|
59
|
-
"js-base64": "^3.7.5",
|
|
60
|
-
"json-bigint": "^1.0.0",
|
|
61
|
-
"lodash": "^4.17.21",
|
|
62
|
-
"net": "^1.0.2",
|
|
63
|
-
"qrcode": "1.5.3",
|
|
64
|
-
"qs": "^6.11.2",
|
|
65
|
-
"runtime-import": "^2.2.1",
|
|
66
|
-
"slate": "^0.100.0",
|
|
67
|
-
"slate-history": "^0.100.0",
|
|
68
|
-
"sm-crypto": "^0.3.11",
|
|
69
|
-
"sockjs-client": "^1.6.1",
|
|
70
|
-
"stompjs": "^2.3.3",
|
|
71
|
-
"throttle-debounce": "^5.0.2",
|
|
72
|
-
"ua-parser-js": "^2.0.3",
|
|
73
|
-
"video.js": "^8.0.4",
|
|
74
|
-
"wujie-vue2": "^1.0.29"
|
|
75
|
-
},
|
|
76
|
-
"peerDependencies": {
|
|
77
|
-
"vue": "^2.5.22"
|
|
78
|
-
},
|
|
79
|
-
"devDependencies": {
|
|
80
|
-
"@vue/component-compiler-utils": "^3.3.0",
|
|
81
|
-
"algoliasearch": "^3.24.5",
|
|
82
|
-
"babel-cli": "^6.26.0",
|
|
83
|
-
"babel-core": "^6.26.3",
|
|
84
|
-
"babel-loader": "^7.1.5",
|
|
85
|
-
"babel-plugin-add-module-exports": "^0.2.1",
|
|
86
|
-
"babel-plugin-istanbul": "^4.1.1",
|
|
87
|
-
"babel-plugin-module-resolver": "^2.2.0",
|
|
88
|
-
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
89
|
-
"babel-plugin-transform-remove-strict-mode": "^0.0.2",
|
|
90
|
-
"babel-plugin-transform-runtime": "^6.23.0",
|
|
91
|
-
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
|
92
|
-
"babel-preset-env": "^1.7.0",
|
|
93
|
-
"babel-preset-stage-2": "^6.24.1",
|
|
94
|
-
"babel-regenerator-runtime": "^6.5.0",
|
|
95
|
-
"chai": "^4.2.0",
|
|
96
|
-
"chokidar": "^1.7.0",
|
|
97
|
-
"copy-webpack-plugin": "^5.0.0",
|
|
98
|
-
"coveralls": "^3.0.3",
|
|
99
|
-
"cp-cli": "^1.0.2",
|
|
100
|
-
"cross-env": "^3.1.3",
|
|
101
|
-
"css-loader": "^2.1.0",
|
|
102
|
-
"eoss-element": "^0.3.
|
|
103
|
-
"es6-promise": "^4.0.5",
|
|
104
|
-
"eslint": "4.18.2",
|
|
105
|
-
"eslint-config-elemefe": "0.1.1",
|
|
106
|
-
"eslint-config-prettier": "^8.5.0",
|
|
107
|
-
"eslint-loader": "^2.0.0",
|
|
108
|
-
"eslint-plugin-html": "^4.0.1",
|
|
109
|
-
"eslint-plugin-json": "^1.2.0",
|
|
110
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
111
|
-
"eslint-plugin-vue": "^7.14.0",
|
|
112
|
-
"file-loader": "^1.1.11",
|
|
113
|
-
"file-save": "^0.2.0",
|
|
114
|
-
"gulp": "^4.0.0",
|
|
115
|
-
"gulp-autoprefixer": "^6.0.0",
|
|
116
|
-
"gulp-cssmin": "^0.2.0",
|
|
117
|
-
"gulp-sass": "^4.0.2",
|
|
118
|
-
"highlight.js": "^11.9.0",
|
|
119
|
-
"html-webpack-plugin": "^3.2.0",
|
|
120
|
-
"json-loader": "^0.5.7",
|
|
121
|
-
"json-templater": "^1.0.4",
|
|
122
|
-
"karma": "^4.0.1",
|
|
123
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
124
|
-
"karma-coverage": "^1.1.2",
|
|
125
|
-
"karma-mocha": "^1.3.0",
|
|
126
|
-
"karma-sinon-chai": "^2.0.2",
|
|
127
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
128
|
-
"karma-spec-reporter": "^0.0.32",
|
|
129
|
-
"karma-webpack": "^3.0.5",
|
|
130
|
-
"markdown-it": "^8.4.1",
|
|
131
|
-
"markdown-it-anchor": "^5.0.2",
|
|
132
|
-
"markdown-it-chain": "^1.3.0",
|
|
133
|
-
"markdown-it-container": "^2.0.0",
|
|
134
|
-
"mini-css-extract-plugin": "^0.4.1",
|
|
135
|
-
"mocha": "^6.0.2",
|
|
136
|
-
"node-sass": "^4.11.0",
|
|
137
|
-
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
|
138
|
-
"postcss": "^7.0.14",
|
|
139
|
-
"progress-bar-webpack-plugin": "^1.11.0",
|
|
140
|
-
"rimraf": "^2.5.4",
|
|
141
|
-
"sass-loader": "^7.1.0",
|
|
142
|
-
"select-version-cli": "^0.0.2",
|
|
143
|
-
"sinon": "^7.2.7",
|
|
144
|
-
"sinon-chai": "^3.3.0",
|
|
145
|
-
"style-loader": "^0.23.1",
|
|
146
|
-
"transliteration": "^1.1.11",
|
|
147
|
-
"uglifyjs-webpack-plugin": "1",
|
|
148
|
-
"uppercamelcase": "^1.1.0",
|
|
149
|
-
"url-loader": "^1.0.1",
|
|
150
|
-
"vue": "2.5.22",
|
|
151
|
-
"vue-loader": "15.10.2",
|
|
152
|
-
"vue-router": "^3.6.4",
|
|
153
|
-
"vue-template-compiler": "2.5.22",
|
|
154
|
-
"vue-template-es2015-compiler": "^1.6.0",
|
|
155
|
-
"webpack": "^4.14.0",
|
|
156
|
-
"webpack-cli": "^3.0.8",
|
|
157
|
-
"webpack-dev-server": "^3.1.11",
|
|
158
|
-
"webpack-node-externals": "^1.7.2"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "eoss-ui",
|
|
3
|
+
"version": "0.7.24",
|
|
4
|
+
"description": "eoss内部业务组件",
|
|
5
|
+
"main": "lib/eoss-ui.common.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"lib",
|
|
8
|
+
"src",
|
|
9
|
+
"packages",
|
|
10
|
+
"types"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"bootstrap": "yarn || npm i",
|
|
14
|
+
"build:file": "node build/bin/iconInit.js & node build/bin/build-entry.js",
|
|
15
|
+
"build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-chalk/gulpfile.js && cp-cli packages/theme-chalk/lib lib/theme-chalk",
|
|
16
|
+
"build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
|
|
17
|
+
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage",
|
|
18
|
+
"deploy:build": "npm run build:file && cross-env NODE_ENV=production webpack --config build/webpack.demo.js",
|
|
19
|
+
"deploy:extension": "cross-env NODE_ENV=production webpack --config build/webpack.extension.js",
|
|
20
|
+
"dev:extension": "rimraf examples/extension/dist && cross-env NODE_ENV=development webpack --watch --config build/webpack.extension.js",
|
|
21
|
+
"dev": "npm run bootstrap && npm run build:file && cross-env NODE_ENV=development webpack-dev-server --config build/webpack.demo.js & node build/bin/template.js",
|
|
22
|
+
"dev:play": "npm run build:file && cross-env NODE_ENV=development PLAY_ENV=true webpack-dev-server --config build/webpack.demo.js",
|
|
23
|
+
"dist": "npm run clean && npm run build:file && npm run lint && webpack --config build/webpack.conf.js && webpack --config build/webpack.common.js && webpack --config build/webpack.component.js && npm run build:utils && npm run build:theme",
|
|
24
|
+
"lint": "eslint src/**/* test/**/* packages/**/* build/**/* --quiet",
|
|
25
|
+
"pub": "npm run bootstrap && sh build/git-release.sh && sh build/release.sh && node build/bin/gen-indices.js && sh build/deploy-faas.sh",
|
|
26
|
+
"test": "npm run lint && npm run build:theme && cross-env CI_ENV=/dev/ BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
|
|
27
|
+
"test:watch": "npm run build:theme && cross-env BABEL_ENV=test karma start test/unit/karma.conf.js"
|
|
28
|
+
},
|
|
29
|
+
"faas": [
|
|
30
|
+
{
|
|
31
|
+
"domain": "eoss",
|
|
32
|
+
"public": "temp_web/eoss"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"domain": "eoss-theme",
|
|
36
|
+
"public": "examples/eoss-ui",
|
|
37
|
+
"build": [
|
|
38
|
+
"yarn",
|
|
39
|
+
"npm run deploy:build"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "git@http://git.wisesoft.net.cn/eoss-ui/eoss-ui.git"
|
|
46
|
+
},
|
|
47
|
+
"keywords": [
|
|
48
|
+
"eoss",
|
|
49
|
+
"vue",
|
|
50
|
+
"components"
|
|
51
|
+
],
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"unpkg": "lib/index.js",
|
|
54
|
+
"style": "lib/theme-chalk/index.css",
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@interactjs/feedback": "^1.10.3",
|
|
57
|
+
"axios": "^0.27.2",
|
|
58
|
+
"interactjs": "^1.10.26",
|
|
59
|
+
"js-base64": "^3.7.5",
|
|
60
|
+
"json-bigint": "^1.0.0",
|
|
61
|
+
"lodash": "^4.17.21",
|
|
62
|
+
"net": "^1.0.2",
|
|
63
|
+
"qrcode": "1.5.3",
|
|
64
|
+
"qs": "^6.11.2",
|
|
65
|
+
"runtime-import": "^2.2.1",
|
|
66
|
+
"slate": "^0.100.0",
|
|
67
|
+
"slate-history": "^0.100.0",
|
|
68
|
+
"sm-crypto": "^0.3.11",
|
|
69
|
+
"sockjs-client": "^1.6.1",
|
|
70
|
+
"stompjs": "^2.3.3",
|
|
71
|
+
"throttle-debounce": "^5.0.2",
|
|
72
|
+
"ua-parser-js": "^2.0.3",
|
|
73
|
+
"video.js": "^8.0.4",
|
|
74
|
+
"wujie-vue2": "^1.0.29"
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"vue": "^2.5.22"
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@vue/component-compiler-utils": "^3.3.0",
|
|
81
|
+
"algoliasearch": "^3.24.5",
|
|
82
|
+
"babel-cli": "^6.26.0",
|
|
83
|
+
"babel-core": "^6.26.3",
|
|
84
|
+
"babel-loader": "^7.1.5",
|
|
85
|
+
"babel-plugin-add-module-exports": "^0.2.1",
|
|
86
|
+
"babel-plugin-istanbul": "^4.1.1",
|
|
87
|
+
"babel-plugin-module-resolver": "^2.2.0",
|
|
88
|
+
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
89
|
+
"babel-plugin-transform-remove-strict-mode": "^0.0.2",
|
|
90
|
+
"babel-plugin-transform-runtime": "^6.23.0",
|
|
91
|
+
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
|
92
|
+
"babel-preset-env": "^1.7.0",
|
|
93
|
+
"babel-preset-stage-2": "^6.24.1",
|
|
94
|
+
"babel-regenerator-runtime": "^6.5.0",
|
|
95
|
+
"chai": "^4.2.0",
|
|
96
|
+
"chokidar": "^1.7.0",
|
|
97
|
+
"copy-webpack-plugin": "^5.0.0",
|
|
98
|
+
"coveralls": "^3.0.3",
|
|
99
|
+
"cp-cli": "^1.0.2",
|
|
100
|
+
"cross-env": "^3.1.3",
|
|
101
|
+
"css-loader": "^2.1.0",
|
|
102
|
+
"eoss-element": "^0.3.61",
|
|
103
|
+
"es6-promise": "^4.0.5",
|
|
104
|
+
"eslint": "4.18.2",
|
|
105
|
+
"eslint-config-elemefe": "0.1.1",
|
|
106
|
+
"eslint-config-prettier": "^8.5.0",
|
|
107
|
+
"eslint-loader": "^2.0.0",
|
|
108
|
+
"eslint-plugin-html": "^4.0.1",
|
|
109
|
+
"eslint-plugin-json": "^1.2.0",
|
|
110
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
111
|
+
"eslint-plugin-vue": "^7.14.0",
|
|
112
|
+
"file-loader": "^1.1.11",
|
|
113
|
+
"file-save": "^0.2.0",
|
|
114
|
+
"gulp": "^4.0.0",
|
|
115
|
+
"gulp-autoprefixer": "^6.0.0",
|
|
116
|
+
"gulp-cssmin": "^0.2.0",
|
|
117
|
+
"gulp-sass": "^4.0.2",
|
|
118
|
+
"highlight.js": "^11.9.0",
|
|
119
|
+
"html-webpack-plugin": "^3.2.0",
|
|
120
|
+
"json-loader": "^0.5.7",
|
|
121
|
+
"json-templater": "^1.0.4",
|
|
122
|
+
"karma": "^4.0.1",
|
|
123
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
124
|
+
"karma-coverage": "^1.1.2",
|
|
125
|
+
"karma-mocha": "^1.3.0",
|
|
126
|
+
"karma-sinon-chai": "^2.0.2",
|
|
127
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
128
|
+
"karma-spec-reporter": "^0.0.32",
|
|
129
|
+
"karma-webpack": "^3.0.5",
|
|
130
|
+
"markdown-it": "^8.4.1",
|
|
131
|
+
"markdown-it-anchor": "^5.0.2",
|
|
132
|
+
"markdown-it-chain": "^1.3.0",
|
|
133
|
+
"markdown-it-container": "^2.0.0",
|
|
134
|
+
"mini-css-extract-plugin": "^0.4.1",
|
|
135
|
+
"mocha": "^6.0.2",
|
|
136
|
+
"node-sass": "^4.11.0",
|
|
137
|
+
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
|
138
|
+
"postcss": "^7.0.14",
|
|
139
|
+
"progress-bar-webpack-plugin": "^1.11.0",
|
|
140
|
+
"rimraf": "^2.5.4",
|
|
141
|
+
"sass-loader": "^7.1.0",
|
|
142
|
+
"select-version-cli": "^0.0.2",
|
|
143
|
+
"sinon": "^7.2.7",
|
|
144
|
+
"sinon-chai": "^3.3.0",
|
|
145
|
+
"style-loader": "^0.23.1",
|
|
146
|
+
"transliteration": "^1.1.11",
|
|
147
|
+
"uglifyjs-webpack-plugin": "1",
|
|
148
|
+
"uppercamelcase": "^1.1.0",
|
|
149
|
+
"url-loader": "^1.0.1",
|
|
150
|
+
"vue": "2.5.22",
|
|
151
|
+
"vue-loader": "15.10.2",
|
|
152
|
+
"vue-router": "^3.6.4",
|
|
153
|
+
"vue-template-compiler": "2.5.22",
|
|
154
|
+
"vue-template-es2015-compiler": "^1.6.0",
|
|
155
|
+
"webpack": "^4.14.0",
|
|
156
|
+
"webpack-cli": "^3.0.8",
|
|
157
|
+
"webpack-dev-server": "^3.1.11",
|
|
158
|
+
"webpack-node-externals": "^1.7.2"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
Binary file
|