@realsee/dnalogel 2.3.5-dev.4 → 2.3.5-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +3 -6
- package/dist/index.umd.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- 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 +41 -41
- 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 +16 -16
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +5 -4
- 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 +6 -5
- package/docs/index.html +5 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- 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/MinMax.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 +6 -5
- 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 +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
- 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 +6 -5
- package/docs/interfaces/Rooms.html +6 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +10 -10
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- 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 +6 -4
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +248 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/PlaneTagElement.html +6 -5
- package/docs/types/Point2DElement.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DElement.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagElement.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +6 -5
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagIconSize.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TagPointType.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/VERSION.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- 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 +12 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -1
- package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
- 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 +1 -1
- package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
- 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/GuideLinePlugin/utils/getPoint.d.ts +3 -0
- package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
- package/libs/Object3DHelperPlugin/Controller.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +25 -15
- package/libs/PanoMeasurePlugin/Controller/EditController.js +21 -9
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +23 -10
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +25 -14
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +44 -29
- package/libs/PanoMeasurePlugin/Controller/index.js +58 -21
- package/libs/PanoMeasurePlugin/Model/index.js +47 -40
- package/libs/PanoMeasurePlugin/Model/line.js +15 -11
- 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 +24 -16
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
- package/libs/PanoMeasurePlugin/index.js +2 -2
- package/libs/PanoMeasurePlugin/typings/data.js +1 -0
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -0
- package/libs/PanoMeasurePlugin/typings/index.js +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
- package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +1 -0
- package/libs/PanoMeasurePlugin/utils/math.js +2 -1
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +24 -24
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +20 -18
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +31 -29
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +19 -19
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +25 -24
- package/libs/PanoTagPlugin/Components/Common/Media.js +47 -39
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +10 -9
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +37 -27
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +25 -25
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +26 -26
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +22 -18
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +83 -61
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +103 -81
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +17 -13
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -3
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +74 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +27 -23
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +51 -39
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +69 -52
- package/libs/PanoTagPlugin/Components/Tag/index.js +119 -79
- package/libs/PanoTagPlugin/Components/TagContainer.js +132 -81
- package/libs/PanoTagPlugin/Components/TagItem.js +110 -63
- package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
- package/libs/PanoTagPlugin/controller/TagComputer.js +9 -6
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -2
- package/libs/PanoTagPlugin/controller/index.js +131 -61
- package/libs/PanoTagPlugin/index.js +2 -2
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
- package/libs/PanoTagPlugin/mocks/v2/mock1.d.ts +128 -0
- package/libs/PanoTagPlugin/mocks/v2/mock1.js +114 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/index.js +7 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -1
- package/libs/PanoTagPlugin/utils/constants.js +2 -1
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/getImageInfo.js +16 -15
- package/libs/PanoTagPlugin/utils/index.js +35 -0
- package/libs/PanoTagPlugin/utils/px2rem.js +3 -3
- package/libs/PanoTagPlugin/utils/search.js +27 -9
- package/libs/PanoTagPlugin/utils/tag/format.js +1 -1
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +22 -6
- package/libs/PanoTagPlugin/utils/timeToString.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/index.js +7 -7
- package/package.json +1 -1
|
@@ -1,128 +1,179 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as S, init as v, safe_not_equal as y, append_styles as A, empty as b, insert as u, transition_in as f, transition_out as c, check_outros as d, detach as h, setContext as q, element as C, attr as z, toggle_class as p, group_outros as w, update_keyed_each as T, outro_and_destroy_block as I, create_component as M, mount_component as N, destroy_component as j } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import B from "./TagItem.js";
|
|
3
|
+
import "./Tag/index.js";
|
|
4
|
+
import "./Tag/TextTag/index.js";
|
|
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}");
|
|
5
56
|
}
|
|
6
|
-
function
|
|
7
|
-
const
|
|
8
|
-
return
|
|
57
|
+
function _(l, t, o) {
|
|
58
|
+
const e = l.slice();
|
|
59
|
+
return e[6] = t[o], e;
|
|
9
60
|
}
|
|
10
|
-
function
|
|
11
|
-
let
|
|
12
|
-
const
|
|
13
|
-
for (let i = 0; i <
|
|
14
|
-
let
|
|
15
|
-
|
|
61
|
+
function g(l) {
|
|
62
|
+
let t, o = [], e = /* @__PURE__ */ new Map(), n, r = l[1];
|
|
63
|
+
const s = (i) => i[6].id;
|
|
64
|
+
for (let i = 0; i < r.length; i += 1) {
|
|
65
|
+
let m = _(l, r, i), a = s(m);
|
|
66
|
+
e.set(a, o[i] = k(a, m));
|
|
16
67
|
}
|
|
17
68
|
return {
|
|
18
69
|
c() {
|
|
19
|
-
|
|
20
|
-
for (let i = 0; i <
|
|
21
|
-
|
|
22
|
-
z(
|
|
70
|
+
t = C("div");
|
|
71
|
+
for (let i = 0; i < o.length; i += 1)
|
|
72
|
+
o[i].c();
|
|
73
|
+
z(t, "class", "tag--container svelte-wqbk81"), p(t, "hide", !l[3].visible || !l[4].visible), p(t, "withAnimation", l[0]);
|
|
23
74
|
},
|
|
24
|
-
m(i,
|
|
25
|
-
|
|
26
|
-
for (let
|
|
27
|
-
|
|
28
|
-
|
|
75
|
+
m(i, m) {
|
|
76
|
+
u(i, t, m);
|
|
77
|
+
for (let a = 0; a < o.length; a += 1)
|
|
78
|
+
o[a].m(t, null);
|
|
79
|
+
n = !0;
|
|
29
80
|
},
|
|
30
|
-
p(i,
|
|
31
|
-
|
|
81
|
+
p(i, m) {
|
|
82
|
+
m & 31 && (r = i[1], w(), o = T(o, m, s, 1, i, r, e, t, I, k, null, _), d()), (!n || m & 24) && p(t, "hide", !i[3].visible || !i[4].visible), (!n || m & 1) && p(t, "withAnimation", i[0]);
|
|
32
83
|
},
|
|
33
84
|
i(i) {
|
|
34
|
-
if (!
|
|
35
|
-
for (let
|
|
36
|
-
|
|
37
|
-
|
|
85
|
+
if (!n) {
|
|
86
|
+
for (let m = 0; m < r.length; m += 1)
|
|
87
|
+
f(o[m]);
|
|
88
|
+
n = !0;
|
|
38
89
|
}
|
|
39
90
|
},
|
|
40
91
|
o(i) {
|
|
41
|
-
for (let
|
|
42
|
-
|
|
43
|
-
|
|
92
|
+
for (let m = 0; m < o.length; m += 1)
|
|
93
|
+
c(o[m]);
|
|
94
|
+
n = !1;
|
|
44
95
|
},
|
|
45
96
|
d(i) {
|
|
46
|
-
i &&
|
|
47
|
-
for (let
|
|
48
|
-
|
|
97
|
+
i && h(t);
|
|
98
|
+
for (let m = 0; m < o.length; m += 1)
|
|
99
|
+
o[m].d();
|
|
49
100
|
}
|
|
50
101
|
};
|
|
51
102
|
}
|
|
52
|
-
function
|
|
53
|
-
let
|
|
54
|
-
return
|
|
103
|
+
function k(l, t) {
|
|
104
|
+
let o, e, n;
|
|
105
|
+
return e = new B({
|
|
55
106
|
props: {
|
|
56
|
-
state:
|
|
57
|
-
temporaryState:
|
|
58
|
-
withAnimation:
|
|
59
|
-
tag:
|
|
60
|
-
mediaStore:
|
|
107
|
+
state: t[3],
|
|
108
|
+
temporaryState: t[4],
|
|
109
|
+
withAnimation: t[0],
|
|
110
|
+
tag: t[6],
|
|
111
|
+
mediaStore: t[2]
|
|
61
112
|
}
|
|
62
113
|
}), {
|
|
63
|
-
key:
|
|
114
|
+
key: l,
|
|
64
115
|
first: null,
|
|
65
116
|
c() {
|
|
66
|
-
|
|
117
|
+
o = b(), M(e.$$.fragment), this.first = o;
|
|
67
118
|
},
|
|
68
|
-
m(
|
|
69
|
-
|
|
119
|
+
m(r, s) {
|
|
120
|
+
u(r, o, s), N(e, r, s), n = !0;
|
|
70
121
|
},
|
|
71
|
-
p(
|
|
72
|
-
|
|
122
|
+
p(r, s) {
|
|
123
|
+
t = r;
|
|
73
124
|
const i = {};
|
|
74
|
-
|
|
125
|
+
s & 8 && (i.state = t[3]), s & 16 && (i.temporaryState = t[4]), s & 1 && (i.withAnimation = t[0]), s & 2 && (i.tag = t[6]), s & 4 && (i.mediaStore = t[2]), e.$set(i);
|
|
75
126
|
},
|
|
76
|
-
i(
|
|
77
|
-
|
|
127
|
+
i(r) {
|
|
128
|
+
n || (f(e.$$.fragment, r), n = !0);
|
|
78
129
|
},
|
|
79
|
-
o(
|
|
80
|
-
|
|
130
|
+
o(r) {
|
|
131
|
+
c(e.$$.fragment, r), n = !1;
|
|
81
132
|
},
|
|
82
|
-
d(
|
|
83
|
-
|
|
133
|
+
d(r) {
|
|
134
|
+
r && h(o), j(e, r);
|
|
84
135
|
}
|
|
85
136
|
};
|
|
86
137
|
}
|
|
87
|
-
function E(
|
|
88
|
-
let
|
|
138
|
+
function E(l) {
|
|
139
|
+
let t, o, e = l[3].enabled && g(l);
|
|
89
140
|
return {
|
|
90
141
|
c() {
|
|
91
|
-
|
|
142
|
+
e && e.c(), t = b();
|
|
92
143
|
},
|
|
93
|
-
m(
|
|
94
|
-
|
|
144
|
+
m(n, r) {
|
|
145
|
+
e && e.m(n, r), u(n, t, r), o = !0;
|
|
95
146
|
},
|
|
96
|
-
p(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}),
|
|
147
|
+
p(n, [r]) {
|
|
148
|
+
n[3].enabled ? e ? (e.p(n, r), r & 8 && f(e, 1)) : (e = g(n), e.c(), f(e, 1), e.m(t.parentNode, t)) : e && (w(), c(e, 1, 1, () => {
|
|
149
|
+
e = null;
|
|
150
|
+
}), d());
|
|
100
151
|
},
|
|
101
|
-
i(
|
|
102
|
-
|
|
152
|
+
i(n) {
|
|
153
|
+
o || (f(e), o = !0);
|
|
103
154
|
},
|
|
104
|
-
o(
|
|
105
|
-
|
|
155
|
+
o(n) {
|
|
156
|
+
c(e), o = !1;
|
|
106
157
|
},
|
|
107
|
-
d(
|
|
108
|
-
|
|
158
|
+
d(n) {
|
|
159
|
+
e && e.d(n), n && h(t);
|
|
109
160
|
}
|
|
110
161
|
};
|
|
111
162
|
}
|
|
112
|
-
function F(
|
|
113
|
-
let { withAnimation:
|
|
114
|
-
return
|
|
115
|
-
"withAnimation" in
|
|
116
|
-
}, [
|
|
163
|
+
function F(l, t, o) {
|
|
164
|
+
let { withAnimation: e = !1 } = t, { tags: n = [] } = t, { hooks: r } = t, { mediaStore: s } = t, { state: i } = t, { temporaryState: m } = t;
|
|
165
|
+
return q("hooks", r), l.$$set = (a) => {
|
|
166
|
+
"withAnimation" in a && o(0, e = a.withAnimation), "tags" in a && o(1, n = a.tags), "hooks" in a && o(5, r = a.hooks), "mediaStore" in a && o(2, s = a.mediaStore), "state" in a && o(3, i = a.state), "temporaryState" in a && o(4, m = a.temporaryState);
|
|
167
|
+
}, [e, n, s, i, m, r];
|
|
117
168
|
}
|
|
118
|
-
class
|
|
119
|
-
constructor(
|
|
120
|
-
super(),
|
|
169
|
+
class Ft extends S {
|
|
170
|
+
constructor(t) {
|
|
171
|
+
super(), v(
|
|
121
172
|
this,
|
|
122
|
-
|
|
173
|
+
t,
|
|
123
174
|
F,
|
|
124
175
|
E,
|
|
125
|
-
|
|
176
|
+
y,
|
|
126
177
|
{
|
|
127
178
|
withAnimation: 0,
|
|
128
179
|
tags: 1,
|
|
@@ -136,5 +187,5 @@ class J extends v {
|
|
|
136
187
|
}
|
|
137
188
|
}
|
|
138
189
|
export {
|
|
139
|
-
|
|
190
|
+
Ft as default
|
|
140
191
|
};
|
|
@@ -1,14 +1,61 @@
|
|
|
1
|
-
import { SvelteComponent as M, init as N, safe_not_equal as O, append_styles as Q, element as q, space as R, attr as
|
|
2
|
-
import
|
|
1
|
+
import { SvelteComponent as M, init as N, safe_not_equal as O, append_styles as Q, element as q, space as R, attr as s, set_style as d, toggle_class as g, insert as U, append as D, transition_in as u, transition_out as c, check_outros as L, detach as V, getContext as W, create_component as G, mount_component as H, destroy_component as J, group_outros as j } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import X from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import { noTypecheck as B } from "../utils/noTypecheck.js";
|
|
5
|
-
import
|
|
5
|
+
import Y from "./Common/TagPoint.js";
|
|
6
|
+
import "./Tag/TextTag/index.js";
|
|
7
|
+
import "./Tag/TextTag/TextTag.js";
|
|
8
|
+
import "./Common/Line/Straight.js";
|
|
9
|
+
import "../../vendor/svelte/transition/index.js";
|
|
10
|
+
import "../../vendor/svelte/easing/index.js";
|
|
11
|
+
import "../../shared-utils/uuid.js";
|
|
12
|
+
import "./Common/Shadow.js";
|
|
13
|
+
import "./Common/Text/FlyMText.js";
|
|
14
|
+
import "./Common/Text/FlyText.js";
|
|
15
|
+
import "animejs";
|
|
16
|
+
import "../../shared-utils/isNil.js";
|
|
17
|
+
import "../utils/search.js";
|
|
18
|
+
import "../utils/constants.js";
|
|
19
|
+
import "./Common/Arrow.js";
|
|
20
|
+
import "../Assets/Icon.js";
|
|
21
|
+
import "../utils/doUtil.js";
|
|
22
|
+
import "./Tag/TextTag/TextPlaneTag.js";
|
|
23
|
+
import "./Common/Text/MText.js";
|
|
24
|
+
import "../utils/px2rem.js";
|
|
25
|
+
import "./Tag/ImageTextTag.js";
|
|
26
|
+
import "./Common/Line/Polyline.js";
|
|
27
|
+
import "./Common/Media.js";
|
|
28
|
+
import "../../vendor/swiper/svelte/swiper.js";
|
|
29
|
+
import "swiper";
|
|
30
|
+
import "../../vendor/swiper/components-shared/get-params.js";
|
|
31
|
+
import "../../vendor/swiper/components-shared/utils.js";
|
|
32
|
+
import "../../vendor/swiper/components-shared/params-list.js";
|
|
33
|
+
import "../../vendor/swiper/components-shared/mount-swiper.js";
|
|
34
|
+
import "../../vendor/swiper/components-shared/get-changed-params.js";
|
|
35
|
+
import "../../vendor/swiper/components-shared/update-swiper.js";
|
|
36
|
+
import "../../vendor/swiper/svelte/swiper-slide.js";
|
|
37
|
+
import "swiper/css";
|
|
38
|
+
import "swiper/css/autoplay";
|
|
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";
|
|
6
53
|
function Z(i) {
|
|
7
54
|
Q(i, "svelte-bdubcv", ".tag.hide.svelte-bdubcv{opacity:0;pointer-events:none}.tag.disable.svelte-bdubcv{display:none}.tag.withAnimation.svelte-bdubcv{transition:opacity 0.3s linear}.wrapper.svelte-bdubcv{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
|
|
8
55
|
}
|
|
9
56
|
function E(i) {
|
|
10
|
-
let
|
|
11
|
-
return
|
|
57
|
+
let e, t;
|
|
58
|
+
return e = new X({
|
|
12
59
|
props: {
|
|
13
60
|
mediaStore: i[2],
|
|
14
61
|
withAnimation: i[0],
|
|
@@ -19,108 +66,108 @@ function E(i) {
|
|
|
19
66
|
}
|
|
20
67
|
}), {
|
|
21
68
|
c() {
|
|
22
|
-
G(
|
|
69
|
+
G(e.$$.fragment);
|
|
23
70
|
},
|
|
24
|
-
m(
|
|
25
|
-
H(
|
|
71
|
+
m(r, n) {
|
|
72
|
+
H(e, r, n), t = !0;
|
|
26
73
|
},
|
|
27
|
-
p(
|
|
28
|
-
const
|
|
29
|
-
|
|
74
|
+
p(r, n) {
|
|
75
|
+
const o = {};
|
|
76
|
+
n & 4 && (o.mediaStore = r[2]), n & 1 && (o.withAnimation = r[0]), n & 2 && (o.tag = B(r[1])), n & 8 && (o.state = r[3]), n & 16 && (o.temporaryState = r[4]), e.$set(o);
|
|
30
77
|
},
|
|
31
|
-
i(
|
|
32
|
-
|
|
78
|
+
i(r) {
|
|
79
|
+
t || (u(e.$$.fragment, r), t = !0);
|
|
33
80
|
},
|
|
34
|
-
o(
|
|
35
|
-
c(
|
|
81
|
+
o(r) {
|
|
82
|
+
c(e.$$.fragment, r), t = !1;
|
|
36
83
|
},
|
|
37
|
-
d(
|
|
38
|
-
J(
|
|
84
|
+
d(r) {
|
|
85
|
+
J(e, r);
|
|
39
86
|
}
|
|
40
87
|
};
|
|
41
88
|
}
|
|
42
89
|
function F(i) {
|
|
43
|
-
let
|
|
44
|
-
return
|
|
90
|
+
let e, t;
|
|
91
|
+
return e = new Y({ props: { tag: i[1] } }), {
|
|
45
92
|
c() {
|
|
46
|
-
G(
|
|
93
|
+
G(e.$$.fragment);
|
|
47
94
|
},
|
|
48
|
-
m(
|
|
49
|
-
H(
|
|
95
|
+
m(r, n) {
|
|
96
|
+
H(e, r, n), t = !0;
|
|
50
97
|
},
|
|
51
|
-
p(
|
|
52
|
-
const
|
|
53
|
-
|
|
98
|
+
p(r, n) {
|
|
99
|
+
const o = {};
|
|
100
|
+
n & 2 && (o.tag = r[1]), e.$set(o);
|
|
54
101
|
},
|
|
55
|
-
i(
|
|
56
|
-
|
|
102
|
+
i(r) {
|
|
103
|
+
t || (u(e.$$.fragment, r), t = !0);
|
|
57
104
|
},
|
|
58
|
-
o(
|
|
59
|
-
c(
|
|
105
|
+
o(r) {
|
|
106
|
+
c(e.$$.fragment, r), t = !1;
|
|
60
107
|
},
|
|
61
|
-
d(
|
|
62
|
-
J(
|
|
108
|
+
d(r) {
|
|
109
|
+
J(e, r);
|
|
63
110
|
}
|
|
64
111
|
};
|
|
65
112
|
}
|
|
66
113
|
function x(i) {
|
|
67
|
-
let t,
|
|
114
|
+
let e, t, r, n, o = i[12] && E(i), m = i[13] && F(i);
|
|
68
115
|
return {
|
|
69
116
|
c() {
|
|
70
|
-
|
|
117
|
+
e = q("div"), t = q("div"), o && o.c(), r = R(), m && m.c(), s(t, "class", "wrapper svelte-bdubcv"), s(t, "data-tag-id", i[11]), d(t, "left", i[7]), d(t, "top", i[6]), d(t, "z-index", i[5]), s(e, "class", "tag svelte-bdubcv"), s(e, "data-tag-id", i[11]), s(e, "data-tag-unfolded", i[8]), g(e, "disable", i[10]), g(e, "hide", i[9]), g(e, "withAnimation", i[0]);
|
|
71
118
|
},
|
|
72
|
-
m(
|
|
73
|
-
U(
|
|
119
|
+
m(a, p) {
|
|
120
|
+
U(a, e, p), D(e, t), o && o.m(t, null), D(t, r), m && m.m(t, null), n = !0;
|
|
74
121
|
},
|
|
75
|
-
p(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}),
|
|
79
|
-
|
|
80
|
-
}),
|
|
122
|
+
p(a, [p]) {
|
|
123
|
+
a[12] ? o ? (o.p(a, p), p & 4096 && u(o, 1)) : (o = E(a), o.c(), u(o, 1), o.m(t, r)) : o && (j(), c(o, 1, 1, () => {
|
|
124
|
+
o = null;
|
|
125
|
+
}), L()), a[13] ? m ? (m.p(a, p), p & 8192 && u(m, 1)) : (m = F(a), m.c(), u(m, 1), m.m(t, null)) : m && (j(), c(m, 1, 1, () => {
|
|
126
|
+
m = null;
|
|
127
|
+
}), L()), (!n || p & 2048) && s(t, "data-tag-id", a[11]), p & 128 && d(t, "left", a[7]), p & 64 && d(t, "top", a[6]), p & 32 && d(t, "z-index", a[5]), (!n || p & 2048) && s(e, "data-tag-id", a[11]), (!n || p & 256) && s(e, "data-tag-unfolded", a[8]), (!n || p & 1024) && g(e, "disable", a[10]), (!n || p & 512) && g(e, "hide", a[9]), (!n || p & 1) && g(e, "withAnimation", a[0]);
|
|
81
128
|
},
|
|
82
|
-
i(
|
|
83
|
-
|
|
129
|
+
i(a) {
|
|
130
|
+
n || (u(o), u(m), n = !0);
|
|
84
131
|
},
|
|
85
|
-
o(
|
|
86
|
-
c(
|
|
132
|
+
o(a) {
|
|
133
|
+
c(o), c(m), n = !1;
|
|
87
134
|
},
|
|
88
|
-
d(
|
|
89
|
-
|
|
135
|
+
d(a) {
|
|
136
|
+
a && V(e), o && o.d(), m && m.d();
|
|
90
137
|
}
|
|
91
138
|
};
|
|
92
139
|
}
|
|
93
|
-
function $(i,
|
|
94
|
-
let
|
|
140
|
+
function $(i, e, t) {
|
|
141
|
+
let r, n, o, m, a, p, b, h, _, { withAnimation: S = !1 } = e, { tag: f } = e, { mediaStore: w } = e, { state: v } = e, { temporaryState: y } = e;
|
|
95
142
|
const K = W("hooks");
|
|
96
|
-
return i.$$set = (
|
|
97
|
-
"withAnimation" in
|
|
143
|
+
return i.$$set = (l) => {
|
|
144
|
+
"withAnimation" in l && t(0, S = l.withAnimation), "tag" in l && t(1, f = l.tag), "mediaStore" in l && t(2, w = l.mediaStore), "state" in l && t(3, v = l.state), "temporaryState" in l && t(4, y = l.temporaryState);
|
|
98
145
|
}, i.$$.update = () => {
|
|
99
|
-
var
|
|
100
|
-
i.$$.dirty & 2 &&
|
|
146
|
+
var l, k, T, A, P, z, C, I;
|
|
147
|
+
i.$$.dirty & 2 && t(13, r = (() => !(f.contentType === "Link" || f.contentType === "Audio" && f.data.appearance === "plane"))()), i.$$.dirty & 2 && t(12, n = (() => f.stickType === "2DPoint")()), i.$$.dirty & 2 && t(11, o = f.id), i.$$.dirty & 2 && t(10, m = !((l = f.pointTagStyle) != null && l.leftPercent) || !((k = f.pointTagStyle) != null && k.topPercent) || f.enabled === !1 || !f.state), i.$$.dirty & 2 && t(9, a = !((T = f.state) != null && T.visible) || ((A = f.temporaryState) == null ? void 0 : A.visible) === !1), i.$$.dirty & 2 && t(8, p = (P = f.state) == null ? void 0 : P.unfolded), i.$$.dirty & 2 && t(7, b = ((z = f.pointTagStyle) == null ? void 0 : z.leftPercent) + "%"), i.$$.dirty & 2 && t(6, h = ((C = f.pointTagStyle) == null ? void 0 : C.topPercent) + "%"), i.$$.dirty & 2 && t(5, _ = (I = f.state) != null && I.unfolded ? 1 : 0);
|
|
101
148
|
}, [
|
|
102
149
|
S,
|
|
103
|
-
|
|
150
|
+
f,
|
|
104
151
|
w,
|
|
105
152
|
v,
|
|
106
153
|
y,
|
|
107
154
|
_,
|
|
108
155
|
h,
|
|
109
156
|
b,
|
|
110
|
-
|
|
111
|
-
r,
|
|
112
|
-
f,
|
|
113
|
-
n,
|
|
114
|
-
o,
|
|
157
|
+
p,
|
|
115
158
|
a,
|
|
159
|
+
m,
|
|
160
|
+
o,
|
|
161
|
+
n,
|
|
162
|
+
r,
|
|
116
163
|
K
|
|
117
164
|
];
|
|
118
165
|
}
|
|
119
|
-
class
|
|
120
|
-
constructor(
|
|
166
|
+
class xt extends M {
|
|
167
|
+
constructor(e) {
|
|
121
168
|
super(), N(
|
|
122
169
|
this,
|
|
123
|
-
|
|
170
|
+
e,
|
|
124
171
|
$,
|
|
125
172
|
x,
|
|
126
173
|
O,
|
|
@@ -136,5 +183,5 @@ class oe extends M {
|
|
|
136
183
|
}
|
|
137
184
|
}
|
|
138
185
|
export {
|
|
139
|
-
|
|
186
|
+
xt as default
|
|
140
187
|
};
|
|
@@ -2,7 +2,8 @@ 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
|
-
|
|
5
|
+
import "../../shared-utils/Subscribe.js";
|
|
6
|
+
class w extends I {
|
|
6
7
|
constructor(e) {
|
|
7
8
|
super(e);
|
|
8
9
|
f(this, "tagCacheByPanoIndex", {});
|
|
@@ -27,5 +28,5 @@ class p extends I {
|
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
w as TagCacheController
|
|
31
32
|
};
|
|
@@ -14,13 +14,16 @@ var y = (u, c, e) => (T(u, typeof c != "symbol" ? c + "" : c, e), e);
|
|
|
14
14
|
import P from "object-assign-deep";
|
|
15
15
|
import * as I from "three";
|
|
16
16
|
import { DefaultConfig as E } from "../tag.config.js";
|
|
17
|
-
import { is3DTag as
|
|
17
|
+
import { is3DTag as R, isPointTag as V } from "../utils/tag/tagCheck.js";
|
|
18
18
|
import { arrayPositionToVector3 as M, anyPositionToVector3 as S } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
19
19
|
import { planeNormal as $ } from "../utils/planeNormal.js";
|
|
20
20
|
import { tagPosition as C } from "../utils/tagPosition.js";
|
|
21
21
|
import { checkRange as v } from "../utils/checkRange.js";
|
|
22
22
|
import { TagCacheController as z } from "./TagCacheController.js";
|
|
23
|
-
|
|
23
|
+
import "../../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
24
|
+
import "../../base/BasePlugin.js";
|
|
25
|
+
import "../../shared-utils/Subscribe.js";
|
|
26
|
+
class Y extends z {
|
|
24
27
|
constructor(e) {
|
|
25
28
|
super(e);
|
|
26
29
|
y(this, "tags", []);
|
|
@@ -64,7 +67,7 @@ class q extends z {
|
|
|
64
67
|
return !0;
|
|
65
68
|
if (o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && s !== void 0 && (Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(s) || o.visiblePanoIndex === "current" && s !== ((p = e.fiveState) == null ? void 0 : p.panoIndex)) || o.visibleDistance !== void 0 && o.visibleDistance !== "unLimited" && v(a, o.visibleDistance) === !1)
|
|
66
69
|
return !1;
|
|
67
|
-
if (o.intersectRaycaster !== !1 && o.intersectRaycaster) {
|
|
70
|
+
if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
|
|
68
71
|
if (s === void 0)
|
|
69
72
|
return !1;
|
|
70
73
|
const r = (f = this.five.work.observers[s]) == null ? void 0 : f.position;
|
|
@@ -79,7 +82,7 @@ class q extends z {
|
|
|
79
82
|
if (g && g.distance + b < a)
|
|
80
83
|
return !1;
|
|
81
84
|
}
|
|
82
|
-
return !(o.angleRange &&
|
|
85
|
+
return !(o.angleRange && R(e) && v(this.getAngle(e), o.angleRange) === !1);
|
|
83
86
|
})();
|
|
84
87
|
return i.visible = l, i.visible;
|
|
85
88
|
}
|
|
@@ -161,7 +164,7 @@ class q extends z {
|
|
|
161
164
|
const a = (o = (l = this.five.work) == null ? void 0 : l.observers[i]) == null ? void 0 : o.position;
|
|
162
165
|
if (a === void 0)
|
|
163
166
|
throw new Error(`getDistance(): observerPosition is ${a}`);
|
|
164
|
-
const d = (() =>
|
|
167
|
+
const d = (() => V(e) ? M(e == null ? void 0 : e.position) : C(e.position))(), p = a.distanceTo(d);
|
|
165
168
|
return s.distance = p, p;
|
|
166
169
|
}
|
|
167
170
|
}
|
|
@@ -280,5 +283,5 @@ class q extends z {
|
|
|
280
283
|
}
|
|
281
284
|
}
|
|
282
285
|
export {
|
|
283
|
-
|
|
286
|
+
Y as TagComputer
|
|
284
287
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Tag, PartialDeep, TagId, Tags, State, AddTagConfig } from '../typings';
|
|
1
|
+
import type { Tag, PartialDeep, TagId, Tags, State, AddTagConfig, LoadTagConfig } from '../typings';
|
|
2
2
|
import type { TagContentType } from '..';
|
|
3
3
|
import type { ArrayPosition } from '../typings';
|
|
4
4
|
import { Five } from '@realsee/five';
|
|
@@ -35,7 +35,7 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
35
35
|
/**
|
|
36
36
|
* @description: 加载数据
|
|
37
37
|
*/
|
|
38
|
-
load(data: Tags, config?:
|
|
38
|
+
load(data: Tags, config?: LoadTagConfig): void;
|
|
39
39
|
/**
|
|
40
40
|
* @description: 添加标签
|
|
41
41
|
*/
|