@realsee/dnalogel 3.0.0-0 → 3.0.0-3
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/utils/getAllCSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +2 -6
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -1
- package/dist/index.cjs.js +55 -55
- package/dist/index.js +3965 -3957
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/nearlyEqual.d.ts +7 -0
- package/dist/shared-utils/three/getNormal.d.ts +2 -0
- package/dist/shared-utils/url/getUrl.d.ts +4 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +45 -45
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/CurrentPanoImagePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/PipelinePlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +15 -15
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/AreaMakerPlugin/Controller.js +5 -3
- package/libs/AreaMakerPlugin/index.js +5 -3
- package/libs/AreaMakerPlugin/utils/Item.js +9 -7
- package/libs/CSS3DRenderPlugin/Controller.js +5 -3
- package/libs/CSS3DRenderPlugin/index.js +8 -6
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +23 -22
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +2 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +44 -54
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +11 -10
- package/libs/CruisePlugin/Controller.js +39 -37
- package/libs/CruisePlugin/index.js +10 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +11 -9
- package/libs/CurrentPanoImagePlugin/index.js +6 -4
- package/libs/GuideLinePlugin/Controller.js +26 -24
- package/libs/GuideLinePlugin/GuideLineItem.js +7 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -5
- package/libs/GuideLinePlugin/index.js +12 -10
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -4
- package/libs/ModelTVVideoPlugin/index.js +5 -3
- package/libs/Object3DHelperPlugin/Controller.js +5 -3
- package/libs/Object3DHelperPlugin/index.js +8 -6
- package/libs/PanoCompassPlugin/Controller.js +5 -3
- package/libs/PanoCompassPlugin/index.js +6 -4
- package/libs/PanoDoorLabelPlugin/BaseController.js +9 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -3
- package/libs/PanoDoorLabelPlugin/index.js +6 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +55 -53
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -3
- package/libs/PanoMeasurePlugin/Model/area.js +4 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +25 -23
- package/libs/PanoMeasurePlugin/index.js +16 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +14 -12
- package/libs/PanoSpatialTagPlugin/Plugin.js +6 -4
- package/libs/PanoSpatialTagPlugin/index.js +3 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +185 -183
- package/libs/PanoTagPlugin/Components/TagContainer.js +36 -34
- package/libs/PanoTagPlugin/Components/TagItem.js +66 -64
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +26 -23
- package/libs/PanoTagPlugin/controller/TagRender.js +7 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +66 -59
- package/libs/PanoTagPlugin/controller/index.js +16 -14
- package/libs/PanoTagPlugin/index.js +16 -14
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +97 -99
- package/libs/PanoVideoPlugin/Controller.js +5 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +4 -2
- package/libs/PanoVideoPlugin/index.js +8 -6
- package/libs/PipelinePlugin/Controller.js +5 -3
- package/libs/PipelinePlugin/index.js +6 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -12
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +2 -0
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -31
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +121 -119
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +1 -1
- 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/libs/shared-utils/three/getNormal.d.ts +2 -0
- package/libs/shared-utils/three/getNormal.js +10 -0
- package/libs/shared-utils/url/getUrl.d.ts +4 -0
- package/libs/shared-utils/url/getUrl.js +7 -0
- package/package.json +2 -2
- /package/dist/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.js → url/absoluteUrl.js} +0 -0
|
@@ -78,15 +78,17 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
78
78
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
79
79
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
80
80
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
81
|
+
import "../../shared-utils/util.js";
|
|
81
82
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
82
83
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
83
84
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
84
85
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
85
86
|
import "../../shared-utils/three/centerPoint.js";
|
|
87
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
86
88
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
87
89
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
88
90
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
89
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
91
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
90
92
|
import "../../shared-utils/nearlyEqual.js";
|
|
91
93
|
import "../../shared-utils/five/changeMode.js";
|
|
92
94
|
function R(d) {
|
|
@@ -97,7 +99,7 @@ function G(d) {
|
|
|
97
99
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
98
100
|
return e && i;
|
|
99
101
|
}
|
|
100
|
-
class
|
|
102
|
+
class Yt extends O {
|
|
101
103
|
constructor(t, e) {
|
|
102
104
|
super(t);
|
|
103
105
|
// =============== public properties =================
|
|
@@ -420,5 +422,5 @@ class qt extends O {
|
|
|
420
422
|
}
|
|
421
423
|
}
|
|
422
424
|
export {
|
|
423
|
-
|
|
425
|
+
Yt as Controller
|
|
424
426
|
};
|
|
@@ -46,23 +46,25 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
47
47
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
48
48
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
49
|
+
import "../../shared-utils/util.js";
|
|
49
50
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
50
51
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
51
52
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
52
53
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
53
54
|
import "../../shared-utils/three/centerPoint.js";
|
|
55
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
54
56
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
55
57
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
56
58
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
57
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
59
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
58
60
|
import "../../shared-utils/getPxmm.js";
|
|
59
61
|
import "../utils/correctFiveState.js";
|
|
60
62
|
import "../utils/constant.js";
|
|
61
63
|
import "../../shared-utils/nearlyEqual.js";
|
|
62
64
|
import "../../shared-utils/five/changeMode.js";
|
|
63
65
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
64
|
-
const
|
|
66
|
+
const co = (o, r) => new t(o, r);
|
|
65
67
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
co as MapviewFloorplanPlugin,
|
|
69
|
+
co as default
|
|
68
70
|
};
|
|
@@ -78,15 +78,17 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
78
78
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
79
79
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
80
80
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
81
|
+
import "../../shared-utils/util.js";
|
|
81
82
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
82
83
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
83
84
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
84
85
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
85
86
|
import "../../shared-utils/three/centerPoint.js";
|
|
87
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
86
88
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
87
89
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
88
90
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
89
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
91
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
90
92
|
import "../../shared-utils/nearlyEqual.js";
|
|
91
93
|
import "../../shared-utils/five/changeMode.js";
|
|
92
94
|
function H(h) {
|
|
@@ -97,7 +99,7 @@ function W(h) {
|
|
|
97
99
|
const { latitude: r, longitude: t } = h, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
98
100
|
return e && i;
|
|
99
101
|
}
|
|
100
|
-
class
|
|
102
|
+
class Qt extends O {
|
|
101
103
|
constructor(t, e) {
|
|
102
104
|
var a;
|
|
103
105
|
super(t);
|
|
@@ -418,5 +420,5 @@ class Jt extends O {
|
|
|
418
420
|
}
|
|
419
421
|
}
|
|
420
422
|
export {
|
|
421
|
-
|
|
423
|
+
Qt as Controller
|
|
422
424
|
};
|
|
@@ -47,22 +47,24 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
48
48
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
49
49
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
50
|
+
import "../../shared-utils/util.js";
|
|
50
51
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
51
52
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
52
53
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
53
54
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
54
55
|
import "../../shared-utils/three/centerPoint.js";
|
|
56
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
55
57
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
56
58
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
57
59
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
58
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
60
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
59
61
|
import "../utils/correctFiveState.js";
|
|
60
62
|
import "../utils/constant.js";
|
|
61
63
|
import "../../shared-utils/nearlyEqual.js";
|
|
62
64
|
import "../../shared-utils/five/changeMode.js";
|
|
63
65
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
64
|
-
const
|
|
66
|
+
const go = (o, r) => new t(o, r);
|
|
65
67
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
go as ModelFloorplanPlugin,
|
|
69
|
+
go as default
|
|
68
70
|
};
|
|
@@ -57,17 +57,19 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
57
57
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
58
58
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
59
59
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
60
|
+
import "../../shared-utils/util.js";
|
|
60
61
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
61
62
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
62
63
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
63
64
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
64
65
|
import "../../shared-utils/three/centerPoint.js";
|
|
66
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
65
67
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
66
68
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
67
69
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
68
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
70
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
69
71
|
import "../Assets/floorplanExtraObject.js";
|
|
70
|
-
class
|
|
72
|
+
class mt extends O {
|
|
71
73
|
constructor(t, e) {
|
|
72
74
|
super(t);
|
|
73
75
|
// =============== public properties =================
|
|
@@ -209,5 +211,5 @@ class ft extends O {
|
|
|
209
211
|
}
|
|
210
212
|
}
|
|
211
213
|
export {
|
|
212
|
-
|
|
214
|
+
mt as Controller
|
|
213
215
|
};
|
|
@@ -28,19 +28,21 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
28
28
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
29
29
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
30
30
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
31
|
+
import "../../shared-utils/util.js";
|
|
31
32
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
32
33
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
33
34
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
34
35
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
35
36
|
import "../../shared-utils/three/centerPoint.js";
|
|
37
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
36
38
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
37
39
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
38
40
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
39
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
41
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
40
42
|
import "../utils/formatData.js";
|
|
41
43
|
import "../Assets/floorplanExtraObject.js";
|
|
42
|
-
const
|
|
44
|
+
const U = (o, r) => new t(o, r);
|
|
43
45
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
+
U as PanoFloorplanRadarPlugin,
|
|
47
|
+
U as default
|
|
46
48
|
};
|
|
@@ -2,30 +2,30 @@ var w = Object.defineProperty, A = Object.defineProperties;
|
|
|
2
2
|
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var u = Object.getOwnPropertySymbols;
|
|
4
4
|
var C = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var m = (h, n, t) => n in h ? w(h, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[n] = t, p = (h, n) => {
|
|
6
6
|
for (var t in n || (n = {}))
|
|
7
|
-
C.call(n, t) &&
|
|
7
|
+
C.call(n, t) && m(h, t, n[t]);
|
|
8
8
|
if (u)
|
|
9
9
|
for (var t of u(n))
|
|
10
|
-
x.call(n, t) &&
|
|
10
|
+
x.call(n, t) && m(h, t, n[t]);
|
|
11
11
|
return h;
|
|
12
|
-
},
|
|
13
|
-
var i = (h, n, t) => (
|
|
12
|
+
}, f = (h, n) => A(h, E(n));
|
|
13
|
+
var i = (h, n, t) => (m(h, typeof n != "symbol" ? n + "" : n, t), t);
|
|
14
14
|
var c = (h, n, t) => new Promise((e, o) => {
|
|
15
15
|
var s = (d) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
r(t.next(d));
|
|
18
18
|
} catch (l) {
|
|
19
19
|
o(l);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, a = (d) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
r(t.throw(d));
|
|
24
24
|
} catch (l) {
|
|
25
25
|
o(l);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, r = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, a);
|
|
28
|
+
r((t = t.apply(h, n)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as S from "three";
|
|
31
31
|
import { equal as F } from "../../shared-utils/equal.js";
|
|
@@ -76,18 +76,20 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
76
76
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
77
77
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
78
78
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
79
|
+
import "../../shared-utils/util.js";
|
|
79
80
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
80
81
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
81
82
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
82
83
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
83
84
|
import "../../shared-utils/three/centerPoint.js";
|
|
85
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
84
86
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
85
87
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
86
88
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
87
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
89
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
88
90
|
import "../../shared-utils/nearlyEqual.js";
|
|
89
91
|
import "../../shared-utils/to.js";
|
|
90
|
-
class
|
|
92
|
+
class Wt extends T {
|
|
91
93
|
constructor(t, e) {
|
|
92
94
|
super(t);
|
|
93
95
|
// =============== public properties =================
|
|
@@ -117,7 +119,7 @@ class Nt extends T {
|
|
|
117
119
|
i(this, "updateSize", () => {
|
|
118
120
|
if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
|
|
119
121
|
return;
|
|
120
|
-
const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y,
|
|
122
|
+
const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y, a = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = P(this.five, this.wrapper, this.floorIndex, a), d = Math.ceil(o * r), l = Math.ceil(s * r);
|
|
121
123
|
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 });
|
|
122
124
|
});
|
|
123
125
|
/** 销毁插件 */
|
|
@@ -197,13 +199,13 @@ class Nt extends T {
|
|
|
197
199
|
attachedTo: L.BOUNDING_CENTER,
|
|
198
200
|
getLabelElement: void 0,
|
|
199
201
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
200
|
-
getRoomAreaText: (
|
|
201
|
-
getRuleDistanceText: (
|
|
202
|
-
}, s = e ? _(e, ["selector", "scale"]) : {},
|
|
202
|
+
getRoomAreaText: (r) => (r / 1e6).toFixed(1) + "㎡",
|
|
203
|
+
getRuleDistanceText: (r) => r.toString()
|
|
204
|
+
}, s = e ? _(e, ["selector", "scale"]) : {}, a = p(p({}, o), s);
|
|
203
205
|
this.state = {
|
|
204
206
|
enabled: !0,
|
|
205
207
|
visible: !1,
|
|
206
|
-
config:
|
|
208
|
+
config: a
|
|
207
209
|
}, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
208
210
|
}
|
|
209
211
|
load(t, e, o = !0) {
|
|
@@ -211,20 +213,20 @@ class Nt extends T {
|
|
|
211
213
|
function s(b) {
|
|
212
214
|
return Object.prototype.hasOwnProperty.apply(b, ["version"]);
|
|
213
215
|
}
|
|
214
|
-
const
|
|
215
|
-
|
|
216
|
-
const
|
|
216
|
+
const a = t;
|
|
217
|
+
a && !a.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
218
|
+
const r = JSON.parse(JSON.stringify(t)), d = s(r) ? r.data : r, l = this.data;
|
|
217
219
|
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();
|
|
218
220
|
});
|
|
219
221
|
}
|
|
220
222
|
/** 更新户型图位置 */
|
|
221
223
|
updatePosition() {
|
|
222
|
-
var
|
|
223
|
-
const t = D(this.five, this.floorIndex, this.state.config.attachedTo), e = (
|
|
224
|
+
var r;
|
|
225
|
+
const t = D(this.five, this.floorIndex, this.state.config.attachedTo), e = (r = this.five.model) == null ? void 0 : r.bounding.getCenter(new S.Vector3()).setY(t);
|
|
224
226
|
if (!e)
|
|
225
227
|
return;
|
|
226
|
-
const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2,
|
|
227
|
-
this.container.style.left = s * 100 + "%", this.container.style.top =
|
|
228
|
+
const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2, a = -(o.y - 1) / 2;
|
|
229
|
+
this.container.style.left = s * 100 + "%", this.container.style.top = a * 100 + "%";
|
|
228
230
|
}
|
|
229
231
|
/** 把插件的渲染DOM插入到对应的容器中去 */
|
|
230
232
|
appendTo(t) {
|
|
@@ -263,12 +265,12 @@ class Nt extends T {
|
|
|
263
265
|
setState(t, e = {}) {
|
|
264
266
|
const o = this.state, s = e.userAction !== void 0 ? e.userAction : !0;
|
|
265
267
|
if (this.updateState(t, s), t.enabled !== void 0 && o.enabled !== t.enabled) {
|
|
266
|
-
const
|
|
267
|
-
t.enabled ? this._enable(
|
|
268
|
+
const a = { userAction: s };
|
|
269
|
+
t.enabled ? this._enable(a) : this._disable(a);
|
|
268
270
|
}
|
|
269
271
|
if (t.visible !== void 0 && o.visible !== t.visible) {
|
|
270
|
-
const
|
|
271
|
-
t.visible ? this._show(
|
|
272
|
+
const a = { userAction: s };
|
|
273
|
+
t.visible ? this._show(a) : this._hide(a);
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
276
|
changeConfigs(t, e = !0) {
|
|
@@ -306,7 +308,7 @@ class Nt extends T {
|
|
|
306
308
|
}
|
|
307
309
|
updateState(t, e) {
|
|
308
310
|
const o = this.state, s = t.config ? p(p({}, o.config), t.config) : o.config;
|
|
309
|
-
this.state =
|
|
311
|
+
this.state = f(p(p({}, this.state), t), { config: s }), !F(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: e });
|
|
310
312
|
}
|
|
311
313
|
addEventListener() {
|
|
312
314
|
if (!this.state.enabled || this.hasAddedEventListener)
|
|
@@ -336,7 +338,7 @@ class Nt extends T {
|
|
|
336
338
|
render(t) {
|
|
337
339
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
|
|
338
340
|
return;
|
|
339
|
-
const e =
|
|
341
|
+
const e = f(p({}, this.state.config), {
|
|
340
342
|
visible: this.state.visible,
|
|
341
343
|
duration: t != null ? t : 0,
|
|
342
344
|
panoIndex: this.panoIndex,
|
|
@@ -351,5 +353,5 @@ class Nt extends T {
|
|
|
351
353
|
}
|
|
352
354
|
}
|
|
353
355
|
export {
|
|
354
|
-
|
|
356
|
+
Wt as Controller
|
|
355
357
|
};
|
|
@@ -45,22 +45,24 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
45
45
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
46
46
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
48
|
+
import "../../shared-utils/util.js";
|
|
48
49
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
49
50
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
50
51
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
51
52
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
52
53
|
import "../../shared-utils/three/centerPoint.js";
|
|
54
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
53
55
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
54
56
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
55
57
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
56
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
58
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
57
59
|
import "../../shared-utils/five/changeMode.js";
|
|
58
60
|
import "../../shared-utils/nearlyEqual.js";
|
|
59
61
|
import "../../shared-utils/to.js";
|
|
60
62
|
import "../../shared-utils/getPxmm.js";
|
|
61
63
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
62
|
-
const
|
|
64
|
+
const so = (o, r) => new t(o, r);
|
|
63
65
|
export {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
so as TopviewFloorplanPlugin,
|
|
67
|
+
so as default
|
|
66
68
|
};
|
package/libs/floorplan/index.js
CHANGED