adverich-kun-ui 0.1.139 → 0.1.140
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const g =
|
|
1
|
+
import { computed as t, createElementBlock as s, openBlock as a, normalizeClass as i, renderSlot as c } from "vue";
|
|
2
|
+
const g = {
|
|
3
3
|
__name: "KunDialogContent",
|
|
4
4
|
props: {
|
|
5
5
|
fullscreen: Boolean,
|
|
@@ -11,9 +11,9 @@ const g = /* @__PURE__ */ r({
|
|
|
11
11
|
height: String,
|
|
12
12
|
maxHeight: String
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const e =
|
|
16
|
-
|
|
14
|
+
setup(l) {
|
|
15
|
+
const e = l, n = t(() => e.fullscreen ? "fixed inset-0 w-screen h-screen rounded-none p-4 overflow-y-auto shadow-none" : `relative rounded-2xl shadow-xl transition-all p-2 ${e.scrollable ? "overflow-y-auto" : "overflow-visible"}`), r = t(() => [
|
|
16
|
+
n.value,
|
|
17
17
|
e.contentClass,
|
|
18
18
|
e.bgColor,
|
|
19
19
|
e.width,
|
|
@@ -21,13 +21,13 @@ const g = /* @__PURE__ */ r({
|
|
|
21
21
|
e.height,
|
|
22
22
|
e.maxHeight
|
|
23
23
|
]);
|
|
24
|
-
return (o,
|
|
25
|
-
class: i(
|
|
24
|
+
return (o, d) => (a(), s("div", {
|
|
25
|
+
class: i(r.value)
|
|
26
26
|
}, [
|
|
27
|
-
|
|
27
|
+
c(o.$slots, "default")
|
|
28
28
|
], 2));
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
};
|
|
31
31
|
export {
|
|
32
32
|
g as default
|
|
33
33
|
};
|
package/package.json
CHANGED