@macroui/macroui-vue 2.1.44 → 2.1.46

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.es.js CHANGED
@@ -7039,15 +7039,15 @@ function Zu(a) {
7039
7039
  H && (H.realWidth += C);
7040
7040
  }
7041
7041
  i.value = E, l.value = !1;
7042
- } else if (D > E) {
7043
- if (l.value = !0, t) {
7042
+ } else if (D > E)
7043
+ if (t) {
7044
7044
  const C = E / D;
7045
7045
  T.forEach((j) => {
7046
7046
  j.realWidth = Math.floor(j.realWidth * C);
7047
- });
7048
- }
7049
- i.value = E;
7050
- } else
7047
+ }), l.value = !1, i.value = E;
7048
+ } else
7049
+ l.value = !0, i.value = D;
7050
+ else
7051
7051
  i.value = D, l.value = !1;
7052
7052
  const K = r.states.fixedColumns.value;
7053
7053
  K.length > 0 && (p.value = K.reduce((C, j) => C + B(j.realWidth, B(j.width, 80)), 0));
@@ -7679,7 +7679,7 @@ ${X}`, ae = new Blob([ge], { type: "text/csv;charset=utf-8;" }), Ve = document.c
7679
7679
  class: "btn btn-ghost btn-sm",
7680
7680
  onClick: Y[0] || (Y[0] = (X) => k.value = !k.value)
7681
7681
  }, [...Y[10] || (Y[10] = [
7682
- ea('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-132886fd><line x1="8" y1="6" x2="21" y2="6" data-v-132886fd></line><line x1="8" y1="12" x2="21" y2="12" data-v-132886fd></line><line x1="8" y1="18" x2="21" y2="18" data-v-132886fd></line><line x1="3" y1="6" x2="3.01" y2="6" data-v-132886fd></line><line x1="3" y1="12" x2="3.01" y2="12" data-v-132886fd></line><line x1="3" y1="18" x2="3.01" y2="18" data-v-132886fd></line></svg> 列设置 ', 2)
7682
+ ea('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-6d5d2050><line x1="8" y1="6" x2="21" y2="6" data-v-6d5d2050></line><line x1="8" y1="12" x2="21" y2="12" data-v-6d5d2050></line><line x1="8" y1="18" x2="21" y2="18" data-v-6d5d2050></line><line x1="3" y1="6" x2="3.01" y2="6" data-v-6d5d2050></line><line x1="3" y1="12" x2="3.01" y2="12" data-v-6d5d2050></line><line x1="3" y1="18" x2="3.01" y2="18" data-v-6d5d2050></line></svg> 列设置 ', 2)
7683
7683
  ])]),
7684
7684
  k.value ? (n(), o("div", id, [
7685
7685
  Y[11] || (Y[11] = c("div", { class: "text-sm font-semibold mb-2" }, "显示列", -1)),
@@ -8129,7 +8129,7 @@ ${X}`, ae = new Blob([ge], { type: "text/csv;charset=utf-8;" }), Ve = document.c
8129
8129
  ], 6);
8130
8130
  };
8131
8131
  }
8132
- }), Jd = /* @__PURE__ */ me(Gd, [["__scopeId", "data-v-132886fd"]]), Zd = /* @__PURE__ */ ie({
8132
+ }), Jd = /* @__PURE__ */ me(Gd, [["__scopeId", "data-v-6d5d2050"]]), Zd = /* @__PURE__ */ ie({
8133
8133
  name: "ElTableColumn",
8134
8134
  inheritAttrs: !1,
8135
8135
  __name: "table-column",