eoss-ui 0.7.28 → 0.7.30

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 (67) hide show
  1. package/lib/button-group.js +35 -10
  2. package/lib/button.js +35 -10
  3. package/lib/calogin.js +35 -10
  4. package/lib/checkbox-group.js +35 -10
  5. package/lib/data-table-form.js +35 -10
  6. package/lib/data-table.js +35 -10
  7. package/lib/date-picker.js +35 -10
  8. package/lib/dialog.js +35 -10
  9. package/lib/eoss-ui.common.js +580 -325
  10. package/lib/flow-group.js +35 -10
  11. package/lib/flow-list.js +35 -10
  12. package/lib/flow.js +198 -128
  13. package/lib/form.js +35 -10
  14. package/lib/handle-user.js +35 -10
  15. package/lib/handler.js +35 -10
  16. package/lib/icon.js +35 -10
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +35 -10
  19. package/lib/input.js +35 -10
  20. package/lib/login.js +41 -16
  21. package/lib/main.js +367 -156
  22. package/lib/menu.js +0 -1
  23. package/lib/nav.js +35 -10
  24. package/lib/page.js +35 -10
  25. package/lib/pagination.js +35 -10
  26. package/lib/player.js +35 -10
  27. package/lib/qr-code.js +35 -10
  28. package/lib/radio-group.js +35 -10
  29. package/lib/retrial-auth.js +35 -10
  30. package/lib/select-ganged.js +35 -10
  31. package/lib/select.js +35 -10
  32. package/lib/selector-panel.js +35 -10
  33. package/lib/selector.js +35 -10
  34. package/lib/sizer.js +35 -10
  35. package/lib/steps.js +35 -10
  36. package/lib/switch.js +35 -10
  37. package/lib/table-form.js +35 -10
  38. package/lib/tabs.js +35 -10
  39. package/lib/tips.js +35 -10
  40. package/lib/tree-group.js +35 -10
  41. package/lib/tree.js +35 -10
  42. package/lib/upload.js +35 -10
  43. package/lib/utils/util.js +31 -6
  44. package/lib/wujie.js +35 -10
  45. package/lib/wxlogin.js +35 -10
  46. package/package.json +1 -1
  47. package/packages/.DS_Store +0 -0
  48. package/packages/date-picker/.DS_Store +0 -0
  49. package/packages/flow/.DS_Store +0 -0
  50. package/packages/flow/src/.DS_Store +0 -0
  51. package/packages/flow/src/component/taskUnionExamine.vue +8 -8
  52. package/packages/flow/src/main.vue +6 -4
  53. package/packages/flow/src/processForm.vue +6 -4
  54. package/packages/flow-list/.DS_Store +0 -0
  55. package/packages/login/.DS_Store +0 -0
  56. package/packages/login/src/main.vue +4 -4
  57. package/packages/main/.DS_Store +0 -0
  58. package/packages/main/src/.DS_Store +0 -0
  59. package/packages/main/src/default/index.vue +2 -2
  60. package/packages/main/src/main.vue +165 -69
  61. package/packages/main/src/simplicity/index.vue +49 -6
  62. package/packages/main/src/simplicity/sub-menu.vue +3 -1
  63. package/packages/menu/.DS_Store +0 -0
  64. package/packages/menu/src/main.vue +0 -1
  65. package/src/.DS_Store +0 -0
  66. package/src/index.js +1 -1
  67. package/src/utils/util.js +31 -6
package/lib/flow.js CHANGED
@@ -122,8 +122,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
122
122
  **/
123
123
 
124
124
  /* eslint-disable indent */
125
- var sm2 = __webpack_require__(12).sm2;
126
- var lodash = __webpack_require__(13);
125
+ var sm2 = __webpack_require__(13).sm2;
126
+ var lodash = __webpack_require__(12);
127
127
 
128
128
 
129
129
 
@@ -132,6 +132,7 @@ var lodash = __webpack_require__(13);
132
132
 
133
133
 
134
134
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
135
+ var isIE = /MSIE|Trident/.test(navigator.userAgent);
135
136
  var parser = new ua_parser_js__WEBPACK_IMPORTED_MODULE_6__["UAParser"]();
136
137
  var $hueStep = 2;
137
138
  var $saturationStep1 = 0.16;
@@ -666,11 +667,20 @@ var busEmit = function busEmit(that, _ref3) {
666
667
  var method = _ref3.method,
667
668
  args = _ref3.args;
668
669
 
669
- var bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
670
- if (bus) {
671
- Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
670
+ if (isIE) {
671
+ var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
672
+ if (bus) {
673
+ Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
674
+ } else {
675
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
676
+ }
672
677
  } else {
673
- win.parent.postMessage({ method: method, query: args }, '*');
678
+ var _bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
679
+ if (_bus) {
680
+ Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args);
681
+ } else {
682
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
683
+ }
674
684
  }
675
685
  };
676
686
 
@@ -3510,7 +3520,6 @@ var setCookie = function setCookie(name, value) {
3510
3520
  var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3511
3521
  var time = arguments[3];
3512
3522
 
3513
- var isIE = /MSIE|Trident/.test(navigator.userAgent);
3514
3523
  try {
3515
3524
  var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
3516
3525
  ];
@@ -3597,6 +3606,20 @@ var removeCookie = function removeCookie(key) {
3597
3606
  }
3598
3607
  };
3599
3608
 
3609
+ var winTopOpen = function winTopOpen(config) {
3610
+ if (isIE) {
3611
+ if (win.top !== win.self) {
3612
+ try {
3613
+ win.top.windowOpen(config);
3614
+ } catch (error) {
3615
+ win.postMessage({ method: 'windowOpen', query: config }, '*');
3616
+ }
3617
+ }
3618
+ } else {
3619
+ busEmit('windowOpen', config);
3620
+ }
3621
+ };
3622
+
3600
3623
  /* harmony default export */ __webpack_exports__["a"] = ({
3601
3624
  ajax: ajax,
3602
3625
  ajaxStream: ajaxStream,
@@ -3650,6 +3673,7 @@ var removeCookie = function removeCookie(key) {
3650
3673
  isEmpty: isEmpty,
3651
3674
  isExist: isExist,
3652
3675
  isFunction: isFunction,
3676
+ isIE: isIE,
3653
3677
  isLogged: isLogged,
3654
3678
  isLogined: isLogined,
3655
3679
  isObject: isObject,
@@ -3689,7 +3713,8 @@ var removeCookie = function removeCookie(key) {
3689
3713
  urlJoinParams: urlJoinParams,
3690
3714
  uuid: uuid,
3691
3715
  watermark: watermark,
3692
- win: win
3716
+ win: win,
3717
+ winTopOpen: winTopOpen
3693
3718
  });
3694
3719
 
3695
3720
  /***/ }),
@@ -4413,13 +4438,13 @@ module.exports = require("ua-parser-js");
4413
4438
  /* 12 */
4414
4439
  /***/ (function(module, exports) {
4415
4440
 
4416
- module.exports = require("sm-crypto");
4441
+ module.exports = require("lodash");
4417
4442
 
4418
4443
  /***/ }),
4419
4444
  /* 13 */
4420
4445
  /***/ (function(module, exports) {
4421
4446
 
4422
- module.exports = require("lodash");
4447
+ module.exports = require("sm-crypto");
4423
4448
 
4424
4449
  /***/ }),
4425
4450
  /* 14 */,
@@ -4618,7 +4643,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4618
4643
  // ESM COMPAT FLAG
4619
4644
  __webpack_require__.r(__webpack_exports__);
4620
4645
 
4621
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=c935f720&
4646
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=6401a30b&
4622
4647
  var render = function () {
4623
4648
  var _vm = this
4624
4649
  var _h = _vm.$createElement
@@ -6201,74 +6226,93 @@ var render = function () {
6201
6226
  },
6202
6227
  },
6203
6228
  [
6204
- _c("es-select", {
6205
- staticStyle: {
6206
- width:
6207
- "50% !important",
6208
- display:
6209
- "inline-block",
6210
- },
6211
- attrs: {
6212
- placeholder: "请选择",
6213
- sysCode:
6214
- "bpm_custom_limit_time",
6215
- },
6216
- on: {
6217
- change:
6218
- _vm.handleChangeTime,
6219
- },
6220
- model: {
6221
- value:
6222
- _vm.nextNode
6223
- .customLimitTimeText,
6224
- callback: function (
6225
- $$v
6226
- ) {
6227
- _vm.$set(
6228
- _vm.nextNode,
6229
- "customLimitTimeText",
6230
- $$v
6231
- )
6232
- },
6233
- expression:
6234
- "nextNode.customLimitTimeText",
6235
- },
6236
- }),
6237
- _c("el-input", {
6238
- staticClass:
6239
- "input-with-select custom-limit-time",
6240
- staticStyle: {
6241
- width: "50%",
6242
- display:
6243
- "inline-block",
6244
- },
6245
- attrs: {
6246
- placeholder:
6247
- "请输入限时办理的天数",
6248
- },
6249
- on: {
6250
- change:
6251
- _vm.changeCustomLimitTime,
6252
- },
6253
- model: {
6254
- value:
6255
- _vm.nextNode
6256
- .customLimitTime,
6257
- callback: function (
6258
- $$v
6259
- ) {
6260
- _vm.$set(
6261
- _vm.nextNode,
6262
- "customLimitTime",
6263
- $$v
6264
- )
6229
+ _c(
6230
+ "div",
6231
+ {
6232
+ staticStyle: {
6233
+ display: "flex",
6234
+ width: "100%",
6265
6235
  },
6266
- expression:
6267
- "nextNode.customLimitTime",
6268
6236
  },
6269
- }),
6270
- ],
6271
- 1
6237
+ [
6238
+ _c("es-select", {
6239
+ staticStyle: {
6240
+ flex: "1 !important",
6241
+ display:
6242
+ "inline-block",
6243
+ },
6244
+ attrs: {
6245
+ placeholder:
6246
+ "请选择",
6247
+ sysCode:
6248
+ "bpm_custom_limit_time",
6249
+ },
6250
+ on: {
6251
+ change:
6252
+ _vm.handleChangeTime,
6253
+ },
6254
+ model: {
6255
+ value:
6256
+ _vm.nextNode
6257
+ .customLimitTimeText,
6258
+ callback:
6259
+ function ($$v) {
6260
+ _vm.$set(
6261
+ _vm.nextNode,
6262
+ "customLimitTimeText",
6263
+ $$v
6264
+ )
6265
+ },
6266
+ expression:
6267
+ "nextNode.customLimitTimeText",
6268
+ },
6269
+ }),
6270
+ _c("el-input", {
6271
+ staticClass:
6272
+ "input-with-select custom-limit-time",
6273
+ staticStyle: {
6274
+ flex: "1",
6275
+ display:
6276
+ "inline-block",
6277
+ },
6278
+ attrs: {
6279
+ placeholder:
6280
+ "请输入限时办理的天数",
6281
+ },
6282
+ on: {
6283
+ change:
6284
+ _vm.changeCustomLimitTime,
6285
+ },
6286
+ model: {
6287
+ value:
6288
+ _vm.nextNode
6289
+ .customLimitTime,
6290
+ callback:
6291
+ function ($$v) {
6292
+ _vm.$set(
6293
+ _vm.nextNode,
6294
+ "customLimitTime",
6295
+ $$v
6296
+ )
6297
+ },
6298
+ expression:
6299
+ "nextNode.customLimitTime",
6300
+ },
6301
+ }),
6302
+ _c(
6303
+ "span",
6304
+ {
6305
+ staticStyle: {
6306
+ "margin-left":
6307
+ "5px",
6308
+ },
6309
+ },
6310
+ [_vm._v("天")]
6311
+ ),
6312
+ ],
6313
+ 1
6314
+ ),
6315
+ ]
6272
6316
  )
6273
6317
  : _vm._e(),
6274
6318
  _vm.isHandleExplain == 1
@@ -7514,7 +7558,7 @@ var staticRenderFns = []
7514
7558
  render._withStripped = true
7515
7559
 
7516
7560
 
7517
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=c935f720&
7561
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=6401a30b&
7518
7562
 
7519
7563
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
7520
7564
  var regenerator_ = __webpack_require__(4);
@@ -8570,8 +8614,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
8570
8614
  )
8571
8615
 
8572
8616
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
8573
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=280a0570&
8574
- var processFormvue_type_template_id_280a0570_render = function () {
8617
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=ede024a0&
8618
+ var processFormvue_type_template_id_ede024a0_render = function () {
8575
8619
  var _vm = this
8576
8620
  var _h = _vm.$createElement
8577
8621
  var _c = _vm._self._c || _h
@@ -8972,42 +9016,61 @@ var processFormvue_type_template_id_280a0570_render = function () {
8972
9016
  },
8973
9017
  },
8974
9018
  [
8975
- _c("es-select", {
8976
- style:
8977
- "width: " +
8978
- (_vm.showBtn ? "20%" : "50%") +
8979
- " !important; display: inline-block;",
8980
- attrs: {
8981
- placeholder: "请选择",
8982
- sysCode: "bpm_custom_limit_time",
8983
- },
8984
- on: { change: _vm.handleChangeTime },
8985
- model: {
8986
- value: _vm.nextNode.customLimitTimeText,
8987
- callback: function ($$v) {
8988
- _vm.$set(_vm.nextNode, "customLimitTimeText", $$v)
8989
- },
8990
- expression: "nextNode.customLimitTimeText",
8991
- },
8992
- }),
8993
- _c("el-input", {
8994
- staticClass: "input-with-select custom-limit-time",
8995
- style:
8996
- "width: " +
8997
- (_vm.showBtn ? "20%" : "50%") +
8998
- " !important; display: inline-block;",
8999
- attrs: { placeholder: "请输入限时办理的天数" },
9000
- on: { change: _vm.changeCustomLimitTime },
9001
- model: {
9002
- value: _vm.nextNode.customLimitTime,
9003
- callback: function ($$v) {
9004
- _vm.$set(_vm.nextNode, "customLimitTime", $$v)
9005
- },
9006
- expression: "nextNode.customLimitTime",
9007
- },
9008
- }),
9009
- ],
9010
- 1
9019
+ _c(
9020
+ "div",
9021
+ { staticStyle: { display: "flex" } },
9022
+ [
9023
+ _c("es-select", {
9024
+ style:
9025
+ "flex:" +
9026
+ (_vm.showBtn ? "unset" : "1") +
9027
+ ";width: " +
9028
+ (_vm.showBtn ? "20%" : "unset") +
9029
+ " !important; display: inline-block;",
9030
+ attrs: {
9031
+ placeholder: "请选择",
9032
+ sysCode: "bpm_custom_limit_time",
9033
+ },
9034
+ on: { change: _vm.handleChangeTime },
9035
+ model: {
9036
+ value: _vm.nextNode.customLimitTimeText,
9037
+ callback: function ($$v) {
9038
+ _vm.$set(
9039
+ _vm.nextNode,
9040
+ "customLimitTimeText",
9041
+ $$v
9042
+ )
9043
+ },
9044
+ expression: "nextNode.customLimitTimeText",
9045
+ },
9046
+ }),
9047
+ _c("el-input", {
9048
+ staticClass: "input-with-select custom-limit-time",
9049
+ style:
9050
+ "flex:" +
9051
+ (_vm.showBtn ? "unset" : "1") +
9052
+ ";width: " +
9053
+ (_vm.showBtn ? "20%" : "unset") +
9054
+ " !important; display: inline-block;",
9055
+ attrs: { placeholder: "请输入限时办理的天数" },
9056
+ on: { change: _vm.changeCustomLimitTime },
9057
+ model: {
9058
+ value: _vm.nextNode.customLimitTime,
9059
+ callback: function ($$v) {
9060
+ _vm.$set(_vm.nextNode, "customLimitTime", $$v)
9061
+ },
9062
+ expression: "nextNode.customLimitTime",
9063
+ },
9064
+ }),
9065
+ _c(
9066
+ "span",
9067
+ { staticStyle: { "margin-left": "5px" } },
9068
+ [_vm._v("天")]
9069
+ ),
9070
+ ],
9071
+ 1
9072
+ ),
9073
+ ]
9011
9074
  )
9012
9075
  : _vm._e(),
9013
9076
  _vm.isHandleExplain == 1
@@ -9321,11 +9384,11 @@ var processFormvue_type_template_id_280a0570_render = function () {
9321
9384
  1
9322
9385
  )
9323
9386
  }
9324
- var processFormvue_type_template_id_280a0570_staticRenderFns = []
9325
- processFormvue_type_template_id_280a0570_render._withStripped = true
9387
+ var processFormvue_type_template_id_ede024a0_staticRenderFns = []
9388
+ processFormvue_type_template_id_ede024a0_render._withStripped = true
9326
9389
 
9327
9390
 
9328
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=280a0570&
9391
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=ede024a0&
9329
9392
 
9330
9393
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=4750588e&
9331
9394
  var selectUservue_type_template_id_4750588e_render = function () {
@@ -11205,6 +11268,8 @@ var processFormvue_type_script_lang_js_components;
11205
11268
  //
11206
11269
  //
11207
11270
  //
11271
+ //
11272
+ //
11208
11273
 
11209
11274
 
11210
11275
 
@@ -12115,8 +12180,8 @@ var processFormvue_type_script_lang_js_components;
12115
12180
 
12116
12181
  var processForm_component = Object(componentNormalizer["a" /* default */])(
12117
12182
  src_processFormvue_type_script_lang_js_,
12118
- processFormvue_type_template_id_280a0570_render,
12119
- processFormvue_type_template_id_280a0570_staticRenderFns,
12183
+ processFormvue_type_template_id_ede024a0_render,
12184
+ processFormvue_type_template_id_ede024a0_staticRenderFns,
12120
12185
  false,
12121
12186
  null,
12122
12187
  null,
@@ -16144,8 +16209,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
16144
16209
  )
16145
16210
 
16146
16211
  /* harmony default export */ var src_reset = (reset_component.exports);
16147
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=78ed4fb8&
16148
- var taskUnionExaminevue_type_template_id_78ed4fb8_render = function () {
16212
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=0b574a0b&
16213
+ var taskUnionExaminevue_type_template_id_0b574a0b_render = function () {
16149
16214
  var _vm = this
16150
16215
  var _h = _vm.$createElement
16151
16216
  var _c = _vm._self._c || _h
@@ -16331,6 +16396,9 @@ var taskUnionExaminevue_type_template_id_78ed4fb8_render = function () {
16331
16396
  expression: "infoList.customLimitTime",
16332
16397
  },
16333
16398
  }),
16399
+ _c("span", { staticStyle: { "margin-left": "5px" } }, [
16400
+ _vm._v("天"),
16401
+ ]),
16334
16402
  ],
16335
16403
  1
16336
16404
  )
@@ -16450,11 +16518,11 @@ var taskUnionExaminevue_type_template_id_78ed4fb8_render = function () {
16450
16518
  1
16451
16519
  )
16452
16520
  }
16453
- var taskUnionExaminevue_type_template_id_78ed4fb8_staticRenderFns = []
16454
- taskUnionExaminevue_type_template_id_78ed4fb8_render._withStripped = true
16521
+ var taskUnionExaminevue_type_template_id_0b574a0b_staticRenderFns = []
16522
+ taskUnionExaminevue_type_template_id_0b574a0b_render._withStripped = true
16455
16523
 
16456
16524
 
16457
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=78ed4fb8&
16525
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=0b574a0b&
16458
16526
 
16459
16527
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
16460
16528
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -17146,8 +17214,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
17146
17214
 
17147
17215
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
17148
17216
  component_taskUnionExaminevue_type_script_lang_js_,
17149
- taskUnionExaminevue_type_template_id_78ed4fb8_render,
17150
- taskUnionExaminevue_type_template_id_78ed4fb8_staticRenderFns,
17217
+ taskUnionExaminevue_type_template_id_0b574a0b_render,
17218
+ taskUnionExaminevue_type_template_id_0b574a0b_staticRenderFns,
17151
17219
  false,
17152
17220
  null,
17153
17221
  null,
@@ -24444,6 +24512,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
24444
24512
  //
24445
24513
  //
24446
24514
  //
24515
+ //
24516
+ //
24447
24517
 
24448
24518
 
24449
24519
 
package/lib/form.js CHANGED
@@ -122,8 +122,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
122
122
  **/
123
123
 
124
124
  /* eslint-disable indent */
125
- var sm2 = __webpack_require__(12).sm2;
126
- var lodash = __webpack_require__(13);
125
+ var sm2 = __webpack_require__(13).sm2;
126
+ var lodash = __webpack_require__(12);
127
127
 
128
128
 
129
129
 
@@ -132,6 +132,7 @@ var lodash = __webpack_require__(13);
132
132
 
133
133
 
134
134
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
135
+ var isIE = /MSIE|Trident/.test(navigator.userAgent);
135
136
  var parser = new ua_parser_js__WEBPACK_IMPORTED_MODULE_6__["UAParser"]();
136
137
  var $hueStep = 2;
137
138
  var $saturationStep1 = 0.16;
@@ -666,11 +667,20 @@ var busEmit = function busEmit(that, _ref3) {
666
667
  var method = _ref3.method,
667
668
  args = _ref3.args;
668
669
 
669
- var bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
670
- if (bus) {
671
- Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
670
+ if (isIE) {
671
+ var bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
672
+ if (bus) {
673
+ Array.isArray(args) ? bus.$emit.apply(bus, [method].concat(args)) : bus.$emit(method, args);
674
+ } else {
675
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
676
+ }
672
677
  } else {
673
- win.parent.postMessage({ method: method, query: args }, '*');
678
+ var _bus = win.$wujie ? win.$wujie.bus : that ? that.bus || that.$root.Bus || that.$root.$bus : null;
679
+ if (_bus) {
680
+ Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args);
681
+ } else {
682
+ win.parent.postMessage({ method: method, query: args, args: args }, '*');
683
+ }
674
684
  }
675
685
  };
676
686
 
@@ -3510,7 +3520,6 @@ var setCookie = function setCookie(name, value) {
3510
3520
  var isSession = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
3511
3521
  var time = arguments[3];
3512
3522
 
3513
- var isIE = /MSIE|Trident/.test(navigator.userAgent);
3514
3523
  try {
3515
3524
  var cookieParts = [encodeURIComponent(name) + '=' + encodeURIComponent(value), 'path=/' // 仅保留path设置,确保全站访问
3516
3525
  ];
@@ -3597,6 +3606,20 @@ var removeCookie = function removeCookie(key) {
3597
3606
  }
3598
3607
  };
3599
3608
 
3609
+ var winTopOpen = function winTopOpen(config) {
3610
+ if (isIE) {
3611
+ if (win.top !== win.self) {
3612
+ try {
3613
+ win.top.windowOpen(config);
3614
+ } catch (error) {
3615
+ win.postMessage({ method: 'windowOpen', query: config }, '*');
3616
+ }
3617
+ }
3618
+ } else {
3619
+ busEmit('windowOpen', config);
3620
+ }
3621
+ };
3622
+
3600
3623
  /* harmony default export */ __webpack_exports__["a"] = ({
3601
3624
  ajax: ajax,
3602
3625
  ajaxStream: ajaxStream,
@@ -3650,6 +3673,7 @@ var removeCookie = function removeCookie(key) {
3650
3673
  isEmpty: isEmpty,
3651
3674
  isExist: isExist,
3652
3675
  isFunction: isFunction,
3676
+ isIE: isIE,
3653
3677
  isLogged: isLogged,
3654
3678
  isLogined: isLogined,
3655
3679
  isObject: isObject,
@@ -3689,7 +3713,8 @@ var removeCookie = function removeCookie(key) {
3689
3713
  urlJoinParams: urlJoinParams,
3690
3714
  uuid: uuid,
3691
3715
  watermark: watermark,
3692
- win: win
3716
+ win: win,
3717
+ winTopOpen: winTopOpen
3693
3718
  });
3694
3719
 
3695
3720
  /***/ }),
@@ -4413,13 +4438,13 @@ module.exports = require("ua-parser-js");
4413
4438
  /* 12 */
4414
4439
  /***/ (function(module, exports) {
4415
4440
 
4416
- module.exports = require("sm-crypto");
4441
+ module.exports = require("lodash");
4417
4442
 
4418
4443
  /***/ }),
4419
4444
  /* 13 */
4420
4445
  /***/ (function(module, exports) {
4421
4446
 
4422
- module.exports = require("lodash");
4447
+ module.exports = require("sm-crypto");
4423
4448
 
4424
4449
  /***/ }),
4425
4450
  /* 14 */