@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
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@realsee/five/line'), require('svelte/internal'), require('svelte'), require('svelte/easing'), require('svelte/transition'), require('svelte/store'), require('@realsee/five'), require('three/examples/jsm/loaders/FBXLoader'), require('@tweenjs/tween.js'), require('hammerjs'), require('classnames')
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@realsee/five/line', 'svelte/internal', 'svelte', 'svelte/easing', 'svelte/transition', 'svelte/store', '@realsee/five', 'three/examples/jsm/loaders/FBXLoader', '@tweenjs/tween.js', 'hammerjs', 'classnames'
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.dnalogel = {}, global.THREE, global.CSS3DRenderer, global.FiveSDK_Line, global.internal, global.svelte, global.easing, global.transition, global.store, global.five, global.FBXLoader, global.TWEEN, global.Hammer, global.classNames
|
|
5
|
-
})(this, (function (exports, THREE, CSS3DRenderer, line, internal, svelte, easing, transition, store, five, FBXLoader, TWEEN, Hammer, classNames
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@realsee/five/line'), require('svelte/internal'), require('svelte'), require('svelte/easing'), require('svelte/transition'), require('svelte/store'), require('@realsee/five'), require('three/examples/jsm/loaders/FBXLoader'), require('@tweenjs/tween.js'), require('hammerjs'), require('classnames')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@realsee/five/line', 'svelte/internal', 'svelte', 'svelte/easing', 'svelte/transition', 'svelte/store', '@realsee/five', 'three/examples/jsm/loaders/FBXLoader', '@tweenjs/tween.js', 'hammerjs', 'classnames'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.dnalogel = {}, global.THREE, global.CSS3DRenderer, global.FiveSDK_Line, global.internal, global.svelte, global.easing, global.transition, global.store, global.five, global.FBXLoader, global.TWEEN, global.Hammer, global.classNames));
|
|
5
|
+
})(this, (function (exports, THREE, CSS3DRenderer, line, internal, svelte, easing, transition, store, five, FBXLoader, TWEEN, Hammer, classNames) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
var TWEEN__default = /*#__PURE__*/_interopDefaultLegacy(TWEEN);
|
|
30
30
|
var Hammer__default = /*#__PURE__*/_interopDefaultLegacy(Hammer);
|
|
31
31
|
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
32
|
-
var getNormals__default = /*#__PURE__*/_interopDefaultLegacy(getNormals);
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* Five 模型插件
|
|
@@ -478,7 +477,7 @@
|
|
|
478
477
|
|
|
479
478
|
const ROOM_LABEL_BG = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77h4eH+1KH3hP/yv7+vuBAsG+5UCIpCkMzDQ962Eu80Q1P/KmHT82v8IocZFL4pslDvL3fNARHoPI2wtbrV1jBIf9N8SEZ0UUP2wFHv2ocSc/2ouEz8PVooJXQ0/j10aNHoH2Idj4PHz4k1n29/k+5/u3ll1/+r7fffvtLzfGzd8ibjK6+9957f5ajf1XzH9y7d+8Xjf9FRs1SdvNBBg2SDQ1xh9ALH4yN0M2BNZrKwtFc9Fmkquuma5HJBzvLiIONBnx40B7QIzTdxCcNwj3dYlEoUmabAU+UFZDpxah22Ng2NjQXH0LrwccGwyEzXfWhWQwSYQHYuFevXj14/vnn37h79+7Nr7766gup/FX5PnAj33///f/46aef3vj444/vfPbZZz9IYGMcnDbkhEYQL001Hfsu775i+7j6LID6cDQWYo8mabGMxOr+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Edn2uKDEd9BM8tbzxe98IraJJM7CBP98JjHFmR+3vqxOXzmmWceaKU337CxGhqCTUVolIGMabAnhGgUb71iahI7fFf7FIFCb3j/18voiuemdd/Mu/+uE1sQWfeX3MBuyzx5B39P/fRcr4dcAT9p5bxl4zhIgNqgnlRkILKuf1654tIUCk2oLJYbQpr0ZqRrGt30C1tk4FnyQYccray31B3s9UQviG104IUGmZ8mH5v+3qF2w51nn332TzHCsI7KJzEVm6akEVuPhLWGhUeM0CAjvkHmxCM+uCYPD2R0f2Ilt7lB4tMGZ3i7qPqfe+65P6j3X1y5du3aZ3rSefrGjRsvkNxpI80AeTGC0NgGoakvuFYrtvDjD11okBF6m3yjdfze9eM7sbPQIC8sg8detlPdP7XCy8ASOh6IC534Qf126Au6Aq7S+0P9jOJ/f/jhh7dfeeWVN1C4c+cOv5zoxsQgKD7O/OgIT3OLgrrkLAMR9EuQYsXLlWO5ePNMJ25s7Fhv8EIraduDDOJI7kfh6FT98M6Ka/GrLbE0/131X79+/YVXX331+tNPP32b3nt1tGhXP/rooz/ruf9N/YzWQ/2e2c8Cfg7Wz8RC9WkeE8pj/rQltMRH/jXdsdreAEp04mg8u22zYhvZ9IPueLE4puMLfnjRKzKCbD4ZHv9oK/mwaPOlm/ukkbFwjKLj428j8t8DEEvN9xJoJuhsDI9lxOeHXr3zE8cGm7fpQMfNgR54ntXmYXzx1ltvbX64VUl4SH//66+/fl2/5ndLC/BHMV/Q6ypN06Bm3lgFaKMcEbj+bDHN88/curvewF4hjhNWasrwhy/0waIPjylyYjp49Ag++NhFhi7F+jeEFcc/H6w5TYbnxo2OoufXmNPcX+XWv4QLMo+taJkfeY4gvtRs/n8vzY/cssxB5CyKxi96/aB+/Y9+KfE/X3vttS8lI7e9/wfu514OAjYP0QAAAABJRU5ErkJggg==';
|
|
480
479
|
|
|
481
|
-
/* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.
|
|
480
|
+
/* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.50.1 */
|
|
482
481
|
|
|
483
482
|
function add_css$q(target) {
|
|
484
483
|
internal.append_styles(target, "svelte-877671", ".room-label-item.svelte-877671{position:absolute;font-size:0.41667rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-label-item__text.svelte-877671{position:absolute;left:0;top:-3.33333rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.04167rem;min-width:1.66667rem;padding:0 0.3125rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-877671{position:absolute;top:-2.29167rem;height:2.5rem;width:1px;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-877671{font-size:0.52083rem}");
|
|
@@ -578,7 +577,7 @@
|
|
|
578
577
|
}
|
|
579
578
|
}
|
|
580
579
|
|
|
581
|
-
/* src/ModelRoomLabelPlugin/RoomLabelItems.svelte generated by Svelte v3.
|
|
580
|
+
/* src/ModelRoomLabelPlugin/RoomLabelItems.svelte generated by Svelte v3.50.1 */
|
|
582
581
|
|
|
583
582
|
const { Map: Map_1 } = internal.globals;
|
|
584
583
|
|
|
@@ -1142,7 +1141,7 @@
|
|
|
1142
1141
|
return (rad * 180) / Math.PI;
|
|
1143
1142
|
}
|
|
1144
1143
|
|
|
1145
|
-
/* src/floorplan/Components/Camera.svelte generated by Svelte v3.
|
|
1144
|
+
/* src/floorplan/Components/Camera.svelte generated by Svelte v3.50.1 */
|
|
1146
1145
|
|
|
1147
1146
|
function add_css$o(target) {
|
|
1148
1147
|
internal.append_styles(target, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
|
|
@@ -1247,7 +1246,7 @@
|
|
|
1247
1246
|
|
|
1248
1247
|
const COMPASS_IMAGE = 'data:image/png;base64,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XW7N5pbs0YWhxgtpj0rl1uiaHFISzccSWohUCzOIemm0VKChwHOMutKCVwHOA4av/JVi0xtDiRpCRfRcvQ4lBfxSnG0OJc/+xTjKHFyVRMP38iDC0O92lZVRhanO+vcVWGFu9BRWkW7+Z3rapEizdy7ZVm8V5Gtr8AtSnix59eOmYAAAAASUVORK5CYII=';
|
|
1249
1248
|
|
|
1250
|
-
/* src/floorplan/Components/Compass.svelte generated by Svelte v3.
|
|
1249
|
+
/* src/floorplan/Components/Compass.svelte generated by Svelte v3.50.1 */
|
|
1251
1250
|
|
|
1252
1251
|
function add_css$n(target) {
|
|
1253
1252
|
internal.append_styles(target, "svelte-z9kwkx", ".floorplan-plugin__compass.svelte-z9kwkx{position:absolute;left:50%;top:-2.39583rem;width:12.03125rem;height:2.13542rem;will-change:opacity;transform-origin:center 9.58333rem}.floorplan-plugin__compass-image.svelte-z9kwkx{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-z9kwkx{position:absolute;left:50%;top:0.78125rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.52083rem;color:#fff}");
|
|
@@ -1347,7 +1346,7 @@
|
|
|
1347
1346
|
}
|
|
1348
1347
|
}
|
|
1349
1348
|
|
|
1350
|
-
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.
|
|
1349
|
+
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.50.1 */
|
|
1351
1350
|
|
|
1352
1351
|
function add_css$m(target) {
|
|
1353
1352
|
internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
@@ -1397,7 +1396,7 @@
|
|
|
1397
1396
|
}
|
|
1398
1397
|
}
|
|
1399
1398
|
|
|
1400
|
-
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.
|
|
1399
|
+
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.50.1 */
|
|
1401
1400
|
|
|
1402
1401
|
function add_css$l(target) {
|
|
1403
1402
|
internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
@@ -1464,7 +1463,7 @@
|
|
|
1464
1463
|
}
|
|
1465
1464
|
}
|
|
1466
1465
|
|
|
1467
|
-
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.
|
|
1466
|
+
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.50.1 */
|
|
1468
1467
|
|
|
1469
1468
|
function add_css$k(target) {
|
|
1470
1469
|
internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
@@ -1665,13 +1664,13 @@
|
|
|
1665
1664
|
}
|
|
1666
1665
|
}
|
|
1667
1666
|
|
|
1668
|
-
/* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.
|
|
1667
|
+
/* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.50.1 */
|
|
1669
1668
|
|
|
1670
1669
|
function add_css$j(target) {
|
|
1671
1670
|
internal.append_styles(target, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
|
|
1672
1671
|
}
|
|
1673
1672
|
|
|
1674
|
-
// (
|
|
1673
|
+
// (96:30)
|
|
1675
1674
|
function create_if_block_1$5(ctx) {
|
|
1676
1675
|
let html_tag;
|
|
1677
1676
|
let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
|
|
@@ -1697,13 +1696,14 @@
|
|
|
1697
1696
|
};
|
|
1698
1697
|
}
|
|
1699
1698
|
|
|
1700
|
-
// (
|
|
1699
|
+
// (90:2) {#if getLabelElement === undefined}
|
|
1701
1700
|
function create_if_block$9(ctx) {
|
|
1702
1701
|
let span0;
|
|
1703
1702
|
let t0_value = /*room*/ ctx[0].name + "";
|
|
1704
1703
|
let t0;
|
|
1705
1704
|
let t1;
|
|
1706
1705
|
let span1;
|
|
1706
|
+
let t2;
|
|
1707
1707
|
|
|
1708
1708
|
return {
|
|
1709
1709
|
c() {
|
|
@@ -1711,7 +1711,7 @@
|
|
|
1711
1711
|
t0 = internal.text(t0_value);
|
|
1712
1712
|
t1 = internal.space();
|
|
1713
1713
|
span1 = internal.element("span");
|
|
1714
|
-
|
|
1714
|
+
t2 = internal.text(/*roomSizeDes*/ ctx[5]);
|
|
1715
1715
|
internal.attr(span0, "class", "floorplan-plugin__room-name");
|
|
1716
1716
|
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-12pzct5");
|
|
1717
1717
|
},
|
|
@@ -1720,9 +1720,11 @@
|
|
|
1720
1720
|
internal.append(span0, t0);
|
|
1721
1721
|
internal.insert(target, t1, anchor);
|
|
1722
1722
|
internal.insert(target, span1, anchor);
|
|
1723
|
+
internal.append(span1, t2);
|
|
1723
1724
|
},
|
|
1724
1725
|
p(ctx, dirty) {
|
|
1725
1726
|
if (dirty & /*room*/ 1 && t0_value !== (t0_value = /*room*/ ctx[0].name + "")) internal.set_data(t0, t0_value);
|
|
1727
|
+
if (dirty & /*roomSizeDes*/ 32) internal.set_data(t2, /*roomSizeDes*/ ctx[5]);
|
|
1726
1728
|
},
|
|
1727
1729
|
d(detaching) {
|
|
1728
1730
|
if (detaching) internal.detach(span0);
|
|
@@ -1756,7 +1758,7 @@
|
|
|
1756
1758
|
m(target, anchor) {
|
|
1757
1759
|
internal.insert(target, div, anchor);
|
|
1758
1760
|
if (if_block) if_block.m(div, null);
|
|
1759
|
-
/*div_binding*/ ctx[
|
|
1761
|
+
/*div_binding*/ ctx[16](div);
|
|
1760
1762
|
},
|
|
1761
1763
|
p(ctx, [dirty]) {
|
|
1762
1764
|
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
@@ -1784,7 +1786,7 @@
|
|
|
1784
1786
|
if_block.d();
|
|
1785
1787
|
}
|
|
1786
1788
|
|
|
1787
|
-
/*div_binding*/ ctx[
|
|
1789
|
+
/*div_binding*/ ctx[16](null);
|
|
1788
1790
|
}
|
|
1789
1791
|
};
|
|
1790
1792
|
}
|
|
@@ -1807,12 +1809,14 @@
|
|
|
1807
1809
|
}
|
|
1808
1810
|
|
|
1809
1811
|
function instance$o($$self, $$props, $$invalidate) {
|
|
1812
|
+
let roomSizeDes;
|
|
1810
1813
|
let isLabelInRoom;
|
|
1811
1814
|
let userConfigElement;
|
|
1812
1815
|
let labelVisible;
|
|
1813
1816
|
let { pxmm } = $$props;
|
|
1814
1817
|
let { room } = $$props;
|
|
1815
1818
|
let { hoveredRoom } = $$props;
|
|
1819
|
+
let { getRoomAreaText } = $$props;
|
|
1816
1820
|
let { getLabelElement } = $$props;
|
|
1817
1821
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
1818
1822
|
|
|
@@ -1852,7 +1856,6 @@
|
|
|
1852
1856
|
const bodyWidth = document.body.clientWidth;
|
|
1853
1857
|
|
|
1854
1858
|
const bodyHeight = document.body.clientHeight;
|
|
1855
|
-
const roomSizeDes = room.size ? (room.size / 1000000).toFixed(1) + '㎡' : '';
|
|
1856
1859
|
|
|
1857
1860
|
// ====================================
|
|
1858
1861
|
const roomLabel = room.roomLabel;
|
|
@@ -1868,7 +1871,7 @@
|
|
|
1868
1871
|
let labelElementSize;
|
|
1869
1872
|
|
|
1870
1873
|
hoveredRoom.subscribe(function onHoverdRoomUpdate(_room) {
|
|
1871
|
-
$$invalidate(
|
|
1874
|
+
$$invalidate(13, isHoverd = !!_room && _room.id === room.id);
|
|
1872
1875
|
});
|
|
1873
1876
|
|
|
1874
1877
|
svelte.onMount(() => {
|
|
@@ -1878,7 +1881,7 @@
|
|
|
1878
1881
|
? void 0
|
|
1879
1882
|
: labelElement.getClientRects()[0];
|
|
1880
1883
|
|
|
1881
|
-
$$invalidate(
|
|
1884
|
+
$$invalidate(14, labelElementSize = {
|
|
1882
1885
|
width: labelDomRect.width,
|
|
1883
1886
|
height: labelDomRect.height
|
|
1884
1887
|
});
|
|
@@ -1895,13 +1898,18 @@
|
|
|
1895
1898
|
if ('pxmm' in $$props) $$invalidate(9, pxmm = $$props.pxmm);
|
|
1896
1899
|
if ('room' in $$props) $$invalidate(0, room = $$props.room);
|
|
1897
1900
|
if ('hoveredRoom' in $$props) $$invalidate(10, hoveredRoom = $$props.hoveredRoom);
|
|
1901
|
+
if ('getRoomAreaText' in $$props) $$invalidate(11, getRoomAreaText = $$props.getRoomAreaText);
|
|
1898
1902
|
if ('getLabelElement' in $$props) $$invalidate(1, getLabelElement = $$props.getLabelElement);
|
|
1899
|
-
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(
|
|
1903
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(12, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
1900
1904
|
};
|
|
1901
1905
|
|
|
1902
1906
|
$$self.$$.update = () => {
|
|
1903
|
-
if ($$self.$$.dirty & /*
|
|
1904
|
-
$$invalidate(
|
|
1907
|
+
if ($$self.$$.dirty & /*room, getRoomAreaText*/ 2049) {
|
|
1908
|
+
$$invalidate(5, roomSizeDes = room.size ? getRoomAreaText(room.size) : '');
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
if ($$self.$$.dirty & /*labelElementSize, room*/ 16385) {
|
|
1912
|
+
$$invalidate(15, isLabelInRoom = labelElementSize
|
|
1905
1913
|
? isLabelInRoomCurry(room, labelElementSize)
|
|
1906
1914
|
: undefined);
|
|
1907
1915
|
}
|
|
@@ -1912,7 +1920,7 @@
|
|
|
1912
1920
|
: getLabelElement(room));
|
|
1913
1921
|
}
|
|
1914
1922
|
|
|
1915
|
-
if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/
|
|
1923
|
+
if ($$self.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHoverd, isLabelInRoom, pxmm*/ 45568) {
|
|
1916
1924
|
$$invalidate(3, labelVisible = adaptiveRoomLabelVisibleEnable
|
|
1917
1925
|
? isHoverd
|
|
1918
1926
|
? true
|
|
@@ -1935,6 +1943,7 @@
|
|
|
1935
1943
|
fontSize,
|
|
1936
1944
|
pxmm,
|
|
1937
1945
|
hoveredRoom,
|
|
1946
|
+
getRoomAreaText,
|
|
1938
1947
|
adaptiveRoomLabelVisibleEnable,
|
|
1939
1948
|
isHoverd,
|
|
1940
1949
|
labelElementSize,
|
|
@@ -1957,15 +1966,16 @@
|
|
|
1957
1966
|
pxmm: 9,
|
|
1958
1967
|
room: 0,
|
|
1959
1968
|
hoveredRoom: 10,
|
|
1969
|
+
getRoomAreaText: 11,
|
|
1960
1970
|
getLabelElement: 1,
|
|
1961
|
-
adaptiveRoomLabelVisibleEnable:
|
|
1971
|
+
adaptiveRoomLabelVisibleEnable: 12
|
|
1962
1972
|
},
|
|
1963
1973
|
add_css$j
|
|
1964
1974
|
);
|
|
1965
1975
|
}
|
|
1966
1976
|
}
|
|
1967
1977
|
|
|
1968
|
-
/* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.
|
|
1978
|
+
/* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.50.1 */
|
|
1969
1979
|
|
|
1970
1980
|
function add_css$i(target) {
|
|
1971
1981
|
internal.append_styles(target, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
|
|
@@ -1973,19 +1983,19 @@
|
|
|
1973
1983
|
|
|
1974
1984
|
function get_each_context$b(ctx, list, i) {
|
|
1975
1985
|
const child_ctx = ctx.slice();
|
|
1976
|
-
child_ctx[
|
|
1986
|
+
child_ctx[10] = list[i];
|
|
1977
1987
|
return child_ctx;
|
|
1978
1988
|
}
|
|
1979
1989
|
|
|
1980
|
-
// (
|
|
1990
|
+
// (18:0) {#if rooms}
|
|
1981
1991
|
function create_if_block$8(ctx) {
|
|
1982
1992
|
let div;
|
|
1983
1993
|
let each_blocks = [];
|
|
1984
1994
|
let each_1_lookup = new Map();
|
|
1985
1995
|
let div_resize_listener;
|
|
1986
1996
|
let current;
|
|
1987
|
-
let each_value = /*rooms*/ ctx[
|
|
1988
|
-
const get_key = ctx => /*room*/ ctx[
|
|
1997
|
+
let each_value = /*rooms*/ ctx[6];
|
|
1998
|
+
const get_key = ctx => /*room*/ ctx[10].id;
|
|
1989
1999
|
|
|
1990
2000
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
1991
2001
|
let child_ctx = get_each_context$b(ctx, each_value, i);
|
|
@@ -2002,7 +2012,7 @@
|
|
|
2002
2012
|
}
|
|
2003
2013
|
|
|
2004
2014
|
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-13xux0b");
|
|
2005
|
-
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[
|
|
2015
|
+
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[9].call(div));
|
|
2006
2016
|
},
|
|
2007
2017
|
m(target, anchor) {
|
|
2008
2018
|
internal.insert(target, div, anchor);
|
|
@@ -2011,12 +2021,12 @@
|
|
|
2011
2021
|
each_blocks[i].m(div, null);
|
|
2012
2022
|
}
|
|
2013
2023
|
|
|
2014
|
-
div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[
|
|
2024
|
+
div_resize_listener = internal.add_resize_listener(div, /*div_elementresize_handler*/ ctx[9].bind(div));
|
|
2015
2025
|
current = true;
|
|
2016
2026
|
},
|
|
2017
2027
|
p(ctx, dirty) {
|
|
2018
|
-
if (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
2019
|
-
each_value = /*rooms*/ ctx[
|
|
2028
|
+
if (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111) {
|
|
2029
|
+
each_value = /*rooms*/ ctx[6];
|
|
2020
2030
|
internal.group_outros();
|
|
2021
2031
|
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, internal.outro_and_destroy_block, create_each_block$b, null, get_each_context$b);
|
|
2022
2032
|
internal.check_outros();
|
|
@@ -2050,7 +2060,7 @@
|
|
|
2050
2060
|
};
|
|
2051
2061
|
}
|
|
2052
2062
|
|
|
2053
|
-
// (
|
|
2063
|
+
// (20:4) {#each rooms as room (room.id)}
|
|
2054
2064
|
function create_each_block$b(key_1, ctx) {
|
|
2055
2065
|
let first;
|
|
2056
2066
|
let roomlabel;
|
|
@@ -2058,11 +2068,12 @@
|
|
|
2058
2068
|
|
|
2059
2069
|
const roomlabel_spread_levels = [
|
|
2060
2070
|
{
|
|
2061
|
-
pxmm: /*pxmm*/ ctx[
|
|
2062
|
-
room: /*room*/ ctx[
|
|
2063
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
2071
|
+
pxmm: /*pxmm*/ ctx[5],
|
|
2072
|
+
room: /*room*/ ctx[10],
|
|
2073
|
+
getLabelElement: /*getLabelElement*/ ctx[2],
|
|
2074
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[1],
|
|
2064
2075
|
hoveredRoom: /*hoveredRoom*/ ctx[0],
|
|
2065
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
2076
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
|
|
2066
2077
|
}
|
|
2067
2078
|
];
|
|
2068
2079
|
|
|
@@ -2090,14 +2101,15 @@
|
|
|
2090
2101
|
p(new_ctx, dirty) {
|
|
2091
2102
|
ctx = new_ctx;
|
|
2092
2103
|
|
|
2093
|
-
const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
2104
|
+
const roomlabel_changes = (dirty & /*pxmm, rooms, getLabelElement, getRoomAreaText, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 111)
|
|
2094
2105
|
? internal.get_spread_update(roomlabel_spread_levels, [
|
|
2095
2106
|
{
|
|
2096
|
-
pxmm: /*pxmm*/ ctx[
|
|
2097
|
-
room: /*room*/ ctx[
|
|
2098
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
2107
|
+
pxmm: /*pxmm*/ ctx[5],
|
|
2108
|
+
room: /*room*/ ctx[10],
|
|
2109
|
+
getLabelElement: /*getLabelElement*/ ctx[2],
|
|
2110
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[1],
|
|
2099
2111
|
hoveredRoom: /*hoveredRoom*/ ctx[0],
|
|
2100
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
2112
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[3]
|
|
2101
2113
|
}
|
|
2102
2114
|
])
|
|
2103
2115
|
: {};
|
|
@@ -2123,7 +2135,7 @@
|
|
|
2123
2135
|
function create_fragment$n(ctx) {
|
|
2124
2136
|
let if_block_anchor;
|
|
2125
2137
|
let current;
|
|
2126
|
-
let if_block = /*rooms*/ ctx[
|
|
2138
|
+
let if_block = /*rooms*/ ctx[6] && create_if_block$8(ctx);
|
|
2127
2139
|
|
|
2128
2140
|
return {
|
|
2129
2141
|
c() {
|
|
@@ -2136,11 +2148,11 @@
|
|
|
2136
2148
|
current = true;
|
|
2137
2149
|
},
|
|
2138
2150
|
p(ctx, [dirty]) {
|
|
2139
|
-
if (/*rooms*/ ctx[
|
|
2151
|
+
if (/*rooms*/ ctx[6]) {
|
|
2140
2152
|
if (if_block) {
|
|
2141
2153
|
if_block.p(ctx, dirty);
|
|
2142
2154
|
|
|
2143
|
-
if (dirty & /*rooms*/
|
|
2155
|
+
if (dirty & /*rooms*/ 64) {
|
|
2144
2156
|
internal.transition_in(if_block, 1);
|
|
2145
2157
|
}
|
|
2146
2158
|
} else {
|
|
@@ -2180,6 +2192,7 @@
|
|
|
2180
2192
|
let { floorIndex } = $$props;
|
|
2181
2193
|
let { floorplanData } = $$props;
|
|
2182
2194
|
let { hoveredRoom } = $$props;
|
|
2195
|
+
let { getRoomAreaText } = $$props;
|
|
2183
2196
|
let { getLabelElement } = $$props;
|
|
2184
2197
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
2185
2198
|
let clientWidth = 0;
|
|
@@ -2187,33 +2200,35 @@
|
|
|
2187
2200
|
|
|
2188
2201
|
function div_elementresize_handler() {
|
|
2189
2202
|
clientWidth = this.clientWidth;
|
|
2190
|
-
$$invalidate(
|
|
2203
|
+
$$invalidate(4, clientWidth);
|
|
2191
2204
|
}
|
|
2192
2205
|
|
|
2193
2206
|
$$self.$$set = $$props => {
|
|
2194
|
-
if ('floorIndex' in $$props) $$invalidate(
|
|
2195
|
-
if ('floorplanData' in $$props) $$invalidate(
|
|
2207
|
+
if ('floorIndex' in $$props) $$invalidate(7, floorIndex = $$props.floorIndex);
|
|
2208
|
+
if ('floorplanData' in $$props) $$invalidate(8, floorplanData = $$props.floorplanData);
|
|
2196
2209
|
if ('hoveredRoom' in $$props) $$invalidate(0, hoveredRoom = $$props.hoveredRoom);
|
|
2197
|
-
if ('
|
|
2198
|
-
if ('
|
|
2210
|
+
if ('getRoomAreaText' in $$props) $$invalidate(1, getRoomAreaText = $$props.getRoomAreaText);
|
|
2211
|
+
if ('getLabelElement' in $$props) $$invalidate(2, getLabelElement = $$props.getLabelElement);
|
|
2212
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(3, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
2199
2213
|
};
|
|
2200
2214
|
|
|
2201
2215
|
$$self.$$.update = () => {
|
|
2202
|
-
if ($$self.$$.dirty & /*floorplanData, floorIndex*/
|
|
2203
|
-
$$invalidate(
|
|
2216
|
+
if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 384) {
|
|
2217
|
+
$$invalidate(6, rooms = floorplanData.floorDatas[floorIndex].rooms);
|
|
2204
2218
|
}
|
|
2205
2219
|
|
|
2206
|
-
if ($$self.$$.dirty & /*floorplanData, clientWidth*/
|
|
2220
|
+
if ($$self.$$.dirty & /*floorplanData, clientWidth*/ 272) {
|
|
2207
2221
|
{
|
|
2208
2222
|
const { max, min } = floorplanData.bounding;
|
|
2209
2223
|
const boundingWidth = max.x - min.x;
|
|
2210
|
-
$$invalidate(
|
|
2224
|
+
$$invalidate(5, pxmm = clientWidth / boundingWidth);
|
|
2211
2225
|
}
|
|
2212
2226
|
}
|
|
2213
2227
|
};
|
|
2214
2228
|
|
|
2215
2229
|
return [
|
|
2216
2230
|
hoveredRoom,
|
|
2231
|
+
getRoomAreaText,
|
|
2217
2232
|
getLabelElement,
|
|
2218
2233
|
adaptiveRoomLabelVisibleEnable,
|
|
2219
2234
|
clientWidth,
|
|
@@ -2236,18 +2251,19 @@
|
|
|
2236
2251
|
create_fragment$n,
|
|
2237
2252
|
internal.safe_not_equal,
|
|
2238
2253
|
{
|
|
2239
|
-
floorIndex:
|
|
2240
|
-
floorplanData:
|
|
2254
|
+
floorIndex: 7,
|
|
2255
|
+
floorplanData: 8,
|
|
2241
2256
|
hoveredRoom: 0,
|
|
2242
|
-
|
|
2243
|
-
|
|
2257
|
+
getRoomAreaText: 1,
|
|
2258
|
+
getLabelElement: 2,
|
|
2259
|
+
adaptiveRoomLabelVisibleEnable: 3
|
|
2244
2260
|
},
|
|
2245
2261
|
add_css$i
|
|
2246
2262
|
);
|
|
2247
2263
|
}
|
|
2248
2264
|
}
|
|
2249
2265
|
|
|
2250
|
-
/* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.
|
|
2266
|
+
/* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.50.1 */
|
|
2251
2267
|
|
|
2252
2268
|
function add_css$h(target) {
|
|
2253
2269
|
internal.append_styles(target, "svelte-xt7p1v", ".floorplan-plugin__rule-labels.svelte-xt7p1v.svelte-xt7p1v{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-xt7p1v.svelte-xt7p1v{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v.svelte-xt7p1v{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v.svelte-xt7p1v{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v.svelte-xt7p1v{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-xt7p1v.svelte-xt7p1v{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-xt7p1v.svelte-xt7p1v{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale.svelte-xt7p1v{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute}.floorplan-plugin__rule-labels--top.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-xt7p1v.svelte-xt7p1v{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-text-item.svelte-xt7p1v{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-xt7p1v.svelte-xt7p1v{width:-webkit-max-content;width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
|
|
@@ -2255,18 +2271,18 @@
|
|
|
2255
2271
|
|
|
2256
2272
|
function get_each_context$a(ctx, list, i) {
|
|
2257
2273
|
const child_ctx = ctx.slice();
|
|
2258
|
-
child_ctx[
|
|
2259
|
-
child_ctx[
|
|
2274
|
+
child_ctx[11] = list[i];
|
|
2275
|
+
child_ctx[13] = i;
|
|
2260
2276
|
return child_ctx;
|
|
2261
2277
|
}
|
|
2262
2278
|
|
|
2263
2279
|
function get_each_context_1(ctx, list, i) {
|
|
2264
2280
|
const child_ctx = ctx.slice();
|
|
2265
|
-
child_ctx[
|
|
2281
|
+
child_ctx[14] = list[i];
|
|
2266
2282
|
return child_ctx;
|
|
2267
2283
|
}
|
|
2268
2284
|
|
|
2269
|
-
// (
|
|
2285
|
+
// (48:4) {#each rulerLabels as rulerLabel}
|
|
2270
2286
|
function create_each_block_1(ctx) {
|
|
2271
2287
|
let div;
|
|
2272
2288
|
|
|
@@ -2274,8 +2290,8 @@
|
|
|
2274
2290
|
c() {
|
|
2275
2291
|
div = internal.element("div");
|
|
2276
2292
|
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-xt7p1v");
|
|
2277
|
-
internal.set_style(div, "left", /*rulerLabel*/ ctx[
|
|
2278
|
-
internal.set_style(div, "bottom", /*rulerLabel*/ ctx[
|
|
2293
|
+
internal.set_style(div, "left", /*rulerLabel*/ ctx[14].left * 100 + '%', false);
|
|
2294
|
+
internal.set_style(div, "bottom", /*rulerLabel*/ ctx[14].bottom * 100 + '%', false);
|
|
2279
2295
|
},
|
|
2280
2296
|
m(target, anchor) {
|
|
2281
2297
|
internal.insert(target, div, anchor);
|
|
@@ -2287,11 +2303,11 @@
|
|
|
2287
2303
|
};
|
|
2288
2304
|
}
|
|
2289
2305
|
|
|
2290
|
-
// (
|
|
2306
|
+
// (57:4) {#each rulerTexts as textItem, textItemIndex (textItemIndex)}
|
|
2291
2307
|
function create_each_block$a(key_1, ctx) {
|
|
2292
2308
|
let div1;
|
|
2293
2309
|
let div0;
|
|
2294
|
-
let t0_value = /*textItem*/ ctx[
|
|
2310
|
+
let t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "";
|
|
2295
2311
|
let t0;
|
|
2296
2312
|
let t1;
|
|
2297
2313
|
|
|
@@ -2304,10 +2320,10 @@
|
|
|
2304
2320
|
t0 = internal.text(t0_value);
|
|
2305
2321
|
t1 = internal.space();
|
|
2306
2322
|
internal.attr(div0, "class", "floorplan-plugin__rule-text svelte-xt7p1v");
|
|
2307
|
-
internal.toggle_class(div0, "is-row", /*isRow*/ ctx[
|
|
2323
|
+
internal.toggle_class(div0, "is-row", /*isRow*/ ctx[2]);
|
|
2308
2324
|
internal.attr(div1, "class", "floorplan-plugin__rule-text-item svelte-xt7p1v");
|
|
2309
|
-
internal.set_style(div1, "left", /*textItem*/ ctx[
|
|
2310
|
-
internal.set_style(div1, "bottom", /*textItem*/ ctx[
|
|
2325
|
+
internal.set_style(div1, "left", /*textItem*/ ctx[11].left * 100 + '%', false);
|
|
2326
|
+
internal.set_style(div1, "bottom", /*textItem*/ ctx[11].bottom * 100 + '%', false);
|
|
2311
2327
|
this.first = div1;
|
|
2312
2328
|
},
|
|
2313
2329
|
m(target, anchor) {
|
|
@@ -2318,6 +2334,7 @@
|
|
|
2318
2334
|
},
|
|
2319
2335
|
p(new_ctx, dirty) {
|
|
2320
2336
|
ctx = new_ctx;
|
|
2337
|
+
if (dirty & /*getRuleDistanceText*/ 2 && t0_value !== (t0_value = /*getRuleDistanceText*/ ctx[1](/*textItem*/ ctx[11].distance) + "")) internal.set_data(t0, t0_value);
|
|
2321
2338
|
},
|
|
2322
2339
|
d(detaching) {
|
|
2323
2340
|
if (detaching) internal.detach(div1);
|
|
@@ -2335,15 +2352,15 @@
|
|
|
2335
2352
|
let each_blocks = [];
|
|
2336
2353
|
let each1_lookup = new Map();
|
|
2337
2354
|
let div3_class_value;
|
|
2338
|
-
let each_value_1 = /*rulerLabels*/ ctx[
|
|
2355
|
+
let each_value_1 = /*rulerLabels*/ ctx[3];
|
|
2339
2356
|
let each_blocks_1 = [];
|
|
2340
2357
|
|
|
2341
2358
|
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
2342
2359
|
each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
|
|
2343
2360
|
}
|
|
2344
2361
|
|
|
2345
|
-
let each_value = /*rulerTexts*/ ctx[
|
|
2346
|
-
const get_key = ctx => /*textItemIndex*/ ctx[
|
|
2362
|
+
let each_value = /*rulerTexts*/ ctx[4];
|
|
2363
|
+
const get_key = ctx => /*textItemIndex*/ ctx[13];
|
|
2347
2364
|
|
|
2348
2365
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
2349
2366
|
let child_ctx = get_each_context$a(ctx, each_value, i);
|
|
@@ -2371,12 +2388,12 @@
|
|
|
2371
2388
|
|
|
2372
2389
|
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-xt7p1v");
|
|
2373
2390
|
internal.attr(div1, "class", "floorplan-plugin__rule-scale-wrapper svelte-xt7p1v");
|
|
2374
|
-
internal.toggle_class(div1, "is-row", /*isRow*/ ctx[
|
|
2391
|
+
internal.toggle_class(div1, "is-row", /*isRow*/ ctx[2]);
|
|
2375
2392
|
internal.attr(div2, "class", "floorplan-plugin__rule-text-wrapper svelte-xt7p1v");
|
|
2376
2393
|
internal.attr(div3, "class", div3_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/ ctx[0] + " svelte-xt7p1v");
|
|
2377
|
-
internal.toggle_class(div3, "is-row", /*isRow*/ ctx[
|
|
2378
|
-
internal.set_style(div3, "width", /*isRow*/ ctx[
|
|
2379
|
-
internal.set_style(div3, "height", !/*isRow*/ ctx[
|
|
2394
|
+
internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
|
|
2395
|
+
internal.set_style(div3, "width", /*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
|
|
2396
|
+
internal.set_style(div3, "height", !/*isRow*/ ctx[2] ? '100%' : 1 / 16 + 'rem', false);
|
|
2380
2397
|
},
|
|
2381
2398
|
m(target, anchor) {
|
|
2382
2399
|
internal.insert(target, div3, anchor);
|
|
@@ -2396,8 +2413,8 @@
|
|
|
2396
2413
|
}
|
|
2397
2414
|
},
|
|
2398
2415
|
p(ctx, [dirty]) {
|
|
2399
|
-
if (dirty & /*rulerLabels*/
|
|
2400
|
-
each_value_1 = /*rulerLabels*/ ctx[
|
|
2416
|
+
if (dirty & /*rulerLabels*/ 8) {
|
|
2417
|
+
each_value_1 = /*rulerLabels*/ ctx[3];
|
|
2401
2418
|
let i;
|
|
2402
2419
|
|
|
2403
2420
|
for (i = 0; i < each_value_1.length; i += 1) {
|
|
@@ -2419,8 +2436,8 @@
|
|
|
2419
2436
|
each_blocks_1.length = each_value_1.length;
|
|
2420
2437
|
}
|
|
2421
2438
|
|
|
2422
|
-
if (dirty & /*rulerTexts, isRow*/
|
|
2423
|
-
each_value = /*rulerTexts*/ ctx[
|
|
2439
|
+
if (dirty & /*rulerTexts, isRow, getRuleDistanceText*/ 22) {
|
|
2440
|
+
each_value = /*rulerTexts*/ ctx[4];
|
|
2424
2441
|
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div2, internal.destroy_block, create_each_block$a, null, get_each_context$a);
|
|
2425
2442
|
}
|
|
2426
2443
|
|
|
@@ -2428,8 +2445,8 @@
|
|
|
2428
2445
|
internal.attr(div3, "class", div3_class_value);
|
|
2429
2446
|
}
|
|
2430
2447
|
|
|
2431
|
-
if (dirty & /*type, isRow*/
|
|
2432
|
-
internal.toggle_class(div3, "is-row", /*isRow*/ ctx[
|
|
2448
|
+
if (dirty & /*type, isRow*/ 5) {
|
|
2449
|
+
internal.toggle_class(div3, "is-row", /*isRow*/ ctx[2]);
|
|
2433
2450
|
}
|
|
2434
2451
|
},
|
|
2435
2452
|
i: internal.noop,
|
|
@@ -2452,6 +2469,7 @@
|
|
|
2452
2469
|
let { type } = $$props;
|
|
2453
2470
|
let { data } = $$props;
|
|
2454
2471
|
let { bounding } = $$props;
|
|
2472
|
+
let { getRuleDistanceText } = $$props;
|
|
2455
2473
|
const isRow = type === 'top' || type === 'bottom';
|
|
2456
2474
|
const contentWidth = bounding.max.x - bounding.min.x - (padding$1 - exteriorWallOffset$1) * 2;
|
|
2457
2475
|
const contentHeight = bounding.max.y - bounding.min.y - (padding$1 - exteriorWallOffset$1) * 2;
|
|
@@ -2497,21 +2515,36 @@
|
|
|
2497
2515
|
|
|
2498
2516
|
$$self.$$set = $$props => {
|
|
2499
2517
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
2500
|
-
if ('data' in $$props) $$invalidate(
|
|
2501
|
-
if ('bounding' in $$props) $$invalidate(
|
|
2518
|
+
if ('data' in $$props) $$invalidate(5, data = $$props.data);
|
|
2519
|
+
if ('bounding' in $$props) $$invalidate(6, bounding = $$props.bounding);
|
|
2520
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(1, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
2502
2521
|
};
|
|
2503
2522
|
|
|
2504
|
-
return [type, isRow, rulerLabels, rulerTexts, data, bounding];
|
|
2523
|
+
return [type, getRuleDistanceText, isRow, rulerLabels, rulerTexts, data, bounding];
|
|
2505
2524
|
}
|
|
2506
2525
|
|
|
2507
2526
|
class RuleItem extends internal.SvelteComponent {
|
|
2508
2527
|
constructor(options) {
|
|
2509
2528
|
super();
|
|
2510
|
-
|
|
2529
|
+
|
|
2530
|
+
internal.init(
|
|
2531
|
+
this,
|
|
2532
|
+
options,
|
|
2533
|
+
instance$m,
|
|
2534
|
+
create_fragment$m,
|
|
2535
|
+
internal.safe_not_equal,
|
|
2536
|
+
{
|
|
2537
|
+
type: 0,
|
|
2538
|
+
data: 5,
|
|
2539
|
+
bounding: 6,
|
|
2540
|
+
getRuleDistanceText: 1
|
|
2541
|
+
},
|
|
2542
|
+
add_css$h
|
|
2543
|
+
);
|
|
2511
2544
|
}
|
|
2512
2545
|
}
|
|
2513
2546
|
|
|
2514
|
-
/* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.
|
|
2547
|
+
/* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.50.1 */
|
|
2515
2548
|
|
|
2516
2549
|
function add_css$g(target) {
|
|
2517
2550
|
internal.append_styles(target, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
|
|
@@ -2519,12 +2552,12 @@
|
|
|
2519
2552
|
|
|
2520
2553
|
function get_each_context$9(ctx, list, i) {
|
|
2521
2554
|
const child_ctx = ctx.slice();
|
|
2522
|
-
child_ctx[
|
|
2523
|
-
child_ctx[
|
|
2555
|
+
child_ctx[13] = list[i][0];
|
|
2556
|
+
child_ctx[14] = list[i][1];
|
|
2524
2557
|
return child_ctx;
|
|
2525
2558
|
}
|
|
2526
2559
|
|
|
2527
|
-
// (
|
|
2560
|
+
// (20:2) {#each ruleLabelArray as [type, data] (type)}
|
|
2528
2561
|
function create_each_block$9(key_1, ctx) {
|
|
2529
2562
|
let first;
|
|
2530
2563
|
let ruleitem;
|
|
@@ -2532,9 +2565,10 @@
|
|
|
2532
2565
|
|
|
2533
2566
|
const ruleitem_spread_levels = [
|
|
2534
2567
|
{
|
|
2535
|
-
type: /*type*/ ctx[
|
|
2536
|
-
data: /*data*/ ctx[
|
|
2537
|
-
bounding: /*bounding*/ ctx[
|
|
2568
|
+
type: /*type*/ ctx[13],
|
|
2569
|
+
data: /*data*/ ctx[14],
|
|
2570
|
+
bounding: /*bounding*/ ctx[1],
|
|
2571
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
|
|
2538
2572
|
}
|
|
2539
2573
|
];
|
|
2540
2574
|
|
|
@@ -2562,12 +2596,13 @@
|
|
|
2562
2596
|
p(new_ctx, dirty) {
|
|
2563
2597
|
ctx = new_ctx;
|
|
2564
2598
|
|
|
2565
|
-
const ruleitem_changes = (dirty & /*ruleLabelArray, bounding*/
|
|
2599
|
+
const ruleitem_changes = (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19)
|
|
2566
2600
|
? internal.get_spread_update(ruleitem_spread_levels, [
|
|
2567
2601
|
{
|
|
2568
|
-
type: /*type*/ ctx[
|
|
2569
|
-
data: /*data*/ ctx[
|
|
2570
|
-
bounding: /*bounding*/ ctx[
|
|
2602
|
+
type: /*type*/ ctx[13],
|
|
2603
|
+
data: /*data*/ ctx[14],
|
|
2604
|
+
bounding: /*bounding*/ ctx[1],
|
|
2605
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[0]
|
|
2571
2606
|
}
|
|
2572
2607
|
])
|
|
2573
2608
|
: {};
|
|
@@ -2595,8 +2630,8 @@
|
|
|
2595
2630
|
let each_blocks = [];
|
|
2596
2631
|
let each_1_lookup = new Map();
|
|
2597
2632
|
let current;
|
|
2598
|
-
let each_value = /*ruleLabelArray*/ ctx[
|
|
2599
|
-
const get_key = ctx => /*type*/ ctx[
|
|
2633
|
+
let each_value = /*ruleLabelArray*/ ctx[4];
|
|
2634
|
+
const get_key = ctx => /*type*/ ctx[13];
|
|
2600
2635
|
|
|
2601
2636
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
2602
2637
|
let child_ctx = get_each_context$9(ctx, each_value, i);
|
|
@@ -2613,8 +2648,8 @@
|
|
|
2613
2648
|
}
|
|
2614
2649
|
|
|
2615
2650
|
internal.attr(div, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3");
|
|
2616
|
-
internal.set_style(div, "width", /*width*/ ctx[
|
|
2617
|
-
internal.set_style(div, "height", /*height*/ ctx[
|
|
2651
|
+
internal.set_style(div, "width", /*width*/ ctx[3], false);
|
|
2652
|
+
internal.set_style(div, "height", /*height*/ ctx[2], false);
|
|
2618
2653
|
},
|
|
2619
2654
|
m(target, anchor) {
|
|
2620
2655
|
internal.insert(target, div, anchor);
|
|
@@ -2626,19 +2661,19 @@
|
|
|
2626
2661
|
current = true;
|
|
2627
2662
|
},
|
|
2628
2663
|
p(ctx, [dirty]) {
|
|
2629
|
-
if (dirty & /*ruleLabelArray, bounding*/
|
|
2630
|
-
each_value = /*ruleLabelArray*/ ctx[
|
|
2664
|
+
if (dirty & /*ruleLabelArray, bounding, getRuleDistanceText*/ 19) {
|
|
2665
|
+
each_value = /*ruleLabelArray*/ ctx[4];
|
|
2631
2666
|
internal.group_outros();
|
|
2632
2667
|
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, internal.outro_and_destroy_block, create_each_block$9, null, get_each_context$9);
|
|
2633
2668
|
internal.check_outros();
|
|
2634
2669
|
}
|
|
2635
2670
|
|
|
2636
|
-
if (dirty & /*width*/
|
|
2637
|
-
internal.set_style(div, "width", /*width*/ ctx[
|
|
2671
|
+
if (dirty & /*width*/ 8) {
|
|
2672
|
+
internal.set_style(div, "width", /*width*/ ctx[3], false);
|
|
2638
2673
|
}
|
|
2639
2674
|
|
|
2640
|
-
if (dirty & /*height*/
|
|
2641
|
-
internal.set_style(div, "height", /*height*/ ctx[
|
|
2675
|
+
if (dirty & /*height*/ 4) {
|
|
2676
|
+
internal.set_style(div, "height", /*height*/ ctx[2], false);
|
|
2642
2677
|
}
|
|
2643
2678
|
},
|
|
2644
2679
|
i(local) {
|
|
@@ -2683,55 +2718,58 @@
|
|
|
2683
2718
|
let height;
|
|
2684
2719
|
let { floorIndex } = $$props;
|
|
2685
2720
|
let { floorplanData } = $$props;
|
|
2721
|
+
let { getRuleDistanceText } = $$props;
|
|
2686
2722
|
|
|
2687
2723
|
$$self.$$set = $$props => {
|
|
2688
|
-
if ('floorIndex' in $$props) $$invalidate(
|
|
2689
|
-
if ('floorplanData' in $$props) $$invalidate(
|
|
2724
|
+
if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
|
|
2725
|
+
if ('floorplanData' in $$props) $$invalidate(6, floorplanData = $$props.floorplanData);
|
|
2726
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(0, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
2690
2727
|
};
|
|
2691
2728
|
|
|
2692
2729
|
$$self.$$.update = () => {
|
|
2693
|
-
if ($$self.$$.dirty & /*floorplanData*/
|
|
2694
|
-
$$invalidate(
|
|
2730
|
+
if ($$self.$$.dirty & /*floorplanData*/ 64) {
|
|
2731
|
+
$$invalidate(1, bounding = floorplanData.bounding);
|
|
2695
2732
|
}
|
|
2696
2733
|
|
|
2697
|
-
if ($$self.$$.dirty & /*floorplanData, floorIndex*/
|
|
2698
|
-
$$invalidate(
|
|
2734
|
+
if ($$self.$$.dirty & /*floorplanData, floorIndex*/ 96) {
|
|
2735
|
+
$$invalidate(11, ruleLabelData = floorplanData.floorDatas[floorIndex].rules);
|
|
2699
2736
|
}
|
|
2700
2737
|
|
|
2701
|
-
if ($$self.$$.dirty & /*ruleLabelData*/
|
|
2702
|
-
$$invalidate(
|
|
2738
|
+
if ($$self.$$.dirty & /*ruleLabelData*/ 2048) {
|
|
2739
|
+
$$invalidate(12, ruleLabelDataKeys = Object.keys(ruleLabelData));
|
|
2703
2740
|
}
|
|
2704
2741
|
|
|
2705
|
-
if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/
|
|
2706
|
-
$$invalidate(
|
|
2742
|
+
if ($$self.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/ 6144) {
|
|
2743
|
+
$$invalidate(4, ruleLabelArray = ruleLabelDataKeys.map(key => [key, ruleLabelData[key]]));
|
|
2707
2744
|
}
|
|
2708
2745
|
|
|
2709
|
-
if ($$self.$$.dirty & /*bounding*/
|
|
2710
|
-
$$invalidate(
|
|
2746
|
+
if ($$self.$$.dirty & /*bounding*/ 2) {
|
|
2747
|
+
$$invalidate(9, boundingWidth = bounding.max.x - bounding.min.x);
|
|
2711
2748
|
}
|
|
2712
2749
|
|
|
2713
|
-
if ($$self.$$.dirty & /*bounding*/
|
|
2714
|
-
$$invalidate(
|
|
2750
|
+
if ($$self.$$.dirty & /*bounding*/ 2) {
|
|
2751
|
+
$$invalidate(7, boundingHeight = bounding.max.y - bounding.min.y);
|
|
2715
2752
|
}
|
|
2716
2753
|
|
|
2717
|
-
if ($$self.$$.dirty & /*bounding*/
|
|
2718
|
-
$$invalidate(
|
|
2754
|
+
if ($$self.$$.dirty & /*bounding*/ 2) {
|
|
2755
|
+
$$invalidate(10, contentWidth = bounding.max.x - bounding.min.x - (padding - exteriorWallOffset) * 2);
|
|
2719
2756
|
}
|
|
2720
2757
|
|
|
2721
|
-
if ($$self.$$.dirty & /*bounding*/
|
|
2722
|
-
$$invalidate(
|
|
2758
|
+
if ($$self.$$.dirty & /*bounding*/ 2) {
|
|
2759
|
+
$$invalidate(8, contentHeight = bounding.max.y - bounding.min.y - (padding - exteriorWallOffset) * 2);
|
|
2723
2760
|
}
|
|
2724
2761
|
|
|
2725
|
-
if ($$self.$$.dirty & /*contentWidth, boundingWidth*/
|
|
2726
|
-
$$invalidate(
|
|
2762
|
+
if ($$self.$$.dirty & /*contentWidth, boundingWidth*/ 1536) {
|
|
2763
|
+
$$invalidate(3, width = contentWidth / boundingWidth * 100 + '%');
|
|
2727
2764
|
}
|
|
2728
2765
|
|
|
2729
|
-
if ($$self.$$.dirty & /*contentHeight, boundingHeight*/
|
|
2730
|
-
$$invalidate(
|
|
2766
|
+
if ($$self.$$.dirty & /*contentHeight, boundingHeight*/ 384) {
|
|
2767
|
+
$$invalidate(2, height = contentHeight / boundingHeight * 100 + '%');
|
|
2731
2768
|
}
|
|
2732
2769
|
};
|
|
2733
2770
|
|
|
2734
2771
|
return [
|
|
2772
|
+
getRuleDistanceText,
|
|
2735
2773
|
bounding,
|
|
2736
2774
|
height,
|
|
2737
2775
|
width,
|
|
@@ -2750,7 +2788,20 @@
|
|
|
2750
2788
|
class RuleLabels extends internal.SvelteComponent {
|
|
2751
2789
|
constructor(options) {
|
|
2752
2790
|
super();
|
|
2753
|
-
|
|
2791
|
+
|
|
2792
|
+
internal.init(
|
|
2793
|
+
this,
|
|
2794
|
+
options,
|
|
2795
|
+
instance$l,
|
|
2796
|
+
create_fragment$l,
|
|
2797
|
+
internal.safe_not_equal,
|
|
2798
|
+
{
|
|
2799
|
+
floorIndex: 5,
|
|
2800
|
+
floorplanData: 6,
|
|
2801
|
+
getRuleDistanceText: 0
|
|
2802
|
+
},
|
|
2803
|
+
add_css$g
|
|
2804
|
+
);
|
|
2754
2805
|
}
|
|
2755
2806
|
}
|
|
2756
2807
|
|
|
@@ -2805,7 +2856,7 @@
|
|
|
2805
2856
|
return floorIndex;
|
|
2806
2857
|
}
|
|
2807
2858
|
|
|
2808
|
-
/* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.
|
|
2859
|
+
/* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.50.1 */
|
|
2809
2860
|
|
|
2810
2861
|
function create_fragment$k(ctx) {
|
|
2811
2862
|
let path_1;
|
|
@@ -2856,7 +2907,7 @@
|
|
|
2856
2907
|
}
|
|
2857
2908
|
}
|
|
2858
2909
|
|
|
2859
|
-
/* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.
|
|
2910
|
+
/* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.50.1 */
|
|
2860
2911
|
|
|
2861
2912
|
function create_fragment$j(ctx) {
|
|
2862
2913
|
let defs;
|
|
@@ -2945,7 +2996,7 @@
|
|
|
2945
2996
|
}
|
|
2946
2997
|
}
|
|
2947
2998
|
|
|
2948
|
-
/* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.
|
|
2999
|
+
/* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.50.1 */
|
|
2949
3000
|
|
|
2950
3001
|
function create_fragment$i(ctx) {
|
|
2951
3002
|
let defs;
|
|
@@ -3072,7 +3123,7 @@
|
|
|
3072
3123
|
}
|
|
3073
3124
|
}
|
|
3074
3125
|
|
|
3075
|
-
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.
|
|
3126
|
+
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.50.1 */
|
|
3076
3127
|
|
|
3077
3128
|
function add_css$f(target) {
|
|
3078
3129
|
internal.append_styles(target, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
|
|
@@ -3377,7 +3428,7 @@
|
|
|
3377
3428
|
}
|
|
3378
3429
|
}
|
|
3379
3430
|
|
|
3380
|
-
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.
|
|
3431
|
+
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.50.1 */
|
|
3381
3432
|
|
|
3382
3433
|
function add_css$e(target) {
|
|
3383
3434
|
internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
@@ -3467,7 +3518,7 @@
|
|
|
3467
3518
|
}
|
|
3468
3519
|
}
|
|
3469
3520
|
|
|
3470
|
-
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.
|
|
3521
|
+
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.50.1 */
|
|
3471
3522
|
|
|
3472
3523
|
function add_css$d(target) {
|
|
3473
3524
|
internal.append_styles(target, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
|
|
@@ -3655,13 +3706,13 @@
|
|
|
3655
3706
|
}
|
|
3656
3707
|
}
|
|
3657
3708
|
|
|
3658
|
-
/* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.
|
|
3709
|
+
/* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.50.1 */
|
|
3659
3710
|
|
|
3660
3711
|
function add_css$c(target) {
|
|
3661
3712
|
internal.append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
|
|
3662
3713
|
}
|
|
3663
3714
|
|
|
3664
|
-
// (
|
|
3715
|
+
// (22:2) {#if hoverEnable}
|
|
3665
3716
|
function create_if_block_2(ctx) {
|
|
3666
3717
|
let roomhighlight;
|
|
3667
3718
|
let current;
|
|
@@ -3670,7 +3721,7 @@
|
|
|
3670
3721
|
{
|
|
3671
3722
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
3672
3723
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
3673
|
-
hoveredRoom: /*hoveredRoom*/ ctx[
|
|
3724
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10]
|
|
3674
3725
|
}
|
|
3675
3726
|
];
|
|
3676
3727
|
|
|
@@ -3691,12 +3742,12 @@
|
|
|
3691
3742
|
current = true;
|
|
3692
3743
|
},
|
|
3693
3744
|
p(ctx, dirty) {
|
|
3694
|
-
const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/
|
|
3745
|
+
const roomhighlight_changes = (dirty & /*floorIndex, floorplanData, hoveredRoom*/ 1058)
|
|
3695
3746
|
? internal.get_spread_update(roomhighlight_spread_levels, [
|
|
3696
3747
|
{
|
|
3697
3748
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
3698
3749
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
3699
|
-
hoveredRoom: /*hoveredRoom*/ ctx[
|
|
3750
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10]
|
|
3700
3751
|
}
|
|
3701
3752
|
])
|
|
3702
3753
|
: {};
|
|
@@ -3718,7 +3769,7 @@
|
|
|
3718
3769
|
};
|
|
3719
3770
|
}
|
|
3720
3771
|
|
|
3721
|
-
// (
|
|
3772
|
+
// (26:2) {#if roomLabelsEnable}
|
|
3722
3773
|
function create_if_block_1$3(ctx) {
|
|
3723
3774
|
let roomlabels;
|
|
3724
3775
|
let current;
|
|
@@ -3727,9 +3778,10 @@
|
|
|
3727
3778
|
{
|
|
3728
3779
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
3729
3780
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3781
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[6],
|
|
3782
|
+
getLabelElement: /*getLabelElement*/ ctx[7],
|
|
3783
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10],
|
|
3784
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
|
|
3733
3785
|
}
|
|
3734
3786
|
];
|
|
3735
3787
|
|
|
@@ -3750,14 +3802,15 @@
|
|
|
3750
3802
|
current = true;
|
|
3751
3803
|
},
|
|
3752
3804
|
p(ctx, dirty) {
|
|
3753
|
-
const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
3805
|
+
const roomlabels_changes = (dirty & /*floorplanData, floorIndex, getRoomAreaText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/ 1762)
|
|
3754
3806
|
? internal.get_spread_update(roomlabels_spread_levels, [
|
|
3755
3807
|
{
|
|
3756
3808
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
3757
3809
|
floorIndex: /*floorIndex*/ ctx[1],
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3810
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[6],
|
|
3811
|
+
getLabelElement: /*getLabelElement*/ ctx[7],
|
|
3812
|
+
hoveredRoom: /*hoveredRoom*/ ctx[10],
|
|
3813
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[9]
|
|
3761
3814
|
}
|
|
3762
3815
|
])
|
|
3763
3816
|
: {};
|
|
@@ -3779,7 +3832,7 @@
|
|
|
3779
3832
|
};
|
|
3780
3833
|
}
|
|
3781
3834
|
|
|
3782
|
-
// (
|
|
3835
|
+
// (38:2) {#if ruleLabelsEnable}
|
|
3783
3836
|
function create_if_block$6(ctx) {
|
|
3784
3837
|
let rulelabels;
|
|
3785
3838
|
let current;
|
|
@@ -3787,7 +3840,8 @@
|
|
|
3787
3840
|
const rulelabels_spread_levels = [
|
|
3788
3841
|
{
|
|
3789
3842
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
3790
|
-
floorIndex: /*floorIndex*/ ctx[1]
|
|
3843
|
+
floorIndex: /*floorIndex*/ ctx[1],
|
|
3844
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
|
|
3791
3845
|
}
|
|
3792
3846
|
];
|
|
3793
3847
|
|
|
@@ -3808,11 +3862,12 @@
|
|
|
3808
3862
|
current = true;
|
|
3809
3863
|
},
|
|
3810
3864
|
p(ctx, dirty) {
|
|
3811
|
-
const rulelabels_changes = (dirty & /*floorplanData, floorIndex*/
|
|
3865
|
+
const rulelabels_changes = (dirty & /*floorplanData, floorIndex, getRuleDistanceText*/ 290)
|
|
3812
3866
|
? internal.get_spread_update(rulelabels_spread_levels, [
|
|
3813
3867
|
{
|
|
3814
3868
|
floorplanData: /*floorplanData*/ ctx[5],
|
|
3815
|
-
floorIndex: /*floorIndex*/ ctx[1]
|
|
3869
|
+
floorIndex: /*floorIndex*/ ctx[1],
|
|
3870
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[8]
|
|
3816
3871
|
}
|
|
3817
3872
|
])
|
|
3818
3873
|
: {};
|
|
@@ -4041,7 +4096,9 @@
|
|
|
4041
4096
|
let { roomLabelsEnable } = $$props;
|
|
4042
4097
|
let { ruleLabelsEnable } = $$props;
|
|
4043
4098
|
let { floorplanData } = $$props;
|
|
4099
|
+
let { getRoomAreaText } = $$props;
|
|
4044
4100
|
let { getLabelElement } = $$props;
|
|
4101
|
+
let { getRuleDistanceText } = $$props;
|
|
4045
4102
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
4046
4103
|
const hoveredRoom = store.writable(undefined);
|
|
4047
4104
|
|
|
@@ -4052,8 +4109,10 @@
|
|
|
4052
4109
|
if ('roomLabelsEnable' in $$props) $$invalidate(3, roomLabelsEnable = $$props.roomLabelsEnable);
|
|
4053
4110
|
if ('ruleLabelsEnable' in $$props) $$invalidate(4, ruleLabelsEnable = $$props.ruleLabelsEnable);
|
|
4054
4111
|
if ('floorplanData' in $$props) $$invalidate(5, floorplanData = $$props.floorplanData);
|
|
4055
|
-
if ('
|
|
4056
|
-
if ('
|
|
4112
|
+
if ('getRoomAreaText' in $$props) $$invalidate(6, getRoomAreaText = $$props.getRoomAreaText);
|
|
4113
|
+
if ('getLabelElement' in $$props) $$invalidate(7, getLabelElement = $$props.getLabelElement);
|
|
4114
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(8, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
4115
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(9, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
4057
4116
|
};
|
|
4058
4117
|
|
|
4059
4118
|
return [
|
|
@@ -4063,7 +4122,9 @@
|
|
|
4063
4122
|
roomLabelsEnable,
|
|
4064
4123
|
ruleLabelsEnable,
|
|
4065
4124
|
floorplanData,
|
|
4125
|
+
getRoomAreaText,
|
|
4066
4126
|
getLabelElement,
|
|
4127
|
+
getRuleDistanceText,
|
|
4067
4128
|
adaptiveRoomLabelVisibleEnable,
|
|
4068
4129
|
hoveredRoom
|
|
4069
4130
|
];
|
|
@@ -4086,15 +4147,17 @@
|
|
|
4086
4147
|
roomLabelsEnable: 3,
|
|
4087
4148
|
ruleLabelsEnable: 4,
|
|
4088
4149
|
floorplanData: 5,
|
|
4089
|
-
|
|
4090
|
-
|
|
4150
|
+
getRoomAreaText: 6,
|
|
4151
|
+
getLabelElement: 7,
|
|
4152
|
+
getRuleDistanceText: 8,
|
|
4153
|
+
adaptiveRoomLabelVisibleEnable: 9
|
|
4091
4154
|
},
|
|
4092
4155
|
add_css$c
|
|
4093
4156
|
);
|
|
4094
4157
|
}
|
|
4095
4158
|
}
|
|
4096
4159
|
|
|
4097
|
-
/* src/floorplan/Components/Main.svelte generated by Svelte v3.
|
|
4160
|
+
/* src/floorplan/Components/Main.svelte generated by Svelte v3.50.1 */
|
|
4098
4161
|
|
|
4099
4162
|
function add_css$b(target) {
|
|
4100
4163
|
internal.append_styles(target, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
|
|
@@ -4102,11 +4165,11 @@
|
|
|
4102
4165
|
|
|
4103
4166
|
function get_each_context$6(ctx, list, i) {
|
|
4104
4167
|
const child_ctx = ctx.slice();
|
|
4105
|
-
child_ctx[
|
|
4168
|
+
child_ctx[16] = list[i];
|
|
4106
4169
|
return child_ctx;
|
|
4107
4170
|
}
|
|
4108
4171
|
|
|
4109
|
-
// (
|
|
4172
|
+
// (24:0) {#if visible}
|
|
4110
4173
|
function create_if_block$5(ctx) {
|
|
4111
4174
|
let div;
|
|
4112
4175
|
let t0;
|
|
@@ -4173,7 +4236,7 @@
|
|
|
4173
4236
|
p(new_ctx, dirty) {
|
|
4174
4237
|
ctx = new_ctx;
|
|
4175
4238
|
|
|
4176
|
-
if (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/
|
|
4239
|
+
if (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384) {
|
|
4177
4240
|
each_value = /*floorplanData*/ ctx[9].floorDatas;
|
|
4178
4241
|
let i;
|
|
4179
4242
|
|
|
@@ -4279,7 +4342,7 @@
|
|
|
4279
4342
|
};
|
|
4280
4343
|
}
|
|
4281
4344
|
|
|
4282
|
-
// (
|
|
4345
|
+
// (26:4) {#each floorplanData.floorDatas as floorData}
|
|
4283
4346
|
function create_each_block$6(ctx) {
|
|
4284
4347
|
let currentfloor;
|
|
4285
4348
|
let current;
|
|
@@ -4288,16 +4351,18 @@
|
|
|
4288
4351
|
{
|
|
4289
4352
|
hoverEnable: /*hoverEnable*/ ctx[5],
|
|
4290
4353
|
floorplanData: /*floorplanData*/ ctx[9],
|
|
4291
|
-
|
|
4354
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[12],
|
|
4355
|
+
getLabelElement: /*getLabelElement*/ ctx[13],
|
|
4356
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
|
|
4292
4357
|
roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
|
|
4293
4358
|
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
|
|
4294
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
4359
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
|
|
4295
4360
|
},
|
|
4296
4361
|
{
|
|
4297
|
-
floorIndex: /*floorData*/ ctx[
|
|
4362
|
+
floorIndex: /*floorData*/ ctx[16].floorIndex
|
|
4298
4363
|
},
|
|
4299
4364
|
{
|
|
4300
|
-
isCurrent: /*floorData*/ ctx[
|
|
4365
|
+
isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
|
|
4301
4366
|
}
|
|
4302
4367
|
];
|
|
4303
4368
|
|
|
@@ -4318,21 +4383,23 @@
|
|
|
4318
4383
|
current = true;
|
|
4319
4384
|
},
|
|
4320
4385
|
p(ctx, dirty) {
|
|
4321
|
-
const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/
|
|
4386
|
+
const currentfloor_changes = (dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, floorIndex*/ 62384)
|
|
4322
4387
|
? internal.get_spread_update(currentfloor_spread_levels, [
|
|
4323
|
-
dirty & /*hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/
|
|
4388
|
+
dirty & /*hoverEnable, floorplanData, getRoomAreaText, getLabelElement, getRuleDistanceText, roomLabelsEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable*/ 62368 && {
|
|
4324
4389
|
hoverEnable: /*hoverEnable*/ ctx[5],
|
|
4325
4390
|
floorplanData: /*floorplanData*/ ctx[9],
|
|
4326
|
-
|
|
4391
|
+
getRoomAreaText: /*getRoomAreaText*/ ctx[12],
|
|
4392
|
+
getLabelElement: /*getLabelElement*/ ctx[13],
|
|
4393
|
+
getRuleDistanceText: /*getRuleDistanceText*/ ctx[14],
|
|
4327
4394
|
roomLabelsEnable: /*roomLabelsEnable*/ ctx[7],
|
|
4328
4395
|
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[8],
|
|
4329
|
-
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[
|
|
4396
|
+
adaptiveRoomLabelVisibleEnable: /*adaptiveRoomLabelVisibleEnable*/ ctx[15]
|
|
4330
4397
|
},
|
|
4331
4398
|
dirty & /*floorplanData*/ 512 && {
|
|
4332
|
-
floorIndex: /*floorData*/ ctx[
|
|
4399
|
+
floorIndex: /*floorData*/ ctx[16].floorIndex
|
|
4333
4400
|
},
|
|
4334
4401
|
dirty & /*floorplanData, floorIndex*/ 528 && {
|
|
4335
|
-
isCurrent: /*floorData*/ ctx[
|
|
4402
|
+
isCurrent: /*floorData*/ ctx[16].floorIndex === /*floorIndex*/ ctx[4]
|
|
4336
4403
|
}
|
|
4337
4404
|
])
|
|
4338
4405
|
: {};
|
|
@@ -4354,7 +4421,7 @@
|
|
|
4354
4421
|
};
|
|
4355
4422
|
}
|
|
4356
4423
|
|
|
4357
|
-
// (
|
|
4424
|
+
// (43:4) {#if compassEnable}
|
|
4358
4425
|
function create_if_block_1$2(ctx) {
|
|
4359
4426
|
let compass;
|
|
4360
4427
|
let current;
|
|
@@ -4463,7 +4530,9 @@
|
|
|
4463
4530
|
let { floorplanData } = $$props;
|
|
4464
4531
|
let { lastPanoramaLongitude } = $$props;
|
|
4465
4532
|
let { cameraImageUrl } = $$props;
|
|
4533
|
+
let { getRoomAreaText } = $$props;
|
|
4466
4534
|
let { getLabelElement } = $$props;
|
|
4535
|
+
let { getRuleDistanceText } = $$props;
|
|
4467
4536
|
let { adaptiveRoomLabelVisibleEnable } = $$props;
|
|
4468
4537
|
|
|
4469
4538
|
$$self.$$set = $$props => {
|
|
@@ -4479,8 +4548,10 @@
|
|
|
4479
4548
|
if ('floorplanData' in $$props) $$invalidate(9, floorplanData = $$props.floorplanData);
|
|
4480
4549
|
if ('lastPanoramaLongitude' in $$props) $$invalidate(10, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
|
|
4481
4550
|
if ('cameraImageUrl' in $$props) $$invalidate(11, cameraImageUrl = $$props.cameraImageUrl);
|
|
4482
|
-
if ('
|
|
4483
|
-
if ('
|
|
4551
|
+
if ('getRoomAreaText' in $$props) $$invalidate(12, getRoomAreaText = $$props.getRoomAreaText);
|
|
4552
|
+
if ('getLabelElement' in $$props) $$invalidate(13, getLabelElement = $$props.getLabelElement);
|
|
4553
|
+
if ('getRuleDistanceText' in $$props) $$invalidate(14, getRuleDistanceText = $$props.getRuleDistanceText);
|
|
4554
|
+
if ('adaptiveRoomLabelVisibleEnable' in $$props) $$invalidate(15, adaptiveRoomLabelVisibleEnable = $$props.adaptiveRoomLabelVisibleEnable);
|
|
4484
4555
|
};
|
|
4485
4556
|
|
|
4486
4557
|
return [
|
|
@@ -4496,7 +4567,9 @@
|
|
|
4496
4567
|
floorplanData,
|
|
4497
4568
|
lastPanoramaLongitude,
|
|
4498
4569
|
cameraImageUrl,
|
|
4570
|
+
getRoomAreaText,
|
|
4499
4571
|
getLabelElement,
|
|
4572
|
+
getRuleDistanceText,
|
|
4500
4573
|
adaptiveRoomLabelVisibleEnable
|
|
4501
4574
|
];
|
|
4502
4575
|
}
|
|
@@ -4524,8 +4597,10 @@
|
|
|
4524
4597
|
floorplanData: 9,
|
|
4525
4598
|
lastPanoramaLongitude: 10,
|
|
4526
4599
|
cameraImageUrl: 11,
|
|
4527
|
-
|
|
4528
|
-
|
|
4600
|
+
getRoomAreaText: 12,
|
|
4601
|
+
getLabelElement: 13,
|
|
4602
|
+
getRuleDistanceText: 14,
|
|
4603
|
+
adaptiveRoomLabelVisibleEnable: 15
|
|
4529
4604
|
},
|
|
4530
4605
|
add_css$b
|
|
4531
4606
|
);
|
|
@@ -5389,10 +5464,12 @@
|
|
|
5389
5464
|
autoShowEnable: true,
|
|
5390
5465
|
ruleLabelsEnable: true,
|
|
5391
5466
|
roomLabelsEnable: true,
|
|
5467
|
+
adaptiveRoomLabelVisibleEnable: true,
|
|
5392
5468
|
cameraImageUrl: CAMERA_IMAGE,
|
|
5393
5469
|
attachedTo: exports.FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER,
|
|
5394
5470
|
getLabelElement: undefined,
|
|
5395
|
-
|
|
5471
|
+
getRoomAreaText: (size) => (size / 1000000).toFixed(1) + '㎡',
|
|
5472
|
+
getRuleDistanceText: (distance) => distance.toString()
|
|
5396
5473
|
};
|
|
5397
5474
|
const paramsConfig = params ? omit(params, ['selector', 'scale']) : {};
|
|
5398
5475
|
const config = Object.assign(Object.assign({}, baseConfig), paramsConfig);
|
|
@@ -5465,12 +5542,10 @@
|
|
|
5465
5542
|
const options = { userAction };
|
|
5466
5543
|
state.visible ? this._show(options) : this._hide(options);
|
|
5467
5544
|
}
|
|
5545
|
+
this.render();
|
|
5468
5546
|
}
|
|
5469
|
-
changeConfigs(
|
|
5470
|
-
const config = Object.assign(Object.assign({}, this.state.config), _config);
|
|
5547
|
+
changeConfigs(config, userAction = true) {
|
|
5471
5548
|
this.updateState({ config }, userAction);
|
|
5472
|
-
if (!this.container)
|
|
5473
|
-
return;
|
|
5474
5549
|
this.render();
|
|
5475
5550
|
}
|
|
5476
5551
|
async formatData(serverData) {
|
|
@@ -5478,7 +5553,8 @@
|
|
|
5478
5553
|
}
|
|
5479
5554
|
updateState(state, userAction) {
|
|
5480
5555
|
const prevState = this.state;
|
|
5481
|
-
|
|
5556
|
+
const config = state.config ? Object.assign(Object.assign({}, prevState.config), state.config) : prevState.config;
|
|
5557
|
+
this.state = Object.assign(Object.assign(Object.assign({}, this.state), state), { config });
|
|
5482
5558
|
if (equal(this.state, prevState, { deep: true }))
|
|
5483
5559
|
return;
|
|
5484
5560
|
this.hooks.emit('stateChange', { state: this.state, prevState, userAction });
|
|
@@ -6721,7 +6797,7 @@
|
|
|
6721
6797
|
};
|
|
6722
6798
|
}
|
|
6723
6799
|
|
|
6724
|
-
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.
|
|
6800
|
+
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.50.1 */
|
|
6725
6801
|
|
|
6726
6802
|
function add_css$a(target) {
|
|
6727
6803
|
internal.append_styles(target, "svelte-1ty3s4p", ".plugin-radar__camera-wrapper.svelte-1ty3s4p{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1ty3s4p{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1ty3s4p{position:absolute;left:-0.78125rem;top:-0.78125rem;width:0.88542rem;height:0.88542rem;transform-origin:0.78125rem 0.78125rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
|
|
@@ -6871,7 +6947,7 @@
|
|
|
6871
6947
|
}
|
|
6872
6948
|
}
|
|
6873
6949
|
|
|
6874
|
-
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.
|
|
6950
|
+
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.50.1 */
|
|
6875
6951
|
|
|
6876
6952
|
function add_css$9(target) {
|
|
6877
6953
|
internal.append_styles(target, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
|
|
@@ -7008,7 +7084,7 @@
|
|
|
7008
7084
|
}
|
|
7009
7085
|
}
|
|
7010
7086
|
|
|
7011
|
-
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.
|
|
7087
|
+
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.50.1 */
|
|
7012
7088
|
|
|
7013
7089
|
function create_if_block$4(ctx) {
|
|
7014
7090
|
let highlight;
|
|
@@ -7235,7 +7311,7 @@
|
|
|
7235
7311
|
}
|
|
7236
7312
|
}
|
|
7237
7313
|
|
|
7238
|
-
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.
|
|
7314
|
+
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.50.1 */
|
|
7239
7315
|
|
|
7240
7316
|
function add_css$8(target) {
|
|
7241
7317
|
internal.append_styles(target, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
|
|
@@ -9030,15 +9106,32 @@
|
|
|
9030
9106
|
state.enable = false;
|
|
9031
9107
|
return true;
|
|
9032
9108
|
};
|
|
9109
|
+
function changeConfigs(config) {
|
|
9110
|
+
if (config.distanceText && config.distanceText !== state.options.distanceText) {
|
|
9111
|
+
const distanceText = config.distanceText;
|
|
9112
|
+
state.options.distanceText = distanceText;
|
|
9113
|
+
Object.values(__rule).forEach((item) => {
|
|
9114
|
+
item.rules.forEach((rule) => {
|
|
9115
|
+
const [origin, vertical] = rule.rule;
|
|
9116
|
+
const distance = origin.distanceTo(vertical);
|
|
9117
|
+
const textEle = rule.$element.querySelector('.PanoRulerPlugin-rule-label-name');
|
|
9118
|
+
if (!textEle)
|
|
9119
|
+
return;
|
|
9120
|
+
textEle.innerText = distanceText(distance);
|
|
9121
|
+
});
|
|
9122
|
+
});
|
|
9123
|
+
}
|
|
9124
|
+
}
|
|
9033
9125
|
return {
|
|
9034
9126
|
enable,
|
|
9035
9127
|
disable,
|
|
9036
9128
|
load,
|
|
9037
9129
|
state,
|
|
9130
|
+
changeConfigs,
|
|
9038
9131
|
};
|
|
9039
9132
|
};
|
|
9040
9133
|
|
|
9041
|
-
/* src/PanoRulerProPlugin/RulerItem.svelte generated by Svelte v3.
|
|
9134
|
+
/* src/PanoRulerProPlugin/RulerItem.svelte generated by Svelte v3.50.1 */
|
|
9042
9135
|
|
|
9043
9136
|
function add_css$7(target) {
|
|
9044
9137
|
internal.append_styles(target, "svelte-qy4ud2", ".PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2 em.svelte-qy4ud2{display:block;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-qy4ud2.svelte-qy4ud2{display:flex;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;align-items:center}.em-solid.svelte-qy4ud2.svelte-qy4ud2{height:100%;background:#ffffff}.em-dotted.svelte-qy4ud2.svelte-qy4ud2{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-qy4ud2.svelte-qy4ud2{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-qy4ud2.svelte-qy4ud2{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;-webkit-animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@-webkit-keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
|
|
@@ -9331,7 +9424,7 @@
|
|
|
9331
9424
|
}
|
|
9332
9425
|
}
|
|
9333
9426
|
|
|
9334
|
-
/* src/PanoRulerProPlugin/RulerItems.svelte generated by Svelte v3.
|
|
9427
|
+
/* src/PanoRulerProPlugin/RulerItems.svelte generated by Svelte v3.50.1 */
|
|
9335
9428
|
|
|
9336
9429
|
function get_each_context$3(ctx, list, i) {
|
|
9337
9430
|
const child_ctx = ctx.slice();
|
|
@@ -10931,7 +11024,8 @@
|
|
|
10931
11024
|
if (userDistanceItem) {
|
|
10932
11025
|
userDistanceItem.update({ line: line.toCompletelyJson(), polyline: line.getPolyline().toCompletelyJson() });
|
|
10933
11026
|
}
|
|
10934
|
-
const
|
|
11027
|
+
const distance = startPoint.position.clone().distanceTo(endPoint.position);
|
|
11028
|
+
const distanceString = props.line.model.params.getDistanceText(distance);
|
|
10935
11029
|
contentDom.innerText !== distanceString && (contentDom.innerText = distanceString);
|
|
10936
11030
|
}
|
|
10937
11031
|
function appendTo(container) {
|
|
@@ -11270,6 +11364,12 @@
|
|
|
11270
11364
|
class BaseController {
|
|
11271
11365
|
constructor(params) {
|
|
11272
11366
|
var _a, _b;
|
|
11367
|
+
Object.defineProperty(this, "model", {
|
|
11368
|
+
enumerable: true,
|
|
11369
|
+
configurable: true,
|
|
11370
|
+
writable: true,
|
|
11371
|
+
value: void 0
|
|
11372
|
+
});
|
|
11273
11373
|
Object.defineProperty(this, "five", {
|
|
11274
11374
|
enumerable: true,
|
|
11275
11375
|
configurable: true,
|
|
@@ -11282,7 +11382,13 @@
|
|
|
11282
11382
|
writable: true,
|
|
11283
11383
|
value: void 0
|
|
11284
11384
|
});
|
|
11285
|
-
Object.defineProperty(this, "
|
|
11385
|
+
Object.defineProperty(this, "config", {
|
|
11386
|
+
enumerable: true,
|
|
11387
|
+
configurable: true,
|
|
11388
|
+
writable: true,
|
|
11389
|
+
value: void 0
|
|
11390
|
+
});
|
|
11391
|
+
Object.defineProperty(this, "dashed", {
|
|
11286
11392
|
enumerable: true,
|
|
11287
11393
|
configurable: true,
|
|
11288
11394
|
writable: true,
|
|
@@ -11341,6 +11447,7 @@
|
|
|
11341
11447
|
configurable: true,
|
|
11342
11448
|
writable: true,
|
|
11343
11449
|
value: () => {
|
|
11450
|
+
this.dashed.distanceItem.update(this.five);
|
|
11344
11451
|
this.model.lines.forEach((line) => line.distanceItem.update(this.five));
|
|
11345
11452
|
}
|
|
11346
11453
|
});
|
|
@@ -11348,6 +11455,7 @@
|
|
|
11348
11455
|
this.five = params.five;
|
|
11349
11456
|
this.hook = params.hook;
|
|
11350
11457
|
this.model = params.model;
|
|
11458
|
+
this.config = params.config;
|
|
11351
11459
|
this.magnifier = params.magnifier;
|
|
11352
11460
|
this.container = params.container;
|
|
11353
11461
|
this.fiveHelper = params.fiveHelper;
|
|
@@ -11356,6 +11464,10 @@
|
|
|
11356
11464
|
// ==================== Groups ====================
|
|
11357
11465
|
this.group = params.group;
|
|
11358
11466
|
this.mouseGroup = params.mouseGroup;
|
|
11467
|
+
// ==================== 虚线 ====================
|
|
11468
|
+
this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
|
|
11469
|
+
this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
|
|
11470
|
+
this.dashed.mesh.name = 'dashLine';
|
|
11359
11471
|
const fiveElement = this.five.getElement();
|
|
11360
11472
|
if (fiveElement) {
|
|
11361
11473
|
fiveElement.addEventListener('touchstart', preventDefault);
|
|
@@ -11431,12 +11543,6 @@
|
|
|
11431
11543
|
writable: true,
|
|
11432
11544
|
value: 'edit'
|
|
11433
11545
|
});
|
|
11434
|
-
Object.defineProperty(this, "model", {
|
|
11435
|
-
enumerable: true,
|
|
11436
|
-
configurable: true,
|
|
11437
|
-
writable: true,
|
|
11438
|
-
value: new Model({ userDistanceItemCreator: this.userDistanceItemCreator })
|
|
11439
|
-
});
|
|
11440
11546
|
Object.defineProperty(this, "pressPoint", {
|
|
11441
11547
|
enumerable: true,
|
|
11442
11548
|
configurable: true,
|
|
@@ -11468,13 +11574,6 @@
|
|
|
11468
11574
|
writable: true,
|
|
11469
11575
|
value: null
|
|
11470
11576
|
});
|
|
11471
|
-
/** 鼠标点到上一个端点连接的虚线 */
|
|
11472
|
-
Object.defineProperty(this, "dashed", {
|
|
11473
|
-
enumerable: true,
|
|
11474
|
-
configurable: true,
|
|
11475
|
-
writable: true,
|
|
11476
|
-
value: void 0
|
|
11477
|
-
});
|
|
11478
11577
|
Object.defineProperty(this, "hammer", {
|
|
11479
11578
|
enumerable: true,
|
|
11480
11579
|
configurable: true,
|
|
@@ -11687,9 +11786,7 @@
|
|
|
11687
11786
|
this.dashed.distanceItem.update(this.five);
|
|
11688
11787
|
}
|
|
11689
11788
|
});
|
|
11690
|
-
|
|
11691
|
-
this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
|
|
11692
|
-
this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
|
|
11789
|
+
this.model = new Model(this.config);
|
|
11693
11790
|
// ==================== 事件监听 ====================
|
|
11694
11791
|
// five
|
|
11695
11792
|
this.five.on('cameraUpdate', this.onCameraUpdate);
|
|
@@ -12523,7 +12620,7 @@
|
|
|
12523
12620
|
enumerable: true,
|
|
12524
12621
|
configurable: true,
|
|
12525
12622
|
writable: true,
|
|
12526
|
-
value: new Model(
|
|
12623
|
+
value: new Model(this.config)
|
|
12527
12624
|
});
|
|
12528
12625
|
Object.defineProperty(this, "hasAppendDashed", {
|
|
12529
12626
|
enumerable: true,
|
|
@@ -12561,13 +12658,6 @@
|
|
|
12561
12658
|
writable: true,
|
|
12562
12659
|
value: void 0
|
|
12563
12660
|
});
|
|
12564
|
-
/** 圆环点到上一个端点连接的虚线 */
|
|
12565
|
-
Object.defineProperty(this, "dashed", {
|
|
12566
|
-
enumerable: true,
|
|
12567
|
-
configurable: true,
|
|
12568
|
-
writable: true,
|
|
12569
|
-
value: void 0
|
|
12570
|
-
});
|
|
12571
12661
|
/** 编辑线条发生改变时通知外部 */
|
|
12572
12662
|
Object.defineProperty(this, "onLineChanged", {
|
|
12573
12663
|
enumerable: true,
|
|
@@ -12770,10 +12860,6 @@
|
|
|
12770
12860
|
onClick: this.deleteDomClickCallback,
|
|
12771
12861
|
cancelDelete: this.cancelDeleteClickCallback,
|
|
12772
12862
|
}).appendTo(this.container);
|
|
12773
|
-
// ==================== 虚线 ====================
|
|
12774
|
-
this.dashed = new Line(new Point([0, 0, 0]), new Point([0, 0, 0]), this.model);
|
|
12775
|
-
this.dashed.mesh.setMaterial({ dashed: true, dashScale: 100 });
|
|
12776
|
-
this.dashed.mesh.name = 'dashLine';
|
|
12777
12863
|
// ==================== 事件监听 ====================
|
|
12778
12864
|
// five
|
|
12779
12865
|
this.five.on('cameraUpdate', this.onCameraUpdate);
|
|
@@ -14147,6 +14233,12 @@ void main() {
|
|
|
14147
14233
|
writable: true,
|
|
14148
14234
|
value: void 0
|
|
14149
14235
|
});
|
|
14236
|
+
Object.defineProperty(this, "config", {
|
|
14237
|
+
enumerable: true,
|
|
14238
|
+
configurable: true,
|
|
14239
|
+
writable: true,
|
|
14240
|
+
value: void 0
|
|
14241
|
+
});
|
|
14150
14242
|
Object.defineProperty(this, "fiveHelper", {
|
|
14151
14243
|
enumerable: true,
|
|
14152
14244
|
configurable: true,
|
|
@@ -14245,7 +14337,14 @@ void main() {
|
|
|
14245
14337
|
});
|
|
14246
14338
|
this.five = five$1;
|
|
14247
14339
|
this.params = params;
|
|
14248
|
-
|
|
14340
|
+
const defaultConfig = {
|
|
14341
|
+
userDistanceItemCreator: undefined,
|
|
14342
|
+
getDistanceText(distance) {
|
|
14343
|
+
return distance.toFixed(2) + 'm';
|
|
14344
|
+
},
|
|
14345
|
+
};
|
|
14346
|
+
this.config = Object.assign(Object.assign({}, defaultConfig), omit(params, ['openParams', 'magnifierParams']));
|
|
14347
|
+
this.model = new Model(this.config);
|
|
14249
14348
|
this.fiveHelper = new FiveHelper(five$1);
|
|
14250
14349
|
// magnifier
|
|
14251
14350
|
this.magnifier = new Magnifier(five$1, (_a = params.magnifierParams) !== null && _a !== void 0 ? _a : { width: 190, height: 190, scale: 2 });
|
|
@@ -14267,6 +14366,7 @@ void main() {
|
|
|
14267
14366
|
hook: this.hook,
|
|
14268
14367
|
group: this.group,
|
|
14269
14368
|
model: this.model,
|
|
14369
|
+
config: this.config,
|
|
14270
14370
|
magnifier: this.magnifier,
|
|
14271
14371
|
container: this.container,
|
|
14272
14372
|
fiveHelper: this.fiveHelper,
|
|
@@ -14401,6 +14501,14 @@ void main() {
|
|
|
14401
14501
|
(_b = this.useUIController) === null || _b === void 0 ? void 0 : _b.dispose();
|
|
14402
14502
|
this.useUIController = new UIController(this, this.controllerParams);
|
|
14403
14503
|
}
|
|
14504
|
+
changeConfigs(config) {
|
|
14505
|
+
var _a;
|
|
14506
|
+
if (config.getDistanceText && config.getDistanceText !== this.config.getDistanceText) {
|
|
14507
|
+
const getDistanceText = config.getDistanceText;
|
|
14508
|
+
this.config.getDistanceText = getDistanceText;
|
|
14509
|
+
(_a = this.controller) === null || _a === void 0 ? void 0 : _a.updateDistanceUI();
|
|
14510
|
+
}
|
|
14511
|
+
}
|
|
14404
14512
|
}
|
|
14405
14513
|
|
|
14406
14514
|
const PanoMeasurePlugin = function PanoMeasurePlugin(five, params) {
|
|
@@ -14409,7 +14517,7 @@ void main() {
|
|
|
14409
14517
|
|
|
14410
14518
|
const currentTarget = store.writable(null);
|
|
14411
14519
|
|
|
14412
|
-
/* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.
|
|
14520
|
+
/* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.50.1 */
|
|
14413
14521
|
|
|
14414
14522
|
function add_css$6(target) {
|
|
14415
14523
|
internal.append_styles(target, "svelte-1kuu68s", ".PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-1kuu68s{transform:translate(-50%, -50%) scale(0.6);-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
|
|
@@ -14558,7 +14666,7 @@ void main() {
|
|
|
14558
14666
|
}
|
|
14559
14667
|
}
|
|
14560
14668
|
|
|
14561
|
-
/* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.
|
|
14669
|
+
/* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.50.1 */
|
|
14562
14670
|
|
|
14563
14671
|
function add_css$5(target) {
|
|
14564
14672
|
internal.append_styles(target, "svelte-eb8bdm", ".PanoSpatialTagPlugin__tag-x.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#FFF;transform:translate(0, -100%);transition:height .5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm.svelte-eb8bdm{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity .8s .6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-eb8bdm.svelte-eb8bdm{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .1));box-shadow:0 .1rem .5rem rgba(0, 0, 0, .2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .4s cubic-bezier(.44,.44,.74,.98) , opacity .4s cubic-bezier(.44,.44,.74,.98), width .5s linear, height .5s linear ;transform-origin:center bottom}.PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.3rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.5rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s}.PanoSpatialTagPlugin__tag-x.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line.svelte-eb8bdm{transform:scaleY(-1)}.PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm.svelte-eb8bdm{position:relative;height:100%;overflow:hidden;transform-origin:left top;transition:transform .5s linear}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm{transform-origin:left bottom}.PanoSpatialTagPlugin__tag-content.svelte-eb8bdm.svelte-eb8bdm{position:absolute;display:inline-block;transform:translate(-100%, 0);transition:transform .9s cubic-bezier(0,.65,.16,1.08) .6s;padding-left:.5rem;font-size:1rem}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{bottom:0}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:1;transform:translate(-50%, 0) scaleY(1)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{top:unset;bottom:-15rem}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:.32}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .5s .55s, opacity .4s .55s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:0;transition:opacity .8s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(-100%, 0);transition:transform .6s cubic-bezier(.53,.06,.88,.59)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content .svelte-eb8bdm{pointer-events:none}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 10%) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 0) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}");
|
|
@@ -15484,7 +15592,7 @@ void main() {
|
|
|
15484
15592
|
DISPLAY_STRATEGY_TYPE["EXTRA_LARGE"] = "x-large";
|
|
15485
15593
|
})(exports.DISPLAY_STRATEGY_TYPE || (exports.DISPLAY_STRATEGY_TYPE = {}));
|
|
15486
15594
|
|
|
15487
|
-
/* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.
|
|
15595
|
+
/* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
|
|
15488
15596
|
|
|
15489
15597
|
function add_css$4(target) {
|
|
15490
15598
|
internal.append_styles(target, "svelte-n1c1kg", ".item-label-item.svelte-n1c1kg{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-n1c1kg{opacity:1;-webkit-animation:svelte-n1c1kg-fadeIn .3s ease-in;animation:svelte-n1c1kg-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-n1c1kg::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);filter:blur(0.83333rem);z-index:-1}.item-label-item__text-wrap.svelte-n1c1kg{padding:0.3125rem 0.3125rem 0;position:absolute;height:1.04167rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.52083rem;font-size:0.57292rem;font-weight:bold;color:#FFEAC0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-n1c1kg{padding-bottom:0.20833rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:1px solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-n1c1kg{position:absolute;bottom:0;width:1px;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@-webkit-keyframes svelte-n1c1kg-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-n1c1kg-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
|
|
@@ -15610,7 +15718,7 @@ void main() {
|
|
|
15610
15718
|
};
|
|
15611
15719
|
}
|
|
15612
15720
|
|
|
15613
|
-
/* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.
|
|
15721
|
+
/* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
|
|
15614
15722
|
|
|
15615
15723
|
function add_css$3(target) {
|
|
15616
15724
|
internal.append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
@@ -16375,7 +16483,7 @@ void main() {
|
|
|
16375
16483
|
ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE["EXTRA_LARGE"] = "x-large";
|
|
16376
16484
|
})(exports.ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE || (exports.ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE = {}));
|
|
16377
16485
|
|
|
16378
|
-
/* src/ItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.
|
|
16486
|
+
/* src/ItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
|
|
16379
16487
|
|
|
16380
16488
|
function add_css$2(target) {
|
|
16381
16489
|
internal.append_styles(target, "svelte-1mppr0a", ".item-label-item.svelte-1mppr0a.svelte-1mppr0a{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-animation:svelte-1mppr0a-fadeIn .3s ease-in;animation:svelte-1mppr0a-fadeIn .3s ease-in}.item-label-item.fold.svelte-1mppr0a>.item-label-item__text-wrap.svelte-1mppr0a{visibility:hidden}.item-label-item.fold.svelte-1mppr0a>.item-label-item__bar.anchor.svelte-1mppr0a{visibility:hidden}.item-label-item.fold.svelte-1mppr0a>.item-label-item__bar.anchor.svelte-1mppr0a:after{visibility:visible}.item-label-item__text-wrap.svelte-1mppr0a.svelte-1mppr0a{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:0.625rem 1.04167rem 0.625rem 0.625rem;position:absolute;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:24.63542rem;min-height:4.79167rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:1.5px solid rgba(255, 255, 255, .65);border-radius:0.15625rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-1mppr0a.svelte-1mppr0a{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-1mppr0a.svelte-1mppr0a{width:3.54167rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-1mppr0a.svelte-1mppr0a{width:3.54167rem;height:3.54167rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-1mppr0a.svelte-1mppr0a{margin-left:0.625rem;padding-left:0.625rem;min-height:3.54167rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 1px;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-1mppr0a.svelte-1mppr0a{white-space:nowrap;font-size:1.14583rem;font-weight:bold;line-height:1.5625rem}.item-name.svelte-1mppr0a.svelte-1mppr0a{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.04167rem;line-height:1.45833rem}.item-label-item__bar.svelte-1mppr0a.svelte-1mppr0a{position:absolute;bottom:0;width:0.15625rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 2px 0.41667rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-1mppr0a.svelte-1mppr0a:after{content:'';position:absolute;bottom:0;width:1.25rem;height:1.25rem;background-image:url(\"//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png \");background-position:center;background-size:contain;transform:translate(-0.54688rem, 50%)}@-webkit-keyframes svelte-1mppr0a-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-1mppr0a-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
|
|
@@ -16724,7 +16832,7 @@ void main() {
|
|
|
16724
16832
|
return data.map(label => (Object.assign({ observerIndex: undefined, visible: false, isFold: false }, label)));
|
|
16725
16833
|
}
|
|
16726
16834
|
|
|
16727
|
-
/* src/ItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.
|
|
16835
|
+
/* src/ItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
|
|
16728
16836
|
|
|
16729
16837
|
function add_css$1(target) {
|
|
16730
16838
|
internal.append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
@@ -17468,7 +17576,7 @@ void main() {
|
|
|
17468
17576
|
}
|
|
17469
17577
|
}
|
|
17470
17578
|
|
|
17471
|
-
/* src/PanoDoorLabelPlugin/DoorLabelItem.svelte generated by Svelte v3.
|
|
17579
|
+
/* src/PanoDoorLabelPlugin/DoorLabelItem.svelte generated by Svelte v3.50.1 */
|
|
17472
17580
|
|
|
17473
17581
|
function add_css(target) {
|
|
17474
17582
|
internal.append_styles(target, "svelte-16kdbw2", ".plugin-DoorLabelPlugin-item.svelte-16kdbw2.svelte-16kdbw2{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-16kdbw2.svelte-16kdbw2{position:absolute;top:50%;left:50%;border-radius:2px;background:rgba(0, 0, 0, 0.35);line-height:0.625rem;padding:0.3125rem;white-space:nowrap;font-size:0.625rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-16kdbw2.svelte-16kdbw2::after{content:\"\";display:block;position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;border-radius:2px;border:1px solid rgba(0, 0, 0, 0);-o-border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-16kdbw2.svelte-16kdbw2:active,.plugin-DoorLabelPlugin-cnt.svelte-16kdbw2.svelte-16kdbw2:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-16kdbw2.svelte-16kdbw2{background:url(\"//vrlab-image4.ljcdn.com/release/web/DoorLabel-icon.de1304ae.svg\") no-repeat;background-size:100%;display:inline-block;width:0.52083rem;height:0.52083rem;margin-left:0.20833rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-16kdbw2 .plugin-DoorLabelPlugin-txt.svelte-16kdbw2{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(-90deg);margin-left:0;margin-right:0.20833rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-16kdbw2 .plugin-DoorLabelPlugin-txt.svelte-16kdbw2{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(-90deg);margin-left:0;margin-right:0.20833rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-16kdbw2 .plugin-DoorLabelPlugin-txt.svelte-16kdbw2{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(-90deg);margin-left:0;margin-right:0.20833rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-16kdbw2 .plugin-DoorLabelPlugin-txt.svelte-16kdbw2{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(-90deg);margin-left:0;margin-right:0.20833rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-16kdbw2.svelte-16kdbw2{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{background:url(\"//vrlab-image4.ljcdn.com/release/web/arrow.6e8ec00e.svg\") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-16kdbw2.svelte-16kdbw2:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-16kdbw2.svelte-16kdbw2:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}");
|
|
@@ -18101,6 +18209,193 @@ void main() {
|
|
|
18101
18209
|
return new PanoDoorLabelPluginController(five);
|
|
18102
18210
|
};
|
|
18103
18211
|
|
|
18212
|
+
var polylineMiterUtil = {};
|
|
18213
|
+
|
|
18214
|
+
var add_1 = add$1;
|
|
18215
|
+
|
|
18216
|
+
/**
|
|
18217
|
+
* Adds two vec2's
|
|
18218
|
+
*
|
|
18219
|
+
* @param {vec2} out the receiving vector
|
|
18220
|
+
* @param {vec2} a the first operand
|
|
18221
|
+
* @param {vec2} b the second operand
|
|
18222
|
+
* @returns {vec2} out
|
|
18223
|
+
*/
|
|
18224
|
+
function add$1(out, a, b) {
|
|
18225
|
+
out[0] = a[0] + b[0];
|
|
18226
|
+
out[1] = a[1] + b[1];
|
|
18227
|
+
return out
|
|
18228
|
+
}
|
|
18229
|
+
|
|
18230
|
+
var set_1 = set$1;
|
|
18231
|
+
|
|
18232
|
+
/**
|
|
18233
|
+
* Set the components of a vec2 to the given values
|
|
18234
|
+
*
|
|
18235
|
+
* @param {vec2} out the receiving vector
|
|
18236
|
+
* @param {Number} x X component
|
|
18237
|
+
* @param {Number} y Y component
|
|
18238
|
+
* @returns {vec2} out
|
|
18239
|
+
*/
|
|
18240
|
+
function set$1(out, x, y) {
|
|
18241
|
+
out[0] = x;
|
|
18242
|
+
out[1] = y;
|
|
18243
|
+
return out
|
|
18244
|
+
}
|
|
18245
|
+
|
|
18246
|
+
var normalize_1 = normalize$1;
|
|
18247
|
+
|
|
18248
|
+
/**
|
|
18249
|
+
* Normalize a vec2
|
|
18250
|
+
*
|
|
18251
|
+
* @param {vec2} out the receiving vector
|
|
18252
|
+
* @param {vec2} a vector to normalize
|
|
18253
|
+
* @returns {vec2} out
|
|
18254
|
+
*/
|
|
18255
|
+
function normalize$1(out, a) {
|
|
18256
|
+
var x = a[0],
|
|
18257
|
+
y = a[1];
|
|
18258
|
+
var len = x*x + y*y;
|
|
18259
|
+
if (len > 0) {
|
|
18260
|
+
//TODO: evaluate use of glm_invsqrt here?
|
|
18261
|
+
len = 1 / Math.sqrt(len);
|
|
18262
|
+
out[0] = a[0] * len;
|
|
18263
|
+
out[1] = a[1] * len;
|
|
18264
|
+
}
|
|
18265
|
+
return out
|
|
18266
|
+
}
|
|
18267
|
+
|
|
18268
|
+
var subtract_1 = subtract$1;
|
|
18269
|
+
|
|
18270
|
+
/**
|
|
18271
|
+
* Subtracts vector b from vector a
|
|
18272
|
+
*
|
|
18273
|
+
* @param {vec2} out the receiving vector
|
|
18274
|
+
* @param {vec2} a the first operand
|
|
18275
|
+
* @param {vec2} b the second operand
|
|
18276
|
+
* @returns {vec2} out
|
|
18277
|
+
*/
|
|
18278
|
+
function subtract$1(out, a, b) {
|
|
18279
|
+
out[0] = a[0] - b[0];
|
|
18280
|
+
out[1] = a[1] - b[1];
|
|
18281
|
+
return out
|
|
18282
|
+
}
|
|
18283
|
+
|
|
18284
|
+
var dot_1 = dot$1;
|
|
18285
|
+
|
|
18286
|
+
/**
|
|
18287
|
+
* Calculates the dot product of two vec2's
|
|
18288
|
+
*
|
|
18289
|
+
* @param {vec2} a the first operand
|
|
18290
|
+
* @param {vec2} b the second operand
|
|
18291
|
+
* @returns {Number} dot product of a and b
|
|
18292
|
+
*/
|
|
18293
|
+
function dot$1(a, b) {
|
|
18294
|
+
return a[0] * b[0] + a[1] * b[1]
|
|
18295
|
+
}
|
|
18296
|
+
|
|
18297
|
+
var add = add_1;
|
|
18298
|
+
var set = set_1;
|
|
18299
|
+
var normalize = normalize_1;
|
|
18300
|
+
var subtract = subtract_1;
|
|
18301
|
+
var dot = dot_1;
|
|
18302
|
+
|
|
18303
|
+
var tmp = [0, 0];
|
|
18304
|
+
|
|
18305
|
+
polylineMiterUtil.computeMiter = function computeMiter(tangent, miter, lineA, lineB, halfThick) {
|
|
18306
|
+
//get tangent line
|
|
18307
|
+
add(tangent, lineA, lineB);
|
|
18308
|
+
normalize(tangent, tangent);
|
|
18309
|
+
|
|
18310
|
+
//get miter as a unit vector
|
|
18311
|
+
set(miter, -tangent[1], tangent[0]);
|
|
18312
|
+
set(tmp, -lineA[1], lineA[0]);
|
|
18313
|
+
|
|
18314
|
+
//get the necessary length of our miter
|
|
18315
|
+
return halfThick / dot(miter, tmp)
|
|
18316
|
+
};
|
|
18317
|
+
|
|
18318
|
+
polylineMiterUtil.normal = function normal(out, dir) {
|
|
18319
|
+
//get perpendicular
|
|
18320
|
+
set(out, -dir[1], dir[0]);
|
|
18321
|
+
return out
|
|
18322
|
+
};
|
|
18323
|
+
|
|
18324
|
+
polylineMiterUtil.direction = function direction(out, a, b) {
|
|
18325
|
+
//get unit dir of two lines
|
|
18326
|
+
subtract(out, a, b);
|
|
18327
|
+
normalize(out, out);
|
|
18328
|
+
return out
|
|
18329
|
+
};
|
|
18330
|
+
|
|
18331
|
+
var util = polylineMiterUtil;
|
|
18332
|
+
|
|
18333
|
+
var lineA = [0, 0];
|
|
18334
|
+
var lineB = [0, 0];
|
|
18335
|
+
var tangent = [0, 0];
|
|
18336
|
+
var miter = [0, 0];
|
|
18337
|
+
|
|
18338
|
+
var polylineNormals = function(points, closed) {
|
|
18339
|
+
var curNormal = null;
|
|
18340
|
+
var out = [];
|
|
18341
|
+
if (closed) {
|
|
18342
|
+
points = points.slice();
|
|
18343
|
+
points.push(points[0]);
|
|
18344
|
+
}
|
|
18345
|
+
|
|
18346
|
+
var total = points.length;
|
|
18347
|
+
for (var i=1; i<total; i++) {
|
|
18348
|
+
var last = points[i-1];
|
|
18349
|
+
var cur = points[i];
|
|
18350
|
+
var next = i<points.length-1 ? points[i+1] : null;
|
|
18351
|
+
|
|
18352
|
+
util.direction(lineA, cur, last);
|
|
18353
|
+
if (!curNormal) {
|
|
18354
|
+
curNormal = [0, 0];
|
|
18355
|
+
util.normal(curNormal, lineA);
|
|
18356
|
+
}
|
|
18357
|
+
|
|
18358
|
+
if (i === 1) //add initial normals
|
|
18359
|
+
addNext(out, curNormal, 1);
|
|
18360
|
+
|
|
18361
|
+
if (!next) { //no miter, simple segment
|
|
18362
|
+
util.normal(curNormal, lineA); //reset normal
|
|
18363
|
+
addNext(out, curNormal, 1);
|
|
18364
|
+
} else { //miter with last
|
|
18365
|
+
//get unit dir of next line
|
|
18366
|
+
util.direction(lineB, next, cur);
|
|
18367
|
+
|
|
18368
|
+
//stores tangent & miter
|
|
18369
|
+
var miterLen = util.computeMiter(tangent, miter, lineA, lineB, 1);
|
|
18370
|
+
addNext(out, miter, miterLen);
|
|
18371
|
+
}
|
|
18372
|
+
}
|
|
18373
|
+
|
|
18374
|
+
//if the polyline is a closed loop, clean up the last normal
|
|
18375
|
+
if (points.length > 2 && closed) {
|
|
18376
|
+
var last2 = points[total-2];
|
|
18377
|
+
var cur2 = points[0];
|
|
18378
|
+
var next2 = points[1];
|
|
18379
|
+
|
|
18380
|
+
util.direction(lineA, cur2, last2);
|
|
18381
|
+
util.direction(lineB, next2, cur2);
|
|
18382
|
+
util.normal(curNormal, lineA);
|
|
18383
|
+
|
|
18384
|
+
var miterLen2 = util.computeMiter(tangent, miter, lineA, lineB, 1);
|
|
18385
|
+
out[0][0] = miter.slice();
|
|
18386
|
+
out[total-1][0] = miter.slice();
|
|
18387
|
+
out[0][1] = miterLen2;
|
|
18388
|
+
out[total-1][1] = miterLen2;
|
|
18389
|
+
out.pop();
|
|
18390
|
+
}
|
|
18391
|
+
|
|
18392
|
+
return out
|
|
18393
|
+
};
|
|
18394
|
+
|
|
18395
|
+
function addNext(out, normal, length) {
|
|
18396
|
+
out.push([[normal[0], normal[1]], length]);
|
|
18397
|
+
}
|
|
18398
|
+
|
|
18104
18399
|
// 定义常量
|
|
18105
18400
|
const TRIANGLE_NUMBER_OF_RECTANGLE = 2; // 每个矩形有两个三角形
|
|
18106
18401
|
const VERTEX_NUMBER_OF_TRIANGLE = 3; // 每个三角形有三个顶点
|
|
@@ -18218,7 +18513,7 @@ void main() {
|
|
|
18218
18513
|
const halfUnitWidth = unitWidth / 2;
|
|
18219
18514
|
const aspect = unitHeight / unitWidth; // 纵横比 height / width
|
|
18220
18515
|
const curvePointsLength = curvePoints.length;
|
|
18221
|
-
const normals =
|
|
18516
|
+
const normals = polylineNormals(curvePoints.map((p) => [p.x, p.z])); // curvePoints:每个点切线的向量「二维」
|
|
18222
18517
|
const rectangleNumber = curvePoints.length - 1; // 曲线上 N 个点,构成了 N - 1 个矩形
|
|
18223
18518
|
const indexNumber = rectangleNumber * TRIANGLE_NUMBER_OF_RECTANGLE * VERTEX_NUMBER_OF_TRIANGLE;
|
|
18224
18519
|
const verticesNumber = 2 * curvePointsLength; // 顶点数量(包含公用):每个曲线点对应两个顶点,N 个 点有 2N 个顶点
|