@idmwx/idmui-gl3 6.1.6 → 6.1.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/README.md +26 -26
- package/dist/index.js +16 -15
- package/dist/index.umd.cjs +3 -3
- 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
|
@@ -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-14070127"]]);
|
|
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-02a8206f"]]), 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-ae31802c"]]);
|
|
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-026a5595"]]);
|
|
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-348d48fb"]]), Xe = [
|
|
4393
4393
|
{
|
|
4394
4394
|
rank: 0,
|
|
4395
4395
|
name: "Best Match",
|
|
@@ -4703,6 +4703,7 @@ class ht {
|
|
|
4703
4703
|
*/
|
|
4704
4704
|
static autoPickMeteoModel(e = "best_match") {
|
|
4705
4705
|
var t, r;
|
|
4706
|
+
e = e == null ? void 0 : e.toLowerCase(), e = e === "ec" ? "ecmwf" : e;
|
|
4706
4707
|
const i = e.toLowerCase().split(","), s = [], n = [];
|
|
4707
4708
|
for (const l of i) {
|
|
4708
4709
|
let c = Xe.find((h) => {
|
|
@@ -5921,7 +5922,7 @@ function si(a, e, t, r, i, s) {
|
|
|
5921
5922
|
])
|
|
5922
5923
|
])
|
|
5923
5924
|
]),
|
|
5924
|
-
e[8] || (e[8] = yt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);"
|
|
5925
|
+
e[8] || (e[8] = yt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);"></div><div class="row" style="padding:2px 10px;"><div class="legend"><div class="icon td"></div><div class="label">TD</div></div><div class="legend"><div class="icon ts"></div><div class="label">TS</div></div><div class="legend"><div class="icon sts"></div><div class="label">STS</div></div><div class="legend"><div class="icon ty"></div><div class="label">TY</div></div><div class="legend"><div class="icon sty"></div><div class="label">STY</div></div><div class="legend"><div class="icon supper-ty"></div><div class="label">Super TY</div></div></div><div class="row" style="padding:2px 10px;"><div class="legend"><div class="icon history"></div><div class="label">History</div></div><div class="legend"><div class="icon r7"></div><div class="label">35kts Radii</div></div><div class="legend"><div class="icon r10"></div><div class="label">50kts Radii</div></div></div>', 3))
|
|
5925
5926
|
]),
|
|
5926
5927
|
o("div", ri, [
|
|
5927
5928
|
t.permission & i.helper.LEVEL.Supper ? (m(), u("div", {
|
|
@@ -5940,7 +5941,7 @@ function si(a, e, t, r, i, s) {
|
|
|
5940
5941
|
[Oe, i.showTropicals && !a.$attrs.hideTropicalsLegend]
|
|
5941
5942
|
]);
|
|
5942
5943
|
}
|
|
5943
|
-
const dt = /* @__PURE__ */ U(Oa, [["render", si]
|
|
5944
|
+
const dt = /* @__PURE__ */ U(Oa, [["render", si]]);
|
|
5944
5945
|
const oi = {
|
|
5945
5946
|
name: "IdmPrecip3h",
|
|
5946
5947
|
props: {
|
|
@@ -6061,7 +6062,7 @@ function li(a, e, t, r, i, s) {
|
|
|
6061
6062
|
]), 4)
|
|
6062
6063
|
])) : J("", !0);
|
|
6063
6064
|
}
|
|
6064
|
-
const hi = /* @__PURE__ */ U(oi, [["render", li], ["__scopeId", "data-v-
|
|
6065
|
+
const hi = /* @__PURE__ */ U(oi, [["render", li], ["__scopeId", "data-v-e83717bd"]]);
|
|
6065
6066
|
const ci = {
|
|
6066
6067
|
name: "IdmVisibility",
|
|
6067
6068
|
props: {
|
|
@@ -6173,7 +6174,7 @@ function pi(a, e, t, r, i, s) {
|
|
|
6173
6174
|
]), 4)
|
|
6174
6175
|
])) : J("", !0);
|
|
6175
6176
|
}
|
|
6176
|
-
const mi = /* @__PURE__ */ U(ci, [["render", pi], ["__scopeId", "data-v-
|
|
6177
|
+
const mi = /* @__PURE__ */ U(ci, [["render", pi], ["__scopeId", "data-v-1c8a9237"]]);
|
|
6177
6178
|
const ui = {
|
|
6178
6179
|
name: "IdmWaterTemp",
|
|
6179
6180
|
props: {
|
|
@@ -6293,7 +6294,7 @@ function yi(a, e, t, r, i, s) {
|
|
|
6293
6294
|
]), 4)
|
|
6294
6295
|
])) : J("", !0);
|
|
6295
6296
|
}
|
|
6296
|
-
const fi = /* @__PURE__ */ U(ui, [["render", yi], ["__scopeId", "data-v-
|
|
6297
|
+
const fi = /* @__PURE__ */ U(ui, [["render", yi], ["__scopeId", "data-v-8974924d"]]);
|
|
6297
6298
|
const Ai = {
|
|
6298
6299
|
name: "IdmTemp",
|
|
6299
6300
|
props: {
|
|
@@ -6418,7 +6419,7 @@ function vi(a, e, t, r, i, s) {
|
|
|
6418
6419
|
]), 4)
|
|
6419
6420
|
])) : J("", !0);
|
|
6420
6421
|
}
|
|
6421
|
-
const bi = /* @__PURE__ */ U(Ai, [["render", vi], ["__scopeId", "data-v-
|
|
6422
|
+
const bi = /* @__PURE__ */ U(Ai, [["render", vi], ["__scopeId", "data-v-d709ba86"]]);
|
|
6422
6423
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
6423
6424
|
var Li = /* @__PURE__ */ ft({
|
|
6424
6425
|
name: "LocationFilled",
|
|
@@ -7296,7 +7297,7 @@ function Qr(a, e, t, r, i, s) {
|
|
|
7296
7297
|
[Oe, i.showMeteo]
|
|
7297
7298
|
]);
|
|
7298
7299
|
}
|
|
7299
|
-
const Hr = /* @__PURE__ */ U(_i, [["render", Qr], ["__scopeId", "data-v-
|
|
7300
|
+
const Hr = /* @__PURE__ */ U(_i, [["render", Qr], ["__scopeId", "data-v-fa02c365"]]), Nr = {
|
|
7300
7301
|
name: "IdmWarZone",
|
|
7301
7302
|
props: {
|
|
7302
7303
|
map: {
|
|
@@ -7901,7 +7902,7 @@ function os(a, e, t, r, i, s) {
|
|
|
7901
7902
|
[Oe, i.showPort]
|
|
7902
7903
|
]);
|
|
7903
7904
|
}
|
|
7904
|
-
const ns = /* @__PURE__ */ U(Zr, [["render", os], ["__scopeId", "data-v-
|
|
7905
|
+
const ns = /* @__PURE__ */ U(Zr, [["render", os], ["__scopeId", "data-v-2fc5fc5e"]]), ls = {
|
|
7905
7906
|
name: "IdmLoadLine",
|
|
7906
7907
|
props: {
|
|
7907
7908
|
map: {
|
|
@@ -8561,7 +8562,7 @@ function xs(a, e, t, r, i, s) {
|
|
|
8561
8562
|
o("span", null, I(i.lngLat.lng.pretty), 1)
|
|
8562
8563
|
], 4)) : J("", !0);
|
|
8563
8564
|
}
|
|
8564
|
-
const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-
|
|
8565
|
+
const pt = /* @__PURE__ */ U(Cs, [["render", xs], ["__scopeId", "data-v-ad66a24c"]]), _s = {
|
|
8565
8566
|
name: "IdmMeasure",
|
|
8566
8567
|
props: {
|
|
8567
8568
|
map: {
|
|
@@ -8960,7 +8961,7 @@ function zs(a, e, t, r, i, s) {
|
|
|
8960
8961
|
], 4)
|
|
8961
8962
|
])) : J("", !0);
|
|
8962
8963
|
}
|
|
8963
|
-
const Ps = /* @__PURE__ */ U(Es, [["render", zs], ["__scopeId", "data-v-
|
|
8964
|
+
const Ps = /* @__PURE__ */ U(Es, [["render", zs], ["__scopeId", "data-v-8ff97b39"]]), Ms = {
|
|
8964
8965
|
name: "IdmWorld12nm",
|
|
8965
8966
|
props: {
|
|
8966
8967
|
map: {
|