@realsee/dnalogel 2.1.2-alpha.1 → 2.1.2-alpha.11
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/CSS3DRender.d.ts +167 -0
- package/dist/CSS3DRenderPlugin/Controller.d.ts +81 -0
- package/dist/CSS3DRenderPlugin/index.d.ts +5 -0
- package/dist/CSS3DRenderPlugin/typing.d.ts +26 -0
- package/dist/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +34 -0
- package/dist/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
- package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +4 -0
- package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
- package/dist/CSS3DRenderPlugin/utils/random.d.ts +1 -0
- package/dist/CameraMovementPlugin/CameraMovementPlugin.d.ts +7 -0
- package/dist/CameraMovementPlugin/index.d.ts +5 -0
- package/dist/CameraMovementPlugin/typing.d.ts +68 -0
- package/dist/CruisePlugin/Controller.d.ts +172 -0
- package/dist/CruisePlugin/index.d.ts +6 -0
- package/dist/CruisePlugin/typing.d.ts +134 -0
- package/dist/CruisePlugin/utils/coordinatesAngle.d.ts +12 -0
- package/dist/CruisePlugin/utils/coordinatesToVector.d.ts +7 -0
- package/dist/CruisePlugin/utils/formatRad.d.ts +7 -0
- package/dist/CruisePlugin/utils/linerValue.d.ts +1 -0
- package/dist/CruisePlugin/utils/safeCall.d.ts +1 -0
- package/dist/CruisePlugin/utils/sleep.d.ts +1 -0
- package/dist/CruisePlugin/utils/vectorToCoordinates.d.ts +7 -0
- package/dist/GuideLinePlugin/Controller.d.ts +51 -0
- package/dist/GuideLinePlugin/index.d.ts +5 -0
- package/dist/GuideLinePlugin/typing.d.ts +34 -0
- package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +4 -0
- package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
- package/dist/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
- package/dist/ItemLabelPlugin/Plugin.d.ts +4 -0
- package/dist/ItemLabelPlugin/events.type.d.ts +9 -0
- package/dist/ItemLabelPlugin/index.d.ts +9 -0
- package/dist/ItemLabelPlugin/typings.d.ts +65 -0
- package/dist/ItemLabelPlugin/utils/getLabelTransform.d.ts +1 -0
- package/dist/ItemLabelPlugin/utils/getStrokeLength.d.ts +5 -0
- package/dist/ItemLabelPlugin/utils/isImpacted.d.ts +8 -0
- package/dist/ItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/dist/ItemLabelPlugin/utils/transform2RenderData.d.ts +3 -0
- package/dist/ModelChassisCompassPlugin/Plugin.d.ts +19 -0
- package/dist/ModelChassisCompassPlugin/index.d.ts +4 -0
- package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +26 -0
- package/dist/ModelEntryDoorGuidePlugin/index.d.ts +4 -0
- package/dist/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +4 -0
- package/dist/ModelItemLabelPlugin/events.type.d.ts +9 -0
- package/dist/ModelItemLabelPlugin/index.d.ts +9 -0
- package/dist/ModelItemLabelPlugin/typings.d.ts +56 -0
- package/dist/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/dist/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/Controller.d.ts +36 -0
- package/dist/ModelRoomLabelPlugin/index.d.ts +12 -0
- package/dist/ModelRoomLabelPlugin/typings.d.ts +35 -0
- package/dist/ModelRoomLabelPlugin/utils/parseData.d.ts +3 -0
- package/dist/ModelTVVideoPlugin/Plugin.d.ts +4 -0
- package/dist/ModelTVVideoPlugin/index.d.ts +5 -0
- package/dist/ModelTVVideoPlugin/typings.d.ts +25 -0
- package/dist/ModelTVVideoPlugin/utils/parseData.d.ts +2 -0
- package/dist/ModelViewPlugin/Plugin.d.ts +28 -0
- package/dist/ModelViewPlugin/index.d.ts +4 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +65 -0
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
- package/dist/Object3DHelperPlugin/index.d.ts +6 -0
- package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/Assets/roomInfoIcon.d.ts +1 -0
- package/dist/PanoCompassPlugin/Controller.d.ts +84 -0
- package/dist/PanoCompassPlugin/getRoomInfoInstance.d.ts +8 -0
- package/dist/PanoCompassPlugin/index.d.ts +7 -0
- package/dist/PanoCompassPlugin/typings.d.ts +57 -0
- package/dist/PanoCursorRaycasterPlugin/index.d.ts +48 -0
- package/dist/PanoDoorLabelPlugin/BaseController.d.ts +60 -0
- package/dist/PanoDoorLabelPlugin/Controller.d.ts +37 -0
- package/dist/PanoDoorLabelPlugin/index.d.ts +7 -0
- package/dist/PanoDoorLabelPlugin/typings.d.ts +38 -0
- package/dist/PanoDoorLabelPlugin/utils.d.ts +5 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +43 -0
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +48 -0
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +42 -0
- package/dist/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
- package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +16 -0
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +26 -0
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +73 -0
- package/dist/PanoMeasurePlugin/Model/index.d.ts +35 -0
- package/dist/PanoMeasurePlugin/Model/line.d.ts +30 -0
- package/dist/PanoMeasurePlugin/Model/point.d.ts +16 -0
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +16 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +25 -0
- package/dist/PanoMeasurePlugin/Modules/FiveHelper.d.ts +11 -0
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +18 -0
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +59 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +15 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +13 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +20 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +12 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +16 -0
- package/dist/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +44 -0
- package/dist/PanoMeasurePlugin/index.d.ts +10 -0
- package/dist/PanoMeasurePlugin/typings/data.d.ts +37 -0
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +37 -0
- package/dist/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +10 -0
- package/dist/PanoMeasurePlugin/utils/constants.d.ts +4 -0
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +28 -0
- package/dist/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +2 -0
- package/dist/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
- package/dist/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +4 -0
- package/dist/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +10 -0
- package/dist/PanoMeasurePlugin/utils/ironbox.d.ts +1 -0
- package/dist/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +2 -0
- package/dist/PanoMeasurePlugin/utils/line.d.ts +17 -0
- package/dist/PanoMeasurePlugin/utils/math.d.ts +17 -0
- package/dist/PanoMeasurePlugin/utils/mouseGroup.d.ts +7 -0
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
- package/dist/PanoRulerPlugin/Plugin.d.ts +34 -0
- package/dist/PanoRulerPlugin/index.d.ts +5 -0
- package/dist/PanoRulerPlugin/style.d.ts +2 -0
- package/dist/PanoRulerPlugin/typings.d.ts +21 -0
- package/dist/PanoRulerProPlugin/Controller.d.ts +15 -0
- package/dist/PanoRulerProPlugin/index.d.ts +8 -0
- package/dist/PanoRulerProPlugin/typings.d.ts +46 -0
- package/dist/PanoSpatialTagPlugin/Plugin.d.ts +35 -0
- package/dist/PanoSpatialTagPlugin/index.d.ts +5 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/style.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/typings.d.ts +40 -0
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -0
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +144 -0
- package/dist/PanoTagPlugin/index.d.ts +8 -0
- package/dist/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +103 -0
- package/dist/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/PanoTagPlugin/typings/tag.d.ts +247 -0
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/dist/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/doUtil.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/base/BasePlugin.d.ts +106 -0
- package/dist/base/BasePluginWithData.d.ts +34 -0
- package/dist/components/PaintBrush/Controller.d.ts +43 -0
- package/dist/components/PaintBrush/Subscribe.d.ts +76 -0
- package/dist/components/PaintBrush/index.d.ts +27 -0
- package/dist/components/PaintBrush/style.d.ts +2 -0
- package/dist/components/PaintBrush/tween.d.ts +7 -0
- package/dist/components/PaintBrush/typings.d.ts +58 -0
- package/dist/components/PaintBrush/utils.d.ts +26 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/env.d.ts +1 -0
- package/dist/floorplan/Assets/camera.d.ts +1 -0
- package/dist/floorplan/Assets/compass.d.ts +1 -0
- package/dist/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/Controller.d.ts +97 -0
- package/dist/floorplan/MapviewFloorplanPlugin/index.d.ts +7 -0
- package/dist/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +99 -0
- package/dist/floorplan/ModelFloorplanPlugin/index.d.ts +7 -0
- package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +36 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.d.ts +7 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +52 -0
- package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +69 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index.d.ts +7 -0
- package/dist/floorplan/TopviewFloorplanPlugin/typing.d.ts +11 -0
- package/dist/floorplan/constant.d.ts +5 -0
- package/dist/floorplan/index.d.ts +7 -0
- package/dist/floorplan/typings/floorplanData.d.ts +137 -0
- package/dist/floorplan/typings/floorplanServerData.d.ts +144 -0
- package/dist/floorplan/typings/index.d.ts +117 -0
- package/dist/floorplan/typings/utility.d.ts +2 -0
- package/dist/floorplan/utils/constant.d.ts +22 -0
- package/dist/floorplan/utils/correctFiveState.d.ts +15 -0
- package/dist/floorplan/utils/formatData.d.ts +5 -0
- package/dist/floorplan/utils/formatPosition.d.ts +36 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +406 -16500
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +48 -0
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +91 -0
- package/dist/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
- package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
- package/dist/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
- package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
- package/dist/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
- package/dist/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
- package/dist/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
- package/dist/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
- package/dist/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +40 -0
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +55 -0
- package/dist/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
- package/dist/shared-utils/Object3DHelper/index.d.ts +71 -0
- package/dist/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +45 -0
- package/dist/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
- package/dist/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
- package/dist/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
- package/dist/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
- package/dist/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
- package/dist/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
- package/dist/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
- package/dist/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
- package/dist/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +34 -0
- package/dist/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
- package/dist/shared-utils/Subscribe.d.ts +60 -0
- package/dist/shared-utils/animationFrame/BetterTween.d.ts +11 -0
- package/dist/shared-utils/animationFrame/calculateProgress.d.ts +8 -0
- package/dist/shared-utils/animationFrame/formatRad.d.ts +15 -0
- package/dist/shared-utils/animationFrame/index.d.ts +16 -0
- package/dist/shared-utils/animationFrame/tween.d.ts +75 -0
- package/dist/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
- package/dist/shared-utils/createCanvasTextTexture.d.ts +8 -0
- package/dist/shared-utils/createLine/index.d.ts +3 -0
- package/dist/shared-utils/debounce.d.ts +6 -0
- package/dist/shared-utils/equal.d.ts +11 -0
- package/dist/shared-utils/filter.d.ts +27 -0
- package/dist/shared-utils/five/changeMode.d.ts +5 -0
- package/dist/shared-utils/getPxmm.d.ts +19 -0
- package/dist/shared-utils/index.d.ts +4 -0
- package/dist/shared-utils/isNil.d.ts +10 -0
- package/dist/shared-utils/isTruelyObject.d.ts +18 -0
- package/dist/shared-utils/math/Interval.d.ts +13 -0
- package/dist/shared-utils/math/Rectangle.d.ts +27 -0
- package/dist/shared-utils/math/index.d.ts +2 -0
- package/dist/shared-utils/math/planimetry.d.ts +116 -0
- package/dist/shared-utils/math/rad2Deg.d.ts +1 -0
- package/dist/shared-utils/nearlyEqual.d.ts +7 -0
- package/dist/shared-utils/nextFrame.d.ts +1 -0
- package/dist/shared-utils/noop.d.ts +5 -0
- package/dist/shared-utils/object3d2LocalMatrix.d.ts +12 -0
- package/dist/shared-utils/removeArrayItem.d.ts +7 -0
- package/dist/shared-utils/tap.d.ts +8 -0
- package/dist/shared-utils/three/Assets/index.d.ts +3 -0
- package/dist/shared-utils/three/FivePointSelector.d.ts +36 -0
- package/dist/shared-utils/three/Magnifier.d.ts +53 -0
- package/dist/shared-utils/three/PointDomHelper.d.ts +18 -0
- package/dist/shared-utils/three/PointHelper.d.ts +21 -0
- package/dist/shared-utils/three/getCoords.d.ts +9 -0
- package/dist/shared-utils/three/getIntersect.d.ts +6 -0
- package/dist/shared-utils/three/getRaycaster.d.ts +6 -0
- package/dist/shared-utils/three/index.d.ts +7 -0
- package/dist/shared-utils/three/loadTexture.d.ts +2 -0
- package/dist/shared-utils/three/transformPositionToVector3.d.ts +7 -0
- package/dist/shared-utils/three/transfromToMeshBasicMaterial.d.ts +2 -0
- package/dist/shared-utils/throttle.d.ts +7 -0
- package/dist/shared-utils/tinyEJSrender.d.ts +5 -0
- package/dist/shared-utils/to.d.ts +8 -0
- package/dist/shared-utils/uuid.d.ts +5 -0
- package/dist/typings/math.type.d.ts +44 -0
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- 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 +12 -12
- 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/LinkType.html +7 -7
- 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 +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- 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 +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- 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/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.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 +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- 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 +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- 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 +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -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/PointJson.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 +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- 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 +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +327 -1
- package/libs/CSS3DRenderPlugin/Controller.js +83 -1
- package/libs/CSS3DRenderPlugin/index.js +5 -1
- package/libs/CSS3DRenderPlugin/typing.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +65 -1
- package/libs/CSS3DRenderPlugin/utils/centerPoint.js +10 -1
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +7 -1
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +6 -1
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +87 -1
- package/libs/CameraMovementPlugin/index.js +3 -1
- package/libs/CameraMovementPlugin/typing.js +5 -1
- package/libs/CruisePlugin/Controller.js +484 -1
- package/libs/CruisePlugin/index.js +5 -1
- package/libs/CruisePlugin/utils/coordinatesAngle.js +8 -1
- package/libs/CruisePlugin/utils/coordinatesToVector.js +12 -1
- package/libs/CruisePlugin/utils/formatRad.js +7 -1
- package/libs/CruisePlugin/utils/linerValue.js +7 -1
- package/libs/CruisePlugin/utils/safeCall.js +28 -1
- package/libs/CruisePlugin/utils/sleep.js +10 -1
- package/libs/CruisePlugin/utils/vectorToCoordinates.js +10 -1
- package/libs/GuideLinePlugin/Controller.js +143 -1
- package/libs/GuideLinePlugin/index.js +5 -1
- package/libs/GuideLinePlugin/utils/getArrowMaterial.js +13 -1
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +64 -1
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +273 -1
- package/libs/ItemLabelPlugin/ItemLabelItem.js +133 -2
- package/libs/ItemLabelPlugin/Plugin.js +75 -2
- package/libs/ItemLabelPlugin/index.js +12 -1
- package/libs/ItemLabelPlugin/typings.js +4 -1
- package/libs/ItemLabelPlugin/utils/getLabelTransform.js +4 -1
- package/libs/ItemLabelPlugin/utils/getStrokeLength.js +16 -1
- package/libs/ItemLabelPlugin/utils/isImpacted.js +10 -1
- package/libs/ItemLabelPlugin/utils/parseData.js +21 -1
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +21 -1
- package/libs/ModelChassisCompassPlugin/Plugin.js +70 -1
- package/libs/ModelChassisCompassPlugin/index.js +2 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +77 -1
- package/libs/ModelEntryDoorGuidePlugin/index.js +2 -1
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +213 -1
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +42 -2
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +73 -2
- package/libs/ModelItemLabelPlugin/events.type.js +1 -1
- package/libs/ModelItemLabelPlugin/index.js +12 -1
- package/libs/ModelItemLabelPlugin/typings.js +4 -1
- package/libs/ModelItemLabelPlugin/utils/parseData.js +19 -1
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +4 -1
- package/libs/ModelRoomLabelPlugin/Controller.js +60 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +45 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +163 -1
- package/libs/ModelRoomLabelPlugin/index.js +9 -1
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +16 -1
- package/libs/ModelTVVideoPlugin/Plugin.js +163 -1
- package/libs/ModelTVVideoPlugin/index.js +2 -1
- package/libs/ModelTVVideoPlugin/typings.js +4 -1
- package/libs/ModelTVVideoPlugin/utils/parseData.js +20 -1
- package/libs/ModelViewPlugin/Plugin.js +106 -1
- package/libs/ModelViewPlugin/index.js +2 -1
- package/libs/Object3DHelperPlugin/Controller.js +145 -1
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +31 -1
- package/libs/Object3DHelperPlugin/index.js +5 -1
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +4 -1
- package/libs/PanoCompassPlugin/Controller.js +224 -1
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +24 -1
- package/libs/PanoCompassPlugin/index.js +5 -1
- package/libs/PanoCursorRaycasterPlugin/index.js +58 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +59 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +219 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +65 -1
- package/libs/PanoDoorLabelPlugin/index.js +5 -1
- package/libs/PanoDoorLabelPlugin/utils.js +23 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +102 -1
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +125 -1
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +33 -1
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +90 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +154 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +140 -1
- package/libs/PanoMeasurePlugin/Model/index.js +92 -1
- package/libs/PanoMeasurePlugin/Model/line.js +56 -1
- package/libs/PanoMeasurePlugin/Model/point.js +30 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +47 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +5 -2
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +4 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +4 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +67 -3
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +28 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +41 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +103 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +12 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +50 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +36 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +48 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +8 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +39 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +62 -1
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +6 -2
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +130 -1
- package/libs/PanoMeasurePlugin/index.js +10 -1
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +12 -1
- package/libs/PanoMeasurePlugin/utils/constants.js +36 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +62 -1
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +13 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +15 -1
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +9 -1
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +8 -1
- package/libs/PanoMeasurePlugin/utils/ironbox.js +4 -1
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +7 -1
- package/libs/PanoMeasurePlugin/utils/line.js +17 -1
- package/libs/PanoMeasurePlugin/utils/math.js +12 -1
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +33 -3
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +8 -1
- package/libs/PanoRulerPlugin/Plugin.js +262 -2
- package/libs/PanoRulerPlugin/index.js +2 -1
- package/libs/PanoRulerPlugin/style.js +5 -2
- package/libs/PanoRulerProPlugin/Controller.js +93 -1
- package/libs/PanoRulerProPlugin/RulerItem.js +128 -1
- package/libs/PanoRulerProPlugin/RulerItems.js +183 -1
- package/libs/PanoRulerProPlugin/index.js +5 -1
- package/libs/PanoSpatialTagPlugin/Components/origins.js +82 -1
- package/libs/PanoSpatialTagPlugin/Components/tag.js +125 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +246 -1
- package/libs/PanoSpatialTagPlugin/index.js +6 -1
- package/libs/PanoSpatialTagPlugin/store.js +5 -1
- package/libs/PanoSpatialTagPlugin/style.js +11 -1
- package/libs/PanoSpatialTagPlugin/typings.js +1 -1
- package/libs/PanoTagPlugin/Assets/Icon.js +6 -1
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +103 -1
- package/libs/PanoTagPlugin/Components/Common/Audio.js +166 -1
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +93 -1
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +90 -1
- package/libs/PanoTagPlugin/Components/Common/Media.js +400 -1
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +139 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +180 -1
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +52 -1
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +52 -1
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +169 -1
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +124 -15
- package/libs/PanoTagPlugin/Components/Common/Text.js +131 -1
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +140 -1
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +73 -1
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +214 -1
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +127 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +259 -1
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +106 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +134 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +318 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +200 -1
- package/libs/PanoTagPlugin/Components/TagWrapper.js +191 -1
- package/libs/PanoTagPlugin/controller/TagCacheController.js +31 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +264 -1
- package/libs/PanoTagPlugin/controller/index.js +376 -1
- package/libs/PanoTagPlugin/index.js +5 -1
- package/libs/PanoTagPlugin/tag.config.js +43 -1
- package/libs/PanoTagPlugin/typings/controller.js +1 -1
- package/libs/PanoTagPlugin/typings/index.js +1 -1
- package/libs/PanoTagPlugin/typings/tag.js +7 -1
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +6 -1
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +27 -1
- package/libs/PanoTagPlugin/utils/checkRange.js +10 -1
- package/libs/PanoTagPlugin/utils/constants.js +7 -1
- package/libs/PanoTagPlugin/utils/debounce.js +12 -1
- package/libs/PanoTagPlugin/utils/doUtil.js +12 -1
- package/libs/PanoTagPlugin/utils/index.js +1 -1
- package/libs/PanoTagPlugin/utils/noTypecheck.js +4 -1
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +13 -1
- package/libs/PanoTagPlugin/utils/planeNormal.js +11 -1
- package/libs/PanoTagPlugin/utils/resizeObserver.js +17 -1
- package/libs/PanoTagPlugin/utils/search.js +15 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +13 -1
- package/libs/PanoTagPlugin/utils/throttle.js +11 -1
- package/libs/base/BasePlugin.js +18 -1
- package/libs/base/BasePluginWithData.js +6 -1
- package/libs/components/PaintBrush/Controller.js +308 -1
- package/libs/components/PaintBrush/Subscribe.js +47 -1
- package/libs/components/PaintBrush/index.js +45 -1
- package/libs/components/PaintBrush/style.js +5 -2
- package/libs/components/PaintBrush/tween.js +11 -1
- package/libs/components/PaintBrush/typings.js +4 -1
- package/libs/components/PaintBrush/utils.js +45 -1
- package/libs/components/index.js +2 -1
- package/libs/floorplan/Assets/camera.js +4 -1
- package/libs/floorplan/Assets/compass.js +4 -1
- package/libs/floorplan/Assets/floorplanExtraObject.js +4 -1
- package/libs/floorplan/Components/BaseImage.js +103 -1
- package/libs/floorplan/Components/Camera.js +62 -1
- package/libs/floorplan/Components/Compass.js +60 -1
- package/libs/floorplan/Components/CurrentFloor.js +256 -1
- package/libs/floorplan/Components/Main.js +283 -1
- package/libs/floorplan/Components/Normalmage.js +37 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +61 -1
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +122 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +153 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +175 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +196 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +37 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +39 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -1
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +134 -1
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +139 -1
- package/libs/floorplan/Components/SvgImage.js +39 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +321 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +316 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +85 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +133 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +72 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +192 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +164 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +273 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -1
- package/libs/floorplan/constant.js +4 -1
- package/libs/floorplan/index.js +6 -1
- package/libs/floorplan/typings/floorplanData.js +1 -1
- package/libs/floorplan/typings/floorplanServerData.js +101 -1
- package/libs/floorplan/utils/constant.js +7 -1
- package/libs/floorplan/utils/correctFiveState.js +54 -1
- package/libs/floorplan/utils/formatData.js +104 -1
- package/libs/floorplan/utils/formatPosition.js +35 -1
- package/libs/index.js +346 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +151 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +51 -1
- package/libs/shared-utils/Object3DHelper/Constants/color.js +20 -1
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +18 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +66 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +109 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +134 -1
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +79 -1
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +41 -1
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +13 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +30 -1
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +35 -1
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +137 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +136 -1
- package/libs/shared-utils/Object3DHelper/Helper/index.js +3 -1
- package/libs/shared-utils/Object3DHelper/index.js +169 -1
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +11 -1
- package/libs/shared-utils/Object3DHelper/utils/direction.js +22 -1
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +14 -1
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +191 -1
- package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.js +6 -1
- package/libs/shared-utils/Subscribe.js +50 -1
- package/libs/shared-utils/animationFrame/BetterTween.js +26 -1
- package/libs/shared-utils/animationFrame/calculateProgress.js +6 -1
- package/libs/shared-utils/animationFrame/formatRad.js +11 -1
- package/libs/shared-utils/animationFrame/index.js +28 -1
- package/libs/shared-utils/animationFrame/tween.js +28 -1
- package/libs/shared-utils/changeModelCanvasOpacity.js +12 -1
- package/libs/shared-utils/createCanvasTextTexture.js +11 -1
- package/libs/shared-utils/createLine/index.js +9 -1
- package/libs/shared-utils/debounce.js +11 -1
- package/libs/shared-utils/equal.js +54 -1
- package/libs/shared-utils/filter.js +10 -1
- package/libs/shared-utils/five/changeMode.js +39 -1
- package/libs/shared-utils/getPxmm.js +20 -1
- package/libs/shared-utils/index.js +35 -1
- package/libs/shared-utils/isNil.js +10 -1
- package/libs/shared-utils/isTruelyObject.js +6 -1
- package/libs/shared-utils/math/Interval.js +23 -1
- package/libs/shared-utils/math/Rectangle.js +23 -1
- package/libs/shared-utils/math/index.js +1 -1
- package/libs/shared-utils/math/planimetry.js +43 -1
- package/libs/shared-utils/math/rad2Deg.js +6 -1
- package/libs/shared-utils/nearlyEqual.js +6 -1
- package/libs/shared-utils/nextFrame.js +6 -1
- package/libs/shared-utils/noop.js +5 -1
- package/libs/shared-utils/object3d2LocalMatrix.js +18 -1
- package/libs/shared-utils/removeArrayItem.js +8 -1
- package/libs/shared-utils/tap.js +6 -1
- package/libs/shared-utils/three/Assets/index.js +4 -1
- package/libs/shared-utils/three/FivePointSelector.js +49 -1
- package/libs/shared-utils/three/Magnifier.js +104 -1
- package/libs/shared-utils/three/PointDomHelper.js +60 -1
- package/libs/shared-utils/three/PointHelper.js +60 -3
- package/libs/shared-utils/three/getCoords.js +13 -1
- package/libs/shared-utils/three/getIntersect.js +8 -1
- package/libs/shared-utils/three/getRaycaster.js +12 -1
- package/libs/shared-utils/three/index.js +6 -1
- package/libs/shared-utils/three/loadTexture.js +28 -1
- package/libs/shared-utils/three/transformPositionToVector3.js +5 -1
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +24 -1
- package/libs/shared-utils/throttle.js +11 -1
- package/libs/shared-utils/tinyEJSrender.js +138 -14
- package/libs/shared-utils/to.js +28 -1
- package/libs/shared-utils/uuid.js +9 -1
- package/libs/vendor/swiper/components-shared/get-changed-params.js +29 -1
- package/libs/vendor/swiper/components-shared/get-params.js +23 -1
- package/libs/vendor/swiper/components-shared/mount-swiper.js +14 -1
- package/libs/vendor/swiper/components-shared/params-list.js +120 -1
- package/libs/vendor/swiper/components-shared/update-swiper.js +36 -1
- package/libs/vendor/swiper/components-shared/utils.js +32 -1
- package/libs/vendor/swiper/svelte/swiper-slide.js +182 -1
- package/libs/vendor/swiper/svelte/swiper-svelte.js +3 -1
- package/libs/vendor/swiper/svelte/swiper.js +254 -1
- package/package.json +10 -180
- package/dist/index.cjs.js +0 -556
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { Subscribe } from '../../Subscribe';
|
|
3
|
+
import type { HelperEventMap } from '../typings';
|
|
4
|
+
import type { BaseHelper } from './BaseHelper';
|
|
5
|
+
import DomEvents from '../utils/threex/domevents';
|
|
6
|
+
export declare let originOpacity: {
|
|
7
|
+
opacity: number;
|
|
8
|
+
} | null;
|
|
9
|
+
export declare abstract class BaseController<T extends BaseHelper = BaseHelper, K extends THREE.Object3D = THREE.Object3D> {
|
|
10
|
+
hooks: Subscribe<HelperEventMap>;
|
|
11
|
+
helperObject3D: T;
|
|
12
|
+
originObject3D: K;
|
|
13
|
+
protected camera: THREE.Camera;
|
|
14
|
+
protected model: THREE.Object3D;
|
|
15
|
+
protected scene: THREE.Scene;
|
|
16
|
+
protected container: HTMLElement;
|
|
17
|
+
protected domEvents: DomEvents;
|
|
18
|
+
protected isDragging: boolean;
|
|
19
|
+
protected onRender: () => void;
|
|
20
|
+
protected enabled: boolean;
|
|
21
|
+
constructor(camera: THREE.Camera, model: THREE.Object3D, originObject3D: K, helperObject3D: T, container: HTMLElement, scene: THREE.Scene, onRender?: () => void);
|
|
22
|
+
initialHelperPosition(): void;
|
|
23
|
+
initialHelperQuaternion(): void;
|
|
24
|
+
enable(): void;
|
|
25
|
+
disable(): void;
|
|
26
|
+
show(): void;
|
|
27
|
+
hide(): void;
|
|
28
|
+
dispose(): void;
|
|
29
|
+
setOpacity(opacity: number): void;
|
|
30
|
+
restoreOpacity(): void;
|
|
31
|
+
setOriginOpacityProperty(): void;
|
|
32
|
+
updateHelperPosition(): void;
|
|
33
|
+
updateHelperQuaternion(): void;
|
|
34
|
+
applyHelperMatrix4(matrix4: THREE.Matrix4): void;
|
|
35
|
+
applyHelperQuaternion(quaternion: THREE.Quaternion, origin: THREE.Vector3): void;
|
|
36
|
+
applyHelperScaleMatrix4(matrix4: THREE.Matrix4, params?: {
|
|
37
|
+
origin?: THREE.Vector3;
|
|
38
|
+
helperOrigin?: THREE.Vector3;
|
|
39
|
+
}): void;
|
|
40
|
+
onWantsTapGesture: (raycaster: THREE.Raycaster) => false | void;
|
|
41
|
+
onWantsGesture(type: 'press' | 'pan' | string, pointers: {
|
|
42
|
+
x: number;
|
|
43
|
+
y: number;
|
|
44
|
+
}[], final: boolean): false | void;
|
|
45
|
+
protected render(): void;
|
|
46
|
+
protected hoverListener(object3D: THREE.Object3D | undefined | THREE.Group | (THREE.Object3D | undefined | THREE.Group)[], hoverColor?: THREE.Color | string | number, hoverOpacity?: number): () => void;
|
|
47
|
+
private getIntersectObject;
|
|
48
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
|
|
2
|
+
import type * as THREE from 'three';
|
|
3
|
+
import { Mesh, Object3D, Vector3 } from 'three';
|
|
4
|
+
import type { Direction, Direction4 } from '../typings';
|
|
5
|
+
import type { tipsDom } from '../Helper/HTML/tipsDom';
|
|
6
|
+
export declare abstract class BaseHelper<OriginObject3D extends Object3D = Object3D> extends Object3D {
|
|
7
|
+
protected originObject3D: OriginObject3D;
|
|
8
|
+
protected onRender: () => any;
|
|
9
|
+
get helperObject(): Object3D;
|
|
10
|
+
constructor(originObject3D: OriginObject3D, config?: {
|
|
11
|
+
onRender?: () => any;
|
|
12
|
+
});
|
|
13
|
+
render(): void;
|
|
14
|
+
show(): void;
|
|
15
|
+
hide(): void;
|
|
16
|
+
updatePosition(): void;
|
|
17
|
+
updateQuaternion(): void;
|
|
18
|
+
applyHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
19
|
+
origin?: THREE.Vector3;
|
|
20
|
+
helperOrigin?: THREE.Vector3;
|
|
21
|
+
}): void;
|
|
22
|
+
applyHelperQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
23
|
+
abstract showDraggingHelper(directions?: Direction[]): void;
|
|
24
|
+
abstract dispose(): void;
|
|
25
|
+
}
|
|
26
|
+
export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
27
|
+
abstract xArrow?: Object3D & {
|
|
28
|
+
arrow: Object3D;
|
|
29
|
+
line?: Object3D;
|
|
30
|
+
direction: Direction;
|
|
31
|
+
};
|
|
32
|
+
abstract yArrow?: Object3D & {
|
|
33
|
+
arrow: Object3D;
|
|
34
|
+
line?: Object3D;
|
|
35
|
+
direction: Direction;
|
|
36
|
+
};
|
|
37
|
+
abstract zArrow?: Object3D & {
|
|
38
|
+
arrow: Object3D;
|
|
39
|
+
line?: Object3D;
|
|
40
|
+
direction: Direction;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export declare abstract class RotateHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
44
|
+
abstract xyCircle: Mesh & {
|
|
45
|
+
direction: Direction;
|
|
46
|
+
};
|
|
47
|
+
abstract xzCircle: Mesh & {
|
|
48
|
+
direction: Direction;
|
|
49
|
+
};
|
|
50
|
+
abstract yzCircle: Mesh & {
|
|
51
|
+
direction: Direction;
|
|
52
|
+
};
|
|
53
|
+
abstract xRingHelper: Object3D;
|
|
54
|
+
abstract yRingHelper: Object3D;
|
|
55
|
+
abstract zRingHelper: Object3D;
|
|
56
|
+
abstract xAngleHelper: Object3D & {
|
|
57
|
+
baseAxes: Vector3;
|
|
58
|
+
direction: Direction;
|
|
59
|
+
};
|
|
60
|
+
abstract yAngleHelper: Object3D & {
|
|
61
|
+
baseAxes: Vector3;
|
|
62
|
+
direction: Direction;
|
|
63
|
+
};
|
|
64
|
+
abstract zAngleHelper: Object3D & {
|
|
65
|
+
baseAxes: Vector3;
|
|
66
|
+
direction: Direction;
|
|
67
|
+
};
|
|
68
|
+
abstract angleTips?: ReturnType<typeof tipsDom>;
|
|
69
|
+
abstract showDraggingHelper(directions: Direction[]): void;
|
|
70
|
+
abstract updateAngleHelperQuaternion(): void;
|
|
71
|
+
}
|
|
72
|
+
export declare abstract class ScaleHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
73
|
+
}
|
|
74
|
+
declare type NonVoid<T> = T extends void ? never : T;
|
|
75
|
+
export declare abstract class RectangleScaleHelperAbstract<OriginObject3D extends Object3D, PointType extends Object3D | HTMLElement> extends ScaleHelperAbstract<OriginObject3D> {
|
|
76
|
+
abstract points: PointType extends Object3D ? {
|
|
77
|
+
point: PointType;
|
|
78
|
+
direction: Direction4;
|
|
79
|
+
}[] : {
|
|
80
|
+
point: PointType;
|
|
81
|
+
direction: Direction4;
|
|
82
|
+
position: Vector3;
|
|
83
|
+
}[];
|
|
84
|
+
abstract cornerPositions: Vector3[];
|
|
85
|
+
abstract css3DInstance?: NonVoid<Create3DElementReturnType>;
|
|
86
|
+
abstract plane?: THREE.Mesh;
|
|
87
|
+
abstract updatePoints(): void;
|
|
88
|
+
abstract enable(): void;
|
|
89
|
+
abstract disable(): void;
|
|
90
|
+
}
|
|
91
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
declare const AXES_COLOR: {
|
|
3
|
+
X: number;
|
|
4
|
+
Y: number;
|
|
5
|
+
Z: number;
|
|
6
|
+
};
|
|
7
|
+
declare class AXES_THREE_COLOR {
|
|
8
|
+
static get X(): THREE.Color;
|
|
9
|
+
static get Y(): THREE.Color;
|
|
10
|
+
static get Z(): THREE.Color;
|
|
11
|
+
}
|
|
12
|
+
export { AXES_COLOR, AXES_THREE_COLOR };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
|
|
2
|
+
import { RectangleScaleController } from './RectangleScaleController';
|
|
3
|
+
export declare class CSS3DScaleController extends RectangleScaleController<CSS3DObject, HTMLElement> {
|
|
4
|
+
constructor(...params: ConstructorParameters<typeof RectangleScaleController<CSS3DObject, HTMLElement>>);
|
|
5
|
+
private addHTMLEventListener;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseController } from '../Base/BaseController';
|
|
2
|
+
import type { MoveHelperAbstract } from '../Helper';
|
|
3
|
+
export declare class MoveController<T extends MoveHelperAbstract = MoveHelperAbstract> extends BaseController<T> {
|
|
4
|
+
private startInfo?;
|
|
5
|
+
constructor(...params: ConstructorParameters<typeof BaseController<T>>);
|
|
6
|
+
/**
|
|
7
|
+
* @description: 拖动开始,找出拖的Direction
|
|
8
|
+
*/
|
|
9
|
+
private dragStart;
|
|
10
|
+
private dragging;
|
|
11
|
+
private move;
|
|
12
|
+
private dragEnd;
|
|
13
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { BaseController } from '../Base/BaseController';
|
|
2
|
+
import type { RectangleScaleHelperAbstract } from '../Helper';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
import type { Direction4 } from '../typings';
|
|
5
|
+
import { Vector3 } from 'three';
|
|
6
|
+
interface StartInfo {
|
|
7
|
+
startPoint: {
|
|
8
|
+
position: Vector3;
|
|
9
|
+
direction: Direction4;
|
|
10
|
+
};
|
|
11
|
+
dragPointInCenterBottom?: boolean | null;
|
|
12
|
+
dragPointInCenterLeft?: boolean | null;
|
|
13
|
+
plane: THREE.Plane;
|
|
14
|
+
}
|
|
15
|
+
export declare abstract class RectangleScaleController<OriginObject3D extends THREE.Object3D, PointType extends THREE.Object3D | HTMLElement> extends BaseController<RectangleScaleHelperAbstract<OriginObject3D, PointType>> {
|
|
16
|
+
protected startInfo?: StartInfo;
|
|
17
|
+
constructor(...params: ConstructorParameters<typeof BaseController<RectangleScaleHelperAbstract<OriginObject3D, PointType>>>);
|
|
18
|
+
enable(): void;
|
|
19
|
+
disable(): void;
|
|
20
|
+
show(): void;
|
|
21
|
+
hide(): void;
|
|
22
|
+
protected getDragPlane(): THREE.Plane;
|
|
23
|
+
protected dragStart(mousePoint: {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
}, point: {
|
|
27
|
+
position: THREE.Vector3;
|
|
28
|
+
direction: Direction4;
|
|
29
|
+
}): void;
|
|
30
|
+
protected dragging(point: {
|
|
31
|
+
x: number;
|
|
32
|
+
y: number;
|
|
33
|
+
}): false | void;
|
|
34
|
+
protected scale(raycaster: THREE.Raycaster): void;
|
|
35
|
+
protected dragEnd(): void;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseController } from '../Base/BaseController';
|
|
2
|
+
import type { RotateHelperAbstract } from '../Helper';
|
|
3
|
+
export declare class RotateController<T extends RotateHelperAbstract = RotateHelperAbstract> extends BaseController<T> {
|
|
4
|
+
private startInfo?;
|
|
5
|
+
private lastRotation?;
|
|
6
|
+
private rotations;
|
|
7
|
+
private helperObject3DQuaternion;
|
|
8
|
+
constructor(...params: ConstructorParameters<typeof BaseController<T>>);
|
|
9
|
+
initialHelperQuaternion(): void;
|
|
10
|
+
/**
|
|
11
|
+
* @description: 拖动开始,找出拖的Direction
|
|
12
|
+
*/
|
|
13
|
+
private dragStart;
|
|
14
|
+
private dragging;
|
|
15
|
+
private rotate;
|
|
16
|
+
private dragEnd;
|
|
17
|
+
private getAngleHelper;
|
|
18
|
+
private setAngleHelperStart;
|
|
19
|
+
private setAngleHelperLength;
|
|
20
|
+
private setTipsAngle;
|
|
21
|
+
private setTipsPosition;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Direction4 } from '../../typings';
|
|
2
|
+
interface Square {
|
|
3
|
+
element: HTMLElement;
|
|
4
|
+
direction: Direction4;
|
|
5
|
+
}
|
|
6
|
+
export declare function rectangleScaleDom(): {
|
|
7
|
+
container: HTMLElement;
|
|
8
|
+
squares: [Square, Square, Square, Square, Square, Square, Square, Square];
|
|
9
|
+
};
|
|
10
|
+
export declare function backgroundDom(): HTMLElement;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Object3D } from 'three';
|
|
2
|
+
import type { Direction } from '../typings';
|
|
3
|
+
import { MoveHelperAbstract } from '.';
|
|
4
|
+
import { ArrowGroup } from './Objects/ArrowGroup';
|
|
5
|
+
export declare class MoveHelper extends MoveHelperAbstract {
|
|
6
|
+
xArrow: ArrowGroup;
|
|
7
|
+
yArrow: ArrowGroup;
|
|
8
|
+
zArrow: ArrowGroup;
|
|
9
|
+
constructor(originObject3D: Object3D);
|
|
10
|
+
show(): void;
|
|
11
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
12
|
+
dispose(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import type { Direction } from '../../typings';
|
|
3
|
+
import { DirectionGroup, DirectionMesh } from '../../utils';
|
|
4
|
+
interface InstanceParameter {
|
|
5
|
+
direction: Direction;
|
|
6
|
+
color?: THREE.Color | string | number;
|
|
7
|
+
}
|
|
8
|
+
export declare class ArrowGroup extends DirectionGroup {
|
|
9
|
+
line: DirectionMesh<THREE.Geometry, THREE.MeshBasicMaterial>;
|
|
10
|
+
arrow: DirectionMesh<THREE.ConeGeometry, THREE.MeshBasicMaterial>;
|
|
11
|
+
private lineHeight;
|
|
12
|
+
private arrowHeight;
|
|
13
|
+
constructor(param: InstanceParameter);
|
|
14
|
+
private formatArrow;
|
|
15
|
+
private formatLine;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export declare class OutlineHelper extends THREE.Group {
|
|
3
|
+
box: THREE.Mesh<THREE.BufferGeometry, THREE.MeshBasicMaterial>;
|
|
4
|
+
outline: THREE.LineSegments<THREE.BufferGeometry, THREE.LineBasicMaterial>;
|
|
5
|
+
private originObject;
|
|
6
|
+
private positionAttribute;
|
|
7
|
+
constructor(obj: THREE.Object3D);
|
|
8
|
+
private update;
|
|
9
|
+
private createOutline;
|
|
10
|
+
private createBox;
|
|
11
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { RectangleScaleHelperAbstract } from '.';
|
|
3
|
+
import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
|
|
4
|
+
import type { Vector3 } from 'three';
|
|
5
|
+
import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
|
|
6
|
+
import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/CSS3DObjectPlus';
|
|
7
|
+
declare type NonVoid<T> = T extends void ? never : T;
|
|
8
|
+
declare type OriginObjectType = CSS3DObject | THREE.Object3D;
|
|
9
|
+
export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObjectType> extends RectangleScaleHelperAbstract<T, HTMLElement> {
|
|
10
|
+
points: RectangleScaleHelperAbstract<THREE.Object3D, HTMLElement>['points'];
|
|
11
|
+
cornerPositions: Vector3[];
|
|
12
|
+
css3DInstance?: NonVoid<Create3DElementReturnType>;
|
|
13
|
+
get helperObject(): CSS3DObjectPlus<HTMLElement>;
|
|
14
|
+
plane?: THREE.Mesh<THREE.PlaneGeometry, THREE.MeshBasicMaterial>;
|
|
15
|
+
private css3DRenderer;
|
|
16
|
+
private camera;
|
|
17
|
+
private scene;
|
|
18
|
+
private container;
|
|
19
|
+
private enabled;
|
|
20
|
+
constructor(originObject3D: T, container: Element, camera: THREE.Camera, scene: THREE.Scene);
|
|
21
|
+
updatePosition(): void;
|
|
22
|
+
updateQuaternion(): void;
|
|
23
|
+
applyMatrix4(matrix: THREE.Matrix4): void;
|
|
24
|
+
showDraggingHelper(): void;
|
|
25
|
+
applyHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
26
|
+
origin?: Vector3;
|
|
27
|
+
helperOrigin?: Vector3;
|
|
28
|
+
}): void;
|
|
29
|
+
updatePoints(): void;
|
|
30
|
+
applyHelperQuaternion(quaternion: THREE.Quaternion, origin: THREE.Vector3): void;
|
|
31
|
+
enable(): void;
|
|
32
|
+
disable(): void;
|
|
33
|
+
show(): void;
|
|
34
|
+
hide(): void;
|
|
35
|
+
dispose(): void;
|
|
36
|
+
private initRectangleScaleHelper;
|
|
37
|
+
private getCornerPositions;
|
|
38
|
+
private calculatePointPosition;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import type { Object3D } from 'three';
|
|
3
|
+
import { RotateHelperAbstract } from '../Base/BaseHelper';
|
|
4
|
+
import type { Color, Direction } from '../typings';
|
|
5
|
+
import { tipsDom } from './HTML/tipsDom';
|
|
6
|
+
export declare class RotateHelper extends RotateHelperAbstract {
|
|
7
|
+
yzCircle: Circle;
|
|
8
|
+
xzCircle: Circle;
|
|
9
|
+
xyCircle: Circle;
|
|
10
|
+
xRingHelper: AxesDashedRing;
|
|
11
|
+
yRingHelper: AxesDashedRing;
|
|
12
|
+
zRingHelper: AxesDashedRing;
|
|
13
|
+
xAngleHelper: Sector;
|
|
14
|
+
yAngleHelper: Sector;
|
|
15
|
+
zAngleHelper: Sector;
|
|
16
|
+
angleTips?: ReturnType<typeof tipsDom>;
|
|
17
|
+
private container?;
|
|
18
|
+
constructor(originObject3D: Object3D, angleTipsParams?: {
|
|
19
|
+
container: HTMLElement;
|
|
20
|
+
});
|
|
21
|
+
updateAngleHelperQuaternion(): void;
|
|
22
|
+
applyHelperQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
23
|
+
hide(): void;
|
|
24
|
+
show(): void;
|
|
25
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
26
|
+
dispose(): void;
|
|
27
|
+
private filterRingHelper;
|
|
28
|
+
private filterAngleHelper;
|
|
29
|
+
}
|
|
30
|
+
declare class Circle extends THREE.Mesh {
|
|
31
|
+
direction: Direction;
|
|
32
|
+
material: THREE.MeshBasicMaterial;
|
|
33
|
+
gapAngle: number;
|
|
34
|
+
geometry: THREE.RingGeometry;
|
|
35
|
+
constructor(options: {
|
|
36
|
+
direction: Direction;
|
|
37
|
+
color?: Color;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
declare class AxesDashedRing extends THREE.Group {
|
|
41
|
+
direction: Readonly<Direction>;
|
|
42
|
+
constructor(options: {
|
|
43
|
+
direction: Direction;
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
declare class Sector extends THREE.Mesh {
|
|
47
|
+
direction: Direction;
|
|
48
|
+
material: THREE.MeshBasicMaterial;
|
|
49
|
+
baseAxes: THREE.Vector3;
|
|
50
|
+
constructor(options: {
|
|
51
|
+
direction: Direction;
|
|
52
|
+
color?: Color;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { OutlineHelper } from './Helper';
|
|
2
|
+
import type { Object3DHelperEventMap, Object3DHelperState } from './typings';
|
|
3
|
+
import type { MoveController } from './Controller/MoveController';
|
|
4
|
+
import type { RotateController } from './Controller/RotateController';
|
|
5
|
+
import type { BaseController } from './Base/BaseController';
|
|
6
|
+
import { Subscribe } from '../Subscribe';
|
|
7
|
+
interface Controllers {
|
|
8
|
+
moveController?: MoveController;
|
|
9
|
+
rotateController?: RotateController;
|
|
10
|
+
scaleController?: BaseController;
|
|
11
|
+
}
|
|
12
|
+
interface Helpers {
|
|
13
|
+
outlineHelper?: OutlineHelper;
|
|
14
|
+
}
|
|
15
|
+
export declare class Object3DHelper {
|
|
16
|
+
controllers: Controllers;
|
|
17
|
+
state: Object3DHelperState;
|
|
18
|
+
hooks: Subscribe<Object3DHelperEventMap>;
|
|
19
|
+
private helpers;
|
|
20
|
+
private eventListener;
|
|
21
|
+
constructor(controllers?: Controllers, helpers?: Helpers);
|
|
22
|
+
/**
|
|
23
|
+
* @description Show guide line
|
|
24
|
+
*/
|
|
25
|
+
show(options?: {
|
|
26
|
+
userAction?: boolean;
|
|
27
|
+
}): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* @description Hide guide line
|
|
30
|
+
*/
|
|
31
|
+
hide(options?: {
|
|
32
|
+
userAction?: boolean;
|
|
33
|
+
}): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* @description Enable
|
|
36
|
+
*/
|
|
37
|
+
enable(options?: {
|
|
38
|
+
userAction?: boolean;
|
|
39
|
+
}): void;
|
|
40
|
+
/**
|
|
41
|
+
* @description Disable
|
|
42
|
+
*/
|
|
43
|
+
disable(options?: {
|
|
44
|
+
userAction?: boolean;
|
|
45
|
+
}): void;
|
|
46
|
+
/**
|
|
47
|
+
* @description Dispose
|
|
48
|
+
*/
|
|
49
|
+
dispose(): void;
|
|
50
|
+
setState(state: Partial<Object3DHelperState>, options?: {
|
|
51
|
+
userAction?: boolean;
|
|
52
|
+
} & Record<string, any>): void;
|
|
53
|
+
addControllers(controllers: Controllers): void;
|
|
54
|
+
addHelpers(helpers: Partial<{
|
|
55
|
+
[K in keyof Helpers]: Helpers[K];
|
|
56
|
+
}>): void;
|
|
57
|
+
getCurrentState(): Object3DHelperState;
|
|
58
|
+
private addEventListener;
|
|
59
|
+
private handleEnd;
|
|
60
|
+
private handleStart;
|
|
61
|
+
private setOtherHelpersVisible;
|
|
62
|
+
private handlePositionUpdate;
|
|
63
|
+
private handleScaleUpdate;
|
|
64
|
+
private handleRotateUpdate;
|
|
65
|
+
private handleEnable;
|
|
66
|
+
private handleVisible;
|
|
67
|
+
private everyControllerDo;
|
|
68
|
+
private handleDispose;
|
|
69
|
+
private actionIfStateIsEnabled;
|
|
70
|
+
}
|
|
71
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type * as THREE from 'three';
|
|
2
|
+
export declare type HelperEventMap = {
|
|
3
|
+
moveStart: () => void;
|
|
4
|
+
rotateStart: () => void;
|
|
5
|
+
scaleStart: () => void;
|
|
6
|
+
positionUpdate: (position: {
|
|
7
|
+
matrix4?: THREE.Matrix4;
|
|
8
|
+
} | undefined) => void;
|
|
9
|
+
rotateUpdate: (rotate: {
|
|
10
|
+
quaternion?: THREE.Quaternion;
|
|
11
|
+
origin: THREE.Vector3;
|
|
12
|
+
} | undefined) => void;
|
|
13
|
+
scaleUpdate: (scale: {
|
|
14
|
+
matrix4?: THREE.Matrix4;
|
|
15
|
+
origin?: THREE.Vector3;
|
|
16
|
+
helperOrigin: THREE.Vector3;
|
|
17
|
+
} | undefined) => void;
|
|
18
|
+
moveEnd: () => void;
|
|
19
|
+
rotateEnd: () => void;
|
|
20
|
+
scaleEnd: () => void;
|
|
21
|
+
};
|
|
22
|
+
export interface Object3DHelperState {
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
visible: boolean;
|
|
25
|
+
disposed: boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare type Object3DHelperEventMap = {
|
|
28
|
+
show: (options?: {
|
|
29
|
+
userAction?: boolean;
|
|
30
|
+
}) => void;
|
|
31
|
+
hide: (options?: {
|
|
32
|
+
userAction?: boolean;
|
|
33
|
+
}) => void;
|
|
34
|
+
enable: (options?: {
|
|
35
|
+
userAction?: boolean;
|
|
36
|
+
}) => void;
|
|
37
|
+
disable: (options?: {
|
|
38
|
+
userAction?: boolean;
|
|
39
|
+
}) => void;
|
|
40
|
+
dispose: () => void;
|
|
41
|
+
stateChange: (params: {
|
|
42
|
+
state: Object3DHelperState;
|
|
43
|
+
prevState?: Object3DHelperState;
|
|
44
|
+
}) => void;
|
|
45
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 显示区域裁剪参数
|
|
3
|
+
* @description
|
|
4
|
+
* 可通过初始化,或者 setScissor 方式设置
|
|
5
|
+
* `scissor` 是将屏幕中的内容渲染到 `renderer` 的指定区域。
|
|
6
|
+
* 页面整体长宽均为 `1`。通过类似 css 的 `left` `bottom` `width` `height` 来确定区域。
|
|
7
|
+
*/
|
|
8
|
+
export interface Scissor {
|
|
9
|
+
/** 距离左侧 */
|
|
10
|
+
left: number;
|
|
11
|
+
/** 距离下侧 */
|
|
12
|
+
bottom: number;
|
|
13
|
+
/** 宽度 */
|
|
14
|
+
width: number;
|
|
15
|
+
/** 高度 */
|
|
16
|
+
height: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
/**
|
|
3
|
+
* 计算 three 中的 mouse 的值
|
|
4
|
+
* @param mouseXY - 鼠标相对屏幕位置
|
|
5
|
+
* @param element - canvas元素(three的展示元素)
|
|
6
|
+
* @param scissor - 屏幕剪裁
|
|
7
|
+
*/
|
|
8
|
+
export declare function calculateThreeMouse(originMouse: {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
}, element: HTMLElement): THREE.Vector2 & {
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Direction } from '../typings';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
export declare class DirectionGroup extends THREE.Group {
|
|
4
|
+
direction: Direction;
|
|
5
|
+
constructor(direction?: Direction);
|
|
6
|
+
}
|
|
7
|
+
export declare class DirectionLine<T extends THREE.Geometry, K extends THREE.Material> extends THREE.Line<T, K> {
|
|
8
|
+
direction: Direction;
|
|
9
|
+
constructor(geometry?: T, material?: K, direction?: Direction);
|
|
10
|
+
}
|
|
11
|
+
export declare class DirectionMesh<T extends THREE.Geometry, K extends THREE.Material> extends THREE.Mesh<T, K> {
|
|
12
|
+
direction: Direction;
|
|
13
|
+
constructor(geometry?: T, material?: K, direction?: Direction);
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from '../../../CSS3DRenderPlugin/utils';
|
|
2
|
+
export * from './direction';
|
|
3
|
+
export * from './calculateThreeMouse';
|
|
4
|
+
export * from './normalPositionToPositions';
|
|
5
|
+
export * from './object3DBoundingPosition';
|
|
6
|
+
export * from './getMouseRaycaster';
|
|
7
|
+
export * from './filterNotColinearPoints';
|
|
8
|
+
export * from './vectorIsEqual';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function object3DBoundingPosition(): void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type * as THREE from 'three'
|
|
2
|
+
|
|
3
|
+
type EventName =
|
|
4
|
+
| 'click'
|
|
5
|
+
| 'dblclick'
|
|
6
|
+
| 'mouseover'
|
|
7
|
+
| 'mouseout'
|
|
8
|
+
| 'mousemove'
|
|
9
|
+
| 'mousedown'
|
|
10
|
+
| 'mouseup'
|
|
11
|
+
| 'contextmenu'
|
|
12
|
+
| 'touchstart'
|
|
13
|
+
| 'touchend'
|
|
14
|
+
|
|
15
|
+
declare class DomEvents {
|
|
16
|
+
public constructor(camera: THREE.Camera, domElement: HTMLElement)
|
|
17
|
+
|
|
18
|
+
public addEventListener<T extends EventName, K extends THREE.Object3D>(
|
|
19
|
+
object: K,
|
|
20
|
+
eventName: T,
|
|
21
|
+
callback: (params: {
|
|
22
|
+
type: T
|
|
23
|
+
target: K
|
|
24
|
+
origDomEvent: Event
|
|
25
|
+
intersect: THREE.Intersection & { object: K }
|
|
26
|
+
stopPropagation: () => void
|
|
27
|
+
}) => void,
|
|
28
|
+
useCapture?: boolean,
|
|
29
|
+
): void
|
|
30
|
+
|
|
31
|
+
public removeEventListener(object: THREE.Object3D, eventName: EventName, callback: (params: any) => void, useCapture?: boolean): void
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default DomEvents
|