@realsee/dnalogel 2.12.0-alpha.3 → 2.12.0
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/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/typings/index.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/{TagCache.d.ts → TagCacheController.d.ts} +7 -7
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +36 -3
- package/dist/PanoTagPlugin/controller/index.d.ts +72 -16
- package/dist/PanoTagPlugin/typings/controller.d.ts +16 -15
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -12
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -7
- package/dist/base/BasePlugin.d.ts +2 -0
- package/dist/index.cjs.js +47 -47
- package/dist/index.js +2552 -2610
- package/dist/index.umd.js +47 -47
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +229 -112
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -8
- package/docs/functions/CameraMovementPlugin.html +6 -8
- package/docs/functions/CruisePlugin.html +6 -8
- package/docs/functions/GuideLinePlugin.html +6 -8
- package/docs/functions/ItemLabelPlugin.html +6 -8
- package/docs/functions/MapviewFloorplanPlugin.html +6 -8
- package/docs/functions/ModelChassisCompassPlugin.html +6 -8
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -8
- package/docs/functions/ModelFloorplanPlugin.html +6 -8
- package/docs/functions/ModelItemLabelPlugin.html +6 -8
- package/docs/functions/ModelRoomLabelPlugin.html +6 -8
- package/docs/functions/ModelTVVideoPlugin.html +6 -8
- package/docs/functions/ModelViewPlugin.html +6 -8
- package/docs/functions/Object3DHelperPlugin.html +6 -8
- package/docs/functions/PanoCompassPlugin.html +6 -8
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -8
- package/docs/functions/PanoDoorLabelPlugin.html +6 -8
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -8
- package/docs/functions/PanoMeasurePlugin.html +6 -8
- package/docs/functions/PanoRulerPlugin.html +6 -8
- package/docs/functions/PanoRulerProPlugin.html +6 -8
- package/docs/functions/PanoSpatialTagPlugin.html +6 -8
- package/docs/functions/PanoTagPlugin.html +14 -11
- package/docs/functions/PanoVideoPlugin.html +6 -8
- package/docs/functions/TopviewFloorplanPlugin.html +6 -8
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +6 -8
- package/docs/index.html +5 -7
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -8
- package/docs/interfaces/PanoMeasureParameterType.html +46 -13
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +6 -8
- package/docs/interfaces/Rooms.html +6 -8
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/{TagCacheInterface.html → TagCache.html} +30 -30
- package/docs/interfaces/TagConfig.html +10 -19
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +6 -10
- package/docs/types/ArrayPosition.html +6 -8
- package/docs/types/AudioAppearance.html +6 -8
- package/docs/types/AudioTagTypeConfigKey.html +6 -8
- package/docs/types/CSS3DRenderExportType.html +6 -8
- package/docs/types/CSS3DRenderPluginExportType.html +6 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -8
- package/docs/types/ClassFunctionParameters.html +6 -8
- package/docs/types/Color.html +6 -8
- package/docs/types/ContentTypeConfigKey.html +6 -8
- package/docs/types/ContentTypeConfigKeySplit.html +6 -8
- package/docs/types/ContentTypeMap.html +6 -8
- package/docs/types/Create3DDomContainerReturnType.html +6 -8
- package/docs/types/Create3DElementReturnType.html +6 -8
- package/docs/types/CruisePluginExportType.html +6 -8
- package/docs/types/Direction-1.html +6 -8
- package/docs/types/Direction4.html +6 -8
- package/docs/types/FloorplanRuleLabels.html +6 -8
- package/docs/types/FloorplanServerRuleLabels.html +6 -8
- package/docs/types/GuideLinePluginExportType.html +6 -8
- package/docs/types/HelperEventMap.html +6 -8
- package/docs/types/LoadTagConfig.html +6 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -8
- package/docs/types/MediaData.html +6 -8
- package/docs/types/MediaStore.html +6 -8
- package/docs/types/ModelElement.html +6 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -8
- package/docs/types/MoveArgs.html +6 -8
- package/docs/types/MoveOpts.html +6 -8
- package/docs/types/Object3DHelperEventMap.html +6 -8
- package/docs/types/ObjectFit.html +6 -8
- package/docs/types/PaintBrushEventMap.html +6 -8
- package/docs/types/PanoCompassPluginData.html +6 -8
- package/docs/types/PanoCompassPluginExportType.html +6 -8
- package/docs/types/PanoCompassPluginParameterType.html +6 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -8
- package/docs/types/PanoIndex.html +6 -8
- package/docs/types/PanoMeasurePluginEvent.html +6 -8
- package/docs/types/PanoMeasureReturnType.html +6 -8
- package/docs/types/PanoSpatialTagPluginId.html +6 -8
- package/docs/types/PanoTagPluginExportInterface.html +6 -8
- package/docs/types/PanoTagPluginParamsInterface.html +6 -8
- package/docs/types/PanoVideoPluginParameterType.html +6 -8
- package/docs/types/PanoVideoPluginReturnType.html +6 -8
- package/docs/types/PlaneTag.html +6 -8
- package/docs/types/PlaneTagElement.html +6 -8
- package/docs/types/Point2DElement.html +6 -8
- package/docs/types/Point2DTag.html +6 -8
- package/docs/types/Point3DElement.html +6 -8
- package/docs/types/Point3DTag.html +6 -8
- package/docs/types/PointTag.html +6 -8
- package/docs/types/PointTagElement.html +6 -8
- package/docs/types/Position.html +6 -8
- package/docs/types/RotateArgs.html +6 -8
- package/docs/types/RotateOpts.html +6 -8
- package/docs/types/RuleLabelsKey.html +6 -8
- package/docs/types/RuleLabelsValue.html +6 -8
- package/docs/types/StickType.html +6 -8
- package/docs/types/Tag.html +6 -8
- package/docs/types/Tag2D.html +6 -8
- package/docs/types/Tag3D.html +6 -8
- package/docs/types/TagContentType.html +6 -8
- package/docs/types/TagDimensionType.html +6 -8
- package/docs/types/TagElement.html +7 -9
- package/docs/types/TagEvents.html +6 -8
- package/docs/types/TagGLTFObject.html +6 -8
- package/docs/types/TagHooks.html +6 -8
- package/docs/types/TagIconSize.html +6 -8
- package/docs/types/TagId.html +6 -8
- package/docs/types/TagPointType.html +6 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -8
- package/docs/types/WorkCode.html +6 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -8
- package/docs/variables/PLUGIN.html +6 -8
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -8
- package/docs/variables/ROOM_TYPE_MAP.html +6 -8
- package/docs/variables/VERSION.html +6 -8
- package/docs/variables/itemLabelPluginServerParams.html +6 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -8
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +2 -2
- package/libs/CSS3DRenderPlugin/Controller.js +2 -2
- package/libs/CSS3DRenderPlugin/index.js +2 -2
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/utils/index.js +10 -8
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +6 -6
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -0
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +18 -17
- package/libs/PanoMeasurePlugin/typings/index.d.ts +2 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +16 -16
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +20 -20
- package/libs/PanoTagPlugin/controller/{TagCache.d.ts → TagCacheController.d.ts} +7 -7
- package/libs/PanoTagPlugin/controller/{TagCache.js → TagCacheController.js} +11 -11
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +36 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +289 -168
- package/libs/PanoTagPlugin/controller/index.d.ts +72 -16
- package/libs/PanoTagPlugin/controller/index.js +330 -170
- package/libs/PanoTagPlugin/index.js +46 -51
- package/libs/PanoTagPlugin/tag.config.js +1 -2
- package/libs/PanoTagPlugin/typings/controller.d.ts +16 -15
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -2
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -12
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.js +33 -32
- package/libs/PanoTagPlugin/utils/planeNormal.js +1 -1
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -7
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/base/BasePlugin.d.ts +2 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/index.js +119 -123
- package/libs/shared-utils/three/loadTexture.js +19 -19
- package/package.json +2 -2
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +0 -57
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +0 -56
- package/dist/PanoTagPlugin/utils/device.d.ts +0 -1
- package/dist/PanoTagPlugin/utils/model/imageModel.d.ts +0 -8
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -68
- package/docs/interfaces/TagObjectGroup.html +0 -68
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +0 -57
- package/libs/PanoTagPlugin/controller/TagRender.js +0 -310
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +0 -56
- package/libs/PanoTagPlugin/controller/TagUtil.js +0 -172
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -121
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
- package/libs/PanoTagPlugin/utils/device.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/device.js +0 -4
- package/libs/PanoTagPlugin/utils/model/imageModel.d.ts +0 -8
- package/libs/PanoTagPlugin/utils/model/imageModel.js +0 -31
- /package/dist/{shared-utils/three → CSS3DRenderPlugin/utils}/centerPoint.d.ts +0 -0
- /package/libs/{shared-utils/three → CSS3DRenderPlugin/utils}/centerPoint.d.ts +0 -0
- /package/libs/{shared-utils/three → CSS3DRenderPlugin/utils}/centerPoint.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v2.12.0
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v2.12.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.12.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.12.0
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.12.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.12.0
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.12.0</a></li>
|
|
16
16
|
<li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable itemLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/40c8ece/plugins/src/ItemLabelPlugin/index.ts#L7">plugins/src/ItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.12.0
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.12.0</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
47
47
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -152,11 +152,9 @@
|
|
|
152
152
|
<li class="tsd-kind-interface"><a href="../interfaces/Rooms.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Rooms</a></li>
|
|
153
153
|
<li class="tsd-kind-interface"><a href="../interfaces/Scissor.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Scissor</a></li>
|
|
154
154
|
<li class="tsd-kind-interface"><a href="../interfaces/State.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>State</a></li>
|
|
155
|
-
<li class="tsd-kind-interface"><a href="../interfaces/
|
|
155
|
+
<li class="tsd-kind-interface"><a href="../interfaces/TagCache.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Cache</a></li>
|
|
156
156
|
<li class="tsd-kind-interface"><a href="../interfaces/TagConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Config</a></li>
|
|
157
|
-
<li class="tsd-kind-interface"><a href="../interfaces/TagGLTFObjectGroup.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>TagGLTFObject<wbr/>Group</a></li>
|
|
158
157
|
<li class="tsd-kind-interface"><a href="../interfaces/TagIconUrl.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Icon<wbr/>Url</a></li>
|
|
159
|
-
<li class="tsd-kind-interface"><a href="../interfaces/TagObjectGroup.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Object<wbr/>Group</a></li>
|
|
160
158
|
<li class="tsd-kind-interface"><a href="../interfaces/TagStyle.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Style</a></li>
|
|
161
159
|
<li class="tsd-kind-interface"><a href="../interfaces/Tags.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tags</a></li>
|
|
162
160
|
<li class="tsd-kind-interface"><a href="../interfaces/TemporaryState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Temporary<wbr/>State</a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.12.0
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.12.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.12.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.12.0
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.12.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.12.0
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.12.0</a></li>
|
|
16
16
|
<li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/40c8ece/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.12.0
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.12.0</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
47
47
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -152,11 +152,9 @@
|
|
|
152
152
|
<li class="tsd-kind-interface"><a href="../interfaces/Rooms.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Rooms</a></li>
|
|
153
153
|
<li class="tsd-kind-interface"><a href="../interfaces/Scissor.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Scissor</a></li>
|
|
154
154
|
<li class="tsd-kind-interface"><a href="../interfaces/State.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>State</a></li>
|
|
155
|
-
<li class="tsd-kind-interface"><a href="../interfaces/
|
|
155
|
+
<li class="tsd-kind-interface"><a href="../interfaces/TagCache.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Cache</a></li>
|
|
156
156
|
<li class="tsd-kind-interface"><a href="../interfaces/TagConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Config</a></li>
|
|
157
|
-
<li class="tsd-kind-interface"><a href="../interfaces/TagGLTFObjectGroup.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>TagGLTFObject<wbr/>Group</a></li>
|
|
158
157
|
<li class="tsd-kind-interface"><a href="../interfaces/TagIconUrl.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Icon<wbr/>Url</a></li>
|
|
159
|
-
<li class="tsd-kind-interface"><a href="../interfaces/TagObjectGroup.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Object<wbr/>Group</a></li>
|
|
160
158
|
<li class="tsd-kind-interface"><a href="../interfaces/TagStyle.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Style</a></li>
|
|
161
159
|
<li class="tsd-kind-interface"><a href="../interfaces/Tags.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tags</a></li>
|
|
162
160
|
<li class="tsd-kind-interface"><a href="../interfaces/TemporaryState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Temporary<wbr/>State</a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.12.0
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.12.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.12.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.12.0
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.12.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.12.0
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.12.0</a></li>
|
|
16
16
|
<li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/40c8ece/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.12.0
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.12.0</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
47
47
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -152,11 +152,9 @@
|
|
|
152
152
|
<li class="tsd-kind-interface"><a href="../interfaces/Rooms.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Rooms</a></li>
|
|
153
153
|
<li class="tsd-kind-interface"><a href="../interfaces/Scissor.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Scissor</a></li>
|
|
154
154
|
<li class="tsd-kind-interface"><a href="../interfaces/State.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>State</a></li>
|
|
155
|
-
<li class="tsd-kind-interface"><a href="../interfaces/
|
|
155
|
+
<li class="tsd-kind-interface"><a href="../interfaces/TagCache.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Cache</a></li>
|
|
156
156
|
<li class="tsd-kind-interface"><a href="../interfaces/TagConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Config</a></li>
|
|
157
|
-
<li class="tsd-kind-interface"><a href="../interfaces/TagGLTFObjectGroup.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>TagGLTFObject<wbr/>Group</a></li>
|
|
158
157
|
<li class="tsd-kind-interface"><a href="../interfaces/TagIconUrl.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Icon<wbr/>Url</a></li>
|
|
159
|
-
<li class="tsd-kind-interface"><a href="../interfaces/TagObjectGroup.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Object<wbr/>Group</a></li>
|
|
160
158
|
<li class="tsd-kind-interface"><a href="../interfaces/TagStyle.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tag<wbr/>Style</a></li>
|
|
161
159
|
<li class="tsd-kind-interface"><a href="../interfaces/Tags.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Tags</a></li>
|
|
162
160
|
<li class="tsd-kind-interface"><a href="../interfaces/TemporaryState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Temporary<wbr/>State</a></li>
|
|
@@ -28,6 +28,7 @@ var p = (o, e, t) => new Promise((s, r) => {
|
|
|
28
28
|
});
|
|
29
29
|
import v from "./utils/three/CSS3DRenderer.js";
|
|
30
30
|
import { Subscribe as _ } from "../shared-utils/Subscribe.js";
|
|
31
|
+
import "three";
|
|
31
32
|
import { anyPositionToVector3 as k } from "./utils/positionToVector3.js";
|
|
32
33
|
import { CSS3DObjectPlus as P } from "./utils/three/CSS3DObject.js";
|
|
33
34
|
import { MinRatio as he } from "./utils/three/CSS3DObject.js";
|
|
@@ -37,9 +38,8 @@ import { CSS3DObject as B } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
|
37
38
|
import "./utils/getAllCSS3DObject.js";
|
|
38
39
|
import "./utils/createResizeObserver.js";
|
|
39
40
|
import "./utils/even.js";
|
|
40
|
-
import "
|
|
41
|
+
import "./utils/centerPoint.js";
|
|
41
42
|
import "./utils/three/OpacityMesh.js";
|
|
42
|
-
import "../shared-utils/three/centerPoint.js";
|
|
43
43
|
const H = 3, G = "CSS3DRenderer", b = `${G}@${H}`, u = () => {
|
|
44
44
|
console.error(`${b} is disposed`);
|
|
45
45
|
}, n = {
|
|
@@ -20,11 +20,11 @@ import "./utils/getAllCSS3DObject.js";
|
|
|
20
20
|
import "./utils/createResizeObserver.js";
|
|
21
21
|
import "./utils/even.js";
|
|
22
22
|
import "../shared-utils/Subscribe.js";
|
|
23
|
-
import "./utils/positionToVector3.js";
|
|
24
23
|
import "three";
|
|
24
|
+
import "./utils/positionToVector3.js";
|
|
25
25
|
import "./utils/three/CSS3DObject.js";
|
|
26
|
+
import "./utils/centerPoint.js";
|
|
26
27
|
import "./utils/three/OpacityMesh.js";
|
|
27
|
-
import "../shared-utils/three/centerPoint.js";
|
|
28
28
|
import "./utils/three/CSS3DScene.js";
|
|
29
29
|
import "./utils/three/CSS3DGroup.js";
|
|
30
30
|
const E = "v2.0.1", v = `CSS3DRenderPlugin@${E}`;
|
|
@@ -8,11 +8,11 @@ import "./utils/getAllCSS3DObject.js";
|
|
|
8
8
|
import "./utils/createResizeObserver.js";
|
|
9
9
|
import "./utils/even.js";
|
|
10
10
|
import "../shared-utils/Subscribe.js";
|
|
11
|
-
import "./utils/positionToVector3.js";
|
|
12
11
|
import "three";
|
|
12
|
+
import "./utils/positionToVector3.js";
|
|
13
13
|
import "./utils/three/CSS3DObject.js";
|
|
14
|
+
import "./utils/centerPoint.js";
|
|
14
15
|
import "./utils/three/OpacityMesh.js";
|
|
15
|
-
import "../shared-utils/three/centerPoint.js";
|
|
16
16
|
import "./utils/three/CSS3DScene.js";
|
|
17
17
|
import "./utils/three/CSS3DGroup.js";
|
|
18
18
|
const R = (r) => new o(r);
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { centerPoint as e } from "./centerPoint.js";
|
|
2
|
+
import { even as n } from "./even.js";
|
|
3
|
+
import { random as p } from "./random.js";
|
|
4
|
+
import { anyPositionToVector3 as c, arrayPositionToVector3 as f, positionToVector3 as x } from "./positionToVector3.js";
|
|
4
5
|
import "three";
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
e as
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
c as anyPositionToVector3,
|
|
8
|
+
f as arrayPositionToVector3,
|
|
9
|
+
e as centerPoint,
|
|
10
|
+
n as even,
|
|
11
|
+
x as positionToVector3,
|
|
12
|
+
p as random
|
|
11
13
|
};
|
|
@@ -4,14 +4,14 @@ var i = (a, r, t) => (D(a, typeof r != "symbol" ? r + "" : r, t), t);
|
|
|
4
4
|
import { CSS3DObject as F } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
5
|
import { Vector3 as l } from "three";
|
|
6
6
|
import { even as S } from "../even.js";
|
|
7
|
-
import {
|
|
8
|
-
import H from "
|
|
9
|
-
import
|
|
7
|
+
import { centerPoint as W } from "../centerPoint.js";
|
|
8
|
+
import { Subscribe as H } from "../../../shared-utils/Subscribe.js";
|
|
9
|
+
import k from "./OpacityMesh.js";
|
|
10
10
|
const w = 1, A = `CSS3DObjectPlus@${w}`, Q = 216e-5, R = 3e-3;
|
|
11
11
|
class U extends F {
|
|
12
12
|
constructor(t) {
|
|
13
13
|
var v, x, V;
|
|
14
|
-
const e = t.container, s = t.cornerPoints, n = (v = t.ratio) != null ? v : R, P = (x = t.dpr) != null ? x : 1, E = (V = t.pointerEvents) != null ? V : "auto", h = Math.max(Q, n), d = s[0].distanceTo(s[1]), m = s[1].distanceTo(s[2]), c = S(d / n * P), p = S(m / n * P), y =
|
|
14
|
+
const e = t.container, s = t.cornerPoints, n = (v = t.ratio) != null ? v : R, P = (x = t.dpr) != null ? x : 1, E = (V = t.pointerEvents) != null ? V : "auto", h = Math.max(Q, n), d = s[0].distanceTo(s[1]), m = s[1].distanceTo(s[2]), c = S(d / n * P), p = S(m / n * P), y = W(...s);
|
|
15
15
|
let u;
|
|
16
16
|
if (h === n)
|
|
17
17
|
e.style.width = `${c}px`, e.style.height = `${p}px`, u = e;
|
|
@@ -33,12 +33,12 @@ class U extends F {
|
|
|
33
33
|
i(this, "centerPosition");
|
|
34
34
|
i(this, "ratio");
|
|
35
35
|
i(this, "mode", "front");
|
|
36
|
-
i(this, "hooks", new
|
|
36
|
+
i(this, "hooks", new H());
|
|
37
37
|
i(this, "opacityMesh");
|
|
38
38
|
i(this, "selfVisible", !0);
|
|
39
39
|
i(this, "parentVisibleListenerDisposer");
|
|
40
40
|
i(this, "createOpacityMesh", (t) => {
|
|
41
|
-
const { domWidthPx: e, domHeightPx: s } = t, n = new
|
|
41
|
+
const { domWidthPx: e, domHeightPx: s } = t, n = new k(e, s);
|
|
42
42
|
return n.position.copy(t.position), n.rotation.copy(t.rotation), n.scale.copy(t.scale), n;
|
|
43
43
|
});
|
|
44
44
|
i(this, "addParentVisibleListener", () => {
|
|
@@ -28,8 +28,8 @@ import "../CSS3DRenderPlugin/utils/even.js";
|
|
|
28
28
|
import "../shared-utils/Subscribe.js";
|
|
29
29
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
30
30
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
31
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
31
32
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
32
|
-
import "../shared-utils/three/centerPoint.js";
|
|
33
33
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
35
35
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -14,8 +14,8 @@ import "../CSS3DRenderPlugin/utils/even.js";
|
|
|
14
14
|
import "../shared-utils/Subscribe.js";
|
|
15
15
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
16
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
17
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
17
18
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
18
|
-
import "../shared-utils/three/centerPoint.js";
|
|
19
19
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -70,8 +70,8 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
70
70
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
71
71
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
72
72
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
73
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
73
74
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
74
|
-
import "../shared-utils/three/centerPoint.js";
|
|
75
75
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
76
76
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
77
77
|
const O = "v1.0.0", S = "Object3DHelperPlugin", w = `${S}@${O}`, K = () => {
|
|
@@ -19,8 +19,8 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
19
19
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
22
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
22
23
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
23
|
-
import "../shared-utils/three/centerPoint.js";
|
|
24
24
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
25
25
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
26
26
|
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
@@ -45,8 +45,8 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
45
45
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
46
46
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
47
47
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
48
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
48
49
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
49
|
-
import "../shared-utils/three/centerPoint.js";
|
|
50
50
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
51
51
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
52
52
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -17,8 +17,8 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
17
17
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
18
18
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
19
19
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
20
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
20
21
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
21
|
-
import "../shared-utils/three/centerPoint.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
24
24
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -117,6 +117,7 @@ class de extends D {
|
|
|
117
117
|
this.clearHighlightLines();
|
|
118
118
|
});
|
|
119
119
|
this.model = new S(this.config), this.polyline = new N({ model: this.model }), this.model.addPolyline(this.polyline), this.rangePieceController = new R(e), this.deleteDom = new T(this.five, {
|
|
120
|
+
i18n: this.config.i18n,
|
|
120
121
|
onClick: this.deleteDomClickCallback,
|
|
121
122
|
cancelDelete: this.cancelDeleteClickCallback
|
|
122
123
|
}).appendTo(this.container), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.onWantsTapGesture), this.five.on("wantsToMoveToPano", this.onWantsToMoveToPano), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged), this.five.helperVisible = !1, this.hook.emit("editedDashedLineChange", null), this.hook.on("getStartPoint", this.onGetStartPoint), this.hook.on("getEndPoint", this.onGetEndPoint), this.hook.on("nowPointChange", this.onNowPointChange), this.hook.on("willChangeState", this.onWillChangeState), this.five.refresh();
|
|
@@ -129,6 +129,7 @@ class se extends R {
|
|
|
129
129
|
this.clearHighlightLines();
|
|
130
130
|
});
|
|
131
131
|
this.deleteDom = new G(this.five, {
|
|
132
|
+
i18n: this.config.i18n,
|
|
132
133
|
onClick: this.deleteDomClickCallback,
|
|
133
134
|
cancelDelete: this.cancelDeleteClickCallback
|
|
134
135
|
}).appendTo(this.container), this.model.getAllLines().forEach((t) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
|
-
var g = (
|
|
3
|
-
var n = (
|
|
2
|
+
var g = (c, e, t) => e in c ? v(c, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[e] = t;
|
|
3
|
+
var n = (c, e, t) => (g(c, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import f from "./_Assets/delete.svg.js";
|
|
5
|
-
import
|
|
5
|
+
import p from "./_Assets/delete_bg.png.js";
|
|
6
6
|
import k from "./_Assets/delete_hover_bg.png.js";
|
|
7
7
|
class D {
|
|
8
8
|
constructor(e, t) {
|
|
@@ -19,16 +19,17 @@ class D {
|
|
|
19
19
|
this.content.style.backgroundImage = `url(${k})`;
|
|
20
20
|
});
|
|
21
21
|
n(this, "onMouseLeave", () => {
|
|
22
|
-
this.content.style.backgroundImage = `url(${
|
|
22
|
+
this.content.style.backgroundImage = `url(${p})`;
|
|
23
23
|
});
|
|
24
|
+
var o, r;
|
|
24
25
|
this.five = e, this.onClick = (t == null ? void 0 : t.onClick) || (() => {
|
|
25
26
|
}), this.cancelDelete = (t == null ? void 0 : t.cancelDelete) || (() => {
|
|
26
|
-
}), this.container.classList.add("fpm__delete"), this.container.style.opacity = "0", this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "10px", this.container.style.transform = "translate3d(0, 0, 10px)", this.container.style.pointerEvents = "none", this.container.style.transition = "top 200ms ease, opacity 200ms ease", this.container.style.zIndex = "99", this.content.classList.add("fpm__delete-content"), this.content.style.width = "62px", this.content.style.height = "26px", this.content.style.display = "flex", this.content.style.alignItems = "center", this.content.style.justifyContent = "center", this.content.style.transform = "translate(-50%, -50%)", this.content.style.color = "#fff", this.content.style.fontSize = "12px", this.content.style.lineHeight = "17px", this.content.style.borderRadius = "11px", this.content.style.backgroundSize = "100% 100%", this.content.style.cursor = "pointer", this.content.style.userSelect = "none", this.content.style.backgroundImage = `url(${
|
|
27
|
+
}), this.container.classList.add("fpm__delete"), this.container.style.opacity = "0", this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "10px", this.container.style.transform = "translate3d(0, 0, 10px)", this.container.style.pointerEvents = "none", this.container.style.transition = "top 200ms ease, opacity 200ms ease", this.container.style.zIndex = "99", this.content.classList.add("fpm__delete-content"), this.content.style.width = "62px", this.content.style.height = "26px", this.content.style.display = "flex", this.content.style.alignItems = "center", this.content.style.justifyContent = "center", this.content.style.transform = "translate(-50%, -50%)", this.content.style.color = "#fff", this.content.style.fontSize = "12px", this.content.style.lineHeight = "17px", this.content.style.borderRadius = "11px", this.content.style.backgroundSize = "100% 100%", this.content.style.cursor = "pointer", this.content.style.userSelect = "none", this.content.style.backgroundImage = `url(${p})`, this.content.innerHTML = `
|
|
27
28
|
${f}
|
|
28
|
-
<span
|
|
29
|
+
<span>${(r = (o = t.i18n) == null ? void 0 : o.call(t, "\u5220\u9664")) != null ? r : "\u5220\u9664"}</span>
|
|
29
30
|
`, this.container.append(this.content);
|
|
30
|
-
const
|
|
31
|
-
|
|
31
|
+
const s = this.content.querySelector(".fpm__delete-icon");
|
|
32
|
+
s && (s.style.width = "16px", s.style.height = "17px", s.style.marginRight = "1px"), this.content.addEventListener("click", this.onClick), this.content.addEventListener("mouseenter", this.onMouseEnter), this.content.addEventListener("mouseleave", this.onMouseLeave), this.masking.setAttribute("style", "position: absolute;top: 0;left: 0;bottom: 0;right: 0;pointer-events: none;"), this.masking.addEventListener("click", this.cancelDelete), this.masking.addEventListener("touchstart", this.cancelDelete);
|
|
32
33
|
}
|
|
33
34
|
dispose() {
|
|
34
35
|
this.content.removeEventListener("click", this.onClick), this.content.removeEventListener("mouseenter", this.onMouseEnter), this.content.removeEventListener("mouseleave", this.onMouseLeave), this.container.remove(), this.masking.removeEventListener("click", this.cancelDelete), this.masking.removeEventListener("touchstart", this.cancelDelete), this.masking.remove();
|
|
@@ -42,19 +43,19 @@ class D {
|
|
|
42
43
|
updatePosition() {
|
|
43
44
|
if (this.lines.length === 0)
|
|
44
45
|
return this;
|
|
45
|
-
const e = this.points.map((
|
|
46
|
-
if (t.some((
|
|
46
|
+
const e = this.points.map((i) => i.position), t = e.map((i) => i.clone().project(this.five.camera));
|
|
47
|
+
if (t.some((i) => Math.abs(i.z) > 1))
|
|
47
48
|
return this.hide();
|
|
48
|
-
const
|
|
49
|
-
if (!
|
|
49
|
+
const s = t.map((i) => i.x), o = t.map((i) => i.y), r = (Math.min(...s) + Math.max(...s)) / 2, y = Math.max(...o), a = this.container.parentElement;
|
|
50
|
+
if (!a)
|
|
50
51
|
return this;
|
|
51
|
-
const
|
|
52
|
-
let
|
|
52
|
+
const h = (r + 1) / 2 * a.clientWidth, d = -(y - 1) / 2 * a.clientHeight;
|
|
53
|
+
let l = h, m = d - 34;
|
|
53
54
|
if (this.lines.length === 1 && e.length === 2) {
|
|
54
|
-
const
|
|
55
|
-
Math.abs(
|
|
55
|
+
const i = (o[1] - o[0]) / (s[1] - s[0]), u = -((o[1] + o[0]) / 2 - 1) / 2 * a.clientHeight;
|
|
56
|
+
Math.abs(i) > 0.4 && (l = h + 57, m = u);
|
|
56
57
|
}
|
|
57
|
-
return this.container.style.transform = `translate3d(${
|
|
58
|
+
return this.container.style.transform = `translate3d(${l}px, ${m}px, 10px)`, this.show();
|
|
58
59
|
}
|
|
59
60
|
hide() {
|
|
60
61
|
return this.visible = !1, this.masking.style.pointerEvents = "none", this.container.style.opacity = "0", this.container.style.top = "10px", this.container.style.pointerEvents = "none", this;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Config as BaseConfig } from '../../base/BasePlugin';
|
|
1
2
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
2
|
-
export interface Config {
|
|
3
|
+
export interface Config extends BaseConfig {
|
|
3
4
|
userDistanceItemCreator?: undefined | (() => UserDistanceItem);
|
|
4
5
|
/** 展示 distance DOM 时,使用的转换函数
|
|
5
6
|
* @param distance 单位是 m
|
|
@@ -15,8 +15,8 @@ import "../CSS3DRenderPlugin/utils/even.js";
|
|
|
15
15
|
import "../shared-utils/Subscribe.js";
|
|
16
16
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
17
17
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
18
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
18
19
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
19
|
-
import "../shared-utils/three/centerPoint.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -13,8 +13,8 @@ import "../CSS3DRenderPlugin/utils/even.js";
|
|
|
13
13
|
import "../shared-utils/Subscribe.js";
|
|
14
14
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
15
15
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
16
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
16
17
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
17
|
-
import "../shared-utils/three/centerPoint.js";
|
|
18
18
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
19
19
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -136,7 +136,7 @@ function ie(l, e, t) {
|
|
|
136
136
|
});
|
|
137
137
|
});
|
|
138
138
|
const V = (r) => {
|
|
139
|
-
t(9, I = !1), t(0, i.paused = !1, i),
|
|
139
|
+
t(9, I = !1), t(0, i.paused = !1, i), B.set({ currentMediaElement: d }), P.emit("playStateChange", {
|
|
140
140
|
event: r,
|
|
141
141
|
state: "playing",
|
|
142
142
|
tag: n,
|
|
@@ -17,8 +17,8 @@ import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
|
17
17
|
import "../../../shared-utils/Subscribe.js";
|
|
18
18
|
import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
19
19
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
20
|
+
import "../../../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
20
21
|
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
21
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
22
22
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
23
23
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
24
24
|
import "../../../shared-utils/animationFrame/index.js";
|