iking-web-ui-pro 1.0.7 → 1.0.8

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.
@@ -1037,12 +1037,12 @@ const Ft = (o, a) => {
1037
1037
  default: !1
1038
1038
  },
1039
1039
  /**是否自定义下载 */
1040
- customDownLoad: {
1040
+ customDownload: {
1041
1041
  type: Boolean,
1042
1042
  default: !1
1043
1043
  }
1044
1044
  },
1045
- emits: ["handPreview", "downLoad"],
1045
+ emits: ["handPreview", "download"],
1046
1046
  setup(o, { emit: a }) {
1047
1047
  const r = o, t = Z(() => r.simple ? "simple" : r.showType), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = mi(r), s = a, l = Z(() => ({
1048
1048
  name: "name",
@@ -1061,7 +1061,7 @@ const Ft = (o, a) => {
1061
1061
  )
1062
1062
  }, r.isOnlyOfficePreview && (c.value = !0), s("handPreview", u.value);
1063
1063
  }, g = (v) => {
1064
- r.customDownLoad ? s("downLoad", v) : wr.downloadFile(
1064
+ r.customDownload ? s("download", v) : wr.downloadFile(
1065
1065
  lt(
1066
1066
  e.value,
1067
1067
  v[l.value.url] || v.attachmentId || v.id
@@ -927,12 +927,12 @@ const Mt = (a, o) => {
927
927
  default: !1
928
928
  },
929
929
  /**是否自定义下载 */
930
- customDownLoad: {
930
+ customDownload: {
931
931
  type: Boolean,
932
932
  default: !1
933
933
  }
934
934
  },
935
- emits: ["handPreview", "downLoad"],
935
+ emits: ["handPreview", "download"],
936
936
  setup(a, { emit: o }) {
937
937
  const r = a, t = X(() => r.simple ? "simple" : r.showType), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = On(r), s = o, l = X(() => ({
938
938
  name: "name",
@@ -951,7 +951,7 @@ const Mt = (a, o) => {
951
951
  )
952
952
  }, r.isOnlyOfficePreview && (c.value = !0), s("handPreview", u.value);
953
953
  }, d = (v) => {
954
- r.customDownLoad ? s("downLoad", v) : Sr.downloadFile(
954
+ r.customDownload ? s("download", v) : Sr.downloadFile(
955
955
  dt(
956
956
  e.value,
957
957
  v[l.value.url] || v.attachmentId || v.id
@@ -927,12 +927,12 @@ const Ot = (a, o) => {
927
927
  default: !1
928
928
  },
929
929
  /**是否自定义下载 */
930
- customDownLoad: {
930
+ customDownload: {
931
931
  type: Boolean,
932
932
  default: !1
933
933
  }
934
934
  },
935
- emits: ["handPreview", "downLoad"],
935
+ emits: ["handPreview", "download"],
936
936
  setup(a, { emit: o }) {
937
937
  const r = a, t = X(() => r.simple ? "simple" : r.showType), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = On(r), s = o, l = X(() => ({
938
938
  name: "name",
@@ -951,7 +951,7 @@ const Ot = (a, o) => {
951
951
  )
952
952
  }, r.isOnlyOfficePreview && (c.value = !0), s("handPreview", u.value);
953
953
  }, d = (v) => {
954
- r.customDownLoad ? s("downLoad", v) : wr.downloadFile(
954
+ r.customDownload ? s("download", v) : wr.downloadFile(
955
955
  ht(
956
956
  e.value,
957
957
  v[l.value.url] || v.attachmentId || v.id
@@ -13248,12 +13248,12 @@ const el = ["id"], tl = /* @__PURE__ */ Q({
13248
13248
  default: !1
13249
13249
  },
13250
13250
  /**是否自定义下载 */
13251
- customDownLoad: {
13251
+ customDownload: {
13252
13252
  type: Boolean,
13253
13253
  default: !1
13254
13254
  }
13255
13255
  },
13256
- emits: ["handPreview", "downLoad"],
13256
+ emits: ["handPreview", "download"],
13257
13257
  setup(a, { emit: o }) {
13258
13258
  const r = a, t = X(() => r.simple ? "simple" : r.showType), { cLoadUrl: e, cOnlyofficeConfig: i, cOnlyofficePreviewType: n } = On(r), s = o, l = X(() => ({
13259
13259
  name: "name",
@@ -13272,7 +13272,7 @@ const el = ["id"], tl = /* @__PURE__ */ Q({
13272
13272
  )
13273
13273
  }, r.isOnlyOfficePreview && (c.value = !0), s("handPreview", u.value);
13274
13274
  }, d = (v) => {
13275
- r.customDownLoad ? s("downLoad", v) : br.downloadFile(
13275
+ r.customDownload ? s("download", v) : br.downloadFile(
13276
13276
  ct(
13277
13277
  e.value,
13278
13278
  v[l.value.url] || v.attachmentId || v.id
package/dist/index.es.js CHANGED
@@ -12606,12 +12606,12 @@ const X_e = { class: "demo-app" }, Q_e = { class: "demo-app-main" }, J_e = { cla
12606
12606
  default: !1
12607
12607
  },
12608
12608
  /**是否自定义下载 */
12609
- customDownLoad: {
12609
+ customDownload: {
12610
12610
  type: Boolean,
12611
12611
  default: !1
12612
12612
  }
12613
12613
  },
12614
- emits: ["handPreview", "downLoad"],
12614
+ emits: ["handPreview", "download"],
12615
12615
  setup(a, { emit: n }) {
12616
12616
  const s = a, r = co(() => s.simple ? "simple" : s.showType), { cLoadUrl: i, cOnlyofficeConfig: u, cOnlyofficePreviewType: h } = I0(s), m = n, w = co(() => ({
12617
12617
  name: "name",
@@ -12630,7 +12630,7 @@ const X_e = { class: "demo-app" }, Q_e = { class: "demo-app-main" }, J_e = { cla
12630
12630
  )
12631
12631
  }, s.isOnlyOfficePreview && (A.value = !0), m("handPreview", S.value);
12632
12632
  }, I = (W) => {
12633
- s.customDownLoad ? m("downLoad", W) : ese.downloadFile(
12633
+ s.customDownload ? m("download", W) : ese.downloadFile(
12634
12634
  e3(
12635
12635
  i.value,
12636
12636
  W[w.value.url] || W.attachmentId || W.id