@realsee/dnalogel 2.1.2-alpha.10 → 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.es.js +16650 -0
- package/dist/index.js +556 -0
- package/dist/index.umd.js +556 -0
- 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/package.json +5 -7
- package/dist/CSS3DRenderPlugin/index..js +0 -88
- package/dist/CSS3DRenderPlugin/index.cjs.js +0 -1
- package/dist/CameraMovementPlugin/index..js +0 -11
- package/dist/CameraMovementPlugin/index.cjs.js +0 -1
- package/dist/CruisePlugin/index..js +0 -527
- package/dist/CruisePlugin/index.cjs.js +0 -1
- package/dist/GuideLinePlugin/index..js +0 -214
- package/dist/GuideLinePlugin/index.cjs.js +0 -1
- package/dist/ItemLabelPlugin/index..js +0 -508
- package/dist/ItemLabelPlugin/index.cjs.js +0 -10
- package/dist/ModelChassisCompassPlugin/index..js +0 -9
- package/dist/ModelChassisCompassPlugin/index.cjs.js +0 -1
- package/dist/ModelEntryDoorGuidePlugin/index..js +0 -9
- package/dist/ModelEntryDoorGuidePlugin/index.cjs.js +0 -1
- package/dist/ModelItemLabelPlugin/index..js +0 -334
- package/dist/ModelItemLabelPlugin/index.cjs.js +0 -10
- package/dist/ModelRoomLabelPlugin/index..js +0 -274
- package/dist/ModelRoomLabelPlugin/index.cjs.js +0 -1
- package/dist/ModelTVVideoPlugin/index..js +0 -12
- package/dist/ModelTVVideoPlugin/index.cjs.js +0 -1
- package/dist/ModelViewPlugin/index..js +0 -8
- package/dist/ModelViewPlugin/index.cjs.js +0 -1
- package/dist/Object3DHelperPlugin/index..js +0 -1414
- package/dist/Object3DHelperPlugin/index.cjs.js +0 -1
- package/dist/PanoCompassPlugin/index..js +0 -258
- package/dist/PanoCompassPlugin/index.cjs.js +0 -1
- package/dist/PanoCursorRaycasterPlugin/index..js +0 -63
- package/dist/PanoCursorRaycasterPlugin/index.cjs.js +0 -1
- package/dist/PanoDoorLabelPlugin/index..js +0 -340
- package/dist/PanoDoorLabelPlugin/index.cjs.js +0 -1
- package/dist/PanoMeasurePlugin/index..js +0 -15
- package/dist/PanoMeasurePlugin/index.cjs.js +0 -1
- package/dist/PanoRulerPlugin/index..js +0 -9
- package/dist/PanoRulerPlugin/index.cjs.js +0 -1
- package/dist/PanoRulerProPlugin/index..js +0 -395
- package/dist/PanoRulerProPlugin/index.cjs.js +0 -1
- package/dist/PanoSpatialTagPlugin/index..js +0 -15
- package/dist/PanoSpatialTagPlugin/index.cjs.js +0 -1
- package/dist/PanoTagPlugin/index..js +0 -4522
- package/dist/PanoTagPlugin/index.cjs.js +0 -17
- package/dist/chunks/cjs/BasePlugin.57e5204f.cjs.js +0 -1
- package/dist/chunks/cjs/BasePluginWithData.0a28882d.cjs.js +0 -1
- package/dist/chunks/cjs/CSS3DRender.15349564.cjs.js +0 -1
- package/dist/chunks/cjs/CameraMovementPlugin.2b342576.cjs.js +0 -1
- package/dist/chunks/cjs/Plugin.5f616fb3.cjs.js +0 -1
- package/dist/chunks/cjs/Plugin.609da4aa.cjs.js +0 -94
- package/dist/chunks/cjs/Plugin.67936d0e.cjs.js +0 -16
- package/dist/chunks/cjs/Plugin.8a110c53.cjs.js +0 -1
- package/dist/chunks/cjs/Plugin.9971108a.cjs.js +0 -1
- package/dist/chunks/cjs/Plugin.fd42bf8a.cjs.js +0 -1
- package/dist/chunks/cjs/Subscribe.5398d5c6.cjs.js +0 -1
- package/dist/chunks/cjs/changeModelCanvasOpacity.8d84f111.cjs.js +0 -1
- package/dist/chunks/cjs/correctFiveState.4c8472bd.cjs.js +0 -1
- package/dist/chunks/cjs/debounce.93dfb637.cjs.js +0 -1
- package/dist/chunks/cjs/equal.e9fcbd4e.cjs.js +0 -1
- package/dist/chunks/cjs/filter.cf9ebbb3.cjs.js +0 -1
- package/dist/chunks/cjs/formatData.81e95011.cjs.js +0 -10
- package/dist/chunks/cjs/index.30b7baeb.cjs.js +0 -101
- package/dist/chunks/cjs/index.686e84d1.cjs.js +0 -290
- package/dist/chunks/cjs/index.7d2010ce.cjs.js +0 -1
- package/dist/chunks/cjs/isNil.b3a58990.cjs.js +0 -1
- package/dist/chunks/cjs/planimetry.7fce816a.cjs.js +0 -1
- package/dist/chunks/cjs/throttle.86c209eb.cjs.js +0 -1
- package/dist/chunks/cjs/transfromToMeshBasicMaterial.9db6d46a.cjs.js +0 -1
- package/dist/chunks/cjs/uuid.29ed9c88.cjs.js +0 -1
- package/dist/chunks/es/BasePlugin.813e25f7.es.js +0 -18
- package/dist/chunks/es/BasePluginWithData.4bf4e649.es.js +0 -6
- package/dist/chunks/es/CSS3DRender.5652510e.es.js +0 -393
- package/dist/chunks/es/CameraMovementPlugin.4a7c3e46.es.js +0 -120
- package/dist/chunks/es/Plugin.26c2df05.es.js +0 -106
- package/dist/chunks/es/Plugin.435485ed.es.js +0 -584
- package/dist/chunks/es/Plugin.a98418f0.es.js +0 -82
- package/dist/chunks/es/Plugin.ae4ee6f8.es.js +0 -82
- package/dist/chunks/es/Plugin.dd11e0ad.es.js +0 -180
- package/dist/chunks/es/Plugin.f4cf895f.es.js +0 -355
- package/dist/chunks/es/Subscribe.c73e0f91.es.js +0 -50
- package/dist/chunks/es/changeModelCanvasOpacity.45ef9fd6.es.js +0 -1551
- package/dist/chunks/es/correctFiveState.e7feab9f.es.js +0 -66
- package/dist/chunks/es/debounce.ef83f417.es.js +0 -11
- package/dist/chunks/es/equal.7db4a6f7.es.js +0 -56
- package/dist/chunks/es/filter.97ec06c4.es.js +0 -12
- package/dist/chunks/es/formatData.a2b39ef9.es.js +0 -483
- package/dist/chunks/es/index.a273f06e.es.js +0 -532
- package/dist/chunks/es/index.b8fdb59b.es.js +0 -50
- package/dist/chunks/es/index.f74f4851.es.js +0 -1787
- package/dist/chunks/es/isNil.212842d9.es.js +0 -10
- package/dist/chunks/es/planimetry.b0b4a28d.es.js +0 -43
- package/dist/chunks/es/throttle.db66bac3.es.js +0 -11
- package/dist/chunks/es/transfromToMeshBasicMaterial.849ee069.es.js +0 -24
- package/dist/chunks/es/uuid.676cb2c8.es.js +0 -9
- package/dist/components/PaintBrush/index..js +0 -6
- package/dist/components/PaintBrush/index.cjs.js +0 -1
- package/dist/components/index..js +0 -7
- package/dist/components/index.cjs.js +0 -1
- package/dist/floorplan/MapviewFloorplanPlugin/index..js +0 -324
- package/dist/floorplan/MapviewFloorplanPlugin/index.cjs.js +0 -1
- package/dist/floorplan/ModelFloorplanPlugin/index..js +0 -320
- package/dist/floorplan/ModelFloorplanPlugin/index.cjs.js +0 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/index..js +0 -613
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.cjs.js +0 -1
- package/dist/floorplan/TopviewFloorplanPlugin/index..js +0 -277
- package/dist/floorplan/TopviewFloorplanPlugin/index.cjs.js +0 -1
- package/dist/index..js +0 -530
- package/dist/index.cjs.js +0 -16
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
var f = (t, r, e) => new Promise((i, n) => {
|
|
2
|
-
var u = (a) => {
|
|
3
|
-
try {
|
|
4
|
-
d(e.next(a));
|
|
5
|
-
} catch (c) {
|
|
6
|
-
n(c);
|
|
7
|
-
}
|
|
8
|
-
}, o = (a) => {
|
|
9
|
-
try {
|
|
10
|
-
d(e.throw(a));
|
|
11
|
-
} catch (c) {
|
|
12
|
-
n(c);
|
|
13
|
-
}
|
|
14
|
-
}, d = (a) => a.done ? i(a.value) : Promise.resolve(a.value).then(u, o);
|
|
15
|
-
d((e = e.apply(t, r)).next());
|
|
16
|
-
});
|
|
17
|
-
import { nearlyEqual as M, changeMode as E } from "./changeModelCanvasOpacity.45ef9fd6.es.js";
|
|
18
|
-
function m(t) {
|
|
19
|
-
return f(this, null, function* () {
|
|
20
|
-
try {
|
|
21
|
-
return [null, yield t];
|
|
22
|
-
} catch (r) {
|
|
23
|
-
return r instanceof Error ? [r, null] : [new Error(""), null];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
var s = /* @__PURE__ */ ((t) => (t.UnknownError = "UnknownError", t.DataNotLoaded = "DataNotLoaded", t.BreakOffByHide = "BreakOffByHide", t.BreakOffByDisable = "BreakOffByDisable", t.ModelNotLoaded = "ModelNotLoaded", t.ChangeModeError = "ChangeModeError", t.UpdateCameraError = "UpdateCameraError", t))(s || {});
|
|
28
|
-
const B = 500, _ = 80;
|
|
29
|
-
function g(t, r) {
|
|
30
|
-
if (t.currentMode !== r.mode)
|
|
31
|
-
return !1;
|
|
32
|
-
const { latitude: e, longitude: i, fov: n } = r, { latitude: u, longitude: o } = t.getCurrentState(), d = t.camera.fov;
|
|
33
|
-
return !(!M(e, u, 2) || !M(i, o, 2) || n !== d);
|
|
34
|
-
}
|
|
35
|
-
function k(t, r, e = !0) {
|
|
36
|
-
return f(this, null, function* () {
|
|
37
|
-
if (g(t, r) === !0)
|
|
38
|
-
return;
|
|
39
|
-
const n = t.getCurrentState();
|
|
40
|
-
if (n.mode !== r.mode) {
|
|
41
|
-
const [l] = yield m(E(t, [r.mode, r, void 0, e]));
|
|
42
|
-
if (l)
|
|
43
|
-
throw new Error(s.ChangeModeError);
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
const { latitude: u, longitude: o, fov: d } = n, a = Math.min(
|
|
47
|
-
1e3,
|
|
48
|
-
Math.max(
|
|
49
|
-
200,
|
|
50
|
-
Math.abs(u - Math.PI / 2) * 1e3,
|
|
51
|
-
(o > Math.PI ? 2 * Math.PI - o : o) * 500,
|
|
52
|
-
Math.abs(d - r.fov) * 10
|
|
53
|
-
)
|
|
54
|
-
), [c] = yield m(t.updateCamera(r, a, e));
|
|
55
|
-
if (c)
|
|
56
|
-
throw new Error(s.UpdateCameraError);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
export {
|
|
60
|
-
_ as FIVE_CAMERA_DEFAULT_FOV,
|
|
61
|
-
s as FloorplanErrorType,
|
|
62
|
-
B as SHOW_ANIME_DURATION,
|
|
63
|
-
g as checkShowState,
|
|
64
|
-
k as correctFiveState,
|
|
65
|
-
m as to
|
|
66
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
function u(r) {
|
|
2
|
-
return Object.prototype.toString.call(r) === "[object Object]";
|
|
3
|
-
}
|
|
4
|
-
function s(r, e) {
|
|
5
|
-
return r === e ? !0 : typeof r != typeof e ? !1 : !!(Number.isNaN(r) && Number.isNaN(e));
|
|
6
|
-
}
|
|
7
|
-
function o(r, e) {
|
|
8
|
-
const t = Object.getOwnPropertyNames(r), n = Object.getOwnPropertyNames(e);
|
|
9
|
-
if (t.length !== n.length)
|
|
10
|
-
return !1;
|
|
11
|
-
for (let f = 0, l = t.length; f < l; f++) {
|
|
12
|
-
const i = t[f];
|
|
13
|
-
if (!s(r[i], e[i]))
|
|
14
|
-
return !1;
|
|
15
|
-
}
|
|
16
|
-
return !0;
|
|
17
|
-
}
|
|
18
|
-
function c(r, e) {
|
|
19
|
-
if (r.length !== e.length)
|
|
20
|
-
return !1;
|
|
21
|
-
for (let t = 0, n = r.length; t < n; t++)
|
|
22
|
-
if (!s(r[t], e[t]))
|
|
23
|
-
return !1;
|
|
24
|
-
return !0;
|
|
25
|
-
}
|
|
26
|
-
function p(r, e) {
|
|
27
|
-
return s(r, e) ? !0 : u(r) && u(e) ? o(r, e) : Array.isArray(r) && Array.isArray(e) ? c(r, e) : !1;
|
|
28
|
-
}
|
|
29
|
-
function a(r, e) {
|
|
30
|
-
return s(r, e) ? !0 : u(r) && u(e) ? g(r, e) : Array.isArray(r) && Array.isArray(e) ? y(r, e) : !1;
|
|
31
|
-
}
|
|
32
|
-
function y(r, e) {
|
|
33
|
-
if (r.length !== e.length)
|
|
34
|
-
return !1;
|
|
35
|
-
for (let t = 0, n = r.length; t < n; t++)
|
|
36
|
-
if (!a(r[t], e[t]))
|
|
37
|
-
return !1;
|
|
38
|
-
return !0;
|
|
39
|
-
}
|
|
40
|
-
function g(r, e) {
|
|
41
|
-
const t = Object.getOwnPropertyNames(r), n = Object.getOwnPropertyNames(e);
|
|
42
|
-
if (t.length !== n.length)
|
|
43
|
-
return !1;
|
|
44
|
-
for (let f = 0, l = t.length; f < l; f++) {
|
|
45
|
-
const i = t[f];
|
|
46
|
-
if (!a(r[i], e[i]))
|
|
47
|
-
return !1;
|
|
48
|
-
}
|
|
49
|
-
return !0;
|
|
50
|
-
}
|
|
51
|
-
function b(r, e, t = { deep: !1 }) {
|
|
52
|
-
return t.deep ? a(r, e) : p(r, e);
|
|
53
|
-
}
|
|
54
|
-
export {
|
|
55
|
-
b as equal
|
|
56
|
-
};
|
|
@@ -1,483 +0,0 @@
|
|
|
1
|
-
var w = (o, e, t) => new Promise((n, r) => {
|
|
2
|
-
var i = (l) => {
|
|
3
|
-
try {
|
|
4
|
-
s(t.next(l));
|
|
5
|
-
} catch (a) {
|
|
6
|
-
r(a);
|
|
7
|
-
}
|
|
8
|
-
}, f = (l) => {
|
|
9
|
-
try {
|
|
10
|
-
s(t.throw(l));
|
|
11
|
-
} catch (a) {
|
|
12
|
-
r(a);
|
|
13
|
-
}
|
|
14
|
-
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(i, f);
|
|
15
|
-
s((t = t.apply(o, e)).next());
|
|
16
|
-
});
|
|
17
|
-
import { SvelteComponent as h, init as d, safe_not_equal as P, append_styles as y, element as x, src_url_equal as b, attr as c, insert as g, noop as m, detach as p, HtmlTag as R, space as O, append as B, group_outros as k, transition_out as v, check_outros as C, transition_in as A, create_component as _, mount_component as I, destroy_component as D, svg_element as N, listen as G, run_all as E, update_keyed_each as H, outro_and_destroy_block as L, assign as Q, empty as z, get_spread_update as J } from "svelte/internal";
|
|
18
|
-
const we = "data:image/png;base64,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";
|
|
19
|
-
function K(o) {
|
|
20
|
-
y(o, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
21
|
-
}
|
|
22
|
-
function U(o) {
|
|
23
|
-
let e, t;
|
|
24
|
-
return {
|
|
25
|
-
c() {
|
|
26
|
-
e = x("img"), b(e.src, t = o[0]) || c(e, "src", t), c(e, "alt", "floorplan iamge"), c(e, "class", "svelte-1gfoniz");
|
|
27
|
-
},
|
|
28
|
-
m(n, r) {
|
|
29
|
-
g(n, e, r);
|
|
30
|
-
},
|
|
31
|
-
p(n, [r]) {
|
|
32
|
-
r & 1 && !b(e.src, t = n[0]) && c(e, "src", t);
|
|
33
|
-
},
|
|
34
|
-
i: m,
|
|
35
|
-
o: m,
|
|
36
|
-
d(n) {
|
|
37
|
-
n && p(e);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function Y(o, e, t) {
|
|
42
|
-
let { url: n } = e;
|
|
43
|
-
return o.$$set = (r) => {
|
|
44
|
-
"url" in r && t(0, n = r.url);
|
|
45
|
-
}, [n];
|
|
46
|
-
}
|
|
47
|
-
class W extends h {
|
|
48
|
-
constructor(e) {
|
|
49
|
-
super(), d(this, e, Y, U, P, { url: 0 }, K);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
function j(o) {
|
|
53
|
-
y(o, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
54
|
-
}
|
|
55
|
-
function T(o) {
|
|
56
|
-
let e, t, n, r;
|
|
57
|
-
return {
|
|
58
|
-
c() {
|
|
59
|
-
e = x("div"), t = new R(!1), n = O(), r = new R(!1), t.a = n, r.a = null, c(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
60
|
-
},
|
|
61
|
-
m(i, f) {
|
|
62
|
-
g(i, e, f), t.m(o[1], e), B(e, n), r.m(o[0], e);
|
|
63
|
-
},
|
|
64
|
-
p(i, [f]) {
|
|
65
|
-
f & 1 && r.p(i[0]);
|
|
66
|
-
},
|
|
67
|
-
i: m,
|
|
68
|
-
o: m,
|
|
69
|
-
d(i) {
|
|
70
|
-
i && p(e);
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
function S(o, e, t) {
|
|
75
|
-
let { content: n } = e;
|
|
76
|
-
const r = `
|
|
77
|
-
<style>
|
|
78
|
-
svg [type='lineGroup'] path {
|
|
79
|
-
fill: #ffffff;
|
|
80
|
-
stroke: #ffffff;
|
|
81
|
-
}
|
|
82
|
-
svg [type='lineItemGroup'] g g g g {
|
|
83
|
-
stroke: #ffffff;
|
|
84
|
-
}</style>
|
|
85
|
-
`;
|
|
86
|
-
return o.$$set = (i) => {
|
|
87
|
-
"content" in i && t(0, n = i.content);
|
|
88
|
-
}, [n, r];
|
|
89
|
-
}
|
|
90
|
-
class F extends h {
|
|
91
|
-
constructor(e) {
|
|
92
|
-
super(), d(this, e, S, T, P, { content: 0 }, j);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
function Z(o) {
|
|
96
|
-
y(o, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
97
|
-
}
|
|
98
|
-
function X(o) {
|
|
99
|
-
let e, t;
|
|
100
|
-
return e = new W({ props: { url: o[1].url } }), {
|
|
101
|
-
c() {
|
|
102
|
-
_(e.$$.fragment);
|
|
103
|
-
},
|
|
104
|
-
m(n, r) {
|
|
105
|
-
I(e, n, r), t = !0;
|
|
106
|
-
},
|
|
107
|
-
p(n, r) {
|
|
108
|
-
const i = {};
|
|
109
|
-
r & 2 && (i.url = n[1].url), e.$set(i);
|
|
110
|
-
},
|
|
111
|
-
i(n) {
|
|
112
|
-
t || (A(e.$$.fragment, n), t = !0);
|
|
113
|
-
},
|
|
114
|
-
o(n) {
|
|
115
|
-
v(e.$$.fragment, n), t = !1;
|
|
116
|
-
},
|
|
117
|
-
d(n) {
|
|
118
|
-
D(e, n);
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
function V(o) {
|
|
123
|
-
let e, t;
|
|
124
|
-
return e = new F({
|
|
125
|
-
props: { content: o[0] }
|
|
126
|
-
}), {
|
|
127
|
-
c() {
|
|
128
|
-
_(e.$$.fragment);
|
|
129
|
-
},
|
|
130
|
-
m(n, r) {
|
|
131
|
-
I(e, n, r), t = !0;
|
|
132
|
-
},
|
|
133
|
-
p(n, r) {
|
|
134
|
-
const i = {};
|
|
135
|
-
r & 1 && (i.content = n[0]), e.$set(i);
|
|
136
|
-
},
|
|
137
|
-
i(n) {
|
|
138
|
-
t || (A(e.$$.fragment, n), t = !0);
|
|
139
|
-
},
|
|
140
|
-
o(n) {
|
|
141
|
-
v(e.$$.fragment, n), t = !1;
|
|
142
|
-
},
|
|
143
|
-
d(n) {
|
|
144
|
-
D(e, n);
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
function $(o) {
|
|
149
|
-
let e, t, n, r;
|
|
150
|
-
const i = [V, X], f = [];
|
|
151
|
-
function s(l, a) {
|
|
152
|
-
return l[0] ? 0 : l[1] ? 1 : -1;
|
|
153
|
-
}
|
|
154
|
-
return ~(t = s(o)) && (n = f[t] = i[t](o)), {
|
|
155
|
-
c() {
|
|
156
|
-
e = x("div"), n && n.c(), c(e, "class", "floorplan-plugin__base-image svelte-ozpg4a");
|
|
157
|
-
},
|
|
158
|
-
m(l, a) {
|
|
159
|
-
g(l, e, a), ~t && f[t].m(e, null), r = !0;
|
|
160
|
-
},
|
|
161
|
-
p(l, [a]) {
|
|
162
|
-
let u = t;
|
|
163
|
-
t = s(l), t === u ? ~t && f[t].p(l, a) : (n && (k(), v(f[u], 1, 1, () => {
|
|
164
|
-
f[u] = null;
|
|
165
|
-
}), C()), ~t ? (n = f[t], n ? n.p(l, a) : (n = f[t] = i[t](l), n.c()), A(n, 1), n.m(e, null)) : n = null);
|
|
166
|
-
},
|
|
167
|
-
i(l) {
|
|
168
|
-
r || (A(n), r = !0);
|
|
169
|
-
},
|
|
170
|
-
o(l) {
|
|
171
|
-
v(n), r = !1;
|
|
172
|
-
},
|
|
173
|
-
d(l) {
|
|
174
|
-
l && p(e), ~t && f[t].d();
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
function ee(o, e, t) {
|
|
179
|
-
let n, r, { floorIndex: i } = e, { floorplanData: f } = e;
|
|
180
|
-
return o.$$set = (s) => {
|
|
181
|
-
"floorIndex" in s && t(2, i = s.floorIndex), "floorplanData" in s && t(3, f = s.floorplanData);
|
|
182
|
-
}, o.$$.update = () => {
|
|
183
|
-
var s, l;
|
|
184
|
-
o.$$.dirty & 12 && t(1, n = f.outlines[i]), o.$$.dirty & 12 && t(0, r = (l = (s = f.outlines) == null ? void 0 : s[i]) == null ? void 0 : l.svgContent);
|
|
185
|
-
}, [r, n, i, f];
|
|
186
|
-
}
|
|
187
|
-
class xe extends h {
|
|
188
|
-
constructor(e) {
|
|
189
|
-
super(), d(this, e, ee, $, P, { floorIndex: 2, floorplanData: 3 }, Z);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
function oe(o, e = {}) {
|
|
193
|
-
let t = "";
|
|
194
|
-
const { needZ: n, needA: r } = e;
|
|
195
|
-
return (n ? o.slice().concat(o[0]) : o.slice()).forEach((f, s) => {
|
|
196
|
-
const { x: l, y: a } = e.format ? e.format(f) : f, u = l + "," + a;
|
|
197
|
-
return s === 0 ? (t += "M" + u, t) : r != null && r[s] ? (t += "A" + r[s] + "," + u, t) : (t += "L" + u, t);
|
|
198
|
-
}), t + (n ? "Z" : "");
|
|
199
|
-
}
|
|
200
|
-
function ne({ x: o, y: e }, t) {
|
|
201
|
-
const { max: n, min: r } = t;
|
|
202
|
-
return { x: o - r.x, y: n.y - e };
|
|
203
|
-
}
|
|
204
|
-
function te(o, e) {
|
|
205
|
-
const t = o.x * 1e3 + e.bounding.origin.x, n = -o.z * 1e3 + e.bounding.origin.y;
|
|
206
|
-
return { x: t, y: n };
|
|
207
|
-
}
|
|
208
|
-
function re(o, e) {
|
|
209
|
-
const t = e.bounding, n = t.max.x - t.min.x, r = t.max.y - t.min.y;
|
|
210
|
-
return {
|
|
211
|
-
x: (o.x - t.min.x) / n,
|
|
212
|
-
y: (t.max.y - o.y) / r
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
function le(o, e) {
|
|
216
|
-
return Math.max(
|
|
217
|
-
...e.work.observers.map((n) => o.z >= n.standingPosition.z ? n.floorIndex : 0)
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
|
-
function ie(o) {
|
|
221
|
-
y(o, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
222
|
-
}
|
|
223
|
-
function se(o) {
|
|
224
|
-
let e, t, n;
|
|
225
|
-
return {
|
|
226
|
-
c() {
|
|
227
|
-
e = N("path"), c(e, "d", o[2]), c(e, "fill", "#fff"), c(e, "class", "svelte-19uvvss");
|
|
228
|
-
},
|
|
229
|
-
m(r, i) {
|
|
230
|
-
g(r, e, i), t || (n = [
|
|
231
|
-
G(e, "mouseenter", o[0]),
|
|
232
|
-
G(e, "mouseleave", o[1])
|
|
233
|
-
], t = !0);
|
|
234
|
-
},
|
|
235
|
-
p: m,
|
|
236
|
-
i: m,
|
|
237
|
-
o: m,
|
|
238
|
-
d(r) {
|
|
239
|
-
r && p(e), t = !1, E(n);
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
function fe(o, e, t) {
|
|
244
|
-
let { room: n } = e, { floorplanData: r } = e, { hoveredRoom: i } = e;
|
|
245
|
-
function f() {
|
|
246
|
-
i.set(n);
|
|
247
|
-
}
|
|
248
|
-
function s() {
|
|
249
|
-
i.set(void 0);
|
|
250
|
-
}
|
|
251
|
-
const { bounding: l } = r, a = oe(n.path, {
|
|
252
|
-
needZ: !0,
|
|
253
|
-
format: (u) => ne(u, l)
|
|
254
|
-
});
|
|
255
|
-
return o.$$set = (u) => {
|
|
256
|
-
"room" in u && t(3, n = u.room), "floorplanData" in u && t(4, r = u.floorplanData), "hoveredRoom" in u && t(5, i = u.hoveredRoom);
|
|
257
|
-
}, [f, s, a, n, r, i];
|
|
258
|
-
}
|
|
259
|
-
class ae extends h {
|
|
260
|
-
constructor(e) {
|
|
261
|
-
super(), d(
|
|
262
|
-
this,
|
|
263
|
-
e,
|
|
264
|
-
fe,
|
|
265
|
-
se,
|
|
266
|
-
P,
|
|
267
|
-
{
|
|
268
|
-
room: 3,
|
|
269
|
-
floorplanData: 4,
|
|
270
|
-
hoveredRoom: 5
|
|
271
|
-
},
|
|
272
|
-
ie
|
|
273
|
-
);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
function ue(o) {
|
|
277
|
-
y(o, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
|
|
278
|
-
}
|
|
279
|
-
function q(o, e, t) {
|
|
280
|
-
const n = o.slice();
|
|
281
|
-
return n[5] = e[t], n;
|
|
282
|
-
}
|
|
283
|
-
function M(o, e) {
|
|
284
|
-
let t, n, r;
|
|
285
|
-
const i = [
|
|
286
|
-
{
|
|
287
|
-
room: e[5],
|
|
288
|
-
floorplanData: e[1],
|
|
289
|
-
hoveredRoom: e[2]
|
|
290
|
-
}
|
|
291
|
-
];
|
|
292
|
-
let f = {};
|
|
293
|
-
for (let s = 0; s < i.length; s += 1)
|
|
294
|
-
f = Q(f, i[s]);
|
|
295
|
-
return n = new ae({ props: f }), {
|
|
296
|
-
key: o,
|
|
297
|
-
first: null,
|
|
298
|
-
c() {
|
|
299
|
-
t = z(), _(n.$$.fragment), this.first = t;
|
|
300
|
-
},
|
|
301
|
-
m(s, l) {
|
|
302
|
-
g(s, t, l), I(n, s, l), r = !0;
|
|
303
|
-
},
|
|
304
|
-
p(s, l) {
|
|
305
|
-
e = s;
|
|
306
|
-
const a = l & 7 ? J(i, [
|
|
307
|
-
{
|
|
308
|
-
room: e[5],
|
|
309
|
-
floorplanData: e[1],
|
|
310
|
-
hoveredRoom: e[2]
|
|
311
|
-
}
|
|
312
|
-
]) : {};
|
|
313
|
-
n.$set(a);
|
|
314
|
-
},
|
|
315
|
-
i(s) {
|
|
316
|
-
r || (A(n.$$.fragment, s), r = !0);
|
|
317
|
-
},
|
|
318
|
-
o(s) {
|
|
319
|
-
v(n.$$.fragment, s), r = !1;
|
|
320
|
-
},
|
|
321
|
-
d(s) {
|
|
322
|
-
s && p(t), D(n, s);
|
|
323
|
-
}
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
function ce(o) {
|
|
327
|
-
let e, t, n = [], r = /* @__PURE__ */ new Map(), i, f = o[1].floorDatas[o[0]].rooms;
|
|
328
|
-
const s = (l) => l[5].id;
|
|
329
|
-
for (let l = 0; l < f.length; l += 1) {
|
|
330
|
-
let a = q(o, f, l), u = s(a);
|
|
331
|
-
r.set(u, n[l] = M(u, a));
|
|
332
|
-
}
|
|
333
|
-
return {
|
|
334
|
-
c() {
|
|
335
|
-
e = x("div"), t = N("svg");
|
|
336
|
-
for (let l = 0; l < n.length; l += 1)
|
|
337
|
-
n[l].c();
|
|
338
|
-
c(t, "width", "100%"), c(t, "height", "100%"), c(t, "viewBox", `0 0 ${o[3]} ${o[4]}`), c(t, "class", "svelte-1kqo6e4"), c(e, "class", "floorplan-plugin__room-highlight svelte-1kqo6e4");
|
|
339
|
-
},
|
|
340
|
-
m(l, a) {
|
|
341
|
-
g(l, e, a), B(e, t);
|
|
342
|
-
for (let u = 0; u < n.length; u += 1)
|
|
343
|
-
n[u].m(t, null);
|
|
344
|
-
i = !0;
|
|
345
|
-
},
|
|
346
|
-
p(l, [a]) {
|
|
347
|
-
a & 7 && (f = l[1].floorDatas[l[0]].rooms, k(), n = H(n, a, s, 1, l, f, r, t, L, M, null, q), C());
|
|
348
|
-
},
|
|
349
|
-
i(l) {
|
|
350
|
-
if (!i) {
|
|
351
|
-
for (let a = 0; a < f.length; a += 1)
|
|
352
|
-
A(n[a]);
|
|
353
|
-
i = !0;
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
o(l) {
|
|
357
|
-
for (let a = 0; a < n.length; a += 1)
|
|
358
|
-
v(n[a]);
|
|
359
|
-
i = !1;
|
|
360
|
-
},
|
|
361
|
-
d(l) {
|
|
362
|
-
l && p(e);
|
|
363
|
-
for (let a = 0; a < n.length; a += 1)
|
|
364
|
-
n[a].d();
|
|
365
|
-
}
|
|
366
|
-
};
|
|
367
|
-
}
|
|
368
|
-
function me(o, e, t) {
|
|
369
|
-
let { floorIndex: n } = e, { floorplanData: r } = e, { hoveredRoom: i } = e;
|
|
370
|
-
const f = r.bounding.max.x - r.bounding.min.x, s = r.bounding.max.y - r.bounding.min.y;
|
|
371
|
-
return o.$$set = (l) => {
|
|
372
|
-
"floorIndex" in l && t(0, n = l.floorIndex), "floorplanData" in l && t(1, r = l.floorplanData), "hoveredRoom" in l && t(2, i = l.hoveredRoom);
|
|
373
|
-
}, [n, r, i, f, s];
|
|
374
|
-
}
|
|
375
|
-
class _e extends h {
|
|
376
|
-
constructor(e) {
|
|
377
|
-
super(), d(
|
|
378
|
-
this,
|
|
379
|
-
e,
|
|
380
|
-
me,
|
|
381
|
-
ce,
|
|
382
|
-
P,
|
|
383
|
-
{
|
|
384
|
-
floorIndex: 0,
|
|
385
|
-
floorplanData: 1,
|
|
386
|
-
hoveredRoom: 2
|
|
387
|
-
},
|
|
388
|
-
ue
|
|
389
|
-
);
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
const ve = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAwCAYAAACFUvPfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALaADAAQAAAABAAAAMAAAAADe2FZjAAAEF0lEQVRoBe2WzWskRRiHf13V092TxI2oEzYeVDwITtyDuCiihwiCePGgxIM3vYgHL4J4UIhBRA8i/gPqyUvWg7AiIuIeloDiYUHJLOK6BPwIk9nNODM9Xf1RVe1b3elJRjCZmQ6euqGmuqer33rq4e23GqiOykBloDJQGagMVAYqA5WBykBlYFYD1qwP/tdzaZqOx9zYOLxeX0+L5yzLGp0X/03a25MOnGRcBtx+6Rlo9SL08G4EooFnxa8Yiivox5/h5Ys/4cl7NVorNDRnngX+0MIkVMeMSf23zyKML8J7/Dy8hwF2Buh9CnS+AEQIdLspBuGb+M7/qLW4qJrNpsLapjYhpwVnx3BMfCtNNx3Etc9xywvnMf80wG8HmQainw0RxSGrnmeBp+8k5/j9S0HbvXb5io0Lz880/0wPHV1NlhLd316He+4xOCv5ragF7L9PrH1qBJyB0626x/lC+qrSvH5r/W+n1WpxUM5nMY4GPeH8lHJaPgfeAFQHCL+ntkXT+vnUc3W6pvTIwC0wy3rA4dwLmK2avZ7Eo9uKBuYJfgJscbs8dLCxDMt+EOEPBEZNEWyBYHqTz6bPXrzUnNrSShxHIsYiOL69zrCGLLcLqJP68tB+9w5wj+YhWDafQ2s61wNqxjZhmrQ2pvMFCEvXuCUZ7wqH794ZWs28LJqlTXSUyuksF2M/yOwqgkx2c1ADa4wLAQRk2sAGQQakhN6yFC2hltfz5kSY44NKQeeh+vtI/SSzWhg2CzCgmWISmKUGmaYFBDfCSymnfxJ6/+ospVcWOLLp5DGP/y0P/Rp66O99DQNq7Po3Ds0a0wY+My2QSv2N2mO/OyxR2o6UQk+Lv7yJ06JYSnnolZVU9cUn2O9SmaMWGFBqYXRwbqAJWIi94TX5biotpcGl1DXZ6LnqIbNDTnmUgi52Mv5l5ysMxIcZcGjy2DTK4ZHlcBC14zeSge4qphICjj3bS0A7o9nSp2TOkm7aZ8bGZy/jxhO87V91G0+dfY/Z7BWIIK9KYUi5qy/Hf8YfBG3sqJTHiQWhmTVkbip+wX3x6volVSx+LPAxF+VLXhZ8VQ+iP2Rta/iWe5v42Fngj0BbdnRTXh12ZIcKhTaGbcYjybRwXBU1lu9KlndXp04NM52poKWO0RZsviNaP9a6grkO972+st05pXhE5c1hTEluJy7XUejGUQNLMbAmTdWY1rKBLW3aTJqBZ7nZkb36DhYCreeYHbMUXHvaYi5XDK70EcgulmRjm77wNtenzuXCbmnTRaAx493rbGf3Jr/njMzj920CnKdUaFCjlDioy7NYNvOdGrQJNgI32/L2tkXfFPlxgToqjWVhD6KdLnQRdARf/HHQz2r2X2Gqy8pAZaAyUBmoDFQGKgP/q4F/AJYg9/s0ZoABAAAAAElFTkSuQmCC";
|
|
393
|
-
function Ae(o) {
|
|
394
|
-
return w(this, null, function* () {
|
|
395
|
-
const e = new Headers({ "Content-Type": "text/plain" }), t = function(r) {
|
|
396
|
-
return w(this, null, function* () {
|
|
397
|
-
const i = {
|
|
398
|
-
index: r.index,
|
|
399
|
-
url: r.url,
|
|
400
|
-
svgUrl: r.svg_url
|
|
401
|
-
};
|
|
402
|
-
if (r.svg_url) {
|
|
403
|
-
const f = yield fetch(r.svg_url, { headers: e }).then((s) => s.text());
|
|
404
|
-
i.svgContent = f;
|
|
405
|
-
}
|
|
406
|
-
return i;
|
|
407
|
-
});
|
|
408
|
-
};
|
|
409
|
-
return yield Promise.all(o.map(t));
|
|
410
|
-
});
|
|
411
|
-
}
|
|
412
|
-
function ge(o) {
|
|
413
|
-
return {
|
|
414
|
-
id: o.id,
|
|
415
|
-
size: o.size,
|
|
416
|
-
name: o.name,
|
|
417
|
-
path: o.path,
|
|
418
|
-
roomType: o.room_type,
|
|
419
|
-
floorType: o.floor_type,
|
|
420
|
-
roomLabel: {
|
|
421
|
-
position: o.room_label.position,
|
|
422
|
-
positionInImage: o.room_label.position_in_image
|
|
423
|
-
},
|
|
424
|
-
observerIndexs: o.observer_indexs
|
|
425
|
-
};
|
|
426
|
-
}
|
|
427
|
-
function pe(o) {
|
|
428
|
-
return {
|
|
429
|
-
floorName: o.floor_name,
|
|
430
|
-
floorIndex: o.floor_index,
|
|
431
|
-
rooms: o.rooms.map(ge),
|
|
432
|
-
rules: o.rules
|
|
433
|
-
};
|
|
434
|
-
}
|
|
435
|
-
function he(o) {
|
|
436
|
-
return {
|
|
437
|
-
index: o.index,
|
|
438
|
-
floorIndex: o.floor_index,
|
|
439
|
-
position: o.position,
|
|
440
|
-
positionInImage: o.position_in_image
|
|
441
|
-
};
|
|
442
|
-
}
|
|
443
|
-
function de(o) {
|
|
444
|
-
return {
|
|
445
|
-
rad: o.rad,
|
|
446
|
-
position: o.position,
|
|
447
|
-
positionInImage: o.position_in_image,
|
|
448
|
-
northRad: o.north_rad,
|
|
449
|
-
roomId: o.room_id,
|
|
450
|
-
floorIndex: o.floor_index
|
|
451
|
-
};
|
|
452
|
-
}
|
|
453
|
-
function Ie(o) {
|
|
454
|
-
return w(this, null, function* () {
|
|
455
|
-
const e = yield Ae(o.outlines), t = o.computed_data.bounding, n = o.computed_data.floor_datas.map(pe), r = o.computed_data.entrance ? de(o.computed_data.entrance) : null;
|
|
456
|
-
return {
|
|
457
|
-
outlines: e,
|
|
458
|
-
entrance: r,
|
|
459
|
-
bounding: t,
|
|
460
|
-
floorDatas: n,
|
|
461
|
-
observers: o.computed_data.observers.map(he)
|
|
462
|
-
};
|
|
463
|
-
});
|
|
464
|
-
}
|
|
465
|
-
function De(o, e, t) {
|
|
466
|
-
return o.map((r) => {
|
|
467
|
-
const i = r.position, f = r.icon ? r.icon : {
|
|
468
|
-
url: ve,
|
|
469
|
-
width: 45,
|
|
470
|
-
height: 48
|
|
471
|
-
}, s = le(i, e), l = te(i, t), a = re(l, t);
|
|
472
|
-
return { floorIndex: s, icon: f, id: r.id, position: l, positionInImage: a };
|
|
473
|
-
});
|
|
474
|
-
}
|
|
475
|
-
export {
|
|
476
|
-
xe as BaseImage,
|
|
477
|
-
we as CAMERA_IMAGE,
|
|
478
|
-
_e as RoomHighlight,
|
|
479
|
-
Ie as formatData,
|
|
480
|
-
De as formatExtraObjects,
|
|
481
|
-
ne as formatFloorplanPoint,
|
|
482
|
-
oe as pathD
|
|
483
|
-
};
|