quasar-ui-danx 0.3.31 → 0.3.33

Sign up to get free protection for your applications and to get access to all the features.
package/dist/danx.es.js CHANGED
@@ -11148,8 +11148,9 @@ const ms = { render: By }, t3 = {
11148
11148
  return (a = l.mime) == null ? void 0 : a.startsWith("video");
11149
11149
  }
11150
11150
  function o(l) {
11151
- var a, u;
11152
- return ((u = (a = l.transcodes) == null ? void 0 : a.compress) == null ? void 0 : u.url) || l.blobUrl || l.url;
11151
+ var u, c;
11152
+ const a = l == null ? void 0 : l.transcodes;
11153
+ return ((u = a == null ? void 0 : a.mp4) == null ? void 0 : u.url) || ((c = a == null ? void 0 : a.compress) == null ? void 0 : c.url) || l.blobUrl || l.url;
11153
11154
  }
11154
11155
  function s(l) {
11155
11156
  return l.thumb ? l.thumb.url : i(l) ? `data:image/svg+xml;base64,${btoa(
@@ -11703,12 +11704,11 @@ const ms = { render: By }, t3 = {
11703
11704
  var h, g;
11704
11705
  return ((h = o.value) == null ? void 0 : h.type) || ((g = o.value) == null ? void 0 : g.mime) || "";
11705
11706
  }
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(() => {
11707
+ ), l = R(() => !!s.value.match(/^image\//)), a = R(() => !!s.value.match(/^video\//)), u = R(() => !!s.value.match(/^application\/pdf/)), c = R(() => {
11708
+ var g, T, v, E, C;
11709
+ const h = (g = o.value) == null ? void 0 : g.transcodes;
11710
+ return 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);
11711
+ }), d = R(() => {
11712
11712
  var h, g, T;
11713
11713
  return (T = (g = (h = o.value) == null ? void 0 : h.transcodes) == null ? void 0 : g.thumb) == null ? void 0 : T.url;
11714
11714
  }), _ = R(() => !!d.value || a.value || l.value), f = B(!1);
@@ -19419,7 +19419,7 @@ const VS = {
19419
19419
  });
19420
19420
  };
19421
19421
  }
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 = {
19422
+ }, pT = "quasar-ui-danx", gT = "0.3.33", 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
19423
  dev: "cd dev && quasar dev && cd ..",
19424
19424
  build: "vite build",
19425
19425
  preview: "vite preview",