yuang-framework-ui-pc
Version:
yuang-framework-ui-pc Library
28 lines (27 loc) • 879 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const elementPlus = require("element-plus");
const core = require("../utils/core");
const props = require("../ele-tooltip/props");
const normalizeProps = core.omit(elementPlus.popoverProps, ["onUpdate:visible"]);
const popoverProps = {
...core.omit(props.tooltipProps, ["rawContent", "isPopover"]),
popperStyle: [String, Array, Object],
popperClass: String,
...normalizeProps,
transition: {
type: String,
default: "el-fade-in-linear"
},
/** 自定义主体类名 */
bodyClass: String,
/** 自定义主体样式 */
bodyStyle: Object,
/** 自定义标题样式 */
titleStyle: Object,
/** 自定义内容样式 */
contentStyle: Object
};
const popoverEmits = elementPlus.popoverEmits;
exports.popoverEmits = popoverEmits;
exports.popoverProps = popoverProps;