@ray-js/robot-map-sdk 0.0.6-beta.6 → 0.0.6-beta.8
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.d.ts +30 -0
- package/dist/index.rjs.js +1 -1
- package/dist-app/assets/{index-D-o2o4iK.js → index-DVPHRsnu.js} +1 -1
- package/dist-app/index.html +1 -1
- package/dist-docs/404.html +2 -2
- package/dist-docs/assets/{app.1uX3tnZa.js → app.CQVg0TIo.js} +1 -1
- package/dist-docs/assets/chunks/@localSearchIndexroot.fwP4JnhB.js +1 -0
- package/dist-docs/assets/chunks/{VPLocalSearchBox.DsmGm_hn.js → VPLocalSearchBox.bA13bjBq.js} +1 -1
- package/dist-docs/assets/chunks/{theme.CEcCdyor.js → theme.CJUk_n1k.js} +2 -2
- package/dist-docs/assets/{guide_getting-started.md.07KRedRG.js → guide_getting-started.md.C0I2Hrft.js} +1 -1
- package/dist-docs/assets/{reference_config.md.SZ6NThzj.js → reference_config.md.HZKo49HT.js} +8 -2
- package/dist-docs/assets/reference_config.md.HZKo49HT.lean.js +1 -0
- package/dist-docs/assets/{reference_types.md.4zpYEKU_.js → reference_types.md.BezgeVDp.js} +21 -1
- package/dist-docs/assets/{reference_types.md.4zpYEKU_.lean.js → reference_types.md.BezgeVDp.lean.js} +1 -1
- package/dist-docs/guide/advanced-usage.html +3 -3
- package/dist-docs/guide/concepts.html +3 -3
- package/dist-docs/guide/getting-started.html +5 -5
- package/dist-docs/hashmap.json +1 -1
- package/dist-docs/index.html +3 -3
- package/dist-docs/reference/callbacks.html +3 -3
- package/dist-docs/reference/config.html +11 -5
- package/dist-docs/reference/data.html +3 -3
- package/dist-docs/reference/methods.html +3 -3
- package/dist-docs/reference/runtime.html +3 -3
- package/dist-docs/reference/types.html +25 -5
- package/dist-docs/reference/utils.html +3 -3
- package/package.json +1 -1
- package/dist-docs/assets/chunks/@localSearchIndexroot.LirAaLEk.js +0 -1
- package/dist-docs/assets/reference_config.md.SZ6NThzj.lean.js +0 -1
- /package/dist-docs/assets/{guide_getting-started.md.07KRedRG.lean.js → guide_getting-started.md.C0I2Hrft.lean.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { MeasurementUnit as MeasurementUnit_2 } from '..';
|
|
|
25
25
|
import { ParsedRasterMapData as ParsedRasterMapData_2 } from '@ray-js/robot-protocol';
|
|
26
26
|
import { PathData } from '@ray-js/robot-protocol';
|
|
27
27
|
import { PathManager } from '../managers/PathManager';
|
|
28
|
+
import { Point as Point_2 } from '..';
|
|
28
29
|
import { Rectangle } from 'pixi.js';
|
|
29
30
|
import { RingConfig as RingConfig_2 } from '..';
|
|
30
31
|
import { RoomData as RoomData_2 } from '..';
|
|
@@ -487,6 +488,14 @@ export declare type AppConfig = {
|
|
|
487
488
|
width: number
|
|
488
489
|
/** 是否可交互 */
|
|
489
490
|
interactive: boolean
|
|
491
|
+
/**
|
|
492
|
+
* 锚点位置
|
|
493
|
+
*
|
|
494
|
+
* 定义检测物体图标的默认锚点位置
|
|
495
|
+
* - {x: 0.5, y: 0.5} 表示中心点(默认)
|
|
496
|
+
* - {x: 0.5, y: 1} 表示底部中心(适用于气泡图标)
|
|
497
|
+
*/
|
|
498
|
+
anchor: Point
|
|
490
499
|
}
|
|
491
500
|
|
|
492
501
|
/** 截图配置 */
|
|
@@ -831,6 +840,7 @@ declare class AppService {
|
|
|
831
840
|
height: number;
|
|
832
841
|
width: number;
|
|
833
842
|
interactive: boolean;
|
|
843
|
+
anchor: Point_2;
|
|
834
844
|
};
|
|
835
845
|
get snapshotConfig(): {
|
|
836
846
|
format: "png" | "jpg" | "webp";
|
|
@@ -2469,6 +2479,16 @@ export declare type GifCustomElementParam = BaseCustomElementParam & {
|
|
|
2469
2479
|
width: number
|
|
2470
2480
|
/** GIF高度(必需 - GIF 需要明确尺寸) */
|
|
2471
2481
|
height: number
|
|
2482
|
+
/**
|
|
2483
|
+
* 锚点位置
|
|
2484
|
+
*
|
|
2485
|
+
* 定义GIF的锚点位置,用于控制GIF相对于坐标点的对齐方式
|
|
2486
|
+
* - {x: 0, y: 0} 表示左上角
|
|
2487
|
+
* - {x: 0.5, y: 0.5} 表示中心点(默认)
|
|
2488
|
+
* - {x: 0.5, y: 1} 表示底部中心(适用于气泡图标)
|
|
2489
|
+
* - {x: 1, y: 1} 表示右下角
|
|
2490
|
+
*/
|
|
2491
|
+
anchor?: Point
|
|
2472
2492
|
}
|
|
2473
2493
|
|
|
2474
2494
|
declare class Heatmap extends Container {
|
|
@@ -2632,6 +2652,16 @@ export declare type ImageCustomElementParam = BaseCustomElementParam & {
|
|
|
2632
2652
|
width: number
|
|
2633
2653
|
/** 图片高度(必需 - 图片需要明确尺寸) */
|
|
2634
2654
|
height: number
|
|
2655
|
+
/**
|
|
2656
|
+
* 锚点位置
|
|
2657
|
+
*
|
|
2658
|
+
* 定义图片的锚点位置,用于控制图片相对于坐标点的对齐方式
|
|
2659
|
+
* - {x: 0, y: 0} 表示左上角
|
|
2660
|
+
* - {x: 0.5, y: 0.5} 表示中心点(默认)
|
|
2661
|
+
* - {x: 0.5, y: 1} 表示底部中心(适用于气泡图标)
|
|
2662
|
+
* - {x: 1, y: 1} 表示右下角
|
|
2663
|
+
*/
|
|
2664
|
+
anchor?: Point
|
|
2635
2665
|
}
|
|
2636
2666
|
|
|
2637
2667
|
/* Excluded from this release type: InstanceEvents */
|