- aggiornamento di tante cose...
- generazione Volantini - pagina RIS
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { defineComponent, computed } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CRISBalanceBar',
|
||||
@@ -24,14 +25,24 @@ export default defineComponent({
|
||||
// Label opzionale
|
||||
label: {
|
||||
type: String,
|
||||
default: 'Range disponibile',
|
||||
default: '',
|
||||
},
|
||||
small: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
color: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
info: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
}
|
||||
},
|
||||
setup(props) {
|
||||
|
||||
const { t } = useI18n();
|
||||
// Range totale
|
||||
const totalRange = computed(() => {
|
||||
return Math.abs(props.minLimit) + props.maxLimit;
|
||||
@@ -86,6 +97,7 @@ export default defineComponent({
|
||||
canGive,
|
||||
canReceive,
|
||||
zeroPosition,
|
||||
t,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user