mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
64
packages/primevue/scripts/components/inputmask.js
Normal file
64
packages/primevue/scripts/components/inputmask.js
Normal file
|
@ -0,0 +1,64 @@
|
|||
const InputMaskProps = [
|
||||
{
|
||||
name: 'modelValue',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Value of the component.'
|
||||
},
|
||||
{
|
||||
name: 'mask',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Mask pattern.'
|
||||
},
|
||||
{
|
||||
name: 'slotChar',
|
||||
type: 'string',
|
||||
default: '-',
|
||||
description: 'Placeholder character in mask, default is underscore.'
|
||||
},
|
||||
{
|
||||
name: 'autoClear',
|
||||
type: 'boolean',
|
||||
default: 'true',
|
||||
description: 'Clears the incomplete value on blur.'
|
||||
},
|
||||
{
|
||||
name: 'unmask',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Defines if model sets the raw unmasked value to bound value or the formatted mask value.'
|
||||
},
|
||||
{
|
||||
name: 'invalid',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'When present, it specifies that the component should have invalid state style.'
|
||||
},
|
||||
{
|
||||
name: 'variant',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Specifies the input variant of the component.'
|
||||
},
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Used to pass attributes to DOM elements inside the component.'
|
||||
},
|
||||
{
|
||||
name: 'unstyled',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'When enabled, it removes component related styles in the core.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
inputmask: {
|
||||
name: 'InputMask',
|
||||
description: 'InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone.',
|
||||
props: InputMaskProps
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue