Browse Source

修改引用

haojianlong 4 years ago
parent
commit
868b7bc1b7

+ 2 - 3
src/components/editClass/big-edit/SBaseEditScene.ts

@@ -29,10 +29,9 @@ import { SMouseEvent } from "@persagy-web/base/lib";
 import { SArrowStyleType, SPoint, SRect } from '@persagy-web/draw';
 import { SItemStatus, SRectSelectItem } from '@persagy-web/big/lib';
 import { SGraphItem, SGraphSelectContainer, SOrderSetType } from "@persagy-web/graph/lib/";
-import { uuid } from "./until";
-import { SBaseArrow, SBaseEquipment, SBaseExpainEdit, SBasePipe } from "./"
+import { SBaseArrow, SBaseExpainEdit, SBasePipe } from "./"
 import { SBaseArrowPolyEdit } from './items/SBaseArrowPolyEdit';
-import { SGraphAddListCommand } from '@persagy-web/edit/lib/commands/SGraphAddListCommand';
+import { SGraphAddListCommand } from '@persagy-web/edit/lib/';
 
 /**
  * big-edit 场景

+ 1 - 1
src/components/editClass/persagy-edit/PTopoScene.ts

@@ -72,7 +72,7 @@ export class PTopoScene extends SBaseEditScene {
             } else {
                 const colorlist: any = rgbaNum(val);
                 if (!colorlist) return
-                this.view.backgroundColor = new SColor(Number(colorlist[0]), Number(colorlist[1]), Number(colorlist[2]), colorlist[3] * 255))
+                this.view.backgroundColor = new SColor(Number(colorlist[0]), Number(colorlist[1]), Number(colorlist[2]), colorlist[3] * 255)
             }
             this.view.update()
 

+ 4 - 5
src/components/editClass/persagy-edit/items/SBaseBtns.ts

@@ -24,11 +24,10 @@
 * *********************************************************************************************************************
 */
 
-import { SBaseTextEdit, SGraphEdit } from "@persagy-web/edit";
-import { SGraphItem, STextItem, SLineStyle } from "@persagy-web/graph/lib";
-import { Marker } from "@persagy-web/big-edit/lib/types/Marker";
-import { SMouseEvent } from "@persagy-web/base/lib";
-import { SColor, SPainter, SSize, SRect } from '@persagy-web/draw/lib';
+import { SBaseTextEdit } from "@persagy-web/edit";
+import { SGraphItem } from "@persagy-web/graph/lib";
+import { SColor, SPainter } from '@persagy-web/draw/lib';
+import { Marker } from "@persagy-web/big/lib";
 
 /**
   * 编辑基础按钮类

+ 1 - 1
src/components/editClass/persagy-edit/items/SBaseCursor.ts

@@ -26,8 +26,8 @@
 
 import { SBaseImageEdit } from "@persagy-web/edit";
 import { SGraphItem } from "@persagy-web/graph/lib";
-import { Marker } from "@persagy-web/edit/lib/type/Marker";
 import { SMouseEvent } from "@persagy-web/base/lib";
+import { Marker } from "@persagy-web/big/lib";
 
 /**
  * 编辑鼠标图例

+ 2 - 4
src/components/editClass/persagy-edit/items/SBaseEquation.ts

@@ -25,10 +25,8 @@
  */
 
 import { SBaseTextEdit } from "@persagy-web/edit"
-import { SColor, SFont, SPainter } from "@persagy-web/draw/";
-import { SGraphItem, SLineStyle } from "@persagy-web/graph/lib";
-import { Marker } from "@persagy-web/big-edit/lib/types/Marker";
-import { SMouseEvent } from "@persagy-web/base/lib";
+import { SGraphItem } from "@persagy-web/graph/lib";
+import { Marker } from "@persagy-web/big/lib";
 
 /**
  * 公式类

+ 2 - 4
src/components/editClass/persagy-edit/items/SBaseInfoPoint.ts

@@ -24,11 +24,9 @@
  * *********************************************************************************************************************
  */
 
+import { Marker } from "@persagy-web/big/lib";
 import { SBaseTextEdit } from "@persagy-web/edit"
-import { SColor, SFont, SPainter } from "@persagy-web/draw/";
-import { SGraphItem, SLineStyle } from "@persagy-web/graph/lib";
-import { Marker } from "@persagy-web/big-edit/lib/types/Marker";
-import { SMouseEvent } from "@persagy-web/base/lib";
+import { SGraphItem } from "@persagy-web/graph/lib";
 
 /**
  * 信息点