@realsee/dnalogel 2.0.0-alpha.9 → 2.0.0-beta.36
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/README.md +78 -28
- package/components/index.js +1450 -0
- package/dist/CSS3DRenderPlugin/Plugin.d.ts +49 -0
- package/dist/CSS3DRenderPlugin/index.d.ts +3 -48
- package/dist/CSS3DRenderPlugin/index.js +27 -26
- package/dist/CameraMovementPlugin/CameraMovementPlugin.d.ts +7 -0
- package/dist/CameraMovementPlugin/index.d.ts +4 -6
- package/dist/CameraMovementPlugin/index.js +12 -12
- package/dist/CameraMovementPlugin/typing.d.ts +1 -1
- 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/index.js +941 -0
- package/dist/ItemLabelPlugin/typings.d.ts +59 -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 +6 -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 +3 -18
- package/dist/ModelChassisCompassPlugin/index.js +8 -5
- package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +26 -0
- package/dist/ModelEntryDoorGuidePlugin/index.d.ts +3 -25
- package/dist/ModelEntryDoorGuidePlugin/index.js +20 -20
- 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/index.js +674 -0
- package/dist/ModelItemLabelPlugin/typings.d.ts +56 -0
- package/dist/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/dist/ModelRoomLabelPlugin/index.js +153 -73
- package/dist/ModelRoomLabelPlugin/utils/parseData.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/Plugin.d.ts +4 -0
- package/dist/ModelTVVideoPlugin/index.d.ts +5 -0
- package/dist/ModelTVVideoPlugin/index.js +301 -0
- package/dist/ModelTVVideoPlugin/typings.d.ts +25 -0
- package/dist/ModelTVVideoPlugin/utils/parseData.d.ts +2 -0
- package/dist/ModelViewPlugin/Plugin.d.ts +17 -0
- package/dist/ModelViewPlugin/index.d.ts +3 -16
- package/dist/PanoCompassPlugin/Plugin.d.ts +47 -0
- package/dist/PanoCompassPlugin/index.d.ts +4 -47
- package/dist/PanoCompassPlugin/index.js +242 -129
- package/dist/PanoCursorRaycasterPlugin/index.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/index.js +5 -3
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +12 -9
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +44 -0
- package/dist/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +18 -9
- package/dist/PanoMeasurePlugin/Model/index.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Model/line.d.ts +5 -5
- package/dist/PanoMeasurePlugin/Model/point.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +3 -3
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +5 -2
- package/dist/PanoMeasurePlugin/Modules/FiveHelper.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +50 -15
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/NewMainBtnController.d.ts +12 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +42 -0
- package/dist/PanoMeasurePlugin/index.d.ts +9 -6
- package/dist/PanoMeasurePlugin/index.js +2649 -3442
- package/dist/PanoMeasurePlugin/typings/data.d.ts +4 -0
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +14 -5
- package/dist/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +10 -0
- package/dist/PanoMeasurePlugin/utils/clearGroup.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/constants.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +3 -3
- package/dist/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/findClosestPoint.d.ts +3 -3
- package/dist/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +2 -2
- package/dist/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/line.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/mouseGroup.d.ts +2 -2
- package/dist/PanoRulerPlugin/Plugin.d.ts +31 -0
- package/dist/PanoRulerPlugin/index.d.ts +4 -30
- package/dist/PanoRulerPlugin/index.js +12 -12
- package/dist/PanoSpatialTagPlugin/Plugin.d.ts +35 -0
- package/dist/PanoSpatialTagPlugin/index.d.ts +5 -0
- package/dist/PanoSpatialTagPlugin/index.js +1307 -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/base/BasePlugin.d.ts +100 -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 +62 -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/floorplan/{ModelFloorplanPlugin/Assets → Assets}/compass.d.ts +0 -0
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +70 -77
- package/dist/floorplan/ModelFloorplanPlugin/index.d.ts +5 -7
- package/dist/floorplan/ModelFloorplanPlugin/index.js +2319 -1620
- package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +107 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +24 -16
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.d.ts +5 -6
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +601 -266
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +52 -0
- package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +53 -47
- package/dist/floorplan/TopviewFloorplanPlugin/index.d.ts +6 -4
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +2198 -1428
- package/dist/floorplan/TopviewFloorplanPlugin/typing.d.ts +86 -0
- package/dist/floorplan/index.d.ts +6 -0
- package/dist/floorplan/utils/constant.d.ts +22 -0
- package/dist/floorplan/utils/correctFiveState.d.ts +15 -0
- package/dist/floorplan/utils/formatPosition.d.ts +1 -1
- package/dist/index.d.ts +15 -24
- package/dist/index.es.js +10694 -7145
- package/dist/index.js +10432 -6869
- package/dist/index.umd.js +10435 -6875
- package/dist/shared-utils/five/changeMode.d.ts +4 -1
- package/dist/shared-utils/getPxmm.d.ts +8 -0
- package/dist/shared-utils/index.d.ts +1 -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/three/getExtraModelLoader.d.ts +1 -1
- package/dist/shared-utils/three/getNormal.d.ts +1 -1
- package/dist/shared-utils/three/getTextureLoader.d.ts +1 -1
- package/dist/shared-utils/three/loadFbxObj.d.ts +1 -1
- package/dist/shared-utils/tinyEJSrender.d.ts +5 -0
- package/dist/shared-utils/uuid.d.ts +1 -0
- package/dist/shared-utils/vectorTocoordinates.d.ts +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/Magnifier.html +9 -0
- package/docs/classes/ModelRoomLabelController.html +5 -8
- package/docs/enums/CameraMovementEffect.html +3 -0
- package/docs/enums/DIRECTION.html +1 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -0
- package/docs/enums/Rotation.html +3 -0
- package/docs/index.html +78 -33
- package/docs/interfaces/CSS3DRenderPluginExportType.html +4 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +17 -0
- package/docs/interfaces/FloorplanBounding.html +10 -0
- package/docs/interfaces/FloorplanData.html +3 -0
- package/docs/interfaces/FloorplanEntrance.html +15 -0
- package/docs/interfaces/FloorplanExtraObject.html +7 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -0
- package/docs/interfaces/FloorplanFloorData.html +3 -0
- package/docs/interfaces/FloorplanImagePosition.html +3 -0
- package/docs/interfaces/FloorplanObserver.html +5 -0
- package/docs/interfaces/FloorplanOutlineItem.html +3 -0
- package/docs/interfaces/FloorplanPosition.html +3 -0
- package/docs/interfaces/FloorplanRoomItem.html +17 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -0
- package/docs/interfaces/FloorplanServerBounding.html +10 -0
- package/docs/interfaces/FloorplanServerComputedData.html +1 -0
- package/docs/interfaces/FloorplanServerData.html +3 -0
- package/docs/interfaces/FloorplanServerEntrance.html +15 -0
- package/docs/interfaces/FloorplanServerFloorData.html +3 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -0
- package/docs/interfaces/FloorplanServerObserver.html +5 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -0
- package/docs/interfaces/FloorplanServerPosition.html +3 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +20 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -0
- package/docs/interfaces/ItemLabelPluginData.html +1 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -0
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -0
- package/docs/interfaces/ModelViewPluginExportType.html +1 -0
- package/docs/interfaces/OpenParameter.html +3 -0
- package/docs/interfaces/PanoCompassPluginData.html +1 -1
- package/docs/interfaces/PanoCompassPluginParameterType.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
- package/docs/interfaces/PanoMeasureParameterType.html +1 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -0
- package/docs/interfaces/Point.html +1 -0
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -0
- package/docs/interfaces/RoomInfo.html +1 -0
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -0
- package/docs/interfaces/Rooms.html +1 -0
- package/docs/modules.html +26 -18
- package/libs/CSS3DRenderPlugin/Plugin.d.ts +49 -0
- package/libs/CSS3DRenderPlugin/Plugin.js +182 -0
- package/libs/CSS3DRenderPlugin/index.d.ts +3 -48
- package/libs/CSS3DRenderPlugin/index.js +2 -180
- package/libs/CameraMovementPlugin/CameraMovementPlugin.d.ts +7 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +159 -0
- package/libs/CameraMovementPlugin/index.d.ts +4 -6
- package/libs/CameraMovementPlugin/index.js +3 -158
- package/libs/CameraMovementPlugin/typing.d.ts +1 -1
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +577 -0
- package/libs/ItemLabelPlugin/ItemLabelItem.js +227 -0
- package/libs/ItemLabelPlugin/Plugin.d.ts +4 -0
- package/libs/ItemLabelPlugin/Plugin.js +120 -0
- package/libs/ItemLabelPlugin/events.type.d.ts +9 -0
- package/libs/ItemLabelPlugin/events.type.js +1 -0
- package/libs/ItemLabelPlugin/index.d.ts +9 -0
- package/libs/ItemLabelPlugin/index.js +8 -0
- package/libs/ItemLabelPlugin/typings.d.ts +59 -0
- package/libs/ItemLabelPlugin/typings.js +7 -0
- package/libs/ItemLabelPlugin/utils/getLabelTransform.d.ts +1 -0
- package/libs/ItemLabelPlugin/utils/getLabelTransform.js +3 -0
- package/libs/ItemLabelPlugin/utils/getStrokeLength.d.ts +5 -0
- package/libs/ItemLabelPlugin/utils/getStrokeLength.js +16 -0
- package/libs/ItemLabelPlugin/utils/isImpacted.d.ts +6 -0
- package/libs/ItemLabelPlugin/utils/isImpacted.js +13 -0
- package/libs/ItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/libs/ItemLabelPlugin/utils/parseData.js +4 -0
- package/libs/ItemLabelPlugin/utils/transform2RenderData.d.ts +3 -0
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +4 -0
- package/libs/ModelChassisCompassPlugin/Plugin.d.ts +19 -0
- package/libs/ModelChassisCompassPlugin/Plugin.js +77 -0
- package/libs/ModelChassisCompassPlugin/index.d.ts +3 -18
- package/libs/ModelChassisCompassPlugin/index.js +2 -74
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +26 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +140 -0
- package/libs/ModelEntryDoorGuidePlugin/index.d.ts +3 -25
- package/libs/ModelEntryDoorGuidePlugin/index.js +2 -136
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +409 -0
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +133 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +4 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +120 -0
- package/libs/ModelItemLabelPlugin/events.type.d.ts +9 -0
- package/libs/ModelItemLabelPlugin/events.type.js +1 -0
- package/libs/ModelItemLabelPlugin/index.d.ts +9 -0
- package/libs/ModelItemLabelPlugin/index.js +8 -0
- package/libs/ModelItemLabelPlugin/typings.d.ts +56 -0
- package/libs/ModelItemLabelPlugin/typings.js +7 -0
- package/libs/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/libs/ModelItemLabelPlugin/utils/parseData.js +4 -0
- package/libs/ModelRoomLabelPlugin/Controller.js +65 -23
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +83 -45
- package/libs/ModelRoomLabelPlugin/utils/parseData.d.ts +1 -1
- package/libs/ModelSimulationPlugin/index.d.ts +33 -0
- package/libs/ModelSimulationPlugin/index.js +166 -0
- package/libs/ModelSimulationPlugin/shaders/fragment.d.ts +2 -0
- package/libs/ModelSimulationPlugin/shaders/fragment.js +96 -0
- package/libs/ModelSimulationPlugin/shaders/vertex.d.ts +2 -0
- package/libs/ModelSimulationPlugin/shaders/vertex.js +23 -0
- package/libs/ModelTVVideoPlugin/Plugin.d.ts +4 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +254 -0
- package/libs/ModelTVVideoPlugin/index.d.ts +5 -0
- package/libs/ModelTVVideoPlugin/index.js +4 -0
- package/libs/ModelTVVideoPlugin/typings.d.ts +25 -0
- package/libs/ModelTVVideoPlugin/typings.js +8 -0
- package/libs/ModelTVVideoPlugin/utils/parseData.d.ts +2 -0
- package/libs/ModelTVVideoPlugin/utils/parseData.js +13 -0
- package/libs/ModelViewPlugin/Plugin.d.ts +17 -0
- package/libs/ModelViewPlugin/Plugin.js +160 -0
- package/libs/ModelViewPlugin/index.d.ts +3 -16
- package/libs/ModelViewPlugin/index.js +2 -159
- package/libs/PanoCompassPlugin/Plugin.d.ts +47 -0
- package/libs/PanoCompassPlugin/Plugin.js +249 -0
- package/libs/PanoCompassPlugin/index.d.ts +4 -47
- package/libs/PanoCompassPlugin/index.js +3 -167
- package/libs/PanoCursorRaycasterPlugin/index.d.ts +1 -1
- package/libs/PanoCursorRaycasterPlugin/index.js +5 -3
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +12 -9
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +77 -14
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +268 -155
- package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +44 -0
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +337 -0
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +40 -20
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +2 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +246 -153
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +18 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +182 -54
- package/libs/PanoMeasurePlugin/Model/index.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Model/index.js +30 -5
- package/libs/PanoMeasurePlugin/Model/line.d.ts +5 -5
- package/libs/PanoMeasurePlugin/Model/line.js +61 -11
- package/libs/PanoMeasurePlugin/Model/point.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Model/point.js +24 -4
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +3 -3
- package/libs/PanoMeasurePlugin/Model/polyline.js +20 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +11 -14
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +5 -2
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +107 -25
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +23 -8
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +61 -26
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +50 -15
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +234 -59
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +84 -38
- package/libs/PanoMeasurePlugin/Modules/UIController/NewMainBtnController.d.ts +12 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/NewMainBtnController.js +98 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +2 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +52 -17
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +84 -34
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +80 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +11 -1
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +64 -0
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +42 -0
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +265 -0
- package/libs/PanoMeasurePlugin/index.d.ts +9 -6
- package/libs/PanoMeasurePlugin/index.js +3 -1
- package/libs/PanoMeasurePlugin/typings/data.d.ts +4 -0
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +14 -5
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +10 -0
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +15 -0
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/constants.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/constants.js +7 -7
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +3 -3
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +22 -16
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.d.ts +3 -3
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +2 -2
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/line.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/line.js +8 -7
- package/libs/PanoMeasurePlugin/utils/mouseGroup.d.ts +2 -2
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +5 -5
- package/libs/PanoRulerPlugin/Plugin.d.ts +31 -0
- package/libs/PanoRulerPlugin/Plugin.js +403 -0
- package/libs/PanoRulerPlugin/index.d.ts +4 -30
- package/libs/PanoRulerPlugin/index.js +2 -397
- package/libs/PanoSpatialTagPlugin/Components/origins.js +168 -0
- package/libs/PanoSpatialTagPlugin/Components/tag.js +302 -0
- package/libs/PanoSpatialTagPlugin/Plugin.d.ts +35 -0
- package/libs/PanoSpatialTagPlugin/Plugin.js +426 -0
- package/libs/PanoSpatialTagPlugin/index.d.ts +5 -0
- package/libs/PanoSpatialTagPlugin/index.js +5 -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/base/BasePlugin.d.ts +100 -0
- package/libs/base/BasePlugin.js +31 -0
- package/libs/base/BasePluginWithData.d.ts +34 -0
- package/libs/base/BasePluginWithData.js +4 -0
- package/libs/components/PaintBrush/Controller.d.ts +43 -0
- package/libs/components/PaintBrush/Controller.js +575 -0
- package/libs/components/PaintBrush/Subscribe.d.ts +76 -0
- package/libs/components/PaintBrush/Subscribe.js +121 -0
- package/libs/components/PaintBrush/index.d.ts +27 -0
- package/libs/components/PaintBrush/index.js +57 -0
- package/libs/components/PaintBrush/style.d.ts +2 -0
- package/libs/components/PaintBrush/style.js +102 -0
- package/libs/components/PaintBrush/tween.d.ts +62 -0
- package/libs/components/PaintBrush/tween.js +15 -0
- package/libs/components/PaintBrush/typings.d.ts +58 -0
- package/libs/components/PaintBrush/typings.js +6 -0
- package/libs/components/PaintBrush/utils.d.ts +26 -0
- package/libs/components/PaintBrush/utils.js +51 -0
- package/libs/components/index.d.ts +2 -0
- package/libs/components/index.js +3 -0
- package/libs/floorplan/Assets/compass.d.ts +1 -0
- package/libs/floorplan/Assets/compass.js +1 -0
- package/libs/floorplan/Components/BaseImage.js +10 -5
- package/libs/floorplan/Components/Camera.js +120 -0
- package/libs/floorplan/Components/Compass.js +120 -0
- package/libs/floorplan/Components/CurrentFloor.js +469 -0
- package/libs/floorplan/Components/Main.js +470 -0
- package/libs/floorplan/Components/RoomHighlight/Room.js +45 -8
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +30 -103
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +322 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +309 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +30 -27
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +11 -9
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +284 -0
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +269 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Components/Compass.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Components/Main.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +70 -77
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +661 -325
- package/libs/floorplan/ModelFloorplanPlugin/index.d.ts +5 -7
- package/libs/floorplan/ModelFloorplanPlugin/index.js +2 -2
- package/libs/floorplan/ModelFloorplanPlugin/typing.d.ts +107 -0
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +49 -33
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +3 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +114 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +24 -16
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +194 -42
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.d.ts +5 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +52 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +53 -47
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +450 -154
- package/libs/floorplan/TopviewFloorplanPlugin/index.d.ts +6 -4
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +2 -2
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/typing.d.ts +86 -0
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/index.d.ts +6 -0
- package/libs/floorplan/index.js +7 -0
- package/libs/floorplan/utils/constant.d.ts +22 -0
- package/libs/floorplan/utils/constant.js +23 -0
- package/libs/floorplan/utils/correctFiveState.d.ts +15 -0
- package/libs/floorplan/utils/correctFiveState.js +46 -0
- package/libs/floorplan/utils/formatPosition.d.ts +1 -1
- package/libs/floorplan/utils/formatPosition.js +3 -3
- package/libs/index.d.ts +15 -24
- package/libs/index.js +25 -14
- package/libs/shared-utils/Subscribe.js +8 -1
- package/libs/shared-utils/animationFrame/BetterTween.js +47 -18
- package/libs/shared-utils/createCanvasTextTexture.js +6 -5
- package/libs/shared-utils/five/changeMode.d.ts +4 -1
- package/libs/shared-utils/five/changeMode.js +34 -13
- package/libs/shared-utils/getPxmm.d.ts +8 -0
- package/libs/shared-utils/getPxmm.js +25 -20
- package/libs/shared-utils/index.d.ts +1 -0
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/math/Interval.d.ts +13 -0
- package/libs/shared-utils/math/Interval.js +40 -0
- package/libs/shared-utils/math/Rectangle.d.ts +27 -0
- package/libs/shared-utils/math/Rectangle.js +50 -0
- package/libs/shared-utils/math/evenNumber.js +1 -1
- package/libs/shared-utils/math/index.d.ts +2 -0
- package/libs/shared-utils/math/index.js +2 -0
- package/libs/shared-utils/three/getExtraModelLoader.d.ts +1 -1
- package/libs/shared-utils/three/getNormal.d.ts +1 -1
- package/libs/shared-utils/three/getTextureLoader.d.ts +1 -1
- package/libs/shared-utils/three/loadFbxObj.d.ts +1 -1
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +2 -1
- package/libs/shared-utils/tinyEJSrender.d.ts +5 -0
- package/libs/shared-utils/tinyEJSrender.js +210 -0
- package/libs/shared-utils/uuid.d.ts +1 -0
- package/libs/shared-utils/uuid.js +1 -0
- package/libs/shared-utils/vectorTocoordinates.d.ts +1 -1
- package/package.json +13 -6
- package/CHANGELOG.md +0 -30
- package/dist/shared-utils/five/useFivePlugin.d.ts +0 -1
- package/dist/shared-utils/useDebounce.d.ts +0 -8
- package/dist/shared-utils/useThrottle.d.ts +0 -8
- package/docs/enums/ModelFloorplanErrorType.html +0 -1
- package/docs/interfaces/ModelFloorplanParameterType.html +0 -1
- package/docs/interfaces/ModelFloorplanViewEvent.html +0 -5
- package/docs/interfaces/TopviewFloorplanPluginParameterType.html +0 -1
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
/* generated by Svelte v3.47.0 */
|
|
2
|
+
import {
|
|
3
|
+
SvelteComponent,
|
|
4
|
+
append,
|
|
5
|
+
append_styles,
|
|
6
|
+
attr,
|
|
7
|
+
destroy_block,
|
|
8
|
+
destroy_each,
|
|
9
|
+
detach,
|
|
10
|
+
element,
|
|
11
|
+
init,
|
|
12
|
+
insert,
|
|
13
|
+
noop,
|
|
14
|
+
safe_not_equal,
|
|
15
|
+
set_style,
|
|
16
|
+
space,
|
|
17
|
+
text,
|
|
18
|
+
toggle_class,
|
|
19
|
+
update_keyed_each
|
|
20
|
+
} from "svelte/internal";
|
|
21
|
+
|
|
22
|
+
function add_css(target) {
|
|
23
|
+
append_styles(target, "svelte-1l1xujz", ".floorplan-plugin__rule-labels.svelte-1l1xujz.svelte-1l1xujz{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-1l1xujz.svelte-1l1xujz{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-1l1xujz.svelte-1l1xujz{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-1l1xujz.svelte-1l1xujz{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-1l1xujz.svelte-1l1xujz{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-1l1xujz.svelte-1l1xujz{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-1l1xujz.svelte-1l1xujz{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-1l1xujz .floorplan-plugin__rule-scale-wrapper.svelte-1l1xujz{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-1l1xujz.svelte-1l1xujz{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-1l1xujz .floorplan-plugin__rule-scale.svelte-1l1xujz{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-1l1xujz.svelte-1l1xujz{position:absolute}.floorplan-plugin__rule-labels--top.svelte-1l1xujz .floorplan-plugin__rule-text-wrapper.svelte-1l1xujz{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-1l1xujz .floorplan-plugin__rule-text-wrapper.svelte-1l1xujz{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-1l1xujz .floorplan-plugin__rule-text-wrapper.svelte-1l1xujz{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-1l1xujz .floorplan-plugin__rule-text-wrapper.svelte-1l1xujz{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-1l1xujz.svelte-1l1xujz{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-1l1xujz .floorplan-plugin__rule-text-item.svelte-1l1xujz{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-1l1xujz.svelte-1l1xujz{width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function get_each_context(ctx, list, i) {
|
|
27
|
+
const child_ctx = ctx.slice();
|
|
28
|
+
child_ctx[10] = list[i];
|
|
29
|
+
child_ctx[12] = i;
|
|
30
|
+
return child_ctx;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function get_each_context_1(ctx, list, i) {
|
|
34
|
+
const child_ctx = ctx.slice();
|
|
35
|
+
child_ctx[13] = list[i];
|
|
36
|
+
return child_ctx;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// (47:4) {#each rulerLabels as rulerLabel}
|
|
40
|
+
function create_each_block_1(ctx) {
|
|
41
|
+
let div;
|
|
42
|
+
|
|
43
|
+
return {
|
|
44
|
+
c() {
|
|
45
|
+
div = element("div");
|
|
46
|
+
attr(div, "class", "floorplan-plugin__rule-scale svelte-1l1xujz");
|
|
47
|
+
set_style(div, "left", /*rulerLabel*/ ctx[13].left * 100 + '%', false);
|
|
48
|
+
set_style(div, "bottom", /*rulerLabel*/ ctx[13].bottom * 100 + '%', false);
|
|
49
|
+
},
|
|
50
|
+
m(target, anchor) {
|
|
51
|
+
insert(target, div, anchor);
|
|
52
|
+
},
|
|
53
|
+
p: noop,
|
|
54
|
+
d(detaching) {
|
|
55
|
+
if (detaching) detach(div);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// (56:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
|
|
61
|
+
function create_each_block(key_1, ctx) {
|
|
62
|
+
let div1;
|
|
63
|
+
let div0;
|
|
64
|
+
let t0_value = /*textItem*/ ctx[10].distance + "";
|
|
65
|
+
let t0;
|
|
66
|
+
let t1;
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
key: key_1,
|
|
70
|
+
first: null,
|
|
71
|
+
c() {
|
|
72
|
+
div1 = element("div");
|
|
73
|
+
div0 = element("div");
|
|
74
|
+
t0 = text(t0_value);
|
|
75
|
+
t1 = space();
|
|
76
|
+
attr(div0, "class", "floorplan-plugin__rule-text svelte-1l1xujz");
|
|
77
|
+
toggle_class(div0, "is-row", /*isRow*/ ctx[1]);
|
|
78
|
+
attr(div1, "class", "floorplan-plugin__rule-text-item svelte-1l1xujz");
|
|
79
|
+
set_style(div1, "left", /*textItem*/ ctx[10].left * 100 + '%', false);
|
|
80
|
+
set_style(div1, "bottom", /*textItem*/ ctx[10].bottom * 100 + '%', false);
|
|
81
|
+
this.first = div1;
|
|
82
|
+
},
|
|
83
|
+
m(target, anchor) {
|
|
84
|
+
insert(target, div1, anchor);
|
|
85
|
+
append(div1, div0);
|
|
86
|
+
append(div0, t0);
|
|
87
|
+
append(div1, t1);
|
|
88
|
+
},
|
|
89
|
+
p(new_ctx, dirty) {
|
|
90
|
+
ctx = new_ctx;
|
|
91
|
+
},
|
|
92
|
+
d(detaching) {
|
|
93
|
+
if (detaching) detach(div1);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function create_fragment(ctx) {
|
|
99
|
+
let div3;
|
|
100
|
+
let div0;
|
|
101
|
+
let t0;
|
|
102
|
+
let div1;
|
|
103
|
+
let t1;
|
|
104
|
+
let div2;
|
|
105
|
+
let each_blocks = [];
|
|
106
|
+
let each1_lookup = new Map();
|
|
107
|
+
let div3_class_value;
|
|
108
|
+
let each_value_1 = /*rulerLabels*/ ctx[2];
|
|
109
|
+
let each_blocks_1 = [];
|
|
110
|
+
|
|
111
|
+
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
112
|
+
each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
let each_value = /*rulerTexts*/ ctx[3];
|
|
116
|
+
const get_key = ctx => /*textItemIndex*/ ctx[12];
|
|
117
|
+
|
|
118
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
119
|
+
let child_ctx = get_each_context(ctx, each_value, i);
|
|
120
|
+
let key = get_key(child_ctx);
|
|
121
|
+
each1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
return {
|
|
125
|
+
c() {
|
|
126
|
+
div3 = element("div");
|
|
127
|
+
div0 = element("div");
|
|
128
|
+
t0 = space();
|
|
129
|
+
div1 = element("div");
|
|
130
|
+
|
|
131
|
+
for (let i = 0; i < each_blocks_1.length; i += 1) {
|
|
132
|
+
each_blocks_1[i].c();
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
t1 = space();
|
|
136
|
+
div2 = element("div");
|
|
137
|
+
|
|
138
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
139
|
+
each_blocks[i].c();
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
attr(div0, "class", "floorplan-plugin__rule-line svelte-1l1xujz");
|
|
143
|
+
attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-1l1xujz");
|
|
144
|
+
toggle_class(div1, "is-row", /*isRow*/ ctx[1]);
|
|
145
|
+
attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-1l1xujz");
|
|
146
|
+
attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-1l1xujz");
|
|
147
|
+
toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
|
|
148
|
+
set_style(div3, "width", /*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
|
|
149
|
+
set_style(div3, "height", !/*isRow*/ ctx[1] ? '100%' : 1 / 16 + 'rem', false);
|
|
150
|
+
},
|
|
151
|
+
m(target, anchor) {
|
|
152
|
+
insert(target, div3, anchor);
|
|
153
|
+
append(div3, div0);
|
|
154
|
+
append(div3, t0);
|
|
155
|
+
append(div3, div1);
|
|
156
|
+
|
|
157
|
+
for (let i = 0; i < each_blocks_1.length; i += 1) {
|
|
158
|
+
each_blocks_1[i].m(div1, null);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
append(div3, t1);
|
|
162
|
+
append(div3, div2);
|
|
163
|
+
|
|
164
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
165
|
+
each_blocks[i].m(div2, null);
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
p(ctx, [dirty]) {
|
|
169
|
+
if (dirty & /*rulerLabels*/ 4) {
|
|
170
|
+
each_value_1 = /*rulerLabels*/ ctx[2];
|
|
171
|
+
let i;
|
|
172
|
+
|
|
173
|
+
for (i = 0; i < each_value_1.length; i += 1) {
|
|
174
|
+
const child_ctx = get_each_context_1(ctx, each_value_1, i);
|
|
175
|
+
|
|
176
|
+
if (each_blocks_1[i]) {
|
|
177
|
+
each_blocks_1[i].p(child_ctx, dirty);
|
|
178
|
+
} else {
|
|
179
|
+
each_blocks_1[i] = create_each_block_1(child_ctx);
|
|
180
|
+
each_blocks_1[i].c();
|
|
181
|
+
each_blocks_1[i].m(div1, null);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
for (; i < each_blocks_1.length; i += 1) {
|
|
186
|
+
each_blocks_1[i].d(1);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
each_blocks_1.length = each_value_1.length;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
if (dirty & /*rulerTexts, isRow*/ 10) {
|
|
193
|
+
each_value = /*rulerTexts*/ ctx[3];
|
|
194
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div2, destroy_block, create_each_block, null, get_each_context);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
if (dirty & /*type*/ 1 && div3_class_value !== (div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-1l1xujz")) {
|
|
198
|
+
attr(div3, "class", div3_class_value);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
if (dirty & /*type, isRow*/ 3) {
|
|
202
|
+
toggle_class(div3, "is-row", /*isRow*/ ctx[1]);
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
i: noop,
|
|
206
|
+
o: noop,
|
|
207
|
+
d(detaching) {
|
|
208
|
+
if (detaching) detach(div3);
|
|
209
|
+
destroy_each(each_blocks_1, detaching);
|
|
210
|
+
|
|
211
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
212
|
+
each_blocks[i].d();
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
const padding = 1000;
|
|
219
|
+
const exteriorWallOffset = 180;
|
|
220
|
+
|
|
221
|
+
function instance($$self, $$props, $$invalidate) {
|
|
222
|
+
let { type } = $$props;
|
|
223
|
+
let { data } = $$props;
|
|
224
|
+
let { bounding } = $$props;
|
|
225
|
+
const isRow = type === 'top' || type === 'bottom';
|
|
226
|
+
const contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2;
|
|
227
|
+
const contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2;
|
|
228
|
+
|
|
229
|
+
// 计算每一段墙的长度,以及墙两侧点距离标尺初始点的像素值
|
|
230
|
+
const rulerPoints = data.map(([start, end]) => isRow ? [start.x, end.x] : [start.y, end.y]).flat().sort().filter((x, index, arr) => {
|
|
231
|
+
// 筛除重复数据
|
|
232
|
+
if (index === 0) return true;
|
|
233
|
+
|
|
234
|
+
return x !== arr[index - 1];
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
const rulerLabels = rulerPoints.map(num => {
|
|
238
|
+
const left = isRow
|
|
239
|
+
? (num - bounding.min.x - padding + exteriorWallOffset) / contentWidth
|
|
240
|
+
: 0;
|
|
241
|
+
|
|
242
|
+
const bottom = !isRow
|
|
243
|
+
? (num - bounding.min.y - padding + exteriorWallOffset) / contentHeight
|
|
244
|
+
: 0;
|
|
245
|
+
|
|
246
|
+
return { left, bottom };
|
|
247
|
+
});
|
|
248
|
+
|
|
249
|
+
rulerLabels.unshift({ left: 0, bottom: 0 });
|
|
250
|
+
rulerLabels.push(isRow ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
|
|
251
|
+
const length = rulerPoints[rulerPoints.length - 1] - rulerPoints[0];
|
|
252
|
+
|
|
253
|
+
const rulerTexts = rulerPoints.map((num, index, arr) => {
|
|
254
|
+
const distance = index === 0 ? 0 : num - arr[index - 1];
|
|
255
|
+
const positionNum = index === 0 ? 0 : (num + arr[index - 1]) / 2;
|
|
256
|
+
|
|
257
|
+
const left = isRow
|
|
258
|
+
? (positionNum - bounding.min.x - padding + exteriorWallOffset) / contentWidth
|
|
259
|
+
: 0;
|
|
260
|
+
|
|
261
|
+
const bottom = !isRow
|
|
262
|
+
? (positionNum - bounding.min.y - padding + exteriorWallOffset) / contentHeight
|
|
263
|
+
: 0;
|
|
264
|
+
|
|
265
|
+
return { left, bottom, distance };
|
|
266
|
+
}).filter(({ distance }) => distance / length > 0.1);
|
|
267
|
+
|
|
268
|
+
$$self.$$set = $$props => {
|
|
269
|
+
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
270
|
+
if ('data' in $$props) $$invalidate(4, data = $$props.data);
|
|
271
|
+
if ('bounding' in $$props) $$invalidate(5, bounding = $$props.bounding);
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
return [type, isRow, rulerLabels, rulerTexts, data, bounding];
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
class Component extends SvelteComponent {
|
|
278
|
+
constructor(options) {
|
|
279
|
+
super();
|
|
280
|
+
init(this, options, instance, create_fragment, safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export default Component;
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
/* generated by Svelte v3.47.0 */
|
|
2
|
+
import {
|
|
3
|
+
SvelteComponent,
|
|
4
|
+
append_styles,
|
|
5
|
+
assign,
|
|
6
|
+
attr,
|
|
7
|
+
check_outros,
|
|
8
|
+
create_component,
|
|
9
|
+
destroy_component,
|
|
10
|
+
detach,
|
|
11
|
+
element,
|
|
12
|
+
empty,
|
|
13
|
+
get_spread_update,
|
|
14
|
+
group_outros,
|
|
15
|
+
init,
|
|
16
|
+
insert,
|
|
17
|
+
mount_component,
|
|
18
|
+
outro_and_destroy_block,
|
|
19
|
+
safe_not_equal,
|
|
20
|
+
set_style,
|
|
21
|
+
transition_in,
|
|
22
|
+
transition_out,
|
|
23
|
+
update_keyed_each
|
|
24
|
+
} from "svelte/internal";
|
|
25
|
+
|
|
26
|
+
import RuleItem from './RuleItem';
|
|
27
|
+
|
|
28
|
+
function add_css(target) {
|
|
29
|
+
append_styles(target, "svelte-12vlcaz", ".floorplan-plugin__rule-labels-wrapper.svelte-12vlcaz{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function get_each_context(ctx, list, i) {
|
|
33
|
+
const child_ctx = ctx.slice();
|
|
34
|
+
child_ctx[12] = list[i][0];
|
|
35
|
+
child_ctx[13] = list[i][1];
|
|
36
|
+
return child_ctx;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// (19:2) {#each ruleLabelArray as [type, data] (type)}
|
|
40
|
+
function create_each_block(key_1, ctx) {
|
|
41
|
+
let first;
|
|
42
|
+
let ruleitem;
|
|
43
|
+
let current;
|
|
44
|
+
|
|
45
|
+
const ruleitem_spread_levels = [
|
|
46
|
+
{
|
|
47
|
+
type: /*type*/ ctx[12],
|
|
48
|
+
data: /*data*/ ctx[13],
|
|
49
|
+
bounding: /*bounding*/ ctx[0]
|
|
50
|
+
}
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
let ruleitem_props = {};
|
|
54
|
+
|
|
55
|
+
for (let i = 0; i < ruleitem_spread_levels.length; i += 1) {
|
|
56
|
+
ruleitem_props = assign(ruleitem_props, ruleitem_spread_levels[i]);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
ruleitem = new RuleItem({ props: ruleitem_props });
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
key: key_1,
|
|
63
|
+
first: null,
|
|
64
|
+
c() {
|
|
65
|
+
first = empty();
|
|
66
|
+
create_component(ruleitem.$$.fragment);
|
|
67
|
+
this.first = first;
|
|
68
|
+
},
|
|
69
|
+
m(target, anchor) {
|
|
70
|
+
insert(target, first, anchor);
|
|
71
|
+
mount_component(ruleitem, target, anchor);
|
|
72
|
+
current = true;
|
|
73
|
+
},
|
|
74
|
+
p(new_ctx, dirty) {
|
|
75
|
+
ctx = new_ctx;
|
|
76
|
+
|
|
77
|
+
const ruleitem_changes = (dirty & /*ruleLabelArray, bounding*/ 9)
|
|
78
|
+
? get_spread_update(ruleitem_spread_levels, [
|
|
79
|
+
{
|
|
80
|
+
type: /*type*/ ctx[12],
|
|
81
|
+
data: /*data*/ ctx[13],
|
|
82
|
+
bounding: /*bounding*/ ctx[0]
|
|
83
|
+
}
|
|
84
|
+
])
|
|
85
|
+
: {};
|
|
86
|
+
|
|
87
|
+
ruleitem.$set(ruleitem_changes);
|
|
88
|
+
},
|
|
89
|
+
i(local) {
|
|
90
|
+
if (current) return;
|
|
91
|
+
transition_in(ruleitem.$$.fragment, local);
|
|
92
|
+
current = true;
|
|
93
|
+
},
|
|
94
|
+
o(local) {
|
|
95
|
+
transition_out(ruleitem.$$.fragment, local);
|
|
96
|
+
current = false;
|
|
97
|
+
},
|
|
98
|
+
d(detaching) {
|
|
99
|
+
if (detaching) detach(first);
|
|
100
|
+
destroy_component(ruleitem, detaching);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function create_fragment(ctx) {
|
|
106
|
+
let div;
|
|
107
|
+
let each_blocks = [];
|
|
108
|
+
let each_1_lookup = new Map();
|
|
109
|
+
let current;
|
|
110
|
+
let each_value = /*ruleLabelArray*/ ctx[3];
|
|
111
|
+
const get_key = ctx => /*type*/ ctx[12];
|
|
112
|
+
|
|
113
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
114
|
+
let child_ctx = get_each_context(ctx, each_value, i);
|
|
115
|
+
let key = get_key(child_ctx);
|
|
116
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
return {
|
|
120
|
+
c() {
|
|
121
|
+
div = element("div");
|
|
122
|
+
|
|
123
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
124
|
+
each_blocks[i].c();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
attr(div, "class", "floorplan-plugin__rule-labels-wrapper svelte-12vlcaz");
|
|
128
|
+
set_style(div, "width", /*width*/ ctx[2], false);
|
|
129
|
+
set_style(div, "height", /*height*/ ctx[1], false);
|
|
130
|
+
},
|
|
131
|
+
m(target, anchor) {
|
|
132
|
+
insert(target, div, anchor);
|
|
133
|
+
|
|
134
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
135
|
+
each_blocks[i].m(div, null);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
current = true;
|
|
139
|
+
},
|
|
140
|
+
p(ctx, [dirty]) {
|
|
141
|
+
if (dirty & /*ruleLabelArray, bounding*/ 9) {
|
|
142
|
+
each_value = /*ruleLabelArray*/ ctx[3];
|
|
143
|
+
group_outros();
|
|
144
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, outro_and_destroy_block, create_each_block, null, get_each_context);
|
|
145
|
+
check_outros();
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (dirty & /*width*/ 4) {
|
|
149
|
+
set_style(div, "width", /*width*/ ctx[2], false);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (dirty & /*height*/ 2) {
|
|
153
|
+
set_style(div, "height", /*height*/ ctx[1], false);
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
i(local) {
|
|
157
|
+
if (current) return;
|
|
158
|
+
|
|
159
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
160
|
+
transition_in(each_blocks[i]);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
current = true;
|
|
164
|
+
},
|
|
165
|
+
o(local) {
|
|
166
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
167
|
+
transition_out(each_blocks[i]);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
current = false;
|
|
171
|
+
},
|
|
172
|
+
d(detaching) {
|
|
173
|
+
if (detaching) detach(div);
|
|
174
|
+
|
|
175
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
176
|
+
each_blocks[i].d();
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
const padding = 1000;
|
|
183
|
+
const exteriorWallOffset = 180;
|
|
184
|
+
|
|
185
|
+
function instance($$self, $$props, $$invalidate) {
|
|
186
|
+
let bounding;
|
|
187
|
+
let ruleLabelData;
|
|
188
|
+
let ruleLabelDataKeys;
|
|
189
|
+
let ruleLabelArray;
|
|
190
|
+
let boundingWidth;
|
|
191
|
+
let boundingHeight;
|
|
192
|
+
let contentWidth;
|
|
193
|
+
let contentHeight;
|
|
194
|
+
let width;
|
|
195
|
+
let height;
|
|
196
|
+
let { floorIndex } = $$props;
|
|
197
|
+
let { floorplanData } = $$props;
|
|
198
|
+
|
|
199
|
+
$$self.$$set = $$props => {
|
|
200
|
+
if ('floorIndex' in $$props) $$invalidate(4, floorIndex = $$props.floorIndex);
|
|
201
|
+
if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
$$self.$$.update = () => {
|
|
205
|
+
if ($$self.$$.dirty & /*floorplanData*/ 32) {
|
|
206
|
+
$: $$invalidate(0, bounding = floorplanData.bounding);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 48) {
|
|
210
|
+
$: $$invalidate(10, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if ($$self.$$.dirty & /*ruleLabelData*/ 1024) {
|
|
214
|
+
$: $$invalidate(11, ruleLabelDataKeys = Object.keys(ruleLabelData));
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 3072) {
|
|
218
|
+
$: $$invalidate(3, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
if ($$self.$$.dirty & /*bounding*/ 1) {
|
|
222
|
+
$: $$invalidate(8, boundingWidth = bounding.max.x - bounding.min.x);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if ($$self.$$.dirty & /*bounding*/ 1) {
|
|
226
|
+
$: $$invalidate(6, boundingHeight = bounding.max.y - bounding.min.y);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
if ($$self.$$.dirty & /*bounding*/ 1) {
|
|
230
|
+
$: $$invalidate(9, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if ($$self.$$.dirty & /*bounding*/ 1) {
|
|
234
|
+
$: $$invalidate(7, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 768) {
|
|
238
|
+
$: $$invalidate(2, width = contentWidth / boundingWidth * 100 + '%');
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 192) {
|
|
242
|
+
$: $$invalidate(1, height = contentHeight / boundingHeight * 100 + '%');
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
return [
|
|
247
|
+
bounding,
|
|
248
|
+
height,
|
|
249
|
+
width,
|
|
250
|
+
ruleLabelArray,
|
|
251
|
+
floorIndex,
|
|
252
|
+
floorplanData,
|
|
253
|
+
boundingHeight,
|
|
254
|
+
contentHeight,
|
|
255
|
+
boundingWidth,
|
|
256
|
+
contentWidth,
|
|
257
|
+
ruleLabelData,
|
|
258
|
+
ruleLabelDataKeys
|
|
259
|
+
];
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
class Component extends SvelteComponent {
|
|
263
|
+
constructor(options) {
|
|
264
|
+
super();
|
|
265
|
+
init(this, options, instance, create_fragment, safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export default Component;
|
|
@@ -17,7 +17,7 @@ import { CAMERA_IMAGE } from '../../Assets/camera';
|
|
|
17
17
|
import rad2Deg from '../../../shared-utils/math/rad2Deg';
|
|
18
18
|
|
|
19
19
|
function add_css(target) {
|
|
20
|
-
append_styles(target, "svelte-e8a2kn", ".floorplan__camera-position
|
|
20
|
+
append_styles(target, "svelte-e8a2kn", ".floorplan__camera-position-e8a2kn{position:absolute;width:0;height:0}.floorplan__camera-rotate-e8a2kn{position:absolute;background-repeat:no-repeat;background-size:100%}");
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
function create_fragment(ctx) {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import { COMPASS_IMAGE } from '../Assets/compass';
|
|
19
19
|
|
|
20
20
|
function add_css(target) {
|
|
21
|
-
append_styles(target, "svelte-5l80pv", ".floorplan-plugin__compass
|
|
21
|
+
append_styles(target, "svelte-5l80pv", ".floorplan-plugin__compass-5l80pv{position:absolute;left:50%;top:-46px;width:231px;height:41px;will-change:opacity;transform-origin:center 184px}.floorplan-plugin__compass-image-5l80pv{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text-5l80pv{position:absolute;left:50%;top:15px;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:10px;color:#fff}");
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// (11:0) {#if northRad}
|
|
@@ -28,7 +28,7 @@ import RoomMaterial from '../../../Components/RoomMaterials/RoomMaterial';
|
|
|
28
28
|
import RoomHighlight from '../../../Components/RoomHighlight/RoomHighlight';
|
|
29
29
|
|
|
30
30
|
function add_css(target) {
|
|
31
|
-
append_styles(target, "svelte-3pdgs4", ".floorplan-current-floor
|
|
31
|
+
append_styles(target, "svelte-3pdgs4", ".floorplan-current-floor-3pdgs4{position:relative;width:100%;height:100%}");
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// (19:2) {#if hoverEnable}
|
|
@@ -31,7 +31,7 @@ import { linear } from 'svelte/easing';
|
|
|
31
31
|
import { fade } from 'svelte/transition';
|
|
32
32
|
|
|
33
33
|
function add_css(target) {
|
|
34
|
-
append_styles(target, "svelte-177x2q7", ".floorplan-main
|
|
34
|
+
append_styles(target, "svelte-177x2q7", ".floorplan-main-177x2q7{width:100%;height:100%}");
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
// (23:0) {#if visible}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "svelte/internal";
|
|
20
20
|
|
|
21
21
|
function add_css(target) {
|
|
22
|
-
append_styles(target, "svelte-1ashbdx", ".floorplan-plugin__room-label-item
|
|
22
|
+
append_styles(target, "svelte-1ashbdx", ".floorplan-plugin__room-label-item-1ashbdx{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:15px;color:#fff;transform:translate(-50%, -50%);white-space:nowrap}.floorplan-plugin__room-size-1ashbdx{opacity:0.45}");
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// (22:30)
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import RoomLabel from './RoomLabel';
|
|
26
26
|
|
|
27
27
|
function add_css(target) {
|
|
28
|
-
append_styles(target, "svelte-sw25w3", ".floorplan-plugin__room-labels
|
|
28
|
+
append_styles(target, "svelte-sw25w3", ".floorplan-plugin__room-labels-sw25w3{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20}");
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
function get_each_context(ctx, list, i) {
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import { notNil } from '../../../../shared-utils/isNil';
|
|
22
22
|
|
|
23
23
|
function add_css(target) {
|
|
24
|
-
append_styles(target, "svelte-1rr09in", ".floorplan-plugin__rule-labels
|
|
24
|
+
append_styles(target, "svelte-1rr09in", ".floorplan-plugin__rule-labels-1rr09in{position:absolute;height:5px;display:flex;align-items:center}.floorplan-plugin__rule-labels-top-1rr09in{left:0;top:0}.floorplan-plugin__rule-labels-bottom-1rr09in{left:0;bottom:0}.floorplan-plugin__rule-labels-left-1rr09in{bottom:0;left:0}.floorplan-plugin__rule-labels-right-1rr09in{bottom:0;right:0}.floorplan-plugin__rule-line-1rr09in{background:#fff;opacity:0.05;width:100%;height:1px}.floorplan-plugin__rule-scale-1rr09in{position:absolute;background:#fff;opacity:0.05;transform-origin:center;width:1px;height:5px}.floorplan-plugin__text-wrapper-1rr09in{width:0;height:0;position:absolute}.floorplan-plugin__text-wrapper.floorplan-plugin__text-wrapper--is-left-or-top-1rr09in{top:10px}.floorplan-plugin__text-wrapper.floorplan-plugin__text-wrapper-is-right-or-bottom-1rr09in{bottom:10px}.floorplan-plugin__rule-text-1rr09in{position:absolute;width:max-content;display:block;transform:translate(-50%, -50%) rotate(180deg);font-size:10px;color:#fff;opacity:0.2}.floorplan-plugin__rule-text.is-row-1rr09in{transform:translate(-50%, -50%)}");
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
function get_each_context(ctx, list, i) {
|