@realsee/dnalogel 2.3.5-dev.7 → 2.3.6-alpha.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/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/dist/CruisePlugin/typing.d.ts +4 -0
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +2 -3
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +14 -16
- package/dist/PanoTagPlugin/controller/index.d.ts +13 -16
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +11 -13
- package/dist/PanoTagPlugin/typings/index.d.ts +1 -5
- package/dist/PanoTagPlugin/typings/tag.d.ts +247 -0
- package/dist/index.cjs.js +51 -51
- package/dist/index.js +6419 -7315
- package/dist/index.umd.js +49 -49
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +164 -213
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +35 -75
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +15 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/{interfaces/AddTagConfig.html → enums/LinkType.html} +23 -20
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +15 -19
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +13 -36
- package/docs/functions/CameraMovementPlugin.html +13 -36
- package/docs/functions/CruisePlugin.html +13 -36
- package/docs/functions/GuideLinePlugin.html +14 -37
- package/docs/functions/ItemLabelPlugin.html +13 -36
- package/docs/functions/MapviewFloorplanPlugin.html +13 -36
- package/docs/functions/ModelChassisCompassPlugin.html +13 -36
- package/docs/functions/ModelEntryDoorGuidePlugin.html +13 -36
- package/docs/functions/ModelFloorplanPlugin.html +13 -36
- package/docs/functions/ModelItemLabelPlugin.html +13 -36
- package/docs/functions/ModelRoomLabelPlugin.html +13 -36
- package/docs/functions/ModelTVVideoPlugin.html +13 -36
- package/docs/functions/ModelViewPlugin.html +13 -36
- package/docs/functions/Object3DHelperPlugin.html +13 -36
- package/docs/functions/PanoCompassPlugin.html +13 -36
- package/docs/functions/PanoCursorRaycasterPlugin.html +13 -36
- package/docs/functions/PanoDoorLabelPlugin.html +13 -36
- package/docs/functions/PanoFloorplanRadarPlugin.html +13 -36
- package/docs/functions/PanoMeasurePlugin.html +13 -36
- package/docs/functions/PanoRulerPlugin.html +13 -36
- package/docs/functions/PanoRulerProPlugin.html +13 -36
- package/docs/functions/PanoSpatialTagPlugin.html +13 -36
- package/docs/functions/PanoTagPlugin.html +23 -42
- package/docs/functions/TopviewFloorplanPlugin.html +13 -36
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +14 -37
- package/docs/index.html +13 -36
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +212 -0
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +14 -37
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +14 -37
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +14 -37
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +14 -37
- package/docs/interfaces/Rooms.html +14 -37
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +19 -15
- package/docs/interfaces/Tags.html +12 -14
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +21 -67
- package/docs/types/ArrayPosition.html +15 -38
- package/docs/types/CSS3DRenderExportType.html +14 -37
- package/docs/types/CSS3DRenderPluginExportType.html +14 -37
- package/docs/types/CSS3DRenderPluginParameterType.html +14 -37
- package/docs/types/Color.html +14 -37
- package/docs/types/ContentTypeConfigKey.html +15 -38
- package/docs/types/{WorkCode.html → ContentTypeConfigKeyArray.html} +17 -40
- package/docs/types/Create3DDomContainerReturnType.html +14 -37
- package/docs/types/Create3DElementReturnType.html +14 -37
- package/docs/types/CruisePluginExportType.html +14 -37
- package/docs/types/Direction-1.html +14 -37
- package/docs/types/Direction4.html +14 -37
- package/docs/types/FloorplanRuleLabels.html +14 -37
- package/docs/types/FloorplanServerRuleLabels.html +14 -37
- package/docs/types/GuideLinePluginExportType.html +14 -37
- package/docs/types/HelperEventMap.html +14 -37
- package/docs/types/MapviewFloorplanPluginParameterType.html +14 -37
- package/docs/types/MapviewFloorplanPluginReturnType.html +14 -37
- package/docs/types/MediaData.html +14 -37
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +14 -37
- package/docs/types/ModelFloorplanPluginParameterType.html +14 -37
- package/docs/types/ModelFloorplanPluginReturnType.html +14 -37
- package/docs/types/ModelRoomLabelPluginParameters.html +14 -37
- package/docs/types/ModelRoomLabelPluginReturnType.html +14 -37
- package/docs/types/MoveArgs.html +14 -37
- package/docs/types/MoveOpts.html +14 -37
- package/docs/types/Object3DHelperEventMap.html +14 -37
- package/docs/types/ObjectFit.html +14 -37
- package/docs/types/PaintBrushEventMap.html +14 -37
- package/docs/types/PanoCompassPluginData.html +14 -37
- package/docs/types/PanoCompassPluginExportType.html +14 -37
- package/docs/types/PanoCompassPluginParameterType.html +14 -37
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +14 -37
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +14 -37
- package/docs/types/PanoMeasurePluginEvent.html +14 -37
- package/docs/types/PanoMeasureReturnType.html +14 -37
- package/docs/types/PanoSpatialTagPluginId.html +14 -37
- package/docs/types/PanoTagPluginExportInterface.html +14 -37
- package/docs/types/PanoTagPluginParamsInterface.html +14 -37
- package/docs/types/PlaneTag.html +19 -40
- package/docs/types/PointTag.html +23 -40
- package/docs/types/Position.html +14 -37
- package/docs/types/RotateArgs.html +14 -37
- package/docs/types/RotateOpts.html +14 -37
- package/docs/types/RuleLabelsKey.html +14 -37
- package/docs/types/RuleLabelsValue.html +14 -37
- package/docs/types/Tag.html +22 -41
- package/docs/types/Tag2D.html +20 -42
- package/docs/types/Tag3D.html +20 -42
- package/docs/types/TagId.html +14 -37
- package/docs/types/TopviewFloorplanPluginParameterType.html +14 -37
- package/docs/types/TopviewFloorplanPluginReturnType.html +14 -37
- package/docs/variables/FLOOR_TYPE_MAP.html +14 -37
- package/docs/variables/PLUGIN.html +14 -37
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +14 -37
- package/docs/variables/ROOM_TYPE_MAP.html +14 -37
- package/docs/variables/VERSION.html +14 -37
- package/docs/variables/itemLabelPluginServerParams.html +14 -37
- package/docs/variables/modelItemLabelPluginServerParams.html +14 -37
- package/docs/variables/modelRoomLabelPluginServerParams.html +14 -37
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +2 -2
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
- package/libs/CSS3DRenderPlugin/utils/index.js +0 -12
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +3 -4
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +2 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +1 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
- package/libs/CruisePlugin/Controller.js +146 -143
- package/libs/CruisePlugin/typing.d.ts +4 -0
- package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
- package/libs/CruisePlugin/utils/linerValue.js +4 -4
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +36 -38
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +15 -25
- package/libs/PanoMeasurePlugin/Controller/EditController.js +9 -21
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +10 -23
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +14 -25
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +29 -44
- package/libs/PanoMeasurePlugin/Controller/index.js +21 -58
- package/libs/PanoMeasurePlugin/Model/index.js +40 -47
- package/libs/PanoMeasurePlugin/Model/line.js +11 -15
- package/libs/PanoMeasurePlugin/Model/point.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -8
- package/libs/PanoMeasurePlugin/index.js +2 -2
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/constants.js +16 -15
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +6 -7
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +0 -1
- package/libs/PanoMeasurePlugin/utils/math.js +1 -2
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
- package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +2 -3
- package/libs/PanoTagPlugin/Assets/Icon.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +132 -137
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +59 -95
- package/libs/PanoTagPlugin/Components/Common/Media.js +205 -231
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +80 -109
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +170 -0
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +50 -0
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +50 -0
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +166 -0
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
- package/libs/PanoTagPlugin/Components/Common/Text.js +130 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +131 -0
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +130 -122
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +96 -58
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -75
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +122 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +145 -182
- package/libs/PanoTagPlugin/Components/TagContainer.js +109 -144
- package/libs/PanoTagPlugin/Components/TagWrapper.js +152 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +14 -16
- package/libs/PanoTagPlugin/controller/TagComputer.js +150 -173
- package/libs/PanoTagPlugin/controller/index.d.ts +13 -16
- package/libs/PanoTagPlugin/controller/index.js +165 -238
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +21 -32
- package/libs/PanoTagPlugin/tag.config.js +16 -23
- package/libs/PanoTagPlugin/typings/controller.d.ts +11 -13
- package/libs/PanoTagPlugin/typings/index.d.ts +1 -5
- package/libs/PanoTagPlugin/typings/index.js +1 -7
- package/libs/PanoTagPlugin/typings/tag.d.ts +247 -0
- package/libs/PanoTagPlugin/typings/tag.js +7 -0
- package/libs/PanoTagPlugin/utils/constants.js +1 -2
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/index.js +0 -35
- package/libs/PanoTagPlugin/utils/search.js +9 -27
- package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -10
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/index.js +101 -112
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +20 -17
- package/libs/vendor/svelte/internal/index.js +341 -381
- package/package.json +3 -3
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -50
- package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +0 -1
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +0 -2
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
- package/docs/interfaces/EventMap.html +0 -298
- package/docs/interfaces/MinMax.html +0 -71
- package/docs/interfaces/State.html +0 -89
- package/docs/interfaces/TagCache.html +0 -92
- package/docs/interfaces/TagIconUrl.html +0 -91
- package/docs/interfaces/TemporaryState.html +0 -64
- package/docs/types/ContentTypeMap.html +0 -248
- package/docs/types/LoadTagConfig.html +0 -248
- package/docs/types/MediaStore.html +0 -248
- package/docs/types/PanoIndex.html +0 -248
- package/docs/types/PlaneTagElement.html +0 -253
- package/docs/types/Point2DElement.html +0 -253
- package/docs/types/Point2DTag.html +0 -255
- package/docs/types/Point3DElement.html +0 -253
- package/docs/types/Point3DTag.html +0 -255
- package/docs/types/PointTagElement.html +0 -253
- package/docs/types/StickType.html +0 -248
- package/docs/types/TagContentType.html +0 -248
- package/docs/types/TagDimensionType.html +0 -248
- package/docs/types/TagElement.html +0 -255
- package/docs/types/TagEvents.html +0 -283
- package/docs/types/TagHooks.html +0 -248
- package/docs/types/TagIconSize.html +0 -251
- package/docs/types/TagPointType.html +0 -251
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
- package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
- package/libs/PanoMeasurePlugin/typings/data.js +0 -1
- package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
- package/libs/PanoMeasurePlugin/typings/index.js +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +0 -175
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +0 -110
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +0 -81
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -145
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -147
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +0 -166
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +0 -213
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -215
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +0 -120
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -102
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -134
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -115
- package/libs/PanoTagPlugin/Components/TagItem.js +0 -187
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
- package/libs/PanoTagPlugin/mocks/v2/mock1.d.ts +0 -128
- package/libs/PanoTagPlugin/mocks/v2/mock1.js +0 -114
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
- package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -4
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +0 -1
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
- package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -50
- package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -5
- package/libs/PanoTagPlugin/utils/color.d.ts +0 -7
- package/libs/PanoTagPlugin/utils/color.js +0 -17
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
- package/libs/PanoTagPlugin/utils/getImageInfo.js +0 -51
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/px2rem.js +0 -6
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +0 -18
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +0 -26
- package/libs/PanoTagPlugin/utils/timeToString.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/timeToString.js +0 -7
|
@@ -1,191 +1,156 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "./Tag/TextTag/TextTag.js";
|
|
6
|
-
import "./Common/Line/Straight.js";
|
|
7
|
-
import "../../vendor/svelte/transition/index.js";
|
|
8
|
-
import "../../vendor/svelte/easing/index.js";
|
|
9
|
-
import "../../shared-utils/uuid.js";
|
|
10
|
-
import "./Common/Shadow.js";
|
|
11
|
-
import "./Common/Text/FlyMText.js";
|
|
12
|
-
import "./Common/Text/FlyText.js";
|
|
13
|
-
import "animejs";
|
|
14
|
-
import "../../shared-utils/isNil.js";
|
|
15
|
-
import "three";
|
|
16
|
-
import "../utils/search.js";
|
|
17
|
-
import "../utils/constants.js";
|
|
18
|
-
import "./Common/Arrow.js";
|
|
19
|
-
import "../Assets/Icon.js";
|
|
20
|
-
import "../utils/doUtil.js";
|
|
21
|
-
import "./Tag/TextTag/TextPlaneTag.js";
|
|
22
|
-
import "./Common/Text/MText.js";
|
|
23
|
-
import "../utils/px2rem.js";
|
|
24
|
-
import "./Tag/ImageTextTag.js";
|
|
25
|
-
import "./Common/Line/Polyline.js";
|
|
26
|
-
import "./Common/Media.js";
|
|
27
|
-
import "../../vendor/swiper/svelte/swiper.js";
|
|
28
|
-
import "swiper";
|
|
29
|
-
import "../../vendor/swiper/components-shared/get-params.js";
|
|
30
|
-
import "../../vendor/swiper/components-shared/utils.js";
|
|
31
|
-
import "../../vendor/swiper/components-shared/params-list.js";
|
|
32
|
-
import "../../vendor/swiper/components-shared/mount-swiper.js";
|
|
33
|
-
import "../../vendor/swiper/components-shared/get-changed-params.js";
|
|
34
|
-
import "../../vendor/swiper/components-shared/update-swiper.js";
|
|
35
|
-
import "../../vendor/swiper/svelte/swiper-slide.js";
|
|
36
|
-
import "swiper/css";
|
|
37
|
-
import "swiper/css/autoplay";
|
|
38
|
-
import "../utils/noTypecheck.js";
|
|
39
|
-
import "./Common/MediaItem.js";
|
|
40
|
-
import "./Tag/MarketingTag.js";
|
|
41
|
-
import "./Tag/AudioTag/index.js";
|
|
42
|
-
import "./Tag/AudioTag/AudioTag.js";
|
|
43
|
-
import "./Common/Audio.js";
|
|
44
|
-
import "./Common/Icon/audioIcon.js";
|
|
45
|
-
import "./Tag/AudioTag/AudioPlaneTag.js";
|
|
46
|
-
import "../utils/timeToString.js";
|
|
47
|
-
import "../utils/color.js";
|
|
48
|
-
import "./Tag/MediaPlane.js";
|
|
49
|
-
import "./Tag/LinkTag.js";
|
|
50
|
-
import "./Common/Icon/Icon.js";
|
|
51
|
-
import "../utils/getImageInfo.js";
|
|
52
|
-
import "./Tag/CustomTag.js";
|
|
53
|
-
import "./Common/TagPoint.js";
|
|
54
|
-
function D(l) {
|
|
55
|
-
A(l, "svelte-wqbk81", ".tag--container.svelte-wqbk81{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.withAnimation.svelte-wqbk81{transition:opacity 0.3s linear}.tag--container.hide.svelte-wqbk81{opacity:0;pointer-events:none}.tag--container.hide.svelte-wqbk81 *{pointer-events:none}");
|
|
1
|
+
import { SvelteComponent as P, init as z, safe_not_equal as C, append_styles as q, empty as M, insert as g, transition_in as m, transition_out as h, check_outros as S, detach as _, element as w, attr as A, toggle_class as c, group_outros as T, update_keyed_each as N, outro_and_destroy_block as W, assign as j, create_component as B, space as D, mount_component as E, append as F, get_spread_update as G, destroy_component as H } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { TagWrapper as I } from "./TagWrapper.js";
|
|
3
|
+
function J(s) {
|
|
4
|
+
q(s, "svelte-1eci49s", ".tag--container.svelte-1eci49s{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}");
|
|
56
5
|
}
|
|
57
|
-
function
|
|
58
|
-
const
|
|
59
|
-
return
|
|
6
|
+
function k(s, e, i) {
|
|
7
|
+
const n = s.slice();
|
|
8
|
+
return n[6] = e[i], n;
|
|
60
9
|
}
|
|
61
|
-
function
|
|
62
|
-
let
|
|
63
|
-
const
|
|
64
|
-
for (let
|
|
65
|
-
let
|
|
66
|
-
|
|
10
|
+
function v(s) {
|
|
11
|
+
let e, i = [], n = /* @__PURE__ */ new Map(), l, r = s[1];
|
|
12
|
+
const f = (a) => a[6].id;
|
|
13
|
+
for (let a = 0; a < r.length; a += 1) {
|
|
14
|
+
let t = k(s, r, a), o = f(t);
|
|
15
|
+
n.set(o, i[a] = y(o, t));
|
|
67
16
|
}
|
|
68
17
|
return {
|
|
69
18
|
c() {
|
|
70
|
-
|
|
71
|
-
for (let
|
|
72
|
-
|
|
73
|
-
|
|
19
|
+
e = w("div");
|
|
20
|
+
for (let a = 0; a < i.length; a += 1)
|
|
21
|
+
i[a].c();
|
|
22
|
+
A(e, "class", "tag--container svelte-1eci49s"), c(e, "hide", !s[3].visible || !s[5].visible), c(e, "withAnimation", s[0]);
|
|
74
23
|
},
|
|
75
|
-
m(
|
|
76
|
-
|
|
77
|
-
for (let
|
|
78
|
-
o
|
|
79
|
-
|
|
24
|
+
m(a, t) {
|
|
25
|
+
g(a, e, t);
|
|
26
|
+
for (let o = 0; o < i.length; o += 1)
|
|
27
|
+
i[o].m(e, null);
|
|
28
|
+
l = !0;
|
|
80
29
|
},
|
|
81
|
-
p(
|
|
82
|
-
|
|
30
|
+
p(a, t) {
|
|
31
|
+
t & 63 && (r = a[1], T(), i = N(i, t, f, 1, a, r, n, e, W, y, null, k), S()), (!l || t & 40) && c(e, "hide", !a[3].visible || !a[5].visible), (!l || t & 1) && c(e, "withAnimation", a[0]);
|
|
83
32
|
},
|
|
84
|
-
i(
|
|
85
|
-
if (!
|
|
86
|
-
for (let
|
|
87
|
-
|
|
88
|
-
|
|
33
|
+
i(a) {
|
|
34
|
+
if (!l) {
|
|
35
|
+
for (let t = 0; t < r.length; t += 1)
|
|
36
|
+
m(i[t]);
|
|
37
|
+
l = !0;
|
|
89
38
|
}
|
|
90
39
|
},
|
|
91
|
-
o(
|
|
92
|
-
for (let
|
|
93
|
-
|
|
94
|
-
|
|
40
|
+
o(a) {
|
|
41
|
+
for (let t = 0; t < i.length; t += 1)
|
|
42
|
+
h(i[t]);
|
|
43
|
+
l = !1;
|
|
95
44
|
},
|
|
96
|
-
d(
|
|
97
|
-
|
|
98
|
-
for (let
|
|
99
|
-
|
|
45
|
+
d(a) {
|
|
46
|
+
a && _(e);
|
|
47
|
+
for (let t = 0; t < i.length; t += 1)
|
|
48
|
+
i[t].d();
|
|
100
49
|
}
|
|
101
50
|
};
|
|
102
51
|
}
|
|
103
|
-
function
|
|
104
|
-
let
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
52
|
+
function y(s, e) {
|
|
53
|
+
let i, n, l, r;
|
|
54
|
+
const f = [
|
|
55
|
+
{
|
|
56
|
+
tag: e[6],
|
|
57
|
+
hooks: e[2],
|
|
58
|
+
state: e[3],
|
|
59
|
+
mediaStore: e[4],
|
|
60
|
+
temporaryState: e[5],
|
|
61
|
+
withAnimation: e[0]
|
|
112
62
|
}
|
|
113
|
-
|
|
114
|
-
|
|
63
|
+
];
|
|
64
|
+
let a = {};
|
|
65
|
+
for (let t = 0; t < f.length; t += 1)
|
|
66
|
+
a = j(a, f[t]);
|
|
67
|
+
return n = new I({ props: a }), {
|
|
68
|
+
key: s,
|
|
115
69
|
first: null,
|
|
116
70
|
c() {
|
|
117
|
-
|
|
71
|
+
var t, o, u;
|
|
72
|
+
i = w("div"), B(n.$$.fragment), l = D(), A(i, "class", "tag svelte-1eci49s"), c(i, "hide", !((t = e[6].pointTagStyle) != null && t.leftPercent) || !((o = e[6].pointTagStyle) != null && o.topPercent) || e[6].enabled === !1 || !e[6].state || ((u = e[6].temporaryState) == null ? void 0 : u.visible) === !1), this.first = i;
|
|
118
73
|
},
|
|
119
|
-
m(
|
|
120
|
-
|
|
74
|
+
m(t, o) {
|
|
75
|
+
g(t, i, o), E(n, i, null), F(i, l), r = !0;
|
|
121
76
|
},
|
|
122
|
-
p(
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
77
|
+
p(t, o) {
|
|
78
|
+
var d, p, b;
|
|
79
|
+
e = t;
|
|
80
|
+
const u = o & 63 ? G(f, [
|
|
81
|
+
{
|
|
82
|
+
tag: e[6],
|
|
83
|
+
hooks: e[2],
|
|
84
|
+
state: e[3],
|
|
85
|
+
mediaStore: e[4],
|
|
86
|
+
temporaryState: e[5],
|
|
87
|
+
withAnimation: e[0]
|
|
88
|
+
}
|
|
89
|
+
]) : {};
|
|
90
|
+
n.$set(u), (!r || o & 2) && c(i, "hide", !((d = e[6].pointTagStyle) != null && d.leftPercent) || !((p = e[6].pointTagStyle) != null && p.topPercent) || e[6].enabled === !1 || !e[6].state || ((b = e[6].temporaryState) == null ? void 0 : b.visible) === !1);
|
|
126
91
|
},
|
|
127
|
-
i(
|
|
128
|
-
|
|
92
|
+
i(t) {
|
|
93
|
+
r || (m(n.$$.fragment, t), r = !0);
|
|
129
94
|
},
|
|
130
|
-
o(
|
|
131
|
-
|
|
95
|
+
o(t) {
|
|
96
|
+
h(n.$$.fragment, t), r = !1;
|
|
132
97
|
},
|
|
133
|
-
d(
|
|
134
|
-
|
|
98
|
+
d(t) {
|
|
99
|
+
t && _(i), H(n);
|
|
135
100
|
}
|
|
136
101
|
};
|
|
137
102
|
}
|
|
138
|
-
function
|
|
139
|
-
let
|
|
103
|
+
function K(s) {
|
|
104
|
+
let e, i, n = s[3].enabled && v(s);
|
|
140
105
|
return {
|
|
141
106
|
c() {
|
|
142
|
-
|
|
107
|
+
n && n.c(), e = M();
|
|
143
108
|
},
|
|
144
|
-
m(
|
|
145
|
-
|
|
109
|
+
m(l, r) {
|
|
110
|
+
n && n.m(l, r), g(l, e, r), i = !0;
|
|
146
111
|
},
|
|
147
|
-
p(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}),
|
|
112
|
+
p(l, [r]) {
|
|
113
|
+
l[3].enabled ? n ? (n.p(l, r), r & 8 && m(n, 1)) : (n = v(l), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (T(), h(n, 1, 1, () => {
|
|
114
|
+
n = null;
|
|
115
|
+
}), S());
|
|
151
116
|
},
|
|
152
|
-
i(
|
|
153
|
-
|
|
117
|
+
i(l) {
|
|
118
|
+
i || (m(n), i = !0);
|
|
154
119
|
},
|
|
155
|
-
o(
|
|
156
|
-
|
|
120
|
+
o(l) {
|
|
121
|
+
h(n), i = !1;
|
|
157
122
|
},
|
|
158
|
-
d(
|
|
159
|
-
|
|
123
|
+
d(l) {
|
|
124
|
+
n && n.d(l), l && _(e);
|
|
160
125
|
}
|
|
161
126
|
};
|
|
162
127
|
}
|
|
163
|
-
function
|
|
164
|
-
let { withAnimation:
|
|
165
|
-
return
|
|
166
|
-
"withAnimation" in
|
|
167
|
-
}, [
|
|
128
|
+
function L(s, e, i) {
|
|
129
|
+
let { withAnimation: n = !1 } = e, { tags: l = [] } = e, { hooks: r } = e, { state: f } = e, { mediaStore: a } = e, { temporaryState: t } = e;
|
|
130
|
+
return s.$$set = (o) => {
|
|
131
|
+
"withAnimation" in o && i(0, n = o.withAnimation), "tags" in o && i(1, l = o.tags), "hooks" in o && i(2, r = o.hooks), "state" in o && i(3, f = o.state), "mediaStore" in o && i(4, a = o.mediaStore), "temporaryState" in o && i(5, t = o.temporaryState);
|
|
132
|
+
}, [n, l, r, f, a, t];
|
|
168
133
|
}
|
|
169
|
-
class
|
|
170
|
-
constructor(
|
|
171
|
-
super(),
|
|
134
|
+
class R extends P {
|
|
135
|
+
constructor(e) {
|
|
136
|
+
super(), z(
|
|
172
137
|
this,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
138
|
+
e,
|
|
139
|
+
L,
|
|
140
|
+
K,
|
|
141
|
+
C,
|
|
177
142
|
{
|
|
178
143
|
withAnimation: 0,
|
|
179
144
|
tags: 1,
|
|
180
|
-
hooks:
|
|
181
|
-
mediaStore: 2,
|
|
145
|
+
hooks: 2,
|
|
182
146
|
state: 3,
|
|
183
|
-
|
|
147
|
+
mediaStore: 4,
|
|
148
|
+
temporaryState: 5
|
|
184
149
|
},
|
|
185
|
-
|
|
150
|
+
J
|
|
186
151
|
);
|
|
187
152
|
}
|
|
188
153
|
}
|
|
189
154
|
export {
|
|
190
|
-
|
|
155
|
+
R as TagContainer
|
|
191
156
|
};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as p, group_outros as z, transition_out as h, check_outros as A, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import "three";
|
|
3
|
+
import { noTypecheck as C } from "../utils/noTypecheck.js";
|
|
4
|
+
import { DimensionType as q, PointType as D, ContentType as X } from "../typings/tag.js";
|
|
5
|
+
import { Tag as Y } from "./Tag/index.js";
|
|
6
|
+
import { PointSwitch as Z } from "./Common/Point/PointSwitch.js";
|
|
7
|
+
function x(t) {
|
|
8
|
+
O(t, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
|
|
9
|
+
}
|
|
10
|
+
function I(t) {
|
|
11
|
+
let e, o;
|
|
12
|
+
return e = new Y({
|
|
13
|
+
props: {
|
|
14
|
+
mediaStore: t[4],
|
|
15
|
+
withAnimation: t[0],
|
|
16
|
+
tag: C(t[1]),
|
|
17
|
+
hooks: t[2],
|
|
18
|
+
state: t[3],
|
|
19
|
+
temporaryState: t[5]
|
|
20
|
+
}
|
|
21
|
+
}), {
|
|
22
|
+
c() {
|
|
23
|
+
E(e.$$.fragment);
|
|
24
|
+
},
|
|
25
|
+
m(a, l) {
|
|
26
|
+
F(e, a, l), o = !0;
|
|
27
|
+
},
|
|
28
|
+
p(a, l) {
|
|
29
|
+
const i = {};
|
|
30
|
+
l & 16 && (i.mediaStore = a[4]), l & 1 && (i.withAnimation = a[0]), l & 2 && (i.tag = C(a[1])), l & 4 && (i.hooks = a[2]), l & 8 && (i.state = a[3]), l & 32 && (i.temporaryState = a[5]), e.$set(i);
|
|
31
|
+
},
|
|
32
|
+
i(a) {
|
|
33
|
+
o || (p(e.$$.fragment, a), o = !0);
|
|
34
|
+
},
|
|
35
|
+
o(a) {
|
|
36
|
+
h(e.$$.fragment, a), o = !1;
|
|
37
|
+
},
|
|
38
|
+
d(a) {
|
|
39
|
+
G(e, a);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function L(t) {
|
|
44
|
+
let e, o, a, l, i;
|
|
45
|
+
return o = new Z({ props: { tag: t[1] } }), {
|
|
46
|
+
c() {
|
|
47
|
+
e = W("div"), E(o.$$.fragment), T(e, "class", "point svelte-1vzhbu2");
|
|
48
|
+
},
|
|
49
|
+
m(n, m) {
|
|
50
|
+
j(n, e, m), F(o, e, null), a = !0, l || (i = U(e, "click", V(t[11])), l = !0);
|
|
51
|
+
},
|
|
52
|
+
p(n, m) {
|
|
53
|
+
const u = {};
|
|
54
|
+
m & 2 && (u.tag = n[1]), o.$set(u);
|
|
55
|
+
},
|
|
56
|
+
i(n) {
|
|
57
|
+
a || (p(o.$$.fragment, n), a = !0);
|
|
58
|
+
},
|
|
59
|
+
o(n) {
|
|
60
|
+
h(o.$$.fragment, n), a = !1;
|
|
61
|
+
},
|
|
62
|
+
d(n) {
|
|
63
|
+
n && B(e), G(o), l = !1, i();
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function $(t) {
|
|
68
|
+
var m, u;
|
|
69
|
+
let e, o, a, l, i = t[1].dimensionType === q.Two && I(t), n = t[1].pointType === D.PointTag && ((u = (m = t[1].style) == null ? void 0 : m.point) == null ? void 0 : u.style) !== "noPoint" && L(t);
|
|
70
|
+
return {
|
|
71
|
+
c() {
|
|
72
|
+
e = W("div"), i && i.c(), o = Q(), n && n.c(), T(e, "class", "wrapper svelte-1vzhbu2"), T(e, "data-id", a = t[1].id), _(e, "hide", t[10]), _(e, "unfolded", t[6]), d(e, "left", t[9]), d(e, "top", t[8]), d(e, "z-index", t[7]);
|
|
73
|
+
},
|
|
74
|
+
m(r, f) {
|
|
75
|
+
j(r, e, f), i && i.m(e, null), R(e, o), n && n.m(e, null), l = !0;
|
|
76
|
+
},
|
|
77
|
+
p(r, [f]) {
|
|
78
|
+
var g, c;
|
|
79
|
+
r[1].dimensionType === q.Two ? i ? (i.p(r, f), f & 2 && p(i, 1)) : (i = I(r), i.c(), p(i, 1), i.m(e, o)) : i && (z(), h(i, 1, 1, () => {
|
|
80
|
+
i = null;
|
|
81
|
+
}), A()), r[1].pointType === D.PointTag && ((c = (g = r[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? n ? (n.p(r, f), f & 2 && p(n, 1)) : (n = L(r), n.c(), p(n, 1), n.m(e, null)) : n && (z(), h(n, 1, 1, () => {
|
|
82
|
+
n = null;
|
|
83
|
+
}), A()), (!l || f & 2 && a !== (a = r[1].id)) && T(e, "data-id", a), (!l || f & 1024) && _(e, "hide", r[10]), (!l || f & 64) && _(e, "unfolded", r[6]), f & 512 && d(e, "left", r[9]), f & 256 && d(e, "top", r[8]), f & 128 && d(e, "z-index", r[7]);
|
|
84
|
+
},
|
|
85
|
+
i(r) {
|
|
86
|
+
l || (p(i), p(n), l = !0);
|
|
87
|
+
},
|
|
88
|
+
o(r) {
|
|
89
|
+
h(i), h(n), l = !1;
|
|
90
|
+
},
|
|
91
|
+
d(r) {
|
|
92
|
+
r && B(e), i && i.d(), n && n.d();
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function ee(t, e, o) {
|
|
97
|
+
let a, l, i, n, m, u, { withAnimation: r = !1 } = e, { tag: f } = e, { hooks: g } = e, { state: c } = e, { mediaStore: y } = e, { temporaryState: S } = e, k, w = !1;
|
|
98
|
+
function H(s) {
|
|
99
|
+
k !== void 0 && clearTimeout(k), w = !0, k = setTimeout(
|
|
100
|
+
() => {
|
|
101
|
+
w = !1;
|
|
102
|
+
},
|
|
103
|
+
800
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
const J = (s) => {
|
|
107
|
+
w || g.emit("click", { event: s, target: "TagPoint", tag: f });
|
|
108
|
+
};
|
|
109
|
+
return t.$$set = (s) => {
|
|
110
|
+
"withAnimation" in s && o(0, r = s.withAnimation), "tag" in s && o(1, f = s.tag), "hooks" in s && o(2, g = s.hooks), "state" in s && o(3, c = s.state), "mediaStore" in s && o(4, y = s.mediaStore), "temporaryState" in s && o(5, S = s.temporaryState);
|
|
111
|
+
}, t.$$.update = () => {
|
|
112
|
+
var s, b, v, P;
|
|
113
|
+
t.$$.dirty & 2 && o(12, a = (s = f.state) == null ? void 0 : s.visible), t.$$.dirty & 4096 && o(10, l = !a), t.$$.dirty & 2 && o(6, i = (b = f.state) == null ? void 0 : b.unfolded), t.$$.dirty & 2 && o(9, n = ((v = f.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), t.$$.dirty & 2 && o(8, m = ((P = f.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), t.$$.dirty & 2 && o(7, u = f.contentType === X.Link ? 1 : 0), t.$$.dirty & 64 && H();
|
|
114
|
+
}, [
|
|
115
|
+
r,
|
|
116
|
+
f,
|
|
117
|
+
g,
|
|
118
|
+
c,
|
|
119
|
+
y,
|
|
120
|
+
S,
|
|
121
|
+
i,
|
|
122
|
+
u,
|
|
123
|
+
m,
|
|
124
|
+
n,
|
|
125
|
+
l,
|
|
126
|
+
J,
|
|
127
|
+
a
|
|
128
|
+
];
|
|
129
|
+
}
|
|
130
|
+
class re extends K {
|
|
131
|
+
constructor(e) {
|
|
132
|
+
super(), M(
|
|
133
|
+
this,
|
|
134
|
+
e,
|
|
135
|
+
ee,
|
|
136
|
+
$,
|
|
137
|
+
N,
|
|
138
|
+
{
|
|
139
|
+
withAnimation: 0,
|
|
140
|
+
tag: 1,
|
|
141
|
+
hooks: 2,
|
|
142
|
+
state: 3,
|
|
143
|
+
mediaStore: 4,
|
|
144
|
+
temporaryState: 5
|
|
145
|
+
},
|
|
146
|
+
x
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
export {
|
|
151
|
+
re as TagWrapper
|
|
152
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import type { ValueOf } from 'type-fest';
|
|
3
|
-
import type { TagId
|
|
3
|
+
import type { TagId } from '../typings/tag';
|
|
4
|
+
import type { TagCache, State, EventMap } from '../typings';
|
|
4
5
|
import * as BasePlugin from '../../base/BasePlugin';
|
|
5
6
|
export declare abstract class TagCacheController extends BasePlugin.Controller<State, EventMap> {
|
|
6
7
|
private tagCacheByPanoIndex;
|
|
@@ -2,8 +2,7 @@ var x = Object.defineProperty;
|
|
|
2
2
|
var u = (n, t, e) => t in n ? x(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
3
|
var f = (n, t, e) => (u(n, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
4
|
import { Controller as I } from "../../base/BasePlugin.js";
|
|
5
|
-
|
|
6
|
-
class w extends I {
|
|
5
|
+
class p extends I {
|
|
7
6
|
constructor(e) {
|
|
8
7
|
super(e);
|
|
9
8
|
f(this, "tagCacheByPanoIndex", {});
|
|
@@ -28,5 +27,5 @@ class w extends I {
|
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
export {
|
|
31
|
-
|
|
30
|
+
p as TagCacheController
|
|
32
31
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
-
import
|
|
2
|
+
import { Tag, Tags, TagConfig, PointType, DimensionType, ContentTypeConfigKey, PlaneTag, TagElement, Tag2DElement, Tag3DElement, PlaneTagElement, PointTagElement, Tag3D, TagId } from '../typings';
|
|
3
3
|
import { TagCacheController } from './TagCacheController';
|
|
4
4
|
export declare abstract class TagComputer extends TagCacheController {
|
|
5
5
|
tags: TagElement[];
|
|
@@ -7,10 +7,9 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
7
7
|
globalConfig?: Tags['globalConfig'];
|
|
8
8
|
contentTypeConfig?: Tags['contentTypeConfig'];
|
|
9
9
|
};
|
|
10
|
-
protected get isPanorama(): boolean;
|
|
11
10
|
private raycaster;
|
|
12
11
|
protected constructor(five: Five);
|
|
13
|
-
getTagById(id: TagId): TagElement<
|
|
12
|
+
getTagById(id: TagId): TagElement<import("../typings").ContentType, PointType, DimensionType, {}>;
|
|
14
13
|
/**
|
|
15
14
|
* @description: 改变配置
|
|
16
15
|
*/
|
|
@@ -26,29 +25,28 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
26
25
|
/**
|
|
27
26
|
* @description: 获取是否可见
|
|
28
27
|
*/
|
|
29
|
-
getVisibleByPanoIndex(tag: Tag
|
|
28
|
+
getVisibleByPanoIndex(tag: Tag, panoIndex?: number): boolean;
|
|
30
29
|
/**
|
|
31
30
|
* @description: 获取是否展开
|
|
32
31
|
*/
|
|
33
|
-
getUnfoldedByPanoIndex(tag: Tag
|
|
32
|
+
getUnfoldedByPanoIndex(tag: Tag, panoIndex?: number): boolean;
|
|
34
33
|
/**
|
|
35
34
|
* @description: 获取是否展开
|
|
36
35
|
*/
|
|
37
|
-
getUnfoldedByCamera(tag: Tag
|
|
36
|
+
getUnfoldedByCamera(tag: Tag): boolean;
|
|
38
37
|
/**
|
|
39
38
|
* @description: 获取距离
|
|
40
39
|
*/
|
|
41
|
-
getDistance(tag: Tag
|
|
40
|
+
getDistance(tag: Tag, panoIndex?: number): number;
|
|
42
41
|
/**
|
|
43
42
|
* @description: 获取角度
|
|
44
43
|
*/
|
|
45
|
-
getAngle(tag:
|
|
44
|
+
getAngle(tag: Tag3D | PlaneTag, panoIndex?: number): number;
|
|
46
45
|
/**
|
|
47
46
|
* @description: 获取merge后的配置
|
|
48
47
|
*/
|
|
49
|
-
getTagConfig(tag: Tag
|
|
50
|
-
protected
|
|
51
|
-
protected sort<T extends Tag<any, any>>(tags: T[]): T[];
|
|
48
|
+
getTagConfig(tag: Tag): TagConfig<import("../typings").ContentType, PointType, DimensionType, {}>;
|
|
49
|
+
protected canBe(action: 'show' | 'hide' | 'fold' | 'unfold', tag: Tag): boolean;
|
|
52
50
|
/**
|
|
53
51
|
* @description: 一个点的标签
|
|
54
52
|
*/
|
|
@@ -58,14 +56,14 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
58
56
|
/**
|
|
59
57
|
* @description: 一个点的标签
|
|
60
58
|
*/
|
|
61
|
-
protected getTagProject(tag: Tag
|
|
59
|
+
protected getTagProject(tag: Tag): {
|
|
62
60
|
x: number;
|
|
63
61
|
y: number;
|
|
64
62
|
z: number;
|
|
65
63
|
};
|
|
66
|
-
protected filterPointTag(): PointTagElement
|
|
67
|
-
protected
|
|
68
|
-
protected filter3DPointTag():
|
|
69
|
-
protected filter3DTag(): TagElement<any,
|
|
64
|
+
protected filterPointTag(): PointTagElement[];
|
|
65
|
+
protected filterTag2D(): Tag2DElement[];
|
|
66
|
+
protected filter3DPointTag(): Tag3DElement[];
|
|
67
|
+
protected filter3DTag(): TagElement<any, PointType, DimensionType.Three>[];
|
|
70
68
|
protected filterPlaneTag(): PlaneTagElement[];
|
|
71
69
|
}
|