import { TOPOLOGY_MAIN_CANVAS_ID } from "./topologyFloorPlanConstants.js";
import { TOPOLOGY_AP_KIND, TOPOLOGY_ROUTER_KIND, TOPOLOGY_SWITCH_KIND, getTopologyElementKindCategories, getTopologyElementKinds } from "./topologyElementKinds.js";
//#region src/plus/pisellTopology/topologyMock.ts
function getTopologyFloorMapShellConfig() {
	return {
		canvases: [{
			id: TOPOLOGY_MAIN_CANVAS_ID,
			name: "Actual Topology",
			order: 0,
			enabled: true,
			mapLayer: {
				showGrid: false,
				backgroundColor: "#ffffff"
			}
		}],
		canvasUi: {
			canCreate: true,
			canEdit: true
		},
		elementKindCategories: getTopologyElementKindCategories(),
		elementKinds: getTopologyElementKinds(),
		sceneElements: [
			{
				instanceId: "gw-1",
				canvasId: TOPOLOGY_MAIN_CANVAS_ID,
				x: 360,
				y: 40,
				width: 120,
				height: 88,
				elementKind: TOPOLOGY_ROUTER_KIND,
				name: "Gateway",
				dataBinding: {
					dataSourceKey: "devices",
					recordId: "gw-1"
				}
			},
			{
				instanceId: "sw-core",
				canvasId: TOPOLOGY_MAIN_CANVAS_ID,
				x: 340,
				y: 180,
				width: 140,
				height: 88,
				elementKind: TOPOLOGY_SWITCH_KIND,
				name: "MainRack_CoreSW",
				dataBinding: {
					dataSourceKey: "devices",
					recordId: "sw-core"
				}
			},
			{
				instanceId: "sw-sub",
				canvasId: TOPOLOGY_MAIN_CANVAS_ID,
				x: 160,
				y: 320,
				width: 120,
				height: 88,
				elementKind: TOPOLOGY_SWITCH_KIND,
				name: "SubRack_Switch",
				dataBinding: {
					dataSourceKey: "devices",
					recordId: "sw-sub"
				}
			},
			{
				instanceId: "ap-group",
				canvasId: TOPOLOGY_MAIN_CANVAS_ID,
				x: 520,
				y: 320,
				width: 100,
				height: 88,
				elementKind: TOPOLOGY_AP_KIND,
				name: "AP Group",
				dataBinding: {
					dataSourceKey: "devices",
					recordId: "ap-group"
				}
			}
		],
		edges: [
			{
				id: "e-gw-sw",
				sourceId: "gw-1",
				targetId: "sw-core",
				sourceAnchor: "bottom",
				targetAnchor: "top",
				sourceLabel: "WAN",
				targetLabel: "Gi48",
				status: "online"
			},
			{
				id: "e-sw-sub",
				sourceId: "sw-core",
				targetId: "sw-sub",
				sourceAnchor: "left",
				targetAnchor: "top",
				sourceLabel: "Gi1",
				targetLabel: "Te51",
				status: "online"
			},
			{
				id: "e-sw-ap",
				sourceId: "sw-core",
				targetId: "ap-group",
				sourceAnchor: "right",
				targetAnchor: "top",
				sourceLabel: "Gi2",
				targetLabel: "Po1",
				status: "online"
			}
		]
	};
}
//#endregion
export { getTopologyFloorMapShellConfig };
