sat-earth 0.8.8 → 0.8.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/sat-earth.mjs
CHANGED
|
@@ -4731,6 +4731,9 @@ const Ji = /* @__PURE__ */ Y(Ui, [["__scopeId", "data-v-1dec7f29"]]), Ki = fe(Ji
|
|
|
4731
4731
|
Height: "\u9AD8\u5EA6",
|
|
4732
4732
|
"Lock Aspect Ratio": "\u9501\u5B9A\u5BBD\u9AD8\u6BD4\u4F8B"
|
|
4733
4733
|
};
|
|
4734
|
+
function Ia(a, e) {
|
|
4735
|
+
return al.toPng(a, { filter: e });
|
|
4736
|
+
}
|
|
4734
4737
|
function Ot(a, e = "base64ToFile") {
|
|
4735
4738
|
var i, n, c;
|
|
4736
4739
|
const t = a.split(","), l = (c = (n = (i = t == null ? void 0 : t[0]) == null ? void 0 : i.match) == null ? void 0 : n.call(i, /:(.*?);/)) == null ? void 0 : c[1], s = atob(t[1]);
|
|
@@ -4740,9 +4743,6 @@ function Ot(a, e = "base64ToFile") {
|
|
|
4740
4743
|
o[u] = s.charCodeAt(u);
|
|
4741
4744
|
return new File([o], e, { type: l });
|
|
4742
4745
|
}
|
|
4743
|
-
function Ia(a, e) {
|
|
4744
|
-
return al.toPng(a, { filter: e });
|
|
4745
|
-
}
|
|
4746
4746
|
function Ta(a) {
|
|
4747
4747
|
const e = document.createElement("canvas");
|
|
4748
4748
|
e.width = a.width, e.height = a.height;
|
|
@@ -4777,10 +4777,11 @@ function Pa(a, e, t, l) {
|
|
|
4777
4777
|
const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4778
4778
|
__proto__: null,
|
|
4779
4779
|
dom2Base64: Ia,
|
|
4780
|
+
base64ToFile: Ot,
|
|
4780
4781
|
image2Base64: Ta,
|
|
4781
4782
|
getImgBase64: Qi,
|
|
4782
4783
|
mergeImage: Pa
|
|
4783
|
-
}, Symbol.toStringTag, { value: "Module" })), Xi = (a) => (pe("data-v-
|
|
4784
|
+
}, Symbol.toStringTag, { value: "Module" })), Xi = (a) => (pe("data-v-2eae18cb"), a = a(), ge(), a), qi = { class: "drawing-container" }, Zi = /* @__PURE__ */ Xi(() => /* @__PURE__ */ v("div", { id: "tui-image-editor" }, null, -1)), $i = { class: "custom-btn-eara" }, eo = /* @__PURE__ */ q(" \u573A\u666F\u66F4\u65B0 "), to = /* @__PURE__ */ q(" \u63D2\u5165\u56FE\u7247 "), ao = /* @__PURE__ */ q(" \u4FDD\u5B58 "), lo = {
|
|
4784
4785
|
name: "TheImageEditor"
|
|
4785
4786
|
}, so = /* @__PURE__ */ V({
|
|
4786
4787
|
...lo,
|
|
@@ -4926,7 +4927,7 @@ const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4926
4927
|
};
|
|
4927
4928
|
}
|
|
4928
4929
|
});
|
|
4929
|
-
const uo = /* @__PURE__ */ Y(so, [["__scopeId", "data-v-
|
|
4930
|
+
const uo = /* @__PURE__ */ Y(so, [["__scopeId", "data-v-2eae18cb"]]), no = {
|
|
4930
4931
|
name: "SatPicture"
|
|
4931
4932
|
}, io = /* @__PURE__ */ V({
|
|
4932
4933
|
...no,
|
|
@@ -10465,7 +10466,6 @@ const ac = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10465
10466
|
__proto__: null,
|
|
10466
10467
|
SatMap: g,
|
|
10467
10468
|
types: Gr,
|
|
10468
|
-
base64ToFile: Ot,
|
|
10469
10469
|
imageUtil: Yi,
|
|
10470
10470
|
coordTrans: Je
|
|
10471
10471
|
}, Symbol.toStringTag, { value: "Module" })), sc = {
|