@idmwx/idmui-gl4 3.6.0 → 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.
- package/dist/{chunk-3VYIPD3A-27ea74b9.js → chunk-3VYIPD3A-52fe9379.js} +1 -1
- package/dist/{chunk-ANSXOGKI-3c0d889a.js → chunk-ANSXOGKI-15751fc7.js} +1 -1
- package/dist/{chunk-T4JIPPZO-37810b1b.js → chunk-T4JIPPZO-fb5cd7a4.js} +1 -1
- package/dist/{download-558eb2c8.js → download-83864995.js} +3 -3
- package/dist/{index-96a2b166.js → index-a86cae16.js} +43 -29
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +4 -4
- package/dist/mapbox/src/components/map/index.vue.d.ts +17 -11
- package/dist/mapbox/src/components/weather/index.vue.d.ts +18 -7
- package/dist/{rasterize-JS5G2XHH-12fed3a5.js → rasterize-JS5G2XHH-0aad2beb.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{toBlob-192fbb34.js → toBlob-a1c72402.js} +3 -3
- package/dist/{toCanvas-49669d9c.js → toCanvas-df7a24a4.js} +2 -2
- package/dist/{toImg-378c92f2.js → toImg-171b933c.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-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,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-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:
|
|
3251
|
+
default: 0
|
|
3252
3252
|
},
|
|
3253
3253
|
paddingTop: {
|
|
3254
3254
|
type: Number,
|
|
3255
|
-
default:
|
|
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: {
|
|
@@ -6353,11 +6353,15 @@ const zm = {
|
|
|
6353
6353
|
},
|
|
6354
6354
|
top: {
|
|
6355
6355
|
type: Number,
|
|
6356
|
-
default:
|
|
6356
|
+
default: 0
|
|
6357
6357
|
},
|
|
6358
6358
|
paddingTop: {
|
|
6359
6359
|
type: Number,
|
|
6360
|
-
default:
|
|
6360
|
+
default: 8
|
|
6361
|
+
},
|
|
6362
|
+
menuHeight: {
|
|
6363
|
+
type: Number,
|
|
6364
|
+
default: 248
|
|
6361
6365
|
},
|
|
6362
6366
|
menuToggle: {
|
|
6363
6367
|
type: Object,
|
|
@@ -6371,6 +6375,9 @@ const zm = {
|
|
|
6371
6375
|
},
|
|
6372
6376
|
beforeLayer: {
|
|
6373
6377
|
type: String
|
|
6378
|
+
},
|
|
6379
|
+
platform: {
|
|
6380
|
+
type: String
|
|
6374
6381
|
}
|
|
6375
6382
|
},
|
|
6376
6383
|
emits: ["forecastModel", "menuToggle", "weatherCheckList", "autoActive", "weatherRendered"],
|
|
@@ -6430,7 +6437,7 @@ const zm = {
|
|
|
6430
6437
|
},
|
|
6431
6438
|
computed: {
|
|
6432
6439
|
listStyle() {
|
|
6433
|
-
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)" };
|
|
6434
6441
|
},
|
|
6435
6442
|
computeDateZ() {
|
|
6436
6443
|
return function(t) {
|
|
@@ -6464,6 +6471,9 @@ const zm = {
|
|
|
6464
6471
|
t.push("icon-a-" + r);
|
|
6465
6472
|
}
|
|
6466
6473
|
return t;
|
|
6474
|
+
},
|
|
6475
|
+
lengendTipTop() {
|
|
6476
|
+
return this.platform === "ops" ? this.top + this.menuHeight + 232 : this.top + this.menuHeight + 142;
|
|
6467
6477
|
}
|
|
6468
6478
|
},
|
|
6469
6479
|
watch: {
|
|
@@ -7073,7 +7083,7 @@ function ud(t, e, o, i, a, l) {
|
|
|
7073
7083
|
l.showTipMenu ? (A(), R("div", Cm, [
|
|
7074
7084
|
n("div", {
|
|
7075
7085
|
class: ue(["menu-bar-box pa-1 rounded", o.simple ? "simple" : ""]),
|
|
7076
|
-
style: ge({ right: a.right + "px", top: o.simple ? "394px" : "
|
|
7086
|
+
style: ge({ right: a.right + "px", top: o.simple ? "394px" : l.lengendTipTop + "px" })
|
|
7077
7087
|
}, [
|
|
7078
7088
|
w(c, {
|
|
7079
7089
|
text: t.$t("weather.legend"),
|
|
@@ -13488,11 +13498,11 @@ const Pg = {
|
|
|
13488
13498
|
},
|
|
13489
13499
|
top: {
|
|
13490
13500
|
type: Number,
|
|
13491
|
-
default:
|
|
13501
|
+
default: 0
|
|
13492
13502
|
},
|
|
13493
13503
|
paddingTop: {
|
|
13494
13504
|
type: Number,
|
|
13495
|
-
default:
|
|
13505
|
+
default: 8
|
|
13496
13506
|
},
|
|
13497
13507
|
menuToggle: {
|
|
13498
13508
|
type: Object,
|
|
@@ -13530,7 +13540,7 @@ const Pg = {
|
|
|
13530
13540
|
},
|
|
13531
13541
|
computed: {
|
|
13532
13542
|
listStyle() {
|
|
13533
|
-
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)" };
|
|
13534
13544
|
}
|
|
13535
13545
|
},
|
|
13536
13546
|
watch: {
|
|
@@ -17116,52 +17126,52 @@ Se.capture = async (t, e, o) => {
|
|
|
17116
17126
|
if (o !== $l)
|
|
17117
17127
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17118
17128
|
let i = await ql(t, e), a = { img: async (u, h) => {
|
|
17119
|
-
let { toImg: f } = await import("./toImg-
|
|
17129
|
+
let { toImg: f } = await import("./toImg-171b933c.js");
|
|
17120
17130
|
return f(i, { ...u, ...h || {} });
|
|
17121
17131
|
}, svg: async (u, h) => {
|
|
17122
|
-
let { toSvg: f } = await import("./toImg-
|
|
17132
|
+
let { toSvg: f } = await import("./toImg-171b933c.js");
|
|
17123
17133
|
return f(i, { ...u, ...h || {} });
|
|
17124
17134
|
}, canvas: async (u, h) => {
|
|
17125
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
17135
|
+
let { toCanvas: f } = await import("./toCanvas-df7a24a4.js");
|
|
17126
17136
|
return f(i, { ...u, ...h || {} });
|
|
17127
17137
|
}, blob: async (u, h) => {
|
|
17128
|
-
let { toBlob: f } = await import("./toBlob-
|
|
17138
|
+
let { toBlob: f } = await import("./toBlob-a1c72402.js");
|
|
17129
17139
|
return f(i, { ...u, ...h || {} });
|
|
17130
17140
|
}, png: async (u, h) => {
|
|
17131
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17141
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
|
|
17132
17142
|
return f(i, { ...u, ...h || {}, format: "png" });
|
|
17133
17143
|
}, jpeg: async (u, h) => {
|
|
17134
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17144
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
|
|
17135
17145
|
return f(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17136
17146
|
}, webp: async (u, h) => {
|
|
17137
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17147
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
|
|
17138
17148
|
return f(i, { ...u, ...h || {}, format: "webp" });
|
|
17139
17149
|
}, download: async (u, h) => {
|
|
17140
|
-
let { download: f } = await import("./download-
|
|
17150
|
+
let { download: f } = await import("./download-83864995.js");
|
|
17141
17151
|
return f(i, { ...u, ...h || {} });
|
|
17142
17152
|
} }, l = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17143
|
-
let { toSvg: h } = await import("./toImg-
|
|
17153
|
+
let { toSvg: h } = await import("./toImg-171b933c.js");
|
|
17144
17154
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17145
17155
|
}, canvas: async (u) => {
|
|
17146
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17156
|
+
let { toCanvas: h } = await import("./toCanvas-df7a24a4.js");
|
|
17147
17157
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17148
17158
|
}, png: async (u) => {
|
|
17149
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17159
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
|
|
17150
17160
|
return h(i, { ...e, ...u || {}, format: "png", [mo]: !0 });
|
|
17151
17161
|
}, jpeg: async (u) => {
|
|
17152
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17162
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
|
|
17153
17163
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17154
17164
|
}, jpg: async (u) => {
|
|
17155
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17165
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
|
|
17156
17166
|
return h(i, { ...e, ...u || {}, format: "jpeg", [mo]: !0 });
|
|
17157
17167
|
}, webp: async (u) => {
|
|
17158
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17168
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-0aad2beb.js");
|
|
17159
17169
|
return h(i, { ...e, ...u || {}, format: "webp", [mo]: !0 });
|
|
17160
17170
|
}, blob: async (u) => {
|
|
17161
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17171
|
+
let { toBlob: h } = await import("./toBlob-a1c72402.js");
|
|
17162
17172
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17163
17173
|
}, img: async (u) => {
|
|
17164
|
-
let { toImg: h } = await import("./toImg-
|
|
17174
|
+
let { toImg: h } = await import("./toImg-171b933c.js");
|
|
17165
17175
|
return h(i, { ...e, ...u || {}, [mo]: !0 });
|
|
17166
17176
|
} } }, r = await W0("defineExports", l), c = Object.assign({}, ...r.filter((u) => u && typeof u == "object")), s = { ...a, ...c };
|
|
17167
17177
|
s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
|
|
@@ -38221,7 +38231,11 @@ const fy = {
|
|
|
38221
38231
|
},
|
|
38222
38232
|
top: {
|
|
38223
38233
|
type: Number,
|
|
38224
|
-
default:
|
|
38234
|
+
default: 0
|
|
38235
|
+
},
|
|
38236
|
+
menuHeight: {
|
|
38237
|
+
type: Number,
|
|
38238
|
+
default: 248
|
|
38225
38239
|
},
|
|
38226
38240
|
simple: {
|
|
38227
38241
|
type: Boolean,
|
|
@@ -38383,7 +38397,7 @@ function xy(t, e, o, i, a, l) {
|
|
|
38383
38397
|
o.simple ? I("", !0) : (A(), R("div", {
|
|
38384
38398
|
key: 1,
|
|
38385
38399
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
38386
|
-
style: ge({ top: o.top +
|
|
38400
|
+
style: ge({ top: o.top + o.menuHeight + 20 + "px", right: a.right + "px", height: "112px" })
|
|
38387
38401
|
}, [
|
|
38388
38402
|
n("div", by, [
|
|
38389
38403
|
w(r, {
|
|
@@ -38418,7 +38432,7 @@ function xy(t, e, o, i, a, l) {
|
|
|
38418
38432
|
!o.simple && o.mapFeather === "nautical" && o.platform === "ops" ? (A(), R("div", {
|
|
38419
38433
|
key: 2,
|
|
38420
38434
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
38421
|
-
style: ge({ top: o.top +
|
|
38435
|
+
style: ge({ top: o.top + o.menuHeight + 142 + "px", right: a.right + "px", height: "80px" })
|
|
38422
38436
|
}, [
|
|
38423
38437
|
w(c, {
|
|
38424
38438
|
modelValue: a.nautical,
|
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-
|
|
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";
|