@fox-js/foxui-pad 4.1.1 → 4.1.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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/style.css +4 -4
- package/dist/style.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4353,8 +4353,8 @@ var { componentName: Zc, create: Jc, scope: e2 } = ve("text"), t2 = Jc(Qc(Zc, e2
|
|
|
4353
4353
|
default: () => !0
|
|
4354
4354
|
},
|
|
4355
4355
|
zIndex: { type: [String, Number] },
|
|
4356
|
-
|
|
4357
|
-
|
|
4356
|
+
customClass: { type: [String] },
|
|
4357
|
+
customStyle: { type: [Object] },
|
|
4358
4358
|
leaveHide: { type: [Boolean] },
|
|
4359
4359
|
persistenet: {
|
|
4360
4360
|
type: [Boolean],
|
|
@@ -4580,10 +4580,10 @@ function a2(e, t, a = !1) {
|
|
|
4580
4580
|
});
|
|
4581
4581
|
}, I = S(() => {
|
|
4582
4582
|
const g = { [s]: !0 };
|
|
4583
|
-
return T.value.startsWith("top") ? g["is-top"] = !0 : T.value.startsWith("right") ? g["is-right"] = !0 : T.value.startsWith("bottom") ? g["is-bottom"] = !0 : T.value.startsWith("left") && (g["is-left"] = !0), g[`is-${n.effect}`] = !0, !y.value && A.value && (g["is-opacity"] = !0), y.value && A.value && (g["is-show"] = !0), A.value || (g["is-hide"] = !0), n.
|
|
4583
|
+
return T.value.startsWith("top") ? g["is-top"] = !0 : T.value.startsWith("right") ? g["is-right"] = !0 : T.value.startsWith("bottom") ? g["is-bottom"] = !0 : T.value.startsWith("left") && (g["is-left"] = !0), g[`is-${n.effect}`] = !0, !y.value && A.value && (g["is-opacity"] = !0), y.value && A.value && (g["is-show"] = !0), A.value || (g["is-hide"] = !0), n.customClass && typeof n.customClass == "string" && (g[`${n.customClass}`] = !0), g;
|
|
4584
4584
|
}), V = S(() => {
|
|
4585
4585
|
const g = {};
|
|
4586
|
-
return i.value.top !== null && (g.top = `${i.value.top}px`), i.value.right !== null && (g.right = `${i.value.right}px`), i.value.bottom !== null && (g.bottom = `${i.value.bottom}px`), i.value.left !== null && (g.left = `${i.value.left}px`), n.width && (g.width = n.width), n.zIndex && (g["z-index"] = `${n.zIndex}`), n.
|
|
4586
|
+
return i.value.top !== null && (g.top = `${i.value.top}px`), i.value.right !== null && (g.right = `${i.value.right}px`), i.value.bottom !== null && (g.bottom = `${i.value.bottom}px`), i.value.left !== null && (g.left = `${i.value.left}px`), n.width && (g.width = n.width), n.zIndex && (g["z-index"] = `${n.zIndex}`), n.customStyle && typeof n.customStyle == "object" && Object.assign(g, n.customStyle), g;
|
|
4587
4587
|
}), te = () => {
|
|
4588
4588
|
M(!1);
|
|
4589
4589
|
}, re = () => p.value && n.trigger === "hover" || !n.showOverlay ? null : E("div", {
|