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-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/dynamicdialog/AccessibilityDoc';
import CloseDialogDoc from '@/doc/dynamicdialog/CloseDialogDoc';
2023-03-08 08:35:24 +00:00
import CustomizationDoc from '@/doc/dynamicdialog/CustomizationDoc';
2023-02-28 08:29:30 +00:00
import DialogServiceDoc from '@/doc/dynamicdialog/DialogServiceDoc';
2023-03-13 12:36:33 +00:00
import EmitsDoc from '@/doc/dynamicdialog/EmitsDoc';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/dynamicdialog/ImportDoc';
import OpenDialogDoc from '@/doc/dynamicdialog/OpenDialogDoc';
import PassingDataDoc from '@/doc/dynamicdialog/PassingDataDoc';
import UsageDoc from '@/doc/dynamicdialog/UsageDoc';
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
{
id: 'usage',
label: 'Usage',
component: UsageDoc
},
{
2023-03-08 08:35:24 +00:00
id: 'open',
label: 'Open',
2023-02-28 08:29:30 +00:00
component: OpenDialogDoc
},
{
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
{
id: 'emits',
label: 'Emits',
component: EmitsDoc
},
2023-02-28 08:29:30 +00:00
{
2023-03-08 08:35:24 +00:00
id: 'customization',
label: 'Customization',
component: CustomizationDoc
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>