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

140 lines
4.7 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2024-04-18 14:22:30 +00:00
<DocComponent title="Vue DatePicker Component" header="DatePicker" description="DatePicker is a form component to work with dates." :componentDocs="docs" :apiDocs="['DatePicker']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2024-04-18 14:22:30 +00:00
import AccessibilityDoc from '@/doc/datepicker/AccessibilityDoc';
import BasicDoc from '@/doc/datepicker/BasicDoc.vue';
import ButtonBarDoc from '@/doc/datepicker/ButtonBarDoc.vue';
import DateTemplateDoc from '@/doc/datepicker/DateTemplateDoc.vue';
import DisabledDoc from '@/doc/datepicker/DisabledDoc.vue';
import FilledDoc from '@/doc/datepicker/FilledDoc.vue';
import FloatLabelDoc from '@/doc/datepicker/FloatLabelDoc.vue';
import FormatDoc from '@/doc/datepicker/FormatDoc.vue';
import IconDoc from '@/doc/datepicker/IconDoc.vue';
import ImportDoc from '@/doc/datepicker/ImportDoc.vue';
import InlineDoc from '@/doc/datepicker/InlineDoc.vue';
import InvalidDoc from '@/doc/datepicker/InvalidDoc.vue';
import LocaleDoc from '@/doc/datepicker/LocaleDoc.vue';
import MinMaxDoc from '@/doc/datepicker/MinMaxDoc.vue';
import MonthPickerDoc from '@/doc/datepicker/MonthPickerDoc.vue';
import MultipleDoc from '@/doc/datepicker/MultipleDoc.vue';
import MultipleMonthsDoc from '@/doc/datepicker/MultipleMonthsDoc.vue';
import RangeDoc from '@/doc/datepicker/RangeDoc.vue';
import TimeDoc from '@/doc/datepicker/TimeDoc.vue';
import YearPickerDoc from '@/doc/datepicker/YearPickerDoc.vue';
import PTComponent from '@/doc/datepicker/pt/index.vue';
import ThemingDoc from '@/doc/datepicker/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>