117 lines
2.4 KiB
JavaScript
117 lines
2.4 KiB
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
const require_runtime = require("../../../utils/vue/props/runtime.js");
|
|
const require_icon = require("../../../utils/vue/icon.js");
|
|
//#region ../../packages/components/dialog/src/dialog-content.ts
|
|
/**
|
|
* @deprecated Removed after 3.0.0, Use `DialogContentProps` instead.
|
|
*/
|
|
const dialogContentProps = require_runtime.buildProps({
|
|
/**
|
|
* @description whether to align the header and footer in center
|
|
*/
|
|
center: Boolean,
|
|
/**
|
|
* @description whether to align the dialog both horizontally and vertically
|
|
*/
|
|
alignCenter: {
|
|
type: Boolean,
|
|
default: void 0
|
|
},
|
|
/**
|
|
* @description custom close icon, default is Close
|
|
*/
|
|
closeIcon: { type: require_icon.iconPropType },
|
|
/**
|
|
* @description enable dragging feature for Dialog
|
|
*/
|
|
draggable: {
|
|
type: Boolean,
|
|
default: void 0
|
|
},
|
|
/**
|
|
* @description draggable Dialog can overflow the viewport
|
|
*/
|
|
overflow: {
|
|
type: Boolean,
|
|
default: void 0
|
|
},
|
|
/**
|
|
* @description whether the Dialog takes up full screen
|
|
*/
|
|
fullscreen: Boolean,
|
|
/**
|
|
* @description custom class names for header wrapper
|
|
*/
|
|
headerClass: {
|
|
type: require_runtime.definePropType([
|
|
String,
|
|
Array,
|
|
Object,
|
|
Boolean
|
|
]),
|
|
default: void 0
|
|
},
|
|
/**
|
|
* @description custom class names for body wrapper
|
|
*/
|
|
bodyClass: {
|
|
type: require_runtime.definePropType([
|
|
String,
|
|
Array,
|
|
Object,
|
|
Boolean
|
|
]),
|
|
default: void 0
|
|
},
|
|
/**
|
|
* @description custom class names for footer wrapper
|
|
*/
|
|
footerClass: {
|
|
type: require_runtime.definePropType([
|
|
String,
|
|
Array,
|
|
Object,
|
|
Boolean
|
|
]),
|
|
default: void 0
|
|
},
|
|
/**
|
|
* @description whether to show a close button
|
|
*/
|
|
showClose: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
/**
|
|
* @description title of Dialog. Can also be passed with a named slot (see the following table)
|
|
*/
|
|
title: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
/**
|
|
* @description header's aria-level attribute
|
|
*/
|
|
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",
|
|
headerClass: void 0,
|
|
bodyClass: void 0,
|
|
footerClass: void 0
|
|
};
|
|
//#endregion
|
|
exports.dialogContentEmits = dialogContentEmits;
|
|
exports.dialogContentProps = dialogContentProps;
|
|
exports.dialogContentPropsDefaults = dialogContentPropsDefaults;
|
|
|
|
//# sourceMappingURL=dialog-content.js.map
|