32 lines
635 B
Vue
32 lines
635 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import InputTextStyle from 'primevue/inputtext/style';
|
|
|
|
export default {
|
|
name: 'BaseInputText',
|
|
extends: BaseComponent,
|
|
props: {
|
|
modelValue: null,
|
|
size: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
invalid: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: null
|
|
}
|
|
},
|
|
style: InputTextStyle,
|
|
provide() {
|
|
return {
|
|
$pcInputText: this,
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|