primevue-mirror/pages/calendar/index.vue

148 lines
4.8 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue Calendar Component"
header="Calendar"
description="Calendar, also known as DatePicker, is a form component to work with dates."
:componentDocs="docs"
:apiDocs="['Calendar']"
: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/calendar/AccessibilityDoc';
2023-09-21 11:21:43 +00:00
import BasicDoc from '@/doc/calendar/BasicDoc.vue';
import ButtonBarDoc from '@/doc/calendar/ButtonBarDoc.vue';
import DateTemplateDoc from '@/doc/calendar/DateTemplateDoc.vue';
import DisabledDoc from '@/doc/calendar/DisabledDoc.vue';
2024-02-02 11:49:09 +00:00
import FilledDoc from '@/doc/calendar/FilledDoc.vue';
2023-09-21 11:21:43 +00:00
import FloatLabelDoc from '@/doc/calendar/FloatLabelDoc.vue';
import FormatDoc from '@/doc/calendar/FormatDoc.vue';
import IconDoc from '@/doc/calendar/IconDoc.vue';
import ImportDoc from '@/doc/calendar/ImportDoc.vue';
import InlineDoc from '@/doc/calendar/InlineDoc.vue';
import InvalidDoc from '@/doc/calendar/InvalidDoc.vue';
import LocaleDoc from '@/doc/calendar/LocaleDoc.vue';
import MinMaxDoc from '@/doc/calendar/MinMaxDoc.vue';
import MonthPickerDoc from '@/doc/calendar/MonthPickerDoc.vue';
import MultipleDoc from '@/doc/calendar/MultipleDoc.vue';
import MultipleMonthsDoc from '@/doc/calendar/MultipleMonthsDoc.vue';
import RangeDoc from '@/doc/calendar/RangeDoc.vue';
import TimeDoc from '@/doc/calendar/TimeDoc.vue';
import YearPickerDoc from '@/doc/calendar/YearPickerDoc.vue';
2023-05-04 14:51:43 +00:00
import PTComponent from '@/doc/calendar/pt/index.vue';
import ThemingDoc from '@/doc/calendar/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: 'format',
label: 'Format',
component: FormatDoc
},
{
id: 'locale',
label: 'Locale',
component: LocaleDoc
},
{
id: 'icon',
label: 'Icon',
component: IconDoc
},
{
id: 'minmax',
label: 'Min / Max',
component: MinMaxDoc
},
{
id: 'multiple',
label: 'Multiple',
component: MultipleDoc
},
{
id: 'range',
label: 'Range',
component: RangeDoc
},
{
id: 'button',
label: 'Button Bar',
component: ButtonBarDoc
},
{
id: 'time',
label: 'Time',
component: TimeDoc
},
{
id: 'monthpicker',
label: 'Month Picker',
component: MonthPickerDoc
},
{
id: 'yearpicker',
label: 'Year Picker',
component: YearPickerDoc
},
{
id: 'multiplemonths',
label: 'Multiple Months',
component: MultipleMonthsDoc
},
{
id: 'datetemplate',
label: 'Date Template',
component: DateTemplateDoc
},
{
id: 'inline',
label: 'Inline',
component: InlineDoc
},
{
id: 'floatlabel',
label: 'Float Label',
component: FloatLabelDoc
},
2024-02-02 11:49:09 +00:00
{
id: 'filled',
label: 'Filled',
component: FilledDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
{
id: 'disabled',
label: 'Disabled',
component: DisabledDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-05-04 14:51:43 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>