@idmwx/idmui-gl3 4.1.6 → 4.2.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/index.js +68 -74
- package/dist/index.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4877,12 +4877,8 @@ const Ta = {
|
|
|
4877
4877
|
}, Ea = {
|
|
4878
4878
|
id: "point-meteo",
|
|
4879
4879
|
class: "point-meteo"
|
|
4880
|
-
}, Ra = { class: "meteo-box" }, Ia = { class: "header-box" }, Da = { class: "main" }, Aa = { class: "sub" }, Ma = { class: "main-box" }, Ba = { class: "flex-space" }, Na = { class: "flex-space" }, Wa = { class: "flex-space" }, Oa = { class: "flex-space" }, ja = { class: "flex-space" }, Fa = { class: "flex-space" }, $a = { class: "flex-space" }, Ua = { class: "flex-space" }, Va = { class: "flex-space" }
|
|
4881
|
-
|
|
4882
|
-
class: "flex-space",
|
|
4883
|
-
style: { "justify-content": "flex-end" }
|
|
4884
|
-
};
|
|
4885
|
-
function Ha(a, e, t, r, i, o) {
|
|
4880
|
+
}, Ra = { class: "meteo-box" }, Ia = { class: "header-box" }, Da = { class: "main" }, Aa = { class: "sub" }, Ma = { class: "main-box" }, Ba = { class: "flex-space" }, Na = { class: "flex-space" }, Wa = { class: "flex-space" }, Oa = { class: "flex-space" }, ja = { class: "flex-space" }, Fa = { class: "flex-space" }, $a = { class: "flex-space" }, Ua = { class: "flex-space" }, Va = { class: "flex-space" };
|
|
4881
|
+
function Za(a, e, t, r, i, o) {
|
|
4886
4882
|
var n, s, c, h, d, p, g, u, y, f, m, v, b, w, k, L, D, A, N, O, j, H, oe, se, ne, le, ce, he, de, ee, G, J, pe, X, E, U, me, q, ue, te, ae, ie, fe, ge, be, ve, Le;
|
|
4887
4883
|
return Se((x(), _("div", Ea, [
|
|
4888
4884
|
l("div", Ra, [
|
|
@@ -4932,15 +4928,13 @@ function Ha(a, e, t, r, i, o) {
|
|
|
4932
4928
|
l("span", null, S(o.roundPrecision((Le = t.meteo) == null ? void 0 : Le.waterTemp, 2)) + "[°C]", 1)
|
|
4933
4929
|
])
|
|
4934
4930
|
]),
|
|
4935
|
-
|
|
4936
|
-
l("span", { class: "more" }, "More >>", -1)
|
|
4937
|
-
]))) : B("", !0)
|
|
4931
|
+
B("", !0)
|
|
4938
4932
|
])
|
|
4939
4933
|
], 512)), [
|
|
4940
4934
|
[ke, i.showMeteo]
|
|
4941
4935
|
]);
|
|
4942
4936
|
}
|
|
4943
|
-
const
|
|
4937
|
+
const Ha = /* @__PURE__ */ T(Ta, [["render", Za], ["__scopeId", "data-v-bcf63844"]]), Ga = {
|
|
4944
4938
|
name: "IdmWarZone",
|
|
4945
4939
|
props: {
|
|
4946
4940
|
map: {
|
|
@@ -5030,10 +5024,10 @@ const Ga = /* @__PURE__ */ T(Ta, [["render", Ha], ["__scopeId", "data-v-22c5d8c1
|
|
|
5030
5024
|
}
|
|
5031
5025
|
}
|
|
5032
5026
|
};
|
|
5033
|
-
function
|
|
5027
|
+
function Ja(a, e, t, r, i, o) {
|
|
5034
5028
|
return x(), _("div");
|
|
5035
5029
|
}
|
|
5036
|
-
const
|
|
5030
|
+
const Xa = /* @__PURE__ */ T(Ga, [["render", Ja]]), qa = {
|
|
5037
5031
|
name: "IdmGmdssArea",
|
|
5038
5032
|
props: {
|
|
5039
5033
|
map: {
|
|
@@ -5153,10 +5147,10 @@ const qa = /* @__PURE__ */ T(Ja, [["render", Xa]]), Ya = {
|
|
|
5153
5147
|
}
|
|
5154
5148
|
}
|
|
5155
5149
|
};
|
|
5156
|
-
function
|
|
5150
|
+
function Ya(a, e, t, r, i, o) {
|
|
5157
5151
|
return x(), _("div");
|
|
5158
5152
|
}
|
|
5159
|
-
const
|
|
5153
|
+
const Qa = /* @__PURE__ */ T(qa, [["render", Ya]]), Ka = {
|
|
5160
5154
|
name: "IdmEcaZone",
|
|
5161
5155
|
props: {
|
|
5162
5156
|
map: {
|
|
@@ -5244,11 +5238,11 @@ const Ka = /* @__PURE__ */ T(Ya, [["render", Qa]]), ei = {
|
|
|
5244
5238
|
}
|
|
5245
5239
|
}
|
|
5246
5240
|
};
|
|
5247
|
-
function
|
|
5241
|
+
function ei(a, e, t, r, i, o) {
|
|
5248
5242
|
return x(), _("div");
|
|
5249
5243
|
}
|
|
5250
|
-
const
|
|
5251
|
-
const
|
|
5244
|
+
const ti = /* @__PURE__ */ T(Ka, [["render", ei]]);
|
|
5245
|
+
const ai = {
|
|
5252
5246
|
name: "IdmAlertZone",
|
|
5253
5247
|
props: {
|
|
5254
5248
|
map: {
|
|
@@ -5378,10 +5372,10 @@ const ii = {
|
|
|
5378
5372
|
this.map.getLayer(this.polygonLayer) && this.map.removeLayer(this.polygonLayer), this.map.getLayer(this.polygonLayer + "-border") && this.map.removeLayer(this.polygonLayer + "-border"), this.map.getLayer(this.polygonLabelLayer) && this.map.removeLayer(this.polygonLabelLayer), this.map.getLayer(this.lineLayer) && this.map.removeLayer(this.lineLayer), this.map.getLayer(this.lineLabelLayer) && this.map.removeLayer(this.lineLabelLayer), this.map.getLayer(this.pointLayer) && this.map.removeLayer(this.pointLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
5379
5373
|
}
|
|
5380
5374
|
}
|
|
5381
|
-
},
|
|
5382
|
-
function
|
|
5375
|
+
}, ii = { id: "idm-gl3-zone-info" }, ri = ["innerHTML"];
|
|
5376
|
+
function oi(a, e, t, r, i, o) {
|
|
5383
5377
|
var n;
|
|
5384
|
-
return Se((x(), _("div",
|
|
5378
|
+
return Se((x(), _("div", ii, [
|
|
5385
5379
|
l("div", {
|
|
5386
5380
|
class: "iconfont close",
|
|
5387
5381
|
onClick: e[0] || (e[0] = (s) => i.showZone = !1)
|
|
@@ -5389,13 +5383,13 @@ function si(a, e, t, r, i, o) {
|
|
|
5389
5383
|
l("div", {
|
|
5390
5384
|
class: "rich-context",
|
|
5391
5385
|
innerHTML: (n = i.form) == null ? void 0 : n.name
|
|
5392
|
-
}, null, 8,
|
|
5386
|
+
}, null, 8, ri)
|
|
5393
5387
|
], 512)), [
|
|
5394
5388
|
[ke, i.showZone]
|
|
5395
5389
|
]);
|
|
5396
5390
|
}
|
|
5397
|
-
const
|
|
5398
|
-
const
|
|
5391
|
+
const si = /* @__PURE__ */ T(ai, [["render", oi]]);
|
|
5392
|
+
const ni = {
|
|
5399
5393
|
name: "IdmPort",
|
|
5400
5394
|
props: {
|
|
5401
5395
|
map: {
|
|
@@ -5487,32 +5481,32 @@ const li = {
|
|
|
5487
5481
|
this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
5488
5482
|
}
|
|
5489
5483
|
}
|
|
5490
|
-
},
|
|
5484
|
+
}, li = { id: "port-info" }, ci = { class: "port-box" }, hi = { class: "flex-start" }, di = { class: "flex-start" }, pi = { class: "flex-start" }, mi = {
|
|
5491
5485
|
class: "flex-start",
|
|
5492
5486
|
style: { "align-items": "flex-start" }
|
|
5493
5487
|
};
|
|
5494
|
-
function
|
|
5495
|
-
return Se((x(), _("div",
|
|
5488
|
+
function ui(a, e, t, r, i, o) {
|
|
5489
|
+
return Se((x(), _("div", li, [
|
|
5496
5490
|
l("div", {
|
|
5497
5491
|
class: "close iconfont",
|
|
5498
5492
|
onClick: e[0] || (e[0] = (n) => i.showPort = !1)
|
|
5499
5493
|
}, ""),
|
|
5500
|
-
l("div",
|
|
5501
|
-
l("div",
|
|
5494
|
+
l("div", ci, [
|
|
5495
|
+
l("div", hi, [
|
|
5502
5496
|
e[2] || (e[2] = l("label", null, "Name : ", -1)),
|
|
5503
5497
|
l("span", {
|
|
5504
5498
|
onClick: e[1] || (e[1] = (...n) => o.handleEmit && o.handleEmit(...n))
|
|
5505
5499
|
}, S(i.form.name), 1)
|
|
5506
5500
|
]),
|
|
5507
|
-
l("div",
|
|
5501
|
+
l("div", di, [
|
|
5508
5502
|
e[3] || (e[3] = l("label", null, "Position : ", -1)),
|
|
5509
5503
|
l("span", null, S(o.computeLat(i.form.lat)) + ", " + S(o.computeLng(i.form.lng)), 1)
|
|
5510
5504
|
]),
|
|
5511
|
-
l("div",
|
|
5505
|
+
l("div", pi, [
|
|
5512
5506
|
e[4] || (e[4] = l("label", null, "LoCode : ", -1)),
|
|
5513
5507
|
l("span", null, S(i.form.loCode || "-"), 1)
|
|
5514
5508
|
]),
|
|
5515
|
-
l("div",
|
|
5509
|
+
l("div", mi, [
|
|
5516
5510
|
e[5] || (e[5] = l("label", null, "Region : ", -1)),
|
|
5517
5511
|
l("span", null, S(i.form.city || "-") + ", " + S(i.form.country || "-"), 1)
|
|
5518
5512
|
])
|
|
@@ -5521,7 +5515,7 @@ function yi(a, e, t, r, i, o) {
|
|
|
5521
5515
|
[ke, i.showPort]
|
|
5522
5516
|
]);
|
|
5523
5517
|
}
|
|
5524
|
-
const
|
|
5518
|
+
const yi = /* @__PURE__ */ T(ni, [["render", ui], ["__scopeId", "data-v-4ab013cc"]]), fi = {
|
|
5525
5519
|
name: "IdmLoadLine",
|
|
5526
5520
|
props: {
|
|
5527
5521
|
map: {
|
|
@@ -5591,10 +5585,10 @@ const fi = /* @__PURE__ */ T(li, [["render", yi], ["__scopeId", "data-v-4ab013cc
|
|
|
5591
5585
|
}
|
|
5592
5586
|
}
|
|
5593
5587
|
};
|
|
5594
|
-
function
|
|
5588
|
+
function gi(a, e, t, r, i, o) {
|
|
5595
5589
|
return x(), _("div");
|
|
5596
5590
|
}
|
|
5597
|
-
const
|
|
5591
|
+
const bi = /* @__PURE__ */ T(fi, [["render", gi]]), vi = {
|
|
5598
5592
|
name: "IdmTimezone",
|
|
5599
5593
|
props: {
|
|
5600
5594
|
map: {
|
|
@@ -5759,10 +5753,10 @@ const vi = /* @__PURE__ */ T(gi, [["render", bi]]), Li = {
|
|
|
5759
5753
|
}
|
|
5760
5754
|
}
|
|
5761
5755
|
};
|
|
5762
|
-
function
|
|
5756
|
+
function Li(a, e, t, r, i, o) {
|
|
5763
5757
|
return x(), _("div");
|
|
5764
5758
|
}
|
|
5765
|
-
const
|
|
5759
|
+
const wi = /* @__PURE__ */ T(vi, [["render", Li]]), xi = {
|
|
5766
5760
|
name: "IdmVoluntaryReportingArea",
|
|
5767
5761
|
props: {
|
|
5768
5762
|
map: {
|
|
@@ -5850,10 +5844,10 @@ const xi = /* @__PURE__ */ T(Li, [["render", wi]]), _i = {
|
|
|
5850
5844
|
}
|
|
5851
5845
|
}
|
|
5852
5846
|
};
|
|
5853
|
-
function
|
|
5847
|
+
function _i(a, e, t, r, i, o) {
|
|
5854
5848
|
return x(), _("div");
|
|
5855
5849
|
}
|
|
5856
|
-
const
|
|
5850
|
+
const Ci = /* @__PURE__ */ T(xi, [["render", _i]]), Si = {
|
|
5857
5851
|
name: "IdmSpecialArea",
|
|
5858
5852
|
props: {
|
|
5859
5853
|
map: {
|
|
@@ -5943,10 +5937,10 @@ const Si = /* @__PURE__ */ T(_i, [["render", Ci]]), ki = {
|
|
|
5943
5937
|
}
|
|
5944
5938
|
}
|
|
5945
5939
|
};
|
|
5946
|
-
function
|
|
5940
|
+
function ki(a, e, t, r, i, o) {
|
|
5947
5941
|
return x(), _("div");
|
|
5948
5942
|
}
|
|
5949
|
-
const
|
|
5943
|
+
const zi = /* @__PURE__ */ T(Si, [["render", ki]]), Pi = {
|
|
5950
5944
|
name: "IdmTerminator",
|
|
5951
5945
|
props: {
|
|
5952
5946
|
map: {
|
|
@@ -5995,11 +5989,11 @@ const Pi = /* @__PURE__ */ T(ki, [["render", zi]]), Ti = {
|
|
|
5995
5989
|
}
|
|
5996
5990
|
}
|
|
5997
5991
|
};
|
|
5998
|
-
function
|
|
5992
|
+
function Ti(a, e, t, r, i, o) {
|
|
5999
5993
|
return x(), _("div");
|
|
6000
5994
|
}
|
|
6001
|
-
const
|
|
6002
|
-
const
|
|
5995
|
+
const Ei = /* @__PURE__ */ T(Pi, [["render", Ti]]);
|
|
5996
|
+
const Ri = {
|
|
6003
5997
|
name: "IdmLatLng",
|
|
6004
5998
|
props: {
|
|
6005
5999
|
map: {
|
|
@@ -6155,7 +6149,7 @@ const Ii = {
|
|
|
6155
6149
|
}
|
|
6156
6150
|
}
|
|
6157
6151
|
};
|
|
6158
|
-
function
|
|
6152
|
+
function Ii(a, e, t, r, i, o) {
|
|
6159
6153
|
return i.lngLat ? (x(), _("div", {
|
|
6160
6154
|
key: 0,
|
|
6161
6155
|
class: "lat-lng-tip",
|
|
@@ -6166,7 +6160,7 @@ function Di(a, e, t, r, i, o) {
|
|
|
6166
6160
|
l("span", null, S(i.lngLat.lng.pretty), 1)
|
|
6167
6161
|
], 4)) : B("", !0);
|
|
6168
6162
|
}
|
|
6169
|
-
const je = /* @__PURE__ */ T(
|
|
6163
|
+
const je = /* @__PURE__ */ T(Ri, [["render", Ii], ["__scopeId", "data-v-7367f59b"]]), Di = {
|
|
6170
6164
|
name: "IdmMeasure",
|
|
6171
6165
|
props: {
|
|
6172
6166
|
map: {
|
|
@@ -6454,11 +6448,11 @@ const je = /* @__PURE__ */ T(Ii, [["render", Di], ["__scopeId", "data-v-7367f59b
|
|
|
6454
6448
|
}
|
|
6455
6449
|
}
|
|
6456
6450
|
};
|
|
6457
|
-
function
|
|
6451
|
+
function Ai(a, e, t, r, i, o) {
|
|
6458
6452
|
return x(), _("div");
|
|
6459
6453
|
}
|
|
6460
|
-
const
|
|
6461
|
-
const
|
|
6454
|
+
const Mi = /* @__PURE__ */ T(Di, [["render", Ai]]);
|
|
6455
|
+
const Bi = {
|
|
6462
6456
|
name: "IdmENC",
|
|
6463
6457
|
props: {
|
|
6464
6458
|
map: {
|
|
@@ -6510,14 +6504,14 @@ const Ni = {
|
|
|
6510
6504
|
}
|
|
6511
6505
|
},
|
|
6512
6506
|
methods: {}
|
|
6513
|
-
},
|
|
6514
|
-
function
|
|
6515
|
-
return t.enabled && t.permission & i.helper.LEVEL.Supper ? (x(), _("div",
|
|
6507
|
+
}, Ni = { key: 0 }, Wi = { class: "bar-item" };
|
|
6508
|
+
function Oi(a, e, t, r, i, o) {
|
|
6509
|
+
return t.enabled && t.permission & i.helper.LEVEL.Supper ? (x(), _("div", Ni, [
|
|
6516
6510
|
l("div", {
|
|
6517
6511
|
class: "menu-bar-box",
|
|
6518
6512
|
style: $({ position: "absolute", right: i.right + "px", bottom: t.bottom })
|
|
6519
6513
|
}, [
|
|
6520
|
-
l("div",
|
|
6514
|
+
l("div", Wi, [
|
|
6521
6515
|
l("div", {
|
|
6522
6516
|
class: M(i.vendor === "hi" ? "menu-icon active" : "menu-icon"),
|
|
6523
6517
|
onClick: e[0] || (e[0] = (n) => i.vendor = "hi")
|
|
@@ -6534,8 +6528,8 @@ function ji(a, e, t, r, i, o) {
|
|
|
6534
6528
|
], 4)
|
|
6535
6529
|
])) : B("", !0);
|
|
6536
6530
|
}
|
|
6537
|
-
const
|
|
6538
|
-
const
|
|
6531
|
+
const ji = /* @__PURE__ */ T(Bi, [["render", Oi], ["__scopeId", "data-v-ab627b83"]]);
|
|
6532
|
+
const Fi = {
|
|
6539
6533
|
name: "IdmGLV2",
|
|
6540
6534
|
components: {
|
|
6541
6535
|
IdmGlLayer: lt,
|
|
@@ -6554,20 +6548,20 @@ const $i = {
|
|
|
6554
6548
|
IdmWaterTemp: La,
|
|
6555
6549
|
IdmTemp: Ca,
|
|
6556
6550
|
IdmArctic: Pa,
|
|
6557
|
-
IdmWarZone:
|
|
6558
|
-
IdmGmdssArea:
|
|
6559
|
-
IdmEcaZone:
|
|
6560
|
-
IdmAlertZone:
|
|
6561
|
-
IdmPort:
|
|
6562
|
-
IdmLoadLine:
|
|
6563
|
-
IdmTimezone:
|
|
6564
|
-
IdmVRA:
|
|
6565
|
-
IdmSpecialArea:
|
|
6566
|
-
IdmTerminator:
|
|
6551
|
+
IdmWarZone: Xa,
|
|
6552
|
+
IdmGmdssArea: Qa,
|
|
6553
|
+
IdmEcaZone: ti,
|
|
6554
|
+
IdmAlertZone: si,
|
|
6555
|
+
IdmPort: yi,
|
|
6556
|
+
IdmLoadLine: bi,
|
|
6557
|
+
IdmTimezone: wi,
|
|
6558
|
+
IdmVRA: Ci,
|
|
6559
|
+
IdmSpecialArea: zi,
|
|
6560
|
+
IdmTerminator: Ei,
|
|
6567
6561
|
IdmLatLng: je,
|
|
6568
|
-
IdmMeasure:
|
|
6569
|
-
IdmPoint:
|
|
6570
|
-
IdmENC:
|
|
6562
|
+
IdmMeasure: Mi,
|
|
6563
|
+
IdmPoint: Ha,
|
|
6564
|
+
IdmENC: ji
|
|
6571
6565
|
},
|
|
6572
6566
|
props: {
|
|
6573
6567
|
map: {
|
|
@@ -7146,14 +7140,14 @@ const $i = {
|
|
|
7146
7140
|
this.particleFactor = a, this.fetchWeatherLayers({ tropicals: !1 });
|
|
7147
7141
|
}
|
|
7148
7142
|
}
|
|
7149
|
-
},
|
|
7143
|
+
}, $i = {
|
|
7150
7144
|
key: 0,
|
|
7151
7145
|
className: "map-gl-home"
|
|
7152
7146
|
};
|
|
7153
|
-
function
|
|
7147
|
+
function Ui(a, e, t, r, i, o) {
|
|
7154
7148
|
var ee, G, J, pe, X, E, U, me, q, ue, te, ae, ie, fe, ge, be, ve, Le, ze, Ee, Re, Ie, De, Ae, Me, Be;
|
|
7155
7149
|
const n = z("IdmGlLayer"), s = z("IdmENC"), c = z("IdmSigWave"), h = z("IdmSwell"), d = z("IdmPrmsl"), p = z("IdmIceberg"), g = z("IdmTropicals"), u = z("IdmCurrents"), y = z("IdmCurrentParticle"), f = z("IdmWindBarb"), m = z("IdmWindParticle"), v = z("IdmPrecip3h"), b = z("IdmVisibility"), w = z("IdmWaterTemp"), k = z("IdmTemp"), L = z("IdmArctic"), D = z("IdmWarZone"), A = z("IdmGmdssArea"), N = z("IdmEcaZone"), O = z("IdmAlertZone"), j = z("IdmPort"), H = z("IdmLoadLine"), oe = z("IdmTimezone"), se = z("IdmVRA"), ne = z("IdmSpecialArea"), le = z("IdmTerminator"), ce = z("IdmLatLng"), he = z("IdmMeasure"), de = z("IdmPoint");
|
|
7156
|
-
return t.map ? (x(), _("div",
|
|
7150
|
+
return t.map ? (x(), _("div", $i, [
|
|
7157
7151
|
P(n, R({
|
|
7158
7152
|
ref: "layer",
|
|
7159
7153
|
map: t.map,
|
|
@@ -7334,15 +7328,15 @@ function Vi(a, e, t, r, i, o) {
|
|
|
7334
7328
|
}, a.$attrs, { onPoint: o.handlePointChange }), null, 16, ["map", "show", "meteo", "onPoint"])
|
|
7335
7329
|
])) : B("", !0);
|
|
7336
7330
|
}
|
|
7337
|
-
const
|
|
7331
|
+
const Vi = /* @__PURE__ */ T(Fi, [["render", Ui]]), Ki = {
|
|
7338
7332
|
install(a) {
|
|
7339
|
-
a.component("MapboxGL",
|
|
7333
|
+
a.component("MapboxGL", Vi), a.component("TropicalGL", Oe), a.component("LatLngGL", je);
|
|
7340
7334
|
}
|
|
7341
7335
|
};
|
|
7342
7336
|
export {
|
|
7343
7337
|
je as LatLngGL,
|
|
7344
|
-
|
|
7345
|
-
|
|
7338
|
+
Vi as MapboxGL,
|
|
7339
|
+
Ki as MapboxGLPlugin,
|
|
7346
7340
|
gt as MapboxHelper,
|
|
7347
7341
|
V as ParticleSchema,
|
|
7348
7342
|
Oe as TropicalGL,
|