element-plus
Version:
A Component Library for Vue 3
52 lines (50 loc) • 1.09 kB
JavaScript
import { buildProps } from "../../../utils/vue/props/runtime.mjs";
import { iconPropType } from "../../../utils/vue/icon.mjs";
//#region ../../packages/components/dialog/src/dialog-content.ts
/**
* @deprecated Removed after 3.0.0, Use `DialogContentProps` instead.
*/
const dialogContentProps = buildProps({
center: Boolean,
alignCenter: {
type: Boolean,
default: void 0
},
closeIcon: { type: iconPropType },
draggable: {
type: Boolean,
default: void 0
},
overflow: {
type: Boolean,
default: void 0
},
fullscreen: Boolean,
headerClass: String,
bodyClass: String,
footerClass: String,
showClose: {
type: Boolean,
default: true
},
title: {
type: String,
default: ""
},
ariaLevel: {
type: String,
default: "2"
}
});
const dialogContentEmits = { close: () => true };
const dialogContentPropsDefaults = {
alignCenter: void 0,
draggable: void 0,
overflow: void 0,
showClose: true,
title: "",
ariaLevel: "2"
};
//#endregion
export { dialogContentEmits, dialogContentProps, dialogContentPropsDefaults };
//# sourceMappingURL=dialog-content.mjs.map