2023-05-25 14:15:19 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
import InlineMessageStyle from 'primevue/inlinemessage/style';
|
2023-05-25 14:15:19 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'BaseInlineMessage',
|
|
|
|
extends: BaseComponent,
|
|
|
|
props: {
|
|
|
|
severity: {
|
|
|
|
type: String,
|
|
|
|
default: 'error'
|
|
|
|
},
|
|
|
|
icon: {
|
|
|
|
type: String,
|
|
|
|
default: undefined
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: InlineMessageStyle,
|
2023-06-02 14:28:59 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
2024-04-25 01:26:06 +00:00
|
|
|
$pcInlineMessage: this,
|
2023-06-02 14:28:59 +00:00
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-25 14:15:19 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|