@opensig/opendesign
Version:
54 lines (53 loc) • 1.37 kB
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const types = require("../layer/types.js");
const DialogSizeTypes = ["exlarge", "large", "medium", "small", "auto"];
const dialogProps = {
...types.layerProps,
/**
* @zh-CN 是否隐藏对话框的关闭按钮
* @en-US Whether to hide the close button of the dialog
*/
hideClose: {
type: Boolean
},
/**
* @zh-CN 对话框尺寸
* @en-US Dialog size
*/
size: {
type: String,
default: "auto"
},
/**
* @zh-CN 对话框底部按钮
* @en-US Dialog bottom button
*/
actions: {
type: Array
},
/**
* @zh-CN 是否禁用响应式
* @en-US Whether to disable responsive
*/
noResponsive: {
type: Boolean
},
/**
* @zh-CN 移动端是否渲染为半屏(宽度占满,高度占一半)
* @en-US Whether to render as half screen (width full, height half) on mobile phone
*/
phoneHalfFull: {
type: Boolean
},
/**
* @zh-CN 是否使用scrollbar,值为 false 不使用,值为 true 或 scrollbar 的配置对象则使用
* @en-US Whether to use scrollbar, value false not use, value true or scrollbar configuration object to use
*/
scrollbar: {
type: [Boolean, Object],
default: true
}
};
exports.DialogSizeTypes = DialogSizeTypes;
exports.dialogProps = dialogProps;