eoss-ui 0.7.91 → 0.7.93

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 +45 -0
  2. package/lib/button.js +45 -0
  3. package/lib/calogin.js +45 -0
  4. package/lib/checkbox-group.js +45 -0
  5. package/lib/data-table-form.js +45 -0
  6. package/lib/data-table.js +58 -8
  7. package/lib/date-picker.js +45 -0
  8. package/lib/dialog.js +52 -11
  9. package/lib/eoss-ui.common.js +290 -175
  10. package/lib/flow-group.js +81 -12
  11. package/lib/flow-list.js +45 -0
  12. package/lib/flow.js +45 -0
  13. package/lib/form.js +45 -0
  14. package/lib/handle-user.js +45 -0
  15. package/lib/handler.js +45 -0
  16. package/lib/icon.js +45 -0
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +45 -0
  19. package/lib/input.js +45 -0
  20. package/lib/login.js +52 -6
  21. package/lib/main.js +160 -87
  22. package/lib/nav.js +45 -0
  23. package/lib/page.js +45 -0
  24. package/lib/pagination.js +48 -3
  25. package/lib/player.js +45 -0
  26. package/lib/qr-code.js +45 -0
  27. package/lib/radio-group.js +45 -0
  28. package/lib/retrial-auth.js +67 -6
  29. package/lib/select-ganged.js +45 -0
  30. package/lib/select.js +45 -0
  31. package/lib/selector-panel.js +45 -0
  32. package/lib/selector.js +45 -0
  33. package/lib/sizer.js +45 -0
  34. package/lib/steps.js +45 -0
  35. package/lib/switch.js +45 -0
  36. package/lib/table-form.js +45 -0
  37. package/lib/tabs.js +45 -0
  38. package/lib/tips.js +45 -0
  39. package/lib/tree-group.js +48 -3
  40. package/lib/tree.js +45 -0
  41. package/lib/upload.js +45 -0
  42. package/lib/utils/util.js +45 -0
  43. package/lib/wujie.js +45 -0
  44. package/lib/wxlogin.js +45 -0
  45. package/package.json +1 -1
  46. package/packages/.DS_Store +0 -0
  47. package/packages/data-table/src/main.vue +8 -4
  48. package/packages/dialog/.DS_Store +0 -0
  49. package/packages/dialog/src/main.vue +5 -11
  50. package/packages/flow/.DS_Store +0 -0
  51. package/packages/flow-group/src/main.vue +34 -12
  52. package/packages/flow-list/.DS_Store +0 -0
  53. package/packages/login/src/main.vue +2 -1
  54. package/packages/main/.DS_Store +0 -0
  55. package/packages/main/src/default/userinfo.vue +22 -14
  56. package/packages/main/src/main.vue +11 -12
  57. package/packages/main/src/simplicity/index.vue +19 -14
  58. package/packages/main/src/simplicity/userinfo.vue +18 -13
  59. package/packages/main/src/simplicityTop/index.vue +1 -1
  60. package/packages/main/src/simplicityTop/userinfo.vue +18 -13
  61. package/packages/pagination/src/main.vue +4 -4
  62. package/packages/retrial-auth/src/main.vue +23 -4
  63. package/packages/select/.DS_Store +0 -0
  64. package/packages/tree-group/src/main.vue +1 -2
  65. package/src/.DS_Store +0 -0
  66. package/src/index.js +1 -1
  67. package/src/utils/util.js +45 -0
@@ -3207,6 +3207,10 @@ var getWeekday = function getWeekday(date) {
3207
3207
  var getWinTop = function getWinTop(wind) {
3208
3208
  wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
3209
3209
  try {
3210
+ // 检查是否已经是顶层窗口,避免无限递归
3211
+ if (wind === wind.parent) {
3212
+ return wind;
3213
+ }
3210
3214
  wind.parent.document;
3211
3215
  return getWinTop(wind.parent);
3212
3216
  } catch (error) {
@@ -3214,6 +3218,46 @@ var getWinTop = function getWinTop(wind) {
3214
3218
  }
3215
3219
  };
3216
3220
 
3221
+ /**
3222
+ * getWinTopProperty
3223
+ * @desc 安全获取顶层窗口的属性,避免跨域访问错误
3224
+ * @param {string} propertyName - 要获取的属性名
3225
+ * @param {any} defaultValue - 默认值,当属性获取失败时返回
3226
+ * @return {any} 属性值或默认值
3227
+ **/
3228
+ var getWinTopProperty = function getWinTopProperty(propertyName, defaultValue) {
3229
+ // 1. 先尝试获取 window.top 的属性
3230
+ try {
3231
+ if (window.top && window.top[propertyName] !== undefined) {
3232
+ return window.top[propertyName];
3233
+ }
3234
+ } catch (topError) {}
3235
+ // window.top 跨域,继续尝试
3236
+
3237
+
3238
+ // 2. 尝试获取同源的最上层窗口的属性
3239
+ try {
3240
+ var sameOriginTop = getWinTop();
3241
+ if (sameOriginTop && sameOriginTop[propertyName] !== undefined) {
3242
+ return sameOriginTop[propertyName];
3243
+ }
3244
+ } catch (sameOriginError) {}
3245
+ // 同源最上层窗口获取失败,继续尝试
3246
+
3247
+
3248
+ // 3. 尝试获取当前窗口的属性
3249
+ try {
3250
+ if (window[propertyName] !== undefined) {
3251
+ return window[propertyName];
3252
+ }
3253
+ } catch (currentWinError) {}
3254
+ // 当前窗口获取失败,返回默认值
3255
+
3256
+
3257
+ // 4. 所有尝试都失败,返回默认值
3258
+ return defaultValue;
3259
+ };
3260
+
3217
3261
  /**
3218
3262
  * getZoom
3219
3263
  * @desc 获取缩放比
@@ -4959,6 +5003,7 @@ var winTopOpen = function winTopOpen(config) {
4959
5003
  getValues: util_getValues,
4960
5004
  getWeekday: getWeekday,
4961
5005
  getWinTop: getWinTop,
5006
+ getWinTopProperty: getWinTopProperty,
4962
5007
  handlerUrl: util_handlerUrl,
4963
5008
  hasChars: hasChars,
4964
5009
  hasClass: hasClass,
@@ -9754,8 +9799,8 @@ clients_src_main.install = function (Vue) {
9754
9799
  };
9755
9800
 
9756
9801
  /* harmony default export */ var clients = (clients_src_main);
9757
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=0602cb50&
9758
- var mainvue_type_template_id_0602cb50_render = function () {
9802
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=40d1bd38&
9803
+ var mainvue_type_template_id_40d1bd38_render = function () {
9759
9804
  var _vm = this
9760
9805
  var _h = _vm.$createElement
9761
9806
  var _c = _vm._self._c || _h
@@ -10156,11 +10201,11 @@ var mainvue_type_template_id_0602cb50_render = function () {
10156
10201
  1
10157
10202
  )
10158
10203
  }
10159
- var mainvue_type_template_id_0602cb50_staticRenderFns = []
10160
- mainvue_type_template_id_0602cb50_render._withStripped = true
10204
+ var mainvue_type_template_id_40d1bd38_staticRenderFns = []
10205
+ mainvue_type_template_id_40d1bd38_render._withStripped = true
10161
10206
 
10162
10207
 
10163
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=0602cb50&
10208
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=40d1bd38&
10164
10209
 
10165
10210
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=271bb842&
10166
10211
  var childrenvue_type_template_id_271bb842_render = function () {
@@ -12534,7 +12579,7 @@ var data_table_src_mainvue_type_script_lang_js_extends = Object.assign || functi
12534
12579
 
12535
12580
 
12536
12581
 
12537
- var systemMode = utils_util.getWinTop().systemMode || utils_util.win.systemMode || 'default';
12582
+ var systemMode = utils_util.getWinTopProperty('systemMode', 'default');
12538
12583
  var pageView = utils_util.getParams('pageView');
12539
12584
  /* harmony default export */ var data_table_src_mainvue_type_script_lang_js_ = ({
12540
12585
  name: 'EsDataTable',
@@ -13150,7 +13195,12 @@ var pageView = utils_util.getParams('pageView');
13150
13195
  },
13151
13196
  showEditPage: function showEditPage(val) {
13152
13197
  if (val === false) {
13153
- utils_util.getwintop().refresh();
13198
+ try {
13199
+ var topWin = utils_util.getWinTop();
13200
+ topWin.refresh();
13201
+ } catch (error) {
13202
+ console.warn('Failed to refresh page:', error);
13203
+ }
13154
13204
  }
13155
13205
  }
13156
13206
  },
@@ -13175,7 +13225,7 @@ var pageView = utils_util.getParams('pageView');
13175
13225
  }
13176
13226
  this.list.length && this.checkSelect(this.checked);
13177
13227
  this.resetHeight();
13178
- if (utils_util.getwintop() != utils_util.win.self) {
13228
+ if (utils_util.getWinTop() != utils_util.win.self) {
13179
13229
  utils_util.win.onresize = Object(external_throttle_debounce_["throttle"])(500, this.resetHeight);
13180
13230
  }
13181
13231
  },
@@ -14037,8 +14087,8 @@ var pageView = utils_util.getParams('pageView');
14037
14087
 
14038
14088
  var data_table_src_main_component = normalizeComponent(
14039
14089
  packages_data_table_src_mainvue_type_script_lang_js_,
14040
- mainvue_type_template_id_0602cb50_render,
14041
- mainvue_type_template_id_0602cb50_staticRenderFns,
14090
+ mainvue_type_template_id_40d1bd38_render,
14091
+ mainvue_type_template_id_40d1bd38_staticRenderFns,
14042
14092
  false,
14043
14093
  null,
14044
14094
  null,
@@ -16175,8 +16225,8 @@ date_picker_src_main.install = function (Vue) {
16175
16225
  };
16176
16226
 
16177
16227
  /* harmony default export */ var date_picker = (date_picker_src_main);
16178
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=6356d186&
16179
- var mainvue_type_template_id_6356d186_render = function () {
16228
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=4d7df4c6&
16229
+ var mainvue_type_template_id_4d7df4c6_render = function () {
16180
16230
  var _vm = this
16181
16231
  var _h = _vm.$createElement
16182
16232
  var _c = _vm._self._c || _h
@@ -16690,11 +16740,11 @@ var mainvue_type_template_id_6356d186_render = function () {
16690
16740
  2
16691
16741
  )
16692
16742
  }
16693
- var mainvue_type_template_id_6356d186_staticRenderFns = []
16694
- mainvue_type_template_id_6356d186_render._withStripped = true
16743
+ var mainvue_type_template_id_4d7df4c6_staticRenderFns = []
16744
+ mainvue_type_template_id_4d7df4c6_render._withStripped = true
16695
16745
 
16696
16746
 
16697
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=6356d186&
16747
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=4d7df4c6&
16698
16748
 
16699
16749
  // EXTERNAL MODULE: external "wujie-vue2"
16700
16750
  var external_wujie_vue2_ = __webpack_require__(2);
@@ -16977,8 +17027,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
16977
17027
 
16978
17028
  var availWidth = 0;
16979
17029
  var availHeight = 0;
16980
- availWidth = utils_util.getWinTop().document.body.offsetWidth - 260;
16981
- availHeight = utils_util.getWinTop().document.body.offsetHeight - 60;
17030
+ var wind = utils_util.getWinTop();
17031
+ availWidth = wind.document.body.offsetWidth - 260;
17032
+ availHeight = wind.document.body.offsetHeight - 60;
17033
+ var mainvue_type_script_lang_js_systemMode = wind.systemMode || utils_util.win.systemMode || 'default';
16982
17034
  /* harmony default export */ var dialog_src_mainvue_type_script_lang_js_ = ({
16983
17035
  name: 'EsDialog',
16984
17036
  inheritAttrs: false,
@@ -17003,13 +17055,7 @@ availHeight = utils_util.getWinTop().document.body.offsetHeight - 60;
17003
17055
  props: {
17004
17056
  mode: {
17005
17057
  type: String,
17006
- default: function _default() {
17007
- try {
17008
- return utils_util.getWinTop().systemMode || utils_util.win.systemMode || 'default';
17009
- } catch (e) {
17010
- return utils_util.win.systemMode || 'default';
17011
- }
17012
- }
17058
+ default: mainvue_type_script_lang_js_systemMode
17013
17059
  },
17014
17060
  title: String,
17015
17061
  busEvent: String,
@@ -17265,8 +17311,8 @@ availHeight = utils_util.getWinTop().document.body.offsetHeight - 60;
17265
17311
 
17266
17312
  var dialog_src_main_component = normalizeComponent(
17267
17313
  packages_dialog_src_mainvue_type_script_lang_js_,
17268
- mainvue_type_template_id_6356d186_render,
17269
- mainvue_type_template_id_6356d186_staticRenderFns,
17314
+ mainvue_type_template_id_4d7df4c6_render,
17315
+ mainvue_type_template_id_4d7df4c6_staticRenderFns,
17270
17316
  false,
17271
17317
  null,
17272
17318
  null,
@@ -51791,8 +51837,8 @@ flow_src_main.install = function (Vue) {
51791
51837
  };
51792
51838
 
51793
51839
  /* harmony default export */ var packages_flow = (flow_src_main);
51794
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=0192cc7c&
51795
- var mainvue_type_template_id_0192cc7c_render = function () {
51840
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=31ce53a2&
51841
+ var mainvue_type_template_id_31ce53a2_render = function () {
51796
51842
  var _vm = this
51797
51843
  var _h = _vm.$createElement
51798
51844
  var _c = _vm._self._c || _h
@@ -53054,11 +53100,11 @@ var mainvue_type_template_id_0192cc7c_render = function () {
53054
53100
  2
53055
53101
  )
53056
53102
  }
53057
- var mainvue_type_template_id_0192cc7c_staticRenderFns = []
53058
- mainvue_type_template_id_0192cc7c_render._withStripped = true
53103
+ var mainvue_type_template_id_31ce53a2_staticRenderFns = []
53104
+ mainvue_type_template_id_31ce53a2_render._withStripped = true
53059
53105
 
53060
53106
 
53061
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=0192cc7c&
53107
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=31ce53a2&
53062
53108
 
53063
53109
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=script&lang=js&
53064
53110
  var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -53731,13 +53777,25 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
53731
53777
  utils_util.busEmit(this, flow_group_src_mainvue_type_script_lang_js_extends({
53732
53778
  method: 'windowClose'
53733
53779
  }, JSON.parse(windowOpenConfig)));
53734
- utils_util.getWinTop().windowClose(JSON.parse(windowOpenConfig));
53780
+ try {
53781
+ var topWin = utils_util.getWinTop();
53782
+ topWin.windowClose(JSON.parse(windowOpenConfig));
53783
+ } catch (error) {
53784
+ console.warn('Failed to call windowClose:', error);
53785
+ }
53735
53786
  } else if (this.closeDialog && this.esDialog) {
53736
53787
  this.esDialog.handleClose();
53737
- } else if (utils_util.getWinTop().COOS_SDK) {
53738
- utils_util.getWinTop().COOS_SDK.closePopup && utils_util.getWinTop().COOS_SDK.closePopup();
53739
- } else if (utils_util.getWinTop().opener) {
53740
- utils_util.getWinTop().close();
53788
+ } else {
53789
+ try {
53790
+ var _topWin = utils_util.getWinTop();
53791
+ if (_topWin.COOS_SDK) {
53792
+ _topWin.COOS_SDK.closePopup && _topWin.COOS_SDK.closePopup();
53793
+ } else if (_topWin.opener) {
53794
+ _topWin.close();
53795
+ }
53796
+ } catch (error) {
53797
+ console.warn('Failed to close window/popup:', error);
53798
+ }
53741
53799
  }
53742
53800
  if (this.events && this.events.success) {
53743
53801
  this.events.success();
@@ -53750,13 +53808,25 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
53750
53808
  utils_util.busEmit(this, flow_group_src_mainvue_type_script_lang_js_extends({
53751
53809
  method: 'windowClose'
53752
53810
  }, JSON.parse(windowOpenConfig)));
53753
- utils_util.getWinTop().windowClose(JSON.parse(windowOpenConfig));
53811
+ try {
53812
+ var topWin = utils_util.getWinTop();
53813
+ topWin.windowClose(JSON.parse(windowOpenConfig));
53814
+ } catch (error) {
53815
+ console.warn('Failed to call windowClose:', error);
53816
+ }
53754
53817
  } else if (this.closeDialog && this.esDialog) {
53755
53818
  this.esDialog.handleClose();
53756
- } else if (utils_util.getWinTop().COOS_SDK) {
53757
- utils_util.getWinTop().COOS_SDK.closePopup && utils_util.getWinTop().COOS_SDK.closePopup();
53758
- } else if (utils_util.getWinTop().opener) {
53759
- utils_util.getWinTop().close();
53819
+ } else {
53820
+ try {
53821
+ var _topWin2 = utils_util.getWinTop();
53822
+ if (_topWin2.COOS_SDK) {
53823
+ _topWin2.COOS_SDK.closePopup && _topWin2.COOS_SDK.closePopup();
53824
+ } else if (_topWin2.opener) {
53825
+ _topWin2.close();
53826
+ }
53827
+ } catch (error) {
53828
+ console.warn('Failed to close window/popup:', error);
53829
+ }
53760
53830
  }
53761
53831
  this.events && this.events.save(id, event);
53762
53832
  this.$emit('save', id, event);
@@ -53782,8 +53852,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
53782
53852
 
53783
53853
  var flow_group_src_main_component = normalizeComponent(
53784
53854
  packages_flow_group_src_mainvue_type_script_lang_js_,
53785
- mainvue_type_template_id_0192cc7c_render,
53786
- mainvue_type_template_id_0192cc7c_staticRenderFns,
53855
+ mainvue_type_template_id_31ce53a2_render,
53856
+ mainvue_type_template_id_31ce53a2_staticRenderFns,
53787
53857
  false,
53788
53858
  null,
53789
53859
  null,
@@ -58959,8 +59029,8 @@ layout_src_main.install = function (Vue) {
58959
59029
  };
58960
59030
 
58961
59031
  /* harmony default export */ var packages_layout = (layout_src_main);
58962
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=45b4dd07&
58963
- var mainvue_type_template_id_45b4dd07_render = function () {
59032
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=0256ead2&
59033
+ var mainvue_type_template_id_0256ead2_render = function () {
58964
59034
  var _vm = this
58965
59035
  var _h = _vm.$createElement
58966
59036
  var _c = _vm._self._c || _h
@@ -60234,7 +60304,7 @@ var mainvue_type_template_id_45b4dd07_render = function () {
60234
60304
  )
60235
60305
  : _vm._e()
60236
60306
  }
60237
- var mainvue_type_template_id_45b4dd07_staticRenderFns = [
60307
+ var mainvue_type_template_id_0256ead2_staticRenderFns = [
60238
60308
  function () {
60239
60309
  var _vm = this
60240
60310
  var _h = _vm.$createElement
@@ -60249,10 +60319,10 @@ var mainvue_type_template_id_45b4dd07_staticRenderFns = [
60249
60319
  ])
60250
60320
  },
60251
60321
  ]
60252
- mainvue_type_template_id_45b4dd07_render._withStripped = true
60322
+ mainvue_type_template_id_0256ead2_render._withStripped = true
60253
60323
 
60254
60324
 
60255
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=45b4dd07&
60325
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=0256ead2&
60256
60326
 
60257
60327
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=325dc074&
60258
60328
  var resetPasswordvue_type_template_id_325dc074_render = function () {
@@ -62286,7 +62356,7 @@ var mainvue_type_script_lang_js_params = utils_util.getParams();
62286
62356
  isMarkdown = regex.test(content);
62287
62357
 
62288
62358
  if (!isMarkdown) {
62289
- _context2.next = 8;
62359
+ _context2.next = 9;
62290
62360
  break;
62291
62361
  }
62292
62362
 
@@ -62296,9 +62366,10 @@ var mainvue_type_script_lang_js_params = utils_util.getParams();
62296
62366
  case 6:
62297
62367
  content = _context2.sent;
62298
62368
 
62299
- content = _this7.renderMarkdown(content);
62369
+ console.log(content);
62370
+ content = content ? _this7.renderMarkdown(content) : content;
62300
62371
 
62301
- case 8:
62372
+ case 9:
62302
62373
  _this7.$alert(content, title, login_src_mainvue_type_script_lang_js_extends({
62303
62374
  dangerouslyUseHTMLString: isMarkdown,
62304
62375
  setHeight: isMarkdown,
@@ -62309,7 +62380,7 @@ var mainvue_type_script_lang_js_params = utils_util.getParams();
62309
62380
  _this7.alertCallback(0, login_src_mainvue_type_script_lang_js_extends({ content: content, title: title }, config));
62310
62381
  });
62311
62382
 
62312
- case 9:
62383
+ case 10:
62313
62384
  case 'end':
62314
62385
  return _context2.stop();
62315
62386
  }
@@ -62861,8 +62932,8 @@ var mainvue_type_script_lang_js_params = utils_util.getParams();
62861
62932
 
62862
62933
  var login_src_main_component = normalizeComponent(
62863
62934
  packages_login_src_mainvue_type_script_lang_js_,
62864
- mainvue_type_template_id_45b4dd07_render,
62865
- mainvue_type_template_id_45b4dd07_staticRenderFns,
62935
+ mainvue_type_template_id_0256ead2_render,
62936
+ mainvue_type_template_id_0256ead2_staticRenderFns,
62866
62937
  false,
62867
62938
  null,
62868
62939
  null,
@@ -62879,8 +62950,8 @@ login_src_main.install = function (Vue) {
62879
62950
  };
62880
62951
 
62881
62952
  /* harmony default export */ var login = (login_src_main);
62882
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=4e6a76ca&
62883
- var mainvue_type_template_id_4e6a76ca_render = function () {
62953
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=3dbf95b9&
62954
+ var mainvue_type_template_id_3dbf95b9_render = function () {
62884
62955
  var _vm = this
62885
62956
  var _h = _vm.$createElement
62886
62957
  var _c = _vm._self._c || _h
@@ -63026,14 +63097,14 @@ var mainvue_type_template_id_4e6a76ca_render = function () {
63026
63097
  )
63027
63098
  : _vm._e()
63028
63099
  }
63029
- var mainvue_type_template_id_4e6a76ca_staticRenderFns = []
63030
- mainvue_type_template_id_4e6a76ca_render._withStripped = true
63100
+ var mainvue_type_template_id_3dbf95b9_staticRenderFns = []
63101
+ mainvue_type_template_id_3dbf95b9_render._withStripped = true
63031
63102
 
63032
63103
 
63033
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=4e6a76ca&
63104
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=3dbf95b9&
63034
63105
 
63035
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=4f7a89eb&scoped=true&
63036
- var simplicityvue_type_template_id_4f7a89eb_scoped_true_render = function () {
63106
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=8605940a&scoped=true&
63107
+ var simplicityvue_type_template_id_8605940a_scoped_true_render = function () {
63037
63108
  var _vm = this
63038
63109
  var _h = _vm.$createElement
63039
63110
  var _c = _vm._self._c || _h
@@ -63799,11 +63870,11 @@ var simplicityvue_type_template_id_4f7a89eb_scoped_true_render = function () {
63799
63870
  ),
63800
63871
  ])
63801
63872
  }
63802
- var simplicityvue_type_template_id_4f7a89eb_scoped_true_staticRenderFns = []
63803
- simplicityvue_type_template_id_4f7a89eb_scoped_true_render._withStripped = true
63873
+ var simplicityvue_type_template_id_8605940a_scoped_true_staticRenderFns = []
63874
+ simplicityvue_type_template_id_8605940a_scoped_true_render._withStripped = true
63804
63875
 
63805
63876
 
63806
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=4f7a89eb&scoped=true&
63877
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=8605940a&scoped=true&
63807
63878
 
63808
63879
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
63809
63880
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -66044,8 +66115,8 @@ uservue_type_template_id_6bbe7986_scoped_true_render._withStripped = true
66044
66115
 
66045
66116
  // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=6bbe7986&scoped=true&
66046
66117
 
66047
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=14462712&
66048
- var userinfovue_type_template_id_14462712_render = function () {
66118
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=2c473ee6&
66119
+ var userinfovue_type_template_id_2c473ee6_render = function () {
66049
66120
  var _vm = this
66050
66121
  var _h = _vm.$createElement
66051
66122
  var _c = _vm._self._c || _h
@@ -66069,11 +66140,11 @@ var userinfovue_type_template_id_14462712_render = function () {
66069
66140
  2
66070
66141
  )
66071
66142
  }
66072
- var userinfovue_type_template_id_14462712_staticRenderFns = []
66073
- userinfovue_type_template_id_14462712_render._withStripped = true
66143
+ var userinfovue_type_template_id_2c473ee6_staticRenderFns = []
66144
+ userinfovue_type_template_id_2c473ee6_render._withStripped = true
66074
66145
 
66075
66146
 
66076
- // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=14462712&
66147
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=2c473ee6&
66077
66148
 
66078
66149
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=script&lang=js&
66079
66150
  var userinfovue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -66337,10 +66408,11 @@ var userinfovue_type_script_lang_js_props;
66337
66408
  }).then(function () {
66338
66409
  var loginPage = utils_util.getStorage('login') || utils_util.getStorage('loginPage');
66339
66410
  try {
66411
+ var topWin = utils_util.getWinTop();
66340
66412
  if (loginPage) {
66341
66413
  var src = void 0;
66342
66414
  if (!utils_util.startWith(loginPage, ['http', '/'], true)) {
66343
- var pathname = utils_util.getWinTop().location.pathname;
66415
+ var pathname = topWin.location.pathname;
66344
66416
  if (pathname !== '/') {
66345
66417
  pathname = pathname.split('/');
66346
66418
  pathname.splice(pathname.length - 1);
@@ -66352,20 +66424,25 @@ var userinfovue_type_script_lang_js_props;
66352
66424
  } else {
66353
66425
  src = loginPage;
66354
66426
  }
66355
- utils_util.getWinTop().location.href = src;
66356
- } else if (utils_util.getWinTop().location.href.indexOf('main.html') > -1) {
66357
- utils_util.getWinTop().location.href = './login.html';
66427
+ topWin.location.href = src;
66428
+ } else if (topWin.location.href.indexOf('main.html') > -1) {
66429
+ topWin.location.href = './login.html';
66358
66430
  } else {
66359
- var hash = utils_util.getWinTop().location.hash;
66431
+ var hash = topWin.location.hash;
66360
66432
  if (hash) {
66361
- var len = utils_util.getWinTop().location.href.indexOf(hash);
66362
- utils_util.getWinTop().location.href = utils_util.win.location.href.slice(0, len) + '#/login';
66433
+ var len = topWin.location.href.indexOf(hash);
66434
+ topWin.location.href = utils_util.win.location.href.slice(0, len) + '#/login';
66363
66435
  } else {
66364
- utils_util.getWinTop().location.href = '/login.html';
66436
+ topWin.location.href = '/login.html';
66365
66437
  }
66366
66438
  }
66367
66439
  } catch (error) {
66368
- utils_util.getWinTop().postMessage({ type: 1 }, '*');
66440
+ console.warn('Failed to handle login redirect:', error);
66441
+ try {
66442
+ utils_util.getWinTop().postMessage({ type: 1 }, '*');
66443
+ } catch (postMessageError) {
66444
+ console.warn('Failed to send postMessage:', postMessageError);
66445
+ }
66369
66446
  }
66370
66447
  }).catch(function (e) {});
66371
66448
  } else {
@@ -66405,8 +66482,8 @@ var userinfovue_type_script_lang_js_props;
66405
66482
 
66406
66483
  var userinfo_component = normalizeComponent(
66407
66484
  simplicity_userinfovue_type_script_lang_js_,
66408
- userinfovue_type_template_id_14462712_render,
66409
- userinfovue_type_template_id_14462712_staticRenderFns,
66485
+ userinfovue_type_template_id_2c473ee6_render,
66486
+ userinfovue_type_template_id_2c473ee6_staticRenderFns,
66410
66487
  false,
66411
66488
  null,
66412
66489
  null,
@@ -69807,7 +69884,7 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
69807
69884
 
69808
69885
 
69809
69886
  var simplicityvue_type_script_lang_js_isIE = /MSIE|Trident/.test(navigator.userAgent);
69810
- var simplicityvue_type_script_lang_js_systemMode = utils_util.win.systemMode || 'default';
69887
+ var simplicityvue_type_script_lang_js_systemMode = utils_util.getWinTopProperty('systemMode', 'default');
69811
69888
 
69812
69889
  var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
69813
69890
  var tab = tabs[index];
@@ -71434,10 +71511,11 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71434
71511
  } else {
71435
71512
  try {
71436
71513
  var loginPage = utils_util.getStorage('login') || utils_util.getStorage('loginPage');
71514
+ var topWin = utils_util.getWinTop();
71437
71515
  if (loginPage) {
71438
71516
  var _src = void 0;
71439
71517
  if (!utils_util.startWith(loginPage, ['http', '/'], true)) {
71440
- var pathname = utils_util.getWinTop().location.pathname;
71518
+ var pathname = topWin.location.pathname;
71441
71519
  if (pathname !== '/') {
71442
71520
  pathname = pathname.split('/');
71443
71521
  pathname.splice(pathname.length - 1);
@@ -71449,20 +71527,25 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71449
71527
  } else {
71450
71528
  _src = loginPage;
71451
71529
  }
71452
- utils_util.getWinTop().location.href = _src;
71453
- } else if (utils_util.getWinTop().location.href.indexOf('main.html') > -1) {
71454
- utils_util.getWinTop().location.href = './login.html';
71530
+ topWin.location.href = _src;
71531
+ } else if (topWin.location.href.indexOf('main.html') > -1) {
71532
+ topWin.location.href = './login.html';
71455
71533
  } else {
71456
- var hash = utils_util.getWinTop().location.hash;
71534
+ var hash = topWin.location.hash;
71457
71535
  if (hash) {
71458
- var len = utils_util.getWinTop().location.href.indexOf(hash);
71459
- utils_util.getWinTop().location.href = utils_util.win.location.href.slice(0, len) + '#/login';
71536
+ var len = topWin.location.href.indexOf(hash);
71537
+ topWin.location.href = utils_util.win.location.href.slice(0, len) + '#/login';
71460
71538
  } else {
71461
- utils_util.getWinTop().location.href = '/login.html';
71539
+ topWin.location.href = '/login.html';
71462
71540
  }
71463
71541
  }
71464
71542
  } catch (error) {
71465
- utils_util.getWinTop().postMessage({ type: 1 }, '*');
71543
+ console.warn('Failed to handle login redirect:', error);
71544
+ try {
71545
+ utils_util.getWinTop().postMessage({ type: 1 }, '*');
71546
+ } catch (postMessageError) {
71547
+ console.warn('Failed to send postMessage:', postMessageError);
71548
+ }
71466
71549
  }
71467
71550
  }
71468
71551
  }
@@ -71651,18 +71734,18 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71651
71734
 
71652
71735
  var simplicity_component = normalizeComponent(
71653
71736
  src_simplicityvue_type_script_lang_js_,
71654
- simplicityvue_type_template_id_4f7a89eb_scoped_true_render,
71655
- simplicityvue_type_template_id_4f7a89eb_scoped_true_staticRenderFns,
71737
+ simplicityvue_type_template_id_8605940a_scoped_true_render,
71738
+ simplicityvue_type_template_id_8605940a_scoped_true_staticRenderFns,
71656
71739
  false,
71657
71740
  null,
71658
- "4f7a89eb",
71741
+ "8605940a",
71659
71742
  null
71660
71743
 
71661
71744
  )
71662
71745
 
71663
71746
  /* harmony default export */ var simplicity = (simplicity_component.exports);
71664
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=58443c19&scoped=true&
71665
- var simplicityTopvue_type_template_id_58443c19_scoped_true_render = function () {
71747
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=20c08436&scoped=true&
71748
+ var simplicityTopvue_type_template_id_20c08436_scoped_true_render = function () {
71666
71749
  var _vm = this
71667
71750
  var _h = _vm.$createElement
71668
71751
  var _c = _vm._self._c || _h
@@ -72229,11 +72312,11 @@ var simplicityTopvue_type_template_id_58443c19_scoped_true_render = function ()
72229
72312
  1
72230
72313
  )
72231
72314
  }
72232
- var simplicityTopvue_type_template_id_58443c19_scoped_true_staticRenderFns = []
72233
- simplicityTopvue_type_template_id_58443c19_scoped_true_render._withStripped = true
72315
+ var simplicityTopvue_type_template_id_20c08436_scoped_true_staticRenderFns = []
72316
+ simplicityTopvue_type_template_id_20c08436_scoped_true_render._withStripped = true
72234
72317
 
72235
72318
 
72236
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=58443c19&scoped=true&
72319
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=20c08436&scoped=true&
72237
72320
 
72238
72321
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/avatar.vue?vue&type=template&id=30391b69&scoped=true&
72239
72322
  var avatarvue_type_template_id_30391b69_scoped_true_render = function () {
@@ -72880,8 +72963,8 @@ uservue_type_template_id_22bc2a9d_scoped_true_render._withStripped = true
72880
72963
 
72881
72964
  // CONCATENATED MODULE: ./packages/main/src/simplicityTop/user.vue?vue&type=template&id=22bc2a9d&scoped=true&
72882
72965
 
72883
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/userinfo.vue?vue&type=template&id=a05f8be4&
72884
- var userinfovue_type_template_id_a05f8be4_render = function () {
72966
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/userinfo.vue?vue&type=template&id=664c5306&
72967
+ var userinfovue_type_template_id_664c5306_render = function () {
72885
72968
  var _vm = this
72886
72969
  var _h = _vm.$createElement
72887
72970
  var _c = _vm._self._c || _h
@@ -72905,11 +72988,11 @@ var userinfovue_type_template_id_a05f8be4_render = function () {
72905
72988
  2
72906
72989
  )
72907
72990
  }
72908
- var userinfovue_type_template_id_a05f8be4_staticRenderFns = []
72909
- userinfovue_type_template_id_a05f8be4_render._withStripped = true
72991
+ var userinfovue_type_template_id_664c5306_staticRenderFns = []
72992
+ userinfovue_type_template_id_664c5306_render._withStripped = true
72910
72993
 
72911
72994
 
72912
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/userinfo.vue?vue&type=template&id=a05f8be4&
72995
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/userinfo.vue?vue&type=template&id=664c5306&
72913
72996
 
72914
72997
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/userinfo.vue?vue&type=script&lang=js&
72915
72998
  var simplicityTop_userinfovue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -73173,10 +73256,11 @@ var simplicityTop_userinfovue_type_script_lang_js_props;
73173
73256
  }).then(function () {
73174
73257
  var loginPage = utils_util.getStorage('login') || utils_util.getStorage('loginPage');
73175
73258
  try {
73259
+ var topWin = utils_util.getWinTop();
73176
73260
  if (loginPage) {
73177
73261
  var src = void 0;
73178
73262
  if (!utils_util.startWith(loginPage, ['http', '/'], true)) {
73179
- var pathname = utils_util.getWinTop().location.pathname;
73263
+ var pathname = topWin.location.pathname;
73180
73264
  if (pathname !== '/') {
73181
73265
  pathname = pathname.split('/');
73182
73266
  pathname.splice(pathname.length - 1);
@@ -73188,20 +73272,25 @@ var simplicityTop_userinfovue_type_script_lang_js_props;
73188
73272
  } else {
73189
73273
  src = loginPage;
73190
73274
  }
73191
- utils_util.getWinTop().location.href = src;
73192
- } else if (utils_util.getWinTop().location.href.indexOf('main.html') > -1) {
73193
- utils_util.getWinTop().location.href = './login.html';
73275
+ topWin.location.href = src;
73276
+ } else if (topWin.location.href.indexOf('main.html') > -1) {
73277
+ topWin.location.href = './login.html';
73194
73278
  } else {
73195
- var hash = utils_util.getWinTop().location.hash;
73279
+ var hash = topWin.location.hash;
73196
73280
  if (hash) {
73197
- var len = utils_util.getWinTop().location.href.indexOf(hash);
73198
- utils_util.getWinTop().location.href = utils_util.win.location.href.slice(0, len) + '#/login';
73281
+ var len = topWin.location.href.indexOf(hash);
73282
+ topWin.location.href = utils_util.win.location.href.slice(0, len) + '#/login';
73199
73283
  } else {
73200
- utils_util.getWinTop().location.href = '/login.html';
73284
+ topWin.location.href = '/login.html';
73201
73285
  }
73202
73286
  }
73203
73287
  } catch (error) {
73204
- utils_util.getWinTop().postMessage({ type: 1 }, '*');
73288
+ console.warn('Failed to handle login redirect:', error);
73289
+ try {
73290
+ utils_util.getWinTop().postMessage({ type: 1 }, '*');
73291
+ } catch (postMessageError) {
73292
+ console.warn('Failed to send postMessage:', postMessageError);
73293
+ }
73205
73294
  }
73206
73295
  }).catch(function (e) {});
73207
73296
  } else {
@@ -73241,8 +73330,8 @@ var simplicityTop_userinfovue_type_script_lang_js_props;
73241
73330
 
73242
73331
  var simplicityTop_userinfo_component = normalizeComponent(
73243
73332
  src_simplicityTop_userinfovue_type_script_lang_js_,
73244
- userinfovue_type_template_id_a05f8be4_render,
73245
- userinfovue_type_template_id_a05f8be4_staticRenderFns,
73333
+ userinfovue_type_template_id_664c5306_render,
73334
+ userinfovue_type_template_id_664c5306_staticRenderFns,
73246
73335
  false,
73247
73336
  null,
73248
73337
  null,
@@ -74834,7 +74923,7 @@ function simplicityTopvue_type_script_lang_js_asyncToGenerator(fn) { return func
74834
74923
 
74835
74924
 
74836
74925
  var simplicityTopvue_type_script_lang_js_isIE = /MSIE|Trident/.test(navigator.userAgent);
74837
- var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode || 'default';
74926
+ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProperty('systemMode', 'default');
74838
74927
  // let events = [
74839
74928
  // (tabs, index, that) => {
74840
74929
  // let tab = tabs[index];
@@ -77093,11 +77182,11 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode
77093
77182
 
77094
77183
  var simplicityTop_component = normalizeComponent(
77095
77184
  src_simplicityTopvue_type_script_lang_js_,
77096
- simplicityTopvue_type_template_id_58443c19_scoped_true_render,
77097
- simplicityTopvue_type_template_id_58443c19_scoped_true_staticRenderFns,
77185
+ simplicityTopvue_type_template_id_20c08436_scoped_true_render,
77186
+ simplicityTopvue_type_template_id_20c08436_scoped_true_staticRenderFns,
77098
77187
  false,
77099
77188
  null,
77100
- "58443c19",
77189
+ "20c08436",
77101
77190
  null
77102
77191
 
77103
77192
  )
@@ -77661,8 +77750,8 @@ defaultvue_type_template_id_b6763862_render._withStripped = true
77661
77750
 
77662
77751
  // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=b6763862&
77663
77752
 
77664
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=d096642a&
77665
- var userinfovue_type_template_id_d096642a_render = function () {
77753
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=7e14e68e&
77754
+ var userinfovue_type_template_id_7e14e68e_render = function () {
77666
77755
  var _vm = this
77667
77756
  var _h = _vm.$createElement
77668
77757
  var _c = _vm._self._c || _h
@@ -77678,11 +77767,11 @@ var userinfovue_type_template_id_d096642a_render = function () {
77678
77767
  2
77679
77768
  )
77680
77769
  }
77681
- var userinfovue_type_template_id_d096642a_staticRenderFns = []
77682
- userinfovue_type_template_id_d096642a_render._withStripped = true
77770
+ var userinfovue_type_template_id_7e14e68e_staticRenderFns = []
77771
+ userinfovue_type_template_id_7e14e68e_render._withStripped = true
77683
77772
 
77684
77773
 
77685
- // CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=d096642a&
77774
+ // CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=7e14e68e&
77686
77775
 
77687
77776
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=script&lang=js&
77688
77777
  var default_userinfovue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -78048,11 +78137,12 @@ var default_userinfovue_type_script_lang_js_extends = Object.assign || function
78048
78137
  type: 'warning'
78049
78138
  }).then(function () {
78050
78139
  var loginPage = utils_util.getStorage('login') || utils_util.getStorage('loginPage');
78140
+ var topWin = utils_util.getWinTop();
78051
78141
  try {
78052
78142
  if (loginPage) {
78053
78143
  var src = void 0;
78054
78144
  if (!utils_util.startWith(loginPage, ['http', '/'], true)) {
78055
- var pathname = utils_util.getWinTop().location.pathname;
78145
+ var pathname = topWin.location.pathname;
78056
78146
  if (pathname !== '/') {
78057
78147
  pathname = pathname.split('/');
78058
78148
  pathname.splice(pathname.length - 1);
@@ -78064,19 +78154,27 @@ var default_userinfovue_type_script_lang_js_extends = Object.assign || function
78064
78154
  } else {
78065
78155
  src = loginPage;
78066
78156
  }
78067
- utils_util.getWinTop().location.href = src;
78068
- } else if (utils_util.getWinTop().location.href.indexOf('main.html') > -1) {
78069
- utils_util.getWinTop().location.href = './login.html';
78157
+ topWin.location.href = src;
78158
+ } else if (topWin.location.href.indexOf('main.html') > -1) {
78159
+ topWin.location.href = './login.html';
78070
78160
  } else {
78071
- var hash = utils_util.getWinTop().location.hash;
78161
+ var hash = topWin.location.hash;
78072
78162
  if (hash) {
78073
- var len = utils_util.getWinTop().location.href.indexOf(hash);
78074
- utils_util.getWinTop().location.href = utils_util.win.location.href.slice(0, len) + '#/login';
78163
+ var len = topWin.location.href.indexOf(hash);
78164
+ topWin.location.href = topWin.location.href.slice(0, len) + '#/login';
78075
78165
  } else {
78076
- utils_util.getWinTop().location.href = '/login.html';
78166
+ topWin.location.href = '/login.html';
78077
78167
  }
78078
78168
  }
78079
- } catch (error) {}
78169
+ } catch (error) {
78170
+ console.warn('Failed to handle login redirect:', error);
78171
+ try {
78172
+ // Fallback to postMessage if direct access fails
78173
+ topWin.postMessage({ type: 1 }, '*');
78174
+ } catch (postMessageError) {
78175
+ console.warn('Failed to send postMessage:', postMessageError);
78176
+ }
78177
+ }
78080
78178
  }).catch(function (e) {});
78081
78179
  } else {
78082
78180
  var notify = _this4.values.notify.sort().join(',');
@@ -78142,8 +78240,8 @@ var default_userinfovue_type_script_lang_js_extends = Object.assign || function
78142
78240
 
78143
78241
  var default_userinfo_component = normalizeComponent(
78144
78242
  src_default_userinfovue_type_script_lang_js_,
78145
- userinfovue_type_template_id_d096642a_render,
78146
- userinfovue_type_template_id_d096642a_staticRenderFns,
78243
+ userinfovue_type_template_id_7e14e68e_render,
78244
+ userinfovue_type_template_id_7e14e68e_staticRenderFns,
78147
78245
  false,
78148
78246
  null,
78149
78247
  null,
@@ -81342,12 +81440,12 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81342
81440
  } else if (window.location.href.indexOf('main.html') > -1 || window.location.href.indexOf('index.html') > -1 || document.referrer.indexOf('main.html') > -1 || document.referrer.indexOf('index.html') > -1) {
81343
81441
  window.location.href = './login.html';
81344
81442
  } else {
81345
- next('/login');
81443
+ this.$router.replace('/login');
81346
81444
  }
81347
81445
  } else if (window.location.href.indexOf('main.html') > -1) {
81348
81446
  window.location.href = './login.html';
81349
81447
  } else {
81350
- next('/login');
81448
+ this.$router.replace('/login');
81351
81449
  }
81352
81450
  }
81353
81451
  },
@@ -81453,10 +81551,11 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81453
81551
  utils_util.removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
81454
81552
  var loginPage = utils_util.getStorage('login') || utils_util.getStorage('loginPage');
81455
81553
  try {
81554
+ var topWin = utils_util.getWinTop();
81456
81555
  if (loginPage) {
81457
81556
  var src = void 0;
81458
81557
  if (!utils_util.startWith(loginPage, ['http', '/'], true)) {
81459
- var pathname = utils_util.getWinTop().location.pathname;
81558
+ var pathname = topWin.location.pathname;
81460
81559
  if (pathname !== '/') {
81461
81560
  pathname = pathname.split('/');
81462
81561
  pathname.splice(pathname.length - 1);
@@ -81468,16 +81567,16 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81468
81567
  } else {
81469
81568
  src = loginPage;
81470
81569
  }
81471
- utils_util.getWinTop().location.href = src;
81472
- } else if (utils_util.getWinTop().location.href.indexOf('main.html') > -1) {
81473
- utils_util.getWinTop().location.href = './login.html';
81570
+ topWin.location.href = src;
81571
+ } else if (topWin.location.href.indexOf('main.html') > -1) {
81572
+ topWin.location.href = './login.html';
81474
81573
  } else {
81475
- var hash = utils_util.getWinTop().location.hash;
81574
+ var hash = topWin.location.hash;
81476
81575
  if (hash) {
81477
- var len = utils_util.getWinTop().location.href.indexOf(hash);
81478
- utils_util.getWinTop().location.href = utils_util.win.location.href.slice(0, len) + '#/login';
81576
+ var len = topWin.location.href.indexOf(hash);
81577
+ topWin.location.href = utils_util.win.location.href.slice(0, len) + '#/login';
81479
81578
  } else {
81480
- utils_util.getWinTop().location.href = '/login.html';
81579
+ topWin.location.href = '/login.html';
81481
81580
  }
81482
81581
  }
81483
81582
  } catch (error) {}
@@ -81754,8 +81853,8 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
81754
81853
 
81755
81854
  var main_src_main_component = normalizeComponent(
81756
81855
  packages_main_src_mainvue_type_script_lang_js_,
81757
- mainvue_type_template_id_4e6a76ca_render,
81758
- mainvue_type_template_id_4e6a76ca_staticRenderFns,
81856
+ mainvue_type_template_id_3dbf95b9_render,
81857
+ mainvue_type_template_id_3dbf95b9_staticRenderFns,
81759
81858
  false,
81760
81859
  null,
81761
81860
  null,
@@ -83330,8 +83429,8 @@ notify_src_main.install = function (Vue) {
83330
83429
  };
83331
83430
 
83332
83431
  /* harmony default export */ var packages_notify = (notify_src_main);
83333
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=template&id=bd31c1ba&
83334
- var mainvue_type_template_id_bd31c1ba_render = function () {
83432
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=template&id=08cc1cfe&
83433
+ var mainvue_type_template_id_08cc1cfe_render = function () {
83335
83434
  var _vm = this
83336
83435
  var _h = _vm.$createElement
83337
83436
  var _c = _vm._self._c || _h
@@ -83366,11 +83465,11 @@ var mainvue_type_template_id_bd31c1ba_render = function () {
83366
83465
  )
83367
83466
  )
83368
83467
  }
83369
- var mainvue_type_template_id_bd31c1ba_staticRenderFns = []
83370
- mainvue_type_template_id_bd31c1ba_render._withStripped = true
83468
+ var mainvue_type_template_id_08cc1cfe_staticRenderFns = []
83469
+ mainvue_type_template_id_08cc1cfe_render._withStripped = true
83371
83470
 
83372
83471
 
83373
- // CONCATENATED MODULE: ./packages/pagination/src/main.vue?vue&type=template&id=bd31c1ba&
83472
+ // CONCATENATED MODULE: ./packages/pagination/src/main.vue?vue&type=template&id=08cc1cfe&
83374
83473
 
83375
83474
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=script&lang=js&
83376
83475
  //
@@ -83395,7 +83494,7 @@ mainvue_type_template_id_bd31c1ba_render._withStripped = true
83395
83494
  //
83396
83495
 
83397
83496
 
83398
- var paginationLayout = utils_util.getWinTop().tableLayout || utils_util.win.tableLayout || 'prev, pager, next, sizes, total';
83497
+ var paginationLayout = utils_util.getWinTopProperty('tableLayout', 'prev, pager, next, sizes, total');
83399
83498
  /* harmony default export */ var pagination_src_mainvue_type_script_lang_js_ = ({
83400
83499
  name: 'EsPagination',
83401
83500
  inheritAttrs: false,
@@ -83470,8 +83569,8 @@ var paginationLayout = utils_util.getWinTop().tableLayout || utils_util.win.tabl
83470
83569
 
83471
83570
  var pagination_src_main_component = normalizeComponent(
83472
83571
  packages_pagination_src_mainvue_type_script_lang_js_,
83473
- mainvue_type_template_id_bd31c1ba_render,
83474
- mainvue_type_template_id_bd31c1ba_staticRenderFns,
83572
+ mainvue_type_template_id_08cc1cfe_render,
83573
+ mainvue_type_template_id_08cc1cfe_staticRenderFns,
83475
83574
  false,
83476
83575
  null,
83477
83576
  null,
@@ -84879,8 +84978,8 @@ radio_group_src_main.install = function (Vue) {
84879
84978
  };
84880
84979
 
84881
84980
  /* harmony default export */ var radio_group = (radio_group_src_main);
84882
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=61086a74&
84883
- var mainvue_type_template_id_61086a74_render = function () {
84981
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=5c480ddc&
84982
+ var mainvue_type_template_id_5c480ddc_render = function () {
84884
84983
  var _vm = this
84885
84984
  var _h = _vm.$createElement
84886
84985
  var _c = _vm._self._c || _h
@@ -85029,11 +85128,11 @@ var mainvue_type_template_id_61086a74_render = function () {
85029
85128
  1
85030
85129
  )
85031
85130
  }
85032
- var mainvue_type_template_id_61086a74_staticRenderFns = []
85033
- mainvue_type_template_id_61086a74_render._withStripped = true
85131
+ var mainvue_type_template_id_5c480ddc_staticRenderFns = []
85132
+ mainvue_type_template_id_5c480ddc_render._withStripped = true
85034
85133
 
85035
85134
 
85036
- // CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=61086a74&
85135
+ // CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=5c480ddc&
85037
85136
 
85038
85137
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=script&lang=js&
85039
85138
  //
@@ -85210,10 +85309,18 @@ mainvue_type_template_id_61086a74_render._withStripped = true
85210
85309
  type: 'success'
85211
85310
  });
85212
85311
  _this3.msgBox.handleClose();
85312
+ var topWin = utils_util.getWinTop();
85213
85313
  try {
85214
- _this3.reload && utils_util.getWinTop().location.reload();
85314
+ if (_this3.reload) {
85315
+ topWin.location.reload();
85316
+ }
85215
85317
  } catch (error) {
85216
- _this3.reload && utils_util.getWinTop().postMessage({ type: 3 }, '*');
85318
+ console.warn('Failed to reload page:', error);
85319
+ try {
85320
+ _this3.reload && topWin.postMessage({ type: 3 }, '*');
85321
+ } catch (postMessageError) {
85322
+ console.warn('Failed to send postMessage:', postMessageError);
85323
+ }
85217
85324
  }
85218
85325
  } else {
85219
85326
  _this3.$message({
@@ -85290,10 +85397,18 @@ mainvue_type_template_id_61086a74_render._withStripped = true
85290
85397
  type: 'success'
85291
85398
  });
85292
85399
  _this5.msgBox.handleClose();
85400
+ var topWin = utils_util.getWinTop();
85293
85401
  try {
85294
- _this5.reload && utils_util.getWinTop().location.reload();
85402
+ if (_this5.reload) {
85403
+ topWin.location.reload();
85404
+ }
85295
85405
  } catch (error) {
85296
- _this5.reload && utils_util.getWinTop().postMessage({ type: 3 }, '*');
85406
+ console.warn('Failed to reload page:', error);
85407
+ try {
85408
+ _this5.reload && topWin.postMessage({ type: 3 }, '*');
85409
+ } catch (postMessageError) {
85410
+ console.warn('Failed to send postMessage:', postMessageError);
85411
+ }
85297
85412
  }
85298
85413
  } else {
85299
85414
  _this5.scanCode = setTimeout(function () {
@@ -85325,8 +85440,8 @@ mainvue_type_template_id_61086a74_render._withStripped = true
85325
85440
 
85326
85441
  var retrial_auth_src_main_component = normalizeComponent(
85327
85442
  packages_retrial_auth_src_mainvue_type_script_lang_js_,
85328
- mainvue_type_template_id_61086a74_render,
85329
- mainvue_type_template_id_61086a74_staticRenderFns,
85443
+ mainvue_type_template_id_5c480ddc_render,
85444
+ mainvue_type_template_id_5c480ddc_staticRenderFns,
85330
85445
  false,
85331
85446
  null,
85332
85447
  null,
@@ -94753,8 +94868,8 @@ tree_src_main.install = function (Vue) {
94753
94868
  };
94754
94869
 
94755
94870
  /* harmony default export */ var packages_tree = (tree_src_main);
94756
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=6cbe8105&
94757
- var mainvue_type_template_id_6cbe8105_render = function () {
94871
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=340aa9f8&
94872
+ var mainvue_type_template_id_340aa9f8_render = function () {
94758
94873
  var _vm = this
94759
94874
  var _h = _vm.$createElement
94760
94875
  var _c = _vm._self._c || _h
@@ -95117,11 +95232,11 @@ var mainvue_type_template_id_6cbe8105_render = function () {
95117
95232
  2
95118
95233
  )
95119
95234
  }
95120
- var mainvue_type_template_id_6cbe8105_staticRenderFns = []
95121
- mainvue_type_template_id_6cbe8105_render._withStripped = true
95235
+ var mainvue_type_template_id_340aa9f8_staticRenderFns = []
95236
+ mainvue_type_template_id_340aa9f8_render._withStripped = true
95122
95237
 
95123
95238
 
95124
- // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=6cbe8105&
95239
+ // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=340aa9f8&
95125
95240
 
95126
95241
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=script&lang=js&
95127
95242
  var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -95312,14 +95427,14 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
95312
95427
  //
95313
95428
 
95314
95429
 
95315
- var mainvue_type_script_lang_js_systemMode = utils_util.getWinTop().systemMode || utils_util.win.systemMode || 'default';
95430
+ var src_mainvue_type_script_lang_js_systemMode = utils_util.getWinTopProperty('systemMode', 'default');
95316
95431
  /* harmony default export */ var tree_group_src_mainvue_type_script_lang_js_ = ({
95317
95432
  name: 'EsTreeGroup',
95318
95433
  inheritAttrs: false,
95319
95434
  props: {
95320
95435
  mode: {
95321
95436
  type: String,
95322
- default: mainvue_type_script_lang_js_systemMode
95437
+ default: src_mainvue_type_script_lang_js_systemMode
95323
95438
  },
95324
95439
  host: {
95325
95440
  type: String,
@@ -95675,8 +95790,8 @@ var mainvue_type_script_lang_js_systemMode = utils_util.getWinTop().systemMode |
95675
95790
 
95676
95791
  var tree_group_src_main_component = normalizeComponent(
95677
95792
  packages_tree_group_src_mainvue_type_script_lang_js_,
95678
- mainvue_type_template_id_6cbe8105_render,
95679
- mainvue_type_template_id_6cbe8105_staticRenderFns,
95793
+ mainvue_type_template_id_340aa9f8_render,
95794
+ mainvue_type_template_id_340aa9f8_staticRenderFns,
95680
95795
  false,
95681
95796
  null,
95682
95797
  null,
@@ -102477,7 +102592,7 @@ if (typeof window !== 'undefined' && window.Vue) {
102477
102592
  }
102478
102593
 
102479
102594
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
102480
- version: '0.7.91',
102595
+ version: '0.7.93',
102481
102596
  install: install,
102482
102597
  Button: packages_button,
102483
102598
  ButtonGroup: button_group,