@idmwx/idmui-gl4 3.1.0 → 3.1.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-b2992598.js";
1
+ import { l as b } from "./index-8ed286f2.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-95c682ad.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-915b3278.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-95c682ad.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-915b3278.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-b043fe26.js";
2
- import { W as f } from "./chunk-3VYIPD3A-95c682ad.js";
3
- import "./index-b2992598.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-eb1b9fc4.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-915b3278.js";
3
+ import "./index-8ed286f2.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -20127,52 +20127,52 @@ Se.capture = async (t, e, a) => {
20127
20127
  if (a !== wr)
20128
20128
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
20129
20129
  let i = await br(t, e), o = { img: async (u, h) => {
20130
- let { toImg: g } = await import("./toImg-c806b31e.js");
20130
+ let { toImg: g } = await import("./toImg-d5901264.js");
20131
20131
  return g(i, { ...u, ...h || {} });
20132
20132
  }, svg: async (u, h) => {
20133
- let { toSvg: g } = await import("./toImg-c806b31e.js");
20133
+ let { toSvg: g } = await import("./toImg-d5901264.js");
20134
20134
  return g(i, { ...u, ...h || {} });
20135
20135
  }, canvas: async (u, h) => {
20136
- let { toCanvas: g } = await import("./toCanvas-357efd0a.js");
20136
+ let { toCanvas: g } = await import("./toCanvas-a5d0e64a.js");
20137
20137
  return g(i, { ...u, ...h || {} });
20138
20138
  }, blob: async (u, h) => {
20139
- let { toBlob: g } = await import("./toBlob-0f9bc83e.js");
20139
+ let { toBlob: g } = await import("./toBlob-53f73110.js");
20140
20140
  return g(i, { ...u, ...h || {} });
20141
20141
  }, png: async (u, h) => {
20142
- let { rasterize: g } = await import("./rasterize-JS5G2XHH-1a01abec.js");
20142
+ let { rasterize: g } = await import("./rasterize-JS5G2XHH-c3acee00.js");
20143
20143
  return g(i, { ...u, ...h || {}, format: "png" });
20144
20144
  }, jpeg: async (u, h) => {
20145
- let { rasterize: g } = await import("./rasterize-JS5G2XHH-1a01abec.js");
20145
+ let { rasterize: g } = await import("./rasterize-JS5G2XHH-c3acee00.js");
20146
20146
  return g(i, { ...u, ...h || {}, format: "jpeg" });
20147
20147
  }, webp: async (u, h) => {
20148
- let { rasterize: g } = await import("./rasterize-JS5G2XHH-1a01abec.js");
20148
+ let { rasterize: g } = await import("./rasterize-JS5G2XHH-c3acee00.js");
20149
20149
  return g(i, { ...u, ...h || {}, format: "webp" });
20150
20150
  }, download: async (u, h) => {
20151
- let { download: g } = await import("./download-6900aee1.js");
20151
+ let { download: g } = await import("./download-e42962ac.js");
20152
20152
  return g(i, { ...u, ...h || {} });
20153
20153
  } }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
20154
- let { toSvg: h } = await import("./toImg-c806b31e.js");
20154
+ let { toSvg: h } = await import("./toImg-d5901264.js");
20155
20155
  return h(i, { ...e, ...u || {}, [qe]: !0 });
20156
20156
  }, canvas: async (u) => {
20157
- let { toCanvas: h } = await import("./toCanvas-357efd0a.js");
20157
+ let { toCanvas: h } = await import("./toCanvas-a5d0e64a.js");
20158
20158
  return h(i, { ...e, ...u || {}, [qe]: !0 });
20159
20159
  }, png: async (u) => {
20160
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-1a01abec.js");
20160
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-c3acee00.js");
20161
20161
  return h(i, { ...e, ...u || {}, format: "png", [qe]: !0 });
20162
20162
  }, jpeg: async (u) => {
20163
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-1a01abec.js");
20163
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-c3acee00.js");
20164
20164
  return h(i, { ...e, ...u || {}, format: "jpeg", [qe]: !0 });
20165
20165
  }, jpg: async (u) => {
20166
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-1a01abec.js");
20166
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-c3acee00.js");
20167
20167
  return h(i, { ...e, ...u || {}, format: "jpeg", [qe]: !0 });
20168
20168
  }, webp: async (u) => {
20169
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-1a01abec.js");
20169
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-c3acee00.js");
20170
20170
  return h(i, { ...e, ...u || {}, format: "webp", [qe]: !0 });
20171
20171
  }, blob: async (u) => {
20172
- let { toBlob: h } = await import("./toBlob-0f9bc83e.js");
20172
+ let { toBlob: h } = await import("./toBlob-53f73110.js");
20173
20173
  return h(i, { ...e, ...u || {}, [qe]: !0 });
20174
20174
  }, img: async (u) => {
20175
- let { toImg: h } = await import("./toImg-c806b31e.js");
20175
+ let { toImg: h } = await import("./toImg-d5901264.js");
20176
20176
  return h(i, { ...e, ...u || {}, [qe]: !0 });
20177
20177
  } } }, l = await Wg("defineExports", r), c = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...o, ...c };
20178
20178
  s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
@@ -20883,7 +20883,7 @@ function Wf(t, e, a, i, o, r) {
20883
20883
  }),
20884
20884
  n("div", Rf, [
20885
20885
  b(u, {
20886
- text: t.$t("actions.record"),
20886
+ text: o.gifEnabled ? t.$t("actions.stop") : t.$t("actions.record"),
20887
20887
  location: "top",
20888
20888
  interactive: !0,
20889
20889
  "open-on-click": !1
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-b2992598.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-8ed286f2.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";