eoss-ui 0.7.33 → 0.7.34

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.
@@ -60577,8 +60577,8 @@ login_src_main.install = function (Vue) {
60577
60577
  };
60578
60578
 
60579
60579
  /* harmony default export */ var login = (login_src_main);
60580
- // 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=91c03c40&
60581
- var mainvue_type_template_id_91c03c40_render = function () {
60580
+ // 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=1439fd41&
60581
+ var mainvue_type_template_id_1439fd41_render = function () {
60582
60582
  var _vm = this
60583
60583
  var _h = _vm.$createElement
60584
60584
  var _c = _vm._self._c || _h
@@ -60640,7 +60640,7 @@ var mainvue_type_template_id_91c03c40_render = function () {
60640
60640
  key: item.appCode || item.id || item.name || index,
60641
60641
  attrs: {
60642
60642
  visible: item.visible,
60643
- title: item.name,
60643
+ title: item.name || item.title,
60644
60644
  width: item.width,
60645
60645
  height: item.height,
60646
60646
  size: item.size,
@@ -60692,14 +60692,14 @@ var mainvue_type_template_id_91c03c40_render = function () {
60692
60692
  )
60693
60693
  : _vm._e()
60694
60694
  }
60695
- var mainvue_type_template_id_91c03c40_staticRenderFns = []
60696
- mainvue_type_template_id_91c03c40_render._withStripped = true
60695
+ var mainvue_type_template_id_1439fd41_staticRenderFns = []
60696
+ mainvue_type_template_id_1439fd41_render._withStripped = true
60697
60697
 
60698
60698
 
60699
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=91c03c40&
60699
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=1439fd41&
60700
60700
 
60701
- // 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=772635c6&scoped=true&
60702
- var simplicityvue_type_template_id_772635c6_scoped_true_render = function () {
60701
+ // 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=2bc408e2&scoped=true&
60702
+ var simplicityvue_type_template_id_2bc408e2_scoped_true_render = function () {
60703
60703
  var _vm = this
60704
60704
  var _h = _vm.$createElement
60705
60705
  var _c = _vm._self._c || _h
@@ -61409,11 +61409,11 @@ var simplicityvue_type_template_id_772635c6_scoped_true_render = function () {
61409
61409
  ),
61410
61410
  ])
61411
61411
  }
61412
- var simplicityvue_type_template_id_772635c6_scoped_true_staticRenderFns = []
61413
- simplicityvue_type_template_id_772635c6_scoped_true_render._withStripped = true
61412
+ var simplicityvue_type_template_id_2bc408e2_scoped_true_staticRenderFns = []
61413
+ simplicityvue_type_template_id_2bc408e2_scoped_true_render._withStripped = true
61414
61414
 
61415
61415
 
61416
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=772635c6&scoped=true&
61416
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=2bc408e2&scoped=true&
61417
61417
 
61418
61418
  // 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&
61419
61419
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -68508,32 +68508,29 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
68508
68508
  handleRefresh: function handleRefresh(arg) {
68509
68509
  var i = arg && arg != true && arg !== 'pageData' ? utils_util["a" /* default */].indexOfObj(this.tabs, arg, 'appCode,code,id,url') : utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
68510
68510
  var tab = this.tabs[i];
68511
- if (tab.method === 'iframe') {
68512
- tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
68513
- } else {
68514
- var _tab6 = this.tabs[i];
68515
- if (_tab6.method === 'iframe') {
68516
- if (arg && arg === 'pageData') {
68517
- var iframe = document.getElementById(_tab6.id || _tab6.appCode);
68518
- iframe.contentWindow.postMessage({ method: 'refresh' }, _tab6.url);
68519
- } else {
68520
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab6.url));
68521
- }
68511
+ if (isIE || tab.method === 'iframe') {
68512
+ if (arg && arg === 'pageData') {
68513
+ var iframe = document.getElementById(tab.id || tab.appCode);
68514
+ iframe.contentWindow.postMessage({ method: 'refresh' }, tab.url);
68515
+ } else {
68516
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(tab.url));
68522
68517
  }
68523
- if (_tab6.method === 'wujie' && _tab6.appCode) {
68524
- if (arg && arg === 'pageData') {
68525
- external_wujie_vue2_default.a.$emit('refresh', _tab6);
68526
- } else {
68527
- window.document.querySelector('iframe[name=' + _tab6.appCode + ']').contentWindow.location.reload(true);
68528
- }
68518
+ return;
68519
+ }
68520
+ if (tab.method === 'wujie' && tab.appCode) {
68521
+ if (arg && arg === 'pageData') {
68522
+ external_wujie_vue2_default.a.$emit('refresh', tab);
68523
+ } else {
68524
+ window.document.querySelector('iframe[name=' + tab.appCode + ']').contentWindow.location.reload(true);
68529
68525
  }
68530
- if (_tab6.method === 'router') {
68531
- if (arg && arg === 'pageData') {
68532
- var bus = this.bus || this.$root.Bus;
68533
- bus.$emit('refresh', _tab6);
68534
- } else {
68535
- this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
68536
- }
68526
+ return;
68527
+ }
68528
+ if (tab.method === 'router') {
68529
+ if (arg && arg === 'pageData') {
68530
+ var bus = this.bus || this.$root.Bus;
68531
+ bus.$emit('refresh', tab);
68532
+ } else {
68533
+ this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
68537
68534
  }
68538
68535
  }
68539
68536
  },
@@ -68874,16 +68871,16 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
68874
68871
  this.$set(tab, 'url', utils_util["a" /* default */].handlerUrl(tab.url, param));
68875
68872
  this.tabs.splice(n + 1, 0, tab);
68876
68873
  } else {
68877
- var _tab7 = this.tabs[i];
68878
- if (_tab7.method === 'iframe') {
68879
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url, param));
68874
+ var _tab6 = this.tabs[i];
68875
+ if (_tab6.method === 'iframe') {
68876
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab6.url, param));
68880
68877
  }
68881
- if (_tab7.method === 'wujie' && _tab7.appCode) {
68882
- var url = param ? utils_util["a" /* default */].handlerUrl(_tab7.url, param) : _tab7.url;
68878
+ if (_tab6.method === 'wujie' && _tab6.appCode) {
68879
+ var url = param ? utils_util["a" /* default */].handlerUrl(_tab6.url, param) : _tab6.url;
68883
68880
  if (reload || param) {
68884
- _tab7.url = '';
68881
+ _tab6.url = '';
68885
68882
  this.$nextTick(function () {
68886
- _tab7.url = url;
68883
+ _tab6.url = url;
68887
68884
  });
68888
68885
  }
68889
68886
  // if (param) {
@@ -68896,8 +68893,8 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
68896
68893
  // .contentWindow.location.reload(true);
68897
68894
  // }
68898
68895
  }
68899
- if (_tab7.method === 'router') {
68900
- this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url, param));
68896
+ if (_tab6.method === 'router') {
68897
+ this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab6.url, param));
68901
68898
  this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
68902
68899
  }
68903
68900
  }
@@ -68961,11 +68958,11 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
68961
68958
 
68962
68959
  var simplicity_component = normalizeComponent(
68963
68960
  src_simplicityvue_type_script_lang_js_,
68964
- simplicityvue_type_template_id_772635c6_scoped_true_render,
68965
- simplicityvue_type_template_id_772635c6_scoped_true_staticRenderFns,
68961
+ simplicityvue_type_template_id_2bc408e2_scoped_true_render,
68962
+ simplicityvue_type_template_id_2bc408e2_scoped_true_staticRenderFns,
68966
68963
  false,
68967
68964
  null,
68968
- "772635c6",
68965
+ "2bc408e2",
68969
68966
  null
68970
68967
 
68971
68968
  )
@@ -73320,7 +73317,8 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
73320
73317
  height = _ref$height === undefined ? '100%' : _ref$height,
73321
73318
  appCode = _ref.appCode,
73322
73319
  id = _ref.id,
73323
- size = _ref.size;
73320
+ size = _ref.size,
73321
+ config = main_src_mainvue_type_script_lang_js_objectWithoutProperties(_ref, ['url', 'name', 'width', 'height', 'appCode', 'id', 'size']);
73324
73322
 
73325
73323
  id = id ? id : appCode ? undefined : 'iframe' + this.dialogs.length;
73326
73324
  var openModel = utils_util["a" /* default */].getStorage('openModel');
@@ -73335,7 +73333,7 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
73335
73333
  src = pathname + url.replace('./', '/');
73336
73334
  }
73337
73335
  if (openModel && openModel == 'dialog') {
73338
- var _dialog = {
73336
+ var _dialog = main_src_mainvue_type_script_lang_js_extends({
73339
73337
  id: id,
73340
73338
  url: src,
73341
73339
  name: name,
@@ -73344,7 +73342,7 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
73344
73342
  appCode: appCode,
73345
73343
  visible: false,
73346
73344
  size: size
73347
- };
73345
+ }, config);
73348
73346
  var n = this.dialogs.push(_dialog);
73349
73347
  this.$nextTick(function () {
73350
73348
  _this5.$set(_dialog, 'index', n - 1);
@@ -73488,7 +73486,11 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
73488
73486
  * @date 2024年9月7日
73489
73487
  **/
73490
73488
  handleClosed: function handleClosed(res, index) {
73491
- this.dialogs.splice(index, 1);
73489
+ var _this6 = this;
73490
+
73491
+ this.$nextTick(function () {
73492
+ _this6.dialogs.splice(index, 1);
73493
+ });
73492
73494
  },
73493
73495
 
73494
73496
  /**
@@ -73513,6 +73515,15 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
73513
73515
  },
73514
73516
  beforeDestroy: function beforeDestroy() {
73515
73517
  window.removeEventListener('message', this.handleMessage);
73518
+ var bus = this.bus || this.$root.Bus;
73519
+ if (bus) {
73520
+ bus.$off('reLogin');
73521
+ bus.$off('refresh');
73522
+ bus.$off('windowOpen');
73523
+ bus.$off('windowClose');
73524
+ bus.$off('jumpMenu');
73525
+ bus.$off('emit');
73526
+ }
73516
73527
  external_wujie_vue2_default.a.bus.$off('reLogin');
73517
73528
  external_wujie_vue2_default.a.bus.$off('refresh');
73518
73529
  external_wujie_vue2_default.a.bus.$off('jumpMenu');
@@ -73531,8 +73542,8 @@ function main_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys)
73531
73542
 
73532
73543
  var main_src_main_component = normalizeComponent(
73533
73544
  packages_main_src_mainvue_type_script_lang_js_,
73534
- mainvue_type_template_id_91c03c40_render,
73535
- mainvue_type_template_id_91c03c40_staticRenderFns,
73545
+ mainvue_type_template_id_1439fd41_render,
73546
+ mainvue_type_template_id_1439fd41_staticRenderFns,
73536
73547
  false,
73537
73548
  null,
73538
73549
  null,
@@ -94214,7 +94225,7 @@ if (typeof window !== 'undefined' && window.Vue) {
94214
94225
  }
94215
94226
 
94216
94227
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
94217
- version: '0.7.33',
94228
+ version: '0.7.34',
94218
94229
  install: install,
94219
94230
  Button: packages_button,
94220
94231
  ButtonGroup: button_group,