@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* generated by Svelte v3.
|
|
1
|
+
/* generated by Svelte v3.50.1 */
|
|
2
2
|
import {
|
|
3
3
|
SvelteComponent,
|
|
4
4
|
append,
|
|
@@ -33,7 +33,7 @@ function add_css(target) {
|
|
|
33
33
|
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}");
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
// (
|
|
36
|
+
// (22:2) {#if hoverEnable}
|
|
37
37
|
function create_if_block_2(ctx) {
|
|
38
38
|
let roomhighlight;
|
|
39
39
|
let current;
|
|
@@ -42,7 +42,7 @@ function create_if_block_2(ctx) {
|
|
|
42
42
|
{
|
|
43
43
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
44
44
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
45
|
-
hoveredRoom: /*hoveredRoom*/ ctx[
|
|
45
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10]
|
|
46
46
|
}
|
|
47
47
|
];
|
|
48
48
|
|
|
@@ -63,12 +63,12 @@ function create_if_block_2(ctx) {
|
|
|
63
63
|
current = true;
|
|
64
64
|
},
|
|
65
65
|
p(ctx, dirty) {
|
|
66
|
-
const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/
|
|
66
|
+
const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 1058)
|
|
67
67
|
? get_spread_update(roomhighlight_spread_levels, [
|
|
68
68
|
{
|
|
69
69
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
70
70
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
71
|
-
hoveredRoom: /*hoveredRoom*/ ctx[
|
|
71
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10]
|
|
72
72
|
}
|
|
73
73
|
])
|
|
74
74
|
: {};
|
|
@@ -90,7 +90,7 @@ function create_if_block_2(ctx) {
|
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
// (
|
|
93
|
+
// (26:2) {#if roomLabelsEnable}
|
|
94
94
|
function create_if_block_1(ctx) {
|
|
95
95
|
let roomlabels;
|
|
96
96
|
let current;
|
|
@@ -99,9 +99,10 @@ function create_if_block_1(ctx) {
|
|
|
99
99
|
{
|
|
100
100
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
101
101
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[6],
|
|
103
|
+
getLabelElement: /*getLabelElement*/ ctx[7],
|
|
104
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10],
|
|
105
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
|
|
105
106
|
}
|
|
106
107
|
];
|
|
107
108
|
|
|
@@ -122,14 +123,15 @@ function create_if_block_1(ctx) {
|
|
|
122
123
|
current = true;
|
|
123
124
|
},
|
|
124
125
|
p(ctx, dirty) {
|
|
125
|
-
const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
126
|
+
const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getRoomAreaText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 1762)
|
|
126
127
|
? get_spread_update(roomlabels_spread_levels, [
|
|
127
128
|
{
|
|
128
129
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
129
130
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[6],
|
|
132
|
+
getLabelElement: /*getLabelElement*/ ctx[7],
|
|
133
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10],
|
|
134
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
|
|
133
135
|
}
|
|
134
136
|
])
|
|
135
137
|
: {};
|
|
@@ -151,7 +153,7 @@ function create_if_block_1(ctx) {
|
|
|
151
153
|
};
|
|
152
154
|
}
|
|
153
155
|
|
|
154
|
-
// (
|
|
156
|
+
// (38:2) {#if ruleLabelsEnable}
|
|
155
157
|
function create_if_block(ctx) {
|
|
156
158
|
let rulelabels;
|
|
157
159
|
let current;
|
|
@@ -159,7 +161,8 @@ function create_if_block(ctx) {
|
|
|
159
161
|
const rulelabels_spread_levels = [
|
|
160
162
|
{
|
|
161
163
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
162
|
-
floorIndex: /*floorIndex*/ ctx[1]
|
|
164
|
+
floorIndex: /*floorIndex*/ ctx[1],
|
|
165
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
|
|
163
166
|
}
|
|
164
167
|
];
|
|
165
168
|
|
|
@@ -180,11 +183,12 @@ function create_if_block(ctx) {
|
|
|
180
183
|
current = true;
|
|
181
184
|
},
|
|
182
185
|
p(ctx, dirty) {
|
|
183
|
-
const rulelabels_changes = (dirty & /*floorplanData, floorIndex*/
|
|
186
|
+
const rulelabels_changes = (dirty & /*floorplanData, floorIndex, getRuleDistanceText*/ 290)
|
|
184
187
|
? get_spread_update(rulelabels_spread_levels, [
|
|
185
188
|
{
|
|
186
189
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
187
|
-
floorIndex: /*floorIndex*/ ctx[1]
|
|
190
|
+
floorIndex: /*floorIndex*/ ctx[1],
|
|
191
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
|
|
188
192
|
}
|
|
189
193
|
])
|
|
190
194
|
: {};
|
|
@@ -413,7 +417,9 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
413
417
|
let { roomLabelsEnable } = $$props;
|
|
414
418
|
let { ruleLabelsEnable } = $$props;
|
|
415
419
|
let { floorplanData } = $$props;
|
|
420
|
+
let { getRoomAreaText } = $$props;
|
|
416
421
|
let { getLabelElement } = $$props;
|
|
422
|
+
let { getRuleDistanceText } = $$props;
|
|
417
423
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
418
424
|
const hoveredRoom = writable(undefined);
|
|
419
425
|
|
|
@@ -424,8 +430,10 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
424
430
|
if ('roomLabelsEnable' in $$props) $$invalidate(3, roomLabelsEnable = $$props.roomLabelsEnable);
|
|
425
431
|
if ('ruleLabelsEnable' in $$props) $$invalidate(4, ruleLabelsEnable = $$props.ruleLabelsEnable);
|
|
426
432
|
if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
|
|
427
|
-
if ('
|
|
428
|
-
if ('
|
|
433
|
+
if ('getRoomAreaText' in $$props) $$invalidate(6, getRoomAreaText = $$props.getRoomAreaText);
|
|
434
|
+
if ('getLabelElement' in $$props) $$invalidate(7, getLabelElement = $$props.getLabelElement);
|
|
435
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(8, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
436
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(9, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
429
437
|
};
|
|
430
438
|
|
|
431
439
|
return [
|
|
@@ -435,7 +443,9 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
435
443
|
roomLabelsEnable,
|
|
436
444
|
ruleLabelsEnable,
|
|
437
445
|
floorplanData,
|
|
446
|
+
getRoomAreaText,
|
|
438
447
|
getLabelElement,
|
|
448
|
+
getRuleDistanceText,
|
|
439
449
|
adaptiveRoomLabelVisibleEnable,
|
|
440
450
|
hoveredRoom
|
|
441
451
|
];
|
|
@@ -458,8 +468,10 @@ class Component extends SvelteComponent {
|
|
|
458
468
|
roomLabelsEnable: 3,
|
|
459
469
|
ruleLabelsEnable: 4,
|
|
460
470
|
floorplanData: 5,
|
|
461
|
-
|
|
462
|
-
|
|
471
|
+
getRoomAreaText: 6,
|
|
472
|
+
getLabelElement: 7,
|
|
473
|
+
getRuleDistanceText: 8,
|
|
474
|
+
adaptiveRoomLabelVisibleEnable: 9
|
|
463
475
|
},
|
|
464
476
|
add_css
|
|
465
477
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* generated by Svelte v3.
|
|
1
|
+
/* generated by Svelte v3.50.1 */
|
|
2
2
|
import {
|
|
3
3
|
SvelteComponent,
|
|
4
4
|
add_render_callback,
|
|
@@ -37,11 +37,11 @@ function add_css(target) {
|
|
|
37
37
|
|
|
38
38
|
function get_each_context(ctx, list, i) {
|
|
39
39
|
const child_ctx = ctx.slice();
|
|
40
|
-
child_ctx[
|
|
40
|
+
child_ctx[16] = list[i];
|
|
41
41
|
return child_ctx;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
// (
|
|
44
|
+
// (24:0) {#if visible}
|
|
45
45
|
function create_if_block(ctx) {
|
|
46
46
|
let div;
|
|
47
47
|
let t0;
|
|
@@ -108,7 +108,7 @@ function create_if_block(ctx) {
|
|
|
108
108
|
p(new_ctx, dirty) {
|
|
109
109
|
ctx = new_ctx;
|
|
110
110
|
|
|
111
|
-
if (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/
|
|
111
|
+
if (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384) {
|
|
112
112
|
each_value = /*floorplanData*/ ctx[9].floorDatas;
|
|
113
113
|
let i;
|
|
114
114
|
|
|
@@ -214,7 +214,7 @@ function create_if_block(ctx) {
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
// (
|
|
217
|
+
// (26:4) {#each floorplanData.floorDatas as floorData}
|
|
218
218
|
function create_each_block(ctx) {
|
|
219
219
|
let currentfloor;
|
|
220
220
|
let current;
|
|
@@ -223,16 +223,18 @@ function create_each_block(ctx) {
|
|
|
223
223
|
{
|
|
224
224
|
hoverEnable: /*hoverEnable*/ ctx[5],
|
|
225
225
|
floorplanData: /*floorplanData*/ ctx[9],
|
|
226
|
-
|
|
226
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[12],
|
|
227
|
+
getLabelElement: /*getLabelElement*/ ctx[13],
|
|
228
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
|
|
227
229
|
roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
|
|
228
230
|
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
|
|
229
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
231
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
|
|
230
232
|
},
|
|
231
233
|
{
|
|
232
|
-
floorIndex: /*floorData*/ ctx[
|
|
234
|
+
floorIndex: /*floorData*/ ctx[16].floorIndex
|
|
233
235
|
},
|
|
234
236
|
{
|
|
235
|
-
isCurrent: /*floorData*/ ctx[
|
|
237
|
+
isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
|
|
236
238
|
}
|
|
237
239
|
];
|
|
238
240
|
|
|
@@ -253,21 +255,23 @@ function create_each_block(ctx) {
|
|
|
253
255
|
current = true;
|
|
254
256
|
},
|
|
255
257
|
p(ctx, dirty) {
|
|
256
|
-
const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/
|
|
258
|
+
const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384)
|
|
257
259
|
? get_spread_update(currentfloor_spread_levels, [
|
|
258
|
-
dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/
|
|
260
|
+
dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 62368 && {
|
|
259
261
|
hoverEnable: /*hoverEnable*/ ctx[5],
|
|
260
262
|
floorplanData: /*floorplanData*/ ctx[9],
|
|
261
|
-
|
|
263
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[12],
|
|
264
|
+
getLabelElement: /*getLabelElement*/ ctx[13],
|
|
265
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
|
|
262
266
|
roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
|
|
263
267
|
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
|
|
264
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
268
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
|
|
265
269
|
},
|
|
266
270
|
dirty & /*floorplanData*/ 512 && {
|
|
267
|
-
floorIndex: /*floorData*/ ctx[
|
|
271
|
+
floorIndex: /*floorData*/ ctx[16].floorIndex
|
|
268
272
|
},
|
|
269
273
|
dirty & /*floorplanData, floorIndex*/ 528 && {
|
|
270
|
-
isCurrent: /*floorData*/ ctx[
|
|
274
|
+
isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
|
|
271
275
|
}
|
|
272
276
|
])
|
|
273
277
|
: {};
|
|
@@ -289,7 +293,7 @@ function create_each_block(ctx) {
|
|
|
289
293
|
};
|
|
290
294
|
}
|
|
291
295
|
|
|
292
|
-
// (
|
|
296
|
+
// (43:4) {#if compassEnable}
|
|
293
297
|
function create_if_block_1(ctx) {
|
|
294
298
|
let compass;
|
|
295
299
|
let current;
|
|
@@ -398,7 +402,9 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
398
402
|
let { floorplanData } = $$props;
|
|
399
403
|
let { lastPanoramaLongitude } = $$props;
|
|
400
404
|
let { cameraImageUrl } = $$props;
|
|
405
|
+
let { getRoomAreaText } = $$props;
|
|
401
406
|
let { getLabelElement } = $$props;
|
|
407
|
+
let { getRuleDistanceText } = $$props;
|
|
402
408
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
403
409
|
|
|
404
410
|
$$self.$$set = $$props => {
|
|
@@ -414,8 +420,10 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
414
420
|
if ('floorplanData' in $$props) $$invalidate(9, floorplanData = $$props.floorplanData);
|
|
415
421
|
if ('lastPanoramaLongitude' in $$props) $$invalidate(10, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
|
|
416
422
|
if ('cameraImageUrl' in $$props) $$invalidate(11, cameraImageUrl = $$props.cameraImageUrl);
|
|
417
|
-
if ('
|
|
418
|
-
if ('
|
|
423
|
+
if ('getRoomAreaText' in $$props) $$invalidate(12, getRoomAreaText = $$props.getRoomAreaText);
|
|
424
|
+
if ('getLabelElement' in $$props) $$invalidate(13, getLabelElement = $$props.getLabelElement);
|
|
425
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(14, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
426
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(15, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
419
427
|
};
|
|
420
428
|
|
|
421
429
|
return [
|
|
@@ -431,7 +439,9 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
431
439
|
floorplanData,
|
|
432
440
|
lastPanoramaLongitude,
|
|
433
441
|
cameraImageUrl,
|
|
442
|
+
getRoomAreaText,
|
|
434
443
|
getLabelElement,
|
|
444
|
+
getRuleDistanceText,
|
|
435
445
|
adaptiveRoomLabelVisibleEnable
|
|
436
446
|
];
|
|
437
447
|
}
|
|
@@ -459,8 +469,10 @@ class Component extends SvelteComponent {
|
|
|
459
469
|
floorplanData: 9,
|
|
460
470
|
lastPanoramaLongitude: 10,
|
|
461
471
|
cameraImageUrl: 11,
|
|
462
|
-
|
|
463
|
-
|
|
472
|
+
getRoomAreaText: 12,
|
|
473
|
+
getLabelElement: 13,
|
|
474
|
+
getRuleDistanceText: 14,
|
|
475
|
+
adaptiveRoomLabelVisibleEnable: 15
|
|
464
476
|
},
|
|
465
477
|
add_css
|
|
466
478
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* generated by Svelte v3.
|
|
1
|
+
/* generated by Svelte v3.50.1 */
|
|
2
2
|
import {
|
|
3
3
|
HtmlTag,
|
|
4
4
|
SvelteComponent,
|
|
@@ -25,7 +25,7 @@ function add_css(target) {
|
|
|
25
25
|
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}");
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
// (
|
|
28
|
+
// (96:30)
|
|
29
29
|
function create_if_block_1(ctx) {
|
|
30
30
|
let html_tag;
|
|
31
31
|
let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
|
|
@@ -51,13 +51,14 @@ function create_if_block_1(ctx) {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
// (
|
|
54
|
+
// (90:2) {#if getLabelElement === undefined}
|
|
55
55
|
function create_if_block(ctx) {
|
|
56
56
|
let span0;
|
|
57
57
|
let t0_value = /*room*/ ctx[0].name + "";
|
|
58
58
|
let t0;
|
|
59
59
|
let t1;
|
|
60
60
|
let span1;
|
|
61
|
+
let t2;
|
|
61
62
|
|
|
62
63
|
return {
|
|
63
64
|
c() {
|
|
@@ -65,7 +66,7 @@ function create_if_block(ctx) {
|
|
|
65
66
|
t0 = text(t0_value);
|
|
66
67
|
t1 = space();
|
|
67
68
|
span1 = element("span");
|
|
68
|
-
|
|
69
|
+
t2 = text(/*roomSizeDes*/ ctx[5]);
|
|
69
70
|
attr(span0, "class", "floorplan-plugin__room-name");
|
|
70
71
|
attr(span1, "class", "floorplan-plugin__room-size svelte-12pzct5");
|
|
71
72
|
},
|
|
@@ -74,9 +75,11 @@ function create_if_block(ctx) {
|
|
|
74
75
|
append(span0, t0);
|
|
75
76
|
insert(target, t1, anchor);
|
|
76
77
|
insert(target, span1, anchor);
|
|
78
|
+
append(span1, t2);
|
|
77
79
|
},
|
|
78
80
|
p(ctx, dirty) {
|
|
79
81
|
if (dirty & /*room*/ 1 && t0_value !== (t0_value = /*room*/ ctx[0].name + "")) set_data(t0, t0_value);
|
|
82
|
+
if (dirty & /*roomSizeDes*/ 32) set_data(t2, /*roomSizeDes*/ ctx[5]);
|
|
80
83
|
},
|
|
81
84
|
d(detaching) {
|
|
82
85
|
if (detaching) detach(span0);
|
|
@@ -110,7 +113,7 @@ function create_fragment(ctx) {
|
|
|
110
113
|
m(target, anchor) {
|
|
111
114
|
insert(target, div, anchor);
|
|
112
115
|
if (if_block) if_block.m(div, null);
|
|
113
|
-
/*div_binding*/ ctx[
|
|
116
|
+
/*div_binding*/ ctx[16](div);
|
|
114
117
|
},
|
|
115
118
|
p(ctx, [dirty]) {
|
|
116
119
|
if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
|
|
@@ -138,7 +141,7 @@ function create_fragment(ctx) {
|
|
|
138
141
|
if_block.d();
|
|
139
142
|
}
|
|
140
143
|
|
|
141
|
-
/*div_binding*/ ctx[
|
|
144
|
+
/*div_binding*/ ctx[16](null);
|
|
142
145
|
}
|
|
143
146
|
};
|
|
144
147
|
}
|
|
@@ -161,12 +164,14 @@ function isPointInPolygon(point, polygon) {
|
|
|
161
164
|
}
|
|
162
165
|
|
|
163
166
|
function instance($$self, $$props, $$invalidate) {
|
|
167
|
+
let roomSizeDes;
|
|
164
168
|
let isLabelInRoom;
|
|
165
169
|
let userConfigElement;
|
|
166
170
|
let labelVisible;
|
|
167
171
|
let { pxmm } = $$props;
|
|
168
172
|
let { room } = $$props;
|
|
169
173
|
let { hoveredRoom } = $$props;
|
|
174
|
+
let { getRoomAreaText } = $$props;
|
|
170
175
|
let { getLabelElement } = $$props;
|
|
171
176
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
172
177
|
|
|
@@ -206,7 +211,6 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
206
211
|
const bodyWidth = document.body.clientWidth;
|
|
207
212
|
|
|
208
213
|
const bodyHeight = document.body.clientHeight;
|
|
209
|
-
const roomSizeDes = room.size ? (room.size / 1000000).toFixed(1) + '㎡' : '';
|
|
210
214
|
|
|
211
215
|
// ====================================
|
|
212
216
|
const roomLabel = room.roomLabel;
|
|
@@ -222,7 +226,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
222
226
|
let labelElementSize;
|
|
223
227
|
|
|
224
228
|
hoveredRoom.subscribe(function onHoverdRoomUpdate(_room) {
|
|
225
|
-
$$invalidate(
|
|
229
|
+
$$invalidate(13, isHoverd = !!_room && _room.id === room.id);
|
|
226
230
|
});
|
|
227
231
|
|
|
228
232
|
onMount(() => {
|
|
@@ -232,7 +236,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
232
236
|
? void 0
|
|
233
237
|
: labelElement.getClientRects()[0];
|
|
234
238
|
|
|
235
|
-
$$invalidate(
|
|
239
|
+
$$invalidate(14, labelElementSize = {
|
|
236
240
|
width: labelDomRect.width,
|
|
237
241
|
height: labelDomRect.height
|
|
238
242
|
});
|
|
@@ -249,13 +253,18 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
249
253
|
if ('pxmm' in $$props) $$invalidate(9, pxmm = $$props.pxmm);
|
|
250
254
|
if ('room' in $$props) $$invalidate(0, room = $$props.room);
|
|
251
255
|
if ('hoveredRoom' in $$props) $$invalidate(10, hoveredRoom = $$props.hoveredRoom);
|
|
256
|
+
if ('getRoomAreaText' in $$props) $$invalidate(11, getRoomAreaText = $$props.getRoomAreaText);
|
|
252
257
|
if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
|
|
253
|
-
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(
|
|
258
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(12, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
254
259
|
};
|
|
255
260
|
|
|
256
261
|
$$self.$$.update = () => {
|
|
257
|
-
if ($$self.$$.dirty & /*
|
|
258
|
-
$: $$invalidate(
|
|
262
|
+
if ($$self.$$.dirty & /*room, getRoomAreaText*/ 2049) {
|
|
263
|
+
$: $$invalidate(5, roomSizeDes = room.size ? getRoomAreaText(room.size) : '');
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
if ($$self.$$.dirty & /*labelElementSize, room*/ 16385) {
|
|
267
|
+
$: $$invalidate(15, isLabelInRoom = labelElementSize
|
|
259
268
|
? isLabelInRoomCurry(room, labelElementSize)
|
|
260
269
|
: undefined);
|
|
261
270
|
}
|
|
@@ -266,7 +275,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
266
275
|
: getLabelElement(room));
|
|
267
276
|
}
|
|
268
277
|
|
|
269
|
-
if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/
|
|
278
|
+
if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 45568) {
|
|
270
279
|
$: $$invalidate(3, labelVisible = adaptiveRoomLabelVisibleEnable
|
|
271
280
|
? isHoverd
|
|
272
281
|
? true
|
|
@@ -289,6 +298,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
289
298
|
fontSize,
|
|
290
299
|
pxmm,
|
|
291
300
|
hoveredRoom,
|
|
301
|
+
getRoomAreaText,
|
|
292
302
|
adaptiveRoomLabelVisibleEnable,
|
|
293
303
|
isHoverd,
|
|
294
304
|
labelElementSize,
|
|
@@ -311,8 +321,9 @@ class Component extends SvelteComponent {
|
|
|
311
321
|
pxmm: 9,
|
|
312
322
|
room: 0,
|
|
313
323
|
hoveredRoom: 10,
|
|
324
|
+
getRoomAreaText: 11,
|
|
314
325
|
getLabelElement: 1,
|
|
315
|
-
adaptiveRoomLabelVisibleEnable:
|
|
326
|
+
adaptiveRoomLabelVisibleEnable: 12
|
|
316
327
|
},
|
|
317
328
|
add_css
|
|
318
329
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* generated by Svelte v3.
|
|
1
|
+
/* generated by Svelte v3.50.1 */
|
|
2
2
|
import {
|
|
3
3
|
SvelteComponent,
|
|
4
4
|
add_render_callback,
|
|
@@ -32,19 +32,19 @@ function add_css(target) {
|
|
|
32
32
|
|
|
33
33
|
function get_each_context(ctx, list, i) {
|
|
34
34
|
const child_ctx = ctx.slice();
|
|
35
|
-
child_ctx[
|
|
35
|
+
child_ctx[10] = list[i];
|
|
36
36
|
return child_ctx;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
// (
|
|
39
|
+
// (18:0) {#if rooms}
|
|
40
40
|
function create_if_block(ctx) {
|
|
41
41
|
let div;
|
|
42
42
|
let each_blocks = [];
|
|
43
43
|
let each_1_lookup = new Map();
|
|
44
44
|
let div_resize_listener;
|
|
45
45
|
let current;
|
|
46
|
-
let each_value = /*rooms*/ ctx[
|
|
47
|
-
const get_key = ctx => /*room*/ ctx[
|
|
46
|
+
let each_value = /*rooms*/ ctx[6];
|
|
47
|
+
const get_key = ctx => /*room*/ ctx[10].id;
|
|
48
48
|
|
|
49
49
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
50
50
|
let child_ctx = get_each_context(ctx, each_value, i);
|
|
@@ -61,7 +61,7 @@ function create_if_block(ctx) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
attr(div, "class", "floorplan-plugin__room-labels svelte-13xux0b");
|
|
64
|
-
add_render_callback(() => /*div_elementresize_handler*/ ctx[
|
|
64
|
+
add_render_callback(() => /*div_elementresize_handler*/ ctx[9].call(div));
|
|
65
65
|
},
|
|
66
66
|
m(target, anchor) {
|
|
67
67
|
insert(target, div, anchor);
|
|
@@ -70,12 +70,12 @@ function create_if_block(ctx) {
|
|
|
70
70
|
each_blocks[i].m(div, null);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
div_resize_listener = add_resize_listener(div, /*div_elementresize_handler*/ ctx[
|
|
73
|
+
div_resize_listener = add_resize_listener(div, /*div_elementresize_handler*/ ctx[9].bind(div));
|
|
74
74
|
current = true;
|
|
75
75
|
},
|
|
76
76
|
p(ctx, dirty) {
|
|
77
|
-
if (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
78
|
-
each_value = /*rooms*/ ctx[
|
|
77
|
+
if (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111) {
|
|
78
|
+
each_value = /*rooms*/ ctx[6];
|
|
79
79
|
group_outros();
|
|
80
80
|
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);
|
|
81
81
|
check_outros();
|
|
@@ -109,7 +109,7 @@ function create_if_block(ctx) {
|
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
// (
|
|
112
|
+
// (20:4) {#each rooms as room (room.id)}
|
|
113
113
|
function create_each_block(key_1, ctx) {
|
|
114
114
|
let first;
|
|
115
115
|
let roomlabel;
|
|
@@ -117,11 +117,12 @@ function create_each_block(key_1, ctx) {
|
|
|
117
117
|
|
|
118
118
|
const roomlabel_spread_levels = [
|
|
119
119
|
{
|
|
120
|
-
pxmm: /*pxmm*/ ctx[
|
|
121
|
-
room: /*room*/ ctx[
|
|
122
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
120
|
+
pxmm: /*pxmm*/ ctx[5],
|
|
121
|
+
room: /*room*/ ctx[10],
|
|
122
|
+
getLabelElement: /*getLabelElement*/ ctx[2],
|
|
123
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[1],
|
|
123
124
|
hoveredRoom: /*hoveredRoom*/ ctx[0],
|
|
124
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
125
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
|
|
125
126
|
}
|
|
126
127
|
];
|
|
127
128
|
|
|
@@ -149,14 +150,15 @@ function create_each_block(key_1, ctx) {
|
|
|
149
150
|
p(new_ctx, dirty) {
|
|
150
151
|
ctx = new_ctx;
|
|
151
152
|
|
|
152
|
-
const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
153
|
+
const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111)
|
|
153
154
|
? get_spread_update(roomlabel_spread_levels, [
|
|
154
155
|
{
|
|
155
|
-
pxmm: /*pxmm*/ ctx[
|
|
156
|
-
room: /*room*/ ctx[
|
|
157
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
156
|
+
pxmm: /*pxmm*/ ctx[5],
|
|
157
|
+
room: /*room*/ ctx[10],
|
|
158
|
+
getLabelElement: /*getLabelElement*/ ctx[2],
|
|
159
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[1],
|
|
158
160
|
hoveredRoom: /*hoveredRoom*/ ctx[0],
|
|
159
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
161
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
|
|
160
162
|
}
|
|
161
163
|
])
|
|
162
164
|
: {};
|
|
@@ -182,7 +184,7 @@ function create_each_block(key_1, ctx) {
|
|
|
182
184
|
function create_fragment(ctx) {
|
|
183
185
|
let if_block_anchor;
|
|
184
186
|
let current;
|
|
185
|
-
let if_block = /*rooms*/ ctx[
|
|
187
|
+
let if_block = /*rooms*/ ctx[6] && create_if_block(ctx);
|
|
186
188
|
|
|
187
189
|
return {
|
|
188
190
|
c() {
|
|
@@ -195,11 +197,11 @@ function create_fragment(ctx) {
|
|
|
195
197
|
current = true;
|
|
196
198
|
},
|
|
197
199
|
p(ctx, [dirty]) {
|
|
198
|
-
if (/*rooms*/ ctx[
|
|
200
|
+
if (/*rooms*/ ctx[6]) {
|
|
199
201
|
if (if_block) {
|
|
200
202
|
if_block.p(ctx, dirty);
|
|
201
203
|
|
|
202
|
-
if (dirty & /*rooms*/
|
|
204
|
+
if (dirty & /*rooms*/ 64) {
|
|
203
205
|
transition_in(if_block, 1);
|
|
204
206
|
}
|
|
205
207
|
} else {
|
|
@@ -239,6 +241,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
239
241
|
let { floorIndex } = $$props;
|
|
240
242
|
let { floorplanData } = $$props;
|
|
241
243
|
let { hoveredRoom } = $$props;
|
|
244
|
+
let { getRoomAreaText } = $$props;
|
|
242
245
|
let { getLabelElement } = $$props;
|
|
243
246
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
244
247
|
let clientWidth = 0;
|
|
@@ -246,33 +249,35 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
246
249
|
|
|
247
250
|
function div_elementresize_handler() {
|
|
248
251
|
clientWidth = this.clientWidth;
|
|
249
|
-
$$invalidate(
|
|
252
|
+
$$invalidate(4, clientWidth);
|
|
250
253
|
}
|
|
251
254
|
|
|
252
255
|
$$self.$$set = $$props => {
|
|
253
|
-
if ('floorIndex' in $$props) $$invalidate(
|
|
254
|
-
if ('floorplanData' in $$props) $$invalidate(
|
|
256
|
+
if ('floorIndex' in $$props) $$invalidate(7, floorIndex = $$props.floorIndex);
|
|
257
|
+
if ('floorplanData' in $$props) $$invalidate(8, floorplanData = $$props.floorplanData);
|
|
255
258
|
if ('hoveredRoom' in $$props) $$invalidate(0, hoveredRoom = $$props.hoveredRoom);
|
|
256
|
-
if ('
|
|
257
|
-
if ('
|
|
259
|
+
if ('getRoomAreaText' in $$props) $$invalidate(1, getRoomAreaText = $$props.getRoomAreaText);
|
|
260
|
+
if ('getLabelElement' in $$props) $$invalidate(2, getLabelElement = $$props.getLabelElement);
|
|
261
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(3, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
258
262
|
};
|
|
259
263
|
|
|
260
264
|
$$self.$$.update = () => {
|
|
261
|
-
if ($$self.$$.dirty & /*floorplanData, floorIndex*/
|
|
262
|
-
$: $$invalidate(
|
|
265
|
+
if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 384) {
|
|
266
|
+
$: $$invalidate(6, rooms = floorplanData.floorDatas[floorIndex].rooms);
|
|
263
267
|
}
|
|
264
268
|
|
|
265
|
-
if ($$self.$$.dirty & /*floorplanData, clientWidth*/
|
|
269
|
+
if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 272) {
|
|
266
270
|
$: {
|
|
267
271
|
const { max, min } = floorplanData.bounding;
|
|
268
272
|
const boundingWidth = max.x - min.x;
|
|
269
|
-
$$invalidate(
|
|
273
|
+
$$invalidate(5, pxmm = clientWidth / boundingWidth);
|
|
270
274
|
}
|
|
271
275
|
}
|
|
272
276
|
};
|
|
273
277
|
|
|
274
278
|
return [
|
|
275
279
|
hoveredRoom,
|
|
280
|
+
getRoomAreaText,
|
|
276
281
|
getLabelElement,
|
|
277
282
|
adaptiveRoomLabelVisibleEnable,
|
|
278
283
|
clientWidth,
|
|
@@ -295,11 +300,12 @@ class Component extends SvelteComponent {
|
|
|
295
300
|
create_fragment,
|
|
296
301
|
safe_not_equal,
|
|
297
302
|
{
|
|
298
|
-
floorIndex:
|
|
299
|
-
floorplanData:
|
|
303
|
+
floorIndex: 7,
|
|
304
|
+
floorplanData: 8,
|
|
300
305
|
hoveredRoom: 0,
|
|
301
|
-
|
|
302
|
-
|
|
306
|
+
getRoomAreaText: 1,
|
|
307
|
+
getLabelElement: 2,
|
|
308
|
+
adaptiveRoomLabelVisibleEnable: 3
|
|
303
309
|
},
|
|
304
310
|
add_css
|
|
305
311
|
);
|