@idmwx/idmui-gl3 3.5.3 → 3.5.4
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 +7 -7
- package/dist/index.umd.cjs +3 -3
- package/dist/pi.svg +48 -48
- package/dist/style.css +1 -1
- package/package.json +1 -1
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
|
@@ -483,7 +483,7 @@ function qt(a, e, t, r, i, o) {
|
|
|
483
483
|
], 4)
|
|
484
484
|
])) : N("", !0);
|
|
485
485
|
}
|
|
486
|
-
const Yt = /* @__PURE__ */ T(Ut, [["render", qt], ["__scopeId", "data-v-
|
|
486
|
+
const Yt = /* @__PURE__ */ T(Ut, [["render", qt], ["__scopeId", "data-v-fc7a24ef"]]);
|
|
487
487
|
class Ue {
|
|
488
488
|
constructor(e) {
|
|
489
489
|
R(this, "map");
|
|
@@ -2720,7 +2720,7 @@ const Kt = {
|
|
|
2720
2720
|
});
|
|
2721
2721
|
}
|
|
2722
2722
|
}
|
|
2723
|
-
}, re = (a) => (U("data-v-
|
|
2723
|
+
}, re = (a) => (U("data-v-a083279c"), a = a(), G(), a), ea = { key: 0 }, ta = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "kts", -1)), aa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "0", -1)), ia = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "5", -1)), ra = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "10", -1)), oa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "20", -1)), sa = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "30", -1)), na = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "40", -1)), la = /* @__PURE__ */ re(() => /* @__PURE__ */ l("span", null, "60", -1)), ca = [
|
|
2724
2724
|
ta,
|
|
2725
2725
|
aa,
|
|
2726
2726
|
ia,
|
|
@@ -2739,7 +2739,7 @@ function ha(a, e, t, r, i, o) {
|
|
|
2739
2739
|
}, ca, 4)
|
|
2740
2740
|
])) : N("", !0);
|
|
2741
2741
|
}
|
|
2742
|
-
const da = /* @__PURE__ */ T(Kt, [["render", ha], ["__scopeId", "data-v-
|
|
2742
|
+
const da = /* @__PURE__ */ T(Kt, [["render", ha], ["__scopeId", "data-v-a083279c"]]);
|
|
2743
2743
|
const pa = {
|
|
2744
2744
|
name: "IdmCurrent",
|
|
2745
2745
|
props: {
|
|
@@ -3110,7 +3110,7 @@ const _a = {
|
|
|
3110
3110
|
});
|
|
3111
3111
|
}
|
|
3112
3112
|
}
|
|
3113
|
-
}, ce = (a) => (U("data-v-
|
|
3113
|
+
}, ce = (a) => (U("data-v-f196de0e"), a = a(), G(), a), wa = { key: 0 }, La = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "kts", -1)), xa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0", -1)), Ca = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0.4", -1)), Sa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "0.8", -1)), ka = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "1.6", -1)), za = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "2", -1)), Pa = /* @__PURE__ */ ce(() => /* @__PURE__ */ l("span", null, "3.2", -1)), Ta = [
|
|
3114
3114
|
La,
|
|
3115
3115
|
xa,
|
|
3116
3116
|
Ca,
|
|
@@ -3128,7 +3128,7 @@ function Ia(a, e, t, r, i, o) {
|
|
|
3128
3128
|
}, Ta, 4)
|
|
3129
3129
|
])) : N("", !0);
|
|
3130
3130
|
}
|
|
3131
|
-
const Ea = /* @__PURE__ */ T(_a, [["render", Ia], ["__scopeId", "data-v-
|
|
3131
|
+
const Ea = /* @__PURE__ */ T(_a, [["render", Ia], ["__scopeId", "data-v-f196de0e"]]), Ra = {
|
|
3132
3132
|
name: "IdmSigWave",
|
|
3133
3133
|
props: {
|
|
3134
3134
|
map: {
|
|
@@ -4814,7 +4814,7 @@ const fr = {
|
|
|
4814
4814
|
}
|
|
4815
4815
|
}
|
|
4816
4816
|
}
|
|
4817
|
-
}, J = (a) => (U("data-v-
|
|
4817
|
+
}, J = (a) => (U("data-v-a7923724"), a = a(), G(), a), gr = {
|
|
4818
4818
|
id: "point-meteo",
|
|
4819
4819
|
class: "point-meteo"
|
|
4820
4820
|
}, br = { class: "meteo-box" }, vr = { class: "header-box" }, _r = { class: "main" }, wr = { class: "sub" }, Lr = { class: "main-box" }, xr = { class: "flex-space" }, Cr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Wind", -1)), Sr = { class: "flex-space" }, kr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), zr = { class: "flex-space" }, Pr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Tr = { class: "flex-space" }, Ir = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), Er = { class: "flex-space" }, Rr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Current", -1)), Ar = { class: "flex-space" }, Dr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Precip", -1)), $r = { class: "flex-space" }, Mr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Br = { class: "flex-space" }, Nr = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Wr = { class: "flex-space" }, Or = /* @__PURE__ */ J(() => /* @__PURE__ */ l("label", null, "Water Temp", -1)), jr = {
|
|
@@ -4880,7 +4880,7 @@ function Ur(a, e, t, r, i, o) {
|
|
|
4880
4880
|
[Me, i.showMeteo]
|
|
4881
4881
|
]);
|
|
4882
4882
|
}
|
|
4883
|
-
const Gr = /* @__PURE__ */ T(fr, [["render", Ur], ["__scopeId", "data-v-
|
|
4883
|
+
const Gr = /* @__PURE__ */ T(fr, [["render", Ur], ["__scopeId", "data-v-a7923724"]]), Hr = {
|
|
4884
4884
|
name: "IdmWarZone",
|
|
4885
4885
|
props: {
|
|
4886
4886
|
map: {
|