@realsee/vreo 0.2.0-alpha.3 → 0.2.0-alpha.6
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/README.md +20 -3
- package/docs/assets/custom.css +2 -2
- package/docs/assets/search.js +1 -1
- package/docs/classes/Player.Controller.html +3 -3
- package/docs/classes/Player.Player-1.html +3 -3
- package/docs/classes/Player.VideoAgentMesh.html +11 -11
- package/docs/classes/Player.VideoAgentScene.html +1 -1
- package/docs/enums/Player.InfoPanelStyleEnum.html +1 -0
- package/docs/enums/Player.InfoPanelTypeEnum.html +1 -1
- package/docs/enums/Player.PanoEffectEnum.html +1 -1
- package/docs/enums/Player.PanoTagEnum.html +1 -1
- package/docs/enums/Player.VreoKeyframeEnum.html +12 -12
- package/docs/enums/fivePlugins.CameraMovementEffect.html +1 -1
- package/docs/enums/fivePlugins.Rotation.html +1 -1
- package/docs/index.html +6 -2
- package/docs/interfaces/Player.CustomVreoKeyframeProps.html +1 -1
- package/docs/interfaces/Player.PlayerConfigs.html +2 -2
- package/docs/interfaces/Player.Vertex.html +1 -1
- package/docs/interfaces/Player.VideoAgentMeshOptions.html +1 -1
- package/docs/interfaces/Player.VreoKeyframe.html +1 -1
- package/docs/interfaces/Player.VreoUnit.html +1 -1
- package/docs/interfaces/Player.VreoVideo.html +1 -1
- package/docs/interfaces/fivePlugins.CameraMovementOptsCallback.html +1 -1
- package/docs/interfaces/fivePlugins.CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/fivePlugins.ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/fivePlugins.ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/fivePlugins.ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/react.VreoActionCallbacks.html +6 -6
- package/docs/interfaces/react.VreoProviderProps.html +1 -1
- package/docs/modules/Player.html +13 -13
- package/docs/modules/custom.html +1 -1
- package/docs/modules/fivePlugins.html +2 -2
- package/docs/modules/react.html +1 -1
- package/lib/Player/Controller.d.ts +2 -0
- package/lib/Player/Controller.js +14 -0
- package/lib/Player/custom/SpatialScenePanel/index.d.ts +2 -2
- package/lib/Player/custom/SpatialScenePanel/index.js +14 -14
- package/lib/Player/index.js +3 -1
- package/lib/Player/modules/PopUp/index.d.ts +2 -0
- package/lib/Player/modules/PopUp/index.js +43 -0
- package/lib/Player/modules/keyframes/InfoPanel/index.js +73 -35
- package/lib/Player/modules/keyframes/PanoTextLabel/index.js +4 -12
- package/lib/fivePlugins/CameraMovementPlugin/index.js +3 -2
- package/lib/typings/VreoUnit.d.ts +5 -0
- package/lib/typings/VreoUnit.js +14 -6
- package/package.json +1 -1
- package/resources/Player/Controller.ts +12 -0
- package/resources/Player/custom/SpatialScenePanel/index.tsx +68 -41
- package/resources/Player/index.tsx +2 -0
- package/resources/Player/modules/PopUp/index.tsx +26 -0
- package/resources/Player/modules/keyframes/InfoPanel/index.tsx +79 -34
- package/resources/Player/modules/keyframes/PanoTextLabel/index.tsx +2 -2
- package/resources/fivePlugins/CameraMovementPlugin/index.ts +1 -0
- package/resources/typings/VreoUnit.ts +6 -0
- package/stylesheets/default.css +66 -0
|
@@ -235,11 +235,17 @@ export enum InfoPanelTypeEnum {
|
|
|
235
235
|
Video = 'Video',
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
+
export enum InfoPanelStyleEnum {
|
|
239
|
+
Drawer = 'Drawer',
|
|
240
|
+
PopUp = 'PopUp',
|
|
241
|
+
}
|
|
242
|
+
|
|
238
243
|
/**
|
|
239
244
|
* 信息面板
|
|
240
245
|
*/
|
|
241
246
|
export type InfoPanelData = {
|
|
242
247
|
type: InfoPanelTypeEnum
|
|
248
|
+
style?: InfoPanelStyleEnum
|
|
243
249
|
url: string
|
|
244
250
|
// 标题
|
|
245
251
|
title?: string
|
package/stylesheets/default.css
CHANGED
|
@@ -547,3 +547,69 @@
|
|
|
547
547
|
opacity: 0;
|
|
548
548
|
transition: opacity 0.45s;
|
|
549
549
|
}
|
|
550
|
+
|
|
551
|
+
.vreo-PopUp {
|
|
552
|
+
position: absolute;
|
|
553
|
+
left: 0;
|
|
554
|
+
top: 0;
|
|
555
|
+
width: 100%;
|
|
556
|
+
height: 100%;
|
|
557
|
+
pointer-events: none;
|
|
558
|
+
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 65%);
|
|
559
|
+
opacity: 0;
|
|
560
|
+
transition: opacity .45s;
|
|
561
|
+
display: flex;
|
|
562
|
+
justify-content: center;
|
|
563
|
+
align-items: center;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.vreo-PopUp.vreo-PopUp-visible {
|
|
567
|
+
opacity: 1;
|
|
568
|
+
pointer-events: all;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.vreo-PopUp-inner {
|
|
572
|
+
width: 339px;
|
|
573
|
+
height: 425px;
|
|
574
|
+
position: relative;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
@media only screen and (min-width: 960px) {
|
|
578
|
+
.vreo-PopUp-inner {
|
|
579
|
+
width: 678px;
|
|
580
|
+
height: 620px;
|
|
581
|
+
position: relative;
|
|
582
|
+
}
|
|
583
|
+
.vreo-infoPanelVideo {
|
|
584
|
+
max-width: 100%;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.vreo-PopUp-inner .vreo-infoPanel {
|
|
589
|
+
background-color: initial;
|
|
590
|
+
justify-content: center;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.vreo-PopUp-inner .vreo-infoPanel-title {
|
|
594
|
+
position: absolute;
|
|
595
|
+
bottom: 32px;
|
|
596
|
+
left: 0;
|
|
597
|
+
z-index: 1;
|
|
598
|
+
flex-direction: column;
|
|
599
|
+
justify-content: end;
|
|
600
|
+
height: 200px;
|
|
601
|
+
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.vreo-PopUp-inner .vreo-infoPanel-title .vreo-infoPanel-t1 {
|
|
605
|
+
padding-left: 0;
|
|
606
|
+
font-size: 20px;
|
|
607
|
+
font-weight: 600;
|
|
608
|
+
padding-bottom: 14px;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.vreo-PopUp-inner .vreo-infoPanel-title .vreo-infoPanel-t2 {
|
|
612
|
+
padding: 0 0 24px 0;
|
|
613
|
+
font-size: 14px;
|
|
614
|
+
opacity: 0.85;
|
|
615
|
+
}
|