eoss-ui 0.5.97 → 0.5.99
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 +8 -4
- package/lib/button.js +8 -4
- package/lib/calendar.js +2 -2
- package/lib/card.js +2 -2
- package/lib/cascader.js +2 -2
- package/lib/checkbox-group.js +9 -4
- package/lib/clients.js +2 -2
- package/lib/data-table-form.js +9 -4
- package/lib/data-table.js +31 -18
- package/lib/date-picker.js +8 -4
- package/lib/dialog.js +12 -7
- package/lib/enterprise.js +2 -2
- package/lib/eoss-ui.common.js +767 -797
- package/lib/error-page.js +2 -2
- package/lib/flow-group.js +8 -4
- package/lib/flow-list.js +8 -4
- package/lib/flow.js +9 -4
- package/lib/form.js +9 -4
- package/lib/handle-user.js +8 -4
- package/lib/handler.js +22 -18
- package/lib/icon.js +8 -4
- package/lib/icons.js +3 -3
- package/lib/index.js +1 -1
- package/lib/input-number.js +8 -4
- package/lib/input.js +8 -4
- package/lib/label.js +2 -2
- package/lib/layout.js +2 -2
- package/lib/login.js +13 -7
- package/lib/main.js +2720 -2759
- package/lib/menu.js +2 -2
- package/lib/nav.js +8 -4
- package/lib/notify.js +2 -2
- package/lib/page.js +8 -4
- package/lib/pagination.js +8 -4
- package/lib/player.js +10 -6
- package/lib/qr-code.js +10 -6
- package/lib/radio-group.js +8 -4
- package/lib/retrial-auth.js +15 -11
- package/lib/select-ganged.js +15 -11
- package/lib/select.js +8 -4
- package/lib/selector-panel.js +9 -4
- package/lib/selector.js +8 -4
- package/lib/sizer.js +8 -4
- package/lib/steps.js +8 -4
- package/lib/switch.js +8 -4
- package/lib/table-form.js +8 -4
- package/lib/tabs-panel.js +2 -2
- package/lib/tabs.js +8 -4
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +8 -4
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +8 -4
- package/lib/tree.js +8 -4
- package/lib/upload.js +9 -4
- package/lib/utils/util.js +6 -2
- package/lib/wujie.js +151 -147
- package/lib/wxlogin.js +8 -4
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/data-table/src/main.vue +18 -12
- package/packages/dialog/src/main.vue +1 -1
- package/packages/handler/.DS_Store +0 -0
- package/packages/handler/src/main.vue +6 -6
- package/packages/icons/src/icon.json +1 -1
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +2 -1
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +34 -12
- package/packages/main/src/main.vue +28 -3
- package/packages/main/src/{default → public}/settings.vue +53 -21
- package/packages/main/src/simplicity/handler.vue +21 -28
- package/packages/main/src/simplicity/index.vue +132 -114
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/icon.scss +8 -0
- package/packages/theme-chalk/src/main.scss +16 -0
- package/packages/theme-chalk/src/mixins/util.scss +0 -0
- package/packages/theme-chalk/src/simplicity.scss +197 -0
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +6 -2
- package/packages/main/src/simplicity/settings.vue +0 -119
package/lib/button-group.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 38);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2175
2175
|
next && next();
|
|
2176
2176
|
} else {
|
|
2177
2177
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2178
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2178
2179
|
ajax({
|
|
2179
2180
|
method: 'post',
|
|
2180
2181
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2273
2274
|
}
|
|
2274
2275
|
});
|
|
2275
2276
|
}
|
|
2276
|
-
|
|
2277
|
+
loadingInstance.close();
|
|
2278
|
+
}).catch(function (e) {
|
|
2279
|
+
loadingInstance.close();
|
|
2280
|
+
});
|
|
2277
2281
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2278
2282
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2279
2283
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
|
|
|
2676
2680
|
} else {
|
|
2677
2681
|
n = 1;
|
|
2678
2682
|
}
|
|
2679
|
-
if (zoom === 1) {
|
|
2683
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2680
2684
|
document.body.style.removeProperty('transform');
|
|
2681
2685
|
document.body.style.removeProperty('width');
|
|
2682
2686
|
document.body.style.removeProperty('height');
|
|
@@ -3743,7 +3747,7 @@ function normalizeComponent(
|
|
|
3743
3747
|
|
|
3744
3748
|
/***/ }),
|
|
3745
3749
|
|
|
3746
|
-
/***/
|
|
3750
|
+
/***/ 38:
|
|
3747
3751
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3748
3752
|
|
|
3749
3753
|
"use strict";
|
package/lib/button.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 72);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2175
2175
|
next && next();
|
|
2176
2176
|
} else {
|
|
2177
2177
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2178
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2178
2179
|
ajax({
|
|
2179
2180
|
method: 'post',
|
|
2180
2181
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2273
2274
|
}
|
|
2274
2275
|
});
|
|
2275
2276
|
}
|
|
2276
|
-
|
|
2277
|
+
loadingInstance.close();
|
|
2278
|
+
}).catch(function (e) {
|
|
2279
|
+
loadingInstance.close();
|
|
2280
|
+
});
|
|
2277
2281
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2278
2282
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2279
2283
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
|
|
|
2676
2680
|
} else {
|
|
2677
2681
|
n = 1;
|
|
2678
2682
|
}
|
|
2679
|
-
if (zoom === 1) {
|
|
2683
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2680
2684
|
document.body.style.removeProperty('transform');
|
|
2681
2685
|
document.body.style.removeProperty('width');
|
|
2682
2686
|
document.body.style.removeProperty('height');
|
|
@@ -3907,7 +3911,7 @@ var WebSocket = function () {
|
|
|
3907
3911
|
|
|
3908
3912
|
/***/ }),
|
|
3909
3913
|
|
|
3910
|
-
/***/
|
|
3914
|
+
/***/ 72:
|
|
3911
3915
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3912
3916
|
|
|
3913
3917
|
"use strict";
|
package/lib/calendar.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 39);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 39:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/card.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 40);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 40:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/cascader.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 73:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/checkbox-group.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 41);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|
|
@@ -3984,7 +3988,8 @@ module.exports = require("vue");
|
|
|
3984
3988
|
/* 37 */,
|
|
3985
3989
|
/* 38 */,
|
|
3986
3990
|
/* 39 */,
|
|
3987
|
-
/* 40
|
|
3991
|
+
/* 40 */,
|
|
3992
|
+
/* 41 */
|
|
3988
3993
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3989
3994
|
|
|
3990
3995
|
"use strict";
|
package/lib/clients.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 42);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 42:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/data-table-form.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 32);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|
|
@@ -3955,7 +3959,8 @@ window.__store = store;
|
|
|
3955
3959
|
/* 28 */,
|
|
3956
3960
|
/* 29 */,
|
|
3957
3961
|
/* 30 */,
|
|
3958
|
-
/* 31
|
|
3962
|
+
/* 31 */,
|
|
3963
|
+
/* 32 */
|
|
3959
3964
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3960
3965
|
|
|
3961
3966
|
"use strict";
|
package/lib/data-table.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 33);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|
|
@@ -3955,15 +3959,16 @@ module.exports = require("vue");
|
|
|
3955
3959
|
/* 29 */,
|
|
3956
3960
|
/* 30 */,
|
|
3957
3961
|
/* 31 */,
|
|
3958
|
-
/* 32
|
|
3962
|
+
/* 32 */,
|
|
3963
|
+
/* 33 */
|
|
3959
3964
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3960
3965
|
|
|
3961
3966
|
"use strict";
|
|
3962
3967
|
// ESM COMPAT FLAG
|
|
3963
3968
|
__webpack_require__.r(__webpack_exports__);
|
|
3964
3969
|
|
|
3965
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=
|
|
3966
|
-
var
|
|
3970
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=260d7f48&
|
|
3971
|
+
var mainvue_type_template_id_260d7f48_render = function () {
|
|
3967
3972
|
var _vm = this
|
|
3968
3973
|
var _h = _vm.$createElement
|
|
3969
3974
|
var _c = _vm._self._c || _h
|
|
@@ -4362,10 +4367,10 @@ var mainvue_type_template_id_24d19c7c_render = function () {
|
|
|
4362
4367
|
)
|
|
4363
4368
|
}
|
|
4364
4369
|
var staticRenderFns = []
|
|
4365
|
-
|
|
4370
|
+
mainvue_type_template_id_260d7f48_render._withStripped = true
|
|
4366
4371
|
|
|
4367
4372
|
|
|
4368
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
4373
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=260d7f48&
|
|
4369
4374
|
|
|
4370
4375
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
4371
4376
|
var api = __webpack_require__(1);
|
|
@@ -6994,9 +6999,13 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
6994
6999
|
default: true
|
|
6995
7000
|
},
|
|
6996
7001
|
index: {
|
|
6997
|
-
type: [
|
|
7002
|
+
type: [Number, Function],
|
|
6998
7003
|
default: 1
|
|
6999
7004
|
},
|
|
7005
|
+
accumulated: {
|
|
7006
|
+
type: Boolean,
|
|
7007
|
+
default: true
|
|
7008
|
+
},
|
|
7000
7009
|
immediate: {
|
|
7001
7010
|
type: Boolean,
|
|
7002
7011
|
default: true
|
|
@@ -7124,14 +7133,18 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
7124
7133
|
}
|
|
7125
7134
|
if (this.numbers && !types.includes('index')) {
|
|
7126
7135
|
var index = 1;
|
|
7127
|
-
if (this.
|
|
7128
|
-
index =
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7136
|
+
if (typeof this.index === 'function') {
|
|
7137
|
+
index = this.index;
|
|
7138
|
+
} else {
|
|
7139
|
+
if (this.orders == 'desc') {
|
|
7140
|
+
index = function index(num) {
|
|
7141
|
+
return _this.config.totalCount - num;
|
|
7142
|
+
};
|
|
7143
|
+
} else if (this.accumulated) {
|
|
7144
|
+
index = (this.config.pageNum - 1) * this.config.pageSize + this.index;
|
|
7145
|
+
} else {
|
|
7146
|
+
index = this.index;
|
|
7147
|
+
}
|
|
7135
7148
|
}
|
|
7136
7149
|
thead.push({
|
|
7137
7150
|
type: 'index',
|
|
@@ -8217,7 +8230,7 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
8217
8230
|
|
|
8218
8231
|
var main_component = Object(componentNormalizer["a" /* default */])(
|
|
8219
8232
|
src_mainvue_type_script_lang_js_,
|
|
8220
|
-
|
|
8233
|
+
mainvue_type_template_id_260d7f48_render,
|
|
8221
8234
|
staticRenderFns,
|
|
8222
8235
|
false,
|
|
8223
8236
|
null,
|
package/lib/date-picker.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 74);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2175
2175
|
next && next();
|
|
2176
2176
|
} else {
|
|
2177
2177
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2178
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2178
2179
|
ajax({
|
|
2179
2180
|
method: 'post',
|
|
2180
2181
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2273
2274
|
}
|
|
2274
2275
|
});
|
|
2275
2276
|
}
|
|
2276
|
-
|
|
2277
|
+
loadingInstance.close();
|
|
2278
|
+
}).catch(function (e) {
|
|
2279
|
+
loadingInstance.close();
|
|
2280
|
+
});
|
|
2277
2281
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2278
2282
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2279
2283
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
|
|
|
2676
2680
|
} else {
|
|
2677
2681
|
n = 1;
|
|
2678
2682
|
}
|
|
2679
|
-
if (zoom === 1) {
|
|
2683
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2680
2684
|
document.body.style.removeProperty('transform');
|
|
2681
2685
|
document.body.style.removeProperty('width');
|
|
2682
2686
|
document.body.style.removeProperty('height');
|
|
@@ -3907,7 +3911,7 @@ var WebSocket = function () {
|
|
|
3907
3911
|
|
|
3908
3912
|
/***/ }),
|
|
3909
3913
|
|
|
3910
|
-
/***/
|
|
3914
|
+
/***/ 74:
|
|
3911
3915
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3912
3916
|
|
|
3913
3917
|
"use strict";
|
package/lib/dialog.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 43);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|
|
@@ -3965,14 +3969,15 @@ module.exports = require("wujie-vue2");
|
|
|
3965
3969
|
/* 39 */,
|
|
3966
3970
|
/* 40 */,
|
|
3967
3971
|
/* 41 */,
|
|
3968
|
-
/* 42
|
|
3972
|
+
/* 42 */,
|
|
3973
|
+
/* 43 */
|
|
3969
3974
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3970
3975
|
|
|
3971
3976
|
"use strict";
|
|
3972
3977
|
// ESM COMPAT FLAG
|
|
3973
3978
|
__webpack_require__.r(__webpack_exports__);
|
|
3974
3979
|
|
|
3975
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=
|
|
3980
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=11ebf026&
|
|
3976
3981
|
var render = function () {
|
|
3977
3982
|
var _vm = this
|
|
3978
3983
|
var _h = _vm.$createElement
|
|
@@ -4491,7 +4496,7 @@ var staticRenderFns = []
|
|
|
4491
4496
|
render._withStripped = true
|
|
4492
4497
|
|
|
4493
4498
|
|
|
4494
|
-
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=
|
|
4499
|
+
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=11ebf026&
|
|
4495
4500
|
|
|
4496
4501
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
4497
4502
|
var regenerator_ = __webpack_require__(13);
|
|
@@ -4903,7 +4908,7 @@ var systemMode = util["a" /* default */].win.top.systemMode || util["a" /* defau
|
|
|
4903
4908
|
mini: { width: '800px', height: '400px' },
|
|
4904
4909
|
sm: { width: '960px', height: '500px' },
|
|
4905
4910
|
md: { width: '1060px', height: '600px' },
|
|
4906
|
-
lg: { width: '1200px', height: '800px' },
|
|
4911
|
+
lg: { width: '1200px', height: availHeight < 800 ? '560px' : '800px' },
|
|
4907
4912
|
max: { width: availWidth + 'px', height: availHeight + 'px' },
|
|
4908
4913
|
full: { width: '100%', height: '100%' }
|
|
4909
4914
|
},
|
package/lib/enterprise.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 44);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 44:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|