@realsee/dnalogel 3.0.0-3 → 3.0.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -2
- package/dist/index.cjs.js +48 -48
- package/dist/index.js +3366 -3383
- package/dist/index.umd.js +45 -45
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/nearlyEqual.d.ts +0 -7
- 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 +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- 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 +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Controller.js +35 -37
- package/libs/CruisePlugin/index.js +6 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +1 -1
- package/libs/CurrentPanoImagePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +22 -24
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -5
- package/libs/GuideLinePlugin/index.js +8 -10
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +22 -25
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +58 -64
- package/libs/PanoTagPlugin/controller/index.js +12 -14
- package/libs/PanoTagPlugin/index.js +12 -14
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -2
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +99 -97
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +1 -1
- package/libs/PipelinePlugin/index.js +1 -1
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +117 -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 +0 -7
- package/libs/shared-utils/nearlyEqual.js +3 -9
- package/package.json +2 -2
- package/dist/shared-utils/three/getNormal.d.ts +0 -2
- package/dist/shared-utils/url/getUrl.d.ts +0 -4
- package/libs/shared-utils/three/getNormal.d.ts +0 -2
- package/libs/shared-utils/three/getNormal.js +0 -10
- package/libs/shared-utils/url/getUrl.d.ts +0 -4
- package/libs/shared-utils/url/getUrl.js +0 -7
- /package/dist/shared-utils/{url/absoluteUrl.d.ts → absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{url/absoluteUrl.d.ts → absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{url/absoluteUrl.js → absoluteUrl.js} +0 -0
package/libs/index.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { index as
|
|
38
|
-
import { CSS3DRender as
|
|
39
|
-
import { Model as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { Polyline as
|
|
43
|
-
import { default as
|
|
44
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
45
|
-
import { ModelItemLabelPlugin as
|
|
46
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { Plugin as
|
|
48
|
-
import { GuideLineItem$1 as
|
|
49
|
-
import { GuideLineModeItem$1 as
|
|
50
|
-
import { default as
|
|
51
|
-
import { typing as
|
|
52
|
-
import { default as
|
|
53
|
-
import { defaultGlobalConfig as
|
|
54
|
-
import { ContentType as
|
|
55
|
-
import { Object3DHelperController as
|
|
56
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as Hp } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as jp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as kp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as zp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Kp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Wp, modelRoomLabelPluginServerParams as Xp } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as oe } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as te } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as me } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as ee } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as le } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Pe, ROOM_FETILE_TYPE_MAP as ue, ROOM_TYPE_MAP as fe } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as ge } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as de } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Te } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Ce, Rotation as _e } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Ie } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Oe } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Ae } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as De } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as be } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Ye } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as ce } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Ne } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as we } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as He } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as je } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as ke } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as ze } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Ke } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as We } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Ze } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as rn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as mn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { index as en } from "./shared-utils/index.js";
|
|
38
|
+
import { CSS3DRender as ln } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
+
import { Model as Pn } from "./PanoMeasurePlugin/Model/index.js";
|
|
40
|
+
import { default as fn } from "./PanoMeasurePlugin/Model/point.js";
|
|
41
|
+
import { default as gn } from "./PanoMeasurePlugin/Model/line.js";
|
|
42
|
+
import { Polyline as dn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
43
|
+
import { default as Tn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
44
|
+
import { DISPLAY_STRATEGY_TYPE as Cn } from "./ModelItemLabelPlugin/typings.js";
|
|
45
|
+
import { ModelItemLabelPlugin as En } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
46
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Rn } from "./ItemLabelPlugin/typings.js";
|
|
47
|
+
import { Plugin as yn } from "./ItemLabelPlugin/Plugin.js";
|
|
48
|
+
import { GuideLineItem$1 as Sn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
49
|
+
import { GuideLineModeItem$1 as Gn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
50
|
+
import { default as Fn } from "./CruisePlugin/Controller.js";
|
|
51
|
+
import { typing as vn } from "./CruisePlugin/typing/index.js";
|
|
52
|
+
import { default as Vn, pluginFlag as Nn } from "./PanoTagPlugin/controller/index.js";
|
|
53
|
+
import { defaultGlobalConfig as wn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
54
|
+
import { ContentType as Hn, DimensionType as Un, PointType as jn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
55
|
+
import { Object3DHelperController as kn, PLUGIN as qn } from "./Object3DHelperPlugin/Controller.js";
|
|
56
|
+
import { typings as Jn } from "./PanoVideoPlugin/typings/index.js";
|
|
57
57
|
import "./components/PaintBrush/Controller.js";
|
|
58
58
|
import "./components/PaintBrush/utils.js";
|
|
59
59
|
import "./components/PaintBrush/tween.js";
|
|
@@ -67,7 +67,7 @@ import "./CSS3DRenderPlugin/Controller.js";
|
|
|
67
67
|
import "./CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
68
68
|
import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
69
69
|
import "hammerjs";
|
|
70
|
-
import "./shared-utils/
|
|
70
|
+
import "./shared-utils/absoluteUrl.js";
|
|
71
71
|
import "./shared-utils/positionToVector3.js";
|
|
72
72
|
import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
73
73
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -279,11 +279,9 @@ import "./shared-utils/math/pointIsRectangle.js";
|
|
|
279
279
|
import "./shared-utils/three/loadVideoTexture.js";
|
|
280
280
|
import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
281
281
|
import "./shared-utils/three/FragmentTransparencyMaterial.js";
|
|
282
|
-
import "./shared-utils/three/getNormal.js";
|
|
283
282
|
import "./shared-utils/five/FiveDomEvents.js";
|
|
284
283
|
import "./PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
285
284
|
import "./shared-utils/typescript/entries.js";
|
|
286
|
-
import "./shared-utils/url/getUrl.js";
|
|
287
285
|
import "./shared-utils/five/getFloorIndex.js";
|
|
288
286
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
289
287
|
import "./PanoTagPlugin/Components/TagItem.js";
|
|
@@ -417,66 +415,66 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
417
415
|
r();
|
|
418
416
|
o();
|
|
419
417
|
export {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
418
|
+
rn as AreaMakerPlugin,
|
|
419
|
+
ln as CSS3DRender,
|
|
420
|
+
zp as CSS3DRenderPlugin,
|
|
421
|
+
Ce as CameraMovementEffect,
|
|
422
|
+
Te as CameraMovementPlugin,
|
|
423
|
+
Hn as ContentType,
|
|
424
|
+
ke as CruisePlugin,
|
|
425
|
+
Fn as CruisePluginController,
|
|
426
|
+
vn as CruisePluginTypes,
|
|
427
|
+
mn as CurrentPanoImagePlugin,
|
|
428
|
+
Ne as DIRECTION,
|
|
429
|
+
Cn as DISPLAY_STRATEGY_TYPE,
|
|
430
|
+
Un as DimensionType,
|
|
431
|
+
oe as FLOOR_PLAN_ATTACHED_TO,
|
|
432
|
+
Pe as FLOOR_TYPE_MAP,
|
|
433
|
+
Sn as GuideLineItem,
|
|
434
|
+
Gn as GuideLineModeItem,
|
|
435
|
+
je as GuideLinePlugin,
|
|
436
|
+
Rn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
437
|
+
yn as ItemLabelPlugin,
|
|
438
|
+
Tn as Magnifier,
|
|
439
|
+
me as MapviewFloorplanPlugin,
|
|
440
|
+
ge as ModelChassisCompassPlugin,
|
|
441
|
+
de as ModelEntryDoorGuidePlugin,
|
|
442
|
+
te as ModelFloorplanPlugin,
|
|
443
|
+
En as ModelItemLabelPlugin,
|
|
444
|
+
Wp as ModelRoomLabelPlugin,
|
|
445
|
+
ce as ModelTVVideoPlugin,
|
|
446
|
+
kp as ModelViewPlugin,
|
|
447
|
+
kn as Object3DHelperController,
|
|
448
|
+
Ke as Object3DHelperPlugin,
|
|
449
|
+
qn as PLUGIN,
|
|
450
|
+
Hp as PaintBrush,
|
|
451
|
+
jp as PaintBrushTypeEnum,
|
|
452
|
+
Ae as PanoCompassPlugin,
|
|
453
|
+
Kp as PanoCursorRaycasterPlugin,
|
|
454
|
+
He as PanoDoorLabelPlugin,
|
|
455
|
+
le as PanoFloorplanRadarPlugin,
|
|
456
|
+
De as PanoMeasurePlugin,
|
|
457
|
+
gn as PanoMeasurePluginLine,
|
|
458
|
+
Pn as PanoMeasurePluginModel,
|
|
459
|
+
fn as PanoMeasurePluginPoint,
|
|
460
|
+
dn as PanoMeasurePluginPolyline,
|
|
461
|
+
Ie as PanoRulerPlugin,
|
|
462
|
+
Oe as PanoRulerProPlugin,
|
|
463
|
+
be as PanoSpatialTagPlugin,
|
|
464
|
+
ze as PanoTagPlugin,
|
|
465
|
+
Vn as PanoTagPluginController,
|
|
466
|
+
We as PanoVideoPlugin,
|
|
467
|
+
Jn as PanoVideoPluginType,
|
|
468
|
+
Ze as PipelinePlugin,
|
|
469
|
+
jn as PointType,
|
|
470
|
+
ue as ROOM_FETILE_TYPE_MAP,
|
|
471
|
+
fe as ROOM_TYPE_MAP,
|
|
472
|
+
_e as Rotation,
|
|
473
|
+
ee as TopviewFloorplanPlugin,
|
|
474
|
+
en as Util,
|
|
475
|
+
wn as defaultGlobalConfig,
|
|
476
|
+
we as itemLabelPluginServerParams,
|
|
477
|
+
Ye as modelItemLabelPluginServerParams,
|
|
478
|
+
Xp as modelRoomLabelPluginServerParams,
|
|
479
|
+
Nn as pluginFlag
|
|
482
480
|
};
|
|
@@ -14,17 +14,17 @@ var f = (t, c, n) => new Promise((e, r) => {
|
|
|
14
14
|
}, u = (o) => o.done ? e(o.value) : Promise.resolve(o.value).then(a, i);
|
|
15
15
|
u((n = n.apply(t, c)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import { to as
|
|
19
|
-
function
|
|
17
|
+
import { nearlyEqual as d } from "../nearlyEqual.js";
|
|
18
|
+
import { to as l } from "../to.js";
|
|
19
|
+
function h(t) {
|
|
20
20
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
return
|
|
22
|
+
function m(t) {
|
|
23
|
+
return h(t) && !!t.isVector3;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function g(t, c) {
|
|
26
26
|
return f(this, null, function* () {
|
|
27
|
-
const [n] = yield
|
|
27
|
+
const [n] = yield l(t.changeMode(...c));
|
|
28
28
|
if (n)
|
|
29
29
|
throw new Error("change mode canceled");
|
|
30
30
|
yield new Promise((i) => {
|
|
@@ -36,16 +36,16 @@ function j(t, c) {
|
|
|
36
36
|
if (!e)
|
|
37
37
|
return !0;
|
|
38
38
|
const r = t.getCurrentState();
|
|
39
|
-
if (!
|
|
39
|
+
if (!w(e, r))
|
|
40
40
|
throw new Error("pose 与预期不符");
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function w(t, c) {
|
|
44
44
|
return Object.keys(t).every((n) => {
|
|
45
45
|
const e = c[n], r = t[n];
|
|
46
|
-
return e === void 0 || r === void 0 ? !0 :
|
|
46
|
+
return e === void 0 || r === void 0 ? !0 : typeof e == "number" && typeof r == "number" ? d(e, r, 2) : m(r) && m(e) ? r.distanceTo(e) < 0.01 : e === r;
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
g as changeMode
|
|
51
51
|
};
|
|
@@ -12,7 +12,7 @@ import { Object3D as s } from "./three/core/Object3D.js";
|
|
|
12
12
|
import { LineSegments as g } from "./three/objects/LineSegments.js";
|
|
13
13
|
import { isNil as c, notNil as d } from "./isNil.js";
|
|
14
14
|
import { uuid as u } from "./uuid.js";
|
|
15
|
-
import { absoluteUrl as F, isAbsoluteURL as P } from "./
|
|
15
|
+
import { absoluteUrl as F, isAbsoluteURL as P } from "./absoluteUrl.js";
|
|
16
16
|
import { getFrameTime as b, nextFrame as v, requestAnimationFrameInterval as L } from "./animationFrame/index.js";
|
|
17
17
|
import { equal as M } from "./equal.js";
|
|
18
18
|
import { isModelLike as R, isPanoramaLike as S } from "./five/mode.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.0.0-
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.0.0-dev.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
|
@@ -5,10 +5,3 @@
|
|
|
5
5
|
* @param accuracy 精度:精确到小数点后几位,默认精确到 小数点后四位
|
|
6
6
|
*/
|
|
7
7
|
export default function nearlyEqual(num1: number, num2: number, accuracy?: number): boolean;
|
|
8
|
-
/**
|
|
9
|
-
* 比较两个弧度近似相等
|
|
10
|
-
* @param rad1 弧度1
|
|
11
|
-
* @param rad2 弧度2
|
|
12
|
-
* @param accuracy 精度:精确到小数点后几位,默认精确到 小数点后四位
|
|
13
|
-
*/
|
|
14
|
-
export declare function nearlyEqualRad(rad1: number, rad2: number, accuracy?: number): boolean;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
function
|
|
2
|
-
return Math.
|
|
1
|
+
function a(t, r, o = 4) {
|
|
2
|
+
return Math.floor(t * Math.pow(10, o)) === Math.floor(r * Math.pow(10, o));
|
|
3
3
|
}
|
|
4
|
-
function h(t, a, n = 4) {
|
|
5
|
-
const o = Math.PI * 2, s = t % o, e = a % o, i = Math.min(s, e), c = Math.max(s, e);
|
|
6
|
-
return r(i, c, n) || r(i + o, c, n);
|
|
7
|
-
}
|
|
8
|
-
Object.assign(window, { nearlyEqual: r, nearlyEqualRad: h });
|
|
9
4
|
export {
|
|
10
|
-
|
|
11
|
-
h as nearlyEqualRad
|
|
5
|
+
a as nearlyEqual
|
|
12
6
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.0.0-
|
|
10
|
+
"version": "3.0.0-dev.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/core": "^7.22.9",
|
|
39
|
-
"@realsee/five": "6.0.0-alpha.
|
|
39
|
+
"@realsee/five": "6.0.0-alpha.8",
|
|
40
40
|
"@sveltejs/vite-plugin-svelte": "^2.4.2",
|
|
41
41
|
"@tsconfig/svelte": "^4.0.1",
|
|
42
42
|
"@tweenjs/tween.js": "^20.0.3",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Vector3 as s } from "three";
|
|
2
|
-
function p(o, r = 1) {
|
|
3
|
-
if (o.length < 3)
|
|
4
|
-
return console.error("points.length < 3"), new s(0, 0, 0);
|
|
5
|
-
const [t, n, e] = o, l = t.clone().sub(n), c = e.clone().sub(n);
|
|
6
|
-
return l.cross(c).normalize().multiplyScalar(r);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
p as getNormal
|
|
10
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|