eoss-ui 0.5.12 → 0.5.14

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 (79) hide show
  1. package/lib/button-group.js +1 -13
  2. package/lib/button.js +3 -15
  3. package/lib/cascader.js +2 -2
  4. package/lib/checkbox-group.js +40 -34
  5. package/lib/data-table-form.js +4 -15
  6. package/lib/data-table.js +1219 -1529
  7. package/lib/date-picker.js +3 -15
  8. package/lib/dialog.js +10 -22
  9. package/lib/eoss-ui.common.js +1282 -1818
  10. package/lib/flow-group.js +1 -13
  11. package/lib/flow-list.js +3 -15
  12. package/lib/flow.js +43 -54
  13. package/lib/form.js +5 -22
  14. package/lib/handle-user.js +1 -13
  15. package/lib/handler.js +1 -13
  16. package/lib/icons.js +2 -2
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +3 -15
  19. package/lib/input.js +3 -15
  20. package/lib/label.js +5 -4
  21. package/lib/layout.js +166 -152
  22. package/lib/login.js +1 -13
  23. package/lib/main.js +15 -24
  24. package/lib/menu.js +2 -2
  25. package/lib/nav.js +10 -22
  26. package/lib/notify.js +2 -2
  27. package/lib/page.js +3 -15
  28. package/lib/pagination.js +2 -2
  29. package/lib/player.js +9 -21
  30. package/lib/qr-code.js +5 -17
  31. package/lib/radio-group.js +44 -34
  32. package/lib/retrial-auth.js +3 -15
  33. package/lib/select-ganged.js +26 -18
  34. package/lib/select.js +42 -31
  35. package/lib/selector-panel.js +7 -18
  36. package/lib/selector.js +5 -17
  37. package/lib/sizer.js +3 -15
  38. package/lib/steps.js +10 -22
  39. package/lib/switch.js +3 -15
  40. package/lib/table-form.js +3 -15
  41. package/lib/tabs-panel.js +2 -2
  42. package/lib/tabs.js +3 -15
  43. package/lib/theme-chalk/data-table.css +1 -1
  44. package/lib/theme-chalk/index.css +1 -1
  45. package/lib/theme-chalk/nav.css +1 -1
  46. package/lib/tips.js +3 -15
  47. package/lib/toolbar.js +2 -2
  48. package/lib/tree-group.js +3 -15
  49. package/lib/tree.js +3 -15
  50. package/lib/upload.js +4 -16
  51. package/lib/utils/util.js +1 -10
  52. package/lib/utils/webSocket.js +0 -3
  53. package/lib/wujie.js +3 -15
  54. package/lib/wxlogin.js +3 -15
  55. package/package.json +1 -1
  56. package/packages/checkbox-group/src/main.vue +20 -30
  57. package/packages/data-table/src/children.vue +4 -8
  58. package/packages/data-table/src/column.vue +522 -575
  59. package/packages/data-table/src/main.vue +123 -124
  60. package/packages/flow/src/component/taskUnionExamine.vue +1 -1
  61. package/packages/flow/src/main.vue +1 -1
  62. package/packages/flow/src/processForm.vue +1 -1
  63. package/packages/flow/src/processReject.vue +1 -1
  64. package/packages/flow/src/startTaskRead.vue +1 -1
  65. package/packages/form/src/main.vue +2 -7
  66. package/packages/label/src/main.vue +3 -2
  67. package/packages/main/src/main.vue +6 -4
  68. package/packages/radio-group/src/main.vue +20 -30
  69. package/packages/select/src/main.vue +20 -29
  70. package/packages/select-ganged/src/main.vue +1 -3
  71. package/packages/theme-chalk/lib/data-table.css +1 -1
  72. package/packages/theme-chalk/lib/index.css +1 -1
  73. package/packages/theme-chalk/lib/nav.css +1 -1
  74. package/packages/theme-chalk/src/data-table.scss +2 -1
  75. package/packages/theme-chalk/src/nav.scss +21 -2
  76. package/src/index.js +1 -1
  77. package/src/utils/util.js +1 -10
  78. package/src/utils/webSocket.js +0 -3
  79. package/packages/data-table/src/mixins/table.js +0 -12
@@ -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 = 70);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 71);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -2523,7 +2523,6 @@ var setStorage = function setStorage(_ref14) {
2523
2523
  * @author huangbo
2524
2524
  * @date 2022年5月7日
2525
2525
  * @param {String} [url] - 连接地址
2526
- * @param {String} [send] - 是否发送消息
2527
2526
  * @param {String} [take] - 订阅地址
2528
2527
  * @param {String} [debug] - 调试
2529
2528
  * @param {String} [interval] - 重连间隔时间
@@ -2531,16 +2530,8 @@ var setStorage = function setStorage(_ref14) {
2531
2530
  * @param {Function} [error] - 重连间隔时间
2532
2531
  **/
2533
2532
  function socket(option, vm) {
2534
- var options = {};
2535
- for (var i in option) {
2536
- if (i === 'send') {
2537
- options['isSend'] = option[i];
2538
- } else {
2539
- options[i] = option[i];
2540
- }
2541
- }
2542
2533
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2543
- socket.init(options, vm);
2534
+ socket.init(option, vm);
2544
2535
  return socket;
2545
2536
  }
2546
2537
  /**
@@ -3492,7 +3483,6 @@ var WebSocket = function () {
3492
3483
  this.connects = 1;
3493
3484
  this.recon = false;
3494
3485
  this.sendTimeout = null;
3495
- this.isSend = false;
3496
3486
  }
3497
3487
 
3498
3488
  /** socket连接 */
@@ -3520,9 +3510,7 @@ var WebSocket = function () {
3520
3510
  // tryTimes定义重置
3521
3511
  _this.connects = 1;
3522
3512
  // 订阅消息
3523
- // if (!this.isSend) {
3524
3513
  _this.subscribe();
3525
- // }
3526
3514
  }, function (error) {
3527
3515
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3528
3516
  if (_this.connects > 5 && diffSecond < _this.interval) {
@@ -3598,7 +3586,7 @@ var WebSocket = function () {
3598
3586
 
3599
3587
  /***/ }),
3600
3588
 
3601
- /***/ 70:
3589
+ /***/ 71:
3602
3590
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3603
3591
 
3604
3592
  "use strict";
package/lib/dialog.js CHANGED
@@ -2522,7 +2522,6 @@ var setStorage = function setStorage(_ref14) {
2522
2522
  * @author huangbo
2523
2523
  * @date 2022年5月7日
2524
2524
  * @param {String} [url] - 连接地址
2525
- * @param {String} [send] - 是否发送消息
2526
2525
  * @param {String} [take] - 订阅地址
2527
2526
  * @param {String} [debug] - 调试
2528
2527
  * @param {String} [interval] - 重连间隔时间
@@ -2530,16 +2529,8 @@ var setStorage = function setStorage(_ref14) {
2530
2529
  * @param {Function} [error] - 重连间隔时间
2531
2530
  **/
2532
2531
  function socket(option, vm) {
2533
- var options = {};
2534
- for (var i in option) {
2535
- if (i === 'send') {
2536
- options['isSend'] = option[i];
2537
- } else {
2538
- options[i] = option[i];
2539
- }
2540
- }
2541
2532
  var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2542
- socket.init(options, vm);
2533
+ socket.init(option, vm);
2543
2534
  return socket;
2544
2535
  }
2545
2536
  /**
@@ -3477,7 +3468,6 @@ var WebSocket = function () {
3477
3468
  this.connects = 1;
3478
3469
  this.recon = false;
3479
3470
  this.sendTimeout = null;
3480
- this.isSend = false;
3481
3471
  }
3482
3472
 
3483
3473
  /** socket连接 */
@@ -3505,9 +3495,7 @@ var WebSocket = function () {
3505
3495
  // tryTimes定义重置
3506
3496
  _this.connects = 1;
3507
3497
  // 订阅消息
3508
- // if (!this.isSend) {
3509
3498
  _this.subscribe();
3510
- // }
3511
3499
  }, function (error) {
3512
3500
  var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3513
3501
  if (_this.connects > 5 && diffSecond < _this.interval) {
@@ -3608,33 +3596,33 @@ module.exports = require("babel-runtime/regenerator");
3608
3596
 
3609
3597
  /***/ }),
3610
3598
  /* 13 */,
3611
- /* 14 */,
3612
- /* 15 */,
3613
- /* 16 */
3599
+ /* 14 */
3614
3600
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3615
3601
 
3616
3602
  "use strict";
3617
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
3603
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16);
3618
3604
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
3619
3605
 
3620
3606
 
3621
3607
  /* harmony default export */ __webpack_exports__["a"] = (new vue__WEBPACK_IMPORTED_MODULE_0___default.a());
3622
3608
 
3623
3609
  /***/ }),
3624
- /* 17 */
3610
+ /* 15 */,
3611
+ /* 16 */
3625
3612
  /***/ (function(module, exports) {
3626
3613
 
3627
3614
  module.exports = require("vue");
3628
3615
 
3629
3616
  /***/ }),
3617
+ /* 17 */,
3630
3618
  /* 18 */,
3631
- /* 19 */
3619
+ /* 19 */,
3620
+ /* 20 */
3632
3621
  /***/ (function(module, exports) {
3633
3622
 
3634
3623
  module.exports = require("wujie-vue2");
3635
3624
 
3636
3625
  /***/ }),
3637
- /* 20 */,
3638
3626
  /* 21 */,
3639
3627
  /* 22 */,
3640
3628
  /* 23 */,
@@ -4182,14 +4170,14 @@ var regenerator_ = __webpack_require__(12);
4182
4170
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
4183
4171
 
4184
4172
  // EXTERNAL MODULE: external "wujie-vue2"
4185
- var external_wujie_vue2_ = __webpack_require__(19);
4173
+ var external_wujie_vue2_ = __webpack_require__(20);
4186
4174
  var external_wujie_vue2_default = /*#__PURE__*/__webpack_require__.n(external_wujie_vue2_);
4187
4175
 
4188
4176
  // EXTERNAL MODULE: ./src/utils/util.js
4189
4177
  var util = __webpack_require__(0);
4190
4178
 
4191
4179
  // EXTERNAL MODULE: ./src/utils/bus.js
4192
- var bus = __webpack_require__(16);
4180
+ var bus = __webpack_require__(14);
4193
4181
 
4194
4182
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=script&lang=js&
4195
4183