imatrix-ui 0.2.5-up → 0.2.6-up

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/super-ui.js CHANGED
@@ -25269,7 +25269,7 @@ const fsUploadMulti = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_
25269
25269
  },
25270
25270
  preview() {
25271
25271
  if (window.$vueApp.config.globalProperties.isOffice) {
25272
- const e = (void 0)("JWT"), t = {
25272
+ const e = api.get("JWT"), t = {
25273
25273
  fileName: window.$vueApp.config.globalProperties.officeweb365Url + "/common/fs-upload/download?serverPath=" + this.unifiedEnclosure.uuid + "&showName=" + this.unifiedEnclosure.fileName + "&jwt=" + e
25274
25274
  };
25275
25275
  this.$http.post(
@@ -25370,8 +25370,8 @@ function _sfc_render$b(e, t, n, r, i, o) {
25370
25370
  default: withCtx(() => [
25371
25371
  n.disabled ? createCommentVNode("", !0) : (openBlock(), createBlock(c, {
25372
25372
  key: 0,
25373
- onClick: o.deleteFile,
25374
- style: { color: "red", "margin-left": "10px", "font-size": "30px" }
25373
+ style: { color: "red", "margin-left": "10px", "font-size": "30px" },
25374
+ onClick: o.deleteFile
25375
25375
  }, {
25376
25376
  default: withCtx(() => [
25377
25377
  createVNode(d)
@@ -25383,8 +25383,8 @@ function _sfc_render$b(e, t, n, r, i, o) {
25383
25383
  }, 8, ["content"]),
25384
25384
  createVNode(u, {
25385
25385
  content: e.$t("fsUpload.preview"),
25386
- style: { "margin-left": "10px", "font-size": "30px" },
25387
- effect: "light"
25386
+ effect: "light",
25387
+ style: { "margin-left": "10px", "font-size": "30px" }
25388
25388
  }, {
25389
25389
  default: withCtx(() => [
25390
25390
  n.isImg ? createCommentVNode("", !0) : (openBlock(), createBlock(c, {
@@ -25402,9 +25402,9 @@ function _sfc_render$b(e, t, n, r, i, o) {
25402
25402
  ])) : createCommentVNode("", !0),
25403
25403
  n.isShowButton && !n.disabled ? (openBlock(), createBlock(p, {
25404
25404
  key: 1,
25405
+ icon: i.ElIconUpload2,
25405
25406
  size: "small",
25406
25407
  type: "primary",
25407
- icon: i.ElIconUpload2,
25408
25408
  onClick: o.selectDataFile
25409
25409
  }, {
25410
25410
  default: withCtx(() => [
@@ -25414,10 +25414,10 @@ function _sfc_render$b(e, t, n, r, i, o) {
25414
25414
  }, 8, ["icon", "onClick"])) : createCommentVNode("", !0),
25415
25415
  createElementVNode("input", {
25416
25416
  ref: "uploadTemplate",
25417
- type: "file",
25417
+ accept: i.accepts,
25418
25418
  name: "uploadTemplate",
25419
25419
  style: { display: "none" },
25420
- accept: i.accepts,
25420
+ type: "file",
25421
25421
  onChange: t[0] || (t[0] = (...E) => o.upload && o.upload(...E))
25422
25422
  }, null, 40, _hoisted_2$4),
25423
25423
  i.bigPictureVisible ? (openBlock(), createBlock(m, {