@ray-js/robot-map 0.0.5-beta.10 → 0.0.5-beta.12
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/lib/props.d.ts +14 -0
- package/package.json +2 -2
package/lib/props.d.ts
CHANGED
|
@@ -348,5 +348,19 @@ export interface RobotMapProps {
|
|
|
348
348
|
* @param.en point - Clicked point data
|
|
349
349
|
*/
|
|
350
350
|
onClickMap?: (point: Point) => void;
|
|
351
|
+
/**
|
|
352
|
+
* @description.zh 手势开始回调
|
|
353
|
+
* @description.en Callback when gesture starts
|
|
354
|
+
* @description.zh 当用户开始手势操作时触发。
|
|
355
|
+
* @description.en Triggered when user starts gesture operation.
|
|
356
|
+
*/
|
|
357
|
+
onGestureStart?: () => void;
|
|
358
|
+
/**
|
|
359
|
+
* @description.zh 手势结束回调
|
|
360
|
+
* @description.en Callback when gesture ends
|
|
361
|
+
* @description.zh 当用户结束手势操作时触发。
|
|
362
|
+
* @description.en Triggered when user ends gesture operation.
|
|
363
|
+
*/
|
|
364
|
+
onGestureEnd?: () => void;
|
|
351
365
|
}
|
|
352
366
|
export declare const robotMapDefaultProps: RobotMapProps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/robot-map",
|
|
3
|
-
"version": "0.0.5-beta.
|
|
3
|
+
"version": "0.0.5-beta.12",
|
|
4
4
|
"description": "机器人地图组件",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"files": [
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@ray-js/ray": "^1.7.39"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ray-js/robot-map-sdk": "
|
|
36
|
+
"@ray-js/robot-map-sdk": "0.0.5-beta.3",
|
|
37
37
|
"clsx": "^1.2.1",
|
|
38
38
|
"nanoid": "^5.1.6"
|
|
39
39
|
},
|