@realsee/dnalogel 3.7.0-dev.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CruisePlugin/index.d.ts +3 -2
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +4 -1
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -0
- package/dist/index.cjs.js +29 -29
- package/dist/index.js +986 -974
- package/dist/index.umd.js +29 -29
- package/dist/shared-utils/five/fiveReady.d.ts +2 -0
- package/libs/CruisePlugin/Move.js +66 -49
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.d.ts +3 -2
- package/libs/CruisePlugin/index.js +12 -10
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/PanoTagPlugin/Components/TagItem.js +56 -56
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +4 -2
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +118 -116
- package/libs/shared-utils/five/fiveReady.d.ts +2 -0
- package/libs/shared-utils/five/fiveReady.js +28 -0
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -120
- 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 -739
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -692
- package/docs/classes/CSS3DRender.html +0 -776
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -479
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -859
- package/docs/classes/Magnifier.html +0 -483
- package/docs/classes/ModelRoomLabelController.html +0 -401
- package/docs/classes/MoveController.html +0 -652
- package/docs/classes/Object3DHelperController.html +0 -643
- package/docs/classes/PaintBrush.html +0 -505
- package/docs/classes/PanoMeasurePluginLine.html +0 -525
- package/docs/classes/PanoMeasurePluginModel.html +0 -574
- package/docs/classes/PanoMeasurePluginPoint.html +0 -365
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -570
- package/docs/classes/PanoTagPluginController.html +0 -1114
- package/docs/classes/Util.BetterTween.html +0 -419
- package/docs/classes/Util.Interval.html +0 -435
- package/docs/classes/Util.LineSegments.html +0 -387
- package/docs/classes/Util.Magnifier.html +0 -506
- package/docs/classes/Util.Object3D.html +0 -409
- package/docs/classes/Util.PointDomHelper.html +0 -410
- package/docs/classes/Util.PointHelper.html +0 -401
- package/docs/classes/Util.PointSelectorHelper.html +0 -457
- package/docs/classes/Util.Rectangle.html +0 -458
- package/docs/classes/WalkController.html +0 -671
- package/docs/enums/CameraMovementEffect.html +0 -313
- package/docs/enums/ContentType.html +0 -459
- package/docs/enums/DIRECTION.html +0 -323
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -323
- package/docs/enums/DimensionType.html +0 -313
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -316
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -323
- package/docs/enums/PaintBrushTypeEnum.html +0 -316
- package/docs/enums/PointType.html +0 -313
- package/docs/enums/Rotation.html +0 -320
- package/docs/functions/AreaMakerPlugin.html +0 -293
- package/docs/functions/CSS3DRenderPlugin.html +0 -291
- package/docs/functions/CameraMovementPlugin.html +0 -296
- package/docs/functions/CruisePlugin.html +0 -293
- package/docs/functions/CurrentPanoImagePlugin.html +0 -293
- package/docs/functions/GuideLinePlugin.html +0 -293
- package/docs/functions/ItemLabelPlugin.html +0 -293
- package/docs/functions/MapviewFloorplanPlugin.html +0 -293
- package/docs/functions/ModelChassisCompassPlugin.html +0 -296
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -296
- package/docs/functions/ModelFloorplanPlugin.html +0 -293
- package/docs/functions/ModelItemLabelPlugin.html +0 -293
- package/docs/functions/ModelRoomLabelPlugin.html +0 -291
- package/docs/functions/ModelTVVideoPlugin.html +0 -293
- package/docs/functions/ModelViewPlugin.html +0 -296
- package/docs/functions/Object3DHelperPlugin.html +0 -291
- package/docs/functions/PanoCompassPlugin.html +0 -293
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -297
- package/docs/functions/PanoDoorLabelPlugin.html +0 -293
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -293
- package/docs/functions/PanoMeasurePlugin.html +0 -293
- package/docs/functions/PanoRulerPlugin.html +0 -296
- package/docs/functions/PanoRulerProPlugin.html +0 -296
- package/docs/functions/PanoSpatialTagPlugin.html +0 -296
- package/docs/functions/PanoTagPlugin.html +0 -298
- package/docs/functions/PanoVideoPlugin.html +0 -302
- package/docs/functions/PipelinePlugin.html +0 -291
- package/docs/functions/TopviewFloorplanPlugin.html +0 -293
- package/docs/functions/Util.absoluteUrl.html +0 -329
- package/docs/functions/Util.checkFiveModelLoaded.html +0 -332
- package/docs/functions/Util.equal.html +0 -341
- package/docs/functions/Util.getCoordsFromClient.html +0 -331
- package/docs/functions/Util.getCoordsFromElement.html +0 -331
- package/docs/functions/Util.getFrameTime.html +0 -323
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -331
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -331
- package/docs/functions/Util.isAbsoluteURL.html +0 -324
- package/docs/functions/Util.isModelLike.html +0 -324
- package/docs/functions/Util.isNil.html +0 -332
- package/docs/functions/Util.isPanoramaLike.html +0 -324
- package/docs/functions/Util.nextFrame.html +0 -337
- package/docs/functions/Util.notNil.html +0 -332
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -353
- package/docs/functions/Util.tweenProgress.html +0 -326
- package/docs/functions/Util.uuid.html +0 -322
- package/docs/functions/pluginFlag.html +0 -291
- package/docs/index.html +0 -357
- package/docs/interfaces/AddTagConfig.html +0 -306
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -333
- package/docs/interfaces/AreaMakerPluginType.Config.html +0 -338
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -624
- package/docs/interfaces/AreaMakerPluginType.Params.html +0 -337
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -387
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -372
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -337
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -330
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -329
- package/docs/interfaces/AreaMakerPluginType.State.html +0 -358
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -452
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -328
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -361
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -362
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -364
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -699
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -388
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -424
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -414
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -354
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -322
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -390
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -385
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -524
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -326
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -318
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -340
- package/docs/interfaces/EventMap.html +0 -545
- package/docs/interfaces/FloorplanBounding.html +0 -335
- package/docs/interfaces/FloorplanData.html +0 -338
- package/docs/interfaces/FloorplanEntrance.html +0 -363
- package/docs/interfaces/FloorplanExtraObject.html +0 -353
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -342
- package/docs/interfaces/FloorplanFloorData.html +0 -331
- package/docs/interfaces/FloorplanImagePosition.html +0 -317
- package/docs/interfaces/FloorplanObserver.html +0 -335
- package/docs/interfaces/FloorplanOutlineItem.html +0 -331
- package/docs/interfaces/FloorplanPosition.html +0 -317
- package/docs/interfaces/FloorplanRoomItem.html +0 -382
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -323
- package/docs/interfaces/FloorplanServerBounding.html +0 -335
- package/docs/interfaces/FloorplanServerComputedData.html +0 -334
- package/docs/interfaces/FloorplanServerData.html +0 -317
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -334
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -320
- package/docs/interfaces/FloorplanServerEntrance.html +0 -363
- package/docs/interfaces/FloorplanServerFloorData.html +0 -331
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -317
- package/docs/interfaces/FloorplanServerObserver.html +0 -335
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -331
- package/docs/interfaces/FloorplanServerPosition.html +0 -317
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -394
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -323
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -326
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -365
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -529
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -360
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -351
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -418
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -340
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -350
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -486
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -347
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -486
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -312
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -333
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -358
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -374
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -356
- package/docs/interfaces/HelperOffset.html +0 -335
- package/docs/interfaces/ImagePlaneGroup.html +0 -309
- package/docs/interfaces/ItemLabelPluginData.html +0 -306
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -391
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -327
- package/docs/interfaces/MinMax.html +0 -313
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -313
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -349
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -313
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -320
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -357
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -306
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -391
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -313
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -306
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -327
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -351
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -306
- package/docs/interfaces/ModelViewPluginExportType.html +0 -419
- package/docs/interfaces/Object3DHelperState.html +0 -320
- package/docs/interfaces/ObjectHelperControllers.html +0 -327
- package/docs/interfaces/PaintBrushAction.html +0 -366
- package/docs/interfaces/PaintBrushConfigs.html +0 -364
- package/docs/interfaces/PaintBrushState.html +0 -348
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -428
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -285
- package/docs/interfaces/PanoMeasureParameterType.html +0 -452
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -320
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -317
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -313
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -323
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -380
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -329
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -320
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -356
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -326
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -313
- package/docs/interfaces/PanoRulerProPluginState.html +0 -320
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -299
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -288
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -356
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -338
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -434
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -334
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -355
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -341
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -334
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -326
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -344
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -317
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -423
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -317
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -352
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -371
- package/docs/interfaces/Point.html +0 -320
- package/docs/interfaces/Room.html +0 -327
- package/docs/interfaces/RoomInfo.html +0 -313
- package/docs/interfaces/RoomLabel.html +0 -389
- package/docs/interfaces/RoomRules.html +0 -288
- package/docs/interfaces/Rooms.html +0 -288
- package/docs/interfaces/Scissor.html +0 -347
- package/docs/interfaces/State.html +0 -334
- package/docs/interfaces/TagCacheInterface.html +0 -365
- package/docs/interfaces/TagConfig.html +0 -568
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -309
- package/docs/interfaces/TagIconUrl.html +0 -366
- package/docs/interfaces/TagObjectGroup.html +0 -309
- package/docs/interfaces/TagStyle.html +0 -319
- package/docs/interfaces/Tags.html +0 -2823
- package/docs/interfaces/TemporaryState.html +0 -306
- package/docs/interfaces/Util.MagnifierParameter.html +0 -394
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -353
- package/docs/interfaces/Util.PointIntersection.html +0 -368
- package/docs/modules/AreaMakerPluginType.html +0 -328
- package/docs/modules/CruisePluginTypes.html +0 -331
- package/docs/modules/CurrentPanoImagePluginType.html +0 -300
- package/docs/modules/GuideLineItem.html +0 -292
- package/docs/modules/GuideLineModeItem.html +0 -297
- package/docs/modules/GuideLinePluginType.html +0 -353
- package/docs/modules/PanoVideoPluginType.html +0 -304
- package/docs/modules/Util.html +0 -354
- package/docs/modules.html +0 -560
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -335
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -323
- package/docs/types/AreaMakerPluginType.PluginData.html +0 -305
- package/docs/types/AreaMakerPluginType.ServerData.html +0 -305
- package/docs/types/ArrayPosition.html +0 -282
- package/docs/types/AudioAppearance.html +0 -282
- package/docs/types/AudioTagTypeConfigKey.html +0 -282
- package/docs/types/CSS3DRenderExportType.html +0 -282
- package/docs/types/CSS3DRenderPluginExportType.html +0 -282
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -282
- package/docs/types/ClassFunctionParameters.html +0 -289
- package/docs/types/Color.html +0 -282
- package/docs/types/ContentTypeConfigKey.html +0 -282
- package/docs/types/ContentTypeConfigKeySplit.html +0 -282
- package/docs/types/ContentTypeMap.html +0 -282
- package/docs/types/Create3DDomContainerReturnType.html +0 -282
- package/docs/types/Create3DElementReturnType.html +0 -282
- package/docs/types/CruisePluginExportType.html +0 -282
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -321
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -298
- package/docs/types/CurrentPanoImagePluginExportType.html +0 -282
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -294
- package/docs/types/DeprecatedTagProperty.html +0 -297
- package/docs/types/Direction-1.html +0 -282
- package/docs/types/Direction4.html +0 -282
- package/docs/types/ElementRenderer.html +0 -306
- package/docs/types/FloorplanRuleLabels.html +0 -285
- package/docs/types/FloorplanServerRuleLabels.html +0 -282
- package/docs/types/GuideLinePluginExportType.html +0 -282
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -355
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -376
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -309
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -312
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -312
- package/docs/types/GuideLinePluginType.PathItem.html +0 -312
- package/docs/types/GuideLinePluginType.PluginData.html +0 -321
- package/docs/types/HelperEventMap.html +0 -520
- package/docs/types/LoadTagConfig.html +0 -282
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -282
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -282
- package/docs/types/MediaData.html +0 -303
- package/docs/types/MediaStore.html +0 -287
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -289
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -282
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -282
- package/docs/types/ModelId.html +0 -282
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -282
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -282
- package/docs/types/MoveArgs.html +0 -292
- package/docs/types/MoveOpts.html +0 -290
- package/docs/types/Object3DHelperEventMap.html +0 -375
- package/docs/types/ObjectFit.html +0 -282
- package/docs/types/PaintBrushEventMap.html +0 -313
- package/docs/types/PanoCompassPluginData.html +0 -282
- package/docs/types/PanoCompassPluginExportType.html +0 -282
- package/docs/types/PanoCompassPluginParameterType.html +0 -282
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -282
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -282
- package/docs/types/PanoIndex.html +0 -282
- package/docs/types/PanoMeasurePluginEvent.html +0 -282
- package/docs/types/PanoMeasureReturnType.html +0 -282
- package/docs/types/PanoSpatialTagPluginId.html +0 -282
- package/docs/types/PanoTagPluginExportInterface.html +0 -282
- package/docs/types/PanoTagPluginParamsInterface.html +0 -282
- package/docs/types/PanoVideoPluginParameterType.html +0 -282
- package/docs/types/PanoVideoPluginReturnType.html +0 -282
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -290
- package/docs/types/PipelinePluginParameterType.html +0 -282
- package/docs/types/PipelinePluginReturnType.html +0 -282
- package/docs/types/PlaneTag.html +0 -290
- package/docs/types/Point2DTag.html +0 -290
- package/docs/types/Point3DTag.html +0 -290
- package/docs/types/PointTag.html +0 -287
- package/docs/types/PointTagInstance.html +0 -287
- package/docs/types/Position.html +0 -282
- package/docs/types/RotateArgs.html +0 -294
- package/docs/types/RotateOpts.html +0 -290
- package/docs/types/RuleLabelsKey.html +0 -282
- package/docs/types/RuleLabelsValue.html +0 -282
- package/docs/types/StickType.html +0 -282
- package/docs/types/Tag.html +0 -348
- package/docs/types/Tag2D.html +0 -290
- package/docs/types/Tag3D.html +0 -290
- package/docs/types/TagConfigByKey.html +0 -287
- package/docs/types/TagContentType.html +0 -282
- package/docs/types/TagContentTypeMapping.html +0 -282
- package/docs/types/TagDimensionType.html +0 -284
- package/docs/types/TagElement.html +0 -292
- package/docs/types/TagEvents.html +0 -335
- package/docs/types/TagGLTFObject.html +0 -305
- package/docs/types/TagHooks.html +0 -282
- package/docs/types/TagId.html +0 -282
- package/docs/types/TagInstance.html +0 -360
- package/docs/types/TagPointType.html +0 -285
- package/docs/types/TagRendererMap.html +0 -287
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -282
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -282
- package/docs/types/WorkCode.html +0 -282
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -292
- package/docs/variables/PLUGIN.html +0 -282
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -285
- package/docs/variables/ROOM_TYPE_MAP.html +0 -292
- package/docs/variables/defaultGlobalConfig.html +0 -282
- package/docs/variables/itemLabelPluginServerParams.html +0 -289
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -289
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -289
|
@@ -1,16 +1,32 @@
|
|
|
1
|
-
var
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
2
|
var g = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var P = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var p = (o, e, t) => e in o ? y(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, v = (o, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
|
|
6
|
+
P.call(e, t) && p(o, t, e[t]);
|
|
7
7
|
if (g)
|
|
8
8
|
for (var t of g(e))
|
|
9
|
-
|
|
9
|
+
C.call(e, t) && p(o, t, e[t]);
|
|
10
10
|
return o;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
|
|
12
|
+
var h = (o, e, t) => (p(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
var S = (o, e, t) => new Promise((i, a) => {
|
|
14
|
+
var f = (s) => {
|
|
15
|
+
try {
|
|
16
|
+
n(t.next(s));
|
|
17
|
+
} catch (m) {
|
|
18
|
+
a(m);
|
|
19
|
+
}
|
|
20
|
+
}, r = (s) => {
|
|
21
|
+
try {
|
|
22
|
+
n(t.throw(s));
|
|
23
|
+
} catch (m) {
|
|
24
|
+
a(m);
|
|
25
|
+
}
|
|
26
|
+
}, n = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(f, r);
|
|
27
|
+
n((t = t.apply(o, e)).next());
|
|
28
|
+
});
|
|
29
|
+
import b from "./BaseController.js";
|
|
14
30
|
import { objectAssignDeepExports as u } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
15
31
|
import "hammerjs";
|
|
16
32
|
import "three";
|
|
@@ -18,8 +34,9 @@ import "@realsee/five";
|
|
|
18
34
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
19
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
20
36
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
21
|
-
import { uuid as
|
|
37
|
+
import { uuid as O } from "../shared-utils/uuid.js";
|
|
22
38
|
import { getFiveStateOnCurve as c } from "./utils/getFiveStateOnCurve.js";
|
|
39
|
+
import { fiveReady as w } from "../shared-utils/five/fiveReady.js";
|
|
23
40
|
import "../base/BasePlugin.js";
|
|
24
41
|
import "../shared-utils/Subscribe.js";
|
|
25
42
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -40,29 +57,29 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
40
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
41
58
|
import "../shared-utils/vectorToCoordinate.js";
|
|
42
59
|
import "../shared-utils/formatRad.js";
|
|
43
|
-
class
|
|
44
|
-
constructor(t,
|
|
45
|
-
var
|
|
46
|
-
super(t,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
this.state.speed = t, this.hooks.emit("speedChange", t, { userAction:
|
|
60
|
+
class it extends b {
|
|
61
|
+
constructor(t, i) {
|
|
62
|
+
var r;
|
|
63
|
+
super(t, i);
|
|
64
|
+
h(this, "curve");
|
|
65
|
+
h(this, "baseCurveOffset");
|
|
66
|
+
h(this, "curveOffset");
|
|
67
|
+
h(this, "playStartedTime", performance.now());
|
|
68
|
+
h(this, "duration");
|
|
69
|
+
h(this, "changeSpeed", (t, i = !0) => {
|
|
70
|
+
this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: i });
|
|
54
71
|
});
|
|
55
|
-
|
|
72
|
+
h(this, "moveToStart", () => {
|
|
56
73
|
this.five.setState(c(this.curve, 0, this.curveOffset));
|
|
57
74
|
});
|
|
58
|
-
|
|
75
|
+
h(this, "playFromStart", () => {
|
|
59
76
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
60
77
|
});
|
|
61
|
-
|
|
62
|
-
|
|
78
|
+
h(this, "getDuration", () => this.getSpeededDuration(this.duration));
|
|
79
|
+
h(this, "getProgress", () => {
|
|
63
80
|
var n;
|
|
64
|
-
const t = this.getPauseData(),
|
|
65
|
-
return 1 -
|
|
81
|
+
const t = this.getPauseData(), i = 1 - ((n = t == null ? void 0 : t.playedProgress) != null ? n : 0), a = this.getDuration(), r = (performance.now() - this.playStartedTime) / a;
|
|
82
|
+
return 1 - i + r;
|
|
66
83
|
});
|
|
67
84
|
const a = {
|
|
68
85
|
config: {
|
|
@@ -74,47 +91,47 @@ class tt extends C {
|
|
|
74
91
|
}, f = {
|
|
75
92
|
allowBroke: !0
|
|
76
93
|
};
|
|
77
|
-
this.state = u({}, a, this.state), this.config = u({}, f, this.config), this.baseCurveOffset = u({ x: 0, y: 0, z: 0 }, { y: 2 }, (
|
|
94
|
+
this.state = u({}, a, this.state), this.config = u({}, f, this.config), this.baseCurveOffset = u({ x: 0, y: 0, z: 0 }, { y: 2 }, (r = this.config) == null ? void 0 : r.offset);
|
|
78
95
|
}
|
|
79
|
-
load(t,
|
|
80
|
-
var
|
|
81
|
-
if (this.handlePause(), this.clear(), this.data = v({ id:
|
|
82
|
-
x: this.baseCurveOffset.x + ((n = (
|
|
83
|
-
y: this.baseCurveOffset.y + ((
|
|
96
|
+
load(t, i) {
|
|
97
|
+
var r, n, s, m, d, l;
|
|
98
|
+
if (this.handlePause(), this.clear(), this.data = v({ id: O() }, t), this.curve = this.data.path.curves[0], this.curveOffset = {
|
|
99
|
+
x: this.baseCurveOffset.x + ((n = (r = this.data.offset) == null ? void 0 : r.x) != null ? n : 0),
|
|
100
|
+
y: this.baseCurveOffset.y + ((m = (s = this.data.offset) == null ? void 0 : s.y) != null ? m : 0),
|
|
84
101
|
z: this.baseCurveOffset.z + ((l = (d = this.data.offset) == null ? void 0 : d.z) != null ? l : 0)
|
|
85
102
|
}, !this.curve)
|
|
86
103
|
throw new Error("curve is not defined");
|
|
87
104
|
const a = this.curve.getLength(), f = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
|
|
88
|
-
return this.duration = a / (this.state.config.speedConfig.moveSpeed / f),
|
|
105
|
+
return this.duration = a / (this.state.config.speedConfig.moveSpeed / f), i ? this.setState(i) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
|
|
89
106
|
}
|
|
90
107
|
handlePlay() {
|
|
91
|
-
return new Promise((t,
|
|
108
|
+
return new Promise((t, i) => S(this, null, function* () {
|
|
92
109
|
var n;
|
|
93
110
|
const a = this.getPauseData(), f = c(this.curve, (n = a == null ? void 0 : a.playedProgress) != null ? n : 0, this.curveOffset);
|
|
94
|
-
if (this.five.setState(f), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
95
|
-
const
|
|
96
|
-
this.hooks.emit("broke"), this.handlePause(),
|
|
111
|
+
if (this.five.setState(f), yield w(this.five), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
112
|
+
const s = this.addInterruptListener(() => {
|
|
113
|
+
this.hooks.emit("broke"), this.handlePause(), s(), i(new Error("broke"));
|
|
97
114
|
});
|
|
98
115
|
}
|
|
99
|
-
const
|
|
100
|
-
const
|
|
101
|
-
if (
|
|
102
|
-
this.five.off("renderFrame",
|
|
116
|
+
const r = () => {
|
|
117
|
+
const s = this.getProgress();
|
|
118
|
+
if (s >= 1)
|
|
119
|
+
this.five.off("renderFrame", r), t("end");
|
|
103
120
|
else if (this.state.playing === !1)
|
|
104
|
-
this.five.off("renderFrame",
|
|
105
|
-
else if (
|
|
106
|
-
const
|
|
107
|
-
this.five.setState(
|
|
121
|
+
this.five.off("renderFrame", r);
|
|
122
|
+
else if (s >= 0) {
|
|
123
|
+
const m = c(this.curve, s, this.curveOffset);
|
|
124
|
+
this.five.setState(m, !0);
|
|
108
125
|
}
|
|
109
126
|
};
|
|
110
|
-
this.five.on("renderFrame",
|
|
111
|
-
});
|
|
127
|
+
this.five.on("renderFrame", r);
|
|
128
|
+
}));
|
|
112
129
|
}
|
|
113
130
|
handlePause(t) {
|
|
114
|
-
var
|
|
115
|
-
this.state.playing = !1, this.hooks.emit("pause", { userAction: (
|
|
131
|
+
var i;
|
|
132
|
+
this.state.playing = !1, this.hooks.emit("pause", { userAction: (i = t == null ? void 0 : t.userAction) != null ? i : !0 }), this.setPauseData();
|
|
116
133
|
}
|
|
117
134
|
}
|
|
118
135
|
export {
|
|
119
|
-
|
|
136
|
+
it as default
|
|
120
137
|
};
|
|
@@ -199,11 +199,12 @@ import "../shared-utils/five/changeMode.js";
|
|
|
199
199
|
import "../shared-utils/nearlyEqual.js";
|
|
200
200
|
import "./Move.js";
|
|
201
201
|
import "./utils/getFiveStateOnCurve.js";
|
|
202
|
+
import "../shared-utils/five/fiveReady.js";
|
|
202
203
|
import "../shared-utils/formatRad.js";
|
|
203
204
|
import "./Work.js";
|
|
204
205
|
import "./utils/coordinatesToVector.js";
|
|
205
206
|
const V = /* @__PURE__ */ new Map();
|
|
206
|
-
class
|
|
207
|
+
class ir extends R {
|
|
207
208
|
constructor(t, i) {
|
|
208
209
|
super(t, i);
|
|
209
210
|
k(this, "state", {
|
|
@@ -593,5 +594,5 @@ class er extends R {
|
|
|
593
594
|
}
|
|
594
595
|
}
|
|
595
596
|
export {
|
|
596
|
-
|
|
597
|
+
ir as default
|
|
597
598
|
};
|
|
@@ -4,7 +4,8 @@ import type { Config } from './typing';
|
|
|
4
4
|
import WalkController from './Work';
|
|
5
5
|
import MoveController from './Move';
|
|
6
6
|
export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof WalkController>>;
|
|
7
|
-
export
|
|
7
|
+
export declare const MovePlugin: FivePlugin<Config | undefined, InstanceType<typeof MoveController>>;
|
|
8
|
+
export { WalkController, MoveController, WalkController as CruisePluginController };
|
|
8
9
|
export type { CruisePluginExportType } from './typing';
|
|
9
|
-
export default CruisePlugin;
|
|
10
10
|
export { CruisePluginTypes };
|
|
11
|
+
export default CruisePlugin;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { typing as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { typing as dt } from "./typing/index.js";
|
|
2
|
+
import r from "./Work.js";
|
|
3
|
+
import t from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
5
5
|
import "../GuideLinePlugin/Controller.js";
|
|
6
6
|
import "../base/BasePluginWithData.js";
|
|
@@ -174,12 +174,14 @@ import "../shared-utils/vectorToCoordinate.js";
|
|
|
174
174
|
import "../shared-utils/formatRad.js";
|
|
175
175
|
import "./BaseController.js";
|
|
176
176
|
import "./utils/getFiveStateOnCurve.js";
|
|
177
|
-
|
|
177
|
+
import "../shared-utils/five/fiveReady.js";
|
|
178
|
+
const wt = (o) => new r(o), xt = (o) => new t(o);
|
|
178
179
|
export {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
wt as CruisePlugin,
|
|
181
|
+
r as CruisePluginController,
|
|
182
|
+
dt as CruisePluginTypes,
|
|
183
|
+
t as MoveController,
|
|
184
|
+
xt as MovePlugin,
|
|
185
|
+
r as WalkController,
|
|
186
|
+
wt as default
|
|
185
187
|
};
|
|
@@ -201,8 +201,9 @@ import "../shared-utils/vectorToCoordinate.js";
|
|
|
201
201
|
import "../shared-utils/formatRad.js";
|
|
202
202
|
import "../CruisePlugin/BaseController.js";
|
|
203
203
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
import "../shared-utils/five/fiveReady.js";
|
|
205
|
+
const b = "GuideLinePlugin", g = `${b}`, Zr = (s) => `${g}--${s}`;
|
|
206
|
+
class te extends x {
|
|
206
207
|
constructor(t, i) {
|
|
207
208
|
super(t, i);
|
|
208
209
|
h(this, "name", b);
|
|
@@ -344,6 +345,6 @@ class Zr extends x {
|
|
|
344
345
|
}
|
|
345
346
|
}
|
|
346
347
|
export {
|
|
347
|
-
|
|
348
|
-
|
|
348
|
+
te as default,
|
|
349
|
+
Zr as pluginFlag
|
|
349
350
|
};
|
|
@@ -5,7 +5,7 @@ import "@realsee/five";
|
|
|
5
5
|
import "../shared-utils/five/changeMode.js";
|
|
6
6
|
import "../CruisePlugin/Move.js";
|
|
7
7
|
import "../CruisePlugin/Work.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as bo } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -165,6 +165,7 @@ import "../shared-utils/isTruelyObject.js";
|
|
|
165
165
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
166
166
|
import "../shared-utils/vectorToCoordinate.js";
|
|
167
167
|
import "../shared-utils/formatRad.js";
|
|
168
|
+
import "../shared-utils/five/fiveReady.js";
|
|
168
169
|
import "./index.js";
|
|
169
170
|
import "./Controller.js";
|
|
170
171
|
import "../base/BasePluginWithData.js";
|
|
@@ -174,5 +175,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
174
175
|
import "../CruisePlugin/utils/safeCall.js";
|
|
175
176
|
import "../CruisePlugin/utils/sleep.js";
|
|
176
177
|
export {
|
|
177
|
-
|
|
178
|
+
bo as GuideLineItem
|
|
178
179
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as $t } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as gt } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -33,6 +33,7 @@ import "../shared-utils/uuid.js";
|
|
|
33
33
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
34
34
|
import "../shared-utils/vectorToCoordinate.js";
|
|
35
35
|
import "../shared-utils/formatRad.js";
|
|
36
|
+
import "../shared-utils/five/fiveReady.js";
|
|
36
37
|
import "../shared-utils/five/fiveLoaded.js";
|
|
37
38
|
import "../shared-utils/log.js";
|
|
38
39
|
import "./utils/createLineGeometry.js";
|
|
@@ -173,10 +174,10 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
|
173
174
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
174
175
|
import "../CruisePlugin/utils/safeCall.js";
|
|
175
176
|
import "../CruisePlugin/utils/sleep.js";
|
|
176
|
-
const
|
|
177
|
+
const It = (i, o) => new t(i, o);
|
|
177
178
|
export {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
$t as GuideLineItem,
|
|
180
|
+
gt as GuideLineModeItem,
|
|
181
|
+
It as GuideLinePlugin,
|
|
182
|
+
It as default
|
|
182
183
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
1
|
+
import { SvelteComponent as O, init as Q, safe_not_equal as U, append_styles as W, empty as X, insert as P, transition_in as h, transition_out as k, check_outros as L, detach as N, getContext as Y, element as C, space as Z, attr as _, null_to_empty as z, set_style as A, toggle_class as b, append as B, group_outros as q, noop as v, create_component as H, mount_component as J, destroy_component as K } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import x from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
5
|
-
import
|
|
6
|
-
import { classnames as
|
|
4
|
+
import { noTypecheck as E } from "../utils/noTypecheck.js";
|
|
5
|
+
import $ from "./Common/TagPoint.js";
|
|
6
|
+
import { classnames as F } from "../../vendor/classnames/index.js";
|
|
7
7
|
import "./Tag/TextTag/index.js";
|
|
8
8
|
import "./Tag/TextTag/TextTag.js";
|
|
9
9
|
import "./Common/Line/Straight.js";
|
|
@@ -92,29 +92,29 @@ import "./Common/Icon/Icon.js";
|
|
|
92
92
|
import "../utils/getImageInfo.js";
|
|
93
93
|
import "./Tag/PanoramaTag.js";
|
|
94
94
|
import "./Tag/CustomTag.js";
|
|
95
|
-
function
|
|
96
|
-
|
|
95
|
+
function tt(o) {
|
|
96
|
+
W(o, "svelte-t2hepc", ".tag.svelte-t2hepc{will-change:opacity}.tag.withAnimation.svelte-t2hepc{transition:opacity 0.2s linear}.tag.hide.svelte-t2hepc{opacity:0;pointer-events:none}.tag.hide.svelte-t2hepc *{pointer-events:none !important}.tag.unClickable.svelte-t2hepc{pointer-events:none !important}.tag.unClickable.svelte-t2hepc *{pointer-events:none !important}.tag.disable.svelte-t2hepc{display:none}.wrapper.svelte-t2hepc{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function G(o) {
|
|
99
99
|
let i, e, t, r, a, s, c, y, u, f;
|
|
100
|
-
const w = [
|
|
100
|
+
const w = [it, et], g = [];
|
|
101
101
|
function p(n, m) {
|
|
102
102
|
return (
|
|
103
103
|
/*havePoint*/
|
|
104
104
|
n[15] ? 0 : 1
|
|
105
105
|
);
|
|
106
106
|
}
|
|
107
|
-
t = p(o), r =
|
|
108
|
-
const T = [
|
|
107
|
+
t = p(o), r = g[t] = w[t](o);
|
|
108
|
+
const T = [rt, ot], d = [];
|
|
109
109
|
function S(n, m) {
|
|
110
110
|
return (
|
|
111
111
|
/*haveContent*/
|
|
112
112
|
n[14] ? 0 : 1
|
|
113
113
|
);
|
|
114
114
|
}
|
|
115
|
-
return s = S(o), c =
|
|
115
|
+
return s = S(o), c = d[s] = T[s](o), {
|
|
116
116
|
c() {
|
|
117
|
-
i = C("div"), e = C("div"), r.c(), a =
|
|
117
|
+
i = C("div"), e = C("div"), r.c(), a = Z(), c.c(), _(e, "class", y = z(F(
|
|
118
118
|
"wrapper",
|
|
119
119
|
/*tag*/
|
|
120
120
|
o[1].className ? `${/*tag*/
|
|
@@ -168,18 +168,18 @@ function F(o) {
|
|
|
168
168
|
);
|
|
169
169
|
},
|
|
170
170
|
m(n, m) {
|
|
171
|
-
P(n, i, m),
|
|
171
|
+
P(n, i, m), B(i, e), g[t].m(e, null), B(e, a), d[s].m(e, null), f = !0;
|
|
172
172
|
},
|
|
173
173
|
p(n, m) {
|
|
174
174
|
let M = t;
|
|
175
|
-
t = p(n), t === M ?
|
|
176
|
-
|
|
177
|
-
}), L(), r =
|
|
175
|
+
t = p(n), t === M ? g[t].p(n, m) : (q(), k(g[M], 1, 1, () => {
|
|
176
|
+
g[M] = null;
|
|
177
|
+
}), L(), r = g[t], r ? r.p(n, m) : (r = g[t] = w[t](n), r.c()), h(r, 1), r.m(e, a));
|
|
178
178
|
let l = s;
|
|
179
|
-
s = S(n), s === l ?
|
|
180
|
-
|
|
181
|
-
}), L(), c =
|
|
182
|
-
2 && y !== (y =
|
|
179
|
+
s = S(n), s === l ? d[s].p(n, m) : (q(), k(d[l], 1, 1, () => {
|
|
180
|
+
d[l] = null;
|
|
181
|
+
}), L(), c = d[s], c ? c.p(n, m) : (c = d[s] = T[s](n), c.c()), h(c, 1), c.m(e, null)), (!f || m & /*tag*/
|
|
182
|
+
2 && y !== (y = z(F(
|
|
183
183
|
"wrapper",
|
|
184
184
|
/*tag*/
|
|
185
185
|
n[1].className ? `${/*tag*/
|
|
@@ -249,11 +249,11 @@ function F(o) {
|
|
|
249
249
|
k(r), k(c), f = !1;
|
|
250
250
|
},
|
|
251
251
|
d(n) {
|
|
252
|
-
n && N(i),
|
|
252
|
+
n && N(i), g[t].d(), d[s].d();
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function et(o) {
|
|
257
257
|
let i;
|
|
258
258
|
return {
|
|
259
259
|
c() {
|
|
@@ -270,17 +270,17 @@ function tt(o) {
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function it(o) {
|
|
274
274
|
let i, e;
|
|
275
|
-
return i = new
|
|
275
|
+
return i = new $({ props: { tag: (
|
|
276
276
|
/*tag*/
|
|
277
277
|
o[1]
|
|
278
278
|
) } }), {
|
|
279
279
|
c() {
|
|
280
|
-
|
|
280
|
+
H(i.$$.fragment);
|
|
281
281
|
},
|
|
282
282
|
m(t, r) {
|
|
283
|
-
|
|
283
|
+
J(i, t, r), e = !0;
|
|
284
284
|
},
|
|
285
285
|
p(t, r) {
|
|
286
286
|
const a = {};
|
|
@@ -295,11 +295,11 @@ function et(o) {
|
|
|
295
295
|
k(i.$$.fragment, t), e = !1;
|
|
296
296
|
},
|
|
297
297
|
d(t) {
|
|
298
|
-
|
|
298
|
+
K(i, t);
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function ot(o) {
|
|
303
303
|
let i;
|
|
304
304
|
return {
|
|
305
305
|
c() {
|
|
@@ -316,9 +316,9 @@ function it(o) {
|
|
|
316
316
|
}
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function rt(o) {
|
|
320
320
|
let i, e;
|
|
321
|
-
return i = new
|
|
321
|
+
return i = new x({
|
|
322
322
|
props: {
|
|
323
323
|
mediaStore: (
|
|
324
324
|
/*mediaStore*/
|
|
@@ -328,7 +328,7 @@ function ot(o) {
|
|
|
328
328
|
/*withAnimation*/
|
|
329
329
|
o[0]
|
|
330
330
|
),
|
|
331
|
-
tag:
|
|
331
|
+
tag: E(
|
|
332
332
|
/*tag*/
|
|
333
333
|
o[1]
|
|
334
334
|
),
|
|
@@ -355,10 +355,10 @@ function ot(o) {
|
|
|
355
355
|
}
|
|
356
356
|
}), {
|
|
357
357
|
c() {
|
|
358
|
-
|
|
358
|
+
H(i.$$.fragment);
|
|
359
359
|
},
|
|
360
360
|
m(t, r) {
|
|
361
|
-
|
|
361
|
+
J(i, t, r), e = !0;
|
|
362
362
|
},
|
|
363
363
|
p(t, r) {
|
|
364
364
|
const a = {};
|
|
@@ -367,7 +367,7 @@ function ot(o) {
|
|
|
367
367
|
t[2]), r & /*withAnimation*/
|
|
368
368
|
1 && (a.withAnimation = /*withAnimation*/
|
|
369
369
|
t[0]), r & /*tag*/
|
|
370
|
-
2 && (a.tag =
|
|
370
|
+
2 && (a.tag = E(
|
|
371
371
|
/*tag*/
|
|
372
372
|
t[1]
|
|
373
373
|
)), r & /*state*/
|
|
@@ -387,18 +387,18 @@ function ot(o) {
|
|
|
387
387
|
k(i.$$.fragment, t), e = !1;
|
|
388
388
|
},
|
|
389
389
|
d(t) {
|
|
390
|
-
|
|
390
|
+
K(i, t);
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function nt(o) {
|
|
395
395
|
let i, e, t = (
|
|
396
396
|
/*screenPosition*/
|
|
397
|
-
o[7] &&
|
|
397
|
+
o[7] && G(o)
|
|
398
398
|
);
|
|
399
399
|
return {
|
|
400
400
|
c() {
|
|
401
|
-
t && t.c(), i =
|
|
401
|
+
t && t.c(), i = X();
|
|
402
402
|
},
|
|
403
403
|
m(r, a) {
|
|
404
404
|
t && t.m(r, a), P(r, i, a), e = !0;
|
|
@@ -406,7 +406,7 @@ function rt(o) {
|
|
|
406
406
|
p(r, [a]) {
|
|
407
407
|
/*screenPosition*/
|
|
408
408
|
r[7] ? t ? (t.p(r, a), a & /*screenPosition*/
|
|
409
|
-
128 && h(t, 1)) : (t =
|
|
409
|
+
128 && h(t, 1)) : (t = G(r), t.c(), h(t, 1), t.m(i.parentNode, i)) : t && (q(), k(t, 1, 1, () => {
|
|
410
410
|
t = null;
|
|
411
411
|
}), L());
|
|
412
412
|
},
|
|
@@ -421,17 +421,17 @@ function rt(o) {
|
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
423
|
}
|
|
424
|
-
function
|
|
425
|
-
let t, r, a, s, c, y, u, f, w, { withAnimation:
|
|
426
|
-
const M =
|
|
424
|
+
function at(o, i, e) {
|
|
425
|
+
let t, r, a, s, c, y, u, f, w, { withAnimation: g = !1 } = i, { tag: p } = i, { mediaStore: T } = i, { rendererMap: d = /* @__PURE__ */ new Map() } = i, { contentTypeMap: S = /* @__PURE__ */ new Map() } = i, { state: n } = i, { temporaryState: m } = i;
|
|
426
|
+
const M = Y("hooks");
|
|
427
427
|
return o.$$set = (l) => {
|
|
428
|
-
"withAnimation" in l && e(0,
|
|
428
|
+
"withAnimation" in l && e(0, g = l.withAnimation), "tag" in l && e(1, p = l.tag), "mediaStore" in l && e(2, T = l.mediaStore), "rendererMap" in l && e(3, d = l.rendererMap), "contentTypeMap" in l && e(4, S = l.contentTypeMap), "state" in l && e(5, n = l.state), "temporaryState" in l && e(6, m = l.temporaryState);
|
|
429
429
|
}, o.$$.update = () => {
|
|
430
430
|
var l, D, I;
|
|
431
|
-
o.$$.dirty & /*tag*/
|
|
432
|
-
|
|
433
|
-
var R, V;
|
|
434
|
-
return !(((V = (R = p.style) == null ? void 0 : R.point) == null ? void 0 : V.enabled) === !1 || p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Panorama" || p.contentType === "Audio" && p.data.appearance === "plane");
|
|
431
|
+
o.$$.dirty & /*tag, rendererMap*/
|
|
432
|
+
10 && e(15, t = (() => {
|
|
433
|
+
var R, V, j;
|
|
434
|
+
return !(((V = (R = p.style) == null ? void 0 : R.point) == null ? void 0 : V.enabled) === !1 || ((j = d.get(p.contentType)) == null ? void 0 : j.usePoint) !== !0 || p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Panorama" || p.contentType === "Audio" && p.data.appearance === "plane");
|
|
435
435
|
})()), o.$$.dirty & /*tag*/
|
|
436
436
|
2 && e(14, r = (() => p.stickType === "2DPoint")()), o.$$.dirty & /*tag*/
|
|
437
437
|
2 && e(13, a = p.id), o.$$.dirty & /*tag*/
|
|
@@ -442,10 +442,10 @@ function nt(o, i, e) {
|
|
|
442
442
|
128 && e(9, f = (u == null ? void 0 : u.leftPercent) + "%"), o.$$.dirty & /*screenPosition*/
|
|
443
443
|
128 && e(8, w = (u == null ? void 0 : u.topPercent) + "%");
|
|
444
444
|
}, [
|
|
445
|
-
|
|
445
|
+
g,
|
|
446
446
|
p,
|
|
447
447
|
T,
|
|
448
|
-
|
|
448
|
+
d,
|
|
449
449
|
S,
|
|
450
450
|
n,
|
|
451
451
|
m,
|
|
@@ -461,14 +461,14 @@ function nt(o, i, e) {
|
|
|
461
461
|
M
|
|
462
462
|
];
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class Ue extends O {
|
|
465
465
|
constructor(i) {
|
|
466
|
-
super(),
|
|
466
|
+
super(), Q(
|
|
467
467
|
this,
|
|
468
468
|
i,
|
|
469
|
+
at,
|
|
469
470
|
nt,
|
|
470
|
-
|
|
471
|
-
Q,
|
|
471
|
+
U,
|
|
472
472
|
{
|
|
473
473
|
withAnimation: 0,
|
|
474
474
|
tag: 1,
|
|
@@ -478,10 +478,10 @@ class Qe extends K {
|
|
|
478
478
|
state: 5,
|
|
479
479
|
temporaryState: 6
|
|
480
480
|
},
|
|
481
|
-
|
|
481
|
+
tt
|
|
482
482
|
);
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
export {
|
|
486
|
-
|
|
486
|
+
Ue as default
|
|
487
487
|
};
|
|
@@ -23,9 +23,12 @@ export declare abstract class TagRender extends TagComputer {
|
|
|
23
23
|
* 如果是 `TagContentType` 中的类型,将会覆盖掉插件内部默认的渲染器,
|
|
24
24
|
* 如果是其他任意 str
|
|
25
25
|
* ing 如:'Foo',则可以将类似 `{id: 1, contentType: 'Foo', position: [0,0,0]}` 的 tag 交给插件渲染
|
|
26
|
+
* @param config.usePoint 是否需要标签点, 默认为 false
|
|
26
27
|
* @note 优先级低于 tag.element
|
|
27
28
|
*/
|
|
28
|
-
registerRenderer(contentType: string, renderer: ElementRenderer
|
|
29
|
+
registerRenderer(contentType: string, renderer: ElementRenderer, config?: {
|
|
30
|
+
usePoint?: boolean;
|
|
31
|
+
}): void;
|
|
29
32
|
bindRenderer(contentType: string, builtInRenderer: TagContentType): void;
|
|
30
33
|
clearTags(): void;
|
|
31
34
|
/**
|
|
@@ -220,10 +220,12 @@ class fi extends I {
|
|
|
220
220
|
* 如果是 `TagContentType` 中的类型,将会覆盖掉插件内部默认的渲染器,
|
|
221
221
|
* 如果是其他任意 str
|
|
222
222
|
* ing 如:'Foo',则可以将类似 `{id: 1, contentType: 'Foo', position: [0,0,0]}` 的 tag 交给插件渲染
|
|
223
|
+
* @param config.usePoint 是否需要标签点, 默认为 false
|
|
223
224
|
* @note 优先级低于 tag.element
|
|
224
225
|
*/
|
|
225
|
-
registerRenderer(t, e) {
|
|
226
|
-
|
|
226
|
+
registerRenderer(t, e, o) {
|
|
227
|
+
var i;
|
|
228
|
+
this.rendererMap.set(t, { renderer: e, usePoint: (i = o == null ? void 0 : o.usePoint) != null ? i : !1 });
|
|
227
229
|
}
|
|
228
230
|
bindRenderer(t, e) {
|
|
229
231
|
this.contentTypeMap.set(t, e);
|
|
@@ -51,6 +51,7 @@ export type TagGLTFObject = GLTFObject & {
|
|
|
51
51
|
export type ElementRenderer = (container: HTMLElement, tag: TagInstance<any, any>) => () => void;
|
|
52
52
|
export type TagRendererMap = Map<string, {
|
|
53
53
|
renderer: ElementRenderer;
|
|
54
|
+
usePoint: boolean;
|
|
54
55
|
}>;
|
|
55
56
|
export type TagContentTypeMapping = Map<string, string>;
|
|
56
57
|
export interface TagObjectGroup extends Group {
|