eoss-ui 0.4.97 → 0.4.98

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.
@@ -69015,8 +69015,8 @@ form_src_table.install = function (Vue) {
69015
69015
  };
69016
69016
 
69017
69017
  /* harmony default export */ var table_form = (form_src_table);
69018
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=74d3e866&
69019
- var mainvue_type_template_id_74d3e866_render = function () {
69018
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=079ba0f8&
69019
+ var mainvue_type_template_id_079ba0f8_render = function () {
69020
69020
  var _vm = this
69021
69021
  var _h = _vm.$createElement
69022
69022
  var _c = _vm._self._c || _h
@@ -69395,11 +69395,11 @@ var mainvue_type_template_id_74d3e866_render = function () {
69395
69395
  )
69396
69396
  : _vm._e()
69397
69397
  }
69398
- var mainvue_type_template_id_74d3e866_staticRenderFns = []
69399
- mainvue_type_template_id_74d3e866_render._withStripped = true
69398
+ var mainvue_type_template_id_079ba0f8_staticRenderFns = []
69399
+ mainvue_type_template_id_079ba0f8_render._withStripped = true
69400
69400
 
69401
69401
 
69402
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=74d3e866&
69402
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=079ba0f8&
69403
69403
 
69404
69404
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
69405
69405
  /* harmony default export */ var picture = ({
@@ -70088,7 +70088,9 @@ var mainvue_type_script_lang_js_props;
70088
70088
  return item;
70089
70089
  }).join(',');
70090
70090
  }
70091
- _this2.kkfileview = res.results.kkViewRootPath ? res.results.kkViewRootPath : null;
70091
+ if (res.results.kkViewRootPath) {
70092
+ _this2.kkfileview = res.results.kkViewRootPath;
70093
+ }
70092
70094
  _this2.fileSize = res.results.limitFileSize ? res.results.limitFileSize : 0;
70093
70095
  _this2.fileTotalSize = res.results.limitTotalSize;
70094
70096
  utils_store.set(_this2.code, {
@@ -70149,7 +70151,16 @@ var mainvue_type_script_lang_js_props;
70149
70151
  this.$refs.upload.submit();
70150
70152
  },
70151
70153
  openKkfileview: function openKkfileview(file) {
70152
- var url = encodeURIComponent(external_js_base64_["Base64"].encode((typeof this.download === 'string' ? this.download : api["q" /* downloadByAdjunctId */]) + ('?adjunctId=' + (file.adjunctId || file.response.adjunctId) + '&fullfilename=' + file.originalName)));
70154
+ var host = utils_util["a" /* default */].win.top.location.origin;
70155
+ if (this.host) {
70156
+ if (utils_util["a" /* default */].startWith(this.host, 'http')) {
70157
+ host = this.host;
70158
+ } else {
70159
+ host += this.host;
70160
+ }
70161
+ }
70162
+ console.log(host);
70163
+ var url = encodeURIComponent(external_js_base64_["Base64"].encode(host + (typeof this.download === 'string' ? this.download : api["q" /* downloadByAdjunctId */]) + ('?adjunctId=' + (file.adjunctId || file.response.adjunctId) + '&fullfilename=' + file.originalName)));
70153
70164
  utils_util["a" /* default */].win.top.open(this.kkfileview + '?url=' + url);
70154
70165
  },
70155
70166
  handlePreview: function handlePreview(res) {
@@ -70475,8 +70486,8 @@ var mainvue_type_script_lang_js_props;
70475
70486
 
70476
70487
  var upload_src_main_component = normalizeComponent(
70477
70488
  packages_upload_src_mainvue_type_script_lang_js_,
70478
- mainvue_type_template_id_74d3e866_render,
70479
- mainvue_type_template_id_74d3e866_staticRenderFns,
70489
+ mainvue_type_template_id_079ba0f8_render,
70490
+ mainvue_type_template_id_079ba0f8_staticRenderFns,
70480
70491
  false,
70481
70492
  null,
70482
70493
  null,
@@ -70951,7 +70962,7 @@ if (typeof window !== 'undefined' && window.Vue) {
70951
70962
  }
70952
70963
 
70953
70964
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
70954
- version: '0.4.97',
70965
+ version: '0.4.98',
70955
70966
  install: install,
70956
70967
  Button: packages_button,
70957
70968
  ButtonGroup: button_group,