@idmwx/idmui-gl3 6.2.5 → 6.2.6
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/README.md +26 -26
- package/dist/index.js +91 -69
- package/dist/index.umd.cjs +4 -4
- package/dist/mapbox/src/components/other/point.vue.d.ts +6 -0
- package/dist/style.css +1 -1
- package/package.json +80 -80
package/README.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
## IDMUI WebGL
|
|
2
|
-
> IDM大气海洋可视化工具
|
|
3
|
-
|
|
4
|
-
## Mapbox本地化
|
|
5
|
-
> 主要参考[Mapbox本地化](https://www.jianshu.com/p/43ce4591c621)
|
|
6
|
-
|
|
7
|
-
### 字体本地化
|
|
8
|
-
Mapbox使用的是pbf格式,需要先将ttf字体转换为pbf格式。
|
|
9
|
-
|
|
10
|
-
以下为在CentOS7.9上转换字体的方法:
|
|
11
|
-
#### 1 安装node-fontnik工具包
|
|
12
|
-
> [主要参考](https://www.cnblogs.com/lqqgis/p/18048426)
|
|
13
|
-
> 自行安装较为复杂,基于docker镜像快速安装:
|
|
14
|
-
### 下载镜像
|
|
15
|
-
```
|
|
16
|
-
docker pull registry.cn-hangzhou.aliyuncs.com/idmwx/node-fontnik
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
### 转换字段
|
|
20
|
-
```
|
|
21
|
-
# 转换ttf (TrueType Font)
|
|
22
|
-
docker run -v /opt/html/idm-fontnik/input:/input -v /opt/html/idm-fontnik/output:/output -e EXTENSION=.ttf registry.cn-hangzhou.aliyuncs.com/idmwx/node-fontnik
|
|
23
|
-
|
|
24
|
-
# 转换otf (OpenType Font)
|
|
25
|
-
docker run -v /opt/html/idm-fontnik/input:/input -v /opt/html/idm-fontnik/output:/output -e EXTENSION=.otf registry.cn-hangzhou.aliyuncs.com/idmwx/node-fontnik
|
|
26
|
-
```
|
|
1
|
+
## IDMUI WebGL
|
|
2
|
+
> IDM大气海洋可视化工具
|
|
3
|
+
|
|
4
|
+
## Mapbox本地化
|
|
5
|
+
> 主要参考[Mapbox本地化](https://www.jianshu.com/p/43ce4591c621)
|
|
6
|
+
|
|
7
|
+
### 字体本地化
|
|
8
|
+
Mapbox使用的是pbf格式,需要先将ttf字体转换为pbf格式。
|
|
9
|
+
|
|
10
|
+
以下为在CentOS7.9上转换字体的方法:
|
|
11
|
+
#### 1 安装node-fontnik工具包
|
|
12
|
+
> [主要参考](https://www.cnblogs.com/lqqgis/p/18048426)
|
|
13
|
+
> 自行安装较为复杂,基于docker镜像快速安装:
|
|
14
|
+
### 下载镜像
|
|
15
|
+
```
|
|
16
|
+
docker pull registry.cn-hangzhou.aliyuncs.com/idmwx/node-fontnik
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### 转换字段
|
|
20
|
+
```
|
|
21
|
+
# 转换ttf (TrueType Font)
|
|
22
|
+
docker run -v /opt/html/idm-fontnik/input:/input -v /opt/html/idm-fontnik/output:/output -e EXTENSION=.ttf registry.cn-hangzhou.aliyuncs.com/idmwx/node-fontnik
|
|
23
|
+
|
|
24
|
+
# 转换otf (OpenType Font)
|
|
25
|
+
docker run -v /opt/html/idm-fontnik/input:/input -v /opt/html/idm-fontnik/output:/output -e EXTENSION=.otf registry.cn-hangzhou.aliyuncs.com/idmwx/node-fontnik
|
|
26
|
+
```
|
|
27
27
|
> 注意:input目录下存放需要转换的字体文件,output目录下存放转换后的字体文件
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var mt = Object.defineProperty;
|
|
2
2
|
var ut = (a, e, t) => e in a ? mt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
3
3
|
var te = (a, e, t) => (ut(a, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
import { LayerHelper as
|
|
4
|
+
import { LayerHelper as Ze, CompanyHelper as qe } from "@idm-plugin/tag";
|
|
5
5
|
import ee from "moment";
|
|
6
6
|
import Qe from "axios";
|
|
7
7
|
import Ye from "moment-timezone";
|
|
8
|
-
import { resolveComponent as R, openBlock as m, createElementBlock as u, createElementVNode as o, normalizeStyle as le, createVNode as H, withCtx as Ie, normalizeClass as Z, Fragment as V, renderList as $, toDisplayString as I, createCommentVNode as J, createBlock as gt, createTextVNode as ne, withDirectives as Fe, createStaticVNode as yt, vShow as Oe, defineComponent as ft, withModifiers as
|
|
8
|
+
import { resolveComponent as R, openBlock as m, createElementBlock as u, createElementVNode as o, normalizeStyle as le, createVNode as H, withCtx as Ie, normalizeClass as Z, Fragment as V, renderList as $, toDisplayString as I, createCommentVNode as J, createBlock as gt, createTextVNode as ne, withDirectives as Fe, createStaticVNode as yt, vShow as Oe, defineComponent as ft, withModifiers as Ve, mergeProps as X } from "vue";
|
|
9
9
|
import * as S from "@turf/turf";
|
|
10
10
|
import At from "@mapbox/sphericalmercator";
|
|
11
11
|
import je from "mapbox-gl";
|
|
@@ -72,9 +72,9 @@ const U = (a, e) => {
|
|
|
72
72
|
autoActive: !0,
|
|
73
73
|
layers: {
|
|
74
74
|
weather: [
|
|
75
|
-
...
|
|
75
|
+
...Ze.WEATHER_LAYERS.filter((a) => !["swell-height", "swell-direction", "current-direction", "current-speed"].includes(a.key))
|
|
76
76
|
],
|
|
77
|
-
other: [...
|
|
77
|
+
other: [...Ze.OTHER_LAYERS.filter((a) => a.enabled)]
|
|
78
78
|
},
|
|
79
79
|
activeWeatherLayers: [],
|
|
80
80
|
activeWeatherLayersCollected: [],
|
|
@@ -3276,7 +3276,7 @@ function ca(a, e, t, r, i, s) {
|
|
|
3276
3276
|
]), 4)
|
|
3277
3277
|
])) : J("", !0);
|
|
3278
3278
|
}
|
|
3279
|
-
const da = /* @__PURE__ */ U(la, [["render", ca], ["__scopeId", "data-v-
|
|
3279
|
+
const da = /* @__PURE__ */ U(la, [["render", ca], ["__scopeId", "data-v-24e5434b"]]);
|
|
3280
3280
|
const pa = {
|
|
3281
3281
|
name: "IdmCurrent",
|
|
3282
3282
|
props: {
|
|
@@ -3608,7 +3608,7 @@ function fa(a, e, t, r, i, s) {
|
|
|
3608
3608
|
]), 4)
|
|
3609
3609
|
])) : J("", !0);
|
|
3610
3610
|
}
|
|
3611
|
-
const Aa = /* @__PURE__ */ U(ga, [["render", fa], ["__scopeId", "data-v-
|
|
3611
|
+
const Aa = /* @__PURE__ */ U(ga, [["render", fa], ["__scopeId", "data-v-c2962e63"]]), wa = {
|
|
3612
3612
|
name: "IdmSigWave",
|
|
3613
3613
|
props: {
|
|
3614
3614
|
map: {
|
|
@@ -4160,7 +4160,7 @@ function Da(a, e, t, r, i, s) {
|
|
|
4160
4160
|
]), 4)
|
|
4161
4161
|
])) : J("", !0);
|
|
4162
4162
|
}
|
|
4163
|
-
const za = /* @__PURE__ */ U(Ea, [["render", Da], ["__scopeId", "data-v-
|
|
4163
|
+
const za = /* @__PURE__ */ U(Ea, [["render", Da], ["__scopeId", "data-v-14ae1a6c"]]);
|
|
4164
4164
|
const Pa = {
|
|
4165
4165
|
name: "IdmCover",
|
|
4166
4166
|
props: {
|
|
@@ -4270,7 +4270,7 @@ function Sa(a, e, t, r, i, s) {
|
|
|
4270
4270
|
]), 4)
|
|
4271
4271
|
])) : J("", !0);
|
|
4272
4272
|
}
|
|
4273
|
-
const Ta = /* @__PURE__ */ U(Pa, [["render", Sa], ["__scopeId", "data-v-
|
|
4273
|
+
const Ta = /* @__PURE__ */ U(Pa, [["render", Sa], ["__scopeId", "data-v-f21edb81"]]);
|
|
4274
4274
|
const Qa = {
|
|
4275
4275
|
name: "IdmThickness",
|
|
4276
4276
|
props: {
|
|
@@ -4389,7 +4389,7 @@ function Na(a, e, t, r, i, s) {
|
|
|
4389
4389
|
]), 4)
|
|
4390
4390
|
])) : J("", !0);
|
|
4391
4391
|
}
|
|
4392
|
-
const Fa = /* @__PURE__ */ U(Qa, [["render", Na], ["__scopeId", "data-v-
|
|
4392
|
+
const Fa = /* @__PURE__ */ U(Qa, [["render", Na], ["__scopeId", "data-v-a4c3d2ed"]]), Xe = [
|
|
4393
4393
|
{
|
|
4394
4394
|
rank: 0,
|
|
4395
4395
|
name: "Best Match",
|
|
@@ -4690,7 +4690,7 @@ class ht {
|
|
|
4690
4690
|
* @return 与之对应的大气模式
|
|
4691
4691
|
*/
|
|
4692
4692
|
static autoPickPeerModel(e, t, r = "copernicus") {
|
|
4693
|
-
if (t = this.autoPickLayerModel(t, r),
|
|
4693
|
+
if (t = this.autoPickLayerModel(t, r), Ze.WEATHER_LAYERS.reduce((i, s) => s.atmos ? i + s.weight : i, 0) & e.weight) {
|
|
4694
4694
|
if (t === "copernicus")
|
|
4695
4695
|
return "ecmwf";
|
|
4696
4696
|
} else if (t === "ecmwf")
|
|
@@ -5340,7 +5340,7 @@ const Oa = {
|
|
|
5340
5340
|
emits: ["tropical", "tropicalProbability", "tropicalNotification"],
|
|
5341
5341
|
data() {
|
|
5342
5342
|
return {
|
|
5343
|
-
helper:
|
|
5343
|
+
helper: qe,
|
|
5344
5344
|
source: "tropicals-source",
|
|
5345
5345
|
clusterSource: "tropicals-cluster-source",
|
|
5346
5346
|
historyLayer: "tropicals-history-layer",
|
|
@@ -6063,7 +6063,7 @@ function li(a, e, t, r, i, s) {
|
|
|
6063
6063
|
]), 4)
|
|
6064
6064
|
])) : J("", !0);
|
|
6065
6065
|
}
|
|
6066
|
-
const hi = /* @__PURE__ */ U(oi, [["render", li], ["__scopeId", "data-v-
|
|
6066
|
+
const hi = /* @__PURE__ */ U(oi, [["render", li], ["__scopeId", "data-v-9708a7a3"]]);
|
|
6067
6067
|
const ci = {
|
|
6068
6068
|
name: "IdmVisibility",
|
|
6069
6069
|
props: {
|
|
@@ -6175,7 +6175,7 @@ function pi(a, e, t, r, i, s) {
|
|
|
6175
6175
|
]), 4)
|
|
6176
6176
|
])) : J("", !0);
|
|
6177
6177
|
}
|
|
6178
|
-
const mi = /* @__PURE__ */ U(ci, [["render", pi], ["__scopeId", "data-v-
|
|
6178
|
+
const mi = /* @__PURE__ */ U(ci, [["render", pi], ["__scopeId", "data-v-f7b2fb08"]]);
|
|
6179
6179
|
const ui = {
|
|
6180
6180
|
name: "IdmWaterTemp",
|
|
6181
6181
|
props: {
|
|
@@ -6295,7 +6295,7 @@ function yi(a, e, t, r, i, s) {
|
|
|
6295
6295
|
]), 4)
|
|
6296
6296
|
])) : J("", !0);
|
|
6297
6297
|
}
|
|
6298
|
-
const fi = /* @__PURE__ */ U(ui, [["render", yi], ["__scopeId", "data-v-
|
|
6298
|
+
const fi = /* @__PURE__ */ U(ui, [["render", yi], ["__scopeId", "data-v-7521f582"]]);
|
|
6299
6299
|
const Ai = {
|
|
6300
6300
|
name: "IdmTemp",
|
|
6301
6301
|
props: {
|
|
@@ -6420,7 +6420,7 @@ function vi(a, e, t, r, i, s) {
|
|
|
6420
6420
|
]), 4)
|
|
6421
6421
|
])) : J("", !0);
|
|
6422
6422
|
}
|
|
6423
|
-
const bi = /* @__PURE__ */ U(Ai, [["render", vi], ["__scopeId", "data-v-
|
|
6423
|
+
const bi = /* @__PURE__ */ U(Ai, [["render", vi], ["__scopeId", "data-v-25daaa82"]]);
|
|
6424
6424
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
6425
6425
|
var Li = /* @__PURE__ */ ft({
|
|
6426
6426
|
name: "LocationFilled",
|
|
@@ -6462,11 +6462,15 @@ const _i = {
|
|
|
6462
6462
|
},
|
|
6463
6463
|
forecastModel: {
|
|
6464
6464
|
type: String
|
|
6465
|
+
},
|
|
6466
|
+
permission: {
|
|
6467
|
+
type: Number
|
|
6465
6468
|
}
|
|
6466
6469
|
},
|
|
6467
|
-
emits: ["meteoMore"],
|
|
6470
|
+
emits: ["meteoMore", "meteoNotify"],
|
|
6468
6471
|
data() {
|
|
6469
6472
|
return {
|
|
6473
|
+
helper: qe,
|
|
6470
6474
|
showMeteo: !1,
|
|
6471
6475
|
loading: !1,
|
|
6472
6476
|
point: {},
|
|
@@ -6708,6 +6712,9 @@ const _i = {
|
|
|
6708
6712
|
handleMeteoMore() {
|
|
6709
6713
|
this.point.forecastModel = this.forecastModel, this.$emit("meteoMore", this.point);
|
|
6710
6714
|
},
|
|
6715
|
+
handleNotify() {
|
|
6716
|
+
this.point.forecastModel = this.forecastModel, this.point.datetime = this.ts, this.$emit("meteoNotify", this.point);
|
|
6717
|
+
},
|
|
6711
6718
|
handleCloseMeteo() {
|
|
6712
6719
|
this.showMeteo = !1;
|
|
6713
6720
|
},
|
|
@@ -6794,8 +6801,11 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6794
6801
|
}, "")
|
|
6795
6802
|
])
|
|
6796
6803
|
]),
|
|
6797
|
-
i.loading ? (m(), u("div", Tr, e[
|
|
6798
|
-
o("img", {
|
|
6804
|
+
i.loading ? (m(), u("div", Tr, e[43] || (e[43] = [
|
|
6805
|
+
o("img", {
|
|
6806
|
+
src: xi,
|
|
6807
|
+
alt: ""
|
|
6808
|
+
}, null, -1)
|
|
6799
6809
|
]))) : (m(), u("div", {
|
|
6800
6810
|
key: 0,
|
|
6801
6811
|
class: Z(["main-box", i.isDay ? "day-bg" : "night-bg"]),
|
|
@@ -6825,20 +6835,20 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6825
6835
|
o("div", Qi, [
|
|
6826
6836
|
o("div", null, [
|
|
6827
6837
|
ne(I(s.roundPrecision((E = (v = i.currentHourData) == null ? void 0 : v.weather) == null ? void 0 : E.temp, 0)), 1),
|
|
6828
|
-
e[
|
|
6838
|
+
e[9] || (e[9] = o("span", { style: { "font-size": "14px" } }, "°C", -1))
|
|
6829
6839
|
])
|
|
6830
6840
|
]),
|
|
6831
6841
|
o("div", Hi, [
|
|
6832
6842
|
o("div", Ni, [
|
|
6833
|
-
e[
|
|
6843
|
+
e[10] || (e[10] = o("label", null, "Precip : ", -1)),
|
|
6834
6844
|
o("span", null, I(s.roundPrecision((_ = (k = (w = i.currentHourData) == null ? void 0 : w.weather) == null ? void 0 : k.precip) == null ? void 0 : _.sum, 0)) + " mm", 1)
|
|
6835
6845
|
]),
|
|
6836
6846
|
o("div", Fi, [
|
|
6837
|
-
e[
|
|
6847
|
+
e[11] || (e[11] = o("label", null, "Visibility : ", -1)),
|
|
6838
6848
|
o("span", null, I(s.roundPrecision((b = (f = i.currentHourData) == null ? void 0 : f.weather) == null ? void 0 : b.visibility, 0)) + " nm", 1)
|
|
6839
6849
|
]),
|
|
6840
6850
|
o("div", Oi, [
|
|
6841
|
-
e[
|
|
6851
|
+
e[12] || (e[12] = o("label", null, "Wind : ", -1)),
|
|
6842
6852
|
o("span", null, I(s.roundPrecision((y = (C = (g = i.currentHourData) == null ? void 0 : g.weather) == null ? void 0 : C.wind) == null ? void 0 : y.kts, 1)) + " kts", 1)
|
|
6843
6853
|
])
|
|
6844
6854
|
])
|
|
@@ -6852,24 +6862,24 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6852
6862
|
o("div", Ui, [
|
|
6853
6863
|
o("div", {
|
|
6854
6864
|
class: Z(["menu-item", i.activeIndex === 1 ? "active" : ""]),
|
|
6855
|
-
onClick: e[3] || (e[3] =
|
|
6865
|
+
onClick: e[3] || (e[3] = Ve((x) => s.handleSelectTab(1), ["prevent"]))
|
|
6856
6866
|
}, "Basis", 2),
|
|
6857
6867
|
o("div", {
|
|
6858
6868
|
class: Z(["menu-item", i.activeIndex === 2 ? "active" : ""]),
|
|
6859
|
-
onClick: e[4] || (e[4] =
|
|
6869
|
+
onClick: e[4] || (e[4] = Ve((x) => s.handleSelectTab(2), ["prevent"]))
|
|
6860
6870
|
}, "Wave & Current", 2),
|
|
6861
6871
|
o("div", {
|
|
6862
6872
|
class: Z(["menu-item", i.activeIndex === 3 ? "active" : ""]),
|
|
6863
|
-
onClick: e[5] || (e[5] =
|
|
6873
|
+
onClick: e[5] || (e[5] = Ve((x) => s.handleSelectTab(3), ["prevent"]))
|
|
6864
6874
|
}, "Sea Surface", 2),
|
|
6865
6875
|
o("div", {
|
|
6866
6876
|
class: Z(["menu-item", i.activeIndex === 4 ? "active" : ""]),
|
|
6867
|
-
onClick: e[6] || (e[6] =
|
|
6877
|
+
onClick: e[6] || (e[6] = Ve((x) => s.handleSelectTab(4), ["prevent"]))
|
|
6868
6878
|
}, "Tides", 2)
|
|
6869
6879
|
]),
|
|
6870
6880
|
Fe(o("table", Yi, [
|
|
6871
6881
|
o("tr", Ki, [
|
|
6872
|
-
e[
|
|
6882
|
+
e[13] || (e[13] = o("th", {
|
|
6873
6883
|
rowspan: "1",
|
|
6874
6884
|
colspan: "1",
|
|
6875
6885
|
class: "tr-title"
|
|
@@ -6884,7 +6894,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6884
6894
|
}, I(s.computeHourL(x)), 1))), 128))
|
|
6885
6895
|
]),
|
|
6886
6896
|
o("tr", Xi, [
|
|
6887
|
-
e[
|
|
6897
|
+
e[14] || (e[14] = o("th", {
|
|
6888
6898
|
rowspan: "1",
|
|
6889
6899
|
colspan: "1",
|
|
6890
6900
|
class: "tr-title"
|
|
@@ -6899,7 +6909,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6899
6909
|
}, I(s.computeHourZ(x)), 1))), 128))
|
|
6900
6910
|
]),
|
|
6901
6911
|
o("tr", Ji, [
|
|
6902
|
-
e[
|
|
6912
|
+
e[15] || (e[15] = o("th", {
|
|
6903
6913
|
rowspan: "1",
|
|
6904
6914
|
colspan: "1",
|
|
6905
6915
|
class: "tr-title"
|
|
@@ -6919,7 +6929,8 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6919
6929
|
x ? (m(), u("img", {
|
|
6920
6930
|
key: 0,
|
|
6921
6931
|
class: "iconfont weather-icon",
|
|
6922
|
-
src: x
|
|
6932
|
+
src: x,
|
|
6933
|
+
alt: ""
|
|
6923
6934
|
}, null, 8, qi)) : J("", !0)
|
|
6924
6935
|
]),
|
|
6925
6936
|
_: 2
|
|
@@ -6927,7 +6938,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6927
6938
|
]))), 128))
|
|
6928
6939
|
]),
|
|
6929
6940
|
o("tr", Vi, [
|
|
6930
|
-
e[
|
|
6941
|
+
e[16] || (e[16] = o("td", {
|
|
6931
6942
|
rowspan: "1",
|
|
6932
6943
|
colspan: "1",
|
|
6933
6944
|
class: "tr-title"
|
|
@@ -6942,7 +6953,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6942
6953
|
}, I(x), 1))), 128))
|
|
6943
6954
|
]),
|
|
6944
6955
|
o("tr", Zi, [
|
|
6945
|
-
e[
|
|
6956
|
+
e[17] || (e[17] = o("td", {
|
|
6946
6957
|
rowspan: "1",
|
|
6947
6958
|
colspan: "1",
|
|
6948
6959
|
class: "tr-title"
|
|
@@ -6957,7 +6968,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6957
6968
|
}, I(x), 1))), 128))
|
|
6958
6969
|
]),
|
|
6959
6970
|
o("tr", $i, [
|
|
6960
|
-
e[
|
|
6971
|
+
e[18] || (e[18] = o("td", {
|
|
6961
6972
|
rowspan: "1",
|
|
6962
6973
|
colspan: "1",
|
|
6963
6974
|
class: "tr-title"
|
|
@@ -6972,7 +6983,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6972
6983
|
}, I(x), 1))), 128))
|
|
6973
6984
|
]),
|
|
6974
6985
|
o("tr", er, [
|
|
6975
|
-
e[
|
|
6986
|
+
e[19] || (e[19] = o("td", {
|
|
6976
6987
|
rowspan: "1",
|
|
6977
6988
|
colspan: "1",
|
|
6978
6989
|
class: "tr-title"
|
|
@@ -6993,7 +7004,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
6993
7004
|
]),
|
|
6994
7005
|
Fe(o("table", tr, [
|
|
6995
7006
|
o("tr", ar, [
|
|
6996
|
-
e[
|
|
7007
|
+
e[20] || (e[20] = o("th", {
|
|
6997
7008
|
rowspan: "1",
|
|
6998
7009
|
colspan: "1",
|
|
6999
7010
|
class: "tr-title"
|
|
@@ -7008,7 +7019,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7008
7019
|
}, I(s.computeHourL(x)), 1))), 128))
|
|
7009
7020
|
]),
|
|
7010
7021
|
o("tr", ir, [
|
|
7011
|
-
e[
|
|
7022
|
+
e[21] || (e[21] = o("th", {
|
|
7012
7023
|
rowspan: "1",
|
|
7013
7024
|
colspan: "1",
|
|
7014
7025
|
class: "tr-title"
|
|
@@ -7023,7 +7034,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7023
7034
|
}, I(s.computeHourZ(x)), 1))), 128))
|
|
7024
7035
|
]),
|
|
7025
7036
|
o("tr", rr, [
|
|
7026
|
-
e[
|
|
7037
|
+
e[22] || (e[22] = o("td", {
|
|
7027
7038
|
rowspan: "1",
|
|
7028
7039
|
colspan: "1",
|
|
7029
7040
|
class: "tr-title"
|
|
@@ -7045,7 +7056,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7045
7056
|
]))), 128))
|
|
7046
7057
|
]),
|
|
7047
7058
|
o("tr", sr, [
|
|
7048
|
-
e[
|
|
7059
|
+
e[23] || (e[23] = o("td", {
|
|
7049
7060
|
rowspan: "1",
|
|
7050
7061
|
colspan: "1",
|
|
7051
7062
|
class: "tr-title"
|
|
@@ -7067,7 +7078,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7067
7078
|
]))), 128))
|
|
7068
7079
|
]),
|
|
7069
7080
|
o("tr", or, [
|
|
7070
|
-
e[
|
|
7081
|
+
e[24] || (e[24] = o("td", {
|
|
7071
7082
|
rowspan: "1",
|
|
7072
7083
|
colspan: "1",
|
|
7073
7084
|
class: "tr-title"
|
|
@@ -7089,7 +7100,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7089
7100
|
]))), 128))
|
|
7090
7101
|
]),
|
|
7091
7102
|
o("tr", nr, [
|
|
7092
|
-
e[
|
|
7103
|
+
e[25] || (e[25] = o("td", {
|
|
7093
7104
|
rowspan: "1",
|
|
7094
7105
|
colspan: "1",
|
|
7095
7106
|
class: "tr-title"
|
|
@@ -7111,7 +7122,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7111
7122
|
]))), 128))
|
|
7112
7123
|
]),
|
|
7113
7124
|
o("tr", lr, [
|
|
7114
|
-
e[
|
|
7125
|
+
e[26] || (e[26] = o("td", {
|
|
7115
7126
|
rowspan: "1",
|
|
7116
7127
|
colspan: "1",
|
|
7117
7128
|
class: "tr-title"
|
|
@@ -7138,7 +7149,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7138
7149
|
]),
|
|
7139
7150
|
Fe(o("table", hr, [
|
|
7140
7151
|
o("tr", cr, [
|
|
7141
|
-
e[
|
|
7152
|
+
e[27] || (e[27] = o("th", {
|
|
7142
7153
|
rowspan: "1",
|
|
7143
7154
|
colspan: "1",
|
|
7144
7155
|
class: "tr-title"
|
|
@@ -7153,7 +7164,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7153
7164
|
}, I(s.computeHourL(x)), 1))), 128))
|
|
7154
7165
|
]),
|
|
7155
7166
|
o("tr", dr, [
|
|
7156
|
-
e[
|
|
7167
|
+
e[28] || (e[28] = o("th", {
|
|
7157
7168
|
rowspan: "1",
|
|
7158
7169
|
colspan: "1",
|
|
7159
7170
|
class: "tr-title"
|
|
@@ -7168,7 +7179,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7168
7179
|
}, I(s.computeHourZ(x)), 1))), 128))
|
|
7169
7180
|
]),
|
|
7170
7181
|
o("tr", pr, [
|
|
7171
|
-
e[
|
|
7182
|
+
e[29] || (e[29] = o("td", {
|
|
7172
7183
|
rowspan: "1",
|
|
7173
7184
|
colspan: "1",
|
|
7174
7185
|
class: "tr-title"
|
|
@@ -7183,7 +7194,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7183
7194
|
}, I(x), 1))), 128))
|
|
7184
7195
|
]),
|
|
7185
7196
|
o("tr", mr, [
|
|
7186
|
-
e[
|
|
7197
|
+
e[30] || (e[30] = o("td", {
|
|
7187
7198
|
rowspan: "1",
|
|
7188
7199
|
colspan: "1",
|
|
7189
7200
|
class: "tr-title"
|
|
@@ -7200,7 +7211,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7200
7211
|
], 512), [
|
|
7201
7212
|
[Oe, i.activeIndex === 3]
|
|
7202
7213
|
]),
|
|
7203
|
-
i.activeIndex === 3 ? (m(), u("div", ur, e[
|
|
7214
|
+
i.activeIndex === 3 ? (m(), u("div", ur, e[31] || (e[31] = [
|
|
7204
7215
|
o("p", { style: { "font-size": "12px", padding: "12px 20px 0 20px", "line-height": "16px" } }, "*Sea level height accounts for tides, barometer effects, and global variations. Based on mean sea level, accuracy is limited in coastal areas. For coastal navigation, use data from Tides Tab.", -1)
|
|
7205
7216
|
]))) : J("", !0),
|
|
7206
7217
|
Fe(o("table", gr, [
|
|
@@ -7225,8 +7236,10 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7225
7236
|
key: `Tide-height-${M}${x}`
|
|
7226
7237
|
}, I(s.roundPrecision(x == null ? void 0 : x.height, 2)) + " m", 1))), 128))
|
|
7227
7238
|
]),
|
|
7228
|
-
e[
|
|
7229
|
-
o("
|
|
7239
|
+
e[32] || (e[32] = o("tr", { class: "tr-tide flex-center info" }, [
|
|
7240
|
+
o("td", null, [
|
|
7241
|
+
o("span", null, "Tide Datum: Chart Datum")
|
|
7242
|
+
])
|
|
7230
7243
|
], -1))
|
|
7231
7244
|
], 512), [
|
|
7232
7245
|
[Oe, i.activeIndex === 4]
|
|
@@ -7237,51 +7250,51 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7237
7250
|
Fe(o("div", wr, [
|
|
7238
7251
|
o("div", vr, [
|
|
7239
7252
|
o("div", br, [
|
|
7240
|
-
e[
|
|
7253
|
+
e[33] || (e[33] = o("div", null, "Wind", -1)),
|
|
7241
7254
|
o("div", null, I((N = (F = (D = i.currentHourData) == null ? void 0 : D.weather) == null ? void 0 : F.wind) == null ? void 0 : N.direction) + "/" + I(s.roundPrecision((W = (G = (j = i.currentHourData) == null ? void 0 : j.weather) == null ? void 0 : G.wind) == null ? void 0 : W.kts, 1)) + "kts/BF" + I((ue = (he = (me = i.currentHourData) == null ? void 0 : me.weather) == null ? void 0 : he.wind) == null ? void 0 : ue.scale) + "/" + I(s.roundPrecision((Y = (ge = (fe = i.currentHourData) == null ? void 0 : fe.weather) == null ? void 0 : ge.wind) == null ? void 0 : Y.gusts, 1)) + " kts", 1)
|
|
7242
7255
|
]),
|
|
7243
7256
|
o("div", Lr, [
|
|
7244
|
-
e[
|
|
7257
|
+
e[34] || (e[34] = o("div", null, "Sig wave", -1)),
|
|
7245
7258
|
o("div", null, I((pe = (Ae = (ae = i.currentHourData) == null ? void 0 : ae.wave) == null ? void 0 : Ae.sig) == null ? void 0 : pe.direction) + "/" + I(s.roundPrecision((Ce = (Le = (ye = i.currentHourData) == null ? void 0 : ye.wave) == null ? void 0 : Le.sig) == null ? void 0 : Ce.height, 1)) + "m/" + I(s.roundPrecision((_e = (we = (xe = i.currentHourData) == null ? void 0 : xe.wave) == null ? void 0 : we.sig) == null ? void 0 : _e.period, 1)) + "s", 1)
|
|
7246
7259
|
])
|
|
7247
7260
|
]),
|
|
7248
7261
|
o("div", Cr, [
|
|
7249
7262
|
o("div", xr, [
|
|
7250
|
-
e[
|
|
7263
|
+
e[35] || (e[35] = o("div", null, "Wind wave", -1)),
|
|
7251
7264
|
o("div", null, I((ve = (ze = (B = i.currentHourData) == null ? void 0 : B.wave) == null ? void 0 : ze.wd) == null ? void 0 : ve.direction) + "/" + I(s.roundPrecision((He = (Ee = (Pe = i.currentHourData) == null ? void 0 : Pe.wave) == null ? void 0 : Ee.wd) == null ? void 0 : He.height, 1)) + "m/" + I(s.roundPrecision((ce = (re = (ke = i.currentHourData) == null ? void 0 : ke.wave) == null ? void 0 : re.wd) == null ? void 0 : ce.period, 1)) + "s", 1)
|
|
7252
7265
|
]),
|
|
7253
7266
|
o("div", _r, [
|
|
7254
|
-
e[
|
|
7267
|
+
e[36] || (e[36] = o("div", null, "Swell", -1)),
|
|
7255
7268
|
o("div", null, I((K = (Be = (Q = i.currentHourData) == null ? void 0 : Q.wave) == null ? void 0 : Be.swell) == null ? void 0 : K.direction) + "/" + I(s.roundPrecision((P = (Me = (q = i.currentHourData) == null ? void 0 : q.wave) == null ? void 0 : Me.swell) == null ? void 0 : P.height, 1)) + "m/" + I(s.roundPrecision((Se = (De = (de = i.currentHourData) == null ? void 0 : de.wave) == null ? void 0 : De.swell) == null ? void 0 : Se.period, 1)) + "s", 1)
|
|
7256
7269
|
])
|
|
7257
7270
|
]),
|
|
7258
7271
|
o("div", Br, [
|
|
7259
7272
|
o("div", Ir, [
|
|
7260
|
-
e[
|
|
7273
|
+
e[37] || (e[37] = o("div", null, "Current", -1)),
|
|
7261
7274
|
o("div", null, I((z = (Te = i.currentHourData) == null ? void 0 : Te.current) == null ? void 0 : z.direction) + "/" + I(s.roundPrecision((Ge = (O = i.currentHourData) == null ? void 0 : O.current) == null ? void 0 : Ge.kts, 2)) + "kts", 1)
|
|
7262
7275
|
]),
|
|
7263
7276
|
o("div", Er, [
|
|
7264
|
-
e[
|
|
7277
|
+
e[38] || (e[38] = o("div", null, "Sea level", -1)),
|
|
7265
7278
|
o("div", null, I(s.roundPrecision((Ue = i.currentHourData) == null ? void 0 : Ue.height, 1)) + "m", 1)
|
|
7266
7279
|
])
|
|
7267
7280
|
]),
|
|
7268
7281
|
o("div", kr, [
|
|
7269
7282
|
o("div", Dr, [
|
|
7270
|
-
e[
|
|
7283
|
+
e[39] || (e[39] = o("div", null, "Sea Temp", -1)),
|
|
7271
7284
|
o("div", null, I(s.roundPrecision((ie = i.currentHourData) == null ? void 0 : ie.sst, 1)) + "°C", 1)
|
|
7272
7285
|
]),
|
|
7273
7286
|
o("div", zr, [
|
|
7274
|
-
e[
|
|
7287
|
+
e[40] || (e[40] = o("div", null, "Visibility", -1)),
|
|
7275
7288
|
o("div", null, I(s.roundPrecision((tt = (Ne = i.currentHourData) == null ? void 0 : Ne.weather) == null ? void 0 : tt.visibility, 1)) + "nm", 1)
|
|
7276
7289
|
])
|
|
7277
7290
|
]),
|
|
7278
7291
|
o("div", Pr, [
|
|
7279
7292
|
o("div", Mr, [
|
|
7280
|
-
e[
|
|
7293
|
+
e[41] || (e[41] = o("div", null, "Temp", -1)),
|
|
7281
7294
|
o("div", null, I(s.roundPrecision((it = (at = i.currentHourData) == null ? void 0 : at.weather) == null ? void 0 : it.temp, 1)) + "°C", 1)
|
|
7282
7295
|
]),
|
|
7283
7296
|
o("div", Sr, [
|
|
7284
|
-
e[
|
|
7297
|
+
e[42] || (e[42] = o("div", null, "Precip", -1)),
|
|
7285
7298
|
o("div", null, I(s.roundPrecision((ot = (st = (rt = i.currentHourData) == null ? void 0 : rt.weather) == null ? void 0 : st.precip) == null ? void 0 : ot.sum3Hours, 1)) + "mm", 1)
|
|
7286
7299
|
])
|
|
7287
7300
|
])
|
|
@@ -7289,16 +7302,25 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7289
7302
|
[Oe, !i.showTables]
|
|
7290
7303
|
]),
|
|
7291
7304
|
o("div", {
|
|
7292
|
-
class: Z(["
|
|
7293
|
-
|
|
7294
|
-
|
|
7305
|
+
class: Z(["action", i.isDay ? "day" : "night"])
|
|
7306
|
+
}, [
|
|
7307
|
+
t.permission & i.helper.LEVEL.Supper ? (m(), u("div", {
|
|
7308
|
+
key: 0,
|
|
7309
|
+
class: "button",
|
|
7310
|
+
style: { "margin-right": "10px" },
|
|
7311
|
+
onClick: e[7] || (e[7] = (...x) => s.handleNotify && s.handleNotify(...x))
|
|
7312
|
+
}, "Notify")) : J("", !0),
|
|
7313
|
+
o("div", {
|
|
7314
|
+
onClick: e[8] || (e[8] = (...x) => s.handleMeteoMore && s.handleMeteoMore(...x))
|
|
7315
|
+
}, "More >>")
|
|
7316
|
+
], 2)
|
|
7295
7317
|
], 2))
|
|
7296
7318
|
])
|
|
7297
7319
|
], 512)), [
|
|
7298
7320
|
[Oe, i.showMeteo]
|
|
7299
7321
|
]);
|
|
7300
7322
|
}
|
|
7301
|
-
const Hr = /* @__PURE__ */ U(_i, [["render", Qr], ["__scopeId", "data-v-
|
|
7323
|
+
const Hr = /* @__PURE__ */ U(_i, [["render", Qr], ["__scopeId", "data-v-3afdcf26"]]), Nr = {
|
|
7302
7324
|
name: "IdmWarZone",
|
|
7303
7325
|
props: {
|
|
7304
7326
|
map: {
|
|
@@ -7903,7 +7925,7 @@ function os(a, e, t, r, i, s) {
|
|
|
7903
7925
|
[Oe, i.showPort]
|
|
7904
7926
|
]);
|
|
7905
7927
|
}
|
|
7906
|
-
const ns = /* @__PURE__ */ U(Zr, [["render", os], ["__scopeId", "data-v-
|
|
7928
|
+
const ns = /* @__PURE__ */ U(Zr, [["render", os], ["__scopeId", "data-v-39da1804"]]), ls = {
|
|
7907
7929
|
name: "IdmLoadLine",
|
|
7908
7930
|
props: {
|
|
7909
7931
|
map: {
|
|
@@ -8563,7 +8585,7 @@ function xs(a, e, t, r, i, s) {
|
|
|
8563
8585
|
o("span", null, I(i.lngLat.lng.pretty), 1)
|
|
8564
8586
|
], 4)) : J("", !0);
|
|
8565
8587
|
}
|
|
8566
|
-
const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-
|
|
8588
|
+
const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-73241fe7"]]), _s = {
|
|
8567
8589
|
name: "IdmMeasure",
|
|
8568
8590
|
props: {
|
|
8569
8591
|
map: {
|
|
@@ -8893,7 +8915,7 @@ const Es = {
|
|
|
8893
8915
|
emits: ["enc"],
|
|
8894
8916
|
data() {
|
|
8895
8917
|
return {
|
|
8896
|
-
helper:
|
|
8918
|
+
helper: qe,
|
|
8897
8919
|
vendor: "",
|
|
8898
8920
|
right: 10
|
|
8899
8921
|
};
|
|
@@ -8914,7 +8936,7 @@ const Es = {
|
|
|
8914
8936
|
}
|
|
8915
8937
|
},
|
|
8916
8938
|
mounted() {
|
|
8917
|
-
this.vendor = this.permission &
|
|
8939
|
+
this.vendor = this.permission & qe.LEVEL.Supper ? "hi" : "i4";
|
|
8918
8940
|
},
|
|
8919
8941
|
methods: {}
|
|
8920
8942
|
}, ks = { key: 0 }, Ds = { class: "bar-item" };
|
|
@@ -8962,7 +8984,7 @@ function zs(a, e, t, r, i, s) {
|
|
|
8962
8984
|
], 4)
|
|
8963
8985
|
])) : J("", !0);
|
|
8964
8986
|
}
|
|
8965
|
-
const Ps = /* @__PURE__ */ U(Es, [["render", zs], ["__scopeId", "data-v-
|
|
8987
|
+
const Ps = /* @__PURE__ */ U(Es, [["render", zs], ["__scopeId", "data-v-8eecd76d"]]), Ms = {
|
|
8966
8988
|
name: "IdmWorld12nm",
|
|
8967
8989
|
props: {
|
|
8968
8990
|
map: {
|
|
@@ -9287,7 +9309,7 @@ const js = {
|
|
|
9287
9309
|
if (this.map) {
|
|
9288
9310
|
const v = ((i = this.map) == null ? void 0 : i.getZoom()) + 1, E = (s = this.map) == null ? void 0 : s.getBounds(), w = `${E._sw.lng},${E._sw.lat},${E._ne.lng},${E._ne.lat}`;
|
|
9289
9311
|
if (this.particleFactor && ((n = this.$refs.layer) != null && n.autoActive)) {
|
|
9290
|
-
const k =
|
|
9312
|
+
const k = Ze.WEATHER_LAYERS.find((_) => {
|
|
9291
9313
|
var f;
|
|
9292
9314
|
return ((f = _.peer) == null ? void 0 : f.weight) === this.particleFactor.weight;
|
|
9293
9315
|
});
|
|
@@ -9777,7 +9799,7 @@ const js = {
|
|
|
9777
9799
|
}, 500);
|
|
9778
9800
|
else {
|
|
9779
9801
|
const e = a == null ? void 0 : a.reduce((t, r) => t + (r == null ? void 0 : r.weight), 0);
|
|
9780
|
-
a.find((t) => t.key === "enc") ? this.enc = this.$attrs.permission &
|
|
9802
|
+
a.find((t) => t.key === "enc") ? this.enc = this.$attrs.permission & qe.LEVEL.Supper ? "hi" : "i4" : this.enc = "", this.otherWeight != e && (this.otherWeight = e, this.fetchOtherLayers({ all: !0 }));
|
|
9781
9803
|
}
|
|
9782
9804
|
},
|
|
9783
9805
|
handle3dToggle(a) {
|