@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.cjs.js +1 -1
- package/dist/index.esm.js +17 -9
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
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 = (
|
|
13305
|
+
const o = (u) => {
|
|
13302
13306
|
typeof a.beforeClose == "function" && a.beforeClose();
|
|
13303
|
-
}, r = V(!0), i = (
|
|
13304
|
-
r.value =
|
|
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
|
|
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
|
-
},
|
|
13318
|
-
l.hideHeader &&
|
|
13319
|
-
const
|
|
13320
|
-
return typeof t.slots.default == "function" && (
|
|
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
|
};
|