primevue-mirror/apps/showcase/pages/confirmdialog/index.vue

70 lines
2.3 KiB
Vue
Raw Permalink Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue Confirmation Dialog Component"
header="ConfirmDialog"
description="ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API."
:componentDocs="docs"
2023-03-07 13:37:45 +00:00
:apiDocs="['ConfirmDialog', 'ConfirmationService-UseConfirm', 'ConfirmationOptions']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/confirmdialog/AccessibilityDoc.vue';
import BasicDoc from '@/doc/confirmdialog/BasicDoc.vue';
import ConfirmationServiceDoc from '@/doc/confirmdialog/ConfirmationServiceDoc.vue';
2023-10-28 13:59:59 +00:00
import HeadlessDoc from '@/doc/confirmdialog/HeadlessDoc.vue';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/confirmdialog/ImportDoc.vue';
import PositionDoc from '@/doc/confirmdialog/PositionDoc.vue';
import TemplateDoc from '@/doc/confirmdialog/TemplateDoc.vue';
import PTComponent from '@/doc/confirmdialog/pt/index.vue';
import ThemingDoc from '@/doc/confirmdialog/theming/index.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',
2023-10-28 13:59:59 +00:00
label: 'Service',
2023-02-28 08:29:30 +00:00
component: ConfirmationServiceDoc
2022-09-09 20:41:18 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'basic',
label: 'Basic',
component: BasicDoc
2022-09-09 20:41:18 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'position',
label: 'Position',
component: PositionDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
2023-10-28 13:59:59 +00:00
{
id: 'headless',
label: 'Headless',
component: HeadlessDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2023-02-28 08:29:30 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>