eoss-ui 0.5.56 → 0.5.58

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 (72) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/lib/button-group.js +19 -9
  3. package/lib/button.js +4 -4
  4. package/lib/cascader.js +2 -2
  5. package/lib/checkbox-group.js +2 -2
  6. package/lib/data-table-form.js +2 -2
  7. package/lib/data-table.js +32 -19
  8. package/lib/date-picker.js +4 -4
  9. package/lib/dialog.js +2 -2
  10. package/lib/eoss-ui.common.js +184 -69
  11. package/lib/flow-group.js +2 -2
  12. package/lib/flow-list.js +2 -2
  13. package/lib/flow.js +2 -2
  14. package/lib/form.js +2 -2
  15. package/lib/handle-user.js +2 -2
  16. package/lib/handler.js +2 -2
  17. package/lib/icon.js +3841 -0
  18. package/lib/icons.js +2 -2
  19. package/lib/index.js +1 -1
  20. package/lib/input-number.js +4 -4
  21. package/lib/input.js +4 -4
  22. package/lib/label.js +2 -2
  23. package/lib/login.js +2 -2
  24. package/lib/main.js +4 -5
  25. package/lib/menu.js +2 -3
  26. package/lib/nav.js +4 -4
  27. package/lib/notify.js +2 -2
  28. package/lib/page.js +4 -4
  29. package/lib/pagination.js +2 -2
  30. package/lib/player.js +4 -4
  31. package/lib/qr-code.js +4 -4
  32. package/lib/radio-group.js +4 -4
  33. package/lib/retrial-auth.js +4 -4
  34. package/lib/select-ganged.js +4 -4
  35. package/lib/select.js +4 -4
  36. package/lib/selector-panel.js +2 -2
  37. package/lib/selector.js +11 -11
  38. package/lib/sizer.js +4 -4
  39. package/lib/steps.js +4 -4
  40. package/lib/switch.js +11 -11
  41. package/lib/table-form.js +4 -4
  42. package/lib/tabs-panel.js +2 -2
  43. package/lib/tabs.js +4 -4
  44. package/lib/theme-chalk/data-table.css +1 -1
  45. package/lib/theme-chalk/index.css +1 -1
  46. package/lib/theme-chalk/menu.css +1 -1
  47. package/lib/tips.js +4 -4
  48. package/lib/toolbar.js +2 -3
  49. package/lib/tree-group.js +4 -4
  50. package/lib/tree.js +10 -8
  51. package/lib/upload.js +7 -8
  52. package/lib/utils/util.js +2 -2
  53. package/lib/wujie.js +4 -4
  54. package/lib/wxlogin.js +137 -137
  55. package/package.json +1 -1
  56. package/packages/button-group/src/main.vue +5 -5
  57. package/packages/data-table/src/column.vue +1 -1
  58. package/packages/data-table/src/main.vue +14 -4
  59. package/packages/icon/index.js +5 -0
  60. package/packages/icon/src/main.vue +43 -0
  61. package/packages/main/src/main.vue +0 -1
  62. package/packages/menu/src/main.vue +0 -1
  63. package/packages/theme-chalk/lib/data-table.css +1 -1
  64. package/packages/theme-chalk/lib/index.css +1 -1
  65. package/packages/theme-chalk/lib/menu.css +1 -1
  66. package/packages/theme-chalk/src/data-table.scss +17 -0
  67. package/packages/theme-chalk/src/menu.scss +3 -5
  68. package/packages/toolbar/src/main.vue +0 -1
  69. package/packages/tree/src/main.vue +14 -2
  70. package/packages/upload/src/main.vue +0 -1
  71. package/src/index.js +4 -1
  72. package/src/utils/util.js +2 -1
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 = 61);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 62);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
2005
2005
  * @param {object} [to] - 路由跳转信息
2006
2006
  * @param {object} [from] - 路由来源信息
2007
2007
  * @param {function} [next] - 跳转函数
2008
- * @param {array} [exclude] - 不拦截的路由
2008
+ * @param {array/boolean} [exclude] - 不拦截的路由
2009
2009
  * @param {boolean} [open] - 是否新窗口打开
2010
2010
  * @param {boolean} [cookie] - 是否尝试采用
2011
2011
  * @param {sting} [loginPage] - 第三方登录页面地址
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
2158
2158
  });
2159
2159
  }
2160
2160
  }).catch(function (e) {});
2161
- } else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2161
+ } else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2162
2162
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2163
2163
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
2164
2164
  } else {
@@ -3583,7 +3583,7 @@ module.exports = require("json-bigint");
3583
3583
 
3584
3584
  /***/ }),
3585
3585
 
3586
- /***/ 61:
3586
+ /***/ 62:
3587
3587
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3588
3588
 
3589
3589
  "use strict";
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 = 79);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 80);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
2005
2005
  * @param {object} [to] - 路由跳转信息
2006
2006
  * @param {object} [from] - 路由来源信息
2007
2007
  * @param {function} [next] - 跳转函数
2008
- * @param {array} [exclude] - 不拦截的路由
2008
+ * @param {array/boolean} [exclude] - 不拦截的路由
2009
2009
  * @param {boolean} [open] - 是否新窗口打开
2010
2010
  * @param {boolean} [cookie] - 是否尝试采用
2011
2011
  * @param {sting} [loginPage] - 第三方登录页面地址
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
2158
2158
  });
2159
2159
  }
2160
2160
  }).catch(function (e) {});
2161
- } else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2161
+ } else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2162
2162
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2163
2163
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
2164
2164
  } else {
@@ -3716,7 +3716,14 @@ var WebSocket = function () {
3716
3716
 
3717
3717
  /***/ }),
3718
3718
 
3719
- /***/ 79:
3719
+ /***/ 8:
3720
+ /***/ (function(module, exports) {
3721
+
3722
+ module.exports = require("sockjs-client");
3723
+
3724
+ /***/ }),
3725
+
3726
+ /***/ 80:
3720
3727
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3721
3728
 
3722
3729
  "use strict";
@@ -3890,13 +3897,6 @@ main.install = function (Vue) {
3890
3897
 
3891
3898
  /***/ }),
3892
3899
 
3893
- /***/ 8:
3894
- /***/ (function(module, exports) {
3895
-
3896
- module.exports = require("sockjs-client");
3897
-
3898
- /***/ }),
3899
-
3900
3900
  /***/ 9:
3901
3901
  /***/ (function(module, exports) {
3902
3902
 
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 = 67);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 68);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
2005
2005
  * @param {object} [to] - 路由跳转信息
2006
2006
  * @param {object} [from] - 路由来源信息
2007
2007
  * @param {function} [next] - 跳转函数
2008
- * @param {array} [exclude] - 不拦截的路由
2008
+ * @param {array/boolean} [exclude] - 不拦截的路由
2009
2009
  * @param {boolean} [open] - 是否新窗口打开
2010
2010
  * @param {boolean} [cookie] - 是否尝试采用
2011
2011
  * @param {sting} [loginPage] - 第三方登录页面地址
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
2158
2158
  });
2159
2159
  }
2160
2160
  }).catch(function (e) {});
2161
- } else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2161
+ } else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2162
2162
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2163
2163
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
2164
2164
  } else {
@@ -3608,7 +3608,7 @@ module.exports = require("json-bigint");
3608
3608
 
3609
3609
  /***/ }),
3610
3610
 
3611
- /***/ 67:
3611
+ /***/ 68:
3612
3612
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3613
3613
 
3614
3614
  "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 = 63);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 64);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 63:
195
+ /***/ 64:
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 = 62);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 63);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2005,7 +2005,7 @@ var isFunction = function isFunction(obj) {
2005
2005
  * @param {object} [to] - 路由跳转信息
2006
2006
  * @param {object} [from] - 路由来源信息
2007
2007
  * @param {function} [next] - 跳转函数
2008
- * @param {array} [exclude] - 不拦截的路由
2008
+ * @param {array/boolean} [exclude] - 不拦截的路由
2009
2009
  * @param {boolean} [open] - 是否新窗口打开
2010
2010
  * @param {boolean} [cookie] - 是否尝试采用
2011
2011
  * @param {sting} [loginPage] - 第三方登录页面地址
@@ -2158,7 +2158,7 @@ var isLogined = function isLogined(_ref8) {
2158
2158
  });
2159
2159
  }
2160
2160
  }).catch(function (e) {});
2161
- } else if (token || to.path === '/' || to.path === '/404' || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2161
+ } else if (token || to.path === '/' || to.path === '/404' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
2162
2162
  if (redirect && (to.path === '/main' || to.path === '/login')) {
2163
2163
  window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
2164
2164
  } else {
@@ -3583,7 +3583,7 @@ module.exports = require("json-bigint");
3583
3583
 
3584
3584
  /***/ }),
3585
3585
 
3586
- /***/ 62:
3586
+ /***/ 63:
3587
3587
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3588
3588
 
3589
3589
  "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,.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-table-page.es-loading-page{line-height:30px;font-size:14px;font-weight:400;color:rgba(0,0,0,.75)}.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.es-table-border-none .es-table{border:0}.es-data-table-content.es-table-border-none .es-table::before{content:none}.es-data-table-content.es-table-border-none .es-table td,.es-data-table-content.es-table-border-none .es-table th{border:0}.es-data-table-content.es-table-border-none .es-table-page{border:0;margin-top:0;background-color:#fff}.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-table-page.es-loading-page{line-height:30px;font-size:14px;font-weight:400;color:rgba(0,0,0,.75)}.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}