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 }[];
|
children?: { name: string; children: LayoutConfig[]; expression?: string; enable?: boolean }[];
|
||||||
activedTabIndex?: number;
|
activedTabIndex?: number;
|
||||||
metricConfig?: MetricConfigOpt[];
|
metricConfig?: MetricConfigOpt[];
|
||||||
hierarchyServicesConfig?: HierarchyServicesConfig[];
|
|
||||||
id?: string;
|
id?: string;
|
||||||
associate?: { widgetId: string }[];
|
associate?: { widgetId: string }[];
|
||||||
eventAssociate?: boolean;
|
eventAssociate?: boolean;
|
||||||
@ -86,16 +85,6 @@ export type MetricConfigOpt = {
|
|||||||
detailLabel?: string;
|
detailLabel?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface HierarchyServicesConfigMap {
|
|
||||||
[key: string]: HierarchyServicesConfig;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface HierarchyServicesConfig {
|
|
||||||
layer: string;
|
|
||||||
nodeExpressions: string[];
|
|
||||||
expressionsConfig: MetricConfigOpt[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface WidgetConfig {
|
export interface WidgetConfig {
|
||||||
name?: string;
|
name?: string;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
@ -81,7 +81,6 @@ limitations under the License. -->
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { PropType } from "vue";
|
import type { PropType } from "vue";
|
||||||
import { ref, onMounted, watch, computed, nextTick } from "vue";
|
import { ref, onMounted, watch, computed, nextTick } from "vue";
|
||||||
import { useI18n } from "vue-i18n";
|
|
||||||
import * as d3 from "d3";
|
import * as d3 from "d3";
|
||||||
import type { Node } from "@/types/topology";
|
import type { Node } from "@/types/topology";
|
||||||
import { useTopologyStore } from "@/store/modules/topology";
|
import { useTopologyStore } from "@/store/modules/topology";
|
||||||
@ -95,7 +94,6 @@ limitations under the License. -->
|
|||||||
import icons from "@/assets/img/icons";
|
import icons from "@/assets/img/icons";
|
||||||
import { layout, changeNode, computeLevels } from "./utils/layout";
|
import { layout, changeNode, computeLevels } from "./utils/layout";
|
||||||
import zoom from "@/views/dashboard/related/components/utils/zoom";
|
import zoom from "@/views/dashboard/related/components/utils/zoom";
|
||||||
import type { HierarchyServicesConfig } from "@/types/dashboard";
|
|
||||||
import getDashboard from "@/hooks/useDashboardsSession";
|
import getDashboard from "@/hooks/useDashboardsSession";
|
||||||
|
|
||||||
/*global Nullable, defineProps */
|
/*global Nullable, defineProps */
|
||||||
@ -105,7 +103,6 @@ limitations under the License. -->
|
|||||||
default: () => ({}),
|
default: () => ({}),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const { t } = useI18n();
|
|
||||||
const topologyStore = useTopologyStore();
|
const topologyStore = useTopologyStore();
|
||||||
const dashboardStore = useDashboardStore();
|
const dashboardStore = useDashboardStore();
|
||||||
const appStore = useAppStoreWithOut();
|
const appStore = useAppStoreWithOut();
|
||||||
@ -114,8 +111,6 @@ limitations under the License. -->
|
|||||||
const loading = ref<boolean>(false);
|
const loading = ref<boolean>(false);
|
||||||
const svg = ref<Nullable<any>>(null);
|
const svg = ref<Nullable<any>>(null);
|
||||||
const graph = 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 topologyLayout = ref<any>({});
|
||||||
const popover = ref<Nullable<any>>(null);
|
const popover = ref<Nullable<any>>(null);
|
||||||
const graphWidth = ref<number>(100);
|
const graphWidth = ref<number>(100);
|
||||||
|
Loading…
Reference in New Issue
Block a user