edvoyui-component-library-test-flight 0.0.181 → 0.0.182
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/edvoy-ui.cjs.js +1 -1
- package/dist/edvoy-ui.css +1 -1
- package/dist/edvoy-ui.es.js +92 -90
- package/dist/edvoy-ui.umd.js +2 -2
- package/dist/modal/EUIModal.vue.d.ts +1 -1
- package/dist/modal/EUIModal.vue.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/modal/EUIModal.vue +89 -85
package/dist/edvoy-ui.es.js
CHANGED
|
@@ -12807,104 +12807,106 @@ var Yx = { class: "text-xl font-semibold" }, Kx = {
|
|
|
12807
12807
|
class: "sticky bottom-0 flex items-center justify-end float-none p-4 space-x-2"
|
|
12808
12808
|
};
|
|
12809
12809
|
function Qx(e, n, t, r, i, l) {
|
|
12810
|
-
return _(),
|
|
12811
|
-
|
|
12812
|
-
|
|
12813
|
-
|
|
12814
|
-
|
|
12815
|
-
|
|
12816
|
-
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
|
|
12822
|
-
|
|
12823
|
-
|
|
12824
|
-
|
|
12825
|
-
|
|
12826
|
-
|
|
12827
|
-
u[
|
|
12828
|
-
|
|
12829
|
-
|
|
12830
|
-
|
|
12831
|
-
n[5] || (n[5] = $("div", { class: "backdrop fixed inset-0 z-[-1] w-screen h-screen bg-black/25 pointer-events-none overflow-hidden cursor-auto backdrop-blur-sm" }, null, -1)),
|
|
12832
|
-
$("div", {
|
|
12833
|
-
class: ae([
|
|
12834
|
-
"bg-white shadow-lg w-full overflow-hidden relative flex flex-col justify-between modal-container",
|
|
12835
|
-
e.slideClass,
|
|
12836
|
-
e.roundedClass !== "" ? e.roundedClass : "rounded-t-3xl md:rounded-2xl",
|
|
12837
|
-
e.size === "full" ? "h-full max-h-svh" : "max-h-[calc(100vh-3rem)] md:h-auto"
|
|
12838
|
-
])
|
|
12810
|
+
return _(), O("div", null, [
|
|
12811
|
+
(_(), Le(Jd, {
|
|
12812
|
+
defer: "",
|
|
12813
|
+
to: "body"
|
|
12814
|
+
}, [
|
|
12815
|
+
De(dn, {
|
|
12816
|
+
name: "modal",
|
|
12817
|
+
appear: ""
|
|
12818
|
+
}, {
|
|
12819
|
+
default: Pe(function() {
|
|
12820
|
+
return [
|
|
12821
|
+
e.isVisible ? (_(), O("div", {
|
|
12822
|
+
key: 0,
|
|
12823
|
+
class: ae(["fixed z-50 flex flex-col items-center justify-end inset-2 modal-wrapper", [
|
|
12824
|
+
e.placement === "top" ? "sm:justify-start" : e.placement === "bottom" ? "sm:justify-end" : "sm:justify-center"
|
|
12825
|
+
]]),
|
|
12826
|
+
onClick: n[3] || (n[3] = vt(function() {
|
|
12827
|
+
for (var u = [], s = 0; s < arguments.length; s++)
|
|
12828
|
+
u[s] = arguments[s];
|
|
12829
|
+
return e.closeModal && e.closeModal.apply(e, u);
|
|
12830
|
+
}, ["self"]))
|
|
12839
12831
|
}, [
|
|
12840
|
-
|
|
12841
|
-
|
|
12842
|
-
class: ae([
|
|
12832
|
+
n[5] || (n[5] = $("div", { class: "backdrop fixed inset-0 z-[-1] w-screen h-screen bg-black/25 pointer-events-none overflow-hidden cursor-auto backdrop-blur-sm" }, null, -1)),
|
|
12833
|
+
$("div", {
|
|
12834
|
+
class: ae([
|
|
12835
|
+
"bg-white shadow-lg w-full overflow-hidden relative flex flex-col justify-between modal-container",
|
|
12836
|
+
e.slideClass,
|
|
12837
|
+
e.roundedClass !== "" ? e.roundedClass : "rounded-t-3xl md:rounded-2xl",
|
|
12838
|
+
e.size === "full" ? "h-full max-h-svh" : "max-h-[calc(100vh-3rem)] md:h-auto"
|
|
12839
|
+
])
|
|
12843
12840
|
}, [
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12851
|
-
|
|
12841
|
+
e.$slots.header ? oe(e.$slots, "header", { key: 0 }, void 0, !0) : (_(), O("div", {
|
|
12842
|
+
key: 1,
|
|
12843
|
+
class: ae(["flex flex-row items-center justify-between font-medium text-gray-700", e.slimHeader ? "p-4 text-base" : "p-6 text-lg"])
|
|
12844
|
+
}, [
|
|
12845
|
+
$("h3", Yx, [
|
|
12846
|
+
oe(e.$slots, "title", {}, function() {
|
|
12847
|
+
return [
|
|
12848
|
+
je(ye(e.title || "Modal Title"), 1)
|
|
12849
|
+
];
|
|
12850
|
+
}, !0)
|
|
12851
|
+
]),
|
|
12852
|
+
e.visibleClose ? (_(), O("div", Kx, [
|
|
12853
|
+
$("button", {
|
|
12854
|
+
type: "button",
|
|
12855
|
+
class: "flex items-center justify-center text-gray-400 bg-white hover:bg-gray-50 rounded-3xl hover:text-gray-600 size-8",
|
|
12856
|
+
onClick: n[0] || (n[0] = function() {
|
|
12857
|
+
for (var u = [], s = 0; s < arguments.length; s++)
|
|
12858
|
+
u[s] = arguments[s];
|
|
12859
|
+
return e.closeModal && e.closeModal.apply(e, u);
|
|
12860
|
+
})
|
|
12861
|
+
}, n[4] || (n[4] = [
|
|
12862
|
+
$("span", { class: "sr-only" }, "Close", -1),
|
|
12863
|
+
$("svg", {
|
|
12864
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12865
|
+
fill: "none",
|
|
12866
|
+
viewBox: "0 0 24 24",
|
|
12867
|
+
"stroke-width": "2",
|
|
12868
|
+
stroke: "currentColor",
|
|
12869
|
+
"aria-hidden": "true",
|
|
12870
|
+
class: "w-5 h-5"
|
|
12871
|
+
}, [
|
|
12872
|
+
$("path", {
|
|
12873
|
+
"stroke-linecap": "round",
|
|
12874
|
+
"stroke-linejoin": "round",
|
|
12875
|
+
d: "M6 18L18 6M6 6l12 12"
|
|
12876
|
+
})
|
|
12877
|
+
], -1)
|
|
12878
|
+
]))
|
|
12879
|
+
])) : Y("", !0)
|
|
12880
|
+
], 2)),
|
|
12881
|
+
e.$slots.content ? oe(e.$slots, "content", { key: 2 }, void 0, !0) : (_(), O("div", Gx, [
|
|
12882
|
+
oe(e.$slots, "default", {}, void 0, !0)
|
|
12883
|
+
])),
|
|
12884
|
+
e.$slots.footer ? oe(e.$slots, "footer", { key: 4 }, void 0, !0) : (_(), O("div", Xx, [
|
|
12852
12885
|
$("button", {
|
|
12853
|
-
|
|
12854
|
-
class: "flex items-center justify-center text-gray-400 bg-white hover:bg-gray-50 rounded-3xl hover:text-gray-600 size-8",
|
|
12855
|
-
onClick: n[0] || (n[0] = function() {
|
|
12886
|
+
onClick: n[1] || (n[1] = function() {
|
|
12856
12887
|
for (var u = [], s = 0; s < arguments.length; s++)
|
|
12857
12888
|
u[s] = arguments[s];
|
|
12858
12889
|
return e.closeModal && e.closeModal.apply(e, u);
|
|
12859
|
-
})
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
|
|
12874
|
-
|
|
12875
|
-
|
|
12876
|
-
], -1)
|
|
12877
|
-
]))
|
|
12878
|
-
])) : Y("", !0)
|
|
12879
|
-
], 2)),
|
|
12880
|
-
e.$slots.content ? oe(e.$slots, "content", { key: 2 }, void 0, !0) : (_(), O("div", Gx, [
|
|
12881
|
-
oe(e.$slots, "default", {}, void 0, !0)
|
|
12882
|
-
])),
|
|
12883
|
-
e.$slots.footer ? oe(e.$slots, "footer", { key: 4 }, void 0, !0) : (_(), O("div", Xx, [
|
|
12884
|
-
$("button", {
|
|
12885
|
-
onClick: n[1] || (n[1] = function() {
|
|
12886
|
-
for (var u = [], s = 0; s < arguments.length; s++)
|
|
12887
|
-
u[s] = arguments[s];
|
|
12888
|
-
return e.closeModal && e.closeModal.apply(e, u);
|
|
12889
|
-
}),
|
|
12890
|
-
class: "px-4 py-2 text-base font-semibold tracking-wide text-gray-600 transition-colors duration-75 bg-white rounded-md hover:bg-gray-100"
|
|
12891
|
-
}, " Cancel "),
|
|
12892
|
-
$("button", {
|
|
12893
|
-
onClick: n[2] || (n[2] = function(u) {
|
|
12894
|
-
return e.$emit("confirm");
|
|
12895
|
-
}),
|
|
12896
|
-
class: "px-4 py-2 text-base font-semibold tracking-wide text-white transition-colors duration-75 bg-purple-600 rounded-md hover:bg-purple-700"
|
|
12897
|
-
}, " Confirm ")
|
|
12898
|
-
]))
|
|
12899
|
-
], 2)
|
|
12900
|
-
], 2)) : Y("", !0)
|
|
12901
|
-
];
|
|
12902
|
-
}),
|
|
12903
|
-
_: 3
|
|
12904
|
-
})
|
|
12890
|
+
}),
|
|
12891
|
+
class: "px-4 py-2 text-base font-semibold tracking-wide text-gray-600 transition-colors duration-75 bg-white rounded-md hover:bg-gray-100"
|
|
12892
|
+
}, " Cancel "),
|
|
12893
|
+
$("button", {
|
|
12894
|
+
onClick: n[2] || (n[2] = function(u) {
|
|
12895
|
+
return e.$emit("confirm");
|
|
12896
|
+
}),
|
|
12897
|
+
class: "px-4 py-2 text-base font-semibold tracking-wide text-white transition-colors duration-75 bg-purple-600 rounded-md hover:bg-purple-700"
|
|
12898
|
+
}, " Confirm ")
|
|
12899
|
+
]))
|
|
12900
|
+
], 2)
|
|
12901
|
+
], 2)) : Y("", !0)
|
|
12902
|
+
];
|
|
12903
|
+
}),
|
|
12904
|
+
_: 3
|
|
12905
|
+
})
|
|
12906
|
+
]))
|
|
12905
12907
|
]);
|
|
12906
12908
|
}
|
|
12907
|
-
const kD = /* @__PURE__ */ mt(jx, [["render", Qx], ["__scopeId", "data-v-
|
|
12909
|
+
const kD = /* @__PURE__ */ mt(jx, [["render", Qx], ["__scopeId", "data-v-df346633"]]), qx = Ye({
|
|
12908
12910
|
name: "Slideover",
|
|
12909
12911
|
components: {
|
|
12910
12912
|
EUIButton: ns
|