@realsee/dnalogel 3.34.6 → 3.35.0-dev.1
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/CHANGELOG.md +0 -9
- package/dist/ModelMakerPlugin/Controller.d.ts +1 -1
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +11 -6
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/debounce.d.ts +1 -0
- package/dist/PanoVideoPlugin/Controller.d.ts +1 -2
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3159 -3139
- package/dist/index.umd.js +44 -44
- package/dist/shared-utils/tag.d.ts +4 -4
- 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} +111 -203
- 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 +126 -234
- 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 +8 -20
- 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/ModelMakerPlugin/Controller.d.ts +1 -1
- package/libs/ModelMakerPlugin/Controller.js +86 -88
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +26 -23
- package/libs/PanoRulerPlugin/Plugin.js +15 -15
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -0
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +67 -63
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +11 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +106 -107
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +67 -61
- package/libs/PanoTagPlugin/utils/debounce.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/debounce.js +10 -4
- package/libs/PanoTagPlugin/utils/index.js +7 -6
- package/libs/PanoVideoPlugin/Controller.d.ts +1 -2
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/base/BasePlugin.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -4
- package/libs/shared-utils/tag.js +30 -26
- package/package.json +2 -2
- 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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var A = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
2
|
+
var j = Object.getOwnPropertySymbols;
|
|
3
|
+
var I = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var S = (p, m, t) => m in p ? A(p, m, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[m] = t, k = (p, m) => {
|
|
5
5
|
for (var t in m || (m = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
|
|
10
|
-
return
|
|
6
|
+
I.call(m, t) && S(p, t, m[t]);
|
|
7
|
+
if (j)
|
|
8
|
+
for (var t of j(m))
|
|
9
|
+
V.call(m, t) && S(p, t, m[t]);
|
|
10
|
+
return p;
|
|
11
11
|
};
|
|
12
|
-
var u = (
|
|
13
|
-
var
|
|
12
|
+
var u = (p, m, t) => (S(p, typeof m != "symbol" ? m + "" : m, t), t);
|
|
13
|
+
var C = (p, m, t) => new Promise((e, o) => {
|
|
14
14
|
var i = (s) => {
|
|
15
15
|
try {
|
|
16
16
|
a(t.next(s));
|
|
@@ -24,17 +24,18 @@ var S = (d, m, t) => new Promise((e, o) => {
|
|
|
24
24
|
o(n);
|
|
25
25
|
}
|
|
26
26
|
}, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(i, r);
|
|
27
|
-
a((t = t.apply(
|
|
27
|
+
a((t = t.apply(p, m)).next());
|
|
28
28
|
});
|
|
29
|
-
import { TagComputer as
|
|
30
|
-
import { Group as
|
|
29
|
+
import { TagComputer as x } from "./TagComputer.js";
|
|
30
|
+
import { Group as M, Quaternion as E, Vector3 as b, Matrix4 as v } from "three";
|
|
31
31
|
import O from "../Components/TagContainer.js";
|
|
32
|
-
import
|
|
33
|
-
import { loadGLTF as
|
|
34
|
-
import { isMediaModelTag as
|
|
35
|
-
import { VideoPlane as
|
|
36
|
-
import { centerPoint as
|
|
37
|
-
import { arrayPositionToVector3 as
|
|
32
|
+
import G from "../Components/Tag/index.js";
|
|
33
|
+
import { loadGLTF as F } from "../../shared-utils/three/GLTFLoader.js";
|
|
34
|
+
import { isMediaModelTag as g, isStickModelTag as _ } from "../utils/tag/tagCheck.js";
|
|
35
|
+
import { VideoPlane as L, ImagePlane as w } from "../utils/model/mediaPlane.js";
|
|
36
|
+
import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
|
|
37
|
+
import { arrayPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
|
|
38
|
+
import { debounceByKey as y } from "../utils/debounce.js";
|
|
38
39
|
import "../utils/tagPosition.js";
|
|
39
40
|
import "../utils/checkRange.js";
|
|
40
41
|
import "../../shared-utils/five/mode.js";
|
|
@@ -161,15 +162,15 @@ import "../Components/Tag/LinkTag.js";
|
|
|
161
162
|
import "../Components/Tag/PanoramaTag.js";
|
|
162
163
|
import "../Components/Tag/CustomTag.js";
|
|
163
164
|
import "@realsee/five/gltf-loader";
|
|
164
|
-
const
|
|
165
|
-
class
|
|
165
|
+
const q = /* @__PURE__ */ new Map(), $ = /* @__PURE__ */ new Map();
|
|
166
|
+
class bi extends x {
|
|
166
167
|
constructor(t) {
|
|
167
168
|
super(t);
|
|
168
169
|
u(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
169
170
|
u(this, "contentTypeMap", /* @__PURE__ */ new Map());
|
|
170
|
-
u(this, "group", new
|
|
171
|
-
u(this, "imagePlaneGroup", new
|
|
172
|
-
u(this, "gltfObjectGroup", new
|
|
171
|
+
u(this, "group", new M());
|
|
172
|
+
u(this, "imagePlaneGroup", new M());
|
|
173
|
+
u(this, "gltfObjectGroup", new M());
|
|
173
174
|
/** 维护一个可用模型表,用于快速删除不应该在场景中的模型 */
|
|
174
175
|
u(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
|
|
175
176
|
/** 临时状态 */
|
|
@@ -177,14 +178,14 @@ class Pi extends V {
|
|
|
177
178
|
/** 点标签 */
|
|
178
179
|
u(this, "TagContainerSvelte");
|
|
179
180
|
/** 加载外部模型 */
|
|
180
|
-
u(this, "loadModel", (t) =>
|
|
181
|
+
u(this, "loadModel", (t) => C(this, null, function* () {
|
|
181
182
|
var a;
|
|
182
183
|
const e = t.data.modelUrl;
|
|
183
184
|
if (!e)
|
|
184
185
|
return;
|
|
185
186
|
t.loading = !0;
|
|
186
|
-
const o =
|
|
187
|
-
var
|
|
187
|
+
const o = F(e).then((s) => {
|
|
188
|
+
var d;
|
|
188
189
|
const n = Object.assign(s.scene, {
|
|
189
190
|
customID: t.id,
|
|
190
191
|
isTagModel: !0,
|
|
@@ -193,7 +194,7 @@ class Pi extends V {
|
|
|
193
194
|
this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
|
|
194
195
|
})
|
|
195
196
|
});
|
|
196
|
-
return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (
|
|
197
|
+
return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (d = this.getTagConfig(t).modelConfig) != null && d.autoLookAtEnabled && n.lookAt(this.five.camera.position.clone().setY(n.position.y)), n;
|
|
197
198
|
});
|
|
198
199
|
t.model = { promise: o };
|
|
199
200
|
const i = yield o;
|
|
@@ -201,10 +202,10 @@ class Pi extends V {
|
|
|
201
202
|
return;
|
|
202
203
|
t.model.object = i;
|
|
203
204
|
const r = this.gltfObjectGroup.children.find((s) => s.customID === t.id);
|
|
204
|
-
if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(),
|
|
205
|
+
if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), g(t)) {
|
|
205
206
|
if (this.getRenderType(t) === "Mesh" && !t.mediaPlane) {
|
|
206
|
-
const s = t.data.mediaPosition.map(
|
|
207
|
-
t.mediaPlane = new w(t.data.mediaData[0].url, t.data.mediaPosition.map(
|
|
207
|
+
const s = t.data.mediaPosition.map(D);
|
|
208
|
+
t.mediaPlane = new w(t.data.mediaData[0].url, t.data.mediaPosition.map(D), {
|
|
208
209
|
objectFit: t.data.objectFit
|
|
209
210
|
});
|
|
210
211
|
const n = new b().addVectors(s[0], s[2]).divideScalar(2);
|
|
@@ -237,7 +238,7 @@ class Pi extends V {
|
|
|
237
238
|
this.tags.length && (this.tags.forEach((e) => {
|
|
238
239
|
var o, i;
|
|
239
240
|
(i = (o = e.mediaPlane) == null ? void 0 : o.parent) == null || i.remove(e.mediaPlane);
|
|
240
|
-
}), this.tags = [], (t = this.TagContainerSvelte) == null || t.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache();
|
|
241
|
+
}), this.tags = [], (t = this.TagContainerSvelte) == null || t.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache(), this.tagsLengthWillUpdate = !0;
|
|
241
242
|
}
|
|
242
243
|
/**
|
|
243
244
|
* @description 更新所有标签
|
|
@@ -245,6 +246,12 @@ class Pi extends V {
|
|
|
245
246
|
updateRenderAllTags() {
|
|
246
247
|
this.enabledModelTagSet.clear(), this.tags.forEach((t) => t.stickType === "Model" && this.enabledModelTagSet.add(t.id)), this.updateRenderPointTag(), this.updateRender3DDomTag(), this.updateRenderModelTag(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
|
|
247
248
|
}
|
|
249
|
+
updateAllTagsNextFrame() {
|
|
250
|
+
requestAnimationFrame(() => this.updateRenderAllTags());
|
|
251
|
+
}
|
|
252
|
+
updateTag(t) {
|
|
253
|
+
t.stickType === "2DPoint" ? y("updateRenderPointTag", () => this.updateRenderPointTag()) : t.stickType === "3DPoint" ? (y("updateRenderPointTag", () => this.updateRenderPointTag()), y("updateRender3DDomTag", () => this.updateRender3DDomTag())) : t.stickType === "Model" ? (this.enabledModelTagSet.clear(), this.tags.forEach((e) => e.stickType === "Model" && this.enabledModelTagSet.add(e.id)), this.updateRenderModelTag()) : t.stickType === "Plane" && (this.updateRenderImagePlane(), this.updateRenderVideoPlane());
|
|
254
|
+
}
|
|
248
255
|
updateRenderVideoPlane() {
|
|
249
256
|
this.filterImagePlane.filter((e) => {
|
|
250
257
|
var o, i;
|
|
@@ -259,12 +266,12 @@ class Pi extends V {
|
|
|
259
266
|
return;
|
|
260
267
|
const r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
|
|
261
268
|
if ((a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), s || n) {
|
|
262
|
-
const
|
|
269
|
+
const d = e.position.map(D), h = new L(i, d, {
|
|
263
270
|
videoCoverSrc: o.videoCoverUrl,
|
|
264
271
|
playButton: e.data.playIcon,
|
|
265
272
|
paused: !((l = e.data.autoplayConfig) != null && l.autoplayVideo),
|
|
266
273
|
objectFit: e.data.objectFit,
|
|
267
|
-
videoTextureMap:
|
|
274
|
+
videoTextureMap: q,
|
|
268
275
|
ImageTextureMap: $,
|
|
269
276
|
domEvents: this.domEvents
|
|
270
277
|
});
|
|
@@ -287,7 +294,7 @@ class Pi extends V {
|
|
|
287
294
|
const { url: o } = e.data.mediaData[0];
|
|
288
295
|
if (!o)
|
|
289
296
|
return;
|
|
290
|
-
const i = e.position.map(
|
|
297
|
+
const i = e.position.map(D), r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
|
|
291
298
|
(a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new w(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(
|
|
292
299
|
e.mediaPlane,
|
|
293
300
|
"click",
|
|
@@ -307,12 +314,12 @@ class Pi extends V {
|
|
|
307
314
|
if (e.tag3DContentSvelte) {
|
|
308
315
|
const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: l } = e.tag3DContentSvelte;
|
|
309
316
|
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(l)) {
|
|
310
|
-
const
|
|
311
|
-
s.css3DObject.setRotationFromQuaternion(
|
|
317
|
+
const d = new E().setFromUnitVectors(n, l);
|
|
318
|
+
s.css3DObject.setRotationFromQuaternion(d);
|
|
312
319
|
}
|
|
313
320
|
return;
|
|
314
321
|
} else {
|
|
315
|
-
if (
|
|
322
|
+
if (g(e) && !((o = e.model) != null && o.object) || ((i = e.state) == null ? void 0 : i.visible) === !1 || !this.state.visible || !this.state.enabled || !this.css3DRenderPlugin)
|
|
316
323
|
return;
|
|
317
324
|
if (e.stickType === "3DPoint" && !e.normal)
|
|
318
325
|
return console.error("updateRenderPlaneTag: 三维点标签缺少法向量!");
|
|
@@ -322,26 +329,26 @@ class Pi extends V {
|
|
|
322
329
|
const s = this.getTagNormal(e);
|
|
323
330
|
if (!s)
|
|
324
331
|
return;
|
|
325
|
-
const n = this.getTagConfig(e), l =
|
|
332
|
+
const n = this.getTagConfig(e), l = k({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
|
|
326
333
|
if (this.getRenderType(e) === "BehindDom" || l.mode === "behind") {
|
|
327
334
|
l.mode = "behind", l.container = document.createElement("div");
|
|
328
335
|
const f = "black";
|
|
329
336
|
l.container.style.backgroundColor = f, l.container.style.border = `3px solid ${f}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
330
337
|
var c;
|
|
331
|
-
if (
|
|
332
|
-
const
|
|
333
|
-
this.hooks.emit("click", { event:
|
|
338
|
+
if (d.css3DObject.opacityMesh && n.clickable !== !1) {
|
|
339
|
+
const T = this.addObjectClickHandler(e, d.css3DObject.opacityMesh, (P) => {
|
|
340
|
+
this.hooks.emit("click", { event: P, target: "TagContent", tag: e });
|
|
334
341
|
});
|
|
335
|
-
(c = this.store.css3DRenderDisposer.get(e.id)) == null || c.push(
|
|
342
|
+
(c = this.store.css3DRenderDisposer.get(e.id)) == null || c.push(T);
|
|
336
343
|
}
|
|
337
344
|
});
|
|
338
345
|
}
|
|
339
|
-
const
|
|
340
|
-
if (!
|
|
346
|
+
const d = this.css3DRenderPlugin.create3DDomContainer(a, l);
|
|
347
|
+
if (!d)
|
|
341
348
|
return;
|
|
342
|
-
this.store.css3DRenderDisposer.set(e.id, [
|
|
343
|
-
const h = new
|
|
344
|
-
target:
|
|
349
|
+
this.store.css3DRenderDisposer.set(e.id, [d.dispose]);
|
|
350
|
+
const h = new G({
|
|
351
|
+
target: d.container,
|
|
345
352
|
props: {
|
|
346
353
|
tag: e,
|
|
347
354
|
hooks: this.hooks,
|
|
@@ -353,14 +360,14 @@ class Pi extends V {
|
|
|
353
360
|
});
|
|
354
361
|
e.tag3DContentSvelte = {
|
|
355
362
|
svelteApp: h,
|
|
356
|
-
domContainer:
|
|
357
|
-
css3DInstance:
|
|
363
|
+
domContainer: d,
|
|
364
|
+
css3DInstance: d,
|
|
358
365
|
initialNormal: s,
|
|
359
366
|
currentNormal: s,
|
|
360
367
|
dispose: () => {
|
|
361
|
-
h.$destroy(),
|
|
368
|
+
h.$destroy(), d.dispose();
|
|
362
369
|
}
|
|
363
|
-
},
|
|
370
|
+
}, g(e) && ((r = e.model) != null && r.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
|
|
364
371
|
}
|
|
365
372
|
}), this.clearUnusedPanelTag();
|
|
366
373
|
}
|
|
@@ -392,23 +399,23 @@ class Pi extends V {
|
|
|
392
399
|
* @param model 模型
|
|
393
400
|
*/
|
|
394
401
|
updateTagCss3DObjectMatrix(t, e) {
|
|
395
|
-
var
|
|
396
|
-
const o = (
|
|
402
|
+
var T, P, R;
|
|
403
|
+
const o = (P = (T = this.getTagConfig(t).tag3DConfig) == null ? void 0 : T.ratio) != null ? P : 216e-5, i = (R = t.tag3DContentSvelte) == null ? void 0 : R.css3DInstance.css3DObject;
|
|
397
404
|
if (!i)
|
|
398
405
|
return;
|
|
399
|
-
const r =
|
|
406
|
+
const r = g(t) ? t.data.mediaPosition : t.position;
|
|
400
407
|
if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
|
|
401
408
|
return;
|
|
402
409
|
e.updateWorldMatrix(!1, !1);
|
|
403
|
-
const a = e.matrixWorld, s = new b().fromArray(r[0]), n = new b().fromArray(r[2]), l =
|
|
410
|
+
const a = e.matrixWorld, s = new b().fromArray(r[0]), n = new b().fromArray(r[2]), l = W(s, n).add(new b(0, 0, 5e-4)), d = new v().setPosition(l), h = new v().makeScale(o, o, o), f = new v().multiply(a).multiply(d).multiply(h);
|
|
404
411
|
f.decompose(i.position, i.quaternion, i.scale);
|
|
405
412
|
const c = i.opacityMesh;
|
|
406
413
|
c && f.decompose(c.position, c.quaternion, c.scale);
|
|
407
414
|
}
|
|
408
415
|
/** 添加模型标签 */
|
|
409
416
|
addMediaModelTag(t) {
|
|
410
|
-
return
|
|
411
|
-
const e = t.filter(
|
|
417
|
+
return C(this, null, function* () {
|
|
418
|
+
const e = t.filter(_).map((o) => this.loadModel(o));
|
|
412
419
|
yield Promise.all(e), this.setVisible(), this.updateRenderAllTags();
|
|
413
420
|
});
|
|
414
421
|
}
|
|
@@ -438,10 +445,7 @@ class Pi extends V {
|
|
|
438
445
|
*/
|
|
439
446
|
updateRenderPointTag() {
|
|
440
447
|
const t = this.filterPointTag;
|
|
441
|
-
this.setTagZIndex(t), this.setPointTagPosition(), this.updateDomView();
|
|
442
|
-
}
|
|
443
|
-
updatePointTagPosition() {
|
|
444
|
-
this.setPointTagPosition(), this.updateDomView();
|
|
448
|
+
this.setTagZIndex(t), this.setPointTagPosition(), y("updateDomView", () => this.updateDomView())();
|
|
445
449
|
}
|
|
446
450
|
updateTagContainerVisible() {
|
|
447
451
|
var t;
|
|
@@ -505,5 +509,5 @@ class Pi extends V {
|
|
|
505
509
|
}
|
|
506
510
|
}
|
|
507
511
|
export {
|
|
508
|
-
|
|
512
|
+
bi as TagRender
|
|
509
513
|
};
|
|
@@ -12,7 +12,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
12
12
|
get container(): Element;
|
|
13
13
|
set container(container: Element);
|
|
14
14
|
config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
|
|
15
|
-
tagsLengthWillUpdate: boolean;
|
|
15
|
+
set tagsLengthWillUpdate(value: boolean);
|
|
16
16
|
workUtil: WorkUtil;
|
|
17
17
|
set workCode(workCode: string);
|
|
18
18
|
get workCode(): string;
|
|
@@ -36,6 +36,16 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
36
36
|
disposed: boolean;
|
|
37
37
|
};
|
|
38
38
|
protected domEvents: FiveDomEvents;
|
|
39
|
+
private _cache_pointTag?;
|
|
40
|
+
private _cache_2DPointTag?;
|
|
41
|
+
private _cache_imagePlane?;
|
|
42
|
+
private _cache_mediaModel?;
|
|
43
|
+
private _cache_css3DTag?;
|
|
44
|
+
protected get filterPointTag(): PointTagInstance[];
|
|
45
|
+
protected get filter2DPointTag(): TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
|
|
46
|
+
protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
|
|
47
|
+
protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
|
|
48
|
+
protected get filterCSS3DTag(): (TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
39
49
|
private _container;
|
|
40
50
|
private _css3DRenderPlugin;
|
|
41
51
|
protected constructor(five: Five);
|
|
@@ -68,11 +78,6 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
68
78
|
protected getPositions(tag: TagInstance): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition];
|
|
69
79
|
protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
|
|
70
80
|
protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
|
|
71
|
-
protected get filterPointTag(): PointTagInstance[];
|
|
72
|
-
protected get filter2DPointTag(): TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
|
|
73
|
-
protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
|
|
74
|
-
protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
|
|
75
|
-
protected get filterCSS3DTag(): (TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
76
81
|
protected getTransformedPostion(position: Tag['position']): THREE.Vector3 | [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3];
|
|
77
82
|
/**
|
|
78
83
|
* @description 检查是否已经销毁
|