@idmwx/idmui-gl4 3.7.7 → 3.7.9
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.
- package/dist/{chunk-3VYIPD3A-8275a877.js → chunk-3VYIPD3A-881f8cf5.js} +1 -1
- package/dist/{chunk-ANSXOGKI-395d046a.js → chunk-ANSXOGKI-32739c4c.js} +1 -1
- package/dist/{chunk-T4JIPPZO-67bd3b89.js → chunk-T4JIPPZO-aa5e9a51.js} +1 -1
- package/dist/{download-1994fe4e.js → download-9e174b84.js} +3 -3
- package/dist/{index-d36f23b5.js → index-5cd9e80d.js} +20 -20
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/{rasterize-JS5G2XHH-1a6b71c8.js → rasterize-JS5G2XHH-e60653ce.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{toBlob-dab754f2.js → toBlob-d0111f7b.js} +3 -3
- package/dist/{toCanvas-a290400a.js → toCanvas-540cf460.js} +2 -2
- package/dist/{toImg-aa724041.js → toImg-d5ad4b33.js} +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as a } from "./chunk-3VYIPD3A-
|
|
1
|
+
import { W as a } from "./chunk-3VYIPD3A-881f8cf5.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,6 +1,6 @@
|
|
|
1
|
-
import { m as d } from "./chunk-T4JIPPZO-
|
|
2
|
-
import { W as f } from "./chunk-3VYIPD3A-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { m as d } from "./chunk-T4JIPPZO-aa5e9a51.js";
|
|
2
|
+
import { W as f } from "./chunk-3VYIPD3A-881f8cf5.js";
|
|
3
|
+
import "./index-5cd9e80d.js";
|
|
4
4
|
import "axios";
|
|
5
5
|
import "vuetify";
|
|
6
6
|
import "vue";
|
|
@@ -17759,52 +17759,52 @@ Te.capture = async (t, e, a) => {
|
|
|
17759
17759
|
if (a !== tl)
|
|
17760
17760
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17761
17761
|
let i = await el(t, e), o = { img: async (u, h) => {
|
|
17762
|
-
let { toImg: y } = await import("./toImg-
|
|
17762
|
+
let { toImg: y } = await import("./toImg-d5ad4b33.js");
|
|
17763
17763
|
return y(i, { ...u, ...h || {} });
|
|
17764
17764
|
}, svg: async (u, h) => {
|
|
17765
|
-
let { toSvg: y } = await import("./toImg-
|
|
17765
|
+
let { toSvg: y } = await import("./toImg-d5ad4b33.js");
|
|
17766
17766
|
return y(i, { ...u, ...h || {} });
|
|
17767
17767
|
}, canvas: async (u, h) => {
|
|
17768
|
-
let { toCanvas: y } = await import("./toCanvas-
|
|
17768
|
+
let { toCanvas: y } = await import("./toCanvas-540cf460.js");
|
|
17769
17769
|
return y(i, { ...u, ...h || {} });
|
|
17770
17770
|
}, blob: async (u, h) => {
|
|
17771
|
-
let { toBlob: y } = await import("./toBlob-
|
|
17771
|
+
let { toBlob: y } = await import("./toBlob-d0111f7b.js");
|
|
17772
17772
|
return y(i, { ...u, ...h || {} });
|
|
17773
17773
|
}, png: async (u, h) => {
|
|
17774
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17774
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-e60653ce.js");
|
|
17775
17775
|
return y(i, { ...u, ...h || {}, format: "png" });
|
|
17776
17776
|
}, jpeg: async (u, h) => {
|
|
17777
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17777
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-e60653ce.js");
|
|
17778
17778
|
return y(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17779
17779
|
}, webp: async (u, h) => {
|
|
17780
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17780
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-e60653ce.js");
|
|
17781
17781
|
return y(i, { ...u, ...h || {}, format: "webp" });
|
|
17782
17782
|
}, download: async (u, h) => {
|
|
17783
|
-
let { download: y } = await import("./download-
|
|
17783
|
+
let { download: y } = await import("./download-9e174b84.js");
|
|
17784
17784
|
return y(i, { ...u, ...h || {} });
|
|
17785
17785
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17786
|
-
let { toSvg: h } = await import("./toImg-
|
|
17786
|
+
let { toSvg: h } = await import("./toImg-d5ad4b33.js");
|
|
17787
17787
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17788
17788
|
}, canvas: async (u) => {
|
|
17789
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17789
|
+
let { toCanvas: h } = await import("./toCanvas-540cf460.js");
|
|
17790
17790
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17791
17791
|
}, png: async (u) => {
|
|
17792
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17792
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-e60653ce.js");
|
|
17793
17793
|
return h(i, { ...e, ...u || {}, format: "png", [da]: !0 });
|
|
17794
17794
|
}, jpeg: async (u) => {
|
|
17795
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17795
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-e60653ce.js");
|
|
17796
17796
|
return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
|
|
17797
17797
|
}, jpg: async (u) => {
|
|
17798
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17798
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-e60653ce.js");
|
|
17799
17799
|
return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
|
|
17800
17800
|
}, webp: async (u) => {
|
|
17801
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17801
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-e60653ce.js");
|
|
17802
17802
|
return h(i, { ...e, ...u || {}, format: "webp", [da]: !0 });
|
|
17803
17803
|
}, blob: async (u) => {
|
|
17804
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17804
|
+
let { toBlob: h } = await import("./toBlob-d0111f7b.js");
|
|
17805
17805
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17806
17806
|
}, img: async (u) => {
|
|
17807
|
-
let { toImg: h } = await import("./toImg-
|
|
17807
|
+
let { toImg: h } = await import("./toImg-d5ad4b33.js");
|
|
17808
17808
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17809
17809
|
} } }, l = await qf("defineExports", r), s = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), c = { ...o, ...s };
|
|
17810
17810
|
c.jpeg && !c.jpg && (c.jpg = (u, h) => c.jpeg(u, h));
|
|
@@ -18376,12 +18376,12 @@ const Py = {
|
|
|
18376
18376
|
console.error("[BottomBar] 上传失败:", a);
|
|
18377
18377
|
}
|
|
18378
18378
|
},
|
|
18379
|
-
// 不上传 OSS
|
|
18379
|
+
// 不上传 OSS,直接将生成的文件保存到本地,保存完成后直接退出,不触发 preview
|
|
18380
18380
|
saveToLocal() {
|
|
18381
|
-
var e
|
|
18381
|
+
var e;
|
|
18382
18382
|
console.log("[BottomBar] 不上传,保存到本地");
|
|
18383
18383
|
const t = T().format("yyyyMMDD-HHmm");
|
|
18384
|
-
this.
|
|
18384
|
+
this.mp4Blob && ((e = this.recorder) == null || e.downloadMp4(this.mp4Blob, `ORM-Record-${t}.mp4`)), this.clear();
|
|
18385
18385
|
},
|
|
18386
18386
|
handleDownloadGif() {
|
|
18387
18387
|
const e = `ORM-Record-${T().format("yyyyMMDD-HHmm")}.gif`;
|
|
@@ -18481,7 +18481,7 @@ function jy(t, e, a, i, o, r) {
|
|
|
18481
18481
|
], 6)) : I("", !0)
|
|
18482
18482
|
], 32);
|
|
18483
18483
|
}
|
|
18484
|
-
const Ny = /* @__PURE__ */ le(Py, [["render", jy], ["__scopeId", "data-v-
|
|
18484
|
+
const Ny = /* @__PURE__ */ le(Py, [["render", jy], ["__scopeId", "data-v-bc8125eb"]]);
|
|
18485
18485
|
const Wy = {
|
|
18486
18486
|
name: "IdmBottomBar",
|
|
18487
18487
|
components: { DateTimePicker: ao, IdmCapture: Ny },
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as g, c as n, D as x, L as D, a as T, b as W, M as h, f, e as k, P as y, S as B, T as V, V as d, W as u, d as v } from "./index-
|
|
1
|
+
import { B as g, c as n, D as x, L as D, a as T, b as W, M as h, f, e as k, P as y, S as B, T as V, V as d, W as u, d as v } from "./index-5cd9e80d.js";
|
|
2
2
|
import "axios";
|
|
3
3
|
import "vuetify";
|
|
4
4
|
import "vue";
|