@realsee/dnalogel 3.41.1-alpha.0 → 3.41.2
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 +7 -0
- package/dist/CruisePlugin/BaseController.d.ts +2 -0
- package/dist/CurrentPanoImagePlugin/Controller.d.ts +0 -1
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -3
- package/dist/base/BasePlugin.d.ts +0 -2
- package/dist/index.cjs.js +55 -55
- package/dist/index.js +4382 -4401
- package/dist/index.umd.js +52 -52
- package/dist/shared-utils/Utils/FiveUtil.d.ts +0 -1
- package/dist/shared-utils/five/FiveDomEvents.d.ts +0 -1
- package/dist/shared-utils/three/blink.d.ts +1 -1
- package/libs/AreaMakerPlugin/Controller.js +4 -6
- package/libs/AreaMakerPlugin/index.js +3 -5
- package/libs/AreaMakerPlugin/utils/Item.js +2 -2
- package/libs/CSS3DRenderPlugin/Controller.js +2 -3
- package/libs/CSS3DRenderPlugin/index.js +5 -6
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
- package/libs/CruisePlugin/BaseController.d.ts +2 -0
- package/libs/CruisePlugin/BaseController.js +36 -36
- package/libs/CruisePlugin/Move.js +5 -6
- package/libs/CruisePlugin/Work.js +6 -7
- package/libs/CruisePlugin/index.js +9 -10
- package/libs/CurrentPanoImagePlugin/Controller.d.ts +0 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +11 -13
- package/libs/CurrentPanoImagePlugin/index.js +4 -6
- package/libs/GuideLinePlugin/Controller.js +8 -9
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -6
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +71 -76
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -7
- package/libs/GuideLinePlugin/index.js +9 -10
- package/libs/ModelMakerPlugin/Controller.js +3 -5
- package/libs/ModelMakerPlugin/index.js +3 -5
- package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +2 -3
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +6 -7
- package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
- package/libs/ModelTVVideoPlugin/index.js +2 -3
- package/libs/Object3DHelperPlugin/Controller.js +14 -16
- package/libs/Object3DHelperPlugin/index.js +6 -8
- package/libs/PanoCompassPlugin/Controller.js +3 -5
- package/libs/PanoCompassPlugin/index.js +4 -6
- package/libs/PanoDoorLabelPlugin/BaseController.js +7 -9
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -5
- package/libs/PanoDoorLabelPlugin/index.js +4 -6
- package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +2 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -4
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +34 -35
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +49 -50
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -5
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +2 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +3 -4
- package/libs/PanoMeasurePlugin/index.js +14 -16
- package/libs/PanoSpatialTagPlugin/Plugin.js +3 -4
- package/libs/PanoSpatialTagPlugin/index.js +0 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +9 -11
- package/libs/PanoTagPlugin/controller/TagComputer.js +10 -12
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -5
- package/libs/PanoTagPlugin/controller/index.js +6 -8
- package/libs/PanoTagPlugin/index.js +12 -14
- package/libs/PanoVideoPlugin/Controller.js +3 -5
- package/libs/PanoVideoPlugin/index.js +6 -8
- package/libs/PipelinePlugin/Controller.js +23 -25
- package/libs/PipelinePlugin/index.js +4 -6
- package/libs/base/BasePlugin.d.ts +0 -2
- package/libs/base/BasePlugin.js +13 -14
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +11 -14
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -5
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -5
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
- package/libs/index.js +128 -129
- package/libs/shared-utils/Utils/FiveUtil.d.ts +0 -1
- package/libs/shared-utils/Utils/FiveUtil.js +7 -11
- package/libs/shared-utils/five/FiveDomEvents.d.ts +0 -1
- package/libs/shared-utils/five/FiveDomEvents.js +42 -46
- package/libs/shared-utils/five/fiveModelLoad.js +17 -26
- package/libs/shared-utils/five/getPosition.js +23 -24
- package/libs/shared-utils/log.js +3 -7
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +9 -10
- package/libs/shared-utils/three/blink.d.ts +1 -1
- package/libs/shared-utils/three/blink.js +77 -70
- package/libs/shared-utils/three/getIntersect.js +18 -19
- package/package.json +1 -1
- package/README.md +0 -116
- package/dist/shared-utils/five/getFiveModel.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/shared-utils/five/getFiveModel.d.ts +0 -2
- package/libs/shared-utils/five/getFiveModel.js +0 -7
|
@@ -5,7 +5,6 @@ export declare class FiveUtil extends BaseUtil {
|
|
|
5
5
|
workUtil: WorkUtil;
|
|
6
6
|
get version(): string;
|
|
7
7
|
get majorVersion(): number;
|
|
8
|
-
get model(): import("@realsee/five").Model;
|
|
9
8
|
constructor(five: Five);
|
|
10
9
|
moveToPano(panoNumber: number, movePanoOptions: Parameters<Five['moveToPano']>[1]): Promise<void>;
|
|
11
10
|
}
|
|
@@ -86,7 +86,6 @@ export declare class FiveDomEvents {
|
|
|
86
86
|
private get haveDragEventObject();
|
|
87
87
|
private boundObject;
|
|
88
88
|
private config;
|
|
89
|
-
private get model();
|
|
90
89
|
constructor(five: Five, config?: EventHandlerConfig);
|
|
91
90
|
/**
|
|
92
91
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
@@ -39,11 +39,9 @@ import { AreaMakerItem as D } from "./utils/Item.js";
|
|
|
39
39
|
import "../base/BasePlugin.js";
|
|
40
40
|
import "../shared-utils/Subscribe.js";
|
|
41
41
|
import "../shared-utils/url/absoluteUrl.js";
|
|
42
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
43
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
44
42
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
43
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
45
44
|
import "../shared-utils/five/transformPosition.js";
|
|
46
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
47
45
|
import "../shared-utils/positionToVector3.js";
|
|
48
46
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
49
47
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -67,7 +65,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
67
65
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
68
66
|
import "../shared-utils/math/planimetry.js";
|
|
69
67
|
import "../shared-utils/dom/resizeObserver.js";
|
|
70
|
-
class
|
|
68
|
+
class lt extends k {
|
|
71
69
|
/** AreaMakerPlugin
|
|
72
70
|
* @param `five` `<Five>` Five 实例
|
|
73
71
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -137,7 +135,7 @@ class mt extends k {
|
|
|
137
135
|
const e = i.reduce((n, l) => {
|
|
138
136
|
const v = n.intersects[0].distance, b = l.intersects[0].distance;
|
|
139
137
|
return v < b ? n : l;
|
|
140
|
-
}), s = this.
|
|
138
|
+
}), s = this.five.model.intersectRaycaster(t)[0];
|
|
141
139
|
if (this.config.modelDepthTest && s && s.distance < e.intersects[0].distance)
|
|
142
140
|
return;
|
|
143
141
|
if (this.hooks.emit("wantsTap", {
|
|
@@ -342,5 +340,5 @@ class mt extends k {
|
|
|
342
340
|
}
|
|
343
341
|
}
|
|
344
342
|
export {
|
|
345
|
-
|
|
343
|
+
lt as Controller
|
|
346
344
|
};
|
|
@@ -22,11 +22,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "animejs";
|
|
24
24
|
import "../shared-utils/url/absoluteUrl.js";
|
|
25
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
26
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
27
25
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
26
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
28
27
|
import "../shared-utils/five/transformPosition.js";
|
|
29
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
30
28
|
import "../shared-utils/equal.js";
|
|
31
29
|
import "../shared-utils/isTruelyObject.js";
|
|
32
30
|
import "./utils/Item.js";
|
|
@@ -39,7 +37,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
39
37
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
40
38
|
import "../shared-utils/math/planimetry.js";
|
|
41
39
|
import "../shared-utils/dom/resizeObserver.js";
|
|
42
|
-
const
|
|
40
|
+
const Q = (r, o) => new t(r, o);
|
|
43
41
|
export {
|
|
44
|
-
|
|
42
|
+
Q as AreaMakerPlugin
|
|
45
43
|
};
|
|
@@ -160,7 +160,7 @@ class it {
|
|
|
160
160
|
i(this, "checkVisible", () => {
|
|
161
161
|
if (!this.plugin.state.visible)
|
|
162
162
|
return { result: !1, msg: "插件不可见" };
|
|
163
|
-
const t = this.plugin.
|
|
163
|
+
const t = this.plugin.five.model.shownFloor;
|
|
164
164
|
return t === null || t === this.floorIndex ? { result: !0, msg: "" } : { result: !1, msg: `模型高亮楼层不符合展示条件, 当前高亮楼层为:${t}` };
|
|
165
165
|
});
|
|
166
166
|
/** 更新标注标签 */
|
|
@@ -192,7 +192,7 @@ class it {
|
|
|
192
192
|
return { result: !1, msg: "处于容器 resize 动画中" };
|
|
193
193
|
const t = this.plugin.five, s = new a.Raycaster(), o = t.camera.position.clone();
|
|
194
194
|
s.set(o.clone(), this.tagPosition.clone().sub(o).normalize());
|
|
195
|
-
const [r] =
|
|
195
|
+
const [r] = t.model.intersectRaycaster(s), l = this.tagPosition.distanceTo(t.camera.position);
|
|
196
196
|
if (r && r.distance + 0.1 < l)
|
|
197
197
|
return { result: !1, msg: "标注标签被 Five 模型遮挡" };
|
|
198
198
|
const h = this.tagNDCPosition;
|
|
@@ -33,9 +33,8 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
33
33
|
import "../shared-utils/three/getObjectVisible.js";
|
|
34
34
|
import "./utils/three/CSS3DScene.js";
|
|
35
35
|
import "./utils/three/CSS3DGroup.js";
|
|
36
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
37
36
|
const b = "v2.0.1", E = `CSS3DRenderPlugin@${b}`;
|
|
38
|
-
class
|
|
37
|
+
class Z extends j {
|
|
39
38
|
constructor(e) {
|
|
40
39
|
super();
|
|
41
40
|
n(this, "five");
|
|
@@ -148,5 +147,5 @@ class g extends j {
|
|
|
148
147
|
}
|
|
149
148
|
export {
|
|
150
149
|
E as PLUGIN_NAME,
|
|
151
|
-
|
|
150
|
+
Z as default
|
|
152
151
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "./Controller.js";
|
|
2
|
-
import { CSS3DRender as
|
|
2
|
+
import { CSS3DRender as q } from "./utils/three/CSS3DRender.js";
|
|
3
3
|
import "./utils/generateBehindFiveElement.js";
|
|
4
4
|
import "hammerjs";
|
|
5
5
|
import "three";
|
|
@@ -7,7 +7,6 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
7
7
|
import "animejs";
|
|
8
8
|
import "../shared-utils/url/absoluteUrl.js";
|
|
9
9
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
10
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
11
10
|
import "../shared-utils/positionToVector3.js";
|
|
12
11
|
import "./utils/three/CSS3DRenderer.js";
|
|
13
12
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -22,9 +21,9 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
22
21
|
import "../shared-utils/three/getObjectVisible.js";
|
|
23
22
|
import "./utils/three/CSS3DScene.js";
|
|
24
23
|
import "./utils/three/CSS3DGroup.js";
|
|
25
|
-
const
|
|
24
|
+
const h = (r) => new o(r);
|
|
26
25
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
q as CSS3DRender,
|
|
27
|
+
h as CSS3DRenderPlugin,
|
|
28
|
+
h as default
|
|
30
29
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var t = (o, n, e) => new Promise((u, r) => {
|
|
2
|
+
var c = (d) => {
|
|
3
|
+
try {
|
|
4
|
+
a(e.next(d));
|
|
5
|
+
} catch (l) {
|
|
6
|
+
r(l);
|
|
7
|
+
}
|
|
8
|
+
}, f = (d) => {
|
|
9
|
+
try {
|
|
10
|
+
a(e.throw(d));
|
|
11
|
+
} catch (l) {
|
|
12
|
+
r(l);
|
|
13
|
+
}
|
|
14
|
+
}, a = (d) => d.done ? u(d.value) : Promise.resolve(d.value).then(c, f);
|
|
15
|
+
a((e = e.apply(o, n)).next());
|
|
16
|
+
});
|
|
17
|
+
function m(o) {
|
|
18
|
+
return t(this, null, function* () {
|
|
19
|
+
return new Promise((n) => {
|
|
20
|
+
var e;
|
|
21
|
+
if ((e = o.model) != null && e.loaded) {
|
|
22
|
+
n();
|
|
23
|
+
return;
|
|
24
|
+
} else
|
|
25
|
+
o.once("modelLoaded", () => n());
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
m as default
|
|
31
|
+
};
|
|
@@ -4,9 +4,11 @@ import type { GuideLinePluginExportType } from '../GuideLinePlugin';
|
|
|
4
4
|
import * as BasePlugin from '../base/BasePlugin';
|
|
5
5
|
import type { PluginState, EventMap, MoveEffect } from './typing';
|
|
6
6
|
import type { PartialDeep } from 'type-fest';
|
|
7
|
+
import { FiveUtil } from '../shared-utils/Utils/FiveUtil';
|
|
7
8
|
export declare const pluginFlag: (name: string) => string;
|
|
8
9
|
export default abstract class CruiseController<PluginData, Config = unknown> extends BasePlugin.Controller<PluginState, EventMap> {
|
|
9
10
|
state: PluginState;
|
|
11
|
+
protected fiveUtil: FiveUtil;
|
|
10
12
|
protected data?: PluginData & {
|
|
11
13
|
id: string | number;
|
|
12
14
|
};
|
|
@@ -10,25 +10,26 @@ var p = (a, s, e) => s in a ? c(a, s, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
return a;
|
|
11
11
|
};
|
|
12
12
|
var d = (a, s, e) => (p(a, typeof s != "symbol" ? s + "" : s, e), e);
|
|
13
|
-
var u = (a, s, e) => new Promise((
|
|
13
|
+
var u = (a, s, e) => new Promise((i, t) => {
|
|
14
14
|
var r = (h) => {
|
|
15
15
|
try {
|
|
16
16
|
n(e.next(h));
|
|
17
17
|
} catch (o) {
|
|
18
|
-
|
|
18
|
+
t(o);
|
|
19
19
|
}
|
|
20
20
|
}, b = (h) => {
|
|
21
21
|
try {
|
|
22
22
|
n(e.throw(h));
|
|
23
23
|
} catch (o) {
|
|
24
|
-
|
|
24
|
+
t(o);
|
|
25
25
|
}
|
|
26
|
-
}, n = (h) => h.done ?
|
|
26
|
+
}, n = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(r, b);
|
|
27
27
|
n((e = e.apply(a, s)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as y } from "../base/BasePlugin.js";
|
|
30
30
|
import { equal as L } from "../shared-utils/equal.js";
|
|
31
31
|
import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
|
+
import { FiveUtil as P } from "../shared-utils/Utils/FiveUtil.js";
|
|
32
33
|
import "../shared-utils/Subscribe.js";
|
|
33
34
|
import "hammerjs";
|
|
34
35
|
import "three";
|
|
@@ -50,16 +51,14 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
50
51
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
51
52
|
import "animejs";
|
|
52
53
|
import "../shared-utils/url/absoluteUrl.js";
|
|
53
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
54
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
55
54
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
55
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
56
56
|
import "../shared-utils/five/transformPosition.js";
|
|
57
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
58
57
|
import "../shared-utils/isTruelyObject.js";
|
|
59
58
|
const m = "CruisePlugin", l = `${m}`, ee = (a) => `${l}--${a}`;
|
|
60
|
-
class
|
|
61
|
-
constructor(e,
|
|
62
|
-
super(e,
|
|
59
|
+
class ie extends y {
|
|
60
|
+
constructor(e, i) {
|
|
61
|
+
super(e, i);
|
|
63
62
|
d(this, "state", {
|
|
64
63
|
visible: !0,
|
|
65
64
|
enabled: !0,
|
|
@@ -67,6 +66,7 @@ class te extends y {
|
|
|
67
66
|
playing: !1,
|
|
68
67
|
speed: 1
|
|
69
68
|
});
|
|
69
|
+
d(this, "fiveUtil", new P(this.five));
|
|
70
70
|
d(this, "data");
|
|
71
71
|
d(this, "config");
|
|
72
72
|
d(this, "pauseDataMap", /* @__PURE__ */ new Map());
|
|
@@ -85,7 +85,7 @@ class te extends y {
|
|
|
85
85
|
d(this, "disableErrorLog", () => {
|
|
86
86
|
console.error(`${l} is disabled`);
|
|
87
87
|
});
|
|
88
|
-
this.config =
|
|
88
|
+
this.config = i, Object.assign(window, { [`__${m}_DEBUG__`]: this });
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
@@ -136,50 +136,50 @@ class te extends y {
|
|
|
136
136
|
/**
|
|
137
137
|
* @description Set state
|
|
138
138
|
*/
|
|
139
|
-
setState(e,
|
|
139
|
+
setState(e, i) {
|
|
140
140
|
var r;
|
|
141
141
|
if (this.state.disposed)
|
|
142
142
|
return this.disposedErrorLog();
|
|
143
143
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
144
144
|
return this.disableErrorLog();
|
|
145
|
-
const
|
|
146
|
-
this.state = C({}, this.state, e), e.disposed !== void 0 && e.disposed !==
|
|
145
|
+
const t = g({}, this.state);
|
|
146
|
+
this.state = C({}, this.state, e), e.disposed !== void 0 && e.disposed !== t.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== t.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== t.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== t.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== t.speed && this.changeSpeed(e.speed), L(t, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: t, userAction: (r = i == null ? void 0 : i.userAction) != null ? r : !0 });
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* @description Clear pause data
|
|
150
150
|
*/
|
|
151
151
|
clearPauseData() {
|
|
152
|
-
var e,
|
|
152
|
+
var e, i;
|
|
153
153
|
if ((e = this.data) != null && e.id)
|
|
154
|
-
return this.pauseDataMap.delete((
|
|
154
|
+
return this.pauseDataMap.delete((i = this.data) == null ? void 0 : i.id);
|
|
155
155
|
}
|
|
156
|
-
changePlayState(e,
|
|
156
|
+
changePlayState(e, i) {
|
|
157
157
|
this.actionIfStateIsEnabled(
|
|
158
158
|
() => {
|
|
159
|
-
var
|
|
160
|
-
return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (
|
|
159
|
+
var t;
|
|
160
|
+
return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (t = i == null ? void 0 : i.userAction) != null ? t : !0 });
|
|
161
161
|
}
|
|
162
|
-
), e ? this.handlePlay(
|
|
162
|
+
), e ? this.handlePlay(i) : this.handlePause(i), this.state.playing = e;
|
|
163
163
|
}
|
|
164
|
-
handleEnable(e,
|
|
165
|
-
var
|
|
166
|
-
e ? ((
|
|
164
|
+
handleEnable(e, i = !0) {
|
|
165
|
+
var t, r;
|
|
166
|
+
e ? ((t = this.GuideLine) == null || t.enable(), this.hooks.emit("enable", { userAction: i })) : ((r = this.GuideLine) == null || r.disable(), this.changePlayState(!1, { userAction: i }), this.hooks.emit("disable", { userAction: i })), this.state.enabled = e;
|
|
167
167
|
}
|
|
168
|
-
handleVisible(e,
|
|
169
|
-
var
|
|
170
|
-
e ? ((
|
|
168
|
+
handleVisible(e, i = !0) {
|
|
169
|
+
var t, r;
|
|
170
|
+
e ? ((t = this.GuideLine) == null || t.show(), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: i }))) : ((r = this.GuideLine) == null || r.hide(), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: i }))), this.state.visible = e;
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
173
173
|
* @description: listen interupted by five gesture
|
|
174
174
|
*/
|
|
175
175
|
addInterruptListener(e) {
|
|
176
|
-
const
|
|
176
|
+
const i = () => {
|
|
177
177
|
this.privateState.modeChanging || e();
|
|
178
|
-
},
|
|
179
|
-
r !== "mouseMove" && (e(), this.five.off("gesture",
|
|
178
|
+
}, t = (r) => {
|
|
179
|
+
r !== "mouseMove" && (e(), this.five.off("gesture", t));
|
|
180
180
|
};
|
|
181
|
-
return this.five.on("gesture",
|
|
182
|
-
this.five.off("gesture",
|
|
181
|
+
return this.five.on("gesture", t), this.five.once("wantsChangeMode", i), () => {
|
|
182
|
+
this.five.off("gesture", t), this.five.off("wantsChangeMode", i);
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
@@ -203,8 +203,8 @@ class te extends y {
|
|
|
203
203
|
* @description Set pause data
|
|
204
204
|
*/
|
|
205
205
|
setPauseData() {
|
|
206
|
-
var
|
|
207
|
-
const e = (
|
|
206
|
+
var i;
|
|
207
|
+
const e = (i = this.data) == null ? void 0 : i.id;
|
|
208
208
|
if (e)
|
|
209
209
|
return this.pauseDataMap.set(e, {
|
|
210
210
|
fiveState: this.five.getCurrentState(),
|
|
@@ -225,13 +225,13 @@ class te extends y {
|
|
|
225
225
|
/**
|
|
226
226
|
* @description Action function if plugin is enable
|
|
227
227
|
*/
|
|
228
|
-
actionIfStateIsEnabled(e,
|
|
228
|
+
actionIfStateIsEnabled(e, i) {
|
|
229
229
|
if (this.state.enabled)
|
|
230
230
|
return e();
|
|
231
|
-
|
|
231
|
+
i != null && i.warnLog && this.disableWarnLog();
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
export {
|
|
235
|
-
|
|
235
|
+
ie as default,
|
|
236
236
|
ee as pluginFlag
|
|
237
237
|
};
|
|
@@ -42,13 +42,12 @@ import M from "../GuideLinePlugin/index.js";
|
|
|
42
42
|
import "../base/BasePlugin.js";
|
|
43
43
|
import "../shared-utils/Subscribe.js";
|
|
44
44
|
import "../shared-utils/url/absoluteUrl.js";
|
|
45
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
46
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
47
45
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
46
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
48
47
|
import "../shared-utils/five/transformPosition.js";
|
|
49
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
50
48
|
import "../shared-utils/equal.js";
|
|
51
49
|
import "../shared-utils/isTruelyObject.js";
|
|
50
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
52
51
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
53
52
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
54
53
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -78,6 +77,7 @@ import "../vendor/gl-vec2/subtract.js";
|
|
|
78
77
|
import "../vendor/gl-vec2/dot.js";
|
|
79
78
|
import "../shared-utils/math/intersecting.js";
|
|
80
79
|
import "../shared-utils/five/mode.js";
|
|
80
|
+
import "../shared-utils/three/blink.js";
|
|
81
81
|
import "../shared-utils/isNil.js";
|
|
82
82
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
83
83
|
import "../shared-utils/animationFrame/index.js";
|
|
@@ -194,7 +194,6 @@ import "../vendor/classnames/index.js";
|
|
|
194
194
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
195
195
|
import "../shared-utils/three/GLTFLoader.js";
|
|
196
196
|
import "@realsee/five/gltf-loader";
|
|
197
|
-
import "../shared-utils/three/blink.js";
|
|
198
197
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
199
198
|
import "./utils/sleep.js";
|
|
200
199
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
@@ -208,7 +207,7 @@ import "./utils/coordinatesAngle.js";
|
|
|
208
207
|
import "./utils/coordinatesToVector.js";
|
|
209
208
|
import "./utils/safeCall.js";
|
|
210
209
|
import "../shared-utils/five/fiveLoaded.js";
|
|
211
|
-
class
|
|
210
|
+
class to extends z {
|
|
212
211
|
constructor(t, r) {
|
|
213
212
|
var h;
|
|
214
213
|
super(t, r);
|
|
@@ -316,5 +315,5 @@ class io extends z {
|
|
|
316
315
|
}
|
|
317
316
|
}
|
|
318
317
|
export {
|
|
319
|
-
|
|
318
|
+
to as default
|
|
320
319
|
};
|
|
@@ -47,11 +47,9 @@ import "../base/BasePluginWithData.js";
|
|
|
47
47
|
import "../base/BasePlugin.js";
|
|
48
48
|
import "../shared-utils/Subscribe.js";
|
|
49
49
|
import "../shared-utils/url/absoluteUrl.js";
|
|
50
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
51
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
52
50
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
51
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
53
52
|
import "../shared-utils/five/transformPosition.js";
|
|
54
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
55
53
|
import "../shared-utils/equal.js";
|
|
56
54
|
import "../shared-utils/isTruelyObject.js";
|
|
57
55
|
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
@@ -67,6 +65,8 @@ import "../vendor/gl-vec2/subtract.js";
|
|
|
67
65
|
import "../vendor/gl-vec2/dot.js";
|
|
68
66
|
import "../shared-utils/math/intersecting.js";
|
|
69
67
|
import "../shared-utils/five/mode.js";
|
|
68
|
+
import "../shared-utils/three/blink.js";
|
|
69
|
+
import "../shared-utils/util.js";
|
|
70
70
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
71
71
|
import "../shared-utils/animationFrame/index.js";
|
|
72
72
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -86,7 +86,6 @@ import "../PanoTagPlugin/controller/TagComputer.js";
|
|
|
86
86
|
import "../PanoTagPlugin/utils/tagPosition.js";
|
|
87
87
|
import "../shared-utils/three/centerPoint.js";
|
|
88
88
|
import "../PanoTagPlugin/utils/checkRange.js";
|
|
89
|
-
import "../shared-utils/util.js";
|
|
90
89
|
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
91
90
|
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
92
91
|
import "../PanoTagPlugin/tag.config.js";
|
|
@@ -196,7 +195,6 @@ import "../vendor/classnames/index.js";
|
|
|
196
195
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
197
196
|
import "../shared-utils/three/GLTFLoader.js";
|
|
198
197
|
import "@realsee/five/gltf-loader";
|
|
199
|
-
import "../shared-utils/three/blink.js";
|
|
200
198
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
201
199
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
202
200
|
import "../GuideLinePlugin/utils/index.js";
|
|
@@ -205,10 +203,11 @@ import "../shared-utils/five/changeMode.js";
|
|
|
205
203
|
import "../shared-utils/nearlyEqual.js";
|
|
206
204
|
import "./Move.js";
|
|
207
205
|
import "./utils/getFiveStateOnCurve.js";
|
|
206
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
208
207
|
import "../shared-utils/formatRad.js";
|
|
209
208
|
import "./Work.js";
|
|
210
209
|
import "./utils/coordinatesToVector.js";
|
|
211
|
-
class
|
|
210
|
+
class rr extends G {
|
|
212
211
|
constructor(t, e) {
|
|
213
212
|
super(t, e);
|
|
214
213
|
k(this, "state", {
|
|
@@ -596,5 +595,5 @@ class or extends G {
|
|
|
596
595
|
}
|
|
597
596
|
}
|
|
598
597
|
export {
|
|
599
|
-
|
|
598
|
+
rr as default
|
|
600
599
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as ht } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -26,11 +26,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
26
26
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
27
27
|
import "animejs";
|
|
28
28
|
import "../shared-utils/url/absoluteUrl.js";
|
|
29
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
30
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
31
29
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
30
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
32
31
|
import "../shared-utils/five/transformPosition.js";
|
|
33
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
34
32
|
import "../shared-utils/equal.js";
|
|
35
33
|
import "../shared-utils/isTruelyObject.js";
|
|
36
34
|
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
@@ -46,6 +44,7 @@ import "../vendor/gl-vec2/subtract.js";
|
|
|
46
44
|
import "../vendor/gl-vec2/dot.js";
|
|
47
45
|
import "../shared-utils/math/intersecting.js";
|
|
48
46
|
import "../shared-utils/five/mode.js";
|
|
47
|
+
import "../shared-utils/three/blink.js";
|
|
49
48
|
import "../shared-utils/isNil.js";
|
|
50
49
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
51
50
|
import "../shared-utils/animationFrame/index.js";
|
|
@@ -164,7 +163,6 @@ import "../vendor/classnames/index.js";
|
|
|
164
163
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
165
164
|
import "../shared-utils/three/GLTFLoader.js";
|
|
166
165
|
import "@realsee/five/gltf-loader";
|
|
167
|
-
import "../shared-utils/three/blink.js";
|
|
168
166
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
169
167
|
import "./utils/sleep.js";
|
|
170
168
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
@@ -179,14 +177,15 @@ import "../shared-utils/five/fiveLoaded.js";
|
|
|
179
177
|
import "../shared-utils/vectorToCoordinate.js";
|
|
180
178
|
import "../shared-utils/formatRad.js";
|
|
181
179
|
import "./BaseController.js";
|
|
180
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
182
181
|
import "./utils/getFiveStateOnCurve.js";
|
|
183
|
-
const
|
|
182
|
+
const kt = (o, r) => new t(o, r), Tt = (o, r) => new i(o, r);
|
|
184
183
|
export {
|
|
185
|
-
|
|
184
|
+
kt as CruisePlugin,
|
|
186
185
|
t as CruisePluginController,
|
|
187
|
-
|
|
186
|
+
ht as CruisePluginTypes,
|
|
188
187
|
i as MoveController,
|
|
189
|
-
|
|
188
|
+
Tt as MovePlugin,
|
|
190
189
|
t as WalkController,
|
|
191
|
-
|
|
190
|
+
kt as default
|
|
192
191
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var m = Object.getOwnPropertySymbols;
|
|
3
3
|
var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var p = (r, o, e) => o in r ? g(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, l = (r, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
v.call(o, e) &&
|
|
6
|
+
v.call(o, e) && p(r, e, o[e]);
|
|
7
7
|
if (m)
|
|
8
8
|
for (var e of m(o))
|
|
9
|
-
b.call(o, e) &&
|
|
9
|
+
b.call(o, e) && p(r, e, o[e]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
var n = (r, o, e) => (
|
|
12
|
+
var n = (r, o, e) => (p(r, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
13
|
var f = (r, o, e) => new Promise((i, t) => {
|
|
14
14
|
var s = (d) => {
|
|
15
15
|
try {
|
|
16
16
|
u(e.next(d));
|
|
17
|
-
} catch (
|
|
18
|
-
t(
|
|
17
|
+
} catch (c) {
|
|
18
|
+
t(c);
|
|
19
19
|
}
|
|
20
20
|
}, a = (d) => {
|
|
21
21
|
try {
|
|
22
22
|
u(e.throw(d));
|
|
23
|
-
} catch (
|
|
24
|
-
t(
|
|
23
|
+
} catch (c) {
|
|
24
|
+
t(c);
|
|
25
25
|
}
|
|
26
26
|
}, u = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, a);
|
|
27
27
|
u((e = e.apply(r, o)).next());
|
|
@@ -38,11 +38,9 @@ import { equal as w } from "../shared-utils/equal.js";
|
|
|
38
38
|
import { loadTexture as P } from "../shared-utils/three/loadTexture.js";
|
|
39
39
|
import "../shared-utils/Subscribe.js";
|
|
40
40
|
import "../shared-utils/url/absoluteUrl.js";
|
|
41
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
42
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
43
41
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
42
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
44
43
|
import "../shared-utils/five/transformPosition.js";
|
|
45
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
46
44
|
import "../shared-utils/animationFrame/index.js";
|
|
47
45
|
import "../shared-utils/positionToVector3.js";
|
|
48
46
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -58,7 +56,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
58
56
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
59
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
60
58
|
import "../shared-utils/isTruelyObject.js";
|
|
61
|
-
class
|
|
59
|
+
class Z extends M {
|
|
62
60
|
constructor(e, i) {
|
|
63
61
|
super(e);
|
|
64
62
|
// ==================== public properties ====================
|
|
@@ -285,5 +283,5 @@ class ie extends M {
|
|
|
285
283
|
}
|
|
286
284
|
}
|
|
287
285
|
export {
|
|
288
|
-
|
|
286
|
+
Z as CurrentPanoImagePluginController
|
|
289
287
|
};
|
|
@@ -21,18 +21,16 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
22
22
|
import "animejs";
|
|
23
23
|
import "../shared-utils/url/absoluteUrl.js";
|
|
24
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
25
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
26
24
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
25
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
27
26
|
import "../shared-utils/five/transformPosition.js";
|
|
28
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
29
27
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
30
28
|
import "../shared-utils/animationFrame/index.js";
|
|
31
29
|
import "../shared-utils/equal.js";
|
|
32
30
|
import "../shared-utils/isTruelyObject.js";
|
|
33
31
|
import "../shared-utils/three/loadTexture.js";
|
|
34
|
-
const
|
|
32
|
+
const G = (r, o) => new t(r, o);
|
|
35
33
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
G as CurrentPanoImagePlugin,
|
|
35
|
+
G as default
|
|
38
36
|
};
|