@realsee/dnalogel 2.0.0 → 2.0.2-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/CameraMovementPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/CameraMovementPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/CruisePlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/CruisePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/CruisePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/CruisePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/CruisePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/CruisePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/CruisePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/CruisePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/CruisePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/CruisePlugin/index.js +188 -5
- package/dist/GuideLinePlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/GuideLinePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/GuideLinePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/GuideLinePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/GuideLinePlugin/index.js +188 -5
- package/dist/ItemLabelPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ItemLabelPlugin/index.js +2 -2
- package/dist/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/ModelChassisCompassPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelEntryDoorGuidePlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelItemLabelPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelItemLabelPlugin/index.js +2 -2
- package/dist/ModelRoomLabelPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelRoomLabelPlugin/index.js +2 -2
- package/dist/ModelTVVideoPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelViewPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelViewPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelViewPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelViewPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoCompassPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoCursorRaycasterPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoDoorLabelPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoDoorLabelPlugin/index.js +1 -1
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoMeasurePlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoMeasurePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoMeasurePlugin/index.js +75 -31
- package/dist/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoRulerPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoRulerPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoRulerPlugin/index.js +17 -0
- package/dist/PanoRulerProPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoRulerProPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoRulerProPlugin/index.js +2 -2
- package/dist/PanoSpatialTagPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoSpatialTagPlugin/index.js +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/MapviewFloorplanPlugin/index.js +250 -174
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/ModelFloorplanPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/ModelFloorplanPlugin/index.js +257 -180
- package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +9 -9
- package/dist/floorplan/TopviewFloorplanPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +250 -174
- package/dist/index.es.js +523 -228
- package/dist/index.js +523 -229
- package/dist/index.umd.js +527 -232
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- 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 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +5 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/modules.html +18 -18
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -1
- package/libs/ItemLabelPlugin/ItemLabelItem.js +1 -1
- package/libs/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -1
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +21 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -16
- package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -13
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +24 -1
- package/libs/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/libs/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/libs/PanoMeasurePlugin/typings/index.js +1 -0
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +2 -1
- package/libs/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/libs/PanoRulerPlugin/Plugin.js +17 -0
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItems.js +1 -1
- package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -1
- package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +1 -1
- package/libs/floorplan/Components/Camera.js +1 -1
- package/libs/floorplan/Components/Compass.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +33 -21
- package/libs/floorplan/Components/Main.js +32 -20
- package/libs/floorplan/Components/Normalmage.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +25 -14
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +41 -35
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -1
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +47 -29
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +62 -44
- package/libs/floorplan/Components/SvgImage.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -6
- package/libs/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -1
- package/package.json +2 -1
|
@@ -159,7 +159,7 @@ function rad2Deg$1(rad) {
|
|
|
159
159
|
return (rad * 180) / Math.PI;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
/* src/floorplan/Components/Camera.svelte generated by Svelte v3.
|
|
162
|
+
/* src/floorplan/Components/Camera.svelte generated by Svelte v3.50.1 */
|
|
163
163
|
|
|
164
164
|
function add_css$d(target) {
|
|
165
165
|
internal.append_styles(target, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
|
|
@@ -264,7 +264,7 @@ class Camera extends internal.SvelteComponent {
|
|
|
264
264
|
|
|
265
265
|
const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAMAAABdA4ieAAAC91BMVEUAAACOpP/H0P+yxP/a4/+asv/W3/+/z/+cs//S3f+mu//Q2//5+v/H1P/d5f/l6//y9f++zf/i6f+ww/+ovP/7/P/u8v/N2f+Mp//q7/+4yf+uwf+Wr/+7y/+1xv+Ho//x9P+9zP+2x/+swP+gt/+Oqf/Y4v/r8P/l7P/b4//F0/+juf+Zsv+XsP+Trf/p7v97mv9wj/+kuv+ftf/x9P92lf/3+f/I1f+5yv+Eof98m//8/f/4+f90lf+9zf/j6f/T3f/L1/+Bnv/6+/+SrP/m7P/f5v/O2v/L2P/E0v/Az//+///s8P/e5v+rv/+pvv+Anv+qvv+Pqv+Kpv+CoP93l/9xlP/z9v/p7v90lf9uj//P2//v8//o7f/k6v/K1v+6yv9rjv98nv/E0v/9/v/09//h6P/X4f9pjP/9/f/N2f/K1v/C0f+Ho/99nP/1+P9sj//6+//u8/+iuP/u8//g6P/U3v+3x/+0xv+etf+Vrv9pjf/B0P9ukf+ht/+Vr/94mP/G0/+8zP+2x//+/v/09v/W4f9ojv/c5P+xxP/d5v+xw/+vwv+Jo//g6P+nvP+SrP/R3P/1+f/W3//U3//C0P+Jp/9nh/+Kpv+Fov/Y4f/J1/+Pqf+rv/+Oqv+Oqv+muv+twP/f5//t8P97mf/h5/+twP+kuf/L2P+juP+Ipf+huP+Pqf/d5v+zxf+cs/+Zsf+wwv/V3v+8zP+Go/+zxP+GpP/T3f/r8P/u8v/o7f/d5P/m7P/H1P/w9P/D0f+uwf/Z4v/F0v/09//D0v/v8//s8v/d5P/Y4f/s8P+etv/X4f+gt/+ovf+bsv+xw/+Vr//j6v+1x//J1v+4yf/r8P+yxf/T3f/B0f+Fo//09//W4P/h6P/L1v/i6f/x9f/t8v/G0/+uwf/z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bFxHOCprMZaf5qdhlorxwGeTsPIttvPlno0y3GAZfbHp6n3ynGAV0m99u/2J6H3znGAvW4n+J25tdY7xwFey1pvQe6/DlrjOMDLqfXW7N5pbs0YWhxgtpj0rl1uiaHFISzccSWohUCzOIemm0VKChwHOMutKCVwHOA4av/JVi0xtDiRpCRfRcvQ4lBfxSnG0OJc/+xTjKHFyVRMP38iDC0O92lZVRhanO+vcVWGFu9BRWkW7+Z3rapEizdy7ZVm8V5Gtr8AtSnix59eOmYAAAAASUVORK5CYII=';
|
|
266
266
|
|
|
267
|
-
/* src/floorplan/Components/Compass.svelte generated by Svelte v3.
|
|
267
|
+
/* src/floorplan/Components/Compass.svelte generated by Svelte v3.50.1 */
|
|
268
268
|
|
|
269
269
|
function add_css$c(target) {
|
|
270
270
|
internal.append_styles(target, "svelte-z9kwkx", ".floorplan-plugin__compass.svelte-z9kwkx{position:absolute;left:50%;top:-2.39583rem;width:12.03125rem;height:2.13542rem;will-change:opacity;transform-origin:center 9.58333rem}.floorplan-plugin__compass-image.svelte-z9kwkx{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.svelte-z9kwkx{position:absolute;left:50%;top:0.78125rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.52083rem;color:#fff}");
|
|
@@ -364,7 +364,7 @@ class Compass extends internal.SvelteComponent {
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
|
|
367
|
-
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.
|
|
367
|
+
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.50.1 */
|
|
368
368
|
|
|
369
369
|
function add_css$b(target) {
|
|
370
370
|
internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
@@ -414,7 +414,7 @@ class Normalmage extends internal.SvelteComponent {
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.
|
|
417
|
+
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.50.1 */
|
|
418
418
|
|
|
419
419
|
function add_css$a(target) {
|
|
420
420
|
internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
@@ -481,7 +481,7 @@ class SvgImage extends internal.SvelteComponent {
|
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.
|
|
484
|
+
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.50.1 */
|
|
485
485
|
|
|
486
486
|
function add_css$9(target) {
|
|
487
487
|
internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
@@ -682,13 +682,13 @@ class BaseImage extends internal.SvelteComponent {
|
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
684
|
|
|
685
|
-
/* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.
|
|
685
|
+
/* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.50.1 */
|
|
686
686
|
|
|
687
687
|
function add_css$8(target) {
|
|
688
688
|
internal.append_styles(target, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
|
|
689
689
|
}
|
|
690
690
|
|
|
691
|
-
// (
|
|
691
|
+
// (96:30)
|
|
692
692
|
function create_if_block_1$3(ctx) {
|
|
693
693
|
let html_tag;
|
|
694
694
|
let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
|
|
@@ -714,13 +714,14 @@ function create_if_block_1$3(ctx) {
|
|
|
714
714
|
};
|
|
715
715
|
}
|
|
716
716
|
|
|
717
|
-
// (
|
|
717
|
+
// (90:2) {#if getLabelElement === undefined}
|
|
718
718
|
function create_if_block$4(ctx) {
|
|
719
719
|
let span0;
|
|
720
720
|
let t0_value = /*room*/ ctx[0].name + "";
|
|
721
721
|
let t0;
|
|
722
722
|
let t1;
|
|
723
723
|
let span1;
|
|
724
|
+
let t2;
|
|
724
725
|
|
|
725
726
|
return {
|
|
726
727
|
c() {
|
|
@@ -728,7 +729,7 @@ function create_if_block$4(ctx) {
|
|
|
728
729
|
t0 = internal.text(t0_value);
|
|
729
730
|
t1 = internal.space();
|
|
730
731
|
span1 = internal.element("span");
|
|
731
|
-
|
|
732
|
+
t2 = internal.text(/*roomSizeDes*/ ctx[5]);
|
|
732
733
|
internal.attr(span0, "class", "floorplan-plugin__room-name");
|
|
733
734
|
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-12pzct5");
|
|
734
735
|
},
|
|
@@ -737,9 +738,11 @@ function create_if_block$4(ctx) {
|
|
|
737
738
|
internal.append(span0, t0);
|
|
738
739
|
internal.insert(target, t1, anchor);
|
|
739
740
|
internal.insert(target, span1, anchor);
|
|
741
|
+
internal.append(span1, t2);
|
|
740
742
|
},
|
|
741
743
|
p(ctx, dirty) {
|
|
742
744
|
if (dirty & /*room*/ 1 && t0_value !== (t0_value = /*room*/ ctx[0].name + "")) internal.set_data(t0, t0_value);
|
|
745
|
+
if (dirty & /*roomSizeDes*/ 32) internal.set_data(t2, /*roomSizeDes*/ ctx[5]);
|
|
743
746
|
},
|
|
744
747
|
d(detaching) {
|
|
745
748
|
if (detaching) internal.detach(span0);
|
|
@@ -773,7 +776,7 @@ function create_fragment$b(ctx) {
|
|
|
773
776
|
m(target, anchor) {
|
|
774
777
|
internal.insert(target, div, anchor);
|
|
775
778
|
if (if_block) if_block.m(div, null);
|
|
776
|
-
/*div_binding*/ ctx[
|
|
779
|
+
/*div_binding*/ ctx[16](div);
|
|
777
780
|
},
|
|
778
781
|
p(ctx, [dirty]) {
|
|
779
782
|
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
@@ -801,7 +804,7 @@ function create_fragment$b(ctx) {
|
|
|
801
804
|
if_block.d();
|
|
802
805
|
}
|
|
803
806
|
|
|
804
|
-
/*div_binding*/ ctx[
|
|
807
|
+
/*div_binding*/ ctx[16](null);
|
|
805
808
|
}
|
|
806
809
|
};
|
|
807
810
|
}
|
|
@@ -824,12 +827,14 @@ function isPointInPolygon(point, polygon) {
|
|
|
824
827
|
}
|
|
825
828
|
|
|
826
829
|
function instance$b($$self, $$props, $$invalidate) {
|
|
830
|
+
let roomSizeDes;
|
|
827
831
|
let isLabelInRoom;
|
|
828
832
|
let userConfigElement;
|
|
829
833
|
let labelVisible;
|
|
830
834
|
let { pxmm } = $$props;
|
|
831
835
|
let { room } = $$props;
|
|
832
836
|
let { hoveredRoom } = $$props;
|
|
837
|
+
let { getRoomAreaText } = $$props;
|
|
833
838
|
let { getLabelElement } = $$props;
|
|
834
839
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
835
840
|
|
|
@@ -869,7 +874,6 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
869
874
|
const bodyWidth = document.body.clientWidth;
|
|
870
875
|
|
|
871
876
|
const bodyHeight = document.body.clientHeight;
|
|
872
|
-
const roomSizeDes = room.size ? (room.size / 1000000).toFixed(1) + '㎡' : '';
|
|
873
877
|
|
|
874
878
|
// ====================================
|
|
875
879
|
const roomLabel = room.roomLabel;
|
|
@@ -885,7 +889,7 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
885
889
|
let labelElementSize;
|
|
886
890
|
|
|
887
891
|
hoveredRoom.subscribe(function onHoverdRoomUpdate(_room) {
|
|
888
|
-
$$invalidate(
|
|
892
|
+
$$invalidate(13, isHoverd = !!_room && _room.id === room.id);
|
|
889
893
|
});
|
|
890
894
|
|
|
891
895
|
svelte.onMount(() => {
|
|
@@ -895,7 +899,7 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
895
899
|
? void 0
|
|
896
900
|
: labelElement.getClientRects()[0];
|
|
897
901
|
|
|
898
|
-
$$invalidate(
|
|
902
|
+
$$invalidate(14, labelElementSize = {
|
|
899
903
|
width: labelDomRect.width,
|
|
900
904
|
height: labelDomRect.height
|
|
901
905
|
});
|
|
@@ -912,13 +916,18 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
912
916
|
if ('pxmm' in $$props) $$invalidate(9, pxmm = $$props.pxmm);
|
|
913
917
|
if ('room' in $$props) $$invalidate(0, room = $$props.room);
|
|
914
918
|
if ('hoveredRoom' in $$props) $$invalidate(10, hoveredRoom = $$props.hoveredRoom);
|
|
919
|
+
if ('getRoomAreaText' in $$props) $$invalidate(11, getRoomAreaText = $$props.getRoomAreaText);
|
|
915
920
|
if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
|
|
916
|
-
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(
|
|
921
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(12, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
917
922
|
};
|
|
918
923
|
|
|
919
924
|
$$self.$$.update = () => {
|
|
920
|
-
if ($$self.$$.dirty & /*
|
|
921
|
-
$$invalidate(
|
|
925
|
+
if ($$self.$$.dirty & /*room, getRoomAreaText*/ 2049) {
|
|
926
|
+
$$invalidate(5, roomSizeDes = room.size ? getRoomAreaText(room.size) : '');
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
if ($$self.$$.dirty & /*labelElementSize, room*/ 16385) {
|
|
930
|
+
$$invalidate(15, isLabelInRoom = labelElementSize
|
|
922
931
|
? isLabelInRoomCurry(room, labelElementSize)
|
|
923
932
|
: undefined);
|
|
924
933
|
}
|
|
@@ -929,7 +938,7 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
929
938
|
: getLabelElement(room));
|
|
930
939
|
}
|
|
931
940
|
|
|
932
|
-
if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/
|
|
941
|
+
if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 45568) {
|
|
933
942
|
$$invalidate(3, labelVisible = adaptiveRoomLabelVisibleEnable
|
|
934
943
|
? isHoverd
|
|
935
944
|
? true
|
|
@@ -952,6 +961,7 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
952
961
|
fontSize,
|
|
953
962
|
pxmm,
|
|
954
963
|
hoveredRoom,
|
|
964
|
+
getRoomAreaText,
|
|
955
965
|
adaptiveRoomLabelVisibleEnable,
|
|
956
966
|
isHoverd,
|
|
957
967
|
labelElementSize,
|
|
@@ -974,15 +984,16 @@ class RoomLabel extends internal.SvelteComponent {
|
|
|
974
984
|
pxmm: 9,
|
|
975
985
|
room: 0,
|
|
976
986
|
hoveredRoom: 10,
|
|
987
|
+
getRoomAreaText: 11,
|
|
977
988
|
getLabelElement: 1,
|
|
978
|
-
adaptiveRoomLabelVisibleEnable:
|
|
989
|
+
adaptiveRoomLabelVisibleEnable: 12
|
|
979
990
|
},
|
|
980
991
|
add_css$8
|
|
981
992
|
);
|
|
982
993
|
}
|
|
983
994
|
}
|
|
984
995
|
|
|
985
|
-
/* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.
|
|
996
|
+
/* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.50.1 */
|
|
986
997
|
|
|
987
998
|
function add_css$7(target) {
|
|
988
999
|
internal.append_styles(target, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
|
|
@@ -990,19 +1001,19 @@ function add_css$7(target) {
|
|
|
990
1001
|
|
|
991
1002
|
function get_each_context$5(ctx, list, i) {
|
|
992
1003
|
const child_ctx = ctx.slice();
|
|
993
|
-
child_ctx[
|
|
1004
|
+
child_ctx[10] = list[i];
|
|
994
1005
|
return child_ctx;
|
|
995
1006
|
}
|
|
996
1007
|
|
|
997
|
-
// (
|
|
1008
|
+
// (18:0) {#if rooms}
|
|
998
1009
|
function create_if_block$3(ctx) {
|
|
999
1010
|
let div;
|
|
1000
1011
|
let each_blocks = [];
|
|
1001
1012
|
let each_1_lookup = new Map();
|
|
1002
1013
|
let div_resize_listener;
|
|
1003
1014
|
let current;
|
|
1004
|
-
let each_value = /*rooms*/ ctx[
|
|
1005
|
-
const get_key = ctx => /*room*/ ctx[
|
|
1015
|
+
let each_value = /*rooms*/ ctx[6];
|
|
1016
|
+
const get_key = ctx => /*room*/ ctx[10].id;
|
|
1006
1017
|
|
|
1007
1018
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
1008
1019
|
let child_ctx = get_each_context$5(ctx, each_value, i);
|
|
@@ -1019,7 +1030,7 @@ function create_if_block$3(ctx) {
|
|
|
1019
1030
|
}
|
|
1020
1031
|
|
|
1021
1032
|
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-13xux0b");
|
|
1022
|
-
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[
|
|
1033
|
+
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[9].call(div));
|
|
1023
1034
|
},
|
|
1024
1035
|
m(target, anchor) {
|
|
1025
1036
|
internal.insert(target, div, anchor);
|
|
@@ -1028,12 +1039,12 @@ function create_if_block$3(ctx) {
|
|
|
1028
1039
|
each_blocks[i].m(div, null);
|
|
1029
1040
|
}
|
|
1030
1041
|
|
|
1031
|
-
div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[
|
|
1042
|
+
div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[9].bind(div));
|
|
1032
1043
|
current = true;
|
|
1033
1044
|
},
|
|
1034
1045
|
p(ctx, dirty) {
|
|
1035
|
-
if (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
1036
|
-
each_value = /*rooms*/ ctx[
|
|
1046
|
+
if (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111) {
|
|
1047
|
+
each_value = /*rooms*/ ctx[6];
|
|
1037
1048
|
internal.group_outros();
|
|
1038
1049
|
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, internal.outro_and_destroy_block, create_each_block$5, null, get_each_context$5);
|
|
1039
1050
|
internal.check_outros();
|
|
@@ -1067,7 +1078,7 @@ function create_if_block$3(ctx) {
|
|
|
1067
1078
|
};
|
|
1068
1079
|
}
|
|
1069
1080
|
|
|
1070
|
-
// (
|
|
1081
|
+
// (20:4) {#each rooms as room (room.id)}
|
|
1071
1082
|
function create_each_block$5(key_1, ctx) {
|
|
1072
1083
|
let first;
|
|
1073
1084
|
let roomlabel;
|
|
@@ -1075,11 +1086,12 @@ function create_each_block$5(key_1, ctx) {
|
|
|
1075
1086
|
|
|
1076
1087
|
const roomlabel_spread_levels = [
|
|
1077
1088
|
{
|
|
1078
|
-
pxmm: /*pxmm*/ ctx[
|
|
1079
|
-
room: /*room*/ ctx[
|
|
1080
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
1089
|
+
pxmm: /*pxmm*/ ctx[5],
|
|
1090
|
+
room: /*room*/ ctx[10],
|
|
1091
|
+
getLabelElement: /*getLabelElement*/ ctx[2],
|
|
1092
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[1],
|
|
1081
1093
|
hoveredRoom: /*hoveredRoom*/ ctx[0],
|
|
1082
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
1094
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
|
|
1083
1095
|
}
|
|
1084
1096
|
];
|
|
1085
1097
|
|
|
@@ -1107,14 +1119,15 @@ function create_each_block$5(key_1, ctx) {
|
|
|
1107
1119
|
p(new_ctx, dirty) {
|
|
1108
1120
|
ctx = new_ctx;
|
|
1109
1121
|
|
|
1110
|
-
const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
1122
|
+
const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111)
|
|
1111
1123
|
? internal.get_spread_update(roomlabel_spread_levels, [
|
|
1112
1124
|
{
|
|
1113
|
-
pxmm: /*pxmm*/ ctx[
|
|
1114
|
-
room: /*room*/ ctx[
|
|
1115
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
1125
|
+
pxmm: /*pxmm*/ ctx[5],
|
|
1126
|
+
room: /*room*/ ctx[10],
|
|
1127
|
+
getLabelElement: /*getLabelElement*/ ctx[2],
|
|
1128
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[1],
|
|
1116
1129
|
hoveredRoom: /*hoveredRoom*/ ctx[0],
|
|
1117
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
1130
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
|
|
1118
1131
|
}
|
|
1119
1132
|
])
|
|
1120
1133
|
: {};
|
|
@@ -1140,7 +1153,7 @@ function create_each_block$5(key_1, ctx) {
|
|
|
1140
1153
|
function create_fragment$a(ctx) {
|
|
1141
1154
|
let if_block_anchor;
|
|
1142
1155
|
let current;
|
|
1143
|
-
let if_block = /*rooms*/ ctx[
|
|
1156
|
+
let if_block = /*rooms*/ ctx[6] && create_if_block$3(ctx);
|
|
1144
1157
|
|
|
1145
1158
|
return {
|
|
1146
1159
|
c() {
|
|
@@ -1153,11 +1166,11 @@ function create_fragment$a(ctx) {
|
|
|
1153
1166
|
current = true;
|
|
1154
1167
|
},
|
|
1155
1168
|
p(ctx, [dirty]) {
|
|
1156
|
-
if (/*rooms*/ ctx[
|
|
1169
|
+
if (/*rooms*/ ctx[6]) {
|
|
1157
1170
|
if (if_block) {
|
|
1158
1171
|
if_block.p(ctx, dirty);
|
|
1159
1172
|
|
|
1160
|
-
if (dirty & /*rooms*/
|
|
1173
|
+
if (dirty & /*rooms*/ 64) {
|
|
1161
1174
|
internal.transition_in(if_block, 1);
|
|
1162
1175
|
}
|
|
1163
1176
|
} else {
|
|
@@ -1197,6 +1210,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
1197
1210
|
let { floorIndex } = $$props;
|
|
1198
1211
|
let { floorplanData } = $$props;
|
|
1199
1212
|
let { hoveredRoom } = $$props;
|
|
1213
|
+
let { getRoomAreaText } = $$props;
|
|
1200
1214
|
let { getLabelElement } = $$props;
|
|
1201
1215
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
1202
1216
|
let clientWidth = 0;
|
|
@@ -1204,33 +1218,35 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
1204
1218
|
|
|
1205
1219
|
function div_elementresize_handler() {
|
|
1206
1220
|
clientWidth = this.clientWidth;
|
|
1207
|
-
$$invalidate(
|
|
1221
|
+
$$invalidate(4, clientWidth);
|
|
1208
1222
|
}
|
|
1209
1223
|
|
|
1210
1224
|
$$self.$$set = $$props => {
|
|
1211
|
-
if ('floorIndex' in $$props) $$invalidate(
|
|
1212
|
-
if ('floorplanData' in $$props) $$invalidate(
|
|
1225
|
+
if ('floorIndex' in $$props) $$invalidate(7, floorIndex = $$props.floorIndex);
|
|
1226
|
+
if ('floorplanData' in $$props) $$invalidate(8, floorplanData = $$props.floorplanData);
|
|
1213
1227
|
if ('hoveredRoom' in $$props) $$invalidate(0, hoveredRoom = $$props.hoveredRoom);
|
|
1214
|
-
if ('
|
|
1215
|
-
if ('
|
|
1228
|
+
if ('getRoomAreaText' in $$props) $$invalidate(1, getRoomAreaText = $$props.getRoomAreaText);
|
|
1229
|
+
if ('getLabelElement' in $$props) $$invalidate(2, getLabelElement = $$props.getLabelElement);
|
|
1230
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(3, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
1216
1231
|
};
|
|
1217
1232
|
|
|
1218
1233
|
$$self.$$.update = () => {
|
|
1219
|
-
if ($$self.$$.dirty & /*floorplanData, floorIndex*/
|
|
1220
|
-
$$invalidate(
|
|
1234
|
+
if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 384) {
|
|
1235
|
+
$$invalidate(6, rooms = floorplanData.floorDatas[floorIndex].rooms);
|
|
1221
1236
|
}
|
|
1222
1237
|
|
|
1223
|
-
if ($$self.$$.dirty & /*floorplanData, clientWidth*/
|
|
1238
|
+
if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 272) {
|
|
1224
1239
|
{
|
|
1225
1240
|
const { max, min } = floorplanData.bounding;
|
|
1226
1241
|
const boundingWidth = max.x - min.x;
|
|
1227
|
-
$$invalidate(
|
|
1242
|
+
$$invalidate(5, pxmm = clientWidth / boundingWidth);
|
|
1228
1243
|
}
|
|
1229
1244
|
}
|
|
1230
1245
|
};
|
|
1231
1246
|
|
|
1232
1247
|
return [
|
|
1233
1248
|
hoveredRoom,
|
|
1249
|
+
getRoomAreaText,
|
|
1234
1250
|
getLabelElement,
|
|
1235
1251
|
adaptiveRoomLabelVisibleEnable,
|
|
1236
1252
|
clientWidth,
|
|
@@ -1253,18 +1269,19 @@ class RoomLabels extends internal.SvelteComponent {
|
|
|
1253
1269
|
create_fragment$a,
|
|
1254
1270
|
internal.safe_not_equal,
|
|
1255
1271
|
{
|
|
1256
|
-
floorIndex:
|
|
1257
|
-
floorplanData:
|
|
1272
|
+
floorIndex: 7,
|
|
1273
|
+
floorplanData: 8,
|
|
1258
1274
|
hoveredRoom: 0,
|
|
1259
|
-
|
|
1260
|
-
|
|
1275
|
+
getRoomAreaText: 1,
|
|
1276
|
+
getLabelElement: 2,
|
|
1277
|
+
adaptiveRoomLabelVisibleEnable: 3
|
|
1261
1278
|
},
|
|
1262
1279
|
add_css$7
|
|
1263
1280
|
);
|
|
1264
1281
|
}
|
|
1265
1282
|
}
|
|
1266
1283
|
|
|
1267
|
-
/* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.
|
|
1284
|
+
/* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.50.1 */
|
|
1268
1285
|
|
|
1269
1286
|
function add_css$6(target) {
|
|
1270
1287
|
internal.append_styles(target, "svelte-xt7p1v", ".floorplan-plugin__rule-labels.svelte-xt7p1v.svelte-xt7p1v{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-xt7p1v.svelte-xt7p1v{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v.svelte-xt7p1v{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v.svelte-xt7p1v{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v.svelte-xt7p1v{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-xt7p1v.svelte-xt7p1v{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-xt7p1v.svelte-xt7p1v{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale.svelte-xt7p1v{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute}.floorplan-plugin__rule-labels--top.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-xt7p1v.svelte-xt7p1v{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-text-item.svelte-xt7p1v{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-xt7p1v.svelte-xt7p1v{width:-webkit-max-content;width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
|
|
@@ -1272,18 +1289,18 @@ function add_css$6(target) {
|
|
|
1272
1289
|
|
|
1273
1290
|
function get_each_context$4(ctx, list, i) {
|
|
1274
1291
|
const child_ctx = ctx.slice();
|
|
1275
|
-
child_ctx[
|
|
1276
|
-
child_ctx[
|
|
1292
|
+
child_ctx[11] = list[i];
|
|
1293
|
+
child_ctx[13] = i;
|
|
1277
1294
|
return child_ctx;
|
|
1278
1295
|
}
|
|
1279
1296
|
|
|
1280
1297
|
function get_each_context_1(ctx, list, i) {
|
|
1281
1298
|
const child_ctx = ctx.slice();
|
|
1282
|
-
child_ctx[
|
|
1299
|
+
child_ctx[14] = list[i];
|
|
1283
1300
|
return child_ctx;
|
|
1284
1301
|
}
|
|
1285
1302
|
|
|
1286
|
-
// (
|
|
1303
|
+
// (48:4) {#each rulerLabels as rulerLabel}
|
|
1287
1304
|
function create_each_block_1(ctx) {
|
|
1288
1305
|
let div;
|
|
1289
1306
|
|
|
@@ -1291,8 +1308,8 @@ function create_each_block_1(ctx) {
|
|
|
1291
1308
|
c() {
|
|
1292
1309
|
div = internal.element("div");
|
|
1293
1310
|
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-xt7p1v");
|
|
1294
|
-
internal.set_style(div, "left", /*rulerLabel*/ ctx[
|
|
1295
|
-
internal.set_style(div, "bottom", /*rulerLabel*/ ctx[
|
|
1311
|
+
internal.set_style(div, "left", /*rulerLabel*/ ctx[14].left * 100 + '%', false);
|
|
1312
|
+
internal.set_style(div, "bottom", /*rulerLabel*/ ctx[14].bottom * 100 + '%', false);
|
|
1296
1313
|
},
|
|
1297
1314
|
m(target, anchor) {
|
|
1298
1315
|
internal.insert(target, div, anchor);
|
|
@@ -1304,11 +1321,11 @@ function create_each_block_1(ctx) {
|
|
|
1304
1321
|
};
|
|
1305
1322
|
}
|
|
1306
1323
|
|
|
1307
|
-
// (
|
|
1324
|
+
// (57:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
|
|
1308
1325
|
function create_each_block$4(key_1, ctx) {
|
|
1309
1326
|
let div1;
|
|
1310
1327
|
let div0;
|
|
1311
|
-
let t0_value = /*textItem*/ ctx[
|
|
1328
|
+
let t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "";
|
|
1312
1329
|
let t0;
|
|
1313
1330
|
let t1;
|
|
1314
1331
|
|
|
@@ -1321,10 +1338,10 @@ function create_each_block$4(key_1, ctx) {
|
|
|
1321
1338
|
t0 = internal.text(t0_value);
|
|
1322
1339
|
t1 = internal.space();
|
|
1323
1340
|
internal.attr(div0, "class", "floorplan-plugin__rule-text svelte-xt7p1v");
|
|
1324
|
-
internal.toggle_class(div0, "is-row", /*isRow*/ ctx[
|
|
1341
|
+
internal.toggle_class(div0, "is-row", /*isRow*/ ctx[2]);
|
|
1325
1342
|
internal.attr(div1, "class", "floorplan-plugin__rule-text-item svelte-xt7p1v");
|
|
1326
|
-
internal.set_style(div1, "left", /*textItem*/ ctx[
|
|
1327
|
-
internal.set_style(div1, "bottom", /*textItem*/ ctx[
|
|
1343
|
+
internal.set_style(div1, "left", /*textItem*/ ctx[11].left * 100 + '%', false);
|
|
1344
|
+
internal.set_style(div1, "bottom", /*textItem*/ ctx[11].bottom * 100 + '%', false);
|
|
1328
1345
|
this.first = div1;
|
|
1329
1346
|
},
|
|
1330
1347
|
m(target, anchor) {
|
|
@@ -1335,6 +1352,7 @@ function create_each_block$4(key_1, ctx) {
|
|
|
1335
1352
|
},
|
|
1336
1353
|
p(new_ctx, dirty) {
|
|
1337
1354
|
ctx = new_ctx;
|
|
1355
|
+
if (dirty & /*getRuleDistanceText*/ 2 && t0_value !== (t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "")) internal.set_data(t0, t0_value);
|
|
1338
1356
|
},
|
|
1339
1357
|
d(detaching) {
|
|
1340
1358
|
if (detaching) internal.detach(div1);
|
|
@@ -1352,15 +1370,15 @@ function create_fragment$9(ctx) {
|
|
|
1352
1370
|
let each_blocks = [];
|
|
1353
1371
|
let each1_lookup = new Map();
|
|
1354
1372
|
let div3_class_value;
|
|
1355
|
-
let each_value_1 = /*rulerLabels*/ ctx[
|
|
1373
|
+
let each_value_1 = /*rulerLabels*/ ctx[3];
|
|
1356
1374
|
let each_blocks_1 = [];
|
|
1357
1375
|
|
|
1358
1376
|
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
1359
1377
|
each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
|
|
1360
1378
|
}
|
|
1361
1379
|
|
|
1362
|
-
let each_value = /*rulerTexts*/ ctx[
|
|
1363
|
-
const get_key = ctx => /*textItemIndex*/ ctx[
|
|
1380
|
+
let each_value = /*rulerTexts*/ ctx[4];
|
|
1381
|
+
const get_key = ctx => /*textItemIndex*/ ctx[13];
|
|
1364
1382
|
|
|
1365
1383
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
1366
1384
|
let child_ctx = get_each_context$4(ctx, each_value, i);
|
|
@@ -1388,12 +1406,12 @@ function create_fragment$9(ctx) {
|
|
|
1388
1406
|
|
|
1389
1407
|
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-xt7p1v");
|
|
1390
1408
|
internal.attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-xt7p1v");
|
|
1391
|
-
internal.toggle_class(div1, "is-row", /*isRow*/ ctx[
|
|
1409
|
+
internal.toggle_class(div1, "is-row", /*isRow*/ ctx[2]);
|
|
1392
1410
|
internal.attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-xt7p1v");
|
|
1393
1411
|
internal.attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-xt7p1v");
|
|
1394
|
-
internal.toggle_class(div3, "is-row", /*isRow*/ ctx[
|
|
1395
|
-
internal.set_style(div3, "width", /*isRow*/ ctx[
|
|
1396
|
-
internal.set_style(div3, "height", !/*isRow*/ ctx[
|
|
1412
|
+
internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
|
|
1413
|
+
internal.set_style(div3, "width", /*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
|
|
1414
|
+
internal.set_style(div3, "height", !/*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
|
|
1397
1415
|
},
|
|
1398
1416
|
m(target, anchor) {
|
|
1399
1417
|
internal.insert(target, div3, anchor);
|
|
@@ -1413,8 +1431,8 @@ function create_fragment$9(ctx) {
|
|
|
1413
1431
|
}
|
|
1414
1432
|
},
|
|
1415
1433
|
p(ctx, [dirty]) {
|
|
1416
|
-
if (dirty & /*rulerLabels*/
|
|
1417
|
-
each_value_1 = /*rulerLabels*/ ctx[
|
|
1434
|
+
if (dirty & /*rulerLabels*/ 8) {
|
|
1435
|
+
each_value_1 = /*rulerLabels*/ ctx[3];
|
|
1418
1436
|
let i;
|
|
1419
1437
|
|
|
1420
1438
|
for (i = 0; i < each_value_1.length; i += 1) {
|
|
@@ -1436,8 +1454,8 @@ function create_fragment$9(ctx) {
|
|
|
1436
1454
|
each_blocks_1.length = each_value_1.length;
|
|
1437
1455
|
}
|
|
1438
1456
|
|
|
1439
|
-
if (dirty & /*rulerTexts, isRow*/
|
|
1440
|
-
each_value = /*rulerTexts*/ ctx[
|
|
1457
|
+
if (dirty & /*rulerTexts, isRow, getRuleDistanceText*/ 22) {
|
|
1458
|
+
each_value = /*rulerTexts*/ ctx[4];
|
|
1441
1459
|
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div2, internal.destroy_block, create_each_block$4, null, get_each_context$4);
|
|
1442
1460
|
}
|
|
1443
1461
|
|
|
@@ -1445,8 +1463,8 @@ function create_fragment$9(ctx) {
|
|
|
1445
1463
|
internal.attr(div3, "class", div3_class_value);
|
|
1446
1464
|
}
|
|
1447
1465
|
|
|
1448
|
-
if (dirty & /*type, isRow*/
|
|
1449
|
-
internal.toggle_class(div3, "is-row", /*isRow*/ ctx[
|
|
1466
|
+
if (dirty & /*type, isRow*/ 5) {
|
|
1467
|
+
internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
|
|
1450
1468
|
}
|
|
1451
1469
|
},
|
|
1452
1470
|
i: internal.noop,
|
|
@@ -1469,6 +1487,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
1469
1487
|
let { type } = $$props;
|
|
1470
1488
|
let { data } = $$props;
|
|
1471
1489
|
let { bounding } = $$props;
|
|
1490
|
+
let { getRuleDistanceText } = $$props;
|
|
1472
1491
|
const isRow = type === 'top' || type === 'bottom';
|
|
1473
1492
|
const contentWidth = bounding.max.x - bounding.min.x - (padding$1 - exteriorWallOffset$1) * 2;
|
|
1474
1493
|
const contentHeight = bounding.max.y - bounding.min.y - (padding$1 - exteriorWallOffset$1) * 2;
|
|
@@ -1514,21 +1533,36 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
1514
1533
|
|
|
1515
1534
|
$$self.$$set = $$props => {
|
|
1516
1535
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
1517
|
-
if ('data' in $$props) $$invalidate(
|
|
1518
|
-
if ('bounding' in $$props) $$invalidate(
|
|
1536
|
+
if ('data' in $$props) $$invalidate(5, data = $$props.data);
|
|
1537
|
+
if ('bounding' in $$props) $$invalidate(6, bounding = $$props.bounding);
|
|
1538
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(1, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
1519
1539
|
};
|
|
1520
1540
|
|
|
1521
|
-
return [type, isRow, rulerLabels, rulerTexts, data, bounding];
|
|
1541
|
+
return [type, getRuleDistanceText, isRow, rulerLabels, rulerTexts, data, bounding];
|
|
1522
1542
|
}
|
|
1523
1543
|
|
|
1524
1544
|
class RuleItem extends internal.SvelteComponent {
|
|
1525
1545
|
constructor(options) {
|
|
1526
1546
|
super();
|
|
1527
|
-
|
|
1547
|
+
|
|
1548
|
+
internal.init(
|
|
1549
|
+
this,
|
|
1550
|
+
options,
|
|
1551
|
+
instance$9,
|
|
1552
|
+
create_fragment$9,
|
|
1553
|
+
internal.safe_not_equal,
|
|
1554
|
+
{
|
|
1555
|
+
type: 0,
|
|
1556
|
+
data: 5,
|
|
1557
|
+
bounding: 6,
|
|
1558
|
+
getRuleDistanceText: 1
|
|
1559
|
+
},
|
|
1560
|
+
add_css$6
|
|
1561
|
+
);
|
|
1528
1562
|
}
|
|
1529
1563
|
}
|
|
1530
1564
|
|
|
1531
|
-
/* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.
|
|
1565
|
+
/* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.50.1 */
|
|
1532
1566
|
|
|
1533
1567
|
function add_css$5(target) {
|
|
1534
1568
|
internal.append_styles(target, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
|
|
@@ -1536,12 +1570,12 @@ function add_css$5(target) {
|
|
|
1536
1570
|
|
|
1537
1571
|
function get_each_context$3(ctx, list, i) {
|
|
1538
1572
|
const child_ctx = ctx.slice();
|
|
1539
|
-
child_ctx[
|
|
1540
|
-
child_ctx[
|
|
1573
|
+
child_ctx[13] = list[i][0];
|
|
1574
|
+
child_ctx[14] = list[i][1];
|
|
1541
1575
|
return child_ctx;
|
|
1542
1576
|
}
|
|
1543
1577
|
|
|
1544
|
-
// (
|
|
1578
|
+
// (20:2) {#each ruleLabelArray as [type, data] (type)}
|
|
1545
1579
|
function create_each_block$3(key_1, ctx) {
|
|
1546
1580
|
let first;
|
|
1547
1581
|
let ruleitem;
|
|
@@ -1549,9 +1583,10 @@ function create_each_block$3(key_1, ctx) {
|
|
|
1549
1583
|
|
|
1550
1584
|
const ruleitem_spread_levels = [
|
|
1551
1585
|
{
|
|
1552
|
-
type: /*type*/ ctx[
|
|
1553
|
-
data: /*data*/ ctx[
|
|
1554
|
-
bounding: /*bounding*/ ctx[
|
|
1586
|
+
type: /*type*/ ctx[13],
|
|
1587
|
+
data: /*data*/ ctx[14],
|
|
1588
|
+
bounding: /*bounding*/ ctx[1],
|
|
1589
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
|
|
1555
1590
|
}
|
|
1556
1591
|
];
|
|
1557
1592
|
|
|
@@ -1579,12 +1614,13 @@ function create_each_block$3(key_1, ctx) {
|
|
|
1579
1614
|
p(new_ctx, dirty) {
|
|
1580
1615
|
ctx = new_ctx;
|
|
1581
1616
|
|
|
1582
|
-
const ruleitem_changes = (dirty & /*ruleLabelArray, bounding*/
|
|
1617
|
+
const ruleitem_changes = (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19)
|
|
1583
1618
|
? internal.get_spread_update(ruleitem_spread_levels, [
|
|
1584
1619
|
{
|
|
1585
|
-
type: /*type*/ ctx[
|
|
1586
|
-
data: /*data*/ ctx[
|
|
1587
|
-
bounding: /*bounding*/ ctx[
|
|
1620
|
+
type: /*type*/ ctx[13],
|
|
1621
|
+
data: /*data*/ ctx[14],
|
|
1622
|
+
bounding: /*bounding*/ ctx[1],
|
|
1623
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
|
|
1588
1624
|
}
|
|
1589
1625
|
])
|
|
1590
1626
|
: {};
|
|
@@ -1612,8 +1648,8 @@ function create_fragment$8(ctx) {
|
|
|
1612
1648
|
let each_blocks = [];
|
|
1613
1649
|
let each_1_lookup = new Map();
|
|
1614
1650
|
let current;
|
|
1615
|
-
let each_value = /*ruleLabelArray*/ ctx[
|
|
1616
|
-
const get_key = ctx => /*type*/ ctx[
|
|
1651
|
+
let each_value = /*ruleLabelArray*/ ctx[4];
|
|
1652
|
+
const get_key = ctx => /*type*/ ctx[13];
|
|
1617
1653
|
|
|
1618
1654
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
1619
1655
|
let child_ctx = get_each_context$3(ctx, each_value, i);
|
|
@@ -1630,8 +1666,8 @@ function create_fragment$8(ctx) {
|
|
|
1630
1666
|
}
|
|
1631
1667
|
|
|
1632
1668
|
internal.attr(div, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3");
|
|
1633
|
-
internal.set_style(div, "width", /*width*/ ctx[
|
|
1634
|
-
internal.set_style(div, "height", /*height*/ ctx[
|
|
1669
|
+
internal.set_style(div, "width", /*width*/ ctx[3], false);
|
|
1670
|
+
internal.set_style(div, "height", /*height*/ ctx[2], false);
|
|
1635
1671
|
},
|
|
1636
1672
|
m(target, anchor) {
|
|
1637
1673
|
internal.insert(target, div, anchor);
|
|
@@ -1643,19 +1679,19 @@ function create_fragment$8(ctx) {
|
|
|
1643
1679
|
current = true;
|
|
1644
1680
|
},
|
|
1645
1681
|
p(ctx, [dirty]) {
|
|
1646
|
-
if (dirty & /*ruleLabelArray, bounding*/
|
|
1647
|
-
each_value = /*ruleLabelArray*/ ctx[
|
|
1682
|
+
if (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19) {
|
|
1683
|
+
each_value = /*ruleLabelArray*/ ctx[4];
|
|
1648
1684
|
internal.group_outros();
|
|
1649
1685
|
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, internal.outro_and_destroy_block, create_each_block$3, null, get_each_context$3);
|
|
1650
1686
|
internal.check_outros();
|
|
1651
1687
|
}
|
|
1652
1688
|
|
|
1653
|
-
if (dirty & /*width*/
|
|
1654
|
-
internal.set_style(div, "width", /*width*/ ctx[
|
|
1689
|
+
if (dirty & /*width*/ 8) {
|
|
1690
|
+
internal.set_style(div, "width", /*width*/ ctx[3], false);
|
|
1655
1691
|
}
|
|
1656
1692
|
|
|
1657
|
-
if (dirty & /*height*/
|
|
1658
|
-
internal.set_style(div, "height", /*height*/ ctx[
|
|
1693
|
+
if (dirty & /*height*/ 4) {
|
|
1694
|
+
internal.set_style(div, "height", /*height*/ ctx[2], false);
|
|
1659
1695
|
}
|
|
1660
1696
|
},
|
|
1661
1697
|
i(local) {
|
|
@@ -1700,55 +1736,58 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
1700
1736
|
let height;
|
|
1701
1737
|
let { floorIndex } = $$props;
|
|
1702
1738
|
let { floorplanData } = $$props;
|
|
1739
|
+
let { getRuleDistanceText } = $$props;
|
|
1703
1740
|
|
|
1704
1741
|
$$self.$$set = $$props => {
|
|
1705
|
-
if ('floorIndex' in $$props) $$invalidate(
|
|
1706
|
-
if ('floorplanData' in $$props) $$invalidate(
|
|
1742
|
+
if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
|
|
1743
|
+
if ('floorplanData' in $$props) $$invalidate(6, floorplanData = $$props.floorplanData);
|
|
1744
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(0, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
1707
1745
|
};
|
|
1708
1746
|
|
|
1709
1747
|
$$self.$$.update = () => {
|
|
1710
|
-
if ($$self.$$.dirty & /*floorplanData*/
|
|
1711
|
-
$$invalidate(
|
|
1748
|
+
if ($$self.$$.dirty & /*floorplanData*/ 64) {
|
|
1749
|
+
$$invalidate(1, bounding = floorplanData.bounding);
|
|
1712
1750
|
}
|
|
1713
1751
|
|
|
1714
|
-
if ($$self.$$.dirty & /*floorplanData, floorIndex*/
|
|
1715
|
-
$$invalidate(
|
|
1752
|
+
if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 96) {
|
|
1753
|
+
$$invalidate(11, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
|
|
1716
1754
|
}
|
|
1717
1755
|
|
|
1718
|
-
if ($$self.$$.dirty & /*ruleLabelData*/
|
|
1719
|
-
$$invalidate(
|
|
1756
|
+
if ($$self.$$.dirty & /*ruleLabelData*/ 2048) {
|
|
1757
|
+
$$invalidate(12, ruleLabelDataKeys = Object.keys(ruleLabelData));
|
|
1720
1758
|
}
|
|
1721
1759
|
|
|
1722
|
-
if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/
|
|
1723
|
-
$$invalidate(
|
|
1760
|
+
if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 6144) {
|
|
1761
|
+
$$invalidate(4, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
|
|
1724
1762
|
}
|
|
1725
1763
|
|
|
1726
|
-
if ($$self.$$.dirty & /*bounding*/
|
|
1727
|
-
$$invalidate(
|
|
1764
|
+
if ($$self.$$.dirty & /*bounding*/ 2) {
|
|
1765
|
+
$$invalidate(9, boundingWidth = bounding.max.x - bounding.min.x);
|
|
1728
1766
|
}
|
|
1729
1767
|
|
|
1730
|
-
if ($$self.$$.dirty & /*bounding*/
|
|
1731
|
-
$$invalidate(
|
|
1768
|
+
if ($$self.$$.dirty & /*bounding*/ 2) {
|
|
1769
|
+
$$invalidate(7, boundingHeight = bounding.max.y - bounding.min.y);
|
|
1732
1770
|
}
|
|
1733
1771
|
|
|
1734
|
-
if ($$self.$$.dirty & /*bounding*/
|
|
1735
|
-
$$invalidate(
|
|
1772
|
+
if ($$self.$$.dirty & /*bounding*/ 2) {
|
|
1773
|
+
$$invalidate(10, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
|
|
1736
1774
|
}
|
|
1737
1775
|
|
|
1738
|
-
if ($$self.$$.dirty & /*bounding*/
|
|
1739
|
-
$$invalidate(
|
|
1776
|
+
if ($$self.$$.dirty & /*bounding*/ 2) {
|
|
1777
|
+
$$invalidate(8, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
|
|
1740
1778
|
}
|
|
1741
1779
|
|
|
1742
|
-
if ($$self.$$.dirty & /*contentWidth, boundingWidth*/
|
|
1743
|
-
$$invalidate(
|
|
1780
|
+
if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 1536) {
|
|
1781
|
+
$$invalidate(3, width = contentWidth / boundingWidth * 100 + '%');
|
|
1744
1782
|
}
|
|
1745
1783
|
|
|
1746
|
-
if ($$self.$$.dirty & /*contentHeight, boundingHeight*/
|
|
1747
|
-
$$invalidate(
|
|
1784
|
+
if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 384) {
|
|
1785
|
+
$$invalidate(2, height = contentHeight / boundingHeight * 100 + '%');
|
|
1748
1786
|
}
|
|
1749
1787
|
};
|
|
1750
1788
|
|
|
1751
1789
|
return [
|
|
1790
|
+
getRuleDistanceText,
|
|
1752
1791
|
bounding,
|
|
1753
1792
|
height,
|
|
1754
1793
|
width,
|
|
@@ -1767,7 +1806,20 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
1767
1806
|
class RuleLabels extends internal.SvelteComponent {
|
|
1768
1807
|
constructor(options) {
|
|
1769
1808
|
super();
|
|
1770
|
-
|
|
1809
|
+
|
|
1810
|
+
internal.init(
|
|
1811
|
+
this,
|
|
1812
|
+
options,
|
|
1813
|
+
instance$8,
|
|
1814
|
+
create_fragment$8,
|
|
1815
|
+
internal.safe_not_equal,
|
|
1816
|
+
{
|
|
1817
|
+
floorIndex: 5,
|
|
1818
|
+
floorplanData: 6,
|
|
1819
|
+
getRuleDistanceText: 0
|
|
1820
|
+
},
|
|
1821
|
+
add_css$5
|
|
1822
|
+
);
|
|
1771
1823
|
}
|
|
1772
1824
|
}
|
|
1773
1825
|
|
|
@@ -1797,7 +1849,7 @@ function formatFloorplanPoint({ x, y }, bounding) {
|
|
|
1797
1849
|
return { x: x - min.x, y: max.y - y };
|
|
1798
1850
|
}
|
|
1799
1851
|
|
|
1800
|
-
/* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.
|
|
1852
|
+
/* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.50.1 */
|
|
1801
1853
|
|
|
1802
1854
|
function create_fragment$7(ctx) {
|
|
1803
1855
|
let path_1;
|
|
@@ -1848,7 +1900,7 @@ class RoomMaterial_0 extends internal.SvelteComponent {
|
|
|
1848
1900
|
}
|
|
1849
1901
|
}
|
|
1850
1902
|
|
|
1851
|
-
/* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.
|
|
1903
|
+
/* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.50.1 */
|
|
1852
1904
|
|
|
1853
1905
|
function create_fragment$6(ctx) {
|
|
1854
1906
|
let defs;
|
|
@@ -1937,7 +1989,7 @@ class RoomMaterial_1 extends internal.SvelteComponent {
|
|
|
1937
1989
|
}
|
|
1938
1990
|
}
|
|
1939
1991
|
|
|
1940
|
-
/* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.
|
|
1992
|
+
/* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.50.1 */
|
|
1941
1993
|
|
|
1942
1994
|
function create_fragment$5(ctx) {
|
|
1943
1995
|
let defs;
|
|
@@ -2064,7 +2116,7 @@ class RoomMaterial_2 extends internal.SvelteComponent {
|
|
|
2064
2116
|
}
|
|
2065
2117
|
}
|
|
2066
2118
|
|
|
2067
|
-
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.
|
|
2119
|
+
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.50.1 */
|
|
2068
2120
|
|
|
2069
2121
|
function add_css$4(target) {
|
|
2070
2122
|
internal.append_styles(target, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
|
|
@@ -2369,7 +2421,7 @@ class RoomMaterial extends internal.SvelteComponent {
|
|
|
2369
2421
|
}
|
|
2370
2422
|
}
|
|
2371
2423
|
|
|
2372
|
-
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.
|
|
2424
|
+
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.50.1 */
|
|
2373
2425
|
|
|
2374
2426
|
function add_css$3(target) {
|
|
2375
2427
|
internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
@@ -2459,7 +2511,7 @@ class Room extends internal.SvelteComponent {
|
|
|
2459
2511
|
}
|
|
2460
2512
|
}
|
|
2461
2513
|
|
|
2462
|
-
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.
|
|
2514
|
+
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.50.1 */
|
|
2463
2515
|
|
|
2464
2516
|
function add_css$2(target) {
|
|
2465
2517
|
internal.append_styles(target, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
|
|
@@ -2647,13 +2699,13 @@ class RoomHighlight extends internal.SvelteComponent {
|
|
|
2647
2699
|
}
|
|
2648
2700
|
}
|
|
2649
2701
|
|
|
2650
|
-
/* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.
|
|
2702
|
+
/* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.50.1 */
|
|
2651
2703
|
|
|
2652
2704
|
function add_css$1(target) {
|
|
2653
2705
|
internal.append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
|
|
2654
2706
|
}
|
|
2655
2707
|
|
|
2656
|
-
// (
|
|
2708
|
+
// (22:2) {#if hoverEnable}
|
|
2657
2709
|
function create_if_block_2(ctx) {
|
|
2658
2710
|
let roomhighlight;
|
|
2659
2711
|
let current;
|
|
@@ -2662,7 +2714,7 @@ function create_if_block_2(ctx) {
|
|
|
2662
2714
|
{
|
|
2663
2715
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
2664
2716
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
2665
|
-
hoveredRoom: /*hoveredRoom*/ ctx[
|
|
2717
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10]
|
|
2666
2718
|
}
|
|
2667
2719
|
];
|
|
2668
2720
|
|
|
@@ -2683,12 +2735,12 @@ function create_if_block_2(ctx) {
|
|
|
2683
2735
|
current = true;
|
|
2684
2736
|
},
|
|
2685
2737
|
p(ctx, dirty) {
|
|
2686
|
-
const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/
|
|
2738
|
+
const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 1058)
|
|
2687
2739
|
? internal.get_spread_update(roomhighlight_spread_levels, [
|
|
2688
2740
|
{
|
|
2689
2741
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
2690
2742
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
2691
|
-
hoveredRoom: /*hoveredRoom*/ ctx[
|
|
2743
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10]
|
|
2692
2744
|
}
|
|
2693
2745
|
])
|
|
2694
2746
|
: {};
|
|
@@ -2710,7 +2762,7 @@ function create_if_block_2(ctx) {
|
|
|
2710
2762
|
};
|
|
2711
2763
|
}
|
|
2712
2764
|
|
|
2713
|
-
// (
|
|
2765
|
+
// (26:2) {#if roomLabelsEnable}
|
|
2714
2766
|
function create_if_block_1$1(ctx) {
|
|
2715
2767
|
let roomlabels;
|
|
2716
2768
|
let current;
|
|
@@ -2719,9 +2771,10 @@ function create_if_block_1$1(ctx) {
|
|
|
2719
2771
|
{
|
|
2720
2772
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
2721
2773
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2774
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[6],
|
|
2775
|
+
getLabelElement: /*getLabelElement*/ ctx[7],
|
|
2776
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10],
|
|
2777
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
|
|
2725
2778
|
}
|
|
2726
2779
|
];
|
|
2727
2780
|
|
|
@@ -2742,14 +2795,15 @@ function create_if_block_1$1(ctx) {
|
|
|
2742
2795
|
current = true;
|
|
2743
2796
|
},
|
|
2744
2797
|
p(ctx, dirty) {
|
|
2745
|
-
const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
2798
|
+
const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getRoomAreaText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 1762)
|
|
2746
2799
|
? internal.get_spread_update(roomlabels_spread_levels, [
|
|
2747
2800
|
{
|
|
2748
2801
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
2749
2802
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2803
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[6],
|
|
2804
|
+
getLabelElement: /*getLabelElement*/ ctx[7],
|
|
2805
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10],
|
|
2806
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
|
|
2753
2807
|
}
|
|
2754
2808
|
])
|
|
2755
2809
|
: {};
|
|
@@ -2771,7 +2825,7 @@ function create_if_block_1$1(ctx) {
|
|
|
2771
2825
|
};
|
|
2772
2826
|
}
|
|
2773
2827
|
|
|
2774
|
-
// (
|
|
2828
|
+
// (38:2) {#if ruleLabelsEnable}
|
|
2775
2829
|
function create_if_block$1(ctx) {
|
|
2776
2830
|
let rulelabels;
|
|
2777
2831
|
let current;
|
|
@@ -2779,7 +2833,8 @@ function create_if_block$1(ctx) {
|
|
|
2779
2833
|
const rulelabels_spread_levels = [
|
|
2780
2834
|
{
|
|
2781
2835
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
2782
|
-
floorIndex: /*floorIndex*/ ctx[1]
|
|
2836
|
+
floorIndex: /*floorIndex*/ ctx[1],
|
|
2837
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
|
|
2783
2838
|
}
|
|
2784
2839
|
];
|
|
2785
2840
|
|
|
@@ -2800,11 +2855,12 @@ function create_if_block$1(ctx) {
|
|
|
2800
2855
|
current = true;
|
|
2801
2856
|
},
|
|
2802
2857
|
p(ctx, dirty) {
|
|
2803
|
-
const rulelabels_changes = (dirty & /*floorplanData, floorIndex*/
|
|
2858
|
+
const rulelabels_changes = (dirty & /*floorplanData, floorIndex, getRuleDistanceText*/ 290)
|
|
2804
2859
|
? internal.get_spread_update(rulelabels_spread_levels, [
|
|
2805
2860
|
{
|
|
2806
2861
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
2807
|
-
floorIndex: /*floorIndex*/ ctx[1]
|
|
2862
|
+
floorIndex: /*floorIndex*/ ctx[1],
|
|
2863
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
|
|
2808
2864
|
}
|
|
2809
2865
|
])
|
|
2810
2866
|
: {};
|
|
@@ -3033,7 +3089,9 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
3033
3089
|
let { roomLabelsEnable } = $$props;
|
|
3034
3090
|
let { ruleLabelsEnable } = $$props;
|
|
3035
3091
|
let { floorplanData } = $$props;
|
|
3092
|
+
let { getRoomAreaText } = $$props;
|
|
3036
3093
|
let { getLabelElement } = $$props;
|
|
3094
|
+
let { getRuleDistanceText } = $$props;
|
|
3037
3095
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
3038
3096
|
const hoveredRoom = store.writable(undefined);
|
|
3039
3097
|
|
|
@@ -3044,8 +3102,10 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
3044
3102
|
if ('roomLabelsEnable' in $$props) $$invalidate(3, roomLabelsEnable = $$props.roomLabelsEnable);
|
|
3045
3103
|
if ('ruleLabelsEnable' in $$props) $$invalidate(4, ruleLabelsEnable = $$props.ruleLabelsEnable);
|
|
3046
3104
|
if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
|
|
3047
|
-
if ('
|
|
3048
|
-
if ('
|
|
3105
|
+
if ('getRoomAreaText' in $$props) $$invalidate(6, getRoomAreaText = $$props.getRoomAreaText);
|
|
3106
|
+
if ('getLabelElement' in $$props) $$invalidate(7, getLabelElement = $$props.getLabelElement);
|
|
3107
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(8, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
3108
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(9, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
3049
3109
|
};
|
|
3050
3110
|
|
|
3051
3111
|
return [
|
|
@@ -3055,7 +3115,9 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
3055
3115
|
roomLabelsEnable,
|
|
3056
3116
|
ruleLabelsEnable,
|
|
3057
3117
|
floorplanData,
|
|
3118
|
+
getRoomAreaText,
|
|
3058
3119
|
getLabelElement,
|
|
3120
|
+
getRuleDistanceText,
|
|
3059
3121
|
adaptiveRoomLabelVisibleEnable,
|
|
3060
3122
|
hoveredRoom
|
|
3061
3123
|
];
|
|
@@ -3078,15 +3140,17 @@ class CurrentFloor extends internal.SvelteComponent {
|
|
|
3078
3140
|
roomLabelsEnable: 3,
|
|
3079
3141
|
ruleLabelsEnable: 4,
|
|
3080
3142
|
floorplanData: 5,
|
|
3081
|
-
|
|
3082
|
-
|
|
3143
|
+
getRoomAreaText: 6,
|
|
3144
|
+
getLabelElement: 7,
|
|
3145
|
+
getRuleDistanceText: 8,
|
|
3146
|
+
adaptiveRoomLabelVisibleEnable: 9
|
|
3083
3147
|
},
|
|
3084
3148
|
add_css$1
|
|
3085
3149
|
);
|
|
3086
3150
|
}
|
|
3087
3151
|
}
|
|
3088
3152
|
|
|
3089
|
-
/* src/floorplan/Components/Main.svelte generated by Svelte v3.
|
|
3153
|
+
/* src/floorplan/Components/Main.svelte generated by Svelte v3.50.1 */
|
|
3090
3154
|
|
|
3091
3155
|
function add_css(target) {
|
|
3092
3156
|
internal.append_styles(target, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
|
|
@@ -3094,11 +3158,11 @@ function add_css(target) {
|
|
|
3094
3158
|
|
|
3095
3159
|
function get_each_context(ctx, list, i) {
|
|
3096
3160
|
const child_ctx = ctx.slice();
|
|
3097
|
-
child_ctx[
|
|
3161
|
+
child_ctx[16] = list[i];
|
|
3098
3162
|
return child_ctx;
|
|
3099
3163
|
}
|
|
3100
3164
|
|
|
3101
|
-
// (
|
|
3165
|
+
// (24:0) {#if visible}
|
|
3102
3166
|
function create_if_block(ctx) {
|
|
3103
3167
|
let div;
|
|
3104
3168
|
let t0;
|
|
@@ -3165,7 +3229,7 @@ function create_if_block(ctx) {
|
|
|
3165
3229
|
p(new_ctx, dirty) {
|
|
3166
3230
|
ctx = new_ctx;
|
|
3167
3231
|
|
|
3168
|
-
if (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/
|
|
3232
|
+
if (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384) {
|
|
3169
3233
|
each_value = /*floorplanData*/ ctx[9].floorDatas;
|
|
3170
3234
|
let i;
|
|
3171
3235
|
|
|
@@ -3271,7 +3335,7 @@ function create_if_block(ctx) {
|
|
|
3271
3335
|
};
|
|
3272
3336
|
}
|
|
3273
3337
|
|
|
3274
|
-
// (
|
|
3338
|
+
// (26:4) {#each floorplanData.floorDatas as floorData}
|
|
3275
3339
|
function create_each_block(ctx) {
|
|
3276
3340
|
let currentfloor;
|
|
3277
3341
|
let current;
|
|
@@ -3280,16 +3344,18 @@ function create_each_block(ctx) {
|
|
|
3280
3344
|
{
|
|
3281
3345
|
hoverEnable: /*hoverEnable*/ ctx[5],
|
|
3282
3346
|
floorplanData: /*floorplanData*/ ctx[9],
|
|
3283
|
-
|
|
3347
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[12],
|
|
3348
|
+
getLabelElement: /*getLabelElement*/ ctx[13],
|
|
3349
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
|
|
3284
3350
|
roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
|
|
3285
3351
|
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
|
|
3286
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
3352
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
|
|
3287
3353
|
},
|
|
3288
3354
|
{
|
|
3289
|
-
floorIndex: /*floorData*/ ctx[
|
|
3355
|
+
floorIndex: /*floorData*/ ctx[16].floorIndex
|
|
3290
3356
|
},
|
|
3291
3357
|
{
|
|
3292
|
-
isCurrent: /*floorData*/ ctx[
|
|
3358
|
+
isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
|
|
3293
3359
|
}
|
|
3294
3360
|
];
|
|
3295
3361
|
|
|
@@ -3310,21 +3376,23 @@ function create_each_block(ctx) {
|
|
|
3310
3376
|
current = true;
|
|
3311
3377
|
},
|
|
3312
3378
|
p(ctx, dirty) {
|
|
3313
|
-
const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/
|
|
3379
|
+
const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384)
|
|
3314
3380
|
? internal.get_spread_update(currentfloor_spread_levels, [
|
|
3315
|
-
dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/
|
|
3381
|
+
dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 62368 && {
|
|
3316
3382
|
hoverEnable: /*hoverEnable*/ ctx[5],
|
|
3317
3383
|
floorplanData: /*floorplanData*/ ctx[9],
|
|
3318
|
-
|
|
3384
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[12],
|
|
3385
|
+
getLabelElement: /*getLabelElement*/ ctx[13],
|
|
3386
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
|
|
3319
3387
|
roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
|
|
3320
3388
|
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
|
|
3321
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
3389
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
|
|
3322
3390
|
},
|
|
3323
3391
|
dirty & /*floorplanData*/ 512 && {
|
|
3324
|
-
floorIndex: /*floorData*/ ctx[
|
|
3392
|
+
floorIndex: /*floorData*/ ctx[16].floorIndex
|
|
3325
3393
|
},
|
|
3326
3394
|
dirty & /*floorplanData, floorIndex*/ 528 && {
|
|
3327
|
-
isCurrent: /*floorData*/ ctx[
|
|
3395
|
+
isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
|
|
3328
3396
|
}
|
|
3329
3397
|
])
|
|
3330
3398
|
: {};
|
|
@@ -3346,7 +3414,7 @@ function create_each_block(ctx) {
|
|
|
3346
3414
|
};
|
|
3347
3415
|
}
|
|
3348
3416
|
|
|
3349
|
-
// (
|
|
3417
|
+
// (43:4) {#if compassEnable}
|
|
3350
3418
|
function create_if_block_1(ctx) {
|
|
3351
3419
|
let compass;
|
|
3352
3420
|
let current;
|
|
@@ -3455,7 +3523,9 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
3455
3523
|
let { floorplanData } = $$props;
|
|
3456
3524
|
let { lastPanoramaLongitude } = $$props;
|
|
3457
3525
|
let { cameraImageUrl } = $$props;
|
|
3526
|
+
let { getRoomAreaText } = $$props;
|
|
3458
3527
|
let { getLabelElement } = $$props;
|
|
3528
|
+
let { getRuleDistanceText } = $$props;
|
|
3459
3529
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
3460
3530
|
|
|
3461
3531
|
$$self.$$set = $$props => {
|
|
@@ -3471,8 +3541,10 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
3471
3541
|
if ('floorplanData' in $$props) $$invalidate(9, floorplanData = $$props.floorplanData);
|
|
3472
3542
|
if ('lastPanoramaLongitude' in $$props) $$invalidate(10, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
|
|
3473
3543
|
if ('cameraImageUrl' in $$props) $$invalidate(11, cameraImageUrl = $$props.cameraImageUrl);
|
|
3474
|
-
if ('
|
|
3475
|
-
if ('
|
|
3544
|
+
if ('getRoomAreaText' in $$props) $$invalidate(12, getRoomAreaText = $$props.getRoomAreaText);
|
|
3545
|
+
if ('getLabelElement' in $$props) $$invalidate(13, getLabelElement = $$props.getLabelElement);
|
|
3546
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(14, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
3547
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(15, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
3476
3548
|
};
|
|
3477
3549
|
|
|
3478
3550
|
return [
|
|
@@ -3488,7 +3560,9 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
3488
3560
|
floorplanData,
|
|
3489
3561
|
lastPanoramaLongitude,
|
|
3490
3562
|
cameraImageUrl,
|
|
3563
|
+
getRoomAreaText,
|
|
3491
3564
|
getLabelElement,
|
|
3565
|
+
getRuleDistanceText,
|
|
3492
3566
|
adaptiveRoomLabelVisibleEnable
|
|
3493
3567
|
];
|
|
3494
3568
|
}
|
|
@@ -3516,8 +3590,10 @@ class Main extends internal.SvelteComponent {
|
|
|
3516
3590
|
floorplanData: 9,
|
|
3517
3591
|
lastPanoramaLongitude: 10,
|
|
3518
3592
|
cameraImageUrl: 11,
|
|
3519
|
-
|
|
3520
|
-
|
|
3593
|
+
getRoomAreaText: 12,
|
|
3594
|
+
getLabelElement: 13,
|
|
3595
|
+
getRuleDistanceText: 14,
|
|
3596
|
+
adaptiveRoomLabelVisibleEnable: 15
|
|
3521
3597
|
},
|
|
3522
3598
|
add_css
|
|
3523
3599
|
);
|