@realsee/dnalogel 2.0.1 → 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 +233 -157
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- 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 +240 -163
- package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- 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/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 +233 -157
- package/dist/index.es.js +303 -194
- package/dist/index.js +303 -194
- package/dist/index.umd.js +303 -194
- 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/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/floorplan/Components/CurrentFloor.js +32 -20
- package/libs/floorplan/Components/Main.js +31 -19
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +24 -13
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +40 -34
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +46 -28
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +61 -43
- 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/package.json +2 -1
|
@@ -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
|
);
|
|
@@ -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
|
);
|
|
@@ -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
|
);
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
insert,
|
|
13
13
|
noop,
|
|
14
14
|
safe_not_equal,
|
|
15
|
+
set_data,
|
|
15
16
|
set_style,
|
|
16
17
|
space,
|
|
17
18
|
text,
|
|
@@ -25,18 +26,18 @@ function add_css(target) {
|
|
|
25
26
|
|
|
26
27
|
function get_each_context(ctx, list, i) {
|
|
27
28
|
const child_ctx = ctx.slice();
|
|
28
|
-
child_ctx[
|
|
29
|
-
child_ctx[
|
|
29
|
+
child_ctx[11] = list[i];
|
|
30
|
+
child_ctx[13] = i;
|
|
30
31
|
return child_ctx;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
function get_each_context_1(ctx, list, i) {
|
|
34
35
|
const child_ctx = ctx.slice();
|
|
35
|
-
child_ctx[
|
|
36
|
+
child_ctx[14] = list[i];
|
|
36
37
|
return child_ctx;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
// (
|
|
40
|
+
// (48:4) {#each rulerLabels as rulerLabel}
|
|
40
41
|
function create_each_block_1(ctx) {
|
|
41
42
|
let div;
|
|
42
43
|
|
|
@@ -44,8 +45,8 @@ function create_each_block_1(ctx) {
|
|
|
44
45
|
c() {
|
|
45
46
|
div = element("div");
|
|
46
47
|
attr(div, "class", "floorplan-plugin__rule-scale svelte-xt7p1v");
|
|
47
|
-
set_style(div, "left", /*rulerLabel*/ ctx[
|
|
48
|
-
set_style(div, "bottom", /*rulerLabel*/ ctx[
|
|
48
|
+
set_style(div, "left", /*rulerLabel*/ ctx[14].left * 100 + '%', false);
|
|
49
|
+
set_style(div, "bottom", /*rulerLabel*/ ctx[14].bottom * 100 + '%', false);
|
|
49
50
|
},
|
|
50
51
|
m(target, anchor) {
|
|
51
52
|
insert(target, div, anchor);
|
|
@@ -57,11 +58,11 @@ function create_each_block_1(ctx) {
|
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
|
|
60
|
-
// (
|
|
61
|
+
// (57:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
|
|
61
62
|
function create_each_block(key_1, ctx) {
|
|
62
63
|
let div1;
|
|
63
64
|
let div0;
|
|
64
|
-
let t0_value = /*textItem*/ ctx[
|
|
65
|
+
let t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "";
|
|
65
66
|
let t0;
|
|
66
67
|
let t1;
|
|
67
68
|
|
|
@@ -74,10 +75,10 @@ function create_each_block(key_1, ctx) {
|
|
|
74
75
|
t0 = text(t0_value);
|
|
75
76
|
t1 = space();
|
|
76
77
|
attr(div0, "class", "floorplan-plugin__rule-text svelte-xt7p1v");
|
|
77
|
-
toggle_class(div0, "is-row", /*isRow*/ ctx[
|
|
78
|
+
toggle_class(div0, "is-row", /*isRow*/ ctx[2]);
|
|
78
79
|
attr(div1, "class", "floorplan-plugin__rule-text-item svelte-xt7p1v");
|
|
79
|
-
set_style(div1, "left", /*textItem*/ ctx[
|
|
80
|
-
set_style(div1, "bottom", /*textItem*/ ctx[
|
|
80
|
+
set_style(div1, "left", /*textItem*/ ctx[11].left * 100 + '%', false);
|
|
81
|
+
set_style(div1, "bottom", /*textItem*/ ctx[11].bottom * 100 + '%', false);
|
|
81
82
|
this.first = div1;
|
|
82
83
|
},
|
|
83
84
|
m(target, anchor) {
|
|
@@ -88,6 +89,7 @@ function create_each_block(key_1, ctx) {
|
|
|
88
89
|
},
|
|
89
90
|
p(new_ctx, dirty) {
|
|
90
91
|
ctx = new_ctx;
|
|
92
|
+
if (dirty & /*getRuleDistanceText*/ 2 && t0_value !== (t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "")) set_data(t0, t0_value);
|
|
91
93
|
},
|
|
92
94
|
d(detaching) {
|
|
93
95
|
if (detaching) detach(div1);
|
|
@@ -105,15 +107,15 @@ function create_fragment(ctx) {
|
|
|
105
107
|
let each_blocks = [];
|
|
106
108
|
let each1_lookup = new Map();
|
|
107
109
|
let div3_class_value;
|
|
108
|
-
let each_value_1 = /*rulerLabels*/ ctx[
|
|
110
|
+
let each_value_1 = /*rulerLabels*/ ctx[3];
|
|
109
111
|
let each_blocks_1 = [];
|
|
110
112
|
|
|
111
113
|
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
112
114
|
each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
|
|
113
115
|
}
|
|
114
116
|
|
|
115
|
-
let each_value = /*rulerTexts*/ ctx[
|
|
116
|
-
const get_key = ctx => /*textItemIndex*/ ctx[
|
|
117
|
+
let each_value = /*rulerTexts*/ ctx[4];
|
|
118
|
+
const get_key = ctx => /*textItemIndex*/ ctx[13];
|
|
117
119
|
|
|
118
120
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
119
121
|
let child_ctx = get_each_context(ctx, each_value, i);
|
|
@@ -141,12 +143,12 @@ function create_fragment(ctx) {
|
|
|
141
143
|
|
|
142
144
|
attr(div0, "class", "floorplan-plugin__rule-line svelte-xt7p1v");
|
|
143
145
|
attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-xt7p1v");
|
|
144
|
-
toggle_class(div1, "is-row", /*isRow*/ ctx[
|
|
146
|
+
toggle_class(div1, "is-row", /*isRow*/ ctx[2]);
|
|
145
147
|
attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-xt7p1v");
|
|
146
148
|
attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-xt7p1v");
|
|
147
|
-
toggle_class(div3, "is-row", /*isRow*/ ctx[
|
|
148
|
-
set_style(div3, "width", /*isRow*/ ctx[
|
|
149
|
-
set_style(div3, "height", !/*isRow*/ ctx[
|
|
149
|
+
toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
|
|
150
|
+
set_style(div3, "width", /*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
|
|
151
|
+
set_style(div3, "height", !/*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
|
|
150
152
|
},
|
|
151
153
|
m(target, anchor) {
|
|
152
154
|
insert(target, div3, anchor);
|
|
@@ -166,8 +168,8 @@ function create_fragment(ctx) {
|
|
|
166
168
|
}
|
|
167
169
|
},
|
|
168
170
|
p(ctx, [dirty]) {
|
|
169
|
-
if (dirty & /*rulerLabels*/
|
|
170
|
-
each_value_1 = /*rulerLabels*/ ctx[
|
|
171
|
+
if (dirty & /*rulerLabels*/ 8) {
|
|
172
|
+
each_value_1 = /*rulerLabels*/ ctx[3];
|
|
171
173
|
let i;
|
|
172
174
|
|
|
173
175
|
for (i = 0; i < each_value_1.length; i += 1) {
|
|
@@ -189,8 +191,8 @@ function create_fragment(ctx) {
|
|
|
189
191
|
each_blocks_1.length = each_value_1.length;
|
|
190
192
|
}
|
|
191
193
|
|
|
192
|
-
if (dirty & /*rulerTexts, isRow*/
|
|
193
|
-
each_value = /*rulerTexts*/ ctx[
|
|
194
|
+
if (dirty & /*rulerTexts, isRow, getRuleDistanceText*/ 22) {
|
|
195
|
+
each_value = /*rulerTexts*/ ctx[4];
|
|
194
196
|
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div2, destroy_block, create_each_block, null, get_each_context);
|
|
195
197
|
}
|
|
196
198
|
|
|
@@ -198,8 +200,8 @@ function create_fragment(ctx) {
|
|
|
198
200
|
attr(div3, "class", div3_class_value);
|
|
199
201
|
}
|
|
200
202
|
|
|
201
|
-
if (dirty & /*type, isRow*/
|
|
202
|
-
toggle_class(div3, "is-row", /*isRow*/ ctx[
|
|
203
|
+
if (dirty & /*type, isRow*/ 5) {
|
|
204
|
+
toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
|
|
203
205
|
}
|
|
204
206
|
},
|
|
205
207
|
i: noop,
|
|
@@ -222,6 +224,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
222
224
|
let { type } = $$props;
|
|
223
225
|
let { data } = $$props;
|
|
224
226
|
let { bounding } = $$props;
|
|
227
|
+
let { getRuleDistanceText } = $$props;
|
|
225
228
|
const isRow = type === 'top' || type === 'bottom';
|
|
226
229
|
const contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2;
|
|
227
230
|
const contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2;
|
|
@@ -267,17 +270,32 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
267
270
|
|
|
268
271
|
$$self.$$set = $$props => {
|
|
269
272
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
270
|
-
if ('data' in $$props) $$invalidate(
|
|
271
|
-
if ('bounding' in $$props) $$invalidate(
|
|
273
|
+
if ('data' in $$props) $$invalidate(5, data = $$props.data);
|
|
274
|
+
if ('bounding' in $$props) $$invalidate(6, bounding = $$props.bounding);
|
|
275
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(1, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
272
276
|
};
|
|
273
277
|
|
|
274
|
-
return [type, isRow, rulerLabels, rulerTexts, data, bounding];
|
|
278
|
+
return [type, getRuleDistanceText, isRow, rulerLabels, rulerTexts, data, bounding];
|
|
275
279
|
}
|
|
276
280
|
|
|
277
281
|
class Component extends SvelteComponent {
|
|
278
282
|
constructor(options) {
|
|
279
283
|
super();
|
|
280
|
-
|
|
284
|
+
|
|
285
|
+
init(
|
|
286
|
+
this,
|
|
287
|
+
options,
|
|
288
|
+
instance,
|
|
289
|
+
create_fragment,
|
|
290
|
+
safe_not_equal,
|
|
291
|
+
{
|
|
292
|
+
type: 0,
|
|
293
|
+
data: 5,
|
|
294
|
+
bounding: 6,
|
|
295
|
+
getRuleDistanceText: 1
|
|
296
|
+
},
|
|
297
|
+
add_css
|
|
298
|
+
);
|
|
281
299
|
}
|
|
282
300
|
}
|
|
283
301
|
|