mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
revert: update
This commit is contained in:
parent
44ed462663
commit
e719bc9db8
11
src/types/dashboard.d.ts
vendored
11
src/types/dashboard.d.ts
vendored
@ -42,7 +42,6 @@ export interface LayoutConfig {
|
||||
children?: { name: string; children: LayoutConfig[]; expression?: string; enable?: boolean }[];
|
||||
activedTabIndex?: number;
|
||||
metricConfig?: MetricConfigOpt[];
|
||||
hierarchyServicesConfig?: HierarchyServicesConfig[];
|
||||
id?: string;
|
||||
associate?: { widgetId: string }[];
|
||||
eventAssociate?: boolean;
|
||||
@ -86,16 +85,6 @@ export type MetricConfigOpt = {
|
||||
detailLabel?: string;
|
||||
};
|
||||
|
||||
export interface HierarchyServicesConfigMap {
|
||||
[key: string]: HierarchyServicesConfig;
|
||||
}
|
||||
|
||||
export interface HierarchyServicesConfig {
|
||||
layer: string;
|
||||
nodeExpressions: string[];
|
||||
expressionsConfig: MetricConfigOpt[];
|
||||
}
|
||||
|
||||
export interface WidgetConfig {
|
||||
name?: string;
|
||||
title?: string;
|
||||
|
@ -81,7 +81,6 @@ limitations under the License. -->
|
||||
<script lang="ts" setup>
|
||||
import type { PropType } from "vue";
|
||||
import { ref, onMounted, watch, computed, nextTick } from "vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import * as d3 from "d3";
|
||||
import type { Node } from "@/types/topology";
|
||||
import { useTopologyStore } from "@/store/modules/topology";
|
||||
@ -95,7 +94,6 @@ limitations under the License. -->
|
||||
import icons from "@/assets/img/icons";
|
||||
import { layout, changeNode, computeLevels } from "./utils/layout";
|
||||
import zoom from "@/views/dashboard/related/components/utils/zoom";
|
||||
import type { HierarchyServicesConfig } from "@/types/dashboard";
|
||||
import getDashboard from "@/hooks/useDashboardsSession";
|
||||
|
||||
/*global Nullable, defineProps */
|
||||
@ -105,7 +103,6 @@ limitations under the License. -->
|
||||
default: () => ({}),
|
||||
},
|
||||
});
|
||||
const { t } = useI18n();
|
||||
const topologyStore = useTopologyStore();
|
||||
const dashboardStore = useDashboardStore();
|
||||
const appStore = useAppStoreWithOut();
|
||||
@ -114,8 +111,6 @@ limitations under the License. -->
|
||||
const loading = ref<boolean>(false);
|
||||
const svg = ref<Nullable<any>>(null);
|
||||
const graph = ref<Nullable<any>>(null);
|
||||
// const settings = ref<any>(props.config);
|
||||
const showSetting = ref<boolean>(false);
|
||||
const topologyLayout = ref<any>({});
|
||||
const popover = ref<Nullable<any>>(null);
|
||||
const graphWidth = ref<number>(100);
|
||||
|
Loading…
Reference in New Issue
Block a user