@idmwx/idmui-gl3 4.9.5 → 4.9.7
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/index.js
CHANGED
|
@@ -6223,7 +6223,7 @@ const cM = {
|
|
|
6223
6223
|
type: String
|
|
6224
6224
|
}
|
|
6225
6225
|
},
|
|
6226
|
-
emits: ["meteoMore"
|
|
6226
|
+
emits: ["meteoMore"],
|
|
6227
6227
|
data() {
|
|
6228
6228
|
return {
|
|
6229
6229
|
showMeteo: !1,
|
|
@@ -6435,7 +6435,7 @@ const cM = {
|
|
|
6435
6435
|
});
|
|
6436
6436
|
},
|
|
6437
6437
|
handleCloseMeteo() {
|
|
6438
|
-
this.showMeteo = !1
|
|
6438
|
+
this.showMeteo = !1;
|
|
6439
6439
|
}
|
|
6440
6440
|
}
|
|
6441
6441
|
}, AM = {
|
|
@@ -6949,7 +6949,7 @@ function bb(z, M, b, O, p, o) {
|
|
|
6949
6949
|
])
|
|
6950
6950
|
]);
|
|
6951
6951
|
}
|
|
6952
|
-
const zb = /* @__PURE__ */ k(cM, [["render", bb], ["__scopeId", "data-v-
|
|
6952
|
+
const zb = /* @__PURE__ */ k(cM, [["render", bb], ["__scopeId", "data-v-a48a15fa"]]), pb = {
|
|
6953
6953
|
name: "IdmWarZone",
|
|
6954
6954
|
props: {
|
|
6955
6955
|
map: {
|
|
@@ -7417,7 +7417,7 @@ const Wb = {
|
|
|
7417
7417
|
type: String
|
|
7418
7418
|
}
|
|
7419
7419
|
},
|
|
7420
|
-
emits: ["port"],
|
|
7420
|
+
emits: ["port", "handleIdmPoint"],
|
|
7421
7421
|
data() {
|
|
7422
7422
|
return {
|
|
7423
7423
|
source: "port-source",
|
|
@@ -7494,13 +7494,19 @@ const Wb = {
|
|
|
7494
7494
|
},
|
|
7495
7495
|
handleClear() {
|
|
7496
7496
|
this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
7497
|
+
},
|
|
7498
|
+
handleClickMeteo(z) {
|
|
7499
|
+
this.$emit("handleIdmPoint", z);
|
|
7497
7500
|
}
|
|
7498
7501
|
}
|
|
7499
|
-
}, lb = {
|
|
7502
|
+
}, lb = {
|
|
7503
|
+
ref: "idmPortInfo",
|
|
7504
|
+
id: "port-info"
|
|
7505
|
+
}, fb = { class: "port-box" }, ub = { class: "flex-start" }, Lb = { class: "flex-start" }, Rb = { class: "flex-start" }, hb = {
|
|
7500
7506
|
class: "flex-start",
|
|
7501
7507
|
style: { "align-items": "flex-start" }
|
|
7502
|
-
};
|
|
7503
|
-
function
|
|
7508
|
+
}, mb = { class: "meteo-forecast flex-end" };
|
|
7509
|
+
function Bb(z, M, b, O, p, o) {
|
|
7504
7510
|
return X0((l(), f("div", lb, [
|
|
7505
7511
|
c("div", {
|
|
7506
7512
|
class: "close iconfont",
|
|
@@ -7508,29 +7514,34 @@ function mb(z, M, b, O, p, o) {
|
|
|
7508
7514
|
}, ""),
|
|
7509
7515
|
c("div", fb, [
|
|
7510
7516
|
c("div", ub, [
|
|
7511
|
-
M[
|
|
7517
|
+
M[3] || (M[3] = c("label", null, "Name : ", -1)),
|
|
7512
7518
|
c("span", {
|
|
7513
7519
|
onClick: M[1] || (M[1] = (...A) => o.handleEmit && o.handleEmit(...A))
|
|
7514
7520
|
}, T(p.form.name), 1)
|
|
7515
7521
|
]),
|
|
7516
7522
|
c("div", Lb, [
|
|
7517
|
-
M[
|
|
7523
|
+
M[4] || (M[4] = c("label", null, "Position : ", -1)),
|
|
7518
7524
|
c("span", null, T(o.computeLat(p.form.lat)) + ", " + T(o.computeLng(p.form.lng)), 1)
|
|
7519
7525
|
]),
|
|
7520
7526
|
c("div", Rb, [
|
|
7521
|
-
M[
|
|
7527
|
+
M[5] || (M[5] = c("label", null, "LoCode : ", -1)),
|
|
7522
7528
|
c("span", null, T(p.form.loCode || "-"), 1)
|
|
7523
7529
|
]),
|
|
7524
7530
|
c("div", hb, [
|
|
7525
|
-
M[
|
|
7531
|
+
M[6] || (M[6] = c("label", null, "Region : ", -1)),
|
|
7526
7532
|
c("span", null, T(p.form.zoneName || "-"), 1)
|
|
7533
|
+
]),
|
|
7534
|
+
c("div", mb, [
|
|
7535
|
+
c("span", {
|
|
7536
|
+
onClick: M[2] || (M[2] = (A) => o.handleClickMeteo(p.form))
|
|
7537
|
+
}, "Meteo Forecast")
|
|
7527
7538
|
])
|
|
7528
7539
|
])
|
|
7529
7540
|
], 512)), [
|
|
7530
7541
|
[w0, p.showPort]
|
|
7531
7542
|
]);
|
|
7532
7543
|
}
|
|
7533
|
-
const
|
|
7544
|
+
const gb = /* @__PURE__ */ k(Wb, [["render", Bb], ["__scopeId", "data-v-e2c5d4d8"]]), Nb = {
|
|
7534
7545
|
name: "IdmLoadLine",
|
|
7535
7546
|
props: {
|
|
7536
7547
|
map: {
|
|
@@ -7600,10 +7611,10 @@ const Bb = /* @__PURE__ */ k(Wb, [["render", mb], ["__scopeId", "data-v-c07e4c45
|
|
|
7600
7611
|
}
|
|
7601
7612
|
}
|
|
7602
7613
|
};
|
|
7603
|
-
function
|
|
7614
|
+
function yb(z, M, b, O, p, o) {
|
|
7604
7615
|
return l(), f("div");
|
|
7605
7616
|
}
|
|
7606
|
-
const
|
|
7617
|
+
const Xb = /* @__PURE__ */ k(Nb, [["render", yb]]), wb = {
|
|
7607
7618
|
name: "IdmTimezone",
|
|
7608
7619
|
props: {
|
|
7609
7620
|
map: {
|
|
@@ -7768,10 +7779,10 @@ const yb = /* @__PURE__ */ k(gb, [["render", Nb]]), Xb = {
|
|
|
7768
7779
|
}
|
|
7769
7780
|
}
|
|
7770
7781
|
};
|
|
7771
|
-
function
|
|
7782
|
+
function Cb(z, M, b, O, p, o) {
|
|
7772
7783
|
return l(), f("div");
|
|
7773
7784
|
}
|
|
7774
|
-
const
|
|
7785
|
+
const vb = /* @__PURE__ */ k(wb, [["render", Cb]]), Tb = {
|
|
7775
7786
|
name: "IdmVoluntaryReportingArea",
|
|
7776
7787
|
props: {
|
|
7777
7788
|
map: {
|
|
@@ -7859,10 +7870,10 @@ const Cb = /* @__PURE__ */ k(Xb, [["render", wb]]), vb = {
|
|
|
7859
7870
|
}
|
|
7860
7871
|
}
|
|
7861
7872
|
};
|
|
7862
|
-
function
|
|
7873
|
+
function Eb(z, M, b, O, p, o) {
|
|
7863
7874
|
return l(), f("div");
|
|
7864
7875
|
}
|
|
7865
|
-
const
|
|
7876
|
+
const xb = /* @__PURE__ */ k(Tb, [["render", Eb]]), Ib = {
|
|
7866
7877
|
name: "IdmSpecialArea",
|
|
7867
7878
|
props: {
|
|
7868
7879
|
map: {
|
|
@@ -7952,10 +7963,10 @@ const Eb = /* @__PURE__ */ k(vb, [["render", Tb]]), xb = {
|
|
|
7952
7963
|
}
|
|
7953
7964
|
}
|
|
7954
7965
|
};
|
|
7955
|
-
function
|
|
7966
|
+
function Db(z, M, b, O, p, o) {
|
|
7956
7967
|
return l(), f("div");
|
|
7957
7968
|
}
|
|
7958
|
-
const
|
|
7969
|
+
const Pb = /* @__PURE__ */ k(Ib, [["render", Db]]), Sb = {
|
|
7959
7970
|
name: "IdmTerminator",
|
|
7960
7971
|
props: {
|
|
7961
7972
|
map: {
|
|
@@ -8004,11 +8015,11 @@ const Db = /* @__PURE__ */ k(xb, [["render", Ib]]), Pb = {
|
|
|
8004
8015
|
}
|
|
8005
8016
|
}
|
|
8006
8017
|
};
|
|
8007
|
-
function
|
|
8018
|
+
function kb(z, M, b, O, p, o) {
|
|
8008
8019
|
return l(), f("div");
|
|
8009
8020
|
}
|
|
8010
|
-
const
|
|
8011
|
-
const
|
|
8021
|
+
const Qb = /* @__PURE__ */ k(Sb, [["render", kb]]);
|
|
8022
|
+
const Hb = {
|
|
8012
8023
|
name: "IdmLatLng",
|
|
8013
8024
|
props: {
|
|
8014
8025
|
map: {
|
|
@@ -8164,7 +8175,7 @@ const Qb = {
|
|
|
8164
8175
|
}
|
|
8165
8176
|
}
|
|
8166
8177
|
};
|
|
8167
|
-
function
|
|
8178
|
+
function _b(z, M, b, O, p, o) {
|
|
8168
8179
|
return p.lngLat ? (l(), f("div", {
|
|
8169
8180
|
key: 0,
|
|
8170
8181
|
class: "lat-lng-tip",
|
|
@@ -8175,7 +8186,7 @@ function Hb(z, M, b, O, p, o) {
|
|
|
8175
8186
|
c("span", null, T(p.lngLat.lng.pretty), 1)
|
|
8176
8187
|
], 4)) : _("", !0);
|
|
8177
8188
|
}
|
|
8178
|
-
const U0 = /* @__PURE__ */ k(
|
|
8189
|
+
const U0 = /* @__PURE__ */ k(Hb, [["render", _b], ["__scopeId", "data-v-ad66a24c"]]), jb = {
|
|
8179
8190
|
name: "IdmMeasure",
|
|
8180
8191
|
props: {
|
|
8181
8192
|
map: {
|
|
@@ -8463,11 +8474,11 @@ const U0 = /* @__PURE__ */ k(Qb, [["render", Hb], ["__scopeId", "data-v-ad66a24c
|
|
|
8463
8474
|
}
|
|
8464
8475
|
}
|
|
8465
8476
|
};
|
|
8466
|
-
function
|
|
8477
|
+
function Fb(z, M, b, O, p, o) {
|
|
8467
8478
|
return l(), f("div");
|
|
8468
8479
|
}
|
|
8469
|
-
const
|
|
8470
|
-
const
|
|
8480
|
+
const Gb = /* @__PURE__ */ k(jb, [["render", Fb]]);
|
|
8481
|
+
const Ub = {
|
|
8471
8482
|
name: "IdmENC",
|
|
8472
8483
|
props: {
|
|
8473
8484
|
map: {
|
|
@@ -8519,15 +8530,15 @@ const Gb = {
|
|
|
8519
8530
|
}
|
|
8520
8531
|
},
|
|
8521
8532
|
methods: {}
|
|
8522
|
-
},
|
|
8523
|
-
function
|
|
8533
|
+
}, Kb = { key: 0 }, Jb = { class: "bar-item" };
|
|
8534
|
+
function Yb(z, M, b, O, p, o) {
|
|
8524
8535
|
const A = x("ElTooltip");
|
|
8525
|
-
return b.enabled && b.permission & p.helper.LEVEL.Supper ? (l(), f("div",
|
|
8536
|
+
return b.enabled && b.permission & p.helper.LEVEL.Supper ? (l(), f("div", Kb, [
|
|
8526
8537
|
c("div", {
|
|
8527
8538
|
class: "menu-bar-box",
|
|
8528
8539
|
style: O0({ position: "absolute", right: p.right + "px", bottom: b.bottom })
|
|
8529
8540
|
}, [
|
|
8530
|
-
c("div",
|
|
8541
|
+
c("div", Jb, [
|
|
8531
8542
|
w(A, {
|
|
8532
8543
|
placement: "left",
|
|
8533
8544
|
effect: "light",
|
|
@@ -8564,8 +8575,8 @@ function Jb(z, M, b, O, p, o) {
|
|
|
8564
8575
|
], 4)
|
|
8565
8576
|
])) : _("", !0);
|
|
8566
8577
|
}
|
|
8567
|
-
const
|
|
8568
|
-
const
|
|
8578
|
+
const Vb = /* @__PURE__ */ k(Ub, [["render", Yb], ["__scopeId", "data-v-7301123d"]]);
|
|
8579
|
+
const Zb = {
|
|
8569
8580
|
name: "IdmENC",
|
|
8570
8581
|
props: {
|
|
8571
8582
|
map: {
|
|
@@ -8621,11 +8632,11 @@ const Vb = {
|
|
|
8621
8632
|
}
|
|
8622
8633
|
}
|
|
8623
8634
|
};
|
|
8624
|
-
function
|
|
8635
|
+
function $b(z, M, b, O, p, o) {
|
|
8625
8636
|
return null;
|
|
8626
8637
|
}
|
|
8627
|
-
const
|
|
8628
|
-
const
|
|
8638
|
+
const Mz = /* @__PURE__ */ k(Zb, [["render", $b]]);
|
|
8639
|
+
const bz = {
|
|
8629
8640
|
name: "IdmGLV2",
|
|
8630
8641
|
components: {
|
|
8631
8642
|
IdmGlLayer: E1,
|
|
@@ -8648,17 +8659,17 @@ const Mz = {
|
|
|
8648
8659
|
IdmGmdssArea: eb,
|
|
8649
8660
|
IdmEcaZone: qb,
|
|
8650
8661
|
IdmAlertZone: sb,
|
|
8651
|
-
IdmPort:
|
|
8652
|
-
IdmLoadLine:
|
|
8653
|
-
IdmTimezone:
|
|
8654
|
-
IdmVRA:
|
|
8655
|
-
IdmSpecialArea:
|
|
8656
|
-
IdmTerminator:
|
|
8662
|
+
IdmPort: gb,
|
|
8663
|
+
IdmLoadLine: Xb,
|
|
8664
|
+
IdmTimezone: vb,
|
|
8665
|
+
IdmVRA: xb,
|
|
8666
|
+
IdmSpecialArea: Pb,
|
|
8667
|
+
IdmTerminator: Qb,
|
|
8657
8668
|
IdmLatLng: U0,
|
|
8658
|
-
IdmMeasure:
|
|
8669
|
+
IdmMeasure: Gb,
|
|
8659
8670
|
IdmPoint: zb,
|
|
8660
|
-
IdmENC:
|
|
8661
|
-
IdmWorld12nm:
|
|
8671
|
+
IdmENC: Vb,
|
|
8672
|
+
IdmWorld12nm: Mz
|
|
8662
8673
|
},
|
|
8663
8674
|
props: {
|
|
8664
8675
|
map: {
|
|
@@ -9243,16 +9254,20 @@ const Mz = {
|
|
|
9243
9254
|
},
|
|
9244
9255
|
handleToggleVersion() {
|
|
9245
9256
|
this.$emit("toggleVersion", Math.random());
|
|
9257
|
+
},
|
|
9258
|
+
handleIdmPoint(z) {
|
|
9259
|
+
this.$refs.idmPoint.showMeteo = !0, this.$refs.idmPoint.point = z;
|
|
9246
9260
|
}
|
|
9247
9261
|
}
|
|
9248
|
-
},
|
|
9262
|
+
}, zz = {
|
|
9249
9263
|
key: 0,
|
|
9264
|
+
ref: "mapGlHome",
|
|
9250
9265
|
className: "map-gl-home"
|
|
9251
9266
|
};
|
|
9252
|
-
function
|
|
9267
|
+
function pz(z, M, b, O, p, o) {
|
|
9253
9268
|
var r0, d0, B0, s0, P, b0, t0, I, z0, W0, l0, L0, o0, e, i, u, B, X, D, V, S, F, T0, S0, k0, Q0, H0;
|
|
9254
9269
|
const A = x("IdmGlLayer"), t = x("IdmENC"), q = x("IdmWorld12nm"), r = x("IdmSigWave"), a = x("IdmSwell"), n = x("IdmPrmsl"), s = x("IdmIceberg"), d = x("IdmTropicals"), m = x("IdmCurrents"), L = x("IdmCurrentParticle"), W = x("IdmWindBarb"), h = x("IdmWindParticle"), R = x("IdmPrecip3h"), y = x("IdmVisibility"), E = x("IdmWaterTemp"), N = x("IdmTemp"), H = x("IdmArctic"), U = x("IdmWarZone"), Y = x("IdmGmdssArea"), g = x("IdmEcaZone"), v = x("IdmAlertZone"), A0 = x("IdmPort"), n0 = x("IdmLoadLine"), R0 = x("IdmTimezone"), i0 = x("IdmVRA"), f0 = x("IdmSpecialArea"), p0 = x("IdmTerminator"), h0 = x("IdmLatLng"), m0 = x("IdmMeasure"), u0 = x("IdmPoint");
|
|
9255
|
-
return b.map ? (l(), f("div",
|
|
9270
|
+
return b.map ? (l(), f("div", zz, [
|
|
9256
9271
|
w(A, Q({
|
|
9257
9272
|
ref: "layer",
|
|
9258
9273
|
map: b.map,
|
|
@@ -9413,7 +9428,7 @@ function zz(z, M, b, O, p, o) {
|
|
|
9413
9428
|
map: b.map,
|
|
9414
9429
|
port: (F = p.otherLayers) == null ? void 0 : F.ports,
|
|
9415
9430
|
"before-layer": b.beforeLayer
|
|
9416
|
-
}, z.$attrs), null, 16, ["map", "port", "before-layer"]),
|
|
9431
|
+
}, z.$attrs, { onHandleIdmPoint: o.handleIdmPoint }), null, 16, ["map", "port", "before-layer", "onHandleIdmPoint"]),
|
|
9417
9432
|
w(n0, Q({
|
|
9418
9433
|
map: b.map,
|
|
9419
9434
|
line: (T0 = p.otherLayers) == null ? void 0 : T0["load-lines"],
|
|
@@ -9456,17 +9471,17 @@ function zz(z, M, b, O, p, o) {
|
|
|
9456
9471
|
token: b.token,
|
|
9457
9472
|
gateway: p.gateway
|
|
9458
9473
|
}, z.$attrs), null, 16, ["map", "show", "meteo", "ts", "token", "gateway"])
|
|
9459
|
-
])) : _("", !0);
|
|
9474
|
+
], 512)) : _("", !0);
|
|
9460
9475
|
}
|
|
9461
|
-
const
|
|
9476
|
+
const Oz = /* @__PURE__ */ k(bz, [["render", pz]]), nz = {
|
|
9462
9477
|
install(z) {
|
|
9463
|
-
z.component("MapboxGL",
|
|
9478
|
+
z.component("MapboxGL", Oz), z.component("TropicalGL", j0), z.component("LatLngGL", U0);
|
|
9464
9479
|
}
|
|
9465
9480
|
};
|
|
9466
9481
|
export {
|
|
9467
9482
|
U0 as LatLngGL,
|
|
9468
|
-
|
|
9469
|
-
|
|
9483
|
+
Oz as MapboxGL,
|
|
9484
|
+
nz as MapboxGLPlugin,
|
|
9470
9485
|
S1 as MapboxHelper,
|
|
9471
9486
|
q0 as ParticleSchema,
|
|
9472
9487
|
j0 as TropicalGL,
|