@idmui/extend 0.4.0 → 0.4.2

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 CHANGED
@@ -624,10 +624,13 @@ const FM = {
624
624
  }, yo = { key: 0 }, vo = ["rowspan"], mo = { key: 0 }, To = { key: 1 }, xo = { rowspan: "2" }, zo = { rowspan: "2" }, jo = { key: 0 }, Uo = { key: 1 }, fo = { rowspan: "1" }, Oo = { key: 0 }, Eo = { rowspan: "2" }, bo = { rowspan: "2" }, ho = { rowspan: "2" }, Co = { key: 0 }, Yo = { key: 0 }, po = ["rowspan"], Qo = { key: 0 }, So = { rowspan: "1" }, ko = { key: 0 }, wo = { key: 0 }, Ro = { key: 1 }, Vo = {
625
625
  class: "text-tips text-right",
626
626
  style: { "margin-top": "8px", "font-size": "12px", "line-height": "1.4" }
627
- }, Fo = { key: 0 }, Go = { class: "section waypoint-section" }, Po = { class: "header-block" }, Wo = { class: "bg-block" }, Zo = { class: "block-title" }, Lo = {
627
+ }, Fo = { key: 0 }, Go = { class: "section waypoint-section" }, Po = {
628
+ class: "header-block",
629
+ style: { display: "flex", "align-items": "center", "justify-content": "space-between" }
630
+ }, Wo = { class: "bg-block" }, Zo = { class: "block-title" }, Lo = {
628
631
  key: 0,
629
- class: "flex-end",
630
- style: { flex: "1" }
632
+ class: "print-hidden",
633
+ style: { display: "flex", "align-items": "center", "justify-content": "space-between" }
631
634
  }, Bo = ["onClick"], _o = { class: "advisory bg-blue-light-2" }, Ho = ["innerHTML"], Jo = { class: "major-waypoint" }, Xo = { class: "major-header bg-blue-light-2" }, Ko = {
632
635
  key: 0,
633
636
  class: "cell-item flex"
@@ -756,7 +759,7 @@ function WD(s, a, l, u, D, n) {
756
759
  }, null, 8, Do)
757
760
  ]),
758
761
  t("div", No, [
759
- a[17] || (a[17] = Gt('<div class="legend" data-v-a8548dde><span class="dangerous" data-v-a8548dde></span><span data-v-a8548dde>Danger</span></div><div class="legend" data-v-a8548dde><span class="severe" data-v-a8548dde></span><span data-v-a8548dde>Severe</span></div><div class="legend" data-v-a8548dde><span class="heavy" data-v-a8548dde></span><span data-v-a8548dde>Heavy</span></div>', 3)),
762
+ a[17] || (a[17] = Gt('<div class="legend" data-v-e90bc540><span class="dangerous" data-v-e90bc540></span><span data-v-e90bc540>Danger</span></div><div class="legend" data-v-e90bc540><span class="severe" data-v-e90bc540></span><span data-v-e90bc540>Severe</span></div><div class="legend" data-v-e90bc540><span class="heavy" data-v-e90bc540></span><span data-v-e90bc540>Heavy</span></div>', 3)),
760
763
  t("div", ro, [
761
764
  a[14] || (a[14] = t("b", { class: "route1" }, null, -1)),
762
765
  t("span", {
@@ -986,20 +989,20 @@ function WD(s, a, l, u, D, n) {
986
989
  t("div", Po, [
987
990
  t("div", Wo, [
988
991
  a[52] || (a[52] = t("i", { class: "iconfont icon-baobiao" }, null, -1)),
989
- t("div", Zo, "Advisory & Major Waypoint of Route " + i((va = (ya = (Aa = (ua = l.plan.speeds) == null ? void 0 : ua[D.speedIndex]) == null ? void 0 : Aa.speed) == null ? void 0 : ya.lane) == null ? void 0 : va.name), 1),
990
- ((Ta = (ma = l.plan) == null ? void 0 : ma.speeds) == null ? void 0 : Ta.length) > 1 ? (d(), M("div", Lo, [
991
- (d(!0), M(v, null, tt((xa = l.plan) == null ? void 0 : xa.speeds, (y, st) => {
992
- var Da, Na;
993
- return d(), M("div", {
994
- key: st,
995
- class: Q(["route-item print-hidden", D.speedIndex === st ? "active" : ""]),
996
- onClick: (ga) => {
997
- D.speedIndex = st, n.renderEchart();
998
- }
999
- }, i((Na = (Da = y.speed) == null ? void 0 : Da.lane) == null ? void 0 : Na.name), 11, Bo);
1000
- }), 128))
1001
- ])) : g("", !0)
1002
- ])
992
+ t("div", Zo, "Advisory & Major Waypoint of Route " + i((va = (ya = (Aa = (ua = l.plan.speeds) == null ? void 0 : ua[D.speedIndex]) == null ? void 0 : Aa.speed) == null ? void 0 : ya.lane) == null ? void 0 : va.name), 1)
993
+ ]),
994
+ ((Ta = (ma = l.plan) == null ? void 0 : ma.speeds) == null ? void 0 : Ta.length) > 1 ? (d(), M("div", Lo, [
995
+ (d(!0), M(v, null, tt((xa = l.plan) == null ? void 0 : xa.speeds, (y, st) => {
996
+ var Da, Na;
997
+ return d(), M("div", {
998
+ key: st,
999
+ class: Q(["route-item", D.speedIndex === st ? "active" : ""]),
1000
+ onClick: (ga) => {
1001
+ D.speedIndex = st, n.renderEchart();
1002
+ }
1003
+ }, i((Na = (Da = y.speed) == null ? void 0 : Da.lane) == null ? void 0 : Na.name), 11, Bo);
1004
+ }), 128))
1005
+ ])) : g("", !0)
1003
1006
  ]),
1004
1007
  t("div", _o, [
1005
1008
  D.editable ? (d(), Pt(f, {
@@ -1019,7 +1022,7 @@ function WD(s, a, l, u, D, n) {
1019
1022
  ]),
1020
1023
  t("div", Jo, [
1021
1024
  t("div", Xo, [
1022
- a[55] || (a[55] = Gt('<div class="cell-item flex" style="flex:2.5;" data-v-a8548dde>Major waypoint</div><div class="cell-item flex" style="flex:1.5;" data-v-a8548dde>Time</div><div class="cell-item flex" data-v-a8548dde>Nav</div><div class="cell-item flex" data-v-a8548dde>Dist <span class="text-units" data-v-a8548dde>(nm)</span></div>', 4)),
1025
+ a[55] || (a[55] = Gt('<div class="cell-item flex" style="flex:2.5;" data-v-e90bc540>Major waypoint</div><div class="cell-item flex" style="flex:1.5;" data-v-e90bc540>Time</div><div class="cell-item flex" data-v-e90bc540>Nav</div><div class="cell-item flex" data-v-e90bc540>Dist <span class="text-units" data-v-e90bc540>(nm)</span></div>', 4)),
1023
1026
  (ja = (za = l.plan) == null ? void 0 : za.voyage) != null && ja.showMajorWPSpd ? (d(), M("div", Ko, [...a[53] || (a[53] = [
1024
1027
  r("SOG ", -1),
1025
1028
  t("span", { class: "text-units" }, "(kts)", -1)
@@ -1225,7 +1228,7 @@ function WD(s, a, l, u, D, n) {
1225
1228
  ], 64))
1226
1229
  ]);
1227
1230
  }
1228
- const ZD = /* @__PURE__ */ Il(FM, [["render", WD], ["__scopeId", "data-v-a8548dde"]]), YU = {
1231
+ const ZD = /* @__PURE__ */ Il(FM, [["render", WD], ["__scopeId", "data-v-e90bc540"]]), YU = {
1229
1232
  install(s) {
1230
1233
  s.component("PlanReport", ZD);
1231
1234
  }