kt-factor-legend 1.1.1 → 1.1.3

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 { openBlock as c, createElementBlock as t, normalizeClass as m, Fragment as d, renderList as s, createElementVNode as b, toDisplayString as l, normalizeStyle as L, createCommentVNode as X, reactive as W, watch as x, onMounted as O, toRefs as Z } from "vue";
1
+ import { openBlock as c, createElementBlock as t, normalizeClass as m, Fragment as d, renderList as s, createElementVNode as b, toDisplayString as V, normalizeStyle as L, createCommentVNode as X, reactive as W, watch as x, onMounted as O, toRefs as Z } from "vue";
2
2
  const C = [
3
3
  {
4
4
  name: "积水深度(cm)",
@@ -546,7 +546,7 @@ const Y = (A, n) => {
546
546
  u[e] = z;
547
547
  return u;
548
548
  }, a = {
549
- name: "legendIndex",
549
+ name: "KtFactorLegend",
550
550
  props: {
551
551
  elements: {
552
552
  type: Array,
@@ -608,16 +608,16 @@ function p(A, n, u, e, z, g) {
608
608
  class: m(["kt-factor-legend", { dark: u.dark }])
609
609
  }, [
610
610
  (c(!0), t(d, null, s(A.factors, (r) => {
611
- var V;
611
+ var l;
612
612
  return c(), t(d, {
613
613
  key: r.key
614
614
  }, [
615
- (V = r == null ? void 0 : r.children) != null && V.length ? (c(), t("div", {
615
+ (l = r == null ? void 0 : r.children) != null && l.length ? (c(), t("div", {
616
616
  key: 0,
617
617
  class: m(["kt-factor-legend-group", { "kt-wind-l": r.key == "wind-l" }])
618
618
  }, [
619
619
  b("div", F, [
620
- b("div", N, l(r.name), 1),
620
+ b("div", N, V(r.name), 1),
621
621
  r.type == "icon" ? (c(), t("div", f, [
622
622
  (c(!0), t(d, null, s(r.children, (w, B) => (c(), t("div", { key: B }, [
623
623
  b("img", {
@@ -625,7 +625,7 @@ function p(A, n, u, e, z, g) {
625
625
  src1: w.icon,
626
626
  alt: ""
627
627
  }, null, 8, H),
628
- b("div", P, l(w.text), 1)
628
+ b("div", P, V(w.text), 1)
629
629
  ]))), 128))
630
630
  ])) : (c(), t("div", h, [
631
631
  (c(!0), t(d, null, s(r.children, (w, B) => (c(), t("div", { key: B }, [
@@ -633,7 +633,7 @@ function p(A, n, u, e, z, g) {
633
633
  class: "bar",
634
634
  style: L({ backgroundColor: w.color })
635
635
  }, null, 4),
636
- b("div", y, l(w.text), 1)
636
+ b("div", y, V(w.text), 1)
637
637
  ]))), 128))
638
638
  ]))
639
639
  ])