@idmwx/idmui-gl4 4.0.2 → 4.0.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.
@@ -1,4 +1,4 @@
1
- import { l as b } from "./index-7d59fa0c.js";
1
+ import { l as b } from "./index-f8dcc38d.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-8b2ae2e5.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-c63bfc09.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-8b2ae2e5.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-c63bfc09.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-d7ed7f4d.js";
2
- import { W as f } from "./chunk-3VYIPD3A-8b2ae2e5.js";
3
- import "./index-7d59fa0c.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-dc6a48e9.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-c63bfc09.js";
3
+ import "./index-f8dcc38d.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -289,7 +289,7 @@ const bs = /* @__PURE__ */ le(fs, [["render", ys]]), ws = {
289
289
  source: this.source,
290
290
  filter: ["all", ["==", "$type", "Polygon"], ["!=", "disabled", !0]],
291
291
  paint: {
292
- "fill-opacity": 0.3,
292
+ "fill-opacity": 0.25,
293
293
  "fill-color": "#05f324"
294
294
  }
295
295
  },
@@ -303,7 +303,7 @@ const bs = /* @__PURE__ */ le(fs, [["render", ys]]), ws = {
303
303
  paint: {
304
304
  "line-color": "#05f324",
305
305
  "line-width": 2,
306
- "line-opacity": 1
306
+ "line-opacity": 0.6
307
307
  }
308
308
  },
309
309
  this.beforeLayer
@@ -790,11 +790,11 @@ const zs = {
790
790
  this.tideTableData = Nn.pickDailyExtremes(t, (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null ? void 0 : o.dateTime), this.initEchartData();
791
791
  },
792
792
  initEchartData() {
793
- var t;
793
+ var t, e;
794
794
  this.xDate = [], this.echartData = {
795
795
  height: []
796
- }, (t = this.tideTableData) == null || t.forEach((e) => {
797
- this.xDate.push(this.computeLocalTime(e.date, this.port, "MM-DD HH:mm")), this.echartData.height.push([this.computeLocalTime(e.date, this.port, "MM-DD HH:mm"), e.height ?? void 0, "m"]);
796
+ }, (e = (t = this.tideData) == null ? void 0 : t.heights) == null || e.forEach((o) => {
797
+ this.xDate.push(this.computeLocalTime(o.date, this.port, "MM-DD HH:mm")), this.echartData.height.push([this.computeLocalTime(o.date, this.port, "MM-DD HH:mm"), o.height ?? void 0, "m"]);
798
798
  }), this.initEchart();
799
799
  },
800
800
  initEchart() {
@@ -896,7 +896,7 @@ const zs = {
896
896
  {
897
897
  name: "Height",
898
898
  type: "line",
899
- showSymbol: !0,
899
+ showSymbol: !1,
900
900
  yAxisIndex: 0,
901
901
  lineStyle: {
902
902
  color: this.Theme.current.value.colors["map-perple"]
@@ -973,7 +973,7 @@ function Pc(t, e, o, i, a, r) {
973
973
  c("div", Cs, [
974
974
  c("div", Ps, [
975
975
  c("div", {
976
- class: ge(["fi mr-2 rounded elevation-4", `fi-${(u = o.port) != null && u.cntLoCode ? (f = (h = o.port) == null ? void 0 : h.cntLoCode) == null ? void 0 : f.toLowerCase() : "xx"}`]),
976
+ class: ge(["fi mr-2 rounded elevation-4 border", `fi-${(u = o.port) != null && u.cntLoCode ? (f = (h = o.port) == null ? void 0 : h.cntLoCode) == null ? void 0 : f.toLowerCase() : "xx"}`]),
977
977
  style: { width: "36px", height: "24px" }
978
978
  }, null, 2),
979
979
  c("div", null, b((L = o.port) == null ? void 0 : L.name), 1)
@@ -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__ */ le(zs, [["render", Pc], ["__scopeId", "data-v-0c944618"]]);
1279
+ const za = /* @__PURE__ */ le(zs, [["render", Pc], ["__scopeId", "data-v-5063148d"]]);
1280
1280
  const Mc = {
1281
1281
  name: "IdmPort",
1282
1282
  components: {
@@ -18548,52 +18548,52 @@ Te.capture = async (t, e, o) => {
18548
18548
  if (o !== rs)
18549
18549
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
18550
18550
  let i = await is(t, e), a = { img: async (u, h) => {
18551
- let { toImg: f } = await import("./toImg-3286c38a.js");
18551
+ let { toImg: f } = await import("./toImg-4e9d3261.js");
18552
18552
  return f(i, { ...u, ...h || {} });
18553
18553
  }, svg: async (u, h) => {
18554
- let { toSvg: f } = await import("./toImg-3286c38a.js");
18554
+ let { toSvg: f } = await import("./toImg-4e9d3261.js");
18555
18555
  return f(i, { ...u, ...h || {} });
18556
18556
  }, canvas: async (u, h) => {
18557
- let { toCanvas: f } = await import("./toCanvas-913bff34.js");
18557
+ let { toCanvas: f } = await import("./toCanvas-e8e59103.js");
18558
18558
  return f(i, { ...u, ...h || {} });
18559
18559
  }, blob: async (u, h) => {
18560
- let { toBlob: f } = await import("./toBlob-4a977977.js");
18560
+ let { toBlob: f } = await import("./toBlob-2fb38abd.js");
18561
18561
  return f(i, { ...u, ...h || {} });
18562
18562
  }, png: async (u, h) => {
18563
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-fddc7ea9.js");
18563
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-cddf524a.js");
18564
18564
  return f(i, { ...u, ...h || {}, format: "png" });
18565
18565
  }, jpeg: async (u, h) => {
18566
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-fddc7ea9.js");
18566
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-cddf524a.js");
18567
18567
  return f(i, { ...u, ...h || {}, format: "jpeg" });
18568
18568
  }, webp: async (u, h) => {
18569
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-fddc7ea9.js");
18569
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-cddf524a.js");
18570
18570
  return f(i, { ...u, ...h || {}, format: "webp" });
18571
18571
  }, download: async (u, h) => {
18572
- let { download: f } = await import("./download-0822b9fe.js");
18572
+ let { download: f } = await import("./download-2e0d5f87.js");
18573
18573
  return f(i, { ...u, ...h || {} });
18574
18574
  } }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
18575
- let { toSvg: h } = await import("./toImg-3286c38a.js");
18575
+ let { toSvg: h } = await import("./toImg-4e9d3261.js");
18576
18576
  return h(i, { ...e, ...u || {}, [po]: !0 });
18577
18577
  }, canvas: async (u) => {
18578
- let { toCanvas: h } = await import("./toCanvas-913bff34.js");
18578
+ let { toCanvas: h } = await import("./toCanvas-e8e59103.js");
18579
18579
  return h(i, { ...e, ...u || {}, [po]: !0 });
18580
18580
  }, png: async (u) => {
18581
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-fddc7ea9.js");
18581
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-cddf524a.js");
18582
18582
  return h(i, { ...e, ...u || {}, format: "png", [po]: !0 });
18583
18583
  }, jpeg: async (u) => {
18584
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-fddc7ea9.js");
18584
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-cddf524a.js");
18585
18585
  return h(i, { ...e, ...u || {}, format: "jpeg", [po]: !0 });
18586
18586
  }, jpg: async (u) => {
18587
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-fddc7ea9.js");
18587
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-cddf524a.js");
18588
18588
  return h(i, { ...e, ...u || {}, format: "jpeg", [po]: !0 });
18589
18589
  }, webp: async (u) => {
18590
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-fddc7ea9.js");
18590
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-cddf524a.js");
18591
18591
  return h(i, { ...e, ...u || {}, format: "webp", [po]: !0 });
18592
18592
  }, blob: async (u) => {
18593
- let { toBlob: h } = await import("./toBlob-4a977977.js");
18593
+ let { toBlob: h } = await import("./toBlob-2fb38abd.js");
18594
18594
  return h(i, { ...e, ...u || {}, [po]: !0 });
18595
18595
  }, img: async (u) => {
18596
- let { toImg: h } = await import("./toImg-3286c38a.js");
18596
+ let { toImg: h } = await import("./toImg-4e9d3261.js");
18597
18597
  return h(i, { ...e, ...u || {}, [po]: !0 });
18598
18598
  } } }, l = await D1("defineExports", r), n = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...a, ...n };
18599
18599
  s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
@@ -21474,7 +21474,7 @@ class mw {
21474
21474
  type: "vector"
21475
21475
  }
21476
21476
  },
21477
- sprite: "mapbox://sprites/neatchenheng/cmd894dwn036m01rf7anc0k0d/bph0p8ithotzwly53az7lwdmv",
21477
+ sprite: "mapbox://sprites/neatchenheng/cmd894dwn036m01rf7anc0k0d/a4hddmjrf5fra9ato9x4ly4es",
21478
21478
  glyphs: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
21479
21479
  projection: {
21480
21480
  name: "equirectangular"
@@ -23259,7 +23259,7 @@ class mw {
23259
23259
  type: "vector"
23260
23260
  }
23261
23261
  },
23262
- sprite: "mapbox://sprites/neatchenheng/cmdqwez32005b01re2w0k3zk4/3w0qcixxrxxonxutm2qkollqi",
23262
+ sprite: "mapbox://sprites/neatchenheng/cmdqwez32005b01re2w0k3zk4/c5oq1xmv6o1r273h1iu75xnpb",
23263
23263
  glyphs: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
23264
23264
  projection: {
23265
23265
  name: "equirectangular"
@@ -28776,7 +28776,7 @@ class mw {
28776
28776
  type: "vector"
28777
28777
  }
28778
28778
  },
28779
- sprite: "mapbox://sprites/neatchenheng/cmdiadnej03n101r485bs2m6a/3ypt5l12v7es7ihchvsclc3i2",
28779
+ sprite: "mapbox://sprites/neatchenheng/cmdiadnej03n101r485bs2m6a/5ttb8do7ur6vb2umauyhb76yl",
28780
28780
  glyphs: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
28781
28781
  projection: {
28782
28782
  name: "equirectangular"
@@ -40283,7 +40283,7 @@ class mw {
40283
40283
  i4: this.i4.source,
40284
40284
  hi: this.hi.source
40285
40285
  },
40286
- sprite: "mapbox://sprites/neatchenheng/cmddwkooj003i01ptch7p9gvz/8ej8fh7bqw5mhdjot66571v26",
40286
+ sprite: "mapbox://sprites/neatchenheng/cmddwkooj003i01ptch7p9gvz/af0r9i1kmddqpejz3gsqnwa2j",
40287
40287
  glyphs: "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
40288
40288
  projection: {
40289
40289
  name: "equirectangular"
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-7d59fa0c.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-f8dcc38d.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";