hcui-package 1.7.0 → 1.7.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.
@@ -34223,7 +34223,7 @@ const RJ = /* @__PURE__ */ Ye({
34223
34223
  t.columnsApi && (C = fi(s.value)), i.value.open(C);
34224
34224
  };
34225
34225
  return Re(() => {
34226
- p(), r.listenTo(l.value, (C) => {
34226
+ p(), l.value && r.listenTo(l.value, (C) => {
34227
34227
  p();
34228
34228
  });
34229
34229
  }), $n(async () => {
@@ -77617,14 +77617,19 @@ const dJ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
77617
77617
  expose: t,
77618
77618
  emit: n
77619
77619
  }) {
77620
- const o = e, r = {
77620
+ const o = e;
77621
+ o.schemas.forEach((C) => {
77622
+ C.show = !0;
77623
+ });
77624
+ const r = {
77621
77625
  NInput: Sa,
77622
77626
  NSelect: HI,
77623
77627
  InputTree: ZU,
77624
77628
  NDatePicker: v6
77625
77629
  }, i = n, l = ie(!1), s = ie(null), c = ie(null), f = PF(), d = ie(3), u = F(() => o.schemas.length >= d.value), p = F(() => o.formLayout === "grid" ? {
77626
77630
  display: "grid",
77627
- gridTemplateColumns: `repeat(${d.value}, minmax(${o.cellMinWidth}px, 1fr))`,
77631
+ gridTemplateColumns: `repeat(${d.value},
77632
+ minmax(${o.cellMinWidth}px, 1fr))`,
77628
77633
  gap: "10px"
77629
77634
  } : o.formLayout === "normal" ? {
77630
77635
  display: "flex",
@@ -77633,7 +77638,7 @@ const dJ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
77633
77638
  function g(C) {
77634
77639
  const D = Math.floor(C / o.getlineNumWidth);
77635
77640
  d.value = D, l.value || (o.schemas.forEach((k, w) => {
77636
- w <= D - 2 && (k.show = !0);
77641
+ w <= D - 2 ? k.show = !0 : k.show = !1;
77637
77642
  }), l.value = !0);
77638
77643
  }
77639
77644
  const m = (C, D) => C.component(C, D), b = async () => {
@@ -77655,8 +77660,8 @@ const dJ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
77655
77660
  }), v.value = !v.value;
77656
77661
  };
77657
77662
  return Re(() => {
77658
- f.listenTo(s.value, (C) => {
77659
- g(C.offsetWidth);
77663
+ s.value && f.listenTo(s.value, (C) => {
77664
+ o.formLayout === "grid" && g(C.offsetWidth);
77660
77665
  });
77661
77666
  }), $n(async () => {
77662
77667
  }), co(() => {