oeos-components 0.1.89 → 0.1.90
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.
|
@@ -4009,7 +4009,7 @@ const w9 = u({ name: "OCompTitle" }), y9 = u({ ...w9, props: { title: { type: St
|
|
|
4009
4009
|
var m;
|
|
4010
4010
|
}), _: 2 }, 1024))), 128))]), _: 3 }, 16, ["column"]));
|
|
4011
4011
|
} }), O9 = he(pe(I9, [["__scopeId", "data-v-eee7bd51"]])), T9 = { class: "o-dialog" }, N9 = { class: "dialog_footer" }, j9 = u({ name: "ODialog" }), D9 = u({ ...j9, props: { title: { type: String, default: "提示" }, theme: { type: String, default: "" }, cancel: { type: [Function, String], default: "" }, cancelText: { type: String, default: "取消" }, confirmText: { type: String, default: "确认" }, showFooter: { type: Boolean, default: !0 }, showCancel: { type: Boolean, default: !0 }, showConfirm: { type: Boolean, default: !0 }, confirmAttrs: { type: Object, default: () => ({}) }, cancelAttrs: { type: Object, default: () => ({}) }, enableConfirm: { type: Boolean, default: !0 } }, emits: ["update:modelValue"], setup(e, { emit: n }) {
|
|
4012
|
-
Po((g) => ({
|
|
4012
|
+
Po((g) => ({ "2468d748": c.value }));
|
|
4013
4013
|
const a = E2();
|
|
4014
4014
|
K2();
|
|
4015
4015
|
const o = n, t = e, r = k(() => t.theme === "norm" ? "kd-norm-dialog" : t.theme === "norm16" ? "kd-norm16-dialog" : t.theme === "simple" ? "kd-simple-dialog" : ""), c = F("calc(100vh - 124px)");
|
|
@@ -4036,7 +4036,7 @@ const w9 = u({ name: "OCompTitle" }), y9 = u({ ...w9, props: { title: { type: St
|
|
|
4036
4036
|
const h = Y("el-button"), x = Y("el-dialog");
|
|
4037
4037
|
return i(), s("div", T9, [ee(x, U({ "custom-class": r.value }, { width: "640px", closeOnClickModal: !0, destroyOnClose: !0, draggable: !0, ...g.$attrs }, { onClose: p }), vn({ header: T(() => [R(g.$slots, "header", {}, () => [d("span", null, X(e.title), 1)], !0)]), default: T(() => [d("div", { class: Z(g.$attrs.fullscreen === !0 || g.$attrs.fullscreen === "" ? "dialog_fullscreen " : "dialog_slot_box") }, [R(g.$slots, "default", {}, void 0, !0)], 2)]), _: 2 }, [e.showFooter ? { name: "footer", fn: T(() => [R(g.$slots, "footer", {}, () => [d("div", N9, [e.showCancel ? (i(), j(h, U({ key: 0, type: e.cancelAttrs.type || "info" }, e.cancelAttrs, { onClick: m }), { default: T(() => [ue(X(e.cancelText), 1)]), _: 1 }, 16, ["type"])) : Q("", !0), e.showConfirm ? (i(), j(h, U({ key: 1, id: "kdDialogConfirmBtn", type: e.confirmAttrs.type || "primary" }, e.confirmAttrs, { onClick: l }), { default: T(() => [ue(X(e.confirmText), 1)]), _: 1 }, 16, ["type"])) : Q("", !0)])], !0)]), key: "0" } : void 0]), 1040, ["custom-class"])]);
|
|
4038
4038
|
};
|
|
4039
|
-
} }), F9 = he(pe(D9, [["__scopeId", "data-v-
|
|
4039
|
+
} }), F9 = he(pe(D9, [["__scopeId", "data-v-b3b3f96e"]])), R9 = { class: "o-drawer" }, P9 = { class: "drawer-main" }, W9 = { class: "content" }, q9 = { key: 0, class: "kd-drawer-footer" }, U9 = u({ name: "ODrawer" }), G9 = u({ ...U9, props: { confirmText: { type: String, default: "提交" }, cancelText: { type: String, default: "取消" }, showFooter: { type: Boolean, default: !0 }, showConfirm: { type: Boolean, default: !0 }, showCancel: { type: Boolean, default: !0 }, wrapperClosable: { type: Boolean, default: !0 }, confirmAttrs: { type: Object, default: () => ({}) }, cancelAttrs: { type: Object, default: () => ({}) }, detailAttrs: { type: Object, default: () => {
|
|
4040
4040
|
} }, type: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e, { emit: n }) {
|
|
4041
4041
|
const a = n, o = e, t = E2(), r = k(() => {
|
|
4042
4042
|
let p = { size: t.size || 640, confirmText: o.confirmText, showCancel: o.showCancel, wrapperClosable: o.wrapperClosable, destroyOnClose: !0 };
|