2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-03-06 06:55:17 +00:00
|
|
|
<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."
|
2023-03-06 06:55:17 +00:00
|
|
|
:componentDocs="docs"
|
2023-03-07 13:50:08 +00:00
|
|
|
:apiDocs="['DynamicDialog', 'Dialog', 'DialogService-UseDialog', 'DynamicDialogOptions']"
|
2023-04-28 08:54:50 +00:00
|
|
|
:ptTabComponent="ptComponent"
|
2023-08-03 06:28:37 +00:00
|
|
|
:themingDocs="themingDoc"
|
2023-03-06 06:55:17 +00:00
|
|
|
/>
|
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';
|
|
|
|
import EmitsDoc from '@/doc/dynamicdialog/EmitsDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/dynamicdialog/ImportDoc.vue';
|
|
|
|
import OpenDialogDoc from '@/doc/dynamicdialog/OpenDialogDoc.vue';
|
|
|
|
import PassingDataDoc from '@/doc/dynamicdialog/PassingDataDoc.vue';
|
|
|
|
import UsageDoc from '@/doc/dynamicdialog/UsageDoc.vue';
|
2023-04-28 08:54:50 +00:00
|
|
|
import PTComponent from '@/doc/dynamicdialog/pt/index.vue';
|
2023-08-03 06:28:37 +00:00
|
|
|
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
|
|
|
],
|
2023-08-03 06:28:37 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2023-02-28 08:29:30 +00:00
|
|
|
};
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|