diff --git a/photon-client/src/components/cameras/CameraCalibrationCard.vue b/photon-client/src/components/cameras/CameraCalibrationCard.vue index fb12224656..3b007bacf5 100644 --- a/photon-client/src/components/cameras/CameraCalibrationCard.vue +++ b/photon-client/src/components/cameras/CameraCalibrationCard.vue @@ -5,11 +5,11 @@ import { CalibrationBoardTypes, type Resolution, type VideoFormat } from "@/type import JsPDF from "jspdf"; import { font as PromptRegular } from "@/assets/fonts/PromptRegular"; import MonoLogo from "@/assets/images/logoMono.png"; -import CvSlider from "@/components/common/cv-slider.vue"; +import PvSlider from "@/components/common/pv-slider.vue"; import { useStateStore } from "@/stores/StateStore"; -import CvSwitch from "@/components/common/cv-switch.vue"; -import CvSelect from "@/components/common/cv-select.vue"; -import CvNumberInput from "@/components/common/cv-number-input.vue"; +import PvSwitch from "@/components/common/pv-switch.vue"; +import PvSelect from "@/components/common/pv-select.vue"; +import PvNumberInput from "@/components/common/pv-number-input.vue"; import { WebsocketPipelineType } from "@/types/WebsocketDataTypes"; const settingsValid = ref(true); @@ -224,7 +224,7 @@ const endCalibration = () => { - { tooltip="Resolution to calibrate at (you will have to calibrate every resolution you use 3D mode on)" :items="getUniqueVideoResolutionStrings()" /> - { (v) => useCameraSettingsStore().changeCurrentPipelineSetting({ streamingFrameDivisor: v }, false) " /> - { :items="['Chessboard', 'Dotboard']" :disabled="isCalibrating" /> - { :rules="[(v) => v > 0 || 'Size must be positive']" :label-cols="5" /> - { :rules="[(v) => v >= 4 || 'Width must be at least 4']" :label-cols="5" /> - { - { :step="0.1" @input="(args) => useCameraSettingsStore().changeCurrentPipelineSetting({ cameraExposure: args }, false)" /> - { (args) => useCameraSettingsStore().changeCurrentPipelineSetting({ cameraBrightness: args }, false) " /> - { (args) => useCameraSettingsStore().changeCurrentPipelineSetting({ cameraAutoExposure: args }, false) " /> - { :max="100" @input="(args) => useCameraSettingsStore().changeCurrentPipelineSetting({ cameraGain: args }, false)" /> - { tooltip="Controls red automatic white balance gain, which affects how the camera captures colors in different conditions" @input="(args) => useCameraSettingsStore().changeCurrentPipelineSetting({ cameraRedGain: args }, false)" /> - -import CvSelect from "@/components/common/cv-select.vue"; -import CvNumberInput from "@/components/common/cv-number-input.vue"; +import PvSelect from "@/components/common/pv-select.vue"; +import PvNumberInput from "@/components/common/pv-number-input.vue"; import { useCameraSettingsStore } from "@/stores/settings/CameraSettingsStore"; import { useStateStore } from "@/stores/StateStore"; import { ref, watchEffect } from "vue"; @@ -47,7 +47,7 @@ watchEffect(() => { Camera Settings
- { } " /> - import { computed } from "vue"; -import TooltippedLabel from "@/components/common/cv-tooltipped-label.vue"; +import TooltippedLabel from "@/components/common/pv-tooltipped-label.vue"; const props = withDefaults( defineProps<{ diff --git a/photon-client/src/components/common/cv-number-input.vue b/photon-client/src/components/common/pv-number-input.vue similarity index 94% rename from photon-client/src/components/common/cv-number-input.vue rename to photon-client/src/components/common/pv-number-input.vue index 67237bbb7f..8b359a7540 100644 --- a/photon-client/src/components/common/cv-number-input.vue +++ b/photon-client/src/components/common/pv-number-input.vue @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ import { useSettingsStore } from "@/stores/settings/GeneralSettingsStore"; LED Control
- { Stats - + General Metrics diff --git a/photon-client/src/components/settings/NetworkingCard.vue b/photon-client/src/components/settings/NetworkingCard.vue index 93bb330165..0a81f6b39b 100644 --- a/photon-client/src/components/settings/NetworkingCard.vue +++ b/photon-client/src/components/settings/NetworkingCard.vue @@ -1,10 +1,10 @@