@opens/ui 1.1.4 → 1.1.6
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/yunique_ui.cjs.js +1 -1
- package/dist/yunique_ui.css +1 -1
- package/dist/yunique_ui.es.js +29 -17
- package/dist/yunique_ui.umd.js +2 -2
- package/package.json +1 -1
package/dist/yunique_ui.es.js
CHANGED
|
@@ -3952,56 +3952,68 @@ const Yy = /* @__PURE__ */ It(Cy, [["render", Py]]), Ay = /* @__PURE__ */ K({
|
|
|
3952
3952
|
paddingMd: { type: Boolean },
|
|
3953
3953
|
border: { type: Boolean },
|
|
3954
3954
|
rounded: { type: Boolean },
|
|
3955
|
-
bgWhite: { type: Boolean }
|
|
3955
|
+
bgWhite: { type: Boolean },
|
|
3956
|
+
fluid: { type: Boolean }
|
|
3956
3957
|
},
|
|
3957
3958
|
setup(e) {
|
|
3958
|
-
const t = e, n = p(() => t.page ? "yu-bg-gray-50 yu-p-8 yu-flex yu-flex-col yu-min-h-screen yu-w-screen yu-gap-4" : ""), r = p(() => t.center ? "yu-flex yu-items-center yu-justify-center" : ""), a = p(() => t.paddingSm ? "yu-p-2" : t.paddingMd ? "yu-p-4" : ""), s = p(() => t.divisor ? "yu-divide-y" : ""), o = p(() => t.border ? "yu-border" : ""), i = p(() => t.rounded ? "yu-rounded-md" : ""), l = p(() => t.gapSm ? "yu-flex yu-flex-col yu-gap-2" : t.gapMd ? "yu-flex yu-flex-col yu-gap-4" : ""), u = p(() =>
|
|
3959
|
-
|
|
3960
|
-
|
|
3959
|
+
const t = e, n = p(() => t.page ? "yu-bg-gray-50 yu-p-8 yu-flex yu-flex-col yu-min-h-screen yu-w-screen yu-gap-4" : t.fluid ? "yu-w-full yu-h-full yu-flex yu-flex-col" : ""), r = p(() => t.center ? "yu-flex yu-items-center yu-justify-center" : ""), a = p(() => t.paddingSm ? "yu-p-2" : t.paddingMd ? "yu-p-4" : ""), s = p(() => t.divisor ? "yu-divide-y" : ""), o = p(() => t.border ? "yu-border" : ""), i = p(() => t.rounded ? "yu-rounded-md" : ""), l = p(() => t.gapSm ? "yu-flex yu-flex-col yu-gap-2" : t.gapMd ? "yu-flex yu-flex-col yu-gap-4" : ""), u = p(() => {
|
|
3960
|
+
const f = [];
|
|
3961
|
+
return t.fluid && f.push("yu-w-full"), f.join(" ");
|
|
3962
|
+
}), c = p(() => {
|
|
3963
|
+
const f = [];
|
|
3964
|
+
return t.fluid && f.push("yu-w-full yu-flex-1 yu-overflow-y-auto"), f.join(" ");
|
|
3965
|
+
});
|
|
3966
|
+
p(() => {
|
|
3967
|
+
const f = [];
|
|
3968
|
+
return t.fluid && f.push("yu-w-full"), f.join(" ");
|
|
3969
|
+
});
|
|
3970
|
+
const d = p(() => t.bgWhite ? "yu-bg-white" : "");
|
|
3971
|
+
return (f, h) => {
|
|
3972
|
+
const v = ze("app-group");
|
|
3961
3973
|
return m(), D("div", {
|
|
3962
|
-
class: P([n.value, l.value, s.value, o.value, i.value,
|
|
3974
|
+
class: P([n.value, l.value, s.value, o.value, i.value, d.value])
|
|
3963
3975
|
}, [
|
|
3964
|
-
|
|
3976
|
+
f.$slots.header ? (m(), D("header", {
|
|
3965
3977
|
key: 0,
|
|
3966
|
-
class: P([r.value, a.value])
|
|
3978
|
+
class: P([r.value, a.value, u.value])
|
|
3967
3979
|
}, [
|
|
3968
|
-
Y(
|
|
3980
|
+
Y(v, {
|
|
3969
3981
|
class: "w-full",
|
|
3970
3982
|
col: "",
|
|
3971
3983
|
"gap-none": ""
|
|
3972
3984
|
}, {
|
|
3973
3985
|
default: $(() => [
|
|
3974
|
-
R(
|
|
3986
|
+
R(f.$slots, "header")
|
|
3975
3987
|
]),
|
|
3976
3988
|
_: 3
|
|
3977
3989
|
})
|
|
3978
3990
|
], 2)) : H("", !0),
|
|
3979
|
-
|
|
3991
|
+
f.$slots.body ? (m(), D("main", {
|
|
3980
3992
|
key: 1,
|
|
3981
|
-
class: P([r.value, a.value])
|
|
3993
|
+
class: P([r.value, a.value, c.value])
|
|
3982
3994
|
}, [
|
|
3983
|
-
Y(
|
|
3984
|
-
class: "w-full",
|
|
3995
|
+
Y(v, {
|
|
3996
|
+
class: "w-full h-full",
|
|
3985
3997
|
col: "",
|
|
3986
3998
|
"gap-none": ""
|
|
3987
3999
|
}, {
|
|
3988
4000
|
default: $(() => [
|
|
3989
|
-
R(
|
|
4001
|
+
R(f.$slots, "body")
|
|
3990
4002
|
]),
|
|
3991
4003
|
_: 3
|
|
3992
4004
|
})
|
|
3993
4005
|
], 2)) : H("", !0),
|
|
3994
|
-
|
|
4006
|
+
f.$slots.footer ? (m(), D("footer", {
|
|
3995
4007
|
key: 2,
|
|
3996
4008
|
class: P([r.value, a.value])
|
|
3997
4009
|
}, [
|
|
3998
|
-
Y(
|
|
4010
|
+
Y(v, {
|
|
3999
4011
|
class: "w-full",
|
|
4000
4012
|
col: "",
|
|
4001
4013
|
"gap-none": ""
|
|
4002
4014
|
}, {
|
|
4003
4015
|
default: $(() => [
|
|
4004
|
-
R(
|
|
4016
|
+
R(f.$slots, "footer")
|
|
4005
4017
|
]),
|
|
4006
4018
|
_: 3
|
|
4007
4019
|
})
|