2023-05-24 09:52:20 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import InplaceStyle from 'primevue/inplace/style';
|
2023-05-24 09:52:20 +00:00
|
|
|
|
|
|
|
export default {
|
2023-05-24 10:09:45 +00:00
|
|
|
name: 'BaseInplace',
|
2023-05-24 09:52:20 +00:00
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
closable: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
active: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
disabled: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
},
|
|
|
|
closeIcon: {
|
|
|
|
type: String,
|
|
|
|
default: undefined
|
|
|
|
},
|
|
|
|
displayProps: {
|
|
|
|
type: null,
|
|
|
|
default: null
|
|
|
|
},
|
|
|
|
closeButtonProps: {
|
|
|
|
type: null,
|
|
|
|
default: null
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: InplaceStyle,
|
2023-05-30 12:28:04 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-24 09:52:20 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|