2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-03-06 07:22:29 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Confirmation Popup Component"
|
|
|
|
header="ConfirmPopup"
|
|
|
|
description="ConfirmPopup displays a confirmation overlay displayed relatively to its target."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['ConfirmPopup', 'ConfirmationService', 'ConfirmationOptions']"
|
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '@/doc/confirmpopup/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/confirmpopup/BasicDoc.vue';
|
|
|
|
import ConfirmationServiceDoc from '@/doc/confirmpopup/ConfirmationServiceDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/confirmpopup/ImportDoc.vue';
|
|
|
|
import StyleDoc from '@/doc/confirmpopup/StyleDoc.vue';
|
|
|
|
import TemplateDoc from '@/doc/confirmpopup/TemplateDoc.vue';
|
2022-09-09 20:41:18 +00:00
|
|
|
|
|
|
|
export default {
|
2023-02-28 08:29:30 +00:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'import',
|
|
|
|
label: 'Import',
|
|
|
|
component: ImportDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'confirmation-service',
|
|
|
|
label: 'Confirmation Service',
|
|
|
|
component: ConfirmationServiceDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'basic',
|
|
|
|
label: 'Basic',
|
|
|
|
component: BasicDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'template',
|
|
|
|
label: 'Template',
|
|
|
|
component: TemplateDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'style',
|
|
|
|
label: 'Style',
|
|
|
|
component: StyleDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
2023-02-28 08:29:30 +00:00
|
|
|
]
|
|
|
|
};
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|