@kengic/vue 0.30.1-beta.41 → 0.30.1-beta.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +44706 -44027
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +8 -8
- package/dist/src/component/KgSimulator/KgSimulator.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +24 -5
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +13 -0
- package/package.json +1 -1
| @@ -7,7 +7,7 @@ export declare type IUseDraw = { | |
| 7 7 | 
             
                 * @param param
         | 
| 8 8 | 
             
                 * @param param.agent 代理者.
         | 
| 9 9 | 
             
                 */
         | 
| 10 | 
            -
                 | 
| 10 | 
            +
                $CircularConveyor$DrawAgent(param?: {
         | 
| 11 11 | 
             
                    agent: Agent;
         | 
| 12 12 | 
             
                }): Q.Node | null;
         | 
| 13 13 | 
             
                /**
         | 
| @@ -16,7 +16,7 @@ export declare type IUseDraw = { | |
| 16 16 | 
             
                 * @param param
         | 
| 17 17 | 
             
                 * @param param.creator 创建者.
         | 
| 18 18 | 
             
                 */
         | 
| 19 | 
            -
                 | 
| 19 | 
            +
                $CircularConveyor$DrawCreator(param?: {
         | 
| 20 20 | 
             
                    creator: Creator;
         | 
| 21 21 | 
             
                }): Q.Node | null;
         | 
| 22 22 | 
             
                /**
         | 
| @@ -25,7 +25,7 @@ export declare type IUseDraw = { | |
| 25 25 | 
             
                 * @param param
         | 
| 26 26 | 
             
                 * @param param.dpj 叠盘机.
         | 
| 27 27 | 
             
                 */
         | 
| 28 | 
            -
                 | 
| 28 | 
            +
                $CircularConveyor$DrawDPJ(param?: {
         | 
| 29 29 | 
             
                    dpj: PalletStackerStation;
         | 
| 30 30 | 
             
                }): Q.Node | null;
         | 
| 31 31 | 
             
                /**
         | 
| @@ -34,7 +34,7 @@ export declare type IUseDraw = { | |
| 34 34 | 
             
                 * @param param
         | 
| 35 35 | 
             
                 * @param param.dsyzj 顶升移载机.
         | 
| 36 36 | 
             
                 */
         | 
| 37 | 
            -
                 | 
| 37 | 
            +
                $CircularConveyor$DrawDSYZJ(param?: {
         | 
| 38 38 | 
             
                    dsyzj: JackUpTransferStation;
         | 
| 39 39 | 
             
                }): Q.Node | null;
         | 
| 40 40 | 
             
                /**
         | 
| @@ -43,7 +43,7 @@ export declare type IUseDraw = { | |
| 43 43 | 
             
                 * @param param
         | 
| 44 44 | 
             
                 * @param param.destroyer 销毁者.
         | 
| 45 45 | 
             
                 */
         | 
| 46 | 
            -
                 | 
| 46 | 
            +
                $CircularConveyor$DrawDestroyer(param?: {
         | 
| 47 47 | 
             
                    destroyer: Destroyer;
         | 
| 48 48 | 
             
                }): Q.Node | null;
         | 
| 49 49 | 
             
                /**
         | 
| @@ -52,7 +52,7 @@ export declare type IUseDraw = { | |
| 52 52 | 
             
                 * @param param
         | 
| 53 53 | 
             
                 * @param param.gdcgq 光电传感器.
         | 
| 54 54 | 
             
                 */
         | 
| 55 | 
            -
                 | 
| 55 | 
            +
                $CircularConveyor$DrawGDCGQ(param?: {
         | 
| 56 56 | 
             
                    gdcgq: PhotoelectricSensor;
         | 
| 57 57 | 
             
                }): Q.Node | null;
         | 
| 58 58 | 
             
                /**
         | 
| @@ -61,7 +61,7 @@ export declare type IUseDraw = { | |
| 61 61 | 
             
                 * @param param
         | 
| 62 62 | 
             
                 * @param param.ptssj 普通输送机.
         | 
| 63 63 | 
             
                 */
         | 
| 64 | 
            -
                 | 
| 64 | 
            +
                $CircularConveyor$DrawPTSSJ(param?: {
         | 
| 65 65 | 
             
                    ptssj: Station;
         | 
| 66 66 | 
             
                }): Q.Node | null;
         | 
| 67 67 | 
             
                /**
         | 
| @@ -75,6 +75,6 @@ export declare type IUseDraw = { | |
| 75 75 | 
             
                }): void;
         | 
| 76 76 | 
             
            };
         | 
| 77 77 | 
             
            /**
         | 
| 78 | 
            -
             * 绘制.
         | 
| 78 | 
            +
             * 钩子: 绘制.
         | 
| 79 79 | 
             
             */
         | 
| 80 80 | 
             
            export declare function useDraw(): IUseDraw;
         | 
| @@ -10,7 +10,7 @@ export declare const getProps: () => { | |
| 10 10 | 
             
                    required: boolean;
         | 
| 11 11 | 
             
                };
         | 
| 12 12 | 
             
            };
         | 
| 13 | 
            -
            export declare type  | 
| 13 | 
            +
            export declare type IKgSimulatorProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
         | 
| 14 14 | 
             
            /**
         | 
| 15 15 | 
             
             * 模拟器, 仿真模拟器, 环形输送线模拟器, 环形穿梭车模拟器.
         | 
| 16 16 | 
             
             */
         | 
| @@ -441,6 +441,13 @@ export declare class DestroyAgentRequest { | |
| 441 441 | 
             
                destroyerId?: string | null;
         | 
| 442 442 | 
             
                constructor(obj?: DestroyAgentRequest);
         | 
| 443 443 | 
             
            }
         | 
| 444 | 
            +
            export declare class DestroyAgentWithoutNotifyWCSRequest {
         | 
| 445 | 
            +
                /** Agent Code. */
         | 
| 446 | 
            +
                agentCode?: string | null;
         | 
| 447 | 
            +
                /** Scene Id. */
         | 
| 448 | 
            +
                sceneId?: string | null;
         | 
| 449 | 
            +
                constructor(obj?: DestroyAgentWithoutNotifyWCSRequest);
         | 
| 450 | 
            +
            }
         | 
| 444 451 | 
             
            export declare class Destroyer {
         | 
| 445 452 | 
             
                /**
         | 
| 446 453 | 
             
                 * 角度(朝向).单位度.
         | 
| @@ -600,7 +607,7 @@ export declare class GetAgentRequest { | |
| 600 607 | 
             
            }
         | 
| 601 608 | 
             
            /** 获取场景请求. */
         | 
| 602 609 | 
             
            export declare class GetSceneRequest {
         | 
| 603 | 
            -
                /**  | 
| 610 | 
            +
                /** 场景主键. */
         | 
| 604 611 | 
             
                sceneId?: string | null;
         | 
| 605 612 | 
             
                constructor(obj?: GetSceneRequest);
         | 
| 606 613 | 
             
            }
         | 
| @@ -803,6 +810,8 @@ export declare class PhotoelectricSensor { | |
| 803 810 | 
             
                sceneId?: string | null;
         | 
| 804 811 | 
             
                /** 当前位置基于所属边的起始点的偏移量. */
         | 
| 805 812 | 
             
                startOffset?: number | null;
         | 
| 813 | 
            +
                /** 所属站点ID. */
         | 
| 814 | 
            +
                stationId?: string | null;
         | 
| 806 815 | 
             
                /** Status. */
         | 
| 807 816 | 
             
                status?: 0 | 1 | 2 | 3 | 4 | null;
         | 
| 808 817 | 
             
                /** Type. */
         | 
| @@ -844,6 +853,8 @@ export declare class PhotoelectricSensorDto { | |
| 844 853 | 
             
                sceneId?: string | null;
         | 
| 845 854 | 
             
                /** 当前位置基于所属边的起始点的偏移量. */
         | 
| 846 855 | 
             
                startOffset?: number | null;
         | 
| 856 | 
            +
                /** 所属站点ID. */
         | 
| 857 | 
            +
                stationId?: string | null;
         | 
| 847 858 | 
             
                /** Status. */
         | 
| 848 859 | 
             
                status?: 0 | 1 | 2 | 3 | 4 | null;
         | 
| 849 860 | 
             
                /** Type. */
         | 
| @@ -1278,13 +1289,21 @@ export declare type INodeProperty = { | |
| 1278 1289 | 
             
             */
         | 
| 1279 1290 | 
             
            export declare const STORE_KEY: {
         | 
| 1280 1291 | 
             
                /**
         | 
| 1281 | 
            -
                 *  | 
| 1292 | 
            +
                 * 环形输送线--编辑模式--当前场景.
         | 
| 1293 | 
            +
                 */
         | 
| 1294 | 
            +
                CIRCULAR_CONVEYOR__EDIT__CURRENT_SCENE: string;
         | 
| 1295 | 
            +
                /**
         | 
| 1296 | 
            +
                 * 环形输送线--仿真模式--当前场景.
         | 
| 1297 | 
            +
                 */
         | 
| 1298 | 
            +
                CIRCULAR_CONVEYOR__SIMULATE__CURRENT_SCENE: string;
         | 
| 1299 | 
            +
                /**
         | 
| 1300 | 
            +
                 * 环形穿梭车--编辑模式--当前场景.
         | 
| 1282 1301 | 
             
                 */
         | 
| 1283 | 
            -
                 | 
| 1302 | 
            +
                CIRCULAR_SHUTTLE__EDIT__CURRENT_SCENE: string;
         | 
| 1284 1303 | 
             
                /**
         | 
| 1285 | 
            -
                 *  | 
| 1304 | 
            +
                 * 环形穿梭车--仿真模式--当前场景.
         | 
| 1286 1305 | 
             
                 */
         | 
| 1287 | 
            -
                 | 
| 1306 | 
            +
                CIRCULAR_SHUTTLE__SIMULATE__CURRENT_SCENE: string;
         | 
| 1288 1307 | 
             
            };
         | 
| 1289 1308 | 
             
            /**
         | 
| 1290 1309 | 
             
             * 节点类型.
         | 
| @@ -63,6 +63,12 @@ export interface IKgSimulatorStoreGetters { | |
| 63 63 | 
             
                 * @default false
         | 
| 64 64 | 
             
                 */
         | 
| 65 65 | 
             
                $Config$Env$IsCircularShuttle: boolean;
         | 
| 66 | 
            +
                /**
         | 
| 67 | 
            +
                 * 配置--是否自动打开上一次的场景.
         | 
| 68 | 
            +
                 *
         | 
| 69 | 
            +
                 * @default true
         | 
| 70 | 
            +
                 */
         | 
| 71 | 
            +
                $Config$IsReopenSceneOnStart: boolean;
         | 
| 66 72 | 
             
                /**
         | 
| 67 73 | 
             
                 * 配置--工具栏--预制组件--是否打开.
         | 
| 68 74 | 
             
                 *
         | 
| @@ -180,6 +186,12 @@ export interface IKgSimulatorStoreActions { | |
| 180 186 | 
             
                 */
         | 
| 181 187 | 
             
                $WebSocket$getConnection(): WebSocketResult<any> | null;
         | 
| 182 188 | 
             
                get$graph(): Q.Graph | null;
         | 
| 189 | 
            +
                /**
         | 
| 190 | 
            +
                 * 打开场景.
         | 
| 191 | 
            +
                 *
         | 
| 192 | 
            +
                 * @param scene 被打开的场景.
         | 
| 193 | 
            +
                 */
         | 
| 194 | 
            +
                openScene(scene: Scene): Promise<void>;
         | 
| 183 195 | 
             
                /**
         | 
| 184 196 | 
             
                 * 保存场景.
         | 
| 185 197 | 
             
                 */
         | 
| @@ -202,6 +214,7 @@ export interface IKgSimulatorStoreActions { | |
| 202 214 | 
             
                 * @param value
         | 
| 203 215 | 
             
                 */
         | 
| 204 216 | 
             
                set$Config$Env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
         | 
| 217 | 
            +
                set$Config$IsReopenSceneOnStart(value: boolean | null | undefined): void;
         | 
| 205 218 | 
             
                /**
         | 
| 206 219 | 
             
                 * <p>设置模式. 默认为编辑模式.</p>
         | 
| 207 220 | 
             
                 * <ul>
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
                "name": "@kengic/vue",
         | 
| 3 | 
            -
                "version": "0.30.1-beta. | 
| 3 | 
            +
                "version": "0.30.1-beta.44",
         | 
| 4 4 | 
             
                "scripts": {
         | 
| 5 5 | 
             
                    "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
         | 
| 6 6 | 
             
                    "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
         |