diff --git a/bun.lockb b/bun.lockb index e07287fa2..02859cbd9 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 0c333d5b1..78aa2c48b 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "vue-router": "^4.0.14", "vue-slide-unlock": "^0.4.8", "vue-virtual-scroller": "^2.0.0-beta.8", + "vue3-slider": "^1.9.0", "vuetify": "3.4.7", "webfontloader": "^1.0.0", "webrtc-adapter": "^8.2.0" diff --git a/src/App.vue b/src/App.vue index 37d407b72..5d5908275 100644 --- a/src/App.vue +++ b/src/App.vue @@ -101,6 +101,7 @@ {{ format(timeNow, 'E LLL do HH:mm') }} +
@@ -155,6 +156,7 @@ import { } from '@/libs/joystick/protocols/cockpit-actions' import { useMissionStore } from '@/stores/mission' +import AltitudeSlider from './components/AltitudeSlider.vue' import Dialog from './components/Dialog.vue' import EditMenu from './components/EditMenu.vue' import MiniWidgetContainer from './components/MiniWidgetContainer.vue' diff --git a/src/components/AltitudeSlider.vue b/src/components/AltitudeSlider.vue new file mode 100644 index 000000000..4b8892f7b --- /dev/null +++ b/src/components/AltitudeSlider.vue @@ -0,0 +1,44 @@ + + + + diff --git a/src/components/SlideToConfirm.vue b/src/components/SlideToConfirm.vue index 232cdbbe6..0e632a0c1 100644 --- a/src/components/SlideToConfirm.vue +++ b/src/components/SlideToConfirm.vue @@ -9,8 +9,8 @@ :noanimate="false" :width="400" :height="50" - text="slide to confirm" - success-text="action confirmed" + :text="sliderText" + :success-text="confirmationSliderText" name="slideunlock" class="slide-unlock" @completed="onSlideConfirmed()" @@ -25,12 +25,16 @@