@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
|
@@ -42,11 +42,9 @@ import { uuid as U } from "../shared-utils/uuid.js";
|
|
|
42
42
|
import "../base/BasePlugin.js";
|
|
43
43
|
import "../shared-utils/Subscribe.js";
|
|
44
44
|
import "../shared-utils/url/absoluteUrl.js";
|
|
45
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
46
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
47
45
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
46
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
48
47
|
import "../shared-utils/five/transformPosition.js";
|
|
49
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
50
48
|
import "../shared-utils/isTruelyObject.js";
|
|
51
49
|
import "./GuideLineModeItem/index.js";
|
|
52
50
|
import "../shared-utils/log.js";
|
|
@@ -60,6 +58,8 @@ import "../vendor/gl-vec2/subtract.js";
|
|
|
60
58
|
import "../vendor/gl-vec2/dot.js";
|
|
61
59
|
import "../shared-utils/math/intersecting.js";
|
|
62
60
|
import "../shared-utils/five/mode.js";
|
|
61
|
+
import "../shared-utils/three/blink.js";
|
|
62
|
+
import "../shared-utils/util.js";
|
|
63
63
|
import "../shared-utils/isNil.js";
|
|
64
64
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
65
65
|
import "../shared-utils/animationFrame/index.js";
|
|
@@ -79,7 +79,6 @@ import "../PanoTagPlugin/controller/TagComputer.js";
|
|
|
79
79
|
import "../PanoTagPlugin/utils/tagPosition.js";
|
|
80
80
|
import "../shared-utils/three/centerPoint.js";
|
|
81
81
|
import "../PanoTagPlugin/utils/checkRange.js";
|
|
82
|
-
import "../shared-utils/util.js";
|
|
83
82
|
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
84
83
|
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
85
84
|
import "../PanoTagPlugin/tag.config.js";
|
|
@@ -188,7 +187,6 @@ import "../vendor/classnames/index.js";
|
|
|
188
187
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
189
188
|
import "../shared-utils/three/GLTFLoader.js";
|
|
190
189
|
import "@realsee/five/gltf-loader";
|
|
191
|
-
import "../shared-utils/three/blink.js";
|
|
192
190
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
193
191
|
import "../CruisePlugin/utils/sleep.js";
|
|
194
192
|
import "./Components/Tag.js";
|
|
@@ -198,6 +196,7 @@ import "../shared-utils/five/changeMode.js";
|
|
|
198
196
|
import "../shared-utils/nearlyEqual.js";
|
|
199
197
|
import "../CruisePlugin/Move.js";
|
|
200
198
|
import "../CruisePlugin/BaseController.js";
|
|
199
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
201
200
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
202
201
|
import "../shared-utils/vectorToCoordinate.js";
|
|
203
202
|
import "../shared-utils/formatRad.js";
|
|
@@ -207,8 +206,8 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
|
207
206
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
208
207
|
import "../CruisePlugin/utils/safeCall.js";
|
|
209
208
|
import "../shared-utils/five/fiveLoaded.js";
|
|
210
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
211
|
-
class
|
|
209
|
+
const b = "GuideLinePlugin", g = `${b}`, me = (s) => `${g}--${s}`;
|
|
210
|
+
class pe extends N {
|
|
212
211
|
constructor(t, i) {
|
|
213
212
|
super(t, i);
|
|
214
213
|
h(this, "name", b);
|
|
@@ -350,6 +349,6 @@ class se extends N {
|
|
|
350
349
|
}
|
|
351
350
|
}
|
|
352
351
|
export {
|
|
353
|
-
|
|
354
|
-
|
|
352
|
+
pe as default,
|
|
353
|
+
me as pluginFlag
|
|
355
354
|
};
|
|
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
|
|
|
5
5
|
import "../CruisePlugin/Move.js";
|
|
6
6
|
import "../CruisePlugin/Work.js";
|
|
7
7
|
import "../shared-utils/Subscribe.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as jo } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -34,6 +34,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
35
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
36
36
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
37
|
+
import "../shared-utils/three/blink.js";
|
|
37
38
|
import "animejs";
|
|
38
39
|
import "../shared-utils/isNil.js";
|
|
39
40
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
@@ -61,11 +62,9 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
|
61
62
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
62
63
|
import "../base/BasePlugin.js";
|
|
63
64
|
import "../shared-utils/url/absoluteUrl.js";
|
|
64
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
65
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
66
65
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
66
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
67
67
|
import "../shared-utils/five/transformPosition.js";
|
|
68
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
69
68
|
import "../vendor/svelte/store/index.js";
|
|
70
69
|
import "../vendor/svelte/internal/index.js";
|
|
71
70
|
import "../shared-utils/device.js";
|
|
@@ -160,7 +159,6 @@ import "../vendor/classnames/index.js";
|
|
|
160
159
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
161
160
|
import "../shared-utils/three/GLTFLoader.js";
|
|
162
161
|
import "@realsee/five/gltf-loader";
|
|
163
|
-
import "../shared-utils/three/blink.js";
|
|
164
162
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
165
163
|
import "../CruisePlugin/utils/sleep.js";
|
|
166
164
|
import "./Components/Tag.js";
|
|
@@ -169,6 +167,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
169
167
|
import "../CruisePlugin/BaseController.js";
|
|
170
168
|
import "../shared-utils/equal.js";
|
|
171
169
|
import "../shared-utils/isTruelyObject.js";
|
|
170
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
172
171
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
173
172
|
import "../shared-utils/vectorToCoordinate.js";
|
|
174
173
|
import "../shared-utils/formatRad.js";
|
|
@@ -180,5 +179,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
180
179
|
import "../CruisePlugin/utils/safeCall.js";
|
|
181
180
|
import "../shared-utils/five/fiveLoaded.js";
|
|
182
181
|
export {
|
|
183
|
-
|
|
182
|
+
jo as GuideLineItem
|
|
184
183
|
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
var
|
|
1
|
+
var k = Object.defineProperty, x = Object.defineProperties;
|
|
2
2
|
var w = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var D = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var M = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var T = (m, e, t) => e in m ? k(m, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[e] = t, c = (m, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
M.call(e, t) && T(m, t, e[t]);
|
|
8
8
|
if (D)
|
|
9
9
|
for (var t of D(e))
|
|
10
|
-
|
|
10
|
+
P.call(e, t) && T(m, t, e[t]);
|
|
11
11
|
return m;
|
|
12
|
-
},
|
|
13
|
-
var i = (m, e, t) => (
|
|
12
|
+
}, y = (m, e) => x(m, w(e));
|
|
13
|
+
var i = (m, e, t) => (T(m, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
14
|
import * as h from "three";
|
|
15
|
-
import {
|
|
16
|
-
import { createLineGeometry as
|
|
17
|
-
import { isPanoramaLike as
|
|
15
|
+
import { logError as F } from "../../shared-utils/log.js";
|
|
16
|
+
import { createLineGeometry as U } from "../utils/createLineGeometry.js";
|
|
17
|
+
import { isPanoramaLike as L, isModelLike as S } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
19
19
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
20
20
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
21
21
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
22
|
-
import "
|
|
23
|
-
import { notNil as
|
|
24
|
-
import { BetterTween as _
|
|
25
|
-
import { loadTexture as
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { filterAdjacentDistinct as
|
|
29
|
-
import { objectAssignDeepExports as
|
|
30
|
-
const
|
|
22
|
+
import { blink as O } from "../../shared-utils/three/blink.js";
|
|
23
|
+
import { notNil as C } from "../../shared-utils/isNil.js";
|
|
24
|
+
import { BetterTween as _ } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
25
|
+
import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
|
|
26
|
+
import V from "../../PanoTagPlugin/controller/index.js";
|
|
27
|
+
import E from "../Components/Tag.js";
|
|
28
|
+
import { filterAdjacentDistinct as G } from "../utils/index.js";
|
|
29
|
+
import { objectAssignDeepExports as B } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
30
|
+
const I = (
|
|
31
31
|
/* glsl */
|
|
32
32
|
`
|
|
33
33
|
varying vec2 vUv;
|
|
@@ -40,7 +40,7 @@ const R = (
|
|
|
40
40
|
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
41
41
|
}
|
|
42
42
|
`
|
|
43
|
-
),
|
|
43
|
+
), N = (
|
|
44
44
|
/* glsl */
|
|
45
45
|
`
|
|
46
46
|
// 是否使用颜色
|
|
@@ -175,7 +175,7 @@ const R = (
|
|
|
175
175
|
}
|
|
176
176
|
`
|
|
177
177
|
);
|
|
178
|
-
class
|
|
178
|
+
class R {
|
|
179
179
|
constructor(e, t) {
|
|
180
180
|
i(this, "name", "");
|
|
181
181
|
i(this, "startTagContainer");
|
|
@@ -213,7 +213,6 @@ class Y {
|
|
|
213
213
|
i(this, "textureHasLoaded", !1);
|
|
214
214
|
i(this, "disposed", !1);
|
|
215
215
|
i(this, "flowAnime", new _({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
216
|
-
i(this, "flickerAnime", E(300).yoyo(!0).repeat(5));
|
|
217
216
|
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
218
217
|
i(this, "cacheLengths", []);
|
|
219
218
|
/** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
|
|
@@ -234,12 +233,12 @@ class Y {
|
|
|
234
233
|
});
|
|
235
234
|
/** 模型状态变更 */
|
|
236
235
|
i(this, "onFiveModeChange", (e) => {
|
|
237
|
-
this.modeVisible = this.mode === "panorama" ?
|
|
236
|
+
this.modeVisible = this.mode === "panorama" ? L(e) : S(e), this.updateVisible();
|
|
238
237
|
});
|
|
239
238
|
/** 走点 */
|
|
240
239
|
i(this, "onFivePanoArrived", (e) => {
|
|
241
|
-
var s,
|
|
242
|
-
const t = (
|
|
240
|
+
var s, a, o, n, l, d;
|
|
241
|
+
const t = (o = (a = (s = this.path) == null ? void 0 : s[0]) == null ? void 0 : a.panoIndexMap) == null ? void 0 : o[e], r = this.panoMap[t != null ? t : e];
|
|
243
242
|
if (r === void 0)
|
|
244
243
|
this.group.children.includes(this.meshWithoutDepthTest) && this.group.remove(this.meshWithoutDepthTest), this.meshWithDepthTest.material.uniforms.excludeMinV.value = -1, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = -1;
|
|
245
244
|
else {
|
|
@@ -261,22 +260,12 @@ class Y {
|
|
|
261
260
|
const { progress: t } = e;
|
|
262
261
|
this.meshWithDepthTest.material.uniforms.vOffset.value = t, this.meshWithoutDepthTest.material.uniforms.vOffset.value = t, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
|
|
263
262
|
});
|
|
264
|
-
i(this, "
|
|
265
|
-
|
|
266
|
-
const { progress: t } = e, r = 1 - t;
|
|
267
|
-
this.meshWithDepthTest.material.uniforms.flicker.value = r, this.meshWithoutDepthTest.material.uniforms.flicker.value = r, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, (s = this.startTagContainer) != null && s.tag && W(this.startTagContainer.tag) && ((n = this.startTagContainer.app) == null || n.$set(T(c({}, this.startTagContainer.tag.data), {
|
|
268
|
-
opacity: r,
|
|
269
|
-
name: this.name,
|
|
270
|
-
distance: Math.round((a = (o = this.curvePath) == null ? void 0 : o.getLength()) != null ? a : 0)
|
|
271
|
-
}))), this.endTagContainer.tag && W(this.endTagContainer.tag) && ((l = this.endTagContainer.app) == null || l.$set(T(c({}, this.endTagContainer.tag.data), { opacity: r })));
|
|
272
|
-
});
|
|
273
|
-
i(this, "logWarning", (e) => F("GuideLineModeItem: ", e));
|
|
274
|
-
i(this, "logError", (e) => L("GuideLineModeItem: ", e));
|
|
275
|
-
var o, a;
|
|
263
|
+
i(this, "logError", (e) => F("GuideLineModeItem: ", e));
|
|
264
|
+
var a, o;
|
|
276
265
|
this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.group.name = "GuideLineModeItem";
|
|
277
266
|
const r = new h.BufferGeometry(), s = new h.ShaderMaterial({
|
|
278
|
-
vertexShader:
|
|
279
|
-
fragmentShader:
|
|
267
|
+
vertexShader: I,
|
|
268
|
+
fragmentShader: N,
|
|
280
269
|
transparent: !0,
|
|
281
270
|
uniforms: {
|
|
282
271
|
map: { value: null },
|
|
@@ -299,7 +288,7 @@ class Y {
|
|
|
299
288
|
excludeMaxV: { value: -1 }
|
|
300
289
|
}
|
|
301
290
|
});
|
|
302
|
-
this.meshWithDepthTest = new h.Mesh(r, s), this.meshWithoutDepthTest = new h.Mesh(r, s.clone()), this.meshWithoutDepthTest.material.depthTest = !1, this.meshWithDepthTest.name = "GuideLineModeItemWithDepthTest", this.meshWithoutDepthTest.name = "GuideLineModeItemWithoutDepthTest", this.group.add(this.meshWithDepthTest), this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd), this.onFivePanoArrived(this.five.getCurrentState().panoIndex)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((
|
|
291
|
+
this.meshWithDepthTest = new h.Mesh(r, s), this.meshWithoutDepthTest = new h.Mesh(r, s.clone()), this.meshWithoutDepthTest.material.depthTest = !1, this.meshWithDepthTest.name = "GuideLineModeItemWithDepthTest", this.meshWithoutDepthTest.name = "GuideLineModeItemWithoutDepthTest", this.group.add(this.meshWithDepthTest), this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd), this.onFivePanoArrived(this.five.getCurrentState().panoIndex)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange), this.five.needsRender = !0;
|
|
303
292
|
}
|
|
304
293
|
get panoGroup() {
|
|
305
294
|
return this._panoGroup;
|
|
@@ -346,56 +335,56 @@ class Y {
|
|
|
346
335
|
return this.logError("disposed");
|
|
347
336
|
if (!this.five.work)
|
|
348
337
|
return this.logError("setPathByPanoGroup: work is not ready");
|
|
349
|
-
const r =
|
|
338
|
+
const r = G(e);
|
|
350
339
|
if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
|
|
351
|
-
const
|
|
352
|
-
this.skippedPositions =
|
|
340
|
+
const a = t.skipPanoGroup ? r.map((o) => this.plugin.workUtil.getObserverStandingPosition(o)).filter(C) : null;
|
|
341
|
+
this.skippedPositions = a;
|
|
353
342
|
}
|
|
354
343
|
const s = this.getPathFromPanoGroup(r, this.five.work, t);
|
|
355
344
|
this.path = s, this.setGeometryByPath(s, t);
|
|
356
345
|
}
|
|
357
346
|
/** 通过路径设置线条形状 */
|
|
358
347
|
setGeometryByPath(e, t) {
|
|
359
|
-
var g, f, v,
|
|
348
|
+
var g, f, v, W;
|
|
360
349
|
if (this.disposed)
|
|
361
350
|
return this.logError("disposed");
|
|
362
|
-
const r = (g = t == null ? void 0 : t.scale) != null ? g : this.scale, s = (f = t == null ? void 0 : t.width) != null ? f : this.width,
|
|
363
|
-
this.scale = r, this.width = s, this.unitLength =
|
|
364
|
-
const { geometry:
|
|
351
|
+
const r = (g = t == null ? void 0 : t.scale) != null ? g : this.scale, s = (f = t == null ? void 0 : t.width) != null ? f : this.width, a = (v = t == null ? void 0 : t.unit_length) != null ? v : this.unitLength;
|
|
352
|
+
this.scale = r, this.width = s, this.unitLength = a;
|
|
353
|
+
const { geometry: o, maxV: n, curvePath: l, curvePoints: d, panoMap: u, totalLength: p } = U({
|
|
365
354
|
path: e,
|
|
366
355
|
width: s * r,
|
|
367
|
-
unitLength:
|
|
356
|
+
unitLength: a * r,
|
|
368
357
|
skipPositions: this.skippedPositions,
|
|
369
358
|
useAutoDepthTest: t.useAutoDepthTest
|
|
370
359
|
});
|
|
371
|
-
this.autoDepthTestEffectDistance = (
|
|
360
|
+
this.autoDepthTestEffectDistance = (W = t.autoDepthTestEffectDistance) != null ? W : (() => {
|
|
372
361
|
const b = p / 10;
|
|
373
362
|
return b > 3 ? 3 : b < 1 ? 1 : b;
|
|
374
|
-
})(), this.panoMap = u, this._curvePath = l, this._curvePoints = d, this.meshWithDepthTest.geometry.copy(
|
|
363
|
+
})(), this.panoMap = u, this._curvePath = l, this._curvePoints = d, this.meshWithDepthTest.geometry.copy(o), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.meshWithDepthTest.material.needsUpdate = !0, this.meshWithDepthTest.material.uniforms.maxV.value = n, this.meshWithoutDepthTest.material.needsUpdate = !0, this.meshWithoutDepthTest.material.uniforms.maxV.value = n, this.five.needsRender = !0, this.path = e, this.geometryStyle = c(c({}, this.geometryStyle), t);
|
|
375
364
|
}
|
|
376
365
|
/** 设置线条材质 */
|
|
377
366
|
setMartial(e) {
|
|
378
|
-
var r, s,
|
|
367
|
+
var r, s, a, o, n;
|
|
379
368
|
if (this.disposed)
|
|
380
369
|
return this.logError("disposed");
|
|
381
|
-
this.setDefaultVisible((r = e == null ? void 0 : e.visible) != null ? r : !1), this.setColor((s = e == null ? void 0 : e.color) != null ? s : "#ffffff"), this.setOpacity((
|
|
370
|
+
this.setDefaultVisible((r = e == null ? void 0 : e.visible) != null ? r : !1), this.setColor((s = e == null ? void 0 : e.color) != null ? s : "#ffffff"), this.setOpacity((a = e == null ? void 0 : e.opacity) != null ? a : 0.5), this.setTextureUrl((n = (o = e == null ? void 0 : e.texture) == null ? void 0 : o.url) != null ? n : "https://vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png"), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
|
|
382
371
|
const t = c(c({}, this.materialStyle), e);
|
|
383
372
|
this.materialStyle = t;
|
|
384
373
|
}
|
|
385
374
|
/** 设置模型状态 */
|
|
386
375
|
setMeshStyle(e) {
|
|
387
376
|
if (e != null && e.translate) {
|
|
388
|
-
const s = new h.Vector3(),
|
|
389
|
-
|
|
377
|
+
const s = new h.Vector3(), a = new h.Vector3().fromArray(e.translate);
|
|
378
|
+
a.y += this.heightOffset, s.add(a), this.group.position.copy(s), r(this.startTagContainer, a), r(this.endTagContainer, a);
|
|
390
379
|
}
|
|
391
380
|
const t = c(c({}, this.meshStyle), e);
|
|
392
381
|
this.meshStyle = t;
|
|
393
|
-
function r(s,
|
|
382
|
+
function r(s, a) {
|
|
394
383
|
if (!(s != null && s.tag))
|
|
395
384
|
return;
|
|
396
|
-
const
|
|
397
|
-
|
|
398
|
-
const n =
|
|
385
|
+
const o = new h.Vector3().fromArray(s.tag.position);
|
|
386
|
+
o.add(a);
|
|
387
|
+
const n = o.toArray();
|
|
399
388
|
s.plugin.changeTagById(s.tag.id, { position: n });
|
|
400
389
|
}
|
|
401
390
|
}
|
|
@@ -463,7 +452,7 @@ class Y {
|
|
|
463
452
|
setTextureUrl(e) {
|
|
464
453
|
if (this.disposed)
|
|
465
454
|
return this.logError("disposed");
|
|
466
|
-
this.textureUrl = e,
|
|
455
|
+
this.textureUrl = e, A(e).then((t) => {
|
|
467
456
|
this.disposed || this.textureUrl === e && (t.wrapT = h.RepeatWrapping, this.textureHasLoaded = !0, this.meshWithDepthTest.material.uniforms.map.value = t, this.meshWithoutDepthTest.material.uniforms.map.value = t, this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.meshWithDepthTest.material.needsUpdate = !0, this.meshWithoutDepthTest.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
|
|
468
457
|
});
|
|
469
458
|
}
|
|
@@ -481,9 +470,15 @@ class Y {
|
|
|
481
470
|
}
|
|
482
471
|
/** 闪烁 */
|
|
483
472
|
flicker() {
|
|
473
|
+
var e, t, r, s, a, o;
|
|
484
474
|
if (this.disposed)
|
|
485
475
|
return this.logError("disposed");
|
|
486
|
-
this.
|
|
476
|
+
O([this.group, (r = (t = (e = this.startTagContainer) == null ? void 0 : e.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : r.dom, (o = (a = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : a.tags[0]) == null ? void 0 : o.dom], {
|
|
477
|
+
loop: 6,
|
|
478
|
+
updateRender: () => {
|
|
479
|
+
this.five.needsRender = !0;
|
|
480
|
+
}
|
|
481
|
+
});
|
|
487
482
|
}
|
|
488
483
|
/** 求起点到 panoIndex 曲线长度
|
|
489
484
|
* @param index panoIndex 在 panoGroup 中的索引
|
|
@@ -498,37 +493,37 @@ class Y {
|
|
|
498
493
|
var l;
|
|
499
494
|
if (!this.curvePoints || !this.curvePath)
|
|
500
495
|
return [];
|
|
501
|
-
const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r,
|
|
496
|
+
const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, a = (l = this.curvePath.getLengths(r)) != null ? l : [], o = [];
|
|
502
497
|
let n = 0;
|
|
503
498
|
for (let d = 0; d < e; d++) {
|
|
504
499
|
const u = this.curvePoints[d], p = this.plugin.workUtil.getObserverStandingPosition(n);
|
|
505
500
|
if (!p)
|
|
506
501
|
break;
|
|
507
|
-
p.clone().setY(0).distanceTo(u.clone().setY(0)) < s && (
|
|
502
|
+
p.clone().setY(0).distanceTo(u.clone().setY(0)) < s && (o.push(a[d]), n += 1);
|
|
508
503
|
}
|
|
509
|
-
return
|
|
504
|
+
return o;
|
|
510
505
|
}
|
|
511
506
|
setTag(e, t) {
|
|
512
507
|
var l, d;
|
|
513
508
|
const r = this.curvePath;
|
|
514
509
|
if (!(t != null && t.data))
|
|
515
510
|
return;
|
|
516
|
-
const s = e === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new
|
|
511
|
+
const s = e === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new V(this.five, { containerZIndex: 1 }) }, this.startTagContainer))() : (d = this.endTagContainer) != null ? d : (() => (this.endTagContainer = { tag: null, plugin: new V(this.five, { containerZIndex: 1 }) }, this.endTagContainer))(), o = B({}, {
|
|
517
512
|
contentType: "Custom",
|
|
518
513
|
stickType: "2DPoint",
|
|
519
514
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
520
515
|
style: { point: { enabled: !1 } },
|
|
521
516
|
data: {}
|
|
522
517
|
}, t);
|
|
523
|
-
s.tag =
|
|
518
|
+
s.tag = o, H(o) && (s.tag.element = (u) => {
|
|
524
519
|
var f, v;
|
|
525
520
|
(f = s.app) == null || f.$destroy();
|
|
526
|
-
const p = e === "start" ?
|
|
521
|
+
const p = e === "start" ? y(c({}, o.data), { name: this.name, distance: Math.round((v = r.getLength()) != null ? v : 0), i18n: this.plugin.config.i18n }) : o.data, g = new E({ target: u, intro: !0, props: p });
|
|
527
522
|
return s.app = g, () => g.$destroy();
|
|
528
523
|
}), s.plugin.load({ tagList: [s.tag] });
|
|
529
524
|
const n = this.meshStyle.translate;
|
|
530
|
-
if (n &&
|
|
531
|
-
const u = new h.Vector3().fromArray(
|
|
525
|
+
if (n && o.position) {
|
|
526
|
+
const u = new h.Vector3().fromArray(o.position), p = new h.Vector3().fromArray(n);
|
|
532
527
|
u.add(p), u.y += this.heightOffset;
|
|
533
528
|
const g = u.toArray();
|
|
534
529
|
s.plugin.changeTagById(s.tag.id, { position: g });
|
|
@@ -546,7 +541,7 @@ class Y {
|
|
|
546
541
|
getPathFromPanoGroup(e, t, r) {
|
|
547
542
|
if (e.length < 2)
|
|
548
543
|
return [];
|
|
549
|
-
const s = {},
|
|
544
|
+
const s = {}, a = e.map((l, d) => {
|
|
550
545
|
const u = this.plugin.workUtil.getObserverStandingPosition(l);
|
|
551
546
|
if (!u)
|
|
552
547
|
return;
|
|
@@ -562,18 +557,18 @@ class Y {
|
|
|
562
557
|
position: u,
|
|
563
558
|
panoIndex: l
|
|
564
559
|
};
|
|
565
|
-
}).filter(
|
|
566
|
-
return [
|
|
560
|
+
}).filter(C), o = a.map((l) => l.position.toArray()), n = a.map((l) => l.panoIndex);
|
|
561
|
+
return [y(c({ type: "CatmullRomCurve3", points: o }, r), { panoIndexList: n, panoIndexMap: s })];
|
|
567
562
|
}
|
|
568
563
|
}
|
|
569
|
-
function
|
|
564
|
+
function H(m) {
|
|
570
565
|
return m.contentType === "Custom";
|
|
571
566
|
}
|
|
572
|
-
const
|
|
567
|
+
const ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
573
568
|
__proto__: null,
|
|
574
|
-
GuideLineModeItem:
|
|
569
|
+
GuideLineModeItem: R
|
|
575
570
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
576
571
|
export {
|
|
577
|
-
|
|
578
|
-
|
|
572
|
+
R as GuideLineModeItem,
|
|
573
|
+
ae as GuideLineModeItem$1
|
|
579
574
|
};
|
|
@@ -58,7 +58,6 @@ declare class GuideLineModeItem {
|
|
|
58
58
|
private textureHasLoaded;
|
|
59
59
|
private disposed;
|
|
60
60
|
private flowAnime;
|
|
61
|
-
private flickerAnime;
|
|
62
61
|
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
63
62
|
private cacheLengths;
|
|
64
63
|
/** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
|
|
@@ -147,8 +146,6 @@ declare class GuideLineModeItem {
|
|
|
147
146
|
/** 通过 panoIndex 数组计算路径 */
|
|
148
147
|
private getPathFromPanoGroup;
|
|
149
148
|
private onFlowAnimeUpdate;
|
|
150
|
-
private onFlickerAnimeUpdate;
|
|
151
|
-
private logWarning;
|
|
152
149
|
private logError;
|
|
153
150
|
}
|
|
154
151
|
export { GuideLineModeItem };
|
|
@@ -6,7 +6,7 @@ import "hammerjs";
|
|
|
6
6
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
7
7
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
8
8
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
9
|
-
import "
|
|
9
|
+
import "../shared-utils/three/blink.js";
|
|
10
10
|
import "../shared-utils/isNil.js";
|
|
11
11
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
12
12
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -14,7 +14,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
14
14
|
import "./Components/Tag.js";
|
|
15
15
|
import "./utils/index.js";
|
|
16
16
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
17
|
-
import { GuideLineModeItem as
|
|
17
|
+
import { GuideLineModeItem as om } from "./GuideLineModeItem/index.js";
|
|
18
18
|
import "../vendor/polyline-normals/index.js";
|
|
19
19
|
import "../vendor/polyline-miter-util/index.js";
|
|
20
20
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -37,6 +37,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
37
37
|
import "../shared-utils/three/getObjectVisible.js";
|
|
38
38
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
39
39
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
40
|
+
import "animejs";
|
|
40
41
|
import "../shared-utils/animationFrame/index.js";
|
|
41
42
|
import "@realsee/five";
|
|
42
43
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
@@ -58,11 +59,9 @@ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
|
58
59
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
59
60
|
import "../base/BasePlugin.js";
|
|
60
61
|
import "../shared-utils/url/absoluteUrl.js";
|
|
61
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
62
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
63
62
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
63
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
64
64
|
import "../shared-utils/five/transformPosition.js";
|
|
65
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
66
65
|
import "../vendor/svelte/store/index.js";
|
|
67
66
|
import "../vendor/svelte/internal/index.js";
|
|
68
67
|
import "../shared-utils/device.js";
|
|
@@ -157,9 +156,8 @@ import "../vendor/classnames/index.js";
|
|
|
157
156
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
158
157
|
import "../shared-utils/three/GLTFLoader.js";
|
|
159
158
|
import "@realsee/five/gltf-loader";
|
|
160
|
-
import "../shared-utils/three/blink.js";
|
|
161
159
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
162
160
|
import "../CruisePlugin/utils/sleep.js";
|
|
163
161
|
export {
|
|
164
|
-
|
|
162
|
+
om as GuideLineModeItem
|
|
165
163
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as Ct } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as ht } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -24,11 +24,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
24
24
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
25
|
import "animejs";
|
|
26
26
|
import "../shared-utils/url/absoluteUrl.js";
|
|
27
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
28
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
29
27
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
28
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
30
29
|
import "../shared-utils/five/transformPosition.js";
|
|
31
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
32
30
|
import "../shared-utils/equal.js";
|
|
33
31
|
import "../shared-utils/isTruelyObject.js";
|
|
34
32
|
import "../CruisePlugin/Work.js";
|
|
@@ -43,6 +41,7 @@ import "../shared-utils/vectorToCoordinate.js";
|
|
|
43
41
|
import "../shared-utils/formatRad.js";
|
|
44
42
|
import "../CruisePlugin/BaseController.js";
|
|
45
43
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
44
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
46
45
|
import "../shared-utils/isNil.js";
|
|
47
46
|
import "../shared-utils/log.js";
|
|
48
47
|
import "./utils/createLineGeometry.js";
|
|
@@ -55,6 +54,7 @@ import "../vendor/gl-vec2/subtract.js";
|
|
|
55
54
|
import "../vendor/gl-vec2/dot.js";
|
|
56
55
|
import "../shared-utils/math/intersecting.js";
|
|
57
56
|
import "../shared-utils/five/mode.js";
|
|
57
|
+
import "../shared-utils/three/blink.js";
|
|
58
58
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
59
59
|
import "../shared-utils/animationFrame/index.js";
|
|
60
60
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -170,7 +170,6 @@ import "../vendor/classnames/index.js";
|
|
|
170
170
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
171
171
|
import "../shared-utils/three/GLTFLoader.js";
|
|
172
172
|
import "@realsee/five/gltf-loader";
|
|
173
|
-
import "../shared-utils/three/blink.js";
|
|
174
173
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
175
174
|
import "./Components/Tag.js";
|
|
176
175
|
import "./utils/index.js";
|
|
@@ -179,10 +178,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
179
178
|
import "../shared-utils/nearlyEqual.js";
|
|
180
179
|
import "../CruisePlugin/Move.js";
|
|
181
180
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
182
|
-
const r = (i, o) => new t(i, o),
|
|
181
|
+
const r = (i, o) => new t(i, o), Mt = r;
|
|
183
182
|
export {
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
Ct as GuideLineItem,
|
|
184
|
+
ht as GuideLineModeItem,
|
|
186
185
|
r as GuideLinePlugin,
|
|
187
|
-
|
|
186
|
+
Mt as default
|
|
188
187
|
};
|
|
@@ -38,11 +38,9 @@ import { getFiveDomEvent as q } from "./utils/getFiveDomEvent.js";
|
|
|
38
38
|
import "../base/BasePlugin.js";
|
|
39
39
|
import "../shared-utils/Subscribe.js";
|
|
40
40
|
import "../shared-utils/url/absoluteUrl.js";
|
|
41
|
-
import "../shared-utils/Utils/FiveUtil.js";
|
|
42
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
43
41
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
42
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
44
43
|
import "../shared-utils/five/transformPosition.js";
|
|
45
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
46
44
|
import "../shared-utils/three/IObject3D.js";
|
|
47
45
|
import "../Sculpt/Meshes/Polygon.js";
|
|
48
46
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
@@ -81,7 +79,7 @@ import "../shared-utils/tag.js";
|
|
|
81
79
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
82
80
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
83
81
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
84
|
-
class
|
|
82
|
+
class Xe extends T {
|
|
85
83
|
constructor(e, t) {
|
|
86
84
|
var s, p;
|
|
87
85
|
super(e);
|
|
@@ -239,5 +237,5 @@ class tt extends T {
|
|
|
239
237
|
}
|
|
240
238
|
}
|
|
241
239
|
export {
|
|
242
|
-
|
|
240
|
+
Xe as Controller
|
|
243
241
|
};
|
|
@@ -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 "./item/boxItem.js";
|
|
31
29
|
import "./item/polygonItem.js";
|
|
32
30
|
import "./item/baseItem.js";
|
|
@@ -63,7 +61,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
63
61
|
import "../components/AreaLabel/LabelItem.js";
|
|
64
62
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
65
63
|
import "./item/prismItem.js";
|
|
66
|
-
const
|
|
64
|
+
const co = (...o) => new r(...o);
|
|
67
65
|
export {
|
|
68
|
-
|
|
66
|
+
co as ModelMakerPlugin
|
|
69
67
|
};
|
|
@@ -9,11 +9,10 @@ import { boundingBox as p } from "../../shared-utils/Object3DHelper/utils/boundi
|
|
|
9
9
|
import { getFiveDomEvent as c } from "../utils/getFiveDomEvent.js";
|
|
10
10
|
import "../../shared-utils/positionToVector3.js";
|
|
11
11
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
12
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
13
12
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
14
13
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
15
14
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
16
|
-
class
|
|
15
|
+
class y extends a {
|
|
17
16
|
constructor(e) {
|
|
18
17
|
var o, r;
|
|
19
18
|
super();
|
|
@@ -56,5 +55,5 @@ class C extends a {
|
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
57
|
export {
|
|
59
|
-
|
|
58
|
+
y as ModelMakerBaseItem
|
|
60
59
|
};
|