41 lines
1.0 KiB
JavaScript
41 lines
1.0 KiB
JavaScript
export default () => {
|
|
const { t } = inject('service')
|
|
return reactive({
|
|
closeBtn: {
|
|
props: {
|
|
icon: 'isax isax-close-circle',
|
|
severity: 'secondary',
|
|
rounded: true,
|
|
text: true
|
|
}
|
|
},
|
|
fields: {
|
|
title: {
|
|
props: {
|
|
placeholder: ''
|
|
},
|
|
is: 'InputText',
|
|
label: t('commentTitle'),
|
|
},
|
|
positive: {
|
|
props: {
|
|
// separator: ',',
|
|
placeholder: '',
|
|
max: 10
|
|
},
|
|
is: 'Chips',
|
|
label: t('positivePoints'),
|
|
},
|
|
negative: {
|
|
props: {
|
|
// separator: ',',
|
|
placeholder: '',
|
|
max: 10
|
|
},
|
|
is: 'Chips',
|
|
label: t('negativePoints'),
|
|
}
|
|
}
|
|
})
|
|
}
|