@realsee/dnalogel 2.2.6 → 2.3.0
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/CSS3DRender.d.ts +48 -34
- package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
- package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/dist/index.cjs.js +46 -46
- package/dist/index.js +4987 -4817
- package/dist/index.umd.js +39 -39
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/docs/assets/highlight.css +7 -0
- package/docs/assets/main.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +533 -0
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -5
- package/docs/functions/CameraMovementPlugin.html +6 -5
- package/docs/functions/CruisePlugin.html +6 -5
- package/docs/functions/GuideLinePlugin.html +7 -6
- package/docs/functions/ItemLabelPlugin.html +6 -5
- package/docs/functions/MapviewFloorplanPlugin.html +6 -5
- package/docs/functions/ModelChassisCompassPlugin.html +6 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
- package/docs/functions/ModelFloorplanPlugin.html +6 -5
- package/docs/functions/ModelItemLabelPlugin.html +6 -5
- package/docs/functions/ModelRoomLabelPlugin.html +6 -5
- package/docs/functions/ModelTVVideoPlugin.html +6 -5
- package/docs/functions/ModelViewPlugin.html +6 -5
- package/docs/functions/Object3DHelperPlugin.html +6 -5
- package/docs/functions/PanoCompassPlugin.html +6 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
- package/docs/functions/PanoDoorLabelPlugin.html +6 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
- package/docs/functions/PanoMeasurePlugin.html +6 -5
- package/docs/functions/PanoRulerPlugin.html +6 -5
- package/docs/functions/PanoRulerProPlugin.html +6 -5
- package/docs/functions/PanoSpatialTagPlugin.html +6 -5
- package/docs/functions/PanoTagPlugin.html +6 -5
- package/docs/functions/TopviewFloorplanPlugin.html +6 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +7 -6
- package/docs/index.html +6 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +7 -6
- package/docs/interfaces/Rooms.html +7 -6
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +7 -5
- package/docs/types/ArrayPosition.html +7 -6
- package/docs/types/CSS3DRenderExportType.html +8 -7
- package/docs/types/CSS3DRenderPluginExportType.html +7 -6
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
- package/docs/types/Color.html +7 -6
- package/docs/types/ContentTypeConfigKey.html +7 -6
- package/docs/types/ContentTypeConfigKeyArray.html +7 -6
- package/docs/types/Create3DDomContainerReturnType.html +7 -6
- package/docs/types/Create3DElementReturnType.html +8 -7
- package/docs/types/CruisePluginExportType.html +7 -6
- package/docs/types/Direction-1.html +7 -6
- package/docs/types/Direction4.html +7 -6
- package/docs/types/FloorplanRuleLabels.html +7 -6
- package/docs/types/FloorplanServerRuleLabels.html +7 -6
- package/docs/types/GuideLinePluginExportType.html +7 -6
- package/docs/types/HelperEventMap.html +7 -6
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
- package/docs/types/MediaData.html +7 -6
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
- package/docs/types/MoveArgs.html +7 -6
- package/docs/types/MoveOpts.html +7 -6
- package/docs/types/Object3DHelperEventMap.html +7 -6
- package/docs/types/ObjectFit.html +7 -6
- package/docs/types/PaintBrushEventMap.html +7 -6
- package/docs/types/PanoCompassPluginData.html +7 -6
- package/docs/types/PanoCompassPluginExportType.html +7 -6
- package/docs/types/PanoCompassPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
- package/docs/types/PanoMeasurePluginEvent.html +7 -6
- package/docs/types/PanoMeasureReturnType.html +7 -6
- package/docs/types/PanoSpatialTagPluginId.html +7 -6
- package/docs/types/PanoTagPluginExportInterface.html +7 -6
- package/docs/types/PanoTagPluginParamsInterface.html +7 -6
- package/docs/types/PlaneTag.html +7 -6
- package/docs/types/PointTag.html +7 -6
- package/docs/types/Position.html +7 -6
- package/docs/types/RotateArgs.html +7 -6
- package/docs/types/RotateOpts.html +7 -6
- package/docs/types/RuleLabelsKey.html +7 -6
- package/docs/types/RuleLabelsValue.html +7 -6
- package/docs/types/Tag.html +7 -6
- package/docs/types/Tag2D.html +7 -6
- package/docs/types/Tag3D.html +7 -6
- package/docs/types/TagId.html +7 -6
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
- package/docs/variables/PLUGIN.html +7 -6
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
- package/docs/variables/ROOM_TYPE_MAP.html +7 -6
- package/docs/variables/VERSION.html +7 -6
- package/docs/variables/itemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +198 -251
- package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +63 -58
- package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/index.js +21 -3
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
- package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +53 -0
- package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +115 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
- package/libs/CameraMovementPlugin/index.js +13 -0
- package/libs/CruisePlugin/Controller.js +65 -54
- package/libs/CruisePlugin/index.js +26 -3
- package/libs/CruisePlugin/typing.js +1 -0
- package/libs/GuideLinePlugin/Controller.js +14 -9
- package/libs/GuideLinePlugin/index.js +14 -3
- package/libs/GuideLinePlugin/typing.js +1 -0
- package/libs/ItemLabelPlugin/Plugin.js +33 -23
- package/libs/ItemLabelPlugin/events.type.js +1 -0
- package/libs/ItemLabelPlugin/index.js +16 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +2 -1
- package/libs/ModelChassisCompassPlugin/index.js +8 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +44 -39
- package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
- package/libs/ModelItemLabelPlugin/index.js +12 -2
- package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
- package/libs/ModelRoomLabelPlugin/index.js +10 -3
- package/libs/ModelRoomLabelPlugin/typings.js +1 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +80 -62
- package/libs/ModelTVVideoPlugin/index.js +25 -0
- package/libs/ModelViewPlugin/Plugin.js +2 -1
- package/libs/ModelViewPlugin/index.js +6 -0
- package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/libs/Object3DHelperPlugin/Controller.js +114 -73
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
- package/libs/Object3DHelperPlugin/index.js +48 -3
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoCompassPlugin/Controller.js +60 -40
- package/libs/PanoCompassPlugin/index.js +31 -3
- package/libs/PanoCompassPlugin/typings.js +1 -0
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
- package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
- package/libs/PanoDoorLabelPlugin/index.js +12 -2
- package/libs/PanoDoorLabelPlugin/typings.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +56 -5
- package/libs/PanoRulerPlugin/Plugin.js +22 -17
- package/libs/PanoRulerPlugin/index.js +9 -0
- package/libs/PanoRulerPlugin/style.js +1 -1
- package/libs/PanoRulerPlugin/typings.js +1 -0
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/index.js +16 -3
- package/libs/PanoRulerProPlugin/typings.js +1 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
- package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +91 -71
- package/libs/PanoSpatialTagPlugin/index.js +28 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
- package/libs/PanoTagPlugin/Components/Common/Media.js +47 -55
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -7
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +21 -23
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
- package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +19 -27
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +54 -65
- package/libs/PanoTagPlugin/Components/Tag/index.js +74 -103
- package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
- package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
- package/libs/PanoTagPlugin/controller/index.js +2 -2
- package/libs/PanoTagPlugin/index.js +90 -3
- package/libs/PanoTagPlugin/tag.config.js +2 -1
- package/libs/floorplan/Components/BaseImage.js +7 -7
- package/libs/floorplan/Components/Camera.js +10 -10
- package/libs/floorplan/Components/Compass.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +47 -56
- package/libs/floorplan/Components/Main.js +80 -99
- package/libs/floorplan/Components/Normalmage.js +5 -5
- package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +6 -6
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +14 -14
- package/libs/floorplan/Components/SvgImage.js +12 -12
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
- package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/typings/index.js +1 -0
- package/libs/index.js +123 -114
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/three/index.js +2 -1
- package/package.json +31 -30
- package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
- package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
|
@@ -1,139 +1,101 @@
|
|
|
1
|
-
import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as
|
|
1
|
+
import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as p, group_outros as z, transition_out as h, check_outros as A, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import "three";
|
|
3
3
|
import { noTypecheck as C } from "../utils/noTypecheck.js";
|
|
4
4
|
import { DimensionType as q, PointType as D, ContentType as X } from "../typings/tag.js";
|
|
5
|
-
import Y from "./Tag/index.js";
|
|
6
|
-
import Z from "./Common/Point/PointSwitch.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import "../../vendor/svelte/transition/index.js";
|
|
10
|
-
import "../../vendor/svelte/easing/index.js";
|
|
11
|
-
import "../../shared-utils/uuid.js";
|
|
12
|
-
import "./Common/Shadow.js";
|
|
13
|
-
import "./Common/MultiLineText.js";
|
|
14
|
-
import "./Common/Text.js";
|
|
15
|
-
import "animejs";
|
|
16
|
-
import "../../shared-utils/isNil.js";
|
|
17
|
-
import "../utils/search.js";
|
|
18
|
-
import "../utils/constants.js";
|
|
19
|
-
import "./Common/Arrow.js";
|
|
20
|
-
import "../Assets/Icon.js";
|
|
21
|
-
import "../utils/doUtil.js";
|
|
22
|
-
import "./Tag/ImageTextTag.js";
|
|
23
|
-
import "./Common/Line/Polyline.js";
|
|
24
|
-
import "./Common/Media.js";
|
|
25
|
-
import "../../vendor/swiper/svelte/swiper.js";
|
|
26
|
-
import "swiper";
|
|
27
|
-
import "../../vendor/swiper/components-shared/get-params.js";
|
|
28
|
-
import "../../vendor/swiper/components-shared/utils.js";
|
|
29
|
-
import "../../vendor/swiper/components-shared/params-list.js";
|
|
30
|
-
import "../../vendor/swiper/components-shared/mount-swiper.js";
|
|
31
|
-
import "../../vendor/swiper/components-shared/get-changed-params.js";
|
|
32
|
-
import "../../vendor/swiper/components-shared/update-swiper.js";
|
|
33
|
-
import "../../vendor/swiper/svelte/swiper-slide.js";
|
|
34
|
-
import "swiper/css";
|
|
35
|
-
import "swiper/css/autoplay";
|
|
36
|
-
import "./Common/MediaItem.js";
|
|
37
|
-
import "./Tag/MarketingTag.js";
|
|
38
|
-
import "./Tag/AudioTag.js";
|
|
39
|
-
import "./Common/Audio.js";
|
|
40
|
-
import "./Tag/MediaPlane.js";
|
|
41
|
-
import "./Tag/LinkTag.js";
|
|
42
|
-
import "./Tag/CustomTag.js";
|
|
43
|
-
import "./Common/Point/CustomPoint.js";
|
|
44
|
-
import "./Common/Point/DefaultPoint.js";
|
|
45
|
-
function x(e) {
|
|
46
|
-
O(e, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
|
|
5
|
+
import { Tag as Y } from "./Tag/index.js";
|
|
6
|
+
import { PointSwitch as Z } from "./Common/Point/PointSwitch.js";
|
|
7
|
+
function x(t) {
|
|
8
|
+
O(t, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
|
|
47
9
|
}
|
|
48
|
-
function I(
|
|
49
|
-
let
|
|
50
|
-
return
|
|
10
|
+
function I(t) {
|
|
11
|
+
let e, o;
|
|
12
|
+
return e = new Y({
|
|
51
13
|
props: {
|
|
52
|
-
mediaStore:
|
|
53
|
-
withAnimation:
|
|
54
|
-
tag: C(
|
|
55
|
-
hooks:
|
|
56
|
-
state:
|
|
57
|
-
temporaryState:
|
|
14
|
+
mediaStore: t[4],
|
|
15
|
+
withAnimation: t[0],
|
|
16
|
+
tag: C(t[1]),
|
|
17
|
+
hooks: t[2],
|
|
18
|
+
state: t[3],
|
|
19
|
+
temporaryState: t[5]
|
|
58
20
|
}
|
|
59
21
|
}), {
|
|
60
22
|
c() {
|
|
61
|
-
E(
|
|
23
|
+
E(e.$$.fragment);
|
|
62
24
|
},
|
|
63
|
-
m(
|
|
64
|
-
F(
|
|
25
|
+
m(a, l) {
|
|
26
|
+
F(e, a, l), o = !0;
|
|
65
27
|
},
|
|
66
|
-
p(
|
|
28
|
+
p(a, l) {
|
|
67
29
|
const i = {};
|
|
68
|
-
|
|
30
|
+
l & 16 && (i.mediaStore = a[4]), l & 1 && (i.withAnimation = a[0]), l & 2 && (i.tag = C(a[1])), l & 4 && (i.hooks = a[2]), l & 8 && (i.state = a[3]), l & 32 && (i.temporaryState = a[5]), e.$set(i);
|
|
69
31
|
},
|
|
70
|
-
i(
|
|
71
|
-
|
|
32
|
+
i(a) {
|
|
33
|
+
o || (p(e.$$.fragment, a), o = !0);
|
|
72
34
|
},
|
|
73
|
-
o(
|
|
74
|
-
h(
|
|
35
|
+
o(a) {
|
|
36
|
+
h(e.$$.fragment, a), o = !1;
|
|
75
37
|
},
|
|
76
|
-
d(
|
|
77
|
-
G(
|
|
38
|
+
d(a) {
|
|
39
|
+
G(e, a);
|
|
78
40
|
}
|
|
79
41
|
};
|
|
80
42
|
}
|
|
81
|
-
function L(
|
|
82
|
-
let
|
|
83
|
-
return
|
|
43
|
+
function L(t) {
|
|
44
|
+
let e, o, a, l, i;
|
|
45
|
+
return o = new Z({ props: { tag: t[1] } }), {
|
|
84
46
|
c() {
|
|
85
|
-
|
|
47
|
+
e = W("div"), E(o.$$.fragment), T(e, "class", "point svelte-1vzhbu2");
|
|
86
48
|
},
|
|
87
|
-
m(
|
|
88
|
-
j(
|
|
49
|
+
m(n, m) {
|
|
50
|
+
j(n, e, m), F(o, e, null), a = !0, l || (i = U(e, "click", V(t[11])), l = !0);
|
|
89
51
|
},
|
|
90
|
-
p(
|
|
91
|
-
const
|
|
92
|
-
|
|
52
|
+
p(n, m) {
|
|
53
|
+
const u = {};
|
|
54
|
+
m & 2 && (u.tag = n[1]), o.$set(u);
|
|
93
55
|
},
|
|
94
|
-
i(
|
|
95
|
-
|
|
56
|
+
i(n) {
|
|
57
|
+
a || (p(o.$$.fragment, n), a = !0);
|
|
96
58
|
},
|
|
97
|
-
o(
|
|
98
|
-
h(
|
|
59
|
+
o(n) {
|
|
60
|
+
h(o.$$.fragment, n), a = !1;
|
|
99
61
|
},
|
|
100
|
-
d(
|
|
101
|
-
|
|
62
|
+
d(n) {
|
|
63
|
+
n && B(e), G(o), l = !1, i();
|
|
102
64
|
}
|
|
103
65
|
};
|
|
104
66
|
}
|
|
105
|
-
function $(
|
|
106
|
-
var
|
|
107
|
-
let
|
|
67
|
+
function $(t) {
|
|
68
|
+
var m, u;
|
|
69
|
+
let e, o, a, l, i = t[1].dimensionType === q.Two && I(t), n = t[1].pointType === D.PointTag && ((u = (m = t[1].style) == null ? void 0 : m.point) == null ? void 0 : u.style) !== "noPoint" && L(t);
|
|
108
70
|
return {
|
|
109
71
|
c() {
|
|
110
|
-
|
|
72
|
+
e = W("div"), i && i.c(), o = Q(), n && n.c(), T(e, "class", "wrapper svelte-1vzhbu2"), T(e, "data-id", a = t[1].id), _(e, "hide", t[10]), _(e, "unfolded", t[6]), d(e, "left", t[9]), d(e, "top", t[8]), d(e, "z-index", t[7]);
|
|
111
73
|
},
|
|
112
|
-
m(
|
|
113
|
-
j(
|
|
74
|
+
m(r, f) {
|
|
75
|
+
j(r, e, f), i && i.m(e, null), R(e, o), n && n.m(e, null), l = !0;
|
|
114
76
|
},
|
|
115
|
-
p(
|
|
77
|
+
p(r, [f]) {
|
|
116
78
|
var g, c;
|
|
117
|
-
|
|
79
|
+
r[1].dimensionType === q.Two ? i ? (i.p(r, f), f & 2 && p(i, 1)) : (i = I(r), i.c(), p(i, 1), i.m(e, o)) : i && (z(), h(i, 1, 1, () => {
|
|
118
80
|
i = null;
|
|
119
|
-
}),
|
|
120
|
-
|
|
121
|
-
}),
|
|
81
|
+
}), A()), r[1].pointType === D.PointTag && ((c = (g = r[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? n ? (n.p(r, f), f & 2 && p(n, 1)) : (n = L(r), n.c(), p(n, 1), n.m(e, null)) : n && (z(), h(n, 1, 1, () => {
|
|
82
|
+
n = null;
|
|
83
|
+
}), A()), (!l || f & 2 && a !== (a = r[1].id)) && T(e, "data-id", a), (!l || f & 1024) && _(e, "hide", r[10]), (!l || f & 64) && _(e, "unfolded", r[6]), f & 512 && d(e, "left", r[9]), f & 256 && d(e, "top", r[8]), f & 128 && d(e, "z-index", r[7]);
|
|
122
84
|
},
|
|
123
|
-
i(
|
|
124
|
-
|
|
85
|
+
i(r) {
|
|
86
|
+
l || (p(i), p(n), l = !0);
|
|
125
87
|
},
|
|
126
|
-
o(
|
|
127
|
-
h(i), h(
|
|
88
|
+
o(r) {
|
|
89
|
+
h(i), h(n), l = !1;
|
|
128
90
|
},
|
|
129
|
-
d(
|
|
130
|
-
|
|
91
|
+
d(r) {
|
|
92
|
+
r && B(e), i && i.d(), n && n.d();
|
|
131
93
|
}
|
|
132
94
|
};
|
|
133
95
|
}
|
|
134
|
-
function
|
|
135
|
-
let
|
|
136
|
-
function H(
|
|
96
|
+
function ee(t, e, o) {
|
|
97
|
+
let a, l, i, n, m, u, { withAnimation: r = !1 } = e, { tag: f } = e, { hooks: g } = e, { state: c } = e, { mediaStore: y } = e, { temporaryState: S } = e, k, w = !1;
|
|
98
|
+
function H(s) {
|
|
137
99
|
k !== void 0 && clearTimeout(k), w = !0, k = setTimeout(
|
|
138
100
|
() => {
|
|
139
101
|
w = !1;
|
|
@@ -141,36 +103,36 @@ function tt(e, t, n) {
|
|
|
141
103
|
800
|
|
142
104
|
);
|
|
143
105
|
}
|
|
144
|
-
const J = (
|
|
145
|
-
w || g.emit("click", { event:
|
|
106
|
+
const J = (s) => {
|
|
107
|
+
w || g.emit("click", { event: s, target: "TagPoint", tag: f });
|
|
146
108
|
};
|
|
147
|
-
return
|
|
148
|
-
"withAnimation" in
|
|
149
|
-
},
|
|
150
|
-
var
|
|
151
|
-
|
|
109
|
+
return t.$$set = (s) => {
|
|
110
|
+
"withAnimation" in s && o(0, r = s.withAnimation), "tag" in s && o(1, f = s.tag), "hooks" in s && o(2, g = s.hooks), "state" in s && o(3, c = s.state), "mediaStore" in s && o(4, y = s.mediaStore), "temporaryState" in s && o(5, S = s.temporaryState);
|
|
111
|
+
}, t.$$.update = () => {
|
|
112
|
+
var s, b, v, P;
|
|
113
|
+
t.$$.dirty & 2 && o(12, a = (s = f.state) == null ? void 0 : s.visible), t.$$.dirty & 4096 && o(10, l = !a), t.$$.dirty & 2 && o(6, i = (b = f.state) == null ? void 0 : b.unfolded), t.$$.dirty & 2 && o(9, n = ((v = f.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), t.$$.dirty & 2 && o(8, m = ((P = f.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), t.$$.dirty & 2 && o(7, u = f.contentType === X.Link ? 1 : 0), t.$$.dirty & 64 && H();
|
|
152
114
|
}, [
|
|
153
|
-
|
|
154
|
-
|
|
115
|
+
r,
|
|
116
|
+
f,
|
|
155
117
|
g,
|
|
156
118
|
c,
|
|
157
119
|
y,
|
|
158
120
|
S,
|
|
159
121
|
i,
|
|
160
|
-
|
|
161
|
-
p,
|
|
162
|
-
o,
|
|
122
|
+
u,
|
|
163
123
|
m,
|
|
124
|
+
n,
|
|
125
|
+
l,
|
|
164
126
|
J,
|
|
165
|
-
|
|
127
|
+
a
|
|
166
128
|
];
|
|
167
129
|
}
|
|
168
|
-
class
|
|
169
|
-
constructor(
|
|
130
|
+
class re extends K {
|
|
131
|
+
constructor(e) {
|
|
170
132
|
super(), M(
|
|
171
133
|
this,
|
|
172
|
-
|
|
173
|
-
|
|
134
|
+
e,
|
|
135
|
+
ee,
|
|
174
136
|
$,
|
|
175
137
|
N,
|
|
176
138
|
{
|
|
@@ -186,5 +148,5 @@ class Qt extends K {
|
|
|
186
148
|
}
|
|
187
149
|
}
|
|
188
150
|
export {
|
|
189
|
-
|
|
151
|
+
re as TagWrapper
|
|
190
152
|
};
|
|
@@ -31,8 +31,8 @@ import { Subscribe as U } from "@realsee/five";
|
|
|
31
31
|
import { Quaternion as k } from "three";
|
|
32
32
|
import m from "object-assign-deep";
|
|
33
33
|
import { writable as F } from "../../vendor/svelte/store/index.js";
|
|
34
|
-
import L from "../Components/TagContainer.js";
|
|
35
|
-
import B from "../Components/Tag/index.js";
|
|
34
|
+
import { TagContainer as L } from "../Components/TagContainer.js";
|
|
35
|
+
import { Tag as B } from "../Components/Tag/index.js";
|
|
36
36
|
import { arrayPositionToVector3 as g } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
37
37
|
import { addDebugPoints as O } from "../utils/addDebugPoints.js";
|
|
38
38
|
import { planeNormal as I } from "../utils/planeNormal.js";
|
|
@@ -1,5 +1,92 @@
|
|
|
1
|
-
import { PanoTagPluginController as
|
|
2
|
-
|
|
1
|
+
import { PanoTagPluginController as t } from "./controller/index.js";
|
|
2
|
+
import { PanoTagPluginController as Ao, pluginFlag as Bo } from "./controller/index.js";
|
|
3
|
+
import { ContentType as Go, DimensionType as Ho, LinkType as Io, PointType as Jo } from "./typings/tag.js";
|
|
4
|
+
import "@realsee/five";
|
|
5
|
+
import "three";
|
|
6
|
+
import "object-assign-deep";
|
|
7
|
+
import "../vendor/svelte/store/index.js";
|
|
8
|
+
import "../vendor/svelte/internal/index.js";
|
|
9
|
+
import "./Components/TagContainer.js";
|
|
10
|
+
import "./Components/TagWrapper.js";
|
|
11
|
+
import "./utils/noTypecheck.js";
|
|
12
|
+
import "./Components/Tag/index.js";
|
|
13
|
+
import "./Components/Tag/TextTag.js";
|
|
14
|
+
import "./Components/Common/Line/Straight.js";
|
|
15
|
+
import "../vendor/svelte/transition/index.js";
|
|
16
|
+
import "../vendor/svelte/easing/index.js";
|
|
17
|
+
import "../shared-utils/uuid.js";
|
|
18
|
+
import "./Components/Common/Shadow.js";
|
|
19
|
+
import "./Components/Common/MultiLineText.js";
|
|
20
|
+
import "./Components/Common/Text.js";
|
|
21
|
+
import "animejs";
|
|
22
|
+
import "../shared-utils/isNil.js";
|
|
23
|
+
import "./utils/search.js";
|
|
24
|
+
import "./utils/constants.js";
|
|
25
|
+
import "./Components/Common/Arrow.js";
|
|
26
|
+
import "./Assets/Icon.js";
|
|
27
|
+
import "./utils/doUtil.js";
|
|
28
|
+
import "./Components/Tag/ImageTextTag.js";
|
|
29
|
+
import "./Components/Common/Line/Polyline.js";
|
|
30
|
+
import "./Components/Common/Media.js";
|
|
31
|
+
import "../vendor/swiper/svelte/swiper.js";
|
|
32
|
+
import "swiper";
|
|
33
|
+
import "../vendor/swiper/components-shared/get-params.js";
|
|
34
|
+
import "../vendor/swiper/components-shared/utils.js";
|
|
35
|
+
import "../vendor/swiper/components-shared/params-list.js";
|
|
36
|
+
import "../vendor/swiper/components-shared/mount-swiper.js";
|
|
37
|
+
import "../vendor/swiper/components-shared/get-changed-params.js";
|
|
38
|
+
import "../vendor/swiper/components-shared/update-swiper.js";
|
|
39
|
+
import "../vendor/swiper/svelte/swiper-slide.js";
|
|
40
|
+
import "swiper/css";
|
|
41
|
+
import "swiper/css/autoplay";
|
|
42
|
+
import "./Components/Common/MediaItem.js";
|
|
43
|
+
import "./Components/Tag/MarketingTag.js";
|
|
44
|
+
import "./Components/Tag/AudioTag.js";
|
|
45
|
+
import "./Components/Common/Audio.js";
|
|
46
|
+
import "./Components/Tag/MediaPlane.js";
|
|
47
|
+
import "./Components/Tag/LinkTag.js";
|
|
48
|
+
import "./Components/Tag/CustomTag.js";
|
|
49
|
+
import "./Components/Common/Point/PointSwitch.js";
|
|
50
|
+
import "./Components/Common/Point/CustomPoint.js";
|
|
51
|
+
import "./Components/Common/Point/DefaultPoint.js";
|
|
52
|
+
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
53
|
+
import "./utils/addDebugPoints.js";
|
|
54
|
+
import "./utils/planeNormal.js";
|
|
55
|
+
import "./utils/actionAfterFiveModelLoad.js";
|
|
56
|
+
import "./utils/normalPositionToPositions.js";
|
|
57
|
+
import "./utils/debounce.js";
|
|
58
|
+
import "./utils/throttle.js";
|
|
59
|
+
import "./utils/resizeObserver.js";
|
|
60
|
+
import "./controller/TagComputer.js";
|
|
61
|
+
import "./tag.config.js";
|
|
62
|
+
import "./utils/tagPosition.js";
|
|
63
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
64
|
+
import "./utils/checkRange.js";
|
|
65
|
+
import "./controller/TagCacheController.js";
|
|
66
|
+
import "../base/BasePlugin.js";
|
|
67
|
+
import "../shared-utils/Subscribe.js";
|
|
68
|
+
import "../CSS3DRenderPlugin/index.js";
|
|
69
|
+
import "../CSS3DRenderPlugin/Controller.js";
|
|
70
|
+
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
71
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
72
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
73
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
74
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
75
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
76
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
77
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
78
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
79
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
80
|
+
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
81
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
82
|
+
const qo = (o, r) => new t(o, r);
|
|
3
83
|
export {
|
|
4
|
-
|
|
84
|
+
Go as ContentType,
|
|
85
|
+
Ho as DimensionType,
|
|
86
|
+
Io as LinkType,
|
|
87
|
+
qo as PanoTagPlugin,
|
|
88
|
+
Ao as PanoTagPluginController,
|
|
89
|
+
Jo as PointType,
|
|
90
|
+
qo as default,
|
|
91
|
+
Bo as pluginFlag
|
|
5
92
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SvelteComponent as d, init as b, safe_not_equal as v, append_styles as k, element as h, attr as y, insert as I, transition_out as u, check_outros as
|
|
2
|
-
import w from "./Normalmage.js";
|
|
3
|
-
import C from "./SvgImage.js";
|
|
1
|
+
import { SvelteComponent as d, init as b, safe_not_equal as v, append_styles as k, element as h, attr as y, insert as I, group_outros as D, transition_out as u, check_outros as x, transition_in as c, detach as z, create_component as _, mount_component as g, destroy_component as p } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Normalmage as w } from "./Normalmage.js";
|
|
3
|
+
import { SvgImage as C } from "./SvgImage.js";
|
|
4
4
|
function S(l) {
|
|
5
5
|
k(l, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
6
6
|
}
|
|
@@ -69,9 +69,9 @@ function B(l) {
|
|
|
69
69
|
},
|
|
70
70
|
p(o, [s]) {
|
|
71
71
|
let m = t;
|
|
72
|
-
t = f(o), t === m ? ~t && a[t].p(o, s) : (e && (
|
|
72
|
+
t = f(o), t === m ? ~t && a[t].p(o, s) : (e && (D(), u(a[m], 1, 1, () => {
|
|
73
73
|
a[m] = null;
|
|
74
|
-
}),
|
|
74
|
+
}), x()), ~t ? (e = a[t], e ? e.p(o, s) : (e = a[t] = i[t](o), e.c()), c(e, 1), e.m(n, null)) : e = null);
|
|
75
75
|
},
|
|
76
76
|
i(o) {
|
|
77
77
|
r || (c(e), r = !0);
|
|
@@ -80,7 +80,7 @@ function B(l) {
|
|
|
80
80
|
u(e), r = !1;
|
|
81
81
|
},
|
|
82
82
|
d(o) {
|
|
83
|
-
o &&
|
|
83
|
+
o && z(n), ~t && a[t].d();
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
}
|
|
@@ -99,5 +99,5 @@ class F extends d {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
export {
|
|
102
|
-
F as
|
|
102
|
+
F as BaseImage
|
|
103
103
|
};
|
|
@@ -10,11 +10,11 @@ function w(t) {
|
|
|
10
10
|
c() {
|
|
11
11
|
o = c("div"), e = c("div"), d(e, "class", "floorplan__camera-rotate svelte-17cl35n"), a(e, "background-image", `url(${t[0] || g})`), a(e, "width", t[4]), a(e, "height", t[4]), a(e, "left", "-" + t[4]), a(e, "top", "-" + t[4]), a(e, "transform", `rotate(${t[3]}deg)`), a(e, "transform-origin", `${t[4]} ${t[4]}`), d(o, "class", "floorplan__camera-position svelte-17cl35n"), a(o, "left", t[1]), a(o, "top", t[2]);
|
|
12
12
|
},
|
|
13
|
-
m(n,
|
|
14
|
-
U(n, o,
|
|
13
|
+
m(n, r) {
|
|
14
|
+
U(n, o, r), A(o, e);
|
|
15
15
|
},
|
|
16
|
-
p(n, [
|
|
17
|
-
|
|
16
|
+
p(n, [r]) {
|
|
17
|
+
r & 1 && a(e, "background-image", `url(${n[0] || g})`);
|
|
18
18
|
},
|
|
19
19
|
i: f,
|
|
20
20
|
o: f,
|
|
@@ -24,10 +24,10 @@ function w(t) {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
function E(t, o, e) {
|
|
27
|
-
let { panoIndex: n } = o, { floorplanData:
|
|
28
|
-
const { observers: u } =
|
|
27
|
+
let { panoIndex: n } = o, { floorplanData: r } = o, { lastPanoramaLongitude: l } = o, { cameraImageUrl: s } = o;
|
|
28
|
+
const { observers: u } = r, m = u[n], p = m.positionInImage.x, _ = m.positionInImage.y, I = p * 100 + "%", b = _ * 100 + "%", h = -R(l) + 45, v = document.body.clientWidth, y = document.body.clientHeight, D = `${(v < 500 || y < 500 ? 17 : 37) / 16}rem`;
|
|
29
29
|
return t.$$set = (i) => {
|
|
30
|
-
"panoIndex" in i && e(5, n = i.panoIndex), "floorplanData" in i && e(6,
|
|
30
|
+
"panoIndex" in i && e(5, n = i.panoIndex), "floorplanData" in i && e(6, r = i.floorplanData), "lastPanoramaLongitude" in i && e(7, l = i.lastPanoramaLongitude), "cameraImageUrl" in i && e(0, s = i.cameraImageUrl);
|
|
31
31
|
}, [
|
|
32
32
|
s,
|
|
33
33
|
I,
|
|
@@ -35,8 +35,8 @@ function E(t, o, e) {
|
|
|
35
35
|
h,
|
|
36
36
|
D,
|
|
37
37
|
n,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
r,
|
|
39
|
+
l
|
|
40
40
|
];
|
|
41
41
|
}
|
|
42
42
|
class G extends L {
|
|
@@ -58,5 +58,5 @@ class G extends L {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
export {
|
|
61
|
-
G as
|
|
61
|
+
G as Camera
|
|
62
62
|
};
|