@realsee/dnalogel 3.31.1 → 3.32.0-dev.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/controller/TagCache.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +5849 -5666
- package/dist/index.umd.js +59 -59
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
- package/docs/classes/CSS3DRender.html +33 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
- package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +33 -43
- package/docs/classes/Object3DHelperController.html +47 -39
- package/docs/classes/PaintBrush.html +17 -27
- package/docs/classes/PanoMeasurePluginLine.html +36 -56
- package/docs/classes/PanoMeasurePluginModel.html +32 -42
- package/docs/classes/PanoMeasurePluginPoint.html +13 -23
- package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
- package/docs/classes/PanoTagPluginController.html +110 -198
- package/docs/classes/Util.BetterTween.html +13 -27
- package/docs/classes/Util.Interval.html +15 -29
- package/docs/classes/Util.LineSegments.html +11 -25
- package/docs/classes/Util.Magnifier.html +60 -93
- package/docs/classes/Util.Object3D.html +12 -26
- package/docs/classes/Util.PointDomHelper.html +14 -28
- package/docs/classes/Util.PointHelper.html +14 -28
- package/docs/classes/Util.PointSelectorHelper.html +20 -34
- package/docs/classes/Util.Rectangle.html +16 -30
- package/docs/classes/WalkController.html +29 -39
- package/docs/enums/CameraMovementEffect.html +9 -19
- package/docs/enums/ContentType.html +23 -33
- package/docs/enums/DIRECTION.html +11 -21
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/DimensionType.html +9 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/PaintBrushTypeEnum.html +10 -20
- package/docs/enums/PointType.html +9 -19
- package/docs/enums/Rotation.html +10 -20
- package/docs/functions/AreaMakerPlugin.html +7 -17
- package/docs/functions/CSS3DRenderPlugin.html +7 -17
- package/docs/functions/CameraMovementPlugin.html +7 -17
- package/docs/functions/CruisePlugin.html +7 -17
- package/docs/functions/CurrentPanoImagePlugin.html +7 -17
- package/docs/functions/GuideLinePlugin.html +7 -17
- package/docs/functions/ItemLabelPlugin.html +7 -17
- package/docs/functions/MapviewFloorplanPlugin.html +7 -17
- package/docs/functions/ModelChassisCompassPlugin.html +7 -17
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
- package/docs/functions/ModelFloorplanPlugin.html +7 -17
- package/docs/functions/ModelItemLabelPlugin.html +7 -17
- package/docs/functions/ModelRoomLabelPlugin.html +7 -17
- package/docs/functions/ModelTVVideoPlugin.html +7 -17
- package/docs/functions/ModelViewPlugin.html +7 -17
- package/docs/functions/MovePlugin.html +8 -18
- package/docs/functions/Object3DHelperPlugin.html +7 -17
- package/docs/functions/PanoCompassPlugin.html +7 -17
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
- package/docs/functions/PanoDoorLabelPlugin.html +7 -17
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
- package/docs/functions/PanoMeasurePlugin.html +7 -17
- package/docs/functions/PanoRulerPlugin.html +7 -17
- package/docs/functions/PanoRulerProPlugin.html +7 -17
- package/docs/functions/PanoSpatialTagPlugin.html +7 -17
- package/docs/functions/PanoTagPlugin.html +7 -17
- package/docs/functions/PanoVideoPlugin.html +7 -17
- package/docs/functions/PipelinePlugin.html +7 -17
- package/docs/functions/TopviewFloorplanPlugin.html +7 -17
- package/docs/functions/Util.absoluteUrl.html +8 -22
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
- package/docs/functions/Util.equal.html +8 -22
- package/docs/functions/Util.getCoordsFromClient.html +8 -22
- package/docs/functions/Util.getCoordsFromElement.html +8 -22
- package/docs/functions/Util.getFrameTime.html +8 -22
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
- package/docs/functions/Util.isAbsoluteURL.html +8 -22
- package/docs/functions/Util.isModelLike.html +8 -22
- package/docs/functions/Util.isNil.html +8 -22
- package/docs/functions/Util.isPanoramaLike.html +8 -22
- package/docs/functions/Util.nextFrame.html +8 -22
- package/docs/functions/Util.notNil.html +8 -22
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
- package/docs/functions/Util.tweenProgress.html +8 -22
- package/docs/functions/Util.uuid.html +8 -22
- package/docs/functions/pluginFlag.html +7 -17
- package/docs/index.html +7 -18
- package/docs/interfaces/AddTagConfig.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
- package/docs/interfaces/EventMap.html +17 -27
- package/docs/interfaces/FloorplanBounding.html +10 -20
- package/docs/interfaces/FloorplanData.html +12 -22
- package/docs/interfaces/FloorplanEntrance.html +13 -23
- package/docs/interfaces/FloorplanExtraObject.html +12 -22
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
- package/docs/interfaces/FloorplanFloorData.html +11 -21
- package/docs/interfaces/FloorplanImagePosition.html +9 -19
- package/docs/interfaces/FloorplanObserver.html +11 -21
- package/docs/interfaces/FloorplanOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanPosition.html +9 -19
- package/docs/interfaces/FloorplanRoomItem.html +16 -26
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
- package/docs/interfaces/FloorplanServerBounding.html +10 -20
- package/docs/interfaces/FloorplanServerComputedData.html +12 -22
- package/docs/interfaces/FloorplanServerData.html +9 -19
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
- package/docs/interfaces/FloorplanServerEntrance.html +13 -23
- package/docs/interfaces/FloorplanServerFloorData.html +11 -21
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
- package/docs/interfaces/FloorplanServerObserver.html +11 -21
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanServerPosition.html +9 -19
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
- package/docs/interfaces/HelperOffset.html +10 -20
- package/docs/interfaces/ImagePlaneGroup.html +8 -18
- package/docs/interfaces/ItemLabelPluginData.html +8 -18
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
- package/docs/interfaces/MinMax.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
- package/docs/interfaces/ModelViewPluginExportType.html +13 -23
- package/docs/interfaces/Object3DHelperState.html +10 -20
- package/docs/interfaces/ObjectHelperControllers.html +12 -22
- package/docs/interfaces/PaintBrushAction.html +14 -24
- package/docs/interfaces/PaintBrushConfigs.html +14 -24
- package/docs/interfaces/PaintBrushState.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
- package/docs/interfaces/PanoMeasureParameterType.html +18 -28
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
- package/docs/interfaces/PanoRulerProPluginState.html +10 -20
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
- package/docs/interfaces/Point.html +10 -20
- package/docs/interfaces/Room.html +11 -21
- package/docs/interfaces/RoomInfo.html +9 -19
- package/docs/interfaces/RoomLabel.html +16 -26
- package/docs/interfaces/RoomRules.html +7 -17
- package/docs/interfaces/Rooms.html +7 -17
- package/docs/interfaces/Scissor.html +11 -21
- package/docs/interfaces/State.html +10 -20
- package/docs/interfaces/TagCacheInterface.html +14 -24
- package/docs/interfaces/TagConfig.html +49 -65
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
- package/docs/interfaces/TagIconUrl.html +14 -24
- package/docs/interfaces/TagObjectGroup.html +8 -18
- package/docs/interfaces/TagStyle.html +8 -18
- package/docs/interfaces/Tags.html +437 -61
- package/docs/interfaces/TemporaryState.html +8 -18
- package/docs/interfaces/Util.MagnifierParameter.html +24 -43
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
- package/docs/interfaces/Util.PointIntersection.html +12 -33
- package/docs/modules/AreaMakerPluginType.html +6 -16
- package/docs/modules/CruisePluginTypes.html +6 -18
- package/docs/modules/CurrentPanoImagePluginType.html +7 -17
- package/docs/modules/GuideLineItem.html +7 -17
- package/docs/modules/GuideLineModeItem.html +7 -17
- package/docs/modules/GuideLinePluginType.html +6 -16
- package/docs/modules/PanoVideoPluginType.html +7 -17
- package/docs/modules/Util.html +8 -26
- package/docs/modules.html +11 -34
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
- package/docs/types/ArrayPosition.html +7 -17
- package/docs/types/AudioAppearance.html +7 -17
- package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
- package/docs/types/CSS3DRenderExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
- package/docs/types/ClassFunctionParameters.html +7 -17
- package/docs/types/Color.html +7 -17
- package/docs/types/ContentTypeConfigKey.html +7 -17
- package/docs/types/ContentTypeConfigKeySplit.html +8 -18
- package/docs/types/ContentTypeMap.html +7 -17
- package/docs/types/Create3DDomContainerReturnType.html +7 -17
- package/docs/types/Create3DElementReturnType.html +7 -17
- package/docs/types/CruisePluginExportType.html +7 -17
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
- package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
- package/docs/types/DeprecatedTagProperty.html +7 -17
- package/docs/types/Direction-1.html +7 -17
- package/docs/types/Direction4.html +7 -17
- package/docs/types/ElementRenderer.html +7 -17
- package/docs/types/FloorplanRuleLabels.html +7 -17
- package/docs/types/FloorplanServerRuleLabels.html +7 -17
- package/docs/types/GuideLinePluginExportType.html +7 -17
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
- package/docs/types/GuideLinePluginType.PathItem.html +6 -16
- package/docs/types/GuideLinePluginType.PluginData.html +6 -16
- package/docs/types/HelperEventMap.html +7 -17
- package/docs/types/InternalHelperEventMap.html +11 -29
- package/docs/types/LoadTagConfig.html +7 -17
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/MediaData.html +10 -20
- package/docs/types/MediaStore.html +7 -17
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
- package/docs/types/ModelId.html +7 -17
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
- package/docs/types/MoveArgs.html +7 -17
- package/docs/types/MoveOpts.html +7 -17
- package/docs/types/Object3DHelperEventMap.html +7 -17
- package/docs/types/ObjectFit.html +7 -17
- package/docs/types/PaintBrushEventMap.html +7 -17
- package/docs/types/PanoCompassPluginData.html +7 -17
- package/docs/types/PanoCompassPluginExportType.html +7 -17
- package/docs/types/PanoCompassPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
- package/docs/types/PanoIndex.html +7 -17
- package/docs/types/PanoMeasurePluginEvent.html +7 -17
- package/docs/types/PanoMeasureReturnType.html +7 -17
- package/docs/types/PanoSpatialTagPluginId.html +7 -17
- package/docs/types/PanoTagPluginExportInterface.html +7 -17
- package/docs/types/PanoTagPluginParamsInterface.html +7 -17
- package/docs/types/PanoVideoPluginParameterType.html +7 -17
- package/docs/types/PanoVideoPluginReturnType.html +7 -17
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
- package/docs/types/PipelinePluginParameterType.html +7 -17
- package/docs/types/PipelinePluginReturnType.html +7 -17
- package/docs/types/PlaneTag.html +7 -17
- package/docs/types/Point2DTag.html +7 -17
- package/docs/types/Point3DTag.html +7 -17
- package/docs/types/PointTag.html +7 -17
- package/docs/types/PointTagInstance.html +7 -17
- package/docs/types/Position.html +7 -17
- package/docs/types/RotateArgs.html +7 -17
- package/docs/types/RotateOpts.html +7 -17
- package/docs/types/RuleLabelsKey.html +7 -17
- package/docs/types/RuleLabelsValue.html +7 -17
- package/docs/types/StickType.html +7 -17
- package/docs/types/Tag.html +13 -35
- package/docs/types/Tag2D.html +7 -17
- package/docs/types/Tag3D.html +7 -17
- package/docs/types/TagConfigByKey.html +8 -18
- package/docs/types/TagContentType.html +7 -17
- package/docs/types/TagContentTypeMapping.html +7 -17
- package/docs/types/TagDimensionType.html +7 -17
- package/docs/types/TagElement.html +7 -17
- package/docs/types/TagEvents.html +12 -38
- package/docs/types/TagGLTFObject.html +7 -17
- package/docs/types/TagHooks.html +7 -17
- package/docs/types/TagId.html +7 -17
- package/docs/types/TagInstance.html +8 -44
- package/docs/types/TagPointType.html +7 -17
- package/docs/types/TagRendererMap.html +7 -17
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/WorkCode.html +7 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
- package/docs/variables/PLUGIN.html +7 -17
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
- package/docs/variables/ROOM_TYPE_MAP.html +7 -17
- package/docs/variables/defaultGlobalConfig.html +7 -17
- package/docs/variables/itemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Move.js +50 -37
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +23 -10
- 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/ModelMakerPlugin/Controller.js +33 -23
- package/libs/ModelMakerPlugin/index.js +13 -3
- package/libs/ModelMakerPlugin/utils/Text.js +43 -33
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
- 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 +38 -28
- 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 +72 -61
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- 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 +115 -104
- 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 +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- 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 +145 -131
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- 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 +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- 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 +130 -115
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +84 -65
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +56 -51
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +167 -162
- package/libs/floorplan/Components/Main.js +85 -76
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- 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 +104 -101
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
- 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 +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +143 -129
- 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 +29 -25
- 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 +5 -6
- package/docs/classes/Sculpt.html +0 -852
- package/docs/functions/ModelMakerPlugin.html +0 -303
- package/docs/functions/SculptPlugin.html +0 -306
- package/docs/functions/Util.blink.html +0 -351
- package/docs/functions/Util.reblink.html +0 -349
- package/docs/interfaces/ContentTypeMapInterface.html +0 -773
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
- package/docs/modules/ModelMakerPluginType.html +0 -339
- package/docs/modules/SculptData.html +0 -318
- package/docs/types/AddObject3DHelperConfig.html +0 -315
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
- package/docs/types/ScaleCallback.html +0 -314
- package/docs/types/ScalePosition.html +0 -303
- package/docs/types/SculptData.BoxData.html +0 -306
- package/docs/types/SculptData.CircleData.html +0 -306
- package/docs/types/SculptData.CylinderData.html +0 -306
- package/docs/types/SculptData.PointData.html +0 -306
- package/docs/types/SculptData.PolygonData.html +0 -306
- package/docs/types/SculptData.PolylineData.html +0 -306
- package/docs/types/SculptData.PrismData.html +0 -306
- package/docs/types/SculptData.RectangleData.html +0 -306
- 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,21 +11,21 @@ var v = (d, s, t) => s in d ? C(d, s, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return d;
|
|
12
12
|
}, g = (d, s) => S(d, E(s));
|
|
13
13
|
var o = (d, s, t) => (v(d, typeof s != "symbol" ? s + "" : s, t), t);
|
|
14
|
-
var
|
|
15
|
-
var
|
|
14
|
+
var p = (d, s, t) => new Promise((e, i) => {
|
|
15
|
+
var r = (a) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
n(t.next(a));
|
|
18
18
|
} catch (f) {
|
|
19
19
|
i(f);
|
|
20
20
|
}
|
|
21
21
|
}, h = (a) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
n(t.throw(a));
|
|
24
24
|
} catch (f) {
|
|
25
25
|
i(f);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, n = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(r, h);
|
|
28
|
+
n((t = t.apply(d, s)).next());
|
|
29
29
|
});
|
|
30
30
|
import { to as I } from "../../shared-utils/to.js";
|
|
31
31
|
import { equal as M } from "../../shared-utils/equal.js";
|
|
@@ -38,7 +38,7 @@ import { FLOOR_PLAN_ATTACHED_TO as O } from "../constant.js";
|
|
|
38
38
|
import { Controller as T } from "../../base/BasePluginWithData.js";
|
|
39
39
|
import { correctFiveState as k } from "../utils/correctFiveState.js";
|
|
40
40
|
import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
|
-
import { FIVE_CAMERA_DEFAULT_FOV as R, FloorplanErrorType as
|
|
41
|
+
import { FIVE_CAMERA_DEFAULT_FOV as R, FloorplanErrorType as c, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
42
42
|
import "hammerjs";
|
|
43
43
|
import "three";
|
|
44
44
|
import "@realsee/five";
|
|
@@ -48,11 +48,23 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
48
48
|
import "animejs";
|
|
49
49
|
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
50
50
|
import "../../shared-utils/isTruelyObject.js";
|
|
51
|
-
import "../../vendor/svelte/internal/
|
|
52
|
-
import "../../vendor/svelte/
|
|
53
|
-
import "../../vendor/svelte/
|
|
51
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
52
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
53
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
54
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
55
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
56
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
57
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
58
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
59
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
60
|
+
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
61
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
62
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
63
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
64
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
65
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
54
66
|
import "../Components/CurrentFloor.js";
|
|
55
|
-
import "../../vendor/svelte/store/index.js";
|
|
67
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
56
68
|
import "../Components/BaseImage.js";
|
|
57
69
|
import "../Components/Normalmage.js";
|
|
58
70
|
import "../Components/SvgImage.js";
|
|
@@ -102,7 +114,7 @@ function z(d) {
|
|
|
102
114
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
103
115
|
return e && i;
|
|
104
116
|
}
|
|
105
|
-
class
|
|
117
|
+
class pe extends T {
|
|
106
118
|
constructor(t, e) {
|
|
107
119
|
var a, f, m;
|
|
108
120
|
super(t);
|
|
@@ -153,21 +165,21 @@ class ee extends T {
|
|
|
153
165
|
* @param opts.isAutoShow 是否是自动展示
|
|
154
166
|
* @param opts.userAction 是否是用户行为
|
|
155
167
|
*/
|
|
156
|
-
o(this, "show", (...e) =>
|
|
168
|
+
o(this, "show", (...e) => p(this, [...e], function* (t = {}) {
|
|
157
169
|
if (!this.state.enabled || !this.showPromise && this.state.visible)
|
|
158
170
|
return;
|
|
159
171
|
const i = t.userAction !== void 0 ? t.userAction : !0;
|
|
160
172
|
this.updateState({ visible: !0 }, i), this._show(t);
|
|
161
173
|
}));
|
|
162
174
|
/** 隐藏户型图 */
|
|
163
|
-
o(this, "hide", (...e) =>
|
|
175
|
+
o(this, "hide", (...e) => p(this, [...e], function* (t = {}) {
|
|
164
176
|
this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
|
|
165
177
|
}));
|
|
166
178
|
/** 更新户型图大小 */
|
|
167
179
|
o(this, "updateSize", () => {
|
|
168
180
|
if (!this.data || !this.container || !this.wrapper)
|
|
169
181
|
return !1;
|
|
170
|
-
const { min: t, max: e } = this.data.bounding, i = e.x - t.x,
|
|
182
|
+
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, r = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, n = D(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * n), f = Math.ceil(r * n);
|
|
171
183
|
return this.size.width === a && this.size.height === f || (this.container.style.width = a + "px", this.container.style.height = f + "px", this.size = { width: a, height: f }), !0;
|
|
172
184
|
});
|
|
173
185
|
o(this, "highlight", (t) => {
|
|
@@ -177,22 +189,22 @@ class ee extends T {
|
|
|
177
189
|
this.highlightData = {}, this.render();
|
|
178
190
|
});
|
|
179
191
|
o(this, "_disable", (t) => {
|
|
180
|
-
var i,
|
|
192
|
+
var i, r, h;
|
|
181
193
|
const { userAction: e } = t;
|
|
182
|
-
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this,
|
|
194
|
+
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, c.BreakOffByDisable), this.showPromise = void 0, (r = this.app) == null || r.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
|
|
183
195
|
});
|
|
184
196
|
o(this, "_enable", (t) => {
|
|
185
197
|
const { userAction: e } = t;
|
|
186
198
|
this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
|
|
187
199
|
});
|
|
188
|
-
o(this, "_show", (t) =>
|
|
200
|
+
o(this, "_show", (t) => p(this, null, function* () {
|
|
189
201
|
var h;
|
|
190
202
|
if (!this.state.enabled)
|
|
191
203
|
return;
|
|
192
204
|
if (!((h = this.five.model) != null && h.loaded))
|
|
193
|
-
throw new Error(
|
|
205
|
+
throw new Error(c.ModelNotLoaded);
|
|
194
206
|
if (!this.data)
|
|
195
|
-
throw new Error(
|
|
207
|
+
throw new Error(c.DataNotLoaded);
|
|
196
208
|
if (this.showPromise)
|
|
197
209
|
return this.showPromise;
|
|
198
210
|
const e = {
|
|
@@ -201,36 +213,36 @@ class ee extends T {
|
|
|
201
213
|
immediately: !1,
|
|
202
214
|
isAutoShow: !1,
|
|
203
215
|
userAction: !0
|
|
204
|
-
}, i = l(l({}, e), t),
|
|
216
|
+
}, i = l(l({}, e), t), r = () => p(this, null, function* () {
|
|
205
217
|
this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
|
|
206
|
-
let
|
|
218
|
+
let n = !1, a;
|
|
207
219
|
this.showRejection = (u) => {
|
|
208
|
-
|
|
220
|
+
n = !0, a = u;
|
|
209
221
|
};
|
|
210
222
|
const [f] = yield I(k(this.five, this.showState, i.userAction));
|
|
211
223
|
if (f)
|
|
212
224
|
throw f;
|
|
213
|
-
if (
|
|
214
|
-
throw a ? new Error(a) : new Error(
|
|
225
|
+
if (n)
|
|
226
|
+
throw a ? new Error(a) : new Error(c.UnknownError);
|
|
215
227
|
if (!this.updateSize())
|
|
216
|
-
throw new Error(
|
|
228
|
+
throw new Error(c.UpdateSizeError);
|
|
217
229
|
this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
|
|
218
230
|
});
|
|
219
|
-
return this.isHiddenByHideFunc = !1, this.showPromise =
|
|
231
|
+
return this.isHiddenByHideFunc = !1, this.showPromise = r().then(() => {
|
|
220
232
|
this.showPromise = void 0, this.showRejection = void 0;
|
|
221
|
-
const
|
|
222
|
-
F(this.five,
|
|
233
|
+
const n = i.modelOpacity, a = i.immediately ? 0 : H;
|
|
234
|
+
F(this.five, n, a), this.render(a), this.hooks.emit("showAnimationEnded", {
|
|
223
235
|
auto: i.isAutoShow,
|
|
224
236
|
userAction: i.userAction
|
|
225
237
|
});
|
|
226
|
-
}).catch((
|
|
227
|
-
if (this.showPromise = void 0, this.showRejection = void 0, this.updateState({ visible: !1 }, i.userAction), !i.isAutoShow &&
|
|
228
|
-
throw
|
|
238
|
+
}).catch((n) => {
|
|
239
|
+
if (this.showPromise = void 0, this.showRejection = void 0, this.updateState({ visible: !1 }, i.userAction), !i.isAutoShow && n instanceof Error)
|
|
240
|
+
throw n;
|
|
229
241
|
}), this.showPromise;
|
|
230
242
|
}));
|
|
231
243
|
o(this, "_hide", (t) => {
|
|
232
|
-
var
|
|
233
|
-
(
|
|
244
|
+
var r;
|
|
245
|
+
(r = this.showRejection) == null || r.call(this, c.BreakOffByHide), this.showPromise = void 0;
|
|
234
246
|
const i = l(l({}, {
|
|
235
247
|
userAction: !0,
|
|
236
248
|
isAutoHide: !1
|
|
@@ -336,17 +348,17 @@ class ee extends T {
|
|
|
336
348
|
getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
|
|
337
349
|
getRoomDimensionText: (u, A) => (u / 1e3).toFixed(1) + "m × " + (A / 1e3).toFixed(1) + "m",
|
|
338
350
|
getRuleDistanceText: (u) => u.toString()
|
|
339
|
-
},
|
|
340
|
-
this.state = { enabled: !0, visible: !1, config:
|
|
351
|
+
}, r = e ? L(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), r.missingFloorConfig), n = g(l(l({}, i), r), { missingFloorConfig: h });
|
|
352
|
+
this.state = { enabled: !0, visible: !1, config: n }, this.initContainer(), t.once("dispose", this.dispose), this.addEventListener();
|
|
341
353
|
}
|
|
342
354
|
load(t, e, i = !0) {
|
|
343
|
-
return
|
|
344
|
-
function
|
|
355
|
+
return p(this, null, function* () {
|
|
356
|
+
function r(m) {
|
|
345
357
|
return Object.prototype.hasOwnProperty.apply(m, ["version"]);
|
|
346
358
|
}
|
|
347
359
|
const h = t;
|
|
348
360
|
h && G(h.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
349
|
-
const
|
|
361
|
+
const n = JSON.parse(JSON.stringify(t)), a = r(n) ? n.data : n, f = this.data;
|
|
350
362
|
this.data = yield b(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
|
|
351
363
|
});
|
|
352
364
|
}
|
|
@@ -371,9 +383,9 @@ class ee extends T {
|
|
|
371
383
|
}
|
|
372
384
|
/** 更改插件 State */
|
|
373
385
|
setState(t, e = {}) {
|
|
374
|
-
const i = this.state,
|
|
375
|
-
if (this.updateState(t,
|
|
376
|
-
const h = { userAction:
|
|
386
|
+
const i = this.state, r = e.userAction !== void 0 ? e.userAction : !0;
|
|
387
|
+
if (this.updateState(t, r), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: r }) : this._disable({ userAction: r })), t.visible !== void 0 && i.visible !== t.visible) {
|
|
388
|
+
const h = { userAction: r };
|
|
377
389
|
t.visible ? this._show(h) : this._hide(h);
|
|
378
390
|
}
|
|
379
391
|
this.render();
|
|
@@ -382,13 +394,13 @@ class ee extends T {
|
|
|
382
394
|
this.updateState({ config: t }, e), this.render();
|
|
383
395
|
}
|
|
384
396
|
formatData(t) {
|
|
385
|
-
return
|
|
397
|
+
return p(this, null, function* () {
|
|
386
398
|
return yield b(t.data);
|
|
387
399
|
});
|
|
388
400
|
}
|
|
389
401
|
updateState(t, e) {
|
|
390
|
-
var
|
|
391
|
-
const i = this.state,
|
|
402
|
+
var n;
|
|
403
|
+
const i = this.state, r = (n = t.config) != null && n.missingFloorConfig ? l(l({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, h = t.config ? g(l(l({}, i.config), t.config), { missingFloorConfig: r }) : i.config;
|
|
392
404
|
this.state = g(l(l({}, this.state), t), { config: h }), !M(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
|
|
393
405
|
}
|
|
394
406
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
@@ -433,5 +445,5 @@ class ee extends T {
|
|
|
433
445
|
}
|
|
434
446
|
}
|
|
435
447
|
export {
|
|
436
|
-
|
|
448
|
+
pe as Controller
|
|
437
449
|
};
|
|
@@ -3,11 +3,23 @@ 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/CurrentFloor.js";
|
|
10
|
-
import "../../vendor/svelte/store/index.js";
|
|
22
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
11
23
|
import "../Components/BaseImage.js";
|
|
12
24
|
import "../Components/Normalmage.js";
|
|
13
25
|
import "../Components/SvgImage.js";
|
|
@@ -66,8 +78,8 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
66
78
|
import "../../shared-utils/five/changeMode.js";
|
|
67
79
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
68
80
|
import "../../shared-utils/isNil.js";
|
|
69
|
-
const
|
|
81
|
+
const Ao = (o, r) => new t(o, r);
|
|
70
82
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
83
|
+
Ao as ModelFloorplanPlugin,
|
|
84
|
+
Ao as default
|
|
73
85
|
};
|
|
@@ -1,53 +1,65 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as T, noop as q } from "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as W, element as h, attr as x, set_style as l, insert as E, append as y, detach as R } from "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { onMount as z } from "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
4
|
+
import { SvelteComponent as G, init as H } 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 w } from "../../Assets/camera.js";
|
|
3
7
|
import { throttle as O } from "../../../shared-utils/throttle.js";
|
|
4
|
-
|
|
5
|
-
|
|
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";
|
|
14
|
+
function j(t) {
|
|
15
|
+
W(t, "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
|
-
function B(
|
|
8
|
-
let
|
|
17
|
+
function B(t) {
|
|
18
|
+
let o, r, a;
|
|
9
19
|
return {
|
|
10
20
|
c() {
|
|
11
|
-
|
|
12
|
-
(
|
|
21
|
+
o = h("div"), r = h("div"), a = h("div"), x(a, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(a, "background-image", "url(" + /*cameraImageUrl*/
|
|
22
|
+
(t[0] || w) + ")"), l(
|
|
13
23
|
a,
|
|
14
24
|
"transform",
|
|
15
25
|
/*rotateTransform*/
|
|
16
|
-
|
|
17
|
-
),
|
|
18
|
-
|
|
26
|
+
t[1]
|
|
27
|
+
), x(r, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(
|
|
28
|
+
r,
|
|
19
29
|
"transform",
|
|
20
30
|
/*positionTransform*/
|
|
21
|
-
|
|
22
|
-
),
|
|
23
|
-
|
|
31
|
+
t[2]
|
|
32
|
+
), x(o, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd"), l(
|
|
33
|
+
o,
|
|
24
34
|
"opacity",
|
|
25
35
|
/*hasCurrentFloorData*/
|
|
26
|
-
|
|
36
|
+
t[3] ? 1 : 0
|
|
27
37
|
);
|
|
28
38
|
},
|
|
29
|
-
m(i,
|
|
30
|
-
|
|
39
|
+
m(i, m) {
|
|
40
|
+
E(i, o, m), y(o, r), y(r, a);
|
|
31
41
|
},
|
|
32
|
-
p(i, [
|
|
33
|
-
|
|
34
|
-
1 &&
|
|
35
|
-
(i[0] || w) + ")")
|
|
36
|
-
|
|
37
|
-
|
|
42
|
+
p(i, [m]) {
|
|
43
|
+
m & /*cameraImageUrl*/
|
|
44
|
+
1 && l(a, "background-image", "url(" + /*cameraImageUrl*/
|
|
45
|
+
(i[0] || w) + ")");
|
|
46
|
+
const s = m & /*cameraImageUrl*/
|
|
47
|
+
1;
|
|
48
|
+
(m & /*rotateTransform, cameraImageUrl*/
|
|
49
|
+
3 || s) && l(
|
|
38
50
|
a,
|
|
39
51
|
"transform",
|
|
40
52
|
/*rotateTransform*/
|
|
41
53
|
i[1]
|
|
42
|
-
),
|
|
43
|
-
4 &&
|
|
44
|
-
|
|
54
|
+
), m & /*positionTransform*/
|
|
55
|
+
4 && l(
|
|
56
|
+
r,
|
|
45
57
|
"transform",
|
|
46
58
|
/*positionTransform*/
|
|
47
59
|
i[2]
|
|
48
|
-
),
|
|
49
|
-
8 &&
|
|
50
|
-
|
|
60
|
+
), m & /*hasCurrentFloorData*/
|
|
61
|
+
8 && l(
|
|
62
|
+
o,
|
|
51
63
|
"opacity",
|
|
52
64
|
/*hasCurrentFloorData*/
|
|
53
65
|
i[3] ? 1 : 0
|
|
@@ -56,67 +68,67 @@ function B(r) {
|
|
|
56
68
|
i: q,
|
|
57
69
|
o: q,
|
|
58
70
|
d(i) {
|
|
59
|
-
i &&
|
|
71
|
+
i && R(o);
|
|
60
72
|
}
|
|
61
73
|
};
|
|
62
74
|
}
|
|
63
|
-
function J(
|
|
64
|
-
return `rotate(${Math.floor(
|
|
75
|
+
function J(t) {
|
|
76
|
+
return `rotate(${Math.floor(t / Math.PI * 180) * -1 + 45}deg)`;
|
|
65
77
|
}
|
|
66
|
-
function K(
|
|
67
|
-
var
|
|
68
|
-
let a, i,
|
|
69
|
-
function M(
|
|
70
|
-
const d =
|
|
78
|
+
function K(t, o, r) {
|
|
79
|
+
var A, D;
|
|
80
|
+
let a, i, m, s, { five: n } = o, { pxmm: f } = o, { floorplanData: p } = o, { cameraImageUrl: _ } = o, c = n.getCurrentState().panoIndex, u = n.getCurrentState().longitude, g = (D = (A = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : A.floorIndex) != null ? D : 0;
|
|
81
|
+
function M(e, U) {
|
|
82
|
+
const d = e.bounding, v = e.observers[U];
|
|
71
83
|
if (!v)
|
|
72
84
|
return "";
|
|
73
|
-
const k = (d.max.x - d.min.x) *
|
|
85
|
+
const k = (d.max.x - d.min.x) * f, F = (d.max.y - d.min.y) * f, P = Math.floor(v.positionInImage.x * k), S = Math.floor(v.positionInImage.y * F);
|
|
74
86
|
return `translate(${P}px, ${S}px)`;
|
|
75
87
|
}
|
|
76
|
-
function I(
|
|
77
|
-
|
|
88
|
+
function I(e) {
|
|
89
|
+
r(7, c = e);
|
|
78
90
|
}
|
|
79
|
-
function b(
|
|
80
|
-
|
|
91
|
+
function b(e) {
|
|
92
|
+
r(9, g = n.work.observers[e].floorIndex);
|
|
81
93
|
}
|
|
82
94
|
const C = O(
|
|
83
|
-
(
|
|
84
|
-
|
|
95
|
+
(e) => {
|
|
96
|
+
r(8, u = e.longitude);
|
|
85
97
|
},
|
|
86
98
|
1e3 / 60
|
|
87
99
|
);
|
|
88
|
-
return
|
|
89
|
-
|
|
90
|
-
})),
|
|
91
|
-
"five" in
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
576 &&
|
|
95
|
-
1024 &&
|
|
96
|
-
192 &&
|
|
97
|
-
256 &&
|
|
100
|
+
return z(() => (n.on("panoWillArrive", I), n.on("panoArrived", b), n.on("cameraDirectionUpdate", C), function() {
|
|
101
|
+
n.off("panoWillArrive", I), n.off("panoArrived", b), n.off("cameraDirectionUpdate", C);
|
|
102
|
+
})), t.$$set = (e) => {
|
|
103
|
+
"five" in e && r(4, n = e.five), "pxmm" in e && r(5, f = e.pxmm), "floorplanData" in e && r(6, p = e.floorplanData), "cameraImageUrl" in e && r(0, _ = e.cameraImageUrl);
|
|
104
|
+
}, t.$$.update = () => {
|
|
105
|
+
t.$$.dirty & /*floorplanData, floorIndex*/
|
|
106
|
+
576 && r(10, a = p.floorDatas[g]), t.$$.dirty & /*floorData*/
|
|
107
|
+
1024 && r(3, i = a.rooms.length > 0), t.$$.dirty & /*floorplanData, panoIndex*/
|
|
108
|
+
192 && r(2, m = M(p, c)), t.$$.dirty & /*longitude*/
|
|
109
|
+
256 && r(1, s = J(u));
|
|
98
110
|
}, [
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
l,
|
|
102
|
-
i,
|
|
103
|
-
o,
|
|
111
|
+
_,
|
|
112
|
+
s,
|
|
104
113
|
m,
|
|
114
|
+
i,
|
|
115
|
+
n,
|
|
105
116
|
f,
|
|
106
|
-
u,
|
|
107
117
|
p,
|
|
118
|
+
c,
|
|
119
|
+
u,
|
|
108
120
|
g,
|
|
109
121
|
a
|
|
110
122
|
];
|
|
111
123
|
}
|
|
112
|
-
class
|
|
113
|
-
constructor(
|
|
114
|
-
super(),
|
|
124
|
+
class ar extends G {
|
|
125
|
+
constructor(o) {
|
|
126
|
+
super(), H(
|
|
115
127
|
this,
|
|
116
|
-
|
|
128
|
+
o,
|
|
117
129
|
K,
|
|
118
130
|
B,
|
|
119
|
-
|
|
131
|
+
T,
|
|
120
132
|
{
|
|
121
133
|
five: 4,
|
|
122
134
|
pxmm: 5,
|
|
@@ -128,5 +140,5 @@ class V extends T {
|
|
|
128
140
|
}
|
|
129
141
|
}
|
|
130
142
|
export {
|
|
131
|
-
|
|
143
|
+
ar as default
|
|
132
144
|
};
|