@realsee/dnalogel 2.1.0-alpha.11 → 2.1.0-alpha.13
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/CSS3DRenderPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/CameraMovementPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/CameraMovementPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/CruisePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/CruisePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelViewPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelViewPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoCompassPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoRulerPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoRulerPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoTagPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoTagPlugin/index.js +4869 -376
- package/dist/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/index.es.js +5063 -570
- package/dist/index.js +5075 -582
- package/dist/index.umd.js +5072 -584
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +9 -9
- package/docs/classes/PanoTagPluginController.html +23 -51
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +7 -7
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/LinkType.html +1 -1
- package/docs/enums/PointType.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/Object3DHelperState.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +5 -5
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/modules.html +21 -21
- package/libs/PanoTagPlugin/Components/Common/Media.js +347 -194
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +216 -0
- package/libs/PanoTagPlugin/Components/Common/Text.js +1 -2
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +37 -17
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/libs/PanoTagPlugin/controller/TagComputer.js +14 -22
- package/libs/PanoTagPlugin/controller/index.d.ts +9 -4
- package/libs/PanoTagPlugin/controller/index.js +50 -23
- package/libs/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/libs/PanoTagPlugin/mocks/mock1.js +10 -5
- package/libs/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/libs/PanoTagPlugin/mocks/mock3.js +21 -22
- package/libs/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/libs/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/libs/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/package.json +2 -1
- package/libs/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/libs/CSS3DRenderPlugin/Plugin.js +0 -182
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +0 -18
- package/libs/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/libs/GuideLinePlugin/utils/getLineGeometry.js +0 -64
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +0 -159
|
@@ -9,6 +9,7 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
9
9
|
};
|
|
10
10
|
private raycaster;
|
|
11
11
|
protected constructor(five: Five);
|
|
12
|
+
getTagById(id: TagId): TagElement<import("../typings").ContentType, PointType, DimensionType, {}>;
|
|
12
13
|
/**
|
|
13
14
|
* @description: 改变配置
|
|
14
15
|
*/
|
|
@@ -48,22 +49,20 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
48
49
|
/**
|
|
49
50
|
* @description: 一个点的标签
|
|
50
51
|
*/
|
|
51
|
-
setPointTagPosition(): void;
|
|
52
|
-
setVisibleByPanoIndex(): void;
|
|
53
|
-
setUnfoldedByPanoIndex(): void;
|
|
54
|
-
setVisibleAndUnfoldedByPanoIndex(): void;
|
|
52
|
+
protected setPointTagPosition(): void;
|
|
53
|
+
protected setVisibleByPanoIndex(): void;
|
|
54
|
+
protected setUnfoldedByPanoIndex(): void;
|
|
55
55
|
/**
|
|
56
56
|
* @description: 一个点的标签
|
|
57
57
|
*/
|
|
58
|
-
getTagProject(tag: Tag): {
|
|
58
|
+
protected getTagProject(tag: Tag): {
|
|
59
59
|
x: number;
|
|
60
60
|
y: number;
|
|
61
61
|
z: number;
|
|
62
62
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
filterPlaneTag(): PlaneTagElement[];
|
|
63
|
+
protected filterPointTag(): PointTagElement[];
|
|
64
|
+
protected filterTag2D(): Tag2DElement[];
|
|
65
|
+
protected filter3DPointTag(): Tag3DElement[];
|
|
66
|
+
protected filter3DTag(): TagElement<any, PointType, DimensionType.Three>[];
|
|
67
|
+
protected filterPlaneTag(): PlaneTagElement[];
|
|
69
68
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Five } from '@realsee/five';
|
|
2
|
-
import type { Tag, ContentType, PartialDeep, TagId, Tags, State } from '../typings';
|
|
2
|
+
import type { Tag, ContentType, PartialDeep, TagId, Tags, State, AddTagConfig } from '../typings';
|
|
3
3
|
import { TagComputer } from './TagComputer';
|
|
4
4
|
import { ArrayPosition } from '../typings';
|
|
5
5
|
export declare const pluginFlag: (name: string) => string;
|
|
@@ -40,11 +40,12 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
40
40
|
/**
|
|
41
41
|
* @description: 加载数据
|
|
42
42
|
*/
|
|
43
|
-
load(data: Tags): void;
|
|
43
|
+
load(data: Tags, config?: AddTagConfig): void;
|
|
44
44
|
/**
|
|
45
45
|
* @description: 添加标签
|
|
46
46
|
*/
|
|
47
|
-
addTag(tag: Tag | Tag[]): void;
|
|
47
|
+
addTag(tag: Tag | Tag[], config?: AddTagConfig): void;
|
|
48
|
+
clearTags(): void;
|
|
48
49
|
show(params?: {
|
|
49
50
|
userAction?: boolean;
|
|
50
51
|
withAnimation?: boolean;
|
|
@@ -87,6 +88,10 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
87
88
|
destroyTagById(id: TagId | TagId[]): void;
|
|
88
89
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
89
90
|
pauseCurrentMedia(): void;
|
|
91
|
+
/**
|
|
92
|
+
* @description: 设置 visible 和 unfolded
|
|
93
|
+
*/
|
|
94
|
+
private setVisibleAndUnfolded;
|
|
90
95
|
private handleShow;
|
|
91
96
|
private handleHide;
|
|
92
97
|
private handleEnable;
|
|
@@ -114,7 +119,7 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
114
119
|
/**
|
|
115
120
|
* @description: 更新所有标签
|
|
116
121
|
*/
|
|
117
|
-
private
|
|
122
|
+
private updateRenderAllTags;
|
|
118
123
|
private updateTagContainerVisible;
|
|
119
124
|
private handleFiveCameraUpdateDebounce;
|
|
120
125
|
private handleFiveCameraUpdate;
|
|
@@ -30,11 +30,15 @@ declare const _default: {
|
|
|
30
30
|
position: number[];
|
|
31
31
|
data: {
|
|
32
32
|
text: string;
|
|
33
|
-
mediaData: {
|
|
33
|
+
mediaData: ({
|
|
34
34
|
url: string;
|
|
35
35
|
videoCoverUrl: string;
|
|
36
36
|
type: string;
|
|
37
|
-
}
|
|
37
|
+
} | {
|
|
38
|
+
url: string;
|
|
39
|
+
type: string;
|
|
40
|
+
videoCoverUrl?: undefined;
|
|
41
|
+
})[];
|
|
38
42
|
title?: undefined;
|
|
39
43
|
brandTags?: undefined;
|
|
40
44
|
tags?: undefined;
|
|
@@ -52,11 +56,15 @@ declare const _default: {
|
|
|
52
56
|
contentType: string;
|
|
53
57
|
position: number[][];
|
|
54
58
|
data: {
|
|
55
|
-
mediaData: {
|
|
59
|
+
mediaData: ({
|
|
56
60
|
url: string;
|
|
57
61
|
videoCoverUrl: string;
|
|
58
62
|
type: string;
|
|
59
|
-
}
|
|
63
|
+
} | {
|
|
64
|
+
url: string;
|
|
65
|
+
type: string;
|
|
66
|
+
videoCoverUrl?: undefined;
|
|
67
|
+
})[];
|
|
60
68
|
text?: undefined;
|
|
61
69
|
title?: undefined;
|
|
62
70
|
brandTags?: undefined;
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
tagList: {
|
|
3
3
|
id: number;
|
|
4
|
-
pointType: string;
|
|
5
4
|
dimensionType: string;
|
|
5
|
+
pointType: string;
|
|
6
|
+
contentType: string;
|
|
6
7
|
position: number[];
|
|
7
8
|
data: {
|
|
8
9
|
text: string;
|
|
10
|
+
mediaData: ({
|
|
11
|
+
url: string;
|
|
12
|
+
videoCoverUrl: string;
|
|
13
|
+
type: string;
|
|
14
|
+
} | {
|
|
15
|
+
url: string;
|
|
16
|
+
type: string;
|
|
17
|
+
videoCoverUrl?: undefined;
|
|
18
|
+
})[];
|
|
9
19
|
};
|
|
10
|
-
normal: number[];
|
|
11
|
-
contentType: string;
|
|
12
20
|
}[];
|
|
13
21
|
};
|
|
14
22
|
export default _default;
|
|
@@ -12,6 +12,9 @@ export declare type Hooks = InstanceType<typeof PanoTagPluginController>['hooks'
|
|
|
12
12
|
declare type NonNullable<T> = T extends null | undefined | void ? never : T;
|
|
13
13
|
export interface State extends BasePlugin.State {
|
|
14
14
|
}
|
|
15
|
+
export interface AddTagConfig {
|
|
16
|
+
withAnimation?: boolean;
|
|
17
|
+
}
|
|
15
18
|
export interface TemporaryState {
|
|
16
19
|
visible?: boolean;
|
|
17
20
|
}
|
|
@@ -211,6 +211,16 @@ interface ContentTypeMap {
|
|
|
211
211
|
adaptationMode?: 'stretch' | 'proportional';
|
|
212
212
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
213
213
|
objectFit?: ObjectFit;
|
|
214
|
+
/**
|
|
215
|
+
* @description 是否开启自动轮播
|
|
216
|
+
* @param autoplay true: 开启自动轮播, false: 关闭自动播放
|
|
217
|
+
* @param autoplayVideo 自动轮播时,如果是视频, 则自动播放视频
|
|
218
|
+
* @default 默认值 { autoplay: true, autoplayVideo: false }
|
|
219
|
+
*/
|
|
220
|
+
autoplayConfig?: {
|
|
221
|
+
autoplay: boolean;
|
|
222
|
+
autoplayVideo: boolean;
|
|
223
|
+
};
|
|
214
224
|
mediaData: MediaData[];
|
|
215
225
|
extraData?: Object;
|
|
216
226
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const noTypecheck: (x:
|
|
1
|
+
export declare const noTypecheck: <T = any>(x: T) => any;
|
|
@@ -9,6 +9,7 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
9
9
|
};
|
|
10
10
|
private raycaster;
|
|
11
11
|
protected constructor(five: Five);
|
|
12
|
+
getTagById(id: TagId): TagElement<import("../typings").ContentType, PointType, DimensionType, {}>;
|
|
12
13
|
/**
|
|
13
14
|
* @description: 改变配置
|
|
14
15
|
*/
|
|
@@ -48,22 +49,20 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
48
49
|
/**
|
|
49
50
|
* @description: 一个点的标签
|
|
50
51
|
*/
|
|
51
|
-
setPointTagPosition(): void;
|
|
52
|
-
setVisibleByPanoIndex(): void;
|
|
53
|
-
setUnfoldedByPanoIndex(): void;
|
|
54
|
-
setVisibleAndUnfoldedByPanoIndex(): void;
|
|
52
|
+
protected setPointTagPosition(): void;
|
|
53
|
+
protected setVisibleByPanoIndex(): void;
|
|
54
|
+
protected setUnfoldedByPanoIndex(): void;
|
|
55
55
|
/**
|
|
56
56
|
* @description: 一个点的标签
|
|
57
57
|
*/
|
|
58
|
-
getTagProject(tag: Tag): {
|
|
58
|
+
protected getTagProject(tag: Tag): {
|
|
59
59
|
x: number;
|
|
60
60
|
y: number;
|
|
61
61
|
z: number;
|
|
62
62
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
filterPlaneTag(): PlaneTagElement[];
|
|
63
|
+
protected filterPointTag(): PointTagElement[];
|
|
64
|
+
protected filterTag2D(): Tag2DElement[];
|
|
65
|
+
protected filter3DPointTag(): Tag3DElement[];
|
|
66
|
+
protected filter3DTag(): TagElement<any, PointType, DimensionType.Three>[];
|
|
67
|
+
protected filterPlaneTag(): PlaneTagElement[];
|
|
69
68
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Five } from '@realsee/five';
|
|
2
|
-
import type { Tag, ContentType, PartialDeep, TagId, Tags, State } from '../typings';
|
|
2
|
+
import type { Tag, ContentType, PartialDeep, TagId, Tags, State, AddTagConfig } from '../typings';
|
|
3
3
|
import { TagComputer } from './TagComputer';
|
|
4
4
|
import { ArrayPosition } from '../typings';
|
|
5
5
|
export declare const pluginFlag: (name: string) => string;
|
|
@@ -40,11 +40,12 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
40
40
|
/**
|
|
41
41
|
* @description: 加载数据
|
|
42
42
|
*/
|
|
43
|
-
load(data: Tags): void;
|
|
43
|
+
load(data: Tags, config?: AddTagConfig): void;
|
|
44
44
|
/**
|
|
45
45
|
* @description: 添加标签
|
|
46
46
|
*/
|
|
47
|
-
addTag(tag: Tag | Tag[]): void;
|
|
47
|
+
addTag(tag: Tag | Tag[], config?: AddTagConfig): void;
|
|
48
|
+
clearTags(): void;
|
|
48
49
|
show(params?: {
|
|
49
50
|
userAction?: boolean;
|
|
50
51
|
withAnimation?: boolean;
|
|
@@ -87,6 +88,10 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
87
88
|
destroyTagById(id: TagId | TagId[]): void;
|
|
88
89
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
89
90
|
pauseCurrentMedia(): void;
|
|
91
|
+
/**
|
|
92
|
+
* @description: 设置 visible 和 unfolded
|
|
93
|
+
*/
|
|
94
|
+
private setVisibleAndUnfolded;
|
|
90
95
|
private handleShow;
|
|
91
96
|
private handleHide;
|
|
92
97
|
private handleEnable;
|
|
@@ -114,7 +119,7 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
114
119
|
/**
|
|
115
120
|
* @description: 更新所有标签
|
|
116
121
|
*/
|
|
117
|
-
private
|
|
122
|
+
private updateRenderAllTags;
|
|
118
123
|
private updateTagContainerVisible;
|
|
119
124
|
private handleFiveCameraUpdateDebounce;
|
|
120
125
|
private handleFiveCameraUpdate;
|
|
@@ -30,11 +30,15 @@ declare const _default: {
|
|
|
30
30
|
position: number[];
|
|
31
31
|
data: {
|
|
32
32
|
text: string;
|
|
33
|
-
mediaData: {
|
|
33
|
+
mediaData: ({
|
|
34
34
|
url: string;
|
|
35
35
|
videoCoverUrl: string;
|
|
36
36
|
type: string;
|
|
37
|
-
}
|
|
37
|
+
} | {
|
|
38
|
+
url: string;
|
|
39
|
+
type: string;
|
|
40
|
+
videoCoverUrl?: undefined;
|
|
41
|
+
})[];
|
|
38
42
|
title?: undefined;
|
|
39
43
|
brandTags?: undefined;
|
|
40
44
|
tags?: undefined;
|
|
@@ -52,11 +56,15 @@ declare const _default: {
|
|
|
52
56
|
contentType: string;
|
|
53
57
|
position: number[][];
|
|
54
58
|
data: {
|
|
55
|
-
mediaData: {
|
|
59
|
+
mediaData: ({
|
|
56
60
|
url: string;
|
|
57
61
|
videoCoverUrl: string;
|
|
58
62
|
type: string;
|
|
59
|
-
}
|
|
63
|
+
} | {
|
|
64
|
+
url: string;
|
|
65
|
+
type: string;
|
|
66
|
+
videoCoverUrl?: undefined;
|
|
67
|
+
})[];
|
|
60
68
|
text?: undefined;
|
|
61
69
|
title?: undefined;
|
|
62
70
|
brandTags?: undefined;
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
tagList: {
|
|
3
3
|
id: number;
|
|
4
|
-
pointType: string;
|
|
5
4
|
dimensionType: string;
|
|
5
|
+
pointType: string;
|
|
6
|
+
contentType: string;
|
|
6
7
|
position: number[];
|
|
7
8
|
data: {
|
|
8
9
|
text: string;
|
|
10
|
+
mediaData: ({
|
|
11
|
+
url: string;
|
|
12
|
+
videoCoverUrl: string;
|
|
13
|
+
type: string;
|
|
14
|
+
} | {
|
|
15
|
+
url: string;
|
|
16
|
+
type: string;
|
|
17
|
+
videoCoverUrl?: undefined;
|
|
18
|
+
})[];
|
|
9
19
|
};
|
|
10
|
-
normal: number[];
|
|
11
|
-
contentType: string;
|
|
12
20
|
}[];
|
|
13
21
|
};
|
|
14
22
|
export default _default;
|
|
@@ -12,6 +12,9 @@ export declare type Hooks = InstanceType<typeof PanoTagPluginController>['hooks'
|
|
|
12
12
|
declare type NonNullable<T> = T extends null | undefined | void ? never : T;
|
|
13
13
|
export interface State extends BasePlugin.State {
|
|
14
14
|
}
|
|
15
|
+
export interface AddTagConfig {
|
|
16
|
+
withAnimation?: boolean;
|
|
17
|
+
}
|
|
15
18
|
export interface TemporaryState {
|
|
16
19
|
visible?: boolean;
|
|
17
20
|
}
|
|
@@ -211,6 +211,16 @@ interface ContentTypeMap {
|
|
|
211
211
|
adaptationMode?: 'stretch' | 'proportional';
|
|
212
212
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
213
213
|
objectFit?: ObjectFit;
|
|
214
|
+
/**
|
|
215
|
+
* @description 是否开启自动轮播
|
|
216
|
+
* @param autoplay true: 开启自动轮播, false: 关闭自动播放
|
|
217
|
+
* @param autoplayVideo 自动轮播时,如果是视频, 则自动播放视频
|
|
218
|
+
* @default 默认值 { autoplay: true, autoplayVideo: false }
|
|
219
|
+
*/
|
|
220
|
+
autoplayConfig?: {
|
|
221
|
+
autoplay: boolean;
|
|
222
|
+
autoplayVideo: boolean;
|
|
223
|
+
};
|
|
214
224
|
mediaData: MediaData[];
|
|
215
225
|
extraData?: Object;
|
|
216
226
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const noTypecheck: (x:
|
|
1
|
+
export declare const noTypecheck: <T = any>(x: T) => any;
|
|
@@ -9,6 +9,7 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
9
9
|
};
|
|
10
10
|
private raycaster;
|
|
11
11
|
protected constructor(five: Five);
|
|
12
|
+
getTagById(id: TagId): TagElement<import("../typings").ContentType, PointType, DimensionType, {}>;
|
|
12
13
|
/**
|
|
13
14
|
* @description: 改变配置
|
|
14
15
|
*/
|
|
@@ -48,22 +49,20 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
48
49
|
/**
|
|
49
50
|
* @description: 一个点的标签
|
|
50
51
|
*/
|
|
51
|
-
setPointTagPosition(): void;
|
|
52
|
-
setVisibleByPanoIndex(): void;
|
|
53
|
-
setUnfoldedByPanoIndex(): void;
|
|
54
|
-
setVisibleAndUnfoldedByPanoIndex(): void;
|
|
52
|
+
protected setPointTagPosition(): void;
|
|
53
|
+
protected setVisibleByPanoIndex(): void;
|
|
54
|
+
protected setUnfoldedByPanoIndex(): void;
|
|
55
55
|
/**
|
|
56
56
|
* @description: 一个点的标签
|
|
57
57
|
*/
|
|
58
|
-
getTagProject(tag: Tag): {
|
|
58
|
+
protected getTagProject(tag: Tag): {
|
|
59
59
|
x: number;
|
|
60
60
|
y: number;
|
|
61
61
|
z: number;
|
|
62
62
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
filterPlaneTag(): PlaneTagElement[];
|
|
63
|
+
protected filterPointTag(): PointTagElement[];
|
|
64
|
+
protected filterTag2D(): Tag2DElement[];
|
|
65
|
+
protected filter3DPointTag(): Tag3DElement[];
|
|
66
|
+
protected filter3DTag(): TagElement<any, PointType, DimensionType.Three>[];
|
|
67
|
+
protected filterPlaneTag(): PlaneTagElement[];
|
|
69
68
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Five } from '@realsee/five';
|
|
2
|
-
import type { Tag, ContentType, PartialDeep, TagId, Tags, State } from '../typings';
|
|
2
|
+
import type { Tag, ContentType, PartialDeep, TagId, Tags, State, AddTagConfig } from '../typings';
|
|
3
3
|
import { TagComputer } from './TagComputer';
|
|
4
4
|
import { ArrayPosition } from '../typings';
|
|
5
5
|
export declare const pluginFlag: (name: string) => string;
|
|
@@ -40,11 +40,12 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
40
40
|
/**
|
|
41
41
|
* @description: 加载数据
|
|
42
42
|
*/
|
|
43
|
-
load(data: Tags): void;
|
|
43
|
+
load(data: Tags, config?: AddTagConfig): void;
|
|
44
44
|
/**
|
|
45
45
|
* @description: 添加标签
|
|
46
46
|
*/
|
|
47
|
-
addTag(tag: Tag | Tag[]): void;
|
|
47
|
+
addTag(tag: Tag | Tag[], config?: AddTagConfig): void;
|
|
48
|
+
clearTags(): void;
|
|
48
49
|
show(params?: {
|
|
49
50
|
userAction?: boolean;
|
|
50
51
|
withAnimation?: boolean;
|
|
@@ -87,6 +88,10 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
87
88
|
destroyTagById(id: TagId | TagId[]): void;
|
|
88
89
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
89
90
|
pauseCurrentMedia(): void;
|
|
91
|
+
/**
|
|
92
|
+
* @description: 设置 visible 和 unfolded
|
|
93
|
+
*/
|
|
94
|
+
private setVisibleAndUnfolded;
|
|
90
95
|
private handleShow;
|
|
91
96
|
private handleHide;
|
|
92
97
|
private handleEnable;
|
|
@@ -114,7 +119,7 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
114
119
|
/**
|
|
115
120
|
* @description: 更新所有标签
|
|
116
121
|
*/
|
|
117
|
-
private
|
|
122
|
+
private updateRenderAllTags;
|
|
118
123
|
private updateTagContainerVisible;
|
|
119
124
|
private handleFiveCameraUpdateDebounce;
|
|
120
125
|
private handleFiveCameraUpdate;
|
|
@@ -30,11 +30,15 @@ declare const _default: {
|
|
|
30
30
|
position: number[];
|
|
31
31
|
data: {
|
|
32
32
|
text: string;
|
|
33
|
-
mediaData: {
|
|
33
|
+
mediaData: ({
|
|
34
34
|
url: string;
|
|
35
35
|
videoCoverUrl: string;
|
|
36
36
|
type: string;
|
|
37
|
-
}
|
|
37
|
+
} | {
|
|
38
|
+
url: string;
|
|
39
|
+
type: string;
|
|
40
|
+
videoCoverUrl?: undefined;
|
|
41
|
+
})[];
|
|
38
42
|
title?: undefined;
|
|
39
43
|
brandTags?: undefined;
|
|
40
44
|
tags?: undefined;
|
|
@@ -52,11 +56,15 @@ declare const _default: {
|
|
|
52
56
|
contentType: string;
|
|
53
57
|
position: number[][];
|
|
54
58
|
data: {
|
|
55
|
-
mediaData: {
|
|
59
|
+
mediaData: ({
|
|
56
60
|
url: string;
|
|
57
61
|
videoCoverUrl: string;
|
|
58
62
|
type: string;
|
|
59
|
-
}
|
|
63
|
+
} | {
|
|
64
|
+
url: string;
|
|
65
|
+
type: string;
|
|
66
|
+
videoCoverUrl?: undefined;
|
|
67
|
+
})[];
|
|
60
68
|
text?: undefined;
|
|
61
69
|
title?: undefined;
|
|
62
70
|
brandTags?: undefined;
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
tagList: {
|
|
3
3
|
id: number;
|
|
4
|
-
pointType: string;
|
|
5
4
|
dimensionType: string;
|
|
5
|
+
pointType: string;
|
|
6
|
+
contentType: string;
|
|
6
7
|
position: number[];
|
|
7
8
|
data: {
|
|
8
9
|
text: string;
|
|
10
|
+
mediaData: ({
|
|
11
|
+
url: string;
|
|
12
|
+
videoCoverUrl: string;
|
|
13
|
+
type: string;
|
|
14
|
+
} | {
|
|
15
|
+
url: string;
|
|
16
|
+
type: string;
|
|
17
|
+
videoCoverUrl?: undefined;
|
|
18
|
+
})[];
|
|
9
19
|
};
|
|
10
|
-
normal: number[];
|
|
11
|
-
contentType: string;
|
|
12
20
|
}[];
|
|
13
21
|
};
|
|
14
22
|
export default _default;
|
|
@@ -12,6 +12,9 @@ export declare type Hooks = InstanceType<typeof PanoTagPluginController>['hooks'
|
|
|
12
12
|
declare type NonNullable<T> = T extends null | undefined | void ? never : T;
|
|
13
13
|
export interface State extends BasePlugin.State {
|
|
14
14
|
}
|
|
15
|
+
export interface AddTagConfig {
|
|
16
|
+
withAnimation?: boolean;
|
|
17
|
+
}
|
|
15
18
|
export interface TemporaryState {
|
|
16
19
|
visible?: boolean;
|
|
17
20
|
}
|
|
@@ -211,6 +211,16 @@ interface ContentTypeMap {
|
|
|
211
211
|
adaptationMode?: 'stretch' | 'proportional';
|
|
212
212
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
213
213
|
objectFit?: ObjectFit;
|
|
214
|
+
/**
|
|
215
|
+
* @description 是否开启自动轮播
|
|
216
|
+
* @param autoplay true: 开启自动轮播, false: 关闭自动播放
|
|
217
|
+
* @param autoplayVideo 自动轮播时,如果是视频, 则自动播放视频
|
|
218
|
+
* @default 默认值 { autoplay: true, autoplayVideo: false }
|
|
219
|
+
*/
|
|
220
|
+
autoplayConfig?: {
|
|
221
|
+
autoplay: boolean;
|
|
222
|
+
autoplayVideo: boolean;
|
|
223
|
+
};
|
|
214
224
|
mediaData: MediaData[];
|
|
215
225
|
extraData?: Object;
|
|
216
226
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const noTypecheck: (x:
|
|
1
|
+
export declare const noTypecheck: <T = any>(x: T) => any;
|
|
@@ -9,6 +9,7 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
9
9
|
};
|
|
10
10
|
private raycaster;
|
|
11
11
|
protected constructor(five: Five);
|
|
12
|
+
getTagById(id: TagId): TagElement<import("../typings").ContentType, PointType, DimensionType, {}>;
|
|
12
13
|
/**
|
|
13
14
|
* @description: 改变配置
|
|
14
15
|
*/
|
|
@@ -48,22 +49,20 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
48
49
|
/**
|
|
49
50
|
* @description: 一个点的标签
|
|
50
51
|
*/
|
|
51
|
-
setPointTagPosition(): void;
|
|
52
|
-
setVisibleByPanoIndex(): void;
|
|
53
|
-
setUnfoldedByPanoIndex(): void;
|
|
54
|
-
setVisibleAndUnfoldedByPanoIndex(): void;
|
|
52
|
+
protected setPointTagPosition(): void;
|
|
53
|
+
protected setVisibleByPanoIndex(): void;
|
|
54
|
+
protected setUnfoldedByPanoIndex(): void;
|
|
55
55
|
/**
|
|
56
56
|
* @description: 一个点的标签
|
|
57
57
|
*/
|
|
58
|
-
getTagProject(tag: Tag): {
|
|
58
|
+
protected getTagProject(tag: Tag): {
|
|
59
59
|
x: number;
|
|
60
60
|
y: number;
|
|
61
61
|
z: number;
|
|
62
62
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
filterPlaneTag(): PlaneTagElement[];
|
|
63
|
+
protected filterPointTag(): PointTagElement[];
|
|
64
|
+
protected filterTag2D(): Tag2DElement[];
|
|
65
|
+
protected filter3DPointTag(): Tag3DElement[];
|
|
66
|
+
protected filter3DTag(): TagElement<any, PointType, DimensionType.Three>[];
|
|
67
|
+
protected filterPlaneTag(): PlaneTagElement[];
|
|
69
68
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Five } from '@realsee/five';
|
|
2
|
-
import type { Tag, ContentType, PartialDeep, TagId, Tags, State } from '../typings';
|
|
2
|
+
import type { Tag, ContentType, PartialDeep, TagId, Tags, State, AddTagConfig } from '../typings';
|
|
3
3
|
import { TagComputer } from './TagComputer';
|
|
4
4
|
import { ArrayPosition } from '../typings';
|
|
5
5
|
export declare const pluginFlag: (name: string) => string;
|
|
@@ -40,11 +40,12 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
40
40
|
/**
|
|
41
41
|
* @description: 加载数据
|
|
42
42
|
*/
|
|
43
|
-
load(data: Tags): void;
|
|
43
|
+
load(data: Tags, config?: AddTagConfig): void;
|
|
44
44
|
/**
|
|
45
45
|
* @description: 添加标签
|
|
46
46
|
*/
|
|
47
|
-
addTag(tag: Tag | Tag[]): void;
|
|
47
|
+
addTag(tag: Tag | Tag[], config?: AddTagConfig): void;
|
|
48
|
+
clearTags(): void;
|
|
48
49
|
show(params?: {
|
|
49
50
|
userAction?: boolean;
|
|
50
51
|
withAnimation?: boolean;
|
|
@@ -87,6 +88,10 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
87
88
|
destroyTagById(id: TagId | TagId[]): void;
|
|
88
89
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
89
90
|
pauseCurrentMedia(): void;
|
|
91
|
+
/**
|
|
92
|
+
* @description: 设置 visible 和 unfolded
|
|
93
|
+
*/
|
|
94
|
+
private setVisibleAndUnfolded;
|
|
90
95
|
private handleShow;
|
|
91
96
|
private handleHide;
|
|
92
97
|
private handleEnable;
|
|
@@ -114,7 +119,7 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
114
119
|
/**
|
|
115
120
|
* @description: 更新所有标签
|
|
116
121
|
*/
|
|
117
|
-
private
|
|
122
|
+
private updateRenderAllTags;
|
|
118
123
|
private updateTagContainerVisible;
|
|
119
124
|
private handleFiveCameraUpdateDebounce;
|
|
120
125
|
private handleFiveCameraUpdate;
|
|
@@ -30,11 +30,15 @@ declare const _default: {
|
|
|
30
30
|
position: number[];
|
|
31
31
|
data: {
|
|
32
32
|
text: string;
|
|
33
|
-
mediaData: {
|
|
33
|
+
mediaData: ({
|
|
34
34
|
url: string;
|
|
35
35
|
videoCoverUrl: string;
|
|
36
36
|
type: string;
|
|
37
|
-
}
|
|
37
|
+
} | {
|
|
38
|
+
url: string;
|
|
39
|
+
type: string;
|
|
40
|
+
videoCoverUrl?: undefined;
|
|
41
|
+
})[];
|
|
38
42
|
title?: undefined;
|
|
39
43
|
brandTags?: undefined;
|
|
40
44
|
tags?: undefined;
|
|
@@ -52,11 +56,15 @@ declare const _default: {
|
|
|
52
56
|
contentType: string;
|
|
53
57
|
position: number[][];
|
|
54
58
|
data: {
|
|
55
|
-
mediaData: {
|
|
59
|
+
mediaData: ({
|
|
56
60
|
url: string;
|
|
57
61
|
videoCoverUrl: string;
|
|
58
62
|
type: string;
|
|
59
|
-
}
|
|
63
|
+
} | {
|
|
64
|
+
url: string;
|
|
65
|
+
type: string;
|
|
66
|
+
videoCoverUrl?: undefined;
|
|
67
|
+
})[];
|
|
60
68
|
text?: undefined;
|
|
61
69
|
title?: undefined;
|
|
62
70
|
brandTags?: undefined;
|