2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
2023-05-05 11:30:21 +00:00
|
|
|
<DocComponent
|
|
|
|
title="Vue Mask Component"
|
|
|
|
header="InputMask"
|
|
|
|
description="InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone."
|
|
|
|
:componentDocs="docs"
|
|
|
|
:apiDocs="['InputMask']"
|
|
|
|
:ptTabComponent="ptComponent"
|
2023-07-26 14:53:34 +00:00
|
|
|
:themingDocs="themingDoc"
|
2023-05-05 11:30:21 +00:00
|
|
|
/>
|
2022-09-09 20:41:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-02-28 08:29:30 +00:00
|
|
|
import AccessibilityDoc from '@/doc/inputmask/AccessibilityDoc.vue';
|
|
|
|
import BasicDoc from '@/doc/inputmask/BasicDoc.vue';
|
|
|
|
import DisabledDoc from '@/doc/inputmask/DisabledDoc.vue';
|
2024-02-02 11:49:09 +00:00
|
|
|
import FilledDoc from '@/doc/inputmask/FilledDoc.vue';
|
2023-02-28 08:29:30 +00:00
|
|
|
import FloatLabelDoc from '@/doc/inputmask/FloatLabelDoc.vue';
|
2024-09-18 10:49:16 +00:00
|
|
|
import IftaLabelDoc from '@/doc/inputmask/IftaLabelDoc.vue';
|
2023-02-28 08:29:30 +00:00
|
|
|
import ImportDoc from '@/doc/inputmask/ImportDoc.vue';
|
|
|
|
import InvalidDoc from '@/doc/inputmask/InvalidDoc.vue';
|
|
|
|
import MaskDoc from '@/doc/inputmask/MaskDoc.vue';
|
|
|
|
import OptionalDoc from '@/doc/inputmask/OptionalDoc.vue';
|
|
|
|
import SlotCharDoc from '@/doc/inputmask/SlotCharDoc.vue';
|
2023-05-05 11:30:21 +00:00
|
|
|
import PTComponent from '@/doc/inputmask/pt/index.vue';
|
2023-07-26 14:53:34 +00:00
|
|
|
import ThemingDoc from '@/doc/inputmask/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: 'mask',
|
|
|
|
label: 'Mask',
|
|
|
|
component: MaskDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'optional',
|
|
|
|
label: 'Optional',
|
|
|
|
component: OptionalDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'slotchar',
|
|
|
|
label: 'SlotChar',
|
|
|
|
component: SlotCharDoc
|
|
|
|
},
|
2024-09-28 20:59:00 +00:00
|
|
|
{
|
|
|
|
id: 'filled',
|
|
|
|
label: 'Filled',
|
|
|
|
component: FilledDoc
|
|
|
|
},
|
2023-02-28 08:29:30 +00:00
|
|
|
{
|
|
|
|
id: 'floatlabel',
|
2024-01-30 08:04:48 +00:00
|
|
|
label: 'Float Label',
|
2023-02-28 08:29:30 +00:00
|
|
|
component: FloatLabelDoc
|
|
|
|
},
|
2024-09-18 10:49:16 +00:00
|
|
|
{
|
|
|
|
id: 'iftalabel',
|
|
|
|
label: 'Ifta Label',
|
|
|
|
component: IftaLabelDoc
|
|
|
|
},
|
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
|
|
|
|
}
|
2023-05-05 11:30:21 +00:00
|
|
|
],
|
2023-07-26 14:53:34 +00:00
|
|
|
ptComponent: PTComponent,
|
|
|
|
themingDoc: ThemingDoc
|
2022-09-09 20:41:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style></style>
|