34 lines
687 B
Vue
34 lines
687 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import InputMaskStyle from 'primevue/inputmask/style';
|
|
|
|
export default {
|
|
name: 'BaseInputMask',
|
|
extends: BaseComponent,
|
|
props: {
|
|
modelValue: null,
|
|
slotChar: {
|
|
type: String,
|
|
default: '_'
|
|
},
|
|
mask: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
autoClear: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
unmask: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
readonly: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
},
|
|
style: InputMaskStyle
|
|
};
|
|
</script>
|