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

74 lines
2.4 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-07-27 11:53:30 +00:00
<DocComponent title="Vue Message Component" header="Message" description="Message component is used to display inline messages." :componentDocs="docs" :apiDocs="['Message']" :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/message/AccessibilityDoc.vue';
import BasicDoc from '@/doc/message/BasicDoc.vue';
import ClosabledDoc from '@/doc/message/ClosableDoc.vue';
import DynamicDoc from '@/doc/message/DynamicDoc.vue';
2024-10-23 12:21:38 +00:00
import FormsDoc from '@/doc/message/FormsDoc.vue';
2024-06-13 08:04:57 +00:00
import IconDoc from '@/doc/message/IconDoc.vue';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/message/ImportDoc.vue';
2024-06-12 22:05:19 +00:00
import LifeDoc from '@/doc/message/LifeDoc.vue';
2023-02-28 08:29:30 +00:00
import SeverityDoc from '@/doc/message/SeverityDoc.vue';
2023-04-28 12:06:39 +00:00
import PTComponent from '@/doc/message/pt/index.vue';
2023-08-01 13:00:18 +00:00
import ThemingDoc from '@/doc/message/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'severity',
label: 'Severity',
component: SeverityDoc
},
2024-06-13 08:04:57 +00:00
{
id: 'icon',
label: 'Icon',
component: IconDoc
},
2024-06-12 22:05:19 +00:00
{
2024-10-23 12:21:38 +00:00
id: 'forms',
label: 'Forms',
component: FormsDoc
2024-06-12 22:05:19 +00:00
},
2023-02-28 08:29:30 +00:00
{
id: 'dynamic',
label: 'Dynamic',
component: DynamicDoc
},
{
id: 'closable',
label: 'Closable',
component: ClosabledDoc
},
{
2024-06-12 22:05:19 +00:00
id: 'life',
label: 'Life',
component: LifeDoc
2023-02-28 08:29:30 +00:00
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-04-28 12:06:39 +00:00
],
2023-07-27 11:53:30 +00:00
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>