Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: fix warning of compiler-sfc (#8610)

CorrectRoadH6c16bf05c709
diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RuleSelect.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RuleSelect.vue
index f72ab1cd90..8db5e2ff2c 100644
--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RuleSelect.vue
+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RuleSelect.vue
@@ -99,7 +99,7 @@ const toApprovalFlow = () => {
</script>
<style lang="postcss" scoped>
-.bb-rule-select ::v-deep .n-base-selection-input:focus {
+.bb-rule-select :deep(.n-base-selection-input:focus) {
@apply !ring-0;
}
</style>
diff --git a/frontend/src/components/IdentityProviderCreateForm.vue b/frontend/src/components/IdentityProviderCreateForm.vue
index a5f749e513..6d5a688790 100644
--- a/frontend/src/components/IdentityProviderCreateForm.vue
+++ b/frontend/src/components/IdentityProviderCreateForm.vue
@@ -833,7 +833,7 @@ import { toClipboard } from "@soerenmartius/vue3-clipboard";
import { cloneDeep, head, isEqual } from "lodash-es";
import { NRadioGroup, NRadio, NTooltip } from "naive-ui";
import { ClientError, Status } from "nice-grpc-common";
-import { computed, reactive, defineProps, ref, onMounted, watch } from "vue";
+import { computed, reactive, ref, onMounted, watch } from "vue";
import { useI18n } from "vue-i18n";
import { useRouter } from "vue-router";
import ResourceIdField from "@/components/v2/Form/ResourceIdField.vue";
diff --git a/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionIcon.vue b/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionIcon.vue
index f9e5cb3511..c7334a2e48 100644
--- a/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionIcon.vue
+++ b/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionIcon.vue
@@ -260,7 +260,7 @@ const icon = computed((): ActionIconType => {
</script>
<style scoped>
-.icon-re-request-review ::v-deep path {
+.icon-re-request-review :deep(path) {
stroke-width: 3 !important;
}
</style>
diff --git a/frontend/src/components/v2/Select/DatabaseSelect.vue b/frontend/src/components/v2/Select/DatabaseSelect.vue
index ef84e2e9f8..3f697fe62c 100644
--- a/frontend/src/components/v2/Select/DatabaseSelect.vue
+++ b/frontend/src/components/v2/Select/DatabaseSelect.vue
@@ -186,7 +186,7 @@ watch(
</script>
<style lang="postcss" scoped>
-.bb-database-select ::v-deep .n-base-selection-input:focus {
+.bb-database-select :deep(.n-base-selection-input:focus) {
@apply !ring-0;
}
</style>
diff --git a/frontend/src/components/v2/Select/EnvironmentSelect.vue b/frontend/src/components/v2/Select/EnvironmentSelect.vue
index 577545bd86..3248f8d0cd 100644
--- a/frontend/src/components/v2/Select/EnvironmentSelect.vue
+++ b/frontend/src/components/v2/Select/EnvironmentSelect.vue
@@ -92,7 +92,7 @@ watchEffect(prepare);
</script>
<style lang="postcss" scoped>
-.bb-environment-select ::v-deep .n-base-selection-input:focus {
+.bb-environment-select :deep(.n-base-selection-input:focus) {
@apply !ring-0;
}
</style>
diff --git a/frontend/src/components/v2/Select/InstanceSelect.vue b/frontend/src/components/v2/Select/InstanceSelect.vue
index 5d444aa9c2..a7c9795458 100644
--- a/frontend/src/components/v2/Select/InstanceSelect.vue
+++ b/frontend/src/components/v2/Select/InstanceSelect.vue
@@ -154,13 +154,11 @@ watch([() => props.instance, combinedInstanceList], resetInvalidSelection, {
<style lang="postcss" scoped>
.bb-instance-select
- ::v-deep
- .n-base-selection--active
- .bb-instance-select--engine-icon {
+ :deep(.n-base-selection--active .bb-instance-select--engine-icon) {
opacity: 0.3;
}
-.bb-instance-select ::v-deep .n-base-selection-input:focus {
+.bb-instance-select :deep(.n-base-selection-input:focus) {
@apply !ring-0;
}
</style>
diff --git a/frontend/src/components/v2/Select/ProjectMemberRoleSelect.vue b/frontend/src/components/v2/Select/ProjectMemberRoleSelect.vue
index 06e06ff83d..ce2b448711 100644
--- a/frontend/src/components/v2/Select/ProjectMemberRoleSelect.vue
+++ b/frontend/src/components/v2/Select/ProjectMemberRoleSelect.vue
@@ -107,7 +107,7 @@ const filterByName = (pattern: string, option: SelectOption) => {
</script>
<style lang="postcss" scoped>
-.bb-project-member-role-select ::v-deep .n-base-selection-input:focus {
+.bb-project-member-role-select :deep(.n-base-selection-input:focus) {
@apply !ring-0;
}
</style>
diff --git a/frontend/src/components/v2/Select/UserSelect.vue b/frontend/src/components/v2/Select/UserSelect.vue
index 499e3cc3b4..e72cddce30 100644
--- a/frontend/src/components/v2/Select/UserSelect.vue
+++ b/frontend/src/components/v2/Select/UserSelect.vue
@@ -296,11 +296,11 @@ watch(
</script>
<style lang="postcss" scoped>
-.bb-user-select ::v-deep .n-base-selection--active .bb-user-select--avatar {
+.bb-user-select :deep(.n-base-selection--active .bb-user-select--avatar) {
opacity: 0.3;
}
-.bb-user-select ::v-deep .n-base-selection-input:focus,
-.bb-user-select ::v-deep .n-base-selection-input-tag__input:focus {
+.bb-user-select :deep(.n-base-selection-input:focus),
+.bb-user-select :deep(.n-base-selection-input-tag__input:focus) {
@apply !ring-0;
}
</style>