From aed7a6ac2b62795cf9826a257038beb7f1e4b19e Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Sat, 15 Jul 2023 14:20:53 -0400 Subject: [PATCH] Formatting fixes --- .../components/dashboard/PipelineConfigTabs/AprilTagTab.vue | 4 ++-- .../src/components/dashboard/PipelineConfigTabs/ArucoTab.vue | 4 ++-- .../components/dashboard/PipelineConfigTabs/ContoursTab.vue | 4 ++-- .../src/components/dashboard/PipelineConfigTabs/InputTab.vue | 2 +- .../src/components/dashboard/PipelineConfigTabs/OutputTab.vue | 4 ++-- .../src/components/dashboard/PipelineConfigTabs/PnPTab.vue | 4 ++-- .../components/dashboard/PipelineConfigTabs/ThresholdTab.vue | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/photon-client/src/components/dashboard/PipelineConfigTabs/AprilTagTab.vue b/photon-client/src/components/dashboard/PipelineConfigTabs/AprilTagTab.vue index 322d9e2d45..d7e6d76c98 100644 --- a/photon-client/src/components/dashboard/PipelineConfigTabs/AprilTagTab.vue +++ b/photon-client/src/components/dashboard/PipelineConfigTabs/AprilTagTab.vue @@ -4,8 +4,8 @@ import { PipelineType } from "@/types/PipelineTypes"; import CvSelect from "@/components/common/cv-select.vue"; import CvSlider from "@/components/common/cv-slider.vue"; import CvSwitch from "@/components/common/cv-switch.vue"; -import {computed, getCurrentInstance} from "vue"; -import {useStateStore} from "@/stores/StateStore"; +import { computed, getCurrentInstance } from "vue"; +import { useStateStore } from "@/stores/StateStore"; // TODO fix pipeline typing in order to fix this, the store settings call should be able to infer that only valid pipeline type settings are exposed based on pre-checks for the entire config section // Defer reference to store access method diff --git a/photon-client/src/components/dashboard/PipelineConfigTabs/ArucoTab.vue b/photon-client/src/components/dashboard/PipelineConfigTabs/ArucoTab.vue index 472e8e2f46..1a91719c25 100644 --- a/photon-client/src/components/dashboard/PipelineConfigTabs/ArucoTab.vue +++ b/photon-client/src/components/dashboard/PipelineConfigTabs/ArucoTab.vue @@ -2,8 +2,8 @@ import { useCameraSettingsStore } from "@/stores/settings/CameraSettingsStore"; import { PipelineType } from "@/types/PipelineTypes"; import CvSlider from "@/components/common/cv-slider.vue"; -import {computed, getCurrentInstance} from "vue"; -import {useStateStore} from "@/stores/StateStore"; +import { computed, getCurrentInstance } from "vue"; +import { useStateStore } from "@/stores/StateStore"; // TODO fix pipeline typing in order to fix this, the store settings call should be able to infer that only valid pipeline type settings are exposed based on pre-checks for the entire config section // Defer reference to store access method diff --git a/photon-client/src/components/dashboard/PipelineConfigTabs/ContoursTab.vue b/photon-client/src/components/dashboard/PipelineConfigTabs/ContoursTab.vue index 3c484ce164..67ea2fa0cf 100644 --- a/photon-client/src/components/dashboard/PipelineConfigTabs/ContoursTab.vue +++ b/photon-client/src/components/dashboard/PipelineConfigTabs/ContoursTab.vue @@ -4,8 +4,8 @@ import { PipelineType } from "@/types/PipelineTypes"; import CvRangeSlider from "@/components/common/cv-range-slider.vue"; import CvSelect from "@/components/common/cv-select.vue"; import CvSlider from "@/components/common/cv-slider.vue"; -import {computed, getCurrentInstance} from "vue"; -import {useStateStore} from "@/stores/StateStore"; +import { computed, getCurrentInstance } from "vue"; +import { useStateStore } from "@/stores/StateStore"; // TODO fix pipeline typing in order to fix this, the store settings call should be able to infer that only valid pipeline type settings are exposed based on pre-checks for the entire config section // Defer reference to store access method diff --git a/photon-client/src/components/dashboard/PipelineConfigTabs/InputTab.vue b/photon-client/src/components/dashboard/PipelineConfigTabs/InputTab.vue index 9d46a64961..a036f5dd3e 100644 --- a/photon-client/src/components/dashboard/PipelineConfigTabs/InputTab.vue +++ b/photon-client/src/components/dashboard/PipelineConfigTabs/InputTab.vue @@ -3,7 +3,7 @@ import CvSlider from "@/components/common/cv-slider.vue"; import { useCameraSettingsStore } from "@/stores/settings/CameraSettingsStore"; import CvSwitch from "@/components/common/cv-switch.vue"; import CvSelect from "@/components/common/cv-select.vue"; -import { computed, getCurrentInstance} from "vue"; +import { computed, getCurrentInstance } from "vue"; import { useSettingsStore } from "@/stores/settings/GeneralSettingsStore"; import { useStateStore } from "@/stores/StateStore"; diff --git a/photon-client/src/components/dashboard/PipelineConfigTabs/OutputTab.vue b/photon-client/src/components/dashboard/PipelineConfigTabs/OutputTab.vue index 3d4c1c69a0..8ca86854bf 100644 --- a/photon-client/src/components/dashboard/PipelineConfigTabs/OutputTab.vue +++ b/photon-client/src/components/dashboard/PipelineConfigTabs/OutputTab.vue @@ -4,9 +4,9 @@ import CvSelect from "@/components/common/cv-select.vue"; import { useCameraSettingsStore } from "@/stores/settings/CameraSettingsStore"; import { PipelineType, RobotOffsetPointMode } from "@/types/PipelineTypes"; import CvSwitch from "@/components/common/cv-switch.vue"; -import {computed, getCurrentInstance} from "vue"; +import { computed, getCurrentInstance } from "vue"; import { RobotOffsetType } from "@/types/SettingTypes"; -import {useStateStore} from "@/stores/StateStore"; +import { useStateStore } from "@/stores/StateStore"; const isTagPipeline = computed(() => useCameraSettingsStore().currentPipelineType === PipelineType.AprilTag || useCameraSettingsStore().currentPipelineType === PipelineType.Aruco); diff --git a/photon-client/src/components/dashboard/PipelineConfigTabs/PnPTab.vue b/photon-client/src/components/dashboard/PipelineConfigTabs/PnPTab.vue index 7bf0e3d4bd..59fb0fabed 100644 --- a/photon-client/src/components/dashboard/PipelineConfigTabs/PnPTab.vue +++ b/photon-client/src/components/dashboard/PipelineConfigTabs/PnPTab.vue @@ -3,8 +3,8 @@ import CvSelect from "@/components/common/cv-select.vue"; import { useCameraSettingsStore } from "@/stores/settings/CameraSettingsStore"; import { TargetModel } from "@/types/PipelineTypes"; import CvSlider from "@/components/common/cv-slider.vue"; -import {computed, getCurrentInstance} from "vue"; -import {useStateStore} from "@/stores/StateStore"; +import { computed, getCurrentInstance } from "vue"; +import { useStateStore } from "@/stores/StateStore"; const interactiveCols = computed(() => (getCurrentInstance()?.proxy.$vuetify.breakpoint.mdAndDown || false) && (!useStateStore().sidebarFolded || useCameraSettingsStore().isDriverMode)) ? 9 : 8; diff --git a/photon-client/src/components/dashboard/PipelineConfigTabs/ThresholdTab.vue b/photon-client/src/components/dashboard/PipelineConfigTabs/ThresholdTab.vue index 8017f7ec1a..8a71a7c435 100644 --- a/photon-client/src/components/dashboard/PipelineConfigTabs/ThresholdTab.vue +++ b/photon-client/src/components/dashboard/PipelineConfigTabs/ThresholdTab.vue @@ -1,6 +1,6 @@