@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
|
@@ -1,70 +1,81 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ae = Object.defineProperty, ce = Object.defineProperties;
|
|
2
|
+
var le = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var R = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var j = (
|
|
4
|
+
var me = Object.prototype.hasOwnProperty, de = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var j = (s, t, e) => t in s ? ae(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, k = (s, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
me.call(t, e) && j(s, e, t[e]);
|
|
8
8
|
if (R)
|
|
9
9
|
for (var e of R(t))
|
|
10
|
-
de.call(t, e) && j(
|
|
11
|
-
return
|
|
12
|
-
}, y = (
|
|
13
|
-
import {
|
|
10
|
+
de.call(t, e) && j(s, e, t[e]);
|
|
11
|
+
return s;
|
|
12
|
+
}, y = (s, t) => ce(s, le(t));
|
|
13
|
+
import { safe_not_equal as fe } from "../vendor/svelte/src/runtime/internal/utils.js";
|
|
14
|
+
import { append_styles as ue, element as pe, attr as he, set_style as H, insert as V, add_iframe_resize_listener as _e, detach as v, empty as W } from "../vendor/svelte/src/runtime/internal/dom.js";
|
|
15
|
+
import { check_outros as Z, transition_in as w, transition_out as M, group_outros as G } from "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
16
|
+
import { add_render_callback as be } from "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
17
|
+
import { beforeUpdate as Ie, onMount as ge, onDestroy as ke } from "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
18
|
+
import { ensure_array_like as A, update_keyed_each as ye, outro_and_destroy_block as Pe } from "../vendor/svelte/src/runtime/internal/each.js";
|
|
19
|
+
import { SvelteComponent as we, init as Le, create_component as ze, mount_component as Me, destroy_component as Ce } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
20
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
14
21
|
import { Five as P } from "@realsee/five";
|
|
15
|
-
import * as
|
|
16
|
-
import
|
|
17
|
-
import { debounce as
|
|
18
|
-
import { isImpacted as
|
|
19
|
-
import { getStrokeLength as
|
|
20
|
-
import { getLabelTransform as
|
|
21
|
-
import { transform2RenderData as
|
|
22
|
+
import * as Ee from "three";
|
|
23
|
+
import Fe from "./ItemLabelItem.js";
|
|
24
|
+
import { debounce as Oe } from "../shared-utils/debounce.js";
|
|
25
|
+
import { isImpacted as B } from "./utils/isImpacted.js";
|
|
26
|
+
import { getStrokeLength as Ve } from "./utils/getStrokeLength.js";
|
|
27
|
+
import { getLabelTransform as ve } from "./utils/getLabelTransform.js";
|
|
28
|
+
import { transform2RenderData as N } from "./utils/transform2RenderData.js";
|
|
29
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
30
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
31
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
32
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
22
33
|
import "../vendor/classnames/index.js";
|
|
23
34
|
import "./typings.js";
|
|
24
|
-
function
|
|
25
|
-
|
|
35
|
+
function xe(s) {
|
|
36
|
+
ue(s, "svelte-f82itz", ".item-labels-container.svelte-f82itz{width:100%;height:100%;position:relative}");
|
|
26
37
|
}
|
|
27
|
-
function
|
|
28
|
-
const a =
|
|
38
|
+
function q(s, t, e) {
|
|
39
|
+
const a = s.slice();
|
|
29
40
|
return a[29] = t[e], a;
|
|
30
41
|
}
|
|
31
|
-
function
|
|
42
|
+
function X(s) {
|
|
32
43
|
let t, e;
|
|
33
|
-
return t = new
|
|
44
|
+
return t = new Fe({
|
|
34
45
|
props: {
|
|
35
46
|
itemLabel: (
|
|
36
47
|
/*itemLabelItem*/
|
|
37
|
-
|
|
48
|
+
s[29]
|
|
38
49
|
),
|
|
39
50
|
hooks: (
|
|
40
51
|
/*hooks*/
|
|
41
|
-
|
|
52
|
+
s[0]
|
|
42
53
|
),
|
|
43
54
|
anchorEnabled: (
|
|
44
55
|
/*anchorEnabled*/
|
|
45
|
-
|
|
56
|
+
s[2]
|
|
46
57
|
),
|
|
47
58
|
onIconClick: (
|
|
48
59
|
/*onIconClick*/
|
|
49
|
-
|
|
60
|
+
s[6]
|
|
50
61
|
)
|
|
51
62
|
}
|
|
52
63
|
}), {
|
|
53
64
|
c() {
|
|
54
|
-
|
|
65
|
+
ze(t.$$.fragment);
|
|
55
66
|
},
|
|
56
67
|
m(a, i) {
|
|
57
|
-
|
|
68
|
+
Me(t, a, i), e = !0;
|
|
58
69
|
},
|
|
59
70
|
p(a, i) {
|
|
60
|
-
const
|
|
71
|
+
const r = {};
|
|
61
72
|
i[0] & /*renderItemLabels*/
|
|
62
|
-
2 && (
|
|
73
|
+
2 && (r.itemLabel = /*itemLabelItem*/
|
|
63
74
|
a[29]), i[0] & /*hooks*/
|
|
64
|
-
1 && (
|
|
75
|
+
1 && (r.hooks = /*hooks*/
|
|
65
76
|
a[0]), i[0] & /*anchorEnabled*/
|
|
66
|
-
4 && (
|
|
67
|
-
a[2]), t.$set(
|
|
77
|
+
4 && (r.anchorEnabled = /*anchorEnabled*/
|
|
78
|
+
a[2]), t.$set(r);
|
|
68
79
|
},
|
|
69
80
|
i(a) {
|
|
70
81
|
e || (w(t.$$.fragment, a), e = !0);
|
|
@@ -73,189 +84,191 @@ function q(r) {
|
|
|
73
84
|
M(t.$$.fragment, a), e = !1;
|
|
74
85
|
},
|
|
75
86
|
d(a) {
|
|
76
|
-
|
|
87
|
+
Ce(t, a);
|
|
77
88
|
}
|
|
78
89
|
};
|
|
79
90
|
}
|
|
80
|
-
function
|
|
81
|
-
let e, a, i,
|
|
91
|
+
function Y(s, t) {
|
|
92
|
+
let e, a, i, r = (
|
|
82
93
|
/*itemLabelItem*/
|
|
83
|
-
t[29].visible &&
|
|
94
|
+
t[29].visible && X(t)
|
|
84
95
|
);
|
|
85
96
|
return {
|
|
86
|
-
key:
|
|
97
|
+
key: s,
|
|
87
98
|
first: null,
|
|
88
99
|
c() {
|
|
89
|
-
e = W(),
|
|
100
|
+
e = W(), r && r.c(), a = W(), this.first = e;
|
|
90
101
|
},
|
|
91
102
|
m(l, h) {
|
|
92
|
-
V(l, e, h),
|
|
103
|
+
V(l, e, h), r && r.m(l, h), V(l, a, h), i = !0;
|
|
93
104
|
},
|
|
94
105
|
p(l, h) {
|
|
95
106
|
t = l, /*itemLabelItem*/
|
|
96
|
-
t[29].visible ?
|
|
97
|
-
2 && w(
|
|
98
|
-
|
|
99
|
-
}),
|
|
107
|
+
t[29].visible ? r ? (r.p(t, h), h[0] & /*renderItemLabels*/
|
|
108
|
+
2 && w(r, 1)) : (r = X(t), r.c(), w(r, 1), r.m(a.parentNode, a)) : r && (G(), M(r, 1, 1, () => {
|
|
109
|
+
r = null;
|
|
110
|
+
}), Z());
|
|
100
111
|
},
|
|
101
112
|
i(l) {
|
|
102
|
-
i || (w(
|
|
113
|
+
i || (w(r), i = !0);
|
|
103
114
|
},
|
|
104
115
|
o(l) {
|
|
105
|
-
M(
|
|
116
|
+
M(r), i = !1;
|
|
106
117
|
},
|
|
107
118
|
d(l) {
|
|
108
|
-
l && v(e),
|
|
119
|
+
l && (v(e), v(a)), r && r.d(l);
|
|
109
120
|
}
|
|
110
121
|
};
|
|
111
122
|
}
|
|
112
|
-
function
|
|
113
|
-
let t, e = [], a = /* @__PURE__ */ new Map(), i,
|
|
123
|
+
function Te(s) {
|
|
124
|
+
let t, e = [], a = /* @__PURE__ */ new Map(), i, r, l = A(
|
|
114
125
|
/*renderItemLabels*/
|
|
115
|
-
|
|
126
|
+
s[1]
|
|
116
127
|
);
|
|
117
|
-
const h = (
|
|
128
|
+
const h = (m) => (
|
|
118
129
|
/*itemLabelItem*/
|
|
119
|
-
|
|
130
|
+
m[29].id
|
|
120
131
|
);
|
|
121
|
-
for (let
|
|
122
|
-
let c =
|
|
123
|
-
a.set(
|
|
132
|
+
for (let m = 0; m < l.length; m += 1) {
|
|
133
|
+
let c = q(s, l, m), b = h(c);
|
|
134
|
+
a.set(b, e[m] = Y(b, c));
|
|
124
135
|
}
|
|
125
136
|
return {
|
|
126
137
|
c() {
|
|
127
|
-
t =
|
|
128
|
-
for (let
|
|
129
|
-
e[
|
|
130
|
-
|
|
138
|
+
t = pe("div");
|
|
139
|
+
for (let m = 0; m < e.length; m += 1)
|
|
140
|
+
e[m].c();
|
|
141
|
+
he(t, "class", "item-labels-container svelte-f82itz"), be(() => (
|
|
131
142
|
/*div_elementresize_handler*/
|
|
132
|
-
|
|
143
|
+
s[12].call(t)
|
|
133
144
|
)), H(
|
|
134
145
|
t,
|
|
135
146
|
"opacity",
|
|
136
147
|
/*itemsVisible*/
|
|
137
|
-
|
|
148
|
+
s[5] ? 1 : 0
|
|
138
149
|
);
|
|
139
150
|
},
|
|
140
|
-
m(
|
|
141
|
-
V(
|
|
142
|
-
for (let
|
|
143
|
-
e[
|
|
144
|
-
i =
|
|
151
|
+
m(m, c) {
|
|
152
|
+
V(m, t, c);
|
|
153
|
+
for (let b = 0; b < e.length; b += 1)
|
|
154
|
+
e[b] && e[b].m(t, null);
|
|
155
|
+
i = _e(
|
|
145
156
|
t,
|
|
146
157
|
/*div_elementresize_handler*/
|
|
147
|
-
|
|
148
|
-
),
|
|
158
|
+
s[12].bind(t)
|
|
159
|
+
), r = !0;
|
|
149
160
|
},
|
|
150
|
-
p(
|
|
161
|
+
p(m, c) {
|
|
151
162
|
c[0] & /*renderItemLabels, hooks, anchorEnabled, onIconClick*/
|
|
152
|
-
71 && (l =
|
|
153
|
-
|
|
163
|
+
71 && (l = A(
|
|
164
|
+
/*renderItemLabels*/
|
|
165
|
+
m[1]
|
|
166
|
+
), G(), e = ye(e, c, h, 1, m, l, a, t, Pe, Y, null, q), Z()), c[0] & /*itemsVisible*/
|
|
154
167
|
32 && H(
|
|
155
168
|
t,
|
|
156
169
|
"opacity",
|
|
157
170
|
/*itemsVisible*/
|
|
158
|
-
|
|
171
|
+
m[5] ? 1 : 0
|
|
159
172
|
);
|
|
160
173
|
},
|
|
161
|
-
i(
|
|
162
|
-
if (!
|
|
174
|
+
i(m) {
|
|
175
|
+
if (!r) {
|
|
163
176
|
for (let c = 0; c < l.length; c += 1)
|
|
164
177
|
w(e[c]);
|
|
165
|
-
|
|
178
|
+
r = !0;
|
|
166
179
|
}
|
|
167
180
|
},
|
|
168
|
-
o(
|
|
181
|
+
o(m) {
|
|
169
182
|
for (let c = 0; c < e.length; c += 1)
|
|
170
183
|
M(e[c]);
|
|
171
|
-
|
|
184
|
+
r = !1;
|
|
172
185
|
},
|
|
173
|
-
d(
|
|
174
|
-
|
|
186
|
+
d(m) {
|
|
187
|
+
m && v(t);
|
|
175
188
|
for (let c = 0; c < e.length; c += 1)
|
|
176
189
|
e[c].d();
|
|
177
190
|
i();
|
|
178
191
|
}
|
|
179
192
|
};
|
|
180
193
|
}
|
|
181
|
-
let
|
|
182
|
-
function
|
|
183
|
-
const { Vector3: a } =
|
|
184
|
-
let { five: i } = t, { modelOcclusionEnable:
|
|
185
|
-
const
|
|
194
|
+
let De = 11;
|
|
195
|
+
function Ue(s, t, e) {
|
|
196
|
+
const { Vector3: a } = Ee;
|
|
197
|
+
let { five: i } = t, { modelOcclusionEnable: r } = t, { itemLabels: l } = t, { hooks: h } = t, { displayStrategyType: m } = t, { maxVisibleDistance: c } = t, b = null, g = null, J = (i == null ? void 0 : i.currentMode) === P.Mode.Panorama, C, E, x = [], F = !0;
|
|
198
|
+
const K = (n, u) => {
|
|
186
199
|
const p = n.camera.position.clone(), f = new a(u.modelPosition[0], u.modelPosition[1], u.modelPosition[2]), o = f.distanceTo(p);
|
|
187
|
-
return c !== void 0 && n.state.mode === P.Mode.Panorama && o > c ? !1 :
|
|
188
|
-
},
|
|
189
|
-
const { camera: u, model: p } = i, { x: f, y: o, z:
|
|
190
|
-
return !!(Math.abs(
|
|
191
|
-
}, Q = (n, u) => {
|
|
192
|
-
const p = new a(u.modelPosition[0], u.modelPosition[1], u.modelPosition[2]), f = n.project2d(p), o = f == null ? void 0 : f.x, m = f == null ? void 0 : f.y;
|
|
193
|
-
return [o, m];
|
|
200
|
+
return c !== void 0 && n.state.mode === P.Mode.Panorama && o > c ? !1 : B(n, f.clone().sub(p).normalize(), p, o);
|
|
201
|
+
}, Q = (n) => {
|
|
202
|
+
const { camera: u, model: p } = i, { x: f, y: o, z: d } = n.clone().project(u), _ = (f + 1) / 2, I = (2 - (o + 1)) / 2;
|
|
203
|
+
return !!(Math.abs(d) < 1 && [_, I].every((S) => S < 1 && S >= 0));
|
|
194
204
|
}, $ = (n, u) => {
|
|
205
|
+
const p = new a(u.modelPosition[0], u.modelPosition[1], u.modelPosition[2]), f = n.project2d(p), o = f == null ? void 0 : f.x, d = f == null ? void 0 : f.y;
|
|
206
|
+
return [o, d];
|
|
207
|
+
}, ee = (n, u) => {
|
|
195
208
|
const p = u.map((o) => {
|
|
196
209
|
if (n.state.panoIndex !== o.panoIndex)
|
|
197
210
|
return y(k({}, o), { visible: !1 });
|
|
198
|
-
const
|
|
199
|
-
o.name.length *
|
|
200
|
-
const
|
|
211
|
+
const d = $(n, o);
|
|
212
|
+
o.name.length * De;
|
|
213
|
+
const _ = Ve(o.modelPosition[1], m), I = n.currentMode === P.Mode.Panorama ? Q(new a(o.position[0], o.position[1], o.position[2])) : !0, O = r ? K(n, o) : !1, z = I && !O;
|
|
201
214
|
if (!z)
|
|
202
215
|
return y(k({}, o), { visible: z });
|
|
203
|
-
x.push(
|
|
204
|
-
const U =
|
|
216
|
+
x.push(d);
|
|
217
|
+
const U = ve(d);
|
|
205
218
|
return y(k({}, o), {
|
|
206
219
|
visible: z,
|
|
207
220
|
transform: U,
|
|
208
|
-
strokeLength:
|
|
221
|
+
strokeLength: _
|
|
209
222
|
});
|
|
210
223
|
}), f = p.filter(({ visible: o }) => o).map((o) => ({
|
|
211
224
|
itemLabelItem: o,
|
|
212
225
|
distance: new a(o.modelPosition[0], o.modelPosition[1], o.modelPosition[2]).clone().distanceTo(n.camera.position)
|
|
213
|
-
})).sort((o,
|
|
226
|
+
})).sort((o, d) => o.distance - d.distance);
|
|
214
227
|
return p.map((o) => {
|
|
215
|
-
const
|
|
216
|
-
return
|
|
228
|
+
const d = f.findIndex((_) => _.itemLabelItem.id === o.id);
|
|
229
|
+
return d !== void 0 ? y(k({}, o), { zIndex: d * 10 }) : o;
|
|
217
230
|
});
|
|
218
231
|
}, L = () => {
|
|
219
|
-
x = [], e(1, g =
|
|
232
|
+
x = [], e(1, g = ee(i, g));
|
|
220
233
|
}, T = () => {
|
|
221
|
-
e(5, F = !1),
|
|
222
|
-
},
|
|
234
|
+
e(5, F = !1), te();
|
|
235
|
+
}, te = Oe(
|
|
223
236
|
() => {
|
|
224
237
|
e(5, F = !0), L();
|
|
225
238
|
},
|
|
226
239
|
300
|
|
227
240
|
), D = () => {
|
|
228
241
|
i.once("renderFrame", L);
|
|
229
|
-
}, te = () => {
|
|
230
|
-
window.addEventListener("resize", D, !1);
|
|
231
242
|
}, oe = () => {
|
|
232
|
-
|
|
233
|
-
}, ne = (
|
|
243
|
+
window.addEventListener("resize", D, !1);
|
|
244
|
+
}, ne = () => {
|
|
245
|
+
b !== l && (e(1, g = N(l)), b = l, L());
|
|
246
|
+
}, re = (n, u) => {
|
|
234
247
|
let p = [];
|
|
235
|
-
for (const { position: o, panoIndex:
|
|
236
|
-
const
|
|
237
|
-
(c === void 0 ||
|
|
248
|
+
for (const { position: o, panoIndex: d } of u) {
|
|
249
|
+
const _ = n.distanceTo(o);
|
|
250
|
+
(c === void 0 || _ <= c || i.state.mode !== P.Mode.Panorama) && p.push({ panoIndex: d, obVector: o, distance: _ });
|
|
238
251
|
}
|
|
239
|
-
p = p.sort((o,
|
|
252
|
+
p = p.sort((o, d) => o.distance - d.distance);
|
|
240
253
|
let f;
|
|
241
254
|
for (const o of p) {
|
|
242
|
-
const { obVector:
|
|
243
|
-
if (!
|
|
255
|
+
const { obVector: d, distance: _, panoIndex: I } = o;
|
|
256
|
+
if (!B(i, n, d, _)) {
|
|
244
257
|
f = I;
|
|
245
258
|
break;
|
|
246
259
|
}
|
|
247
260
|
}
|
|
248
261
|
return typeof f == "number" ? u[f] : void 0;
|
|
249
|
-
},
|
|
262
|
+
}, ie = (n) => {
|
|
250
263
|
if (i.state.mode === P.Mode.Panorama)
|
|
251
264
|
return;
|
|
252
|
-
const u = i.work.observers, p = new a().fromArray(n.position), f =
|
|
265
|
+
const u = i.work.observers, p = new a().fromArray(n.position), f = re(p, u);
|
|
253
266
|
if (f && (n.observerIndex = f.panoIndex), typeof n.observerIndex == "number") {
|
|
254
|
-
const o = u[n.observerIndex],
|
|
255
|
-
longitude: Math.PI + Math.atan2(
|
|
256
|
-
latitude: Math.acos(
|
|
267
|
+
const o = u[n.observerIndex], d = p.clone().sub(o.position).normalize(), _ = {
|
|
268
|
+
longitude: Math.PI + Math.atan2(d.x, d.z),
|
|
269
|
+
latitude: Math.acos(d.y / d.length()) - Math.PI / 2
|
|
257
270
|
};
|
|
258
|
-
i.setState(y(k({},
|
|
271
|
+
i.setState(y(k({}, _), {
|
|
259
272
|
mode: P.Mode.Panorama,
|
|
260
273
|
panoIndex: n.observerIndex
|
|
261
274
|
})), i.once("initAnimationEnded", () => {
|
|
@@ -267,42 +280,42 @@ function De(r, t, e) {
|
|
|
267
280
|
});
|
|
268
281
|
}
|
|
269
282
|
};
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}),
|
|
273
|
-
e(1, g =
|
|
274
|
-
}),
|
|
283
|
+
Ie(() => {
|
|
284
|
+
ne();
|
|
285
|
+
}), ge(() => {
|
|
286
|
+
e(1, g = N(l)), b = l, L(), oe(), i.on("cameraUpdate", T);
|
|
287
|
+
}), ke(() => {
|
|
275
288
|
i.off("cameraUpdate", T), window.removeEventListener("resize", D, !1);
|
|
276
289
|
});
|
|
277
|
-
function
|
|
290
|
+
function se() {
|
|
278
291
|
C = this.clientWidth, E = this.clientHeight, e(3, C), e(4, E);
|
|
279
292
|
}
|
|
280
|
-
return
|
|
281
|
-
"five" in n && e(7, i = n.five), "modelOcclusionEnable" in n && e(8,
|
|
293
|
+
return s.$$set = (n) => {
|
|
294
|
+
"five" in n && e(7, i = n.five), "modelOcclusionEnable" in n && e(8, r = n.modelOcclusionEnable), "itemLabels" in n && e(9, l = n.itemLabels), "hooks" in n && e(0, h = n.hooks), "displayStrategyType" in n && e(10, m = n.displayStrategyType), "maxVisibleDistance" in n && e(11, c = n.maxVisibleDistance);
|
|
282
295
|
}, [
|
|
283
296
|
h,
|
|
284
297
|
g,
|
|
285
|
-
|
|
298
|
+
J,
|
|
286
299
|
C,
|
|
287
300
|
E,
|
|
288
301
|
F,
|
|
289
|
-
|
|
302
|
+
ie,
|
|
290
303
|
i,
|
|
291
|
-
|
|
304
|
+
r,
|
|
292
305
|
l,
|
|
293
|
-
|
|
306
|
+
m,
|
|
294
307
|
c,
|
|
295
|
-
|
|
308
|
+
se
|
|
296
309
|
];
|
|
297
310
|
}
|
|
298
|
-
class
|
|
311
|
+
class it extends we {
|
|
299
312
|
constructor(t) {
|
|
300
|
-
super(),
|
|
313
|
+
super(), Le(
|
|
301
314
|
this,
|
|
302
315
|
t,
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
316
|
+
Ue,
|
|
317
|
+
Te,
|
|
318
|
+
fe,
|
|
306
319
|
{
|
|
307
320
|
five: 7,
|
|
308
321
|
modelOcclusionEnable: 8,
|
|
@@ -311,11 +324,11 @@ class Ye extends me {
|
|
|
311
324
|
displayStrategyType: 10,
|
|
312
325
|
maxVisibleDistance: 11
|
|
313
326
|
},
|
|
314
|
-
|
|
327
|
+
xe,
|
|
315
328
|
[-1, -1]
|
|
316
329
|
);
|
|
317
330
|
}
|
|
318
331
|
}
|
|
319
332
|
export {
|
|
320
|
-
|
|
333
|
+
it as default
|
|
321
334
|
};
|