eoss-ui 0.5.44 → 0.5.46

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 (86) hide show
  1. package/lib/button-group.js +16 -0
  2. package/lib/button.js +157 -144
  3. package/lib/calendar.js +769 -0
  4. package/lib/cascader.js +2 -2
  5. package/lib/checkbox-group.js +20 -2
  6. package/lib/clients.js +2 -2
  7. package/lib/data-table-form.js +52 -13
  8. package/lib/data-table.js +33 -7
  9. package/lib/date-picker.js +18 -2
  10. package/lib/dialog.js +30 -13
  11. package/lib/enterprise.js +2 -2
  12. package/lib/eoss-ui.common.js +1324 -730
  13. package/lib/error-page.js +2 -2
  14. package/lib/flow-group.js +32 -19
  15. package/lib/flow-list.js +18 -2
  16. package/lib/flow.js +16 -0
  17. package/lib/form.js +231 -231
  18. package/lib/handle-user.js +25 -10
  19. package/lib/handler.js +24 -5
  20. package/lib/icons.js +2 -2
  21. package/lib/index.js +1 -1
  22. package/lib/input-number.js +18 -2
  23. package/lib/input.js +18 -2
  24. package/lib/label.js +2 -2
  25. package/lib/login.js +16 -0
  26. package/lib/main.js +27 -4
  27. package/lib/menu.js +2 -2
  28. package/lib/nav.js +21 -5
  29. package/lib/notify.js +2 -2
  30. package/lib/page.js +18 -2
  31. package/lib/pagination.js +2 -2
  32. package/lib/player.js +18 -2
  33. package/lib/qr-code.js +18 -2
  34. package/lib/radio-group.js +18 -2
  35. package/lib/retrial-auth.js +22 -8
  36. package/lib/select-ganged.js +18 -2
  37. package/lib/select.js +18 -2
  38. package/lib/selector-panel.js +16 -0
  39. package/lib/selector.js +18 -2
  40. package/lib/sizer.js +25 -9
  41. package/lib/steps.js +18 -2
  42. package/lib/switch.js +18 -2
  43. package/lib/table-form.js +18 -2
  44. package/lib/tabs-panel.js +2 -2
  45. package/lib/tabs.js +18 -2
  46. package/lib/theme-chalk/calendar.css +0 -0
  47. package/lib/theme-chalk/cascader.css +1 -0
  48. package/lib/theme-chalk/data-table-form.css +1 -1
  49. package/lib/theme-chalk/index.css +1 -1
  50. package/lib/theme-chalk/toolbar.css +1 -1
  51. package/lib/tips.js +18 -2
  52. package/lib/toolbar.js +24 -34
  53. package/lib/tree-group.js +18 -2
  54. package/lib/tree.js +18 -2
  55. package/lib/upload.js +22 -15
  56. package/lib/utils/util.js +16 -0
  57. package/lib/wujie.js +18 -2
  58. package/lib/wxlogin.js +18 -2
  59. package/package.json +2 -2
  60. package/packages/button/src/main.vue +6 -9
  61. package/packages/calendar/index.js +5 -0
  62. package/packages/calendar/src/main.vue +386 -0
  63. package/packages/data-table/src/main.vue +12 -2
  64. package/packages/data-table-form/src/main.vue +30 -23
  65. package/packages/data-table-form/src/table.vue +16 -3
  66. package/packages/dialog/src/main.vue +9 -9
  67. package/packages/flow-group/src/main.vue +12 -15
  68. package/packages/handle-user/src/main.vue +5 -6
  69. package/packages/handler/src/main.vue +4 -1
  70. package/packages/main/src/main.vue +9 -2
  71. package/packages/nav/src/main.vue +1 -1
  72. package/packages/retrial-auth/src/main.vue +2 -4
  73. package/packages/theme-chalk/lib/calendar.css +0 -0
  74. package/packages/theme-chalk/lib/cascader.css +1 -0
  75. package/packages/theme-chalk/lib/data-table-form.css +1 -1
  76. package/packages/theme-chalk/lib/index.css +1 -1
  77. package/packages/theme-chalk/lib/toolbar.css +1 -1
  78. package/packages/theme-chalk/src/calendar.scss +0 -0
  79. package/packages/theme-chalk/src/cascader.scss +93 -0
  80. package/packages/theme-chalk/src/data-table-form.scss +11 -0
  81. package/packages/theme-chalk/src/index.scss +2 -1
  82. package/packages/theme-chalk/src/toolbar.scss +16 -11
  83. package/packages/toolbar/src/main.vue +44 -49
  84. package/packages/upload/src/main.vue +1 -10
  85. package/src/index.js +7 -4
  86. package/src/utils/util.js +16 -0
package/lib/form.js CHANGED
@@ -82,11 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 44);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 45);
86
86
  /******/ })
87
87
  /************************************************************************/
88
- /******/ ([
89
- /* 0 */
88
+ /******/ ({
89
+
90
+ /***/ 0:
90
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
91
92
 
92
93
  "use strict";
@@ -1249,6 +1250,21 @@ var getHour = function getHour(datetime) {
1249
1250
  return datetimeObj.getHours();
1250
1251
  };
1251
1252
 
1253
+ /**
1254
+ * getMyWinTop
1255
+ * @desc 获取同域的top窗口
1256
+ * @param {object} wind - window对象
1257
+ **/
1258
+ var getMyWinTop = function getMyWinTop(wind) {
1259
+ wind = wind ? wind : win;
1260
+ try {
1261
+ wind.parent.document;
1262
+ return getMyWinTop(wind.parent);
1263
+ } catch (error) {
1264
+ return wind;
1265
+ }
1266
+ };
1267
+
1252
1268
  /**
1253
1269
  * getWeekNumber
1254
1270
  * @desc 当年第几周
@@ -3002,6 +3018,7 @@ var watermark = function watermark(option) {
3002
3018
  getCurrentDate: getCurrentDate,
3003
3019
  getCurrentDateTime: getCurrentDateTime,
3004
3020
  getHour: getHour,
3021
+ getMyWinTop: getMyWinTop,
3005
3022
  getWeekNumber: getWeekNumber,
3006
3023
  getLength: getLength,
3007
3024
  getMainConfig: getMainConfig,
@@ -3062,7 +3079,8 @@ var watermark = function watermark(option) {
3062
3079
  });
3063
3080
 
3064
3081
  /***/ }),
3065
- /* 1 */
3082
+
3083
+ /***/ 1:
3066
3084
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3067
3085
 
3068
3086
  "use strict";
@@ -3406,13 +3424,54 @@ var sendBatch = '/notify2/sendRecord/reSendNotifyMessageBatch';
3406
3424
  var formContents = '/config/admin/online/onlineForm/render';
3407
3425
 
3408
3426
  /***/ }),
3409
- /* 2 */
3427
+
3428
+ /***/ 10:
3429
+ /***/ (function(module, exports) {
3430
+
3431
+ module.exports = require("sm-crypto");
3432
+
3433
+ /***/ }),
3434
+
3435
+ /***/ 12:
3436
+ /***/ (function(module, exports) {
3437
+
3438
+ module.exports = require("babel-runtime/regenerator");
3439
+
3440
+ /***/ }),
3441
+
3442
+ /***/ 13:
3443
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3444
+
3445
+ "use strict";
3446
+ // 手机号
3447
+ var phone = { pattern: new RegExp('^[1][3, 4, 5, 6, 7, 8, 9][0-9]{9}$'), message: '手机号不合法' };
3448
+ // 身份证
3449
+ var idCard = { pattern: new RegExp('(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)'), message: '身份证号不合法' };
3450
+ // 座机号
3451
+ var telephone = { pattern: new RegExp('^(\\d{3,4}-)?\\d{7,8}$'), message: '座机号不合法' };
3452
+ // IP
3453
+ var ip = { pattern: new RegExp('^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$'), message: 'IP地址不合法' };
3454
+ // 银行卡号
3455
+ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message: '银行卡号不合法' };
3456
+
3457
+ /* harmony default export */ __webpack_exports__["a"] = ({
3458
+ phone: phone,
3459
+ idCard: idCard,
3460
+ telephone: telephone,
3461
+ ip: ip,
3462
+ bankCard: bankCard
3463
+ });
3464
+
3465
+ /***/ }),
3466
+
3467
+ /***/ 2:
3410
3468
  /***/ (function(module, exports) {
3411
3469
 
3412
3470
  module.exports = require("eoss-element");
3413
3471
 
3414
3472
  /***/ }),
3415
- /* 3 */
3473
+
3474
+ /***/ 3:
3416
3475
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3417
3476
 
3418
3477
  "use strict";
@@ -3516,236 +3575,15 @@ function normalizeComponent(
3516
3575
 
3517
3576
 
3518
3577
  /***/ }),
3519
- /* 4 */
3520
- /***/ (function(module, exports) {
3521
-
3522
- module.exports = require("qs");
3523
-
3524
- /***/ }),
3525
- /* 5 */
3526
- /***/ (function(module, exports) {
3527
-
3528
- module.exports = require("axios");
3529
-
3530
- /***/ }),
3531
- /* 6 */
3532
- /***/ (function(module, exports) {
3533
-
3534
- module.exports = require("json-bigint");
3535
-
3536
- /***/ }),
3537
- /* 7 */
3538
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3539
-
3540
- "use strict";
3541
- /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
3542
- /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
3543
- /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
3544
- /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
3545
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3546
-
3547
-
3548
-
3549
-
3550
- var WebSocket = function () {
3551
- // 构造函数
3552
- function WebSocket() {
3553
- _classCallCheck(this, WebSocket);
3554
-
3555
- this.host = sessionStorage.getItem('wshost') || '';
3556
- this.tryTimes = 1; // 重连次数
3557
- this.callback = null; // 回调函数
3558
- this.client = null; // stomp对象
3559
- this.reconTimeout = null; // 重连延时器
3560
- this.debug = true; // 调试
3561
- this.interval = 20; // 重连间隔时间
3562
- this.vm = null;
3563
- this.nextDate = 0;
3564
- this.connects = 1;
3565
- this.recon = false;
3566
- this.sendTimeout = null;
3567
- }
3568
-
3569
- /** socket连接 */
3570
-
3571
-
3572
- WebSocket.prototype.connect = function connect() {
3573
- var _this = this;
3574
-
3575
- if (!this.client) {
3576
- // 连接SockJS
3577
- var socket = new sockjs_client__WEBPACK_IMPORTED_MODULE_0___default.a(this.host + this.url);
3578
- // 获取STOMP子协议的客户端对象
3579
- this.client = stompjs__WEBPACK_IMPORTED_MODULE_1___default.a.over(socket);
3580
- }
3581
-
3582
- // 日志不打印
3583
- if (!this.debug) {
3584
- console.log(111);
3585
- this.client.debug = function () {};
3586
- }
3587
-
3588
- // 向服务器发起websocket连接
3589
- this.client.connect({}, function () {
3590
- _this.recon = true;
3591
- // tryTimes定义重置
3592
- _this.connects = 1;
3593
- // 订阅消息
3594
- _this.subscribe();
3595
- }, function (error) {
3596
- var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3597
- if (_this.connects > 5 && diffSecond < _this.interval) {
3598
- _this.client.disconnect();
3599
- _this.error && _this.error(error);
3600
- } else {
3601
- _this.reconTimeout = setTimeout(function () {
3602
- _this.connect();
3603
- _this.connects++;
3604
- }, 5000);
3605
- }
3606
- });
3607
- };
3608
- /** 订阅服务端 */
3609
-
3610
-
3611
- WebSocket.prototype.subscribe = function subscribe() {
3612
- var _this2 = this;
3613
-
3614
- // 订阅服务端提供的某个topic
3615
- this.client.subscribe(this.take, function (response) {
3616
- if (response && (_this2.callback || _this2.success)) {
3617
- var callback = _this2.callback || _this2.success;
3618
- callback(JSON.parse(response.body));
3619
- }
3620
- });
3621
- };
3622
-
3623
- /** 赋值、初始化socket */
3624
-
3625
-
3626
- WebSocket.prototype.init = function init(option, vm) {
3627
- for (var i in option) {
3628
- this[i] = option[i];
3629
- }
3630
- this.vm = vm;
3631
- // 初始化连接
3632
- this.connect();
3633
- };
3634
-
3635
- /** 发送消息 */
3636
-
3637
-
3638
- WebSocket.prototype.send = function send(data) {
3639
- var _this3 = this;
3640
-
3641
- if (this.recon) {
3642
- clearTimeout(this.sendTimeout);
3643
- this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
3644
- } else {
3645
- this.sendTimeout = setTimeout(function () {
3646
- _this3.send(data);
3647
- }, 1000);
3648
- }
3649
- };
3650
-
3651
- /** 销毁 */
3652
-
3653
-
3654
- WebSocket.prototype.destroy = function destroy() {
3655
- // 断开连接,清除定时器
3656
- if (this.client) {
3657
- this.client.disconnect();
3658
- };
3659
- this.reconTimeout && clearTimeout(this.reconTimeout);
3660
- this.sendTimeout && clearTimeout(this.sendTimeout);
3661
- };
3662
-
3663
- return WebSocket;
3664
- }();
3665
-
3666
- /* harmony default export */ __webpack_exports__["a"] = (WebSocket);
3667
-
3668
- /***/ }),
3669
- /* 8 */
3670
- /***/ (function(module, exports) {
3671
-
3672
- module.exports = require("sockjs-client");
3673
-
3674
- /***/ }),
3675
- /* 9 */
3676
- /***/ (function(module, exports) {
3677
-
3678
- module.exports = require("stompjs");
3679
3578
 
3680
- /***/ }),
3681
- /* 10 */
3579
+ /***/ 4:
3682
3580
  /***/ (function(module, exports) {
3683
3581
 
3684
- module.exports = require("sm-crypto");
3582
+ module.exports = require("qs");
3685
3583
 
3686
3584
  /***/ }),
3687
- /* 11 */,
3688
- /* 12 */
3689
- /***/ (function(module, exports) {
3690
-
3691
- module.exports = require("babel-runtime/regenerator");
3692
3585
 
3693
- /***/ }),
3694
- /* 13 */
3695
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3696
-
3697
- "use strict";
3698
- // 手机号
3699
- var phone = { pattern: new RegExp('^[1][3, 4, 5, 6, 7, 8, 9][0-9]{9}$'), message: '手机号不合法' };
3700
- // 身份证
3701
- var idCard = { pattern: new RegExp('(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)'), message: '身份证号不合法' };
3702
- // 座机号
3703
- var telephone = { pattern: new RegExp('^(\\d{3,4}-)?\\d{7,8}$'), message: '座机号不合法' };
3704
- // IP
3705
- var ip = { pattern: new RegExp('^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$'), message: 'IP地址不合法' };
3706
- // 银行卡号
3707
- var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message: '银行卡号不合法' };
3708
-
3709
- /* harmony default export */ __webpack_exports__["a"] = ({
3710
- phone: phone,
3711
- idCard: idCard,
3712
- telephone: telephone,
3713
- ip: ip,
3714
- bankCard: bankCard
3715
- });
3716
-
3717
- /***/ }),
3718
- /* 14 */,
3719
- /* 15 */,
3720
- /* 16 */,
3721
- /* 17 */,
3722
- /* 18 */,
3723
- /* 19 */,
3724
- /* 20 */,
3725
- /* 21 */,
3726
- /* 22 */,
3727
- /* 23 */,
3728
- /* 24 */,
3729
- /* 25 */,
3730
- /* 26 */,
3731
- /* 27 */,
3732
- /* 28 */,
3733
- /* 29 */,
3734
- /* 30 */,
3735
- /* 31 */,
3736
- /* 32 */,
3737
- /* 33 */,
3738
- /* 34 */,
3739
- /* 35 */,
3740
- /* 36 */,
3741
- /* 37 */,
3742
- /* 38 */,
3743
- /* 39 */,
3744
- /* 40 */,
3745
- /* 41 */,
3746
- /* 42 */,
3747
- /* 43 */,
3748
- /* 44 */
3586
+ /***/ 45:
3749
3587
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3750
3588
 
3751
3589
  "use strict";
@@ -19829,5 +19667,167 @@ main.install = function (Vue) {
19829
19667
 
19830
19668
  /* harmony default export */ var packages_form = __webpack_exports__["default"] = (main);
19831
19669
 
19670
+ /***/ }),
19671
+
19672
+ /***/ 5:
19673
+ /***/ (function(module, exports) {
19674
+
19675
+ module.exports = require("axios");
19676
+
19677
+ /***/ }),
19678
+
19679
+ /***/ 6:
19680
+ /***/ (function(module, exports) {
19681
+
19682
+ module.exports = require("json-bigint");
19683
+
19684
+ /***/ }),
19685
+
19686
+ /***/ 7:
19687
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19688
+
19689
+ "use strict";
19690
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
19691
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
19692
+ /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
19693
+ /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
19694
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19695
+
19696
+
19697
+
19698
+
19699
+ var WebSocket = function () {
19700
+ // 构造函数
19701
+ function WebSocket() {
19702
+ _classCallCheck(this, WebSocket);
19703
+
19704
+ this.host = sessionStorage.getItem('wshost') || '';
19705
+ this.tryTimes = 1; // 重连次数
19706
+ this.callback = null; // 回调函数
19707
+ this.client = null; // stomp对象
19708
+ this.reconTimeout = null; // 重连延时器
19709
+ this.debug = true; // 调试
19710
+ this.interval = 20; // 重连间隔时间
19711
+ this.vm = null;
19712
+ this.nextDate = 0;
19713
+ this.connects = 1;
19714
+ this.recon = false;
19715
+ this.sendTimeout = null;
19716
+ }
19717
+
19718
+ /** socket连接 */
19719
+
19720
+
19721
+ WebSocket.prototype.connect = function connect() {
19722
+ var _this = this;
19723
+
19724
+ if (!this.client) {
19725
+ // 连接SockJS
19726
+ var socket = new sockjs_client__WEBPACK_IMPORTED_MODULE_0___default.a(this.host + this.url);
19727
+ // 获取STOMP子协议的客户端对象
19728
+ this.client = stompjs__WEBPACK_IMPORTED_MODULE_1___default.a.over(socket);
19729
+ }
19730
+
19731
+ // 日志不打印
19732
+ if (!this.debug) {
19733
+ console.log(111);
19734
+ this.client.debug = function () {};
19735
+ }
19736
+
19737
+ // 向服务器发起websocket连接
19738
+ this.client.connect({}, function () {
19739
+ _this.recon = true;
19740
+ // tryTimes定义重置
19741
+ _this.connects = 1;
19742
+ // 订阅消息
19743
+ _this.subscribe();
19744
+ }, function (error) {
19745
+ var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
19746
+ if (_this.connects > 5 && diffSecond < _this.interval) {
19747
+ _this.client.disconnect();
19748
+ _this.error && _this.error(error);
19749
+ } else {
19750
+ _this.reconTimeout = setTimeout(function () {
19751
+ _this.connect();
19752
+ _this.connects++;
19753
+ }, 5000);
19754
+ }
19755
+ });
19756
+ };
19757
+ /** 订阅服务端 */
19758
+
19759
+
19760
+ WebSocket.prototype.subscribe = function subscribe() {
19761
+ var _this2 = this;
19762
+
19763
+ // 订阅服务端提供的某个topic
19764
+ this.client.subscribe(this.take, function (response) {
19765
+ if (response && (_this2.callback || _this2.success)) {
19766
+ var callback = _this2.callback || _this2.success;
19767
+ callback(JSON.parse(response.body));
19768
+ }
19769
+ });
19770
+ };
19771
+
19772
+ /** 赋值、初始化socket */
19773
+
19774
+
19775
+ WebSocket.prototype.init = function init(option, vm) {
19776
+ for (var i in option) {
19777
+ this[i] = option[i];
19778
+ }
19779
+ this.vm = vm;
19780
+ // 初始化连接
19781
+ this.connect();
19782
+ };
19783
+
19784
+ /** 发送消息 */
19785
+
19786
+
19787
+ WebSocket.prototype.send = function send(data) {
19788
+ var _this3 = this;
19789
+
19790
+ if (this.recon) {
19791
+ clearTimeout(this.sendTimeout);
19792
+ this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
19793
+ } else {
19794
+ this.sendTimeout = setTimeout(function () {
19795
+ _this3.send(data);
19796
+ }, 1000);
19797
+ }
19798
+ };
19799
+
19800
+ /** 销毁 */
19801
+
19802
+
19803
+ WebSocket.prototype.destroy = function destroy() {
19804
+ // 断开连接,清除定时器
19805
+ if (this.client) {
19806
+ this.client.disconnect();
19807
+ };
19808
+ this.reconTimeout && clearTimeout(this.reconTimeout);
19809
+ this.sendTimeout && clearTimeout(this.sendTimeout);
19810
+ };
19811
+
19812
+ return WebSocket;
19813
+ }();
19814
+
19815
+ /* harmony default export */ __webpack_exports__["a"] = (WebSocket);
19816
+
19817
+ /***/ }),
19818
+
19819
+ /***/ 8:
19820
+ /***/ (function(module, exports) {
19821
+
19822
+ module.exports = require("sockjs-client");
19823
+
19824
+ /***/ }),
19825
+
19826
+ /***/ 9:
19827
+ /***/ (function(module, exports) {
19828
+
19829
+ module.exports = require("stompjs");
19830
+
19832
19831
  /***/ })
19833
- /******/ ]);
19832
+
19833
+ /******/ });
@@ -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 = 47);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 48);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -1250,6 +1250,21 @@ var getHour = function getHour(datetime) {
1250
1250
  return datetimeObj.getHours();
1251
1251
  };
1252
1252
 
1253
+ /**
1254
+ * getMyWinTop
1255
+ * @desc 获取同域的top窗口
1256
+ * @param {object} wind - window对象
1257
+ **/
1258
+ var getMyWinTop = function getMyWinTop(wind) {
1259
+ wind = wind ? wind : win;
1260
+ try {
1261
+ wind.parent.document;
1262
+ return getMyWinTop(wind.parent);
1263
+ } catch (error) {
1264
+ return wind;
1265
+ }
1266
+ };
1267
+
1253
1268
  /**
1254
1269
  * getWeekNumber
1255
1270
  * @desc 当年第几周
@@ -3003,6 +3018,7 @@ var watermark = function watermark(option) {
3003
3018
  getCurrentDate: getCurrentDate,
3004
3019
  getCurrentDateTime: getCurrentDateTime,
3005
3020
  getHour: getHour,
3021
+ getMyWinTop: getMyWinTop,
3006
3022
  getWeekNumber: getWeekNumber,
3007
3023
  getLength: getLength,
3008
3024
  getMainConfig: getMainConfig,
@@ -3563,14 +3579,14 @@ module.exports = require("qs");
3563
3579
 
3564
3580
  /***/ }),
3565
3581
 
3566
- /***/ 47:
3582
+ /***/ 48:
3567
3583
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3568
3584
 
3569
3585
  "use strict";
3570
3586
  // ESM COMPAT FLAG
3571
3587
  __webpack_require__.r(__webpack_exports__);
3572
3588
 
3573
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=0e0b2c4a&
3589
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=4616b35e&
3574
3590
  var render = function () {
3575
3591
  var _vm = this
3576
3592
  var _h = _vm.$createElement
@@ -3658,7 +3674,7 @@ var staticRenderFns = []
3658
3674
  render._withStripped = true
3659
3675
 
3660
3676
 
3661
- // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=0e0b2c4a&
3677
+ // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=4616b35e&
3662
3678
 
3663
3679
  // EXTERNAL MODULE: ./src/config/api.js
3664
3680
  var api = __webpack_require__(1);
@@ -3769,15 +3785,14 @@ var util = __webpack_require__(0);
3769
3785
  duration: 500,
3770
3786
  onClose: function onClose() {
3771
3787
  util["a" /* default */].removeStorage(['mainConfig', 'jump']);
3788
+ var win = void 0;
3772
3789
  try {
3773
- util["a" /* default */].win.top.location.reload();
3790
+ util["a" /* default */].win.top.document;
3791
+ win = util["a" /* default */].win.top;
3774
3792
  } catch (error) {
3775
- try {
3776
- util["a" /* default */].win.parent.location.reload();
3777
- } catch (error) {
3778
- util["a" /* default */].win.location.reload();
3779
- }
3793
+ win = util["a" /* default */].getMyWinTop();
3780
3794
  }
3795
+ win.location.reload();
3781
3796
  }
3782
3797
  });
3783
3798
  } else {
package/lib/handler.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 = 48);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 49);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -1250,6 +1250,21 @@ var getHour = function getHour(datetime) {
1250
1250
  return datetimeObj.getHours();
1251
1251
  };
1252
1252
 
1253
+ /**
1254
+ * getMyWinTop
1255
+ * @desc 获取同域的top窗口
1256
+ * @param {object} wind - window对象
1257
+ **/
1258
+ var getMyWinTop = function getMyWinTop(wind) {
1259
+ wind = wind ? wind : win;
1260
+ try {
1261
+ wind.parent.document;
1262
+ return getMyWinTop(wind.parent);
1263
+ } catch (error) {
1264
+ return wind;
1265
+ }
1266
+ };
1267
+
1253
1268
  /**
1254
1269
  * getWeekNumber
1255
1270
  * @desc 当年第几周
@@ -3003,6 +3018,7 @@ var watermark = function watermark(option) {
3003
3018
  getCurrentDate: getCurrentDate,
3004
3019
  getCurrentDateTime: getCurrentDateTime,
3005
3020
  getHour: getHour,
3021
+ getMyWinTop: getMyWinTop,
3006
3022
  getWeekNumber: getWeekNumber,
3007
3023
  getLength: getLength,
3008
3024
  getMainConfig: getMainConfig,
@@ -3535,14 +3551,14 @@ module.exports = require("qs");
3535
3551
 
3536
3552
  /***/ }),
3537
3553
 
3538
- /***/ 48:
3554
+ /***/ 49:
3539
3555
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3540
3556
 
3541
3557
  "use strict";
3542
3558
  // ESM COMPAT FLAG
3543
3559
  __webpack_require__.r(__webpack_exports__);
3544
3560
 
3545
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=25cdd07e&
3561
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=6f2ac1fb&
3546
3562
  var render = function () {
3547
3563
  var _vm = this
3548
3564
  var _h = _vm.$createElement
@@ -3745,7 +3761,7 @@ var staticRenderFns = []
3745
3761
  render._withStripped = true
3746
3762
 
3747
3763
 
3748
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=25cdd07e&
3764
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=6f2ac1fb&
3749
3765
 
3750
3766
  // EXTERNAL MODULE: ./src/config/api.js
3751
3767
  var api = __webpack_require__(1);
@@ -3903,7 +3919,10 @@ var util = __webpack_require__(0);
3903
3919
  type: Boolean,
3904
3920
  default: false
3905
3921
  },
3906
- maxHeight: String
3922
+ maxHeight: {
3923
+ type: String,
3924
+ default: '100%'
3925
+ }
3907
3926
  },
3908
3927
  watch: {
3909
3928
  subSystem: {
package/lib/icons.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 = 49);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 50);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -199,7 +199,7 @@ function normalizeComponent(
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 49:
202
+ /***/ 50:
203
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
204
 
205
205
  "use strict";