@idmwx/idmui-report 3.3.4 → 3.3.5

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,5 +1,6 @@
1
1
  export default _sfc_main;
2
2
  declare namespace _sfc_main {
3
+ const name: string;
3
4
  const components: undefined;
4
5
  namespace props {
5
6
  namespace report {
@@ -8,6 +9,11 @@ declare namespace _sfc_main {
8
9
  export { _default as default };
9
10
  }
10
11
  }
12
+ const emits: string[];
13
+ function data(): {
14
+ inventory: never[];
15
+ loading: boolean;
16
+ };
11
17
  namespace computed {
12
18
  function computeUTCTime(): (time: any, format?: string) => string;
13
19
  }
@@ -18,10 +24,6 @@ declare namespace _sfc_main {
18
24
  }
19
25
  export { report_1 as report };
20
26
  }
21
- function data(): {
22
- inventory: never[];
23
- loading: boolean;
24
- };
25
27
  namespace methods {
26
28
  function commit(content: any): void;
27
29
  function prepare(): void;
package/dist/index.js CHANGED
@@ -10357,9 +10357,10 @@ function TL(s, c, o, u, i, l) {
10357
10357
  }
10358
10358
  const OL = /* @__PURE__ */ Ht(IB, [["render", TL], ["__scopeId", "data-v-24e80f66"]]);
10359
10359
  const EL = {
10360
+ name: "OrmVoyageIndex",
10360
10361
  components: {
10361
10362
  Brand: lo,
10362
- Summary: wF,
10363
+ VoySummary: wF,
10363
10364
  Inventory: RB,
10364
10365
  Chart: OL,
10365
10366
  Loading: Cl
@@ -10370,6 +10371,13 @@ const EL = {
10370
10371
  default: () => ({})
10371
10372
  }
10372
10373
  },
10374
+ emits: ["commit"],
10375
+ data() {
10376
+ return {
10377
+ inventory: [],
10378
+ loading: !0
10379
+ };
10380
+ },
10373
10381
  computed: {
10374
10382
  computeUTCTime() {
10375
10383
  return function(s, c = "MMM-DD/HHmm[Z]") {
@@ -10387,12 +10395,6 @@ const EL = {
10387
10395
  immediate: !0
10388
10396
  }
10389
10397
  },
10390
- data() {
10391
- return {
10392
- inventory: [],
10393
- loading: !0
10394
- };
10395
- },
10396
10398
  methods: {
10397
10399
  commit(s) {
10398
10400
  this.$emit("commit", s);
@@ -10406,7 +10408,7 @@ const EL = {
10406
10408
  u.inventory.sample.hours.forEach((m, T) => {
10407
10409
  l || (l = m), (!y || r) && (y = m, r = !1), l.segIndex === m.segIndex ? l.segLength = (l.segLength || 0) + 1 : (l = m, l.segLength = 1), y.noonLength = (y.noonLength || 0) + 1;
10408
10410
  let O = m.type.charAt(0);
10409
- ["N", "M", "E"].includes(O) && (r = !0, y.dailyAvgCf = m.dailyAvgCf, y.avgSpdCalc = m.avgSpdCalc, y.distanceCalc = m.distanceCalc, y.noonUtc = m.utc, y.noon = m.noon), m.abbrev = O, O = O === "M" ? "*" : O === "A" ? "" : O, m.time = `${O} ${this.computeUTCTime(m.utc, "MMM-DD/HHmm[Z]")}`, m._lng = ie.lng2pretty(m.lng), m._lat = ie.lat2pretty(m.lat), m.cp = i, s.push(m);
10411
+ ["N", "M", "E"].includes(O) && (r = !0, y.dailyAvgCf = m.dailyAvgCf, y.avgSpdCalc = m.avgSpdCalc, y.distanceCalc = m.distanceCalc, y.noonUtc = m.utc), m.abbrev = O, O = O === "M" ? "*" : O === "A" ? "" : O, m.time = `${O} ${this.computeUTCTime(m.utc, "MMM-DD/HHmm[Z]")}`, m._lng = ie.lng2pretty(m.lng), m._lat = ie.lat2pretty(m.lat), m.cp = i, s.push(m);
10410
10412
  });
10411
10413
  }), s.sort((u, i) => u.date - i.date), this.inventory = s;
10412
10414
  }
@@ -10414,7 +10416,7 @@ const EL = {
10414
10416
  };
10415
10417
  function PL(s, c, o, u, i, l) {
10416
10418
  var x, k;
10417
- const y = lt("Brand"), r = lt("Loading"), m = lt("Summary"), T = lt("Inventory"), O = lt("Chart");
10419
+ const y = lt("Brand"), r = lt("Loading"), m = lt("VoySummary"), T = lt("Inventory"), O = lt("Chart");
10418
10420
  return n(), d("div", {
10419
10421
  class: A((k = (x = o.report) == null ? void 0 : x.weather) != null && k.referenceOnly ? "report-section watermark" : "report-section")
10420
10422
  }, [
@@ -10443,7 +10445,7 @@ function PL(s, c, o, u, i, l) {
10443
10445
  }, null, 8, ["report", "inventory"])
10444
10446
  ], 2);
10445
10447
  }
10446
- const WL = /* @__PURE__ */ Ht(EL, [["render", PL], ["__scopeId", "data-v-0b5d13da"]]), dot = {
10448
+ const WL = /* @__PURE__ */ Ht(EL, [["render", PL], ["__scopeId", "data-v-f77ce72a"]]), dot = {
10447
10449
  install(s) {
10448
10450
  s.component("OpiVoyageReport", G4), s.component("FliVoyageReport", w6), s.component("OrmVoyageReport", WL);
10449
10451
  }