@idmwx/idmui-gl3 4.4.0 → 4.4.1

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
@@ -1,13 +1,13 @@
1
- var $e = Object.defineProperty;
2
- var Fe = (a, e, t) => e in a ? $e(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
- var I = (a, e, t) => (Fe(a, typeof e != "symbol" ? e + "" : e, t), t);
1
+ var Fe = Object.defineProperty;
2
+ var $e = (a, e, t) => e in a ? Fe(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
+ var I = (a, e, t) => ($e(a, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import { LayerHelper as Pe, CompanyHelper as Ce, convertToStandardLng as we } from "@idmwx/idmwx-base";
5
- import { resolveComponent as z, openBlock as x, createElementBlock as _, createElementVNode as l, normalizeStyle as F, normalizeClass as M, Fragment as xe, renderList as _e, toDisplayString as S, createVNode as P, withCtx as Ve, createTextVNode as Oe, createCommentVNode as B, withDirectives as Se, createStaticVNode as Ue, vShow as ke, mergeProps as E } from "vue";
5
+ import { resolveComponent as z, openBlock as x, createElementBlock as _, createElementVNode as l, normalizeStyle as $, normalizeClass as M, Fragment as xe, renderList as _e, toDisplayString as S, createVNode as P, withCtx as Ve, createTextVNode as Oe, createCommentVNode as B, withDirectives as Se, createStaticVNode as Ue, vShow as ke, mergeProps as E } from "vue";
6
6
  import * as C from "@turf/turf";
7
7
  import Ze from "@mapbox/sphericalmercator";
8
8
  import Z from "moment";
9
9
  import Q from "mapbox-gl";
10
- import { TropicalHelper as Ne, LngLatHelper as $, LaneHelper as Y } from "@idm-plugin/geo";
10
+ import { TropicalHelper as Ne, LngLatHelper as F, LaneHelper as Y } from "@idm-plugin/geo";
11
11
  import ie from "axios";
12
12
  const T = (a, e) => {
13
13
  const t = a.__vccOpts || a;
@@ -27,7 +27,7 @@ const T = (a, e) => {
27
27
  type: Number,
28
28
  default: 60
29
29
  },
30
- toggleMenu: {
30
+ layerToggle: {
31
31
  type: Boolean,
32
32
  default: !1
33
33
  },
@@ -39,10 +39,9 @@ const T = (a, e) => {
39
39
  default: void 0
40
40
  }
41
41
  },
42
- emits: ["weather", "other", "coordinate", "measure", "point", "3d", "handleToggleVersion", "menu", "showLayers"],
42
+ emits: ["weather", "other", "coordinate", "measure", "point", "3d", "layerToggle", "handleToggleVersion"],
43
43
  data() {
44
44
  return {
45
- showLayers: !1,
46
45
  source: "",
47
46
  weatherLayers: [],
48
47
  activeWeatherLayers: [],
@@ -77,20 +76,6 @@ const T = (a, e) => {
77
76
  }
78
77
  },
79
78
  watch: {
80
- showLayers: {
81
- handler() {
82
- this.$nextTick(() => {
83
- this.$emit("menu", this.showLayers ? !1 : this.toggleMenu), this.$emit("handleToggleVersion");
84
- });
85
- }
86
- },
87
- toggleMenu: {
88
- handler() {
89
- this.$nextTick(() => {
90
- this.showLayers = this.toggleMenu ? !1 : this.showLayers, this.$emit("handleToggleVersion");
91
- });
92
- }
93
- },
94
79
  toggleVersion: {
95
80
  handler() {
96
81
  this.$nextTick(() => {
@@ -138,7 +123,7 @@ const T = (a, e) => {
138
123
  this.otherLayers.some((e) => e.key === a.key) ? this.otherLayers = this.otherLayers.filter((e) => e.key !== a.key) : a.enabled && this.otherLayers.push(a), localStorage.setItem(this.otherLayersCache, JSON.stringify(this.otherLayers)), this.$emit("other", this.otherLayers);
139
124
  },
140
125
  handleMenuToggle() {
141
- this.showLayers = !this.showLayers;
126
+ this.$emit("layerToggle", !this.layerToggle);
142
127
  },
143
128
  handleCoordToggle() {
144
129
  this.showCoord = !this.showCoord, this.$emit("coordinate", this.showCoord);
@@ -165,11 +150,11 @@ function nt(a, e, t, r, i, o) {
165
150
  return x(), _("div", Ge, [
166
151
  l("div", {
167
152
  class: "menu-bar-box",
168
- style: F({ top: t.top + 10 + "px", right: i.right + "px" })
153
+ style: $({ top: t.top + 10 + "px", right: i.right + "px" })
169
154
  }, [
170
155
  l("div", Je, [
171
156
  l("div", {
172
- class: M(i.showLayers ? "menu-icon active" : "menu-icon"),
157
+ class: M(t.layerToggle ? "menu-icon active" : "menu-icon"),
173
158
  onClick: e[0] || (e[0] = (...s) => o.handleMenuToggle && o.handleMenuToggle(...s))
174
159
  }, e[8] || (e[8] = [
175
160
  l("span", { class: "iconfont" }, "", -1)
@@ -178,7 +163,7 @@ function nt(a, e, t, r, i, o) {
178
163
  ], 4),
179
164
  l("div", {
180
165
  class: "menu-bar-box",
181
- style: F({ top: t.top + 160 + "px", right: i.right + "px" })
166
+ style: $({ top: t.top + 160 + "px", right: i.right + "px" })
182
167
  }, [
183
168
  l("div", Xe, [
184
169
  l("div", {
@@ -209,7 +194,7 @@ function nt(a, e, t, r, i, o) {
209
194
  ], 4),
210
195
  l("div", {
211
196
  class: "active-layers",
212
- style: F({ right: i.right + "px", bottom: "100px" })
197
+ style: $({ right: i.right + "px", bottom: "100px" })
213
198
  }, [
214
199
  (x(!0), _(xe, null, _e(i.weatherLayers, (s) => (x(), _("div", {
215
200
  key: s.key,
@@ -222,17 +207,17 @@ function nt(a, e, t, r, i, o) {
222
207
  ], 4),
223
208
  l("div", {
224
209
  class: "available-layers flex-center",
225
- style: F({ top: t.top + "px", right: i.showLayers ? "0px" : "-240px" })
210
+ style: $({ top: t.top + "px", right: t.layerToggle ? "0px" : "-240px" })
226
211
  }, [
227
212
  l("div", {
228
213
  class: "side-bar",
229
- style: F({ right: i.showLayers ? "0px" : "-240px" }),
214
+ style: $({ right: t.layerToggle ? "0px" : "-240px" }),
230
215
  onClick: e[5] || (e[5] = (...s) => o.handleMenuToggle && o.handleMenuToggle(...s))
231
216
  }, e[14] || (e[14] = [
232
217
  l("i", { class: "iconfont" }, "", -1)
233
218
  ]), 4),
234
219
  l("div", {
235
- class: M(["list-box", i.showLayers ? "right-bar" : ""])
220
+ class: M(["list-box", t.layerToggle ? "right-bar" : ""])
236
221
  }, [
237
222
  P(n, { style: { flex: "1" } }, {
238
223
  default: Ve(() => [
@@ -469,7 +454,7 @@ function yt(a, e, t, r, i, o) {
469
454
  return (n = t.wind) != null && n.active ? (x(), _("div", ht, [
470
455
  l("div", {
471
456
  class: "flex-center tool-bars",
472
- style: F([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
457
+ style: $([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
473
458
  }, [
474
459
  t.mapProjection === "mercator" ? (x(), _("div", {
475
460
  key: 0,
@@ -2738,7 +2723,7 @@ function Lt(a, e, t, r, i, o) {
2738
2723
  return (n = t.factor) != null && n.active ? (x(), _("div", vt, [
2739
2724
  l("div", {
2740
2725
  class: "legend-bars flex-center",
2741
- style: F([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
2726
+ style: $([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
2742
2727
  }, e[0] || (e[0] = [
2743
2728
  l("span", null, "kts", -1),
2744
2729
  l("span", null, "0", -1),
@@ -2930,7 +2915,7 @@ function Pt(a, e, t, r, i, o) {
2930
2915
  return (n = t.current) != null && n.active ? (x(), _("div", _t, [
2931
2916
  l("div", {
2932
2917
  class: "flex-center tool-bars",
2933
- style: F([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
2918
+ style: $([{ position: "absolute" }, { right: i.right + "px", bottom: i.bottom + "px" }])
2934
2919
  }, [
2935
2920
  t.mapProjection === "mercator" ? (x(), _("div", {
2936
2921
  key: 0,
@@ -3120,7 +3105,7 @@ function It(a, e, t, r, i, o) {
3120
3105
  return (n = t.factor) != null && n.active ? (x(), _("div", Et, [
3121
3106
  l("div", {
3122
3107
  class: "legend-bars flex-center",
3123
- style: F([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3108
+ style: $([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
3124
3109
  }, e[0] || (e[0] = [
3125
3110
  l("span", null, "kts", -1),
3126
3111
  l("span", null, "0", -1),
@@ -3512,10 +3497,10 @@ const jt = /* @__PURE__ */ T(Ot, [["render", Nt]]), Wt = {
3512
3497
  }
3513
3498
  }
3514
3499
  };
3515
- function $t(a, e, t, r, i, o) {
3500
+ function Ft(a, e, t, r, i, o) {
3516
3501
  return x(), _("div");
3517
3502
  }
3518
- const Ft = /* @__PURE__ */ T(Wt, [["render", $t]]), Vt = {
3503
+ const $t = /* @__PURE__ */ T(Wt, [["render", Ft]]), Vt = {
3519
3504
  name: "IdmIceberg",
3520
3505
  props: {
3521
3506
  map: {
@@ -4308,7 +4293,7 @@ function da(a, e, t, r, i, o) {
4308
4293
  return (n = t.factor) != null && n.active ? (x(), _("div", ha, [
4309
4294
  l("div", {
4310
4295
  class: "legend-bars flex-center",
4311
- style: F([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4296
+ style: $([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4312
4297
  }, e[0] || (e[0] = [
4313
4298
  l("span", null, "mm", -1),
4314
4299
  l("span", null, "1.5", -1),
@@ -4422,7 +4407,7 @@ function ya(a, e, t, r, i, o) {
4422
4407
  return (n = t.factor) != null && n.active ? (x(), _("div", ua, [
4423
4408
  l("div", {
4424
4409
  class: "legend-bars flex-center",
4425
- style: F([{ position: "absolute" }, { right: a.right + "px", bottom: t.bottom }])
4410
+ style: $([{ position: "absolute" }, { right: a.right + "px", bottom: t.bottom }])
4426
4411
  }, e[0] || (e[0] = [
4427
4412
  l("span", null, "nm", -1),
4428
4413
  l("span", null, "0", -1),
@@ -4542,7 +4527,7 @@ function va(a, e, t, r, i, o) {
4542
4527
  return (n = t.factor) != null && n.active ? (x(), _("div", ba, [
4543
4528
  l("div", {
4544
4529
  class: "legend-bars flex-center",
4545
- style: F([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4530
+ style: $([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4546
4531
  }, e[0] || (e[0] = [
4547
4532
  l("span", null, "°C", -1),
4548
4533
  l("span", null, "0", -1),
@@ -4665,7 +4650,7 @@ function _a(a, e, t, r, i, o) {
4665
4650
  return (n = t.factor) != null && n.active ? (x(), _("div", xa, [
4666
4651
  l("div", {
4667
4652
  class: "legend-bars flex-center",
4668
- style: F([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4653
+ style: $([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4669
4654
  }, e[0] || (e[0] = [
4670
4655
  l("span", null, "°C", -1),
4671
4656
  l("span", null, "-20", -1),
@@ -4781,7 +4766,7 @@ function za(a, e, t, r, i, o) {
4781
4766
  return (n = t.factor) != null && n.active ? (x(), _("div", ka, [
4782
4767
  l("div", {
4783
4768
  class: "legend-bars flex-center",
4784
- style: F([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4769
+ style: $([{ position: "absolute" }, { right: i.right + "px", bottom: t.bottom }])
4785
4770
  }, e[0] || (e[0] = [
4786
4771
  l("span", null, "m", -1),
4787
4772
  l("span", null, "0", -1),
@@ -4848,17 +4833,17 @@ const Ta = {
4848
4833
  },
4849
4834
  computeLat() {
4850
4835
  return function(a, e = 4) {
4851
- return $.lat2pretty(a, e).pretty;
4836
+ return F.lat2pretty(a, e).pretty;
4852
4837
  };
4853
4838
  },
4854
4839
  computeLng() {
4855
4840
  return function(a, e = 4) {
4856
- return $.lng2pretty(a, e).pretty;
4841
+ return F.lng2pretty(a, e).pretty;
4857
4842
  };
4858
4843
  },
4859
4844
  roundPrecision() {
4860
4845
  return function(a, e = 4) {
4861
- return isNaN(a) ? "-" : $.roundPrecision(a, e);
4846
+ return isNaN(a) ? "-" : F.roundPrecision(a, e);
4862
4847
  };
4863
4848
  }
4864
4849
  },
@@ -4883,7 +4868,7 @@ const Ta = {
4883
4868
  }, Ra = {
4884
4869
  id: "point-meteo",
4885
4870
  class: "point-meteo"
4886
- }, Ea = { class: "meteo-box" }, Ia = { class: "header-box" }, Da = { class: "main" }, Aa = { class: "sub" }, Ma = { class: "main-box" }, Ba = { class: "flex-space" }, Oa = { class: "flex-space" }, Na = { class: "flex-space" }, ja = { class: "flex-space" }, Wa = { class: "flex-space" }, $a = { class: "flex-space" }, Fa = { class: "flex-space" }, Va = { class: "flex-space" }, Ua = { class: "flex-space" };
4871
+ }, Ea = { class: "meteo-box" }, Ia = { class: "header-box" }, Da = { class: "main" }, Aa = { class: "sub" }, Ma = { class: "main-box" }, Ba = { class: "flex-space" }, Oa = { class: "flex-space" }, Na = { class: "flex-space" }, ja = { class: "flex-space" }, Wa = { class: "flex-space" }, Fa = { class: "flex-space" }, $a = { class: "flex-space" }, Va = { class: "flex-space" }, Ua = { class: "flex-space" };
4887
4872
  function Za(a, e, t, r, i, o) {
4888
4873
  var n, s, c, h, d, p, g, u, y, f, m, v, b, w, k, L, D, A, O, j, W, H, re, oe, se, ne, le, ce, he, K, G, J, de, X, R, V, pe, q, me, ee, te, ae, fe, ge, be, ve, Le;
4889
4874
  return Se((x(), _("div", Ra, [
@@ -4917,11 +4902,11 @@ function Za(a, e, t, r, i, o) {
4917
4902
  e[5] || (e[5] = l("label", null, "Current", -1)),
4918
4903
  l("span", null, S(((ee = (me = t.meteo) == null ? void 0 : me.current) == null ? void 0 : ee.direction) || "-") + "/" + S(o.roundPrecision((ae = (te = t.meteo) == null ? void 0 : te.current) == null ? void 0 : ae.kts, 2)) + "[kts]", 1)
4919
4904
  ]),
4920
- l("div", $a, [
4905
+ l("div", Fa, [
4921
4906
  e[6] || (e[6] = l("label", null, "Precip", -1)),
4922
4907
  l("span", null, S(o.roundPrecision((ge = (fe = t.meteo) == null ? void 0 : fe.precip) == null ? void 0 : ge.inter6h, 2)) + "[mm]", 1)
4923
4908
  ]),
4924
- l("div", Fa, [
4909
+ l("div", $a, [
4925
4910
  e[7] || (e[7] = l("label", null, "Visibility", -1)),
4926
4911
  l("span", null, S(o.roundPrecision(((be = t.meteo) == null ? void 0 : be.visibility) / 1852, 0)) + "[nm]", 1)
4927
4912
  ]),
@@ -5421,12 +5406,12 @@ const ni = {
5421
5406
  computed: {
5422
5407
  computeLat() {
5423
5408
  return function(a) {
5424
- return $.lat2pretty(a, 4).pretty;
5409
+ return F.lat2pretty(a, 4).pretty;
5425
5410
  };
5426
5411
  },
5427
5412
  computeLng() {
5428
5413
  return function(a) {
5429
- return $.lng2pretty(a, 4).pretty;
5414
+ return F.lng2pretty(a, 4).pretty;
5430
5415
  };
5431
5416
  }
5432
5417
  },
@@ -5883,7 +5868,7 @@ const Ci = /* @__PURE__ */ T(xi, [["render", _i]]), Si = {
5883
5868
  methods: {
5884
5869
  handleRender() {
5885
5870
  this.map ? (this.handleClear(), this.area && (this.area.features.forEach((a) => {
5886
- a.geometry.type === "Polygon" && a.geometry.coordinates.forEach((e) => $.convertToMonotonicLng2(e));
5871
+ a.geometry.type === "Polygon" && a.geometry.coordinates.forEach((e) => F.convertToMonotonicLng2(e));
5887
5872
  }), this.map.addSource(this.source, {
5888
5873
  type: "geojson",
5889
5874
  data: this.area
@@ -6057,7 +6042,7 @@ const Ei = {
6057
6042
  this.show ? ((a = this.map) == null || a.on("zoomend", this.handleZoomEnd), this.handleRender()) : (this.handleClear(), (e = this.map) == null || e.off("zoomend", this.handleZoomEnd));
6058
6043
  },
6059
6044
  handleMouseMove(a) {
6060
- const e = a.lngLat, t = $.lng2pretty(e.lng, 2), r = $.lat2pretty(e.lat, 2);
6045
+ const e = a.lngLat, t = F.lng2pretty(e.lng, 2), r = F.lat2pretty(e.lat, 2);
6061
6046
  this.lngLat = { lng: t, lat: r };
6062
6047
  },
6063
6048
  handleComputeLatLngs() {
@@ -6159,7 +6144,7 @@ function Ii(a, e, t, r, i, o) {
6159
6144
  return i.lngLat ? (x(), _("div", {
6160
6145
  key: 0,
6161
6146
  class: "lat-lng-tip",
6162
- style: F({ right: i.right + "px", bottom: t.bottom })
6147
+ style: $({ right: i.right + "px", bottom: t.bottom })
6163
6148
  }, [
6164
6149
  l("span", null, S(i.lngLat.lat.pretty), 1),
6165
6150
  e[0] || (e[0] = l("span", null, ", ", -1)),
@@ -6307,9 +6292,9 @@ const We = /* @__PURE__ */ T(Ei, [["render", Ii], ["__scopeId", "data-v-b0d1ad79
6307
6292
  const r = [];
6308
6293
  for (let i = 1; i < e.length; i++) {
6309
6294
  const o = e[i - 1], n = e[i], s = o.properties, c = { lng: o.geometry.coordinates[0], lat: o.geometry.coordinates[1] }, h = { lng: n.geometry.coordinates[0], lat: n.geometry.coordinates[1] }, d = Y.calculateDistance(c, h, s.mode === "RL", 2), p = Y.calculateBearing(c, h, s.mode === "RL", 2);
6310
- t = $.roundPrecision(t + d, 2);
6295
+ t = F.roundPrecision(t + d, 2);
6311
6296
  let g;
6312
- s.mode === "RL" ? g = $.convertToMonotonicLng([c, h]) : g = $.convertToMonotonicLng(Y.interpolateCoordinates(c, h, 200));
6297
+ s.mode === "RL" ? g = F.convertToMonotonicLng([c, h]) : g = F.convertToMonotonicLng(Y.interpolateCoordinates(c, h, 200));
6313
6298
  const u = C.lineString(g.map((y) => [y.lng, y.lat]));
6314
6299
  u.properties.dist = d, u.properties.bearing = p, u.properties.total = t, r.push(u);
6315
6300
  }
@@ -6324,7 +6309,7 @@ const We = /* @__PURE__ */ T(Ei, [["render", Ii], ["__scopeId", "data-v-b0d1ad79
6324
6309
  const c = e.properties, h = { lng: e.geometry.coordinates[0], lat: e.geometry.coordinates[1] }, d = { lng: t.lng, lat: t.lat };
6325
6310
  o = Y.calculateDistance(h, d, c.mode === "RL", 2), n = Y.calculateBearing(h, d, c.mode === "RL", 2);
6326
6311
  let p;
6327
- c.mode === "RL" ? p = $.convertToMonotonicLng([h, d]) : p = $.convertToMonotonicLng(Y.interpolateCoordinates(h, d, 200));
6312
+ c.mode === "RL" ? p = F.convertToMonotonicLng([h, d]) : p = F.convertToMonotonicLng(Y.interpolateCoordinates(h, d, 200));
6328
6313
  const g = C.lineString(p.map((u) => [u.lng, u.lat]));
6329
6314
  g.properties.dist = o, g.properties.bearing = n, i.features.push(g);
6330
6315
  }
@@ -6332,7 +6317,7 @@ const We = /* @__PURE__ */ T(Ei, [["render", Ii], ["__scopeId", "data-v-b0d1ad79
6332
6317
  const c = t.properties, h = t, d = { lng: r.geometry.coordinates[0], lat: r.geometry.coordinates[1] };
6333
6318
  o = Y.calculateDistance(h, d, c.mode === "RL", 2), n = Y.calculateBearing(h, d, c.mode === "RL", 2);
6334
6319
  let p;
6335
- c.mode === "RL" ? p = $.convertToMonotonicLng([h, d]) : p = $.convertToMonotonicLng(Y.interpolateCoordinates(h, d, 200));
6320
+ c.mode === "RL" ? p = F.convertToMonotonicLng([h, d]) : p = F.convertToMonotonicLng(Y.interpolateCoordinates(h, d, 200));
6336
6321
  const g = C.lineString(p.map((u) => [u.lng, u.lat]));
6337
6322
  g.properties.dist = o, g.properties.bearing = n, i.features.push(g);
6338
6323
  }
@@ -6374,7 +6359,7 @@ const We = /* @__PURE__ */ T(Ei, [["render", Ii], ["__scopeId", "data-v-b0d1ad79
6374
6359
  }
6375
6360
  });
6376
6361
  let s;
6377
- if (r ? s = '<div class="marker-label">Drag and drop</div>' : s = `<div class="marker-label">Tol distance: <b>${$.roundPrecision((a.total ?? 0) + o, 2)}</b>nm, bearing: <b>${n}</b>°</div><div class="marker-label">${this.navigation === "RL" ? "RL" : "GC"} mode, using 'Shift' to switch</div><div class="marker-label">Double click to end</div>`, this.tipMarker)
6362
+ if (r ? s = '<div class="marker-label">Drag and drop</div>' : s = `<div class="marker-label">Tol distance: <b>${F.roundPrecision((a.total ?? 0) + o, 2)}</b>nm, bearing: <b>${n}</b>°</div><div class="marker-label">${this.navigation === "RL" ? "RL" : "GC"} mode, using 'Shift' to switch</div><div class="marker-label">Double click to end</div>`, this.tipMarker)
6378
6363
  this.tipMarker._element.innerHTML = s, this.tipMarker.setLngLat([t.lng, t.lat]);
6379
6364
  else {
6380
6365
  const c = document.createElement("div");
@@ -6515,7 +6500,7 @@ function ji(a, e, t, r, i, o) {
6515
6500
  return t.enabled && t.permission & i.helper.LEVEL.Supper ? (x(), _("div", Oi, [
6516
6501
  l("div", {
6517
6502
  class: "menu-bar-box",
6518
- style: F({ position: "absolute", right: i.right + "px", bottom: t.bottom })
6503
+ style: $({ position: "absolute", right: i.right + "px", bottom: t.bottom })
6519
6504
  }, [
6520
6505
  l("div", Ni, [
6521
6506
  l("div", {
@@ -6535,7 +6520,7 @@ function ji(a, e, t, r, i, o) {
6535
6520
  ])) : B("", !0);
6536
6521
  }
6537
6522
  const Wi = /* @__PURE__ */ T(Bi, [["render", ji], ["__scopeId", "data-v-505264e4"]]);
6538
- const $i = {
6523
+ const Fi = {
6539
6524
  name: "IdmGLV2",
6540
6525
  components: {
6541
6526
  IdmGlLayer: lt,
@@ -6545,7 +6530,7 @@ const $i = {
6545
6530
  IdmCurrentParticle: Dt,
6546
6531
  IdmSigWave: Bt,
6547
6532
  IdmSwell: jt,
6548
- IdmPrmsl: Ft,
6533
+ IdmPrmsl: $t,
6549
6534
  // IdmIceEdge,
6550
6535
  IdmIceberg: Zt,
6551
6536
  IdmTropicals: je,
@@ -7152,14 +7137,14 @@ const $i = {
7152
7137
  this.$emit("toggleVersion", Math.random());
7153
7138
  }
7154
7139
  }
7155
- }, Fi = {
7140
+ }, $i = {
7156
7141
  key: 0,
7157
7142
  className: "map-gl-home"
7158
7143
  };
7159
7144
  function Vi(a, e, t, r, i, o) {
7160
7145
  var K, G, J, de, X, R, V, pe, q, me, ee, te, ae, fe, ge, be, ve, Le, ze, Re, Ee, Ie, De, Ae, Me, Be;
7161
7146
  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"), O = z("IdmEcaZone"), j = z("IdmAlertZone"), W = z("IdmPort"), H = z("IdmLoadLine"), re = z("IdmTimezone"), oe = z("IdmVRA"), se = z("IdmSpecialArea"), ne = z("IdmTerminator"), le = z("IdmLatLng"), ce = z("IdmMeasure"), he = z("IdmPoint");
7162
- return t.map ? (x(), _("div", Fi, [
7147
+ return t.map ? (x(), _("div", $i, [
7163
7148
  P(n, E({
7164
7149
  ref: "layer",
7165
7150
  map: t.map,
@@ -7340,7 +7325,7 @@ function Vi(a, e, t, r, i, o) {
7340
7325
  }, a.$attrs, { onPoint: o.handlePointChange }), null, 16, ["map", "show", "meteo", "onPoint"])
7341
7326
  ])) : B("", !0);
7342
7327
  }
7343
- const Ui = /* @__PURE__ */ T($i, [["render", Vi]]), Ki = {
7328
+ const Ui = /* @__PURE__ */ T(Fi, [["render", Vi]]), Ki = {
7344
7329
  install(a) {
7345
7330
  a.component("MapboxGL", Ui), a.component("TropicalGL", je), a.component("LatLngGL", We);
7346
7331
  }