haojianlong преди 5 години
родител
ревизия
141f98131b

+ 2 - 2
saga-web-big/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@saga-web/big",
-    "version": "1.0.32",
+    "version": "1.0.33",
     "description": "上格云建筑信息化库",
     "main": "lib/index.js",
     "types": "lib/index.d.js",
@@ -42,6 +42,6 @@
         "typescript": "^3.9.3"
     },
     "dependencies": {
-        "@saga-web/graph": "2.1.76"
+        "@saga-web/graph": "2.1.77"
     }
 }

+ 0 - 8
saga-web-big/src/index.ts

@@ -1,15 +1,11 @@
-import { SAnchorItem } from "./items/topology/SAnchorItem";
 import { SCompassItem } from "./items/floor/SCompassItem";
 import { SCurveRelation } from "./items/topology/SCurveRelation";
 import { SEntityItem } from "./items/topology/SEntityItem";
 import { SMarkerItem } from "./items/topology/SMarkerItem";
 import { SFloorItem } from "./items/floor/SFloorItem";
-import { SImageItem } from "./items/SImageItem";
 import { SLayerItem } from "./items/SLayerItem";
 import { SLineRelation } from "./items/topology/SLineRelation";
-import { SObjectItem } from "./items/SObjectItem";
 import { SRelation } from "./items/topology/SRelation";
-import { STextItem } from "./items/STextItem";
 import { STooltipItem } from "./items/STooltipItem";
 import { SVerticalRelation } from "./items/topology/SVerticalRelation";
 import { ItemColor } from "./config/ItemColor";
@@ -29,19 +25,15 @@ import { SRelationState } from "./enums/SRelationState";
 import { SItemStatus } from "./enums/SItemStatus";
 
 export {
-    SAnchorItem,
     SCompassItem,
     SCurveRelation,
     SEntityItem,
     SFloorItem,
-    SImageItem,
     SLayerItem,
     SLineRelation,
     SLineItem,
     SPolylineItem,
-    SObjectItem,
     SRelation,
-    STextItem,
     STooltipItem,
     SVerticalRelation,
     ItemColor,

+ 2 - 1
saga-web-big/src/items/STooltipItem.ts

@@ -1,8 +1,9 @@
-import { STextItem } from "./STextItem";
+import { STextItem } from "@saga-web/graph/lib";
 
 /**
  * 提示框item
  *
  * * @author  郝建龙(1061851420@qq.com)
  */
+
 export class STooltipItem extends STextItem {} // Class STooltipItem

+ 1 - 2
saga-web-big/src/items/topology/SEntityItem.ts

@@ -1,6 +1,5 @@
-import { SObjectItem } from "../SObjectItem";
 import { Node } from "../../types/topology/Node";
-import { SGraphItem } from "@saga-web/graph/lib";
+import { SGraphItem, SObjectItem } from "@saga-web/graph/lib";
 
 /**
  * 实例item,与物理世界对应

+ 1 - 1
saga-web-big/src/items/topology/SMarkerItem.ts

@@ -1,4 +1,4 @@
-import { SObjectItem } from "../SObjectItem";
+import { SObjectItem } from "../../../../saga-web-graph/src/items/SObjectItem";
 import { Marker } from "../../types/topology/Marker";
 import { SGraphItem } from "@saga-web/graph/lib";
 

+ 1 - 1
saga-web-big/src/items/topology/SRelation.ts

@@ -1,7 +1,7 @@
 import { SGraphItem } from "@saga-web/graph/lib";
 import { SColor, SPoint, SArrowStyleType } from "@saga-web/draw/lib";
 import { SRelationState } from "../../enums/SRelationState";
-import { SAnchorItem } from "./SAnchorItem";
+import { SAnchorItem } from "../../../../saga-web-graph/src/items/SAnchorItem";
 
 /**
  * 关系item