@idmwx/idmui-gl4 2.7.2 → 2.7.3

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-0f589a18.js";
1
+ import { l as b } from "./index-81196379.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-9f3048f1.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-b896ad9d.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-9f3048f1.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-b896ad9d.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-1b814834.js";
2
- import { W as f } from "./chunk-3VYIPD3A-9f3048f1.js";
3
- import "./index-0f589a18.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-82f0d211.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-b896ad9d.js";
3
+ import "./index-81196379.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -17283,52 +17283,52 @@ Ce.capture = async (e, t, a) => {
17283
17283
  if (a !== wr)
17284
17284
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17285
17285
  let i = await br(e, t), o = { img: async (f, d) => {
17286
- let { toImg: u } = await import("./toImg-605102af.js");
17286
+ let { toImg: u } = await import("./toImg-1e5a5e53.js");
17287
17287
  return u(i, { ...f, ...d || {} });
17288
17288
  }, svg: async (f, d) => {
17289
- let { toSvg: u } = await import("./toImg-605102af.js");
17289
+ let { toSvg: u } = await import("./toImg-1e5a5e53.js");
17290
17290
  return u(i, { ...f, ...d || {} });
17291
17291
  }, canvas: async (f, d) => {
17292
- let { toCanvas: u } = await import("./toCanvas-3ab44a4b.js");
17292
+ let { toCanvas: u } = await import("./toCanvas-8e08ad44.js");
17293
17293
  return u(i, { ...f, ...d || {} });
17294
17294
  }, blob: async (f, d) => {
17295
- let { toBlob: u } = await import("./toBlob-256d732a.js");
17295
+ let { toBlob: u } = await import("./toBlob-b27b2948.js");
17296
17296
  return u(i, { ...f, ...d || {} });
17297
17297
  }, png: async (f, d) => {
17298
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17298
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-c4a93c94.js");
17299
17299
  return u(i, { ...f, ...d || {}, format: "png" });
17300
17300
  }, jpeg: async (f, d) => {
17301
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17301
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-c4a93c94.js");
17302
17302
  return u(i, { ...f, ...d || {}, format: "jpeg" });
17303
17303
  }, webp: async (f, d) => {
17304
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17304
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-c4a93c94.js");
17305
17305
  return u(i, { ...f, ...d || {}, format: "webp" });
17306
17306
  }, download: async (f, d) => {
17307
- let { download: u } = await import("./download-3972120d.js");
17307
+ let { download: u } = await import("./download-54edd30e.js");
17308
17308
  return u(i, { ...f, ...d || {} });
17309
17309
  } }, r = { ...t, export: { url: i }, exports: { svg: async (f) => {
17310
- let { toSvg: d } = await import("./toImg-605102af.js");
17310
+ let { toSvg: d } = await import("./toImg-1e5a5e53.js");
17311
17311
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17312
17312
  }, canvas: async (f) => {
17313
- let { toCanvas: d } = await import("./toCanvas-3ab44a4b.js");
17313
+ let { toCanvas: d } = await import("./toCanvas-8e08ad44.js");
17314
17314
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17315
17315
  }, png: async (f) => {
17316
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17316
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-c4a93c94.js");
17317
17317
  return d(i, { ...t, ...f || {}, format: "png", [$e]: !0 });
17318
17318
  }, jpeg: async (f) => {
17319
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17319
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-c4a93c94.js");
17320
17320
  return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17321
17321
  }, jpg: async (f) => {
17322
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17322
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-c4a93c94.js");
17323
17323
  return d(i, { ...t, ...f || {}, format: "jpeg", [$e]: !0 });
17324
17324
  }, webp: async (f) => {
17325
- let { rasterize: d } = await import("./rasterize-JS5G2XHH-4cd6280e.js");
17325
+ let { rasterize: d } = await import("./rasterize-JS5G2XHH-c4a93c94.js");
17326
17326
  return d(i, { ...t, ...f || {}, format: "webp", [$e]: !0 });
17327
17327
  }, blob: async (f) => {
17328
- let { toBlob: d } = await import("./toBlob-256d732a.js");
17328
+ let { toBlob: d } = await import("./toBlob-b27b2948.js");
17329
17329
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17330
17330
  }, img: async (f) => {
17331
- let { toImg: d } = await import("./toImg-605102af.js");
17331
+ let { toImg: d } = await import("./toImg-1e5a5e53.js");
17332
17332
  return d(i, { ...t, ...f || {}, [$e]: !0 });
17333
17333
  } } }, l = await yp("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...o, ...c };
17334
17334
  s.jpeg && !s.jpg && (s.jpg = (f, d) => s.jpeg(f, d));
@@ -38189,19 +38189,13 @@ const N0 = {
38189
38189
  },
38190
38190
  handleResetDateRange() {
38191
38191
  var e;
38192
- if (((e = this.defaultRange) == null ? void 0 : e.length) === 2)
38193
- this.dateRange = this.defaultRange;
38194
- else {
38195
- const t = T.tz(T().format(), this.timeZoneName).clone();
38196
- this.dateRange = [t.clone().format(), t.clone().add(7, "days").format()];
38197
- }
38198
- this.dateRangeStr = `${T.tz(this.dateRange[0], this.timeZoneName).format("yyyy-MM-DD")} ~ ${T.tz(this.dateRange[1], this.timeZoneName).format("yyyy-MM-DD")}`, this.$emit(
38192
+ ((e = this.defaultRange) == null ? void 0 : e.length) === 2 && (this.dateRange = this.defaultRange, this.dateRangeStr = `${T.tz(this.dateRange[0], this.timeZoneName).format("yyyy-MM-DD")} ~ ${T.tz(this.dateRange[1], this.timeZoneName).format("yyyy-MM-DD")}`, this.$emit(
38199
38193
  "dateRange",
38200
38194
  [
38201
38195
  T.tz(this.dateRange[0], this.timeZoneName).set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).format(),
38202
38196
  T.tz(this.dateRange[1], this.timeZoneName).set({ hour: 23, minute: 59, second: 59, millisecond: 59 }).format()
38203
38197
  ]
38204
- );
38198
+ ));
38205
38199
  },
38206
38200
  handleResetMinMax() {
38207
38201
  const e = T.tz(T().format(), this.timeZoneName).clone(), { h: t, f: a } = this.dayAbout;
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-0f589a18.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-81196379.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";