From e199e980220a78ac7e6e9d0ca9de8fee6ed2c164 Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Mon, 16 Oct 2023 00:59:50 -0400 Subject: [PATCH] cv -> pv & Cv -> Pv --- .../cameras/CameraCalibrationCard.vue | 32 +++++++------- .../components/cameras/CameraSettingsCard.vue | 8 ++-- .../common/{cv-icon.vue => pv-icon.vue} | 0 .../common/{cv-input.vue => pv-input.vue} | 2 +- ...v-number-input.vue => pv-number-input.vue} | 2 +- .../common/{cv-radio.vue => pv-radio.vue} | 2 +- ...v-range-slider.vue => pv-range-slider.vue} | 2 +- .../common/{cv-select.vue => pv-select.vue} | 2 +- .../common/{cv-slider.vue => pv-slider.vue} | 2 +- .../common/{cv-switch.vue => pv-switch.vue} | 2 +- ...pped-label.vue => pv-tooltipped-label.vue} | 0 .../dashboard/CameraAndPipelineSelectCard.vue | 30 ++++++------- .../components/dashboard/tabs/AprilTagTab.vue | 20 ++++----- .../components/dashboard/tabs/ArucoTab.vue | 8 ++-- .../components/dashboard/tabs/ContoursTab.vue | 42 +++++++++---------- .../components/dashboard/tabs/InputTab.vue | 24 +++++------ .../components/dashboard/tabs/OutputTab.vue | 12 +++--- .../src/components/dashboard/tabs/PnPTab.vue | 8 ++-- .../dashboard/tabs/ThresholdTab.vue | 14 +++---- .../components/settings/DeviceControlCard.vue | 4 +- .../components/settings/LEDControlCard.vue | 4 +- .../src/components/settings/MetricsCard.vue | 4 +- .../components/settings/NetworkingCard.vue | 22 +++++----- 23 files changed, 123 insertions(+), 123 deletions(-) rename photon-client/src/components/common/{cv-icon.vue => pv-icon.vue} (100%) rename photon-client/src/components/common/{cv-input.vue => pv-input.vue} (96%) rename photon-client/src/components/common/{cv-number-input.vue => pv-number-input.vue} (94%) rename photon-client/src/components/common/{cv-radio.vue => pv-radio.vue} (94%) rename photon-client/src/components/common/{cv-range-slider.vue => pv-range-slider.vue} (97%) rename photon-client/src/components/common/{cv-select.vue => pv-select.vue} (96%) rename photon-client/src/components/common/{cv-slider.vue => pv-slider.vue} (96%) rename photon-client/src/components/common/{cv-switch.vue => pv-switch.vue} (93%) rename photon-client/src/components/common/{cv-tooltipped-label.vue => pv-tooltipped-label.vue} (100%) 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 @@