引入路径修改

This commit is contained in:
joylink_zhaoerwei 2024-01-11 14:06:13 +08:00
parent b820922888
commit fdf2a9c00e
5 changed files with 13 additions and 15 deletions

View File

@ -23,7 +23,7 @@
"echarts": "^5.4.3", "echarts": "^5.4.3",
"google-protobuf": "^3.21.2", "google-protobuf": "^3.21.2",
"jl-graphic": "git+https://git.code.tencent.com/jl-framework/graphic-pixi.git#v0.1.3", "jl-graphic": "git+https://git.code.tencent.com/jl-framework/graphic-pixi.git#v0.1.3",
"rt-graphic-component": "git+https://git.code.tencent.com/jl-framework/rt-graphic-component.git#3c3a0a2", "rt-graphic-component": "git+https://git.code.tencent.com/jl-framework/rt-graphic-component.git#3c81ca8",
"js-base64": "^3.7.5", "js-base64": "^3.7.5",
"pinia": "^2.0.11", "pinia": "^2.0.11",
"quasar": "^2.6.0", "quasar": "^2.6.0",

View File

@ -21,10 +21,8 @@ import { Polygon, PolygonTemplate } from 'src/graphics/polygon/Polygon';
import { PolygonData } from './graphics/PolygonInteraction'; import { PolygonData } from './graphics/PolygonInteraction';
import { PolygonDraw } from 'src/graphics/polygon/PolygonDrawAssistant'; import { PolygonDraw } from 'src/graphics/polygon/PolygonDrawAssistant';
import { StyleType } from 'rt-graphic-component/components/common/common'; import { StyleType } from 'rt-graphic-component/components/common/common';
import { Platform } from 'src/graphics/platform/Platform'; import { Platform, PlatformDraw, PlatformTemplate } from 'src/graphics/platform/Platform';
import { PlatformData, PlatformState } from './graphics/PlatformInteraction'; import { PlatformData, PlatformState } from './graphics/PlatformInteraction';
import { PlatformTemplate } from 'rt-graphic-component/components/packages/Platform/PlatformTemplate';
import { PlatformDraw } from 'rt-graphic-component/components/packages/Platform/PlatformDrawAssistant';
import { import {
ScreenDoor, ScreenDoor,
ScreenDoorTemplate, ScreenDoorTemplate,
@ -34,9 +32,7 @@ import {
ScreenDoorState, ScreenDoorState,
} from './graphics/ScreenDoorInteraction'; } from './graphics/ScreenDoorInteraction';
import { ScreenDoorDraw } from 'src/graphics/screenDoor/ScreenDoorDrawAssistant'; import { ScreenDoorDraw } from 'src/graphics/screenDoor/ScreenDoorDrawAssistant';
import { Station } from 'src/graphics/station/Station'; import { Station, StationDraw, StationTemplate } from 'src/graphics/station/Station';
import { StationTemplate } from 'rt-graphic-component/components/packages/Station/StationTemplate';
import { StationDraw } from 'rt-graphic-component/components/packages/Station/StationDrawAssistant';
import { StationData, StationState } from './graphics/StationInteraction'; import { StationData, StationState } from './graphics/StationInteraction';
import { import {
OneClickGenerateDraw, OneClickGenerateDraw,

View File

@ -28,8 +28,7 @@ import {
PlatformState, PlatformState,
} from './graphics/PlatformInteraction'; } from './graphics/PlatformInteraction';
import { StyleType } from 'rt-graphic-component/components/common/common'; import { StyleType } from 'rt-graphic-component/components/common/common';
import { Platform } from 'src/graphics/platform/Platform'; import { Platform, PlatformTemplate } from 'src/graphics/platform/Platform';
import { PlatformTemplate } from 'rt-graphic-component/components/packages/Platform/PlatformTemplate';
import { import {
ScreenDoorData, ScreenDoorData,
ScreenDoorState, ScreenDoorState,
@ -44,8 +43,7 @@ import {
StationOperateInteraction, StationOperateInteraction,
StationState, StationState,
} from './graphics/StationInteraction'; } from './graphics/StationInteraction';
import { Station } from 'src/graphics/station/Station'; import { Station, StationTemplate } from 'src/graphics/station/Station';
import { StationTemplate } from 'rt-graphic-component/components/packages/Station/StationTemplate';
import { import {
TurnoutData, TurnoutData,
TurnoutOperationPlugin, TurnoutOperationPlugin,

View File

@ -1,6 +1,8 @@
import { GPPlatform as Platform } from 'rt-graphic-component/components/packages/Platform/GPPlatform'; import { GPPlatform as Platform } from 'rt-graphic-component/components/packages/Platform/GPPlatform';
import { IPlatformData } from 'rt-graphic-component/components/packages/Platform/PlatformConfig';
import { IGPPlatformState as IPlatformState } from 'rt-graphic-component/components/packages/Platform/GPPlatform'; import { IGPPlatformState as IPlatformState } from 'rt-graphic-component/components/packages/Platform/GPPlatform';
import { IPlatformData } from 'rt-graphic-component/components/packages/Platform/common/PlatformConfig';
import { PlatformTemplate } from 'rt-graphic-component/components/packages/Platform/common/PlatformTemplate';
import { PlatformDraw } from 'rt-graphic-component/components/packages/Platform/common/PlatformDrawAssistant';
export { Platform }; export { Platform, PlatformTemplate, PlatformDraw };
export type { IPlatformState, IPlatformData }; export type { IPlatformState, IPlatformData };

View File

@ -1,6 +1,8 @@
import { GPStation as Station } from 'rt-graphic-component/components/packages/Station/GPStation'; import { GPStation as Station } from 'rt-graphic-component/components/packages/Station/GPStation';
import { IStationData } from 'rt-graphic-component/components/packages/Station/StationConfig';
import { IGPStationState as IStationState } from 'rt-graphic-component/components/packages/Station/GPStation'; import { IGPStationState as IStationState } from 'rt-graphic-component/components/packages/Station/GPStation';
import { IStationData } from 'rt-graphic-component/components/packages/Station/common/StationConfig';
import { StationTemplate } from 'rt-graphic-component/components/packages/Station/common/StationTemplate';
import { StationDraw } from 'rt-graphic-component/components/packages/Station/common/StationDrawAssistant';
export { Station }; export { Station, StationTemplate, StationDraw };
export type { IStationState, IStationData }; export type { IStationState, IStationData };