@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,328 @@
|
|
|
1
|
+
/* generated by Svelte v3.47.0 */
|
|
2
|
+
import {
|
|
3
|
+
SvelteComponent,
|
|
4
|
+
append_styles,
|
|
5
|
+
attr,
|
|
6
|
+
check_outros,
|
|
7
|
+
create_component,
|
|
8
|
+
destroy_component,
|
|
9
|
+
destroy_each,
|
|
10
|
+
detach,
|
|
11
|
+
element,
|
|
12
|
+
group_outros,
|
|
13
|
+
init,
|
|
14
|
+
insert,
|
|
15
|
+
mount_component,
|
|
16
|
+
safe_not_equal,
|
|
17
|
+
svg_element,
|
|
18
|
+
transition_in,
|
|
19
|
+
transition_out
|
|
20
|
+
} from "svelte/internal";
|
|
21
|
+
|
|
22
|
+
import formatFloorplanPoint from '../../utils/formatPosition';
|
|
23
|
+
import RoomMaterial_0 from './RoomMaterial_0';
|
|
24
|
+
import RoomMaterial_1 from './RoomMaterial_1';
|
|
25
|
+
import RoomMaterial_2 from './RoomMaterial_2';
|
|
26
|
+
|
|
27
|
+
function add_css(target) {
|
|
28
|
+
append_styles(target, "svelte-1b0icjc", "svg.svelte-1b0icjc{position:absolute;width:100%;height:100%;overflow:visible}");
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function get_each_context(ctx, list, i) {
|
|
32
|
+
const child_ctx = ctx.slice();
|
|
33
|
+
child_ctx[4] = list[i];
|
|
34
|
+
return child_ctx;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// (21:6) {:else}
|
|
38
|
+
function create_else_block(ctx) {
|
|
39
|
+
let roommaterial_1;
|
|
40
|
+
let current;
|
|
41
|
+
roommaterial_1 = new RoomMaterial_1({ props: { path: /*room*/ ctx[4].path } });
|
|
42
|
+
|
|
43
|
+
return {
|
|
44
|
+
c() {
|
|
45
|
+
create_component(roommaterial_1.$$.fragment);
|
|
46
|
+
},
|
|
47
|
+
m(target, anchor) {
|
|
48
|
+
mount_component(roommaterial_1, target, anchor);
|
|
49
|
+
current = true;
|
|
50
|
+
},
|
|
51
|
+
p(ctx, dirty) {
|
|
52
|
+
const roommaterial_1_changes = {};
|
|
53
|
+
if (dirty & /*rooms*/ 1) roommaterial_1_changes.path = /*room*/ ctx[4].path;
|
|
54
|
+
roommaterial_1.$set(roommaterial_1_changes);
|
|
55
|
+
},
|
|
56
|
+
i(local) {
|
|
57
|
+
if (current) return;
|
|
58
|
+
transition_in(roommaterial_1.$$.fragment, local);
|
|
59
|
+
current = true;
|
|
60
|
+
},
|
|
61
|
+
o(local) {
|
|
62
|
+
transition_out(roommaterial_1.$$.fragment, local);
|
|
63
|
+
current = false;
|
|
64
|
+
},
|
|
65
|
+
d(detaching) {
|
|
66
|
+
destroy_component(roommaterial_1, detaching);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// (19:37)
|
|
72
|
+
function create_if_block_1(ctx) {
|
|
73
|
+
let roommaterial_2;
|
|
74
|
+
let current;
|
|
75
|
+
roommaterial_2 = new RoomMaterial_2({ props: { path: /*room*/ ctx[4].path } });
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
c() {
|
|
79
|
+
create_component(roommaterial_2.$$.fragment);
|
|
80
|
+
},
|
|
81
|
+
m(target, anchor) {
|
|
82
|
+
mount_component(roommaterial_2, target, anchor);
|
|
83
|
+
current = true;
|
|
84
|
+
},
|
|
85
|
+
p(ctx, dirty) {
|
|
86
|
+
const roommaterial_2_changes = {};
|
|
87
|
+
if (dirty & /*rooms*/ 1) roommaterial_2_changes.path = /*room*/ ctx[4].path;
|
|
88
|
+
roommaterial_2.$set(roommaterial_2_changes);
|
|
89
|
+
},
|
|
90
|
+
i(local) {
|
|
91
|
+
if (current) return;
|
|
92
|
+
transition_in(roommaterial_2.$$.fragment, local);
|
|
93
|
+
current = true;
|
|
94
|
+
},
|
|
95
|
+
o(local) {
|
|
96
|
+
transition_out(roommaterial_2.$$.fragment, local);
|
|
97
|
+
current = false;
|
|
98
|
+
},
|
|
99
|
+
d(detaching) {
|
|
100
|
+
destroy_component(roommaterial_2, detaching);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// (17:6) {#if room.floorType === 1}
|
|
106
|
+
function create_if_block(ctx) {
|
|
107
|
+
let roommaterial_0;
|
|
108
|
+
let current;
|
|
109
|
+
roommaterial_0 = new RoomMaterial_0({ props: { path: /*room*/ ctx[4].path } });
|
|
110
|
+
|
|
111
|
+
return {
|
|
112
|
+
c() {
|
|
113
|
+
create_component(roommaterial_0.$$.fragment);
|
|
114
|
+
},
|
|
115
|
+
m(target, anchor) {
|
|
116
|
+
mount_component(roommaterial_0, target, anchor);
|
|
117
|
+
current = true;
|
|
118
|
+
},
|
|
119
|
+
p(ctx, dirty) {
|
|
120
|
+
const roommaterial_0_changes = {};
|
|
121
|
+
if (dirty & /*rooms*/ 1) roommaterial_0_changes.path = /*room*/ ctx[4].path;
|
|
122
|
+
roommaterial_0.$set(roommaterial_0_changes);
|
|
123
|
+
},
|
|
124
|
+
i(local) {
|
|
125
|
+
if (current) return;
|
|
126
|
+
transition_in(roommaterial_0.$$.fragment, local);
|
|
127
|
+
current = true;
|
|
128
|
+
},
|
|
129
|
+
o(local) {
|
|
130
|
+
transition_out(roommaterial_0.$$.fragment, local);
|
|
131
|
+
current = false;
|
|
132
|
+
},
|
|
133
|
+
d(detaching) {
|
|
134
|
+
destroy_component(roommaterial_0, detaching);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// (15:2) {#each rooms as room}
|
|
140
|
+
function create_each_block(ctx) {
|
|
141
|
+
let svg;
|
|
142
|
+
let current_block_type_index;
|
|
143
|
+
let if_block;
|
|
144
|
+
let current;
|
|
145
|
+
const if_block_creators = [create_if_block, create_if_block_1, create_else_block];
|
|
146
|
+
const if_blocks = [];
|
|
147
|
+
|
|
148
|
+
function select_block_type(ctx, dirty) {
|
|
149
|
+
if (/*room*/ ctx[4].floorType === 1) return 0;
|
|
150
|
+
if (/*room*/ ctx[4].floorType === 0) return 1;
|
|
151
|
+
return 2;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
current_block_type_index = select_block_type(ctx, -1);
|
|
155
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
156
|
+
|
|
157
|
+
return {
|
|
158
|
+
c() {
|
|
159
|
+
svg = svg_element("svg");
|
|
160
|
+
if_block.c();
|
|
161
|
+
attr(svg, "class", "svelte-1b0icjc");
|
|
162
|
+
},
|
|
163
|
+
m(target, anchor) {
|
|
164
|
+
insert(target, svg, anchor);
|
|
165
|
+
if_blocks[current_block_type_index].m(svg, null);
|
|
166
|
+
current = true;
|
|
167
|
+
},
|
|
168
|
+
p(ctx, dirty) {
|
|
169
|
+
let previous_block_index = current_block_type_index;
|
|
170
|
+
current_block_type_index = select_block_type(ctx, dirty);
|
|
171
|
+
|
|
172
|
+
if (current_block_type_index === previous_block_index) {
|
|
173
|
+
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
174
|
+
} else {
|
|
175
|
+
group_outros();
|
|
176
|
+
|
|
177
|
+
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
178
|
+
if_blocks[previous_block_index] = null;
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
check_outros();
|
|
182
|
+
if_block = if_blocks[current_block_type_index];
|
|
183
|
+
|
|
184
|
+
if (!if_block) {
|
|
185
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
186
|
+
if_block.c();
|
|
187
|
+
} else {
|
|
188
|
+
if_block.p(ctx, dirty);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
transition_in(if_block, 1);
|
|
192
|
+
if_block.m(svg, null);
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
i(local) {
|
|
196
|
+
if (current) return;
|
|
197
|
+
transition_in(if_block);
|
|
198
|
+
current = true;
|
|
199
|
+
},
|
|
200
|
+
o(local) {
|
|
201
|
+
transition_out(if_block);
|
|
202
|
+
current = false;
|
|
203
|
+
},
|
|
204
|
+
d(detaching) {
|
|
205
|
+
if (detaching) detach(svg);
|
|
206
|
+
if_blocks[current_block_type_index].d();
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function create_fragment(ctx) {
|
|
212
|
+
let div;
|
|
213
|
+
let current;
|
|
214
|
+
let each_value = /*rooms*/ ctx[0];
|
|
215
|
+
let each_blocks = [];
|
|
216
|
+
|
|
217
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
218
|
+
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
const out = i => transition_out(each_blocks[i], 1, 1, () => {
|
|
222
|
+
each_blocks[i] = null;
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
return {
|
|
226
|
+
c() {
|
|
227
|
+
div = element("div");
|
|
228
|
+
|
|
229
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
230
|
+
each_blocks[i].c();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
attr(div, "class", "floorplan-plugin__room-material");
|
|
234
|
+
},
|
|
235
|
+
m(target, anchor) {
|
|
236
|
+
insert(target, div, anchor);
|
|
237
|
+
|
|
238
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
239
|
+
each_blocks[i].m(div, null);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
current = true;
|
|
243
|
+
},
|
|
244
|
+
p(ctx, [dirty]) {
|
|
245
|
+
if (dirty & /*rooms*/ 1) {
|
|
246
|
+
each_value = /*rooms*/ ctx[0];
|
|
247
|
+
let i;
|
|
248
|
+
|
|
249
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
250
|
+
const child_ctx = get_each_context(ctx, each_value, i);
|
|
251
|
+
|
|
252
|
+
if (each_blocks[i]) {
|
|
253
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
254
|
+
transition_in(each_blocks[i], 1);
|
|
255
|
+
} else {
|
|
256
|
+
each_blocks[i] = create_each_block(child_ctx);
|
|
257
|
+
each_blocks[i].c();
|
|
258
|
+
transition_in(each_blocks[i], 1);
|
|
259
|
+
each_blocks[i].m(div, null);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
group_outros();
|
|
264
|
+
|
|
265
|
+
for (i = each_value.length; i < each_blocks.length; i += 1) {
|
|
266
|
+
out(i);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
check_outros();
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
i(local) {
|
|
273
|
+
if (current) return;
|
|
274
|
+
|
|
275
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
276
|
+
transition_in(each_blocks[i]);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
current = true;
|
|
280
|
+
},
|
|
281
|
+
o(local) {
|
|
282
|
+
each_blocks = each_blocks.filter(Boolean);
|
|
283
|
+
|
|
284
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
285
|
+
transition_out(each_blocks[i]);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
current = false;
|
|
289
|
+
},
|
|
290
|
+
d(detaching) {
|
|
291
|
+
if (detaching) detach(div);
|
|
292
|
+
destroy_each(each_blocks, detaching);
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
function instance($$self, $$props, $$invalidate) {
|
|
298
|
+
let rooms;
|
|
299
|
+
let { floorIndex } = $$props;
|
|
300
|
+
let { pxmm } = $$props;
|
|
301
|
+
let { floorplanData } = $$props;
|
|
302
|
+
|
|
303
|
+
$$self.$$set = $$props => {
|
|
304
|
+
if ('floorIndex' in $$props) $$invalidate(1, floorIndex = $$props.floorIndex);
|
|
305
|
+
if ('pxmm' in $$props) $$invalidate(2, pxmm = $$props.pxmm);
|
|
306
|
+
if ('floorplanData' in $$props) $$invalidate(3, floorplanData = $$props.floorplanData);
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
$$self.$$.update = () => {
|
|
310
|
+
if ($$self.$$.dirty & /*floorplanData, floorIndex, pxmm*/ 14) {
|
|
311
|
+
$: $$invalidate(0, rooms = floorplanData.floorDatas[floorIndex].rooms.map(room => ({
|
|
312
|
+
...room,
|
|
313
|
+
path: room.path.map(p => formatFloorplanPoint(p, pxmm, floorplanData.bounding))
|
|
314
|
+
})));
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
return [rooms, floorIndex, pxmm, floorplanData];
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
class Component extends SvelteComponent {
|
|
322
|
+
constructor(options) {
|
|
323
|
+
super();
|
|
324
|
+
init(this, options, instance, create_fragment, safe_not_equal, { floorIndex: 1, pxmm: 2, floorplanData: 3 }, add_css);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export default Component;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* generated by Svelte v3.47.0 */
|
|
2
|
+
import {
|
|
3
|
+
SvelteComponent,
|
|
4
|
+
attr,
|
|
5
|
+
detach,
|
|
6
|
+
init,
|
|
7
|
+
insert,
|
|
8
|
+
noop,
|
|
9
|
+
safe_not_equal,
|
|
10
|
+
svg_element
|
|
11
|
+
} from "svelte/internal";
|
|
12
|
+
|
|
13
|
+
import { pathD } from '../../utils/formatPosition';
|
|
14
|
+
|
|
15
|
+
function create_fragment(ctx) {
|
|
16
|
+
let path_1;
|
|
17
|
+
|
|
18
|
+
return {
|
|
19
|
+
c() {
|
|
20
|
+
path_1 = svg_element("path");
|
|
21
|
+
attr(path_1, "d", /*d*/ ctx[0]);
|
|
22
|
+
attr(path_1, "fill", "#2F313A");
|
|
23
|
+
},
|
|
24
|
+
m(target, anchor) {
|
|
25
|
+
insert(target, path_1, anchor);
|
|
26
|
+
},
|
|
27
|
+
p(ctx, [dirty]) {
|
|
28
|
+
if (dirty & /*d*/ 1) {
|
|
29
|
+
attr(path_1, "d", /*d*/ ctx[0]);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
i: noop,
|
|
33
|
+
o: noop,
|
|
34
|
+
d(detaching) {
|
|
35
|
+
if (detaching) detach(path_1);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function instance($$self, $$props, $$invalidate) {
|
|
41
|
+
let d;
|
|
42
|
+
let { path } = $$props;
|
|
43
|
+
|
|
44
|
+
$$self.$$set = $$props => {
|
|
45
|
+
if ('path' in $$props) $$invalidate(1, path = $$props.path);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
$$self.$$.update = () => {
|
|
49
|
+
if ($$self.$$.dirty & /*path*/ 2) {
|
|
50
|
+
$: $$invalidate(0, d = pathD(path, { needZ: true }));
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
return [d, path];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
class Component extends SvelteComponent {
|
|
58
|
+
constructor(options) {
|
|
59
|
+
super();
|
|
60
|
+
init(this, options, instance, create_fragment, safe_not_equal, { path: 1 });
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export default Component;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/* generated by Svelte v3.47.0 */
|
|
2
|
+
import {
|
|
3
|
+
SvelteComponent,
|
|
4
|
+
append,
|
|
5
|
+
attr,
|
|
6
|
+
detach,
|
|
7
|
+
init,
|
|
8
|
+
insert,
|
|
9
|
+
noop,
|
|
10
|
+
safe_not_equal,
|
|
11
|
+
space,
|
|
12
|
+
svg_element
|
|
13
|
+
} from "svelte/internal";
|
|
14
|
+
|
|
15
|
+
import { pathD } from '../../utils/formatPosition';
|
|
16
|
+
|
|
17
|
+
function create_fragment(ctx) {
|
|
18
|
+
let defs;
|
|
19
|
+
let pattern;
|
|
20
|
+
let rect;
|
|
21
|
+
let path0;
|
|
22
|
+
let t;
|
|
23
|
+
let path1;
|
|
24
|
+
|
|
25
|
+
return {
|
|
26
|
+
c() {
|
|
27
|
+
defs = svg_element("defs");
|
|
28
|
+
pattern = svg_element("pattern");
|
|
29
|
+
rect = svg_element("rect");
|
|
30
|
+
path0 = svg_element("path");
|
|
31
|
+
t = space();
|
|
32
|
+
path1 = svg_element("path");
|
|
33
|
+
attr(rect, "x", "0");
|
|
34
|
+
attr(rect, "y", "0");
|
|
35
|
+
attr(rect, "width", /*width*/ ctx[1]);
|
|
36
|
+
attr(rect, "height", /*width*/ ctx[1]);
|
|
37
|
+
attr(rect, "fill", "#323747");
|
|
38
|
+
attr(path0, "d", /*patternPathD*/ ctx[2]);
|
|
39
|
+
attr(path0, "stroke", "#ffffff");
|
|
40
|
+
attr(path0, "stroke-opacity", "0.06");
|
|
41
|
+
attr(path0, "stroke-width", "0.5");
|
|
42
|
+
attr(path0, "fill", "none");
|
|
43
|
+
attr(pattern, "id", "fpm-room-pattern-0");
|
|
44
|
+
attr(pattern, "x", "0");
|
|
45
|
+
attr(pattern, "y", "0");
|
|
46
|
+
attr(pattern, "width", /*width*/ ctx[1]);
|
|
47
|
+
attr(pattern, "height", /*width*/ ctx[1]);
|
|
48
|
+
attr(pattern, "patternUnits", "userSpaceOnUse");
|
|
49
|
+
attr(path1, "d", /*d*/ ctx[0]);
|
|
50
|
+
attr(path1, "fill", "url(#fpm-room-pattern-0)");
|
|
51
|
+
},
|
|
52
|
+
m(target, anchor) {
|
|
53
|
+
insert(target, defs, anchor);
|
|
54
|
+
append(defs, pattern);
|
|
55
|
+
append(pattern, rect);
|
|
56
|
+
append(pattern, path0);
|
|
57
|
+
insert(target, t, anchor);
|
|
58
|
+
insert(target, path1, anchor);
|
|
59
|
+
},
|
|
60
|
+
p(ctx, [dirty]) {
|
|
61
|
+
if (dirty & /*d*/ 1) {
|
|
62
|
+
attr(path1, "d", /*d*/ ctx[0]);
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
i: noop,
|
|
66
|
+
o: noop,
|
|
67
|
+
d(detaching) {
|
|
68
|
+
if (detaching) detach(defs);
|
|
69
|
+
if (detaching) detach(t);
|
|
70
|
+
if (detaching) detach(path1);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
const halfWidth = 6;
|
|
76
|
+
|
|
77
|
+
function instance($$self, $$props, $$invalidate) {
|
|
78
|
+
let d;
|
|
79
|
+
let { path } = $$props;
|
|
80
|
+
const width = halfWidth * 2;
|
|
81
|
+
const patternPathD = `M0 ${halfWidth} h ${width} M${halfWidth} 0 v ${width}`;
|
|
82
|
+
|
|
83
|
+
$$self.$$set = $$props => {
|
|
84
|
+
if ('path' in $$props) $$invalidate(3, path = $$props.path);
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
$$self.$$.update = () => {
|
|
88
|
+
if ($$self.$$.dirty & /*path*/ 8) {
|
|
89
|
+
$: $$invalidate(0, d = pathD(path, { needZ: true }));
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
return [d, width, patternPathD, path];
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
class Component extends SvelteComponent {
|
|
97
|
+
constructor(options) {
|
|
98
|
+
super();
|
|
99
|
+
init(this, options, instance, create_fragment, safe_not_equal, { path: 3 });
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export default Component;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/* generated by Svelte v3.47.0 */
|
|
2
|
+
import {
|
|
3
|
+
SvelteComponent,
|
|
4
|
+
append,
|
|
5
|
+
attr,
|
|
6
|
+
detach,
|
|
7
|
+
init,
|
|
8
|
+
insert,
|
|
9
|
+
noop,
|
|
10
|
+
safe_not_equal,
|
|
11
|
+
space,
|
|
12
|
+
svg_element
|
|
13
|
+
} from "svelte/internal";
|
|
14
|
+
|
|
15
|
+
import { pathD } from '../../utils/formatPosition';
|
|
16
|
+
|
|
17
|
+
function create_fragment(ctx) {
|
|
18
|
+
let defs;
|
|
19
|
+
let pattern0;
|
|
20
|
+
let rect0;
|
|
21
|
+
let pattern1;
|
|
22
|
+
let rect1;
|
|
23
|
+
let t0;
|
|
24
|
+
let path0;
|
|
25
|
+
let t1;
|
|
26
|
+
let path1;
|
|
27
|
+
let t2;
|
|
28
|
+
let path2;
|
|
29
|
+
|
|
30
|
+
return {
|
|
31
|
+
c() {
|
|
32
|
+
defs = svg_element("defs");
|
|
33
|
+
pattern0 = svg_element("pattern");
|
|
34
|
+
rect0 = svg_element("rect");
|
|
35
|
+
pattern1 = svg_element("pattern");
|
|
36
|
+
rect1 = svg_element("rect");
|
|
37
|
+
t0 = space();
|
|
38
|
+
path0 = svg_element("path");
|
|
39
|
+
t1 = space();
|
|
40
|
+
path1 = svg_element("path");
|
|
41
|
+
t2 = space();
|
|
42
|
+
path2 = svg_element("path");
|
|
43
|
+
attr(rect0, "x", "0.5");
|
|
44
|
+
attr(rect0, "y", "0.5");
|
|
45
|
+
attr(rect0, "width", "6");
|
|
46
|
+
attr(rect0, "height", "50");
|
|
47
|
+
attr(rect0, "fill", "none");
|
|
48
|
+
attr(rect0, "stroke", "#4B4B57");
|
|
49
|
+
attr(rect0, "stroke-width", "0.5");
|
|
50
|
+
attr(pattern0, "id", "room-material-pattern-1");
|
|
51
|
+
attr(pattern0, "x", "0");
|
|
52
|
+
attr(pattern0, "y", "0");
|
|
53
|
+
attr(pattern0, "width", "13");
|
|
54
|
+
attr(pattern0, "height", "51");
|
|
55
|
+
attr(pattern0, "patternUnits", "userSpaceOnUse");
|
|
56
|
+
attr(rect1, "x", "0.5");
|
|
57
|
+
attr(rect1, "y", "0.5");
|
|
58
|
+
attr(rect1, "width", "6");
|
|
59
|
+
attr(rect1, "height", "50");
|
|
60
|
+
attr(rect1, "fill", "none");
|
|
61
|
+
attr(rect1, "stroke", "#4B4B57");
|
|
62
|
+
attr(rect1, "stroke-width", "0.5");
|
|
63
|
+
attr(pattern1, "id", "room-material-pattern-2");
|
|
64
|
+
attr(pattern1, "x", "7");
|
|
65
|
+
attr(pattern1, "y", "25");
|
|
66
|
+
attr(pattern1, "width", "13");
|
|
67
|
+
attr(pattern1, "height", "51");
|
|
68
|
+
attr(pattern1, "patternUnits", "userSpaceOnUse");
|
|
69
|
+
attr(path0, "d", /*d*/ ctx[0]);
|
|
70
|
+
attr(path0, "fill", "#43434D");
|
|
71
|
+
attr(path1, "d", /*d*/ ctx[0]);
|
|
72
|
+
attr(path1, "fill", "url(#room-material-pattern-1)");
|
|
73
|
+
attr(path2, "d", /*d*/ ctx[0]);
|
|
74
|
+
attr(path2, "fill", "url(#room-material-pattern-2)");
|
|
75
|
+
},
|
|
76
|
+
m(target, anchor) {
|
|
77
|
+
insert(target, defs, anchor);
|
|
78
|
+
append(defs, pattern0);
|
|
79
|
+
append(pattern0, rect0);
|
|
80
|
+
append(defs, pattern1);
|
|
81
|
+
append(pattern1, rect1);
|
|
82
|
+
insert(target, t0, anchor);
|
|
83
|
+
insert(target, path0, anchor);
|
|
84
|
+
insert(target, t1, anchor);
|
|
85
|
+
insert(target, path1, anchor);
|
|
86
|
+
insert(target, t2, anchor);
|
|
87
|
+
insert(target, path2, anchor);
|
|
88
|
+
},
|
|
89
|
+
p(ctx, [dirty]) {
|
|
90
|
+
if (dirty & /*d*/ 1) {
|
|
91
|
+
attr(path0, "d", /*d*/ ctx[0]);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
if (dirty & /*d*/ 1) {
|
|
95
|
+
attr(path1, "d", /*d*/ ctx[0]);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if (dirty & /*d*/ 1) {
|
|
99
|
+
attr(path2, "d", /*d*/ ctx[0]);
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
i: noop,
|
|
103
|
+
o: noop,
|
|
104
|
+
d(detaching) {
|
|
105
|
+
if (detaching) detach(defs);
|
|
106
|
+
if (detaching) detach(t0);
|
|
107
|
+
if (detaching) detach(path0);
|
|
108
|
+
if (detaching) detach(t1);
|
|
109
|
+
if (detaching) detach(path1);
|
|
110
|
+
if (detaching) detach(t2);
|
|
111
|
+
if (detaching) detach(path2);
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function instance($$self, $$props, $$invalidate) {
|
|
117
|
+
let d;
|
|
118
|
+
let { path } = $$props;
|
|
119
|
+
|
|
120
|
+
$$self.$$set = $$props => {
|
|
121
|
+
if ('path' in $$props) $$invalidate(1, path = $$props.path);
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
$$self.$$.update = () => {
|
|
125
|
+
if ($$self.$$.dirty & /*path*/ 2) {
|
|
126
|
+
$: $$invalidate(0, d = pathD(path, { needZ: true }));
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
return [d, path];
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
class Component extends SvelteComponent {
|
|
134
|
+
constructor(options) {
|
|
135
|
+
super();
|
|
136
|
+
init(this, options, instance, create_fragment, safe_not_equal, { path: 1 });
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export default Component;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* generated by Svelte v3.47.0 */
|
|
2
|
+
import {
|
|
3
|
+
HtmlTag,
|
|
4
|
+
SvelteComponent,
|
|
5
|
+
append,
|
|
6
|
+
append_styles,
|
|
7
|
+
attr,
|
|
8
|
+
detach,
|
|
9
|
+
element,
|
|
10
|
+
init,
|
|
11
|
+
insert,
|
|
12
|
+
noop,
|
|
13
|
+
safe_not_equal,
|
|
14
|
+
space
|
|
15
|
+
} from "svelte/internal";
|
|
16
|
+
|
|
17
|
+
function add_css(target) {
|
|
18
|
+
append_styles(target, "svelte-1qqy56u", ".floorplan-plugin__base-image.svelte-1qqy56u{width:100%;height:100%}");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function create_fragment(ctx) {
|
|
22
|
+
let div;
|
|
23
|
+
let html_tag;
|
|
24
|
+
let t;
|
|
25
|
+
let html_tag_1;
|
|
26
|
+
|
|
27
|
+
return {
|
|
28
|
+
c() {
|
|
29
|
+
div = element("div");
|
|
30
|
+
html_tag = new HtmlTag();
|
|
31
|
+
t = space();
|
|
32
|
+
html_tag_1 = new HtmlTag();
|
|
33
|
+
html_tag.a = t;
|
|
34
|
+
html_tag_1.a = null;
|
|
35
|
+
attr(div, "class", "floorplan-plugin__base-image svelte-1qqy56u");
|
|
36
|
+
},
|
|
37
|
+
m(target, anchor) {
|
|
38
|
+
insert(target, div, anchor);
|
|
39
|
+
html_tag.m(/*svgStyle*/ ctx[1], div);
|
|
40
|
+
append(div, t);
|
|
41
|
+
html_tag_1.m(/*content*/ ctx[0], div);
|
|
42
|
+
},
|
|
43
|
+
p(ctx, [dirty]) {
|
|
44
|
+
if (dirty & /*content*/ 1) html_tag_1.p(/*content*/ ctx[0]);
|
|
45
|
+
},
|
|
46
|
+
i: noop,
|
|
47
|
+
o: noop,
|
|
48
|
+
d(detaching) {
|
|
49
|
+
if (detaching) detach(div);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function instance($$self, $$props, $$invalidate) {
|
|
55
|
+
let { content } = $$props;
|
|
56
|
+
|
|
57
|
+
const svgStyle = `
|
|
58
|
+
<style>
|
|
59
|
+
svg [type='lineGroup'] path {
|
|
60
|
+
fill: #ffffff;
|
|
61
|
+
stroke: #ffffff;
|
|
62
|
+
}
|
|
63
|
+
svg [type='lineItemGroup'] g g g g {
|
|
64
|
+
stroke: #ffffff;
|
|
65
|
+
}
|
|
66
|
+
</style>
|
|
67
|
+
`;
|
|
68
|
+
|
|
69
|
+
$$self.$$set = $$props => {
|
|
70
|
+
if ('content' in $$props) $$invalidate(0, content = $$props.content);
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
return [content, svgStyle];
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
class Component extends SvelteComponent {
|
|
77
|
+
constructor(options) {
|
|
78
|
+
super();
|
|
79
|
+
init(this, options, instance, create_fragment, safe_not_equal, { content: 0 }, add_css);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export default Component;
|