@realsee/dnalogel 2.16.0-2 → 2.16.0-alpha.0
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/Controller.d.ts +0 -1
- package/dist/CruisePlugin/Controller.d.ts +2 -1
- package/dist/CruisePlugin/typing.d.ts +2 -12
- package/dist/GuideLinePlugin/Controller.d.ts +12 -20
- package/dist/GuideLinePlugin/index.d.ts +0 -4
- package/dist/GuideLinePlugin/typing.d.ts +1 -70
- package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +5 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -3
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +4 -1
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +69 -0
- package/dist/base/BasePlugin.d.ts +0 -1
- package/dist/index.cjs.js +115 -162
- package/dist/index.js +5234 -5141
- package/dist/index.umd.js +116 -163
- package/dist/shared-utils/five/FiveDomEvents.d.ts +11 -0
- package/dist/shared-utils/index.d.ts +0 -3
- package/dist/shared-utils/logger.d.ts +17 -0
- package/dist/shared-utils/math/pointIsRectangle.d.ts +2 -0
- package/dist/shared-utils/offscreenCanvas.d.ts +2 -0
- package/dist/shared-utils/three/Quadrangle.d.ts +20 -0
- package/dist/shared-utils/three/getPositionsByObjectFit.d.ts +2 -0
- package/dist/shared-utils/three/loadVideoTexture.d.ts +4 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -34
- package/docs/classes/CruisePluginController.html +27 -46
- package/docs/classes/Magnifier.html +20 -23
- package/docs/classes/ModelRoomLabelController.html +11 -14
- package/docs/classes/Object3DHelperController.html +24 -43
- package/docs/classes/PaintBrush.html +15 -18
- package/docs/classes/PanoMeasurePluginLine.html +23 -26
- package/docs/classes/PanoMeasurePluginModel.html +22 -25
- package/docs/classes/PanoMeasurePluginPoint.html +14 -17
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -29
- package/docs/classes/PanoTagPluginController.html +65 -84
- package/docs/classes/Util.BetterTween.html +8 -11
- package/docs/classes/Util.FivePointSelector.html +12 -15
- package/docs/classes/Util.Interval.html +12 -15
- package/docs/classes/Util.Magnifier.html +17 -20
- package/docs/classes/Util.PointDomHelper.html +11 -14
- package/docs/classes/Util.PointHelper.html +11 -14
- package/docs/classes/Util.Rectangle.html +13 -16
- package/docs/enums/CameraMovementEffect.html +7 -10
- package/docs/enums/ContentType.html +19 -22
- package/docs/enums/DIRECTION.html +9 -12
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -12
- package/docs/enums/DimensionType.html +7 -10
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -11
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -12
- package/docs/enums/PaintBrushTypeEnum.html +8 -11
- package/docs/enums/Rotation.html +8 -11
- package/docs/functions/CSS3DRenderPlugin.html +5 -7
- package/docs/functions/CameraMovementPlugin.html +5 -7
- package/docs/functions/CruisePlugin.html +5 -7
- package/docs/functions/GuideLinePlugin.html +6 -8
- package/docs/functions/ItemLabelPlugin.html +5 -7
- package/docs/functions/MapviewFloorplanPlugin.html +5 -7
- package/docs/functions/ModelChassisCompassPlugin.html +5 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -7
- package/docs/functions/ModelFloorplanPlugin.html +5 -7
- package/docs/functions/ModelItemLabelPlugin.html +5 -7
- package/docs/functions/ModelRoomLabelPlugin.html +5 -7
- package/docs/functions/ModelTVVideoPlugin.html +5 -7
- package/docs/functions/ModelViewPlugin.html +5 -7
- package/docs/functions/Object3DHelperPlugin.html +5 -7
- package/docs/functions/PanoCompassPlugin.html +5 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -7
- package/docs/functions/PanoDoorLabelPlugin.html +5 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -7
- package/docs/functions/PanoMeasurePlugin.html +5 -7
- package/docs/functions/PanoRulerPlugin.html +5 -7
- package/docs/functions/PanoRulerProPlugin.html +5 -7
- package/docs/functions/PanoSpatialTagPlugin.html +5 -7
- package/docs/functions/PanoTagPlugin.html +5 -7
- package/docs/functions/PanoVideoPlugin.html +5 -7
- package/docs/functions/TopviewFloorplanPlugin.html +5 -7
- package/docs/functions/Util.getCoordsFromClient.html +6 -13
- package/docs/functions/Util.getCoordsFromElement.html +6 -13
- package/docs/functions/Util.getFrameTime.html +6 -13
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -13
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -13
- package/docs/functions/Util.isNil.html +6 -13
- package/docs/functions/Util.nextFrame.html +6 -13
- package/docs/functions/Util.notNil.html +6 -13
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -13
- package/docs/functions/Util.tweenProgress.html +6 -13
- package/docs/functions/pluginFlag.html +6 -8
- package/docs/index.html +5 -7
- package/docs/interfaces/AddTagConfig.html +6 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -14
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -11
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -10
- package/docs/interfaces/EventMap.html +15 -18
- package/docs/interfaces/FloorplanBounding.html +8 -11
- package/docs/interfaces/FloorplanData.html +10 -13
- package/docs/interfaces/FloorplanEntrance.html +11 -14
- package/docs/interfaces/FloorplanExtraObject.html +10 -13
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -11
- package/docs/interfaces/FloorplanFloorData.html +9 -12
- package/docs/interfaces/FloorplanImagePosition.html +7 -10
- package/docs/interfaces/FloorplanObserver.html +9 -12
- package/docs/interfaces/FloorplanOutlineItem.html +9 -12
- package/docs/interfaces/FloorplanPosition.html +7 -10
- package/docs/interfaces/FloorplanRoomItem.html +13 -16
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -10
- package/docs/interfaces/FloorplanServerBounding.html +8 -11
- package/docs/interfaces/FloorplanServerComputedData.html +10 -13
- package/docs/interfaces/FloorplanServerData.html +7 -10
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -13
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -11
- package/docs/interfaces/FloorplanServerEntrance.html +11 -14
- package/docs/interfaces/FloorplanServerFloorData.html +9 -12
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -10
- package/docs/interfaces/FloorplanServerObserver.html +9 -12
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -12
- package/docs/interfaces/FloorplanServerPosition.html +7 -10
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -17
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -10
- package/docs/interfaces/HelperOffset.html +8 -11
- package/docs/interfaces/ImagePlaneGroup.html +6 -9
- package/docs/interfaces/ItemLabelPluginData.html +6 -9
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -14
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -12
- package/docs/interfaces/MinMax.html +7 -10
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -10
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -11
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -11
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -11
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -9
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -14
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -10
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -9
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -12
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -11
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -9
- package/docs/interfaces/ModelViewPluginExportType.html +11 -14
- package/docs/interfaces/Object3DHelperState.html +8 -11
- package/docs/interfaces/ObjectHelperControllers.html +9 -12
- package/docs/interfaces/PaintBrushAction.html +12 -15
- package/docs/interfaces/PaintBrushConfigs.html +12 -15
- package/docs/interfaces/PaintBrushState.html +10 -13
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -13
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -8
- package/docs/interfaces/PanoMeasureParameterType.html +14 -17
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -11
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -10
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -10
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -13
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -10
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -11
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -12
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -10
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -10
- package/docs/interfaces/PanoRulerProPluginState.html +8 -11
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -14
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -13
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -16
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -13
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -16
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -14
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -13
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -9
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -11
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -9
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -18
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -9
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -11
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -13
- package/docs/interfaces/Point.html +8 -11
- package/docs/interfaces/Room.html +9 -12
- package/docs/interfaces/RoomInfo.html +7 -10
- package/docs/interfaces/RoomLabel.html +14 -17
- package/docs/interfaces/RoomRules.html +6 -8
- package/docs/interfaces/Rooms.html +6 -8
- package/docs/interfaces/Scissor.html +9 -12
- package/docs/interfaces/State.html +8 -11
- package/docs/interfaces/TagCacheInterface.html +12 -15
- package/docs/interfaces/TagConfig.html +11 -14
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -9
- package/docs/interfaces/TagIconUrl.html +11 -14
- package/docs/interfaces/TagObjectGroup.html +6 -9
- package/docs/interfaces/TagStyle.html +6 -9
- package/docs/interfaces/Tags.html +10 -13
- package/docs/interfaces/TemporaryState.html +6 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -14
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -11
- package/docs/modules/PanoVideoPluginType.html +5 -8
- package/docs/modules/Util.html +6 -17
- package/docs/modules.html +7 -11
- package/docs/types/ArrayPosition.html +6 -8
- package/docs/types/AudioAppearance.html +6 -8
- package/docs/types/AudioTagTypeConfigKey.html +6 -8
- package/docs/types/CSS3DRenderExportType.html +6 -8
- package/docs/types/CSS3DRenderPluginExportType.html +6 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -8
- package/docs/types/ClassFunctionParameters.html +6 -8
- package/docs/types/Color.html +6 -8
- package/docs/types/ContentTypeConfigKey.html +6 -8
- package/docs/types/ContentTypeConfigKeySplit.html +6 -8
- package/docs/types/ContentTypeMap.html +6 -8
- package/docs/types/Create3DDomContainerReturnType.html +6 -8
- package/docs/types/Create3DElementReturnType.html +6 -8
- package/docs/types/CruisePluginExportType.html +6 -8
- package/docs/types/Direction-1.html +6 -8
- package/docs/types/Direction4.html +6 -8
- package/docs/types/ElementRenderer.html +288 -0
- package/docs/types/FloorplanRuleLabels.html +6 -8
- package/docs/types/FloorplanServerRuleLabels.html +6 -8
- package/docs/types/GuideLinePluginExportType.html +6 -8
- package/docs/types/HelperEventMap.html +6 -8
- package/docs/types/LoadTagConfig.html +6 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -8
- package/docs/types/MediaData.html +6 -8
- package/docs/types/MediaStore.html +6 -8
- package/docs/types/ModelElement.html +6 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -8
- package/docs/types/MoveArgs.html +6 -8
- package/docs/types/MoveOpts.html +6 -8
- package/docs/types/Object3DHelperEventMap.html +6 -8
- package/docs/types/ObjectFit.html +6 -8
- package/docs/types/PaintBrushEventMap.html +6 -8
- package/docs/types/PanoCompassPluginData.html +6 -8
- package/docs/types/PanoCompassPluginExportType.html +6 -8
- package/docs/types/PanoCompassPluginParameterType.html +6 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -8
- package/docs/types/PanoIndex.html +6 -8
- package/docs/types/PanoMeasurePluginEvent.html +6 -8
- package/docs/types/PanoMeasureReturnType.html +6 -8
- package/docs/types/PanoSpatialTagPluginId.html +6 -8
- package/docs/types/PanoTagPluginExportInterface.html +6 -8
- package/docs/types/PanoTagPluginParamsInterface.html +6 -8
- package/docs/types/PanoVideoPluginParameterType.html +6 -8
- package/docs/types/PanoVideoPluginReturnType.html +6 -8
- package/docs/types/PlaneTag.html +6 -8
- package/docs/types/PlaneTagElement.html +6 -8
- package/docs/types/Point2DElement.html +6 -8
- package/docs/types/Point2DTag.html +6 -8
- package/docs/types/Point3DElement.html +6 -8
- package/docs/types/Point3DTag.html +6 -8
- package/docs/types/PointTag.html +6 -8
- package/docs/types/PointTagElement.html +6 -8
- package/docs/types/Position.html +6 -8
- package/docs/types/RotateArgs.html +6 -8
- package/docs/types/RotateOpts.html +6 -8
- package/docs/types/RuleLabelsKey.html +6 -8
- package/docs/types/RuleLabelsValue.html +6 -8
- package/docs/types/StickType.html +6 -8
- package/docs/types/Tag.html +7 -9
- package/docs/types/Tag2D.html +6 -8
- package/docs/types/Tag3D.html +6 -8
- package/docs/types/TagContentType.html +6 -8
- package/docs/types/TagDimensionType.html +6 -8
- package/docs/types/TagElement.html +7 -9
- package/docs/types/TagEvents.html +6 -8
- package/docs/types/TagGLTFObject.html +7 -9
- package/docs/types/TagHooks.html +6 -8
- package/docs/types/TagIconSize.html +6 -8
- package/docs/types/TagId.html +6 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -8
- package/docs/types/WorkCode.html +6 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -8
- package/docs/variables/PLUGIN.html +6 -8
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -8
- package/docs/variables/ROOM_TYPE_MAP.html +6 -8
- package/docs/variables/itemLabelPluginServerParams.html +6 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -8
- package/libs/CSS3DRenderPlugin/Controller.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/Controller.js +31 -40
- package/libs/CSS3DRenderPlugin/index.js +6 -12
- package/libs/CruisePlugin/Controller.d.ts +2 -1
- package/libs/CruisePlugin/Controller.js +174 -197
- package/libs/CruisePlugin/index.js +10 -33
- package/libs/CruisePlugin/typing.d.ts +2 -12
- package/libs/GuideLinePlugin/Controller.d.ts +12 -20
- package/libs/GuideLinePlugin/Controller.js +88 -125
- package/libs/GuideLinePlugin/index.d.ts +0 -4
- package/libs/GuideLinePlugin/index.js +7 -33
- package/libs/GuideLinePlugin/typing.d.ts +1 -70
- package/libs/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +64 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +45 -53
- package/libs/ModelTVVideoPlugin/index.js +5 -11
- package/libs/Object3DHelperPlugin/Controller.js +28 -33
- package/libs/Object3DHelperPlugin/index.js +13 -18
- package/libs/PanoCompassPlugin/Controller.js +6 -8
- package/libs/PanoCompassPlugin/index.js +10 -12
- package/libs/PanoDoorLabelPlugin/BaseController.js +28 -47
- package/libs/PanoDoorLabelPlugin/Controller.js +22 -40
- package/libs/PanoDoorLabelPlugin/index.js +3 -21
- package/libs/PanoMeasurePlugin/typings/index.js +1 -20
- package/libs/PanoSpatialTagPlugin/Plugin.js +3 -8
- package/libs/PanoSpatialTagPlugin/index.js +3 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +4 -2
- package/libs/PanoTagPlugin/Components/Common/Media.js +49 -49
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +4 -2
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +13 -11
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +20 -18
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +38 -36
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +25 -23
- package/libs/PanoTagPlugin/Components/Tag/index.js +26 -25
- package/libs/PanoTagPlugin/Components/TagContainer.js +4 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +4 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +22 -42
- package/libs/PanoTagPlugin/controller/TagComputer.js +4 -5
- package/libs/PanoTagPlugin/controller/TagRender.js +82 -63
- package/libs/PanoTagPlugin/controller/TagUtil.js +13 -20
- package/libs/PanoTagPlugin/controller/index.js +22 -15
- package/libs/PanoTagPlugin/index.js +17 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +5 -2
- package/libs/PanoTagPlugin/typings/index.js +6 -4
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +4 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.js +2 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -2
- package/libs/PanoTagPlugin/utils/index.js +35 -33
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +69 -0
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +214 -0
- package/libs/PanoTagPlugin/utils/planeNormal.js +4 -2
- package/libs/PanoTagPlugin/utils/tagPosition.js +9 -7
- package/libs/PanoVideoPlugin/Controller.js +3 -4
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +6 -7
- package/libs/base/BasePlugin.d.ts +0 -1
- package/libs/base/BasePlugin.js +10 -21
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +38 -57
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -22
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +29 -48
- package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -22
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +11 -31
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -23
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +40 -59
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -22
- package/libs/floorplan/index.js +0 -6
- package/libs/index.js +120 -118
- package/libs/shared-utils/five/FiveDomEvents.d.ts +11 -0
- package/libs/shared-utils/five/FiveDomEvents.js +77 -0
- package/libs/shared-utils/index.d.ts +0 -3
- package/libs/shared-utils/index.js +29 -36
- package/libs/shared-utils/logger.d.ts +17 -0
- package/libs/shared-utils/logger.js +16 -0
- package/libs/shared-utils/math/pointIsRectangle.d.ts +2 -0
- package/libs/shared-utils/math/pointIsRectangle.js +10 -0
- package/libs/shared-utils/offscreenCanvas.d.ts +2 -0
- package/libs/shared-utils/offscreenCanvas.js +12 -0
- package/libs/shared-utils/three/PointDomHelper.js +1 -1
- package/libs/shared-utils/three/Quadrangle.d.ts +20 -0
- package/libs/shared-utils/three/Quadrangle.js +41 -0
- package/libs/shared-utils/three/getPositionsByObjectFit.d.ts +2 -0
- package/libs/shared-utils/three/getPositionsByObjectFit.js +20 -0
- package/libs/shared-utils/three/loadTexture.js +19 -21
- package/libs/shared-utils/three/loadVideoTexture.d.ts +4 -0
- package/libs/shared-utils/three/loadVideoTexture.js +14 -0
- package/package.json +2 -2
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +0 -26
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -64
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -19
- package/dist/GuideLinePlugin/utils/index.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/model/imagePlane.d.ts +0 -9
- package/dist/shared-utils/five/index.d.ts +0 -1
- package/dist/shared-utils/five/mode.d.ts +0 -3
- package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/dist/shared-utils/log.d.ts +0 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -169
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -344
- package/docs/functions/Util.isAbsoluteURL.html +0 -79
- package/docs/functions/Util.isModelLike.html +0 -79
- package/docs/functions/Util.isPanoramaLike.html +0 -79
- package/docs/functions/Util.uuid.html +0 -76
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -97
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -258
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -92
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -87
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -108
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -85
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +0 -76
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -71
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -82
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -99
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -103
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -92
- package/docs/modules/GuideLineItem.html +0 -53
- package/docs/modules/GuideLineModeItem.html +0 -53
- package/docs/modules/GuideLinePluginType.html +0 -99
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -67
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -65
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -67
- package/docs/types/GuideLinePluginType.PathItem.html +0 -67
- package/docs/types/GuideLinePluginType.PluginData.html +0 -65
- package/libs/GuideLinePlugin/GuideLineItem/index.js +0 -35
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +0 -26
- package/libs/GuideLinePlugin/GuideLineItem.js +0 -31
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +0 -231
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -64
- package/libs/GuideLinePlugin/GuideLineModeItem.js +0 -29
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -19
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +0 -35
- package/libs/GuideLinePlugin/utils/dataFormatter.d.ts +0 -2
- package/libs/GuideLinePlugin/utils/dataFormatter.js +0 -6
- package/libs/GuideLinePlugin/utils/index.d.ts +0 -7
- package/libs/GuideLinePlugin/utils/index.js +0 -32
- package/libs/PanoTagPlugin/utils/model/imagePlane.d.ts +0 -9
- package/libs/PanoTagPlugin/utils/model/imagePlane.js +0 -33
- package/libs/shared-utils/five/index.d.ts +0 -1
- package/libs/shared-utils/five/index.js +0 -1
- package/libs/shared-utils/five/mode.d.ts +0 -3
- package/libs/shared-utils/five/mode.js +0 -11
- package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/libs/shared-utils/isAbsoluteURL.js +0 -6
- package/libs/shared-utils/log.d.ts +0 -2
- package/libs/shared-utils/log.js +0 -10
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
var E = Object.defineProperty, w = Object.defineProperties;
|
|
2
2
|
var F = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var m = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var p = (h, n, t) => n in h ? E(h, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[n] = t, u = (h, n) => {
|
|
6
6
|
for (var t in n || (n = {}))
|
|
7
|
-
A.call(n, t) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
C.call(n, t) &&
|
|
7
|
+
A.call(n, t) && p(h, t, n[t]);
|
|
8
|
+
if (m)
|
|
9
|
+
for (var t of m(n))
|
|
10
|
+
C.call(n, t) && p(h, t, n[t]);
|
|
11
11
|
return h;
|
|
12
|
-
},
|
|
13
|
-
var i = (h, n, t) => (
|
|
14
|
-
var
|
|
12
|
+
}, f = (h, n) => w(h, F(n));
|
|
13
|
+
var i = (h, n, t) => (p(h, typeof n != "symbol" ? n + "" : n, t), t);
|
|
14
|
+
var c = (h, n, t) => new Promise((e, o) => {
|
|
15
15
|
var s = (d) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
a(t.next(d));
|
|
18
18
|
} catch (l) {
|
|
19
19
|
o(l);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, r = (d) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
a(t.throw(d));
|
|
24
24
|
} catch (l) {
|
|
25
25
|
o(l);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, a = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, r);
|
|
28
|
+
a((t = t.apply(h, n)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as x from "three";
|
|
31
31
|
import { equal as S } from "../../shared-utils/equal.js";
|
|
@@ -68,27 +68,8 @@ import "../Assets/floorplanExtraObject.js";
|
|
|
68
68
|
import "../../shared-utils/tap.js";
|
|
69
69
|
import "../../base/BasePlugin.js";
|
|
70
70
|
import "../../shared-utils/Subscribe.js";
|
|
71
|
-
import "@realsee/five";
|
|
72
|
-
import "hammerjs";
|
|
73
|
-
import "@tweenjs/tween.js";
|
|
74
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
75
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
76
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
77
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
78
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
79
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
80
|
-
import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
81
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
82
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
83
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
84
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
85
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
86
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
87
|
-
import "../../shared-utils/isAbsoluteURL.js";
|
|
88
|
-
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
89
|
-
import "../../shared-utils/animationFrame/index.js";
|
|
90
71
|
import "../../shared-utils/nearlyEqual.js";
|
|
91
|
-
class
|
|
72
|
+
class At extends L {
|
|
92
73
|
constructor(t, e) {
|
|
93
74
|
super(t);
|
|
94
75
|
i(this, "name", "topviewFloorplanPlugin");
|
|
@@ -108,7 +89,7 @@ class Nt extends L {
|
|
|
108
89
|
i(this, "updateSize", () => {
|
|
109
90
|
if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
|
|
110
91
|
return;
|
|
111
|
-
const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y,
|
|
92
|
+
const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = M(this.five, this.wrapper, this.floorIndex, r), d = Math.ceil(o * a), l = Math.ceil(s * a);
|
|
112
93
|
this.size.width === d && this.size.height === l || (this.container.style.width = d + "px", this.container.style.height = l + "px", this.size = { width: d, height: l });
|
|
113
94
|
});
|
|
114
95
|
i(this, "dispose", () => {
|
|
@@ -184,40 +165,40 @@ class Nt extends L {
|
|
|
184
165
|
attachedTo: _.BOUNDING_CENTER,
|
|
185
166
|
getLabelElement: void 0,
|
|
186
167
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
187
|
-
getRoomAreaText: (
|
|
188
|
-
getRuleDistanceText: (
|
|
189
|
-
}, s = e ? I(e, ["selector", "scale"]) : {},
|
|
168
|
+
getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "\u33A1",
|
|
169
|
+
getRuleDistanceText: (a) => a.toString()
|
|
170
|
+
}, s = e ? I(e, ["selector", "scale"]) : {}, r = u(u({}, o), s);
|
|
190
171
|
this.state = {
|
|
191
172
|
enabled: !0,
|
|
192
173
|
visible: !1,
|
|
193
|
-
config:
|
|
174
|
+
config: r
|
|
194
175
|
}, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
195
176
|
}
|
|
196
177
|
load(t, e, o = !0) {
|
|
197
|
-
return
|
|
178
|
+
return c(this, null, function* () {
|
|
198
179
|
function s(b) {
|
|
199
180
|
return Object.prototype.hasOwnProperty.apply(b, ["version"]);
|
|
200
181
|
}
|
|
201
|
-
const
|
|
202
|
-
|
|
203
|
-
const
|
|
182
|
+
const r = t;
|
|
183
|
+
r && !r.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
|
|
184
|
+
const a = JSON.parse(JSON.stringify(t)), d = s(a) ? a.data : a, l = this.data;
|
|
204
185
|
this.data = yield v(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, o), this.render();
|
|
205
186
|
});
|
|
206
187
|
}
|
|
207
188
|
updatePosition() {
|
|
208
|
-
var
|
|
209
|
-
const t = P(this.five, this.floorIndex, this.state.config.attachedTo), e = (
|
|
189
|
+
var a;
|
|
190
|
+
const t = P(this.five, this.floorIndex, this.state.config.attachedTo), e = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new x.Vector3()).setY(t);
|
|
210
191
|
if (!e)
|
|
211
192
|
return;
|
|
212
|
-
const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2,
|
|
213
|
-
this.container.style.left = s * 100 + "%", this.container.style.top =
|
|
193
|
+
const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
|
|
194
|
+
this.container.style.left = s * 100 + "%", this.container.style.top = r * 100 + "%";
|
|
214
195
|
}
|
|
215
196
|
appendTo(t) {
|
|
216
197
|
if (this.wrapper = t, !!this.state.enabled)
|
|
217
198
|
return t.appendChild(this.container), this.render(), this;
|
|
218
199
|
}
|
|
219
200
|
show() {
|
|
220
|
-
return
|
|
201
|
+
return c(this, arguments, function* (t = {}) {
|
|
221
202
|
if (this.state.visible)
|
|
222
203
|
return;
|
|
223
204
|
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
@@ -225,7 +206,7 @@ class Nt extends L {
|
|
|
225
206
|
});
|
|
226
207
|
}
|
|
227
208
|
hide() {
|
|
228
|
-
return
|
|
209
|
+
return c(this, arguments, function* (t = {}) {
|
|
229
210
|
if (this.isHiddenByHideFunc = !0, !this.state.visible)
|
|
230
211
|
return;
|
|
231
212
|
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
@@ -247,24 +228,24 @@ class Nt extends L {
|
|
|
247
228
|
setState(t, e = {}) {
|
|
248
229
|
const o = this.state, s = e.userAction !== void 0 ? e.userAction : !0;
|
|
249
230
|
if (this.updateState(t, s), t.enabled !== void 0 && o.enabled !== t.enabled) {
|
|
250
|
-
const
|
|
251
|
-
t.enabled ? this._enable(
|
|
231
|
+
const r = { userAction: s };
|
|
232
|
+
t.enabled ? this._enable(r) : this._disable(r);
|
|
252
233
|
}
|
|
253
234
|
if (t.visible !== void 0 && o.visible !== t.visible) {
|
|
254
|
-
const
|
|
255
|
-
t.visible ? this._show(
|
|
235
|
+
const r = { userAction: s };
|
|
236
|
+
t.visible ? this._show(r) : this._hide(r);
|
|
256
237
|
}
|
|
257
238
|
}
|
|
258
239
|
changeConfigs(t, e = !0) {
|
|
259
240
|
this.updateState({ config: t }, e), this.render();
|
|
260
241
|
}
|
|
261
242
|
formatData(t) {
|
|
262
|
-
return
|
|
243
|
+
return c(this, null, function* () {
|
|
263
244
|
return yield v(t.data);
|
|
264
245
|
});
|
|
265
246
|
}
|
|
266
247
|
_show(t) {
|
|
267
|
-
return
|
|
248
|
+
return c(this, null, function* () {
|
|
268
249
|
if (!this.state.enabled)
|
|
269
250
|
return;
|
|
270
251
|
this.isHiddenByHideFunc = !1;
|
|
@@ -275,7 +256,7 @@ class Nt extends L {
|
|
|
275
256
|
});
|
|
276
257
|
}
|
|
277
258
|
_hide(t) {
|
|
278
|
-
return
|
|
259
|
+
return c(this, null, function* () {
|
|
279
260
|
if (!this.state.enabled)
|
|
280
261
|
return;
|
|
281
262
|
const { userAction: e } = t;
|
|
@@ -290,7 +271,7 @@ class Nt extends L {
|
|
|
290
271
|
}
|
|
291
272
|
updateState(t, e) {
|
|
292
273
|
const o = this.state, s = t.config ? u(u({}, o.config), t.config) : o.config;
|
|
293
|
-
this.state =
|
|
274
|
+
this.state = f(u(u({}, this.state), t), { config: s }), !S(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: e });
|
|
294
275
|
}
|
|
295
276
|
addEventListener() {
|
|
296
277
|
if (!this.state.enabled || this.hasAddedEventListener)
|
|
@@ -316,7 +297,7 @@ class Nt extends L {
|
|
|
316
297
|
render(t) {
|
|
317
298
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
|
|
318
299
|
return;
|
|
319
|
-
const e =
|
|
300
|
+
const e = f(u({}, this.state.config), {
|
|
320
301
|
visible: this.state.visible,
|
|
321
302
|
duration: t != null ? t : 0,
|
|
322
303
|
panoIndex: this.panoIndex,
|
|
@@ -331,5 +312,5 @@ class Nt extends L {
|
|
|
331
312
|
}
|
|
332
313
|
}
|
|
333
314
|
export {
|
|
334
|
-
|
|
315
|
+
At as Controller
|
|
335
316
|
};
|
|
@@ -37,31 +37,12 @@ import "../constant.js";
|
|
|
37
37
|
import "../../base/BasePluginWithData.js";
|
|
38
38
|
import "../../base/BasePlugin.js";
|
|
39
39
|
import "../../shared-utils/Subscribe.js";
|
|
40
|
-
import "@realsee/five";
|
|
41
|
-
import "hammerjs";
|
|
42
|
-
import "@tweenjs/tween.js";
|
|
43
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
44
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
45
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
46
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
47
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
48
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
49
|
-
import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
50
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
51
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
52
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
53
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
54
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
55
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
56
|
-
import "../../shared-utils/isAbsoluteURL.js";
|
|
57
|
-
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
58
|
-
import "../../shared-utils/animationFrame/index.js";
|
|
59
40
|
import "../../shared-utils/five/changeMode.js";
|
|
60
41
|
import "../../shared-utils/nearlyEqual.js";
|
|
61
42
|
import "../../shared-utils/getPxmm.js";
|
|
62
43
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
63
|
-
const
|
|
44
|
+
const U = (o, r) => new t(o, r);
|
|
64
45
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
46
|
+
U as TopviewFloorplanPlugin,
|
|
47
|
+
U as default
|
|
67
48
|
};
|
package/libs/floorplan/index.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import "../vendor/svelte/internal/index.js";
|
|
2
2
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import "@realsee/five";
|
|
5
|
-
import "hammerjs";
|
|
6
|
-
import "@tweenjs/tween.js";
|
|
7
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
8
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
9
|
-
import "../shared-utils/animationFrame/BetterTween.js";
|
package/libs/index.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { default as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { ContentType as
|
|
48
|
-
import { DimensionType as
|
|
49
|
-
import { Object3DHelperController as
|
|
50
|
-
import { typings as
|
|
1
|
+
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
|
+
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
+
import { PaintBrush as qi } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Ji } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Qi } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Xi } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as $i } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as rp, modelRoomLabelPluginServerParams as tp } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as ip } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as ep } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as np } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Pp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as up } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as gp, ROOM_FETILE_TYPE_MAP as sp, ROOM_TYPE_MAP as dp } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Tp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Cp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Ep } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Op, Rotation as Sp } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Dp } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as bp } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Fp } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as vp } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Gp } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Np } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as wp } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Hp } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as jp } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as qp } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as Jp } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as Qp } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Xp } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as $p } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as re } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { index as me } from "./shared-utils/index.js";
|
|
35
|
+
import { CSS3DRender as pe } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
36
|
+
import { Model as le } from "./PanoMeasurePlugin/Model/index.js";
|
|
37
|
+
import { default as ae } from "./PanoMeasurePlugin/Model/point.js";
|
|
38
|
+
import { default as fe } from "./PanoMeasurePlugin/Model/line.js";
|
|
39
|
+
import { Polyline as xe } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
40
|
+
import { default as se } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
41
|
+
import { DISPLAY_STRATEGY_TYPE as Me } from "./ModelItemLabelPlugin/typings.js";
|
|
42
|
+
import { ModelItemLabelPlugin as Le } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
43
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as _e } from "./ItemLabelPlugin/typings.js";
|
|
44
|
+
import { Plugin as Re } from "./ItemLabelPlugin/Plugin.js";
|
|
45
|
+
import { default as Se } from "./CruisePlugin/Controller.js";
|
|
46
|
+
import { default as De, pluginFlag as Ie } from "./PanoTagPlugin/controller/index.js";
|
|
47
|
+
import { ContentType as ye } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
48
|
+
import { DimensionType as Ye } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
49
|
+
import { Object3DHelperController as ce, PLUGIN as Ge } from "./Object3DHelperPlugin/Controller.js";
|
|
50
|
+
import { typings as Ne } from "./PanoVideoPlugin/typings/index.js";
|
|
51
51
|
import "./components/PaintBrush/Controller.js";
|
|
52
52
|
import "./components/PaintBrush/utils.js";
|
|
53
53
|
import "./components/PaintBrush/tween.js";
|
|
@@ -60,10 +60,6 @@ import "three";
|
|
|
60
60
|
import "./CSS3DRenderPlugin/Controller.js";
|
|
61
61
|
import "./CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
62
62
|
import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
63
|
-
import "hammerjs";
|
|
64
|
-
import "./shared-utils/isAbsoluteURL.js";
|
|
65
|
-
import "./shared-utils/animationFrame/BetterTween.js";
|
|
66
|
-
import "./shared-utils/animationFrame/index.js";
|
|
67
63
|
import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
68
64
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
69
65
|
import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -140,6 +136,8 @@ import "./shared-utils/three/transformToMeshBasicMaterial.js";
|
|
|
140
136
|
import "./shared-utils/createCanvasTextTexture.js";
|
|
141
137
|
import "./shared-utils/three/transformPositionToVector3.js";
|
|
142
138
|
import "./shared-utils/animationFrame/tween.js";
|
|
139
|
+
import "./shared-utils/animationFrame/index.js";
|
|
140
|
+
import "./shared-utils/animationFrame/BetterTween.js";
|
|
143
141
|
import "./shared-utils/animationFrame/formatRad.js";
|
|
144
142
|
import "./shared-utils/animationFrame/calculateProgress.js";
|
|
145
143
|
import "./shared-utils/math/planimetry.js";
|
|
@@ -155,6 +153,7 @@ import "./shared-utils/three/loadTexture.js";
|
|
|
155
153
|
import "./PanoMeasurePlugin/Controller/index.js";
|
|
156
154
|
import "./PanoMeasurePlugin/Modules/FiveHelper.js";
|
|
157
155
|
import "./PanoMeasurePlugin/Controller/EditController.js";
|
|
156
|
+
import "hammerjs";
|
|
158
157
|
import "./PanoMeasurePlugin/Controller/BaseController.js";
|
|
159
158
|
import "./PanoMeasurePlugin/utils/ironbox.js";
|
|
160
159
|
import "./PanoMeasurePlugin/utils/line.js";
|
|
@@ -212,11 +211,10 @@ import "./PanoDoorLabelPlugin/BaseController.js";
|
|
|
212
211
|
import "./PanoDoorLabelPlugin/DoorLabelItem.js";
|
|
213
212
|
import "./PanoDoorLabelPlugin/utils.js";
|
|
214
213
|
import "./GuideLinePlugin/Controller.js";
|
|
214
|
+
import "./GuideLinePlugin/utils/getLineGeometries.js";
|
|
215
215
|
import "polyline-normals";
|
|
216
|
-
import "
|
|
217
|
-
import "./shared-utils/
|
|
218
|
-
import "./GuideLinePlugin/utils/createLineGeometry.js";
|
|
219
|
-
import "./shared-utils/five/mode.js";
|
|
216
|
+
import "./GuideLinePlugin/utils/getArrowMaterial.js";
|
|
217
|
+
import "./shared-utils/isNil.js";
|
|
220
218
|
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
221
219
|
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
222
220
|
import "./CruisePlugin/utils/safeCall.js";
|
|
@@ -224,8 +222,10 @@ import "./CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
224
222
|
import "./CruisePlugin/utils/formatRad.js";
|
|
225
223
|
import "./CruisePlugin/utils/linerValue.js";
|
|
226
224
|
import "./CruisePlugin/utils/sleep.js";
|
|
225
|
+
import "object-assign-deep";
|
|
227
226
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
228
227
|
import "@realsee/five/gltf-loader";
|
|
228
|
+
import "./shared-utils/threex/domevents/index.js";
|
|
229
229
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
230
230
|
import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
231
231
|
import "./PanoTagPlugin/utils/debounce.js";
|
|
@@ -237,14 +237,12 @@ import "./PanoTagPlugin/controller/TagRender.js";
|
|
|
237
237
|
import "./PanoTagPlugin/controller/TagComputer.js";
|
|
238
238
|
import "./PanoTagPlugin/utils/tagPosition.js";
|
|
239
239
|
import "./PanoTagPlugin/utils/checkRange.js";
|
|
240
|
-
import "./shared-utils/isNil.js";
|
|
241
240
|
import "./PanoTagPlugin/controller/TagUtil.js";
|
|
242
241
|
import "./PanoTagPlugin/tag.config.js";
|
|
243
242
|
import "./PanoTagPlugin/utils/planeNormal.js";
|
|
244
243
|
import "./PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
245
244
|
import "./PanoTagPlugin/controller/TagCache.js";
|
|
246
245
|
import "./PanoTagPlugin/utils/device.js";
|
|
247
|
-
import "./shared-utils/threex/domevents/index.js";
|
|
248
246
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
249
247
|
import "./PanoTagPlugin/Components/TagItem.js";
|
|
250
248
|
import "./PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -310,7 +308,12 @@ import "./PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
|
310
308
|
import "./PanoTagPlugin/utils/getImageInfo.js";
|
|
311
309
|
import "./PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
312
310
|
import "./PanoTagPlugin/Components/Common/TagPoint.js";
|
|
313
|
-
import "./PanoTagPlugin/utils/model/
|
|
311
|
+
import "./PanoTagPlugin/utils/model/mediaPlane.js";
|
|
312
|
+
import "./shared-utils/three/Quadrangle.js";
|
|
313
|
+
import "./shared-utils/math/pointIsRectangle.js";
|
|
314
|
+
import "./shared-utils/three/loadVideoTexture.js";
|
|
315
|
+
import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
316
|
+
import "./shared-utils/five/FiveDomEvents.js";
|
|
314
317
|
import "./shared-utils/three/GLTFLoader.js";
|
|
315
318
|
import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
316
319
|
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
@@ -353,62 +356,61 @@ import "./shared-utils/three/PointHelper.js";
|
|
|
353
356
|
import "./shared-utils/three/Assets/index.js";
|
|
354
357
|
import "./shared-utils/three/PointDomHelper.js";
|
|
355
358
|
import "./shared-utils/three/FivePointSelector.js";
|
|
356
|
-
|
|
359
|
+
r();
|
|
360
|
+
o();
|
|
357
361
|
export {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
_e as
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
Ge as
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
Km as modelRoomLabelPluginServerParams,
|
|
413
|
-
be as pluginFlag
|
|
362
|
+
pe as CSS3DRender,
|
|
363
|
+
Xi as CSS3DRenderPlugin,
|
|
364
|
+
Op as CameraMovementEffect,
|
|
365
|
+
Ep as CameraMovementPlugin,
|
|
366
|
+
ye as ContentType,
|
|
367
|
+
Qp as CruisePlugin,
|
|
368
|
+
Se as CruisePluginController,
|
|
369
|
+
Hp as DIRECTION,
|
|
370
|
+
Me as DISPLAY_STRATEGY_TYPE,
|
|
371
|
+
Ye as DimensionType,
|
|
372
|
+
ip as FLOOR_PLAN_ATTACHED_TO,
|
|
373
|
+
gp as FLOOR_TYPE_MAP,
|
|
374
|
+
Jp as GuideLinePlugin,
|
|
375
|
+
_e as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
376
|
+
Re as ItemLabelPlugin,
|
|
377
|
+
se as Magnifier,
|
|
378
|
+
np as MapviewFloorplanPlugin,
|
|
379
|
+
Tp as ModelChassisCompassPlugin,
|
|
380
|
+
Cp as ModelEntryDoorGuidePlugin,
|
|
381
|
+
ep as ModelFloorplanPlugin,
|
|
382
|
+
Le as ModelItemLabelPlugin,
|
|
383
|
+
rp as ModelRoomLabelPlugin,
|
|
384
|
+
wp as ModelTVVideoPlugin,
|
|
385
|
+
Qi as ModelViewPlugin,
|
|
386
|
+
ce as Object3DHelperController,
|
|
387
|
+
$p as Object3DHelperPlugin,
|
|
388
|
+
Ge as PLUGIN,
|
|
389
|
+
qi as PaintBrush,
|
|
390
|
+
Ji as PaintBrushTypeEnum,
|
|
391
|
+
Fp as PanoCompassPlugin,
|
|
392
|
+
$i as PanoCursorRaycasterPlugin,
|
|
393
|
+
qp as PanoDoorLabelPlugin,
|
|
394
|
+
up as PanoFloorplanRadarPlugin,
|
|
395
|
+
vp as PanoMeasurePlugin,
|
|
396
|
+
fe as PanoMeasurePluginLine,
|
|
397
|
+
le as PanoMeasurePluginModel,
|
|
398
|
+
ae as PanoMeasurePluginPoint,
|
|
399
|
+
xe as PanoMeasurePluginPolyline,
|
|
400
|
+
Dp as PanoRulerPlugin,
|
|
401
|
+
bp as PanoRulerProPlugin,
|
|
402
|
+
Gp as PanoSpatialTagPlugin,
|
|
403
|
+
Xp as PanoTagPlugin,
|
|
404
|
+
De as PanoTagPluginController,
|
|
405
|
+
re as PanoVideoPlugin,
|
|
406
|
+
Ne as PanoVideoPluginType,
|
|
407
|
+
sp as ROOM_FETILE_TYPE_MAP,
|
|
408
|
+
dp as ROOM_TYPE_MAP,
|
|
409
|
+
Sp as Rotation,
|
|
410
|
+
Pp as TopviewFloorplanPlugin,
|
|
411
|
+
me as Util,
|
|
412
|
+
jp as itemLabelPluginServerParams,
|
|
413
|
+
Np as modelItemLabelPluginServerParams,
|
|
414
|
+
tp as modelRoomLabelPluginServerParams,
|
|
415
|
+
Ie as pluginFlag
|
|
414
416
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Five } from '@realsee/five';
|
|
2
|
+
import DomEvents, { DomEventInterface } from '../threex/domevents';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
export declare class FiveDomEvents extends DomEvents {
|
|
5
|
+
private mouseInfo?;
|
|
6
|
+
private clickHandlerMap;
|
|
7
|
+
constructor(five: Five);
|
|
8
|
+
addEventListener<T extends 'click' | 'dblclick' | 'mouseover' | 'mouseout' | 'mousemove' | 'mousedown' | 'mouseup' | 'contextmenu' | 'touchstart' | 'touchend', K extends THREE.Object3D>(object: K, eventName: T, callback: (params: DomEventInterface<T, K>) => void, useCapture?: boolean): void;
|
|
9
|
+
removeEventListener(object: THREE.Object3D, eventName: 'click' | 'dblclick' | 'mouseover' | 'mouseout' | 'mousemove' | 'mousedown' | 'mouseup' | 'contextmenu' | 'touchstart' | 'touchend', callback: (params: any) => void, useCapture?: boolean): void;
|
|
10
|
+
private preventWhenMouseDown;
|
|
11
|
+
}
|