@realsee/dnalogel 3.0.0-0 → 3.0.0-11
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 +2 -3
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -3
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -5
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
- package/dist/PanoTagPlugin/controller/index.d.ts +6 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -66
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/index.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/dist/index.cjs.js +57 -57
- package/dist/index.d.ts +0 -1
- package/dist/index.js +4455 -4456
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/five/FiveDomEvents.d.ts +3 -1
- package/dist/shared-utils/nearlyEqual.d.ts +7 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -31
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -32
- package/docs/classes/CSS3DRender.html +30 -31
- package/docs/classes/CruisePluginController.html +25 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -35
- package/docs/classes/Magnifier.html +19 -20
- package/docs/classes/ModelRoomLabelController.html +10 -11
- package/docs/classes/Object3DHelperController.html +24 -25
- package/docs/classes/PaintBrush.html +14 -15
- package/docs/classes/PanoMeasurePluginLine.html +26 -27
- package/docs/classes/PanoMeasurePluginModel.html +26 -27
- package/docs/classes/PanoMeasurePluginPoint.html +10 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -27
- package/docs/classes/PanoTagPluginController.html +107 -53
- package/docs/classes/Util.BetterTween.html +8 -9
- package/docs/classes/Util.Interval.html +11 -12
- package/docs/classes/Util.LineSegments.html +7 -8
- package/docs/classes/Util.Magnifier.html +19 -20
- package/docs/classes/Util.Object3D.html +7 -8
- package/docs/classes/Util.PointDomHelper.html +10 -11
- package/docs/classes/Util.PointHelper.html +10 -11
- package/docs/classes/Util.PointSelectorHelper.html +15 -16
- package/docs/classes/Util.Rectangle.html +12 -13
- package/docs/enums/CameraMovementEffect.html +6 -7
- package/docs/enums/ContentType.html +19 -20
- package/docs/enums/DIRECTION.html +8 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/DimensionType.html +6 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/PaintBrushTypeEnum.html +7 -8
- package/docs/enums/PointType.html +6 -7
- package/docs/enums/Rotation.html +7 -8
- package/docs/functions/AreaMakerPlugin.html +4 -5
- package/docs/functions/CSS3DRenderPlugin.html +4 -5
- package/docs/functions/CameraMovementPlugin.html +4 -5
- package/docs/functions/CruisePlugin.html +4 -5
- package/docs/functions/CurrentPanoImagePlugin.html +4 -5
- package/docs/functions/GuideLinePlugin.html +4 -5
- package/docs/functions/ItemLabelPlugin.html +4 -5
- package/docs/functions/MapviewFloorplanPlugin.html +4 -5
- package/docs/functions/ModelChassisCompassPlugin.html +4 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -5
- package/docs/functions/ModelFloorplanPlugin.html +4 -5
- package/docs/functions/ModelItemLabelPlugin.html +4 -5
- package/docs/functions/ModelRoomLabelPlugin.html +4 -5
- package/docs/functions/ModelTVVideoPlugin.html +4 -5
- package/docs/functions/ModelViewPlugin.html +4 -5
- package/docs/functions/Object3DHelperPlugin.html +4 -5
- package/docs/functions/PanoCompassPlugin.html +4 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -5
- package/docs/functions/PanoDoorLabelPlugin.html +4 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -5
- package/docs/functions/PanoMeasurePlugin.html +4 -5
- package/docs/functions/PanoRulerPlugin.html +4 -5
- package/docs/functions/PanoRulerProPlugin.html +4 -5
- package/docs/functions/PanoSpatialTagPlugin.html +4 -5
- package/docs/functions/PanoTagPlugin.html +4 -5
- package/docs/functions/PanoVideoPlugin.html +4 -5
- package/docs/functions/PipelinePlugin.html +4 -5
- package/docs/functions/TopviewFloorplanPlugin.html +4 -5
- package/docs/functions/Util.absoluteUrl.html +4 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -5
- package/docs/functions/Util.equal.html +4 -5
- package/docs/functions/Util.getCoordsFromClient.html +4 -5
- package/docs/functions/Util.getCoordsFromElement.html +4 -5
- package/docs/functions/Util.getFrameTime.html +4 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -5
- package/docs/functions/Util.isAbsoluteURL.html +4 -5
- package/docs/functions/Util.isModelLike.html +4 -5
- package/docs/functions/Util.isNil.html +4 -5
- package/docs/functions/Util.isPanoramaLike.html +4 -5
- package/docs/functions/Util.nextFrame.html +4 -5
- package/docs/functions/Util.notNil.html +4 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -5
- package/docs/functions/Util.tweenProgress.html +4 -5
- package/docs/functions/Util.uuid.html +4 -5
- package/docs/functions/pluginFlag.html +4 -5
- package/docs/index.html +4 -5
- package/docs/interfaces/AddTagConfig.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -9
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -8
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -8
- package/docs/interfaces/EventMap.html +14 -15
- package/docs/interfaces/FloorplanBounding.html +7 -8
- package/docs/interfaces/FloorplanData.html +9 -10
- package/docs/interfaces/FloorplanEntrance.html +10 -11
- package/docs/interfaces/FloorplanExtraObject.html +9 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -8
- package/docs/interfaces/FloorplanFloorData.html +8 -9
- package/docs/interfaces/FloorplanImagePosition.html +6 -7
- package/docs/interfaces/FloorplanObserver.html +8 -9
- package/docs/interfaces/FloorplanOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanPosition.html +6 -7
- package/docs/interfaces/FloorplanRoomItem.html +12 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -7
- package/docs/interfaces/FloorplanServerBounding.html +7 -8
- package/docs/interfaces/FloorplanServerComputedData.html +9 -10
- package/docs/interfaces/FloorplanServerData.html +6 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -8
- package/docs/interfaces/FloorplanServerEntrance.html +10 -11
- package/docs/interfaces/FloorplanServerFloorData.html +8 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -7
- package/docs/interfaces/FloorplanServerObserver.html +8 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanServerPosition.html +6 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -9
- package/docs/interfaces/HelperOffset.html +7 -8
- package/docs/interfaces/ImagePlaneGroup.html +5 -6
- package/docs/interfaces/ItemLabelPluginData.html +5 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -9
- package/docs/interfaces/MinMax.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -6
- package/docs/interfaces/ModelViewPluginExportType.html +10 -11
- package/docs/interfaces/Object3DHelperState.html +7 -8
- package/docs/interfaces/ObjectHelperControllers.html +8 -9
- package/docs/interfaces/PaintBrushAction.html +11 -12
- package/docs/interfaces/PaintBrushConfigs.html +11 -12
- package/docs/interfaces/PaintBrushState.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -5
- package/docs/interfaces/PanoMeasureParameterType.html +15 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -7
- package/docs/interfaces/PanoRulerProPluginState.html +7 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -10
- package/docs/interfaces/Point.html +7 -8
- package/docs/interfaces/Room.html +8 -9
- package/docs/interfaces/RoomInfo.html +6 -7
- package/docs/interfaces/RoomLabel.html +13 -14
- package/docs/interfaces/RoomRules.html +4 -5
- package/docs/interfaces/Rooms.html +4 -5
- package/docs/interfaces/Scissor.html +8 -9
- package/docs/interfaces/State.html +7 -8
- package/docs/interfaces/TagCacheInterface.html +11 -12
- package/docs/interfaces/TagConfig.html +27 -45
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -6
- package/docs/interfaces/TagIconUrl.html +11 -12
- package/docs/interfaces/TagObjectGroup.html +5 -6
- package/docs/interfaces/TagStyle.html +5 -6
- package/docs/interfaces/Tags.html +10 -2153
- package/docs/interfaces/TemporaryState.html +5 -6
- package/docs/interfaces/Util.MagnifierParameter.html +10 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -8
- package/docs/interfaces/Util.PointIntersection.html +7 -8
- package/docs/modules/AreaMakerPluginType.html +4 -5
- package/docs/modules/CruisePluginTypes.html +4 -5
- package/docs/modules/CurrentPanoImagePluginType.html +4 -5
- package/docs/modules/GuideLineItem.html +4 -5
- package/docs/modules/GuideLineModeItem.html +4 -5
- package/docs/modules/GuideLinePluginType.html +4 -5
- package/docs/modules/PanoVideoPluginType.html +4 -5
- package/docs/modules/Util.html +4 -5
- package/docs/modules.html +4 -6
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -5
- package/docs/types/ArrayPosition.html +4 -5
- package/docs/types/AudioAppearance.html +4 -5
- package/docs/types/AudioTagTypeConfigKey.html +4 -5
- package/docs/types/CSS3DRenderExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -5
- package/docs/types/ClassFunctionParameters.html +4 -5
- package/docs/types/Color.html +4 -5
- package/docs/types/ContentTypeConfigKey.html +5 -6
- package/docs/types/ContentTypeConfigKeySplit.html +5 -6
- package/docs/types/ContentTypeMap.html +4 -5
- package/docs/types/Create3DDomContainerReturnType.html +4 -5
- package/docs/types/Create3DElementReturnType.html +4 -5
- package/docs/types/CruisePluginExportType.html +4 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -5
- package/docs/types/DeprecatedTagProperty.html +4 -5
- package/docs/types/Direction-1.html +4 -5
- package/docs/types/Direction4.html +4 -5
- package/docs/types/ElementRenderer.html +4 -5
- package/docs/types/FloorplanRuleLabels.html +4 -5
- package/docs/types/FloorplanServerRuleLabels.html +4 -5
- package/docs/types/GuideLinePluginExportType.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -5
- package/docs/types/GuideLinePluginType.PathItem.html +4 -5
- package/docs/types/GuideLinePluginType.PluginData.html +4 -5
- package/docs/types/HelperEventMap.html +4 -5
- package/docs/types/LoadTagConfig.html +4 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/MediaData.html +4 -5
- package/docs/types/MediaStore.html +4 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -5
- package/docs/types/MoveArgs.html +4 -5
- package/docs/types/MoveOpts.html +4 -5
- package/docs/types/Object3DHelperEventMap.html +4 -5
- package/docs/types/ObjectFit.html +4 -5
- package/docs/types/PaintBrushEventMap.html +4 -5
- package/docs/types/PanoCompassPluginData.html +4 -5
- package/docs/types/PanoCompassPluginExportType.html +4 -5
- package/docs/types/PanoCompassPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -5
- package/docs/types/PanoIndex.html +4 -5
- package/docs/types/PanoMeasurePluginEvent.html +4 -5
- package/docs/types/PanoMeasureReturnType.html +4 -5
- package/docs/types/PanoSpatialTagPluginId.html +4 -5
- package/docs/types/PanoTagPluginExportInterface.html +4 -5
- package/docs/types/PanoTagPluginParamsInterface.html +4 -5
- package/docs/types/PanoVideoPluginParameterType.html +4 -5
- package/docs/types/PanoVideoPluginReturnType.html +4 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -6
- package/docs/types/PipelinePluginParameterType.html +4 -5
- package/docs/types/PipelinePluginReturnType.html +4 -5
- package/docs/types/PlaneTag.html +4 -5
- package/docs/types/Point2DTag.html +4 -5
- package/docs/types/Point3DTag.html +4 -5
- package/docs/types/PointTag.html +4 -5
- package/docs/types/PointTagInstance.html +4 -5
- package/docs/types/Position.html +4 -5
- package/docs/types/RotateArgs.html +4 -5
- package/docs/types/RotateOpts.html +4 -5
- package/docs/types/RuleLabelsKey.html +4 -5
- package/docs/types/RuleLabelsValue.html +4 -5
- package/docs/types/StickType.html +4 -5
- package/docs/types/Tag.html +6 -7
- package/docs/types/Tag2D.html +4 -5
- package/docs/types/Tag3D.html +4 -5
- package/docs/types/TagConfigByKey.html +4 -5
- package/docs/types/TagContentType.html +4 -5
- package/docs/types/TagDimensionType.html +4 -5
- package/docs/types/TagElement.html +4 -5
- package/docs/types/TagEvents.html +4 -5
- package/docs/types/TagGLTFObject.html +4 -5
- package/docs/types/TagHooks.html +4 -5
- package/docs/types/TagId.html +4 -5
- package/docs/types/TagInstance.html +5 -8
- package/docs/types/TagPointType.html +4 -5
- package/docs/types/TagRendererMap.html +4 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/WorkCode.html +4 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -5
- package/docs/variables/PLUGIN.html +4 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -5
- package/docs/variables/ROOM_TYPE_MAP.html +4 -5
- package/docs/variables/defaultGlobalConfig.html +4 -5
- package/docs/variables/itemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +2 -3
- package/libs/CSS3DRenderPlugin/Controller.js +3 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +11 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +66 -68
- package/libs/CruisePlugin/Controller.js +3 -5
- package/libs/CruisePlugin/index.js +6 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +18 -21
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.js +5 -7
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -5
- package/libs/GuideLinePlugin/index.js +8 -10
- package/libs/PanoTagPlugin/Components/Tag/index.js +71 -70
- package/libs/PanoTagPlugin/Components/TagContainer.js +33 -32
- package/libs/PanoTagPlugin/Components/TagItem.js +116 -115
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +14 -14
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
- package/libs/PanoTagPlugin/controller/TagComputer.js +199 -168
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -5
- package/libs/PanoTagPlugin/controller/TagRender.js +117 -138
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
- package/libs/PanoTagPlugin/controller/TagUtil.js +152 -178
- package/libs/PanoTagPlugin/controller/index.d.ts +6 -2
- package/libs/PanoTagPlugin/controller/index.js +148 -140
- package/libs/PanoTagPlugin/index.js +13 -16
- package/libs/PanoTagPlugin/tag.config.js +3 -11
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -66
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +16 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/index.js +31 -23
- package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/utils/correctFiveState.js +25 -25
- package/libs/index.d.ts +0 -1
- package/libs/index.js +117 -120
- package/libs/shared-utils/five/FiveDomEvents.d.ts +3 -1
- package/libs/shared-utils/five/FiveDomEvents.js +56 -50
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/five/mode.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/nearlyEqual.d.ts +7 -0
- package/libs/shared-utils/nearlyEqual.js +9 -3
- package/package.json +2 -2
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/dist/shared-utils/five/adapt.d.ts +0 -9
- package/dist/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/dist/shared-utils/typescript/entries.d.ts +0 -2
- package/docs/types/ModelId.html +0 -279
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +0 -7
- package/libs/shared-utils/five/adapt.d.ts +0 -9
- package/libs/shared-utils/five/adapt.js +0 -16
- package/libs/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/libs/shared-utils/five/fiveModelLoad.js +0 -29
- package/libs/shared-utils/typescript/entries.d.ts +0 -2
- package/libs/shared-utils/typescript/entries.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v3.0.0-
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v3.0.0-11</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-11</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/5e0beba/plugins/src/ItemLabelPlugin/index.ts#L7">plugins/src/ItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-sidebar">
|
|
29
29
|
<div class="page-menu">
|
|
30
30
|
<div class="tsd-navigation settings">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>11</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
44
44
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
@@ -194,7 +194,6 @@
|
|
|
194
194
|
<li><a href="../types/ModelEntryDoorGuidePluginParameterType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Entry<wbr/>Door<wbr/>Guide<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
195
195
|
<li><a href="../types/ModelFloorplanPluginParameterType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
196
196
|
<li><a href="../types/ModelFloorplanPluginReturnType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
197
|
-
<li><a href="../types/ModelId.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Id</span></a></li>
|
|
198
197
|
<li><a href="../types/ModelRoomLabelPluginParameters.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Parameters</span></a></li>
|
|
199
198
|
<li><a href="../types/ModelRoomLabelPluginReturnType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
200
199
|
<li><a href="../types/MoveArgs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Move<wbr/>Args</span></a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v3.0.0-
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v3.0.0-11</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-11</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/5e0beba/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-sidebar">
|
|
29
29
|
<div class="page-menu">
|
|
30
30
|
<div class="tsd-navigation settings">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>11</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
44
44
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
@@ -194,7 +194,6 @@
|
|
|
194
194
|
<li><a href="../types/ModelEntryDoorGuidePluginParameterType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Entry<wbr/>Door<wbr/>Guide<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
195
195
|
<li><a href="../types/ModelFloorplanPluginParameterType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
196
196
|
<li><a href="../types/ModelFloorplanPluginReturnType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
197
|
-
<li><a href="../types/ModelId.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Id</span></a></li>
|
|
198
197
|
<li><a href="../types/ModelRoomLabelPluginParameters.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Parameters</span></a></li>
|
|
199
198
|
<li><a href="../types/ModelRoomLabelPluginReturnType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
200
199
|
<li><a href="../types/MoveArgs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Move<wbr/>Args</span></a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v3.0.0-
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v3.0.0-11</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.0.0-11</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/5e0beba/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-sidebar">
|
|
29
29
|
<div class="page-menu">
|
|
30
30
|
<div class="tsd-navigation settings">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.0.0-<wbr/>11</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
44
44
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
@@ -194,7 +194,6 @@
|
|
|
194
194
|
<li><a href="../types/ModelEntryDoorGuidePluginParameterType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Entry<wbr/>Door<wbr/>Guide<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
195
195
|
<li><a href="../types/ModelFloorplanPluginParameterType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
196
196
|
<li><a href="../types/ModelFloorplanPluginReturnType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
197
|
-
<li><a href="../types/ModelId.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Id</span></a></li>
|
|
198
197
|
<li><a href="../types/ModelRoomLabelPluginParameters.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Parameters</span></a></li>
|
|
199
198
|
<li><a href="../types/ModelRoomLabelPluginReturnType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
200
199
|
<li><a href="../types/MoveArgs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Move<wbr/>Args</span></a></li>
|
|
@@ -14,7 +14,6 @@ export interface Create3DDomContainerParamsType {
|
|
|
14
14
|
autoRender?: boolean;
|
|
15
15
|
container?: HTMLElement;
|
|
16
16
|
pointerEvents?: 'none' | 'auto';
|
|
17
|
-
wrapperStyle?: Partial<CSSStyleDeclaration>;
|
|
18
17
|
} & ({
|
|
19
18
|
mode?: 'front';
|
|
20
19
|
} | {
|
|
@@ -82,7 +81,7 @@ export default class Controller extends CSS3DRender implements BasePlugin.Contro
|
|
|
82
81
|
};
|
|
83
82
|
getBehindFiveElement(): HTMLElement;
|
|
84
83
|
/**
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
* @description: 获取静态资源的url
|
|
85
|
+
*/
|
|
87
86
|
absoluteUrl(url: string): string;
|
|
88
87
|
}
|
|
@@ -84,8 +84,7 @@ class W extends x {
|
|
|
84
84
|
ratio: 216e-5,
|
|
85
85
|
devicePixelRatio: (f = i == null ? void 0 : i.dpr) != null ? f : 1,
|
|
86
86
|
mode: "front",
|
|
87
|
-
autoRender: !0
|
|
88
|
-
wrapperStyle: {}
|
|
87
|
+
autoRender: !0
|
|
89
88
|
};
|
|
90
89
|
return Object.assign(d, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
|
|
91
90
|
})(), a = this.five.getElement();
|
|
@@ -122,8 +121,8 @@ class W extends x {
|
|
|
122
121
|
return this.behindFiveContainer ? this.behindFiveContainer : (this.behindFiveContainer = P(this.five), this.behindFiveContainer);
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
* @description: 获取静态资源的url
|
|
125
|
+
*/
|
|
127
126
|
absoluteUrl(e) {
|
|
128
127
|
return $(this.staticPrefix, e);
|
|
129
128
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
|
|
2
|
-
import
|
|
3
|
-
import { Vector3 } from 'three';
|
|
2
|
+
import { Matrix4, Quaternion, Vector3 } from 'three';
|
|
4
3
|
import { Subscribe } from '../../../shared-utils/Subscribe';
|
|
5
4
|
import OpacityMesh from './OpacityMesh';
|
|
6
5
|
export declare const MinRatio = 0.00216;
|
|
@@ -35,7 +34,6 @@ export declare class CSS3DObjectPlus<T extends HTMLElement = HTMLElement> extend
|
|
|
35
34
|
ratio?: number;
|
|
36
35
|
dpr?: number;
|
|
37
36
|
pointerEvents?: 'none' | 'auto';
|
|
38
|
-
style?: Partial<CSSStyleDeclaration>;
|
|
39
37
|
});
|
|
40
38
|
setVisible(visible: boolean, params?: {
|
|
41
39
|
setSelfVisible: boolean;
|
|
@@ -2,7 +2,7 @@ var $ = Object.defineProperty;
|
|
|
2
2
|
var D = (a, r, t) => r in a ? $(a, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[r] = t;
|
|
3
3
|
var i = (a, r, t) => (D(a, typeof r != "symbol" ? r + "" : r, t), t);
|
|
4
4
|
import { CSS3DObject as F } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
|
-
import { Vector3 as
|
|
5
|
+
import { Vector3 as l } from "three";
|
|
6
6
|
import { even as S } from "../even.js";
|
|
7
7
|
import { Subscribe as W } from "../../../shared-utils/Subscribe.js";
|
|
8
8
|
import H from "./OpacityMesh.js";
|
|
@@ -11,15 +11,15 @@ const w = 1, A = `CSS3DObjectPlus@${w}`, Q = 216e-5, R = 3e-3;
|
|
|
11
11
|
class U extends F {
|
|
12
12
|
constructor(t) {
|
|
13
13
|
var v, x, V;
|
|
14
|
-
const e = t.container, s = t.cornerPoints, n = (v = t.ratio) != null ? v : R, P = (x = t.dpr) != null ? x : 1, E = (V = t.pointerEvents) != null ? V : "auto", h = Math.max(Q, n), d = s[0].distanceTo(s[1]),
|
|
14
|
+
const e = t.container, s = t.cornerPoints, n = (v = t.ratio) != null ? v : R, P = (x = t.dpr) != null ? x : 1, E = (V = t.pointerEvents) != null ? V : "auto", h = Math.max(Q, n), d = s[0].distanceTo(s[1]), m = s[1].distanceTo(s[2]), c = S(d / n * P), p = S(m / n * P), y = k(...s);
|
|
15
15
|
let u;
|
|
16
16
|
if (h === n)
|
|
17
|
-
e.style.width = `${c}px`, e.style.height = `${
|
|
17
|
+
e.style.width = `${c}px`, e.style.height = `${p}px`, u = e;
|
|
18
18
|
else {
|
|
19
19
|
const o = document.createElement("div");
|
|
20
|
-
o.style.width = `${c}px`, o.style.height = `${
|
|
20
|
+
o.style.width = `${c}px`, o.style.height = `${p}px`, o.style.pointerEvents = "none";
|
|
21
21
|
const g = n / h;
|
|
22
|
-
e.style.position = "absolute", e.style.left = "0", e.style.top = "0", e.style.width = `${g * c}px`, e.style.height = `${g *
|
|
22
|
+
e.style.position = "absolute", e.style.left = "0", e.style.top = "0", e.style.width = `${g * c}px`, e.style.height = `${g * p}px`, o.appendChild(e), u = o;
|
|
23
23
|
}
|
|
24
24
|
super(u);
|
|
25
25
|
i(this, "version", w);
|
|
@@ -57,17 +57,17 @@ class U extends F {
|
|
|
57
57
|
var t;
|
|
58
58
|
(t = this.parentVisibleListenerDisposer) == null || t.call(this);
|
|
59
59
|
});
|
|
60
|
-
if (e.style.pointerEvents = E,
|
|
61
|
-
this.width = d, this.height =
|
|
60
|
+
if (e.style.pointerEvents = E, this.scale.set(h, h, h), this.cornerPoints = s, this.ratio = n, this.container = e, t.mode && (this.mode = t.mode), h === n)
|
|
61
|
+
this.width = d, this.height = m, this.domWidthPx = c, this.domHeightPx = p, this.centerPosition = y;
|
|
62
62
|
else {
|
|
63
63
|
const o = n / h;
|
|
64
|
-
this.width = o * d, this.height = o *
|
|
64
|
+
this.width = o * d, this.height = o * m, this.domWidthPx = o * c, this.domHeightPx = o * p, this.centerPosition = new l().subVectors(y, s[0]).multiplyScalar(o).add(s[0]);
|
|
65
65
|
}
|
|
66
66
|
e.classList.add(`${A}__container`);
|
|
67
|
-
const L = new
|
|
67
|
+
const L = new l().subVectors(s[1], s[0]), M = new l().subVectors(s[3], s[0]), O = new l().crossVectors(L, M).normalize();
|
|
68
68
|
this.lookAt(O);
|
|
69
|
-
const f = this.up.clone().applyQuaternion(this.quaternion), b = M.clone(), C = new
|
|
70
|
-
this.rotateOnWorldAxis(C, f.angleTo(b)), this.position.copy(
|
|
69
|
+
const f = this.up.clone().applyQuaternion(this.quaternion), b = M.clone(), C = new l().crossVectors(f, b).normalize();
|
|
70
|
+
this.rotateOnWorldAxis(C, f.angleTo(b)), this.position.copy(y), this.addEventListener("added", () => {
|
|
71
71
|
var o;
|
|
72
72
|
this.mode === "front" && ((o = this.opacityMesh) == null || o.removeFromParent()), this.addParentVisibleListener();
|
|
73
73
|
}), this.addEventListener("removed", () => {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var k = Object.getOwnPropertyDescriptors;
|
|
1
|
+
var x = Object.defineProperty;
|
|
3
2
|
var R = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var C = (
|
|
3
|
+
var V = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var C = (o, e, t) => e in o ? x(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, g = (o, e) => {
|
|
6
5
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
6
|
+
V.call(e, t) && C(o, t, e[t]);
|
|
8
7
|
if (R)
|
|
9
8
|
for (var t of R(e))
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
}
|
|
13
|
-
var i = (
|
|
14
|
-
var p = (
|
|
9
|
+
$.call(e, t) && C(o, t, e[t]);
|
|
10
|
+
return o;
|
|
11
|
+
};
|
|
12
|
+
var i = (o, e, t) => (C(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
var p = (o, e, t) => new Promise((s, r) => {
|
|
15
14
|
var d = (c) => {
|
|
16
15
|
try {
|
|
17
16
|
l(t.next(c));
|
|
@@ -25,46 +24,46 @@ var p = (n, e, t) => new Promise((s, r) => {
|
|
|
25
24
|
r(S);
|
|
26
25
|
}
|
|
27
26
|
}, l = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(d, f);
|
|
28
|
-
l((t = t.apply(
|
|
27
|
+
l((t = t.apply(o, e)).next());
|
|
29
28
|
});
|
|
30
|
-
import { anyPositionToVector3 as
|
|
31
|
-
import
|
|
32
|
-
import { Subscribe as
|
|
33
|
-
import { CSS3DObjectPlus as
|
|
34
|
-
import { MinRatio as
|
|
35
|
-
import { CSS3DFrontScene as
|
|
36
|
-
import { CSS3DFrontGroup as
|
|
37
|
-
import { CSS3DObject as
|
|
29
|
+
import { anyPositionToVector3 as _ } from "../../../shared-utils/positionToVector3.js";
|
|
30
|
+
import v from "./CSS3DRenderer.js";
|
|
31
|
+
import { Subscribe as k } from "../../../shared-utils/Subscribe.js";
|
|
32
|
+
import { CSS3DObjectPlus as P } from "./CSS3DObject.js";
|
|
33
|
+
import { MinRatio as he } from "./CSS3DObject.js";
|
|
34
|
+
import { CSS3DFrontScene as L, CSS3DBehindScene as q } from "./CSS3DScene.js";
|
|
35
|
+
import { CSS3DFrontGroup as A, CSS3DBehindGroup as W } from "./CSS3DGroup.js";
|
|
36
|
+
import { CSS3DObject as B } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
38
37
|
import "three";
|
|
39
38
|
import "../getAllCSS3DObject.js";
|
|
40
39
|
import "../createResizeObserver.js";
|
|
41
40
|
import "../even.js";
|
|
42
41
|
import "./OpacityMesh.js";
|
|
43
42
|
import "../../../shared-utils/three/centerPoint.js";
|
|
44
|
-
const
|
|
43
|
+
const H = 3, G = "CSS3DRenderer", b = `${G}@${H}`, u = () => {
|
|
45
44
|
console.error(`${b} is disposed`);
|
|
46
|
-
},
|
|
45
|
+
}, n = {
|
|
47
46
|
css3DObjects: [],
|
|
48
47
|
frontModeStore: {
|
|
49
|
-
css3DRenderer: new
|
|
48
|
+
css3DRenderer: new v()
|
|
50
49
|
},
|
|
51
50
|
behindModeStore: {
|
|
52
|
-
css3DRenderer: new
|
|
51
|
+
css3DRenderer: new v()
|
|
53
52
|
}
|
|
54
53
|
};
|
|
55
|
-
function
|
|
56
|
-
return
|
|
54
|
+
function j(o) {
|
|
55
|
+
return n.css3DObjects.find((e) => e.id === o);
|
|
57
56
|
}
|
|
58
|
-
function
|
|
59
|
-
|
|
57
|
+
function T(o) {
|
|
58
|
+
n.frontModeStore.css3DRenderer.setWrapper(o);
|
|
60
59
|
}
|
|
61
|
-
function
|
|
62
|
-
|
|
60
|
+
function U(o) {
|
|
61
|
+
n.behindModeStore.css3DRenderer.setWrapper(o);
|
|
63
62
|
}
|
|
64
|
-
class
|
|
63
|
+
class w {
|
|
65
64
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
66
65
|
constructor(e) {
|
|
67
|
-
i(this, "hooks", new
|
|
66
|
+
i(this, "hooks", new k());
|
|
68
67
|
i(this, "state", {
|
|
69
68
|
enabled: !0,
|
|
70
69
|
visible: !0,
|
|
@@ -72,7 +71,7 @@ class y {
|
|
|
72
71
|
});
|
|
73
72
|
i(this, "_scene");
|
|
74
73
|
i(this, "store", {
|
|
75
|
-
frontModeGroup: new
|
|
74
|
+
frontModeGroup: new A()
|
|
76
75
|
});
|
|
77
76
|
/**
|
|
78
77
|
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
@@ -118,25 +117,24 @@ class y {
|
|
|
118
117
|
mode: "front",
|
|
119
118
|
autoRender: !0,
|
|
120
119
|
container: document.createElement("div"),
|
|
121
|
-
pointerEvents: "none"
|
|
122
|
-
wrapperStyle: {}
|
|
120
|
+
pointerEvents: "none"
|
|
123
121
|
};
|
|
124
122
|
return Object.assign(h, s);
|
|
125
|
-
})(), d = t.map(
|
|
123
|
+
})(), d = t.map(_);
|
|
126
124
|
if ((d == null ? void 0 : d.length) < 4)
|
|
127
125
|
return console.error(`${b}: requires 4 point but params may have fewer`);
|
|
128
|
-
const { ratio: f, devicePixelRatio: l, mode: c, autoRender: S, container: O, pointerEvents: F
|
|
126
|
+
const { ratio: f, devicePixelRatio: l, mode: c, autoRender: S, container: O, pointerEvents: F } = r;
|
|
129
127
|
let D = !1;
|
|
130
|
-
const a = this.createObject(d, { ratio: f, dpr: l, container: O, mode: c, pointerEvents: F
|
|
131
|
-
|
|
132
|
-
const
|
|
128
|
+
const a = this.createObject(d, { ratio: f, dpr: l, container: O, mode: c, pointerEvents: F });
|
|
129
|
+
n.css3DObjects.push(a), r.scene && this.setScene(r.scene);
|
|
130
|
+
const I = () => {
|
|
133
131
|
if (D)
|
|
134
132
|
return;
|
|
135
133
|
const h = a.mode === "front" ? this.getFrontCSS3DObjectGroup() : this.getBehindCSS3DObjectGroup();
|
|
136
134
|
h && h.add(a);
|
|
137
135
|
}, E = () => {
|
|
138
|
-
D || (
|
|
139
|
-
}, m = (h) => this.setVisibleById(a.id, h), M = (h) => this.setEnabledById(a.id, h),
|
|
136
|
+
D || (I(), this.render(e), this.hooks.emit("render"));
|
|
137
|
+
}, m = (h) => this.setVisibleById(a.id, h), M = (h) => this.setEnabledById(a.id, h), y = () => (D = !0, a.removeFromParent(), !0), N = c === "front" ? n.frontModeStore.css3DRenderer : n.behindModeStore.css3DRenderer;
|
|
140
138
|
return S && E(), {
|
|
141
139
|
id: a.uuid,
|
|
142
140
|
container: O,
|
|
@@ -148,23 +146,23 @@ class y {
|
|
|
148
146
|
enable: () => M(!0),
|
|
149
147
|
disable: () => M(!1),
|
|
150
148
|
setEnabled: M,
|
|
151
|
-
dispose:
|
|
152
|
-
appendToElement: (h) =>
|
|
149
|
+
dispose: y,
|
|
150
|
+
appendToElement: (h) => N.setWrapper(h)
|
|
153
151
|
};
|
|
154
152
|
});
|
|
155
153
|
i(this, "setVisibleById", (e, t) => {
|
|
156
154
|
var s;
|
|
157
|
-
(s =
|
|
155
|
+
(s = j(e)) == null || s.setVisible(t);
|
|
158
156
|
});
|
|
159
157
|
i(this, "setEnabledById", (e, t) => {
|
|
160
|
-
const s =
|
|
158
|
+
const s = j(e);
|
|
161
159
|
if (!s)
|
|
162
160
|
return;
|
|
163
161
|
const r = s.mode === "front" ? this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }) : this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 });
|
|
164
162
|
r && (t ? r.add(s) : r.remove(s));
|
|
165
163
|
});
|
|
166
164
|
i(this, "createObject", (e, t) => {
|
|
167
|
-
const s = new
|
|
165
|
+
const s = new P(g({ cornerPoints: e }, t));
|
|
168
166
|
return s.element.classList.add(`${G}__container`), s.element.id = `${G}__container--${s.uuid}`, s;
|
|
169
167
|
});
|
|
170
168
|
e && this.setScene(e);
|
|
@@ -173,16 +171,16 @@ class y {
|
|
|
173
171
|
return this._scene || console.error("scene doesn't exist!, please call setScene(scene) first"), this._scene;
|
|
174
172
|
}
|
|
175
173
|
static get frontModeCSS3DRenderer() {
|
|
176
|
-
return
|
|
174
|
+
return n.frontModeStore.css3DRenderer;
|
|
177
175
|
}
|
|
178
176
|
static get behindModeCSS3DRenderer() {
|
|
179
|
-
return
|
|
177
|
+
return n.behindModeStore.css3DRenderer;
|
|
180
178
|
}
|
|
181
179
|
get frontModeCSS3DRenderer() {
|
|
182
|
-
return
|
|
180
|
+
return n.frontModeStore.css3DRenderer;
|
|
183
181
|
}
|
|
184
182
|
get behindModeCSS3DRenderer() {
|
|
185
|
-
return
|
|
183
|
+
return n.behindModeStore.css3DRenderer;
|
|
186
184
|
}
|
|
187
185
|
setScene(e) {
|
|
188
186
|
this._scene = e;
|
|
@@ -225,30 +223,30 @@ class y {
|
|
|
225
223
|
}
|
|
226
224
|
getFrontCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
227
225
|
var s;
|
|
228
|
-
const t = (s =
|
|
226
|
+
const t = (s = n.frontModeStore) == null ? void 0 : s.css3DScene;
|
|
229
227
|
if (t)
|
|
230
228
|
return t;
|
|
231
229
|
if (e) {
|
|
232
|
-
const r = new
|
|
233
|
-
|
|
230
|
+
const r = new L();
|
|
231
|
+
n.frontModeStore.css3DScene = r;
|
|
234
232
|
}
|
|
235
|
-
return
|
|
233
|
+
return n.frontModeStore.css3DScene;
|
|
236
234
|
}
|
|
237
235
|
getBehindCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
238
236
|
var s, r;
|
|
239
|
-
const t = (s =
|
|
237
|
+
const t = (s = n.behindModeStore) == null ? void 0 : s.css3DScene;
|
|
240
238
|
if (t)
|
|
241
239
|
return t;
|
|
242
240
|
if (e) {
|
|
243
|
-
const d = (r =
|
|
241
|
+
const d = (r = n.behindModeStore.scene) != null ? r : this.scene;
|
|
244
242
|
if (!d) {
|
|
245
243
|
console.error(`${b}: scene is required when mode is behind`);
|
|
246
244
|
return;
|
|
247
245
|
}
|
|
248
|
-
const f = new
|
|
249
|
-
|
|
246
|
+
const f = new q(d);
|
|
247
|
+
n.behindModeStore.css3DScene = f, n.behindModeStore.scene = d;
|
|
250
248
|
}
|
|
251
|
-
return
|
|
249
|
+
return n.behindModeStore.css3DScene;
|
|
252
250
|
}
|
|
253
251
|
getFrontCSS3DObjectGroup({ addGroupIfNotExists: e = !0 } = {}) {
|
|
254
252
|
const t = this.getFrontCSS3DScene({ createSceneIfNotExists: e });
|
|
@@ -258,7 +256,7 @@ class y {
|
|
|
258
256
|
var s;
|
|
259
257
|
const t = this.getBehindCSS3DScene({ createSceneIfNotExists: e });
|
|
260
258
|
if (e && t && this.scene) {
|
|
261
|
-
const r = (s = this.store.behindModeGroup) != null ? s : new
|
|
259
|
+
const r = (s = this.store.behindModeGroup) != null ? s : new W(this.scene);
|
|
262
260
|
this.store.behindModeGroup = r, t.getObjectById(r.id) || t.add(r);
|
|
263
261
|
}
|
|
264
262
|
return this.store.behindModeGroup;
|
|
@@ -269,13 +267,13 @@ class y {
|
|
|
269
267
|
const r = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
|
|
270
268
|
if (!r)
|
|
271
269
|
return console.error(`${b}: css3DScene is required when mode is front`);
|
|
272
|
-
|
|
270
|
+
n.frontModeStore.css3DRenderer.renderEveryFrame(r, e);
|
|
273
271
|
}
|
|
274
272
|
if (((s = (t = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : t.CSS3DObjectLength) != null ? s : 0) > 0) {
|
|
275
273
|
const r = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
|
|
276
274
|
if (!r)
|
|
277
275
|
return console.error(`${b}: css3DScene is required when mode is behind`);
|
|
278
|
-
|
|
276
|
+
n.behindModeStore.css3DRenderer.renderEveryFrame(r, e);
|
|
279
277
|
}
|
|
280
278
|
}
|
|
281
279
|
handleShow() {
|
|
@@ -297,19 +295,19 @@ class y {
|
|
|
297
295
|
handleDisable() {
|
|
298
296
|
var e, t, s;
|
|
299
297
|
this.store.frontModeGroup.children.forEach((r) => {
|
|
300
|
-
r instanceof
|
|
298
|
+
r instanceof B && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
301
299
|
}), (e = this.store.behindModeGroup) == null || e.children.forEach((r) => {
|
|
302
|
-
r instanceof
|
|
300
|
+
r instanceof B && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
303
301
|
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((s = this.getBehindCSS3DScene()) == null || s.remove(this.store.behindModeGroup));
|
|
304
302
|
}
|
|
305
303
|
handleDispose() {
|
|
306
304
|
this.handleDisable();
|
|
307
305
|
}
|
|
308
306
|
}
|
|
309
|
-
i(
|
|
307
|
+
i(w, "setFrontModeContainer", T), i(w, "setBehindModeContainer", U);
|
|
310
308
|
export {
|
|
311
|
-
|
|
312
|
-
|
|
309
|
+
w as CSS3DRender,
|
|
310
|
+
he as MinRatio,
|
|
313
311
|
b as PLUGIN,
|
|
314
|
-
|
|
312
|
+
n as globalStore
|
|
315
313
|
};
|
|
@@ -76,6 +76,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
76
76
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
77
77
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
78
78
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
79
|
+
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
79
80
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
80
81
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
81
82
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -104,8 +105,6 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
104
105
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
105
106
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
106
107
|
import "../shared-utils/three/getObjectVisible.js";
|
|
107
|
-
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
108
|
-
import "../shared-utils/typescript/entries.js";
|
|
109
108
|
import "../shared-utils/five/getFloorIndex.js";
|
|
110
109
|
import "../shared-utils/safeObj.js";
|
|
111
110
|
import "../shared-utils/util.js";
|
|
@@ -184,7 +183,6 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
184
183
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
185
184
|
import "../shared-utils/three/GLTFLoader.js";
|
|
186
185
|
import "@realsee/five/gltf-loader";
|
|
187
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
188
186
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
189
187
|
import "../GuideLinePlugin/utils/index.js";
|
|
190
188
|
import "./Controller.js";
|
|
@@ -194,7 +192,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
194
192
|
import "./utils/coordinatesToVector.js";
|
|
195
193
|
import "../shared-utils/isTruelyObject.js";
|
|
196
194
|
import "./utils/formatRad.js";
|
|
197
|
-
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`,
|
|
195
|
+
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, Zi = (c) => `${x}--${c}`, D = () => {
|
|
198
196
|
console.error(`${x} is disposed`);
|
|
199
197
|
}, W = () => {
|
|
200
198
|
console.warn(`${x} is disabled`);
|
|
@@ -749,5 +747,5 @@ class z extends V {
|
|
|
749
747
|
I(z, "PluginVersion", M);
|
|
750
748
|
export {
|
|
751
749
|
z as default,
|
|
752
|
-
|
|
750
|
+
Zi as pluginFlag
|
|
753
751
|
};
|