eoss-ui 0.5.97 → 0.5.98
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 +6 -2
- package/lib/button.js +6 -2
- package/lib/checkbox-group.js +6 -2
- package/lib/data-table-form.js +6 -2
- package/lib/data-table.js +28 -16
- package/lib/date-picker.js +6 -2
- package/lib/dialog.js +6 -2
- package/lib/eoss-ui.common.js +281 -209
- package/lib/flow-group.js +6 -2
- package/lib/flow-list.js +6 -2
- package/lib/flow.js +6 -2
- package/lib/form.js +6 -2
- package/lib/handle-user.js +6 -2
- package/lib/handler.js +17 -9
- package/lib/icon.js +6 -2
- package/lib/icons.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +6 -2
- package/lib/input.js +6 -2
- package/lib/login.js +9 -5
- package/lib/main.js +223 -163
- package/lib/nav.js +6 -2
- package/lib/page.js +6 -2
- package/lib/pagination.js +6 -2
- package/lib/player.js +6 -2
- package/lib/qr-code.js +6 -2
- package/lib/radio-group.js +6 -2
- package/lib/retrial-auth.js +6 -2
- package/lib/select-ganged.js +6 -2
- package/lib/select.js +6 -2
- package/lib/selector-panel.js +6 -2
- package/lib/selector.js +6 -2
- package/lib/sizer.js +6 -2
- package/lib/steps.js +6 -2
- package/lib/switch.js +6 -2
- package/lib/table-form.js +6 -2
- package/lib/tabs.js +6 -2
- 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 +6 -2
- package/lib/tree-group.js +6 -2
- package/lib/tree.js +6 -2
- package/lib/upload.js +6 -2
- package/lib/utils/util.js +6 -2
- package/lib/wujie.js +6 -2
- package/lib/wxlogin.js +6 -2
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/data-table/src/main.vue +18 -12
- package/packages/handler/.DS_Store +0 -0
- package/packages/handler/src/main.vue +11 -6
- package/packages/icons/src/icon.json +1 -1
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +1 -1
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +19 -3
- package/packages/main/src/default/settings.vue +2 -2
- package/packages/main/src/main.vue +22 -3
- package/packages/main/src/simplicity/handler.vue +32 -28
- package/packages/main/src/simplicity/index.vue +46 -39
- 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/mixins/util.scss +0 -0
- package/packages/theme-chalk/src/simplicity.scss +160 -0
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +6 -2
package/lib/input-number.js
CHANGED
|
@@ -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');
|
package/lib/input.js
CHANGED
|
@@ -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');
|
package/lib/login.js
CHANGED
|
@@ -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');
|
|
@@ -4008,7 +4012,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
|
|
|
4008
4012
|
// ESM COMPAT FLAG
|
|
4009
4013
|
__webpack_require__.r(__webpack_exports__);
|
|
4010
4014
|
|
|
4011
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=
|
|
4015
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=8a13e62e&
|
|
4012
4016
|
var render = function () {
|
|
4013
4017
|
var _vm = this
|
|
4014
4018
|
var _h = _vm.$createElement
|
|
@@ -5000,7 +5004,7 @@ var staticRenderFns = []
|
|
|
5000
5004
|
render._withStripped = true
|
|
5001
5005
|
|
|
5002
5006
|
|
|
5003
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
5007
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=8a13e62e&
|
|
5004
5008
|
|
|
5005
5009
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
5006
5010
|
var regenerator_ = __webpack_require__(13);
|
|
@@ -6434,7 +6438,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
|
|
|
6434
6438
|
if (ceshi == 'true' || ceshi == true) {
|
|
6435
6439
|
this.loginModel = '0';
|
|
6436
6440
|
}
|
|
6437
|
-
if (this.isScale) {
|
|
6441
|
+
if (this.isScale || util["a" /* default */].getParams('scale')) {
|
|
6438
6442
|
util["a" /* default */].setScale();
|
|
6439
6443
|
window.addEventListener('resize', this.setScale);
|
|
6440
6444
|
}
|