@realsee/dnalogel 2.22.0-dev.8 → 2.23.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/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4614 -4447
- package/dist/index.umd.js +58 -58
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +48 -48
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/CruisePlugin/Controller.js +103 -90
- package/libs/CruisePlugin/index.js +22 -9
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +38 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +48 -37
- package/libs/PanoMeasurePlugin/Components/Controller1.js +59 -48
- package/libs/PanoMeasurePlugin/Components/Tip.js +74 -64
- package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +25 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -5
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
- package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +95 -82
- package/libs/PanoTagPlugin/index.js +26 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +16 -13
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +25 -20
- package/libs/floorplan/Components/Main.js +58 -49
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +126 -112
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +1 -1
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -11,7 +11,7 @@ var m = (h, s, t) => s in h ? F(h, s, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return h;
|
|
12
12
|
}, v = (h, s) => E(h, C(s));
|
|
13
13
|
var o = (h, s, t) => (m(h, typeof s != "symbol" ? s + "" : s, t), t);
|
|
14
|
-
var
|
|
14
|
+
var p = (h, s, t) => new Promise((e, i) => {
|
|
15
15
|
var r = (n) => {
|
|
16
16
|
try {
|
|
17
17
|
a(t.next(n));
|
|
@@ -38,17 +38,29 @@ import { FLOOR_PLAN_ATTACHED_TO as D } from "../constant.js";
|
|
|
38
38
|
import { Controller as k } from "../../base/BasePluginWithData.js";
|
|
39
39
|
import { checkShowState as T, correctFiveState as G } from "../utils/correctFiveState.js";
|
|
40
40
|
import { changeModelCanvasOpacity as A } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
|
-
import { FIVE_CAMERA_DEFAULT_FOV as H, FloorplanErrorType as
|
|
41
|
+
import { FIVE_CAMERA_DEFAULT_FOV as H, FloorplanErrorType as f, SHOW_ANIME_DURATION as W } from "../utils/constant.js";
|
|
42
42
|
import "../../shared-utils/isTruelyObject.js";
|
|
43
|
-
import "../../vendor/svelte/internal/
|
|
44
|
-
import "../../vendor/svelte/
|
|
45
|
-
import "../../vendor/svelte/
|
|
43
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
44
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
45
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
46
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
47
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
48
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
49
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
50
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
51
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
52
|
+
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
53
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
54
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
55
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
56
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
57
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
46
58
|
import "../Components/Camera.js";
|
|
47
59
|
import "../../shared-utils/math/rad2Deg.js";
|
|
48
60
|
import "../Components/Compass.js";
|
|
49
61
|
import "../Assets/compass.js";
|
|
50
62
|
import "../Components/CurrentFloor.js";
|
|
51
|
-
import "../../vendor/svelte/store/index.js";
|
|
63
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
52
64
|
import "../Components/BaseImage.js";
|
|
53
65
|
import "../Components/Normalmage.js";
|
|
54
66
|
import "../Components/SvgImage.js";
|
|
@@ -97,7 +109,7 @@ function N(h) {
|
|
|
97
109
|
const { latitude: s, longitude: t } = h, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
98
110
|
return e && i;
|
|
99
111
|
}
|
|
100
|
-
class
|
|
112
|
+
class he extends k {
|
|
101
113
|
constructor(t, e) {
|
|
102
114
|
var a;
|
|
103
115
|
super(t);
|
|
@@ -147,14 +159,14 @@ class Qt extends k {
|
|
|
147
159
|
* @param opts.isAutoShow 是否是自动展示
|
|
148
160
|
* @param opts.userAction 是否是用户行为
|
|
149
161
|
*/
|
|
150
|
-
o(this, "show", (...e) =>
|
|
162
|
+
o(this, "show", (...e) => p(this, [...e], function* (t = {}) {
|
|
151
163
|
if (!this.state.enabled || !this.showPromise && this.state.visible)
|
|
152
164
|
return;
|
|
153
165
|
const i = t.userAction !== void 0 ? t.userAction : !0;
|
|
154
166
|
this.updateState({ visible: !0 }, i), this._show(t);
|
|
155
167
|
}));
|
|
156
168
|
/** 隐藏户型图 */
|
|
157
|
-
o(this, "hide", (...e) =>
|
|
169
|
+
o(this, "hide", (...e) => p(this, [...e], function* (t = {}) {
|
|
158
170
|
this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
|
|
159
171
|
}));
|
|
160
172
|
/** 更新户型图大小 */
|
|
@@ -173,20 +185,20 @@ class Qt extends k {
|
|
|
173
185
|
o(this, "_disable", (t) => {
|
|
174
186
|
var i, r, d;
|
|
175
187
|
const { userAction: e } = t;
|
|
176
|
-
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this,
|
|
188
|
+
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (r = this.app) == null || r.$destroy(), this.app = void 0, (d = this.container) == null || d.remove(), this.removeEventListener();
|
|
177
189
|
});
|
|
178
190
|
o(this, "_enable", (t) => {
|
|
179
191
|
const { userAction: e } = t;
|
|
180
192
|
this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
|
|
181
193
|
});
|
|
182
|
-
o(this, "_show", (t) =>
|
|
194
|
+
o(this, "_show", (t) => p(this, null, function* () {
|
|
183
195
|
var d;
|
|
184
196
|
if (!this.state.enabled)
|
|
185
197
|
return;
|
|
186
198
|
if (!((d = this.five.model) != null && d.loaded))
|
|
187
|
-
throw new Error(
|
|
199
|
+
throw new Error(f.ModelNotLoaded);
|
|
188
200
|
if (!this.data)
|
|
189
|
-
throw new Error(
|
|
201
|
+
throw new Error(f.DataNotLoaded);
|
|
190
202
|
this.isHiddenByHideFunc = !1;
|
|
191
203
|
const e = {
|
|
192
204
|
floorIndex: this.floorIndex,
|
|
@@ -194,7 +206,7 @@ class Qt extends k {
|
|
|
194
206
|
immediately: !1,
|
|
195
207
|
isAutoShow: !1,
|
|
196
208
|
userAction: !0
|
|
197
|
-
}, i = u(u({}, e), t), r = () =>
|
|
209
|
+
}, i = u(u({}, e), t), r = () => p(this, null, function* () {
|
|
198
210
|
this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
|
|
199
211
|
let a = !1, n;
|
|
200
212
|
this.showRejection = (S) => {
|
|
@@ -204,10 +216,10 @@ class Qt extends k {
|
|
|
204
216
|
if (l)
|
|
205
217
|
throw l;
|
|
206
218
|
if (a)
|
|
207
|
-
throw n ? new Error(n) : new Error(
|
|
219
|
+
throw n ? new Error(n) : new Error(f.UnknownError);
|
|
208
220
|
this.updateSize(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
|
|
209
|
-
const
|
|
210
|
-
A(this.five,
|
|
221
|
+
const c = i.modelOpacity, g = i.immediately ? 0 : W;
|
|
222
|
+
A(this.five, c, g), this.render(g);
|
|
211
223
|
});
|
|
212
224
|
return this.showPromise = r().then(() => {
|
|
213
225
|
this.hooks.emit("showAnimationEnded", {
|
|
@@ -223,7 +235,7 @@ class Qt extends k {
|
|
|
223
235
|
}));
|
|
224
236
|
o(this, "_hide", (t) => {
|
|
225
237
|
var r;
|
|
226
|
-
(r = this.showRejection) == null || r.call(this,
|
|
238
|
+
(r = this.showRejection) == null || r.call(this, f.BreakOffByHide), this.showPromise = void 0;
|
|
227
239
|
const i = u(u({}, {
|
|
228
240
|
userAction: !0,
|
|
229
241
|
isAutoHide: !1
|
|
@@ -327,9 +339,9 @@ class Qt extends k {
|
|
|
327
339
|
}, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
328
340
|
}
|
|
329
341
|
load(t, e, i = !0) {
|
|
330
|
-
return
|
|
331
|
-
function r(
|
|
332
|
-
return Object.prototype.hasOwnProperty.apply(
|
|
342
|
+
return p(this, null, function* () {
|
|
343
|
+
function r(c) {
|
|
344
|
+
return Object.prototype.hasOwnProperty.apply(c, ["version"]);
|
|
333
345
|
}
|
|
334
346
|
const d = t;
|
|
335
347
|
d && !d.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
@@ -369,7 +381,7 @@ class Qt extends k {
|
|
|
369
381
|
this.updateState({ config: t }, e), this.render();
|
|
370
382
|
}
|
|
371
383
|
formatData(t) {
|
|
372
|
-
return
|
|
384
|
+
return p(this, null, function* () {
|
|
373
385
|
return yield b(t.data);
|
|
374
386
|
});
|
|
375
387
|
}
|
|
@@ -419,5 +431,5 @@ class Qt extends k {
|
|
|
419
431
|
}
|
|
420
432
|
}
|
|
421
433
|
export {
|
|
422
|
-
|
|
434
|
+
he as Controller
|
|
423
435
|
};
|
|
@@ -3,16 +3,28 @@ import "../../shared-utils/to.js";
|
|
|
3
3
|
import "../../shared-utils/equal.js";
|
|
4
4
|
import "../../shared-utils/isTruelyObject.js";
|
|
5
5
|
import "../Components/Main.js";
|
|
6
|
-
import "../../vendor/svelte/internal/
|
|
7
|
-
import "../../vendor/svelte/
|
|
8
|
-
import "../../vendor/svelte/
|
|
6
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
7
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
8
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
9
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
13
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
14
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
15
|
+
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
16
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
17
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
18
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
19
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
20
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
9
21
|
import "../Components/Camera.js";
|
|
10
22
|
import "../Assets/camera.js";
|
|
11
23
|
import "../../shared-utils/math/rad2Deg.js";
|
|
12
24
|
import "../Components/Compass.js";
|
|
13
25
|
import "../Assets/compass.js";
|
|
14
26
|
import "../Components/CurrentFloor.js";
|
|
15
|
-
import "../../vendor/svelte/store/index.js";
|
|
27
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
16
28
|
import "../Components/BaseImage.js";
|
|
17
29
|
import "../Components/Normalmage.js";
|
|
18
30
|
import "../Components/SvgImage.js";
|
|
@@ -61,8 +73,8 @@ import "../utils/constant.js";
|
|
|
61
73
|
import "../../shared-utils/nearlyEqual.js";
|
|
62
74
|
import "../../shared-utils/five/changeMode.js";
|
|
63
75
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
64
|
-
const
|
|
76
|
+
const ko = (o, r) => new t(o, r);
|
|
65
77
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
78
|
+
ko as ModelFloorplanPlugin,
|
|
79
|
+
ko as default
|
|
68
80
|
};
|
|
@@ -1,102 +1,112 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as D, noop as x } from "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as w, element as u, attr as g, set_style as m, insert as k, append as I, detach as T } from "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { onMount as W } from "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
4
|
+
import { SvelteComponent as P, init as S } from "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
5
|
+
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
6
|
import { CAMERA_IMAGE as b } from "../../Assets/camera.js";
|
|
3
7
|
import { throttle as E } from "../../../shared-utils/throttle.js";
|
|
8
|
+
import "../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
9
|
+
import "../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
10
|
+
import "../../../vendor/svelte/src/runtime/internal/environment.js";
|
|
11
|
+
import "../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
12
|
+
import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
13
|
+
import "../../../vendor/svelte/src/shared/version.js";
|
|
4
14
|
function F(n) {
|
|
5
|
-
|
|
15
|
+
w(n, "svelte-1nqrlxd", ".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
|
|
6
16
|
}
|
|
7
17
|
function R(n) {
|
|
8
|
-
let
|
|
18
|
+
let o, e, a;
|
|
9
19
|
return {
|
|
10
20
|
c() {
|
|
11
|
-
|
|
12
|
-
(n[0] || b) + ")"),
|
|
13
|
-
|
|
21
|
+
o = u("div"), e = u("div"), a = u("div"), g(a, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), m(a, "background-image", "url(" + /*cameraImageUrl*/
|
|
22
|
+
(n[0] || b) + ")"), m(
|
|
23
|
+
a,
|
|
14
24
|
"transform",
|
|
15
25
|
/*rotateTransform*/
|
|
16
26
|
n[1]
|
|
17
|
-
),
|
|
18
|
-
|
|
27
|
+
), g(e, "class", "plugin-radar__camera-position svelte-1nqrlxd"), m(
|
|
28
|
+
e,
|
|
19
29
|
"transform",
|
|
20
30
|
/*positionTransform*/
|
|
21
31
|
n[2]
|
|
22
|
-
),
|
|
32
|
+
), g(o, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
|
|
23
33
|
},
|
|
24
34
|
m(i, r) {
|
|
25
|
-
|
|
35
|
+
k(i, o, r), I(o, e), I(e, a);
|
|
26
36
|
},
|
|
27
37
|
p(i, [r]) {
|
|
28
38
|
r & /*cameraImageUrl*/
|
|
29
|
-
1 &&
|
|
39
|
+
1 && m(a, "background-image", "url(" + /*cameraImageUrl*/
|
|
30
40
|
(i[0] || b) + ")"), (r & /*cameraImageUrl*/
|
|
31
41
|
1 || r & /*rotateTransform, cameraImageUrl*/
|
|
32
|
-
3) &&
|
|
33
|
-
|
|
42
|
+
3) && m(
|
|
43
|
+
a,
|
|
34
44
|
"transform",
|
|
35
45
|
/*rotateTransform*/
|
|
36
46
|
i[1]
|
|
37
47
|
), r & /*positionTransform*/
|
|
38
|
-
4 &&
|
|
39
|
-
|
|
48
|
+
4 && m(
|
|
49
|
+
e,
|
|
40
50
|
"transform",
|
|
41
51
|
/*positionTransform*/
|
|
42
52
|
i[2]
|
|
43
53
|
);
|
|
44
54
|
},
|
|
45
|
-
i:
|
|
46
|
-
o:
|
|
55
|
+
i: x,
|
|
56
|
+
o: x,
|
|
47
57
|
d(i) {
|
|
48
|
-
i &&
|
|
58
|
+
i && T(o);
|
|
49
59
|
}
|
|
50
60
|
};
|
|
51
61
|
}
|
|
52
62
|
function z(n) {
|
|
53
63
|
return `rotate(${Math.floor(n / Math.PI * 180) * -1 + 45}deg)`;
|
|
54
64
|
}
|
|
55
|
-
function G(n,
|
|
56
|
-
let
|
|
57
|
-
function q(
|
|
58
|
-
const s =
|
|
59
|
-
if (!
|
|
65
|
+
function G(n, o, e) {
|
|
66
|
+
let a, i, { five: r } = o, { pxmm: l } = o, { floorplanData: f } = o, { cameraImageUrl: _ } = o, c = r.getCurrentState().panoIndex, p = r.getCurrentState().longitude;
|
|
67
|
+
function q(t, C) {
|
|
68
|
+
const s = t.bounding, d = t.observers[C];
|
|
69
|
+
if (!d)
|
|
60
70
|
return "";
|
|
61
|
-
const M = (s.max.x - s.min.x) *
|
|
71
|
+
const M = (s.max.x - s.min.x) * l, U = (s.max.y - s.min.y) * l, y = Math.floor(d.positionInImage.x * M), A = Math.floor(d.positionInImage.y * U);
|
|
62
72
|
return `translate(${y}px, ${A}px)`;
|
|
63
73
|
}
|
|
64
|
-
function h(
|
|
65
|
-
|
|
74
|
+
function h(t) {
|
|
75
|
+
e(6, c = t);
|
|
66
76
|
}
|
|
67
77
|
const v = E(
|
|
68
|
-
(
|
|
69
|
-
|
|
78
|
+
(t) => {
|
|
79
|
+
e(7, p = t.longitude);
|
|
70
80
|
},
|
|
71
81
|
1e3 / 60
|
|
72
82
|
);
|
|
73
|
-
return
|
|
83
|
+
return W(() => (r.on("panoWillArrive", h), r.on("cameraDirectionUpdate", v), function() {
|
|
74
84
|
r.off("panoWillArrive", h), r.off("cameraDirectionUpdate", v);
|
|
75
|
-
})), n.$$set = (
|
|
76
|
-
"five" in
|
|
85
|
+
})), n.$$set = (t) => {
|
|
86
|
+
"five" in t && e(3, r = t.five), "pxmm" in t && e(4, l = t.pxmm), "floorplanData" in t && e(5, f = t.floorplanData), "cameraImageUrl" in t && e(0, _ = t.cameraImageUrl);
|
|
77
87
|
}, n.$$.update = () => {
|
|
78
88
|
n.$$.dirty & /*floorplanData, panoIndex*/
|
|
79
|
-
96 &&
|
|
80
|
-
128 &&
|
|
89
|
+
96 && e(2, a = q(f, c)), n.$$.dirty & /*longitude*/
|
|
90
|
+
128 && e(1, i = z(p));
|
|
81
91
|
}, [
|
|
82
92
|
_,
|
|
83
93
|
i,
|
|
84
|
-
|
|
94
|
+
a,
|
|
85
95
|
r,
|
|
86
|
-
|
|
96
|
+
l,
|
|
87
97
|
f,
|
|
88
98
|
c,
|
|
89
|
-
|
|
99
|
+
p
|
|
90
100
|
];
|
|
91
101
|
}
|
|
92
|
-
class
|
|
93
|
-
constructor(
|
|
94
|
-
super(),
|
|
102
|
+
class $ extends P {
|
|
103
|
+
constructor(o) {
|
|
104
|
+
super(), S(
|
|
95
105
|
this,
|
|
96
|
-
|
|
106
|
+
o,
|
|
97
107
|
G,
|
|
98
108
|
R,
|
|
99
|
-
|
|
109
|
+
D,
|
|
100
110
|
{
|
|
101
111
|
five: 3,
|
|
102
112
|
pxmm: 4,
|
|
@@ -108,5 +118,5 @@ class B extends D {
|
|
|
108
118
|
}
|
|
109
119
|
}
|
|
110
120
|
export {
|
|
111
|
-
|
|
121
|
+
$ as default
|
|
112
122
|
};
|
|
@@ -1,55 +1,67 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as E, assign as k } from "../../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { space as j, empty as O, insert as p, detach as b } from "../../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { transition_in as u, transition_out as _, check_outros as R, group_outros as C } from "../../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { get_spread_update as x } from "../../../../vendor/svelte/src/runtime/internal/spread.js";
|
|
5
|
+
import { SvelteComponent as H, init as w, create_component as c, mount_component as d, destroy_component as D } from "../../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
6
|
+
import "../../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
7
|
import F from "./ExtraObjects.js";
|
|
3
8
|
import { BaseImage as q } from "../../../Components/BaseImage.js";
|
|
4
9
|
import { RoomHighlight as B } from "../../../Components/RoomHighlight/RoomHighlight.js";
|
|
10
|
+
import "../../../../vendor/svelte/src/runtime/internal/environment.js";
|
|
11
|
+
import "../../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
12
|
+
import "../../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
13
|
+
import "../../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
14
|
+
import "../../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
15
|
+
import "../../../../vendor/svelte/src/shared/version.js";
|
|
16
|
+
import "../../../../vendor/svelte/src/runtime/internal/each.js";
|
|
5
17
|
import "../../../Components/Normalmage.js";
|
|
6
18
|
import "../../../Components/SvgImage.js";
|
|
7
19
|
import "../../../Components/RoomHighlight/Room.js";
|
|
8
20
|
import "../../../utils/formatPosition.js";
|
|
9
|
-
function v(
|
|
10
|
-
let o,
|
|
11
|
-
const
|
|
21
|
+
function v(n) {
|
|
22
|
+
let o, f;
|
|
23
|
+
const l = [
|
|
12
24
|
{
|
|
13
25
|
five: (
|
|
14
26
|
/*five*/
|
|
15
|
-
|
|
27
|
+
n[0]
|
|
16
28
|
),
|
|
17
29
|
pxmm: (
|
|
18
30
|
/*pxmm*/
|
|
19
|
-
|
|
31
|
+
n[1]
|
|
20
32
|
),
|
|
21
33
|
floorIndex: (
|
|
22
34
|
/*floorIndex*/
|
|
23
|
-
|
|
35
|
+
n[2]
|
|
24
36
|
),
|
|
25
37
|
floorplanData: (
|
|
26
38
|
/*floorplanData*/
|
|
27
|
-
|
|
39
|
+
n[4]
|
|
28
40
|
),
|
|
29
41
|
onRoomHeightClick: (
|
|
30
42
|
/*onRoomHeightClick*/
|
|
31
|
-
|
|
43
|
+
n[7]
|
|
32
44
|
),
|
|
33
45
|
highlightData: (
|
|
34
46
|
/*highlightData*/
|
|
35
|
-
|
|
47
|
+
n[5]
|
|
36
48
|
),
|
|
37
49
|
hoveredRoom: void 0
|
|
38
50
|
}
|
|
39
51
|
];
|
|
40
52
|
let h = {};
|
|
41
|
-
for (let t = 0; t <
|
|
42
|
-
h = k(h,
|
|
53
|
+
for (let t = 0; t < l.length; t += 1)
|
|
54
|
+
h = k(h, l[t]);
|
|
43
55
|
return o = new B({ props: h }), {
|
|
44
56
|
c() {
|
|
45
|
-
|
|
57
|
+
c(o.$$.fragment);
|
|
46
58
|
},
|
|
47
|
-
m(t,
|
|
48
|
-
|
|
59
|
+
m(t, a) {
|
|
60
|
+
d(o, t, a), f = !0;
|
|
49
61
|
},
|
|
50
|
-
p(t,
|
|
51
|
-
const g =
|
|
52
|
-
183 ? x(
|
|
62
|
+
p(t, a) {
|
|
63
|
+
const g = a & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData, undefined*/
|
|
64
|
+
183 ? x(l, [
|
|
53
65
|
{
|
|
54
66
|
five: (
|
|
55
67
|
/*five*/
|
|
@@ -81,54 +93,54 @@ function v(l) {
|
|
|
81
93
|
o.$set(g);
|
|
82
94
|
},
|
|
83
95
|
i(t) {
|
|
84
|
-
|
|
96
|
+
f || (u(o.$$.fragment, t), f = !0);
|
|
85
97
|
},
|
|
86
98
|
o(t) {
|
|
87
|
-
_(o.$$.fragment, t),
|
|
99
|
+
_(o.$$.fragment, t), f = !1;
|
|
88
100
|
},
|
|
89
101
|
d(t) {
|
|
90
|
-
|
|
102
|
+
D(o, t);
|
|
91
103
|
}
|
|
92
104
|
};
|
|
93
105
|
}
|
|
94
|
-
function N(
|
|
95
|
-
let o,
|
|
106
|
+
function N(n) {
|
|
107
|
+
let o, f, l, h, t, a;
|
|
96
108
|
const g = [
|
|
97
109
|
{
|
|
98
110
|
floorIndex: (
|
|
99
111
|
/*floorIndex*/
|
|
100
|
-
|
|
112
|
+
n[2]
|
|
101
113
|
),
|
|
102
114
|
floorplanData: (
|
|
103
115
|
/*floorplanData*/
|
|
104
|
-
|
|
116
|
+
n[4]
|
|
105
117
|
)
|
|
106
118
|
}
|
|
107
119
|
];
|
|
108
120
|
let s = {};
|
|
109
121
|
for (let e = 0; e < g.length; e += 1)
|
|
110
122
|
s = k(s, g[e]);
|
|
111
|
-
o = new q({ props: s }),
|
|
123
|
+
o = new q({ props: s }), l = new F({
|
|
112
124
|
props: {
|
|
113
125
|
extraObjects: (
|
|
114
126
|
/*currentFloorExtraObjects*/
|
|
115
|
-
|
|
127
|
+
n[6]
|
|
116
128
|
)
|
|
117
129
|
}
|
|
118
130
|
});
|
|
119
|
-
let
|
|
131
|
+
let i = (
|
|
120
132
|
/*hoverEnable*/
|
|
121
|
-
|
|
133
|
+
n[3] && v(n)
|
|
122
134
|
);
|
|
123
135
|
return {
|
|
124
136
|
c() {
|
|
125
|
-
|
|
137
|
+
c(o.$$.fragment), f = j(), c(l.$$.fragment), h = j(), i && i.c(), t = O();
|
|
126
138
|
},
|
|
127
|
-
m(e,
|
|
128
|
-
|
|
139
|
+
m(e, m) {
|
|
140
|
+
d(o, e, m), p(e, f, m), d(l, e, m), p(e, h, m), i && i.m(e, m), p(e, t, m), a = !0;
|
|
129
141
|
},
|
|
130
|
-
p(e, [
|
|
131
|
-
const
|
|
142
|
+
p(e, [m]) {
|
|
143
|
+
const r = m & /*floorIndex, floorplanData*/
|
|
132
144
|
20 ? x(g, [
|
|
133
145
|
{
|
|
134
146
|
floorIndex: (
|
|
@@ -141,50 +153,50 @@ function N(l) {
|
|
|
141
153
|
)
|
|
142
154
|
}
|
|
143
155
|
]) : {};
|
|
144
|
-
o.$set(
|
|
156
|
+
o.$set(r);
|
|
145
157
|
const I = {};
|
|
146
|
-
|
|
158
|
+
m & /*currentFloorExtraObjects*/
|
|
147
159
|
64 && (I.extraObjects = /*currentFloorExtraObjects*/
|
|
148
|
-
e[6]),
|
|
149
|
-
e[3] ?
|
|
150
|
-
8 && u(
|
|
151
|
-
|
|
152
|
-
}),
|
|
160
|
+
e[6]), l.$set(I), /*hoverEnable*/
|
|
161
|
+
e[3] ? i ? (i.p(e, m), m & /*hoverEnable*/
|
|
162
|
+
8 && u(i, 1)) : (i = v(e), i.c(), u(i, 1), i.m(t.parentNode, t)) : i && (C(), _(i, 1, 1, () => {
|
|
163
|
+
i = null;
|
|
164
|
+
}), R());
|
|
153
165
|
},
|
|
154
166
|
i(e) {
|
|
155
|
-
|
|
167
|
+
a || (u(o.$$.fragment, e), u(l.$$.fragment, e), u(i), a = !0);
|
|
156
168
|
},
|
|
157
169
|
o(e) {
|
|
158
|
-
_(o.$$.fragment, e), _(
|
|
170
|
+
_(o.$$.fragment, e), _(l.$$.fragment, e), _(i), a = !1;
|
|
159
171
|
},
|
|
160
172
|
d(e) {
|
|
161
|
-
|
|
173
|
+
e && (b(f), b(h), b(t)), D(o, e), D(l, e), i && i.d(e);
|
|
162
174
|
}
|
|
163
175
|
};
|
|
164
176
|
}
|
|
165
|
-
function S(
|
|
166
|
-
let
|
|
167
|
-
const
|
|
168
|
-
return
|
|
169
|
-
"five" in
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
260 &&
|
|
177
|
+
function S(n, o, f) {
|
|
178
|
+
let l, { five: h } = o, { pxmm: t } = o, { floorIndex: a } = o, { hoverEnable: g } = o, { floorplanData: s } = o, { extraObjects: i = [] } = o, { highlightData: e } = o;
|
|
179
|
+
const m = void 0;
|
|
180
|
+
return n.$$set = (r) => {
|
|
181
|
+
"five" in r && f(0, h = r.five), "pxmm" in r && f(1, t = r.pxmm), "floorIndex" in r && f(2, a = r.floorIndex), "hoverEnable" in r && f(3, g = r.hoverEnable), "floorplanData" in r && f(4, s = r.floorplanData), "extraObjects" in r && f(8, i = r.extraObjects), "highlightData" in r && f(5, e = r.highlightData);
|
|
182
|
+
}, n.$$.update = () => {
|
|
183
|
+
n.$$.dirty & /*extraObjects, floorIndex*/
|
|
184
|
+
260 && f(6, l = i == null ? void 0 : i.filter((r) => r.floorIndex === a));
|
|
173
185
|
}, [
|
|
174
186
|
h,
|
|
175
187
|
t,
|
|
176
|
-
|
|
188
|
+
a,
|
|
177
189
|
g,
|
|
178
190
|
s,
|
|
179
191
|
e,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
192
|
+
l,
|
|
193
|
+
m,
|
|
194
|
+
i
|
|
183
195
|
];
|
|
184
196
|
}
|
|
185
|
-
class
|
|
197
|
+
class oe extends H {
|
|
186
198
|
constructor(o) {
|
|
187
|
-
super(),
|
|
199
|
+
super(), w(this, o, S, N, E, {
|
|
188
200
|
five: 0,
|
|
189
201
|
pxmm: 1,
|
|
190
202
|
floorIndex: 2,
|
|
@@ -196,5 +208,5 @@ class P extends E {
|
|
|
196
208
|
}
|
|
197
209
|
}
|
|
198
210
|
export {
|
|
199
|
-
|
|
211
|
+
oe as default
|
|
200
212
|
};
|