@fox-js/foxui-pc 4.1.1-19 → 4.1.1-20

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
@@ -13268,6 +13268,10 @@ function yv(e, n) {
13268
13268
  title: {
13269
13269
  type: [String]
13270
13270
  },
13271
+ // height
13272
+ height: {
13273
+ type: [String, Number]
13274
+ },
13271
13275
  // 隐藏header
13272
13276
  hideHeader: {
13273
13277
  type: [Boolean]
@@ -13298,14 +13302,18 @@ function yv(e, n) {
13298
13302
  Pe(vv, !0);
13299
13303
  const a = {};
13300
13304
  Pe(mv, a);
13301
- const o = (s) => {
13305
+ const o = (u) => {
13302
13306
  typeof a.beforeClose == "function" && a.beforeClose();
13303
- }, r = V(!0), i = (s) => {
13304
- r.value = s;
13305
- };
13307
+ }, r = V(!0), i = (u) => {
13308
+ r.value = u;
13309
+ }, s = T(() => {
13310
+ const u = {};
13311
+ return l.height && (u["--fox-dialog-item-body-height"] = Oe(l.height)), u;
13312
+ });
13306
13313
  return () => {
13307
- const u = {
13314
+ const c = {
13308
13315
  ...t.attrs,
13316
+ style: s.value,
13309
13317
  title: l.title,
13310
13318
  draggable: l.draggable,
13311
13319
  modelValue: r.value,
@@ -13314,10 +13322,10 @@ function yv(e, n) {
13314
13322
  "close-on-click-modal": l.closeOnClickModal,
13315
13323
  "close-on-press-escape": l.closeOnPressEscape,
13316
13324
  "before-close": o
13317
- }, c = ["fox-dialog-item "];
13318
- l.hideHeader && c.push("hide-header"), l.class && c.push(l.class), u.class = c.join(" ");
13319
- const h = {};
13320
- return typeof t.slots.default == "function" && (h.default = t.slots.default), O(po, u, h);
13325
+ }, h = ["fox-dialog-item "];
13326
+ l.hideHeader && h.push("hide-header"), l.class && h.push(l.class), c.class = h.join(" ");
13327
+ const v = {};
13328
+ return typeof t.slots.default == "function" && (v.default = t.slots.default), O(po, c, v);
13321
13329
  };
13322
13330
  }
13323
13331
  };