@idmwx/idmui-gl4 3.6.1 → 3.6.2

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-91c63063.js";
1
+ import { l as b } from "./index-a86cae16.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-7d0f9c9c.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-52fe9379.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-7d0f9c9c.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-52fe9379.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-7fdd2f7f.js";
2
- import { W as f } from "./chunk-3VYIPD3A-7d0f9c9c.js";
3
- import "./index-91c63063.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-fb5cd7a4.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-52fe9379.js";
3
+ import "./index-a86cae16.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -3248,11 +3248,11 @@ const cc = {
3248
3248
  },
3249
3249
  top: {
3250
3250
  type: Number,
3251
- default: 60
3251
+ default: 0
3252
3252
  },
3253
3253
  paddingTop: {
3254
3254
  type: Number,
3255
- default: 48
3255
+ default: 8
3256
3256
  },
3257
3257
  menuHeight: {
3258
3258
  type: Number,
@@ -3300,7 +3300,7 @@ const cc = {
3300
3300
  },
3301
3301
  computed: {
3302
3302
  listStyle() {
3303
- return this.simple ? { top: this.top + "px", left: this.toggle ? "0px" : "-280px" } : { top: this.top + "px", right: this.toggle ? "0px" : "-280px" };
3303
+ return this.simple ? { top: this.top + "px", left: this.toggle ? "0px" : "-280px", height: "calc(100vh - " + this.top + "px)" } : { top: this.top + "px", right: this.toggle ? "0px" : "-280px", height: "calc(100vh - " + this.top + "px)" };
3304
3304
  }
3305
3305
  },
3306
3306
  watch: {
@@ -6357,7 +6357,7 @@ const zm = {
6357
6357
  },
6358
6358
  paddingTop: {
6359
6359
  type: Number,
6360
- default: 48
6360
+ default: 8
6361
6361
  },
6362
6362
  menuHeight: {
6363
6363
  type: Number,
@@ -6437,7 +6437,7 @@ const zm = {
6437
6437
  },
6438
6438
  computed: {
6439
6439
  listStyle() {
6440
- return this.simple ? { top: this.top + "px", left: this.toggle ? "0px" : "-280px" } : { top: this.top + "px", right: this.toggle ? "0px" : "-280px" };
6440
+ return this.simple ? { top: this.top + "px", left: this.toggle ? "0px" : "-280px", height: "calc(100vh - " + this.top + "px)" } : { top: this.top + "px", right: this.toggle ? "0px" : "-280px", height: "calc(100vh - " + this.top + "px)" };
6441
6441
  },
6442
6442
  computeDateZ() {
6443
6443
  return function(t) {
@@ -13498,11 +13498,11 @@ const Pg = {
13498
13498
  },
13499
13499
  top: {
13500
13500
  type: Number,
13501
- default: 60
13501
+ default: 0
13502
13502
  },
13503
13503
  paddingTop: {
13504
13504
  type: Number,
13505
- default: 48
13505
+ default: 8
13506
13506
  },
13507
13507
  menuToggle: {
13508
13508
  type: Object,
@@ -13540,7 +13540,7 @@ const Pg = {
13540
13540
  },
13541
13541
  computed: {
13542
13542
  listStyle() {
13543
- return this.simple ? { top: this.top + "px", left: this.toggle ? "0px" : "-280px" } : { top: this.top + "px", right: this.toggle ? "0px" : "-280px" };
13543
+ return this.simple ? { top: this.top + "px", left: this.toggle ? "0px" : "-280px", height: "calc(100vh - " + this.top + "px)" } : { top: this.top + "px", right: this.toggle ? "0px" : "-280px", height: "calc(100vh - " + this.top + "px)" };
13544
13544
  }
13545
13545
  },
13546
13546
  watch: {
@@ -17126,52 +17126,52 @@ Se.capture = async (t, e, o) => {
17126
17126
  if (o !== $l)
17127
17127
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17128
17128
  let i = await ql(t, e), a = { img: async (u, h) => {
17129
- let { toImg: f } = await import("./toImg-e5f57246.js");
17129
+ let { toImg: f } = await import("./toImg-171b933c.js");
17130
17130
  return f(i, { ...u, ...h || {} });
17131
17131
  }, svg: async (u, h) => {
17132
- let { toSvg: f } = await import("./toImg-e5f57246.js");
17132
+ let { toSvg: f } = await import("./toImg-171b933c.js");
17133
17133
  return f(i, { ...u, ...h || {} });
17134
17134
  }, canvas: async (u, h) => {
17135
- let { toCanvas: f } = await import("./toCanvas-46a8ad3a.js");
17135
+ let { toCanvas: f } = await import("./toCanvas-df7a24a4.js");
17136
17136
  return f(i, { ...u, ...h || {} });
17137
17137
  }, blob: async (u, h) => {
17138
- let { toBlob: f } = await import("./toBlob-881b3d23.js");
17138
+ let { toBlob: f } = await import("./toBlob-a1c72402.js");
17139
17139
  return f(i, { ...u, ...h || {} });
17140
17140
  }, png: async (u, h) => {
17141
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17141
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17142
17142
  return f(i, { ...u, ...h || {}, format: "png" });
17143
17143
  }, jpeg: async (u, h) => {
17144
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17144
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17145
17145
  return f(i, { ...u, ...h || {}, format: "jpeg" });
17146
17146
  }, webp: async (u, h) => {
17147
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17147
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17148
17148
  return f(i, { ...u, ...h || {}, format: "webp" });
17149
17149
  }, download: async (u, h) => {
17150
- let { download: f } = await import("./download-1e14a88f.js");
17150
+ let { download: f } = await import("./download-83864995.js");
17151
17151
  return f(i, { ...u, ...h || {} });
17152
17152
  } }, l = { ...e, export: { url: i }, exports: { svg: async (u) => {
17153
- let { toSvg: h } = await import("./toImg-e5f57246.js");
17153
+ let { toSvg: h } = await import("./toImg-171b933c.js");
17154
17154
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17155
17155
  }, canvas: async (u) => {
17156
- let { toCanvas: h } = await import("./toCanvas-46a8ad3a.js");
17156
+ let { toCanvas: h } = await import("./toCanvas-df7a24a4.js");
17157
17157
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17158
17158
  }, png: async (u) => {
17159
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17159
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17160
17160
  return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
17161
17161
  }, jpeg: async (u) => {
17162
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17162
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17163
17163
  return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
17164
17164
  }, jpg: async (u) => {
17165
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17165
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17166
17166
  return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
17167
17167
  }, webp: async (u) => {
17168
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-f30008d7.js");
17168
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
17169
17169
  return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
17170
17170
  }, blob: async (u) => {
17171
- let { toBlob: h } = await import("./toBlob-881b3d23.js");
17171
+ let { toBlob: h } = await import("./toBlob-a1c72402.js");
17172
17172
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17173
17173
  }, img: async (u) => {
17174
- let { toImg: h } = await import("./toImg-e5f57246.js");
17174
+ let { toImg: h } = await import("./toImg-171b933c.js");
17175
17175
  return h(i, { ...e, ...u || {}, [mo]: !0 });
17176
17176
  } } }, r = await W0("defineExports", l), c = Object.assign({}, ...r.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
17177
17177
  s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as x, c as D, D as T, L as g, a as S, b as W, M as f, f as h, e as k, P as y, T as B, V, W as d, d as u } from "./index-91c63063.js";
1
+ import { B as x, c as D, D as T, L as g, a as S, b as W, M as f, f as h, e as k, P as y, T as B, V, W as d, d as u } from "./index-a86cae16.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";