zartui 3.1.72 → 3.1.73

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.
Files changed (37) hide show
  1. package/es/image-preview/ImagePreview.d.ts +14 -1
  2. package/es/image-preview/ImagePreview.mjs +94 -5
  3. package/es/image-preview/index.css +1 -1
  4. package/es/image-preview/index.d.ts +7 -1
  5. package/es/image-preview/style/index.mjs +1 -0
  6. package/es/image-preview/svg/Download.d.ts +2 -0
  7. package/es/image-preview/svg/Download.mjs +13 -0
  8. package/es/image-preview/types.d.ts +1 -0
  9. package/es/index.d.ts +1 -1
  10. package/es/index.mjs +1 -1
  11. package/es/media-picker/MediaPicker.d.ts +4 -0
  12. package/es/media-picker/MediaPicker.mjs +2 -0
  13. package/es/media-picker/index.d.ts +3 -0
  14. package/es/uploader/style/index.mjs +1 -0
  15. package/lib/image-preview/ImagePreview.d.ts +14 -1
  16. package/lib/image-preview/ImagePreview.js +94 -5
  17. package/lib/image-preview/index.css +1 -1
  18. package/lib/image-preview/index.d.ts +7 -1
  19. package/lib/image-preview/style/index.js +1 -0
  20. package/lib/image-preview/svg/Download.d.ts +2 -0
  21. package/lib/image-preview/svg/Download.js +32 -0
  22. package/lib/image-preview/types.d.ts +1 -0
  23. package/lib/{index-8bc782d2.mjs → index-096e2873.mjs} +4220 -2916
  24. package/lib/{index-d66aaef4.js → index-bb5638a0.js} +4219 -2916
  25. package/lib/index.css +1 -1
  26. package/lib/index.d.ts +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/media-picker/MediaPicker.d.ts +4 -0
  29. package/lib/media-picker/MediaPicker.js +2 -0
  30. package/lib/media-picker/index.d.ts +3 -0
  31. package/lib/uploader/style/index.js +1 -0
  32. package/lib/web-types.json +1 -1
  33. package/lib/zartui.cjs.js +105 -7
  34. package/lib/zartui.es.js +105 -7
  35. package/lib/zartui.js +4297 -2893
  36. package/lib/zartui.min.js +2 -2
  37. package/package.json +7 -7
package/lib/zartui.cjs.js CHANGED
@@ -12247,6 +12247,35 @@ var stdin_default$S = vue.defineComponent({
12247
12247
  };
12248
12248
  }
12249
12249
  });
12250
+ const Download = (bem2) => vue.createVNode("svg", {
12251
+ "class": bem2("svg-download-icon"),
12252
+ "xmlns": "http://www.w3.org/2000/svg",
12253
+ "viewBox": "0 0 20 20"
12254
+ }, [vue.createVNode("path", {
12255
+ "d": "M3.75,17.5 C3.28976271,17.5 2.91666667,17.126904 2.91666667,16.6666667 L2.91666667,12.5 C2.91666667,12.0397627 3.28976271,11.6666667 3.75,11.6666667 C4.21023729,11.6666667 4.58333333,12.0397627 4.58333333,12.5 L4.58266667,15.833 L15.4166667,15.833 L15.4166667,12.5 C15.4166667,12.0397627 15.7897627,11.6666667 16.25,11.6666667 C16.7102373,11.6666667 17.0833333,12.0397627 17.0833333,12.5 L17.0833333,16.6666667 C17.0833333,17.0915011 16.765429,17.442085 16.3545316,17.4935072 L16.25,17.5 L3.75,17.5 Z M10,2.5 C10.4602373,2.5 10.8333333,2.87309604 10.8333333,3.33333333 L10.834,10.904 L12.327411,9.41074435 L12.3804172,9.36206404 C12.7078286,9.08620893 13.1976137,9.1024357 13.5059223,9.41074435 C13.8313592,9.73618126 13.8313592,10.2638187 13.5059223,10.5892557 L10.5892557,13.5059223 L10.5659501,13.5283458 C10.5602582,13.5336148 10.5544926,13.5388053 10.548655,13.5439156 L10.5362495,13.5546026 L10.5121742,13.5740743 C10.4949132,13.5875412 10.4771081,13.6003432 10.4586783,13.6126074 C10.4455853,13.6212563 10.4323019,13.6294968 10.4192578,13.6370097 C10.4029078,13.6465464 10.3862038,13.6555423 10.3690405,13.664083 C10.3522054,13.6723976 10.3351478,13.6801087 10.3177097,13.6872958 C10.3045293,13.6927357 10.2911788,13.6978473 10.2777746,13.7025471 C10.2584813,13.7093513 10.2389875,13.7154237 10.2194971,13.7207897 C10.2011918,13.7257748 10.1826357,13.7301514 10.1634324,13.7339067 L10.1207556,13.7413147 C10.0813306,13.7470375 10.0410112,13.75 10,13.75 L10.0566667,13.747 L10.0399512,13.7490477 L9.96132783,13.7491078 C9.94161389,13.7481976 9.92192612,13.746591 9.89546844,13.7435072 C9.79274407,13.7306516 9.69583178,13.6990985 9.6082458,13.6523619 L9.59484365,13.6451239 C9.58442452,13.639322 9.57410342,13.6332795 9.56375825,13.6268308 C9.54437371,13.6148978 9.52551484,13.6021934 9.50686916,13.5885746 L9.48480346,13.5717051 L9.41074435,13.5059223 L6.49407768,10.5892557 L6.44539737,10.5362495 C6.16954226,10.2088381 6.18576903,9.719053 6.49407768,9.41074435 L6.54708384,9.36206404 C6.87449527,9.08620893 7.36428033,9.1024357 7.67258898,9.41074435 L9.167,10.905 L9.16666667,3.33333333 C9.16666667,2.87309604 9.53976271,2.5 10,2.5 Z",
12256
+ "fill": "#FFF",
12257
+ "fill-rule": "nonzero"
12258
+ }, null)]);
12259
+ var __async$3 = (__this, __arguments, generator) => {
12260
+ return new Promise((resolve, reject) => {
12261
+ var fulfilled = (value) => {
12262
+ try {
12263
+ step(generator.next(value));
12264
+ } catch (e) {
12265
+ reject(e);
12266
+ }
12267
+ };
12268
+ var rejected = (value) => {
12269
+ try {
12270
+ step(generator.throw(value));
12271
+ } catch (e) {
12272
+ reject(e);
12273
+ }
12274
+ };
12275
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
12276
+ step((generator = generator.apply(__this, __arguments)).next());
12277
+ });
12278
+ };
12250
12279
  const [name$A, bem$z] = createNamespace("image-preview");
12251
12280
  const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate", "teleport"];
12252
12281
  const imagePreviewProps = {
@@ -12258,6 +12287,8 @@ const imagePreviewProps = {
12258
12287
  overlay: truthProp,
12259
12288
  closeable: Boolean,
12260
12289
  showIndex: truthProp,
12290
+ showDownload: Boolean,
12291
+ downloadAction: Function,
12261
12292
  className: unknownProp,
12262
12293
  closeIcon: makeStringProp("clear"),
12263
12294
  transition: String,
@@ -12275,12 +12306,13 @@ const imagePreviewProps = {
12275
12306
  var stdin_default$R = vue.defineComponent({
12276
12307
  name: name$A,
12277
12308
  props: imagePreviewProps,
12278
- emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
12309
+ emits: ["scale", "close", "closed", "change", "longPress", "update:show", "download"],
12279
12310
  setup(props, {
12280
12311
  emit,
12281
12312
  slots
12282
12313
  }) {
12283
12314
  const swipeRef = vue.ref();
12315
+ const hasDownloadSupport = vue.ref(false);
12284
12316
  const state = vue.reactive({
12285
12317
  active: 0,
12286
12318
  rootWidth: 0,
@@ -12320,9 +12352,54 @@ var stdin_default$R = vue.defineComponent({
12320
12352
  }, [props.images[state.active].title]);
12321
12353
  }
12322
12354
  };
12355
+ const onDownload = () => __async$3(this, null, function* () {
12356
+ var _a, _b, _c;
12357
+ const downloadParams = {
12358
+ index: state.active,
12359
+ url: (_a = props.images[state.active]) == null ? void 0 : _a.url,
12360
+ title: (_b = props.images[state.active]) == null ? void 0 : _b.title
12361
+ };
12362
+ if (props.downloadAction) {
12363
+ const result = props.downloadAction(downloadParams);
12364
+ if (result) {
12365
+ return;
12366
+ }
12367
+ }
12368
+ try {
12369
+ let universalJsSdk = yield Promise.resolve().then(() => require("./index-bb5638a0.js"));
12370
+ if (universalJsSdk && universalJsSdk.getJSI && downloadParams.url) {
12371
+ let fileJsi = (_c = universalJsSdk.getJSI()) == null ? void 0 : _c.file;
12372
+ if (fileJsi && fileJsi.download) {
12373
+ showLoadingToast({
12374
+ message: "下载中...",
12375
+ forbidClick: true,
12376
+ duration: 0
12377
+ });
12378
+ fileJsi.download({
12379
+ url: downloadParams.url
12380
+ }).then(({
12381
+ tempFilePath
12382
+ }) => {
12383
+ closeToast();
12384
+ showSuccessToast("下载成功");
12385
+ }).catch(() => {
12386
+ closeToast();
12387
+ showFailToast("下载失败");
12388
+ });
12389
+ return;
12390
+ } else {
12391
+ showFailToast("当前环境暂不支持下载");
12392
+ }
12393
+ }
12394
+ } catch (e) {
12395
+ console.log(e.message);
12396
+ }
12397
+ });
12323
12398
  const renderIndex = () => {
12324
- if (props.showIndex) {
12325
- if (slots.index) {
12399
+ const image = props.images[state.active];
12400
+ const showDownload = props.showDownload && hasDownloadSupport.value && !image.url.startsWith("data:");
12401
+ if (props.showIndex || showDownload) {
12402
+ if (props.showIndex && slots.index) {
12326
12403
  return vue.createVNode("div", {
12327
12404
  "class": bem$z("index")
12328
12405
  }, [slots.index({
@@ -12331,9 +12408,15 @@ var stdin_default$R = vue.defineComponent({
12331
12408
  }
12332
12409
  return vue.createVNode("div", {
12333
12410
  "class": bem$z("index")
12334
- }, [renderIndexText(), renderImageTitle()]);
12411
+ }, [props.showIndex && renderIndexText(), props.showIndex && renderImageTitle(), showDownload && renderDownloadIcon()]);
12335
12412
  }
12336
12413
  };
12414
+ const renderDownloadIcon = () => {
12415
+ return vue.createVNode("div", {
12416
+ "class": bem$z("download-icon"),
12417
+ "onClick": onDownload
12418
+ }, [Download(bem$z)]);
12419
+ };
12337
12420
  const renderCover = () => {
12338
12421
  if (slots.cover) {
12339
12422
  return vue.createVNode("div", {
@@ -12397,7 +12480,20 @@ var stdin_default$R = vue.defineComponent({
12397
12480
  useExpose({
12398
12481
  swipeTo
12399
12482
  });
12400
- vue.onMounted(resize);
12483
+ vue.onMounted(() => __async$3(this, null, function* () {
12484
+ var _a;
12485
+ resize();
12486
+ try {
12487
+ const universalJsSdk = yield Promise.resolve().then(() => require("./index-bb5638a0.js"));
12488
+ if (universalJsSdk && universalJsSdk.getJSI) {
12489
+ const fileJsi = (_a = universalJsSdk.getJSI()) == null ? void 0 : _a.file;
12490
+ hasDownloadSupport.value = !!(fileJsi && fileJsi.download);
12491
+ }
12492
+ } catch (e) {
12493
+ console.warn("Failed to check download support:", e);
12494
+ hasDownloadSupport.value = false;
12495
+ }
12496
+ }));
12401
12497
  vue.watch([windowWidth, windowHeight], resize);
12402
12498
  vue.watch(() => props.startPosition, (value) => setActive(+value));
12403
12499
  vue.watch(() => props.show, (value) => {
@@ -15996,6 +16092,7 @@ const mediaPickerProps = {
15996
16092
  },
15997
16093
  disabled: Boolean,
15998
16094
  showTitle: Boolean,
16095
+ showDownload: Boolean,
15999
16096
  useFileNameAsLabel: Boolean,
16000
16097
  title: makeStringProp("添加附件"),
16001
16098
  mediaList: makeArrayProp(),
@@ -16686,6 +16783,7 @@ var stdin_default$C = vue.defineComponent({
16686
16783
  images: imageList.value.map((image) => ({
16687
16784
  url: image.url || image.showSrc || ""
16688
16785
  })),
16786
+ showDownload: props.showDownload,
16689
16787
  startPosition: imageIndex,
16690
16788
  closeable: true
16691
16789
  });
@@ -16699,7 +16797,7 @@ var stdin_default$C = vue.defineComponent({
16699
16797
  }
16700
16798
  } else if (media.type === "file") {
16701
16799
  try {
16702
- let universalJsSdk = yield Promise.resolve().then(() => require("./index-d66aaef4.js"));
16800
+ let universalJsSdk = yield Promise.resolve().then(() => require("./index-bb5638a0.js"));
16703
16801
  if (universalJsSdk && universalJsSdk.getJSI && media.url) {
16704
16802
  let fileJsi = (_a = universalJsSdk.getJSI()) == null ? void 0 : _a.file;
16705
16803
  if (fileJsi && fileJsi.download && fileJsi.openDocument) {
@@ -23411,7 +23509,7 @@ const Lazyload = {
23411
23509
  });
23412
23510
  }
23413
23511
  };
23414
- const version = "3.1.72";
23512
+ const version = "3.1.73";
23415
23513
  function install(app) {
23416
23514
  const components = [
23417
23515
  ActionSheet,
package/lib/zartui.es.js CHANGED
@@ -12245,6 +12245,35 @@ var stdin_default$S = defineComponent({
12245
12245
  };
12246
12246
  }
12247
12247
  });
12248
+ const Download = (bem2) => createVNode("svg", {
12249
+ "class": bem2("svg-download-icon"),
12250
+ "xmlns": "http://www.w3.org/2000/svg",
12251
+ "viewBox": "0 0 20 20"
12252
+ }, [createVNode("path", {
12253
+ "d": "M3.75,17.5 C3.28976271,17.5 2.91666667,17.126904 2.91666667,16.6666667 L2.91666667,12.5 C2.91666667,12.0397627 3.28976271,11.6666667 3.75,11.6666667 C4.21023729,11.6666667 4.58333333,12.0397627 4.58333333,12.5 L4.58266667,15.833 L15.4166667,15.833 L15.4166667,12.5 C15.4166667,12.0397627 15.7897627,11.6666667 16.25,11.6666667 C16.7102373,11.6666667 17.0833333,12.0397627 17.0833333,12.5 L17.0833333,16.6666667 C17.0833333,17.0915011 16.765429,17.442085 16.3545316,17.4935072 L16.25,17.5 L3.75,17.5 Z M10,2.5 C10.4602373,2.5 10.8333333,2.87309604 10.8333333,3.33333333 L10.834,10.904 L12.327411,9.41074435 L12.3804172,9.36206404 C12.7078286,9.08620893 13.1976137,9.1024357 13.5059223,9.41074435 C13.8313592,9.73618126 13.8313592,10.2638187 13.5059223,10.5892557 L10.5892557,13.5059223 L10.5659501,13.5283458 C10.5602582,13.5336148 10.5544926,13.5388053 10.548655,13.5439156 L10.5362495,13.5546026 L10.5121742,13.5740743 C10.4949132,13.5875412 10.4771081,13.6003432 10.4586783,13.6126074 C10.4455853,13.6212563 10.4323019,13.6294968 10.4192578,13.6370097 C10.4029078,13.6465464 10.3862038,13.6555423 10.3690405,13.664083 C10.3522054,13.6723976 10.3351478,13.6801087 10.3177097,13.6872958 C10.3045293,13.6927357 10.2911788,13.6978473 10.2777746,13.7025471 C10.2584813,13.7093513 10.2389875,13.7154237 10.2194971,13.7207897 C10.2011918,13.7257748 10.1826357,13.7301514 10.1634324,13.7339067 L10.1207556,13.7413147 C10.0813306,13.7470375 10.0410112,13.75 10,13.75 L10.0566667,13.747 L10.0399512,13.7490477 L9.96132783,13.7491078 C9.94161389,13.7481976 9.92192612,13.746591 9.89546844,13.7435072 C9.79274407,13.7306516 9.69583178,13.6990985 9.6082458,13.6523619 L9.59484365,13.6451239 C9.58442452,13.639322 9.57410342,13.6332795 9.56375825,13.6268308 C9.54437371,13.6148978 9.52551484,13.6021934 9.50686916,13.5885746 L9.48480346,13.5717051 L9.41074435,13.5059223 L6.49407768,10.5892557 L6.44539737,10.5362495 C6.16954226,10.2088381 6.18576903,9.719053 6.49407768,9.41074435 L6.54708384,9.36206404 C6.87449527,9.08620893 7.36428033,9.1024357 7.67258898,9.41074435 L9.167,10.905 L9.16666667,3.33333333 C9.16666667,2.87309604 9.53976271,2.5 10,2.5 Z",
12254
+ "fill": "#FFF",
12255
+ "fill-rule": "nonzero"
12256
+ }, null)]);
12257
+ var __async$3 = (__this, __arguments, generator) => {
12258
+ return new Promise((resolve, reject) => {
12259
+ var fulfilled = (value) => {
12260
+ try {
12261
+ step(generator.next(value));
12262
+ } catch (e) {
12263
+ reject(e);
12264
+ }
12265
+ };
12266
+ var rejected = (value) => {
12267
+ try {
12268
+ step(generator.throw(value));
12269
+ } catch (e) {
12270
+ reject(e);
12271
+ }
12272
+ };
12273
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
12274
+ step((generator = generator.apply(__this, __arguments)).next());
12275
+ });
12276
+ };
12248
12277
  const [name$A, bem$z] = createNamespace("image-preview");
12249
12278
  const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate", "teleport"];
12250
12279
  const imagePreviewProps = {
@@ -12256,6 +12285,8 @@ const imagePreviewProps = {
12256
12285
  overlay: truthProp,
12257
12286
  closeable: Boolean,
12258
12287
  showIndex: truthProp,
12288
+ showDownload: Boolean,
12289
+ downloadAction: Function,
12259
12290
  className: unknownProp,
12260
12291
  closeIcon: makeStringProp("clear"),
12261
12292
  transition: String,
@@ -12273,12 +12304,13 @@ const imagePreviewProps = {
12273
12304
  var stdin_default$R = defineComponent({
12274
12305
  name: name$A,
12275
12306
  props: imagePreviewProps,
12276
- emits: ["scale", "close", "closed", "change", "longPress", "update:show"],
12307
+ emits: ["scale", "close", "closed", "change", "longPress", "update:show", "download"],
12277
12308
  setup(props, {
12278
12309
  emit,
12279
12310
  slots
12280
12311
  }) {
12281
12312
  const swipeRef = ref();
12313
+ const hasDownloadSupport = ref(false);
12282
12314
  const state = reactive({
12283
12315
  active: 0,
12284
12316
  rootWidth: 0,
@@ -12318,9 +12350,54 @@ var stdin_default$R = defineComponent({
12318
12350
  }, [props.images[state.active].title]);
12319
12351
  }
12320
12352
  };
12353
+ const onDownload = () => __async$3(this, null, function* () {
12354
+ var _a, _b, _c;
12355
+ const downloadParams = {
12356
+ index: state.active,
12357
+ url: (_a = props.images[state.active]) == null ? void 0 : _a.url,
12358
+ title: (_b = props.images[state.active]) == null ? void 0 : _b.title
12359
+ };
12360
+ if (props.downloadAction) {
12361
+ const result = props.downloadAction(downloadParams);
12362
+ if (result) {
12363
+ return;
12364
+ }
12365
+ }
12366
+ try {
12367
+ let universalJsSdk = yield import("./index-096e2873.mjs");
12368
+ if (universalJsSdk && universalJsSdk.getJSI && downloadParams.url) {
12369
+ let fileJsi = (_c = universalJsSdk.getJSI()) == null ? void 0 : _c.file;
12370
+ if (fileJsi && fileJsi.download) {
12371
+ showLoadingToast({
12372
+ message: "下载中...",
12373
+ forbidClick: true,
12374
+ duration: 0
12375
+ });
12376
+ fileJsi.download({
12377
+ url: downloadParams.url
12378
+ }).then(({
12379
+ tempFilePath
12380
+ }) => {
12381
+ closeToast();
12382
+ showSuccessToast("下载成功");
12383
+ }).catch(() => {
12384
+ closeToast();
12385
+ showFailToast("下载失败");
12386
+ });
12387
+ return;
12388
+ } else {
12389
+ showFailToast("当前环境暂不支持下载");
12390
+ }
12391
+ }
12392
+ } catch (e) {
12393
+ console.log(e.message);
12394
+ }
12395
+ });
12321
12396
  const renderIndex = () => {
12322
- if (props.showIndex) {
12323
- if (slots.index) {
12397
+ const image = props.images[state.active];
12398
+ const showDownload = props.showDownload && hasDownloadSupport.value && !image.url.startsWith("data:");
12399
+ if (props.showIndex || showDownload) {
12400
+ if (props.showIndex && slots.index) {
12324
12401
  return createVNode("div", {
12325
12402
  "class": bem$z("index")
12326
12403
  }, [slots.index({
@@ -12329,9 +12406,15 @@ var stdin_default$R = defineComponent({
12329
12406
  }
12330
12407
  return createVNode("div", {
12331
12408
  "class": bem$z("index")
12332
- }, [renderIndexText(), renderImageTitle()]);
12409
+ }, [props.showIndex && renderIndexText(), props.showIndex && renderImageTitle(), showDownload && renderDownloadIcon()]);
12333
12410
  }
12334
12411
  };
12412
+ const renderDownloadIcon = () => {
12413
+ return createVNode("div", {
12414
+ "class": bem$z("download-icon"),
12415
+ "onClick": onDownload
12416
+ }, [Download(bem$z)]);
12417
+ };
12335
12418
  const renderCover = () => {
12336
12419
  if (slots.cover) {
12337
12420
  return createVNode("div", {
@@ -12395,7 +12478,20 @@ var stdin_default$R = defineComponent({
12395
12478
  useExpose({
12396
12479
  swipeTo
12397
12480
  });
12398
- onMounted(resize);
12481
+ onMounted(() => __async$3(this, null, function* () {
12482
+ var _a;
12483
+ resize();
12484
+ try {
12485
+ const universalJsSdk = yield import("./index-096e2873.mjs");
12486
+ if (universalJsSdk && universalJsSdk.getJSI) {
12487
+ const fileJsi = (_a = universalJsSdk.getJSI()) == null ? void 0 : _a.file;
12488
+ hasDownloadSupport.value = !!(fileJsi && fileJsi.download);
12489
+ }
12490
+ } catch (e) {
12491
+ console.warn("Failed to check download support:", e);
12492
+ hasDownloadSupport.value = false;
12493
+ }
12494
+ }));
12399
12495
  watch([windowWidth, windowHeight], resize);
12400
12496
  watch(() => props.startPosition, (value) => setActive(+value));
12401
12497
  watch(() => props.show, (value) => {
@@ -15994,6 +16090,7 @@ const mediaPickerProps = {
15994
16090
  },
15995
16091
  disabled: Boolean,
15996
16092
  showTitle: Boolean,
16093
+ showDownload: Boolean,
15997
16094
  useFileNameAsLabel: Boolean,
15998
16095
  title: makeStringProp("添加附件"),
15999
16096
  mediaList: makeArrayProp(),
@@ -16684,6 +16781,7 @@ var stdin_default$C = defineComponent({
16684
16781
  images: imageList.value.map((image) => ({
16685
16782
  url: image.url || image.showSrc || ""
16686
16783
  })),
16784
+ showDownload: props.showDownload,
16687
16785
  startPosition: imageIndex,
16688
16786
  closeable: true
16689
16787
  });
@@ -16697,7 +16795,7 @@ var stdin_default$C = defineComponent({
16697
16795
  }
16698
16796
  } else if (media.type === "file") {
16699
16797
  try {
16700
- let universalJsSdk = yield import("./index-8bc782d2.mjs");
16798
+ let universalJsSdk = yield import("./index-096e2873.mjs");
16701
16799
  if (universalJsSdk && universalJsSdk.getJSI && media.url) {
16702
16800
  let fileJsi = (_a = universalJsSdk.getJSI()) == null ? void 0 : _a.file;
16703
16801
  if (fileJsi && fileJsi.download && fileJsi.openDocument) {
@@ -23409,7 +23507,7 @@ const Lazyload = {
23409
23507
  });
23410
23508
  }
23411
23509
  };
23412
- const version = "3.1.72";
23510
+ const version = "3.1.73";
23413
23511
  function install(app) {
23414
23512
  const components = [
23415
23513
  ActionSheet,