eoss-ui 0.5.13 → 0.5.15

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.
Files changed (69) hide show
  1. package/lib/button-group.js +5 -1
  2. package/lib/button.js +7 -3
  3. package/lib/cascader.js +2 -2
  4. package/lib/checkbox-group.js +44 -22
  5. package/lib/data-table-form.js +8 -3
  6. package/lib/data-table.js +1205 -1517
  7. package/lib/date-picker.js +7 -3
  8. package/lib/dialog.js +14 -10
  9. package/lib/eoss-ui.common.js +1211 -1752
  10. package/lib/flow-group.js +5 -1
  11. package/lib/flow-list.js +7 -3
  12. package/lib/flow.js +12 -7
  13. package/lib/form.js +9 -10
  14. package/lib/handle-user.js +5 -1
  15. package/lib/handler.js +5 -1
  16. package/lib/icons.js +2 -2
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +7 -3
  19. package/lib/input.js +7 -3
  20. package/lib/label.js +2 -2
  21. package/lib/layout.js +166 -152
  22. package/lib/login.js +5 -1
  23. package/lib/main.js +11 -6
  24. package/lib/menu.js +2 -2
  25. package/lib/nav.js +14 -10
  26. package/lib/notify.js +2 -2
  27. package/lib/page.js +7 -3
  28. package/lib/pagination.js +2 -2
  29. package/lib/player.js +13 -9
  30. package/lib/qr-code.js +9 -5
  31. package/lib/radio-group.js +48 -22
  32. package/lib/retrial-auth.js +7 -3
  33. package/lib/select-ganged.js +30 -6
  34. package/lib/select.js +46 -19
  35. package/lib/selector-panel.js +11 -6
  36. package/lib/selector.js +9 -5
  37. package/lib/sizer.js +7 -3
  38. package/lib/steps.js +14 -10
  39. package/lib/switch.js +7 -3
  40. package/lib/table-form.js +7 -3
  41. package/lib/tabs-panel.js +2 -2
  42. package/lib/tabs.js +7 -3
  43. package/lib/theme-chalk/data-table.css +1 -1
  44. package/lib/theme-chalk/index.css +1 -1
  45. package/lib/tips.js +7 -3
  46. package/lib/toolbar.js +2 -2
  47. package/lib/tree-group.js +7 -3
  48. package/lib/tree.js +7 -3
  49. package/lib/upload.js +8 -4
  50. package/lib/utils/util.js +5 -1
  51. package/lib/wujie.js +7 -3
  52. package/lib/wxlogin.js +7 -3
  53. package/package.json +2 -2
  54. package/packages/checkbox-group/src/main.vue +20 -30
  55. package/packages/data-table/src/children.vue +4 -8
  56. package/packages/data-table/src/column.vue +524 -575
  57. package/packages/data-table/src/main.vue +95 -119
  58. package/packages/form/src/main.vue +2 -7
  59. package/packages/radio-group/src/main.vue +20 -30
  60. package/packages/select/src/main.vue +20 -29
  61. package/packages/select-ganged/src/main.vue +1 -3
  62. package/packages/theme-chalk/lib/data-table.css +1 -1
  63. package/packages/theme-chalk/lib/index.css +1 -1
  64. package/packages/theme-chalk/src/data-table.scss +2 -1
  65. package/src/index.js +1 -1
  66. package/src/utils/util.js +5 -1
  67. package/packages/data-table/src/column copy.vue +0 -977
  68. package/packages/data-table/src/main copy.vue +0 -1325
  69. package/packages/data-table/src/mixins/table.js +0 -12
package/lib/steps.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 = 59);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 60);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -1966,7 +1966,11 @@ var isLogined = function isLogined(_ref8) {
1966
1966
  // const logined = getStorage('logined');
1967
1967
  // eslint-disable-next-line eqeqeq
1968
1968
  if (token || cookie == true || cookie == 1) {
1969
- next && next();
1969
+ if (to.path === '/main' || to.path === '/login') {
1970
+ window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
1971
+ } else {
1972
+ next && next();
1973
+ }
1970
1974
  } else {
1971
1975
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1972
1976
  ajax({
@@ -3446,7 +3450,14 @@ module.exports = require("axios");
3446
3450
 
3447
3451
  /***/ }),
3448
3452
 
3449
- /***/ 59:
3453
+ /***/ 6:
3454
+ /***/ (function(module, exports) {
3455
+
3456
+ module.exports = require("json-bigint");
3457
+
3458
+ /***/ }),
3459
+
3460
+ /***/ 60:
3450
3461
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3451
3462
 
3452
3463
  "use strict";
@@ -3779,13 +3790,6 @@ main.install = function (Vue) {
3779
3790
 
3780
3791
  /***/ }),
3781
3792
 
3782
- /***/ 6:
3783
- /***/ (function(module, exports) {
3784
-
3785
- module.exports = require("json-bigint");
3786
-
3787
- /***/ }),
3788
-
3789
3793
  /***/ 7:
3790
3794
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3791
3795
 
package/lib/switch.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 = 77);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 78);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -1966,7 +1966,11 @@ var isLogined = function isLogined(_ref8) {
1966
1966
  // const logined = getStorage('logined');
1967
1967
  // eslint-disable-next-line eqeqeq
1968
1968
  if (token || cookie == true || cookie == 1) {
1969
- next && next();
1969
+ if (to.path === '/main' || to.path === '/login') {
1970
+ window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
1971
+ } else {
1972
+ next && next();
1973
+ }
1970
1974
  } else {
1971
1975
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1972
1976
  ajax({
@@ -3586,7 +3590,7 @@ var WebSocket = function () {
3586
3590
 
3587
3591
  /***/ }),
3588
3592
 
3589
- /***/ 77:
3593
+ /***/ 78:
3590
3594
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3591
3595
 
3592
3596
  "use strict";
package/lib/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 = 65);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 66);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -1966,7 +1966,11 @@ var isLogined = function isLogined(_ref8) {
1966
1966
  // const logined = getStorage('logined');
1967
1967
  // eslint-disable-next-line eqeqeq
1968
1968
  if (token || cookie == true || cookie == 1) {
1969
- next && next();
1969
+ if (to.path === '/main' || to.path === '/login') {
1970
+ window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
1971
+ } else {
1972
+ next && next();
1973
+ }
1970
1974
  } else {
1971
1975
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1972
1976
  ajax({
@@ -3478,7 +3482,7 @@ module.exports = require("json-bigint");
3478
3482
 
3479
3483
  /***/ }),
3480
3484
 
3481
- /***/ 65:
3485
+ /***/ 66:
3482
3486
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3483
3487
 
3484
3488
  "use strict";
package/lib/tabs-panel.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 = 61);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 62);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 61:
195
+ /***/ 62:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/tabs.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 = 60);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 61);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -1966,7 +1966,11 @@ var isLogined = function isLogined(_ref8) {
1966
1966
  // const logined = getStorage('logined');
1967
1967
  // eslint-disable-next-line eqeqeq
1968
1968
  if (token || cookie == true || cookie == 1) {
1969
- next && next();
1969
+ if (to.path === '/main' || to.path === '/login') {
1970
+ window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
1971
+ } else {
1972
+ next && next();
1973
+ }
1970
1974
  } else {
1971
1975
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1972
1976
  ajax({
@@ -3453,7 +3457,7 @@ module.exports = require("json-bigint");
3453
3457
 
3454
3458
  /***/ }),
3455
3459
 
3456
- /***/ 60:
3460
+ /***/ 61:
3457
3461
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3458
3462
 
3459
3463
  "use strict";
@@ -1 +1 @@
1
- @charset "UTF-8";.es-data-table,.es-data-table-content .es-table .el-table__body-wrapper .el-table__body{position:relative}.es-data-table .es-toolbar+.es-data-table-content{padding:16px}.es-data-table-content{background-color:#fafafa}.es-data-table-content .es-table:not(.el-table--border){border:1px solid #e1e1e1;border-bottom:0}.es-data-table-content .es-table thead th,.es-data-table-content .es-table thead tr{background-color:#f8f8f8;border-color:#e1e1e1}.es-data-table-content .es-table th,.es-data-table-content .es-table thead tr{padding:6px 0;text-align:center}.es-data-table-content .es-table th .cell,.es-data-table-content .es-table thead tr .cell{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.es-data-table-content .es-table td{padding:6px 0}.es-data-table-content .es-table td.es-table-handle-box .cell,.es-data-table-content .es-table td.is-center .cell{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.es-data-table-content .es-table td.is-right .cell{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.es-data-table-content .es-table .es-table-handle-box{text-align:center}.es-data-table-content .es-table+.es-table-page{margin-top:-1px}.es-data-table-content .es-table .el-table__fixed-right::before,.es-data-table-content .es-table .el-table__fixed::before{background-color:transparent}.es-data-table-content .es-table .cell{min-height:28px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}.es-data-table-content .es-table .cell:not(.el-tooltip){display:-webkit-box;display:-ms-flexbox;display:flex}.es-data-table-content .es-table .cell.el-tooltip{line-height:28px}.es-data-table-content .es-table .el-form-item{margin-bottom:0;width:100%}.es-data-table-content .es-table .el-form-item .el-input:not(.el-input--prefix) .el-input__inner{padding:0 8px;margin-top:0}.es-data-table-content .es-table .el-form-item .el-input-number{width:100%}.es-data-table-content .el-table__header,.es-data-table-content .el-table__header thead{color:#404040}.es-data-table-content .el-table__body tr.hover-row.current-row>td,.es-data-table-content .el-table__body tr.hover-row.el-table__row--striped.current-row>td,.es-data-table-content .el-table__body tr.hover-row.el-table__row--striped>td,.es-data-table-content .el-table__body tr.hover-row>td,.es-data-table-content .el-table__body tr:hover>td{background-color:#e6f7ff}.es-data-table-content .el-table__body tr.current-row>td{background-color:#91d5ff}.es-data-table-content .es-table-page{height:46px;border:1px solid #e1e1e1;padding:8px 12px;background-color:#f8f8f8}.es-data-table-content .es-thead-border .el-table__header th:not(.gutter){border-right:1px solid #e1e1e1}.es-data-table-content .es-thead-border .el-table__header thead:not(.is-group) th:last-child{border-right:0;border-bottom:1px solid #e1e1e1}.es-data-table-content .es-thead-border .el-table__fixed-right:not(.el-table-box-shadow) thead th:last-child{border-left:1px solid #e1e1e1}.es-data-table-content .es-thead-border .is-scrolling-right~.el-table__fixed-right:not(.el-table-box-shadow) thead th:last-child{border-left:0}.es-data-table-content .el-form-item__error{top:unset;bottom:0}.es-data-table-content .es-table:not(.el-table--border) .el-table--border td,.es-data-table-content .es-table:not(.el-table--border) .el-table--border th,.es-data-table-content .es-table:not(.el-table--border) .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:0}.es-data-table-content .is-scrolling-right+.el-table__fixed-body-wrapper td{border-right:1px solid #e1e1e1}.es-data-table-content .is-scrolling-right+.el-table__fixed-body-wrapper td:last-child{border-right:0}.el-table--border::after,.el-table--group::after,.el-table::before{z-index:5}.sizer-btn-box{text-align:right;margin-top:7px}
1
+ @charset "UTF-8";.es-data-table,.es-data-table-content .es-table .el-table__body-wrapper .el-table__body{position:relative}.es-data-table .es-toolbar+.es-data-table-content{padding:16px}.es-data-table-content{background-color:#fafafa}.es-data-table-content .es-table:not(.el-table--border){border:1px solid #e1e1e1;border-bottom:0}.es-data-table-content .es-table thead th,.es-data-table-content .es-table thead tr{background-color:#f8f8f8;border-color:#e1e1e1}.es-data-table-content .es-table th,.es-data-table-content .es-table thead tr{padding:6px 0;text-align:center}.es-data-table-content .es-table th .cell,.es-data-table-content .es-table thead tr .cell{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.es-data-table-content .es-table td{padding:6px 0}.es-data-table-content .es-table td.es-table-handle-box .cell,.es-data-table-content .es-table td.is-center .cell{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.es-data-table-content .es-table td.is-right .cell{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.es-data-table-content .es-table .es-table-handle-box{text-align:center}.es-data-table-content .es-table+.es-table-page{margin-top:-1px}.es-data-table-content .es-table .el-table__fixed-right::before,.es-data-table-content .es-table .el-table__fixed::before{background-color:transparent}.es-data-table-content .es-table .cell{min-height:28px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}.es-data-table-content .es-table .cell:not(.el-tooltip){display:-webkit-box;display:-ms-flexbox;display:flex}.es-data-table-content .es-table .cell.el-tooltip{line-height:28px}.es-data-table-content .es-table .el-form-item{margin-bottom:0;width:100%}.es-data-table-content .es-table .el-form-item .el-input:not(.el-input--prefix) .el-input__inner{padding:0 8px;margin-top:0}.es-data-table-content .es-table .el-form-item .el-input-number,.es-data-table-content .es-table .el-form-item .el-select{width:100%}.es-data-table-content .el-table__header,.es-data-table-content .el-table__header thead{color:#404040}.es-data-table-content .el-table__body tr.hover-row.current-row>td,.es-data-table-content .el-table__body tr.hover-row.el-table__row--striped.current-row>td,.es-data-table-content .el-table__body tr.hover-row.el-table__row--striped>td,.es-data-table-content .el-table__body tr.hover-row>td,.es-data-table-content .el-table__body tr:hover>td{background-color:#e6f7ff}.es-data-table-content .el-table__body tr.current-row>td{background-color:#91d5ff}.es-data-table-content .es-table-page{height:46px;border:1px solid #e1e1e1;padding:8px 12px;background-color:#f8f8f8}.es-data-table-content .es-thead-border .el-table__header th:not(.gutter){border-right:1px solid #e1e1e1}.es-data-table-content .es-thead-border .el-table__header thead:not(.is-group) th:last-child{border-right:0;border-bottom:1px solid #e1e1e1}.es-data-table-content .es-thead-border .el-table__fixed-right:not(.el-table-box-shadow) thead th:last-child{border-left:1px solid #e1e1e1}.es-data-table-content .es-thead-border .is-scrolling-right~.el-table__fixed-right:not(.el-table-box-shadow) thead th:last-child{border-left:0}.es-data-table-content .el-form-item__error{top:unset;bottom:0}.es-data-table-content .es-table:not(.el-table--border) .el-table--border td,.es-data-table-content .es-table:not(.el-table--border) .el-table--border th,.es-data-table-content .es-table:not(.el-table--border) .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:0}.es-data-table-content .is-scrolling-right+.el-table__fixed-body-wrapper td{border-right:1px solid #e1e1e1}.es-data-table-content .is-scrolling-right+.el-table__fixed-body-wrapper td:last-child{border-right:0}.el-table--border::after,.el-table--group::after,.el-table::before{z-index:5}.sizer-btn-box{text-align:right;margin-top:7px}