@idmwx/idmui-gl4 4.0.5 → 4.0.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.
@@ -1,4 +1,4 @@
1
- import { l as b } from "./index-8a3e37db.js";
1
+ import { l as b } from "./index-9c7e45df.js";
2
2
  function M(e) {
3
3
  return typeof e == "string" && /^data:image\/svg\+xml/i.test(e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { W as a } from "./chunk-3VYIPD3A-14851f73.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-88dd8da6.js";
2
2
  async function o(r, t) {
3
3
  let i = await a(r, t), e = new Image();
4
4
  return e.src = i.toDataURL(`image/${t.format}`, t.quality), await e.decode(), e.style.width = `${i.width / t.dpr}px`, e.style.height = `${i.height / t.dpr}px`, e;
@@ -1,4 +1,4 @@
1
- import { W as m } from "./chunk-3VYIPD3A-14851f73.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-88dd8da6.js";
2
2
  async function a(n, e) {
3
3
  let o = e.type;
4
4
  if (o === "svg") {
@@ -1,6 +1,6 @@
1
- import { m as d } from "./chunk-T4JIPPZO-6087a6f2.js";
2
- import { W as f } from "./chunk-3VYIPD3A-14851f73.js";
3
- import "./index-8a3e37db.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-d9da37b9.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-88dd8da6.js";
3
+ import "./index-9c7e45df.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -673,7 +673,7 @@ const zs = {
673
673
  portId: {
674
674
  handler() {
675
675
  var t, e, o;
676
- this.portId && (this.$emit("closeAllDetail"), (o = (e = (t = this.$parent) == null ? void 0 : t.$parent) == null ? void 0 : e.$refs.idmIideStation) == null || o.handleCloseDetail(), this.fetchForecastData());
676
+ this.portId && (this.$emit("closeAllDetail"), (o = (e = (t = this.$parent) == null ? void 0 : t.$parent) == null ? void 0 : e.$refs.idmIideStation) == null || o.handleCloseDetail(), this.fetchForecastData(), this.showTideDetail && this.fetchTidesData());
677
677
  },
678
678
  immediate: !0
679
679
  },
@@ -759,7 +759,7 @@ const zs = {
759
759
  });
760
760
  },
761
761
  handleTide() {
762
- this.showTideDetail = !0, this.showPortDetail = !1, Object.keys(this.tideData).length === 0 && this.fetchTidesData(), this.$nextTick(() => {
762
+ this.showTideDetail = !0, Object.keys(this.tideData).length === 0 && this.fetchTidesData(), this.$nextTick(() => {
763
763
  const t = this.$refs.scrollDom;
764
764
  console.log(t), t && t.scrollTo({
765
765
  top: t.scrollHeight - t.clientHeight
@@ -1276,7 +1276,7 @@ function Pc(t, e, o, i, a, r) {
1276
1276
  _: 1
1277
1277
  }, 8, ["class"]);
1278
1278
  }
1279
- const za = /* @__PURE__ */ se(zs, [["render", Pc], ["__scopeId", "data-v-5063148d"]]);
1279
+ const za = /* @__PURE__ */ se(zs, [["render", Pc], ["__scopeId", "data-v-8ad9c5ac"]]);
1280
1280
  const Mc = {
1281
1281
  name: "IdmPort",
1282
1282
  components: {
@@ -1347,7 +1347,7 @@ const Mc = {
1347
1347
  "text-anchor": "bottom",
1348
1348
  "text-field": "{name}",
1349
1349
  "text-rotation-alignment": "viewport",
1350
- "text-size": 10,
1350
+ "text-size": 12,
1351
1351
  "text-offset": [0, 1.6]
1352
1352
  },
1353
1353
  paint: {
@@ -1423,7 +1423,7 @@ function Ic(t, e, o, i, a, r) {
1423
1423
  }), null, 16, ["port-id", "port", "forecast-model", "onClose"])) : D("", !0)
1424
1424
  ]);
1425
1425
  }
1426
- const Dc = /* @__PURE__ */ se(Mc, [["render", Ic], ["__scopeId", "data-v-d5b056e5"]]), Ec = {
1426
+ const Dc = /* @__PURE__ */ se(Mc, [["render", Ic], ["__scopeId", "data-v-bf2d950b"]]), Ec = {
1427
1427
  name: "IdmLoadLine",
1428
1428
  props: {
1429
1429
  map: {
@@ -11860,7 +11860,7 @@ const Fg = {
11860
11860
  "aria-hidden": "true"
11861
11861
  }, t0 = ["xlink:href"];
11862
11862
  function o0(t, e, o, i, a, r) {
11863
- const l = z("VBtn"), n = z("VTooltip"), s = z("VCardTitle"), d = z("VDivider"), m = z("VTextField"), g = z("DateTimePicker"), p = z("VCol"), y = z("VRow"), u = z("VBtnToggle"), h = z("VCardText"), f = z("VCardActions"), _ = z("VForm"), S = z("VCard"), k = z("v-icon");
11863
+ const l = z("VBtn"), n = z("VTooltip"), s = z("VCardTitle"), d = z("VDivider"), m = z("VTextField"), g = z("DateTimePicker"), p = z("VCol"), y = z("VRow"), u = z("VBtnToggle"), h = z("VCardText"), f = z("VCardActions"), _ = z("VForm"), S = z("VCard"), k = z("VIcon");
11864
11864
  return A(), I("div", Gg, [
11865
11865
  c("div", {
11866
11866
  class: "menu-bar-box transition pa-1",
@@ -12197,18 +12197,18 @@ function o0(t, e, o, i, a, r) {
12197
12197
  var C, L, P, M, T, F, G, N, Y, q, le, ne;
12198
12198
  return [
12199
12199
  c("div", lf, [
12200
- c("div", nf, b(t.$t("time.time")) + " : ", 1),
12200
+ c("div", nf, b(t.$t("time.time")) + " :", 1),
12201
12201
  c("div", sf, b(r.computedTzTime((C = a.currentHourData) == null ? void 0 : C.utc)), 1)
12202
12202
  ]),
12203
12203
  c("div", cf, [
12204
12204
  e[22] || (e[22] = c("div", {
12205
12205
  style: { width: "100px" },
12206
12206
  class: "pa-0 pr-2 text-right text-label"
12207
- }, "LT : ", -1)),
12207
+ }, "LT :", -1)),
12208
12208
  c("div", mf, b(r.computedLocalTime((L = a.currentHourData) == null ? void 0 : L.utc)), 1)
12209
12209
  ]),
12210
12210
  c("div", df, [
12211
- c("div", hf, b(t.$t("weather.wind")) + " : ", 1),
12211
+ c("div", hf, b(t.$t("weather.wind")) + " :", 1),
12212
12212
  c("div", uf, [
12213
12213
  (P = a.currentHourData) != null && P.windBearing ? (A(), E(k, {
12214
12214
  key: 0,
@@ -12218,7 +12218,7 @@ function o0(t, e, o, i, a, r) {
12218
12218
  }, null, 8, ["style"])) : D("", !0),
12219
12219
  c("div", null, b(a.currentHourData.windSpeed ?? "-") + "kts / BF" + b(a.currentHourData.windLevel ?? "-"), 1)
12220
12220
  ]),
12221
- c("div", pf, b(t.$t("weather.sigWave")) + " : ", 1),
12221
+ c("div", pf, b(t.$t("weather.sigWave")) + " :", 1),
12222
12222
  c("div", gf, [
12223
12223
  (T = a.currentHourData) != null && T.sigwaveBearing ? (A(), E(k, {
12224
12224
  key: 0,
@@ -12230,7 +12230,7 @@ function o0(t, e, o, i, a, r) {
12230
12230
  ])
12231
12231
  ]),
12232
12232
  c("div", ff, [
12233
- c("div", yf, b(t.$t("weather.windWave")) + " : ", 1),
12233
+ c("div", yf, b(t.$t("weather.windWave")) + " :", 1),
12234
12234
  c("div", bf, [
12235
12235
  (G = a.currentHourData) != null && G.windwaveBearing ? (A(), E(k, {
12236
12236
  key: 0,
@@ -12240,7 +12240,7 @@ function o0(t, e, o, i, a, r) {
12240
12240
  }, null, 8, ["style"])) : D("", !0),
12241
12241
  c("div", null, b(a.currentHourData.windwaveHeight ?? "-") + "m / " + b(a.currentHourData.windwavePeriod ?? "-") + "s", 1)
12242
12242
  ]),
12243
- c("div", wf, b(t.$t("weather.swell")) + " : ", 1),
12243
+ c("div", wf, b(t.$t("weather.swell")) + " :", 1),
12244
12244
  c("div", xf, [
12245
12245
  (Y = a.currentHourData) != null && Y.swellBearing ? (A(), E(k, {
12246
12246
  key: 0,
@@ -12252,7 +12252,7 @@ function o0(t, e, o, i, a, r) {
12252
12252
  ])
12253
12253
  ]),
12254
12254
  c("div", vf, [
12255
- c("div", Af, b(t.$t("weather.current")) + " : ", 1),
12255
+ c("div", Af, b(t.$t("weather.current")) + " :", 1),
12256
12256
  c("div", kf, [
12257
12257
  (le = a.currentHourData) != null && le.currentBearing ? (A(), E(k, {
12258
12258
  key: 0,
@@ -12262,13 +12262,13 @@ function o0(t, e, o, i, a, r) {
12262
12262
  }, null, 8, ["style"])) : D("", !0),
12263
12263
  c("div", null, b(a.currentHourData.currentSpeed ?? "-") + "kts", 1)
12264
12264
  ]),
12265
- c("div", Lf, b(t.$t("weather.visibility")) + " : ", 1),
12265
+ c("div", Lf, b(t.$t("weather.visibility")) + " :", 1),
12266
12266
  c("div", _f, b(a.currentHourData.visibility ?? "-") + "nm", 1)
12267
12267
  ]),
12268
12268
  a.currentHourData.showIce ? (A(), I("div", zf, [
12269
- c("div", Cf, b(t.$t("weather.sit")) + " : ", 1),
12269
+ c("div", Cf, b(t.$t("weather.sit")) + " :", 1),
12270
12270
  c("div", Pf, b(a.currentHourData.sit ?? "-") + "m", 1),
12271
- c("div", Mf, b(t.$t("weather.sic")) + " : ", 1),
12271
+ c("div", Mf, b(t.$t("weather.sic")) + " :", 1),
12272
12272
  c("div", Sf, b(a.currentHourData.sic ?? "-") + "%", 1)
12273
12273
  ])) : D("", !0)
12274
12274
  ];
@@ -12414,14 +12414,14 @@ function o0(t, e, o, i, a, r) {
12414
12414
  var C, L, P, M, T, F, G, N, Y, q, le, ne;
12415
12415
  return [
12416
12416
  c("div", Ef, [
12417
- c("div", Bf, b(t.$t("time.time")) + " : ", 1),
12417
+ c("div", Bf, b(t.$t("time.time")) + " :", 1),
12418
12418
  c("div", Ff, b(r.computedTzTime((C = a.currentHourData) == null ? void 0 : C.utc)), 1)
12419
12419
  ]),
12420
12420
  c("div", Gf, [
12421
12421
  e[30] || (e[30] = c("div", {
12422
12422
  style: { width: "60px" },
12423
12423
  class: "pa-0 pr-2 text-right text-label"
12424
- }, "LT : ", -1)),
12424
+ }, "LT :", -1)),
12425
12425
  c("div", Nf, b(r.computedLocalTime((L = a.currentHourData) == null ? void 0 : L.utc)), 1)
12426
12426
  ]),
12427
12427
  c("div", jf, [
@@ -18652,52 +18652,52 @@ Te.capture = async (t, e, o) => {
18652
18652
  if (o !== rs)
18653
18653
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
18654
18654
  let i = await is(t, e), a = { img: async (u, h) => {
18655
- let { toImg: f } = await import("./toImg-cbe67e65.js");
18655
+ let { toImg: f } = await import("./toImg-2800ae29.js");
18656
18656
  return f(i, { ...u, ...h || {} });
18657
18657
  }, svg: async (u, h) => {
18658
- let { toSvg: f } = await import("./toImg-cbe67e65.js");
18658
+ let { toSvg: f } = await import("./toImg-2800ae29.js");
18659
18659
  return f(i, { ...u, ...h || {} });
18660
18660
  }, canvas: async (u, h) => {
18661
- let { toCanvas: f } = await import("./toCanvas-54fa79a3.js");
18661
+ let { toCanvas: f } = await import("./toCanvas-3c7fbf69.js");
18662
18662
  return f(i, { ...u, ...h || {} });
18663
18663
  }, blob: async (u, h) => {
18664
- let { toBlob: f } = await import("./toBlob-c728dff9.js");
18664
+ let { toBlob: f } = await import("./toBlob-8bcad3ef.js");
18665
18665
  return f(i, { ...u, ...h || {} });
18666
18666
  }, png: async (u, h) => {
18667
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-adcf9f5b.js");
18667
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-1902a349.js");
18668
18668
  return f(i, { ...u, ...h || {}, format: "png" });
18669
18669
  }, jpeg: async (u, h) => {
18670
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-adcf9f5b.js");
18670
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-1902a349.js");
18671
18671
  return f(i, { ...u, ...h || {}, format: "jpeg" });
18672
18672
  }, webp: async (u, h) => {
18673
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-adcf9f5b.js");
18673
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-1902a349.js");
18674
18674
  return f(i, { ...u, ...h || {}, format: "webp" });
18675
18675
  }, download: async (u, h) => {
18676
- let { download: f } = await import("./download-754e640b.js");
18676
+ let { download: f } = await import("./download-34115046.js");
18677
18677
  return f(i, { ...u, ...h || {} });
18678
18678
  } }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
18679
- let { toSvg: h } = await import("./toImg-cbe67e65.js");
18679
+ let { toSvg: h } = await import("./toImg-2800ae29.js");
18680
18680
  return h(i, { ...e, ...u || {}, [po]: !0 });
18681
18681
  }, canvas: async (u) => {
18682
- let { toCanvas: h } = await import("./toCanvas-54fa79a3.js");
18682
+ let { toCanvas: h } = await import("./toCanvas-3c7fbf69.js");
18683
18683
  return h(i, { ...e, ...u || {}, [po]: !0 });
18684
18684
  }, png: async (u) => {
18685
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-adcf9f5b.js");
18685
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-1902a349.js");
18686
18686
  return h(i, { ...e, ...u || {}, format: "png", [po]: !0 });
18687
18687
  }, jpeg: async (u) => {
18688
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-adcf9f5b.js");
18688
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-1902a349.js");
18689
18689
  return h(i, { ...e, ...u || {}, format: "jpeg", [po]: !0 });
18690
18690
  }, jpg: async (u) => {
18691
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-adcf9f5b.js");
18691
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-1902a349.js");
18692
18692
  return h(i, { ...e, ...u || {}, format: "jpeg", [po]: !0 });
18693
18693
  }, webp: async (u) => {
18694
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-adcf9f5b.js");
18694
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-1902a349.js");
18695
18695
  return h(i, { ...e, ...u || {}, format: "webp", [po]: !0 });
18696
18696
  }, blob: async (u) => {
18697
- let { toBlob: h } = await import("./toBlob-c728dff9.js");
18697
+ let { toBlob: h } = await import("./toBlob-8bcad3ef.js");
18698
18698
  return h(i, { ...e, ...u || {}, [po]: !0 });
18699
18699
  }, img: async (u) => {
18700
- let { toImg: h } = await import("./toImg-cbe67e65.js");
18700
+ let { toImg: h } = await import("./toImg-2800ae29.js");
18701
18701
  return h(i, { ...e, ...u || {}, [po]: !0 });
18702
18702
  } } }, l = await I1("defineExports", r), n = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...a, ...n };
18703
18703
  s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
@@ -22926,7 +22926,7 @@ class mw {
22926
22926
  layout: {
22927
22927
  visibility: "none",
22928
22928
  "text-field": ["to-string", ["get", "Location_EN"]],
22929
- "text-size": 10,
22929
+ "text-size": 12,
22930
22930
  "icon-image": "tide",
22931
22931
  "icon-size": 1,
22932
22932
  "icon-offset": [0, -13],
@@ -24697,7 +24697,7 @@ class mw {
24697
24697
  layout: {
24698
24698
  visibility: "none",
24699
24699
  "text-field": ["to-string", ["get", "Location_EN"]],
24700
- "text-size": 10,
24700
+ "text-size": 12,
24701
24701
  "icon-image": "tide",
24702
24702
  "icon-size": 1,
24703
24703
  "icon-offset": [0, -13],
@@ -29581,7 +29581,7 @@ class mw {
29581
29581
  layout: {
29582
29582
  visibility: "none",
29583
29583
  "text-field": ["to-string", ["get", "Location_EN"]],
29584
- "text-size": 10,
29584
+ "text-size": 12,
29585
29585
  "icon-image": "tide",
29586
29586
  "icon-size": 1,
29587
29587
  "icon-offset": [0, -13],
@@ -40619,7 +40619,7 @@ class mw {
40619
40619
  layout: {
40620
40620
  visibility: "none",
40621
40621
  "text-field": ["to-string", ["get", "Location_EN"]],
40622
- "text-size": 10,
40622
+ "text-size": 12,
40623
40623
  "icon-image": "tide",
40624
40624
  "icon-size": 1,
40625
40625
  "icon-offset": [0, -13],
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as D, c as M, D as n, L as x, a as T, b as W, M as h, g as V, e as f, P as k, S as w, T as y, V as B, f as d, W as u, d as v } from "./index-8a3e37db.js";
1
+ import { B as D, c as M, D as n, L as x, a as T, b as W, M as h, g as V, e as f, P as k, S as w, T as y, V as B, f as d, W as u, d as v } from "./index-9c7e45df.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";