@idmwx/idmui-gl4 2.5.7 → 2.5.9

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.
@@ -1,4 +1,4 @@
1
- import { l as b } from "./index-8518bcce.js";
1
+ import { l as b } from "./index-b3f9b746.js";
2
2
  function M(e) {
3
3
  return typeof e == "string" && /^data:image\/svg\+xml/i.test(e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { W as a } from "./chunk-3VYIPD3A-e5681285.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-f32b2af5.js";
2
2
  async function o(r, t) {
3
3
  let i = await a(r, t), e = new Image();
4
4
  return e.src = i.toDataURL(`image/${t.format}`, t.quality), await e.decode(), e.style.width = `${i.width / t.dpr}px`, e.style.height = `${i.height / t.dpr}px`, e;
@@ -1,4 +1,4 @@
1
- import { W as m } from "./chunk-3VYIPD3A-e5681285.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-f32b2af5.js";
2
2
  async function a(n, e) {
3
3
  let o = e.type;
4
4
  if (o === "svg") {
@@ -1,6 +1,6 @@
1
- import { m as d } from "./chunk-T4JIPPZO-03a5fcbc.js";
2
- import { W as f } from "./chunk-3VYIPD3A-e5681285.js";
3
- import "./index-8518bcce.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-5955a70b.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-f32b2af5.js";
3
+ import "./index-b3f9b746.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -17554,52 +17554,52 @@ Ce.capture = async (e, t, o) => {
17554
17554
  if (o !== xr)
17555
17555
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17556
17556
  let i = await wr(e, t), a = { img: async (f, h) => {
17557
- let { toImg: u } = await import("./toImg-0182ce19.js");
17557
+ let { toImg: u } = await import("./toImg-c07ff398.js");
17558
17558
  return u(i, { ...f, ...h || {} });
17559
17559
  }, svg: async (f, h) => {
17560
- let { toSvg: u } = await import("./toImg-0182ce19.js");
17560
+ let { toSvg: u } = await import("./toImg-c07ff398.js");
17561
17561
  return u(i, { ...f, ...h || {} });
17562
17562
  }, canvas: async (f, h) => {
17563
- let { toCanvas: u } = await import("./toCanvas-c6f1ce00.js");
17563
+ let { toCanvas: u } = await import("./toCanvas-5a9f2f1f.js");
17564
17564
  return u(i, { ...f, ...h || {} });
17565
17565
  }, blob: async (f, h) => {
17566
- let { toBlob: u } = await import("./toBlob-ab8200ad.js");
17566
+ let { toBlob: u } = await import("./toBlob-2fa3cc26.js");
17567
17567
  return u(i, { ...f, ...h || {} });
17568
17568
  }, png: async (f, h) => {
17569
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-3216c1e4.js");
17569
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-b903f925.js");
17570
17570
  return u(i, { ...f, ...h || {}, format: "png" });
17571
17571
  }, jpeg: async (f, h) => {
17572
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-3216c1e4.js");
17572
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-b903f925.js");
17573
17573
  return u(i, { ...f, ...h || {}, format: "jpeg" });
17574
17574
  }, webp: async (f, h) => {
17575
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-3216c1e4.js");
17575
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-b903f925.js");
17576
17576
  return u(i, { ...f, ...h || {}, format: "webp" });
17577
17577
  }, download: async (f, h) => {
17578
- let { download: u } = await import("./download-544e15a0.js");
17578
+ let { download: u } = await import("./download-45a396d4.js");
17579
17579
  return u(i, { ...f, ...h || {} });
17580
17580
  } }, r = { ...t, export: { url: i }, exports: { svg: async (f) => {
17581
- let { toSvg: h } = await import("./toImg-0182ce19.js");
17581
+ let { toSvg: h } = await import("./toImg-c07ff398.js");
17582
17582
  return h(i, { ...t, ...f || {}, [$e]: !0 });
17583
17583
  }, canvas: async (f) => {
17584
- let { toCanvas: h } = await import("./toCanvas-c6f1ce00.js");
17584
+ let { toCanvas: h } = await import("./toCanvas-5a9f2f1f.js");
17585
17585
  return h(i, { ...t, ...f || {}, [$e]: !0 });
17586
17586
  }, png: async (f) => {
17587
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-3216c1e4.js");
17587
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-b903f925.js");
17588
17588
  return h(i, { ...t, ...f || {}, format: "png", [$e]: !0 });
17589
17589
  }, jpeg: async (f) => {
17590
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-3216c1e4.js");
17590
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-b903f925.js");
17591
17591
  return h(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17592
17592
  }, jpg: async (f) => {
17593
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-3216c1e4.js");
17593
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-b903f925.js");
17594
17594
  return h(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17595
17595
  }, webp: async (f) => {
17596
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-3216c1e4.js");
17596
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-b903f925.js");
17597
17597
  return h(i, { ...t, ...f || {}, format: "webp", [$e]: !0 });
17598
17598
  }, blob: async (f) => {
17599
- let { toBlob: h } = await import("./toBlob-ab8200ad.js");
17599
+ let { toBlob: h } = await import("./toBlob-2fa3cc26.js");
17600
17600
  return h(i, { ...t, ...f || {}, [$e]: !0 });
17601
17601
  }, img: async (f) => {
17602
- let { toImg: h } = await import("./toImg-0182ce19.js");
17602
+ let { toImg: h } = await import("./toImg-c07ff398.js");
17603
17603
  return h(i, { ...t, ...f || {}, [$e]: !0 });
17604
17604
  } } }, l = await _p("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...a, ...c };
17605
17605
  s.jpeg && !s.jpg && (s.jpg = (f, h) => s.jpeg(f, h));
@@ -18282,7 +18282,7 @@ const a0 = {
18282
18282
  }, o = await this.ossClient.put2HZ("/share", [t]);
18283
18283
  console.log("[BottomBar] streams:", o);
18284
18284
  const i = ((a = o == null ? void 0 : o[0]) == null ? void 0 : a.url) || "";
18285
- this.$emit("preview", i), this.handleDownload(), this.clear();
18285
+ this.$emit("preview", i), this.clear();
18286
18286
  },
18287
18287
  handleDownload() {
18288
18288
  const t = `ORM-Record-${G().format("yyyyMMDD-HHmm")}.gif`;
@@ -18368,7 +18368,7 @@ function u0(e, t, o, i, a, r) {
18368
18368
  ], 6)) : N("", !0)
18369
18369
  ]);
18370
18370
  }
18371
- const p0 = /* @__PURE__ */ ne(a0, [["render", u0], ["__scopeId", "data-v-e4852901"]]);
18371
+ const p0 = /* @__PURE__ */ ne(a0, [["render", u0], ["__scopeId", "data-v-0125d540"]]);
18372
18372
  const g0 = {
18373
18373
  name: "IdmBottomBar",
18374
18374
  components: { DateTimePicker: ta, IdmCapture: p0 },
@@ -18602,7 +18602,6 @@ function L0(e, t, o, i, a, r) {
18602
18602
  variant: "text",
18603
18603
  color: a.gifEnabled ? "primary" : "",
18604
18604
  class: "mr-1",
18605
- style: { "margin-top": "-2px" },
18606
18605
  onClick: t[5] || (t[5] = (u) => a.gifEnabled = !a.gifEnabled)
18607
18606
  }), {
18608
18607
  default: C(() => t[12] || (t[12] = [
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as M, D as g, L as n, a as x, b as D, M as T, g as S, f as W, P as f, d as h, T as k, V as y, W as V, e as d } from "./index-8518bcce.js";
1
+ import { c as M, D as g, L as n, a as x, b as D, M as T, g as S, f as W, P as f, d as h, T as k, V as y, W as V, e as d } from "./index-b3f9b746.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";