eoss-ui 0.5.12 → 0.5.13
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 +1 -13
- package/lib/button.js +1 -13
- package/lib/checkbox-group.js +1 -13
- package/lib/data-table-form.js +1 -13
- package/lib/data-table.js +24 -22
- package/lib/date-picker.js +1 -13
- package/lib/dialog.js +1 -13
- package/lib/eoss-ui.common.js +83 -78
- package/lib/flow-group.js +1 -13
- package/lib/flow-list.js +1 -13
- package/lib/flow.js +36 -48
- package/lib/form.js +1 -13
- package/lib/handle-user.js +1 -13
- package/lib/handler.js +1 -13
- package/lib/index.js +1 -1
- package/lib/input-number.js +1 -13
- package/lib/input.js +1 -13
- package/lib/label.js +3 -2
- package/lib/login.js +1 -13
- package/lib/main.js +9 -19
- package/lib/nav.js +1 -13
- package/lib/page.js +1 -13
- package/lib/player.js +1 -13
- package/lib/qr-code.js +1 -13
- package/lib/radio-group.js +1 -13
- package/lib/retrial-auth.js +1 -13
- package/lib/select-ganged.js +1 -13
- package/lib/select.js +1 -13
- package/lib/selector-panel.js +1 -13
- package/lib/selector.js +1 -13
- package/lib/sizer.js +1 -13
- package/lib/steps.js +1 -13
- package/lib/switch.js +1 -13
- package/lib/table-form.js +1 -13
- package/lib/tabs.js +1 -13
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/nav.css +1 -1
- package/lib/tips.js +1 -13
- package/lib/tree-group.js +1 -13
- package/lib/tree.js +1 -13
- package/lib/upload.js +1 -13
- package/lib/utils/util.js +1 -10
- package/lib/utils/webSocket.js +0 -3
- package/lib/wujie.js +1 -13
- package/lib/wxlogin.js +1 -13
- package/package.json +1 -1
- package/packages/data-table/src/column copy.vue +977 -0
- package/packages/data-table/src/main copy.vue +1325 -0
- package/packages/data-table/src/main.vue +29 -6
- package/packages/flow/src/component/taskUnionExamine.vue +1 -1
- package/packages/flow/src/main.vue +1 -1
- package/packages/flow/src/processForm.vue +1 -1
- package/packages/flow/src/processReject.vue +1 -1
- package/packages/flow/src/startTaskRead.vue +1 -1
- package/packages/label/src/main.vue +3 -2
- package/packages/main/src/main.vue +6 -4
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/nav.css +1 -1
- package/packages/theme-chalk/src/nav.scss +21 -2
- package/src/index.js +1 -1
- package/src/utils/util.js +1 -10
- package/src/utils/webSocket.js +0 -3
package/lib/sizer.js
CHANGED
|
@@ -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(
|
|
2534
|
+
socket.init(option, vm);
|
|
2544
2535
|
return socket;
|
|
2545
2536
|
}
|
|
2546
2537
|
/**
|
|
@@ -3949,7 +3940,6 @@ var WebSocket = function () {
|
|
|
3949
3940
|
this.connects = 1;
|
|
3950
3941
|
this.recon = false;
|
|
3951
3942
|
this.sendTimeout = null;
|
|
3952
|
-
this.isSend = false;
|
|
3953
3943
|
}
|
|
3954
3944
|
|
|
3955
3945
|
/** socket连接 */
|
|
@@ -3977,9 +3967,7 @@ var WebSocket = function () {
|
|
|
3977
3967
|
// tryTimes定义重置
|
|
3978
3968
|
_this.connects = 1;
|
|
3979
3969
|
// 订阅消息
|
|
3980
|
-
// if (!this.isSend) {
|
|
3981
3970
|
_this.subscribe();
|
|
3982
|
-
// }
|
|
3983
3971
|
}, function (error) {
|
|
3984
3972
|
var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
|
|
3985
3973
|
if (_this.connects > 5 && diffSecond < _this.interval) {
|
package/lib/steps.js
CHANGED
|
@@ -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(
|
|
2534
|
+
socket.init(option, vm);
|
|
2544
2535
|
return socket;
|
|
2545
2536
|
}
|
|
2546
2537
|
/**
|
|
@@ -3825,7 +3816,6 @@ var WebSocket = function () {
|
|
|
3825
3816
|
this.connects = 1;
|
|
3826
3817
|
this.recon = false;
|
|
3827
3818
|
this.sendTimeout = null;
|
|
3828
|
-
this.isSend = false;
|
|
3829
3819
|
}
|
|
3830
3820
|
|
|
3831
3821
|
/** socket连接 */
|
|
@@ -3853,9 +3843,7 @@ var WebSocket = function () {
|
|
|
3853
3843
|
// tryTimes定义重置
|
|
3854
3844
|
_this.connects = 1;
|
|
3855
3845
|
// 订阅消息
|
|
3856
|
-
// if (!this.isSend) {
|
|
3857
3846
|
_this.subscribe();
|
|
3858
|
-
// }
|
|
3859
3847
|
}, function (error) {
|
|
3860
3848
|
var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
|
|
3861
3849
|
if (_this.connects > 5 && diffSecond < _this.interval) {
|
package/lib/switch.js
CHANGED
|
@@ -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(
|
|
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) {
|
package/lib/table-form.js
CHANGED
|
@@ -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(
|
|
2534
|
+
socket.init(option, vm);
|
|
2544
2535
|
return socket;
|
|
2545
2536
|
}
|
|
2546
2537
|
/**
|
|
@@ -7569,7 +7560,6 @@ var WebSocket = function () {
|
|
|
7569
7560
|
this.connects = 1;
|
|
7570
7561
|
this.recon = false;
|
|
7571
7562
|
this.sendTimeout = null;
|
|
7572
|
-
this.isSend = false;
|
|
7573
7563
|
}
|
|
7574
7564
|
|
|
7575
7565
|
/** socket连接 */
|
|
@@ -7597,9 +7587,7 @@ var WebSocket = function () {
|
|
|
7597
7587
|
// tryTimes定义重置
|
|
7598
7588
|
_this.connects = 1;
|
|
7599
7589
|
// 订阅消息
|
|
7600
|
-
// if (!this.isSend) {
|
|
7601
7590
|
_this.subscribe();
|
|
7602
|
-
// }
|
|
7603
7591
|
}, function (error) {
|
|
7604
7592
|
var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
|
|
7605
7593
|
if (_this.connects > 5 && diffSecond < _this.interval) {
|
package/lib/tabs.js
CHANGED
|
@@ -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(
|
|
2534
|
+
socket.init(option, vm);
|
|
2544
2535
|
return socket;
|
|
2545
2536
|
}
|
|
2546
2537
|
/**
|
|
@@ -6003,7 +5994,6 @@ var WebSocket = function () {
|
|
|
6003
5994
|
this.connects = 1;
|
|
6004
5995
|
this.recon = false;
|
|
6005
5996
|
this.sendTimeout = null;
|
|
6006
|
-
this.isSend = false;
|
|
6007
5997
|
}
|
|
6008
5998
|
|
|
6009
5999
|
/** socket连接 */
|
|
@@ -6031,9 +6021,7 @@ var WebSocket = function () {
|
|
|
6031
6021
|
// tryTimes定义重置
|
|
6032
6022
|
_this.connects = 1;
|
|
6033
6023
|
// 订阅消息
|
|
6034
|
-
// if (!this.isSend) {
|
|
6035
6024
|
_this.subscribe();
|
|
6036
|
-
// }
|
|
6037
6025
|
}, function (error) {
|
|
6038
6026
|
var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
|
|
6039
6027
|
if (_this.connects > 5 && diffSecond < _this.interval) {
|