2022-09-12 07:13:52 +00:00
|
|
|
const ConfirmPopupProps = [
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'group',
|
|
|
|
type: 'string',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.'
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
const ConfirmPopupSlots = [
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'message',
|
|
|
|
description: 'Custom content for the component.'
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
confirmpopup: {
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'ConfirmPopup',
|
|
|
|
description: 'ConfirmPopup displays a confirmation overlay displayed relatively to its target.',
|
2022-09-12 07:13:52 +00:00
|
|
|
props: ConfirmPopupProps,
|
|
|
|
slots: ConfirmPopupSlots
|
|
|
|
}
|
|
|
|
};
|