eoss-ui 0.7.32 → 0.7.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/main.js CHANGED
@@ -4527,7 +4527,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4527
4527
  // ESM COMPAT FLAG
4528
4528
  __webpack_require__.r(__webpack_exports__);
4529
4529
 
4530
- // 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=1f0f487d&
4530
+ // 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&
4531
4531
  var render = function () {
4532
4532
  var _vm = this
4533
4533
  var _h = _vm.$createElement
@@ -4646,7 +4646,7 @@ var staticRenderFns = []
4646
4646
  render._withStripped = true
4647
4647
 
4648
4648
 
4649
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=1f0f487d&
4649
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=91c03c40&
4650
4650
 
4651
4651
  // EXTERNAL MODULE: ./src/config/image.js
4652
4652
  var config_image = __webpack_require__(20);
@@ -16950,6 +16950,8 @@ var default_component = Object(componentNormalizer["a" /* default */])(
16950
16950
 
16951
16951
  /* harmony default export */ var src_default = (default_component.exports);
16952
16952
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=script&lang=js&
16953
+ var 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; };
16954
+
16953
16955
  function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
16954
16956
 
16955
16957
  //
@@ -17436,7 +17438,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
17436
17438
  handleIframeLoad: function handleIframeLoad(iframe, data) {
17437
17439
  iframe = iframe ? iframe : document.getElementById(data.appCode || data.id);
17438
17440
  var origin = new URL(iframe.src).origin;
17439
- iframe.contentWindow.postMessage(data, origin);
17441
+ iframe.contentWindow.postMessage(mainvue_type_script_lang_js_extends({}, data, { method: 'windowOpen' }), origin);
17440
17442
  },
17441
17443
 
17442
17444
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.7.32",
3
+ "version": "0.7.33",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
Binary file
Binary file
Binary file
@@ -476,7 +476,10 @@ export default {
476
476
  ? iframe
477
477
  : document.getElementById(data.appCode || data.id);
478
478
  const origin = new URL(iframe.src).origin;
479
- iframe.contentWindow.postMessage(data, origin);
479
+ iframe.contentWindow.postMessage(
480
+ { ...data, method: 'windowOpen' },
481
+ origin
482
+ );
480
483
  },
481
484
 
482
485
  /**
package/src/.DS_Store CHANGED
Binary file
package/src/index.js CHANGED
@@ -125,7 +125,7 @@ if (typeof window !== 'undefined' && window.Vue) {
125
125
  }
126
126
 
127
127
  export default {
128
- version: '0.7.32',
128
+ version: '0.7.33',
129
129
  install,
130
130
  Button,
131
131
  ButtonGroup,