@realsee/dnalogel 2.27.4 → 2.28.0-dev.1
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/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -2
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -2
- package/dist/base/BasePluginWithData.d.ts +1 -1
- package/dist/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +114 -0
- package/dist/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +23 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Controller.d.ts +40 -0
- package/dist/floorplan/FloorplanRoomsPlugin/index.d.ts +6 -0
- package/dist/floorplan/FloorplanRoomsPlugin/typing.d.ts +60 -0
- package/dist/floorplan/index.d.ts +1 -0
- package/dist/index.cjs.js +67 -67
- package/dist/index.d.ts +0 -1
- package/dist/index.js +7269 -6976
- package/dist/index.umd.js +60 -60
- package/dist/shared-utils/index.d.ts +0 -1
- package/dist/shared-utils/math/planimetry.d.ts +1 -1
- package/dist/shared-utils/three/index.d.ts +0 -2
- package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +120 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1367 -0
- package/docs/classes/CSS3DRender.html +770 -0
- package/docs/classes/CruisePluginController.html +669 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +488 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +789 -0
- package/docs/classes/Magnifier.html +477 -0
- package/docs/classes/ModelRoomLabelController.html +395 -0
- package/docs/classes/Object3DHelperController.html +637 -0
- package/docs/classes/PaintBrush.html +499 -0
- package/docs/classes/PanoMeasurePluginLine.html +519 -0
- package/docs/classes/PanoMeasurePluginModel.html +568 -0
- package/docs/classes/PanoMeasurePluginPoint.html +359 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +564 -0
- package/docs/classes/PanoTagPluginController.html +1087 -0
- package/docs/classes/Util.BetterTween.html +409 -0
- package/docs/classes/Util.Interval.html +425 -0
- package/docs/classes/Util.Magnifier.html +496 -0
- package/docs/classes/Util.PointDomHelper.html +400 -0
- package/docs/classes/Util.PointHelper.html +391 -0
- package/docs/classes/Util.PointSelectorHelper.html +447 -0
- package/docs/classes/Util.Rectangle.html +448 -0
- package/docs/enums/CameraMovementEffect.html +307 -0
- package/docs/enums/ContentType.html +443 -0
- package/docs/enums/DIRECTION.html +317 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +317 -0
- package/docs/enums/DimensionType.html +307 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +310 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +317 -0
- package/docs/enums/PaintBrushTypeEnum.html +310 -0
- package/docs/enums/PointType.html +307 -0
- package/docs/enums/Rotation.html +314 -0
- package/docs/functions/CSS3DRenderPlugin.html +285 -0
- package/docs/functions/CameraMovementPlugin.html +290 -0
- package/docs/functions/CruisePlugin.html +287 -0
- package/docs/functions/FloorplanRoomsPlugin.html +285 -0
- package/docs/functions/GuideLinePlugin.html +287 -0
- package/docs/functions/ItemLabelPlugin.html +287 -0
- package/docs/functions/MapviewFloorplanPlugin.html +287 -0
- package/docs/functions/ModelChassisCompassPlugin.html +290 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +290 -0
- package/docs/functions/ModelFloorplanPlugin.html +287 -0
- package/docs/functions/ModelItemLabelPlugin.html +287 -0
- package/docs/functions/ModelRoomLabelPlugin.html +285 -0
- package/docs/functions/ModelTVVideoPlugin.html +287 -0
- package/docs/functions/ModelViewPlugin.html +290 -0
- package/docs/functions/Object3DHelperPlugin.html +285 -0
- package/docs/functions/PanoCompassPlugin.html +287 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +291 -0
- package/docs/functions/PanoDoorLabelPlugin.html +287 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +287 -0
- package/docs/functions/PanoMeasurePlugin.html +287 -0
- package/docs/functions/PanoRulerPlugin.html +290 -0
- package/docs/functions/PanoRulerProPlugin.html +290 -0
- package/docs/functions/PanoSpatialTagPlugin.html +290 -0
- package/docs/functions/PanoTagPlugin.html +292 -0
- package/docs/functions/PanoVideoPlugin.html +296 -0
- package/docs/functions/PipelinePlugin.html +285 -0
- package/docs/functions/TopviewFloorplanPlugin.html +287 -0
- package/docs/functions/Util.absoluteUrl.html +319 -0
- package/docs/functions/Util.getCoordsFromClient.html +321 -0
- package/docs/functions/Util.getCoordsFromElement.html +321 -0
- package/docs/functions/Util.getFrameTime.html +313 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +321 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +321 -0
- package/docs/functions/Util.isAbsoluteURL.html +314 -0
- package/docs/functions/Util.isModelLike.html +314 -0
- package/docs/functions/Util.isNil.html +322 -0
- package/docs/functions/Util.isPanoramaLike.html +314 -0
- package/docs/functions/Util.nextFrame.html +327 -0
- package/docs/functions/Util.notNil.html +322 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +343 -0
- package/docs/functions/Util.tweenProgress.html +316 -0
- package/docs/functions/Util.uuid.html +312 -0
- package/docs/functions/pluginFlag.html +285 -0
- package/docs/index.html +351 -0
- package/docs/interfaces/AddTagConfig.html +300 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +446 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +322 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +355 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +356 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +358 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +693 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +382 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +418 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +408 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +348 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +316 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +405 -0
- package/docs/interfaces/EventMap.html +539 -0
- package/docs/interfaces/FloorplanBounding.html +329 -0
- package/docs/interfaces/FloorplanData.html +332 -0
- package/docs/interfaces/FloorplanEntrance.html +357 -0
- package/docs/interfaces/FloorplanExtraObject.html +347 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +336 -0
- package/docs/interfaces/FloorplanFloorData.html +325 -0
- package/docs/interfaces/FloorplanImagePosition.html +311 -0
- package/docs/interfaces/FloorplanObserver.html +329 -0
- package/docs/interfaces/FloorplanOutlineItem.html +325 -0
- package/docs/interfaces/FloorplanPosition.html +311 -0
- package/docs/interfaces/FloorplanRoomItem.html +376 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +317 -0
- package/docs/interfaces/FloorplanServerBounding.html +329 -0
- package/docs/interfaces/FloorplanServerComputedData.html +328 -0
- package/docs/interfaces/FloorplanServerData.html +311 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +328 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +314 -0
- package/docs/interfaces/FloorplanServerEntrance.html +357 -0
- package/docs/interfaces/FloorplanServerFloorData.html +325 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +311 -0
- package/docs/interfaces/FloorplanServerObserver.html +329 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +325 -0
- package/docs/interfaces/FloorplanServerPosition.html +311 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +388 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +317 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +320 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +358 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +522 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +353 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +344 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +411 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +343 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +468 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +340 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +468 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +305 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +326 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +351 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +367 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +349 -0
- package/docs/interfaces/HelperOffset.html +329 -0
- package/docs/interfaces/ImagePlaneGroup.html +303 -0
- package/docs/interfaces/ItemLabelPluginData.html +300 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +385 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +321 -0
- package/docs/interfaces/MinMax.html +307 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +307 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +343 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +307 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +314 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +351 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +300 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +385 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +307 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +300 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +321 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +345 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +300 -0
- package/docs/interfaces/ModelViewPluginExportType.html +413 -0
- package/docs/interfaces/Object3DHelperState.html +314 -0
- package/docs/interfaces/ObjectHelperControllers.html +321 -0
- package/docs/interfaces/PaintBrushAction.html +360 -0
- package/docs/interfaces/PaintBrushConfigs.html +358 -0
- package/docs/interfaces/PaintBrushState.html +342 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +422 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +279 -0
- package/docs/interfaces/PanoMeasureParameterType.html +446 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +314 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +311 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +307 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +317 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +374 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +323 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +314 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +350 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +320 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +307 -0
- package/docs/interfaces/PanoRulerProPluginState.html +314 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +293 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +282 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +350 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +332 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +428 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +328 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +349 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +335 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +328 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +320 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +338 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +311 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +417 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +311 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +346 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +365 -0
- package/docs/interfaces/Point.html +314 -0
- package/docs/interfaces/Room.html +321 -0
- package/docs/interfaces/RoomInfo.html +307 -0
- package/docs/interfaces/RoomLabel.html +383 -0
- package/docs/interfaces/RoomRules.html +282 -0
- package/docs/interfaces/Rooms.html +282 -0
- package/docs/interfaces/Scissor.html +341 -0
- package/docs/interfaces/State.html +328 -0
- package/docs/interfaces/TagCacheInterface.html +352 -0
- package/docs/interfaces/TagConfig.html +542 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +303 -0
- package/docs/interfaces/TagIconUrl.html +360 -0
- package/docs/interfaces/TagObjectGroup.html +303 -0
- package/docs/interfaces/TagStyle.html +313 -0
- package/docs/interfaces/Tags.html +543 -0
- package/docs/interfaces/TemporaryState.html +300 -0
- package/docs/interfaces/Util.MagnifierParameter.html +384 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +343 -0
- package/docs/interfaces/Util.PointIntersection.html +358 -0
- package/docs/modules/CruisePluginTypes.html +325 -0
- package/docs/modules/GuideLineItem.html +286 -0
- package/docs/modules/GuideLineModeItem.html +291 -0
- package/docs/modules/GuideLinePluginType.html +345 -0
- package/docs/modules/PanoVideoPluginType.html +298 -0
- package/docs/modules/Util.html +340 -0
- package/docs/modules.html +534 -0
- package/docs/types/ArrayPosition.html +276 -0
- package/docs/types/AudioAppearance.html +276 -0
- package/docs/types/AudioTagTypeConfigKey.html +276 -0
- package/docs/types/CSS3DRenderExportType.html +276 -0
- package/docs/types/CSS3DRenderPluginExportType.html +276 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +276 -0
- package/docs/types/ClassFunctionParameters.html +283 -0
- package/docs/types/Color.html +276 -0
- package/docs/types/ContentTypeConfigKey.html +276 -0
- package/docs/types/ContentTypeConfigKeySplit.html +276 -0
- package/docs/types/ContentTypeMap.html +276 -0
- package/docs/types/Create3DDomContainerReturnType.html +276 -0
- package/docs/types/Create3DElementReturnType.html +276 -0
- package/docs/types/CruisePluginExportType.html +276 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +315 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +292 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +288 -0
- package/docs/types/DeprecatedTagProperty.html +291 -0
- package/docs/types/Direction-1.html +276 -0
- package/docs/types/Direction4.html +276 -0
- package/docs/types/ElementRenderer.html +300 -0
- package/docs/types/FloorplanRoomsPluginParameterType.html +276 -0
- package/docs/types/FloorplanRoomsPluginReturnType.html +276 -0
- package/docs/types/FloorplanRuleLabels.html +279 -0
- package/docs/types/FloorplanServerRuleLabels.html +276 -0
- package/docs/types/GuideLinePluginExportType.html +276 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +348 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +369 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +302 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +305 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +305 -0
- package/docs/types/GuideLinePluginType.PathItem.html +305 -0
- package/docs/types/GuideLinePluginType.PluginData.html +314 -0
- package/docs/types/HelperEventMap.html +514 -0
- package/docs/types/LoadTagConfig.html +276 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +276 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +276 -0
- package/docs/types/MediaData.html +292 -0
- package/docs/types/MediaStore.html +281 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +283 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +276 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +276 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +276 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +276 -0
- package/docs/types/MoveArgs.html +286 -0
- package/docs/types/MoveOpts.html +284 -0
- package/docs/types/Object3DHelperEventMap.html +369 -0
- package/docs/types/ObjectFit.html +276 -0
- package/docs/types/PaintBrushEventMap.html +307 -0
- package/docs/types/PanoCompassPluginData.html +276 -0
- package/docs/types/PanoCompassPluginExportType.html +276 -0
- package/docs/types/PanoCompassPluginParameterType.html +276 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +276 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +276 -0
- package/docs/types/PanoIndex.html +276 -0
- package/docs/types/PanoMeasurePluginEvent.html +276 -0
- package/docs/types/PanoMeasureReturnType.html +276 -0
- package/docs/types/PanoSpatialTagPluginId.html +276 -0
- package/docs/types/PanoTagPluginExportInterface.html +276 -0
- package/docs/types/PanoTagPluginParamsInterface.html +276 -0
- package/docs/types/PanoVideoPluginParameterType.html +276 -0
- package/docs/types/PanoVideoPluginReturnType.html +276 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +284 -0
- package/docs/types/PipelinePluginParameterType.html +276 -0
- package/docs/types/PipelinePluginReturnType.html +276 -0
- package/docs/types/PlaneTag.html +284 -0
- package/docs/types/Point2DTag.html +284 -0
- package/docs/types/Point3DTag.html +284 -0
- package/docs/types/PointTag.html +281 -0
- package/docs/types/PointTagInstance.html +281 -0
- package/docs/types/Position.html +276 -0
- package/docs/types/RotateArgs.html +288 -0
- package/docs/types/RotateOpts.html +284 -0
- package/docs/types/RuleLabelsKey.html +276 -0
- package/docs/types/RuleLabelsValue.html +276 -0
- package/docs/types/StickType.html +276 -0
- package/docs/types/Tag.html +342 -0
- package/docs/types/Tag2D.html +284 -0
- package/docs/types/Tag3D.html +284 -0
- package/docs/types/TagConfigByKey.html +281 -0
- package/docs/types/TagContentType.html +276 -0
- package/docs/types/TagDimensionType.html +278 -0
- package/docs/types/TagElement.html +286 -0
- package/docs/types/TagEvents.html +329 -0
- package/docs/types/TagGLTFObject.html +299 -0
- package/docs/types/TagHooks.html +276 -0
- package/docs/types/TagId.html +276 -0
- package/docs/types/TagInstance.html +348 -0
- package/docs/types/TagPointType.html +279 -0
- package/docs/types/TagRendererMap.html +281 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +276 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +276 -0
- package/docs/types/WorkCode.html +276 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +286 -0
- package/docs/variables/PLUGIN.html +276 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +279 -0
- package/docs/variables/ROOM_TYPE_MAP.html +286 -0
- package/docs/variables/defaultGlobalConfig.html +276 -0
- package/docs/variables/itemLabelPluginServerParams.html +283 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +283 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +283 -0
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +39 -42
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +13 -13
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -19
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -2
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +10 -10
- package/libs/base/BasePlugin.js +1 -1
- package/libs/base/BasePluginWithData.d.ts +1 -1
- package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +114 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.js +51 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +23 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.js +25 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js +188 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js +94 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js +111 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js +191 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.js +237 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Controller.d.ts +40 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Controller.js +207 -0
- package/libs/floorplan/FloorplanRoomsPlugin/index.d.ts +6 -0
- package/libs/floorplan/FloorplanRoomsPlugin/index.js +43 -0
- package/libs/floorplan/FloorplanRoomsPlugin/typing.d.ts +60 -0
- package/libs/floorplan/index.d.ts +1 -0
- package/libs/index.d.ts +0 -1
- package/libs/index.js +122 -120
- package/libs/shared-utils/device.js +1 -0
- package/libs/shared-utils/index.d.ts +0 -1
- package/libs/shared-utils/index.js +21 -27
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/shared-utils/math/planimetry.js +29 -36
- package/libs/shared-utils/three/index.d.ts +0 -2
- package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
- package/libs/shared-utils/three/loadVideoTexture.js +6 -6
- package/libs/vendor/svelte/internal/index.js +85 -79
- package/package.json +2 -2
- package/dist/AreaMakerPlugin/Controller.d.ts +0 -94
- package/dist/AreaMakerPlugin/index.d.ts +0 -4
- package/dist/AreaMakerPlugin/typing.d.ts +0 -148
- package/dist/AreaMakerPlugin/utils/Item.d.ts +0 -114
- package/dist/components/AreaLabel/Assets/roomLabelBg.d.ts +0 -1
- package/dist/shared-utils/three/core/Object3D.d.ts +0 -8
- package/dist/shared-utils/three/objects/LineSegments.d.ts +0 -9
- package/libs/AreaMakerPlugin/Controller.d.ts +0 -94
- package/libs/AreaMakerPlugin/Controller.js +0 -336
- package/libs/AreaMakerPlugin/index.d.ts +0 -4
- package/libs/AreaMakerPlugin/index.js +0 -37
- package/libs/AreaMakerPlugin/typing.d.ts +0 -148
- package/libs/AreaMakerPlugin/utils/Item.d.ts +0 -114
- package/libs/AreaMakerPlugin/utils/Item.js +0 -263
- package/libs/components/AreaLabel/Assets/roomLabelBg.d.ts +0 -1
- package/libs/components/AreaLabel/Assets/roomLabelBg.js +0 -4
- package/libs/components/AreaLabel/LabelItem.js +0 -125
- package/libs/shared-utils/three/core/Object3D.d.ts +0 -8
- package/libs/shared-utils/three/core/Object3D.js +0 -22
- package/libs/shared-utils/three/objects/LineSegments.d.ts +0 -9
- package/libs/shared-utils/three/objects/LineSegments.js +0 -9
- /package/dist/{components/AreaLabel/LabelItem.svelte.d.ts → floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts} +0 -0
- /package/{libs/components/AreaLabel/LabelItem.svelte.d.ts → dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts} +0 -0
- /package/libs/{AreaMakerPlugin → floorplan/FloorplanRoomsPlugin}/typing.js +0 -0
package/libs/index.js
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
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 {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { index as
|
|
37
|
-
import { CSS3DRender as
|
|
38
|
-
import { Model as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { Polyline as
|
|
42
|
-
import { default as
|
|
43
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
44
|
-
import { ModelItemLabelPlugin as
|
|
45
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
46
|
-
import { Plugin as
|
|
47
|
-
import { GuideLineItem$1 as
|
|
48
|
-
import { GuideLineModeItem$1 as
|
|
49
|
-
import { default as
|
|
50
|
-
import { typing as
|
|
51
|
-
import { default as
|
|
52
|
-
import { defaultGlobalConfig as
|
|
53
|
-
import { ContentType as
|
|
54
|
-
import { Object3DHelperController as
|
|
55
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as Np } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as wp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Hp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as jp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as kp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as zp, modelRoomLabelPluginServerParams as Jp } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as Qp } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Xp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as oe } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as te } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as me } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FloorplanRoomsPlugin as ee } from "./floorplan/FloorplanRoomsPlugin/index.js";
|
|
15
|
+
import { FLOOR_TYPE_MAP as le, ROOM_FETILE_TYPE_MAP as ae, ROOM_TYPE_MAP as Pe } from "./floorplan/typings/floorplanServerData.js";
|
|
16
|
+
import { ModelChassisCompassPlugin as ue } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
17
|
+
import { ModelEntryDoorGuidePlugin as ge } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
18
|
+
import { CameraMovementPlugin as de } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
19
|
+
import { CameraMovementEffect as Te, Rotation as Le } from "./CameraMovementPlugin/typing.js";
|
|
20
|
+
import { PanoRulerPlugin as Re } from "./PanoRulerPlugin/Plugin.js";
|
|
21
|
+
import { PanoRulerProPlugin as Ee } from "./PanoRulerProPlugin/index.js";
|
|
22
|
+
import { PanoCompassPlugin as Oe } from "./PanoCompassPlugin/index.js";
|
|
23
|
+
import { PanoMeasurePlugin as Se } from "./PanoMeasurePlugin/index.js";
|
|
24
|
+
import { PanoSpatialTagPlugin as De } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
25
|
+
import { modelItemLabelPluginServerParams as be } from "./ModelItemLabelPlugin/index.js";
|
|
26
|
+
import { ModelTVVideoPlugin as Ye } from "./ModelTVVideoPlugin/Plugin.js";
|
|
27
|
+
import { DIRECTION as ce } from "./ModelTVVideoPlugin/typings.js";
|
|
28
|
+
import { itemLabelPluginServerParams as Ne } from "./ItemLabelPlugin/index.js";
|
|
29
|
+
import { PanoDoorLabelPlugin as we } from "./PanoDoorLabelPlugin/index.js";
|
|
30
|
+
import { GuideLinePlugin as He } from "./GuideLinePlugin/index.js";
|
|
31
|
+
import { CruisePlugin as je } from "./CruisePlugin/index.js";
|
|
32
|
+
import { PanoTagPlugin as ke } from "./PanoTagPlugin/index.js";
|
|
33
|
+
import { Object3DHelperPlugin as ze } from "./Object3DHelperPlugin/index.js";
|
|
34
|
+
import { PanoVideoPlugin as Ke } from "./PanoVideoPlugin/index.js";
|
|
35
|
+
import { PipelinePlugin as We } from "./PipelinePlugin/index.js";
|
|
36
|
+
import { index as Ze } from "./shared-utils/index.js";
|
|
37
|
+
import { CSS3DRender as rn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
38
|
+
import { Model as mn } from "./PanoMeasurePlugin/Model/index.js";
|
|
39
|
+
import { default as en } from "./PanoMeasurePlugin/Model/point.js";
|
|
40
|
+
import { default as ln } from "./PanoMeasurePlugin/Model/line.js";
|
|
41
|
+
import { Polyline as Pn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
42
|
+
import { default as un } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
43
|
+
import { DISPLAY_STRATEGY_TYPE as gn } from "./ModelItemLabelPlugin/typings.js";
|
|
44
|
+
import { ModelItemLabelPlugin as dn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
45
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Tn } from "./ItemLabelPlugin/typings.js";
|
|
46
|
+
import { Plugin as Cn } from "./ItemLabelPlugin/Plugin.js";
|
|
47
|
+
import { GuideLineItem$1 as _n } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
48
|
+
import { GuideLineModeItem$1 as In } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
49
|
+
import { default as yn } from "./CruisePlugin/Controller.js";
|
|
50
|
+
import { typing as An } from "./CruisePlugin/typing/index.js";
|
|
51
|
+
import { default as Gn, pluginFlag as bn } from "./PanoTagPlugin/controller/index.js";
|
|
52
|
+
import { defaultGlobalConfig as Yn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
53
|
+
import { ContentType as cn, DimensionType as Vn, PointType as Nn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
54
|
+
import { Object3DHelperController as wn, PLUGIN as Bn } from "./Object3DHelperPlugin/Controller.js";
|
|
55
|
+
import { typings as Un } from "./PanoVideoPlugin/typings/index.js";
|
|
56
56
|
import "./components/PaintBrush/Controller.js";
|
|
57
57
|
import "./components/PaintBrush/utils.js";
|
|
58
58
|
import "./components/PaintBrush/tween.js";
|
|
@@ -137,6 +137,14 @@ import "./floorplan/PanoFloorplanRadarPlugin/Components/Camera.js";
|
|
|
137
137
|
import "./shared-utils/throttle.js";
|
|
138
138
|
import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js";
|
|
139
139
|
import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js";
|
|
140
|
+
import "./floorplan/FloorplanRoomsPlugin/Controller.js";
|
|
141
|
+
import "./floorplan/FloorplanRoomsPlugin/Components/Main.js";
|
|
142
|
+
import "./floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js";
|
|
143
|
+
import "./floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js";
|
|
144
|
+
import "./floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js";
|
|
145
|
+
import "./floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js";
|
|
146
|
+
import "./floorplan/FloorplanRoomsPlugin/BasePluginWithData.js";
|
|
147
|
+
import "./floorplan/FloorplanRoomsPlugin/BasePlugin.js";
|
|
140
148
|
import "three/examples/jsm/loaders/FBXLoader";
|
|
141
149
|
import "./shared-utils/object3d2LocalMatrix.js";
|
|
142
150
|
import "./shared-utils/three/transformToMeshBasicMaterial.js";
|
|
@@ -395,12 +403,6 @@ import "./PipelinePlugin/utils/Objects/Pipe.js";
|
|
|
395
403
|
import "./shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
396
404
|
import "./shared-utils/three/Extras/Core/Interpolations.js";
|
|
397
405
|
import "./shared-utils/three/Extras/Core/Interpolations2.js";
|
|
398
|
-
import "./AreaMakerPlugin/Controller.js";
|
|
399
|
-
import "./AreaMakerPlugin/utils/Item.js";
|
|
400
|
-
import "./shared-utils/three/core/Object3D.js";
|
|
401
|
-
import "./shared-utils/three/objects/LineSegments.js";
|
|
402
|
-
import "./components/AreaLabel/LabelItem.js";
|
|
403
|
-
import "./components/AreaLabel/Assets/roomLabelBg.js";
|
|
404
406
|
import "./shared-utils/math/Interval.js";
|
|
405
407
|
import "./shared-utils/math/Rectangle.js";
|
|
406
408
|
import "./shared-utils/three/getCoords.js";
|
|
@@ -408,65 +410,65 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
408
410
|
r();
|
|
409
411
|
o();
|
|
410
412
|
export {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
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
|
-
|
|
413
|
+
rn as CSS3DRender,
|
|
414
|
+
jp as CSS3DRenderPlugin,
|
|
415
|
+
Te as CameraMovementEffect,
|
|
416
|
+
de as CameraMovementPlugin,
|
|
417
|
+
cn as ContentType,
|
|
418
|
+
je as CruisePlugin,
|
|
419
|
+
yn as CruisePluginController,
|
|
420
|
+
An as CruisePluginTypes,
|
|
421
|
+
ce as DIRECTION,
|
|
422
|
+
gn as DISPLAY_STRATEGY_TYPE,
|
|
423
|
+
Vn as DimensionType,
|
|
424
|
+
Qp as FLOOR_PLAN_ATTACHED_TO,
|
|
425
|
+
le as FLOOR_TYPE_MAP,
|
|
426
|
+
ee as FloorplanRoomsPlugin,
|
|
427
|
+
_n as GuideLineItem,
|
|
428
|
+
In as GuideLineModeItem,
|
|
429
|
+
He as GuideLinePlugin,
|
|
430
|
+
Tn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
431
|
+
Cn as ItemLabelPlugin,
|
|
432
|
+
un as Magnifier,
|
|
433
|
+
oe as MapviewFloorplanPlugin,
|
|
434
|
+
ue as ModelChassisCompassPlugin,
|
|
435
|
+
ge as ModelEntryDoorGuidePlugin,
|
|
436
|
+
Xp as ModelFloorplanPlugin,
|
|
437
|
+
dn as ModelItemLabelPlugin,
|
|
438
|
+
zp as ModelRoomLabelPlugin,
|
|
439
|
+
Ye as ModelTVVideoPlugin,
|
|
440
|
+
Hp as ModelViewPlugin,
|
|
441
|
+
wn as Object3DHelperController,
|
|
442
|
+
ze as Object3DHelperPlugin,
|
|
443
|
+
Bn as PLUGIN,
|
|
444
|
+
Np as PaintBrush,
|
|
445
|
+
wp as PaintBrushTypeEnum,
|
|
446
|
+
Oe as PanoCompassPlugin,
|
|
447
|
+
kp as PanoCursorRaycasterPlugin,
|
|
448
|
+
we as PanoDoorLabelPlugin,
|
|
449
|
+
me as PanoFloorplanRadarPlugin,
|
|
450
|
+
Se as PanoMeasurePlugin,
|
|
451
|
+
ln as PanoMeasurePluginLine,
|
|
452
|
+
mn as PanoMeasurePluginModel,
|
|
453
|
+
en as PanoMeasurePluginPoint,
|
|
454
|
+
Pn as PanoMeasurePluginPolyline,
|
|
455
|
+
Re as PanoRulerPlugin,
|
|
456
|
+
Ee as PanoRulerProPlugin,
|
|
457
|
+
De as PanoSpatialTagPlugin,
|
|
458
|
+
ke as PanoTagPlugin,
|
|
459
|
+
Gn as PanoTagPluginController,
|
|
460
|
+
Ke as PanoVideoPlugin,
|
|
461
|
+
Un as PanoVideoPluginType,
|
|
462
|
+
We as PipelinePlugin,
|
|
463
|
+
Nn as PointType,
|
|
464
|
+
ae as ROOM_FETILE_TYPE_MAP,
|
|
465
|
+
Pe as ROOM_TYPE_MAP,
|
|
466
|
+
Le as Rotation,
|
|
467
|
+
te as TopviewFloorplanPlugin,
|
|
468
|
+
Ze as Util,
|
|
469
|
+
Yn as defaultGlobalConfig,
|
|
470
|
+
Ne as itemLabelPluginServerParams,
|
|
471
|
+
be as modelItemLabelPluginServerParams,
|
|
472
|
+
Jp as modelRoomLabelPluginServerParams,
|
|
473
|
+
bn as pluginFlag
|
|
472
474
|
};
|
|
@@ -2,6 +2,7 @@ const e = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
|
|
|
2
2
|
navigator.userAgent.toLowerCase().indexOf("android");
|
|
3
3
|
const o = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, n = e && o;
|
|
4
4
|
export {
|
|
5
|
+
e as isIOS,
|
|
5
6
|
n as isIOSWX,
|
|
6
7
|
o as isWX
|
|
7
8
|
};
|
|
@@ -3,47 +3,41 @@ import { Rectangle as r } from "./math/Rectangle.js";
|
|
|
3
3
|
import { isModelLike as e, isPanoramaLike as t } from "./five/mode.js";
|
|
4
4
|
import { Magnifier as m } from "./three/Magnifier.js";
|
|
5
5
|
import { getCoordsFromClient as i, getCoordsFromElement as n } from "./three/getCoords.js";
|
|
6
|
-
import { getRaycasterFromFivePointer as
|
|
7
|
-
import { getIntersectFromRelativePosition as
|
|
6
|
+
import { getRaycasterFromFivePointer as l } from "./three/getRaycaster.js";
|
|
7
|
+
import { getIntersectFromRelativePosition as p } from "./three/getIntersect.js";
|
|
8
8
|
import { PointHelper as f } from "./three/PointHelper.js";
|
|
9
9
|
import { PointDomHelper as a } from "./three/PointDomHelper.js";
|
|
10
10
|
import { PointSelectorHelper as s } from "./three/PointSelectorHelper.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
import { equal as S } from "./equal.js";
|
|
18
|
-
import { BetterTween as _, tweenProgress as j } from "./animationFrame/BetterTween.js";
|
|
19
|
-
const h = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11
|
+
import { isNil as g, notNil as u } from "./isNil.js";
|
|
12
|
+
import { uuid as F } from "./uuid.js";
|
|
13
|
+
import { absoluteUrl as P, isAbsoluteURL as c } from "./absoluteUrl.js";
|
|
14
|
+
import { getFrameTime as d, nextFrame as b, requestAnimationFrameInterval as v } from "./animationFrame/index.js";
|
|
15
|
+
import { BetterTween as R, tweenProgress as _ } from "./animationFrame/BetterTween.js";
|
|
16
|
+
const U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20
17
|
__proto__: null,
|
|
21
|
-
BetterTween:
|
|
18
|
+
BetterTween: R,
|
|
22
19
|
Interval: o,
|
|
23
|
-
LineSegments: u,
|
|
24
20
|
Magnifier: m,
|
|
25
|
-
Object3D: g,
|
|
26
21
|
PointDomHelper: a,
|
|
27
22
|
PointHelper: f,
|
|
28
23
|
PointSelectorHelper: s,
|
|
29
24
|
Rectangle: r,
|
|
30
|
-
absoluteUrl:
|
|
31
|
-
equal: S,
|
|
25
|
+
absoluteUrl: P,
|
|
32
26
|
getCoordsFromClient: i,
|
|
33
27
|
getCoordsFromElement: n,
|
|
34
|
-
getFrameTime:
|
|
35
|
-
getIntersectFromRelativePosition:
|
|
36
|
-
getRaycasterFromFivePointer:
|
|
37
|
-
isAbsoluteURL:
|
|
28
|
+
getFrameTime: d,
|
|
29
|
+
getIntersectFromRelativePosition: p,
|
|
30
|
+
getRaycasterFromFivePointer: l,
|
|
31
|
+
isAbsoluteURL: c,
|
|
38
32
|
isModelLike: e,
|
|
39
|
-
isNil:
|
|
33
|
+
isNil: g,
|
|
40
34
|
isPanoramaLike: t,
|
|
41
|
-
nextFrame:
|
|
42
|
-
notNil:
|
|
43
|
-
requestAnimationFrameInterval:
|
|
44
|
-
tweenProgress:
|
|
45
|
-
uuid:
|
|
35
|
+
nextFrame: b,
|
|
36
|
+
notNil: u,
|
|
37
|
+
requestAnimationFrameInterval: v,
|
|
38
|
+
tweenProgress: _,
|
|
39
|
+
uuid: F
|
|
46
40
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
47
41
|
export {
|
|
48
|
-
|
|
42
|
+
U as index
|
|
49
43
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv2.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv2.28.0-dev.1",
|
|
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",
|
|
@@ -111,6 +111,6 @@ export declare function getCenterPointOfPoints(points: Point[]): {
|
|
|
111
111
|
x: number;
|
|
112
112
|
y: number;
|
|
113
113
|
};
|
|
114
|
-
export declare function isIntersect(linePoints1: Point[], linePoints2: Point[]):
|
|
114
|
+
export declare function isIntersect(linePoints1: Point[], linePoints2: Point[]): 0 | 1;
|
|
115
115
|
export declare function getAreaSize(points: Point[]): number;
|
|
116
116
|
export declare function getAreaSizeWithoutLine(points: Point[]): number;
|
|
@@ -1,50 +1,43 @@
|
|
|
1
|
-
function I(
|
|
2
|
-
return
|
|
1
|
+
function I(r, x) {
|
|
2
|
+
return r.x === x.x && r.y === x.y;
|
|
3
3
|
}
|
|
4
|
-
function
|
|
5
|
-
return Math.abs(
|
|
4
|
+
function N(r, x) {
|
|
5
|
+
return Math.abs(r) === 1 / 0 && Math.abs(x) === 1 / 0 ? !0 : Math.abs(r - x) < 1e-3;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
return (
|
|
7
|
+
function m(r, x) {
|
|
8
|
+
return (x.y - r.y) / (x.x - r.x);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
const
|
|
12
|
-
if (isNaN(
|
|
10
|
+
function O(r, x, f) {
|
|
11
|
+
const u = m(r[1], r[0]), y = m(x[1], x[0]);
|
|
12
|
+
if (isNaN(u) || isNaN(y) || N(u, y))
|
|
13
13
|
return !1;
|
|
14
|
-
if (
|
|
15
|
-
return x[0];
|
|
16
|
-
if (m(x[1], r))
|
|
17
|
-
return x[1];
|
|
18
|
-
if (m(r[0], x))
|
|
14
|
+
if (h(r[0], x))
|
|
19
15
|
return r[0];
|
|
20
|
-
if (
|
|
16
|
+
if (h(r[1], x))
|
|
21
17
|
return r[1];
|
|
22
|
-
if (
|
|
18
|
+
if (h(x[0], r))
|
|
19
|
+
return x[0];
|
|
20
|
+
if (h(x[1], r))
|
|
21
|
+
return x[1];
|
|
22
|
+
if (f && !L(r, x))
|
|
23
23
|
return !1;
|
|
24
|
-
const
|
|
25
|
-
if (Math.abs(a) === 1 / 0)
|
|
26
|
-
return { x: f.x, y: r[1].y - (r[1].x - f.x) * u };
|
|
24
|
+
const a = r[0], c = x[0];
|
|
27
25
|
if (Math.abs(u) === 1 / 0)
|
|
28
|
-
return { x:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
return I(x, r[0]) || I(x, r[1]) ? !0 : (r[0].x - x.x) * (x.x - r[1].x) >= 0 && (r[0].y - x.y) * (x.y - r[1].y) >= 0 && b(M(r[0], x), M(x, r[1]));
|
|
26
|
+
return { x: a.x, y: x[1].y - (x[1].x - a.x) * y };
|
|
27
|
+
if (Math.abs(y) === 1 / 0)
|
|
28
|
+
return { x: c.x, y: r[1].y - (r[1].x - c.x) * u };
|
|
29
|
+
const b = (c.y - a.y + u * a.x - y * c.x) / (u - y), K = u * b - u * a.x + a.y;
|
|
30
|
+
return { x: b, y: K };
|
|
34
31
|
}
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
return x.forEach((f) => {
|
|
38
|
-
r = Math.min(r, f.x), y = Math.max(y, f.x), a = Math.min(a, f.y), u = Math.max(u, f.y);
|
|
39
|
-
}), { x: (r + y) / 2, y: (a + u) / 2 };
|
|
32
|
+
function h(r, x) {
|
|
33
|
+
return I(r, x[0]) || I(r, x[1]) ? !0 : (x[0].x - r.x) * (r.x - x[1].x) >= 0 && (x[0].y - r.y) * (r.y - x[1].y) >= 0 && N(m(x[0], r), m(r, x[1]));
|
|
40
34
|
}
|
|
41
|
-
function
|
|
42
|
-
return (
|
|
35
|
+
function M(r, x, f) {
|
|
36
|
+
return (r.x - f.x) * (x.y - f.y) - (x.x - f.x) * (r.y - f.y);
|
|
43
37
|
}
|
|
44
|
-
function
|
|
45
|
-
return Math.max(
|
|
38
|
+
function L(r, x) {
|
|
39
|
+
return Math.max(r[0].x, r[1].x) >= Math.min(x[0].x, x[1].x) && Math.max(x[0].x, x[1].x) >= Math.min(r[0].x, r[1].x) && Math.max(r[0].y, r[1].y) >= Math.min(x[0].y, x[1].y) && M(x[0], r[1], r[0]) * M(r[1], x[1], r[0]) > 0 && M(r[0], x[1], x[0]) * M(x[1], r[1], x[0]) > 0 ? 1 : 0;
|
|
46
40
|
}
|
|
47
41
|
export {
|
|
48
|
-
|
|
49
|
-
g as intersectionOfLine
|
|
42
|
+
O as intersectionOfLine
|
|
50
43
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
-
import type
|
|
2
|
+
import { type Overwrite } from '../../typings/utils.type';
|
|
3
3
|
export default function loadVideoTexture(src: string, videoElement?: HTMLVideoElement): Promise<Overwrite<THREE.VideoTexture, {
|
|
4
4
|
image: HTMLVideoElement;
|
|
5
5
|
}>>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as a from "three";
|
|
2
|
-
import { isWX as d } from "../device.js";
|
|
3
|
-
function
|
|
2
|
+
import { isWX as d, isIOS as s } from "../device.js";
|
|
3
|
+
function m(u, r) {
|
|
4
4
|
let n = !d;
|
|
5
5
|
const e = r != null ? r : document.createElement("video");
|
|
6
6
|
e.preload = "metadata", e.crossOrigin = "anonymous", e.muted = !0, e.loop = !0, e.playsInline = !0, e.autoplay = !0;
|
|
7
7
|
const t = new a.VideoTexture(e);
|
|
8
|
-
t.minFilter = a.LinearFilter, t.magFilter = a.LinearFilter, t.encoding = a.sRGBEncoding, t.metadataLoaded = !1, e.src =
|
|
8
|
+
t.minFilter = a.LinearFilter, t.magFilter = a.LinearFilter, t.encoding = a.sRGBEncoding, t.metadataLoaded = !1, e.src = u;
|
|
9
9
|
const o = () => {
|
|
10
10
|
t.metadataLoaded || (t.dispatchEvent({ type: "videoLoaded" }), t.metadataLoaded = !0);
|
|
11
11
|
};
|
|
12
12
|
if (d || (e.onloadedmetadata = () => {
|
|
13
13
|
o();
|
|
14
14
|
}), d) {
|
|
15
|
-
const
|
|
15
|
+
const i = () => {
|
|
16
16
|
if (!n) {
|
|
17
17
|
if (!e.paused) {
|
|
18
18
|
o();
|
|
@@ -23,10 +23,10 @@ function c(i, r) {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
document.addEventListener("click",
|
|
26
|
+
document.addEventListener("click", i, { once: !0 }), s && document.addEventListener("touchstart", i, { once: !0 });
|
|
27
27
|
}
|
|
28
28
|
return t;
|
|
29
29
|
}
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
m as getVideoTexture
|
|
32
32
|
};
|