@realsee/dnalogel 2.1.0-alpha.10 → 2.1.0-alpha.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/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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 +723 -311
- package/dist/PanoTagPlugin/mocks/mock1.d.ts +12 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -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 -11
- 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/constants.d.ts +3 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/index.es.js +922 -510
- package/dist/index.js +922 -510
- package/dist/index.umd.js +922 -514
- 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 +18 -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 -11
- package/libs/PanoTagPlugin/mocks/mock1.js +12 -7
- 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/constants.d.ts +3 -0
- package/libs/PanoTagPlugin/utils/constants.js +5 -0
- package/libs/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/package.json +1 -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,9 +9,10 @@ import { TagComputer } from './TagComputer';
|
|
|
9
9
|
import { CSS3DRenderPlugin } from '../../CSS3DRenderPlugin';
|
|
10
10
|
import { DimensionType, PointType } from '../typings';
|
|
11
11
|
// declare const __APP_VERSION__: string
|
|
12
|
-
const VERSION = '0.
|
|
12
|
+
const VERSION = '1.0.0';
|
|
13
13
|
const PLUGIN_NAME = `DnalogelPlugin-PanoTagPlugin@${VERSION}`;
|
|
14
|
-
|
|
14
|
+
// 初始是否展开
|
|
15
|
+
const TAG_INITIAL_UNFOLDED = false;
|
|
15
16
|
export const pluginFlag = (name) => `${PLUGIN_NAME}--${name}`;
|
|
16
17
|
class PanoTagPluginController extends TagComputer {
|
|
17
18
|
constructor(five, params) {
|
|
@@ -121,8 +122,9 @@ class PanoTagPluginController extends TagComputer {
|
|
|
121
122
|
/**
|
|
122
123
|
* @description: 加载数据
|
|
123
124
|
*/
|
|
124
|
-
load(data) {
|
|
125
|
+
load(data, config) {
|
|
125
126
|
var _a, _b;
|
|
127
|
+
this.clearTags();
|
|
126
128
|
console.log(PLUGIN_NAME, 'load:', { data });
|
|
127
129
|
if (this.params.mergePluginDefaultConfigToLoadDataConfig) {
|
|
128
130
|
this.config = objectAssignDeep({}, this.config, {
|
|
@@ -136,17 +138,15 @@ class PanoTagPluginController extends TagComputer {
|
|
|
136
138
|
if (data.contentTypeConfig)
|
|
137
139
|
this.config.contentTypeConfig = data.contentTypeConfig;
|
|
138
140
|
}
|
|
139
|
-
this.
|
|
140
|
-
|
|
141
|
-
this.tags = [];
|
|
142
|
-
this.addTag(data.tagList);
|
|
141
|
+
this.addTag(data.tagList, config);
|
|
142
|
+
// debug
|
|
143
143
|
if (this.debug)
|
|
144
144
|
addDebugPoints(this.five, this.tags);
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* @description: 添加标签
|
|
148
148
|
*/
|
|
149
|
-
addTag(tag) {
|
|
149
|
+
addTag(tag, config) {
|
|
150
150
|
const tags = Array.isArray(tag) ? tag : [tag];
|
|
151
151
|
const _tags = tags
|
|
152
152
|
.map((tag) => {
|
|
@@ -156,7 +156,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
156
156
|
.filter((tag) => tag.position);
|
|
157
157
|
this.tags.push(..._tags);
|
|
158
158
|
actionAfterFiveModelLoad(this.five, () => {
|
|
159
|
-
var _a, _b;
|
|
159
|
+
var _a, _b, _c;
|
|
160
160
|
// 添加事件
|
|
161
161
|
if (this.store.eventListenerDisposer) {
|
|
162
162
|
(_b = (_a = this.store).eventListenerDisposer) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
@@ -172,10 +172,18 @@ class PanoTagPluginController extends TagComputer {
|
|
|
172
172
|
}, 200);
|
|
173
173
|
}
|
|
174
174
|
this.checkPanelTag();
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
// v0.3.8 新增 withAnimation,默认 false
|
|
176
|
+
// v1.0.0 withAnimation 默认值改为 true
|
|
177
|
+
this.setVisibleAndUnfolded({ withAnimation: (_c = config === null || config === void 0 ? void 0 : config.withAnimation) !== null && _c !== void 0 ? _c : true }).then(() => this.updateRenderAllTags());
|
|
178
|
+
this.updateRenderAllTags();
|
|
177
179
|
});
|
|
178
180
|
}
|
|
181
|
+
clearTags() {
|
|
182
|
+
this.tags = [];
|
|
183
|
+
this.clearCache();
|
|
184
|
+
this.disposeAllCSS3DContainer();
|
|
185
|
+
this.updateRenderAllTags();
|
|
186
|
+
}
|
|
179
187
|
async show(params) {
|
|
180
188
|
const { userAction = true, withAnimation = false } = params !== null && params !== void 0 ? params : {};
|
|
181
189
|
if (this.store.disposed)
|
|
@@ -266,7 +274,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
266
274
|
}
|
|
267
275
|
// 3D 转 2D 的时候要销毁 3D container
|
|
268
276
|
this.checkPanelTag();
|
|
269
|
-
this.
|
|
277
|
+
this.updateRenderAllTags();
|
|
270
278
|
}
|
|
271
279
|
/**
|
|
272
280
|
* @description: 改变tag任意属性
|
|
@@ -284,7 +292,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
284
292
|
if ((currentTag === null || currentTag === void 0 ? void 0 : currentTag.tag3DContentSvelte) && (tag === null || tag === void 0 ? void 0 : tag.normal)) {
|
|
285
293
|
currentTag.tag3DContentSvelte.currentNormal = arrayPositionToVector3(tag.normal);
|
|
286
294
|
}
|
|
287
|
-
this.
|
|
295
|
+
this.updateRenderAllTags();
|
|
288
296
|
this.checkPanelTag();
|
|
289
297
|
}
|
|
290
298
|
/**
|
|
@@ -298,12 +306,31 @@ class PanoTagPluginController extends TagComputer {
|
|
|
298
306
|
return;
|
|
299
307
|
this.tags.splice(index, 1);
|
|
300
308
|
});
|
|
301
|
-
this.
|
|
309
|
+
this.updateRenderAllTags();
|
|
302
310
|
}
|
|
303
311
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
304
312
|
pauseCurrentMedia() {
|
|
305
313
|
this.mediaStore.set({ currentMediaUrl: '' });
|
|
306
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* @description: 设置 visible 和 unfolded
|
|
317
|
+
*/
|
|
318
|
+
async setVisibleAndUnfolded({ withAnimation } = { withAnimation: false }) {
|
|
319
|
+
this.setVisibleByPanoIndex();
|
|
320
|
+
if (withAnimation) {
|
|
321
|
+
return new Promise((resolve, reject) => {
|
|
322
|
+
// setTimeout 初始隐藏,然后展开,而不是一步到位,要不就没动画了
|
|
323
|
+
setTimeout(() => {
|
|
324
|
+
this.setUnfoldedByPanoIndex();
|
|
325
|
+
resolve();
|
|
326
|
+
}, 10); // 10ms 是等待 TextTag onMount
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
else {
|
|
330
|
+
this.setUnfoldedByPanoIndex();
|
|
331
|
+
return Promise.resolve();
|
|
332
|
+
}
|
|
333
|
+
}
|
|
307
334
|
handleShow() {
|
|
308
335
|
this.state.visible = true;
|
|
309
336
|
this.updateTagContainerVisible();
|
|
@@ -314,7 +341,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
314
341
|
}
|
|
315
342
|
handleEnable() {
|
|
316
343
|
this.state.enabled = true;
|
|
317
|
-
this.
|
|
344
|
+
this.updateRenderAllTags();
|
|
318
345
|
}
|
|
319
346
|
handleDisable() {
|
|
320
347
|
var _a;
|
|
@@ -360,7 +387,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
360
387
|
// resize
|
|
361
388
|
const show = () => {
|
|
362
389
|
this.show();
|
|
363
|
-
this.
|
|
390
|
+
this.updateRenderAllTags();
|
|
364
391
|
};
|
|
365
392
|
const { observe: hideObserve, unobserve: hideUnobserve } = resizeObserver(throttle(() => {
|
|
366
393
|
/**
|
|
@@ -398,7 +425,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
398
425
|
tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: false });
|
|
399
426
|
}
|
|
400
427
|
});
|
|
401
|
-
this.
|
|
428
|
+
this.updateRenderAllTags();
|
|
402
429
|
}
|
|
403
430
|
/**
|
|
404
431
|
* @description: 走点/切换模型后显示
|
|
@@ -436,13 +463,13 @@ class PanoTagPluginController extends TagComputer {
|
|
|
436
463
|
tag.state.unfolded = false;
|
|
437
464
|
});
|
|
438
465
|
}
|
|
439
|
-
this.
|
|
466
|
+
this.updateRenderAllTags();
|
|
440
467
|
}
|
|
441
468
|
}
|
|
442
469
|
/**
|
|
443
470
|
* @description: 更新所有标签
|
|
444
471
|
*/
|
|
445
|
-
|
|
472
|
+
updateRenderAllTags() {
|
|
446
473
|
this.updateRenderPointTag();
|
|
447
474
|
this.updateRenderPlaneTag();
|
|
448
475
|
}
|
|
@@ -463,20 +490,20 @@ class PanoTagPluginController extends TagComputer {
|
|
|
463
490
|
// 设置展开/收起
|
|
464
491
|
this.setUnfoldedByCamera();
|
|
465
492
|
// 渲染
|
|
466
|
-
this.
|
|
493
|
+
this.updateRenderAllTags();
|
|
467
494
|
}, 100);
|
|
468
495
|
}
|
|
469
496
|
handleFiveCameraUpdate() {
|
|
470
497
|
// 渲染
|
|
471
498
|
this.updateRenderPointTag();
|
|
472
499
|
}
|
|
473
|
-
handleFivePanoArrived() {
|
|
474
|
-
this.
|
|
500
|
+
async handleFivePanoArrived() {
|
|
501
|
+
await this.setVisibleAndUnfolded();
|
|
475
502
|
this.tags.forEach((tag) => {
|
|
476
503
|
tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: true });
|
|
477
504
|
});
|
|
478
505
|
// 渲染
|
|
479
|
-
this.
|
|
506
|
+
this.updateRenderAllTags();
|
|
480
507
|
}
|
|
481
508
|
setUnfoldedByCamera() {
|
|
482
509
|
let hasTagUnfolded = false; // 是否有标签由于camera的转动而展开
|
|
@@ -16,7 +16,6 @@ declare const _default: {
|
|
|
16
16
|
audioUrl?: undefined;
|
|
17
17
|
linkType?: undefined;
|
|
18
18
|
};
|
|
19
|
-
element: HTMLParagraphElement;
|
|
20
19
|
style: {
|
|
21
20
|
point: {
|
|
22
21
|
style: string;
|
|
@@ -31,11 +30,15 @@ declare const _default: {
|
|
|
31
30
|
position: number[];
|
|
32
31
|
data: {
|
|
33
32
|
text: string;
|
|
34
|
-
mediaData: {
|
|
33
|
+
mediaData: ({
|
|
35
34
|
url: string;
|
|
36
35
|
videoCoverUrl: string;
|
|
37
36
|
type: string;
|
|
38
|
-
}
|
|
37
|
+
} | {
|
|
38
|
+
url: string;
|
|
39
|
+
type: string;
|
|
40
|
+
videoCoverUrl?: undefined;
|
|
41
|
+
})[];
|
|
39
42
|
title?: undefined;
|
|
40
43
|
brandTags?: undefined;
|
|
41
44
|
tags?: undefined;
|
|
@@ -45,7 +48,6 @@ declare const _default: {
|
|
|
45
48
|
audioUrl?: undefined;
|
|
46
49
|
linkType?: undefined;
|
|
47
50
|
};
|
|
48
|
-
element?: undefined;
|
|
49
51
|
style?: undefined;
|
|
50
52
|
normal?: undefined;
|
|
51
53
|
} | {
|
|
@@ -54,11 +56,15 @@ declare const _default: {
|
|
|
54
56
|
contentType: string;
|
|
55
57
|
position: number[][];
|
|
56
58
|
data: {
|
|
57
|
-
mediaData: {
|
|
59
|
+
mediaData: ({
|
|
58
60
|
url: string;
|
|
59
61
|
videoCoverUrl: string;
|
|
60
62
|
type: string;
|
|
61
|
-
}
|
|
63
|
+
} | {
|
|
64
|
+
url: string;
|
|
65
|
+
type: string;
|
|
66
|
+
videoCoverUrl?: undefined;
|
|
67
|
+
})[];
|
|
62
68
|
text?: undefined;
|
|
63
69
|
title?: undefined;
|
|
64
70
|
brandTags?: undefined;
|
|
@@ -69,7 +75,6 @@ declare const _default: {
|
|
|
69
75
|
audioUrl?: undefined;
|
|
70
76
|
linkType?: undefined;
|
|
71
77
|
};
|
|
72
|
-
element?: undefined;
|
|
73
78
|
style?: undefined;
|
|
74
79
|
normal?: undefined;
|
|
75
80
|
} | {
|
|
@@ -98,7 +103,6 @@ declare const _default: {
|
|
|
98
103
|
iconUrl: string;
|
|
99
104
|
};
|
|
100
105
|
};
|
|
101
|
-
element?: undefined;
|
|
102
106
|
normal?: undefined;
|
|
103
107
|
} | {
|
|
104
108
|
dimensionType: string;
|
|
@@ -118,7 +122,6 @@ declare const _default: {
|
|
|
118
122
|
audioUrl?: undefined;
|
|
119
123
|
linkType?: undefined;
|
|
120
124
|
};
|
|
121
|
-
element?: undefined;
|
|
122
125
|
style?: undefined;
|
|
123
126
|
} | {
|
|
124
127
|
dimensionType: string;
|
|
@@ -137,7 +140,6 @@ declare const _default: {
|
|
|
137
140
|
price?: undefined;
|
|
138
141
|
linkType?: undefined;
|
|
139
142
|
};
|
|
140
|
-
element?: undefined;
|
|
141
143
|
style?: undefined;
|
|
142
144
|
normal?: undefined;
|
|
143
145
|
} | {
|
|
@@ -157,7 +159,6 @@ declare const _default: {
|
|
|
157
159
|
price?: undefined;
|
|
158
160
|
audioUrl?: undefined;
|
|
159
161
|
};
|
|
160
|
-
element?: undefined;
|
|
161
162
|
style?: undefined;
|
|
162
163
|
normal?: undefined;
|
|
163
164
|
}) & {
|
|
@@ -12,17 +12,16 @@ const tagList = [
|
|
|
12
12
|
// normal: [-1.3472052051879881, -0.22353184120423517, -0.4423657342911711],
|
|
13
13
|
// position: [2.4858952, 0.12852754341132364, -3.848354251670743],
|
|
14
14
|
data: {
|
|
15
|
-
text: '
|
|
15
|
+
text: '🙋♂️123标题标题🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️标题标🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️🙋♂️题标题标题标题标题标',
|
|
16
16
|
},
|
|
17
17
|
// element: (content: HTMLElement) => {
|
|
18
|
-
// console.log(content)
|
|
19
18
|
// const a = document.createElement('p')
|
|
20
19
|
// a.style.width = '100px'
|
|
21
20
|
// a.style.height = '100px'
|
|
22
21
|
// a.style.background = 'red'
|
|
23
22
|
// content.appendChild(a)
|
|
24
23
|
// },
|
|
25
|
-
element: document.createElement('p'),
|
|
24
|
+
// element: document.createElement('p'),
|
|
26
25
|
style: {
|
|
27
26
|
point: {
|
|
28
27
|
style: 'CustomIcon',
|
|
@@ -46,8 +45,11 @@ const tagList = [
|
|
|
46
45
|
type: 'Video',
|
|
47
46
|
},
|
|
48
47
|
{
|
|
49
|
-
url: '//vrlab-static.ljcdn.com/release/web/
|
|
50
|
-
|
|
48
|
+
url: '//vrlab-static.ljcdn.com/release/web/arrow.c5d028e4.png',
|
|
49
|
+
type: 'Image',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
url: '//vrlab-static.ljcdn.com/release/web/arrow.c5d028e4.png',
|
|
51
53
|
type: 'Image',
|
|
52
54
|
},
|
|
53
55
|
],
|
|
@@ -66,8 +68,11 @@ const tagList = [
|
|
|
66
68
|
type: 'Video',
|
|
67
69
|
},
|
|
68
70
|
{
|
|
69
|
-
url: '//vrlab-static.ljcdn.com/release/web/
|
|
70
|
-
|
|
71
|
+
url: '//vrlab-static.ljcdn.com/release/web/arrow.c5d028e4.png',
|
|
72
|
+
type: 'Image',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
url: '//vrlab-static.ljcdn.com/release/web/arrow.c5d028e4.png',
|
|
71
76
|
type: 'Image',
|
|
72
77
|
},
|
|
73
78
|
],
|
|
@@ -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;
|
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
tagList: [
|
|
3
|
-
{
|
|
4
|
-
id: 2,
|
|
5
|
-
pointType: 'PointTag',
|
|
6
|
-
dimensionType: '3D',
|
|
7
|
-
position: [-0.8998534645219779, -0.053330655526465105, 0.9791677844715473],
|
|
8
|
-
data: {
|
|
9
|
-
text: '我是一个3d文字标签',
|
|
10
|
-
},
|
|
11
|
-
// style: {
|
|
12
|
-
// point: {
|
|
13
|
-
// style: 'CustomIcon',
|
|
14
|
-
// iconUrl: '//vrlab-static.ljcdn.com/release/web/carTagDotContent.08ace25e.png',
|
|
15
|
-
// },
|
|
16
|
-
// },
|
|
17
|
-
normal: [0.6766569516112458, 0, -0.7362984244422746],
|
|
18
|
-
contentType: 'Text',
|
|
19
|
-
},
|
|
20
3
|
{
|
|
21
4
|
id: 1,
|
|
22
|
-
dimensionType: '
|
|
5
|
+
dimensionType: '2D',
|
|
23
6
|
pointType: 'PointTag',
|
|
24
|
-
contentType: '
|
|
25
|
-
|
|
26
|
-
|
|
7
|
+
contentType: 'ImageText',
|
|
8
|
+
position: [1.1163144338520299, -1.4289252462321484, -7.767970762686076],
|
|
9
|
+
// normal: [-1.3472052051879881, -0.22353184120423517, -0.4423657342911711],
|
|
10
|
+
// position: [2.4858952, 0.12852754341132364, -3.848354251670743],
|
|
27
11
|
data: {
|
|
28
|
-
text: '
|
|
12
|
+
text: '哈哈哈',
|
|
13
|
+
mediaData: [
|
|
14
|
+
{
|
|
15
|
+
url: '//vrlab-static.ljcdn.com/release/web/jsl/test.69dacffb.mp4',
|
|
16
|
+
videoCoverUrl: '//vrlab-static.ljcdn.com/release/web/jsl/test.65720b34.png',
|
|
17
|
+
type: 'Video',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
url: '//vrlab-static.ljcdn.com/release/web/arrow.c5d028e4.png',
|
|
21
|
+
type: 'Image',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
url: '//vrlab-static.ljcdn.com/release/web/arrow.c5d028e4.png',
|
|
25
|
+
type: 'Image',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
29
28
|
},
|
|
30
29
|
},
|
|
31
30
|
],
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
9
9
|
"description": "如视 VR 看房插件合集",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "2.1.0-alpha.
|
|
11
|
+
"version": "2.1.0-alpha.12",
|
|
12
12
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "yarn run tsb && yarn run build:rollup && yarn run build:components && yarn build:docs",
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { FivePlugin } from '@realsee/five';
|
|
2
|
-
import type { Vector3Position } from '../typings/math.type';
|
|
3
|
-
import { Vector3 } from 'three';
|
|
4
|
-
import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
|
|
5
|
-
export declare type CSS3DRenderPluginParameterType = undefined;
|
|
6
|
-
export interface CSS3DRenderPluginExportType {
|
|
7
|
-
/**
|
|
8
|
-
* @description: 根据传入的四个点位创建一个3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
9
|
-
* @param {Five} five
|
|
10
|
-
* @param {Vector3[] | Vector3Position[]} points: 矩形四个点坐标
|
|
11
|
-
* @param {number} config.ratio: 1px对应多少米,默认为 0.002,即1px对应2mm
|
|
12
|
-
* @param {number} config.dpr: dpr, 默认为1
|
|
13
|
-
* @param {HTMLElement} config.container: HTMLElement
|
|
14
|
-
* @param {number} config.autoRender: 默认为true,如果需要手动render则传false
|
|
15
|
-
* @param {'front' | 'behind'} config.mode: 两种模式
|
|
16
|
-
* @param {HTMLElement} config.behindFiveContainer: 如果config.mode为'behind',需要传入容器,并确保此容器位five下方,且中间没有其他dom元素遮挡
|
|
17
|
-
* @return {{ container: HTMLElement; dispose: () => void }}: container: dom容器, dispose: 清理函数
|
|
18
|
-
*/
|
|
19
|
-
create3DDomContainer: (points: Vector3[] | Vector3Position[], config?: {
|
|
20
|
-
ratio?: number;
|
|
21
|
-
dpr?: number;
|
|
22
|
-
autoRender?: boolean;
|
|
23
|
-
container?: HTMLElement;
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
} & ({
|
|
26
|
-
mode?: 'front';
|
|
27
|
-
} | {
|
|
28
|
-
mode: 'behind';
|
|
29
|
-
behindFiveContainer: HTMLElement;
|
|
30
|
-
})) => {
|
|
31
|
-
container: HTMLElement;
|
|
32
|
-
dispose: () => void;
|
|
33
|
-
css3DObject: CSS3DObject;
|
|
34
|
-
render?: () => void;
|
|
35
|
-
} | void;
|
|
36
|
-
/**
|
|
37
|
-
* @description: 销毁所有的渲染内容
|
|
38
|
-
* @return {void}
|
|
39
|
-
*/
|
|
40
|
-
disposeAll: () => void;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* **CSS3DRenderPlugin** 提供矩形区域(三维空间四个坐标点),你可以在此矩形区域中渲染 DOM 内容。
|
|
44
|
-
* 实现原理参考[CSS3DRenderer](https://threejs.org/docs/index.html?q=CSS3D#examples/en/renderers/CSS3DRenderer)。
|
|
45
|
-
*
|
|
46
|
-
* @returns
|
|
47
|
-
*/
|
|
48
|
-
export declare const CSS3DRenderPlugin: FivePlugin<CSS3DRenderPluginParameterType, CSS3DRenderPluginExportType>;
|
|
49
|
-
export default CSS3DRenderPlugin;
|