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-03-06 06:55:17 +00:00
|
|
|
/>
|
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';
|
|
|
|
import ImportDoc from '@/doc/dynamicdialog/ImportDoc';
|
|
|
|
import OpenDialogDoc from '@/doc/dynamicdialog/OpenDialogDoc';
|
|
|
|
import PassingDataDoc from '@/doc/dynamicdialog/PassingDataDoc';
|
|
|
|
import UsageDoc from '@/doc/dynamicdialog/UsageDoc';
|
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-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-02-28 08:29:30 +00:00
|
|
|
]
|
|
|
|
};
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|