@realsee/dnalogel 3.31.1 → 3.32.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +5849 -5666
- package/dist/index.umd.js +59 -59
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
- package/docs/classes/CSS3DRender.html +33 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
- package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +33 -43
- package/docs/classes/Object3DHelperController.html +47 -39
- package/docs/classes/PaintBrush.html +17 -27
- package/docs/classes/PanoMeasurePluginLine.html +36 -56
- package/docs/classes/PanoMeasurePluginModel.html +32 -42
- package/docs/classes/PanoMeasurePluginPoint.html +13 -23
- package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
- package/docs/classes/PanoTagPluginController.html +110 -198
- package/docs/classes/Util.BetterTween.html +13 -27
- package/docs/classes/Util.Interval.html +15 -29
- package/docs/classes/Util.LineSegments.html +11 -25
- package/docs/classes/Util.Magnifier.html +60 -93
- package/docs/classes/Util.Object3D.html +12 -26
- package/docs/classes/Util.PointDomHelper.html +14 -28
- package/docs/classes/Util.PointHelper.html +14 -28
- package/docs/classes/Util.PointSelectorHelper.html +20 -34
- package/docs/classes/Util.Rectangle.html +16 -30
- package/docs/classes/WalkController.html +29 -39
- package/docs/enums/CameraMovementEffect.html +9 -19
- package/docs/enums/ContentType.html +23 -33
- package/docs/enums/DIRECTION.html +11 -21
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/DimensionType.html +9 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/PaintBrushTypeEnum.html +10 -20
- package/docs/enums/PointType.html +9 -19
- package/docs/enums/Rotation.html +10 -20
- package/docs/functions/AreaMakerPlugin.html +7 -17
- package/docs/functions/CSS3DRenderPlugin.html +7 -17
- package/docs/functions/CameraMovementPlugin.html +7 -17
- package/docs/functions/CruisePlugin.html +7 -17
- package/docs/functions/CurrentPanoImagePlugin.html +7 -17
- package/docs/functions/GuideLinePlugin.html +7 -17
- package/docs/functions/ItemLabelPlugin.html +7 -17
- package/docs/functions/MapviewFloorplanPlugin.html +7 -17
- package/docs/functions/ModelChassisCompassPlugin.html +7 -17
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
- package/docs/functions/ModelFloorplanPlugin.html +7 -17
- package/docs/functions/ModelItemLabelPlugin.html +7 -17
- package/docs/functions/ModelRoomLabelPlugin.html +7 -17
- package/docs/functions/ModelTVVideoPlugin.html +7 -17
- package/docs/functions/ModelViewPlugin.html +7 -17
- package/docs/functions/MovePlugin.html +8 -18
- package/docs/functions/Object3DHelperPlugin.html +7 -17
- package/docs/functions/PanoCompassPlugin.html +7 -17
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
- package/docs/functions/PanoDoorLabelPlugin.html +7 -17
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
- package/docs/functions/PanoMeasurePlugin.html +7 -17
- package/docs/functions/PanoRulerPlugin.html +7 -17
- package/docs/functions/PanoRulerProPlugin.html +7 -17
- package/docs/functions/PanoSpatialTagPlugin.html +7 -17
- package/docs/functions/PanoTagPlugin.html +7 -17
- package/docs/functions/PanoVideoPlugin.html +7 -17
- package/docs/functions/PipelinePlugin.html +7 -17
- package/docs/functions/TopviewFloorplanPlugin.html +7 -17
- package/docs/functions/Util.absoluteUrl.html +8 -22
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
- package/docs/functions/Util.equal.html +8 -22
- package/docs/functions/Util.getCoordsFromClient.html +8 -22
- package/docs/functions/Util.getCoordsFromElement.html +8 -22
- package/docs/functions/Util.getFrameTime.html +8 -22
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
- package/docs/functions/Util.isAbsoluteURL.html +8 -22
- package/docs/functions/Util.isModelLike.html +8 -22
- package/docs/functions/Util.isNil.html +8 -22
- package/docs/functions/Util.isPanoramaLike.html +8 -22
- package/docs/functions/Util.nextFrame.html +8 -22
- package/docs/functions/Util.notNil.html +8 -22
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
- package/docs/functions/Util.tweenProgress.html +8 -22
- package/docs/functions/Util.uuid.html +8 -22
- package/docs/functions/pluginFlag.html +7 -17
- package/docs/index.html +7 -18
- package/docs/interfaces/AddTagConfig.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
- package/docs/interfaces/EventMap.html +17 -27
- package/docs/interfaces/FloorplanBounding.html +10 -20
- package/docs/interfaces/FloorplanData.html +12 -22
- package/docs/interfaces/FloorplanEntrance.html +13 -23
- package/docs/interfaces/FloorplanExtraObject.html +12 -22
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
- package/docs/interfaces/FloorplanFloorData.html +11 -21
- package/docs/interfaces/FloorplanImagePosition.html +9 -19
- package/docs/interfaces/FloorplanObserver.html +11 -21
- package/docs/interfaces/FloorplanOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanPosition.html +9 -19
- package/docs/interfaces/FloorplanRoomItem.html +16 -26
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
- package/docs/interfaces/FloorplanServerBounding.html +10 -20
- package/docs/interfaces/FloorplanServerComputedData.html +12 -22
- package/docs/interfaces/FloorplanServerData.html +9 -19
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
- package/docs/interfaces/FloorplanServerEntrance.html +13 -23
- package/docs/interfaces/FloorplanServerFloorData.html +11 -21
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
- package/docs/interfaces/FloorplanServerObserver.html +11 -21
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanServerPosition.html +9 -19
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
- package/docs/interfaces/HelperOffset.html +10 -20
- package/docs/interfaces/ImagePlaneGroup.html +8 -18
- package/docs/interfaces/ItemLabelPluginData.html +8 -18
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
- package/docs/interfaces/MinMax.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
- package/docs/interfaces/ModelViewPluginExportType.html +13 -23
- package/docs/interfaces/Object3DHelperState.html +10 -20
- package/docs/interfaces/ObjectHelperControllers.html +12 -22
- package/docs/interfaces/PaintBrushAction.html +14 -24
- package/docs/interfaces/PaintBrushConfigs.html +14 -24
- package/docs/interfaces/PaintBrushState.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
- package/docs/interfaces/PanoMeasureParameterType.html +18 -28
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
- package/docs/interfaces/PanoRulerProPluginState.html +10 -20
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
- package/docs/interfaces/Point.html +10 -20
- package/docs/interfaces/Room.html +11 -21
- package/docs/interfaces/RoomInfo.html +9 -19
- package/docs/interfaces/RoomLabel.html +16 -26
- package/docs/interfaces/RoomRules.html +7 -17
- package/docs/interfaces/Rooms.html +7 -17
- package/docs/interfaces/Scissor.html +11 -21
- package/docs/interfaces/State.html +10 -20
- package/docs/interfaces/TagCacheInterface.html +14 -24
- package/docs/interfaces/TagConfig.html +49 -65
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
- package/docs/interfaces/TagIconUrl.html +14 -24
- package/docs/interfaces/TagObjectGroup.html +8 -18
- package/docs/interfaces/TagStyle.html +8 -18
- package/docs/interfaces/Tags.html +437 -61
- package/docs/interfaces/TemporaryState.html +8 -18
- package/docs/interfaces/Util.MagnifierParameter.html +24 -43
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
- package/docs/interfaces/Util.PointIntersection.html +12 -33
- package/docs/modules/AreaMakerPluginType.html +6 -16
- package/docs/modules/CruisePluginTypes.html +6 -18
- package/docs/modules/CurrentPanoImagePluginType.html +7 -17
- package/docs/modules/GuideLineItem.html +7 -17
- package/docs/modules/GuideLineModeItem.html +7 -17
- package/docs/modules/GuideLinePluginType.html +6 -16
- package/docs/modules/PanoVideoPluginType.html +7 -17
- package/docs/modules/Util.html +8 -26
- package/docs/modules.html +11 -34
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
- package/docs/types/ArrayPosition.html +7 -17
- package/docs/types/AudioAppearance.html +7 -17
- package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
- package/docs/types/CSS3DRenderExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
- package/docs/types/ClassFunctionParameters.html +7 -17
- package/docs/types/Color.html +7 -17
- package/docs/types/ContentTypeConfigKey.html +7 -17
- package/docs/types/ContentTypeConfigKeySplit.html +8 -18
- package/docs/types/ContentTypeMap.html +7 -17
- package/docs/types/Create3DDomContainerReturnType.html +7 -17
- package/docs/types/Create3DElementReturnType.html +7 -17
- package/docs/types/CruisePluginExportType.html +7 -17
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
- package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
- package/docs/types/DeprecatedTagProperty.html +7 -17
- package/docs/types/Direction-1.html +7 -17
- package/docs/types/Direction4.html +7 -17
- package/docs/types/ElementRenderer.html +7 -17
- package/docs/types/FloorplanRuleLabels.html +7 -17
- package/docs/types/FloorplanServerRuleLabels.html +7 -17
- package/docs/types/GuideLinePluginExportType.html +7 -17
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
- package/docs/types/GuideLinePluginType.PathItem.html +6 -16
- package/docs/types/GuideLinePluginType.PluginData.html +6 -16
- package/docs/types/HelperEventMap.html +7 -17
- package/docs/types/InternalHelperEventMap.html +11 -29
- package/docs/types/LoadTagConfig.html +7 -17
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/MediaData.html +10 -20
- package/docs/types/MediaStore.html +7 -17
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
- package/docs/types/ModelId.html +7 -17
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
- package/docs/types/MoveArgs.html +7 -17
- package/docs/types/MoveOpts.html +7 -17
- package/docs/types/Object3DHelperEventMap.html +7 -17
- package/docs/types/ObjectFit.html +7 -17
- package/docs/types/PaintBrushEventMap.html +7 -17
- package/docs/types/PanoCompassPluginData.html +7 -17
- package/docs/types/PanoCompassPluginExportType.html +7 -17
- package/docs/types/PanoCompassPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
- package/docs/types/PanoIndex.html +7 -17
- package/docs/types/PanoMeasurePluginEvent.html +7 -17
- package/docs/types/PanoMeasureReturnType.html +7 -17
- package/docs/types/PanoSpatialTagPluginId.html +7 -17
- package/docs/types/PanoTagPluginExportInterface.html +7 -17
- package/docs/types/PanoTagPluginParamsInterface.html +7 -17
- package/docs/types/PanoVideoPluginParameterType.html +7 -17
- package/docs/types/PanoVideoPluginReturnType.html +7 -17
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
- package/docs/types/PipelinePluginParameterType.html +7 -17
- package/docs/types/PipelinePluginReturnType.html +7 -17
- package/docs/types/PlaneTag.html +7 -17
- package/docs/types/Point2DTag.html +7 -17
- package/docs/types/Point3DTag.html +7 -17
- package/docs/types/PointTag.html +7 -17
- package/docs/types/PointTagInstance.html +7 -17
- package/docs/types/Position.html +7 -17
- package/docs/types/RotateArgs.html +7 -17
- package/docs/types/RotateOpts.html +7 -17
- package/docs/types/RuleLabelsKey.html +7 -17
- package/docs/types/RuleLabelsValue.html +7 -17
- package/docs/types/StickType.html +7 -17
- package/docs/types/Tag.html +13 -35
- package/docs/types/Tag2D.html +7 -17
- package/docs/types/Tag3D.html +7 -17
- package/docs/types/TagConfigByKey.html +8 -18
- package/docs/types/TagContentType.html +7 -17
- package/docs/types/TagContentTypeMapping.html +7 -17
- package/docs/types/TagDimensionType.html +7 -17
- package/docs/types/TagElement.html +7 -17
- package/docs/types/TagEvents.html +12 -38
- package/docs/types/TagGLTFObject.html +7 -17
- package/docs/types/TagHooks.html +7 -17
- package/docs/types/TagId.html +7 -17
- package/docs/types/TagInstance.html +8 -44
- package/docs/types/TagPointType.html +7 -17
- package/docs/types/TagRendererMap.html +7 -17
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/WorkCode.html +7 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
- package/docs/variables/PLUGIN.html +7 -17
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
- package/docs/variables/ROOM_TYPE_MAP.html +7 -17
- package/docs/variables/defaultGlobalConfig.html +7 -17
- package/docs/variables/itemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Move.js +50 -37
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +23 -10
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelMakerPlugin/Controller.js +33 -23
- package/libs/ModelMakerPlugin/index.js +13 -3
- package/libs/ModelMakerPlugin/utils/Text.js +43 -33
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +84 -65
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +56 -51
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +167 -162
- package/libs/floorplan/Components/Main.js +85 -76
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +143 -129
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +5 -6
- package/docs/classes/Sculpt.html +0 -852
- package/docs/functions/ModelMakerPlugin.html +0 -303
- package/docs/functions/SculptPlugin.html +0 -306
- package/docs/functions/Util.blink.html +0 -351
- package/docs/functions/Util.reblink.html +0 -349
- package/docs/interfaces/ContentTypeMapInterface.html +0 -773
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
- package/docs/modules/ModelMakerPluginType.html +0 -339
- package/docs/modules/SculptData.html +0 -318
- package/docs/types/AddObject3DHelperConfig.html +0 -315
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
- package/docs/types/ScaleCallback.html +0 -314
- package/docs/types/ScalePosition.html +0 -303
- package/docs/types/SculptData.BoxData.html +0 -306
- package/docs/types/SculptData.CircleData.html +0 -306
- package/docs/types/SculptData.CylinderData.html +0 -306
- package/docs/types/SculptData.PointData.html +0 -306
- package/docs/types/SculptData.PolygonData.html +0 -306
- package/docs/types/SculptData.PolylineData.html +0 -306
- package/docs/types/SculptData.PrismData.html +0 -306
- package/docs/types/SculptData.RectangleData.html +0 -306
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -2,7 +2,7 @@ var V = Object.defineProperty, E = Object.defineProperties;
|
|
|
2
2
|
var R = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var D = Object.getOwnPropertySymbols;
|
|
4
4
|
var F = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e,
|
|
5
|
+
var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, u = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
7
|
F.call(a, e) && C(d, e, a[e]);
|
|
8
8
|
if (D)
|
|
@@ -10,19 +10,19 @@ var C = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
O.call(a, e) && C(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
12
|
}, A = (d, a) => E(d, R(a));
|
|
13
|
-
var
|
|
13
|
+
var p = (d, a, e) => (C(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
var c = (d, a, e) => new Promise((t, i) => {
|
|
15
15
|
var s = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(r));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (h) {
|
|
19
|
+
i(h);
|
|
20
20
|
}
|
|
21
21
|
}, o = (r) => {
|
|
22
22
|
try {
|
|
23
23
|
n(e.throw(r));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (h) {
|
|
25
|
+
i(h);
|
|
26
26
|
}
|
|
27
27
|
}, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
|
|
28
28
|
n((e = e.apply(d, a)).next());
|
|
@@ -35,8 +35,8 @@ import { arrayPositionToVector3 as S } from "../../shared-utils/positionToVector
|
|
|
35
35
|
import { isMediaModelTag as L, isModelTag as N } from "../utils/tag/tagCheck.js";
|
|
36
36
|
import { debounce as G } from "../utils/debounce.js";
|
|
37
37
|
import { throttle as w } from "../utils/throttle.js";
|
|
38
|
-
import z, { getTagStickType as
|
|
39
|
-
import { generateBlankAudio as
|
|
38
|
+
import z, { getTagStickType as $ } from "../utils/tag/format.js";
|
|
39
|
+
import { generateBlankAudio as W, AudioNamespace as x } from "../../shared-utils/audio.js";
|
|
40
40
|
import { resizeObserver as k } from "../../shared-utils/dom/resizeObserver.js";
|
|
41
41
|
import { TagRender as j } from "./TagRender.js";
|
|
42
42
|
import { uuid as J } from "../../shared-utils/uuid.js";
|
|
@@ -77,8 +77,8 @@ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
77
77
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
78
78
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
79
79
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
80
|
-
import "../../vendor/svelte/store/index.js";
|
|
81
|
-
import "../../vendor/svelte/internal/
|
|
80
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
81
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
82
82
|
import "../../shared-utils/device.js";
|
|
83
83
|
import "../utils/model/mediaPlane.js";
|
|
84
84
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -99,13 +99,24 @@ import "../../shared-utils/Utils/WorkUtil.js";
|
|
|
99
99
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
100
100
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
101
101
|
import "../Components/TagContainer.js";
|
|
102
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
103
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
104
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
105
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
106
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
107
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
108
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
109
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
110
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
111
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
112
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
102
113
|
import "../Components/TagItem.js";
|
|
103
114
|
import "../Components/Tag/index.js";
|
|
104
115
|
import "../Components/Tag/TextTag/index.js";
|
|
105
116
|
import "../Components/Tag/TextTag/TextTag.js";
|
|
106
117
|
import "../Components/Common/Line/Straight.js";
|
|
107
|
-
import "../../vendor/svelte/transition/index.js";
|
|
108
|
-
import "../../vendor/svelte/easing/index.js";
|
|
118
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
119
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
109
120
|
import "../Components/Common/Shadow.js";
|
|
110
121
|
import "../Components/Common/Text/FlyMText.js";
|
|
111
122
|
import "../Components/Common/Text/FlyText.js";
|
|
@@ -121,6 +132,7 @@ import "../utils/px2rem.js";
|
|
|
121
132
|
import "../Components/Tag/ImageTextTag.js";
|
|
122
133
|
import "../Components/Common/Line/Polyline.js";
|
|
123
134
|
import "../Components/Common/Media.js";
|
|
135
|
+
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
124
136
|
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
125
137
|
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
126
138
|
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -163,6 +175,7 @@ import "../Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
163
175
|
import "../Components/Tag/MediaPlane.js";
|
|
164
176
|
import "../Components/Tag/LinkTag.js";
|
|
165
177
|
import "../Components/Common/Icon/Icon.js";
|
|
178
|
+
import "../../vendor/svelte/src/runtime/internal/await_block.js";
|
|
166
179
|
import "../utils/getImageInfo.js";
|
|
167
180
|
import "../Components/Tag/PanoramaTag.js";
|
|
168
181
|
import "../Components/Tag/CustomTag.js";
|
|
@@ -174,22 +187,22 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
174
187
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
175
188
|
import "@realsee/five/gltf-loader";
|
|
176
189
|
import "../../shared-utils/animationFrame/index.js";
|
|
177
|
-
const U = "Dnalogel-PanoTagPlugin",
|
|
178
|
-
class
|
|
190
|
+
const U = "Dnalogel-PanoTagPlugin", Xi = (d) => `${U}--${d}`;
|
|
191
|
+
class es extends j {
|
|
179
192
|
constructor(e, t) {
|
|
180
193
|
super(e);
|
|
181
194
|
/** state */
|
|
182
|
-
|
|
195
|
+
p(this, "state", { enabled: !0, visible: !0 });
|
|
183
196
|
/** 插件参数 */
|
|
184
|
-
|
|
197
|
+
p(this, "params");
|
|
185
198
|
/** debug */
|
|
186
|
-
|
|
187
|
-
|
|
199
|
+
p(this, "debug");
|
|
200
|
+
p(this, "debugUtil", new K(this));
|
|
188
201
|
/** 更改 tag 模型 */
|
|
189
|
-
|
|
202
|
+
p(this, "changeTagModel", (e, t) => c(this, null, function* () {
|
|
190
203
|
e.data = g({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
|
|
191
204
|
}));
|
|
192
|
-
|
|
205
|
+
p(this, "whyHide", (e) => {
|
|
193
206
|
var i, s, o;
|
|
194
207
|
if (!this.state.enabled)
|
|
195
208
|
return { reason: `plugin.state.enabled is ${this.state.enabled}` };
|
|
@@ -208,13 +221,13 @@ class zi extends j {
|
|
|
208
221
|
}
|
|
209
222
|
return { reason: "check your eyes" };
|
|
210
223
|
});
|
|
211
|
-
|
|
224
|
+
p(this, "updateVisible", () => {
|
|
212
225
|
const e = this.five.getCurrentState().mode;
|
|
213
226
|
this.tags.forEach((t) => {
|
|
214
227
|
L(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
|
|
215
228
|
}), this.setVisible(), this.updateRenderAllTags();
|
|
216
229
|
});
|
|
217
|
-
|
|
230
|
+
p(this, "handleFiveWantsMoveToPano", (e) => {
|
|
218
231
|
this.tags.forEach((t) => {
|
|
219
232
|
this.getVisible(t, { panoIndex: e }) && (t.state.visible = !0);
|
|
220
233
|
const s = this.getTagConfig(t);
|
|
@@ -235,7 +248,7 @@ class zi extends j {
|
|
|
235
248
|
// this.temporaryState.visible = false
|
|
236
249
|
// this.updateTagContainerVisible()
|
|
237
250
|
// }
|
|
238
|
-
|
|
251
|
+
p(this, "clickhandler", (e) => {
|
|
239
252
|
if (e.target !== "TagPoint")
|
|
240
253
|
return;
|
|
241
254
|
if (!e.tag.state)
|
|
@@ -245,43 +258,49 @@ class zi extends j {
|
|
|
245
258
|
s.id !== e.tag.id && s.state && this.can("fold", s) && (s.state.unfolded = !1);
|
|
246
259
|
}), this.updateRenderAllTags());
|
|
247
260
|
});
|
|
248
|
-
|
|
261
|
+
p(this, "handleFiveCameraUpdate", () => {
|
|
249
262
|
this.updatePointTagPosition();
|
|
250
263
|
});
|
|
251
|
-
|
|
264
|
+
p(this, "handleFivePanoArrived", () => c(this, null, function* () {
|
|
252
265
|
this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
253
|
-
e.temporaryState = A(
|
|
266
|
+
e.temporaryState = A(u({}, e.temporaryState), { visible: !0 });
|
|
254
267
|
}), this.tags.filter(N).filter((e) => {
|
|
255
268
|
var t;
|
|
256
269
|
return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
257
270
|
}).forEach((e) => {
|
|
258
|
-
var
|
|
259
|
-
const t = new P.Mesh(new P.BoxGeometry(), new P.MeshBasicMaterial()), i = (
|
|
271
|
+
var h;
|
|
272
|
+
const t = new P.Mesh(new P.BoxGeometry(), new P.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
|
|
260
273
|
if (!i)
|
|
261
274
|
return;
|
|
262
275
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
263
276
|
const s = this.five.camera.position;
|
|
264
277
|
t.lookAt(s.clone().setY(t.position.y));
|
|
265
278
|
const o = i.quaternion.clone(), n = t.quaternion.clone(), r = Y();
|
|
266
|
-
r.onUpdate(({ progress:
|
|
267
|
-
i.quaternion.copy(o.clone().slerp(n,
|
|
279
|
+
r.onUpdate(({ progress: l }) => {
|
|
280
|
+
i.quaternion.copy(o.clone().slerp(n, l));
|
|
268
281
|
}), r.play();
|
|
269
282
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
270
283
|
}));
|
|
271
284
|
/** 楼层切换时,需要更新标签可见性 */
|
|
272
|
-
|
|
285
|
+
p(this, "handleFiveModelShownFloorChange", () => {
|
|
273
286
|
this.setVisible(), this.updateRenderAllTags();
|
|
274
287
|
});
|
|
275
|
-
|
|
288
|
+
p(this, "onFiveEveryReady", () => {
|
|
276
289
|
this.setUnfoldedByCamera(), q(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
|
|
277
290
|
});
|
|
278
|
-
this.params = g({}, { debug: !1, config: this.config },
|
|
291
|
+
this.params = g({}, { debug: !1, config: this.config }, u({}, t)), this.debug = this.params.debug, this.config = this.params.config, W(1, { namespace: x.PlayAudio });
|
|
279
292
|
try {
|
|
280
293
|
const i = window;
|
|
281
294
|
Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
282
295
|
} catch (i) {
|
|
283
296
|
}
|
|
284
297
|
}
|
|
298
|
+
appendTo(e) {
|
|
299
|
+
var i, s, o;
|
|
300
|
+
this.container = e;
|
|
301
|
+
const t = (s = (i = this.TagContainerSvelte) == null ? void 0 : i.$$) == null ? void 0 : s.root;
|
|
302
|
+
t && t !== this.container && ((o = this.TagContainerSvelte) == null || o.$destroy(), this.TagContainerSvelte = void 0, this.updateDomView());
|
|
303
|
+
}
|
|
285
304
|
/**
|
|
286
305
|
* @description 加载数据
|
|
287
306
|
*/
|
|
@@ -309,38 +328,38 @@ class zi extends j {
|
|
|
309
328
|
return c(this, null, function* () {
|
|
310
329
|
const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
311
330
|
var b, v, T, y;
|
|
312
|
-
o.stickType =
|
|
331
|
+
o.stickType = $(o);
|
|
313
332
|
const n = JSON.parse(JSON.stringify(o.data)), r = (b = o.initialConfig) != null ? b : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
|
|
314
333
|
o.initialConfig = r;
|
|
315
|
-
const
|
|
316
|
-
o.config =
|
|
317
|
-
const
|
|
334
|
+
const h = this.calculateTagConfig(o), l = this.getTagConfig(o);
|
|
335
|
+
o.config = l;
|
|
336
|
+
const f = A(u({}, o), {
|
|
318
337
|
enabled: (v = o.enabled) != null ? v : !0,
|
|
319
338
|
id: (T = o.id) != null ? T : J(),
|
|
320
|
-
data: (y =
|
|
321
|
-
state:
|
|
339
|
+
data: (y = l.initialData) != null && y.important ? g(o.data, n, l.initialData) : g(o.data, l.initialData, n),
|
|
340
|
+
state: u({
|
|
322
341
|
visible: void 0,
|
|
323
342
|
unfolded: !this.can("fold", o)
|
|
324
|
-
},
|
|
343
|
+
}, l.initialState),
|
|
325
344
|
hooks: new M(),
|
|
326
345
|
originPosition: o.position,
|
|
327
346
|
position: (() => {
|
|
328
|
-
const
|
|
329
|
-
return Array.isArray(
|
|
347
|
+
const m = this.getTransformedPostion(o.position);
|
|
348
|
+
return Array.isArray(m) ? m.map((B) => B.toArray()) : m.toArray();
|
|
330
349
|
})(),
|
|
331
350
|
initialConfig: r,
|
|
332
|
-
computedConfig:
|
|
333
|
-
config:
|
|
334
|
-
unfold: () => this.changeUnfoldedById(
|
|
335
|
-
fold: () => this.changeUnfoldedById(
|
|
336
|
-
enable: () => this.changeEnabledById(
|
|
337
|
-
disable: () => this.changeEnabledById(
|
|
338
|
-
destroy: () => this.destroyTagById(
|
|
339
|
-
changeData: (
|
|
340
|
-
changePosition: (
|
|
341
|
-
blink: (
|
|
351
|
+
computedConfig: h,
|
|
352
|
+
config: l,
|
|
353
|
+
unfold: () => this.changeUnfoldedById(f.id, !0),
|
|
354
|
+
fold: () => this.changeUnfoldedById(f.id, !1),
|
|
355
|
+
enable: () => this.changeEnabledById(f.id, !0),
|
|
356
|
+
disable: () => this.changeEnabledById(f.id, !1),
|
|
357
|
+
destroy: () => this.destroyTagById(f.id),
|
|
358
|
+
changeData: (m) => this.changeDataById(f.id, m),
|
|
359
|
+
changePosition: (m) => this.changePositionById(f.id, m),
|
|
360
|
+
blink: (m) => this.blinkTagById(f.id, m)
|
|
342
361
|
});
|
|
343
|
-
return
|
|
362
|
+
return f;
|
|
344
363
|
});
|
|
345
364
|
return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, Z(this.five).then(() => c(this, null, function* () {
|
|
346
365
|
var o, n, r;
|
|
@@ -397,7 +416,7 @@ class zi extends j {
|
|
|
397
416
|
setState(e, t) {
|
|
398
417
|
if (this.checkDisposed())
|
|
399
418
|
return;
|
|
400
|
-
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o =
|
|
419
|
+
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = u({}, this.state);
|
|
401
420
|
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
|
|
402
421
|
}
|
|
403
422
|
/**
|
|
@@ -406,8 +425,8 @@ class zi extends j {
|
|
|
406
425
|
dispose() {
|
|
407
426
|
var e, t, i, s, o, n;
|
|
408
427
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
409
|
-
var
|
|
410
|
-
return (
|
|
428
|
+
var h;
|
|
429
|
+
return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
|
|
411
430
|
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
412
431
|
}
|
|
413
432
|
/**
|
|
@@ -417,11 +436,11 @@ class zi extends j {
|
|
|
417
436
|
*/
|
|
418
437
|
blinkTagById(e, t) {
|
|
419
438
|
return c(this, null, function* () {
|
|
420
|
-
var
|
|
439
|
+
var l, f;
|
|
421
440
|
const i = this.getTagById(e);
|
|
422
441
|
if (!i)
|
|
423
442
|
return;
|
|
424
|
-
const s = (
|
|
443
|
+
const s = (l = i.enabled) != null ? l : !0, o = (f = i.state) == null ? void 0 : f.visible, n = s && o;
|
|
425
444
|
n === !1 && (i.state.visible = !0, i.enabled = !0, this.setPointTagPosition(), this.updateDomView(), yield X(0), i.dom && (i.dom.style.visibility = "hidden"));
|
|
426
445
|
const r = (() => {
|
|
427
446
|
var v, T, y;
|
|
@@ -430,7 +449,7 @@ class zi extends j {
|
|
|
430
449
|
})();
|
|
431
450
|
if (!r.length)
|
|
432
451
|
return;
|
|
433
|
-
yield (n ? H : Q)(r,
|
|
452
|
+
yield (n ? H : Q)(r, u({
|
|
434
453
|
begin: () => {
|
|
435
454
|
n === !1 && i.dom && (i.dom.style.visibility = "");
|
|
436
455
|
},
|
|
@@ -494,7 +513,7 @@ class zi extends j {
|
|
|
494
513
|
changeDataById(e, t, i = !0) {
|
|
495
514
|
const s = this.getTagById(e);
|
|
496
515
|
let o = !1;
|
|
497
|
-
s && (s.data && (o = !0), i ? s.data = g(s.data, t) : s.data =
|
|
516
|
+
s && (s.data && (o = !0), i ? s.data = g(s.data, t) : s.data = u(u({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
|
|
498
517
|
}
|
|
499
518
|
/**
|
|
500
519
|
* @description 改变tag的stickType
|
|
@@ -610,12 +629,12 @@ class zi extends j {
|
|
|
610
629
|
});
|
|
611
630
|
}
|
|
612
631
|
changeTagMode(e, t) {
|
|
613
|
-
var i, s, o, n, r,
|
|
614
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (
|
|
632
|
+
var i, s, o, n, r, h;
|
|
633
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
|
|
615
634
|
}
|
|
616
635
|
}
|
|
617
636
|
export {
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
637
|
+
es as PanoTagPluginController,
|
|
638
|
+
es as default,
|
|
639
|
+
Xi as pluginFlag
|
|
621
640
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as mr } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as er } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as ar, DimensionType as fr, PointType as gr } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -44,8 +44,8 @@ import "./utils/normalPositionToPositions.js";
|
|
|
44
44
|
import "./controller/TagCache.js";
|
|
45
45
|
import "../base/BasePlugin.js";
|
|
46
46
|
import "../shared-utils/url/absoluteUrl.js";
|
|
47
|
-
import "../vendor/svelte/store/index.js";
|
|
48
|
-
import "../vendor/svelte/internal/
|
|
47
|
+
import "../vendor/svelte/src/runtime/store/index.js";
|
|
48
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
49
49
|
import "../shared-utils/device.js";
|
|
50
50
|
import "./utils/model/mediaPlane.js";
|
|
51
51
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -67,13 +67,24 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
67
67
|
import "../shared-utils/five/getFloorIndex.js";
|
|
68
68
|
import "../shared-utils/safeObj.js";
|
|
69
69
|
import "./Components/TagContainer.js";
|
|
70
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
71
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
72
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
73
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
74
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
75
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
76
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
77
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
78
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
79
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
80
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
70
81
|
import "./Components/TagItem.js";
|
|
71
82
|
import "./Components/Tag/index.js";
|
|
72
83
|
import "./Components/Tag/TextTag/index.js";
|
|
73
84
|
import "./Components/Tag/TextTag/TextTag.js";
|
|
74
85
|
import "./Components/Common/Line/Straight.js";
|
|
75
|
-
import "../vendor/svelte/transition/index.js";
|
|
76
|
-
import "../vendor/svelte/easing/index.js";
|
|
86
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
87
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
77
88
|
import "../shared-utils/uuid.js";
|
|
78
89
|
import "./Components/Common/Shadow.js";
|
|
79
90
|
import "./Components/Common/Text/FlyMText.js";
|
|
@@ -90,6 +101,7 @@ import "./utils/px2rem.js";
|
|
|
90
101
|
import "./Components/Tag/ImageTextTag.js";
|
|
91
102
|
import "./Components/Common/Line/Polyline.js";
|
|
92
103
|
import "./Components/Common/Media.js";
|
|
104
|
+
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
93
105
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
94
106
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
95
107
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -132,6 +144,7 @@ import "./Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
132
144
|
import "./Components/Tag/MediaPlane.js";
|
|
133
145
|
import "./Components/Tag/LinkTag.js";
|
|
134
146
|
import "./Components/Common/Icon/Icon.js";
|
|
147
|
+
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
135
148
|
import "./utils/getImageInfo.js";
|
|
136
149
|
import "./Components/Tag/PanoramaTag.js";
|
|
137
150
|
import "./Components/Tag/CustomTag.js";
|
|
@@ -148,14 +161,14 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
148
161
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
149
162
|
import "./utils/DebugUtil.js";
|
|
150
163
|
import "../CruisePlugin/utils/sleep.js";
|
|
151
|
-
const
|
|
164
|
+
const rr = (o, t) => new r(o, t);
|
|
152
165
|
export {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
166
|
+
ar as ContentType,
|
|
167
|
+
fr as DimensionType,
|
|
168
|
+
rr as PanoTagPlugin,
|
|
156
169
|
r as PanoTagPluginController,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
170
|
+
gr as PointType,
|
|
171
|
+
rr as default,
|
|
172
|
+
er as defaultGlobalConfig,
|
|
173
|
+
mr as pluginFlag
|
|
161
174
|
};
|
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.
|
|
18
|
+
i(this, "VERSION", "3.32.0-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
|
};
|