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.
56 lines
1.1 KiB
56 lines
1.1 KiB
11 months ago
|
'use strict';
|
||
|
|
||
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||
|
|
||
|
require('../../button/index.js');
|
||
|
var iconsVue = require('@element-plus/icons-vue');
|
||
|
var props = require('../../../utils/props.js');
|
||
|
var button = require('../../button/src/button.js');
|
||
|
|
||
|
const popconfirmProps = props.buildProps({
|
||
|
title: {
|
||
|
type: String
|
||
|
},
|
||
|
confirmButtonText: {
|
||
|
type: String
|
||
|
},
|
||
|
cancelButtonText: {
|
||
|
type: String
|
||
|
},
|
||
|
confirmButtonType: {
|
||
|
type: String,
|
||
|
values: button.buttonType,
|
||
|
default: "primary"
|
||
|
},
|
||
|
cancelButtonType: {
|
||
|
type: String,
|
||
|
values: button.buttonType,
|
||
|
default: "text"
|
||
|
},
|
||
|
icon: {
|
||
|
type: props.definePropType([String, Object]),
|
||
|
default: iconsVue.QuestionFilled
|
||
|
},
|
||
|
iconColor: {
|
||
|
type: String,
|
||
|
default: "#f90"
|
||
|
},
|
||
|
hideIcon: {
|
||
|
type: Boolean,
|
||
|
default: false
|
||
|
},
|
||
|
hideAfter: {
|
||
|
type: Number,
|
||
|
default: 200
|
||
|
},
|
||
|
onConfirm: {
|
||
|
type: props.definePropType(Function)
|
||
|
},
|
||
|
onCancel: {
|
||
|
type: props.definePropType(Function)
|
||
|
}
|
||
|
});
|
||
|
|
||
|
exports.popconfirmProps = popconfirmProps;
|
||
|
//# sourceMappingURL=popconfirm.js.map
|