2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-05-05 08:46:45 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue CascadeSelect Component"
|
|
|
|
header="CascadeSelect"
|
|
|
|
description="CascadeSelect is a form component to select a value from a nested structure of options."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['CascadeSelect']"
|
|
|
|
:ptTabComponent="ptComponent"
|
2023-07-26 13:22:13 +00:00
|
|
|
:themingDocs="themingDoc"
|
2023-05-05 08:46:45 +00:00
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-09-21 11:21:43 +00:00
|
|
|
import AccessibilityDoc from '@/doc/cascadeselect/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/cascadeselect/BasicDoc.vue';
|
2024-10-28 11:43:20 +00:00
|
|
|
import ClearIconDoc from '@/doc/cascadeselect/ClearIconDoc.vue';
|
2023-09-21 11:21:43 +00:00
|
|
|
import DisabledDoc from '@/doc/cascadeselect/DisabledDoc.vue';
|
2024-02-02 11:49:09 +00:00
|
|
|
import FilledDoc from '@/doc/cascadeselect/FilledDoc.vue';
|
2023-09-21 11:21:43 +00:00
|
|
|
import FloatLabelDoc from '@/doc/cascadeselect/FloatLabelDoc.vue';
|
2024-10-23 12:21:38 +00:00
|
|
|
import FormsDoc from '@/doc/cascadeselect/FormsDoc.vue';
|
2024-09-20 09:28:05 +00:00
|
|
|
import IftaLabelDoc from '@/doc/cascadeselect/IftaLabelDoc.vue';
|
2024-10-25 20:13:22 +00:00
|
|
|
import SizesDoc from '@/doc/cascadeselect/SizesDoc.vue';
|
2023-09-21 11:21:43 +00:00
|
|
|
import ImportDoc from '@/doc/cascadeselect/ImportDoc.vue';
|
|
|
|
import InvalidDoc from '@/doc/cascadeselect/InvalidDoc.vue';
|
|
|
|
import LoadingStateDoc from '@/doc/cascadeselect/LoadingStateDoc.vue';
|
|
|
|
import TemplateDoc from '@/doc/cascadeselect/TemplateDoc.vue';
|
2023-05-05 08:46:45 +00:00
|
|
|
import PTComponent from '@/doc/cascadeselect/pt/index.vue';
|
2023-07-26 13:22:13 +00:00
|
|
|
import ThemingDoc from '@/doc/cascadeselect/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
|
|
|
|
},
|
2024-10-22 07:00:21 +00:00
|
|
|
{
|
2024-10-23 12:21:38 +00:00
|
|
|
id: 'forms',
|
|
|
|
label: 'Forms',
|
|
|
|
component: FormsDoc
|
2024-10-22 07:00:21 +00:00
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'template',
|
|
|
|
label: 'Template',
|
|
|
|
component: TemplateDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'loadingstate',
|
|
|
|
label: 'Loading State',
|
|
|
|
component: LoadingStateDoc
|
|
|
|
},
|
2024-10-28 11:43:20 +00:00
|
|
|
{
|
|
|
|
id: 'clearicon',
|
|
|
|
label: 'Clear Icon',
|
|
|
|
component: ClearIconDoc
|
|
|
|
},
|
2024-09-28 20:54:53 +00:00
|
|
|
{
|
|
|
|
id: 'filled',
|
|
|
|
label: 'Filled',
|
|
|
|
component: FilledDoc
|
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'floatlabel',
|
|
|
|
label: 'Float Label',
|
|
|
|
component: FloatLabelDoc
|
|
|
|
},
|
2024-09-20 09:28:05 +00:00
|
|
|
{
|
|
|
|
id: 'iftalabel',
|
|
|
|
label: 'Ifta Label',
|
|
|
|
component: IftaLabelDoc
|
|
|
|
},
|
2024-10-25 20:13:22 +00:00
|
|
|
{
|
|
|
|
id: 'sizes',
|
|
|
|
label: 'Sizes',
|
|
|
|
component: SizesDoc
|
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'invalid',
|
|
|
|
label: 'Invalid',
|
|
|
|
component: InvalidDoc
|
|
|
|
},
|
2022-09-09 20:41:18 +00:00
|
|
|
{
|
2023-02-28 08:29:30 +00:00
|
|
|
id: 'disabled',
|
|
|
|
label: 'Disabled',
|
|
|
|
component: DisabledDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-28 08:29:30 +00:00
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
}
|
2023-05-05 08:46:45 +00:00
|
|
|
],
|
2023-07-26 13:22:13 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|