@realsee/dnalogel 2.6.4 → 2.6.7-dev.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/Controller.d.ts +1 -1
- package/dist/Object3DHelperPlugin/Controller.d.ts +25 -10
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +6 -8
- package/dist/Object3DHelperPlugin/typings.d.ts +14 -0
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +22 -6
- package/dist/PanoTagPlugin/controller/index.d.ts +32 -6
- package/dist/PanoTagPlugin/typings/controller.d.ts +17 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +5 -2
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +19 -3
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
- package/dist/PanoTagPlugin/utils/tag/index.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +2 -1
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +3 -1
- package/dist/index.cjs.js +43 -43
- package/dist/index.js +5078 -4667
- package/dist/index.umd.js +32 -32
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +41 -15
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +27 -20
- package/dist/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +7 -0
- package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Controller/MoveController.d.ts +24 -0
- package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +6 -1
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +14 -0
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +12 -0
- package/dist/shared-utils/Object3DHelper/Helper/{OutlineHelper.d.ts → BoundingBoxHelper.d.ts} +3 -2
- package/{libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts → dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts} +3 -8
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +14 -11
- package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +5 -0
- package/dist/shared-utils/Object3DHelper/Helper/index.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/index.d.ts +4 -27
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +22 -12
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +22 -0
- package/dist/shared-utils/Object3DHelper/utils/boundingBox.d.ts +2 -0
- package/dist/shared-utils/three/GLTFLoader.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +40 -33
- 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 +205 -77
- 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 +34 -16
- 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 +10 -5
- package/docs/functions/CameraMovementPlugin.html +10 -5
- package/docs/functions/CruisePlugin.html +10 -5
- package/docs/functions/GuideLinePlugin.html +10 -5
- package/docs/functions/ItemLabelPlugin.html +10 -5
- package/docs/functions/MapviewFloorplanPlugin.html +10 -5
- package/docs/functions/ModelChassisCompassPlugin.html +10 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +10 -5
- package/docs/functions/ModelFloorplanPlugin.html +10 -5
- package/docs/functions/ModelItemLabelPlugin.html +10 -5
- package/docs/functions/ModelRoomLabelPlugin.html +10 -5
- package/docs/functions/ModelTVVideoPlugin.html +10 -5
- package/docs/functions/ModelViewPlugin.html +10 -5
- package/docs/functions/Object3DHelperPlugin.html +10 -5
- package/docs/functions/PanoCompassPlugin.html +10 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +10 -5
- package/docs/functions/PanoDoorLabelPlugin.html +10 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +10 -5
- package/docs/functions/PanoMeasurePlugin.html +10 -5
- package/docs/functions/PanoRulerPlugin.html +10 -5
- package/docs/functions/PanoRulerProPlugin.html +10 -5
- package/docs/functions/PanoSpatialTagPlugin.html +10 -5
- package/docs/functions/PanoTagPlugin.html +15 -10
- package/docs/functions/TopviewFloorplanPlugin.html +10 -5
- 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 +10 -5
- package/docs/index.html +9 -4
- 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 +19 -19
- 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 +78 -0
- 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 +85 -0
- 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 +10 -5
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- 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 +10 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +10 -5
- 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/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 +10 -5
- package/docs/interfaces/Rooms.html +10 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +25 -16
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +11 -11
- 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/Util.html +5 -5
- package/docs/modules.html +14 -4
- package/docs/types/ArrayPosition.html +10 -5
- package/docs/types/AudioAppearance.html +10 -5
- package/docs/types/AudioTagTypeConfigKey.html +10 -5
- package/docs/types/CSS3DRenderExportType.html +10 -5
- package/docs/types/CSS3DRenderPluginExportType.html +10 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +10 -5
- package/docs/types/ClassFunctionParameters.html +268 -0
- package/docs/types/Color.html +10 -5
- package/docs/types/ContentTypeConfigKey.html +10 -5
- package/docs/types/ContentTypeConfigKeySplit.html +10 -5
- package/docs/types/ContentTypeMap.html +10 -5
- package/docs/types/Create3DDomContainerReturnType.html +10 -5
- package/docs/types/Create3DElementReturnType.html +10 -5
- package/docs/types/CruisePluginExportType.html +10 -5
- package/docs/types/Direction-1.html +10 -5
- package/docs/types/Direction4.html +10 -5
- package/docs/types/FloorplanRuleLabels.html +10 -5
- package/docs/types/FloorplanServerRuleLabels.html +10 -5
- package/docs/types/GuideLinePluginExportType.html +10 -5
- package/docs/types/HelperEventMap.html +174 -21
- package/docs/types/LoadTagConfig.html +10 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +10 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +10 -5
- package/docs/types/MediaData.html +10 -5
- package/docs/types/MediaStore.html +10 -5
- package/docs/types/ModelElement.html +266 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +10 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +10 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +10 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +10 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +10 -5
- package/docs/types/MoveArgs.html +10 -5
- package/docs/types/MoveOpts.html +10 -5
- package/docs/types/Object3DHelperEventMap.html +10 -5
- package/docs/types/ObjectFit.html +10 -5
- package/docs/types/PaintBrushEventMap.html +10 -5
- package/docs/types/PanoCompassPluginData.html +10 -5
- package/docs/types/PanoCompassPluginExportType.html +10 -5
- package/docs/types/PanoCompassPluginParameterType.html +10 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +10 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +10 -5
- package/docs/types/PanoIndex.html +10 -5
- package/docs/types/PanoMeasurePluginEvent.html +10 -5
- package/docs/types/PanoMeasureReturnType.html +10 -5
- package/docs/types/PanoSpatialTagPluginId.html +10 -5
- package/docs/types/PanoTagPluginExportInterface.html +10 -5
- package/docs/types/PanoTagPluginParamsInterface.html +10 -5
- package/docs/types/PlaneTag.html +10 -5
- package/docs/types/PlaneTagElement.html +10 -5
- package/docs/types/Point2DElement.html +10 -5
- package/docs/types/Point2DTag.html +10 -5
- package/docs/types/Point3DElement.html +10 -5
- package/docs/types/Point3DTag.html +10 -5
- package/docs/types/PointTag.html +10 -5
- package/docs/types/PointTagElement.html +10 -5
- package/docs/types/Position.html +10 -5
- package/docs/types/RotateArgs.html +10 -5
- package/docs/types/RotateOpts.html +10 -5
- package/docs/types/RuleLabelsKey.html +10 -5
- package/docs/types/RuleLabelsValue.html +10 -5
- package/docs/types/StickType.html +11 -6
- package/docs/types/Tag.html +11 -6
- package/docs/types/Tag2D.html +10 -5
- package/docs/types/Tag3D.html +10 -5
- package/docs/types/TagContentType.html +11 -6
- package/docs/types/TagDimensionType.html +10 -5
- package/docs/types/TagElement.html +11 -6
- package/docs/types/TagEvents.html +10 -5
- package/docs/types/TagGLTFObject.html +261 -0
- package/docs/types/TagHooks.html +10 -5
- package/docs/types/TagIconSize.html +10 -5
- package/docs/types/TagId.html +10 -5
- package/docs/types/TagPointType.html +10 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +10 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +10 -5
- package/docs/types/WorkCode.html +10 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +10 -5
- package/docs/variables/PLUGIN.html +10 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +10 -5
- package/docs/variables/ROOM_TYPE_MAP.html +10 -5
- package/docs/variables/VERSION.html +10 -5
- package/docs/variables/itemLabelPluginServerParams.html +10 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +10 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +10 -5
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +43 -43
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +16 -15
- package/libs/Object3DHelperPlugin/Controller.d.ts +25 -10
- package/libs/Object3DHelperPlugin/Controller.js +117 -97
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +6 -8
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +29 -22
- package/libs/Object3DHelperPlugin/index.js +16 -11
- package/libs/Object3DHelperPlugin/typings.d.ts +14 -0
- package/libs/PanoTagPlugin/Components/Common/Media.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +68 -68
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +12 -11
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +33 -33
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +46 -46
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +12 -11
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +26 -25
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +29 -28
- package/libs/PanoTagPlugin/Components/Tag/index.js +126 -119
- package/libs/PanoTagPlugin/Components/TagContainer.js +4 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +67 -65
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.js +14 -12
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +22 -6
- package/libs/PanoTagPlugin/controller/TagComputer.js +242 -176
- package/libs/PanoTagPlugin/controller/index.d.ts +32 -6
- package/libs/PanoTagPlugin/controller/index.js +176 -91
- package/libs/PanoTagPlugin/index.js +15 -12
- package/libs/PanoTagPlugin/tag.config.js +9 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +17 -2
- package/libs/PanoTagPlugin/typings/controller.js +1 -1
- package/libs/PanoTagPlugin/typings/index.js +6 -5
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +5 -2
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +19 -3
- package/libs/PanoTagPlugin/typings/tag/TagData.js +1 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +5 -4
- package/libs/PanoTagPlugin/utils/color.js +5 -5
- package/libs/PanoTagPlugin/utils/index.js +37 -34
- package/libs/PanoTagPlugin/utils/planeNormal.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/index.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/index.js +11 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +6 -2
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +3 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +20 -8
- package/libs/index.js +111 -104
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +41 -15
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +112 -90
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +27 -20
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +55 -22
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +7 -0
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.js +14 -0
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +14 -10
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.d.ts +24 -0
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +80 -37
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +6 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +44 -41
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +14 -0
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +95 -67
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +12 -0
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +21 -0
- package/libs/shared-utils/Object3DHelper/Helper/{OutlineHelper.d.ts → BoundingBoxHelper.d.ts} +3 -2
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +87 -0
- package/{dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts → libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts} +3 -8
- package/libs/shared-utils/Object3DHelper/Helper/{RectangleScaleHelper.js → CSS3DScaleHelper.js} +5 -7
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +7 -9
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +14 -11
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +72 -66
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +5 -0
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +9 -0
- package/libs/shared-utils/Object3DHelper/Helper/index.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +0 -2
- package/libs/shared-utils/Object3DHelper/index.d.ts +4 -27
- package/libs/shared-utils/Object3DHelper/index.js +48 -96
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +22 -12
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +22 -0
- package/libs/shared-utils/Object3DHelper/typings/index.js +2 -1
- package/libs/shared-utils/Object3DHelper/utils/boundingBox.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/utils/boundingBox.js +24 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +2 -2
- package/libs/shared-utils/three/GLTFLoader.d.ts +2 -0
- package/libs/shared-utils/three/GLTFLoader.js +16 -0
- package/libs/typings/math.type.js +1 -0
- package/package.json +4 -4
- package/dist/shared-utils/Object3DHelper/utils/getPoint.d.ts +0 -3
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +0 -2
- package/libs/shared-utils/Object3DHelper/utils/getPoint.d.ts +0 -3
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +0 -1
|
@@ -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.6.
|
|
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.6.7-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.6.7-dev.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.6.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.6.7-dev.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.6.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.6.7-dev.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/8f234a2/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</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.6.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.6.7-<wbr/>dev.0</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
47
47
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
<li class="tsd-kind-interface"><a href="../interfaces/FloorplanServerPosition.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>Floorplan<wbr/>Server<wbr/>Position</a></li>
|
|
98
98
|
<li class="tsd-kind-interface"><a href="../interfaces/FloorplanServerRoomItem.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>Floorplan<wbr/>Server<wbr/>Room<wbr/>Item</a></li>
|
|
99
99
|
<li class="tsd-kind-interface"><a href="../interfaces/FloorplanServerRoomLabelItem.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>Floorplan<wbr/>Server<wbr/>Room<wbr/>Label<wbr/>Item</a></li>
|
|
100
|
+
<li class="tsd-kind-interface"><a href="../interfaces/HelperOffset.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>Helper<wbr/>Offset</a></li>
|
|
100
101
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginData.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>Item<wbr/>Label<wbr/>Plugin<wbr/>Data</a></li>
|
|
101
102
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginExportReturnsType.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>Item<wbr/>Label<wbr/>Plugin<wbr/>Export<wbr/>Returns<wbr/>Type</a></li>
|
|
102
103
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginParametersType.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>Item<wbr/>Label<wbr/>Plugin<wbr/>Parameters<wbr/>Type</a></li>
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelTVVideoPluginParameterType.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>ModelTVVideo<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
116
117
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelViewPluginExportType.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>Model<wbr/>View<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
117
118
|
<li class="tsd-kind-interface"><a href="../interfaces/Object3DHelperState.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>Object3DHelper<wbr/>State</a></li>
|
|
119
|
+
<li class="tsd-kind-interface"><a href="../interfaces/ObjectHelperControllers.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>Object<wbr/>Helper<wbr/>Controllers</a></li>
|
|
118
120
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushAction.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>Paint<wbr/>Brush<wbr/>Action</a></li>
|
|
119
121
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushConfigs.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>Paint<wbr/>Brush<wbr/>Configs</a></li>
|
|
120
122
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushState.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>Paint<wbr/>Brush<wbr/>State</a></li>
|
|
@@ -160,6 +162,7 @@
|
|
|
160
162
|
<li class="tsd-kind-type-alias"><a href="../types/CSS3DRenderExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>CSS3DRender<wbr/>Export<wbr/>Type</a></li>
|
|
161
163
|
<li class="tsd-kind-type-alias"><a href="../types/CSS3DRenderPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>CSS3DRender<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
162
164
|
<li class="tsd-kind-type-alias"><a href="../types/CSS3DRenderPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>CSS3DRender<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
165
|
+
<li class="tsd-kind-type-alias"><a href="../types/ClassFunctionParameters.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Class<wbr/>Function<wbr/>Parameters</a></li>
|
|
163
166
|
<li class="tsd-kind-type-alias"><a href="../types/Color.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Color</a></li>
|
|
164
167
|
<li class="tsd-kind-type-alias"><a href="../types/ContentTypeConfigKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Content<wbr/>Type<wbr/>Config<wbr/>Key</a></li>
|
|
165
168
|
<li class="tsd-kind-type-alias"><a href="../types/ContentTypeConfigKeySplit.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Content<wbr/>Type<wbr/>Config<wbr/>Key<wbr/>Split</a></li>
|
|
@@ -178,6 +181,7 @@
|
|
|
178
181
|
<li class="tsd-kind-type-alias"><a href="../types/MapviewFloorplanPluginReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Mapview<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</a></li>
|
|
179
182
|
<li class="tsd-kind-type-alias"><a href="../types/MediaData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Media<wbr/>Data</a></li>
|
|
180
183
|
<li class="tsd-kind-type-alias"><a href="../types/MediaStore.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Media<wbr/>Store</a></li>
|
|
184
|
+
<li class="tsd-kind-type-alias"><a href="../types/ModelElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Model<wbr/>Element</a></li>
|
|
181
185
|
<li class="tsd-kind-type-alias"><a href="../types/ModelEntryDoorGuidePluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Model<wbr/>Entry<wbr/>Door<wbr/>Guide<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
182
186
|
<li class="tsd-kind-type-alias"><a href="../types/ModelFloorplanPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
183
187
|
<li class="tsd-kind-type-alias"><a href="../types/ModelFloorplanPluginReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</a></li>
|
|
@@ -220,6 +224,7 @@
|
|
|
220
224
|
<li class="tsd-kind-type-alias"><a href="../types/TagDimensionType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Dimension<wbr/>Type</a></li>
|
|
221
225
|
<li class="tsd-kind-type-alias"><a href="../types/TagElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Element</a></li>
|
|
222
226
|
<li class="tsd-kind-type-alias"><a href="../types/TagEvents.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Events</a></li>
|
|
227
|
+
<li class="tsd-kind-type-alias"><a href="../types/TagGLTFObject.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>TagGLTFObject</a></li>
|
|
223
228
|
<li class="tsd-kind-type-alias"><a href="../types/TagHooks.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Hooks</a></li>
|
|
224
229
|
<li class="tsd-kind-type-alias"><a href="../types/TagIconSize.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Icon<wbr/>Size</a></li>
|
|
225
230
|
<li class="tsd-kind-type-alias"><a href="../types/TagId.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tag<wbr/>Id</a></li>
|
|
@@ -10,20 +10,20 @@ var M = (o, e, t) => e in o ? N(o, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
return o;
|
|
11
11
|
};
|
|
12
12
|
var i = (o, e, t) => (M(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
-
var p = (o, e, t) => new Promise((
|
|
13
|
+
var p = (o, e, t) => new Promise((s, r) => {
|
|
14
14
|
var d = (c) => {
|
|
15
15
|
try {
|
|
16
16
|
l(t.next(c));
|
|
17
17
|
} catch (S) {
|
|
18
|
-
|
|
18
|
+
r(S);
|
|
19
19
|
}
|
|
20
20
|
}, f = (c) => {
|
|
21
21
|
try {
|
|
22
22
|
l(t.throw(c));
|
|
23
23
|
} catch (S) {
|
|
24
|
-
|
|
24
|
+
r(S);
|
|
25
25
|
}
|
|
26
|
-
}, l = (c) => c.done ?
|
|
26
|
+
}, l = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(d, f);
|
|
27
27
|
l((t = t.apply(o, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import R from "./utils/three/CSS3DRenderer.js";
|
|
@@ -72,10 +72,10 @@ class j {
|
|
|
72
72
|
i(this, "store", {
|
|
73
73
|
frontModeGroup: new q()
|
|
74
74
|
});
|
|
75
|
-
i(this, "create3DElement", (e, t,
|
|
75
|
+
i(this, "create3DElement", (e, t, s) => {
|
|
76
76
|
if (this.state.disposed)
|
|
77
77
|
return u();
|
|
78
|
-
const
|
|
78
|
+
const r = (() => {
|
|
79
79
|
const h = {
|
|
80
80
|
ratio: 216e-5,
|
|
81
81
|
devicePixelRatio: 1,
|
|
@@ -84,12 +84,12 @@ class j {
|
|
|
84
84
|
container: document.createElement("div"),
|
|
85
85
|
pointerEvents: "none"
|
|
86
86
|
};
|
|
87
|
-
return Object.assign(h,
|
|
87
|
+
return Object.assign(h, s);
|
|
88
88
|
})(), d = t.map(_);
|
|
89
89
|
if ((d == null ? void 0 : d.length) < 4)
|
|
90
90
|
return console.error(`${b}: requires 4 point but params may have fewer`);
|
|
91
|
-
const { ratio: f, devicePixelRatio: l, mode: c, autoRender: S, container: G, pointerEvents: w } =
|
|
92
|
-
n.css3DObjects.push(a),
|
|
91
|
+
const { ratio: f, devicePixelRatio: l, mode: c, autoRender: S, container: G, pointerEvents: w } = r, a = this.createObject(d, { ratio: f, dpr: l, container: G, mode: c, pointerEvents: w });
|
|
92
|
+
n.css3DObjects.push(a), r.scene && this.setScene(r.scene);
|
|
93
93
|
const F = () => {
|
|
94
94
|
const h = a.mode === "front" ? this.getFrontCSS3DObjectGroup() : this.getBehindCSS3DObjectGroup();
|
|
95
95
|
!h || h.add(a);
|
|
@@ -112,19 +112,19 @@ class j {
|
|
|
112
112
|
};
|
|
113
113
|
});
|
|
114
114
|
i(this, "setVisibleById", (e, t) => {
|
|
115
|
-
var
|
|
116
|
-
(
|
|
115
|
+
var s;
|
|
116
|
+
(s = B(e)) == null || s.setVisible(t);
|
|
117
117
|
});
|
|
118
118
|
i(this, "setEnabledById", (e, t) => {
|
|
119
|
-
const
|
|
120
|
-
if (!
|
|
119
|
+
const s = B(e);
|
|
120
|
+
if (!s)
|
|
121
121
|
return;
|
|
122
|
-
const
|
|
123
|
-
!
|
|
122
|
+
const r = s.mode === "front" ? this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }) : this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 });
|
|
123
|
+
!r || (t ? r.add(s) : r.remove(s));
|
|
124
124
|
});
|
|
125
125
|
i(this, "createObject", (e, t) => {
|
|
126
|
-
const
|
|
127
|
-
return
|
|
126
|
+
const s = new k(C({ cornerPoints: e }, t));
|
|
127
|
+
return s.element.classList.add(`${g}__container`), s.element.id = `${g}__container--${s.uuid}`, s;
|
|
128
128
|
});
|
|
129
129
|
e && this.setScene(e);
|
|
130
130
|
}
|
|
@@ -152,8 +152,8 @@ class j {
|
|
|
152
152
|
setState(e, t = { userAction: !0 }) {
|
|
153
153
|
if (this.state.disposed)
|
|
154
154
|
return u();
|
|
155
|
-
const
|
|
156
|
-
this.state = Object.assign(this.state, e),
|
|
155
|
+
const s = C({}, this.state);
|
|
156
|
+
this.state = Object.assign(this.state, e), s.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), s.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), s.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: t.userAction });
|
|
157
157
|
}
|
|
158
158
|
dispose() {
|
|
159
159
|
this.setState({ disposed: !0 }), this.hooks.emit("dispose");
|
|
@@ -183,23 +183,23 @@ class j {
|
|
|
183
183
|
this.setState({ enabled: !1 }, { userAction: e }), this.hooks.emit("disable", { userAction: e });
|
|
184
184
|
}
|
|
185
185
|
getFrontCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
186
|
-
var
|
|
187
|
-
const t = (
|
|
186
|
+
var s;
|
|
187
|
+
const t = (s = n.frontModeStore) == null ? void 0 : s.css3DScene;
|
|
188
188
|
if (t)
|
|
189
189
|
return t;
|
|
190
190
|
if (e) {
|
|
191
|
-
const
|
|
192
|
-
n.frontModeStore.css3DScene =
|
|
191
|
+
const r = new P();
|
|
192
|
+
n.frontModeStore.css3DScene = r;
|
|
193
193
|
}
|
|
194
194
|
return n.frontModeStore.css3DScene;
|
|
195
195
|
}
|
|
196
196
|
getBehindCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
197
|
-
var
|
|
198
|
-
const t = (
|
|
197
|
+
var s, r;
|
|
198
|
+
const t = (s = n.behindModeStore) == null ? void 0 : s.css3DScene;
|
|
199
199
|
if (t)
|
|
200
200
|
return t;
|
|
201
201
|
if (e) {
|
|
202
|
-
const d = (
|
|
202
|
+
const d = (r = n.behindModeStore.scene) != null ? r : this.scene;
|
|
203
203
|
if (!d) {
|
|
204
204
|
console.error(`${b}: scene is required when mode is behind`);
|
|
205
205
|
return;
|
|
@@ -214,27 +214,27 @@ class j {
|
|
|
214
214
|
return e && t && (t.getObjectById(this.store.frontModeGroup.id) || t.add(this.store.frontModeGroup)), this.store.frontModeGroup;
|
|
215
215
|
}
|
|
216
216
|
getBehindCSS3DObjectGroup({ addGroupIfNotExists: e = !0 } = {}) {
|
|
217
|
-
var
|
|
217
|
+
var s;
|
|
218
218
|
const t = this.getBehindCSS3DScene({ createSceneIfNotExists: e });
|
|
219
219
|
if (e && t && this.scene) {
|
|
220
|
-
const
|
|
221
|
-
this.store.behindModeGroup =
|
|
220
|
+
const r = (s = this.store.behindModeGroup) != null ? s : new A(this.scene);
|
|
221
|
+
this.store.behindModeGroup = r, t.getObjectById(r.id) || t.add(r);
|
|
222
222
|
}
|
|
223
223
|
return this.store.behindModeGroup;
|
|
224
224
|
}
|
|
225
225
|
render(e) {
|
|
226
|
-
var t,
|
|
226
|
+
var t, s;
|
|
227
227
|
if (this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }).CSS3DObjectLength > 0) {
|
|
228
|
-
const
|
|
229
|
-
if (!
|
|
228
|
+
const r = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
|
|
229
|
+
if (!r)
|
|
230
230
|
return console.error(`${b}: css3DScene is required when mode is front`);
|
|
231
|
-
n.frontModeStore.css3DRenderer.renderEveryFrame(
|
|
231
|
+
n.frontModeStore.css3DRenderer.renderEveryFrame(r, e);
|
|
232
232
|
}
|
|
233
|
-
if (((
|
|
234
|
-
const
|
|
235
|
-
if (!
|
|
233
|
+
if (((s = (t = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : t.CSS3DObjectLength) != null ? s : 0) > 0) {
|
|
234
|
+
const r = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
|
|
235
|
+
if (!r)
|
|
236
236
|
return console.error(`${b}: css3DScene is required when mode is behind`);
|
|
237
|
-
n.behindModeStore.css3DRenderer.renderEveryFrame(
|
|
237
|
+
n.behindModeStore.css3DRenderer.renderEveryFrame(r, e);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
handleShow() {
|
|
@@ -254,12 +254,12 @@ class j {
|
|
|
254
254
|
(e = this.getFrontCSS3DScene()) == null || e.add(this.store.frontModeGroup), this.store.behindModeGroup && ((t = this.getBehindCSS3DScene()) == null || t.add(this.store.behindModeGroup));
|
|
255
255
|
}
|
|
256
256
|
handleDisable() {
|
|
257
|
-
var e, t,
|
|
258
|
-
this.store.frontModeGroup.children.forEach((
|
|
259
|
-
|
|
260
|
-
}), (e = this.store.behindModeGroup) == null || e.children.forEach((
|
|
261
|
-
|
|
262
|
-
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((
|
|
257
|
+
var e, t, s;
|
|
258
|
+
this.store.frontModeGroup.children.forEach((r) => {
|
|
259
|
+
r instanceof v && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
260
|
+
}), (e = this.store.behindModeGroup) == null || e.children.forEach((r) => {
|
|
261
|
+
r instanceof v && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
262
|
+
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((s = this.getBehindCSS3DScene()) == null || s.remove(this.store.behindModeGroup));
|
|
263
263
|
}
|
|
264
264
|
handleDispose() {
|
|
265
265
|
this.handleDisable();
|
|
@@ -17,7 +17,7 @@ export interface Create3DDomContainerParamsType {
|
|
|
17
17
|
mode?: 'front';
|
|
18
18
|
} | {
|
|
19
19
|
mode: 'behind';
|
|
20
|
-
behindFiveContainer
|
|
20
|
+
behindFiveContainer?: HTMLElement;
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
export default class Controller extends CSS3DRender implements BasePlugin.Controller<CSS3DRenderState, CSS3DRenderEventMap> {
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
const n = document.createElement("div");
|
|
2
|
+
n.classList.add("behindFiveElement");
|
|
2
3
|
n.style.position = "absolute";
|
|
3
4
|
n.style.top = "0";
|
|
4
5
|
n.style.left = "0";
|
|
5
6
|
n.style.width = "100%";
|
|
6
7
|
n.style.height = "100%";
|
|
7
8
|
n.style.pointerEvents = "none";
|
|
8
|
-
function
|
|
9
|
-
var o,
|
|
10
|
-
const
|
|
11
|
-
if (
|
|
12
|
-
return
|
|
9
|
+
function c(e) {
|
|
10
|
+
var r, o, a, s, i;
|
|
11
|
+
const t = (i = (o = l(e.getElement())) != null ? o : l((r = e.getElement()) == null ? void 0 : r.parentElement)) != null ? i : l((s = (a = e.getElement()) == null ? void 0 : a.parentElement) == null ? void 0 : s.parentElement);
|
|
12
|
+
if (t != null && t.parentElement)
|
|
13
|
+
return t.parentElement.insertBefore(n, t), n;
|
|
13
14
|
console.error(
|
|
14
|
-
"Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/
|
|
15
|
+
"Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
|
|
15
16
|
);
|
|
16
17
|
}
|
|
17
|
-
function l(
|
|
18
|
-
var
|
|
19
|
-
if (!
|
|
18
|
+
function l(e) {
|
|
19
|
+
var d;
|
|
20
|
+
if (!e)
|
|
20
21
|
return;
|
|
21
|
-
const
|
|
22
|
-
if (
|
|
22
|
+
const t = (d = e.style.position) != null ? d : getComputedStyle(e).position;
|
|
23
|
+
if (t !== "fixed" && t !== "absolute" && t !== "relative")
|
|
23
24
|
return;
|
|
24
|
-
const
|
|
25
|
-
if (!(o !== "transparent" && o !== "rgba(0, 0, 0, 0)"))
|
|
26
|
-
return
|
|
25
|
+
const r = getComputedStyle(e), o = r.backgroundColor, a = r.backgroundImage;
|
|
26
|
+
if (!(o !== "transparent" && o !== "rgba(0, 0, 0, 0)" && o !== "" || a !== "none" && a !== ""))
|
|
27
|
+
return e;
|
|
27
28
|
}
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
c as default
|
|
30
31
|
};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Five } from '@realsee/five';
|
|
2
2
|
import * as BasePlugin from '../base/BasePlugin';
|
|
3
|
-
import
|
|
4
|
-
import { Object3DHelper } from '../shared-utils/Object3DHelper';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
import { Object3DHelper } from '../shared-utils/Object3DHelper/index';
|
|
5
5
|
import type { Object3DHelperState } from '../shared-utils/Object3DHelper/typings';
|
|
6
|
-
import type { Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
6
|
+
import type { HelperConfig, HelperOffset, Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
7
7
|
export declare const VERSION = "v1.0.0";
|
|
8
8
|
export declare const PLUGIN: string;
|
|
9
9
|
export declare class Object3DHelperController extends BasePlugin.Controller<Object3DHelperPluginState, Object3DHelperPluginEventMap> {
|
|
10
10
|
version: string;
|
|
11
11
|
name: string;
|
|
12
12
|
state: Object3DHelperState;
|
|
13
|
-
objectHelperMap: Map<THREE.Object3D,
|
|
13
|
+
objectHelperMap: Map<THREE.Object3D, {
|
|
14
|
+
helper: Object3DHelper;
|
|
15
|
+
disposers: (() => any)[];
|
|
16
|
+
}>;
|
|
14
17
|
private css3DObjectParentMap;
|
|
15
18
|
private css3DRender;
|
|
16
19
|
constructor(five: Five);
|
|
@@ -45,7 +48,10 @@ export declare class Object3DHelperController extends BasePlugin.Controller<Obje
|
|
|
45
48
|
setState(state: Partial<Object3DHelperState>, options?: {
|
|
46
49
|
userAction?: boolean;
|
|
47
50
|
} & Record<string, any>): void;
|
|
48
|
-
getObject3DHelper(object3D: THREE.Object3D):
|
|
51
|
+
getObject3DHelper(object3D: THREE.Object3D): {
|
|
52
|
+
helper: Object3DHelper;
|
|
53
|
+
disposers: (() => any)[];
|
|
54
|
+
};
|
|
49
55
|
/**
|
|
50
56
|
* @description 添加 helper
|
|
51
57
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -54,14 +60,23 @@ export declare class Object3DHelperController extends BasePlugin.Controller<Obje
|
|
|
54
60
|
* @param { boolean } config.scaleHelper 缩放helper
|
|
55
61
|
*/
|
|
56
62
|
addObject3DHelper(object3D: THREE.Object3D, config?: {
|
|
57
|
-
moveHelper?:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
moveHelper?: HelperConfig<{
|
|
64
|
+
offset?: HelperOffset;
|
|
65
|
+
}>;
|
|
66
|
+
rotateHelper?: HelperConfig<{
|
|
67
|
+
offset?: HelperOffset;
|
|
68
|
+
yzCircleEnable?: boolean;
|
|
69
|
+
xzCircleEnable?: boolean;
|
|
70
|
+
xyCircleEnable?: boolean;
|
|
71
|
+
}>;
|
|
72
|
+
scaleHelper?: HelperConfig;
|
|
73
|
+
boundingBoxHelper?: HelperConfig;
|
|
74
|
+
}): void | import("../shared-utils/Object3DHelper/typings").ObjectHelperControllers;
|
|
61
75
|
removeObject3DHelper(object3D: THREE.Object3D): void;
|
|
62
76
|
private handleEnable;
|
|
63
77
|
private handleVisible;
|
|
64
78
|
private handleDispose;
|
|
65
79
|
private everyHelperDo;
|
|
66
80
|
private actionIfStateIsEnabled;
|
|
81
|
+
private getConfig;
|
|
67
82
|
}
|