2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-05-05 15:01:38 +00:00
|
|
|
<DocComponent title="Vue Password Component" header="Password" description="Password displays strength indicator for password fields." :componentDocs="docs" :apiDocs="['Password']" :ptTabComponent="ptComponent" />
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '@/doc/password/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/password/BasicDoc.vue';
|
|
|
|
import DisabledDoc from '@/doc/password/DisabledDoc.vue';
|
|
|
|
import FloatLabelDoc from '@/doc/password/FloatLabelDoc.vue';
|
|
|
|
import ImportDoc from '@/doc/password/ImportDoc.vue';
|
|
|
|
import InvalidDoc from '@/doc/password/InvalidDoc.vue';
|
|
|
|
import LocaleDoc from '@/doc/password/LocaleDoc.vue';
|
|
|
|
import MeterDoc from '@/doc/password/MeterDoc.vue';
|
|
|
|
import StyleDoc from '@/doc/password/StyleDoc.vue';
|
|
|
|
import TemplateDoc from '@/doc/password/TemplateDoc.vue';
|
|
|
|
import ToggleMaskDoc from '@/doc/password/ToggleMaskDoc.vue';
|
2023-05-05 15:01:38 +00:00
|
|
|
import VeeValidateDoc from '@/doc/password/form/VeeValidateDoc.vue';
|
|
|
|
import PTComponent from '@/doc/password/pt/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: 'meter',
|
|
|
|
label: 'Meter',
|
|
|
|
component: MeterDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'locale',
|
|
|
|
label: 'Locale',
|
|
|
|
component: LocaleDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'togglemask',
|
|
|
|
label: 'ToggleMask',
|
|
|
|
component: ToggleMaskDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'template',
|
|
|
|
label: 'Template',
|
|
|
|
component: TemplateDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'floatlabel',
|
|
|
|
label: 'FloatLabel',
|
|
|
|
component: FloatLabelDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'invalid',
|
|
|
|
label: 'Invalid',
|
|
|
|
component: InvalidDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'disabled',
|
|
|
|
label: 'Disabled',
|
|
|
|
component: DisabledDoc
|
|
|
|
},
|
2023-03-17 13:05:14 +00:00
|
|
|
{
|
|
|
|
id: 'form',
|
|
|
|
label: 'Form',
|
|
|
|
description: 'Compatibility with popular Vue form libraries.',
|
|
|
|
children: [
|
|
|
|
{
|
2023-03-20 10:38:06 +00:00
|
|
|
id: 'veevalidate',
|
|
|
|
label: 'VeeValidate',
|
2023-03-17 13:05:14 +00:00
|
|
|
component: VeeValidateDoc
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'style',
|
|
|
|
label: 'Style',
|
|
|
|
component: StyleDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'accessibility',
|
|
|
|
label: 'Accessibility',
|
|
|
|
component: AccessibilityDoc
|
|
|
|
}
|
2023-05-05 15:01:38 +00:00
|
|
|
],
|
|
|
|
ptComponent: PTComponent
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|