@newview/file-ui 1.1.19 → 1.1.20

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/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.1.20
2
+ 1. UploadFile 预览图片时,设置将弹层放置于body内
3
+
1
4
  ## 1.1.16
2
5
  1. type类型补充
3
6
  2. DictionaryTools导出
package/dist/file-ui.js CHANGED
@@ -142,7 +142,7 @@ class FilePreviewInstance extends BaseInstance {
142
142
  }
143
143
  //#endregion 业务逻辑 - 文件预览 END
144
144
  }
145
- const FilePreview_vue_vue_type_style_index_0_scoped_071f536d_lang = "";
145
+ const FilePreview_vue_vue_type_style_index_0_scoped_e7f81a3b_lang = "";
146
146
  const _export_sfc = (sfc, props) => {
147
147
  const target = sfc.__vccOpts || sfc;
148
148
  for (const [key, val] of props) {
@@ -157,6 +157,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
157
157
  const _component_Modal = resolveComponent("Modal");
158
158
  return openBlock(), createElementBlock(Fragment, null, [
159
159
  createVNode(_component_ImagePreview, {
160
+ transfer: "",
160
161
  modelValue: _ctx.previewImage,
161
162
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.previewImage = $event),
162
163
  "preview-list": _ctx.previewList,
@@ -187,7 +188,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
187
188
  }, 8, ["modelValue", "title", "onOnVisibleChange"])
188
189
  ], 64);
189
190
  }
190
- const filePreview = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-071f536d"]]);
191
+ const filePreview = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-e7f81a3b"]]);
191
192
  const propDefine$5 = {
192
193
  linkParam: {
193
194
  // 带入的参数
@@ -601,8 +602,8 @@ class UploadFileInstance extends BaseInstance {
601
602
  }
602
603
  //#endregion 业务逻辑 文件预览 END
603
604
  }
604
- const UploadFile_vue_vue_type_style_index_0_scoped_d6b14e55_lang = "";
605
- const _withScopeId$1 = (n) => (pushScopeId("data-v-d6b14e55"), n = n(), popScopeId(), n);
605
+ const UploadFile_vue_vue_type_style_index_0_scoped_3abe7ff1_lang = "";
606
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-3abe7ff1"), n = n(), popScopeId(), n);
606
607
  const _hoisted_1$2 = { class: "uploadFile" };
607
608
  const _hoisted_2$2 = ["onClick", "title"];
608
609
  const _hoisted_3$2 = { class: "file-upload-list-cover" };
@@ -663,6 +664,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
663
664
  createVNode(_component_Image, {
664
665
  src: _ctx.getThumbnailUrl(item),
665
666
  fit: "cover",
667
+ transfer: "",
666
668
  width: "100%",
667
669
  height: "100%"
668
670
  }, null, 8, ["src"]),
@@ -815,7 +817,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
815
817
  }, null, 8, ["modelValue", "preview-list", "preview-index", "file-info"])
816
818
  ]);
817
819
  }
818
- const UploadFile = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-d6b14e55"]]);
820
+ const UploadFile = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-3abe7ff1"]]);
819
821
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
820
822
  function getDefaultExportFromCjs(x) {
821
823
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;