@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as G } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
5
|
import "hammerjs";
|
|
@@ -26,14 +26,12 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
26
26
|
import "./utils/index.js";
|
|
27
27
|
import "../base/BasePlugin.js";
|
|
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
|
-
|
|
34
|
-
const F = (o) => new r(o);
|
|
32
|
+
const D = (o) => new r(o);
|
|
35
33
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
D as PanoVideoPlugin,
|
|
35
|
+
G as PanoVideoPluginType,
|
|
36
|
+
D as default
|
|
39
37
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var j = Object.defineProperty;
|
|
2
2
|
var v = Object.getOwnPropertySymbols;
|
|
3
3
|
var P = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var A = (
|
|
4
|
+
var A = (p, n, e) => n in p ? j(p, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[n] = e, m = (p, n) => {
|
|
5
5
|
for (var e in n || (n = {}))
|
|
6
|
-
P.call(n, e) && A(
|
|
6
|
+
P.call(n, e) && A(p, e, n[e]);
|
|
7
7
|
if (v)
|
|
8
8
|
for (var e of v(n))
|
|
9
|
-
_.call(n, e) && A(
|
|
10
|
-
return
|
|
9
|
+
_.call(n, e) && A(p, e, n[e]);
|
|
10
|
+
return p;
|
|
11
11
|
};
|
|
12
|
-
var u = (
|
|
13
|
-
var d = (
|
|
12
|
+
var u = (p, n, e) => (A(p, typeof n != "symbol" ? n + "" : n, e), e);
|
|
13
|
+
var d = (p, n, e) => new Promise((t, i) => {
|
|
14
14
|
var s = (a) => {
|
|
15
15
|
try {
|
|
16
16
|
o(e.next(a));
|
|
17
|
-
} catch (
|
|
18
|
-
i(
|
|
17
|
+
} catch (c) {
|
|
18
|
+
i(c);
|
|
19
19
|
}
|
|
20
20
|
}, r = (a) => {
|
|
21
21
|
try {
|
|
22
22
|
o(e.throw(a));
|
|
23
|
-
} catch (
|
|
24
|
-
i(
|
|
23
|
+
} catch (c) {
|
|
24
|
+
i(c);
|
|
25
25
|
}
|
|
26
26
|
}, o = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
|
|
27
|
-
o((e = e.apply(
|
|
27
|
+
o((e = e.apply(p, n)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as F from "three";
|
|
30
30
|
import { Controller as S } from "../base/BasePluginWithData.js";
|
|
@@ -54,11 +54,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
54
54
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
55
55
|
import "animejs";
|
|
56
56
|
import "../shared-utils/url/absoluteUrl.js";
|
|
57
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
58
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
59
57
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
58
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
60
59
|
import "../shared-utils/five/transformPosition.js";
|
|
61
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
62
60
|
import "../shared-utils/isTruelyObject.js";
|
|
63
61
|
import "../shared-utils/animationFrame/index.js";
|
|
64
62
|
import "./utils/Objects/Pipe.js";
|
|
@@ -67,7 +65,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
|
67
65
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
68
66
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
69
67
|
const g = { flowSpeed: 0.6, rotateSpeed: 0 };
|
|
70
|
-
class
|
|
68
|
+
class be extends S {
|
|
71
69
|
constructor(e) {
|
|
72
70
|
super(e);
|
|
73
71
|
// ==================== public properties ====================
|
|
@@ -96,12 +94,12 @@ class Ae extends S {
|
|
|
96
94
|
const [t] = e, i = t.intersectObjects(this.pipeObjects, !1);
|
|
97
95
|
if (i.length === 0 || !this.data)
|
|
98
96
|
return;
|
|
99
|
-
const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o),
|
|
100
|
-
if (!(!a || !
|
|
97
|
+
const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o), c = this.data.pipelines.find((h) => a && h.pipes.includes(a));
|
|
98
|
+
if (!(!a || !c))
|
|
101
99
|
return this.hooks.emit("tap", {
|
|
102
100
|
intersectObjects: i,
|
|
103
101
|
pipe: a,
|
|
104
|
-
pipeline:
|
|
102
|
+
pipeline: c,
|
|
105
103
|
wantsFiveTapGestureParams: e
|
|
106
104
|
}), !1;
|
|
107
105
|
});
|
|
@@ -127,13 +125,13 @@ class Ae extends S {
|
|
|
127
125
|
return d(this, null, function* () {
|
|
128
126
|
const r = this.data;
|
|
129
127
|
this.data = yield this.formatData(e, s), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
|
|
130
|
-
this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path:
|
|
131
|
-
const l = yield this.loadPipeTexture(a), f = { id: o, path:
|
|
128
|
+
this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path: c, radius: h }) {
|
|
129
|
+
const l = yield this.loadPipeTexture(a), f = { id: o, path: c, textureURL: a, texture: l, geometryConfig: { radius: h } };
|
|
132
130
|
return new D(f);
|
|
133
131
|
}))
|
|
134
132
|
), this.data.pipelines.forEach((o) => {
|
|
135
|
-
o.pipes.reduce((a,
|
|
136
|
-
const h = this.findPipeObjectWithID(
|
|
133
|
+
o.pipes.reduce((a, c) => {
|
|
134
|
+
const h = this.findPipeObjectWithID(c.id);
|
|
137
135
|
return h == null || h.setInitialDisplacement(a), a + ((h == null ? void 0 : h.pathLength) || 0);
|
|
138
136
|
}, 0);
|
|
139
137
|
}), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((o) => o.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
|
|
@@ -230,10 +228,10 @@ class Ae extends S {
|
|
|
230
228
|
* */
|
|
231
229
|
switchPipelines(e) {
|
|
232
230
|
return d(this, null, function* () {
|
|
233
|
-
var
|
|
231
|
+
var c, h, b, l, f, w;
|
|
234
232
|
if (!this.data)
|
|
235
233
|
return;
|
|
236
|
-
const t = (
|
|
234
|
+
const t = (c = e == null ? void 0 : e.target) != null ? c : null, i = (h = e == null ? void 0 : e.userAction) != null ? h : !0;
|
|
237
235
|
this.updateState({ target: t }, i);
|
|
238
236
|
const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s, o = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
|
|
239
237
|
target: t,
|
|
@@ -347,5 +345,5 @@ class Ae extends S {
|
|
|
347
345
|
}
|
|
348
346
|
}
|
|
349
347
|
export {
|
|
350
|
-
|
|
348
|
+
be as Controller
|
|
351
349
|
};
|
|
@@ -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 "../shared-utils/isNil.js";
|
|
@@ -39,8 +37,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
39
37
|
import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
40
38
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
41
39
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
42
|
-
const
|
|
40
|
+
const O = (r) => new o(r);
|
|
43
41
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
O as PipelinePlugin,
|
|
43
|
+
O as default
|
|
46
44
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import { Subscribe } from '../shared-utils/Subscribe';
|
|
3
3
|
import { WorkUtil } from '../shared-utils/Utils/WorkUtil';
|
|
4
|
-
import { FiveUtil } from '../shared-utils/Utils/FiveUtil';
|
|
5
4
|
/**
|
|
6
5
|
* 基本属性字段
|
|
7
6
|
*/
|
|
@@ -61,7 +60,6 @@ declare abstract class Controller<PluginState extends State = State, PluginEvent
|
|
|
61
60
|
readonly NAME?: string;
|
|
62
61
|
five: Five;
|
|
63
62
|
workUtil: WorkUtil;
|
|
64
|
-
fiveUtil: FiveUtil;
|
|
65
63
|
set workCode(workCode: string);
|
|
66
64
|
get workCode(): string;
|
|
67
65
|
/**
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var s = (
|
|
3
|
-
var
|
|
1
|
+
var i = Object.defineProperty;
|
|
2
|
+
var s = (e, t, r) => t in e ? i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var o = (e, t, r) => (s(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three";
|
|
@@ -9,23 +9,22 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
10
|
import "animejs";
|
|
11
11
|
import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
|
|
12
|
-
import {
|
|
13
|
-
let
|
|
12
|
+
import { WorkUtil as m } from "../shared-utils/Utils/WorkUtil.js";
|
|
13
|
+
let x = class {
|
|
14
14
|
constructor(t, r) {
|
|
15
15
|
/**
|
|
16
16
|
* @realsee/dnalogel 版本号
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
e(this, "fiveUtil");
|
|
18
|
+
o(this, "VERSION", "3.41.2");
|
|
19
|
+
o(this, "NAME");
|
|
20
|
+
o(this, "five");
|
|
21
|
+
o(this, "workUtil");
|
|
23
22
|
/**
|
|
24
23
|
* @description: 插件事件钩子
|
|
25
24
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
this.five = t, this.
|
|
25
|
+
o(this, "hooks", new l());
|
|
26
|
+
o(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
27
|
+
this.five = t, this.workUtil = new m(t), r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
|
|
29
28
|
}
|
|
30
29
|
set workCode(t) {
|
|
31
30
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
@@ -49,5 +48,5 @@ let c = class {
|
|
|
49
48
|
}
|
|
50
49
|
};
|
|
51
50
|
export {
|
|
52
|
-
|
|
51
|
+
x as Controller
|
|
53
52
|
};
|
|
@@ -30,9 +30,9 @@ var u = (d, r, t) => new Promise((e, i) => {
|
|
|
30
30
|
import * as b from "three";
|
|
31
31
|
import { to as M } from "../../shared-utils/to.js";
|
|
32
32
|
import { equal as y } from "../../shared-utils/equal.js";
|
|
33
|
-
import { Main as
|
|
33
|
+
import { Main as L } from "../Components/Main.js";
|
|
34
34
|
import { formatData as S } from "../utils/formatData.js";
|
|
35
|
-
import { CAMERA_IMAGE as
|
|
35
|
+
import { CAMERA_IMAGE as _ } from "../Assets/camera.js";
|
|
36
36
|
import { omit as C } from "../../shared-utils/filter.js";
|
|
37
37
|
import { FLOOR_PLAN_ATTACHED_TO as D } from "../constant.js";
|
|
38
38
|
import { Controller as O } from "../../base/BasePluginWithData.js";
|
|
@@ -44,7 +44,6 @@ import "hammerjs";
|
|
|
44
44
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
45
45
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
47
|
-
import { waitFiveModelLoaded as U } from "../../shared-utils/five/fiveModelLoad.js";
|
|
48
47
|
import "animejs";
|
|
49
48
|
import { isNil as z } from "../../shared-utils/isNil.js";
|
|
50
49
|
import "../../shared-utils/isTruelyObject.js";
|
|
@@ -79,11 +78,9 @@ import "../../shared-utils/tap.js";
|
|
|
79
78
|
import "../../base/BasePlugin.js";
|
|
80
79
|
import "../../shared-utils/Subscribe.js";
|
|
81
80
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
82
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
83
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
84
81
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
82
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
85
83
|
import "../../shared-utils/five/transformPosition.js";
|
|
86
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
87
84
|
import "../../shared-utils/nearlyEqual.js";
|
|
88
85
|
import "../../shared-utils/five/changeMode.js";
|
|
89
86
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -107,7 +104,7 @@ function G(d) {
|
|
|
107
104
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
108
105
|
return e && i;
|
|
109
106
|
}
|
|
110
|
-
class
|
|
107
|
+
class ie extends O {
|
|
111
108
|
constructor(t, e) {
|
|
112
109
|
var a, f;
|
|
113
110
|
super(t);
|
|
@@ -194,7 +191,7 @@ class re extends O {
|
|
|
194
191
|
var h;
|
|
195
192
|
if (!this.state.enabled)
|
|
196
193
|
return;
|
|
197
|
-
if (!((h = this.
|
|
194
|
+
if (!((h = this.five.model) != null && h.loaded))
|
|
198
195
|
throw new Error(m.ModelNotLoaded);
|
|
199
196
|
if (!this.data)
|
|
200
197
|
throw new Error(m.DataNotLoaded);
|
|
@@ -219,7 +216,7 @@ class re extends O {
|
|
|
219
216
|
throw a ? new Error(a) : new Error(m.UnknownError);
|
|
220
217
|
if (!this.updateSize())
|
|
221
218
|
throw new Error(m.UpdateSizeError);
|
|
222
|
-
this.updatePosition(), this.floorIndex = i.floorIndex, this.
|
|
219
|
+
this.updatePosition(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
|
|
223
220
|
});
|
|
224
221
|
return this.isHiddenByHideFunc = !1, this.showPromise = n().then(() => {
|
|
225
222
|
this.showPromise = void 0, this.showRejection = void 0;
|
|
@@ -327,7 +324,7 @@ class re extends O {
|
|
|
327
324
|
roomAreaEnable: !0,
|
|
328
325
|
roomNameEnable: !0,
|
|
329
326
|
roomDimensionEnable: !0,
|
|
330
|
-
cameraImageUrl:
|
|
327
|
+
cameraImageUrl: _,
|
|
331
328
|
attachedTo: D.BOUNDING_CENTER,
|
|
332
329
|
getLabelElement: void 0,
|
|
333
330
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
@@ -337,7 +334,7 @@ class re extends O {
|
|
|
337
334
|
getRoomDimensionText: (c, g) => (c / 1e3).toFixed(1) + "m × " + (g / 1e3).toFixed(1) + "m",
|
|
338
335
|
getRuleDistanceText: (c) => c.toString()
|
|
339
336
|
}, n = e ? C(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), s = p(l(l({}, i), n), { missingFloorConfig: h });
|
|
340
|
-
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(),
|
|
337
|
+
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
341
338
|
}
|
|
342
339
|
load(t, e, i = !0) {
|
|
343
340
|
return u(this, null, function* () {
|
|
@@ -383,7 +380,7 @@ class re extends O {
|
|
|
383
380
|
/** 更新户型图位置 */
|
|
384
381
|
updatePosition() {
|
|
385
382
|
var s;
|
|
386
|
-
const t = k(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.
|
|
383
|
+
const t = k(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.five.model) == null ? void 0 : s.bounding.getCenter(new b.Vector3()).setY(t);
|
|
387
384
|
if (!e)
|
|
388
385
|
return;
|
|
389
386
|
const i = e.clone().project(this.five.camera), n = (i.x + 1) / 2, h = -(i.y - 1) / 2;
|
|
@@ -437,9 +434,9 @@ class re extends O {
|
|
|
437
434
|
});
|
|
438
435
|
if (this.app)
|
|
439
436
|
return this.app.$set(e);
|
|
440
|
-
this.app = new
|
|
437
|
+
this.app = new L({ target: this.container, intro: !0, props: e });
|
|
441
438
|
}
|
|
442
439
|
}
|
|
443
440
|
export {
|
|
444
|
-
|
|
441
|
+
ie as Controller
|
|
445
442
|
};
|
|
@@ -58,21 +58,18 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
58
58
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
59
59
|
import "animejs";
|
|
60
60
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
61
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
62
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
63
61
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
62
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
64
63
|
import "../../shared-utils/five/transformPosition.js";
|
|
65
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
66
64
|
import "../../shared-utils/getPxmm.js";
|
|
67
65
|
import "../utils/correctFiveState.js";
|
|
68
66
|
import "../utils/constant.js";
|
|
69
67
|
import "../../shared-utils/nearlyEqual.js";
|
|
70
68
|
import "../../shared-utils/five/changeMode.js";
|
|
71
69
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
72
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
73
70
|
import "../../shared-utils/isNil.js";
|
|
74
|
-
const
|
|
71
|
+
const Fo = (o, r) => new t(o, r);
|
|
75
72
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
Fo as MapviewFloorplanPlugin,
|
|
74
|
+
Fo as default
|
|
78
75
|
};
|
|
@@ -78,11 +78,9 @@ import "../../shared-utils/tap.js";
|
|
|
78
78
|
import "../../base/BasePlugin.js";
|
|
79
79
|
import "../../shared-utils/Subscribe.js";
|
|
80
80
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
81
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
82
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
83
81
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
82
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
84
83
|
import "../../shared-utils/five/transformPosition.js";
|
|
85
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
86
84
|
import "../../shared-utils/nearlyEqual.js";
|
|
87
85
|
import "../../shared-utils/five/changeMode.js";
|
|
88
86
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -106,7 +104,7 @@ function z(d) {
|
|
|
106
104
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
107
105
|
return e && i;
|
|
108
106
|
}
|
|
109
|
-
class
|
|
107
|
+
class oe extends T {
|
|
110
108
|
constructor(t, e) {
|
|
111
109
|
var a, f, m;
|
|
112
110
|
super(t);
|
|
@@ -437,5 +435,5 @@ class ne extends T {
|
|
|
437
435
|
}
|
|
438
436
|
}
|
|
439
437
|
export {
|
|
440
|
-
|
|
438
|
+
oe as Controller
|
|
441
439
|
};
|
|
@@ -59,19 +59,17 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
59
59
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
60
60
|
import "animejs";
|
|
61
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
62
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
63
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
64
62
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
63
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
65
64
|
import "../../shared-utils/five/transformPosition.js";
|
|
66
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
67
65
|
import "../utils/correctFiveState.js";
|
|
68
66
|
import "../utils/constant.js";
|
|
69
67
|
import "../../shared-utils/nearlyEqual.js";
|
|
70
68
|
import "../../shared-utils/five/changeMode.js";
|
|
71
69
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
72
70
|
import "../../shared-utils/isNil.js";
|
|
73
|
-
const
|
|
71
|
+
const Mo = (o, r) => new t(o, r);
|
|
74
72
|
export {
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
Mo as ModelFloorplanPlugin,
|
|
74
|
+
Mo as default
|
|
77
75
|
};
|
|
@@ -68,13 +68,11 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
68
68
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
69
69
|
import "animejs";
|
|
70
70
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
71
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
72
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
73
71
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
72
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
74
73
|
import "../../shared-utils/five/transformPosition.js";
|
|
75
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
76
74
|
import "../Assets/floorplanExtraObject.js";
|
|
77
|
-
class
|
|
75
|
+
class vt extends O {
|
|
78
76
|
constructor(t, i) {
|
|
79
77
|
super(t);
|
|
80
78
|
// =============== public properties =================
|
|
@@ -217,5 +215,5 @@ class St extends O {
|
|
|
217
215
|
}
|
|
218
216
|
}
|
|
219
217
|
export {
|
|
220
|
-
|
|
218
|
+
vt as Controller
|
|
221
219
|
};
|
|
@@ -39,15 +39,13 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
39
39
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
40
40
|
import "animejs";
|
|
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 "../utils/formatData.js";
|
|
48
46
|
import "../Assets/floorplanExtraObject.js";
|
|
49
|
-
const
|
|
47
|
+
const X = (o, r) => new t(o, r);
|
|
50
48
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
X as PanoFloorplanRadarPlugin,
|
|
50
|
+
X as default
|
|
53
51
|
};
|
|
@@ -76,11 +76,9 @@ import "../../shared-utils/tap.js";
|
|
|
76
76
|
import "../../base/BasePlugin.js";
|
|
77
77
|
import "../../shared-utils/Subscribe.js";
|
|
78
78
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
79
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
80
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
81
79
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
80
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
82
81
|
import "../../shared-utils/five/transformPosition.js";
|
|
83
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
84
82
|
import "../../shared-utils/nearlyEqual.js";
|
|
85
83
|
import "../../shared-utils/to.js";
|
|
86
84
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -96,7 +94,7 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
96
94
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
97
95
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
98
96
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
99
|
-
class
|
|
97
|
+
class Yt extends M {
|
|
100
98
|
constructor(t, e) {
|
|
101
99
|
var h, p;
|
|
102
100
|
super(t);
|
|
@@ -369,5 +367,5 @@ class Qt extends M {
|
|
|
369
367
|
}
|
|
370
368
|
}
|
|
371
369
|
export {
|
|
372
|
-
|
|
370
|
+
Yt as Controller
|
|
373
371
|
};
|
|
@@ -57,19 +57,17 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
57
57
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
58
58
|
import "animejs";
|
|
59
59
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
60
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
61
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
62
60
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
61
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
63
62
|
import "../../shared-utils/five/transformPosition.js";
|
|
64
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
65
63
|
import "../../shared-utils/five/changeMode.js";
|
|
66
64
|
import "../../shared-utils/nearlyEqual.js";
|
|
67
65
|
import "../../shared-utils/to.js";
|
|
68
66
|
import "../../shared-utils/getPxmm.js";
|
|
69
67
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
70
68
|
import "../../shared-utils/isNil.js";
|
|
71
|
-
const
|
|
69
|
+
const xo = (o, r) => new t(o, r);
|
|
72
70
|
export {
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
xo as TopviewFloorplanPlugin,
|
|
72
|
+
xo as default
|
|
75
73
|
};
|