quasar-ui-danx 0.3.31 → 0.3.32

Sign up to get free protection for your applications and to get access to all the features.
package/dist/danx.es.js CHANGED
@@ -11703,12 +11703,11 @@ const ms = { render: By }, t3 = {
11703
11703
  var h, g;
11704
11704
  return ((h = o.value) == null ? void 0 : h.type) || ((g = o.value) == null ? void 0 : g.mime) || "";
11705
11705
  }
11706
- ), l = R(() => !!s.value.match(/^image\//)), a = R(() => !!s.value.match(/^video\//)), u = R(() => !!s.value.match(/^application\/pdf/)), c = R(
11707
- () => {
11708
- var h, g, T, v, E;
11709
- return ((T = (g = (h = o.value) == null ? void 0 : h.transcodes) == null ? void 0 : g.compress) == null ? void 0 : T.url) || ((v = o.value) == null ? void 0 : v.blobUrl) || ((E = o.value) == null ? void 0 : E.url);
11710
- }
11711
- ), d = R(() => {
11706
+ ), l = R(() => !!s.value.match(/^image\//)), a = R(() => !!s.value.match(/^video\//)), u = R(() => !!s.value.match(/^application\/pdf/)), c = R(() => {
11707
+ var g, T, v, E, C;
11708
+ const h = (g = o.value) == null ? void 0 : g.transcodes;
11709
+ return console.log("calc preview", h, o.value), a.value && ((T = h == null ? void 0 : h.mp4) != null && T.url) ? h.mp4.url : ((v = h == null ? void 0 : h.compress) == null ? void 0 : v.url) || ((E = o.value) == null ? void 0 : E.blobUrl) || ((C = o.value) == null ? void 0 : C.url);
11710
+ }), d = R(() => {
11712
11711
  var h, g, T;
11713
11712
  return (T = (g = (h = o.value) == null ? void 0 : h.transcodes) == null ? void 0 : g.thumb) == null ? void 0 : T.url;
11714
11713
  }), _ = R(() => !!d.value || a.value || l.value), f = B(!1);
@@ -19419,7 +19418,7 @@ const VS = {
19419
19418
  });
19420
19419
  };
19421
19420
  }
19422
- }, pT = "quasar-ui-danx", gT = "0.3.31", bT = "Dan <dan@flytedesk.com>", yT = "DanX Vue / Quasar component library", xT = "MIT", vT = "module", wT = "dist/danx.es.js", ST = "dist/danx.es.js", TT = {
19421
+ }, pT = "quasar-ui-danx", gT = "0.3.32", bT = "Dan <dan@flytedesk.com>", yT = "DanX Vue / Quasar component library", xT = "MIT", vT = "module", wT = "dist/danx.es.js", ST = "dist/danx.es.js", TT = {
19423
19422
  dev: "cd dev && quasar dev && cd ..",
19424
19423
  build: "vite build",
19425
19424
  preview: "vite preview",