@idmwx/idmui-gl4 3.9.7 → 3.9.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-ed4bf68b.js → chunk-3VYIPD3A-d4577dfc.js} +1 -1
- package/dist/{chunk-ANSXOGKI-d35685a0.js → chunk-ANSXOGKI-97528b6a.js} +1 -1
- package/dist/{chunk-T4JIPPZO-5edd0671.js → chunk-T4JIPPZO-d92de456.js} +1 -1
- package/dist/{download-0b42c1b2.js → download-39ba17fc.js} +3 -3
- package/dist/{index-e1b323d5.js → index-582c7bfb.js} +25 -24
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +3 -3
- package/dist/mapbox/src/components/map/index.vue.d.ts +1 -0
- package/dist/{rasterize-JS5G2XHH-f5dd9913.js → rasterize-JS5G2XHH-9e766b69.js} +3 -3
- package/dist/{toBlob-269352b2.js → toBlob-4b26937e.js} +3 -3
- package/dist/{toCanvas-5adb25d5.js → toCanvas-87d48af5.js} +2 -2
- package/dist/{toImg-451b355c.js → toImg-0bbbfb77.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-d4577dfc.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-d92de456.js";
|
|
2
|
+
import { W as f } from "./chunk-3VYIPD3A-d4577dfc.js";
|
|
3
|
+
import "./index-582c7bfb.js";
|
|
4
4
|
import "axios";
|
|
5
5
|
import "vuetify";
|
|
6
6
|
import "vue";
|
|
@@ -9948,7 +9948,7 @@ const Ud = {
|
|
|
9948
9948
|
},
|
|
9949
9949
|
timeZone: {
|
|
9950
9950
|
handler(t, e) {
|
|
9951
|
-
t !== e && this.handleRefresh();
|
|
9951
|
+
t !== e && this.toggle && this.handleRefresh();
|
|
9952
9952
|
}
|
|
9953
9953
|
},
|
|
9954
9954
|
realTime: {
|
|
@@ -18351,52 +18351,52 @@ Se.capture = async (t, e, o) => {
|
|
|
18351
18351
|
if (o !== fl)
|
|
18352
18352
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
18353
18353
|
let i = await gl(t, e), a = { img: async (u, h) => {
|
|
18354
|
-
let { toImg: f } = await import("./toImg-
|
|
18354
|
+
let { toImg: f } = await import("./toImg-0bbbfb77.js");
|
|
18355
18355
|
return f(i, { ...u, ...h || {} });
|
|
18356
18356
|
}, svg: async (u, h) => {
|
|
18357
|
-
let { toSvg: f } = await import("./toImg-
|
|
18357
|
+
let { toSvg: f } = await import("./toImg-0bbbfb77.js");
|
|
18358
18358
|
return f(i, { ...u, ...h || {} });
|
|
18359
18359
|
}, canvas: async (u, h) => {
|
|
18360
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
18360
|
+
let { toCanvas: f } = await import("./toCanvas-87d48af5.js");
|
|
18361
18361
|
return f(i, { ...u, ...h || {} });
|
|
18362
18362
|
}, blob: async (u, h) => {
|
|
18363
|
-
let { toBlob: f } = await import("./toBlob-
|
|
18363
|
+
let { toBlob: f } = await import("./toBlob-4b26937e.js");
|
|
18364
18364
|
return f(i, { ...u, ...h || {} });
|
|
18365
18365
|
}, png: async (u, h) => {
|
|
18366
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
18366
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-9e766b69.js");
|
|
18367
18367
|
return f(i, { ...u, ...h || {}, format: "png" });
|
|
18368
18368
|
}, jpeg: async (u, h) => {
|
|
18369
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
18369
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-9e766b69.js");
|
|
18370
18370
|
return f(i, { ...u, ...h || {}, format: "jpeg" });
|
|
18371
18371
|
}, webp: async (u, h) => {
|
|
18372
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
18372
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-9e766b69.js");
|
|
18373
18373
|
return f(i, { ...u, ...h || {}, format: "webp" });
|
|
18374
18374
|
}, download: async (u, h) => {
|
|
18375
|
-
let { download: f } = await import("./download-
|
|
18375
|
+
let { download: f } = await import("./download-39ba17fc.js");
|
|
18376
18376
|
return f(i, { ...u, ...h || {} });
|
|
18377
18377
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
18378
|
-
let { toSvg: h } = await import("./toImg-
|
|
18378
|
+
let { toSvg: h } = await import("./toImg-0bbbfb77.js");
|
|
18379
18379
|
return h(i, { ...e, ...u || {}, [po]: !0 });
|
|
18380
18380
|
}, canvas: async (u) => {
|
|
18381
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
18381
|
+
let { toCanvas: h } = await import("./toCanvas-87d48af5.js");
|
|
18382
18382
|
return h(i, { ...e, ...u || {}, [po]: !0 });
|
|
18383
18383
|
}, png: async (u) => {
|
|
18384
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
18384
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-9e766b69.js");
|
|
18385
18385
|
return h(i, { ...e, ...u || {}, format: "png", [po]: !0 });
|
|
18386
18386
|
}, jpeg: async (u) => {
|
|
18387
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
18387
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-9e766b69.js");
|
|
18388
18388
|
return h(i, { ...e, ...u || {}, format: "jpeg", [po]: !0 });
|
|
18389
18389
|
}, jpg: async (u) => {
|
|
18390
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
18390
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-9e766b69.js");
|
|
18391
18391
|
return h(i, { ...e, ...u || {}, format: "jpeg", [po]: !0 });
|
|
18392
18392
|
}, webp: async (u) => {
|
|
18393
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
18393
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-9e766b69.js");
|
|
18394
18394
|
return h(i, { ...e, ...u || {}, format: "webp", [po]: !0 });
|
|
18395
18395
|
}, blob: async (u) => {
|
|
18396
|
-
let { toBlob: h } = await import("./toBlob-
|
|
18396
|
+
let { toBlob: h } = await import("./toBlob-4b26937e.js");
|
|
18397
18397
|
return h(i, { ...e, ...u || {}, [po]: !0 });
|
|
18398
18398
|
}, img: async (u) => {
|
|
18399
|
-
let { toImg: h } = await import("./toImg-
|
|
18399
|
+
let { toImg: h } = await import("./toImg-0bbbfb77.js");
|
|
18400
18400
|
return h(i, { ...e, ...u || {}, [po]: !0 });
|
|
18401
18401
|
} } }, l = await D0("defineExports", r), n = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...a, ...n };
|
|
18402
18402
|
s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
|
|
@@ -20451,7 +20451,7 @@ const j1 = {
|
|
|
20451
20451
|
}, Y1 = ["onClick"], U1 = { class: "timeline-hours" }, K1 = ["onClick"], J1 = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, Q1 = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, q1 = {
|
|
20452
20452
|
key: 0,
|
|
20453
20453
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
20454
|
-
}, $1 = ["onClick"], eb = { class: "btn-box d-flex flex-column justify-space-around align-center rounded py-1 px-3" }, tb = { class: "text-body-2" }, ob = {
|
|
20454
|
+
}, $1 = ["onClick"], eb = { class: "btn-box d-flex flex-column justify-space-around align-center rounded ga-0 py-1 px-3" }, tb = { class: "text-body-2" }, ob = {
|
|
20455
20455
|
key: 0,
|
|
20456
20456
|
class: "record-logo"
|
|
20457
20457
|
}, ab = { style: { padding: "6px 16px", margin: "auto", background: "#3468f5", color: "var(--idm-white, #fff)", "border-radius": "6px", "font-size": "20px", "font-weight": "bold" } };
|
|
@@ -20862,6 +20862,7 @@ function ib(t, e, o, i, a, r) {
|
|
|
20862
20862
|
}, b(y < 0 ? y : "+" + y), 9, $1))), 128))
|
|
20863
20863
|
])) : I("", !0),
|
|
20864
20864
|
c("div", eb, [
|
|
20865
|
+
c("div", tb, b(a.currentRealTime), 1),
|
|
20865
20866
|
w(l, {
|
|
20866
20867
|
text: "",
|
|
20867
20868
|
variant: "flat",
|
|
@@ -20874,8 +20875,7 @@ function ib(t, e, o, i, a, r) {
|
|
|
20874
20875
|
j(" UTC " + b(a.timeZone < 0 ? a.timeZone : "+" + a.timeZone), 1)
|
|
20875
20876
|
]),
|
|
20876
20877
|
_: 1
|
|
20877
|
-
})
|
|
20878
|
-
c("div", tb, b(a.currentRealTime), 1)
|
|
20878
|
+
})
|
|
20879
20879
|
])
|
|
20880
20880
|
], 4),
|
|
20881
20881
|
a.recorder ? (v(), D("div", ob, [
|
|
@@ -39994,6 +39994,7 @@ const db = {
|
|
|
39994
39994
|
helper: void 0,
|
|
39995
39995
|
zoom: 2,
|
|
39996
39996
|
defaultZoom: 2,
|
|
39997
|
+
minZoom: 2,
|
|
39997
39998
|
maxZoom: 22,
|
|
39998
39999
|
right: 10,
|
|
39999
40000
|
vendorKeys: ["hi", "i4"],
|
|
@@ -40044,7 +40045,7 @@ const db = {
|
|
|
40044
40045
|
}
|
|
40045
40046
|
},
|
|
40046
40047
|
mounted() {
|
|
40047
|
-
this.defaultZoom = this.simple ? 1 : 2;
|
|
40048
|
+
this.defaultZoom = this.simple ? 1 : 2, this.minZoom = this.projection === "mercator" ? 2 : 1;
|
|
40048
40049
|
},
|
|
40049
40050
|
async beforeUnmount() {
|
|
40050
40051
|
var t;
|
|
@@ -40070,7 +40071,7 @@ const db = {
|
|
|
40070
40071
|
// style: 'mapbox://styles/neatchenheng/cmddwkooj003i01ptch7p9gvz', // nautical
|
|
40071
40072
|
// style: 'mapbox://styles/neatchenheng/cmg0ale3r008801rhdey4f0go', // street
|
|
40072
40073
|
style: this.helper.mapboxStyle[this.mapFeather],
|
|
40073
|
-
minZoom: this.
|
|
40074
|
+
minZoom: this.minZoom,
|
|
40074
40075
|
maxZoom: this.maxZoom,
|
|
40075
40076
|
zoom: a,
|
|
40076
40077
|
center: r,
|
|
@@ -40122,7 +40123,7 @@ const db = {
|
|
|
40122
40123
|
const e = this.projection === "mercator" ? "globe" : "mercator";
|
|
40123
40124
|
if (this.$emit("projection", e), await this.$nextTick(), this.map !== t)
|
|
40124
40125
|
return;
|
|
40125
|
-
t.setProjection(e), e === "globe" ? t.setZoom(this.defaultZoom) : (t.setZoom(this.defaultZoom), t.easeTo({ pitch: 0, bearing: 0, duration: 600 }));
|
|
40126
|
+
t.setProjection(e), e === "globe" ? (this.minZoom = 1, t.setMinZoom(this.minZoom), t.setZoom(this.defaultZoom)) : (this.minZoom = 2, t.setMinZoom(this.defaultZoom), t.setZoom(this.defaultZoom), t.easeTo({ pitch: 0, bearing: 0, duration: 600 }));
|
|
40126
40127
|
}
|
|
40127
40128
|
}
|
|
40128
40129
|
}, hb = { class: "v-btn--variant-elevated rounded" }, ub = { class: "v-btn--variant-elevated rounded" }, pb = { class: "zoom font-weight-600" }, gb = {
|
|
@@ -40216,7 +40217,7 @@ function fb(t, e, o, i, a, r) {
|
|
|
40216
40217
|
height: "32",
|
|
40217
40218
|
class: "elevation-0 pa-0",
|
|
40218
40219
|
variant: "text",
|
|
40219
|
-
disabled: a.zoom <= a.
|
|
40220
|
+
disabled: a.zoom <= a.minZoom,
|
|
40220
40221
|
onClick: r.handleZoomOut
|
|
40221
40222
|
}, {
|
|
40222
40223
|
default: x(() => e[3] || (e[3] = [
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as D, c as M, D as n, L as x, a as T, b as W, M as h, g as V, e as f, P as k, S as w, T as y, V as B, f as d, W as u, d as v } from "./index-
|
|
1
|
+
import { B as D, c as M, D as n, L as x, a as T, b as W, M as h, g as V, e as f, P as k, S as w, T as y, V as B, f as d, W as u, d as v } from "./index-582c7bfb.js";
|
|
2
2
|
import "axios";
|
|
3
3
|
import "vuetify";
|
|
4
4
|
import "vue";
|