@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,17 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var s = (
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { Raycaster as
|
|
9
|
-
import { closestPointOnLine as
|
|
10
|
-
import { findClosestPoint as
|
|
11
|
-
import { getPointFromHammerEvent as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { getFiveModel as D } from "../../shared-utils/five/getFiveModel.js";
|
|
1
|
+
var H = Object.defineProperty;
|
|
2
|
+
var k = (l, r, t) => r in l ? H(l, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[r] = t;
|
|
3
|
+
var s = (l, r, t) => (k(l, typeof r != "symbol" ? r + "" : r, t), t);
|
|
4
|
+
import I from "hammerjs";
|
|
5
|
+
import R from "../Modules/DeleteDom/index.js";
|
|
6
|
+
import S from "../utils/isNDCPointInScreen.js";
|
|
7
|
+
import G from "./BaseController.js";
|
|
8
|
+
import { Raycaster as T, Vector2 as u } from "three";
|
|
9
|
+
import { closestPointOnLine as U } from "../utils/math.js";
|
|
10
|
+
import { findClosestPoint as b } from "../utils/findClosestPoint.js";
|
|
11
|
+
import { getPointFromHammerEvent as w } from "../../shared-utils/getPointFromHammerEvent.js";
|
|
12
|
+
import M from "../Model/area.js";
|
|
13
|
+
import j from "../Model/polygon.js";
|
|
15
14
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
16
15
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
17
16
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
@@ -54,8 +53,8 @@ import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
|
54
53
|
import "../../shared-utils/three/earcut3D.js";
|
|
55
54
|
import "earcut";
|
|
56
55
|
import "../../shared-utils/three/getNormal.js";
|
|
57
|
-
const
|
|
58
|
-
class
|
|
56
|
+
const C = () => !1;
|
|
57
|
+
class xt extends G {
|
|
59
58
|
constructor(t) {
|
|
60
59
|
super(t);
|
|
61
60
|
s(this, "type", "watch");
|
|
@@ -68,22 +67,22 @@ class Ot extends U {
|
|
|
68
67
|
s(this, "editPointState");
|
|
69
68
|
s(this, "hammer");
|
|
70
69
|
s(this, "onPanStart", (t) => {
|
|
71
|
-
var
|
|
70
|
+
var d;
|
|
72
71
|
if (this.model.getAllLines().length === 0 || !this.fiveElement)
|
|
73
72
|
return;
|
|
74
|
-
const i =
|
|
73
|
+
const i = w(t).point, e = (d = b(this.five, this.model.getAllPoints(), i, 20)) == null ? void 0 : d.point;
|
|
75
74
|
if (!e) {
|
|
76
75
|
this.editPointState = void 0;
|
|
77
76
|
return;
|
|
78
77
|
}
|
|
79
|
-
const n = this.model.polylines.find((
|
|
78
|
+
const n = this.model.polylines.find((c) => c.includes(e)), a = {
|
|
80
79
|
point: e,
|
|
81
80
|
associatedLines: n.lines
|
|
82
81
|
};
|
|
83
82
|
this.hook.emit("wantsDragLine", {
|
|
84
83
|
point: e.id,
|
|
85
|
-
lines:
|
|
86
|
-
}) || (this.editPointState =
|
|
84
|
+
lines: a.associatedLines.map(({ id: c }) => c)
|
|
85
|
+
}) || (this.editPointState = a, this.magnifier.appendTo(this.container), this.magnifier.enable(), this.group.add(this.mouseGroup));
|
|
87
86
|
});
|
|
88
87
|
s(this, "onPanEnd", () => {
|
|
89
88
|
this.editPointState && (this.editPointState.associatedLines.forEach((t) => t.mesh.setMaterial({ dashed: !1 })), this.highlightLines(this.editPointState.associatedLines), this.editPointState = void 0, this.magnifier.disable(), this.group.remove(this.mouseGroup));
|
|
@@ -91,9 +90,9 @@ class Ot extends U {
|
|
|
91
90
|
s(this, "onPan", (t) => {
|
|
92
91
|
if (!this.editPointState || !this.fiveElement)
|
|
93
92
|
return;
|
|
94
|
-
const i =
|
|
93
|
+
const i = w(t).ndcPoint, e = new T();
|
|
95
94
|
e.setFromCamera(i, this.five.camera);
|
|
96
|
-
const [n] =
|
|
95
|
+
const [n] = this.five.model.intersectRaycaster(e);
|
|
97
96
|
n && this.onIntersectionUpdate(n);
|
|
98
97
|
});
|
|
99
98
|
s(this, "onIntersectionUpdate", (t, i) => {
|
|
@@ -103,8 +102,8 @@ class Ot extends U {
|
|
|
103
102
|
}), this.updateDistanceUI(), this.magnifier.renderWithPoint(t.point), this.mouseGroup.position.copy(t.point), i)
|
|
104
103
|
this.mouseGroup.quaternion.copy(i.quaternion);
|
|
105
104
|
else if (t.face) {
|
|
106
|
-
const n = t.face.normal.clone().multiplyScalar(0.05),
|
|
107
|
-
this.mouseGroup.lookAt(
|
|
105
|
+
const n = t.face.normal.clone().multiplyScalar(0.05), p = t.point.clone().add(n).clone().add(n);
|
|
106
|
+
this.mouseGroup.lookAt(p);
|
|
108
107
|
}
|
|
109
108
|
this.five.needsRender = !0, this.hook.emit(
|
|
110
109
|
"selectedChange",
|
|
@@ -117,36 +116,36 @@ class Ot extends U {
|
|
|
117
116
|
return !1;
|
|
118
117
|
});
|
|
119
118
|
s(this, "wantsTapGesture", (t) => {
|
|
120
|
-
var
|
|
121
|
-
const i = this.model.areas.map((o) => t.intersectObject(o.polygon, !0)[0]).sort((o, h) => o.distance - h.distance), e = (
|
|
122
|
-
if (e instanceof
|
|
119
|
+
var A;
|
|
120
|
+
const i = this.model.areas.map((o) => t.intersectObject(o.polygon, !0)[0]).sort((o, h) => o.distance - h.distance), e = (A = i[0]) == null ? void 0 : A.object.parent;
|
|
121
|
+
if (e instanceof j) {
|
|
123
122
|
const o = this.model.areas.find((h) => h.polygon === e);
|
|
124
123
|
if (o) {
|
|
125
|
-
const { x: h, y:
|
|
124
|
+
const { x: h, y: f } = i[0].point.clone().project(this.five.camera), m = `${(h + 1) / 2 * 100}%`, g = `${(-f + 1) / 2 * 100}%`;
|
|
126
125
|
return this.chooseArea(o, { left: m, top: g }), !1;
|
|
127
126
|
}
|
|
128
127
|
}
|
|
129
|
-
const n =
|
|
130
|
-
if (!
|
|
128
|
+
const [n] = this.five.model.intersectRaycaster(t);
|
|
129
|
+
if (!n)
|
|
131
130
|
return;
|
|
132
|
-
const
|
|
133
|
-
const [h,
|
|
134
|
-
if (!
|
|
131
|
+
const a = this.five.camera, p = n.point.clone().project(a), d = this.container.clientWidth, c = this.container.clientHeight, L = new u(p.x * d, p.y * c), P = this.model.getAllLines().map((o) => {
|
|
132
|
+
const [h, f] = o.points, m = h.position.clone().project(a), g = f.position.clone().project(a);
|
|
133
|
+
if (!S(m) && !S(g))
|
|
135
134
|
return null;
|
|
136
|
-
const
|
|
137
|
-
return { id: o.id, points: [
|
|
135
|
+
const D = new u(m.x * d, m.y * c), E = new u(g.x * d, g.y * c);
|
|
136
|
+
return { id: o.id, points: [D, E] };
|
|
138
137
|
}).filter((o) => !!o);
|
|
139
|
-
if (
|
|
138
|
+
if (P.length === 0)
|
|
140
139
|
return;
|
|
141
|
-
const
|
|
142
|
-
const h =
|
|
143
|
-
return { id: o.id, distance: h.distanceTo(
|
|
140
|
+
const v = P.map((o) => {
|
|
141
|
+
const h = U(L, o.points);
|
|
142
|
+
return { id: o.id, distance: h.distanceTo(L) };
|
|
144
143
|
}).sort((o, h) => o.distance - h.distance)[0];
|
|
145
|
-
if (
|
|
144
|
+
if (v.distance > 20)
|
|
146
145
|
return;
|
|
147
|
-
const
|
|
148
|
-
if (
|
|
149
|
-
return this.chooseLine(
|
|
146
|
+
const y = this.model.getAllLines().find(({ id: o }) => o === v.id);
|
|
147
|
+
if (y)
|
|
148
|
+
return this.chooseLine(y), !1;
|
|
150
149
|
});
|
|
151
150
|
s(this, "chooseLine", (t) => {
|
|
152
151
|
this.choose = "line";
|
|
@@ -178,10 +177,10 @@ class Ot extends U {
|
|
|
178
177
|
s(this, "cancelDeleteClickCallback", () => {
|
|
179
178
|
this.deleteDom.hide(), this.clearHighlightLines(), this.unHighlightArea();
|
|
180
179
|
});
|
|
181
|
-
this.deleteDom = new
|
|
180
|
+
this.deleteDom = new R(this.five, {
|
|
182
181
|
i18n: this.config.i18n,
|
|
183
182
|
onClick: () => {
|
|
184
|
-
this.choose === "line" ? this.deleteLine() : this.choose instanceof
|
|
183
|
+
this.choose === "line" ? this.deleteLine() : this.choose instanceof M && this.deleteArea(this.choose);
|
|
185
184
|
},
|
|
186
185
|
cancel: this.cancelDeleteClickCallback
|
|
187
186
|
}).appendTo(this.container), this.model.getAllLines().forEach((e) => {
|
|
@@ -194,14 +193,14 @@ class Ot extends U {
|
|
|
194
193
|
const i = this.five.getElement();
|
|
195
194
|
if (i) {
|
|
196
195
|
this.fiveElement = i;
|
|
197
|
-
const e = new
|
|
196
|
+
const e = new I(i);
|
|
198
197
|
this.hammer = e, e.on("pan", this.onPan), e.on("panstart", this.onPanStart), e.on("panend", this.onPanEnd);
|
|
199
198
|
}
|
|
200
|
-
this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode",
|
|
199
|
+
this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", C), this.model.hook.on("polylineRemoved", this.polylineRemoved);
|
|
201
200
|
}
|
|
202
201
|
dispose() {
|
|
203
202
|
var t;
|
|
204
|
-
super.dispose(), this.deleteDom.dispose(), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.model.getAllLines().forEach((i) => i.hook.off("selected", this.chooseLine)), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.wantsPanGesture), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsChangeMode",
|
|
203
|
+
super.dispose(), this.deleteDom.dispose(), this.model.hook.off("polylineRemoved", this.polylineRemoved), this.model.getAllLines().forEach((i) => i.hook.off("selected", this.chooseLine)), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.wantsPanGesture), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsChangeMode", C), this.five.needsRender = !0, this.hook.emit("selectedChange", []), (t = this.hammer) == null || t.destroy();
|
|
205
204
|
}
|
|
206
205
|
highlightLine(t) {
|
|
207
206
|
t.selected || (t.selected = !0, this.group.add(t.lightMesh), t.distanceItem.highlight(), this.five.needsRender = !0);
|
|
@@ -228,5 +227,5 @@ class Ot extends U {
|
|
|
228
227
|
}
|
|
229
228
|
}
|
|
230
229
|
export {
|
|
231
|
-
|
|
230
|
+
xt as default
|
|
232
231
|
};
|
|
@@ -67,7 +67,6 @@ import "../../CSS3DRenderPlugin/index.js";
|
|
|
67
67
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
68
68
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
69
69
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
70
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
71
70
|
import "../../shared-utils/positionToVector3.js";
|
|
72
71
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
73
72
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -115,11 +114,10 @@ import "../../vendor/svelte/transition/index.js";
|
|
|
115
114
|
import "../../vendor/svelte/easing/index.js";
|
|
116
115
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
117
116
|
import "../Components/Tip.js";
|
|
118
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
119
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
120
117
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
118
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
121
119
|
import "../../shared-utils/five/transformPosition.js";
|
|
122
|
-
class
|
|
120
|
+
class Ve extends B {
|
|
123
121
|
constructor(t, e) {
|
|
124
122
|
var l, u, d, f, g, y, M, C, w;
|
|
125
123
|
super(t);
|
|
@@ -324,5 +322,5 @@ class He extends B {
|
|
|
324
322
|
}
|
|
325
323
|
}
|
|
326
324
|
export {
|
|
327
|
-
|
|
325
|
+
Ve as default
|
|
328
326
|
};
|
|
@@ -70,7 +70,6 @@ import "../../../CSS3DRenderPlugin/index.js";
|
|
|
70
70
|
import "../../../CSS3DRenderPlugin/Controller.js";
|
|
71
71
|
import "../../../shared-utils/url/absoluteUrl.js";
|
|
72
72
|
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
73
|
-
import "../../../shared-utils/five/getFiveModel.js";
|
|
74
73
|
import "../../../shared-utils/animationFrame/BetterTween.js";
|
|
75
74
|
import "../../../shared-utils/animationFrame/index.js";
|
|
76
75
|
import "../../../shared-utils/isTouchDevice.js";
|
|
@@ -86,7 +85,7 @@ import "../../Components/Common/Switcher1.js";
|
|
|
86
85
|
import "../../Components/Common/CircleButton.js";
|
|
87
86
|
import "../../../vendor/svelte/transition/index.js";
|
|
88
87
|
import "../../../vendor/svelte/easing/index.js";
|
|
89
|
-
class
|
|
88
|
+
class io {
|
|
90
89
|
constructor(o, t) {
|
|
91
90
|
e(this, "revoke");
|
|
92
91
|
e(this, "container");
|
|
@@ -140,5 +139,5 @@ class ro {
|
|
|
140
139
|
}
|
|
141
140
|
}
|
|
142
141
|
export {
|
|
143
|
-
|
|
142
|
+
io as UIController
|
|
144
143
|
};
|
|
@@ -18,9 +18,8 @@ import { requestAnimationFrameInterval as k } from "../../../shared-utils/animat
|
|
|
18
18
|
import { noop as x } from "../../../shared-utils/noop.js";
|
|
19
19
|
import { getMouseGroup as A } from "../../utils/mouseGroup.js";
|
|
20
20
|
import { calculateThreeMouse as X } from "../../../shared-utils/five/calculateThreeMouse.js";
|
|
21
|
-
import { getFiveModel as Y } from "../../../shared-utils/five/getFiveModel.js";
|
|
22
21
|
import "../../../shared-utils/uuid.js";
|
|
23
|
-
class
|
|
22
|
+
class V {
|
|
24
23
|
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
|
|
25
24
|
constructor(t) {
|
|
26
25
|
i(this, "container", document.createElement("div"));
|
|
@@ -65,7 +64,7 @@ class F {
|
|
|
65
64
|
if (!this.centerMouseXY)
|
|
66
65
|
return null;
|
|
67
66
|
this.raycaster.setFromCamera(this.centerMouseXY, this.five.camera);
|
|
68
|
-
const t =
|
|
67
|
+
const t = this.five.model.intersectRaycaster(this.raycaster)[0];
|
|
69
68
|
return t || null;
|
|
70
69
|
});
|
|
71
70
|
this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = A(d({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = P, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new v(
|
|
@@ -131,5 +130,5 @@ class F {
|
|
|
131
130
|
}
|
|
132
131
|
}
|
|
133
132
|
export {
|
|
134
|
-
|
|
133
|
+
V as default
|
|
135
134
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { Magnifier as
|
|
2
|
+
import { Magnifier as ir } from "../shared-utils/three/Magnifier.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
6
6
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
7
7
|
import "animejs";
|
|
8
|
-
import { Model as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { Polyline as
|
|
8
|
+
import { Model as pr } from "./Model/index.js";
|
|
9
|
+
import { default as nr } from "./Model/point.js";
|
|
10
|
+
import { default as ur } from "./Model/line.js";
|
|
11
|
+
import { Polyline as Pr } from "./Model/polyline.js";
|
|
12
12
|
import "./Controller/EditController.js";
|
|
13
13
|
import "../shared-utils/throttle.js";
|
|
14
14
|
import "./Controller/BaseController.js";
|
|
@@ -58,7 +58,6 @@ import "../CSS3DRenderPlugin/index.js";
|
|
|
58
58
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
59
59
|
import "../shared-utils/url/absoluteUrl.js";
|
|
60
60
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
61
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
62
61
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
63
62
|
import "../shared-utils/animationFrame/index.js";
|
|
64
63
|
import "../shared-utils/isTouchDevice.js";
|
|
@@ -104,19 +103,18 @@ import "./Components/Tip.js";
|
|
|
104
103
|
import "./Controller/ShortcutKeyController.js";
|
|
105
104
|
import "../shared-utils/safeObj.js";
|
|
106
105
|
import "../base/BasePlugin.js";
|
|
107
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
108
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
109
106
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
107
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
110
108
|
import "../shared-utils/five/transformPosition.js";
|
|
111
|
-
const
|
|
109
|
+
const or = function(o, r) {
|
|
112
110
|
return new t(o, r);
|
|
113
111
|
};
|
|
114
112
|
export {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
113
|
+
ir as Magnifier,
|
|
114
|
+
or as PanoMeasurePlugin,
|
|
115
|
+
ur as PanoMeasurePluginLine,
|
|
116
|
+
pr as PanoMeasurePluginModel,
|
|
117
|
+
nr as PanoMeasurePluginPoint,
|
|
118
|
+
Pr as PanoMeasurePluginPolyline,
|
|
119
|
+
or as default
|
|
122
120
|
};
|
|
@@ -27,11 +27,10 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
27
27
|
import "animejs";
|
|
28
28
|
import "../shared-utils/url/absoluteUrl.js";
|
|
29
29
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
30
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
31
30
|
import "../vendor/svelte/internal/index.js";
|
|
32
31
|
import "./store.js";
|
|
33
32
|
import "../vendor/svelte/store/index.js";
|
|
34
|
-
const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png",
|
|
33
|
+
const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", no = (n, s) => {
|
|
35
34
|
var k, z, q, B, G, J, K, Q;
|
|
36
35
|
let j = s == null ? void 0 : s.container, y = 1.4;
|
|
37
36
|
const ee = (k = s == null ? void 0 : s.wait) != null ? k : 200, oe = (z = s == null ? void 0 : s.maxNumberOnScreen) != null ? z : 3, I = (q = s == null ? void 0 : s.minRad) != null ? q : Math.PI / 4, L = (B = s == null ? void 0 : s.nearTolerance) != null ? B : 100, te = (G = s == null ? void 0 : s.upsideHeight) != null ? G : 1.6, A = (J = s == null ? void 0 : s.minDistance) != null ? J : 1.2, f = (K = s == null ? void 0 : s.maxDistance) != null ? K : 3.5, C = Te(n), S = document.createElement("div");
|
|
@@ -256,6 +255,6 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
|
|
|
256
255
|
};
|
|
257
256
|
};
|
|
258
257
|
export {
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
no as PanoSpatialTagPlugin,
|
|
259
|
+
no as default
|
|
261
260
|
};
|
|
@@ -24,7 +24,6 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
26
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
27
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
28
27
|
import "./Components/origins.js";
|
|
29
28
|
import "../vendor/svelte/internal/index.js";
|
|
30
29
|
import "./store.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var s = (r, e, t) => (
|
|
4
|
-
import { Controller as
|
|
1
|
+
var C = Object.defineProperty;
|
|
2
|
+
var l = (r, e, t) => e in r ? C(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var s = (r, e, t) => (l(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
import { Controller as g } from "../../base/BasePlugin.js";
|
|
5
5
|
import "../../shared-utils/Subscribe.js";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three";
|
|
@@ -23,12 +23,10 @@ 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
|
-
|
|
31
|
-
class L extends f {
|
|
29
|
+
class H extends g {
|
|
32
30
|
constructor(t) {
|
|
33
31
|
super(t);
|
|
34
32
|
s(this, "tagCacheByPanoIndex", {});
|
|
@@ -40,10 +38,10 @@ class L extends f {
|
|
|
40
38
|
}
|
|
41
39
|
getPanoIndexCache(t) {
|
|
42
40
|
var h;
|
|
43
|
-
const { five: n
|
|
41
|
+
const { five: n } = this, { panoIndex: a, id: i, key: m } = t != null ? t : {}, c = a != null ? a : n.getCurrentState().panoIndex;
|
|
44
42
|
if (c === void 0)
|
|
45
43
|
throw new Error(`TagCacheController getPanoIndexCache(): fivePanoIndex is ${c}`);
|
|
46
|
-
const p = `${
|
|
44
|
+
const p = `${n.model.uuid}__${c}`;
|
|
47
45
|
let o = this.tagCacheByPanoIndex[p];
|
|
48
46
|
if (o || (o = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[p] = o), i === void 0)
|
|
49
47
|
return o;
|
|
@@ -63,5 +61,5 @@ class L extends f {
|
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
63
|
export {
|
|
66
|
-
|
|
64
|
+
H as TagCache
|
|
67
65
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var L = Object.defineProperty, O = Object.defineProperties;
|
|
2
2
|
var z = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var U = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var D = (d, e, i) => e in d ? L(d, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : d[e] = i, h = (d, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
U.call(e, i) && D(d, i, e[i]);
|
|
8
8
|
if (C)
|
|
9
9
|
for (var i of C(e))
|
|
10
|
-
F.call(e, i) &&
|
|
10
|
+
F.call(e, i) && D(d, i, e[i]);
|
|
11
11
|
return d;
|
|
12
12
|
}, R = (d, e) => O(d, z(e));
|
|
13
13
|
var S = (d, e) => {
|
|
14
14
|
var i = {};
|
|
15
15
|
for (var s in d)
|
|
16
|
-
|
|
16
|
+
U.call(d, s) && e.indexOf(s) < 0 && (i[s] = d[s]);
|
|
17
17
|
if (d != null && C)
|
|
18
18
|
for (var s of C(d))
|
|
19
19
|
e.indexOf(s) < 0 && F.call(d, s) && (i[s] = d[s]);
|
|
@@ -55,11 +55,9 @@ import "../utils/normalPositionToPositions.js";
|
|
|
55
55
|
import "./TagCache.js";
|
|
56
56
|
import "../../base/BasePlugin.js";
|
|
57
57
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
58
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
59
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
60
58
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
59
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
61
60
|
import "../../shared-utils/five/transformPosition.js";
|
|
62
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
63
61
|
import "../../vendor/svelte/store/index.js";
|
|
64
62
|
import "../../vendor/svelte/internal/index.js";
|
|
65
63
|
import "../../shared-utils/device.js";
|
|
@@ -83,7 +81,7 @@ import "../../shared-utils/typescript/entries.js";
|
|
|
83
81
|
import "../../shared-utils/url/getUrl.js";
|
|
84
82
|
const T = new w.Raycaster();
|
|
85
83
|
T.params.Points.threshold = 0.1;
|
|
86
|
-
class
|
|
84
|
+
class ni extends W {
|
|
87
85
|
constructor(e) {
|
|
88
86
|
super(e);
|
|
89
87
|
}
|
|
@@ -313,7 +311,7 @@ class si extends W {
|
|
|
313
311
|
for (const v of n) {
|
|
314
312
|
const b = new w.Vector3().subVectors(v, r).normalize();
|
|
315
313
|
T.set(r, b);
|
|
316
|
-
const I = r.distanceTo(v), [y] = this.
|
|
314
|
+
const I = r.distanceTo(v), [y] = this.five.model.intersectRaycaster(T), l = (() => {
|
|
317
315
|
if (!j(e))
|
|
318
316
|
return;
|
|
319
317
|
const $ = this.tags.filter(j).map((_) => {
|
|
@@ -342,7 +340,7 @@ class si extends W {
|
|
|
342
340
|
let i = 0;
|
|
343
341
|
const s = (r = e.fiveState) == null ? void 0 : r.panoIndex;
|
|
344
342
|
s !== void 0 ? i = (n = this.workUtil.getObserver(s)) == null ? void 0 : n.floorIndex : i = X(this.workUtil.work, (f = (a = (g = (c = e.model) == null ? void 0 : c.object) == null ? void 0 : g.position) != null ? a : (o = e.mediaPlane) == null ? void 0 : o.position) != null ? f : k(e));
|
|
345
|
-
const t = this.
|
|
343
|
+
const t = this.five.model.shownFloor;
|
|
346
344
|
return {
|
|
347
345
|
value: t === null || t === i,
|
|
348
346
|
currentFiveFloorIndex: t,
|
|
@@ -351,5 +349,5 @@ class si extends W {
|
|
|
351
349
|
}
|
|
352
350
|
}
|
|
353
351
|
export {
|
|
354
|
-
|
|
352
|
+
ni as TagComputer
|
|
355
353
|
};
|
|
@@ -66,11 +66,9 @@ import "../utils/normalPositionToPositions.js";
|
|
|
66
66
|
import "./TagCache.js";
|
|
67
67
|
import "../../base/BasePlugin.js";
|
|
68
68
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
69
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
70
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
71
69
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
70
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
72
71
|
import "../../shared-utils/five/transformPosition.js";
|
|
73
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
74
72
|
import "../../vendor/svelte/store/index.js";
|
|
75
73
|
import "../../vendor/svelte/internal/index.js";
|
|
76
74
|
import "../../shared-utils/device.js";
|
|
@@ -165,7 +163,7 @@ import "../Components/Tag/PanoramaTag.js";
|
|
|
165
163
|
import "../Components/Tag/CustomTag.js";
|
|
166
164
|
import "@realsee/five/gltf-loader";
|
|
167
165
|
const N = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
|
|
168
|
-
class
|
|
166
|
+
class gi extends E {
|
|
169
167
|
constructor(e) {
|
|
170
168
|
super(e);
|
|
171
169
|
h(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -511,5 +509,5 @@ class Si extends E {
|
|
|
511
509
|
}
|
|
512
510
|
}
|
|
513
511
|
export {
|
|
514
|
-
|
|
512
|
+
gi as TagRender
|
|
515
513
|
};
|
|
@@ -52,10 +52,8 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
52
52
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
53
53
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
54
54
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
55
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
56
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
57
55
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
58
|
-
import "../../shared-utils/
|
|
56
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
59
57
|
import "../../vendor/svelte/internal/index.js";
|
|
60
58
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
61
59
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
@@ -68,7 +66,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
68
66
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
69
67
|
import "../../shared-utils/three/getNormal.js";
|
|
70
68
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
71
|
-
class
|
|
69
|
+
class hi extends ne {
|
|
72
70
|
constructor(e) {
|
|
73
71
|
super(e);
|
|
74
72
|
f(this, "tags", []);
|
|
@@ -372,5 +370,5 @@ class Ti extends ne {
|
|
|
372
370
|
}
|
|
373
371
|
}
|
|
374
372
|
export {
|
|
375
|
-
|
|
373
|
+
hi as TagUtil
|
|
376
374
|
};
|
|
@@ -67,11 +67,9 @@ import "./TagCache.js";
|
|
|
67
67
|
import "../../base/BasePlugin.js";
|
|
68
68
|
import "../../shared-utils/Subscribe.js";
|
|
69
69
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
70
|
-
import "../../shared-utils/Utils/FiveUtil.js";
|
|
71
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
72
70
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
71
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
73
72
|
import "../../shared-utils/five/transformPosition.js";
|
|
74
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
75
73
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
76
74
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
77
75
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -175,8 +173,8 @@ import "../Components/Common/TagPoint.js";
|
|
|
175
173
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
176
174
|
import "@realsee/five/gltf-loader";
|
|
177
175
|
import "../../shared-utils/animationFrame/index.js";
|
|
178
|
-
const B = "Dnalogel-PanoTagPlugin",
|
|
179
|
-
class
|
|
176
|
+
const B = "Dnalogel-PanoTagPlugin", Gi = (d) => `${B}--${d}`;
|
|
177
|
+
class Ni extends j {
|
|
180
178
|
constructor(e, t) {
|
|
181
179
|
super(e);
|
|
182
180
|
/** state */
|
|
@@ -626,7 +624,7 @@ class zi extends j {
|
|
|
626
624
|
}
|
|
627
625
|
}
|
|
628
626
|
export {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
627
|
+
Ni as PanoTagPluginController,
|
|
628
|
+
Ni as default,
|
|
629
|
+
Gi as pluginFlag
|
|
632
630
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as St } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Vt } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Xt, DimensionType as Yt, PointType as Zt } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -44,11 +44,9 @@ import "./utils/normalPositionToPositions.js";
|
|
|
44
44
|
import "./controller/TagCache.js";
|
|
45
45
|
import "../base/BasePlugin.js";
|
|
46
46
|
import "../shared-utils/url/absoluteUrl.js";
|
|
47
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
48
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
49
47
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
48
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
50
49
|
import "../shared-utils/five/transformPosition.js";
|
|
51
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
52
50
|
import "../vendor/svelte/store/index.js";
|
|
53
51
|
import "../vendor/svelte/internal/index.js";
|
|
54
52
|
import "../shared-utils/device.js";
|
|
@@ -149,14 +147,14 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
149
147
|
import "../shared-utils/animationFrame/index.js";
|
|
150
148
|
import "./utils/DebugUtil.js";
|
|
151
149
|
import "../CruisePlugin/utils/sleep.js";
|
|
152
|
-
const
|
|
150
|
+
const Ot = (o, t) => new r(o, t);
|
|
153
151
|
export {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
Xt as ContentType,
|
|
153
|
+
Yt as DimensionType,
|
|
154
|
+
Ot as PanoTagPlugin,
|
|
157
155
|
r as PanoTagPluginController,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
156
|
+
Zt as PointType,
|
|
157
|
+
Ot as default,
|
|
158
|
+
Vt as defaultGlobalConfig,
|
|
159
|
+
St as pluginFlag
|
|
162
160
|
};
|
|
@@ -37,12 +37,10 @@ import "animejs";
|
|
|
37
37
|
import "../shared-utils/animationFrame/index.js";
|
|
38
38
|
import "./utils/index.js";
|
|
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
|
-
|
|
45
|
-
class Z extends _ {
|
|
43
|
+
class X extends _ {
|
|
46
44
|
constructor(r) {
|
|
47
45
|
super(r);
|
|
48
46
|
s(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
@@ -185,5 +183,5 @@ class Z extends _ {
|
|
|
185
183
|
}
|
|
186
184
|
}
|
|
187
185
|
export {
|
|
188
|
-
|
|
186
|
+
X as PanoVideoPluginController
|
|
189
187
|
};
|