primevue-mirror/pages/dynamicdialog/index.vue

82 lines
2.7 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue Dynamic Dialog Component"
header="Dynamic Dialog"
2023-03-08 08:35:24 +00:00
description="Dialogs can be created dynamically with any component as the content using a DialogService."
:componentDocs="docs"
:apiDocs="['DynamicDialog', 'Dialog', 'DialogService-UseDialog', 'DynamicDialogOptions']"
2023-04-28 08:54:50 +00:00
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/dynamicdialog/AccessibilityDoc.vue';
import CloseDialogDoc from '@/doc/dynamicdialog/CloseDialogDoc.vue';
import CustomizationDoc from '@/doc/dynamicdialog/CustomizationDoc.vue';
import DialogServiceDoc from '@/doc/dynamicdialog/DialogServiceDoc.vue';
2023-11-02 06:28:24 +00:00
import EventsDoc from '@/doc/dynamicdialog/EventsDoc.vue';
import ExampleDoc from '@/doc/dynamicdialog/ExampleDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/dynamicdialog/ImportDoc.vue';
import OpenDialogDoc from '@/doc/dynamicdialog/OpenDialogDoc.vue';
import PassingDataDoc from '@/doc/dynamicdialog/PassingDataDoc.vue';
2023-04-28 08:54:50 +00:00
import PTComponent from '@/doc/dynamicdialog/pt/index.vue';
import ThemingDoc from '@/doc/dynamicdialog/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: 'dialogservice',
label: 'Dialog Service',
component: DialogServiceDoc
2022-09-09 20:41:18 +00:00
},
2023-02-28 08:29:30 +00:00
{
2023-03-08 08:35:24 +00:00
id: 'open',
label: 'Open',
2023-02-28 08:29:30 +00:00
component: OpenDialogDoc
},
2023-11-02 06:28:24 +00:00
{
id: 'customization',
label: 'Customization',
component: CustomizationDoc
},
2023-02-28 08:29:30 +00:00
{
2023-03-08 08:35:24 +00:00
id: 'close',
label: 'Close',
2023-02-28 08:29:30 +00:00
component: CloseDialogDoc
},
{
id: 'passingdata',
label: 'Passing Data',
component: PassingDataDoc
},
2023-03-13 12:36:33 +00:00
{
2023-11-02 06:28:24 +00:00
id: 'events',
label: 'Events',
component: EventsDoc
2023-03-13 12:36:33 +00:00
},
2023-02-28 08:29:30 +00:00
{
2023-11-02 06:28:24 +00:00
id: 'example',
label: 'Example',
component: ExampleDoc
2023-02-28 08:29:30 +00:00
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-04-28 08:54:50 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2023-02-28 08:29:30 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>