@realsee/dnalogel 2.22.0-dev.8 → 2.23.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/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4614 -4447
- package/dist/index.umd.js +58 -58
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +48 -48
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/CruisePlugin/Controller.js +103 -90
- package/libs/CruisePlugin/index.js +22 -9
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +38 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- 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/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 +65 -55
- 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 +48 -37
- package/libs/PanoMeasurePlugin/Components/Controller1.js +59 -48
- package/libs/PanoMeasurePlugin/Components/Tip.js +74 -64
- package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +25 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -5
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
- 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 +116 -105
- 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 +139 -128
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
- 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 +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
- 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 +88 -75
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
- 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 +118 -103
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
- package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +95 -82
- package/libs/PanoTagPlugin/index.js +26 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +16 -13
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +25 -20
- package/libs/floorplan/Components/Main.js +58 -49
- 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 +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- 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 +41 -29
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +126 -112
- 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 +27 -23
- 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 +1 -1
- 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
|
@@ -10,21 +10,21 @@ var b = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
I.call(a, e) && b(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
12
|
}, u = (d, a) => F(d, w(a));
|
|
13
|
-
var
|
|
13
|
+
var g = (d, a, e) => (b(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
var p = (d, a, e) => new Promise((t, i) => {
|
|
15
|
-
var
|
|
15
|
+
var o = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(r));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
i(h);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (r) => {
|
|
22
22
|
try {
|
|
23
23
|
n(e.throw(r));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
i(h);
|
|
26
26
|
}
|
|
27
|
-
}, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(
|
|
27
|
+
}, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, s);
|
|
28
28
|
n((e = e.apply(d, a)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as T from "three";
|
|
@@ -68,8 +68,8 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
|
68
68
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
69
69
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
70
70
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
71
|
-
import "../../vendor/svelte/store/index.js";
|
|
72
|
-
import "../../vendor/svelte/internal/
|
|
71
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
72
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
73
73
|
import "../../shared-utils/device.js";
|
|
74
74
|
import "../utils/model/mediaPlane.js";
|
|
75
75
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -83,13 +83,24 @@ import "../../shared-utils/five/FiveDomEvents.js";
|
|
|
83
83
|
import "../../shared-utils/threex/domevents/index.js";
|
|
84
84
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
85
85
|
import "../Components/TagContainer.js";
|
|
86
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
87
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
88
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
89
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
90
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
91
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
92
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
93
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
94
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
95
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
96
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
86
97
|
import "../Components/TagItem.js";
|
|
87
98
|
import "../Components/Tag/index.js";
|
|
88
99
|
import "../Components/Tag/TextTag/index.js";
|
|
89
100
|
import "../Components/Tag/TextTag/TextTag.js";
|
|
90
101
|
import "../Components/Common/Line/Straight.js";
|
|
91
|
-
import "../../vendor/svelte/transition/index.js";
|
|
92
|
-
import "../../vendor/svelte/easing/index.js";
|
|
102
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
103
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
93
104
|
import "../Components/Common/Shadow.js";
|
|
94
105
|
import "../Components/Common/Text/FlyMText.js";
|
|
95
106
|
import "../Components/Common/Text/FlyText.js";
|
|
@@ -106,6 +117,7 @@ import "../utils/px2rem.js";
|
|
|
106
117
|
import "../Components/Tag/ImageTextTag.js";
|
|
107
118
|
import "../Components/Common/Line/Polyline.js";
|
|
108
119
|
import "../Components/Common/Media.js";
|
|
120
|
+
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
109
121
|
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
110
122
|
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
111
123
|
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -148,6 +160,7 @@ import "../Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
148
160
|
import "../Components/Tag/MediaPlane.js";
|
|
149
161
|
import "../Components/Tag/LinkTag.js";
|
|
150
162
|
import "../Components/Common/Icon/Icon.js";
|
|
163
|
+
import "../../vendor/svelte/src/runtime/internal/await_block.js";
|
|
151
164
|
import "../utils/getImageInfo.js";
|
|
152
165
|
import "../Components/Tag/CustomTag.js";
|
|
153
166
|
import "../../vendor/classnames/index.js";
|
|
@@ -158,32 +171,32 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
158
171
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
159
172
|
import "@realsee/five/gltf-loader";
|
|
160
173
|
import "../../shared-utils/animationFrame/index.js";
|
|
161
|
-
const M = "Dnalogel-PanoTagPlugin",
|
|
162
|
-
class
|
|
174
|
+
const M = "Dnalogel-PanoTagPlugin", Mi = (d) => `${M}--${d}`;
|
|
175
|
+
class Pi extends V {
|
|
163
176
|
constructor(e, t) {
|
|
164
177
|
super(e);
|
|
165
178
|
/** state */
|
|
166
|
-
|
|
179
|
+
g(this, "state", { enabled: !0, visible: !0 });
|
|
167
180
|
/** 插件参数 */
|
|
168
|
-
|
|
181
|
+
g(this, "params");
|
|
169
182
|
/** debug */
|
|
170
|
-
|
|
183
|
+
g(this, "debug");
|
|
171
184
|
/** 更改 tag 模型 */
|
|
172
|
-
|
|
185
|
+
g(this, "changeTagModel", (e, t) => p(this, null, function* () {
|
|
173
186
|
e.data = c({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
|
|
174
187
|
}));
|
|
175
|
-
|
|
188
|
+
g(this, "handleFiveInitAnimationEnded", () => {
|
|
176
189
|
const e = this.five.getCurrentState().mode;
|
|
177
190
|
this.tags.forEach((t) => {
|
|
178
191
|
y(t) && e === "Panorama" && this.changeTagMode(t, "front"), t.state.visible = this.getVisible(t);
|
|
179
192
|
}), this.updateRenderAllTags();
|
|
180
193
|
});
|
|
181
194
|
/** 楼层切换时,需要更新标签可见性 */
|
|
182
|
-
|
|
195
|
+
g(this, "handleFiveModelShownFloorChange", () => {
|
|
183
196
|
this.tags.forEach((e) => {
|
|
184
|
-
var i,
|
|
197
|
+
var i, o;
|
|
185
198
|
const t = this.getTagConfig(e).visibleConfig;
|
|
186
|
-
typeof t == "object" && ((i = t.visibleFiveMode) != null && i.includes("Floorplan") || (
|
|
199
|
+
typeof t == "object" && ((i = t.visibleFiveMode) != null && i.includes("Floorplan") || (o = t.visibleFiveMode) != null && o.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
|
|
187
200
|
}), this.updateRenderAllTags();
|
|
188
201
|
});
|
|
189
202
|
this.params = c({}, { debug: !1, config: this.config }, f({}, t)), this.debug = this.params.debug, this.config = this.params.config, G(1, { namespace: N.PlayAudio });
|
|
@@ -198,10 +211,10 @@ class ci extends V {
|
|
|
198
211
|
*/
|
|
199
212
|
load(e, t) {
|
|
200
213
|
return p(this, null, function* () {
|
|
201
|
-
var
|
|
214
|
+
var o, s;
|
|
202
215
|
this.clearTags(), console.debug(M, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = c({}, this.config, {
|
|
203
|
-
globalConfig: (
|
|
204
|
-
contentTypeConfig: (
|
|
216
|
+
globalConfig: (o = e.globalConfig) != null ? o : {},
|
|
217
|
+
contentTypeConfig: (s = e.contentTypeConfig) != null ? s : {}
|
|
205
218
|
});
|
|
206
219
|
const i = yield this.addTag(e.tagList, t);
|
|
207
220
|
if (this.debug)
|
|
@@ -218,31 +231,31 @@ class ci extends V {
|
|
|
218
231
|
*/
|
|
219
232
|
addTag(e, t) {
|
|
220
233
|
return p(this, null, function* () {
|
|
221
|
-
const
|
|
222
|
-
var l,
|
|
223
|
-
const n = this.getTagConfig(
|
|
224
|
-
return u(f({},
|
|
225
|
-
enabled: (l =
|
|
226
|
-
id: (
|
|
227
|
-
data: c(
|
|
234
|
+
const o = (Array.isArray(e) ? e : [e]).map((s) => {
|
|
235
|
+
var l, m;
|
|
236
|
+
const n = this.getTagConfig(s), r = JSON.parse(JSON.stringify(s.data));
|
|
237
|
+
return u(f({}, s), {
|
|
238
|
+
enabled: (l = s.enabled) != null ? l : !0,
|
|
239
|
+
id: (m = s.id) != null ? m : z(),
|
|
240
|
+
data: c(s.data, n.initialData, r),
|
|
228
241
|
state: f({
|
|
229
242
|
visible: void 0,
|
|
230
|
-
unfolded: !this.can("fold",
|
|
243
|
+
unfolded: !this.can("fold", s)
|
|
231
244
|
}, n.initialState),
|
|
232
245
|
hooks: new B(),
|
|
233
|
-
initialConfig:
|
|
246
|
+
initialConfig: s.config,
|
|
234
247
|
config: n,
|
|
235
|
-
unfold: () => this.changeUnfoldedById(
|
|
236
|
-
fold: () => this.changeUnfoldedById(
|
|
237
|
-
enable: () => this.changeEnabledById(
|
|
238
|
-
disable: () => this.changeEnabledById(
|
|
239
|
-
destroy: () => this.destroyTagById(
|
|
240
|
-
changeData: (v) => this.changeDataById(
|
|
248
|
+
unfold: () => this.changeUnfoldedById(s.id, !0),
|
|
249
|
+
fold: () => this.changeUnfoldedById(s.id, !1),
|
|
250
|
+
enable: () => this.changeEnabledById(s.id, !0),
|
|
251
|
+
disable: () => this.changeEnabledById(s.id, !1),
|
|
252
|
+
destroy: () => this.destroyTagById(s.id),
|
|
253
|
+
changeData: (v) => this.changeDataById(s.id, v)
|
|
241
254
|
});
|
|
242
|
-
}).filter((
|
|
243
|
-
return
|
|
244
|
-
var
|
|
245
|
-
this.store.eventListenerDisposer && ((n = (
|
|
255
|
+
}).filter((s) => s.position);
|
|
256
|
+
return o.forEach(L), this.tags.push(...o), k(this.five).then(() => p(this, null, function* () {
|
|
257
|
+
var s, n, r;
|
|
258
|
+
this.store.eventListenerDisposer && ((n = (s = this.store).eventListenerDisposer) == null || n.call(s)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags(), yield this.addMediaModelTag(o);
|
|
246
259
|
}));
|
|
247
260
|
});
|
|
248
261
|
}
|
|
@@ -295,26 +308,26 @@ class ci extends V {
|
|
|
295
308
|
setState(e, t) {
|
|
296
309
|
if (this.checkDisposed())
|
|
297
310
|
return;
|
|
298
|
-
const { userAction: i = !0, visibleWithAnimation:
|
|
299
|
-
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation =
|
|
311
|
+
const { userAction: i = !0, visibleWithAnimation: o = !1 } = t, s = f({}, this.state);
|
|
312
|
+
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = o, s.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), s.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
300
313
|
}
|
|
301
314
|
/**
|
|
302
315
|
* @description: 销毁
|
|
303
316
|
*/
|
|
304
317
|
dispose() {
|
|
305
|
-
var e, t, i,
|
|
318
|
+
var e, t, i, o, s, n;
|
|
306
319
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
307
320
|
var h;
|
|
308
321
|
return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
|
|
309
|
-
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (
|
|
322
|
+
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (s = this.store).resizeObserverDisposer) == null || n.call(s), 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");
|
|
310
323
|
}
|
|
311
324
|
changeUnfoldedById(e, t) {
|
|
312
325
|
var n;
|
|
313
326
|
const i = this.getTagById(e);
|
|
314
327
|
if (!i)
|
|
315
328
|
return;
|
|
316
|
-
const
|
|
317
|
-
if (
|
|
329
|
+
const o = this.can("fold", i), s = this.can("unfold", i);
|
|
330
|
+
if (o && s) {
|
|
318
331
|
i.state.unfolded = t;
|
|
319
332
|
const r = this.filterPointTag;
|
|
320
333
|
(n = this.TagContainerSvelte) == null || n.$set({ tags: r });
|
|
@@ -336,9 +349,9 @@ class ci extends V {
|
|
|
336
349
|
* @description: 改变data
|
|
337
350
|
*/
|
|
338
351
|
changeDataById(e, t, i = !0) {
|
|
339
|
-
const
|
|
340
|
-
let
|
|
341
|
-
|
|
352
|
+
const o = this.getTagById(e);
|
|
353
|
+
let s = !1;
|
|
354
|
+
o && (o.data && (s = !0), i ? o.data = c(o.data, t) : o.data = f(f({}, o.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), s && o.hooks.emit("dataChanged", o.data));
|
|
342
355
|
}
|
|
343
356
|
/**
|
|
344
357
|
* @description: 改变tag的stickType
|
|
@@ -350,17 +363,17 @@ class ci extends V {
|
|
|
350
363
|
* @description: 改变tag任意属性
|
|
351
364
|
*/
|
|
352
365
|
changeTagById(e, t, i = !0) {
|
|
353
|
-
const
|
|
354
|
-
let
|
|
355
|
-
t && (t.data && (
|
|
366
|
+
const o = this.getTagById(e);
|
|
367
|
+
let s = !1;
|
|
368
|
+
t && (t.data && (s = !0), i ? c(o, t) : Object.assign(o, t), o != null && o.tag3DContentSvelte && (t != null && t.normal) && (o.tag3DContentSvelte.currentNormal = A(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), s && o.hooks.emit("dataChanged", o.data));
|
|
356
369
|
}
|
|
357
370
|
/**
|
|
358
371
|
* @description: 销毁tag
|
|
359
372
|
*/
|
|
360
373
|
destroyTagById(e) {
|
|
361
374
|
(Array.isArray(e) ? e : [e]).forEach((i) => {
|
|
362
|
-
const
|
|
363
|
-
|
|
375
|
+
const o = this.tags.findIndex((s) => s.id === i);
|
|
376
|
+
o !== -1 && this.tags.splice(o, 1);
|
|
364
377
|
}), this.updateRenderAllTags();
|
|
365
378
|
}
|
|
366
379
|
/**
|
|
@@ -390,18 +403,18 @@ class ci extends V {
|
|
|
390
403
|
}
|
|
391
404
|
handleDisable() {
|
|
392
405
|
var e, t, i;
|
|
393
|
-
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((
|
|
394
|
-
var
|
|
395
|
-
(
|
|
406
|
+
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((o) => {
|
|
407
|
+
var s;
|
|
408
|
+
(s = o.tag3DContentSvelte) == null || s.dispose(), o.tag3DContentSvelte = void 0;
|
|
396
409
|
}), this.five.needsRender = !0;
|
|
397
410
|
}
|
|
398
411
|
/**
|
|
399
412
|
* @description: 添加 cameraUpdate, panoArrived 等事件监听
|
|
400
413
|
*/
|
|
401
414
|
addEventListener() {
|
|
402
|
-
const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this),
|
|
403
|
-
return
|
|
404
|
-
e.off("wantsMoveToPano", i), e.off("modeChange",
|
|
415
|
+
const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), o = this.handleFiveModeChange.bind(this), s = this.handleFiveCameraUpdate.bind(this), n = this.handleFiveCameraUpdateDebounce(), r = this.handleFivePanoArrived.bind(this), h = this.loadVideoFirstFrame.bind(this), l = this.clickhandler.bind(this), m = this.five.currentMode;
|
|
416
|
+
return m && this.handleFiveModeChange(m), this.handleFivePanoArrived(), e.on("wantsMoveToPano", i), e.on("modeChange", o), e.on("initAnimationEnded", this.handleFiveInitAnimationEnded), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", s), e.on("cameraUpdate", n), e.on("panoArrived", r), e.on("panoArrived", h), t.on("click", l), () => {
|
|
417
|
+
e.off("wantsMoveToPano", i), e.off("modeChange", o), e.off("initAnimationEnded", this.handleFiveInitAnimationEnded), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", s), e.off("cameraUpdate", n), e.off("panoArrived", r), e.off("panoArrived", h), t.off("click", l), this.store.eventListenerDisposer = void 0;
|
|
405
418
|
};
|
|
406
419
|
}
|
|
407
420
|
addResizeListener() {
|
|
@@ -419,7 +432,7 @@ class ci extends V {
|
|
|
419
432
|
this.state.enabled && (this.show(), this.updateRenderAllTags());
|
|
420
433
|
}, i = () => {
|
|
421
434
|
this.state.enabled && this.hide();
|
|
422
|
-
}, { observe:
|
|
435
|
+
}, { observe: o, unobserve: s } = S(
|
|
423
436
|
_(() => {
|
|
424
437
|
this.store.resizeObserverDisposer && i();
|
|
425
438
|
}, 500),
|
|
@@ -428,8 +441,8 @@ class ci extends V {
|
|
|
428
441
|
D(() => t(), 400),
|
|
429
442
|
e
|
|
430
443
|
);
|
|
431
|
-
return
|
|
432
|
-
|
|
444
|
+
return o(), n(), () => {
|
|
445
|
+
s(), r();
|
|
433
446
|
};
|
|
434
447
|
}
|
|
435
448
|
/**
|
|
@@ -468,8 +481,8 @@ class ci extends V {
|
|
|
468
481
|
if (!e.tag.state)
|
|
469
482
|
return console.warn("Clickhandler: params.tag.state is undefined");
|
|
470
483
|
const t = this.can("fold", e.tag), i = this.can("unfold", e.tag);
|
|
471
|
-
t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((
|
|
472
|
-
|
|
484
|
+
t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((o) => {
|
|
485
|
+
o.id !== e.tag.id && o.state && this.can("fold", o) && (o.state.unfolded = !1);
|
|
473
486
|
}), this.updateRenderAllTags());
|
|
474
487
|
}
|
|
475
488
|
handleFiveCameraUpdateDebounce() {
|
|
@@ -483,23 +496,23 @@ class ci extends V {
|
|
|
483
496
|
handleFivePanoArrived() {
|
|
484
497
|
return p(this, null, function* () {
|
|
485
498
|
var e, t, i;
|
|
486
|
-
this.setModelMedialVisible(), yield this.setVisibleAndUnfolded(), this.tags.forEach((
|
|
487
|
-
|
|
488
|
-
}), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(O).filter((
|
|
489
|
-
var
|
|
490
|
-
return (n = (
|
|
491
|
-
}).forEach((
|
|
499
|
+
this.setModelMedialVisible(), yield this.setVisibleAndUnfolded(), this.tags.forEach((o) => {
|
|
500
|
+
o.temporaryState = u(f({}, o.temporaryState), { visible: !0 });
|
|
501
|
+
}), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(O).filter((o) => {
|
|
502
|
+
var s, n;
|
|
503
|
+
return (n = (s = o.config) == null ? void 0 : s.modelConfig) == null ? void 0 : n.autoLookAtEnabled;
|
|
504
|
+
}).forEach((o) => {
|
|
492
505
|
var v;
|
|
493
|
-
const
|
|
506
|
+
const s = new T.Mesh(new T.BoxGeometry(), new T.MeshBasicMaterial()), n = (v = o.model) == null ? void 0 : v.object;
|
|
494
507
|
if (!n)
|
|
495
508
|
return;
|
|
496
|
-
|
|
509
|
+
s.position.copy(n.position), s.quaternion.copy(n.quaternion);
|
|
497
510
|
const r = this.five.camera.position;
|
|
498
|
-
|
|
499
|
-
const h = n.quaternion.clone(), l =
|
|
500
|
-
|
|
511
|
+
s.lookAt(r.clone().setY(s.position.y));
|
|
512
|
+
const h = n.quaternion.clone(), l = s.quaternion.clone(), m = x();
|
|
513
|
+
m.onUpdate(({ progress: P }) => {
|
|
501
514
|
n.quaternion.copy(h.clone().slerp(l, P));
|
|
502
|
-
}),
|
|
515
|
+
}), m.play();
|
|
503
516
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
504
517
|
});
|
|
505
518
|
}
|
|
@@ -514,12 +527,12 @@ class ci extends V {
|
|
|
514
527
|
});
|
|
515
528
|
}
|
|
516
529
|
changeTagMode(e, t) {
|
|
517
|
-
var i,
|
|
518
|
-
((i = this.getTagConfig(e)) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (
|
|
530
|
+
var i, o, s, n, r, h;
|
|
531
|
+
((i = this.getTagConfig(e)) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (s = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : s.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);
|
|
519
532
|
}
|
|
520
533
|
}
|
|
521
534
|
export {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
535
|
+
Pi as PanoTagPluginController,
|
|
536
|
+
Pi as default,
|
|
537
|
+
Mi as pluginFlag
|
|
525
538
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as Rt } from "./controller/index.js";
|
|
3
|
+
import { ContentType as Ut, DimensionType as Vt, PointType as Wt } from "./Archive/deprecated.js";
|
|
4
4
|
import "three";
|
|
5
5
|
import "@realsee/five";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -40,8 +40,8 @@ import "./utils/normalPositionToPositions.js";
|
|
|
40
40
|
import "./controller/TagCache.js";
|
|
41
41
|
import "../base/BasePlugin.js";
|
|
42
42
|
import "../shared-utils/absoluteUrl.js";
|
|
43
|
-
import "../vendor/svelte/store/index.js";
|
|
44
|
-
import "../vendor/svelte/internal/
|
|
43
|
+
import "../vendor/svelte/src/runtime/store/index.js";
|
|
44
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
45
45
|
import "../shared-utils/device.js";
|
|
46
46
|
import "./utils/model/mediaPlane.js";
|
|
47
47
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -55,13 +55,24 @@ import "../shared-utils/five/FiveDomEvents.js";
|
|
|
55
55
|
import "../shared-utils/threex/domevents/index.js";
|
|
56
56
|
import "../shared-utils/five/getFloorIndex.js";
|
|
57
57
|
import "./Components/TagContainer.js";
|
|
58
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
59
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
60
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
61
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
62
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
63
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
64
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
65
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
66
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
67
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
68
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
58
69
|
import "./Components/TagItem.js";
|
|
59
70
|
import "./Components/Tag/index.js";
|
|
60
71
|
import "./Components/Tag/TextTag/index.js";
|
|
61
72
|
import "./Components/Tag/TextTag/TextTag.js";
|
|
62
73
|
import "./Components/Common/Line/Straight.js";
|
|
63
|
-
import "../vendor/svelte/transition/index.js";
|
|
64
|
-
import "../vendor/svelte/easing/index.js";
|
|
74
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
75
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
65
76
|
import "../shared-utils/uuid.js";
|
|
66
77
|
import "./Components/Common/Shadow.js";
|
|
67
78
|
import "./Components/Common/Text/FlyMText.js";
|
|
@@ -79,6 +90,7 @@ import "./utils/px2rem.js";
|
|
|
79
90
|
import "./Components/Tag/ImageTextTag.js";
|
|
80
91
|
import "./Components/Common/Line/Polyline.js";
|
|
81
92
|
import "./Components/Common/Media.js";
|
|
93
|
+
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
82
94
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
83
95
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
84
96
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -121,6 +133,7 @@ import "./Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
121
133
|
import "./Components/Tag/MediaPlane.js";
|
|
122
134
|
import "./Components/Tag/LinkTag.js";
|
|
123
135
|
import "./Components/Common/Icon/Icon.js";
|
|
136
|
+
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
124
137
|
import "./utils/getImageInfo.js";
|
|
125
138
|
import "./Components/Tag/CustomTag.js";
|
|
126
139
|
import "../vendor/classnames/index.js";
|
|
@@ -132,13 +145,13 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
132
145
|
import "@realsee/five/gltf-loader";
|
|
133
146
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
134
147
|
import "../shared-utils/animationFrame/index.js";
|
|
135
|
-
const
|
|
148
|
+
const Nt = (o, t) => new r(o, t);
|
|
136
149
|
export {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
150
|
+
Ut as ContentType,
|
|
151
|
+
Vt as DimensionType,
|
|
152
|
+
Nt as PanoTagPlugin,
|
|
140
153
|
r as PanoTagPluginController,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
154
|
+
Wt as PointType,
|
|
155
|
+
Nt as default,
|
|
156
|
+
Rt as pluginFlag
|
|
144
157
|
};
|
|
@@ -22,6 +22,16 @@ interface ContentTypeMapInterface {
|
|
|
22
22
|
text?: string;
|
|
23
23
|
title?: string;
|
|
24
24
|
description?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @description: description 最大行数, null不限制
|
|
27
|
+
* @default: null
|
|
28
|
+
*/
|
|
29
|
+
descriptionMaxRows?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* @description: title 最大行数, null不限制
|
|
32
|
+
* @default: null
|
|
33
|
+
*/
|
|
34
|
+
titleMaxRows?: number | null;
|
|
25
35
|
edit?: {
|
|
26
36
|
title?: {
|
|
27
37
|
inputting?: boolean;
|