@realsee/dnalogel 3.42.0-alpha-tag.45 → 3.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -6
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +14 -0
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +4 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +4 -4
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +3 -2
- package/dist/index.cjs.js +50 -50
- package/dist/index.js +3307 -3270
- package/dist/index.umd.js +42 -42
- 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.js +2 -3
- package/libs/GuideLinePlugin/index.js +6 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +46 -51
- package/libs/PanoTagPlugin/Components/Tag/index.js +204 -200
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +25 -26
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +14 -0
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +245 -213
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +24 -21
- package/libs/PanoTagPlugin/controller/TagRender.js +2 -3
- package/libs/PanoTagPlugin/controller/index.d.ts +4 -4
- package/libs/PanoTagPlugin/controller/index.js +21 -22
- package/libs/PanoTagPlugin/index.js +11 -12
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -3
- package/libs/PipelinePlugin/utils/formatData.js +16 -16
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +125 -126
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +3 -2
- package/README.md +0 -116
- package/dist/PanoTagPlugin/utils/tag/canVisibleInModel.d.ts +0 -2
- 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/PanoTagPlugin/utils/tag/canVisibleInModel.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/canVisibleInModel.js +0 -30
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 dl } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Tl } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Cl } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as El } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Rl } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Ol, modelRoomLabelPluginServerParams as yl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as Dl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as bl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Fl } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as cl } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Nl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as kl, ROOM_FETILE_TYPE_MAP as wl, ROOM_TYPE_MAP as Bl } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Ul } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as $l } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as ql } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Jl, Rotation as Kl } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Xl } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as on } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as tn } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as pn } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as ln } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as an } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as un } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as xn } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as sn } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as Mn } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as Ln } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as _n, MovePlugin as En } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Rn } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as On } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as An } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Gn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as vn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as Yn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as Vn, SculptPlugin as Nn } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as kn } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as Bn } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as Un } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as $n } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as qn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as Jn } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as Qn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as Zn } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as ra } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as ia } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as pa } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as la } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as aa } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as ua } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as xa, default as ga } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as da } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as Ta } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as Ca, pluginFlag as _a } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as Ia } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as Sa, DimensionType as Oa, PointType as ya } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as Da, PLUGIN as Ga } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as va } 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";
|
|
@@ -365,7 +365,6 @@ import "./shared-utils/url/getUrl.js";
|
|
|
365
365
|
import "./shared-utils/five/getFloorIndex.js";
|
|
366
366
|
import "./PanoTagPlugin/utils/Cache.js";
|
|
367
367
|
import "./CruisePlugin/utils/sleep.js";
|
|
368
|
-
import "./PanoTagPlugin/utils/tag/canVisibleInModel.js";
|
|
369
368
|
import "./PanoTagPlugin/controller/TagUtil.js";
|
|
370
369
|
import "./PanoTagPlugin/tag.config.js";
|
|
371
370
|
import "./PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
@@ -502,72 +501,72 @@ import "./shared-utils/five/lookObject.js";
|
|
|
502
501
|
r();
|
|
503
502
|
o();
|
|
504
503
|
export {
|
|
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
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
504
|
+
vn as AreaMakerPlugin,
|
|
505
|
+
Un as CSS3DRender,
|
|
506
|
+
El as CSS3DRenderPlugin,
|
|
507
|
+
Jl as CameraMovementEffect,
|
|
508
|
+
ql as CameraMovementPlugin,
|
|
509
|
+
Sa as ContentType,
|
|
510
|
+
_n as CruisePlugin,
|
|
511
|
+
xa as CruisePluginController,
|
|
512
|
+
Ta as CruisePluginTypes,
|
|
513
|
+
Yn as CurrentPanoImagePlugin,
|
|
514
|
+
xn as DIRECTION,
|
|
515
|
+
ra as DISPLAY_STRATEGY_TYPE,
|
|
516
|
+
Oa as DimensionType,
|
|
517
|
+
Dl as FLOOR_PLAN_ATTACHED_TO,
|
|
518
|
+
kl as FLOOR_TYPE_MAP,
|
|
519
|
+
aa as GuideLineItem,
|
|
520
|
+
ua as GuideLineModeItem,
|
|
521
|
+
Ln as GuideLinePlugin,
|
|
522
|
+
pa as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
523
|
+
la as ItemLabelPlugin,
|
|
524
|
+
Zn as Magnifier,
|
|
525
|
+
Fl as MapviewFloorplanPlugin,
|
|
526
|
+
Ul as ModelChassisCompassPlugin,
|
|
527
|
+
$l as ModelEntryDoorGuidePlugin,
|
|
528
|
+
bl as ModelFloorplanPlugin,
|
|
529
|
+
ia as ModelItemLabelPlugin,
|
|
530
|
+
kn as ModelMakerPlugin,
|
|
531
|
+
Ol as ModelRoomLabelPlugin,
|
|
532
|
+
un as ModelTVVideoPlugin,
|
|
533
|
+
Cl as ModelViewPlugin,
|
|
534
|
+
da as MoveController,
|
|
535
|
+
En as MovePlugin,
|
|
536
|
+
Da as Object3DHelperController,
|
|
537
|
+
On as Object3DHelperPlugin,
|
|
538
|
+
Ga as PLUGIN,
|
|
539
|
+
dl as PaintBrush,
|
|
540
|
+
Tl as PaintBrushTypeEnum,
|
|
541
|
+
tn as PanoCompassPlugin,
|
|
542
|
+
Rl as PanoCursorRaycasterPlugin,
|
|
543
|
+
Mn as PanoDoorLabelPlugin,
|
|
544
|
+
Nl as PanoFloorplanRadarPlugin,
|
|
545
|
+
pn as PanoMeasurePlugin,
|
|
546
|
+
Jn as PanoMeasurePluginLine,
|
|
547
|
+
$n as PanoMeasurePluginModel,
|
|
548
|
+
qn as PanoMeasurePluginPoint,
|
|
549
|
+
Qn as PanoMeasurePluginPolyline,
|
|
550
|
+
Xl as PanoRulerPlugin,
|
|
551
|
+
on as PanoRulerProPlugin,
|
|
552
|
+
ln as PanoSpatialTagPlugin,
|
|
553
|
+
Rn as PanoTagPlugin,
|
|
554
|
+
Ca as PanoTagPluginController,
|
|
555
|
+
An as PanoVideoPlugin,
|
|
556
|
+
va as PanoVideoPluginType,
|
|
557
|
+
Gn as PipelinePlugin,
|
|
558
|
+
ya as PointType,
|
|
559
|
+
wl as ROOM_FETILE_TYPE_MAP,
|
|
560
|
+
Bl as ROOM_TYPE_MAP,
|
|
561
|
+
Kl as Rotation,
|
|
562
|
+
Vn as Sculpt,
|
|
563
|
+
Nn as SculptPlugin,
|
|
564
|
+
cl as TopviewFloorplanPlugin,
|
|
565
|
+
Bn as Util,
|
|
566
|
+
ga as WalkController,
|
|
567
|
+
Ia as defaultGlobalConfig,
|
|
568
|
+
sn as itemLabelPluginServerParams,
|
|
569
|
+
an as modelItemLabelPluginServerParams,
|
|
570
|
+
yl as modelRoomLabelPluginServerParams,
|
|
571
|
+
_a as pluginFlag
|
|
573
572
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.43.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realsee/dnalogel",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.43.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./libs/index.js",
|
|
6
6
|
"types": "./libs/index.d.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"private": false,
|
|
14
14
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
15
15
|
"scripts": {
|
|
16
|
-
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
17
16
|
"dev": "run-p dev:*",
|
|
17
|
+
"start": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
18
18
|
"light-dev": "npm run dev:dist",
|
|
19
19
|
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
20
20
|
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
25
25
|
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
26
26
|
"docs": "typedoc --options ./typedoc.json",
|
|
27
|
+
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
27
28
|
"prepublishOnly": "run-p build",
|
|
28
29
|
"postpublish": "cnpm sync @realsee/dnalogel"
|
|
29
30
|
},
|
package/README.md
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://realsee.js.org/"><img src="https://vrlab-public.ljcdn.com/common/file/web/ea031fa5-ad82-46b3-86c8-7b20ec1e635a.jpg" width="60" /></a>
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<p align="center">
|
|
7
|
-
<a href="https://www.npmjs.com/package/@realsee/dnalogel">
|
|
8
|
-
<img src="https://img.shields.io/npm/v/@realsee/dnalogel.svg" alt="npm version" >
|
|
9
|
-
</a>
|
|
10
|
-
<a href="https://packagephobia.now.sh/result?p=@realsee/dnalogel">
|
|
11
|
-
<img src="https://packagephobia.now.sh/badge?p=@realsee/dnalogel" alt="install size" >
|
|
12
|
-
</a>
|
|
13
|
-
<a href="https://github.com/realsee-developer/dnalogel/blob/main/TERMS.txt">
|
|
14
|
-
<img src="https://img.shields.io/npm/l/@realsee/dnalogel.svg" alt="license">
|
|
15
|
-
</a>
|
|
16
|
-
</p>
|
|
17
|
-
|
|
18
|
-
<h1 align="center">@realsee/dnalogel</h1>
|
|
19
|
-
|
|
20
|
-
# 👀 Overview
|
|
21
|
-
|
|
22
|
-
@realsee/dnalogel 将 [如视(realsee.com)](https://realsee.com) **VR 空间交互** 常用能力沉淀,并以 `Five Plugins` 形式进行抽象。
|
|
23
|
-
结合[如视三维空间重建渲染引擎 Five](https://open-platform.realsee.com/developer/docs/five/intro/)
|
|
24
|
-
与 [如视开放 API](https://open-platform.realsee.com/developer/openapi/?id=1001) ,可以制作出丰富多彩的三维空间应用。不论是经过线上环境千锤百炼的刚需功能,还是灵感一现的炫酷尝试,所有已经落地的功能我们均毫无保留的开源至github [realsee-developer/dnalogel](https://github.com/realsee-developer/dnalogel) 。
|
|
25
|
-
|
|
26
|
-
# 🔨 Usage
|
|
27
|
-
|
|
28
|
-
**1、安装**
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
npm install @realsee/dnalogel
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
yarn add @realsee/dnalogel
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
**2、插件注册**
|
|
39
|
-
|
|
40
|
-
```js
|
|
41
|
-
import { Five } from '@realsee/five'
|
|
42
|
-
import { Plugin } from '@realsee/dnalogel'
|
|
43
|
-
const five = new Five({
|
|
44
|
-
plugins: [[Plugin, 'PluginName', initOptions]],
|
|
45
|
-
})
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
**3、插件方法使用**
|
|
49
|
-
|
|
50
|
-
```js
|
|
51
|
-
// 不同插件提供的方法可能存在差异,请参考各插件 API 文档
|
|
52
|
-
five.plugins.PluginName.load(data)
|
|
53
|
-
five.plugins.PluginName.enable()
|
|
54
|
-
five.plugins.PluginName.disable()
|
|
55
|
-
five.plugins.PluginName.dispose()
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
**4、插件依赖数据获取**
|
|
59
|
-
|
|
60
|
-
您可以通过 [open API](https://open-platform.realsee.com/developer/open/api#/) 查看数据获取方式及相关 open API 。
|
|
61
|
-
|
|
62
|
-
# 📖 Documents
|
|
63
|
-
|
|
64
|
-
- [说明文档](https://open-platform.realsee.com/developer/docs/dnalogel/intro/)
|
|
65
|
-
- [API 文档](https://open-platform.realsee.com/developer/openapi/?id=1001)
|
|
66
|
-
- [demo 源码](https://github.com/realsee-developer/dnalogel)
|
|
67
|
-
- [数据依赖来源:open API](https://open-platform.realsee.com/developer/openapi/?id=1001)
|
|
68
|
-
|
|
69
|
-
# 💡 Preview
|
|
70
|
-
|
|
71
|
-
我们为每个插件书写了简单的效果示例,您可点击预览:
|
|
72
|
-
[@realsee/dnalogel showcase](https://realsee-developer.github.io/dnalogel/)
|
|
73
|
-
|
|
74
|
-
# 🧾 Lists
|
|
75
|
-
|
|
76
|
-
- 🔌 ModelViewPlugin:模型小窗插件
|
|
77
|
-
- 🔌 PanoFloorplanRadarPlugin:全景户型雷达图插件
|
|
78
|
-
- 🔌 ModelRoomLabelPlugin:模型态房屋标签插件
|
|
79
|
-
- 🔌 TopviewFloorplanPlugin:俯视模型户型图插件
|
|
80
|
-
- 🔌 ModelChassisCompassPlugin:模型底盘指南针插件
|
|
81
|
-
- 🔌 ModelEntryDoorGuidePlugin:模型入户门引导插件
|
|
82
|
-
- 🔌 CSS3DRenderPlugin:CSS3D渲染插件
|
|
83
|
-
- 🔌 CameraMovementPlugin:相机运镜插件
|
|
84
|
-
- 🔌 ModelFloorplanPlugin:模型户型图插件
|
|
85
|
-
- 🔌 PanoRulerPlugin:全景标尺插件
|
|
86
|
-
- 🔌 PanoCompassPlugin:全景指南针插件
|
|
87
|
-
- 其他插件持续更新中...
|
|
88
|
-
|
|
89
|
-
# 可能遇到的问题
|
|
90
|
-
|
|
91
|
-
1. webpack打包出现以下错误
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
Module not found: Error: Can't resolve '@realsee/five/line' in 'xxx/node_modules/@realsee/dnalogel/libs'
|
|
95
|
-
Did you mean 'index.js'?
|
|
96
|
-
BREAKING CHANGE: The request '@realsee/five/line' failed to resolve only because it was resolved as fully specified
|
|
97
|
-
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
|
|
98
|
-
The extension in the request is mandatory for it to be fully specified.
|
|
99
|
-
Add the extension to the request.
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
解决方案:在webpack配置里加以下rule
|
|
103
|
-
参考:[resolvefullyspecified](https://webpack.js.org/configuration/module/#resolvefullyspecified)
|
|
104
|
-
|
|
105
|
-
```js
|
|
106
|
-
{
|
|
107
|
-
test: /\.m?js$/,
|
|
108
|
-
resolve: {
|
|
109
|
-
fullySpecified: false, // disable the behaviour
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
# License
|
|
115
|
-
|
|
116
|
-
[TERMS](https://github.com/realsee-developer/dnalogel/blob/main/TERMS.txt)
|
package/docs/.nojekyll
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
package/docs/assets/custom.css
DELETED
|
File without changes
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--light-hl-0: #795E26;
|
|
3
|
-
--dark-hl-0: #DCDCAA;
|
|
4
|
-
--light-hl-1: #000000;
|
|
5
|
-
--dark-hl-1: #D4D4D4;
|
|
6
|
-
--light-hl-2: #A31515;
|
|
7
|
-
--dark-hl-2: #CE9178;
|
|
8
|
-
--light-hl-3: #AF00DB;
|
|
9
|
-
--dark-hl-3: #C586C0;
|
|
10
|
-
--light-hl-4: #001080;
|
|
11
|
-
--dark-hl-4: #9CDCFE;
|
|
12
|
-
--light-hl-5: #0000FF;
|
|
13
|
-
--dark-hl-5: #569CD6;
|
|
14
|
-
--light-hl-6: #0070C1;
|
|
15
|
-
--dark-hl-6: #4FC1FF;
|
|
16
|
-
--light-hl-7: #008000;
|
|
17
|
-
--dark-hl-7: #6A9955;
|
|
18
|
-
--light-hl-8: #000000;
|
|
19
|
-
--dark-hl-8: #C8C8C8;
|
|
20
|
-
--light-hl-9: #811F3F;
|
|
21
|
-
--dark-hl-9: #D16969;
|
|
22
|
-
--light-hl-10: #EE0000;
|
|
23
|
-
--dark-hl-10: #D7BA7D;
|
|
24
|
-
--light-hl-11: #000000;
|
|
25
|
-
--dark-hl-11: #D7BA7D;
|
|
26
|
-
--light-hl-12: #EE0000;
|
|
27
|
-
--dark-hl-12: #DCDCAA;
|
|
28
|
-
--light-hl-13: #098658;
|
|
29
|
-
--dark-hl-13: #B5CEA8;
|
|
30
|
-
--light-hl-14: #267F99;
|
|
31
|
-
--dark-hl-14: #4EC9B0;
|
|
32
|
-
--light-code-background: #FFFFFF;
|
|
33
|
-
--dark-code-background: #1E1E1E;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@media (prefers-color-scheme: light) { :root {
|
|
37
|
-
--hl-0: var(--light-hl-0);
|
|
38
|
-
--hl-1: var(--light-hl-1);
|
|
39
|
-
--hl-2: var(--light-hl-2);
|
|
40
|
-
--hl-3: var(--light-hl-3);
|
|
41
|
-
--hl-4: var(--light-hl-4);
|
|
42
|
-
--hl-5: var(--light-hl-5);
|
|
43
|
-
--hl-6: var(--light-hl-6);
|
|
44
|
-
--hl-7: var(--light-hl-7);
|
|
45
|
-
--hl-8: var(--light-hl-8);
|
|
46
|
-
--hl-9: var(--light-hl-9);
|
|
47
|
-
--hl-10: var(--light-hl-10);
|
|
48
|
-
--hl-11: var(--light-hl-11);
|
|
49
|
-
--hl-12: var(--light-hl-12);
|
|
50
|
-
--hl-13: var(--light-hl-13);
|
|
51
|
-
--hl-14: var(--light-hl-14);
|
|
52
|
-
--code-background: var(--light-code-background);
|
|
53
|
-
} }
|
|
54
|
-
|
|
55
|
-
@media (prefers-color-scheme: dark) { :root {
|
|
56
|
-
--hl-0: var(--dark-hl-0);
|
|
57
|
-
--hl-1: var(--dark-hl-1);
|
|
58
|
-
--hl-2: var(--dark-hl-2);
|
|
59
|
-
--hl-3: var(--dark-hl-3);
|
|
60
|
-
--hl-4: var(--dark-hl-4);
|
|
61
|
-
--hl-5: var(--dark-hl-5);
|
|
62
|
-
--hl-6: var(--dark-hl-6);
|
|
63
|
-
--hl-7: var(--dark-hl-7);
|
|
64
|
-
--hl-8: var(--dark-hl-8);
|
|
65
|
-
--hl-9: var(--dark-hl-9);
|
|
66
|
-
--hl-10: var(--dark-hl-10);
|
|
67
|
-
--hl-11: var(--dark-hl-11);
|
|
68
|
-
--hl-12: var(--dark-hl-12);
|
|
69
|
-
--hl-13: var(--dark-hl-13);
|
|
70
|
-
--hl-14: var(--dark-hl-14);
|
|
71
|
-
--code-background: var(--dark-code-background);
|
|
72
|
-
} }
|
|
73
|
-
|
|
74
|
-
:root[data-theme='light'] {
|
|
75
|
-
--hl-0: var(--light-hl-0);
|
|
76
|
-
--hl-1: var(--light-hl-1);
|
|
77
|
-
--hl-2: var(--light-hl-2);
|
|
78
|
-
--hl-3: var(--light-hl-3);
|
|
79
|
-
--hl-4: var(--light-hl-4);
|
|
80
|
-
--hl-5: var(--light-hl-5);
|
|
81
|
-
--hl-6: var(--light-hl-6);
|
|
82
|
-
--hl-7: var(--light-hl-7);
|
|
83
|
-
--hl-8: var(--light-hl-8);
|
|
84
|
-
--hl-9: var(--light-hl-9);
|
|
85
|
-
--hl-10: var(--light-hl-10);
|
|
86
|
-
--hl-11: var(--light-hl-11);
|
|
87
|
-
--hl-12: var(--light-hl-12);
|
|
88
|
-
--hl-13: var(--light-hl-13);
|
|
89
|
-
--hl-14: var(--light-hl-14);
|
|
90
|
-
--code-background: var(--light-code-background);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
:root[data-theme='dark'] {
|
|
94
|
-
--hl-0: var(--dark-hl-0);
|
|
95
|
-
--hl-1: var(--dark-hl-1);
|
|
96
|
-
--hl-2: var(--dark-hl-2);
|
|
97
|
-
--hl-3: var(--dark-hl-3);
|
|
98
|
-
--hl-4: var(--dark-hl-4);
|
|
99
|
-
--hl-5: var(--dark-hl-5);
|
|
100
|
-
--hl-6: var(--dark-hl-6);
|
|
101
|
-
--hl-7: var(--dark-hl-7);
|
|
102
|
-
--hl-8: var(--dark-hl-8);
|
|
103
|
-
--hl-9: var(--dark-hl-9);
|
|
104
|
-
--hl-10: var(--dark-hl-10);
|
|
105
|
-
--hl-11: var(--dark-hl-11);
|
|
106
|
-
--hl-12: var(--dark-hl-12);
|
|
107
|
-
--hl-13: var(--dark-hl-13);
|
|
108
|
-
--hl-14: var(--dark-hl-14);
|
|
109
|
-
--code-background: var(--dark-code-background);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.hl-0 { color: var(--hl-0); }
|
|
113
|
-
.hl-1 { color: var(--hl-1); }
|
|
114
|
-
.hl-2 { color: var(--hl-2); }
|
|
115
|
-
.hl-3 { color: var(--hl-3); }
|
|
116
|
-
.hl-4 { color: var(--hl-4); }
|
|
117
|
-
.hl-5 { color: var(--hl-5); }
|
|
118
|
-
.hl-6 { color: var(--hl-6); }
|
|
119
|
-
.hl-7 { color: var(--hl-7); }
|
|
120
|
-
.hl-8 { color: var(--hl-8); }
|
|
121
|
-
.hl-9 { color: var(--hl-9); }
|
|
122
|
-
.hl-10 { color: var(--hl-10); }
|
|
123
|
-
.hl-11 { color: var(--hl-11); }
|
|
124
|
-
.hl-12 { color: var(--hl-12); }
|
|
125
|
-
.hl-13 { color: var(--hl-13); }
|
|
126
|
-
.hl-14 { color: var(--hl-14); }
|
|
127
|
-
pre, code { background: var(--code-background); }
|