- improved map performance

- improved look and feel
- minified
This commit is contained in:
2025-09-22 12:55:23 +02:00
parent 95ff07faf1
commit fef4457c52
7 changed files with 699 additions and 811 deletions
@@ -1,6 +1,6 @@
Vue.component('tt-switch', {
template: `
<label class="tt-switch">
<label class="tt-switch" :class="{'m-0': noMargin}">
<input type="checkbox" :checked="value" @change="$emit('input', $event.target.checked)" :disabled="loading">
<span class="slider round">
<span v-if="loading" class="spinner-wrapper"><span class="spinner"></span></span>
@@ -9,6 +9,7 @@ Vue.component('tt-switch', {
`,
props: {
value: { type: Boolean, default: false },
loading: { type: Boolean, default: false }
loading: { type: Boolean, default: false },
noMargin: { type: Boolean, default: false }
}
});