@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
|
@@ -6,17 +6,16 @@ import "../../shared-utils/Subscribe.js";
|
|
|
6
6
|
import "../../shared-utils/tag.js";
|
|
7
7
|
import "../../shared-utils/positionToVector3.js";
|
|
8
8
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
9
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
10
9
|
import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
11
10
|
import "../utils/getFiveDomEvent.js";
|
|
12
11
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
13
12
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
14
13
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
15
|
-
class
|
|
14
|
+
class u extends r {
|
|
16
15
|
constructor(...o) {
|
|
17
16
|
super(...o);
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
export {
|
|
21
|
-
|
|
20
|
+
u as ModelMakerBoxItem
|
|
22
21
|
};
|
|
@@ -8,13 +8,12 @@ import "../../shared-utils/Subscribe.js";
|
|
|
8
8
|
import "../../shared-utils/tag.js";
|
|
9
9
|
import "../../shared-utils/positionToVector3.js";
|
|
10
10
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
11
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
12
11
|
import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
13
12
|
import "../utils/getFiveDomEvent.js";
|
|
14
13
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
15
14
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
16
15
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
17
|
-
class
|
|
16
|
+
class k extends h {
|
|
18
17
|
constructor(...i) {
|
|
19
18
|
super(...i);
|
|
20
19
|
s(this, "hideTag", () => {
|
|
@@ -36,5 +35,5 @@ class q extends h {
|
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
37
|
export {
|
|
39
|
-
|
|
38
|
+
k as ModelMakerPolygonItem
|
|
40
39
|
};
|
|
@@ -18,17 +18,16 @@ import "../../shared-utils/Subscribe.js";
|
|
|
18
18
|
import "../../shared-utils/tag.js";
|
|
19
19
|
import "../../shared-utils/positionToVector3.js";
|
|
20
20
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
21
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
22
21
|
import "../utils/getFiveDomEvent.js";
|
|
23
22
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
24
23
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
25
24
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
26
|
-
class
|
|
25
|
+
class T extends f {
|
|
27
26
|
constructor(...o) {
|
|
28
27
|
const r = o[0], e = M(r.model), a = new u.Vector3().lerpVectors(n(e, 0), n(e, 5), 0.5);
|
|
29
28
|
super(s(i({}, r), { position: a })), this.enable();
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
31
|
export {
|
|
33
|
-
|
|
32
|
+
T as ModelMakerPrismItem
|
|
34
33
|
};
|
|
@@ -2,12 +2,11 @@ import { FiveDomEvents as n } from "../../shared-utils/five/FiveDomEvents.js";
|
|
|
2
2
|
import "three";
|
|
3
3
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
4
4
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}), t.instance);
|
|
5
|
+
let e;
|
|
6
|
+
const p = (t) => ((!e || t !== e.five) && (e = {
|
|
7
|
+
instance: new n(t, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
|
|
8
|
+
five: t
|
|
9
|
+
}), e.instance);
|
|
11
10
|
export {
|
|
12
|
-
|
|
11
|
+
p as getFiveDomEvent
|
|
13
12
|
};
|
|
@@ -41,8 +41,7 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
41
41
|
import "animejs";
|
|
42
42
|
import "../shared-utils/url/absoluteUrl.js";
|
|
43
43
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
44
|
-
|
|
45
|
-
const ce = (s, { videoElement: g }) => {
|
|
44
|
+
const de = (s, { videoElement: g }) => {
|
|
46
45
|
const e = {
|
|
47
46
|
videoMeshes: [],
|
|
48
47
|
videoTextureEnabled: !1,
|
|
@@ -185,6 +184,6 @@ const ce = (s, { videoElement: g }) => {
|
|
|
185
184
|
}), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
186
185
|
};
|
|
187
186
|
export {
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
de as ModelTVVideoPlugin,
|
|
188
|
+
de as default
|
|
190
189
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as j } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -25,10 +25,9 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
25
25
|
import "animejs";
|
|
26
26
|
import "../shared-utils/url/absoluteUrl.js";
|
|
27
27
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
28
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
29
28
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
30
29
|
export {
|
|
31
|
-
|
|
30
|
+
j as DIRECTION,
|
|
32
31
|
r as ModelTVVideoPlugin,
|
|
33
32
|
r as default
|
|
34
33
|
};
|
|
@@ -11,19 +11,19 @@ var S = (l, o, e) => o in l ? x(l, o, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
var f = (l, o, e) => (S(l, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
13
|
var g = (l, o, e) => new Promise((t, r) => {
|
|
14
|
-
var s = (
|
|
14
|
+
var s = (m) => {
|
|
15
15
|
try {
|
|
16
|
-
b(e.next(
|
|
16
|
+
b(e.next(m));
|
|
17
17
|
} catch (p) {
|
|
18
18
|
r(p);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, h = (m) => {
|
|
21
21
|
try {
|
|
22
|
-
b(e.throw(
|
|
22
|
+
b(e.throw(m));
|
|
23
23
|
} catch (p) {
|
|
24
24
|
r(p);
|
|
25
25
|
}
|
|
26
|
-
}, b = (
|
|
26
|
+
}, b = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(s, h);
|
|
27
27
|
b((e = e.apply(l, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as L } from "../base/BasePlugin.js";
|
|
@@ -48,11 +48,9 @@ import "hammerjs";
|
|
|
48
48
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
49
49
|
import "animejs";
|
|
50
50
|
import "../shared-utils/url/absoluteUrl.js";
|
|
51
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
52
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
53
51
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
52
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
54
53
|
import "../shared-utils/five/transformPosition.js";
|
|
55
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
56
54
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
57
55
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
58
56
|
import "../shared-utils/three/IObject3D.js";
|
|
@@ -94,7 +92,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
|
94
92
|
}, Z = () => {
|
|
95
93
|
console.error(`${D} is disabled`);
|
|
96
94
|
};
|
|
97
|
-
class
|
|
95
|
+
class lr extends L {
|
|
98
96
|
constructor(e) {
|
|
99
97
|
super(e);
|
|
100
98
|
f(this, "name", w);
|
|
@@ -170,7 +168,7 @@ class ar extends L {
|
|
|
170
168
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
171
169
|
return;
|
|
172
170
|
}
|
|
173
|
-
const r = new N(), s = [],
|
|
171
|
+
const r = new N(), s = [], h = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, p = n(n({}, {
|
|
174
172
|
moveHelper: !0,
|
|
175
173
|
rotateHelper: !0,
|
|
176
174
|
scaleHelper: !0,
|
|
@@ -185,7 +183,7 @@ class ar extends L {
|
|
|
185
183
|
r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
|
|
186
184
|
}
|
|
187
185
|
if (C(B)) {
|
|
188
|
-
const i = n(n({}, this.getConfig(p.rotateHelper)), p), d = new $(e, n({ container:
|
|
186
|
+
const i = n(n({}, this.getConfig(p.rotateHelper)), p), d = new $(e, n({ container: h }, i)), a = new H(this.five, V, e, d, i, u, v);
|
|
189
187
|
r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
|
|
190
188
|
}
|
|
191
189
|
if (C(k)) {
|
|
@@ -201,8 +199,8 @@ class ar extends L {
|
|
|
201
199
|
r.addControllers({ boundingBoxController: d.helperController });
|
|
202
200
|
}
|
|
203
201
|
if (C(j))
|
|
204
|
-
if (e.isCSS3DObjectPlus &&
|
|
205
|
-
const i = new F(e,
|
|
202
|
+
if (e.isCSS3DObjectPlus && h) {
|
|
203
|
+
const i = new F(e, h, b, this.five.scene), d = new H(
|
|
206
204
|
this.five,
|
|
207
205
|
q,
|
|
208
206
|
e,
|
|
@@ -233,8 +231,8 @@ class ar extends L {
|
|
|
233
231
|
const { helper: t, disposers: r } = this.objectHelperMap.get(e);
|
|
234
232
|
if (t) {
|
|
235
233
|
if (e.isCSS3DObjectPlus) {
|
|
236
|
-
const s = e,
|
|
237
|
-
|
|
234
|
+
const s = e, h = this.css3DObjectParentMap.get(s);
|
|
235
|
+
h && h.add(s), this.css3DRender.render(this.five.camera);
|
|
238
236
|
}
|
|
239
237
|
this.objectHelperMap.delete(e), t.dispose(), r == null || r.forEach((s) => s == null ? void 0 : s());
|
|
240
238
|
}
|
|
@@ -266,6 +264,6 @@ class ar extends L {
|
|
|
266
264
|
}
|
|
267
265
|
}
|
|
268
266
|
export {
|
|
269
|
-
|
|
267
|
+
lr as Object3DHelperController,
|
|
270
268
|
D as PLUGIN
|
|
271
269
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
-
import { PLUGIN as
|
|
2
|
+
import { PLUGIN as ar } from "./Controller.js";
|
|
3
3
|
import "../base/BasePlugin.js";
|
|
4
4
|
import "../shared-utils/Subscribe.js";
|
|
5
5
|
import "hammerjs";
|
|
@@ -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/Object3DHelper/Helper/MoveHelper.js";
|
|
31
29
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
32
30
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -61,10 +59,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
|
61
59
|
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
62
60
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
63
61
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
64
|
-
const
|
|
62
|
+
const nr = (r) => new o(r);
|
|
65
63
|
export {
|
|
66
64
|
o as Object3DHelperController,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
nr as Object3DHelperPlugin,
|
|
66
|
+
ar as PLUGIN,
|
|
67
|
+
nr as default
|
|
70
68
|
};
|
|
@@ -54,17 +54,15 @@ 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 "./Assets/roomInfoIcon.js";
|
|
63
61
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
64
62
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
65
63
|
import "../shared-utils/animationFrame/index.js";
|
|
66
64
|
const g = { userAction: !0 };
|
|
67
|
-
class
|
|
65
|
+
class ce extends A {
|
|
68
66
|
constructor(e, t) {
|
|
69
67
|
super(e, t);
|
|
70
68
|
/**
|
|
@@ -319,5 +317,5 @@ class de extends A {
|
|
|
319
317
|
}
|
|
320
318
|
}
|
|
321
319
|
export {
|
|
322
|
-
|
|
320
|
+
ce as PanoCompassController
|
|
323
321
|
};
|
|
@@ -23,11 +23,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
27
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
28
26
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
29
28
|
import "../shared-utils/five/transformPosition.js";
|
|
30
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
31
29
|
import "./getRoomInfoInstance.js";
|
|
32
30
|
import "./Assets/roomInfoIcon.js";
|
|
33
31
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -36,8 +34,8 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
36
34
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
37
35
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
38
36
|
import "../shared-utils/animationFrame/index.js";
|
|
39
|
-
const
|
|
37
|
+
const M = (o, r) => new t(o, r);
|
|
40
38
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
M as PanoCompassPlugin,
|
|
40
|
+
M as default
|
|
43
41
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m = Object.defineProperty, l = Object.defineProperties;
|
|
2
2
|
var d = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var p = Object.getOwnPropertySymbols;
|
|
4
4
|
var u = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var a = (i, e, t) => e in i ?
|
|
5
|
+
var a = (i, e, t) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, s = (i, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
7
|
u.call(e, t) && a(i, t, e[t]);
|
|
8
8
|
if (p)
|
|
@@ -34,12 +34,10 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
35
|
import "animejs";
|
|
36
36
|
import "../shared-utils/url/absoluteUrl.js";
|
|
37
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
38
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
39
37
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
38
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
40
39
|
import "../shared-utils/five/transformPosition.js";
|
|
41
|
-
|
|
42
|
-
class R extends c {
|
|
40
|
+
class O extends c {
|
|
43
41
|
constructor(t) {
|
|
44
42
|
super(t);
|
|
45
43
|
o(this, "state");
|
|
@@ -94,8 +92,8 @@ class R extends c {
|
|
|
94
92
|
setState(t, n) {
|
|
95
93
|
if (!this.enabled)
|
|
96
94
|
return;
|
|
97
|
-
const
|
|
98
|
-
this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(
|
|
95
|
+
const h = s({}, this.state);
|
|
96
|
+
this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(h, n);
|
|
99
97
|
}
|
|
100
98
|
get visible() {
|
|
101
99
|
return this.five.state.mode === v.Mode.Panorama;
|
|
@@ -108,5 +106,5 @@ class R extends c {
|
|
|
108
106
|
}
|
|
109
107
|
}
|
|
110
108
|
export {
|
|
111
|
-
|
|
109
|
+
O as BasePanoPluginController
|
|
112
110
|
};
|
|
@@ -37,15 +37,13 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
38
|
import "animejs";
|
|
39
39
|
import "../shared-utils/url/absoluteUrl.js";
|
|
40
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
41
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
42
40
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
41
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
43
42
|
import "../shared-utils/five/transformPosition.js";
|
|
44
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
45
43
|
import "../vendor/svelte/internal/index.js";
|
|
46
44
|
import "../vendor/classnames/index.js";
|
|
47
45
|
const ii = { userAction: !0 };
|
|
48
|
-
class
|
|
46
|
+
class Si extends q {
|
|
49
47
|
constructor(i) {
|
|
50
48
|
super(i);
|
|
51
49
|
r(this, "MinVisibledistance", 1.8);
|
|
@@ -249,5 +247,5 @@ class Ci extends q {
|
|
|
249
247
|
}
|
|
250
248
|
}
|
|
251
249
|
export {
|
|
252
|
-
|
|
250
|
+
Si as PanoDoorLabelPluginController
|
|
253
251
|
};
|
|
@@ -23,17 +23,15 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
27
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
28
26
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
29
28
|
import "../shared-utils/five/transformPosition.js";
|
|
30
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
31
29
|
import "./DoorLabelItem.js";
|
|
32
30
|
import "../vendor/svelte/internal/index.js";
|
|
33
31
|
import "../vendor/classnames/index.js";
|
|
34
32
|
import "./utils.js";
|
|
35
|
-
const
|
|
33
|
+
const G = (o) => new r(o);
|
|
36
34
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
G as PanoDoorLabelPlugin,
|
|
36
|
+
G as default
|
|
39
37
|
};
|
|
@@ -60,7 +60,6 @@ import "../../CSS3DRenderPlugin/index.js";
|
|
|
60
60
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
61
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
62
62
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
63
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
64
63
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
65
64
|
import "../../shared-utils/animationFrame/index.js";
|
|
66
65
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -280,7 +279,7 @@ function re(n, o, i) {
|
|
|
280
279
|
u
|
|
281
280
|
];
|
|
282
281
|
}
|
|
283
|
-
class
|
|
282
|
+
class Mt extends j {
|
|
284
283
|
constructor(o) {
|
|
285
284
|
super(), x(
|
|
286
285
|
this,
|
|
@@ -298,5 +297,5 @@ class It extends j {
|
|
|
298
297
|
}
|
|
299
298
|
}
|
|
300
299
|
export {
|
|
301
|
-
|
|
300
|
+
Mt as default
|
|
302
301
|
};
|
|
@@ -64,7 +64,6 @@ import "../../CSS3DRenderPlugin/index.js";
|
|
|
64
64
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
65
65
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
66
66
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
67
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
68
67
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
69
68
|
import "../../shared-utils/animationFrame/index.js";
|
|
70
69
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -430,7 +429,7 @@ function de(o, t, i) {
|
|
|
430
429
|
x
|
|
431
430
|
];
|
|
432
431
|
}
|
|
433
|
-
class
|
|
432
|
+
class Kt extends ee {
|
|
434
433
|
constructor(t) {
|
|
435
434
|
super(), te(
|
|
436
435
|
this,
|
|
@@ -448,5 +447,5 @@ class qt extends ee {
|
|
|
448
447
|
}
|
|
449
448
|
}
|
|
450
449
|
export {
|
|
451
|
-
|
|
450
|
+
Kt as default
|
|
452
451
|
};
|
|
@@ -13,7 +13,6 @@ import G from "../Modules/DeleteDom/index.js";
|
|
|
13
13
|
import { Vector2 as y } from "three";
|
|
14
14
|
import T from "../utils/isNDCPointInScreen.js";
|
|
15
15
|
import { closestPointOnLine as B } from "../utils/math.js";
|
|
16
|
-
import { getFiveModel as W } from "../../shared-utils/five/getFiveModel.js";
|
|
17
16
|
import "../../shared-utils/uuid.js";
|
|
18
17
|
import "../utils/line.js";
|
|
19
18
|
import "../../shared-utils/five/FiveLine.js";
|
|
@@ -70,7 +69,7 @@ import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
|
70
69
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
71
70
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
72
71
|
const M = () => !1;
|
|
73
|
-
class
|
|
72
|
+
class et extends j {
|
|
74
73
|
constructor(e) {
|
|
75
74
|
var t;
|
|
76
75
|
super(e);
|
|
@@ -229,7 +228,7 @@ class it extends j {
|
|
|
229
228
|
return this.chooseArea(h, { left: f, top: u }), !1;
|
|
230
229
|
}
|
|
231
230
|
}
|
|
232
|
-
const [s] =
|
|
231
|
+
const [s] = this.five.model.intersectRaycaster(e);
|
|
233
232
|
if (!s)
|
|
234
233
|
return;
|
|
235
234
|
const r = this.five.camera, l = s.point.clone().project(r), d = this.container.clientWidth, a = this.container.clientHeight, n = new y(l.x * d, l.y * a), g = this.model.getAllLines().map((h) => {
|
|
@@ -330,5 +329,5 @@ class it extends j {
|
|
|
330
329
|
}
|
|
331
330
|
}
|
|
332
331
|
export {
|
|
333
|
-
|
|
332
|
+
et as default
|
|
334
333
|
};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var t = (n, s, e) => (
|
|
4
|
-
import { Model as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { Vector2 as
|
|
9
|
-
import
|
|
10
|
-
import { closestPointOnLine as
|
|
11
|
-
import { Polyline as
|
|
12
|
-
import
|
|
13
|
-
import { getFiveModel as N } from "../../shared-utils/five/getFiveModel.js";
|
|
1
|
+
var b = Object.defineProperty;
|
|
2
|
+
var y = (n, s, e) => s in n ? b(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
|
|
3
|
+
var t = (n, s, e) => (y(n, typeof s != "symbol" ? s + "" : s, e), e);
|
|
4
|
+
import { Model as D } from "../Model/index.js";
|
|
5
|
+
import S from "../Model/line.js";
|
|
6
|
+
import T from "./BaseController.js";
|
|
7
|
+
import M from "../Modules/DeleteDom/index.js";
|
|
8
|
+
import { Vector2 as m } from "three";
|
|
9
|
+
import v from "../utils/isNDCPointInScreen.js";
|
|
10
|
+
import { closestPointOnLine as G } from "../utils/math.js";
|
|
11
|
+
import { Polyline as L } from "../Model/polyline.js";
|
|
12
|
+
import W from "../Modules/rangePiece/index.js";
|
|
14
13
|
import "../../shared-utils/Subscribe.js";
|
|
15
14
|
import "../../shared-utils/uuid.js";
|
|
16
15
|
import "../utils/line.js";
|
|
@@ -32,7 +31,7 @@ import "../../shared-utils/animationFrame/index.js";
|
|
|
32
31
|
import "../../shared-utils/noop.js";
|
|
33
32
|
import "../utils/mouseGroup.js";
|
|
34
33
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
35
|
-
class
|
|
34
|
+
class le extends T {
|
|
36
35
|
constructor(e) {
|
|
37
36
|
super(e);
|
|
38
37
|
t(this, "state", "watching");
|
|
@@ -47,27 +46,27 @@ class me extends M {
|
|
|
47
46
|
t(this, "onWantsTapGesture", (e) => {
|
|
48
47
|
if (this.state === "editing")
|
|
49
48
|
return !1;
|
|
50
|
-
const i =
|
|
51
|
-
if (!
|
|
49
|
+
const [i] = this.five.model.intersectRaycaster(e);
|
|
50
|
+
if (!i)
|
|
52
51
|
return;
|
|
53
|
-
const
|
|
54
|
-
const [
|
|
55
|
-
if (!
|
|
52
|
+
const h = this.five.camera, p = i.point.clone().project(h), a = this.container.clientWidth, l = this.container.clientHeight, g = new m(p.x * a, p.y * l), f = this.model.getAllLines().map((o) => {
|
|
53
|
+
const [r, C] = o.points, d = r.position.clone().project(h), c = C.position.clone().project(h);
|
|
54
|
+
if (!v(d) && !v(c))
|
|
56
55
|
return null;
|
|
57
|
-
const
|
|
58
|
-
return { id: o.id, points: [
|
|
56
|
+
const w = new m(d.x * a, d.y * l), k = new m(c.x * a, c.y * l);
|
|
57
|
+
return { id: o.id, points: [w, k] };
|
|
59
58
|
}).filter((o) => !!o);
|
|
60
|
-
if (
|
|
59
|
+
if (f.length === 0)
|
|
61
60
|
return;
|
|
62
|
-
const
|
|
63
|
-
const
|
|
64
|
-
return { id: o.id, distance:
|
|
65
|
-
}).sort((o,
|
|
66
|
-
if (
|
|
61
|
+
const u = f.map((o) => {
|
|
62
|
+
const r = G(g, o.points);
|
|
63
|
+
return { id: o.id, distance: r.distanceTo(g) };
|
|
64
|
+
}).sort((o, r) => o.distance - r.distance)[0];
|
|
65
|
+
if (u.distance > 20)
|
|
67
66
|
return;
|
|
68
|
-
const
|
|
69
|
-
if (
|
|
70
|
-
return this.chooseLine(
|
|
67
|
+
const P = this.model.getAllLines().find(({ id: o }) => o === u.id);
|
|
68
|
+
if (P)
|
|
69
|
+
return this.chooseLine(P), !1;
|
|
71
70
|
});
|
|
72
71
|
/** 编辑时取消走点,watch时可以走 */
|
|
73
72
|
t(this, "onWantsToMoveToPano", () => this.state === "watching");
|
|
@@ -84,12 +83,12 @@ class me extends M {
|
|
|
84
83
|
this.magnifier.containerDom !== this.container && this.magnifier.appendTo(this.container), this.magnifier.state.enabled || this.magnifier.enable(), requestAnimationFrame(() => this.magnifier.renderWithPoint(e.position)), this.five.needsRender = !0;
|
|
85
84
|
});
|
|
86
85
|
t(this, "onGetStartPoint", (e) => {
|
|
87
|
-
this.mobileStartPoint = e, this.polyline = new
|
|
86
|
+
this.mobileStartPoint = e, this.polyline = new L({ model: this.model }), this.polyline.hook.on("lineAdded", () => this.hook.emit("editedPolylineChange", this.polyline)), this.polyline.hook.on("lineRemoved", () => this.hook.emit("editedPolylineChange", this.polyline));
|
|
88
87
|
});
|
|
89
88
|
t(this, "onGetEndPoint", () => {
|
|
90
89
|
const e = this.mobileNowPoint;
|
|
91
90
|
if (this.removeLine(this.dashed), this.hasAppendDashed = !1, this.mobileStartPoint && e) {
|
|
92
|
-
const i = new
|
|
91
|
+
const i = new S(this.mobileStartPoint, e, this.model);
|
|
93
92
|
this.polyline.addLine(i), i.distanceItem.appendTo(this.container), i.distanceItem.update(this.five), i.hook.on("selected", this.chooseLine), this.disposers.push(() => i.hook.off("selected", this.chooseLine)), this.group.add(i.mesh), this.model.addPolyline(this.polyline);
|
|
94
93
|
}
|
|
95
94
|
this.mobileStartPoint = null, this.mobileNowPoint = null, this.five.needsRender = !0;
|
|
@@ -108,7 +107,7 @@ class me extends M {
|
|
|
108
107
|
const i = e.getPolyline().lines;
|
|
109
108
|
this.highlightLines(i), this.five.needsRender = !0, this.hook.emit(
|
|
110
109
|
"selectedChange",
|
|
111
|
-
i.map((
|
|
110
|
+
i.map((h) => h)
|
|
112
111
|
);
|
|
113
112
|
});
|
|
114
113
|
t(this, "deleteDomClickCallback", () => {
|
|
@@ -121,7 +120,7 @@ class me extends M {
|
|
|
121
120
|
t(this, "cancelDeleteClickCallback", () => {
|
|
122
121
|
this.clearHighlightLines();
|
|
123
122
|
});
|
|
124
|
-
this.model = new
|
|
123
|
+
this.model = new D(this.config), this.polyline = new L({ model: this.model }), this.rangePieceController = new W(e), this.deleteDom = new M(this.five, {
|
|
125
124
|
i18n: this.config.i18n,
|
|
126
125
|
onClick: this.deleteDomClickCallback,
|
|
127
126
|
cancel: this.cancelDeleteClickCallback
|
|
@@ -146,5 +145,5 @@ class me extends M {
|
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
export {
|
|
149
|
-
|
|
148
|
+
le as default
|
|
150
149
|
};
|