@ray-js/ipc-player-integration 0.0.25-beta-1 → 0.0.25-beta-3

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.
@@ -72,23 +72,29 @@ export function FullTravelRouteControl(props) {
72
72
  className: "ipc-plugin-full-travel-route-control",
73
73
  value: 0,
74
74
  onTouchStart: value => {
75
+ var _directionControlProp2;
75
76
  pauseTimeToHideAllComponentFn();
76
77
  sendDpValueFn(String(value));
77
78
  // @ts-ignore
78
79
  ty.nativeDisabled(true);
80
+ directionControlProps === null || directionControlProps === void 0 || (_directionControlProp2 = directionControlProps.onTouchStart) === null || _directionControlProp2 === void 0 || _directionControlProp2.call(directionControlProps, value);
79
81
  },
80
82
  onTouchMove: value => {
83
+ var _directionControlProp;
81
84
  pauseTimeToHideAllComponentFn();
82
85
  sendDpValueFn(String(value));
83
86
  // @ts-ignore
84
87
  ty.nativeDisabled(true);
88
+ directionControlProps === null || directionControlProps === void 0 || (_directionControlProp = directionControlProps.onTouchMove) === null || _directionControlProp === void 0 || _directionControlProp.call(directionControlProps, value);
85
89
  },
86
90
  onTouchEnd: () => {
91
+ var _directionControlProp3;
87
92
  event.emit(startTimeToHideAllComponent);
88
93
  pauseTimeToHideAllComponentRef.current = false;
89
94
  sendDpValueFn('-1');
90
95
  // @ts-ignore
91
96
  ty.nativeDisabled(false);
97
+ directionControlProps === null || directionControlProps === void 0 || (_directionControlProp3 = directionControlProps.onTouchEnd) === null || _directionControlProp3 === void 0 || _directionControlProp3.call(directionControlProps);
92
98
  },
93
99
  onMoveNonIntersection: () => {
94
100
  sendDpValueFn('-1');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ipc-player-integration",
3
- "version": "0.0.25-beta-1",
3
+ "version": "0.0.25-beta-3",
4
4
  "description": "IPC 融合播放器",
5
5
  "main": "lib/index",
6
6
  "files": [