@idmwx/idmui-gl4 3.3.9 → 3.4.1

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-568a0cd0.js";
1
+ import { l as b } from "./index-6f61ba8e.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-0dab5f1e.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-810f234d.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-0dab5f1e.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-810f234d.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-15027b3a.js";
2
- import { W as f } from "./chunk-3VYIPD3A-0dab5f1e.js";
3
- import "./index-568a0cd0.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-3a2c745b.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-810f234d.js";
3
+ import "./index-6f61ba8e.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -10075,7 +10075,7 @@ const oh = {
10075
10075
  computedLocalTime() {
10076
10076
  return (t) => {
10077
10077
  var i, a, l;
10078
- const e = Number((i = this.positionOffset) == null ? void 0 : i.slice(1, 3)) * (+(((a = this.positionOffset) == null ? void 0 : a.slice(1)) === "+") ? 1 : -1), o = (l = this.timeZoneNames.filter((r) => T.tz(T(), r).utcOffset() === e * 60)) == null ? void 0 : l[0];
10078
+ const e = Number((i = this.positionOffset) == null ? void 0 : i.slice(1, 3)) * (((a = this.positionOffset) == null ? void 0 : a.slice(0, 1)) === "+" ? 1 : -1), o = (l = this.timeZoneNames.filter((r) => T.tz(T(), r).utcOffset() === e * 60)) == null ? void 0 : l[0];
10079
10079
  return t ? T.tz(T(t), o).clone().format("YYYY-MM-DD HHmm") + " (UTC " + (e >= 0 ? "+" : "") + e + ")" : "-";
10080
10080
  };
10081
10081
  },
@@ -17075,52 +17075,52 @@ Pe.capture = async (t, e, o) => {
17075
17075
  if (o !== ll)
17076
17076
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17077
17077
  let i = await il(t, e), a = { img: async (g, h) => {
17078
- let { toImg: f } = await import("./toImg-8aba0627.js");
17078
+ let { toImg: f } = await import("./toImg-8076337c.js");
17079
17079
  return f(i, { ...g, ...h || {} });
17080
17080
  }, svg: async (g, h) => {
17081
- let { toSvg: f } = await import("./toImg-8aba0627.js");
17081
+ let { toSvg: f } = await import("./toImg-8076337c.js");
17082
17082
  return f(i, { ...g, ...h || {} });
17083
17083
  }, canvas: async (g, h) => {
17084
- let { toCanvas: f } = await import("./toCanvas-78733167.js");
17084
+ let { toCanvas: f } = await import("./toCanvas-0a347ab6.js");
17085
17085
  return f(i, { ...g, ...h || {} });
17086
17086
  }, blob: async (g, h) => {
17087
- let { toBlob: f } = await import("./toBlob-685c9c97.js");
17087
+ let { toBlob: f } = await import("./toBlob-0e9b8d52.js");
17088
17088
  return f(i, { ...g, ...h || {} });
17089
17089
  }, png: async (g, h) => {
17090
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-ac7f3622.js");
17090
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-10b2aa44.js");
17091
17091
  return f(i, { ...g, ...h || {}, format: "png" });
17092
17092
  }, jpeg: async (g, h) => {
17093
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-ac7f3622.js");
17093
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-10b2aa44.js");
17094
17094
  return f(i, { ...g, ...h || {}, format: "jpeg" });
17095
17095
  }, webp: async (g, h) => {
17096
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-ac7f3622.js");
17096
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-10b2aa44.js");
17097
17097
  return f(i, { ...g, ...h || {}, format: "webp" });
17098
17098
  }, download: async (g, h) => {
17099
- let { download: f } = await import("./download-f27a011e.js");
17099
+ let { download: f } = await import("./download-aa4f3d8b.js");
17100
17100
  return f(i, { ...g, ...h || {} });
17101
17101
  } }, l = { ...e, export: { url: i }, exports: { svg: async (g) => {
17102
- let { toSvg: h } = await import("./toImg-8aba0627.js");
17102
+ let { toSvg: h } = await import("./toImg-8076337c.js");
17103
17103
  return h(i, { ...e, ...g || {}, [mo]: !0 });
17104
17104
  }, canvas: async (g) => {
17105
- let { toCanvas: h } = await import("./toCanvas-78733167.js");
17105
+ let { toCanvas: h } = await import("./toCanvas-0a347ab6.js");
17106
17106
  return h(i, { ...e, ...g || {}, [mo]: !0 });
17107
17107
  }, png: async (g) => {
17108
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-ac7f3622.js");
17108
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-10b2aa44.js");
17109
17109
  return h(i, { ...e, ...g || {}, format: "png", [mo]: !0 });
17110
17110
  }, jpeg: async (g) => {
17111
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-ac7f3622.js");
17111
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-10b2aa44.js");
17112
17112
  return h(i, { ...e, ...g || {}, format: "jpeg", [mo]: !0 });
17113
17113
  }, jpg: async (g) => {
17114
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-ac7f3622.js");
17114
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-10b2aa44.js");
17115
17115
  return h(i, { ...e, ...g || {}, format: "jpeg", [mo]: !0 });
17116
17116
  }, webp: async (g) => {
17117
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-ac7f3622.js");
17117
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-10b2aa44.js");
17118
17118
  return h(i, { ...e, ...g || {}, format: "webp", [mo]: !0 });
17119
17119
  }, blob: async (g) => {
17120
- let { toBlob: h } = await import("./toBlob-685c9c97.js");
17120
+ let { toBlob: h } = await import("./toBlob-0e9b8d52.js");
17121
17121
  return h(i, { ...e, ...g || {}, [mo]: !0 });
17122
17122
  }, img: async (g) => {
17123
- let { toImg: h } = await import("./toImg-8aba0627.js");
17123
+ let { toImg: h } = await import("./toImg-8076337c.js");
17124
17124
  return h(i, { ...e, ...g || {}, [mo]: !0 });
17125
17125
  } } }, r = await Wg("defineExports", l), c = Object.assign({}, ...r.filter((g) => g && typeof g == "object")), s = { ...a, ...c };
17126
17126
  s.jpeg && !s.jpg && (s.jpg = (g, h) => s.jpeg(g, h));
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as n, D as x, L as D, a as T, b as S, M as W, g as f, f as h, P as k, d as y, T as V, V as d, W as u, e as w } from "./index-568a0cd0.js";
1
+ import { c as n, D as x, L as D, a as T, b as S, M as W, g as f, f as h, P as k, d as y, T as V, V as d, W as u, e as w } from "./index-6f61ba8e.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";