primevue-mirror/components/lib/inputmask/style/InputMaskStyle.js

18 lines
459 B
JavaScript
Raw Normal View History

import BaseStyle from 'primevue/base/style';
const classes = {
2024-01-31 08:02:53 +00:00
root: ({ props, instance }) => [
'p-inputmask p-inputtext p-component',
{
2024-01-31 08:02:53 +00:00
'p-filled': instance.filled,
'p-invalid': props.invalid,
2024-02-02 11:46:26 +00:00
'p-variant-filled': props.variant ? props.variant === 'filled' : instance.$primevue.config.inputStyle === 'filled'
}
]
};
export default BaseStyle.extend({
name: 'inputmask',
2023-10-04 09:20:15 +00:00
classes
});