@idmui/basic 0.3.2 → 0.3.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/dist/index.js +162 -162
- package/dist/index.umd.cjs +7 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import M from "moment";
|
|
2
2
|
import { openBlock as p, createElementBlock as b, createElementVNode as a, toDisplayString as l, resolveComponent as r2, createVNode as c2, createStaticVNode as N2, createCommentVNode as Q, normalizeClass as v, createTextVNode as f, Fragment as B2, renderList as T2, createBlock as S2 } from "vue";
|
|
3
|
-
import { LngLatHelper as u1, LaneHelper as A2, TropicalHelper as
|
|
3
|
+
import { LngLatHelper as u1, LaneHelper as A2, TropicalHelper as C6 } from "@idm-plugin/geo";
|
|
4
4
|
import { Meteo2Assist as u2 } from "@idm-plugin/meteo";
|
|
5
5
|
import * as J from "echarts";
|
|
6
6
|
import L2 from "mapbox-gl";
|
|
7
|
-
import { TropicalGL as
|
|
7
|
+
import { TropicalGL as N6, LatLngGL as B6 } from "@idmwx/idmui-gl3";
|
|
8
8
|
const l2 = (i, t) => {
|
|
9
9
|
const e = i.__vccOpts || i;
|
|
10
10
|
for (const [h, c] of t)
|
|
11
11
|
e[h] = c;
|
|
12
12
|
return e;
|
|
13
|
-
},
|
|
13
|
+
}, T6 = {
|
|
14
14
|
name: "IdmBrand",
|
|
15
15
|
props: {
|
|
16
16
|
name: {
|
|
@@ -31,9 +31,9 @@ const l2 = (i, t) => {
|
|
|
31
31
|
return M.utc(i).format(t);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
},
|
|
35
|
-
function
|
|
36
|
-
return p(), b("div",
|
|
34
|
+
}, I6 = { class: "idm-brand-section" }, E6 = { class: "title-box" }, W6 = { class: "issue-box" };
|
|
35
|
+
function P6(i, t, e, h, c, s) {
|
|
36
|
+
return p(), b("div", I6, [
|
|
37
37
|
t[0] || (t[0] = a("div", { class: "logo-box" }, [
|
|
38
38
|
a("a", {
|
|
39
39
|
href: "https://nop.ormwx.com/",
|
|
@@ -45,19 +45,19 @@ function P3(i, t, e, h, c, s) {
|
|
|
45
45
|
})
|
|
46
46
|
])
|
|
47
47
|
], -1)),
|
|
48
|
-
a("div",
|
|
49
|
-
a("div",
|
|
48
|
+
a("div", E6, l(e.name), 1),
|
|
49
|
+
a("div", W6, [
|
|
50
50
|
a("div", null, l(e.locale === "en" ? "Mail to" : "联系我们") + ": op@ormwx.com", 1),
|
|
51
51
|
a("div", null, l(e.locale === "en" ? "Issued" : "发布时间") + ": " + l(s.computeUTCTime(e.issued, "MMM-DD, YYYY")), 1)
|
|
52
52
|
])
|
|
53
53
|
]);
|
|
54
54
|
}
|
|
55
|
-
const I2 = /* @__PURE__ */ l2(
|
|
55
|
+
const I2 = /* @__PURE__ */ l2(T6, [["render", P6], ["__scopeId", "data-v-717b0ae7"]]), kt = {
|
|
56
56
|
install(i) {
|
|
57
57
|
i.component("IdmBrand", I2);
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
const
|
|
60
|
+
const O6 = {
|
|
61
61
|
name: "IdmMeteo",
|
|
62
62
|
components: {
|
|
63
63
|
IdmBrand: I2
|
|
@@ -68,34 +68,34 @@ const O3 = {
|
|
|
68
68
|
default: "meteo"
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
},
|
|
71
|
+
}, V6 = { class: "orm-meteo-source" }, R6 = {
|
|
72
72
|
key: 0,
|
|
73
73
|
class: "section"
|
|
74
|
-
},
|
|
74
|
+
}, G6 = {
|
|
75
75
|
key: 1,
|
|
76
76
|
class: "section"
|
|
77
77
|
};
|
|
78
|
-
function $
|
|
78
|
+
function $6(i, t, e, h, c, s) {
|
|
79
79
|
var g, y;
|
|
80
80
|
const m = r2("IdmBrand");
|
|
81
|
-
return p(), b("div",
|
|
81
|
+
return p(), b("div", V6, [
|
|
82
82
|
c2(m, {
|
|
83
83
|
name: "Data Sources",
|
|
84
84
|
issued: "2026-01-01"
|
|
85
85
|
}),
|
|
86
|
-
["gfs", "meteo"].includes((g = e.model) == null ? void 0 : g.toLowerCase()) ? (p(), b("div",
|
|
87
|
-
N2('<div class="title" data-v-
|
|
86
|
+
["gfs", "meteo"].includes((g = e.model) == null ? void 0 : g.toLowerCase()) ? (p(), b("div", R6, [...t[0] || (t[0] = [
|
|
87
|
+
N2('<div class="title" data-v-d940c680>Data from NOAA (National Oceanic and Atmospheric Administration)</div><div class="body" data-v-d940c680><div class="block" data-v-d940c680><div class="flex-start" data-v-d940c680><a href="https://www.noaa.gov/about-our-agency" data-v-d940c680><img style="width:60px;" src="https://img.idmwx.com/asset/noaa_digital_logo.svg" alt="" data-v-d940c680></a></div><div class="content" data-v-d940c680> NOAA is an agency that enriches life through science. Our reach goes from the surface of the sun to the depths of the ocean floor as we work to keep the public informed of the changing environment around them. NOAA’s dedicated scientists use cutting-edge research and high-tech instrumentation to provide citizens, planners, emergency managers and other decision makers with reliable information they need, when they need it. </div></div></div><div class="body" data-v-d940c680><div class="block" data-v-d940c680><div class="title" data-v-d940c680><a href="https://www.ncei.noaa.gov/products/weather-climate-models/global-forecast" target="_blank" data-v-d940c680>Wind</a></div><div class="content" data-v-d940c680> The Global Forecast System (GFS) is a National Centers for Environmental Prediction (NCEP) weather forecast model that generates data for dozens of atmospheric and land-soil variables, including temperatures, winds, precipitation, soil moisture, and atmospheric ozone concentration. The system couples four separate models (atmosphere, ocean model, land/soil model, and sea ice) that work together to accurately depict weather conditions. </div></div></div><div class="body" data-v-d940c680><div class="block" data-v-d940c680><div class="title" data-v-d940c680><a href="https://polar.ncep.noaa.gov/waves/Model_Description.pdf" target="_blank" data-v-d940c680>Wave</a></div><div class="content" data-v-d940c680> The NCEP/EMC global deterministic wave model is now unified with the Global Forecast System (GFS). The WAVEWATCH III wave model is one-way coupled with the atmospheric forecast model. The wave model uses three native computational grids: 1) Arctic Polar 9km resolution from 50N to 90N, 2) Global Core 10min resolution from 15S to 52.5N and 3) Southern Ocean 15min resolution from 10.5S to 79.5S. There are 4 post-processed grids: West Coast, Eastern Pacific, Atlantic Ocean all with 0.16deg resolution and a Global grid with 0.25 deg of resolution. </div></div></div>', 4)
|
|
88
88
|
])])) : Q("", !0),
|
|
89
|
-
["ec", "ecmwf", "meteo"].includes((y = e.model) == null ? void 0 : y.toLowerCase()) ? (p(), b("div",
|
|
90
|
-
N2('<div class="title" data-v-
|
|
89
|
+
["ec", "ecmwf", "meteo"].includes((y = e.model) == null ? void 0 : y.toLowerCase()) ? (p(), b("div", G6, [...t[1] || (t[1] = [
|
|
90
|
+
N2('<div class="title" data-v-d940c680>Data from ECMWF(European Centre for Medium-Range Weather Forecasts)</div><div class="body" data-v-d940c680><div class="block" data-v-d940c680><div class="flext-start" data-v-d940c680><a href="https://www.ecmwf.int/en/forecasts/documentation-and-support/changes-ecmwf-model" target="_blank" data-v-d940c680><img src="https://img.idmwx.com/asset/ecmwf_logo.svg" alt="" data-v-d940c680></a></div><div class="content" data-v-d940c680> ECMWF Integrated Forecasting System (IFS), which includes a sophisticated data assimilation system and global numerical model of the Earth system, as well as supporting infrastructure to make forecast products available to our Member and Co-operating States and other users. The data assimilation system combines the latest weather observations with a recent forecast to obtain the best possible estimate of the current state of the Earth system – known as an analysis. The Earth system model has a model of the atmosphere at its heart, coupled to models of other Earth system components, such as the ocean. Starting from the analysis, our Earth system model is then used to forecast the likely evolution of the weather and some other aspects of the Earth system. </div></div><div class="block" data-v-d940c680><div class="flex-end" data-v-d940c680><a href="https://marine.copernicus.eu/about/" target="_blank" data-v-d940c680><img src="https://img.idmwx.com/asset/copermicus_marine_service_logo.png" alt="" data-v-d940c680></a></div><div class="content" data-v-d940c680> The Copernicus Marine Service is the marine component of the European Union’s Copernicus Programme. It provides regular and science-based information on the state of the Ocean at both global and regional scales. This includes data on the physical Ocean (Blue Ocean), sea ice (White Ocean), and Ocean biogeochemistry (Green Ocean). Funded by the European Commission and implemented by Mercator Ocean International, the service supports the implementation of EU policies and International legal Commitments related to Ocean Governance. It also aims to meet the growing demand for reliable Ocean knowledge across society, and to foster sustainable development in the Ocean sectors by providing state-of-the-art Ocean data and forecasts. </div></div></div><div class="body" data-v-d940c680><div class="block" data-v-d940c680><div class="title" data-v-d940c680><a href="https://codes.ecmwf.int/grib/param-db/165" target="_blank" data-v-d940c680>Wind</a></div><div class="content" data-v-d940c680> The wind is provided as two orthogonal vectors that can be used to calculate the total speed and direction. 10u is the eastward component of the 10m wind. It is the horizontal speed of air moving towards the east, at a height of ten metres above the surface of the Earth, in metres per second. 10v is the northward component of the 10m wind. It is the horizontal speed of air moving towards the north, at a height of ten metres above the surface of the Earth, in metres per second. </div></div><div class="block" data-v-d940c680><div class="title" data-v-d940c680><a href="https://www.ecmwf.int/en/about/media-centre/focus/2020/fact-sheet-ocean-wave-forecasting" target="_blank" data-v-d940c680>Waves</a></div><div class="content" data-v-d940c680> ECMWF ocean wave model (ECWAM) is based on a statistical description of surface waves. It covers both the open ocean and coastal waters. The surface wave field is simplified and represented by a spectrum of waves according to frequency (or wavelength) and direction of propagation. Waves are also divided into those generated by local wind (wind sea waves) and waves which have travelled away from where they were generated (swell). The wave model then simulates how the wave spectrum evolves in space and time by representing how the wind generates waves, how different waves interact with each other, and how wave energy gradually dissipates. </div></div><div class="block" data-v-d940c680><div class="title" data-v-d940c680><a href="https://marine.copernicus.eu/sites/default/files/wp-content/uploads/2019/04/Poster_SMOC_EGU2018APRIL.pdf" target="_blank" data-v-d940c680>Currents</a></div><div class="content" data-v-d940c680> SMOC (Surface and Merged Ocean Currents) is a composite surface current product that combines data from the CMEMS modeling systems to reproduce the net velocity felt by a body at sea surface. In SMOC, the total current is obtained by adding together the contributions of the oceanic general circulation, tides and waves. Three independent systems are used to compute the SMOC product: the CMEMS global high resolution (1/12°) real time forecasting system, the CMEMS global waves (1/10°) forecasting system and the FES tidal model. We present here the characteristics of the product together with some validation work based on comparison with observations: firstly, with drifting buoys in Eulerian and Lagrangian mode, and secondly, with in-situ current measurement and coastal radar data. SMOC is distributed on the global domain, with a horizontal resolution of 1/12° and with an hourly frequency. All horizontal components and their sum are provided, so that the user can select and focus on each component individually. SMOC data are computed daily, using one day of hindcast for the previous day, and five days of forecast ahead from the date of production. </div></div></div>', 3)
|
|
91
91
|
])])) : Q("", !0)
|
|
92
92
|
]);
|
|
93
93
|
}
|
|
94
|
-
const
|
|
94
|
+
const j6 = /* @__PURE__ */ l2(O6, [["render", $6], ["__scopeId", "data-v-d940c680"]]), Ft = {
|
|
95
95
|
install(i) {
|
|
96
|
-
i.component("IdmMeteo",
|
|
96
|
+
i.component("IdmMeteo", j6);
|
|
97
97
|
}
|
|
98
|
-
},
|
|
98
|
+
}, Y6 = {
|
|
99
99
|
name: "IdmLoading",
|
|
100
100
|
props: {
|
|
101
101
|
loading: {
|
|
@@ -118,12 +118,12 @@ const j3 = /* @__PURE__ */ l2(O3, [["render", $3], ["__scopeId", "data-v-071f082
|
|
|
118
118
|
immediate: !0
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
},
|
|
121
|
+
}, Z6 = {
|
|
122
122
|
key: 0,
|
|
123
123
|
style: { width: "100%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center" }
|
|
124
124
|
};
|
|
125
|
-
function
|
|
126
|
-
return e.loading ? (p(), b("div",
|
|
125
|
+
function U6(i, t, e, h, c, s) {
|
|
126
|
+
return e.loading ? (p(), b("div", Z6, [...t[0] || (t[0] = [
|
|
127
127
|
a("img", {
|
|
128
128
|
style: { height: "60px" },
|
|
129
129
|
src: "https://osshz.idmwx.com/asset/loading.gif",
|
|
@@ -131,12 +131,12 @@ function U3(i, t, e, h, c, s) {
|
|
|
131
131
|
}, null, -1)
|
|
132
132
|
])])) : Q("", !0);
|
|
133
133
|
}
|
|
134
|
-
const C2 = /* @__PURE__ */ l2(
|
|
134
|
+
const C2 = /* @__PURE__ */ l2(Y6, [["render", U6]]), _t = {
|
|
135
135
|
install(i) {
|
|
136
136
|
i.component("IdmLoading", C2);
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
|
-
const
|
|
139
|
+
const q6 = {
|
|
140
140
|
name: "IdmForecast",
|
|
141
141
|
components: {
|
|
142
142
|
IdmLoading: C2
|
|
@@ -1495,199 +1495,199 @@ const q3 = {
|
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
|
-
},
|
|
1498
|
+
}, X6 = { class: "idm-spot-forecast-report" }, J6 = { class: "row" }, Q6 = {
|
|
1499
1499
|
class: "col",
|
|
1500
1500
|
style: { width: "54%" }
|
|
1501
|
-
},
|
|
1501
|
+
}, K6 = {
|
|
1502
1502
|
key: 0,
|
|
1503
1503
|
style: { "margin-left": "8px" }
|
|
1504
|
-
},
|
|
1504
|
+
}, e3 = {
|
|
1505
1505
|
key: 1,
|
|
1506
1506
|
style: { "margin-left": "8px" }
|
|
1507
|
-
},
|
|
1507
|
+
}, t3 = {
|
|
1508
1508
|
key: 0,
|
|
1509
1509
|
class: "col",
|
|
1510
1510
|
style: { width: "42%" }
|
|
1511
|
-
},
|
|
1511
|
+
}, a3 = { style: { "margin-left": "8px" } }, i3 = {
|
|
1512
1512
|
key: 1,
|
|
1513
1513
|
class: "col",
|
|
1514
1514
|
style: { width: "42%" }
|
|
1515
|
-
},
|
|
1515
|
+
}, l3 = { style: { "margin-left": "8px" } }, s3 = { class: "row" }, o3 = {
|
|
1516
1516
|
class: "col",
|
|
1517
1517
|
style: { width: "54%" }
|
|
1518
|
-
},
|
|
1518
|
+
}, r3 = { style: { "margin-left": "8px" } }, n3 = {
|
|
1519
1519
|
class: "col",
|
|
1520
1520
|
style: { width: "42%" }
|
|
1521
|
-
},
|
|
1521
|
+
}, d3 = { style: { "margin-left": "8px" } }, c3 = { class: "content-box" }, h3 = {
|
|
1522
1522
|
key: 0,
|
|
1523
1523
|
class: "meteogram-echart-section"
|
|
1524
|
-
},
|
|
1524
|
+
}, m3 = {
|
|
1525
1525
|
key: 2,
|
|
1526
1526
|
id: "weatherIconsEchart"
|
|
1527
|
-
},
|
|
1527
|
+
}, p3 = {
|
|
1528
1528
|
key: 3,
|
|
1529
1529
|
id: "weatherConditionEchart"
|
|
1530
|
-
},
|
|
1530
|
+
}, g3 = {
|
|
1531
1531
|
key: 4,
|
|
1532
1532
|
id: "windIconsEchart"
|
|
1533
|
-
},
|
|
1533
|
+
}, u3 = {
|
|
1534
1534
|
key: 5,
|
|
1535
1535
|
id: "windEchart"
|
|
1536
|
-
},
|
|
1536
|
+
}, f3 = { key: 6 }, b3 = {
|
|
1537
1537
|
key: 7,
|
|
1538
1538
|
id: "waveChart"
|
|
1539
|
-
},
|
|
1539
|
+
}, y3 = { class: "table-section" }, w3 = {
|
|
1540
1540
|
key: 0,
|
|
1541
1541
|
class: "card"
|
|
1542
|
-
},
|
|
1542
|
+
}, x3 = { class: "date" }, v3 = {
|
|
1543
1543
|
class: "",
|
|
1544
1544
|
style: { "font-size": "16px", "font-weight": "500" }
|
|
1545
|
-
},
|
|
1545
|
+
}, z3 = {
|
|
1546
1546
|
rowspan: "2",
|
|
1547
1547
|
colspan: "1",
|
|
1548
1548
|
class: "border",
|
|
1549
1549
|
style: { width: "90px" }
|
|
1550
|
-
},
|
|
1550
|
+
}, k3 = {
|
|
1551
1551
|
rowspan: "1",
|
|
1552
1552
|
colspan: "1",
|
|
1553
1553
|
class: "border"
|
|
1554
|
-
},
|
|
1554
|
+
}, F3 = {
|
|
1555
1555
|
rowspan: "1",
|
|
1556
1556
|
colspan: "1",
|
|
1557
1557
|
class: "border"
|
|
1558
|
-
},
|
|
1558
|
+
}, _3 = {
|
|
1559
1559
|
rowspan: "1",
|
|
1560
1560
|
colspan: "1",
|
|
1561
1561
|
class: "border"
|
|
1562
|
-
},
|
|
1562
|
+
}, M3 = {
|
|
1563
1563
|
rowspan: "1",
|
|
1564
1564
|
colspan: "4",
|
|
1565
1565
|
class: "border"
|
|
1566
|
-
},
|
|
1566
|
+
}, D3 = {
|
|
1567
1567
|
rowspan: "1",
|
|
1568
1568
|
colspan: "3",
|
|
1569
1569
|
class: "border"
|
|
1570
|
-
},
|
|
1570
|
+
}, H3 = {
|
|
1571
1571
|
rowspan: "1",
|
|
1572
1572
|
colspan: "3",
|
|
1573
1573
|
class: "border"
|
|
1574
|
-
},
|
|
1574
|
+
}, L3 = {
|
|
1575
1575
|
rowspan: "1",
|
|
1576
1576
|
colspan: "3",
|
|
1577
1577
|
class: "border"
|
|
1578
|
-
},
|
|
1578
|
+
}, S3 = {
|
|
1579
1579
|
rowspan: "1",
|
|
1580
1580
|
colspan: "2",
|
|
1581
1581
|
class: "border"
|
|
1582
|
-
},
|
|
1582
|
+
}, A3 = {
|
|
1583
1583
|
rowspan: "1",
|
|
1584
1584
|
colspan: "1",
|
|
1585
1585
|
class: "border"
|
|
1586
|
-
},
|
|
1586
|
+
}, C3 = {
|
|
1587
1587
|
rowspan: "1",
|
|
1588
1588
|
colspan: "1",
|
|
1589
1589
|
class: "border"
|
|
1590
|
-
},
|
|
1590
|
+
}, N3 = {
|
|
1591
1591
|
rowspan: "1",
|
|
1592
1592
|
colspan: "1",
|
|
1593
1593
|
class: "border",
|
|
1594
1594
|
style: { width: "80px" }
|
|
1595
|
-
},
|
|
1595
|
+
}, B3 = {
|
|
1596
1596
|
rowspan: "1",
|
|
1597
1597
|
colspan: "1",
|
|
1598
1598
|
class: "border",
|
|
1599
1599
|
style: { width: "70px" }
|
|
1600
|
-
},
|
|
1600
|
+
}, T3 = {
|
|
1601
1601
|
rowspan: "1",
|
|
1602
1602
|
colspan: "1",
|
|
1603
1603
|
class: "border",
|
|
1604
1604
|
style: { width: "50px" }
|
|
1605
|
-
},
|
|
1605
|
+
}, I3 = {
|
|
1606
1606
|
rowspan: "1",
|
|
1607
1607
|
colspan: "1",
|
|
1608
1608
|
class: "border",
|
|
1609
1609
|
style: { width: "45px" }
|
|
1610
|
-
},
|
|
1610
|
+
}, E3 = {
|
|
1611
1611
|
rowspan: "1",
|
|
1612
1612
|
colspan: "1",
|
|
1613
1613
|
class: "border",
|
|
1614
1614
|
style: { width: "30px" }
|
|
1615
|
-
},
|
|
1615
|
+
}, W3 = {
|
|
1616
1616
|
rowspan: "1",
|
|
1617
1617
|
colspan: "1",
|
|
1618
1618
|
class: "border",
|
|
1619
1619
|
style: { width: "60px" }
|
|
1620
|
-
},
|
|
1620
|
+
}, P3 = {
|
|
1621
1621
|
rowspan: "1",
|
|
1622
1622
|
colspan: "1",
|
|
1623
1623
|
class: "border",
|
|
1624
1624
|
style: { width: "50px" }
|
|
1625
|
-
},
|
|
1625
|
+
}, O3 = {
|
|
1626
1626
|
rowspan: "1",
|
|
1627
1627
|
colspan: "1",
|
|
1628
1628
|
class: "border",
|
|
1629
1629
|
style: { width: "45px" }
|
|
1630
|
-
},
|
|
1630
|
+
}, V3 = {
|
|
1631
1631
|
rowspan: "1",
|
|
1632
1632
|
colspan: "1",
|
|
1633
1633
|
class: "border",
|
|
1634
1634
|
style: { width: "45px" }
|
|
1635
|
-
},
|
|
1635
|
+
}, R3 = {
|
|
1636
1636
|
rowspan: "1",
|
|
1637
1637
|
colspan: "1",
|
|
1638
1638
|
class: "border",
|
|
1639
1639
|
style: { width: "50px" }
|
|
1640
|
-
},
|
|
1640
|
+
}, G3 = {
|
|
1641
1641
|
rowspan: "1",
|
|
1642
1642
|
colspan: "1",
|
|
1643
1643
|
class: "border",
|
|
1644
1644
|
style: { width: "45px" }
|
|
1645
|
-
}, $
|
|
1645
|
+
}, $3 = {
|
|
1646
1646
|
rowspan: "1",
|
|
1647
1647
|
colspan: "1",
|
|
1648
1648
|
class: "border",
|
|
1649
1649
|
style: { width: "45px" }
|
|
1650
|
-
},
|
|
1650
|
+
}, j3 = {
|
|
1651
1651
|
rowspan: "1",
|
|
1652
1652
|
colspan: "1",
|
|
1653
1653
|
class: "border",
|
|
1654
1654
|
style: { width: "50px" }
|
|
1655
|
-
},
|
|
1655
|
+
}, Y3 = {
|
|
1656
1656
|
rowspan: "1",
|
|
1657
1657
|
colspan: "1",
|
|
1658
1658
|
class: "border",
|
|
1659
1659
|
style: { width: "45px" }
|
|
1660
|
-
},
|
|
1660
|
+
}, Z3 = {
|
|
1661
1661
|
rowspan: "1",
|
|
1662
1662
|
colspan: "1",
|
|
1663
1663
|
class: "border",
|
|
1664
1664
|
style: { width: "45px" }
|
|
1665
|
-
},
|
|
1665
|
+
}, U3 = {
|
|
1666
1666
|
rowspan: "1",
|
|
1667
1667
|
colspan: "1",
|
|
1668
1668
|
class: "border",
|
|
1669
1669
|
style: { width: "50px" }
|
|
1670
|
-
},
|
|
1670
|
+
}, q3 = {
|
|
1671
1671
|
rowspan: "1",
|
|
1672
1672
|
colspan: "1",
|
|
1673
1673
|
class: "border",
|
|
1674
1674
|
style: { width: "45px" }
|
|
1675
|
-
},
|
|
1675
|
+
}, X3 = {
|
|
1676
1676
|
rowspan: "1",
|
|
1677
1677
|
colspan: "1",
|
|
1678
1678
|
class: "border",
|
|
1679
1679
|
style: { width: "70px" }
|
|
1680
|
-
},
|
|
1680
|
+
}, J3 = {
|
|
1681
1681
|
rowspan: "1",
|
|
1682
1682
|
colspan: "1",
|
|
1683
1683
|
class: "border",
|
|
1684
1684
|
style: { width: "85px" }
|
|
1685
|
-
},
|
|
1685
|
+
}, Q3 = {
|
|
1686
1686
|
rowspan: "1",
|
|
1687
1687
|
colspan: "1",
|
|
1688
1688
|
class: "border",
|
|
1689
1689
|
style: { width: "90px" }
|
|
1690
|
-
},
|
|
1690
|
+
}, K3 = {
|
|
1691
1691
|
rowspan: "1",
|
|
1692
1692
|
colspan: "1",
|
|
1693
1693
|
class: "border",
|
|
@@ -1776,47 +1776,47 @@ const q3 = {
|
|
|
1776
1776
|
function M0(i, t, e, h, c, s) {
|
|
1777
1777
|
var g, y, u, z, k, x, E, N, B, W, D, H, A, O, R, G, F, T, j, Y, C, _, L;
|
|
1778
1778
|
const m = r2("IdmLoading");
|
|
1779
|
-
return p(), b("div",
|
|
1779
|
+
return p(), b("div", X6, [
|
|
1780
1780
|
(g = e.reportData) != null && g.showSummary ? (p(), b("div", {
|
|
1781
1781
|
key: 0,
|
|
1782
1782
|
class: v(["summary-info-box", e.theme === "dark" ? "dark" : "light"])
|
|
1783
1783
|
}, [
|
|
1784
|
-
a("div",
|
|
1785
|
-
a("div",
|
|
1784
|
+
a("div", J6, [
|
|
1785
|
+
a("div", Q6, [
|
|
1786
1786
|
a("span", {
|
|
1787
1787
|
class: v(["label label-color", e.theme === "dark" ? "dark" : "light"])
|
|
1788
1788
|
}, l(e.locale === "zhHans" ? "位置" : "Position") + ":", 3),
|
|
1789
|
-
(y = e.reportData) != null && y.portName ? (p(), b("span",
|
|
1789
|
+
(y = e.reportData) != null && y.portName ? (p(), b("span", K6, l((u = e.reportData) == null ? void 0 : u.portName) + " " + l(`[${s.computeLat(e.reportData.lat)}, ${s.computeLng(e.reportData.lng)}]`), 1)) : (p(), b("span", e3, l(`${s.computeLat(e.reportData.lat)} , ${s.computeLng(e.reportData.lng)}`), 1))
|
|
1790
1790
|
]),
|
|
1791
|
-
(z = e.reportData) != null && z.datetime ? (p(), b("div",
|
|
1791
|
+
(z = e.reportData) != null && z.datetime ? (p(), b("div", t3, [
|
|
1792
1792
|
a("span", {
|
|
1793
1793
|
class: v(["label label-color", e.theme === "dark" ? "dark" : "light"])
|
|
1794
1794
|
}, l(e.locale === "zhHans" ? "预报时段" : "Forecast Period") + ":", 3),
|
|
1795
|
-
a("span",
|
|
1796
|
-
])) : (p(), b("div",
|
|
1795
|
+
a("span", a3, l(s.computeTzTime((x = (k = e.reportData) == null ? void 0 : k.dateRange) == null ? void 0 : x[0], c.positionGmt)) + " ~ " + l(s.computeTzTime((N = (E = e.reportData) == null ? void 0 : E.dateRange) == null ? void 0 : N[1], c.positionGmt)), 1)
|
|
1796
|
+
])) : (p(), b("div", i3, [
|
|
1797
1797
|
a("span", {
|
|
1798
1798
|
class: v(["label label-color", e.theme === "dark" ? "dark" : "light"])
|
|
1799
1799
|
}, l(e.locale === "zhHans" ? "预报天数" : "Forecast Days") + ":", 3),
|
|
1800
|
-
a("span",
|
|
1800
|
+
a("span", l3, l((B = e.reportData) == null ? void 0 : B.forecastDays) + " " + l(e.locale === "zhHans" ? "天" : "Days"), 1)
|
|
1801
1801
|
]))
|
|
1802
1802
|
]),
|
|
1803
|
-
a("div",
|
|
1804
|
-
a("div",
|
|
1803
|
+
a("div", s3, [
|
|
1804
|
+
a("div", o3, [
|
|
1805
1805
|
a("span", {
|
|
1806
1806
|
class: v(["label label-color", e.theme === "dark" ? "dark" : "light"])
|
|
1807
1807
|
}, l(e.locale === "zhHans" ? "时区" : "Timezone") + ":", 3),
|
|
1808
|
-
a("span",
|
|
1808
|
+
a("span", r3, "UTC " + l((W = e.reportData) == null ? void 0 : W.positionOffset), 1)
|
|
1809
1809
|
]),
|
|
1810
|
-
a("div",
|
|
1810
|
+
a("div", n3, [
|
|
1811
1811
|
a("span", {
|
|
1812
1812
|
class: v(["label label-color", e.theme === "dark" ? "dark" : "light"])
|
|
1813
1813
|
}, l(e.locale === "zhHans" ? "预报模式" : "Forecast Model") + ":", 3),
|
|
1814
|
-
a("span",
|
|
1814
|
+
a("span", d3, l((D = e.reportData) == null ? void 0 : D.forecastModel), 1)
|
|
1815
1815
|
])
|
|
1816
1816
|
])
|
|
1817
1817
|
], 2)) : Q("", !0),
|
|
1818
|
-
a("div",
|
|
1819
|
-
(H = e.reportData) != null && H.showWeatherChart || (A = e.reportData) != null && A.showWindChart || (O = e.reportData) != null && O.showWaveChart ? (p(), b("div",
|
|
1818
|
+
a("div", c3, [
|
|
1819
|
+
(H = e.reportData) != null && H.showWeatherChart || (A = e.reportData) != null && A.showWindChart || (O = e.reportData) != null && O.showWaveChart ? (p(), b("div", h3, [
|
|
1820
1820
|
e.loading ? (p(), b("div", {
|
|
1821
1821
|
key: 0,
|
|
1822
1822
|
class: v(["loading-box", e.theme === "dark" ? "dark" : "light"])
|
|
@@ -1826,14 +1826,14 @@ function M0(i, t, e, h, c, s) {
|
|
|
1826
1826
|
key: 1,
|
|
1827
1827
|
class: v(["loading-box", e.theme === "dark" ? "dark" : "light"])
|
|
1828
1828
|
}, l(e.locale === "zhHans" ? "暂无数据" : "No Data"), 3)),
|
|
1829
|
-
!e.loading && ((R = e.reportData) != null && R.showWeatherChart) ? (p(), b("div",
|
|
1830
|
-
!e.loading && ((G = e.reportData) != null && G.showWeatherChart) ? (p(), b("div",
|
|
1831
|
-
!e.loading && ((F = e.reportData) != null && F.showWindChart) ? (p(), b("div",
|
|
1832
|
-
!e.loading && ((T = e.reportData) != null && T.showWindChart) ? (p(), b("div",
|
|
1833
|
-
(j = e.reportData) != null && j.showWeatherChart && ((Y = e.reportData) != null && Y.showWindChart) ? (p(), b("div",
|
|
1834
|
-
!e.loading && ((C = e.reportData) != null && C.showWaveChart) ? (p(), b("div",
|
|
1829
|
+
!e.loading && ((R = e.reportData) != null && R.showWeatherChart) ? (p(), b("div", m3)) : Q("", !0),
|
|
1830
|
+
!e.loading && ((G = e.reportData) != null && G.showWeatherChart) ? (p(), b("div", p3)) : Q("", !0),
|
|
1831
|
+
!e.loading && ((F = e.reportData) != null && F.showWindChart) ? (p(), b("div", g3)) : Q("", !0),
|
|
1832
|
+
!e.loading && ((T = e.reportData) != null && T.showWindChart) ? (p(), b("div", u3)) : Q("", !0),
|
|
1833
|
+
(j = e.reportData) != null && j.showWeatherChart && ((Y = e.reportData) != null && Y.showWindChart) ? (p(), b("div", f3)) : Q("", !0),
|
|
1834
|
+
!e.loading && ((C = e.reportData) != null && C.showWaveChart) ? (p(), b("div", b3)) : Q("", !0)
|
|
1835
1835
|
])) : Q("", !0),
|
|
1836
|
-
a("div",
|
|
1836
|
+
a("div", y3, [
|
|
1837
1837
|
e.loading ? e.loading ? (p(), b("div", {
|
|
1838
1838
|
key: 1,
|
|
1839
1839
|
class: v(["loading-box", e.theme === "dark" ? "dark" : "light"])
|
|
@@ -1842,9 +1842,9 @@ function M0(i, t, e, h, c, s) {
|
|
|
1842
1842
|
], 2)) : (p(), b("div", {
|
|
1843
1843
|
key: 2,
|
|
1844
1844
|
class: v(["loading-box", e.theme === "dark" ? "dark" : "light"])
|
|
1845
|
-
}, l(e.locale === "zhHans" ? "暂无数据" : "No Data"), 3)) : (p(), b("div",
|
|
1846
|
-
a("div",
|
|
1847
|
-
a("div",
|
|
1845
|
+
}, l(e.locale === "zhHans" ? "暂无数据" : "No Data"), 3)) : (p(), b("div", w3, [
|
|
1846
|
+
a("div", x3, [
|
|
1847
|
+
a("div", v3, l(e.locale === "zhHans" ? "小时预报" : "Hourly Forecast"), 1),
|
|
1848
1848
|
a("div", {
|
|
1849
1849
|
class: v(["label-color", e.theme === "dark" ? "dark" : "light"]),
|
|
1850
1850
|
style: { "font-size": "13px", "font-weight": "300" }
|
|
@@ -1859,21 +1859,21 @@ function M0(i, t, e, h, c, s) {
|
|
|
1859
1859
|
a("tr", {
|
|
1860
1860
|
class: v(["day", e.theme === "dark" ? "dark" : "light"])
|
|
1861
1861
|
}, [
|
|
1862
|
-
a("th",
|
|
1862
|
+
a("th", z3, [
|
|
1863
1863
|
f(l(e.locale === "zhHans" ? "时间" : "DateTime"), 1),
|
|
1864
1864
|
t[0] || (t[0] = a("br", null, null, -1)),
|
|
1865
1865
|
t[1] || (t[1] = f("(LT)", -1))
|
|
1866
1866
|
]),
|
|
1867
|
-
a("th",
|
|
1868
|
-
a("th",
|
|
1869
|
-
a("th",
|
|
1870
|
-
a("th",
|
|
1871
|
-
a("th",
|
|
1872
|
-
a("th",
|
|
1873
|
-
a("th",
|
|
1874
|
-
a("th",
|
|
1875
|
-
a("th",
|
|
1876
|
-
a("th",
|
|
1867
|
+
a("th", k3, l(e.locale === "zhHans" ? "温度" : "Temp"), 1),
|
|
1868
|
+
a("th", F3, l(e.locale === "zhHans" ? `${e.reportData.interval}小时降水` : `Precip.${e.reportData.interval}h`), 1),
|
|
1869
|
+
a("th", _3, l(e.locale === "zhHans" ? "能见度" : "Visibility"), 1),
|
|
1870
|
+
a("th", M3, l(e.locale === "zhHans" ? "风" : "Wind"), 1),
|
|
1871
|
+
a("th", D3, l(e.locale === "zhHans" ? "风浪" : "Wind wave"), 1),
|
|
1872
|
+
a("th", H3, l(e.locale === "zhHans" ? "涌浪" : "Swell wave"), 1),
|
|
1873
|
+
a("th", L3, l(e.locale === "zhHans" ? "显浪" : "Sig.wave"), 1),
|
|
1874
|
+
a("th", S3, l(e.locale === "zhHans" ? "洋流" : "Current"), 1),
|
|
1875
|
+
a("th", A3, l(e.locale === "zhHans" ? "海面" : "Sea Level"), 1),
|
|
1876
|
+
a("th", C3, l(e.locale === "zhHans" ? "海表" : "Sea Surface"), 1)
|
|
1877
1877
|
], 2),
|
|
1878
1878
|
a("tr", {
|
|
1879
1879
|
class: v(["hour", e.theme === "dark" ? "dark" : "light"])
|
|
@@ -1884,73 +1884,73 @@ function M0(i, t, e, h, c, s) {
|
|
|
1884
1884
|
class: "border",
|
|
1885
1885
|
style: { width: "50px" }
|
|
1886
1886
|
}, "°C", -1)),
|
|
1887
|
-
a("th",
|
|
1887
|
+
a("th", N3, [
|
|
1888
1888
|
f(l(e.locale === "zhHans" ? "累计" : "Acc"), 1),
|
|
1889
1889
|
t[2] || (t[2] = a("br", null, null, -1)),
|
|
1890
1890
|
t[3] || (t[3] = f("(mm)", -1))
|
|
1891
1891
|
]),
|
|
1892
|
-
a("th",
|
|
1892
|
+
a("th", B3, [
|
|
1893
1893
|
f(l(e.locale === "zhHans" ? "距离" : "Dist"), 1),
|
|
1894
1894
|
t[4] || (t[4] = a("br", null, null, -1)),
|
|
1895
1895
|
t[5] || (t[5] = f("(nm)", -1))
|
|
1896
1896
|
]),
|
|
1897
|
-
a("th",
|
|
1898
|
-
a("th",
|
|
1897
|
+
a("th", T3, l(e.locale === "zhHans" ? "方向" : "Dir"), 1),
|
|
1898
|
+
a("th", I3, [
|
|
1899
1899
|
f(l(e.locale === "zhHans" ? "速度" : "Spd"), 1),
|
|
1900
1900
|
t[6] || (t[6] = a("br", null, null, -1)),
|
|
1901
1901
|
t[7] || (t[7] = f("(kts)", -1))
|
|
1902
1902
|
]),
|
|
1903
|
-
a("th",
|
|
1904
|
-
a("th",
|
|
1903
|
+
a("th", E3, l(e.locale === "zhHans" ? "等级" : "BF"), 1),
|
|
1904
|
+
a("th", W3, [
|
|
1905
1905
|
f(l(e.locale === "zhHans" ? "阵风" : "Gusts"), 1),
|
|
1906
1906
|
t[8] || (t[8] = a("br", null, null, -1)),
|
|
1907
1907
|
t[9] || (t[9] = f("(kts)", -1))
|
|
1908
1908
|
]),
|
|
1909
|
-
a("th",
|
|
1910
|
-
a("th",
|
|
1909
|
+
a("th", P3, l(e.locale === "zhHans" ? "方向" : "Dir"), 1),
|
|
1910
|
+
a("th", O3, [
|
|
1911
1911
|
f(l(e.locale === "zhHans" ? "高度" : "Hgt"), 1),
|
|
1912
1912
|
t[10] || (t[10] = a("br", null, null, -1)),
|
|
1913
1913
|
t[11] || (t[11] = f("(m)", -1))
|
|
1914
1914
|
]),
|
|
1915
|
-
a("th",
|
|
1915
|
+
a("th", V3, [
|
|
1916
1916
|
f(l(e.locale === "zhHans" ? "周期" : "Prd"), 1),
|
|
1917
1917
|
t[12] || (t[12] = a("br", null, null, -1)),
|
|
1918
1918
|
t[13] || (t[13] = f("(s)", -1))
|
|
1919
1919
|
]),
|
|
1920
|
-
a("th",
|
|
1921
|
-
a("th",
|
|
1920
|
+
a("th", R3, l(e.locale === "zhHans" ? "方向" : "Dir"), 1),
|
|
1921
|
+
a("th", G3, [
|
|
1922
1922
|
f(l(e.locale === "zhHans" ? "高度" : "Hgt"), 1),
|
|
1923
1923
|
t[14] || (t[14] = a("br", null, null, -1)),
|
|
1924
1924
|
t[15] || (t[15] = f("(m)", -1))
|
|
1925
1925
|
]),
|
|
1926
|
-
a("th", $
|
|
1926
|
+
a("th", $3, [
|
|
1927
1927
|
f(l(e.locale === "zhHans" ? "周期" : "Prd"), 1),
|
|
1928
1928
|
t[16] || (t[16] = a("br", null, null, -1)),
|
|
1929
1929
|
t[17] || (t[17] = f("(s)", -1))
|
|
1930
1930
|
]),
|
|
1931
|
-
a("th",
|
|
1932
|
-
a("th",
|
|
1931
|
+
a("th", j3, l(e.locale === "zhHans" ? "方向" : "Dir"), 1),
|
|
1932
|
+
a("th", Y3, [
|
|
1933
1933
|
f(l(e.locale === "zhHans" ? "高度" : "Hgt"), 1),
|
|
1934
1934
|
t[18] || (t[18] = a("br", null, null, -1)),
|
|
1935
1935
|
t[19] || (t[19] = f("(m)", -1))
|
|
1936
1936
|
]),
|
|
1937
|
-
a("th",
|
|
1937
|
+
a("th", Z3, [
|
|
1938
1938
|
f(l(e.locale === "zhHans" ? "周期" : "Prd"), 1),
|
|
1939
1939
|
t[20] || (t[20] = a("br", null, null, -1)),
|
|
1940
1940
|
t[21] || (t[21] = f("(s)", -1))
|
|
1941
1941
|
]),
|
|
1942
|
-
a("th",
|
|
1943
|
-
a("th",
|
|
1942
|
+
a("th", U3, l(e.locale === "zhHans" ? "方向" : "Dir"), 1),
|
|
1943
|
+
a("th", q3, [
|
|
1944
1944
|
f(l(e.locale === "zhHans" ? "速度" : "Spd"), 1),
|
|
1945
1945
|
t[22] || (t[22] = a("br", null, null, -1)),
|
|
1946
1946
|
t[23] || (t[23] = f("(kts)", -1))
|
|
1947
1947
|
]),
|
|
1948
|
-
a("th",
|
|
1948
|
+
a("th", X3, [
|
|
1949
1949
|
f(l(e.locale === "zhHans" ? "高度" : "Hgt"), 1),
|
|
1950
1950
|
t[24] || (t[24] = a("br", null, null, -1)),
|
|
1951
1951
|
t[25] || (t[25] = f("(m)", -1))
|
|
1952
1952
|
]),
|
|
1953
|
-
a("th",
|
|
1953
|
+
a("th", J3, [
|
|
1954
1954
|
f(l(e.locale === "zhHans" ? "温度" : "Temp"), 1),
|
|
1955
1955
|
t[26] || (t[26] = a("br", null, null, -1)),
|
|
1956
1956
|
t[27] || (t[27] = f("(°C)", -1))
|
|
@@ -1964,10 +1964,10 @@ function M0(i, t, e, h, c, s) {
|
|
|
1964
1964
|
key: Math.random() + r.localDate,
|
|
1965
1965
|
class: v(["text border-bottom", e.theme === "dark" ? "dark" : "light"])
|
|
1966
1966
|
}, [
|
|
1967
|
-
a("td",
|
|
1967
|
+
a("td", Q3, [
|
|
1968
1968
|
a("div", null, l(r.localDate), 1)
|
|
1969
1969
|
]),
|
|
1970
|
-
a("td",
|
|
1970
|
+
a("td", K3, [
|
|
1971
1971
|
a("div", null, l(r.temp), 1)
|
|
1972
1972
|
]),
|
|
1973
1973
|
a("td", e0, l(r.precipSum), 1),
|
|
@@ -2052,7 +2052,7 @@ function M0(i, t, e, h, c, s) {
|
|
|
2052
2052
|
])
|
|
2053
2053
|
]);
|
|
2054
2054
|
}
|
|
2055
|
-
const D0 = /* @__PURE__ */ l2(
|
|
2055
|
+
const D0 = /* @__PURE__ */ l2(q6, [["render", M0], ["__scopeId", "data-v-a448405e"]]);
|
|
2056
2056
|
const H0 = {
|
|
2057
2057
|
name: "IdmHistorical",
|
|
2058
2058
|
components: {
|
|
@@ -2210,7 +2210,7 @@ const H0 = {
|
|
|
2210
2210
|
};
|
|
2211
2211
|
},
|
|
2212
2212
|
initMeteogramEchart(i) {
|
|
2213
|
-
var W, D, H, A, O, R, G, F, T, j, Y, C, _, L, r, Z, n, K, X, U, t1, a1, i1, l1, s1, o1, r1, n1, e1, S, V, f1, b1, y1, h1, m1, o, F1, N1, B1, T1, I1, E1, W1, P1, O1, V1, R1, G1, $1, j1, Y1, Z1, U1, q1, X1, d1, D1, $, s2, _1, H1, n2, c1, S1, P, h2, A1, o2, g2, m2, p2, f2, b2, y2, w2, w, M1, J1, Q1, K1, e2, t2, a2, q, x2, v2, z2, k2, F2, _2, M2, D2, H2, p1, i2, w1, E2, W2, P2, O2, V2, R2, G2, $2, j2, Y2, Z2, U2, q2, X2, J2, Q2, K2,
|
|
2213
|
+
var W, D, H, A, O, R, G, F, T, j, Y, C, _, L, r, Z, n, K, X, U, t1, a1, i1, l1, s1, o1, r1, n1, e1, S, V, f1, b1, y1, h1, m1, o, F1, N1, B1, T1, I1, E1, W1, P1, O1, V1, R1, G1, $1, j1, Y1, Z1, U1, q1, X1, d1, D1, $, s2, _1, H1, n2, c1, S1, P, h2, A1, o2, g2, m2, p2, f2, b2, y2, w2, w, M1, J1, Q1, K1, e2, t2, a2, q, x2, v2, z2, k2, F2, _2, M2, D2, H2, p1, i2, w1, E2, W2, P2, O2, V2, R2, G2, $2, j2, Y2, Z2, U2, q2, X2, J2, Q2, K2, e6, t6, a6, i6, l6, s6, o6, r6, n6, d6, c6, h6, m6, p6, g6, u6, f6, b6, y6, w6, x6, v6, z6, k6, F6, _6, M6, D6, H6, L6, S6;
|
|
2214
2214
|
const t = i.interval || 3;
|
|
2215
2215
|
let e = Math.max(...this.meteogramData.temperatures.filter((d) => typeof d == "number" && !isNaN(d))), h = Math.min(...this.meteogramData.temperatures.filter((d) => typeof d == "number" && !isNaN(d))), c = Math.floor(h / 5) * 5, s = Math.ceil(e / 5) * 5, m = Math.ceil((s - c) / 5);
|
|
2216
2216
|
c = Math.floor((c - 2 * m) / 5) * 5, s = Math.ceil((s + 1) / 5) * 5, m = Math.ceil((s - c) / 5);
|
|
@@ -3143,7 +3143,7 @@ const H0 = {
|
|
|
3143
3143
|
show: !0,
|
|
3144
3144
|
position: "right",
|
|
3145
3145
|
formatter: (d) => {
|
|
3146
|
-
var x1, v1, z1, k1, I, d2, L1,
|
|
3146
|
+
var x1, v1, z1, k1, I, d2, L1, A6;
|
|
3147
3147
|
const C1 = (x1 = d == null ? void 0 : d[0]) == null ? void 0 : x1.dataIndex;
|
|
3148
3148
|
return d.find((g1) => g1.seriesType === "scatter") ? !1 : `<div style="font-size: 13px;"><strong>${M.tz((v1 = this.meteogramData) == null ? void 0 : v1.dates[C1], this.positionGmt).format("MMM-DD/HHmm[LT]")}</strong></div>
|
|
3149
3149
|
<div style="font-size: 13px;display: ${isNaN((z1 = d == null ? void 0 : d.find((g1) => g1.seriesName === "Sig.Wave Height" || g1.seriesName === "显著浪高")) == null ? void 0 : z1.value) ? "none" : "block"}">
|
|
@@ -3161,7 +3161,7 @@ const H0 = {
|
|
|
3161
3161
|
<div style="font-size: 13px;display: ${isNaN((L1 = d == null ? void 0 : d.find((g1) => g1.seriesName === "Swell Height" || g1.seriesName === "涌浪高度")) == null ? void 0 : L1.value) ? "none" : "block"}">
|
|
3162
3162
|
<span style="display:inline-block; height: 10px;width: 10px;border-radius: 50%;background-color: ${this.theme === "dark" ? "rgb(17, 245, 211)" : "rgba(0, 230, 194, 1)"};}"></span>
|
|
3163
3163
|
<span>${this.locale === "zhHans" ? "涌浪高度" : "Swell Height"} : </span>
|
|
3164
|
-
<strong>${(
|
|
3164
|
+
<strong>${(A6 = d == null ? void 0 : d.find((g1) => g1.seriesName === "Swell Height" || g1.seriesName === "涌浪高度")) == null ? void 0 : A6.value}</strong>
|
|
3165
3165
|
<span style="padding-left: 3px;">m</span>
|
|
3166
3166
|
</div>
|
|
3167
3167
|
`;
|
|
@@ -3579,7 +3579,7 @@ const H0 = {
|
|
|
3579
3579
|
},
|
|
3580
3580
|
{
|
|
3581
3581
|
left: (Q2 = (J2 = this.meteogramData) == null ? void 0 : J2.singleAxisOffset) == null ? void 0 : Q2.l,
|
|
3582
|
-
right: (
|
|
3582
|
+
right: (e6 = (K2 = this.meteogramData) == null ? void 0 : K2.singleAxisOffset) == null ? void 0 : e6.r,
|
|
3583
3583
|
type: "category",
|
|
3584
3584
|
show: !1,
|
|
3585
3585
|
axisLine: {
|
|
@@ -3599,7 +3599,7 @@ const H0 = {
|
|
|
3599
3599
|
// 隐藏分割线
|
|
3600
3600
|
},
|
|
3601
3601
|
boundaryGap: !1,
|
|
3602
|
-
data: (
|
|
3602
|
+
data: (t6 = this.meteogramData) == null ? void 0 : t6.dates,
|
|
3603
3603
|
top: "92%",
|
|
3604
3604
|
height: "2%"
|
|
3605
3605
|
}
|
|
@@ -3639,7 +3639,7 @@ const H0 = {
|
|
|
3639
3639
|
name: this.locale === "zhHans" ? "洋流" : "Current",
|
|
3640
3640
|
type: "line",
|
|
3641
3641
|
yAxisIndex: 0,
|
|
3642
|
-
data: (
|
|
3642
|
+
data: (a6 = this.meteogramData) == null ? void 0 : a6.currentSpd,
|
|
3643
3643
|
symbol: "none",
|
|
3644
3644
|
smooth: !1,
|
|
3645
3645
|
itemStyle: {
|
|
@@ -3654,7 +3654,7 @@ const H0 = {
|
|
|
3654
3654
|
itemStyle: {
|
|
3655
3655
|
color: this.theme === "dark" ? "rgba(190, 218, 255,0.05)" : "rgba(239,239,239,0.6)"
|
|
3656
3656
|
},
|
|
3657
|
-
data: (
|
|
3657
|
+
data: (i6 = this.meteogramData) == null ? void 0 : i6.markarea,
|
|
3658
3658
|
emphasis: {
|
|
3659
3659
|
disabled: !0
|
|
3660
3660
|
}
|
|
@@ -3664,7 +3664,7 @@ const H0 = {
|
|
|
3664
3664
|
singleAxisIndex: 2,
|
|
3665
3665
|
coordinateSystem: "singleAxis",
|
|
3666
3666
|
type: "scatter",
|
|
3667
|
-
data: (
|
|
3667
|
+
data: (l6 = this.meteogramData) == null ? void 0 : l6.hours,
|
|
3668
3668
|
label: {
|
|
3669
3669
|
show: !0,
|
|
3670
3670
|
fontSize: 10,
|
|
@@ -3679,7 +3679,7 @@ const H0 = {
|
|
|
3679
3679
|
singleAxisIndex: 3,
|
|
3680
3680
|
coordinateSystem: "singleAxis",
|
|
3681
3681
|
type: "scatter",
|
|
3682
|
-
data: (
|
|
3682
|
+
data: (s6 = this.meteogramData) == null ? void 0 : s6.xDates,
|
|
3683
3683
|
label: {
|
|
3684
3684
|
show: !0,
|
|
3685
3685
|
fontSize: 13,
|
|
@@ -3750,7 +3750,7 @@ const H0 = {
|
|
|
3750
3750
|
top: "50%",
|
|
3751
3751
|
height: "50%",
|
|
3752
3752
|
type: "category",
|
|
3753
|
-
data: (
|
|
3753
|
+
data: (o6 = this.meteogramData) == null ? void 0 : o6.dates,
|
|
3754
3754
|
axisLabel: {
|
|
3755
3755
|
show: !1
|
|
3756
3756
|
},
|
|
@@ -3770,8 +3770,8 @@ const H0 = {
|
|
|
3770
3770
|
},
|
|
3771
3771
|
singleAxis: [
|
|
3772
3772
|
{
|
|
3773
|
-
left: (
|
|
3774
|
-
right: (
|
|
3773
|
+
left: (n6 = (r6 = this.meteogramData) == null ? void 0 : r6.singleAxisOffset) == null ? void 0 : n6.l,
|
|
3774
|
+
right: (c6 = (d6 = this.meteogramData) == null ? void 0 : d6.singleAxisOffset) == null ? void 0 : c6.r,
|
|
3775
3775
|
type: "category",
|
|
3776
3776
|
show: !1,
|
|
3777
3777
|
axisLine: {
|
|
@@ -3791,13 +3791,13 @@ const H0 = {
|
|
|
3791
3791
|
// 隐藏分割线
|
|
3792
3792
|
},
|
|
3793
3793
|
boundaryGap: !1,
|
|
3794
|
-
data: (
|
|
3794
|
+
data: (h6 = this.meteogramData) == null ? void 0 : h6.dates,
|
|
3795
3795
|
top: "17%",
|
|
3796
3796
|
height: "2%"
|
|
3797
3797
|
},
|
|
3798
3798
|
{
|
|
3799
|
-
left: (
|
|
3800
|
-
right: (
|
|
3799
|
+
left: (p6 = (m6 = this.meteogramData) == null ? void 0 : m6.singleAxisOffset) == null ? void 0 : p6.l,
|
|
3800
|
+
right: (u6 = (g6 = this.meteogramData) == null ? void 0 : g6.singleAxisOffset) == null ? void 0 : u6.r,
|
|
3801
3801
|
type: "category",
|
|
3802
3802
|
show: !1,
|
|
3803
3803
|
axisLine: {
|
|
@@ -3817,13 +3817,13 @@ const H0 = {
|
|
|
3817
3817
|
// 隐藏分割线
|
|
3818
3818
|
},
|
|
3819
3819
|
boundaryGap: !1,
|
|
3820
|
-
data: (
|
|
3820
|
+
data: (f6 = this.meteogramData) == null ? void 0 : f6.dates,
|
|
3821
3821
|
top: "27%",
|
|
3822
3822
|
height: "2%"
|
|
3823
3823
|
},
|
|
3824
3824
|
{
|
|
3825
|
-
left: (
|
|
3826
|
-
right: (
|
|
3825
|
+
left: (y6 = (b6 = this.meteogramData) == null ? void 0 : b6.singleAxisOffset) == null ? void 0 : y6.l,
|
|
3826
|
+
right: (x6 = (w6 = this.meteogramData) == null ? void 0 : w6.singleAxisOffset) == null ? void 0 : x6.r,
|
|
3827
3827
|
type: "category",
|
|
3828
3828
|
show: !1,
|
|
3829
3829
|
axisLine: {
|
|
@@ -3843,13 +3843,13 @@ const H0 = {
|
|
|
3843
3843
|
// 隐藏分割线
|
|
3844
3844
|
},
|
|
3845
3845
|
boundaryGap: !1,
|
|
3846
|
-
data: (
|
|
3846
|
+
data: (v6 = this.meteogramData) == null ? void 0 : v6.dates,
|
|
3847
3847
|
top: "84%",
|
|
3848
3848
|
height: "2%"
|
|
3849
3849
|
},
|
|
3850
3850
|
{
|
|
3851
|
-
left: (
|
|
3852
|
-
right: (
|
|
3851
|
+
left: (k6 = (z6 = this.meteogramData) == null ? void 0 : z6.singleAxisOffset) == null ? void 0 : k6.l,
|
|
3852
|
+
right: (_6 = (F6 = this.meteogramData) == null ? void 0 : F6.singleAxisOffset) == null ? void 0 : _6.r,
|
|
3853
3853
|
type: "category",
|
|
3854
3854
|
show: !1,
|
|
3855
3855
|
axisLine: {
|
|
@@ -3869,7 +3869,7 @@ const H0 = {
|
|
|
3869
3869
|
// 隐藏分割线
|
|
3870
3870
|
},
|
|
3871
3871
|
boundaryGap: !1,
|
|
3872
|
-
data: (
|
|
3872
|
+
data: (M6 = this.meteogramData) == null ? void 0 : M6.dates,
|
|
3873
3873
|
top: "92%",
|
|
3874
3874
|
height: "2%"
|
|
3875
3875
|
}
|
|
@@ -3909,7 +3909,7 @@ const H0 = {
|
|
|
3909
3909
|
name: this.locale === "zhHans" ? "海表温度" : "Sea Temperature",
|
|
3910
3910
|
type: "line",
|
|
3911
3911
|
yAxisIndex: 0,
|
|
3912
|
-
data: (
|
|
3912
|
+
data: (D6 = this.meteogramData) == null ? void 0 : D6.sst,
|
|
3913
3913
|
symbol: "none",
|
|
3914
3914
|
smooth: !1,
|
|
3915
3915
|
itemStyle: {
|
|
@@ -3924,7 +3924,7 @@ const H0 = {
|
|
|
3924
3924
|
itemStyle: {
|
|
3925
3925
|
color: this.theme === "dark" ? "rgba(190, 218, 255,0.05)" : "rgba(239,239,239,0.6)"
|
|
3926
3926
|
},
|
|
3927
|
-
data: (
|
|
3927
|
+
data: (H6 = this.meteogramData) == null ? void 0 : H6.markarea,
|
|
3928
3928
|
emphasis: {
|
|
3929
3929
|
disabled: !0
|
|
3930
3930
|
}
|
|
@@ -3934,7 +3934,7 @@ const H0 = {
|
|
|
3934
3934
|
singleAxisIndex: 2,
|
|
3935
3935
|
coordinateSystem: "singleAxis",
|
|
3936
3936
|
type: "scatter",
|
|
3937
|
-
data: (
|
|
3937
|
+
data: (L6 = this.meteogramData) == null ? void 0 : L6.hours,
|
|
3938
3938
|
label: {
|
|
3939
3939
|
show: !0,
|
|
3940
3940
|
fontSize: 10,
|
|
@@ -3949,7 +3949,7 @@ const H0 = {
|
|
|
3949
3949
|
singleAxisIndex: 3,
|
|
3950
3950
|
coordinateSystem: "singleAxis",
|
|
3951
3951
|
type: "scatter",
|
|
3952
|
-
data: (
|
|
3952
|
+
data: (S6 = this.meteogramData) == null ? void 0 : S6.xDates,
|
|
3953
3953
|
label: {
|
|
3954
3954
|
show: !0,
|
|
3955
3955
|
fontSize: 13,
|
|
@@ -6962,7 +6962,7 @@ const T4 = {
|
|
|
6962
6962
|
},
|
|
6963
6963
|
handleDrawHurricaneMarker() {
|
|
6964
6964
|
var h, c, s, m, g, y, u, z, k, x, E, N, B, W, D, H, A, O, R, G, F, T, j, Y;
|
|
6965
|
-
const i =
|
|
6965
|
+
const i = C6.interpolate(this.tropicals, 1), t = JSON.parse(JSON.stringify(i)), e = [];
|
|
6966
6966
|
if (t.forEach((C) => {
|
|
6967
6967
|
var _, L, r;
|
|
6968
6968
|
(_ = C.properties) != null && _.name && !e.includes((L = C.properties) == null ? void 0 : L.name) && e.push((r = C.properties) == null ? void 0 : r.name);
|
|
@@ -7036,8 +7036,8 @@ const W4 = {
|
|
|
7036
7036
|
}
|
|
7037
7037
|
},
|
|
7038
7038
|
components: {
|
|
7039
|
-
TropicalGL:
|
|
7040
|
-
LatLngGL:
|
|
7039
|
+
TropicalGL: N6,
|
|
7040
|
+
LatLngGL: B6
|
|
7041
7041
|
},
|
|
7042
7042
|
data() {
|
|
7043
7043
|
return {
|
|
@@ -8929,7 +8929,7 @@ const Y4 = {
|
|
|
8929
8929
|
async prepare() {
|
|
8930
8930
|
var c, s, m, g, y, u, z, k, x, E, N, B, W, D;
|
|
8931
8931
|
this.loading = !0;
|
|
8932
|
-
const i =
|
|
8932
|
+
const i = C6.convert2Geojson([this.report]);
|
|
8933
8933
|
this.model && (i.features = i.features.filter((H) => {
|
|
8934
8934
|
var A, O;
|
|
8935
8935
|
return ((A = H.properties) == null ? void 0 : A.model) === this.model && ((O = H.properties) == null ? void 0 : O.type) === "forecast" || H.properties.type === "history";
|
|
@@ -9259,7 +9259,7 @@ export {
|
|
|
9259
9259
|
I2 as IdmBrand,
|
|
9260
9260
|
C2 as IdmLoading,
|
|
9261
9261
|
_t as IdmLoadingPlugin,
|
|
9262
|
-
|
|
9262
|
+
j6 as IdmMeteo,
|
|
9263
9263
|
Mt as IdmSpotPlugin,
|
|
9264
9264
|
Ft as MeteoPlugin,
|
|
9265
9265
|
B4 as SeasonalReport,
|