@realsee/dnalogel 0.1.7 → 2.0.0-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/CHANGELOG.md +38 -0
- package/README.md +24 -68
- package/{plugins → dist}/CSS3DRenderPlugin/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/index.js +231 -0
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +7 -0
- package/{plugins → dist}/CameraMovementPlugin/index.d.ts +0 -0
- package/dist/CameraMovementPlugin/index.js +302 -0
- package/{plugins → dist}/CameraMovementPlugin/typing.d.ts +0 -0
- package/{plugins → dist}/ModelChassisCompassPlugin/index.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/index.js +142 -0
- package/{plugins → dist}/ModelEntryDoorGuidePlugin/index.d.ts +6 -2
- package/dist/ModelEntryDoorGuidePlugin/index.js +196 -0
- package/dist/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +1 -0
- package/{plugins → dist}/ModelRoomLabelPlugin/Controller.d.ts +3 -2
- package/dist/ModelRoomLabelPlugin/index.d.ts +12 -0
- package/dist/ModelRoomLabelPlugin/index.js +463 -0
- package/{plugins → dist}/ModelRoomLabelPlugin/typings.d.ts +2 -2
- package/{plugins → dist}/ModelRoomLabelPlugin/utils/parseData.d.ts +0 -0
- package/{plugins → dist}/ModelViewPlugin/index.d.ts +0 -0
- package/dist/ModelViewPlugin/index.js +187 -0
- package/dist/PanoCompassPlugin/Assets/roomInfoIcon.d.ts +1 -0
- package/dist/PanoCompassPlugin/getRoomInfoInstance.d.ts +8 -0
- package/dist/PanoCompassPlugin/index.d.ts +51 -0
- package/dist/PanoCompassPlugin/index.js +521 -0
- package/{plugins → dist}/PanoCursorRaycasterPlugin/index.d.ts +2 -3
- package/dist/PanoCursorRaycasterPlugin/index.js +88 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +36 -0
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +52 -0
- package/dist/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +25 -0
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +61 -0
- package/dist/PanoMeasurePlugin/Model/index.d.ts +38 -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 +22 -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 +24 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +6 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +18 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +12 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +16 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +17 -0
- package/dist/PanoMeasurePlugin/index.d.ts +7 -0
- package/dist/PanoMeasurePlugin/index.js +4789 -0
- package/dist/PanoMeasurePlugin/typings/data.d.ts +28 -0
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +28 -0
- package/dist/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
- package/dist/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -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 +2 -0
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
- package/{plugins → dist}/PanoRulerPlugin/index.d.ts +9 -5
- package/dist/PanoRulerPlugin/index.js +610 -0
- package/dist/PanoRulerPlugin/style.d.ts +2 -0
- package/{plugins → dist}/PanoRulerPlugin/typings.d.ts +0 -0
- package/dist/PanoSpatialTagPlugin/index.d.ts +33 -0
- package/dist/PanoSpatialTagPlugin/index.js +1259 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/{plugins/floorplan/TopviewFloorplanPlugin → dist/PanoSpatialTagPlugin}/style.d.ts +0 -0
- package/dist/PanoSpatialTagPlugin/typings.d.ts +40 -0
- package/dist/floorplan/Assets/camera.d.ts +1 -0
- package/dist/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/Assets/compass.d.ts +1 -0
- package/{plugins → dist}/floorplan/ModelFloorplanPlugin/Controller.d.ts +19 -14
- package/{plugins → dist}/floorplan/ModelFloorplanPlugin/index.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/index.js +3842 -0
- package/{plugins → dist}/floorplan/ModelFloorplanPlugin/typings/events.type.d.ts +0 -0
- package/{plugins → dist}/floorplan/ModelFloorplanPlugin/utils/constant.d.ts +1 -1
- package/{plugins → dist}/floorplan/ModelFloorplanPlugin/utils/correctFiveState.d.ts +0 -0
- package/{plugins → dist}/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +6 -11
- package/{plugins → dist}/floorplan/PanoFloorplanRadarPlugin/index.d.ts +0 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +1673 -0
- package/{plugins → dist}/floorplan/TopviewFloorplanPlugin/Controller.d.ts +18 -11
- package/{plugins → dist}/floorplan/TopviewFloorplanPlugin/index.d.ts +0 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +3481 -0
- package/{plugins/floorplan/ModelFloorplanPlugin/controller.style.d.ts → dist/floorplan/TopviewFloorplanPlugin/style.d.ts} +0 -0
- package/dist/floorplan/constant.d.ts +5 -0
- package/{plugins → dist}/floorplan/typings/floorplanData.d.ts +6 -0
- package/{plugins → dist}/floorplan/typings/floorplanServerData.d.ts +8 -2
- package/dist/floorplan/typings/utility.d.ts +2 -0
- package/{plugins → dist}/floorplan/utils/formatData.d.ts +3 -3
- package/{plugins → dist}/floorplan/utils/formatPosition.d.ts +3 -4
- package/dist/index.d.ts +26 -0
- package/dist/index.es.js +12928 -0
- package/dist/index.js +12967 -0
- package/dist/index.umd.js +12961 -0
- package/{shared-utils → dist/shared-utils}/Preloader.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/Subscribe.d.ts +3 -3
- package/{shared-utils → dist/shared-utils}/animationFrame/BetterTween.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/animationFrame/calculateProgress.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/animationFrame/formatRad.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/animationFrame/index.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/animationFrame/tween.d.ts +0 -0
- package/dist/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
- package/{shared-utils → dist/shared-utils}/createCanvasTextTexture.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/createLine/index.d.ts +1 -1
- package/{shared-utils → dist/shared-utils}/debounce.d.ts +1 -1
- package/{shared-utils → dist/shared-utils}/equal.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/filter.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/five/changeMode.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/five/useFivePlugin.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/formatRad.d.ts +0 -0
- package/dist/shared-utils/getPxmm.d.ts +11 -0
- package/{shared-utils → dist/shared-utils}/getRandomColor.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/isNil.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/isTruelyObject.d.ts +0 -0
- package/dist/shared-utils/math/evenNumber.d.ts +3 -0
- package/{shared-utils → dist/shared-utils}/math/planimetry.d.ts +4 -4
- package/{shared-utils → dist/shared-utils}/math/rad2Deg.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/nearlyEqual.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/nextFrame.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/noop.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/object3d2LocalMatrix.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/px2rem.d.ts +0 -0
- package/dist/shared-utils/removeArrayItem.d.ts +7 -0
- package/{shared-utils → dist/shared-utils}/tap.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/three/centerPoint.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/three/getExtraModelLoader.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/three/getNormal.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/three/getTextureLoader.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/three/loadFbxObj.d.ts +0 -0
- package/dist/shared-utils/three/loadTexture.d.ts +2 -0
- package/{shared-utils → dist/shared-utils}/three/transformPositionToVector3.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/three/transfromToMeshBasicMaterial.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/throttle.d.ts +1 -1
- package/dist/shared-utils/tinyEJSrender.d.ts +5 -0
- package/{shared-utils → dist/shared-utils}/to.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/useDebounce.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/useThrottle.d.ts +0 -0
- package/{libs/gltf-viewer → dist/shared-utils}/uuid.d.ts +0 -0
- package/{shared-utils → dist/shared-utils}/vectorTocoordinates.d.ts +0 -0
- package/{typings → dist/typings}/math.type.d.ts +0 -0
- package/{typings → dist/typings}/utils.type.d.ts +0 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +78 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1413 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/classes/ModelRoomLabelController.html +20 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -0
- package/docs/enums/ModelFloorplanErrorType.html +1 -0
- package/docs/index.html +43 -0
- package/docs/interfaces/LineJson.html +1 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -0
- package/docs/interfaces/ModelFloorplanParameterType.html +1 -0
- package/docs/interfaces/ModelFloorplanViewEvent.html +5 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -0
- package/docs/interfaces/PanoCompassPluginData.html +1 -0
- package/docs/interfaces/PanoCompassPluginParameterType.html +1 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -0
- package/docs/interfaces/PointJson.html +1 -0
- package/docs/interfaces/RoomLabel.html +13 -0
- package/docs/interfaces/TopviewFloorplanPluginParameterType.html +1 -0
- package/docs/modules.html +28 -0
- package/libs/CSS3DRenderPlugin/index.d.ts +49 -0
- package/libs/CSS3DRenderPlugin/index.js +179 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +7 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +18 -0
- package/libs/CameraMovementPlugin/index.d.ts +7 -0
- package/libs/CameraMovementPlugin/index.js +159 -0
- package/libs/CameraMovementPlugin/typing.d.ts +68 -0
- package/libs/CameraMovementPlugin/typing.js +17 -0
- package/libs/ModelChassisCompassPlugin/index.d.ts +19 -0
- package/libs/ModelChassisCompassPlugin/index.js +75 -0
- package/libs/ModelEntryDoorGuidePlugin/index.d.ts +26 -0
- package/libs/ModelEntryDoorGuidePlugin/index.js +137 -0
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +1 -0
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -0
- package/libs/ModelRoomLabelPlugin/Controller.d.ts +36 -0
- package/libs/ModelRoomLabelPlugin/Controller.js +100 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +121 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +255 -0
- package/libs/ModelRoomLabelPlugin/index.d.ts +12 -0
- package/libs/ModelRoomLabelPlugin/index.js +9 -0
- package/libs/ModelRoomLabelPlugin/typings.d.ts +35 -0
- package/libs/ModelRoomLabelPlugin/typings.js +1 -0
- package/libs/ModelRoomLabelPlugin/utils/parseData.d.ts +3 -0
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +14 -0
- package/libs/ModelViewPlugin/index.d.ts +17 -0
- package/libs/ModelViewPlugin/index.js +160 -0
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.d.ts +1 -0
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +1 -0
- package/libs/PanoCompassPlugin/getRoomInfoInstance.d.ts +8 -0
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +48 -0
- package/libs/PanoCompassPlugin/index.d.ts +51 -0
- package/libs/PanoCompassPlugin/index.js +171 -0
- package/libs/PanoCursorRaycasterPlugin/index.d.ts +48 -0
- package/libs/PanoCursorRaycasterPlugin/index.js +74 -0
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +36 -0
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +69 -0
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +52 -0
- package/libs/PanoMeasurePlugin/Controller/EditController.js +216 -0
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +44 -0
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +25 -0
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +223 -0
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +61 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +176 -0
- package/libs/PanoMeasurePlugin/Model/index.d.ts +38 -0
- package/libs/PanoMeasurePlugin/Model/index.js +114 -0
- package/libs/PanoMeasurePlugin/Model/line.d.ts +30 -0
- package/libs/PanoMeasurePlugin/Model/line.js +64 -0
- package/libs/PanoMeasurePlugin/Model/point.d.ts +16 -0
- package/libs/PanoMeasurePlugin/Model/point.js +28 -0
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +16 -0
- package/libs/PanoMeasurePlugin/Model/polyline.js +48 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +15 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +2 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +2 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +22 -0
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +108 -0
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.d.ts +11 -0
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +33 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +18 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +75 -0
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +24 -0
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +103 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +6 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +117 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +18 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +102 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +12 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +35 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +16 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +69 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +17 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +78 -0
- package/libs/PanoMeasurePlugin/index.d.ts +7 -0
- package/libs/PanoMeasurePlugin/index.js +5 -0
- package/libs/PanoMeasurePlugin/typings/data.d.ts +28 -0
- package/libs/PanoMeasurePlugin/typings/data.js +1 -0
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +28 -0
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +3 -0
- package/libs/PanoMeasurePlugin/utils/constants.d.ts +4 -0
- package/libs/PanoMeasurePlugin/utils/constants.js +31 -0
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +28 -0
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +114 -0
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +21 -0
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +27 -0
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +4 -0
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +9 -0
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +10 -0
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +14 -0
- package/libs/PanoMeasurePlugin/utils/ironbox.d.ts +1 -0
- package/libs/PanoMeasurePlugin/utils/ironbox.js +1 -0
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +6 -0
- package/libs/PanoMeasurePlugin/utils/line.d.ts +17 -0
- package/libs/PanoMeasurePlugin/utils/line.js +32 -0
- package/libs/PanoMeasurePlugin/utils/math.d.ts +17 -0
- package/libs/PanoMeasurePlugin/utils/math.js +44 -0
- package/libs/PanoMeasurePlugin/utils/mouseGroup.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +21 -0
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +6 -0
- package/libs/PanoRulerPlugin/index.d.ts +31 -0
- package/libs/PanoRulerPlugin/index.js +398 -0
- package/libs/PanoRulerPlugin/style.d.ts +2 -0
- package/libs/PanoRulerPlugin/style.js +88 -0
- package/libs/PanoRulerPlugin/typings.d.ts +21 -0
- package/libs/PanoRulerPlugin/typings.js +1 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.js +168 -0
- package/libs/PanoSpatialTagPlugin/Components/tag.js +302 -0
- package/libs/PanoSpatialTagPlugin/index.d.ts +33 -0
- package/libs/PanoSpatialTagPlugin/index.js +411 -0
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -0
- package/libs/PanoSpatialTagPlugin/style.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/style.js +8 -0
- package/libs/PanoSpatialTagPlugin/typings.d.ts +40 -0
- package/libs/PanoSpatialTagPlugin/typings.js +1 -0
- package/libs/floorplan/Assets/camera.d.ts +1 -0
- package/libs/floorplan/Assets/camera.js +1 -0
- package/libs/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
- package/libs/floorplan/Assets/floorplanExtraObject.js +1 -0
- package/libs/floorplan/Components/BaseImage.js +217 -0
- package/libs/floorplan/Components/Normalmage.js +63 -0
- package/libs/floorplan/Components/RoomHighlight/Room.js +70 -0
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +289 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +328 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +64 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +103 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +140 -0
- package/libs/floorplan/Components/SvgImage.js +83 -0
- package/libs/floorplan/ModelFloorplanPlugin/Assets/compass.d.ts +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Assets/compass.js +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Camera.js +120 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Compass.js +114 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.js +463 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Main.js +383 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.js +171 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.js +265 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.js +301 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleLabels.js +219 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +105 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +359 -0
- package/libs/floorplan/ModelFloorplanPlugin/index.d.ts +9 -0
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -0
- package/libs/floorplan/ModelFloorplanPlugin/typings/events.type.d.ts +23 -0
- package/libs/floorplan/ModelFloorplanPlugin/typings/events.type.js +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/utils/constant.d.ts +15 -0
- package/libs/floorplan/ModelFloorplanPlugin/utils/constant.js +16 -0
- package/libs/floorplan/ModelFloorplanPlugin/utils/correctFiveState.d.ts +14 -0
- package/libs/floorplan/ModelFloorplanPlugin/utils/correctFiveState.js +46 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +152 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +248 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +154 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +312 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +28 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +88 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.d.ts +8 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +62 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +191 -0
- package/libs/floorplan/TopviewFloorplanPlugin/index.d.ts +5 -0
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -0
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +8 -0
- package/libs/floorplan/constant.d.ts +5 -0
- package/libs/floorplan/constant.js +6 -0
- package/libs/floorplan/typings/floorplanData.d.ts +137 -0
- package/libs/floorplan/typings/floorplanData.js +6 -0
- package/libs/floorplan/typings/floorplanServerData.d.ts +131 -0
- package/libs/floorplan/typings/floorplanServerData.js +101 -0
- package/libs/floorplan/typings/utility.d.ts +2 -0
- package/libs/floorplan/typings/utility.js +1 -0
- package/libs/floorplan/utils/formatData.d.ts +5 -0
- package/libs/floorplan/utils/formatData.js +94 -0
- package/libs/floorplan/utils/formatPosition.d.ts +36 -0
- package/libs/floorplan/utils/formatPosition.js +50 -0
- package/libs/index.d.ts +26 -0
- package/libs/index.js +16 -0
- package/libs/shared-utils/Preloader.d.ts +6 -0
- package/libs/shared-utils/Preloader.js +38 -0
- package/libs/shared-utils/Subscribe.d.ts +45 -0
- package/libs/shared-utils/Subscribe.js +101 -0
- package/libs/shared-utils/animationFrame/BetterTween.d.ts +11 -0
- package/libs/shared-utils/animationFrame/BetterTween.js +30 -0
- package/libs/shared-utils/animationFrame/calculateProgress.d.ts +8 -0
- package/libs/shared-utils/animationFrame/calculateProgress.js +23 -0
- package/libs/shared-utils/animationFrame/formatRad.d.ts +15 -0
- package/libs/shared-utils/animationFrame/formatRad.js +20 -0
- package/libs/shared-utils/animationFrame/index.d.ts +15 -0
- package/libs/shared-utils/animationFrame/index.js +48 -0
- package/libs/shared-utils/animationFrame/tween.d.ts +75 -0
- package/libs/shared-utils/animationFrame/tween.js +44 -0
- package/libs/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
- package/libs/shared-utils/changeModelCanvasOpacity.js +15 -0
- package/libs/shared-utils/createCanvasTextTexture.d.ts +8 -0
- package/libs/shared-utils/createCanvasTextTexture.js +19 -0
- package/libs/shared-utils/createLine/index.d.ts +3 -0
- package/libs/shared-utils/createLine/index.js +8 -0
- package/libs/shared-utils/debounce.d.ts +6 -0
- package/libs/shared-utils/debounce.js +14 -0
- package/libs/shared-utils/equal.d.ts +11 -0
- package/libs/shared-utils/equal.js +84 -0
- package/libs/shared-utils/filter.d.ts +27 -0
- package/libs/shared-utils/filter.js +53 -0
- package/libs/shared-utils/five/changeMode.d.ts +2 -0
- package/libs/shared-utils/five/changeMode.js +15 -0
- package/libs/shared-utils/five/useFivePlugin.d.ts +1 -0
- package/libs/shared-utils/five/useFivePlugin.js +8 -0
- package/libs/shared-utils/formatRad.d.ts +7 -0
- package/libs/shared-utils/formatRad.js +10 -0
- package/libs/shared-utils/getPxmm.d.ts +11 -0
- package/libs/shared-utils/getPxmm.js +34 -0
- package/libs/shared-utils/getRandomColor.d.ts +1 -0
- package/libs/shared-utils/getRandomColor.js +10 -0
- package/libs/shared-utils/isNil.d.ts +10 -0
- package/libs/shared-utils/isNil.js +14 -0
- package/libs/shared-utils/isTruelyObject.d.ts +18 -0
- package/libs/shared-utils/isTruelyObject.js +20 -0
- package/libs/shared-utils/math/evenNumber.d.ts +3 -0
- package/libs/shared-utils/math/evenNumber.js +4 -0
- package/libs/shared-utils/math/planimetry.d.ts +116 -0
- package/libs/shared-utils/math/planimetry.js +288 -0
- package/libs/shared-utils/math/rad2Deg.d.ts +1 -0
- package/libs/shared-utils/math/rad2Deg.js +3 -0
- package/libs/shared-utils/nearlyEqual.d.ts +7 -0
- package/libs/shared-utils/nearlyEqual.js +9 -0
- package/libs/shared-utils/nextFrame.d.ts +1 -0
- package/libs/shared-utils/nextFrame.js +6 -0
- package/libs/shared-utils/noop.d.ts +5 -0
- package/libs/shared-utils/noop.js +7 -0
- package/libs/shared-utils/object3d2LocalMatrix.d.ts +12 -0
- package/libs/shared-utils/object3d2LocalMatrix.js +29 -0
- package/libs/shared-utils/px2rem.d.ts +1 -0
- package/libs/shared-utils/px2rem.js +4 -0
- package/libs/shared-utils/removeArrayItem.d.ts +7 -0
- package/libs/shared-utils/removeArrayItem.js +12 -0
- package/libs/shared-utils/tap.d.ts +8 -0
- package/{shared-utils → libs/shared-utils}/tap.js +4 -13
- package/libs/shared-utils/three/centerPoint.d.ts +2 -0
- package/libs/shared-utils/three/centerPoint.js +4 -0
- package/libs/shared-utils/three/getExtraModelLoader.d.ts +6 -0
- package/libs/shared-utils/three/getExtraModelLoader.js +18 -0
- package/libs/shared-utils/three/getNormal.d.ts +2 -0
- package/libs/shared-utils/three/getNormal.js +6 -0
- package/libs/shared-utils/three/getTextureLoader.d.ts +6 -0
- package/libs/shared-utils/three/getTextureLoader.js +17 -0
- package/libs/shared-utils/three/loadFbxObj.d.ts +2 -0
- package/libs/shared-utils/three/loadFbxObj.js +13 -0
- package/libs/shared-utils/three/loadTexture.d.ts +2 -0
- package/libs/shared-utils/three/loadTexture.js +10 -0
- package/libs/shared-utils/three/transformPositionToVector3.d.ts +7 -0
- package/libs/shared-utils/three/transformPositionToVector3.js +3 -0
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.d.ts +2 -0
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +14 -0
- package/libs/shared-utils/throttle.d.ts +7 -0
- package/libs/shared-utils/throttle.js +18 -0
- package/libs/shared-utils/tinyEJSrender.d.ts +5 -0
- package/libs/shared-utils/tinyEJSrender.js +180 -0
- package/libs/shared-utils/to.d.ts +8 -0
- package/libs/shared-utils/to.js +18 -0
- package/libs/shared-utils/useDebounce.d.ts +8 -0
- package/libs/shared-utils/useDebounce.js +22 -0
- package/libs/shared-utils/useThrottle.d.ts +8 -0
- package/libs/shared-utils/useThrottle.js +25 -0
- package/{shared-utils → libs/shared-utils}/uuid.d.ts +0 -0
- package/libs/shared-utils/uuid.js +11 -0
- package/libs/shared-utils/vectorTocoordinates.d.ts +7 -0
- package/libs/shared-utils/vectorTocoordinates.js +9 -0
- package/libs/typings/math.type.d.ts +44 -0
- package/libs/typings/math.type.js +1 -0
- package/libs/typings/utils.type.d.ts +2 -0
- package/libs/typings/utils.type.js +1 -0
- package/package.json +55 -17
- package/components/ARVideoFigure/ARVideoFigureMesh.d.ts +0 -44
- package/components/ARVideoFigure/ARVideoFigureMesh.js +0 -371
- package/components/ARVideoFigure/ARVideoFigureScene.d.ts +0 -11
- package/components/ARVideoFigure/ARVideoFigureScene.js +0 -85
- package/components/ARVideoFigure/ImgBgTransparent.d.ts +0 -16
- package/components/ARVideoFigure/ImgBgTransparent.js +0 -65
- package/components/ARVideoFigure/ImgBgTransparentMesh.d.ts +0 -30
- package/components/ARVideoFigure/ImgBgTransparentMesh.js +0 -183
- package/components/ARVideoFigure/fragmentShader.d.ts +0 -5
- package/components/ARVideoFigure/fragmentShader.js +0 -18
- package/components/ARVideoFigure/index.d.ts +0 -15
- package/components/ARVideoFigure/index.js +0 -80
- package/components/ARVideoFigure/vertexShader.d.ts +0 -1
- package/components/ARVideoFigure/vertexShader.js +0 -10
- package/components/GLTFView/index.d.ts +0 -72
- package/components/GLTFView/index.js +0 -149
- package/components/GlassFilters/index.d.ts +0 -32
- package/components/GlassFilters/index.js +0 -78
- package/components/ModelView/ModelViewController.d.ts +0 -18
- package/components/ModelView/ModelViewController.js +0 -157
- package/components/ModelView/index.d.ts +0 -10
- package/components/ModelView/index.js +0 -24
- package/components/PaintBrush/index.d.ts +0 -16
- package/components/PaintBrush/index.js +0 -47
- package/components/PanoTag/index.d.ts +0 -4
- package/components/PanoTag/index.js +0 -13
- package/custom.d.js +0 -3
- package/data/1aGKl9JmrlXMXx8d.d.ts +0 -104
- package/data/1aGKl9JmrlXMXx8d.js +0 -537
- package/data/54djM0oR6ky3Ey8e.d.ts +0 -55
- package/data/54djM0oR6ky3Ey8e.js +0 -350
- package/data/6gyq3v1verxD7JO1.d.ts +0 -104
- package/data/6gyq3v1verxD7JO1.js +0 -462
- package/data/8054djM0oR6ky3Ey8e.d.ts +0 -55
- package/data/8054djM0oR6ky3Ey8e.js +0 -350
- package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.d.ts +0 -84
- package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.js +0 -600
- package/data/PrXel3aqGbp34JQn.d.ts +0 -389
- package/data/PrXel3aqGbp34JQn.js +0 -4649
- package/data/XJ6NMLWnkAY3Rdx8.d.ts +0 -843
- package/data/XJ6NMLWnkAY3Rdx8.js +0 -7989
- package/data/YdoNP9K4rwQDwjJr.d.ts +0 -83
- package/data/YdoNP9K4rwQDwjJr.js +0 -1453
- package/data/ZLvK29zj4L29Jowd.d.ts +0 -55
- package/data/ZLvK29zj4L29Jowd.js +0 -372
- package/data/auto3d-njL5J99VwCmnjtQElOmXQr.d.ts +0 -86
- package/data/auto3d-njL5J99VwCmnjtQElOmXQr.js +0 -711
- package/data/extrude-walls/ZLvK29zj4L29Jowd.d.ts +0 -5
- package/data/extrude-walls/ZLvK29zj4L29Jowd.js +0 -14
- package/data/extrude-walls/lo024DEgzanMj5BE.d.ts +0 -5
- package/data/extrude-walls/lo024DEgzanMj5BE.js +0 -14
- package/data/jd6oMOzPxnQ3BvxY_B7yw51J9rXlhYhjhGTOgRVqu6WeEqjNX.d.ts +0 -85
- package/data/jd6oMOzPxnQ3BvxY_B7yw51J9rXlhYhjhGTOgRVqu6WeEqjNX.js +0 -511
- package/data/lo024DEgzanMj5BE.d.ts +0 -55
- package/data/lo024DEgzanMj5BE.js +0 -966
- package/data/oPzy3ApbjjpD8YdR.d.ts +0 -83
- package/data/oPzy3ApbjjpD8YdR.js +0 -283
- package/data/qjAxMG4XbPn96wKG.d.ts +0 -104
- package/data/qjAxMG4XbPn96wKG.js +0 -637
- package/data/rXel3aPQRRBD4JQn.d.ts +0 -86
- package/data/rXel3aPQRRBD4JQn.js +0 -622
- package/data/vLykj3NWrllMrG06.d.ts +0 -91
- package/data/vLykj3NWrllMrG06.js +0 -2729
- package/data/wz0QV9KA4ugyo9ME.d.ts +0 -39
- package/data/wz0QV9KA4ugyo9ME.js +0 -136
- package/data/zxMawr9raSg8LYjG.d.ts +0 -53
- package/data/zxMawr9raSg8LYjG.js +0 -590
- package/examples/FiveStateController/index.js +0 -134
- package/examples/VRHouse/Mobile.js +0 -36
- package/examples/VRHouse/PC.js +0 -36
- package/examples/VRHouse/index.js +0 -36
- package/index.d.ts +0 -15
- package/index.js +0 -45
- package/libs/gltf-viewer/Subscribe.d.ts +0 -76
- package/libs/gltf-viewer/Subscribe.js +0 -231
- package/libs/gltf-viewer/coordsMoveByOffset.d.ts +0 -13
- package/libs/gltf-viewer/coordsMoveByOffset.js +0 -22
- package/libs/gltf-viewer/coordsToDirection.d.ts +0 -5
- package/libs/gltf-viewer/coordsToDirection.js +0 -41
- package/libs/gltf-viewer/formatRad.d.ts +0 -1
- package/libs/gltf-viewer/formatRad.js +0 -13
- package/libs/gltf-viewer/getFrameTime.d.ts +0 -1
- package/libs/gltf-viewer/getFrameTime.js +0 -28
- package/libs/gltf-viewer/index.d.ts +0 -55
- package/libs/gltf-viewer/index.js +0 -650
- package/libs/gltf-viewer/mouseWheel.d.ts +0 -2
- package/libs/gltf-viewer/mouseWheel.js +0 -59
- package/libs/gltf-viewer/requestAnimationFrame.d.ts +0 -1
- package/libs/gltf-viewer/requestAnimationFrame.js +0 -18
- package/libs/gltf-viewer/requestAnimationFrameInterval.d.ts +0 -1
- package/libs/gltf-viewer/requestAnimationFrameInterval.js +0 -31
- package/libs/gltf-viewer/uuid.js +0 -28
- package/plugins/AutoPreloadPlugin/index.d.ts +0 -23
- package/plugins/AutoPreloadPlugin/index.js +0 -111
- package/plugins/CSS3DRenderPlugin/components/Marker/index.d.ts +0 -12
- package/plugins/CSS3DRenderPlugin/components/Marker/index.js +0 -121
- package/plugins/CSS3DRenderPlugin/index.js +0 -298
- package/plugins/CameraMovementPlugin/index.js +0 -362
- package/plugins/CameraMovementPlugin/typing.js +0 -37
- package/plugins/ModelChassisCompassPlugin/index.js +0 -157
- package/plugins/ModelEntryDoorGuidePlugin/index.js +0 -247
- package/plugins/ModelExtrudeWallsPlugin/index.d.ts +0 -16
- package/plugins/ModelExtrudeWallsPlugin/index.js +0 -252
- package/plugins/ModelRoomLabelPlugin/Controller.js +0 -153
- package/plugins/ModelRoomLabelPlugin/RoomLabelItem.d.ts +0 -8
- package/plugins/ModelRoomLabelPlugin/RoomLabelItem.js +0 -66
- package/plugins/ModelRoomLabelPlugin/RoomLabelItems.d.ts +0 -7
- package/plugins/ModelRoomLabelPlugin/RoomLabelItems.js +0 -159
- package/plugins/ModelRoomLabelPlugin/index.d.ts +0 -8
- package/plugins/ModelRoomLabelPlugin/index.js +0 -18
- package/plugins/ModelRoomLabelPlugin/typings.js +0 -7
- package/plugins/ModelRoomLabelPlugin/utils/parseData.js +0 -35
- package/plugins/ModelTVVideoPlugin/index.d.ts +0 -21
- package/plugins/ModelTVVideoPlugin/index.js +0 -397
- package/plugins/ModelViewPlugin/index.js +0 -223
- package/plugins/PanoCursorRaycasterPlugin/PanoCursorRaycasterPluginUsage.d.ts +0 -48
- package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.d.ts +0 -9
- package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.js +0 -117
- package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.d.ts +0 -11
- package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.js +0 -39
- package/plugins/PanoCursorRaycasterPlugin/index.js +0 -126
- package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.d.ts +0 -5
- package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.js +0 -27
- package/plugins/PanoCursorRaycasterPlugin/utils/createLine.d.ts +0 -3
- package/plugins/PanoCursorRaycasterPlugin/utils/createLine.js +0 -48
- package/plugins/PanoDoorLabelPlugin/index.d.ts +0 -4
- package/plugins/PanoDoorLabelPlugin/index.js +0 -14
- package/plugins/PanoIRobotPlugin/index.d.ts +0 -10
- package/plugins/PanoIRobotPlugin/index.js +0 -18
- package/plugins/PanoMaskSelectorPlugin/compare.d.ts +0 -1
- package/plugins/PanoMaskSelectorPlugin/compare.js +0 -17
- package/plugins/PanoMaskSelectorPlugin/createBox.d.ts +0 -7
- package/plugins/PanoMaskSelectorPlugin/createBox.js +0 -79
- package/plugins/PanoMaskSelectorPlugin/createTextures.d.ts +0 -3
- package/plugins/PanoMaskSelectorPlugin/createTextures.js +0 -45
- package/plugins/PanoMaskSelectorPlugin/fragmentShader.d.ts +0 -1
- package/plugins/PanoMaskSelectorPlugin/fragmentShader.js +0 -10
- package/plugins/PanoMaskSelectorPlugin/index.d.ts +0 -49
- package/plugins/PanoMaskSelectorPlugin/index.js +0 -348
- package/plugins/PanoMaskSelectorPlugin/vertexShader.d.ts +0 -1
- package/plugins/PanoMaskSelectorPlugin/vertexShader.js +0 -10
- package/plugins/PanoRulerPlugin/data/roomInfo.d.ts +0 -3
- package/plugins/PanoRulerPlugin/data/roomInfo.js +0 -51
- package/plugins/PanoRulerPlugin/data/roomRules.d.ts +0 -3
- package/plugins/PanoRulerPlugin/data/roomRules.js +0 -235
- package/plugins/PanoRulerPlugin/index.js +0 -637
- package/plugins/PanoRulerPlugin/typings.js +0 -7
- package/plugins/PanoTVVideoPlugin/index.d.ts +0 -26
- package/plugins/PanoTVVideoPlugin/index.js +0 -433
- package/plugins/TreasurePlugin/Controller.d.ts +0 -73
- package/plugins/TreasurePlugin/Controller.js +0 -250
- package/plugins/TreasurePlugin/TreasureFaceAnime.d.ts +0 -25
- package/plugins/TreasurePlugin/TreasureFaceAnime.js +0 -143
- package/plugins/TreasurePlugin/TreasureObject.d.ts +0 -53
- package/plugins/TreasurePlugin/TreasureObject.js +0 -406
- package/plugins/TreasurePlugin/TreasureOpenAnime.d.ts +0 -25
- package/plugins/TreasurePlugin/TreasureOpenAnime.js +0 -127
- package/plugins/TreasurePlugin/constants.d.ts +0 -33
- package/plugins/TreasurePlugin/constants.js +0 -67
- package/plugins/TreasurePlugin/index.d.ts +0 -11
- package/plugins/TreasurePlugin/index.js +0 -26
- package/plugins/TreasurePlugin/typings.d.ts +0 -2
- package/plugins/TreasurePlugin/typings.js +0 -7
- package/plugins/floorplan/Assets/floorplanExtraObject.d.ts +0 -1
- package/plugins/floorplan/Assets/floorplanExtraObject.js +0 -10
- package/plugins/floorplan/ModelFloorplanPlugin/Controller.js +0 -626
- package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.d.ts +0 -13
- package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.js +0 -78
- package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.d.ts +0 -5
- package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.js +0 -84
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.d.ts +0 -10
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.js +0 -129
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.d.ts +0 -13
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.js +0 -118
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.d.ts +0 -13
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.js +0 -62
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.d.ts +0 -20
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.js +0 -88
- package/plugins/floorplan/ModelFloorplanPlugin/controller.style.js +0 -16
- package/plugins/floorplan/ModelFloorplanPlugin/index.js +0 -20
- package/plugins/floorplan/ModelFloorplanPlugin/typings/events.type.js +0 -7
- package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.js +0 -33
- package/plugins/floorplan/ModelFloorplanPlugin/utils/correctFiveState.js +0 -154
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.d.ts +0 -13
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.js +0 -113
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.d.ts +0 -3
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.js +0 -39
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.d.ts +0 -5
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.js +0 -66
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.d.ts +0 -9
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.js +0 -126
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.d.ts +0 -11
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.js +0 -58
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.d.ts +0 -17
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.js +0 -85
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.d.ts +0 -2
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.js +0 -15
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.js +0 -211
- package/plugins/floorplan/PanoFloorplanRadarPlugin/index.js +0 -20
- package/plugins/floorplan/TopviewFloorplanPlugin/Controller.js +0 -262
- package/plugins/floorplan/TopviewFloorplanPlugin/index.js +0 -18
- package/plugins/floorplan/TopviewFloorplanPlugin/style.js +0 -16
- package/plugins/floorplan/components/FloorplanImage.d.ts +0 -7
- package/plugins/floorplan/components/FloorplanImage.js +0 -90
- package/plugins/floorplan/typings/floorplanData.js +0 -7
- package/plugins/floorplan/typings/floorplanServerData.js +0 -382
- package/plugins/floorplan/utils/formatData.js +0 -217
- package/plugins/floorplan/utils/formatPosition.js +0 -89
- package/shared-utils/Preloader.js +0 -57
- package/shared-utils/Subscribe.js +0 -230
- package/shared-utils/animationFrame/BetterTween.js +0 -103
- package/shared-utils/animationFrame/calculateProgress.js +0 -40
- package/shared-utils/animationFrame/formatRad.js +0 -36
- package/shared-utils/animationFrame/index.js +0 -81
- package/shared-utils/animationFrame/tween.js +0 -92
- package/shared-utils/changeModelCanvansOpacity.d.ts +0 -2
- package/shared-utils/changeModelCanvansOpacity.js +0 -38
- package/shared-utils/createCanvasTextTexture.js +0 -31
- package/shared-utils/createFiveContainer.d.ts +0 -10
- package/shared-utils/createFiveContainer.js +0 -171
- package/shared-utils/createLine/index.js +0 -43
- package/shared-utils/debounce.js +0 -30
- package/shared-utils/equal.js +0 -107
- package/shared-utils/filter.js +0 -127
- package/shared-utils/five/changeMode.js +0 -82
- package/shared-utils/five/useFivePlugin.js +0 -17
- package/shared-utils/formatRad.js +0 -18
- package/shared-utils/getPxmm.d.ts +0 -6
- package/shared-utils/getPxmm.js +0 -51
- package/shared-utils/getRandomColor.js +0 -23
- package/shared-utils/isNil.js +0 -26
- package/shared-utils/isTruelyObject.js +0 -31
- package/shared-utils/math/evenNumber.d.ts +0 -1
- package/shared-utils/math/evenNumber.js +0 -13
- package/shared-utils/math/planimetry.js +0 -352
- package/shared-utils/math/rad2Deg.js +0 -12
- package/shared-utils/nearlyEqual.js +0 -19
- package/shared-utils/nextFrame.js +0 -15
- package/shared-utils/noop.js +0 -19
- package/shared-utils/object3d2LocalMatrix.js +0 -79
- package/shared-utils/px2rem.js +0 -22
- package/shared-utils/three/centerPoint.js +0 -14
- package/shared-utils/three/getExtraModelLoader.js +0 -45
- package/shared-utils/three/getNormal.js +0 -17
- package/shared-utils/three/getTextureLoader.js +0 -50
- package/shared-utils/three/loadFbxObj.js +0 -54
- package/shared-utils/three/loadTexture.d.ts +0 -2
- package/shared-utils/three/loadTexture.js +0 -46
- package/shared-utils/three/transformPositionToVector3.js +0 -20
- package/shared-utils/three/transfromToMeshBasicMaterial.js +0 -33
- package/shared-utils/throttle.js +0 -29
- package/shared-utils/to.js +0 -67
- package/shared-utils/useDebounce.js +0 -49
- package/shared-utils/useThrottle.js +0 -47
- package/shared-utils/uuid.js +0 -28
- package/shared-utils/vectorTocoordinates.js +0 -18
- package/typedoc/components.d.ts +0 -6
- package/typedoc/components.js +0 -7
- package/typedoc/plugins.d.ts +0 -19
- package/typedoc/plugins.js +0 -165
- package/typedoc/shared-utils.d.ts +0 -3
- package/typedoc/shared-utils.js +0 -7
- package/typedoc/typings.d.ts +0 -3
- package/typedoc/typings.js +0 -7
- package/typings/math.type.js +0 -7
- package/typings/utils.type.js +0 -7
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FivePlugin } from '@realsee/five';
|
|
2
|
+
import { TopviewFloorplanPluginParameterType, TopviewFloorplanPluginReturnType } from './Controller';
|
|
3
|
+
export declare const TopviewFloorplanPlugin: FivePlugin<TopviewFloorplanPluginParameterType, TopviewFloorplanPluginReturnType>;
|
|
4
|
+
export default TopviewFloorplanPlugin;
|
|
5
|
+
export type { TopviewFloorplanPluginReturnType, TopviewFloorplanPluginParameterType } from './Controller';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pluginStyle: Partial<CSSStyleDeclaration>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var FLOOR_PLAN_ATTACHED_TO;
|
|
2
|
+
(function (FLOOR_PLAN_ATTACHED_TO) {
|
|
3
|
+
FLOOR_PLAN_ATTACHED_TO[FLOOR_PLAN_ATTACHED_TO["FLOOR"] = 1] = "FLOOR";
|
|
4
|
+
FLOOR_PLAN_ATTACHED_TO[FLOOR_PLAN_ATTACHED_TO["CEILING"] = 2] = "CEILING";
|
|
5
|
+
FLOOR_PLAN_ATTACHED_TO[FLOOR_PLAN_ATTACHED_TO["BOUNDING_CENTER"] = 3] = "BOUNDING_CENTER";
|
|
6
|
+
})(FLOOR_PLAN_ATTACHED_TO || (FLOOR_PLAN_ATTACHED_TO = {}));
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file 对输入到户型图相关插件内的数据做 format 之后的数据
|
|
3
|
+
* 1. 数据的下划线到驼峰的转换
|
|
4
|
+
* 2. svg url 到 svg content 的处理
|
|
5
|
+
*/
|
|
6
|
+
import type { RecordKeys, RecordValue } from './utility';
|
|
7
|
+
/** 户型图坐标,坐标原点时户型图中心点,单位是户型图单位 */
|
|
8
|
+
export interface FloorplanPosition {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
}
|
|
12
|
+
/** 户型图图片坐标,坐标原点是图片左上角,取值范围是 [0, 1],表示距离左上角的相对距离 */
|
|
13
|
+
export interface FloorplanImagePosition {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
}
|
|
17
|
+
/** 户型图线框图 */
|
|
18
|
+
export interface FloorplanOutlineItem {
|
|
19
|
+
url: string;
|
|
20
|
+
index: number;
|
|
21
|
+
svgUrl?: string;
|
|
22
|
+
svgContent?: string;
|
|
23
|
+
}
|
|
24
|
+
/** 户型图入户门 */
|
|
25
|
+
export interface FloorplanEntrance {
|
|
26
|
+
/** 入户门角度 */
|
|
27
|
+
rad: number;
|
|
28
|
+
/** 入户门所在的位置「户型图坐标系」 */
|
|
29
|
+
position: FloorplanPosition;
|
|
30
|
+
/** 入户门在户型图上相对坐标 */
|
|
31
|
+
positionInImage: FloorplanImagePosition;
|
|
32
|
+
/** 入户门与北的朝向 */
|
|
33
|
+
northRad: number;
|
|
34
|
+
/** 入户门所在房间 ID */
|
|
35
|
+
roomId: string;
|
|
36
|
+
/** 入户门所楼层 */
|
|
37
|
+
floorIndex: number;
|
|
38
|
+
}
|
|
39
|
+
/** 户型图 FloorplanBounding
|
|
40
|
+
* @description 坐标都是户型图坐标
|
|
41
|
+
*/
|
|
42
|
+
export interface FloorplanBounding {
|
|
43
|
+
/** 户型图在 X 和 Y 轴上的最大值 */
|
|
44
|
+
max: FloorplanPosition;
|
|
45
|
+
/** 户型图在 X 和 Y 轴上的最小值 */
|
|
46
|
+
min: FloorplanPosition;
|
|
47
|
+
/** 户型图的中心位置 */
|
|
48
|
+
origin: FloorplanPosition;
|
|
49
|
+
}
|
|
50
|
+
/** 户型图房屋标签 */
|
|
51
|
+
export interface FloorplanRoomLabelItem {
|
|
52
|
+
/** 房间的中心点坐标 */
|
|
53
|
+
position: FloorplanPosition;
|
|
54
|
+
/** 房间的中心在户型图上的相对位置 */
|
|
55
|
+
positionInImage: FloorplanImagePosition;
|
|
56
|
+
}
|
|
57
|
+
/** 户型图房间数据 */
|
|
58
|
+
export interface FloorplanRoomItem {
|
|
59
|
+
id: string;
|
|
60
|
+
/** 房间面积
|
|
61
|
+
* @description 单位是平方毫米
|
|
62
|
+
*/
|
|
63
|
+
size: number;
|
|
64
|
+
name: string;
|
|
65
|
+
/** 围成房间区域的坐标路径
|
|
66
|
+
* @description 坐标类型是户型图坐标
|
|
67
|
+
*/
|
|
68
|
+
path: FloorplanPosition[];
|
|
69
|
+
/** 房屋类型
|
|
70
|
+
* @description 对应关系参考上方 ROOM_TYPE_MAP
|
|
71
|
+
*/
|
|
72
|
+
roomType: string;
|
|
73
|
+
/** 地板类型
|
|
74
|
+
* @description 对应关系参考上方 FLOOR_TYPE_MAP
|
|
75
|
+
*/
|
|
76
|
+
floorType: number;
|
|
77
|
+
roomLabel: FloorplanRoomLabelItem;
|
|
78
|
+
/** 当前房间里的 observer 索引 */
|
|
79
|
+
observerIndexs: number[];
|
|
80
|
+
}
|
|
81
|
+
/** 户型图标尺 */
|
|
82
|
+
export declare type FloorplanRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanPosition[][]>;
|
|
83
|
+
export declare type RuleLabelsKey = RecordKeys<FloorplanRuleLabels>;
|
|
84
|
+
export declare type RuleLabelsValue = RecordValue<FloorplanRuleLabels>;
|
|
85
|
+
/** 当前楼层的数据 */
|
|
86
|
+
export interface FloorplanFloorData {
|
|
87
|
+
floorName: string;
|
|
88
|
+
floorIndex: number;
|
|
89
|
+
rooms: FloorplanRoomItem[];
|
|
90
|
+
rules: FloorplanRuleLabels;
|
|
91
|
+
}
|
|
92
|
+
/** 对 observer 做一些样式上的计算
|
|
93
|
+
* @description 每一个 floorplanObserver 对应一个 observer
|
|
94
|
+
* @description floorplanObserver 和 observer 在自身数组中的索引坐标应该是相同的
|
|
95
|
+
*/
|
|
96
|
+
export interface FloorplanObserver {
|
|
97
|
+
index: number;
|
|
98
|
+
floorIndex: number;
|
|
99
|
+
position: FloorplanPosition;
|
|
100
|
+
positionInImage: FloorplanImagePosition;
|
|
101
|
+
}
|
|
102
|
+
/** 户型图内部使用的数据 */
|
|
103
|
+
export interface FloorplanData {
|
|
104
|
+
outlines: FloorplanOutlineItem[];
|
|
105
|
+
floorDatas: FloorplanFloorData[];
|
|
106
|
+
entrance: FloorplanEntrance | null;
|
|
107
|
+
bounding: FloorplanBounding;
|
|
108
|
+
observers: FloorplanObserver[];
|
|
109
|
+
}
|
|
110
|
+
/** 能够映射到雷达图上的三维物体 */
|
|
111
|
+
export interface FloorplanExtraObject3D {
|
|
112
|
+
id: string;
|
|
113
|
+
position: {
|
|
114
|
+
x: number;
|
|
115
|
+
y: number;
|
|
116
|
+
z: number;
|
|
117
|
+
};
|
|
118
|
+
icon?: {
|
|
119
|
+
url: string;
|
|
120
|
+
width: number;
|
|
121
|
+
height: number;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
/** 添加到户型图上的额外物体 */
|
|
125
|
+
export interface FloorplanExtraObject {
|
|
126
|
+
id: string;
|
|
127
|
+
icon: {
|
|
128
|
+
url: string;
|
|
129
|
+
width: number;
|
|
130
|
+
height: number;
|
|
131
|
+
};
|
|
132
|
+
floorIndex: number;
|
|
133
|
+
/** 入户门所在的位置「户型图坐标系」 */
|
|
134
|
+
position: FloorplanPosition;
|
|
135
|
+
/** 入户门在户型图上相对坐标 */
|
|
136
|
+
positionInImage: FloorplanImagePosition;
|
|
137
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/** 房屋数据映射表 */
|
|
2
|
+
export declare const ROOM_FETILE_TYPE_MAP: ({
|
|
3
|
+
type: number;
|
|
4
|
+
floorType: number;
|
|
5
|
+
roomType: string;
|
|
6
|
+
name: string;
|
|
7
|
+
onlySubArea?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
type: number;
|
|
10
|
+
floorType: number;
|
|
11
|
+
roomType: string;
|
|
12
|
+
name: string;
|
|
13
|
+
onlySubArea: boolean;
|
|
14
|
+
})[];
|
|
15
|
+
/** 地板信息映射表 */
|
|
16
|
+
export declare const FLOOR_TYPE_MAP: {
|
|
17
|
+
type: number;
|
|
18
|
+
description: string;
|
|
19
|
+
}[];
|
|
20
|
+
/** 房屋类型映射表 */
|
|
21
|
+
export declare const ROOM_TYPE_MAP: {
|
|
22
|
+
roomType: string;
|
|
23
|
+
description: string;
|
|
24
|
+
}[];
|
|
25
|
+
/** 户型图坐标,坐标原点时户型图中心点,单位是户型图单位 */
|
|
26
|
+
export interface FloorplanServerPosition {
|
|
27
|
+
x: number;
|
|
28
|
+
y: number;
|
|
29
|
+
}
|
|
30
|
+
/** 户型图图片坐标,坐标原点是图片左上角,取值范围是 [0, 1],表示距离左上角的相对距离 */
|
|
31
|
+
export interface FloorplanServerImagePosition {
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
}
|
|
35
|
+
/** 户型图线框图 */
|
|
36
|
+
export interface FloorplanServerOutlineItem {
|
|
37
|
+
url: string;
|
|
38
|
+
index: number;
|
|
39
|
+
checksum?: string;
|
|
40
|
+
svg_url?: string;
|
|
41
|
+
}
|
|
42
|
+
/** 户型图入户门 */
|
|
43
|
+
export interface FloorplanServerEntrance {
|
|
44
|
+
/** 入户门角度 */
|
|
45
|
+
rad: number;
|
|
46
|
+
/** 入户门所在的位置「户型图坐标系」 */
|
|
47
|
+
position: FloorplanServerPosition;
|
|
48
|
+
/** 入户门在户型图上相对坐标 */
|
|
49
|
+
position_in_image: FloorplanServerImagePosition;
|
|
50
|
+
/** 入户门与北的朝向 */
|
|
51
|
+
north_rad: number;
|
|
52
|
+
/** 入户门所在房间 ID */
|
|
53
|
+
room_id: string;
|
|
54
|
+
/** 入户门所楼层 */
|
|
55
|
+
floor_index: number;
|
|
56
|
+
}
|
|
57
|
+
/** 户型图 FloorplanServerBounding
|
|
58
|
+
* @description 坐标都是户型图坐标
|
|
59
|
+
*/
|
|
60
|
+
export interface FloorplanServerBounding {
|
|
61
|
+
/** 户型图在 X 和 Y 轴上的最大值 */
|
|
62
|
+
max: FloorplanServerPosition;
|
|
63
|
+
/** 户型图在 X 和 Y 轴上的最小值 */
|
|
64
|
+
min: FloorplanServerPosition;
|
|
65
|
+
/** 户型图的中心位置 */
|
|
66
|
+
origin: FloorplanServerPosition;
|
|
67
|
+
}
|
|
68
|
+
/** 户型图房屋标签 */
|
|
69
|
+
export interface FloorplanServerRoomLabelItem {
|
|
70
|
+
/** 房间的中心点坐标 */
|
|
71
|
+
position: FloorplanServerPosition;
|
|
72
|
+
/** 房间的中心在户型图上的相对位置 */
|
|
73
|
+
position_in_image: FloorplanServerImagePosition;
|
|
74
|
+
}
|
|
75
|
+
/** 户型图房间数据 */
|
|
76
|
+
export interface FloorplanServerRoomItem {
|
|
77
|
+
id: string;
|
|
78
|
+
/** 房间面积
|
|
79
|
+
* @description 单位是平方毫米
|
|
80
|
+
*/
|
|
81
|
+
size: number;
|
|
82
|
+
/** 房屋类型
|
|
83
|
+
* @description 对应关系参考上方 ROOM_DETAILS_TYPE_MAP
|
|
84
|
+
*/
|
|
85
|
+
type: number;
|
|
86
|
+
name: string;
|
|
87
|
+
/** 围成房间区域的坐标路径
|
|
88
|
+
* @description 坐标类型是户型图坐标
|
|
89
|
+
*/
|
|
90
|
+
path: FloorplanServerPosition[];
|
|
91
|
+
/** 房屋类型
|
|
92
|
+
* @description 对应关系参考上方 ROOM_TYPE_MAP
|
|
93
|
+
*/
|
|
94
|
+
room_type: string;
|
|
95
|
+
/** 地板类型
|
|
96
|
+
* @description 对应关系参考上方 FLOOR_TYPE_MAP
|
|
97
|
+
*/
|
|
98
|
+
floor_type: number;
|
|
99
|
+
room_label: FloorplanServerRoomLabelItem;
|
|
100
|
+
/** 当前房间里的 observer 索引 */
|
|
101
|
+
observer_indexs: number[];
|
|
102
|
+
}
|
|
103
|
+
export declare type FloorplanServerRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanServerPosition[][]>;
|
|
104
|
+
/** 当前楼层的数据 */
|
|
105
|
+
export interface FloorplanServerFloorData {
|
|
106
|
+
floor_name: string;
|
|
107
|
+
floor_index: number;
|
|
108
|
+
rooms: FloorplanServerRoomItem[];
|
|
109
|
+
rules: FloorplanServerRuleLabels;
|
|
110
|
+
}
|
|
111
|
+
/** 对 observer 做一些样式上的计算
|
|
112
|
+
* @description 每一个 FloorplanServer_observer 对应一个 observer
|
|
113
|
+
* @description FloorplanServer_observer 和 observer 在自身数组中的索引坐标应该是相同的
|
|
114
|
+
*/
|
|
115
|
+
export interface FloorplanServerObserver {
|
|
116
|
+
index: number;
|
|
117
|
+
floor_index: number;
|
|
118
|
+
position: FloorplanServerPosition;
|
|
119
|
+
position_in_image: FloorplanServerImagePosition;
|
|
120
|
+
}
|
|
121
|
+
export interface FloorplanServerComputedData {
|
|
122
|
+
floor_datas: FloorplanServerFloorData[];
|
|
123
|
+
entrance: FloorplanServerEntrance | null;
|
|
124
|
+
bounding: FloorplanServerBounding;
|
|
125
|
+
observers: FloorplanServerObserver[];
|
|
126
|
+
}
|
|
127
|
+
/** 原始输入的户型图数据 */
|
|
128
|
+
export interface FloorplanServerData {
|
|
129
|
+
outlines: FloorplanServerOutlineItem[];
|
|
130
|
+
computed_data: FloorplanServerComputedData;
|
|
131
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/** 房屋数据映射表 */
|
|
2
|
+
export const ROOM_FETILE_TYPE_MAP = [
|
|
3
|
+
{ type: 0, floorType: 1, roomType: '100900000012', name: '其他' },
|
|
4
|
+
{ type: 1, floorType: 1, roomType: '100900000002', name: '客厅' },
|
|
5
|
+
{ type: 2, floorType: 1, roomType: '100900000002', name: '餐厅' },
|
|
6
|
+
{ type: 3, floorType: 0, roomType: '100900000001', name: '卧室' },
|
|
7
|
+
{ type: 4, floorType: 0, roomType: '100900000001', name: '书房' },
|
|
8
|
+
{ type: 5, floorType: 3, roomType: '100900000004', name: '卫生间' },
|
|
9
|
+
{ type: 6, floorType: 3, roomType: '100900000004', name: '淋浴间' },
|
|
10
|
+
{ type: 7, floorType: 3, roomType: '100900000004', name: '洗手间' },
|
|
11
|
+
{ type: 8, floorType: 3, roomType: '100900000003', name: '厨房' },
|
|
12
|
+
{
|
|
13
|
+
type: 9,
|
|
14
|
+
floorType: 1,
|
|
15
|
+
roomType: '100900000003',
|
|
16
|
+
name: '开放厨房',
|
|
17
|
+
onlySubArea: true,
|
|
18
|
+
},
|
|
19
|
+
{ type: 10, floorType: 0, roomType: '100900000001', name: '多功能间' },
|
|
20
|
+
{ type: 11, floorType: 0, roomType: '100900000009', name: '保姆间' },
|
|
21
|
+
{ type: 12, floorType: 4, roomType: '100900000005', name: '阳台' },
|
|
22
|
+
{ type: 13, floorType: 4, roomType: '100900000006', name: '露台' },
|
|
23
|
+
{ type: 14, floorType: 0, roomType: '100900000008', name: '储物间' },
|
|
24
|
+
{ type: 15, floorType: 0, roomType: '100900000013', name: '衣帽间' },
|
|
25
|
+
{ type: 16, floorType: 0, roomType: '100900000011', name: '阁楼' },
|
|
26
|
+
{ type: 17, floorType: 2, roomType: '100900000007', name: '花园' },
|
|
27
|
+
{ type: 18, floorType: 5, roomType: '100900000010', name: '车库' },
|
|
28
|
+
{ type: 19, floorType: 1, roomType: '100900000012', name: '电梯' },
|
|
29
|
+
{ type: 20, floorType: 1, roomType: '100900000012', name: '地下室' },
|
|
30
|
+
{ type: 21, floorType: 1, roomType: '100900000012', name: '天井' },
|
|
31
|
+
{ type: 22, floorType: 1, roomType: '100900000012', name: '阳光房' },
|
|
32
|
+
{ type: 23, floorType: 1, roomType: '100900000012', name: '过道' },
|
|
33
|
+
{ type: 24, floorType: 1, roomType: '100900000012', name: '楼梯间' },
|
|
34
|
+
{ type: 25, floorType: 1, roomType: '100900000012', name: '门厅' },
|
|
35
|
+
{ type: 26, floorType: 2, roomType: '100900000012', name: '入户花园' },
|
|
36
|
+
{ type: 27, floorType: 1, roomType: '100900000012', name: '玄关' },
|
|
37
|
+
{ type: 28, floorType: 1, roomType: '100900000012', name: '挑空' },
|
|
38
|
+
{ type: 29, floorType: 4, roomType: '100900000012', name: '晾晒区' },
|
|
39
|
+
{ type: 30, floorType: 4, roomType: '100900000012', name: '洗衣房' },
|
|
40
|
+
{ type: 31, floorType: 0, roomType: '100900000012', name: '娱乐区' },
|
|
41
|
+
{ type: 32, floorType: 0, roomType: '100900000012', name: '健身区' },
|
|
42
|
+
{ type: 33, floorType: 0, roomType: '100900000012', name: '接待区' },
|
|
43
|
+
{ type: 34, floorType: 0, roomType: '100900000012', name: '影音区' },
|
|
44
|
+
{ type: 35, floorType: 1, roomType: '100900000012', name: '餐饮区' },
|
|
45
|
+
{
|
|
46
|
+
type: 36,
|
|
47
|
+
floorType: 1,
|
|
48
|
+
roomType: '100900000012',
|
|
49
|
+
name: '其他',
|
|
50
|
+
onlySubArea: true,
|
|
51
|
+
},
|
|
52
|
+
{ type: 37, floorType: 1, roomType: '100900000002', name: '起居室' },
|
|
53
|
+
{ type: 38, floorType: 0, roomType: '100900000001', name: '主卧' },
|
|
54
|
+
{ type: 39, floorType: 0, roomType: '100900000001', name: '次卧' },
|
|
55
|
+
{ type: 40, floorType: 0, roomType: '100900000001', name: '优化间' },
|
|
56
|
+
{ type: 41, floorType: 0, roomType: '100900000001', name: '办公室' },
|
|
57
|
+
{ type: 42, floorType: 0, roomType: '100900000001', name: '会议室' },
|
|
58
|
+
{ type: 43, floorType: 0, roomType: '100900000001', name: '洽谈间' },
|
|
59
|
+
{ type: 44, floorType: 1, roomType: '100900000002', name: '共享大厅' },
|
|
60
|
+
{ type: 45, floorType: 1, roomType: '100900000012', name: '水吧' },
|
|
61
|
+
{ type: 46, floorType: 0, roomType: '100900000015', name: '出入口' },
|
|
62
|
+
{ type: 47, floorType: 0, roomType: '100900000015', name: '大厅' },
|
|
63
|
+
{ type: 48, floorType: 0, roomType: '100900000015', name: '包厢' },
|
|
64
|
+
{ type: 49, floorType: 0, roomType: '100900000015', name: '其他' },
|
|
65
|
+
{ type: 50, floorType: 0, roomType: '100900000016', name: '出入口' },
|
|
66
|
+
{ type: 51, floorType: 0, roomType: '100900000016', name: '办公区' },
|
|
67
|
+
{ type: 52, floorType: 0, roomType: '100900000016', name: '老板间' },
|
|
68
|
+
{ type: 53, floorType: 0, roomType: '100900000016', name: '会议室' },
|
|
69
|
+
{ type: 54, floorType: 0, roomType: '100900000016', name: '休息区/水吧' },
|
|
70
|
+
{ type: 55, floorType: 0, roomType: '100900000016', name: '其他' },
|
|
71
|
+
{ type: 56, floorType: 2, roomType: '100900000012', name: '空中花园' },
|
|
72
|
+
{ type: 57, floorType: 0, roomType: '100900000001', name: '洋室' },
|
|
73
|
+
{ type: 58, floorType: 0, roomType: '100900000001', name: '和室' },
|
|
74
|
+
];
|
|
75
|
+
/** 地板信息映射表 */
|
|
76
|
+
export const FLOOR_TYPE_MAP = [
|
|
77
|
+
{ type: 0, description: '木质地板' },
|
|
78
|
+
{ type: 1, description: '瓷砖地面' },
|
|
79
|
+
{ type: 2, description: '户外地面' },
|
|
80
|
+
{ type: 3, description: '卫生间地面' },
|
|
81
|
+
{ type: 4, description: '阳台地面' },
|
|
82
|
+
{ type: 5, description: '车库地面' },
|
|
83
|
+
];
|
|
84
|
+
/** 房屋类型映射表 */
|
|
85
|
+
export const ROOM_TYPE_MAP = [
|
|
86
|
+
{ roomType: '100900000001', description: '室' },
|
|
87
|
+
{ roomType: '100900000002', description: '厅' },
|
|
88
|
+
{ roomType: '100900000003', description: '厨' },
|
|
89
|
+
{ roomType: '100900000004', description: '卫' },
|
|
90
|
+
{ roomType: '100900000005', description: '阳台' },
|
|
91
|
+
{ roomType: '100900000006', description: '露台' },
|
|
92
|
+
{ roomType: '100900000007', description: '花园' },
|
|
93
|
+
{ roomType: '100900000008', description: '储' },
|
|
94
|
+
{ roomType: '100900000009', description: '保姆间' },
|
|
95
|
+
{ roomType: '100900000010', description: '车库' },
|
|
96
|
+
{ roomType: '100900000011', description: '阁楼' },
|
|
97
|
+
{ roomType: '100900000012', description: '其他' },
|
|
98
|
+
{ roomType: '100900000013', description: '衣' },
|
|
99
|
+
{ roomType: '100900000015', description: '商铺' },
|
|
100
|
+
{ roomType: '100900000016', description: '写字楼' },
|
|
101
|
+
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Five } from '@realsee/five';
|
|
2
|
+
import type { FloorplanData, FloorplanExtraObject, FloorplanExtraObject3D } from '../typings/floorplanData';
|
|
3
|
+
import type { FloorplanServerData } from '../typings/floorplanServerData';
|
|
4
|
+
export default function formatData(data: FloorplanServerData): Promise<FloorplanData>;
|
|
5
|
+
export declare function formatExtraObjects(data: FloorplanExtraObject3D[], five: Five, floorplanData: FloorplanData): FloorplanExtraObject[];
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { FLOORPLAN_EXTRA_OBJECT_IMAGE } from '../Assets/floorplanExtraObject';
|
|
2
|
+
import { floorplanPosition2ImagePosition, getFloorIndexFromModelPosition, modelPosition2FloorplanPosition, } from './formatPosition';
|
|
3
|
+
async function formatOutlines(outlines) {
|
|
4
|
+
const headers = new Headers({ 'Content-Type': 'text/plain' });
|
|
5
|
+
const getOutlineItem = async function (item) {
|
|
6
|
+
const outlineItem = {
|
|
7
|
+
index: item.index,
|
|
8
|
+
url: item.url,
|
|
9
|
+
svgUrl: item.svg_url,
|
|
10
|
+
};
|
|
11
|
+
if (item.svg_url) {
|
|
12
|
+
const svgContent = await fetch(item.svg_url, { headers }).then((res) => res.text());
|
|
13
|
+
outlineItem.svgContent = svgContent;
|
|
14
|
+
}
|
|
15
|
+
return outlineItem;
|
|
16
|
+
};
|
|
17
|
+
const svgOutlineItems = await Promise.all(outlines.map(getOutlineItem));
|
|
18
|
+
return svgOutlineItems;
|
|
19
|
+
}
|
|
20
|
+
function formatRoom(data) {
|
|
21
|
+
const floorplanRoomItem = {
|
|
22
|
+
id: data.id,
|
|
23
|
+
size: data.size,
|
|
24
|
+
name: data.name,
|
|
25
|
+
path: data.path,
|
|
26
|
+
roomType: data.room_type,
|
|
27
|
+
floorType: data.floor_type,
|
|
28
|
+
roomLabel: {
|
|
29
|
+
position: data.room_label.position,
|
|
30
|
+
positionInImage: data.room_label.position_in_image,
|
|
31
|
+
},
|
|
32
|
+
observerIndexs: data.observer_indexs,
|
|
33
|
+
};
|
|
34
|
+
return floorplanRoomItem;
|
|
35
|
+
}
|
|
36
|
+
function formatFloorData(_data) {
|
|
37
|
+
return {
|
|
38
|
+
floorName: _data.floor_name,
|
|
39
|
+
floorIndex: _data.floor_index,
|
|
40
|
+
rooms: _data.rooms.map(formatRoom),
|
|
41
|
+
rules: _data.rules,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function formateFloorplanObserver(data) {
|
|
45
|
+
const floorplanObserver = {
|
|
46
|
+
index: data.index,
|
|
47
|
+
floorIndex: data.floor_index,
|
|
48
|
+
position: data.position,
|
|
49
|
+
positionInImage: data.position_in_image,
|
|
50
|
+
};
|
|
51
|
+
return floorplanObserver;
|
|
52
|
+
}
|
|
53
|
+
function formatFloorplanEntrance(data) {
|
|
54
|
+
const floorplanEntrance = {
|
|
55
|
+
rad: data.rad,
|
|
56
|
+
position: data.position,
|
|
57
|
+
positionInImage: data.position_in_image,
|
|
58
|
+
northRad: data.north_rad,
|
|
59
|
+
roomId: data.room_id,
|
|
60
|
+
floorIndex: data.floor_index,
|
|
61
|
+
};
|
|
62
|
+
return floorplanEntrance;
|
|
63
|
+
}
|
|
64
|
+
export default async function formatData(data) {
|
|
65
|
+
const outlines = await formatOutlines(data.outlines);
|
|
66
|
+
const bounding = data.computed_data.bounding;
|
|
67
|
+
const floorDatas = data.computed_data.floor_datas.map(formatFloorData);
|
|
68
|
+
const entrance = data.computed_data.entrance ? formatFloorplanEntrance(data.computed_data.entrance) : null;
|
|
69
|
+
const floorplanData = {
|
|
70
|
+
outlines,
|
|
71
|
+
entrance,
|
|
72
|
+
bounding,
|
|
73
|
+
floorDatas,
|
|
74
|
+
observers: data.computed_data.observers.map(formateFloorplanObserver),
|
|
75
|
+
};
|
|
76
|
+
return floorplanData;
|
|
77
|
+
}
|
|
78
|
+
export function formatExtraObjects(data, five, floorplanData) {
|
|
79
|
+
const extraObjects = data.map((object) => {
|
|
80
|
+
const position = object.position;
|
|
81
|
+
const icon = object.icon
|
|
82
|
+
? object.icon
|
|
83
|
+
: {
|
|
84
|
+
url: FLOORPLAN_EXTRA_OBJECT_IMAGE,
|
|
85
|
+
width: 45,
|
|
86
|
+
height: 48,
|
|
87
|
+
};
|
|
88
|
+
const floorIndex = getFloorIndexFromModelPosition(position, five);
|
|
89
|
+
const floorplanPosition = modelPosition2FloorplanPosition(position, floorplanData);
|
|
90
|
+
const floorplanImagePosition = floorplanPosition2ImagePosition(floorplanPosition, floorplanData);
|
|
91
|
+
return { floorIndex, icon, id: object.id, position: floorplanPosition, positionInImage: floorplanImagePosition };
|
|
92
|
+
});
|
|
93
|
+
return extraObjects;
|
|
94
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Five } from '@realsee/five';
|
|
2
|
+
import type { Vector2Position } from '../../typings/math.type';
|
|
3
|
+
import type { FloorplanData, FloorplanBounding } from '../typings/floorplanData';
|
|
4
|
+
export declare function pathD(points: Vector2Position[], options?: {
|
|
5
|
+
needZ?: boolean;
|
|
6
|
+
needA?: Record<number, string>;
|
|
7
|
+
format?: (vector: Vector2Position) => Vector2Position;
|
|
8
|
+
}): string;
|
|
9
|
+
/** 把户型图上点点位转换到 SVG 上的点位 */
|
|
10
|
+
export default function formatFloorplanPoint({ x, y }: Vector2Position, pxmm: number, bounding: FloorplanBounding): {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
};
|
|
14
|
+
/** 模型坐标转户型图坐标 */
|
|
15
|
+
export declare function modelPosition2FloorplanPosition(position: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
z: number;
|
|
19
|
+
}, floorplanData: FloorplanData): {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
};
|
|
23
|
+
/** 户型图点位转在图片上的相对坐标 */
|
|
24
|
+
export declare function floorplanPosition2ImagePosition(position: {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
}, floorplanData: FloorplanData): {
|
|
28
|
+
x: number;
|
|
29
|
+
y: number;
|
|
30
|
+
};
|
|
31
|
+
/** 求三维坐标点所在的楼层 */
|
|
32
|
+
export declare function getFloorIndexFromModelPosition(position: {
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
|
+
z: number;
|
|
36
|
+
}, five: Five): number;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export function pathD(points, options = {}) {
|
|
2
|
+
let d = '';
|
|
3
|
+
const { needZ, needA } = options;
|
|
4
|
+
const _points = needZ ? points.slice().concat(points[0]) : points.slice();
|
|
5
|
+
_points.forEach((_point, index) => {
|
|
6
|
+
const { x, y } = options.format ? options.format(_point) : _point;
|
|
7
|
+
const point = x + ',' + y;
|
|
8
|
+
if (index === 0) {
|
|
9
|
+
d += 'M' + point;
|
|
10
|
+
return d;
|
|
11
|
+
}
|
|
12
|
+
if (needA?.[index]) {
|
|
13
|
+
d += 'A' + needA[index] + ',' + point;
|
|
14
|
+
return d;
|
|
15
|
+
}
|
|
16
|
+
d += 'L' + point;
|
|
17
|
+
return d;
|
|
18
|
+
});
|
|
19
|
+
return d + (needZ ? 'Z' : '');
|
|
20
|
+
}
|
|
21
|
+
/** 把户型图上点点位转换到 SVG 上的点位 */
|
|
22
|
+
export default function formatFloorplanPoint({ x, y }, pxmm, bounding) {
|
|
23
|
+
const { max, min } = bounding;
|
|
24
|
+
return { x: (x - min.x) * pxmm, y: (max.y - y) * pxmm };
|
|
25
|
+
}
|
|
26
|
+
/** 模型坐标转户型图坐标 */
|
|
27
|
+
export function modelPosition2FloorplanPosition(position, floorplanData) {
|
|
28
|
+
const x = position.x * 1000 + floorplanData.bounding.origin.x;
|
|
29
|
+
const y = -position.z * 1000 + floorplanData.bounding.origin.y;
|
|
30
|
+
return { x, y };
|
|
31
|
+
}
|
|
32
|
+
/** 户型图点位转在图片上的相对坐标 */
|
|
33
|
+
export function floorplanPosition2ImagePosition(position, floorplanData) {
|
|
34
|
+
const bounding = floorplanData.bounding;
|
|
35
|
+
const boundingWidth = bounding.max.x - bounding.min.x;
|
|
36
|
+
const boundingHeight = bounding.max.y - bounding.min.y;
|
|
37
|
+
return {
|
|
38
|
+
x: (position.x - bounding.min.x) / boundingWidth,
|
|
39
|
+
y: (bounding.max.y - position.y) / boundingHeight,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/** 求三维坐标点所在的楼层 */
|
|
43
|
+
export function getFloorIndexFromModelPosition(position, five) {
|
|
44
|
+
const floorIndex = Math.max(...five.work.observers.map((observer) => {
|
|
45
|
+
if (position.z >= observer.standingPosition.z)
|
|
46
|
+
return observer.floorIndex;
|
|
47
|
+
return 0;
|
|
48
|
+
}));
|
|
49
|
+
return floorIndex;
|
|
50
|
+
}
|
package/libs/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { default as ModelViewPlugin } from './ModelViewPlugin';
|
|
2
|
+
export { default as CSS3DRenderPlugin } from './CSS3DRenderPlugin';
|
|
3
|
+
export type { PanoCursorRaycasterPluginExportType } from './PanoCursorRaycasterPlugin';
|
|
4
|
+
export { default as PanoCursorRaycasterPlugin } from './PanoCursorRaycasterPlugin';
|
|
5
|
+
export type { ModelRoomLabelController, ModelRoomLabelPluginData, RoomLabel, ModelRoomLabelPluginReturnType, ModelRoomLabelPluginParameters, } from './ModelRoomLabelPlugin';
|
|
6
|
+
export { default as ModelRoomLabelPlugin } from './ModelRoomLabelPlugin';
|
|
7
|
+
export * from './floorplan/constant';
|
|
8
|
+
export type { TopviewFloorplanPluginReturnType, TopviewFloorplanPluginParameterType, } from './floorplan/TopviewFloorplanPlugin';
|
|
9
|
+
export { default as TopviewFloorplanPlugin } from './floorplan/TopviewFloorplanPlugin';
|
|
10
|
+
export type { PanoFloorplanRadarPluginReturnType, PanoFloorplanRadarPluginParameterType, } from './floorplan/PanoFloorplanRadarPlugin';
|
|
11
|
+
export { default as PanoFloorplanRadarPlugin } from './floorplan/PanoFloorplanRadarPlugin';
|
|
12
|
+
export type { ModelFloorplanParameterType, ModelFloorplanPluginReturnType, ModelFloorplanErrorType, ModelFloorplanPluginsConfigs, ModelFloorplanEventHandlers, ModelFloorplanViewEvent, } from './floorplan/ModelFloorplanPlugin';
|
|
13
|
+
export { default as ModelFloorplanPlugin } from './floorplan/ModelFloorplanPlugin';
|
|
14
|
+
export type { ModelChassisCompassPluginParameterType, ModelChassisCompassPluginData, ModelChassisCompassPluginExportType, } from './ModelChassisCompassPlugin';
|
|
15
|
+
export { default as ModelChassisCompassPlugin } from './ModelChassisCompassPlugin';
|
|
16
|
+
export type { ModelEntryDoorGuidePluginParameterType, ModelEntryDoorGuidePluginData, ModelEntryDoorGuidePluginExportType, } from './ModelEntryDoorGuidePlugin';
|
|
17
|
+
export { default as ModelEntryDoorGuidePlugin } from './ModelEntryDoorGuidePlugin';
|
|
18
|
+
export { default as CameraMovementPlugin } from './CameraMovementPlugin';
|
|
19
|
+
export type { PanoRulerPluginParameterType, PanoRulerPluginExportType, PanoRulerPluginOptions, } from './PanoRulerPlugin';
|
|
20
|
+
export { default as PanoRulerPlugin } from './PanoRulerPlugin';
|
|
21
|
+
export type { PanoCompassPluginParameterType, PanoCompassPluginExportType, PanoCompassPluginData, } from './PanoCompassPlugin';
|
|
22
|
+
export { default as PanoCompassPlugin } from './PanoCompassPlugin';
|
|
23
|
+
export type { PluginReturns, PluginEvent, LineJson, PointJson } from './PanoMeasurePlugin';
|
|
24
|
+
export { default as PanoMeasurePlugin } from './PanoMeasurePlugin';
|
|
25
|
+
export type { PanoSpatialTagPluginParameterType, PanoSpatialTagPluginData, PanoSpatialTagPluginExportType } from './PanoSpatialTagPlugin';
|
|
26
|
+
export { default as PanoSpatialTagPlugin } from './PanoSpatialTagPlugin';
|
package/libs/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { default as ModelViewPlugin } from './ModelViewPlugin';
|
|
2
|
+
export { default as CSS3DRenderPlugin } from './CSS3DRenderPlugin';
|
|
3
|
+
export { default as PanoCursorRaycasterPlugin } from './PanoCursorRaycasterPlugin';
|
|
4
|
+
export { default as ModelRoomLabelPlugin } from './ModelRoomLabelPlugin';
|
|
5
|
+
// floorplan
|
|
6
|
+
export * from './floorplan/constant';
|
|
7
|
+
export { default as TopviewFloorplanPlugin } from './floorplan/TopviewFloorplanPlugin';
|
|
8
|
+
export { default as PanoFloorplanRadarPlugin } from './floorplan/PanoFloorplanRadarPlugin';
|
|
9
|
+
export { default as ModelFloorplanPlugin } from './floorplan/ModelFloorplanPlugin';
|
|
10
|
+
export { default as ModelChassisCompassPlugin } from './ModelChassisCompassPlugin';
|
|
11
|
+
export { default as ModelEntryDoorGuidePlugin } from './ModelEntryDoorGuidePlugin';
|
|
12
|
+
export { default as CameraMovementPlugin } from './CameraMovementPlugin';
|
|
13
|
+
export { default as PanoRulerPlugin } from './PanoRulerPlugin';
|
|
14
|
+
export { default as PanoCompassPlugin } from './PanoCompassPlugin';
|
|
15
|
+
export { default as PanoMeasurePlugin } from './PanoMeasurePlugin';
|
|
16
|
+
export { default as PanoSpatialTagPlugin } from './PanoSpatialTagPlugin';
|