@realsee/dnalogel 3.0.0-0 → 3.0.0-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/Controller.d.ts +2 -3
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -3
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -5
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
- package/dist/PanoTagPlugin/controller/index.d.ts +6 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -66
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/index.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/dist/index.cjs.js +57 -57
- package/dist/index.d.ts +0 -1
- package/dist/index.js +4455 -4456
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/five/FiveDomEvents.d.ts +3 -1
- package/dist/shared-utils/nearlyEqual.d.ts +7 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -31
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -32
- package/docs/classes/CSS3DRender.html +30 -31
- package/docs/classes/CruisePluginController.html +25 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -35
- package/docs/classes/Magnifier.html +19 -20
- package/docs/classes/ModelRoomLabelController.html +10 -11
- package/docs/classes/Object3DHelperController.html +24 -25
- package/docs/classes/PaintBrush.html +14 -15
- package/docs/classes/PanoMeasurePluginLine.html +26 -27
- package/docs/classes/PanoMeasurePluginModel.html +26 -27
- package/docs/classes/PanoMeasurePluginPoint.html +10 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -27
- package/docs/classes/PanoTagPluginController.html +107 -53
- package/docs/classes/Util.BetterTween.html +8 -9
- package/docs/classes/Util.Interval.html +11 -12
- package/docs/classes/Util.LineSegments.html +7 -8
- package/docs/classes/Util.Magnifier.html +19 -20
- package/docs/classes/Util.Object3D.html +7 -8
- package/docs/classes/Util.PointDomHelper.html +10 -11
- package/docs/classes/Util.PointHelper.html +10 -11
- package/docs/classes/Util.PointSelectorHelper.html +15 -16
- package/docs/classes/Util.Rectangle.html +12 -13
- package/docs/enums/CameraMovementEffect.html +6 -7
- package/docs/enums/ContentType.html +19 -20
- package/docs/enums/DIRECTION.html +8 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/DimensionType.html +6 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/PaintBrushTypeEnum.html +7 -8
- package/docs/enums/PointType.html +6 -7
- package/docs/enums/Rotation.html +7 -8
- package/docs/functions/AreaMakerPlugin.html +4 -5
- package/docs/functions/CSS3DRenderPlugin.html +4 -5
- package/docs/functions/CameraMovementPlugin.html +4 -5
- package/docs/functions/CruisePlugin.html +4 -5
- package/docs/functions/CurrentPanoImagePlugin.html +4 -5
- package/docs/functions/GuideLinePlugin.html +4 -5
- package/docs/functions/ItemLabelPlugin.html +4 -5
- package/docs/functions/MapviewFloorplanPlugin.html +4 -5
- package/docs/functions/ModelChassisCompassPlugin.html +4 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -5
- package/docs/functions/ModelFloorplanPlugin.html +4 -5
- package/docs/functions/ModelItemLabelPlugin.html +4 -5
- package/docs/functions/ModelRoomLabelPlugin.html +4 -5
- package/docs/functions/ModelTVVideoPlugin.html +4 -5
- package/docs/functions/ModelViewPlugin.html +4 -5
- package/docs/functions/Object3DHelperPlugin.html +4 -5
- package/docs/functions/PanoCompassPlugin.html +4 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -5
- package/docs/functions/PanoDoorLabelPlugin.html +4 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -5
- package/docs/functions/PanoMeasurePlugin.html +4 -5
- package/docs/functions/PanoRulerPlugin.html +4 -5
- package/docs/functions/PanoRulerProPlugin.html +4 -5
- package/docs/functions/PanoSpatialTagPlugin.html +4 -5
- package/docs/functions/PanoTagPlugin.html +4 -5
- package/docs/functions/PanoVideoPlugin.html +4 -5
- package/docs/functions/PipelinePlugin.html +4 -5
- package/docs/functions/TopviewFloorplanPlugin.html +4 -5
- package/docs/functions/Util.absoluteUrl.html +4 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -5
- package/docs/functions/Util.equal.html +4 -5
- package/docs/functions/Util.getCoordsFromClient.html +4 -5
- package/docs/functions/Util.getCoordsFromElement.html +4 -5
- package/docs/functions/Util.getFrameTime.html +4 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -5
- package/docs/functions/Util.isAbsoluteURL.html +4 -5
- package/docs/functions/Util.isModelLike.html +4 -5
- package/docs/functions/Util.isNil.html +4 -5
- package/docs/functions/Util.isPanoramaLike.html +4 -5
- package/docs/functions/Util.nextFrame.html +4 -5
- package/docs/functions/Util.notNil.html +4 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -5
- package/docs/functions/Util.tweenProgress.html +4 -5
- package/docs/functions/Util.uuid.html +4 -5
- package/docs/functions/pluginFlag.html +4 -5
- package/docs/index.html +4 -5
- package/docs/interfaces/AddTagConfig.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -9
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -8
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -8
- package/docs/interfaces/EventMap.html +14 -15
- package/docs/interfaces/FloorplanBounding.html +7 -8
- package/docs/interfaces/FloorplanData.html +9 -10
- package/docs/interfaces/FloorplanEntrance.html +10 -11
- package/docs/interfaces/FloorplanExtraObject.html +9 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -8
- package/docs/interfaces/FloorplanFloorData.html +8 -9
- package/docs/interfaces/FloorplanImagePosition.html +6 -7
- package/docs/interfaces/FloorplanObserver.html +8 -9
- package/docs/interfaces/FloorplanOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanPosition.html +6 -7
- package/docs/interfaces/FloorplanRoomItem.html +12 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -7
- package/docs/interfaces/FloorplanServerBounding.html +7 -8
- package/docs/interfaces/FloorplanServerComputedData.html +9 -10
- package/docs/interfaces/FloorplanServerData.html +6 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -8
- package/docs/interfaces/FloorplanServerEntrance.html +10 -11
- package/docs/interfaces/FloorplanServerFloorData.html +8 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -7
- package/docs/interfaces/FloorplanServerObserver.html +8 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanServerPosition.html +6 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -9
- package/docs/interfaces/HelperOffset.html +7 -8
- package/docs/interfaces/ImagePlaneGroup.html +5 -6
- package/docs/interfaces/ItemLabelPluginData.html +5 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -9
- package/docs/interfaces/MinMax.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -6
- package/docs/interfaces/ModelViewPluginExportType.html +10 -11
- package/docs/interfaces/Object3DHelperState.html +7 -8
- package/docs/interfaces/ObjectHelperControllers.html +8 -9
- package/docs/interfaces/PaintBrushAction.html +11 -12
- package/docs/interfaces/PaintBrushConfigs.html +11 -12
- package/docs/interfaces/PaintBrushState.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -5
- package/docs/interfaces/PanoMeasureParameterType.html +15 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -7
- package/docs/interfaces/PanoRulerProPluginState.html +7 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -10
- package/docs/interfaces/Point.html +7 -8
- package/docs/interfaces/Room.html +8 -9
- package/docs/interfaces/RoomInfo.html +6 -7
- package/docs/interfaces/RoomLabel.html +13 -14
- package/docs/interfaces/RoomRules.html +4 -5
- package/docs/interfaces/Rooms.html +4 -5
- package/docs/interfaces/Scissor.html +8 -9
- package/docs/interfaces/State.html +7 -8
- package/docs/interfaces/TagCacheInterface.html +11 -12
- package/docs/interfaces/TagConfig.html +27 -45
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -6
- package/docs/interfaces/TagIconUrl.html +11 -12
- package/docs/interfaces/TagObjectGroup.html +5 -6
- package/docs/interfaces/TagStyle.html +5 -6
- package/docs/interfaces/Tags.html +10 -2153
- package/docs/interfaces/TemporaryState.html +5 -6
- package/docs/interfaces/Util.MagnifierParameter.html +10 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -8
- package/docs/interfaces/Util.PointIntersection.html +7 -8
- package/docs/modules/AreaMakerPluginType.html +4 -5
- package/docs/modules/CruisePluginTypes.html +4 -5
- package/docs/modules/CurrentPanoImagePluginType.html +4 -5
- package/docs/modules/GuideLineItem.html +4 -5
- package/docs/modules/GuideLineModeItem.html +4 -5
- package/docs/modules/GuideLinePluginType.html +4 -5
- package/docs/modules/PanoVideoPluginType.html +4 -5
- package/docs/modules/Util.html +4 -5
- package/docs/modules.html +4 -6
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -5
- package/docs/types/ArrayPosition.html +4 -5
- package/docs/types/AudioAppearance.html +4 -5
- package/docs/types/AudioTagTypeConfigKey.html +4 -5
- package/docs/types/CSS3DRenderExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -5
- package/docs/types/ClassFunctionParameters.html +4 -5
- package/docs/types/Color.html +4 -5
- package/docs/types/ContentTypeConfigKey.html +5 -6
- package/docs/types/ContentTypeConfigKeySplit.html +5 -6
- package/docs/types/ContentTypeMap.html +4 -5
- package/docs/types/Create3DDomContainerReturnType.html +4 -5
- package/docs/types/Create3DElementReturnType.html +4 -5
- package/docs/types/CruisePluginExportType.html +4 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -5
- package/docs/types/DeprecatedTagProperty.html +4 -5
- package/docs/types/Direction-1.html +4 -5
- package/docs/types/Direction4.html +4 -5
- package/docs/types/ElementRenderer.html +4 -5
- package/docs/types/FloorplanRuleLabels.html +4 -5
- package/docs/types/FloorplanServerRuleLabels.html +4 -5
- package/docs/types/GuideLinePluginExportType.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -5
- package/docs/types/GuideLinePluginType.PathItem.html +4 -5
- package/docs/types/GuideLinePluginType.PluginData.html +4 -5
- package/docs/types/HelperEventMap.html +4 -5
- package/docs/types/LoadTagConfig.html +4 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/MediaData.html +4 -5
- package/docs/types/MediaStore.html +4 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -5
- package/docs/types/MoveArgs.html +4 -5
- package/docs/types/MoveOpts.html +4 -5
- package/docs/types/Object3DHelperEventMap.html +4 -5
- package/docs/types/ObjectFit.html +4 -5
- package/docs/types/PaintBrushEventMap.html +4 -5
- package/docs/types/PanoCompassPluginData.html +4 -5
- package/docs/types/PanoCompassPluginExportType.html +4 -5
- package/docs/types/PanoCompassPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -5
- package/docs/types/PanoIndex.html +4 -5
- package/docs/types/PanoMeasurePluginEvent.html +4 -5
- package/docs/types/PanoMeasureReturnType.html +4 -5
- package/docs/types/PanoSpatialTagPluginId.html +4 -5
- package/docs/types/PanoTagPluginExportInterface.html +4 -5
- package/docs/types/PanoTagPluginParamsInterface.html +4 -5
- package/docs/types/PanoVideoPluginParameterType.html +4 -5
- package/docs/types/PanoVideoPluginReturnType.html +4 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -6
- package/docs/types/PipelinePluginParameterType.html +4 -5
- package/docs/types/PipelinePluginReturnType.html +4 -5
- package/docs/types/PlaneTag.html +4 -5
- package/docs/types/Point2DTag.html +4 -5
- package/docs/types/Point3DTag.html +4 -5
- package/docs/types/PointTag.html +4 -5
- package/docs/types/PointTagInstance.html +4 -5
- package/docs/types/Position.html +4 -5
- package/docs/types/RotateArgs.html +4 -5
- package/docs/types/RotateOpts.html +4 -5
- package/docs/types/RuleLabelsKey.html +4 -5
- package/docs/types/RuleLabelsValue.html +4 -5
- package/docs/types/StickType.html +4 -5
- package/docs/types/Tag.html +6 -7
- package/docs/types/Tag2D.html +4 -5
- package/docs/types/Tag3D.html +4 -5
- package/docs/types/TagConfigByKey.html +4 -5
- package/docs/types/TagContentType.html +4 -5
- package/docs/types/TagDimensionType.html +4 -5
- package/docs/types/TagElement.html +4 -5
- package/docs/types/TagEvents.html +4 -5
- package/docs/types/TagGLTFObject.html +4 -5
- package/docs/types/TagHooks.html +4 -5
- package/docs/types/TagId.html +4 -5
- package/docs/types/TagInstance.html +5 -8
- package/docs/types/TagPointType.html +4 -5
- package/docs/types/TagRendererMap.html +4 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/WorkCode.html +4 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -5
- package/docs/variables/PLUGIN.html +4 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -5
- package/docs/variables/ROOM_TYPE_MAP.html +4 -5
- package/docs/variables/defaultGlobalConfig.html +4 -5
- package/docs/variables/itemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +2 -3
- package/libs/CSS3DRenderPlugin/Controller.js +3 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +11 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +66 -68
- package/libs/CruisePlugin/Controller.js +3 -5
- package/libs/CruisePlugin/index.js +6 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +18 -21
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.js +5 -7
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -5
- package/libs/GuideLinePlugin/index.js +8 -10
- package/libs/PanoTagPlugin/Components/Tag/index.js +71 -70
- package/libs/PanoTagPlugin/Components/TagContainer.js +33 -32
- package/libs/PanoTagPlugin/Components/TagItem.js +116 -115
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +14 -14
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
- package/libs/PanoTagPlugin/controller/TagComputer.js +199 -168
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -5
- package/libs/PanoTagPlugin/controller/TagRender.js +117 -138
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
- package/libs/PanoTagPlugin/controller/TagUtil.js +152 -178
- package/libs/PanoTagPlugin/controller/index.d.ts +6 -2
- package/libs/PanoTagPlugin/controller/index.js +148 -140
- package/libs/PanoTagPlugin/index.js +13 -16
- package/libs/PanoTagPlugin/tag.config.js +3 -11
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -66
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +16 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/index.js +31 -23
- package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/utils/correctFiveState.js +25 -25
- package/libs/index.d.ts +0 -1
- package/libs/index.js +117 -120
- package/libs/shared-utils/five/FiveDomEvents.d.ts +3 -1
- package/libs/shared-utils/five/FiveDomEvents.js +56 -50
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/five/mode.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/nearlyEqual.d.ts +7 -0
- package/libs/shared-utils/nearlyEqual.js +9 -3
- package/package.json +2 -2
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/dist/shared-utils/five/adapt.d.ts +0 -9
- package/dist/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/dist/shared-utils/typescript/entries.d.ts +0 -2
- package/docs/types/ModelId.html +0 -279
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +0 -7
- package/libs/shared-utils/five/adapt.d.ts +0 -9
- package/libs/shared-utils/five/adapt.js +0 -16
- package/libs/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/libs/shared-utils/five/fiveModelLoad.js +0 -29
- package/libs/shared-utils/typescript/entries.d.ts +0 -2
- package/libs/shared-utils/typescript/entries.js +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
1
|
+
import { SvelteComponent as U, init as W, safe_not_equal as X, append_styles as Y, element as A, space as Z, attr as u, null_to_empty as B, set_style as h, toggle_class as w, insert as C, append as E, transition_out as v, check_outros as F, transition_in as y, detach as M, getContext as x, group_outros as G, noop as z, create_component as K, mount_component as O, destroy_component as Q } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import $ from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
5
|
-
import
|
|
6
|
-
import { classnames as
|
|
4
|
+
import { noTypecheck as H } from "../utils/noTypecheck.js";
|
|
5
|
+
import tt from "./Common/TagPoint.js";
|
|
6
|
+
import { classnames as J } from "../../vendor/classnames/index.js";
|
|
7
7
|
import "./Tag/TextTag/index.js";
|
|
8
8
|
import "./Tag/TextTag/TextTag.js";
|
|
9
9
|
import "./Common/Line/Straight.js";
|
|
@@ -77,6 +77,7 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
77
77
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
78
78
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
79
79
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
80
|
+
import "../utils/tag/tagCheck.js";
|
|
80
81
|
import "./Tag/AudioTag/index.js";
|
|
81
82
|
import "./Tag/AudioTag/AudioTag.js";
|
|
82
83
|
import "./Common/Audio.js";
|
|
@@ -89,37 +90,37 @@ import "./Tag/LinkTag.js";
|
|
|
89
90
|
import "./Common/Icon/Icon.js";
|
|
90
91
|
import "../utils/getImageInfo.js";
|
|
91
92
|
import "./Tag/CustomTag.js";
|
|
92
|
-
function
|
|
93
|
-
|
|
93
|
+
function et(i) {
|
|
94
|
+
Y(i, "svelte-pzwdws", ".tag.withAnimation.svelte-pzwdws{transition:opacity 0.3s linear}.tag.hide.svelte-pzwdws{opacity:0;pointer-events:none}.tag.hide.svelte-pzwdws *{pointer-events:none !important}.tag.unClickable.svelte-pzwdws{pointer-events:none !important}.tag.unClickable.svelte-pzwdws *{pointer-events:none !important}.tag.disable.svelte-pzwdws{display:none}.wrapper.svelte-pzwdws{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
|
|
94
95
|
}
|
|
95
|
-
function
|
|
96
|
+
function it(i) {
|
|
96
97
|
let e;
|
|
97
98
|
return {
|
|
98
99
|
c() {
|
|
99
|
-
e =
|
|
100
|
+
e = A("div"), u(e, "data-info", "tag point is disable");
|
|
100
101
|
},
|
|
101
102
|
m(t, o) {
|
|
102
|
-
|
|
103
|
+
C(t, e, o);
|
|
103
104
|
},
|
|
104
|
-
p:
|
|
105
|
-
i:
|
|
106
|
-
o:
|
|
105
|
+
p: z,
|
|
106
|
+
i: z,
|
|
107
|
+
o: z,
|
|
107
108
|
d(t) {
|
|
108
|
-
t &&
|
|
109
|
+
t && M(e);
|
|
109
110
|
}
|
|
110
111
|
};
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
+
function ot(i) {
|
|
113
114
|
let e, t;
|
|
114
|
-
return e = new
|
|
115
|
+
return e = new tt({ props: { tag: (
|
|
115
116
|
/*tag*/
|
|
116
117
|
i[1]
|
|
117
118
|
) } }), {
|
|
118
119
|
c() {
|
|
119
|
-
|
|
120
|
+
K(e.$$.fragment);
|
|
120
121
|
},
|
|
121
122
|
m(o, n) {
|
|
122
|
-
|
|
123
|
+
O(e, o, n), t = !0;
|
|
123
124
|
},
|
|
124
125
|
p(o, n) {
|
|
125
126
|
const l = {};
|
|
@@ -128,36 +129,36 @@ function et(i) {
|
|
|
128
129
|
o[1]), e.$set(l);
|
|
129
130
|
},
|
|
130
131
|
i(o) {
|
|
131
|
-
t || (
|
|
132
|
+
t || (y(e.$$.fragment, o), t = !0);
|
|
132
133
|
},
|
|
133
134
|
o(o) {
|
|
134
|
-
|
|
135
|
+
v(e.$$.fragment, o), t = !1;
|
|
135
136
|
},
|
|
136
137
|
d(o) {
|
|
137
|
-
|
|
138
|
+
Q(e, o);
|
|
138
139
|
}
|
|
139
140
|
};
|
|
140
141
|
}
|
|
141
|
-
function
|
|
142
|
+
function rt(i) {
|
|
142
143
|
let e;
|
|
143
144
|
return {
|
|
144
145
|
c() {
|
|
145
|
-
e =
|
|
146
|
+
e = A("div"), u(e, "data-info", "tag content is disable");
|
|
146
147
|
},
|
|
147
148
|
m(t, o) {
|
|
148
|
-
|
|
149
|
+
C(t, e, o);
|
|
149
150
|
},
|
|
150
|
-
p:
|
|
151
|
-
i:
|
|
152
|
-
o:
|
|
151
|
+
p: z,
|
|
152
|
+
i: z,
|
|
153
|
+
o: z,
|
|
153
154
|
d(t) {
|
|
154
|
-
t &&
|
|
155
|
+
t && M(e);
|
|
155
156
|
}
|
|
156
157
|
};
|
|
157
158
|
}
|
|
158
|
-
function
|
|
159
|
+
function nt(i) {
|
|
159
160
|
let e, t;
|
|
160
|
-
return e = new
|
|
161
|
+
return e = new $({
|
|
161
162
|
props: {
|
|
162
163
|
mediaStore: (
|
|
163
164
|
/*mediaStore*/
|
|
@@ -167,7 +168,7 @@ function ot(i) {
|
|
|
167
168
|
/*withAnimation*/
|
|
168
169
|
i[0]
|
|
169
170
|
),
|
|
170
|
-
tag:
|
|
171
|
+
tag: H(
|
|
171
172
|
/*tag*/
|
|
172
173
|
i[1]
|
|
173
174
|
),
|
|
@@ -190,10 +191,10 @@ function ot(i) {
|
|
|
190
191
|
}
|
|
191
192
|
}), {
|
|
192
193
|
c() {
|
|
193
|
-
|
|
194
|
+
K(e.$$.fragment);
|
|
194
195
|
},
|
|
195
196
|
m(o, n) {
|
|
196
|
-
|
|
197
|
+
O(e, o, n), t = !0;
|
|
197
198
|
},
|
|
198
199
|
p(o, n) {
|
|
199
200
|
const l = {};
|
|
@@ -202,7 +203,7 @@ function ot(i) {
|
|
|
202
203
|
o[2]), n & /*withAnimation*/
|
|
203
204
|
1 && (l.withAnimation = /*withAnimation*/
|
|
204
205
|
o[0]), n & /*tag*/
|
|
205
|
-
2 && (l.tag =
|
|
206
|
+
2 && (l.tag = H(
|
|
206
207
|
/*tag*/
|
|
207
208
|
o[1]
|
|
208
209
|
)), n & /*state*/
|
|
@@ -214,87 +215,87 @@ function ot(i) {
|
|
|
214
215
|
o[3]), e.$set(l);
|
|
215
216
|
},
|
|
216
217
|
i(o) {
|
|
217
|
-
t || (
|
|
218
|
+
t || (y(e.$$.fragment, o), t = !0);
|
|
218
219
|
},
|
|
219
220
|
o(o) {
|
|
220
|
-
|
|
221
|
+
v(e.$$.fragment, o), t = !1;
|
|
221
222
|
},
|
|
222
223
|
d(o) {
|
|
223
|
-
|
|
224
|
+
Q(e, o);
|
|
224
225
|
}
|
|
225
226
|
};
|
|
226
227
|
}
|
|
227
|
-
function
|
|
228
|
-
let e, t, o, n, l,
|
|
229
|
-
const
|
|
228
|
+
function at(i) {
|
|
229
|
+
let e, t, o, n, l, f, d, g, b, s;
|
|
230
|
+
const S = [ot, it], c = [];
|
|
230
231
|
function a(r, p) {
|
|
231
232
|
return (
|
|
232
233
|
/*havePoint*/
|
|
233
234
|
r[14] ? 0 : 1
|
|
234
235
|
);
|
|
235
236
|
}
|
|
236
|
-
o = a(i), n =
|
|
237
|
-
const
|
|
238
|
-
function
|
|
237
|
+
o = a(i), n = c[o] = S[o](i);
|
|
238
|
+
const P = [nt, rt], _ = [];
|
|
239
|
+
function T(r, p) {
|
|
239
240
|
return (
|
|
240
241
|
/*haveContent*/
|
|
241
242
|
r[13] ? 0 : 1
|
|
242
243
|
);
|
|
243
244
|
}
|
|
244
|
-
return
|
|
245
|
+
return f = T(i), d = _[f] = P[f](i), {
|
|
245
246
|
c() {
|
|
246
|
-
e =
|
|
247
|
+
e = A("div"), t = A("div"), n.c(), l = Z(), d.c(), u(t, "class", g = B(J(
|
|
247
248
|
"wrapper",
|
|
248
249
|
/*tag*/
|
|
249
250
|
i[1].className ? `${/*tag*/
|
|
250
251
|
i[1].className}__wrapper` : void 0
|
|
251
|
-
)) + " svelte-
|
|
252
|
+
)) + " svelte-pzwdws"), u(
|
|
252
253
|
t,
|
|
253
254
|
"data-tag-unfolded",
|
|
254
255
|
/*unfolded*/
|
|
255
256
|
i[6]
|
|
256
|
-
),
|
|
257
|
+
), u(
|
|
257
258
|
t,
|
|
258
259
|
"data-tag-id",
|
|
259
260
|
/*id*/
|
|
260
261
|
i[12]
|
|
261
|
-
),
|
|
262
|
-
i[1].contentType),
|
|
262
|
+
), u(t, "data-content-type", b = /*tag*/
|
|
263
|
+
i[1].contentType), h(
|
|
263
264
|
t,
|
|
264
265
|
"left",
|
|
265
266
|
/*left*/
|
|
266
267
|
i[9]
|
|
267
|
-
),
|
|
268
|
+
), h(
|
|
268
269
|
t,
|
|
269
270
|
"top",
|
|
270
271
|
/*top*/
|
|
271
272
|
i[8]
|
|
272
|
-
),
|
|
273
|
+
), u(e, "class", "tag svelte-pzwdws"), u(
|
|
273
274
|
e,
|
|
274
275
|
"data-tag-id",
|
|
275
276
|
/*id*/
|
|
276
277
|
i[12]
|
|
277
|
-
),
|
|
278
|
+
), w(
|
|
278
279
|
e,
|
|
279
280
|
"unClickable",
|
|
280
281
|
/*tag*/
|
|
281
282
|
i[1].config.clickable === !1
|
|
282
|
-
),
|
|
283
|
+
), w(
|
|
283
284
|
e,
|
|
284
285
|
"disable",
|
|
285
286
|
/*disable*/
|
|
286
287
|
i[11]
|
|
287
|
-
),
|
|
288
|
+
), w(
|
|
288
289
|
e,
|
|
289
290
|
"hide",
|
|
290
291
|
/*hide*/
|
|
291
292
|
i[10]
|
|
292
|
-
),
|
|
293
|
+
), w(
|
|
293
294
|
e,
|
|
294
295
|
"withAnimation",
|
|
295
296
|
/*withAnimation*/
|
|
296
297
|
i[0]
|
|
297
|
-
),
|
|
298
|
+
), h(
|
|
298
299
|
e,
|
|
299
300
|
"z-index",
|
|
300
301
|
/*zIndex*/
|
|
@@ -302,80 +303,80 @@ function rt(i) {
|
|
|
302
303
|
);
|
|
303
304
|
},
|
|
304
305
|
m(r, p) {
|
|
305
|
-
|
|
306
|
+
C(r, e, p), E(e, t), c[o].m(t, null), E(t, l), _[f].m(t, null), s = !0;
|
|
306
307
|
},
|
|
307
308
|
p(r, [p]) {
|
|
308
309
|
let m = o;
|
|
309
|
-
o = a(r), o === m ?
|
|
310
|
-
|
|
311
|
-
}),
|
|
312
|
-
let
|
|
313
|
-
|
|
314
|
-
_[
|
|
315
|
-
}),
|
|
316
|
-
2 && g !== (g =
|
|
310
|
+
o = a(r), o === m ? c[o].p(r, p) : (G(), v(c[m], 1, 1, () => {
|
|
311
|
+
c[m] = null;
|
|
312
|
+
}), F(), n = c[o], n ? n.p(r, p) : (n = c[o] = S[o](r), n.c()), y(n, 1), n.m(t, l));
|
|
313
|
+
let k = f;
|
|
314
|
+
f = T(r), f === k ? _[f].p(r, p) : (G(), v(_[k], 1, 1, () => {
|
|
315
|
+
_[k] = null;
|
|
316
|
+
}), F(), d = _[f], d ? d.p(r, p) : (d = _[f] = P[f](r), d.c()), y(d, 1), d.m(t, null)), (!s || p & /*tag*/
|
|
317
|
+
2 && g !== (g = B(J(
|
|
317
318
|
"wrapper",
|
|
318
319
|
/*tag*/
|
|
319
320
|
r[1].className ? `${/*tag*/
|
|
320
321
|
r[1].className}__wrapper` : void 0
|
|
321
|
-
)) + " svelte-
|
|
322
|
-
64) &&
|
|
322
|
+
)) + " svelte-pzwdws")) && u(t, "class", g), (!s || p & /*unfolded*/
|
|
323
|
+
64) && u(
|
|
323
324
|
t,
|
|
324
325
|
"data-tag-unfolded",
|
|
325
326
|
/*unfolded*/
|
|
326
327
|
r[6]
|
|
327
|
-
), (!
|
|
328
|
-
4096) &&
|
|
328
|
+
), (!s || p & /*id*/
|
|
329
|
+
4096) && u(
|
|
329
330
|
t,
|
|
330
331
|
"data-tag-id",
|
|
331
332
|
/*id*/
|
|
332
333
|
r[12]
|
|
333
|
-
), (!
|
|
334
|
-
2 &&
|
|
335
|
-
r[1].contentType)) &&
|
|
336
|
-
512 &&
|
|
334
|
+
), (!s || p & /*tag*/
|
|
335
|
+
2 && b !== (b = /*tag*/
|
|
336
|
+
r[1].contentType)) && u(t, "data-content-type", b), p & /*left*/
|
|
337
|
+
512 && h(
|
|
337
338
|
t,
|
|
338
339
|
"left",
|
|
339
340
|
/*left*/
|
|
340
341
|
r[9]
|
|
341
342
|
), p & /*top*/
|
|
342
|
-
256 &&
|
|
343
|
+
256 && h(
|
|
343
344
|
t,
|
|
344
345
|
"top",
|
|
345
346
|
/*top*/
|
|
346
347
|
r[8]
|
|
347
|
-
), (!
|
|
348
|
-
4096) &&
|
|
348
|
+
), (!s || p & /*id*/
|
|
349
|
+
4096) && u(
|
|
349
350
|
e,
|
|
350
351
|
"data-tag-id",
|
|
351
352
|
/*id*/
|
|
352
353
|
r[12]
|
|
353
|
-
), (!
|
|
354
|
-
2) &&
|
|
354
|
+
), (!s || p & /*tag*/
|
|
355
|
+
2) && w(
|
|
355
356
|
e,
|
|
356
357
|
"unClickable",
|
|
357
358
|
/*tag*/
|
|
358
359
|
r[1].config.clickable === !1
|
|
359
|
-
), (!
|
|
360
|
-
2048) &&
|
|
360
|
+
), (!s || p & /*disable*/
|
|
361
|
+
2048) && w(
|
|
361
362
|
e,
|
|
362
363
|
"disable",
|
|
363
364
|
/*disable*/
|
|
364
365
|
r[11]
|
|
365
|
-
), (!
|
|
366
|
-
1024) &&
|
|
366
|
+
), (!s || p & /*hide*/
|
|
367
|
+
1024) && w(
|
|
367
368
|
e,
|
|
368
369
|
"hide",
|
|
369
370
|
/*hide*/
|
|
370
371
|
r[10]
|
|
371
|
-
), (!
|
|
372
|
-
1) &&
|
|
372
|
+
), (!s || p & /*withAnimation*/
|
|
373
|
+
1) && w(
|
|
373
374
|
e,
|
|
374
375
|
"withAnimation",
|
|
375
376
|
/*withAnimation*/
|
|
376
377
|
r[0]
|
|
377
378
|
), p & /*zIndex*/
|
|
378
|
-
128 &&
|
|
379
|
+
128 && h(
|
|
379
380
|
e,
|
|
380
381
|
"z-index",
|
|
381
382
|
/*zIndex*/
|
|
@@ -383,63 +384,63 @@ function rt(i) {
|
|
|
383
384
|
);
|
|
384
385
|
},
|
|
385
386
|
i(r) {
|
|
386
|
-
|
|
387
|
+
s || (y(n), y(d), s = !0);
|
|
387
388
|
},
|
|
388
389
|
o(r) {
|
|
389
|
-
|
|
390
|
+
v(n), v(d), s = !1;
|
|
390
391
|
},
|
|
391
392
|
d(r) {
|
|
392
|
-
r &&
|
|
393
|
+
r && M(e), c[o].d(), _[f].d();
|
|
393
394
|
}
|
|
394
395
|
};
|
|
395
396
|
}
|
|
396
|
-
function
|
|
397
|
-
let o, n, l,
|
|
398
|
-
const p =
|
|
397
|
+
function pt(i, e, t) {
|
|
398
|
+
let o, n, l, f, d, g, b, s, S, { withAnimation: c = !1 } = e, { tag: a } = e, { mediaStore: P } = e, { renderMap: _ = /* @__PURE__ */ new Map() } = e, { state: T } = e, { temporaryState: r } = e;
|
|
399
|
+
const p = x("hooks");
|
|
399
400
|
return i.$$set = (m) => {
|
|
400
|
-
"withAnimation" in m && t(0,
|
|
401
|
+
"withAnimation" in m && t(0, c = m.withAnimation), "tag" in m && t(1, a = m.tag), "mediaStore" in m && t(2, P = m.mediaStore), "renderMap" in m && t(3, _ = m.renderMap), "state" in m && t(4, T = m.state), "temporaryState" in m && t(5, r = m.temporaryState);
|
|
401
402
|
}, i.$$.update = () => {
|
|
402
|
-
var m,
|
|
403
|
+
var m, k, N, I, L, q, D, R;
|
|
403
404
|
i.$$.dirty & /*tag*/
|
|
404
405
|
2 && t(14, o = (() => {
|
|
405
|
-
var
|
|
406
|
-
return !(((
|
|
406
|
+
var V, j;
|
|
407
|
+
return !(((j = (V = a.style) == null ? void 0 : V.point) == null ? void 0 : j.enabled) === !1 || a.contentType === "Sticker" || a.contentType === "Link" || a.contentType === "VRLink" || a.contentType === "PanoLink" || a.contentType === "Audio" && a.data.appearance === "plane");
|
|
407
408
|
})()), i.$$.dirty & /*tag*/
|
|
408
409
|
2 && t(13, n = (() => a.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
|
|
409
410
|
2 && t(12, l = a.id), i.$$.dirty & /*tag*/
|
|
410
|
-
2 && t(11,
|
|
411
|
-
2 && t(10,
|
|
412
|
-
2 && t(6, g = (
|
|
413
|
-
2 && t(9,
|
|
414
|
-
2 && t(8,
|
|
415
|
-
66 && t(7,
|
|
411
|
+
2 && t(11, f = !((m = a.screenPosition) != null && m.leftPercent) || !((k = a.screenPosition) != null && k.topPercent) || a.enabled === !1 || !a.state), i.$$.dirty & /*tag*/
|
|
412
|
+
2 && t(10, d = !((N = a.state) != null && N.visible) || ((I = a.temporaryState) == null ? void 0 : I.visible) === !1), i.$$.dirty & /*tag*/
|
|
413
|
+
2 && t(6, g = (L = a.state) == null ? void 0 : L.unfolded), i.$$.dirty & /*tag*/
|
|
414
|
+
2 && t(9, b = ((q = a.screenPosition) == null ? void 0 : q.leftPercent) + "%"), i.$$.dirty & /*tag*/
|
|
415
|
+
2 && t(8, s = ((D = a.screenPosition) == null ? void 0 : D.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
|
|
416
|
+
66 && t(7, S = ((R = a.zIndex) != null ? R : 0) + (g ? 1e4 : 0));
|
|
416
417
|
}, [
|
|
417
|
-
|
|
418
|
+
c,
|
|
418
419
|
a,
|
|
419
|
-
A,
|
|
420
|
-
_,
|
|
421
420
|
P,
|
|
421
|
+
_,
|
|
422
|
+
T,
|
|
422
423
|
r,
|
|
423
424
|
g,
|
|
424
|
-
|
|
425
|
-
f,
|
|
426
|
-
v,
|
|
427
|
-
u,
|
|
425
|
+
S,
|
|
428
426
|
s,
|
|
427
|
+
b,
|
|
428
|
+
d,
|
|
429
|
+
f,
|
|
429
430
|
l,
|
|
430
431
|
n,
|
|
431
432
|
o,
|
|
432
433
|
p
|
|
433
434
|
];
|
|
434
435
|
}
|
|
435
|
-
class
|
|
436
|
+
class Qe extends U {
|
|
436
437
|
constructor(e) {
|
|
437
|
-
super(),
|
|
438
|
+
super(), W(
|
|
438
439
|
this,
|
|
439
440
|
e,
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
pt,
|
|
442
|
+
at,
|
|
443
|
+
X,
|
|
443
444
|
{
|
|
444
445
|
withAnimation: 0,
|
|
445
446
|
tag: 1,
|
|
@@ -448,10 +449,10 @@ class Je extends O {
|
|
|
448
449
|
state: 4,
|
|
449
450
|
temporaryState: 5
|
|
450
451
|
},
|
|
451
|
-
|
|
452
|
+
et
|
|
452
453
|
);
|
|
453
454
|
}
|
|
454
455
|
}
|
|
455
456
|
export {
|
|
456
|
-
|
|
457
|
+
Qe as default
|
|
457
458
|
};
|
|
@@ -8,14 +8,14 @@ export declare abstract class TagCache extends BasePlugin.Controller<State, Even
|
|
|
8
8
|
/**
|
|
9
9
|
* @description: 获取缓存
|
|
10
10
|
*/
|
|
11
|
-
protected
|
|
11
|
+
protected getCache(params?: {
|
|
12
12
|
panoIndex?: number;
|
|
13
13
|
}): Map<TagId, TagCacheInterface>;
|
|
14
|
-
protected
|
|
14
|
+
protected getCache(params?: {
|
|
15
15
|
panoIndex?: number;
|
|
16
16
|
id: TagId;
|
|
17
17
|
}): TagCacheInterface;
|
|
18
|
-
protected
|
|
18
|
+
protected getCache(params?: {
|
|
19
19
|
panoIndex?: number;
|
|
20
20
|
id: TagId;
|
|
21
21
|
key: keyof TagCacheInterface;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { Controller as
|
|
1
|
+
var l = Object.defineProperty;
|
|
2
|
+
var f = (r, e, t) => e in r ? l(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var g = (r, e, t) => (f(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
import { Controller as u } from "../../base/BasePlugin.js";
|
|
5
5
|
import "../../shared-utils/Subscribe.js";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three";
|
|
@@ -21,17 +21,17 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
21
21
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
22
22
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "../../shared-utils/absoluteUrl.js";
|
|
24
|
-
class
|
|
24
|
+
class G extends u {
|
|
25
25
|
constructor(t) {
|
|
26
26
|
super(t);
|
|
27
|
-
|
|
27
|
+
g(this, "tagCacheByPanoIndex", {});
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
var h;
|
|
31
|
-
const { five:
|
|
32
|
-
if (
|
|
33
|
-
throw new Error(`TagCacheController
|
|
34
|
-
const p = `${
|
|
29
|
+
getCache(t) {
|
|
30
|
+
var h, s, C;
|
|
31
|
+
const { five: n } = this, { panoIndex: c, id: i, key: m } = t != null ? t : {}, a = c != null ? c : n.getCurrentState().panoIndex;
|
|
32
|
+
if (a === void 0)
|
|
33
|
+
throw new Error(`TagCacheController getCache(): fivePanoIndex is ${a}`);
|
|
34
|
+
const p = `${(s = (h = n.work) == null ? void 0 : h.workCode) != null ? s : n.model.uuid}-${a}`;
|
|
35
35
|
let o = this.tagCacheByPanoIndex[p];
|
|
36
36
|
if (o || (o = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[p] = o), i === void 0)
|
|
37
37
|
return o;
|
|
@@ -39,7 +39,7 @@ class A extends l {
|
|
|
39
39
|
const d = o.get(i);
|
|
40
40
|
return d || (o.set(i, {}), o.get(i));
|
|
41
41
|
}
|
|
42
|
-
return (
|
|
42
|
+
return (C = o.get(i)) == null ? void 0 : C[m];
|
|
43
43
|
}
|
|
44
44
|
clearCache() {
|
|
45
45
|
this.tagCacheByPanoIndex = {};
|
|
@@ -48,5 +48,5 @@ class A extends l {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
G as TagCache
|
|
52
52
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Five, State as FiveState } from '@realsee/five';
|
|
1
|
+
import type { Five, Mode, State as FiveState } from '@realsee/five';
|
|
2
2
|
import type { TagInstance } from '../typings';
|
|
3
3
|
import { TagUtil } from './TagUtil';
|
|
4
4
|
export declare abstract class TagComputer extends TagUtil {
|
|
@@ -6,7 +6,11 @@ export declare abstract class TagComputer extends TagUtil {
|
|
|
6
6
|
/**
|
|
7
7
|
* @description: 获取是否可见
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
getVisibleByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
|
|
10
|
+
getVisibleByFiveMode(tag: TagInstance, mode?: Mode): boolean;
|
|
11
|
+
getVisible(tag: TagInstance, state?: Partial<FiveState>): boolean;
|
|
12
|
+
/** 获取当前点位上模型中的多媒体是否应该展示 */
|
|
13
|
+
getModelMedialVisibleByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
|
|
10
14
|
/**
|
|
11
15
|
* @description: 获取是否展开
|
|
12
16
|
*/
|
|
@@ -15,16 +19,18 @@ export declare abstract class TagComputer extends TagUtil {
|
|
|
15
19
|
* @description: 获取是否展开
|
|
16
20
|
*/
|
|
17
21
|
getUnfoldedByCamera(tag: TagInstance): boolean;
|
|
18
|
-
protected
|
|
19
|
-
protected
|
|
22
|
+
protected sort<T extends TagInstance>(tags: T[]): T[];
|
|
23
|
+
protected setTagZIndex<T extends TagInstance>(tags: T[]): void;
|
|
20
24
|
/**
|
|
21
25
|
* @description: 一个点的标签
|
|
22
26
|
*/
|
|
23
27
|
protected setPointTagPosition(): void;
|
|
24
|
-
protected setVisible(
|
|
28
|
+
protected setVisible(): void;
|
|
29
|
+
protected setVisibleByPanoIndex(): void;
|
|
30
|
+
protected setModelMedialVisible(): void;
|
|
25
31
|
protected setUnfoldedByPanoIndex(): void;
|
|
26
32
|
/**
|
|
27
|
-
* @description 一个点的标签
|
|
33
|
+
* @description: 一个点的标签
|
|
28
34
|
*/
|
|
29
35
|
protected getTagProject(tag: TagInstance): {
|
|
30
36
|
x: number;
|