@idmwx/idmui-gl4 3.9.6 → 3.9.7

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-f5930426.js";
1
+ import { l as b } from "./index-e1b323d5.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-24ad3023.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-ed4bf68b.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-24ad3023.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-ed4bf68b.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-2877877c.js";
2
- import { W as f } from "./chunk-3VYIPD3A-24ad3023.js";
3
- import "./index-f5930426.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-5edd0671.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-ed4bf68b.js";
3
+ import "./index-e1b323d5.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -11066,13 +11066,14 @@ const Su = {
11066
11066
  currentRealTime: {
11067
11067
  handler(t, e) {
11068
11068
  t !== e && this.$emit("currentRealTime", this.currentRealTime);
11069
- }
11069
+ },
11070
+ immediate: !0
11070
11071
  }
11071
11072
  },
11072
11073
  mounted() {
11073
11074
  this.timer = setInterval(() => {
11074
11075
  this.currentRealTime = `${S.tz(S().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
11075
- }, 100), document.addEventListener("click", this.handleClickOutside);
11076
+ }, 1e3), document.addEventListener("click", this.handleClickOutside);
11076
11077
  },
11077
11078
  unmounted() {
11078
11079
  clearInterval(this.timer), this.handleCancelDate(), document.removeEventListener("click", this.handleClickOutside);
@@ -18350,52 +18351,52 @@ Se.capture = async (t, e, o) => {
18350
18351
  if (o !== fl)
18351
18352
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
18352
18353
  let i = await gl(t, e), a = { img: async (u, h) => {
18353
- let { toImg: f } = await import("./toImg-27ca69b4.js");
18354
+ let { toImg: f } = await import("./toImg-451b355c.js");
18354
18355
  return f(i, { ...u, ...h || {} });
18355
18356
  }, svg: async (u, h) => {
18356
- let { toSvg: f } = await import("./toImg-27ca69b4.js");
18357
+ let { toSvg: f } = await import("./toImg-451b355c.js");
18357
18358
  return f(i, { ...u, ...h || {} });
18358
18359
  }, canvas: async (u, h) => {
18359
- let { toCanvas: f } = await import("./toCanvas-cb314a1f.js");
18360
+ let { toCanvas: f } = await import("./toCanvas-5adb25d5.js");
18360
18361
  return f(i, { ...u, ...h || {} });
18361
18362
  }, blob: async (u, h) => {
18362
- let { toBlob: f } = await import("./toBlob-c01e1e2b.js");
18363
+ let { toBlob: f } = await import("./toBlob-269352b2.js");
18363
18364
  return f(i, { ...u, ...h || {} });
18364
18365
  }, png: async (u, h) => {
18365
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-ef4de766.js");
18366
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-f5dd9913.js");
18366
18367
  return f(i, { ...u, ...h || {}, format: "png" });
18367
18368
  }, jpeg: async (u, h) => {
18368
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-ef4de766.js");
18369
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-f5dd9913.js");
18369
18370
  return f(i, { ...u, ...h || {}, format: "jpeg" });
18370
18371
  }, webp: async (u, h) => {
18371
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-ef4de766.js");
18372
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-f5dd9913.js");
18372
18373
  return f(i, { ...u, ...h || {}, format: "webp" });
18373
18374
  }, download: async (u, h) => {
18374
- let { download: f } = await import("./download-ab84e805.js");
18375
+ let { download: f } = await import("./download-0b42c1b2.js");
18375
18376
  return f(i, { ...u, ...h || {} });
18376
18377
  } }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
18377
- let { toSvg: h } = await import("./toImg-27ca69b4.js");
18378
+ let { toSvg: h } = await import("./toImg-451b355c.js");
18378
18379
  return h(i, { ...e, ...u || {}, [po]: !0 });
18379
18380
  }, canvas: async (u) => {
18380
- let { toCanvas: h } = await import("./toCanvas-cb314a1f.js");
18381
+ let { toCanvas: h } = await import("./toCanvas-5adb25d5.js");
18381
18382
  return h(i, { ...e, ...u || {}, [po]: !0 });
18382
18383
  }, png: async (u) => {
18383
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-ef4de766.js");
18384
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-f5dd9913.js");
18384
18385
  return h(i, { ...e, ...u || {}, format: "png", [po]: !0 });
18385
18386
  }, jpeg: async (u) => {
18386
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-ef4de766.js");
18387
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-f5dd9913.js");
18387
18388
  return h(i, { ...e, ...u || {}, format: "jpeg", [po]: !0 });
18388
18389
  }, jpg: async (u) => {
18389
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-ef4de766.js");
18390
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-f5dd9913.js");
18390
18391
  return h(i, { ...e, ...u || {}, format: "jpeg", [po]: !0 });
18391
18392
  }, webp: async (u) => {
18392
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-ef4de766.js");
18393
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-f5dd9913.js");
18393
18394
  return h(i, { ...e, ...u || {}, format: "webp", [po]: !0 });
18394
18395
  }, blob: async (u) => {
18395
- let { toBlob: h } = await import("./toBlob-c01e1e2b.js");
18396
+ let { toBlob: h } = await import("./toBlob-269352b2.js");
18396
18397
  return h(i, { ...e, ...u || {}, [po]: !0 });
18397
18398
  }, img: async (u) => {
18398
- let { toImg: h } = await import("./toImg-27ca69b4.js");
18399
+ let { toImg: h } = await import("./toImg-451b355c.js");
18399
18400
  return h(i, { ...e, ...u || {}, [po]: !0 });
18400
18401
  } } }, l = await D0("defineExports", r), n = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...a, ...n };
18401
18402
  s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
@@ -40419,7 +40420,7 @@ const bb = {
40419
40420
  return (t, e, o = "yyyy-MM-DD") => {
40420
40421
  var i, a;
40421
40422
  if (t) {
40422
- const r = e || 0;
40423
+ const r = Number(e) || 0;
40423
40424
  return (a = (i = S(t)) == null ? void 0 : i.utcOffset(r)) == null ? void 0 : a.format(o);
40424
40425
  }
40425
40426
  return "-";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as D, c as M, D as n, L as x, a as T, b as W, M as h, g as V, e as f, P as k, S as w, T as y, V as B, f as d, W as u, d as v } from "./index-f5930426.js";
1
+ import { B as D, c as M, D as n, L as x, a as T, b as W, M as h, g as V, e as f, P as k, S as w, T as y, V as B, f as d, W as u, d as v } from "./index-e1b323d5.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";