@realsee/dnalogel 3.40.0-alpha.1 → 3.40.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/CHANGELOG.md +6 -0
- package/dist/GuideLinePlugin/typing.d.ts +0 -1
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
- package/dist/index.cjs.js +60 -64
- package/dist/index.js +5171 -5265
- package/dist/index.umd.js +54 -58
- package/dist/shared-utils/three/blink.d.ts +10 -3
- package/libs/CruisePlugin/Move.js +2 -3
- package/libs/CruisePlugin/Work.js +2 -3
- package/libs/CruisePlugin/index.js +6 -7
- package/libs/GuideLinePlugin/Controller.js +4 -5
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +59 -76
- package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -3
- package/libs/GuideLinePlugin/index.js +6 -7
- package/libs/GuideLinePlugin/typing.d.ts +0 -1
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +57 -123
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +125 -126
- package/libs/shared-utils/index.js +30 -29
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/blink.d.ts +10 -3
- package/libs/shared-utils/three/blink.js +85 -92
- package/package.json +4 -3
- package/README.md +0 -116
- package/dist/shared-utils/math/intersecting.d.ts +0 -25
- package/docs/.nojekyll +0 -1
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +0 -127
- package/docs/assets/main.js +0 -58
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1367
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -731
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -694
- package/docs/classes/CSS3DRender.html +0 -778
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -481
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -894
- package/docs/classes/Magnifier.html +0 -485
- package/docs/classes/ModelRoomLabelController.html +0 -403
- package/docs/classes/MoveController.html +0 -681
- package/docs/classes/Object3DHelperController.html +0 -645
- package/docs/classes/PaintBrush.html +0 -507
- package/docs/classes/PanoMeasurePluginLine.html +0 -527
- package/docs/classes/PanoMeasurePluginModel.html +0 -576
- package/docs/classes/PanoMeasurePluginPoint.html +0 -367
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -572
- package/docs/classes/PanoTagPluginController.html +0 -1132
- package/docs/classes/Util.BetterTween.html +0 -421
- package/docs/classes/Util.Interval.html +0 -437
- package/docs/classes/Util.LineSegments.html +0 -389
- package/docs/classes/Util.Magnifier.html +0 -508
- package/docs/classes/Util.Object3D.html +0 -411
- package/docs/classes/Util.PointDomHelper.html +0 -412
- package/docs/classes/Util.PointHelper.html +0 -403
- package/docs/classes/Util.PointSelectorHelper.html +0 -459
- package/docs/classes/Util.Rectangle.html +0 -460
- package/docs/classes/WalkController.html +0 -700
- package/docs/enums/CameraMovementEffect.html +0 -315
- package/docs/enums/ContentType.html +0 -461
- package/docs/enums/DIRECTION.html +0 -325
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -325
- package/docs/enums/DimensionType.html +0 -315
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -318
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -325
- package/docs/enums/PaintBrushTypeEnum.html +0 -318
- package/docs/enums/PointType.html +0 -315
- package/docs/enums/Rotation.html +0 -322
- package/docs/functions/AreaMakerPlugin.html +0 -295
- package/docs/functions/CSS3DRenderPlugin.html +0 -293
- package/docs/functions/CameraMovementPlugin.html +0 -298
- package/docs/functions/CruisePlugin.html +0 -295
- package/docs/functions/CurrentPanoImagePlugin.html +0 -295
- package/docs/functions/GuideLinePlugin.html +0 -295
- package/docs/functions/ItemLabelPlugin.html +0 -295
- package/docs/functions/MapviewFloorplanPlugin.html +0 -295
- package/docs/functions/ModelChassisCompassPlugin.html +0 -298
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -298
- package/docs/functions/ModelFloorplanPlugin.html +0 -295
- package/docs/functions/ModelItemLabelPlugin.html +0 -295
- package/docs/functions/ModelRoomLabelPlugin.html +0 -293
- package/docs/functions/ModelTVVideoPlugin.html +0 -295
- package/docs/functions/ModelViewPlugin.html +0 -298
- package/docs/functions/MovePlugin.html +0 -295
- package/docs/functions/Object3DHelperPlugin.html +0 -293
- package/docs/functions/PanoCompassPlugin.html +0 -295
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -299
- package/docs/functions/PanoDoorLabelPlugin.html +0 -295
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -295
- package/docs/functions/PanoMeasurePlugin.html +0 -295
- package/docs/functions/PanoRulerPlugin.html +0 -298
- package/docs/functions/PanoRulerProPlugin.html +0 -298
- package/docs/functions/PanoSpatialTagPlugin.html +0 -298
- package/docs/functions/PanoTagPlugin.html +0 -300
- package/docs/functions/PanoVideoPlugin.html +0 -304
- package/docs/functions/PipelinePlugin.html +0 -293
- package/docs/functions/TopviewFloorplanPlugin.html +0 -295
- package/docs/functions/Util.absoluteUrl.html +0 -331
- package/docs/functions/Util.checkFiveModelLoaded.html +0 -334
- package/docs/functions/Util.equal.html +0 -343
- package/docs/functions/Util.getCoordsFromClient.html +0 -333
- package/docs/functions/Util.getCoordsFromElement.html +0 -333
- package/docs/functions/Util.getFrameTime.html +0 -325
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -333
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -333
- package/docs/functions/Util.isAbsoluteURL.html +0 -326
- package/docs/functions/Util.isModelLike.html +0 -326
- package/docs/functions/Util.isNil.html +0 -334
- package/docs/functions/Util.isPanoramaLike.html +0 -326
- package/docs/functions/Util.nextFrame.html +0 -339
- package/docs/functions/Util.notNil.html +0 -334
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -355
- package/docs/functions/Util.tweenProgress.html +0 -328
- package/docs/functions/Util.uuid.html +0 -324
- package/docs/functions/pluginFlag.html +0 -293
- package/docs/index.html +0 -358
- package/docs/interfaces/AddTagConfig.html +0 -308
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -335
- package/docs/interfaces/AreaMakerPluginType.Config.html +0 -340
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -626
- package/docs/interfaces/AreaMakerPluginType.Params.html +0 -339
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -397
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -382
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -339
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -332
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -331
- package/docs/interfaces/AreaMakerPluginType.State.html +0 -360
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -454
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -330
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -363
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -364
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -366
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -724
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -390
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -426
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -416
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -356
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -324
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -392
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -387
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -526
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -328
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -320
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -342
- package/docs/interfaces/EventMap.html +0 -547
- package/docs/interfaces/FloorplanBounding.html +0 -337
- package/docs/interfaces/FloorplanData.html +0 -340
- package/docs/interfaces/FloorplanEntrance.html +0 -365
- package/docs/interfaces/FloorplanExtraObject.html +0 -355
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -344
- package/docs/interfaces/FloorplanFloorData.html +0 -333
- package/docs/interfaces/FloorplanImagePosition.html +0 -319
- package/docs/interfaces/FloorplanObserver.html +0 -337
- package/docs/interfaces/FloorplanOutlineItem.html +0 -333
- package/docs/interfaces/FloorplanPosition.html +0 -319
- package/docs/interfaces/FloorplanRoomItem.html +0 -407
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -325
- package/docs/interfaces/FloorplanServerBounding.html +0 -337
- package/docs/interfaces/FloorplanServerComputedData.html +0 -336
- package/docs/interfaces/FloorplanServerData.html +0 -319
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -336
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -322
- package/docs/interfaces/FloorplanServerEntrance.html +0 -365
- package/docs/interfaces/FloorplanServerFloorData.html +0 -333
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -319
- package/docs/interfaces/FloorplanServerObserver.html +0 -337
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -333
- package/docs/interfaces/FloorplanServerPosition.html +0 -319
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -419
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -325
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -328
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -367
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -531
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -362
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -353
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -452
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -342
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -352
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -522
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -349
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -532
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -314
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -335
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -360
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -376
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -358
- package/docs/interfaces/HelperOffset.html +0 -337
- package/docs/interfaces/ImagePlaneGroup.html +0 -311
- package/docs/interfaces/ItemLabelPluginData.html +0 -308
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -393
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -329
- package/docs/interfaces/MinMax.html +0 -315
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -315
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -351
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -315
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -322
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -359
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -308
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -393
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -315
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -308
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -329
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -353
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -308
- package/docs/interfaces/ModelViewPluginExportType.html +0 -421
- package/docs/interfaces/Object3DHelperState.html +0 -322
- package/docs/interfaces/ObjectHelperControllers.html +0 -329
- package/docs/interfaces/PaintBrushAction.html +0 -368
- package/docs/interfaces/PaintBrushConfigs.html +0 -366
- package/docs/interfaces/PaintBrushState.html +0 -350
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -430
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -287
- package/docs/interfaces/PanoMeasureParameterType.html +0 -454
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -322
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -319
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -315
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -325
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -382
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -331
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -322
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -358
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -328
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -315
- package/docs/interfaces/PanoRulerProPluginState.html +0 -322
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -301
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -290
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -358
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -340
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -436
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -336
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -357
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -343
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -336
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -328
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -346
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -319
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -425
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -319
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -354
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -373
- package/docs/interfaces/Point.html +0 -322
- package/docs/interfaces/Room.html +0 -329
- package/docs/interfaces/RoomInfo.html +0 -315
- package/docs/interfaces/RoomLabel.html +0 -391
- package/docs/interfaces/RoomRules.html +0 -290
- package/docs/interfaces/Rooms.html +0 -290
- package/docs/interfaces/Scissor.html +0 -349
- package/docs/interfaces/State.html +0 -336
- package/docs/interfaces/TagCacheInterface.html +0 -367
- package/docs/interfaces/TagConfig.html +0 -570
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -311
- package/docs/interfaces/TagIconUrl.html +0 -368
- package/docs/interfaces/TagObjectGroup.html +0 -311
- package/docs/interfaces/TagStyle.html +0 -321
- package/docs/interfaces/Tags.html +0 -2825
- package/docs/interfaces/TemporaryState.html +0 -308
- package/docs/interfaces/Util.MagnifierParameter.html +0 -396
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -355
- package/docs/interfaces/Util.PointIntersection.html +0 -370
- package/docs/modules/AreaMakerPluginType.html +0 -330
- package/docs/modules/CruisePluginTypes.html +0 -333
- package/docs/modules/CurrentPanoImagePluginType.html +0 -302
- package/docs/modules/GuideLineItem.html +0 -294
- package/docs/modules/GuideLineModeItem.html +0 -299
- package/docs/modules/GuideLinePluginType.html +0 -355
- package/docs/modules/PanoVideoPluginType.html +0 -306
- package/docs/modules/Util.html +0 -356
- package/docs/modules.html +0 -564
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -359
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -325
- package/docs/types/AreaMakerPluginType.PluginData.html +0 -307
- package/docs/types/AreaMakerPluginType.ServerData.html +0 -307
- package/docs/types/ArrayPosition.html +0 -284
- package/docs/types/AudioAppearance.html +0 -284
- package/docs/types/AudioTagTypeConfigKey.html +0 -284
- package/docs/types/CSS3DRenderExportType.html +0 -284
- package/docs/types/CSS3DRenderPluginExportType.html +0 -284
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -284
- package/docs/types/ClassFunctionParameters.html +0 -291
- package/docs/types/Color.html +0 -284
- package/docs/types/ContentTypeConfigKey.html +0 -284
- package/docs/types/ContentTypeConfigKeySplit.html +0 -284
- package/docs/types/ContentTypeMap.html +0 -284
- package/docs/types/Create3DDomContainerReturnType.html +0 -284
- package/docs/types/Create3DElementReturnType.html +0 -284
- package/docs/types/CruisePluginExportType.html +0 -284
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -323
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -300
- package/docs/types/CurrentPanoImagePluginExportType.html +0 -284
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -296
- package/docs/types/DeprecatedTagProperty.html +0 -299
- package/docs/types/Direction-1.html +0 -284
- package/docs/types/Direction4.html +0 -284
- package/docs/types/ElementRenderer.html +0 -308
- package/docs/types/FloorplanRuleLabels.html +0 -287
- package/docs/types/FloorplanServerRuleLabels.html +0 -284
- package/docs/types/GuideLinePluginExportType.html +0 -284
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -357
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -378
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -311
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -314
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -314
- package/docs/types/GuideLinePluginType.PathItem.html +0 -314
- package/docs/types/GuideLinePluginType.PluginData.html +0 -323
- package/docs/types/HelperEventMap.html +0 -429
- package/docs/types/InternalHelperEventMap.html +0 -380
- package/docs/types/LoadTagConfig.html +0 -284
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -284
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -284
- package/docs/types/MediaData.html +0 -305
- package/docs/types/MediaStore.html +0 -289
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -291
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -284
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -284
- package/docs/types/ModelId.html +0 -284
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -284
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -284
- package/docs/types/MoveArgs.html +0 -294
- package/docs/types/MoveOpts.html +0 -292
- package/docs/types/Object3DHelperEventMap.html +0 -377
- package/docs/types/ObjectFit.html +0 -284
- package/docs/types/PaintBrushEventMap.html +0 -315
- package/docs/types/PanoCompassPluginData.html +0 -284
- package/docs/types/PanoCompassPluginExportType.html +0 -284
- package/docs/types/PanoCompassPluginParameterType.html +0 -284
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -284
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -284
- package/docs/types/PanoIndex.html +0 -284
- package/docs/types/PanoMeasurePluginEvent.html +0 -284
- package/docs/types/PanoMeasureReturnType.html +0 -284
- package/docs/types/PanoSpatialTagPluginId.html +0 -284
- package/docs/types/PanoTagPluginExportInterface.html +0 -284
- package/docs/types/PanoTagPluginParamsInterface.html +0 -284
- package/docs/types/PanoVideoPluginParameterType.html +0 -284
- package/docs/types/PanoVideoPluginReturnType.html +0 -284
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -292
- package/docs/types/PipelinePluginParameterType.html +0 -284
- package/docs/types/PipelinePluginReturnType.html +0 -284
- package/docs/types/PlaneTag.html +0 -292
- package/docs/types/Point2DTag.html +0 -292
- package/docs/types/Point3DTag.html +0 -292
- package/docs/types/PointTag.html +0 -289
- package/docs/types/PointTagInstance.html +0 -289
- package/docs/types/Position.html +0 -284
- package/docs/types/RotateArgs.html +0 -296
- package/docs/types/RotateOpts.html +0 -292
- package/docs/types/RuleLabelsKey.html +0 -284
- package/docs/types/RuleLabelsValue.html +0 -284
- package/docs/types/StickType.html +0 -284
- package/docs/types/Tag.html +0 -350
- package/docs/types/Tag2D.html +0 -292
- package/docs/types/Tag3D.html +0 -292
- package/docs/types/TagConfigByKey.html +0 -289
- package/docs/types/TagContentType.html +0 -284
- package/docs/types/TagContentTypeMapping.html +0 -284
- package/docs/types/TagDimensionType.html +0 -286
- package/docs/types/TagElement.html +0 -294
- package/docs/types/TagEvents.html +0 -337
- package/docs/types/TagGLTFObject.html +0 -307
- package/docs/types/TagHooks.html +0 -284
- package/docs/types/TagId.html +0 -284
- package/docs/types/TagInstance.html +0 -362
- package/docs/types/TagPointType.html +0 -287
- package/docs/types/TagRendererMap.html +0 -291
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -284
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -284
- package/docs/types/WorkCode.html +0 -284
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -294
- package/docs/variables/PLUGIN.html +0 -284
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -287
- package/docs/variables/ROOM_TYPE_MAP.html +0 -294
- package/docs/variables/defaultGlobalConfig.html +0 -284
- package/docs/variables/itemLabelPluginServerParams.html +0 -291
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -291
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -291
- package/libs/shared-utils/math/intersecting.d.ts +0 -25
- package/libs/shared-utils/math/intersecting.js +0 -25
|
@@ -1,151 +1,85 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Vector3 as
|
|
3
|
-
import { polylineNormals as
|
|
4
|
-
import { lineIsIntersecting as lt, findIntersectingOfLines as ut } from "../../shared-utils/math/intersecting.js";
|
|
1
|
+
import * as o from "three";
|
|
2
|
+
import { Vector3 as z } from "three";
|
|
3
|
+
import { polylineNormals as Y } from "../../vendor/polyline-normals/index.js";
|
|
5
4
|
import "../../vendor/polyline-miter-util/index.js";
|
|
6
5
|
import "../../vendor/gl-vec2/add.js";
|
|
7
6
|
import "../../vendor/gl-vec2/set.js";
|
|
8
7
|
import "../../vendor/gl-vec2/normalize.js";
|
|
9
8
|
import "../../vendor/gl-vec2/subtract.js";
|
|
10
9
|
import "../../vendor/gl-vec2/dot.js";
|
|
11
|
-
const
|
|
12
|
-
function
|
|
13
|
-
const
|
|
14
|
-
if (
|
|
15
|
-
return { geometry: new
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
|
|
10
|
+
const Z = 2, $ = 3, j = 3, q = 2;
|
|
11
|
+
function at(n) {
|
|
12
|
+
const _ = n.width, w = n.unitLength, f = _ / 2, x = n.path;
|
|
13
|
+
if (x.length === 0)
|
|
14
|
+
return { geometry: new o.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
|
|
15
|
+
const u = new o.CurvePath();
|
|
16
|
+
x.forEach((t) => {
|
|
17
|
+
const c = J(t);
|
|
18
|
+
c && u.add(c);
|
|
20
19
|
});
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const st = at(I.map((t) => [t.x, t.z])), ct = (d - 1) * ft * ht, j = 2 * d, it = j * mt, rt = j * pt, y = new Uint32Array(ct), e = new Float32Array(it), T = new Float32Array(rt), J = P.getLength();
|
|
27
|
-
let R = 0, K = 0, Q = {};
|
|
28
|
-
const k = i.path[0].points.map((t) => new r.Vector3().fromArray(t)), W = i.path[0].panoIndexList ? [...i.path[0].panoIndexList] : void 0, tt = (() => {
|
|
20
|
+
const T = Math.ceil(u.getLength() * 100);
|
|
21
|
+
u.arcLengthDivisions = T;
|
|
22
|
+
const s = u.getPoints(T), V = s.length, X = Y(s.map((t) => [t.x, t.z])), O = (V - 1) * Z * $, C = 2 * V, S = C * j, W = C * q, r = new Uint32Array(O), a = new Float32Array(S), d = new Float32Array(W), B = u.getLength();
|
|
23
|
+
let l = 0, D = 0, M = {};
|
|
24
|
+
const v = n.path[0].points.map((t) => new o.Vector3().fromArray(t)), y = n.path[0].panoIndexList ? [...n.path[0].panoIndexList] : void 0, k = (() => {
|
|
29
25
|
const t = [];
|
|
30
|
-
for (let
|
|
31
|
-
const
|
|
32
|
-
if (
|
|
26
|
+
for (let e = 0; e < v.length; e++) {
|
|
27
|
+
const i = v[e];
|
|
28
|
+
if (e === 0)
|
|
33
29
|
t.push(0);
|
|
34
30
|
else {
|
|
35
|
-
const
|
|
36
|
-
t.push(
|
|
31
|
+
const h = v[e - 1];
|
|
32
|
+
t.push(i.distanceTo(h) + t[e - 1]);
|
|
37
33
|
}
|
|
38
34
|
}
|
|
39
|
-
const
|
|
40
|
-
for (let
|
|
41
|
-
const
|
|
42
|
-
|
|
35
|
+
const c = t.at(-1), g = [];
|
|
36
|
+
for (let e = 0; e < t.length; e++) {
|
|
37
|
+
const i = t[e], h = e === 0 ? 0 : t[e - 1], P = e === t.length - 1 ? c : t[e + 1], m = i - Math.min(0.3, (i - h) / 2), p = i + Math.min(0.3, (P - i) / 2);
|
|
38
|
+
g.push([B * (m / c), B * (p / c)]);
|
|
43
39
|
}
|
|
44
|
-
return
|
|
40
|
+
return g;
|
|
45
41
|
})();
|
|
46
|
-
let
|
|
47
|
-
for (let t = 0; t <
|
|
48
|
-
const [
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
42
|
+
let E = [];
|
|
43
|
+
for (let t = 0; t < s.length; t++) {
|
|
44
|
+
const [c, g] = X[t][0], e = s[t], { x: i, y: h, z: P } = e, m = new z(i + c * f, h + 0.05, P + g * f);
|
|
45
|
+
a[t * 6 + 0] = m.x, a[t * 6 + 1] = m.y, a[t * 6 + 2] = m.z;
|
|
46
|
+
const p = new z(i - c * f, h + 0.05, P - g * f);
|
|
47
|
+
a[t * 6 + 3] = p.x, a[t * 6 + 4] = p.y, a[t * 6 + 5] = p.z, l += t > 0 ? s[t - 1].clone().sub(s[t]).length() : 0;
|
|
48
|
+
const L = l / w;
|
|
49
|
+
D = L, d[t * 4 + 0] = 0, d[t * 4 + 1] = L, d[t * 4 + 2] = 1, d[t * 4 + 3] = L;
|
|
50
|
+
const I = new o.Vector3().lerpVectors(m, p, 0.5);
|
|
51
|
+
if (n.skipPositions && n.skipPositions.some((N) => N.distanceTo(I) < 0.26))
|
|
56
52
|
continue;
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
59
|
-
const
|
|
60
|
-
if (
|
|
61
|
-
distance:
|
|
53
|
+
const U = v[0];
|
|
54
|
+
if (n.useAutoDepthTest && U && y) {
|
|
55
|
+
const R = y[0], [N, F] = k[0];
|
|
56
|
+
if (l > N && l < F && E.push({
|
|
57
|
+
distance: U.distanceTo(I),
|
|
62
58
|
index: t
|
|
63
|
-
}),
|
|
64
|
-
const
|
|
65
|
-
if (
|
|
66
|
-
|
|
59
|
+
}), l >= F || t === s.length - 1) {
|
|
60
|
+
const H = Math.min(...E.map((b) => b.distance)), G = E.find((b) => b.distance === H);
|
|
61
|
+
if (E = [], v.shift(), y.shift(), k.shift(), G)
|
|
62
|
+
M[R] = G.index;
|
|
67
63
|
else {
|
|
68
|
-
console.error(`can not find the min distance ${
|
|
64
|
+
console.error(`can not find the min distance ${R}`);
|
|
69
65
|
continue;
|
|
70
66
|
}
|
|
71
67
|
}
|
|
72
68
|
}
|
|
73
|
-
t !==
|
|
69
|
+
t !== s.length - 1 && (r[t * 6 + 0] = t * 2 + 0, r[t * 6 + 1] = t * 2 + 2, r[t * 6 + 2] = t * 2 + 1, r[t * 6 + 3] = t * 2 + 2, r[t * 6 + 4] = t * 2 + 3, r[t * 6 + 5] = t * 2 + 1);
|
|
74
70
|
}
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
const Z = [];
|
|
78
|
-
for (let t = 0; t < d - 1; t++) {
|
|
79
|
-
if (H !== void 0 && t <= H)
|
|
80
|
-
continue;
|
|
81
|
-
const n = t + 1, p = {
|
|
82
|
-
x: e[t * 6 + 0],
|
|
83
|
-
y: e[t * 6 + 2]
|
|
84
|
-
}, s = {
|
|
85
|
-
x: e[t * 6 + 3],
|
|
86
|
-
y: e[t * 6 + 5]
|
|
87
|
-
}, u = {
|
|
88
|
-
x: e[n * 6 + 0],
|
|
89
|
-
y: e[n * 6 + 2]
|
|
90
|
-
}, f = {
|
|
91
|
-
x: e[n * 6 + 3],
|
|
92
|
-
y: e[n * 6 + 5]
|
|
93
|
-
}, E = lt([p, s], [u, f]);
|
|
94
|
-
if (E && x.push(t), !E && x.length) {
|
|
95
|
-
x.push(t);
|
|
96
|
-
const a = new r.Vector2(p.x, p.y).distanceTo(new r.Vector2(u.x, u.y)), l = new r.Vector2(s.x, s.y).distanceTo(new r.Vector2(f.x, f.y)), w = [], _ = [], h = Math.max(0, x[0] - N * 200), C = x[0];
|
|
97
|
-
for (let c = h; c < C; c++)
|
|
98
|
-
a < l ? w.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : w.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
|
|
99
|
-
const L = x.at(-1), g = x.at(-1) + N * 200;
|
|
100
|
-
for (let c = L; c < g; c++)
|
|
101
|
-
a < l ? _.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : _.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
|
|
102
|
-
const U = ut(w, _);
|
|
103
|
-
if (U) {
|
|
104
|
-
const {
|
|
105
|
-
line1RelativeIndex: c,
|
|
106
|
-
line2RelativeIndex: M,
|
|
107
|
-
x: et,
|
|
108
|
-
y: nt
|
|
109
|
-
} = U, A = h + c, v = L + M + 2;
|
|
110
|
-
for (let o = A; o < v; o++)
|
|
111
|
-
a < l ? (e[o * 6 + 0] = et, e[o * 6 + 2] = nt) : (e[o * 6 + 3] = et, e[o * 6 + 5] = nt), H = o;
|
|
112
|
-
let V, Y, X, z, m;
|
|
113
|
-
a < l ? (V = e[h * 6 + 1], Y = e[A * 6 + 1], X = e[v * 6 + 1], z = e[g * 6 + 1], m = (Y + X) / 2) : (V = e[h * 6 + 4], Y = e[A * 6 + 4], X = e[v * 6 + 4], z = e[g * 6 + 4], m = (Y + X) / 2);
|
|
114
|
-
for (let o = h; o < A; o++) {
|
|
115
|
-
const $ = A - h, D = (o - h) / $;
|
|
116
|
-
a < l ? e[o * 6 + 1] = V + (m - V) * D : e[o * 6 + 4] = V + (m - V) * D;
|
|
117
|
-
}
|
|
118
|
-
for (let o = A; o < v; o++)
|
|
119
|
-
a < l ? e[o * 6 + 1] = m : e[o * 6 + 4] = m;
|
|
120
|
-
for (let o = v; o < g; o++) {
|
|
121
|
-
const $ = g - v, D = (o - v + 1) / $;
|
|
122
|
-
a < l ? e[o * 6 + 1] = m + (z - m) * D : e[o * 6 + 4] = m + (z - m) * D;
|
|
123
|
-
}
|
|
124
|
-
Z.push({
|
|
125
|
-
start: A,
|
|
126
|
-
end: v
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
x.length = 0;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
const B = new Float32Array(j);
|
|
133
|
-
Z.forEach((t) => {
|
|
134
|
-
for (let n = 0; n < d - 1; n++)
|
|
135
|
-
n >= t.start && n <= t.end ? (B[n * 2 + 0] = 1, B[n * 2 + 1] = 1) : B[n] !== 1 && (B[n * 2 + 0] = 0, B[n * 2 + 1] = 0);
|
|
136
|
-
});
|
|
137
|
-
const S = new r.BufferGeometry();
|
|
138
|
-
return S.setAttribute("position", new r.BufferAttribute(e, 3)), S.setAttribute("uv", new r.BufferAttribute(T, 2)), S.setIndex(new r.BufferAttribute(y, 1)), { geometry: S, maxV: K, animationWillError: Z, curvePath: P, curvePoints: I, panoMap: Q, totalLength: R };
|
|
71
|
+
const A = new o.BufferGeometry();
|
|
72
|
+
return A.setAttribute("position", new o.BufferAttribute(a, 3)), A.setAttribute("uv", new o.BufferAttribute(d, 2)), A.setIndex(new o.BufferAttribute(r, 1)), { geometry: A, maxV: D, curvePath: u, curvePoints: s, panoMap: M, totalLength: l };
|
|
139
73
|
}
|
|
140
|
-
function
|
|
141
|
-
if (
|
|
142
|
-
const
|
|
143
|
-
return new
|
|
74
|
+
function J(n) {
|
|
75
|
+
if (K(n)) {
|
|
76
|
+
const _ = [n.closed, n.curve_type, n.tension], w = n.points.map((x) => new o.Vector3().fromArray(x));
|
|
77
|
+
return new o.CatmullRomCurve3(w, ..._);
|
|
144
78
|
}
|
|
145
79
|
}
|
|
146
|
-
function
|
|
147
|
-
return
|
|
80
|
+
function K(n) {
|
|
81
|
+
return n.type === "CatmullRomCurve3";
|
|
148
82
|
}
|
|
149
83
|
export {
|
|
150
|
-
|
|
84
|
+
at as createLineGeometry
|
|
151
85
|
};
|
|
@@ -446,7 +446,7 @@ class Ni extends j {
|
|
|
446
446
|
updateRender: () => {
|
|
447
447
|
this.five.needsRender = !0;
|
|
448
448
|
}
|
|
449
|
-
}, t)), s === !1 && (i.enabled = !1), o === !1 && this.setVisible(i), this.updateTag(i), this.updateDomView(), n === !1 && (i.dom && (i.dom.style.visibility = ""), i.contentDom && (i.contentDom.style.visibility = ""));
|
|
449
|
+
}, t)).finished, s === !1 && (i.enabled = !1), o === !1 && this.setVisible(i), this.updateTag(i), this.updateDomView(), n === !1 && (i.dom && (i.dom.style.visibility = ""), i.contentDom && (i.contentDom.style.visibility = ""));
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
452
|
/**
|
package/libs/base/BasePlugin.js
CHANGED
package/libs/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
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 { Sculpt as
|
|
38
|
-
import { ModelMakerPlugin as
|
|
39
|
-
import { index as
|
|
40
|
-
import { CSS3DRender as
|
|
41
|
-
import { Model as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { Polyline as
|
|
45
|
-
import { Magnifier as
|
|
46
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { ModelItemLabelPlugin as
|
|
48
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
49
|
-
import { Plugin as
|
|
50
|
-
import { GuideLineItem$1 as
|
|
51
|
-
import { GuideLineModeItem$1 as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { typing as
|
|
55
|
-
import { default as
|
|
56
|
-
import { defaultGlobalConfig as
|
|
57
|
-
import { ContentType as
|
|
58
|
-
import { Object3DHelperController as
|
|
59
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as il } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as pl } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as ll } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as al } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as ul } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as xl, modelRoomLabelPluginServerParams as gl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as dl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Tl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Cl } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as El } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Rl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Ol, ROOM_FETILE_TYPE_MAP as yl, ROOM_TYPE_MAP as Al } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Gl } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as vl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Yl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Vl, Rotation as Nl } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as kl } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Bl } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Ul } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as $l } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as ql } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Jl } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Ql } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Zl } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as rn } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as mn } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as en } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as nn, MovePlugin as an } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as un } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as xn } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as sn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Mn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as Ln } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as _n } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as In, SculptPlugin as Rn } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as On } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as An } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as Gn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as vn } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as Yn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as Vn } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as hn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as wn } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as Hn } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as jn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Wn } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as zn } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as Kn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as Xn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as oa, default as ra } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as ia } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as pa } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as la, pluginFlag as na } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as Pa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as fa, DimensionType as xa, PointType as ga } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as da, PLUGIN as Ma } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as La } from "./PanoVideoPlugin/typings/index.js";
|
|
60
60
|
import "./components/PaintBrush/Controller.js";
|
|
61
61
|
import "./components/PaintBrush/utils.js";
|
|
62
62
|
import "./components/PaintBrush/tween.js";
|
|
@@ -265,7 +265,6 @@ import "./vendor/gl-vec2/set.js";
|
|
|
265
265
|
import "./vendor/gl-vec2/normalize.js";
|
|
266
266
|
import "./vendor/gl-vec2/subtract.js";
|
|
267
267
|
import "./vendor/gl-vec2/dot.js";
|
|
268
|
-
import "./shared-utils/math/intersecting.js";
|
|
269
268
|
import "./shared-utils/five/mode.js";
|
|
270
269
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
271
270
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
@@ -489,72 +488,72 @@ import "./shared-utils/three/getIntersect.js";
|
|
|
489
488
|
r();
|
|
490
489
|
o();
|
|
491
490
|
export {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
491
|
+
Ln as AreaMakerPlugin,
|
|
492
|
+
Gn as CSS3DRender,
|
|
493
|
+
al as CSS3DRenderPlugin,
|
|
494
|
+
Vl as CameraMovementEffect,
|
|
495
|
+
Yl as CameraMovementPlugin,
|
|
496
|
+
fa as ContentType,
|
|
497
|
+
nn as CruisePlugin,
|
|
498
|
+
oa as CruisePluginController,
|
|
499
|
+
pa as CruisePluginTypes,
|
|
500
|
+
_n as CurrentPanoImagePlugin,
|
|
501
|
+
Zl as DIRECTION,
|
|
502
|
+
Hn as DISPLAY_STRATEGY_TYPE,
|
|
503
|
+
xa as DimensionType,
|
|
504
|
+
dl as FLOOR_PLAN_ATTACHED_TO,
|
|
505
|
+
Ol as FLOOR_TYPE_MAP,
|
|
506
|
+
Kn as GuideLineItem,
|
|
507
|
+
Xn as GuideLineModeItem,
|
|
508
|
+
en as GuideLinePlugin,
|
|
509
|
+
Wn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
510
|
+
zn as ItemLabelPlugin,
|
|
511
|
+
wn as Magnifier,
|
|
512
|
+
Cl as MapviewFloorplanPlugin,
|
|
513
|
+
Gl as ModelChassisCompassPlugin,
|
|
514
|
+
vl as ModelEntryDoorGuidePlugin,
|
|
515
|
+
Tl as ModelFloorplanPlugin,
|
|
516
|
+
jn as ModelItemLabelPlugin,
|
|
517
|
+
On as ModelMakerPlugin,
|
|
518
|
+
xl as ModelRoomLabelPlugin,
|
|
519
|
+
Ql as ModelTVVideoPlugin,
|
|
520
|
+
ll as ModelViewPlugin,
|
|
521
|
+
ia as MoveController,
|
|
522
|
+
an as MovePlugin,
|
|
523
|
+
da as Object3DHelperController,
|
|
524
|
+
xn as Object3DHelperPlugin,
|
|
525
|
+
Ma as PLUGIN,
|
|
526
|
+
il as PaintBrush,
|
|
527
|
+
pl as PaintBrushTypeEnum,
|
|
528
|
+
Ul as PanoCompassPlugin,
|
|
529
|
+
ul as PanoCursorRaycasterPlugin,
|
|
530
|
+
mn as PanoDoorLabelPlugin,
|
|
531
|
+
Rl as PanoFloorplanRadarPlugin,
|
|
532
|
+
$l as PanoMeasurePlugin,
|
|
533
|
+
Vn as PanoMeasurePluginLine,
|
|
534
|
+
vn as PanoMeasurePluginModel,
|
|
535
|
+
Yn as PanoMeasurePluginPoint,
|
|
536
|
+
hn as PanoMeasurePluginPolyline,
|
|
537
|
+
kl as PanoRulerPlugin,
|
|
538
|
+
Bl as PanoRulerProPlugin,
|
|
539
|
+
ql as PanoSpatialTagPlugin,
|
|
540
|
+
un as PanoTagPlugin,
|
|
541
|
+
la as PanoTagPluginController,
|
|
542
|
+
sn as PanoVideoPlugin,
|
|
543
|
+
La as PanoVideoPluginType,
|
|
544
|
+
Mn as PipelinePlugin,
|
|
545
|
+
ga as PointType,
|
|
546
|
+
yl as ROOM_FETILE_TYPE_MAP,
|
|
547
|
+
Al as ROOM_TYPE_MAP,
|
|
548
|
+
Nl as Rotation,
|
|
549
|
+
In as Sculpt,
|
|
550
|
+
Rn as SculptPlugin,
|
|
551
|
+
El as TopviewFloorplanPlugin,
|
|
552
|
+
An as Util,
|
|
553
|
+
ra as WalkController,
|
|
554
|
+
Pa as defaultGlobalConfig,
|
|
555
|
+
rn as itemLabelPluginServerParams,
|
|
556
|
+
Jl as modelItemLabelPluginServerParams,
|
|
557
|
+
gl as modelRoomLabelPluginServerParams,
|
|
558
|
+
na as pluginFlag
|
|
560
559
|
};
|
|
@@ -6,50 +6,51 @@ import { getCoordsFromClient as m, getCoordsFromElement as i } from "./three/get
|
|
|
6
6
|
import { getRaycasterFromFivePointer as n } from "./three/getRaycaster.js";
|
|
7
7
|
import { getIntersectFromRelativePosition as p } from "./three/getIntersect.js";
|
|
8
8
|
import { PointHelper as l } from "./three/PointHelper.js";
|
|
9
|
-
import { PointDomHelper as
|
|
10
|
-
import { PointSelectorHelper as
|
|
9
|
+
import { PointDomHelper as a } from "./three/PointDomHelper.js";
|
|
10
|
+
import { PointSelectorHelper as f } from "./three/PointSelectorHelper.js";
|
|
11
11
|
import { Object3D as s } from "./three/core/Object3D.js";
|
|
12
12
|
import { LineSegments as g } from "./three/objects/LineSegments.js";
|
|
13
|
-
import {
|
|
14
|
-
import { isNil as
|
|
15
|
-
import { uuid as
|
|
16
|
-
import { absoluteUrl as
|
|
17
|
-
import { awaitNextFrame as
|
|
18
|
-
import { equal as
|
|
19
|
-
import { isModelLike as
|
|
20
|
-
import { BetterTween as
|
|
21
|
-
const
|
|
13
|
+
import { animeMap as c, blink as d, reblink as F } from "./three/blink.js";
|
|
14
|
+
import { isNil as u, notNil as b } from "./isNil.js";
|
|
15
|
+
import { uuid as P } from "./uuid.js";
|
|
16
|
+
import { absoluteUrl as v, isAbsoluteURL as k } from "./url/absoluteUrl.js";
|
|
17
|
+
import { awaitNextFrame as L, getFrameTime as M, nextFrame as x, requestAnimationFrameInterval as R } from "./animationFrame/index.js";
|
|
18
|
+
import { equal as S } from "./equal.js";
|
|
19
|
+
import { isModelLike as _, isPanoramaLike as j } from "./five/mode.js";
|
|
20
|
+
import { BetterTween as w, tweenProgress as y } from "./animationFrame/BetterTween.js";
|
|
21
|
+
const X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22
22
|
__proto__: null,
|
|
23
|
-
BetterTween:
|
|
23
|
+
BetterTween: w,
|
|
24
24
|
Interval: o,
|
|
25
25
|
LineSegments: g,
|
|
26
26
|
Magnifier: t,
|
|
27
27
|
Object3D: s,
|
|
28
|
-
PointDomHelper:
|
|
28
|
+
PointDomHelper: a,
|
|
29
29
|
PointHelper: l,
|
|
30
|
-
PointSelectorHelper:
|
|
30
|
+
PointSelectorHelper: f,
|
|
31
31
|
Rectangle: r,
|
|
32
|
-
absoluteUrl:
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
absoluteUrl: v,
|
|
33
|
+
animeMap: c,
|
|
34
|
+
awaitNextFrame: L,
|
|
35
|
+
blink: d,
|
|
35
36
|
checkFiveModelLoaded: e,
|
|
36
|
-
equal:
|
|
37
|
+
equal: S,
|
|
37
38
|
getCoordsFromClient: m,
|
|
38
39
|
getCoordsFromElement: i,
|
|
39
|
-
getFrameTime:
|
|
40
|
+
getFrameTime: M,
|
|
40
41
|
getIntersectFromRelativePosition: p,
|
|
41
42
|
getRaycasterFromFivePointer: n,
|
|
42
|
-
isAbsoluteURL:
|
|
43
|
-
isModelLike:
|
|
44
|
-
isNil:
|
|
45
|
-
isPanoramaLike:
|
|
43
|
+
isAbsoluteURL: k,
|
|
44
|
+
isModelLike: _,
|
|
45
|
+
isNil: u,
|
|
46
|
+
isPanoramaLike: j,
|
|
46
47
|
nextFrame: x,
|
|
47
|
-
notNil:
|
|
48
|
-
reblink:
|
|
49
|
-
requestAnimationFrameInterval:
|
|
50
|
-
tweenProgress:
|
|
51
|
-
uuid:
|
|
48
|
+
notNil: b,
|
|
49
|
+
reblink: F,
|
|
50
|
+
requestAnimationFrameInterval: R,
|
|
51
|
+
tweenProgress: y,
|
|
52
|
+
uuid: P
|
|
52
53
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
53
54
|
export {
|
|
54
|
-
|
|
55
|
+
X as index
|
|
55
56
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.40.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.40.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",
|
|
@@ -11,7 +11,14 @@ interface BlinkAnimeOptions extends anime.AnimeParams {
|
|
|
11
11
|
interface ReBlinkAnimeOptions extends BlinkAnimeOptions {
|
|
12
12
|
maxOpacity?: number;
|
|
13
13
|
}
|
|
14
|
+
interface AnimeInstance extends anime.AnimeInstance {
|
|
15
|
+
/**
|
|
16
|
+
* @description 提前结束动画
|
|
17
|
+
*/
|
|
18
|
+
preComplete: () => void;
|
|
19
|
+
}
|
|
14
20
|
type Target = HTMLElement | THREE.Object3D;
|
|
21
|
+
declare const animeMap: Map<Target | Target[], AnimeInstance>;
|
|
15
22
|
/**
|
|
16
23
|
* @description 闪烁一个物体/Dom
|
|
17
24
|
* @param animeOptions https://animejs.com/documentation/
|
|
@@ -23,12 +30,12 @@ type Target = HTMLElement | THREE.Object3D;
|
|
|
23
30
|
* blink(document.getElementById('id'), { loop: 5 * 2 })
|
|
24
31
|
* ```
|
|
25
32
|
*/
|
|
26
|
-
declare function blink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions):
|
|
33
|
+
declare function blink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions): AnimeInstance;
|
|
27
34
|
/**
|
|
28
35
|
* @description 闪烁一个不可见的物体/Dom
|
|
29
36
|
*
|
|
30
37
|
* 适用于物体/Dom在初始状态不可见的情况,闪烁完成后的状态为初始不可见的状态
|
|
31
38
|
* @param animeOptions https://animejs.com/documentation/
|
|
32
39
|
*/
|
|
33
|
-
declare function reblink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions):
|
|
34
|
-
export { blink, reblink, type BlinkAnimeOptions, type ReBlinkAnimeOptions };
|
|
40
|
+
declare function reblink(objects: Target | Target[], animeOptions?: BlinkAnimeOptions): AnimeInstance;
|
|
41
|
+
export { blink, reblink, animeMap, type BlinkAnimeOptions, type ReBlinkAnimeOptions, type AnimeInstance };
|