@ray-js/ipc-player-integration 0.0.1-beta-31 → 0.0.1-beta-32
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.
|
@@ -49,6 +49,7 @@ export function FullScreen(props) {
|
|
|
49
49
|
absoluteContentClassName: 'ipc-player-plugin-vertical-screen-wrap',
|
|
50
50
|
initProps: _objectSpread(_objectSpread({}, props), {}, {
|
|
51
51
|
onClick: () => {
|
|
52
|
+
event.emit(pauseTimeToHideAllComponent);
|
|
52
53
|
event.emit(showAllComponent);
|
|
53
54
|
handClick('vertical');
|
|
54
55
|
}
|
|
@@ -79,13 +80,13 @@ export function FullScreen(props) {
|
|
|
79
80
|
});
|
|
80
81
|
ty.showMenuButton();
|
|
81
82
|
ty.showStatusBar();
|
|
83
|
+
event.emit(pauseTimeToHideAllComponent);
|
|
82
84
|
deleteContent('topLeft', verticalScreenId);
|
|
83
85
|
deleteContent('absolute', voiceIntercomId);
|
|
84
86
|
deleteContent('absolute', ptzControlId);
|
|
85
87
|
deleteContent('absolute', fullResolutionId);
|
|
86
88
|
// 还原Ptz点击状态值
|
|
87
89
|
setPtzActive(false);
|
|
88
|
-
console.log('_________dshadhsah');
|
|
89
90
|
// 还原全屏清晰度状态值
|
|
90
91
|
setFullResolutionActive(false);
|
|
91
92
|
}
|
|
@@ -40,10 +40,12 @@ export const PtzControl = props => {
|
|
|
40
40
|
} = props;
|
|
41
41
|
const {
|
|
42
42
|
screenType,
|
|
43
|
-
brandColor
|
|
43
|
+
brandColor,
|
|
44
|
+
fullResolutionActive
|
|
44
45
|
} = useStore({
|
|
45
46
|
screenType: props.screenType,
|
|
46
|
-
brandColor: props.brandColor
|
|
47
|
+
brandColor: props.brandColor,
|
|
48
|
+
fullResolutionActive: props.fullResolutionActive
|
|
47
49
|
});
|
|
48
50
|
const [shouldHide] = useComponentHideState(screenType);
|
|
49
51
|
const {
|
|
@@ -61,7 +63,7 @@ export const PtzControl = props => {
|
|
|
61
63
|
}, []);
|
|
62
64
|
return /*#__PURE__*/React.createElement(CoverView, {
|
|
63
65
|
className: clsx('ipc-player-plugin-full-screen-ptz-control', {
|
|
64
|
-
'ipc-player-plugin-full-screen-ptz-control-hide': shouldHide
|
|
66
|
+
'ipc-player-plugin-full-screen-ptz-control-hide': shouldHide || fullResolutionActive
|
|
65
67
|
})
|
|
66
68
|
}, /*#__PURE__*/React.createElement(IpcPtzZoom, {
|
|
67
69
|
ptzSize: "172px",
|
package/lib/ui/ui.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/ipc-player-integration",
|
|
3
|
-
"version": "0.0.1-beta-
|
|
3
|
+
"version": "0.0.1-beta-32",
|
|
4
4
|
"description": "IPC 播放器功能集成",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"files": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@ray-js/ipc-ptz-zoom": "0.0.2-beta-4",
|
|
37
37
|
"@ray-js/panel-sdk": "^1.13.1",
|
|
38
|
-
"@ray-js/ray-ipc-player": "2.0.20-beta-
|
|
38
|
+
"@ray-js/ray-ipc-player": "2.0.20-beta-6",
|
|
39
39
|
"@ray-js/ray-ipc-utils": "1.1.0-beta-13",
|
|
40
40
|
"@ray-js/svg": "0.2.0",
|
|
41
41
|
"clsx": "^1.2.1",
|