You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
1.7 KiB

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var validators = require('../../../utils/validators.js');
var props = require('../../../utils/props.js');
var constants = require('../../../utils/constants.js');
const dialogProps = props.buildProps({
appendToBody: {
type: Boolean,
default: false
},
beforeClose: {
type: props.definePropType(Function)
},
destroyOnClose: {
type: Boolean,
default: false
},
center: {
type: Boolean,
default: false
},
customClass: {
type: String,
default: ""
},
closeIcon: {
type: props.definePropType([String, Object]),
default: ""
},
closeOnClickModal: {
type: Boolean,
default: true
},
closeOnPressEscape: {
type: Boolean,
default: true
},
fullscreen: {
type: Boolean,
default: false
},
lockScroll: {
type: Boolean,
default: true
},
modal: {
type: Boolean,
default: true
},
showClose: {
type: Boolean,
default: true
},
title: {
type: String,
default: ""
},
openDelay: {
type: Number,
default: 0
},
closeDelay: {
type: Number,
default: 0
},
top: {
type: String
},
modelValue: {
type: Boolean,
required: true
},
modalClass: String,
width: {
type: [String, Number],
validator: validators.isValidWidthUnit
},
zIndex: {
type: Number
}
});
const dialogEmits = {
open: () => true,
opened: () => true,
close: () => true,
closed: () => true,
[constants.UPDATE_MODEL_EVENT]: (value) => typeof value === "boolean"
};
exports.dialogEmits = dialogEmits;
exports.dialogProps = dialogProps;
//# sourceMappingURL=dialog.js.map