2023-05-24 11:23:36 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import InputTextStyle from 'primevue/inputtext/style';
|
2023-05-24 11:23:36 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseInputText',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
2023-07-04 09:28:31 +00:00
|
|
|
modelValue: null,
|
|
|
|
size: {
|
|
|
|
type: String,
|
|
|
|
default: null
|
2024-01-30 11:27:56 +00:00
|
|
|
},
|
|
|
|
invalid: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
2023-07-04 09:28:31 +00:00
|
|
|
}
|
2023-05-24 11:23:36 +00:00
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: InputTextStyle,
|
2023-05-30 11:06:57 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-24 11:23:36 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|