@fox-js/foxui-pad 4.1.1-3 → 4.1.1-4

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.esm.js CHANGED
@@ -5,7 +5,7 @@ import { ElAffix as y0, ElAlert as p0, ElAnchor as b0, ElAnchorLink as x0, ElAsi
5
5
  import { ArrowLeft as Fo, ArrowUp as Bn, Calendar as Si, Download as Mo, RefreshLeft as Oo, Loading as Ti, Setting as $i, CircleClose as Di, ArrowDown as Po, Close as Lo, ArrowRight as Ci } from "@element-plus/icons-vue";
6
6
  import { useFoxI18n as Oe } from "@fox-js/i18n";
7
7
  /*!
8
- * @fox-js/foxui-desktop v4.0.0 Mon Dec 09 2024 20:58:41 GMT+0800 (中国标准时间)
8
+ * @fox-js/foxui-desktop v4.0.0 Fri Dec 13 2024 12:06:20 GMT+0800 (中国标准时间)
9
9
  */
10
10
  const bn = window, ki = typeof window < "u";
11
11
  function Ni() {
@@ -4473,17 +4473,21 @@ function gc(e, t) {
4473
4473
  [`${i}__gutter`]: r.value && r.value.type !== "flow",
4474
4474
  [`${i}__stretch`]: l.span === "stretch"
4475
4475
  })), u = $(() => {
4476
- const d = {}, f = o && a ? Yn(a, !1) : null;
4477
- if (r.value && f)
4478
- if (r.value.type === "grid") {
4479
- const v = Un(f, r.value, l.span, l.offset);
4480
- Object.assign(d, v);
4481
- } else if (r.value.type === "flow") {
4482
- const v = Wn(f, r.value, l.span, l.offset, l.width);
4483
- Object.assign(d, v);
4484
- } else
4485
- return l.width && (d.width = Qe(l.width)), d;
4486
- else l.width && (d.width = Qe(l.width));
4476
+ const d = {};
4477
+ if (l.width)
4478
+ l.width !== "auto" && (d.width = Qe(l.width));
4479
+ else {
4480
+ const f = o && a ? Yn(a, !1) : null;
4481
+ if (r.value && f)
4482
+ if (r.value.type === "grid") {
4483
+ const v = Un(f, r.value, l.span, l.offset);
4484
+ Object.assign(d, v);
4485
+ } else if (r.value.type === "flow") {
4486
+ const v = Wn(f, r.value, l.span, l.offset, l.width);
4487
+ Object.assign(d, v);
4488
+ } else
4489
+ return l.width && (d.width = Qe(l.width)), d;
4490
+ }
4487
4491
  return d;
4488
4492
  });
4489
4493
  return () => {