@realsee/dnalogel 3.31.0 → 3.31.1-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/PanoTagPlugin/controller/TagUtil.d.ts +0 -5
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +467 -473
- package/dist/index.umd.js +3 -3
- 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/PanoTagPlugin/controller/TagUtil.d.ts +0 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +153 -159
- package/libs/base/BasePlugin.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- 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,33 +1,33 @@
|
|
|
1
1
|
var q = Object.defineProperty, K = Object.defineProperties;
|
|
2
2
|
var Q = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var V = Object.getOwnPropertySymbols;
|
|
4
4
|
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var w = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, b = (l, s) => {
|
|
6
6
|
for (var e in s || (s = {}))
|
|
7
|
-
Y.call(s, e) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
Z.call(s, e) &&
|
|
7
|
+
Y.call(s, e) && w(l, e, s[e]);
|
|
8
|
+
if (V)
|
|
9
|
+
for (var e of V(s))
|
|
10
|
+
Z.call(s, e) && w(l, e, s[e]);
|
|
11
11
|
return l;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, R = (l, s) => K(l, Q(s));
|
|
13
|
+
var u = (l, s, e) => (w(l, typeof s != "symbol" ? s + "" : s, e), e);
|
|
14
14
|
import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
|
|
15
15
|
import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
16
|
import * as ie from "three";
|
|
17
17
|
import { DefaultConfig as te } from "../tag.config.js";
|
|
18
18
|
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
19
|
-
import { planeNormal as
|
|
20
|
-
import { getTagCenterPosition as
|
|
19
|
+
import { planeNormal as E } from "../utils/planeNormal.js";
|
|
20
|
+
import { getTagCenterPosition as _ } from "../utils/tagPosition.js";
|
|
21
21
|
import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
|
|
22
|
-
import { TagCache as
|
|
23
|
-
import { writable as
|
|
22
|
+
import { TagCache as re } from "./TagCache.js";
|
|
23
|
+
import { writable as ne } from "../../vendor/svelte/store/index.js";
|
|
24
24
|
import { isIOSWX as se } from "../../shared-utils/device.js";
|
|
25
25
|
import { Five as fe } from "@realsee/five";
|
|
26
|
-
import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as
|
|
26
|
+
import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as le, isPoint3DTag as ce } from "../utils/tag/tagCheck.js";
|
|
27
27
|
import { VideoPlane as de } from "../utils/model/mediaPlane.js";
|
|
28
|
-
import { FiveDomEvents as
|
|
28
|
+
import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
|
|
29
29
|
import N from "../utils/tag/adaptConfig.js";
|
|
30
|
-
import { isPanoramaLike as
|
|
30
|
+
import { isPanoramaLike as A, isModelLike as $ } from "../../shared-utils/five/mode.js";
|
|
31
31
|
import "hammerjs";
|
|
32
32
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
33
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
@@ -36,7 +36,7 @@ import "animejs";
|
|
|
36
36
|
import { entries as z } from "../../shared-utils/typescript/entries.js";
|
|
37
37
|
import { getUrlExt as H } from "../../shared-utils/url/getUrl.js";
|
|
38
38
|
import { transformPosition as J } from "../../shared-utils/five/transformPosition.js";
|
|
39
|
-
import { WorkUtil as
|
|
39
|
+
import { WorkUtil as me } from "../../shared-utils/Utils/WorkUtil.js";
|
|
40
40
|
import "../../shared-utils/three/centerPoint.js";
|
|
41
41
|
import "../../base/BasePlugin.js";
|
|
42
42
|
import "../../shared-utils/Subscribe.js";
|
|
@@ -63,40 +63,44 @@ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
|
63
63
|
import "../../shared-utils/three/getNormal.js";
|
|
64
64
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
65
65
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
66
|
-
class
|
|
66
|
+
class ui extends re {
|
|
67
|
+
// private _cache_pointTag?: PointTagInstance[]
|
|
68
|
+
// private _cache_2DPointTag?: TagInstance<TagContentType, '2DPoint'>[]
|
|
69
|
+
// private _cache_imagePlane?: TagInstance<'MediaPlane', 'Plane'>[]
|
|
70
|
+
// private _cache_mediaModel?: TagInstance<'MediaModel', 'Model'>[]
|
|
71
|
+
// private _cache_css3DTag?: (
|
|
72
|
+
// | TagInstance<TagContentType, 'Plane'>
|
|
73
|
+
// | TagInstance<TagContentType, 'Model'>
|
|
74
|
+
// | TagInstance<TagContentType, '3DPoint'>
|
|
75
|
+
// )[]
|
|
67
76
|
constructor(e) {
|
|
68
77
|
super(e);
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
78
|
+
u(this, "tags", []);
|
|
79
|
+
u(this, "config", te);
|
|
80
|
+
u(this, "tagsLengthWillUpdate", !0);
|
|
81
|
+
u(this, "workUtil", new me(this.five));
|
|
82
|
+
u(this, "mediaStore", ne({
|
|
74
83
|
currentMediaElement: null
|
|
75
84
|
}));
|
|
76
85
|
/** css3DRenderPlugin */
|
|
77
|
-
|
|
78
|
-
|
|
86
|
+
u(this, "css3DRenderPlugin");
|
|
87
|
+
u(this, "store", {
|
|
79
88
|
disposers: [],
|
|
80
89
|
disposed: !1,
|
|
81
90
|
resizeObserverDisposerAdding: !1,
|
|
82
91
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
83
92
|
});
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
f(this, "_cache_2DPointTag");
|
|
87
|
-
f(this, "_cache_imagePlane");
|
|
88
|
-
f(this, "_cache_mediaModel");
|
|
89
|
-
f(this, "_cache_css3DTag");
|
|
90
|
-
f(this, "loadVideoFirstFrame", () => {
|
|
93
|
+
u(this, "domEvents", new ue(this.five));
|
|
94
|
+
u(this, "loadVideoFirstFrame", () => {
|
|
91
95
|
se && this.hooks.emit("loadVideoFirstFrame");
|
|
92
96
|
});
|
|
93
|
-
this.mediaStore.subscribe(({ currentMediaElement:
|
|
94
|
-
this.tags.forEach((
|
|
95
|
-
var
|
|
96
|
-
if (
|
|
97
|
-
if (!((
|
|
97
|
+
this.mediaStore.subscribe(({ currentMediaElement: i }) => {
|
|
98
|
+
this.tags.forEach((o) => {
|
|
99
|
+
var t;
|
|
100
|
+
if (o.mediaPlane instanceof de && i !== o.mediaPlane.videoInstance) {
|
|
101
|
+
if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
|
|
98
102
|
return;
|
|
99
|
-
|
|
103
|
+
o.mediaPlane.pause();
|
|
100
104
|
}
|
|
101
105
|
});
|
|
102
106
|
});
|
|
@@ -108,12 +112,12 @@ class hi extends ne {
|
|
|
108
112
|
return this.workUtil.workCode;
|
|
109
113
|
}
|
|
110
114
|
getTagById(e) {
|
|
111
|
-
const
|
|
112
|
-
if (!
|
|
115
|
+
const i = this.tags.find((o) => o.id === e);
|
|
116
|
+
if (!i) {
|
|
113
117
|
console.warn(`getTagById Error: can't find tag id: ${e}`);
|
|
114
118
|
return;
|
|
115
119
|
}
|
|
116
|
-
return
|
|
120
|
+
return i;
|
|
117
121
|
}
|
|
118
122
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
119
123
|
pauseCurrentMedia() {
|
|
@@ -122,10 +126,10 @@ class hi extends ne {
|
|
|
122
126
|
/**
|
|
123
127
|
* @description 获取标签配置
|
|
124
128
|
*/
|
|
125
|
-
getTagConfig(e,
|
|
126
|
-
var
|
|
127
|
-
const
|
|
128
|
-
return (
|
|
129
|
+
getTagConfig(e, i) {
|
|
130
|
+
var n, f, c;
|
|
131
|
+
const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, r = (f = o.configWithFiveMode) == null ? void 0 : f[t];
|
|
132
|
+
return (c = r != null ? r : o) != null ? c : {};
|
|
129
133
|
}
|
|
130
134
|
/**
|
|
131
135
|
* @description 获取标签当前状态
|
|
@@ -135,167 +139,157 @@ class hi extends ne {
|
|
|
135
139
|
}
|
|
136
140
|
updateTagConfig() {
|
|
137
141
|
this.clearCache(), this.tags.forEach((e) => {
|
|
138
|
-
var
|
|
139
|
-
const
|
|
140
|
-
e.computedConfig =
|
|
141
|
-
const
|
|
142
|
-
if (e.config =
|
|
143
|
-
const
|
|
144
|
-
e.data = (
|
|
142
|
+
var t;
|
|
143
|
+
const i = this.getTagConfig(e, { useCache: !1 });
|
|
144
|
+
e.computedConfig = i;
|
|
145
|
+
const o = this.getTagConfig(e);
|
|
146
|
+
if (e.config = o, e.config.initialData) {
|
|
147
|
+
const r = JSON.parse(JSON.stringify(e.data));
|
|
148
|
+
e.data = (t = o.initialData) != null && t.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r);
|
|
145
149
|
}
|
|
146
150
|
});
|
|
147
151
|
}
|
|
148
|
-
can(e,
|
|
149
|
-
const
|
|
150
|
-
if (!
|
|
152
|
+
can(e, i) {
|
|
153
|
+
const o = i, t = this.getTagConfig(o);
|
|
154
|
+
if (!t || typeof t != "object")
|
|
151
155
|
return !0;
|
|
152
156
|
if (e === "show" || e === "hide") {
|
|
153
|
-
if (!
|
|
157
|
+
if (!t.visibleConfig || typeof t.visibleConfig != "object")
|
|
154
158
|
return !0;
|
|
155
|
-
if (e === "show" &&
|
|
159
|
+
if (e === "show" && t.visibleConfig.keep === "hidden" || e === "hide" && (t.visibleConfig.keep === "visible" || t.visibleConfig.alwaysShowWhenMovePano))
|
|
156
160
|
return !1;
|
|
157
161
|
}
|
|
158
162
|
if (e === "fold" || e === "unfold") {
|
|
159
|
-
if (!
|
|
163
|
+
if (!t.unfoldedConfig || typeof t.unfoldedConfig != "object")
|
|
160
164
|
return !0;
|
|
161
|
-
if (e === "fold" &&
|
|
165
|
+
if (e === "fold" && t.unfoldedConfig.keep === "unfolded" || e === "unfold" && t.unfoldedConfig.keep === "folded")
|
|
162
166
|
return !1;
|
|
163
167
|
}
|
|
164
168
|
return !0;
|
|
165
169
|
}
|
|
166
170
|
getRenderType(e) {
|
|
167
|
-
const
|
|
171
|
+
const i = (() => {
|
|
168
172
|
if (e.stickType === "3DPoint")
|
|
169
173
|
return "Dom";
|
|
170
|
-
const
|
|
171
|
-
if (!
|
|
174
|
+
const o = this.getTagConfig(e);
|
|
175
|
+
if (!o || typeof o != "object" || !o.renderType)
|
|
172
176
|
return;
|
|
173
|
-
const
|
|
174
|
-
if (!(!
|
|
177
|
+
const t = e.data.mediaData;
|
|
178
|
+
if (!(!t || t.length === 0) && o.renderType === "Mesh") {
|
|
175
179
|
if (ae(e)) {
|
|
176
|
-
if (
|
|
177
|
-
if (
|
|
180
|
+
if (t.length === 1) {
|
|
181
|
+
if (t[0].type === "Video")
|
|
178
182
|
return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
|
|
179
|
-
if (
|
|
180
|
-
return H(
|
|
183
|
+
if (t[0].type === "Image")
|
|
184
|
+
return H(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
181
185
|
}
|
|
182
186
|
} else if (B(e))
|
|
183
|
-
return
|
|
187
|
+
return t.length === 1 && t[0].type === "Image" ? H(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
184
188
|
}
|
|
185
189
|
})();
|
|
186
|
-
return
|
|
190
|
+
return i != null ? i : "Dom";
|
|
187
191
|
}
|
|
188
192
|
/**
|
|
189
193
|
* @description 获取角度
|
|
190
194
|
*/
|
|
191
|
-
getAngle(e,
|
|
192
|
-
const
|
|
193
|
-
if (
|
|
194
|
-
throw new Error(`getAngle(): fivePanoIndex is ${
|
|
195
|
-
const
|
|
196
|
-
if (
|
|
197
|
-
return
|
|
195
|
+
getAngle(e, i) {
|
|
196
|
+
const o = i != null ? i : this.five.getCurrentState().panoIndex;
|
|
197
|
+
if (o === void 0)
|
|
198
|
+
throw new Error(`getAngle(): fivePanoIndex is ${o}`);
|
|
199
|
+
const t = this.getPanoIndexCache({ panoIndex: i, id: e.id });
|
|
200
|
+
if (t.angle !== void 0)
|
|
201
|
+
return t.angle;
|
|
198
202
|
{
|
|
199
|
-
const
|
|
200
|
-
if (
|
|
201
|
-
throw new Error(`getAngle(): observerPosition is ${
|
|
202
|
-
const
|
|
203
|
-
if (!
|
|
203
|
+
const r = this.workUtil.getObserverPosition(o);
|
|
204
|
+
if (r === void 0)
|
|
205
|
+
throw new Error(`getAngle(): observerPosition is ${r}`);
|
|
206
|
+
const n = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
|
|
207
|
+
if (!n)
|
|
204
208
|
return;
|
|
205
|
-
const
|
|
206
|
-
if (!
|
|
209
|
+
const f = _(e);
|
|
210
|
+
if (!f)
|
|
207
211
|
return;
|
|
208
|
-
const
|
|
209
|
-
return
|
|
212
|
+
const c = new ie.Vector3().copy(r).sub(f), h = n.angleTo(c) * 180 / Math.PI;
|
|
213
|
+
return t.angle = h, t.angle;
|
|
210
214
|
}
|
|
211
215
|
}
|
|
212
216
|
/**
|
|
213
217
|
* @description 获取距离
|
|
214
218
|
*/
|
|
215
|
-
getDistance(e,
|
|
216
|
-
const
|
|
217
|
-
if ((
|
|
218
|
-
return
|
|
219
|
-
const
|
|
220
|
-
if (!
|
|
219
|
+
getDistance(e, i) {
|
|
220
|
+
const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = o, n = A(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
221
|
+
if ((n == null ? void 0 : n.distance) !== void 0)
|
|
222
|
+
return n.distance;
|
|
223
|
+
const f = _(e);
|
|
224
|
+
if (!f)
|
|
221
225
|
return -1;
|
|
222
|
-
if (
|
|
223
|
-
const
|
|
224
|
-
if (
|
|
226
|
+
if (A(r)) {
|
|
227
|
+
const c = this.workUtil.getObserverPosition(t);
|
|
228
|
+
if (c === void 0)
|
|
225
229
|
return -1;
|
|
226
|
-
const
|
|
227
|
-
return
|
|
230
|
+
const h = c.distanceTo(f);
|
|
231
|
+
return n && (n.distance = h), h;
|
|
228
232
|
}
|
|
229
|
-
if ($(
|
|
230
|
-
return this.five.camera.position.distanceTo(
|
|
233
|
+
if ($(r))
|
|
234
|
+
return this.five.camera.position.distanceTo(f);
|
|
231
235
|
}
|
|
232
236
|
getPositions(e) {
|
|
233
|
-
if (
|
|
237
|
+
if (le(e))
|
|
234
238
|
return e.position;
|
|
235
239
|
if (B(e))
|
|
236
240
|
return e.data.mediaPosition;
|
|
237
|
-
if (
|
|
241
|
+
if (ce(e))
|
|
238
242
|
return oe(this.five.camera.position, C(e.position), C(e.normal));
|
|
239
243
|
}
|
|
240
|
-
addObjectClickHandler(e,
|
|
241
|
-
if (!
|
|
244
|
+
addObjectClickHandler(e, i, o) {
|
|
245
|
+
if (!i || !this.domEvents)
|
|
242
246
|
return () => {
|
|
243
247
|
};
|
|
244
|
-
const
|
|
245
|
-
if (!
|
|
248
|
+
const t = () => !(!this.getCurrentVisibleState(e) || e.loading), r = (n) => {
|
|
249
|
+
if (!t())
|
|
246
250
|
return !1;
|
|
247
|
-
|
|
251
|
+
o(n.origDomEvent);
|
|
248
252
|
};
|
|
249
|
-
return this.domEvents.addEventListener(
|
|
250
|
-
var
|
|
251
|
-
(
|
|
253
|
+
return this.domEvents.addEventListener(i, "click", r), () => {
|
|
254
|
+
var n;
|
|
255
|
+
(n = this.domEvents) == null || n.removeEventListener(i, "click", r);
|
|
252
256
|
};
|
|
253
257
|
}
|
|
254
258
|
getTagNormal(e) {
|
|
255
259
|
if (e.normal)
|
|
256
260
|
return C(e.normal);
|
|
257
261
|
if (e.stickType === "Plane")
|
|
258
|
-
return
|
|
262
|
+
return E(e.position);
|
|
259
263
|
if (e.stickType === "Model")
|
|
260
|
-
return
|
|
264
|
+
return E(this.getPositions(e));
|
|
261
265
|
}
|
|
262
266
|
get filterPointTag() {
|
|
263
|
-
|
|
264
|
-
const e = this.tags.filter((i) => i.stickType === "2DPoint" || i.stickType === "3DPoint").filter((i) => i.position);
|
|
265
|
-
return this.tagsLengthWillUpdate && (this._cache_pointTag = e, this.tagsLengthWillUpdate = !1), (t = this._cache_pointTag) != null ? t : e;
|
|
267
|
+
return this.tags.filter((i) => i.stickType === "2DPoint" || i.stickType === "3DPoint").filter((i) => i.position);
|
|
266
268
|
}
|
|
267
269
|
get filter2DPointTag() {
|
|
268
|
-
|
|
269
|
-
const e = this.tags.filter((i) => i.stickType === "2DPoint").filter((i) => i.position);
|
|
270
|
-
return this.tagsLengthWillUpdate && (this._cache_2DPointTag = e, this.tagsLengthWillUpdate = !1), (t = this._cache_2DPointTag) != null ? t : e;
|
|
270
|
+
return this.tags.filter((i) => i.stickType === "2DPoint").filter((i) => i.position);
|
|
271
271
|
}
|
|
272
272
|
get filterImagePlane() {
|
|
273
|
-
|
|
274
|
-
const e = this.tags.filter(
|
|
273
|
+
return this.tags.filter(
|
|
275
274
|
(i) => i.contentType === "MediaPlane" && i.stickType === "Plane" && this.getRenderType(i) === "Mesh"
|
|
276
275
|
);
|
|
277
|
-
return this.tagsLengthWillUpdate && (this._cache_imagePlane = e, this.tagsLengthWillUpdate = !1), (t = this._cache_imagePlane) != null ? t : e;
|
|
278
276
|
}
|
|
279
277
|
get filterMediaModel() {
|
|
280
|
-
|
|
281
|
-
const e = this.tags.filter((i) => i.stickType === "Model" && i.contentType === "MediaModel");
|
|
282
|
-
return this.tagsLengthWillUpdate && (this._cache_mediaModel = e, this.tagsLengthWillUpdate = !1), (t = this._cache_mediaModel) != null ? t : e;
|
|
278
|
+
return this.tags.filter((i) => i.stickType === "Model" && i.contentType === "MediaModel");
|
|
283
279
|
}
|
|
284
280
|
get filterCSS3DTag() {
|
|
285
|
-
|
|
286
|
-
const e = this.tags.filter(
|
|
281
|
+
return this.tags.filter(
|
|
287
282
|
(i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model" && i.contentType === "MediaModel"
|
|
288
283
|
).filter((i) => {
|
|
289
284
|
const o = this.getRenderType(i);
|
|
290
285
|
return o === "BehindDom" || o === "Dom";
|
|
291
286
|
});
|
|
292
|
-
return this.tagsLengthWillUpdate && (this._cache_css3DTag = e, this.tagsLengthWillUpdate = !1), (t = this._cache_css3DTag) != null ? t : e;
|
|
293
287
|
}
|
|
294
288
|
getTransformedPostion(e) {
|
|
295
289
|
if (!e)
|
|
296
290
|
return;
|
|
297
|
-
const
|
|
298
|
-
return Array.isArray(e) && e.length === 4 ? e.map(C).map((
|
|
291
|
+
const i = this.workUtil.transform;
|
|
292
|
+
return Array.isArray(e) && e.length === 4 ? e.map(C).map((o) => J(o, i)) : J(C(e), i);
|
|
299
293
|
}
|
|
300
294
|
/**
|
|
301
295
|
* @description 检查是否已经销毁
|
|
@@ -307,52 +301,52 @@ class hi extends ne {
|
|
|
307
301
|
/**
|
|
308
302
|
* @description 获取merge后的配置
|
|
309
303
|
*/
|
|
310
|
-
calculateTagConfig(e,
|
|
311
|
-
var
|
|
312
|
-
const
|
|
304
|
+
calculateTagConfig(e, i) {
|
|
305
|
+
var O, j, S, I, W;
|
|
306
|
+
const o = (O = i == null ? void 0 : i.useCache) != null ? O : !0;
|
|
313
307
|
if (!e)
|
|
314
|
-
return (
|
|
315
|
-
if (
|
|
316
|
-
if ((
|
|
308
|
+
return (j = this.config.globalConfig) != null ? j : {};
|
|
309
|
+
if (o) {
|
|
310
|
+
if ((S = e == null ? void 0 : e.computedConfig) != null && S._isMerged)
|
|
317
311
|
return e.computedConfig;
|
|
318
|
-
if ((
|
|
312
|
+
if ((I = e == null ? void 0 : e.config) != null && I._isMerged)
|
|
319
313
|
return e.config;
|
|
320
314
|
}
|
|
321
|
-
const
|
|
322
|
-
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([
|
|
323
|
-
var
|
|
324
|
-
const
|
|
325
|
-
if (!v[
|
|
326
|
-
if (
|
|
327
|
-
const [
|
|
328
|
-
(e.contentType ===
|
|
315
|
+
const t = {}, r = {}, n = {};
|
|
316
|
+
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([d, m]) => {
|
|
317
|
+
var F, L;
|
|
318
|
+
const a = d, D = a.split("-"), x = d.startsWith("["), T = x ? D[0].slice(1, -1) : void 0, g = x ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (F = r[T]) != null ? F : r[T] = {} : (L = n[T]) != null ? L : n[T] = {} : t;
|
|
319
|
+
if (!v[a]) {
|
|
320
|
+
if (g.length === 0 && (v[a] = m), g.length === 1) {
|
|
321
|
+
const [p] = g;
|
|
322
|
+
(e.contentType === p || p === "Any") && (v[a] = m);
|
|
329
323
|
}
|
|
330
|
-
if (
|
|
331
|
-
const [
|
|
332
|
-
|
|
324
|
+
if (g.length === 2) {
|
|
325
|
+
const [p = "Any", M = "Any"] = g;
|
|
326
|
+
p === "Mixin" && e.contentType === M && (v[a] = m), (e.stickType === p || p === "Any") && (e.contentType === M || M === "Any") && (v[a] = m);
|
|
333
327
|
}
|
|
334
|
-
if (
|
|
335
|
-
const [
|
|
328
|
+
if (g.length === 3) {
|
|
329
|
+
const [p = "Any", M, X] = g;
|
|
336
330
|
if (M === "Audio" && e.contentType === "Audio") {
|
|
337
|
-
const
|
|
338
|
-
(
|
|
331
|
+
const U = e;
|
|
332
|
+
(U.stickType === p || p === "Any") && U.data.appearance === X && (v[a] = m);
|
|
339
333
|
}
|
|
340
334
|
}
|
|
341
335
|
}
|
|
342
336
|
});
|
|
343
|
-
const
|
|
344
|
-
z(
|
|
345
|
-
G.forEach((
|
|
346
|
-
(
|
|
337
|
+
const f = (W = e.initialConfig) != null ? W : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, c, f), P = {}, G = Object.values(fe.Mode);
|
|
338
|
+
z(r).forEach(([d, m]) => {
|
|
339
|
+
G.forEach((a) => {
|
|
340
|
+
(d === "PanoramaLike" && A(a) || d === "ModelLike" && $(a)) && (P[a] = y({}, c, ...Object.values(m), f, { _isMerged: !0 }));
|
|
347
341
|
});
|
|
348
|
-
}), z(
|
|
349
|
-
const
|
|
350
|
-
P[
|
|
342
|
+
}), z(n).forEach(([d, m]) => {
|
|
343
|
+
const a = P[d];
|
|
344
|
+
P[d] = y({}, c, a, ...Object.values(m), f, { _isMerged: !0 });
|
|
351
345
|
});
|
|
352
|
-
const k =
|
|
353
|
-
return N(k), Object.values(P).forEach((
|
|
346
|
+
const k = R(b({}, h), { configWithFiveMode: P });
|
|
347
|
+
return N(k), Object.values(P).forEach((d) => N(d)), k._isMerged = !0, k;
|
|
354
348
|
}
|
|
355
349
|
}
|
|
356
350
|
export {
|
|
357
|
-
|
|
351
|
+
ui as TagUtil
|
|
358
352
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -10,12 +10,12 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
10
10
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
11
11
|
import "animejs";
|
|
12
12
|
import { absoluteUrl as l } from "../shared-utils/url/absoluteUrl.js";
|
|
13
|
-
let
|
|
13
|
+
let v = class {
|
|
14
14
|
constructor(t, r) {
|
|
15
15
|
/**
|
|
16
16
|
* @realsee/dnalogel 版本号
|
|
17
17
|
*/
|
|
18
|
-
i(this, "VERSION", "3.31.0");
|
|
18
|
+
i(this, "VERSION", "3.31.1-dev.0");
|
|
19
19
|
i(this, "five");
|
|
20
20
|
/**
|
|
21
21
|
* @description: 插件事件钩子
|
|
@@ -38,5 +38,5 @@ let C = class {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
v as Controller
|
|
42
42
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.31.0",
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.31.1-dev.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realsee/dnalogel",
|
|
3
|
-
"version": "3.31.0",
|
|
3
|
+
"version": "3.31.1-dev.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./libs/index.js",
|
|
6
6
|
"types": "./libs/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
25
25
|
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
26
26
|
"docs": "typedoc --options ./typedoc.json",
|
|
27
|
-
"prepublishOnly": "run-p build
|
|
27
|
+
"prepublishOnly": "run-p build",
|
|
28
28
|
"postpublish": "cnpm sync @realsee/dnalogel"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|