@realsee/dnalogel 2.1.0 → 2.1.2-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/components/index.js +242 -569
- package/dist/index.cjs.js +58 -73
- package/dist/index.es.js +7846 -12962
- package/dist/index.js +7846 -12962
- package/dist/index.umd.js +46 -61
- package/docs/assets/highlight.css +3 -3
- package/docs/assets/main.js +4 -2
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +462 -619
- package/docs/classes/CruisePluginController.html +397 -23
- package/docs/classes/Magnifier.html +187 -9
- package/docs/classes/ModelRoomLabelController.html +149 -11
- package/docs/classes/Object3DHelperController.html +356 -0
- package/docs/classes/PaintBrush.html +260 -0
- package/docs/classes/PanoTagPluginController.html +940 -0
- package/docs/classes/Util.BetterTween.html +134 -0
- package/docs/classes/Util.FivePointSelector.html +144 -0
- package/docs/classes/Util.Interval.html +158 -0
- package/docs/classes/Util.Magnifier.html +196 -0
- package/docs/classes/Util.PointDomHelper.html +135 -0
- package/docs/classes/Util.PointHelper.html +127 -0
- package/docs/classes/Util.Rectangle.html +181 -0
- package/docs/enums/CameraMovementEffect.html +70 -3
- package/docs/enums/ContentType.html +116 -0
- package/docs/enums/DIRECTION.html +81 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +81 -1
- package/docs/enums/DimensionType.html +67 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +74 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +81 -1
- package/docs/enums/LinkType.html +67 -0
- package/docs/enums/PaintBrushTypeEnum.html +74 -0
- package/docs/enums/PointType.html +67 -0
- package/docs/enums/Rotation.html +77 -3
- package/docs/functions/CSS3DRenderPlugin.html +233 -0
- package/docs/functions/CameraMovementPlugin.html +237 -0
- package/docs/functions/CruisePlugin.html +233 -0
- package/docs/functions/GuideLinePlugin.html +235 -0
- package/docs/functions/ItemLabelPlugin.html +235 -0
- package/docs/functions/MapviewFloorplanPlugin.html +235 -0
- package/docs/functions/ModelChassisCompassPlugin.html +237 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +237 -0
- package/docs/functions/ModelFloorplanPlugin.html +235 -0
- package/docs/functions/ModelItemLabelPlugin.html +235 -0
- package/docs/functions/ModelRoomLabelPlugin.html +233 -0
- package/docs/functions/ModelTVVideoPlugin.html +235 -0
- package/docs/functions/ModelViewPlugin.html +237 -0
- package/docs/functions/Object3DHelperPlugin.html +233 -0
- package/docs/functions/PanoCompassPlugin.html +235 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +238 -0
- package/docs/functions/PanoDoorLabelPlugin.html +235 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +235 -0
- package/docs/functions/PanoMeasurePlugin.html +235 -0
- package/docs/functions/PanoRulerPlugin.html +237 -0
- package/docs/functions/PanoRulerProPlugin.html +237 -0
- package/docs/functions/PanoSpatialTagPlugin.html +237 -0
- package/docs/functions/PanoTagPlugin.html +249 -0
- package/docs/functions/TopviewFloorplanPlugin.html +235 -0
- package/docs/functions/Util.getCoordsFromClient.html +78 -0
- package/docs/functions/Util.getCoordsFromElement.html +78 -0
- package/docs/functions/Util.getFrameTime.html +70 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +78 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +78 -0
- package/docs/functions/Util.isNil.html +79 -0
- package/docs/functions/Util.nextFrame.html +73 -0
- package/docs/functions/Util.notNil.html +78 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +98 -0
- package/docs/functions/Util.tweenProgress.html +84 -0
- package/docs/functions/pluginFlag.html +233 -0
- package/docs/index.html +220 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +205 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +85 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +111 -17
- package/docs/interfaces/ContentTypeMap.html +212 -0
- package/docs/interfaces/FloorplanBounding.html +89 -10
- package/docs/interfaces/FloorplanData.html +95 -3
- package/docs/interfaces/FloorplanEntrance.html +114 -15
- package/docs/interfaces/FloorplanExtraObject.html +108 -7
- package/docs/interfaces/FloorplanExtraObject3D.html +99 -3
- package/docs/interfaces/FloorplanFloorData.html +88 -3
- package/docs/interfaces/FloorplanImagePosition.html +74 -3
- package/docs/interfaces/FloorplanObserver.html +92 -5
- package/docs/interfaces/FloorplanOutlineItem.html +88 -3
- package/docs/interfaces/FloorplanPosition.html +74 -3
- package/docs/interfaces/FloorplanRoomItem.html +134 -17
- package/docs/interfaces/FloorplanRoomLabelItem.html +78 -7
- package/docs/interfaces/FloorplanServerBounding.html +89 -10
- package/docs/interfaces/FloorplanServerComputedData.html +92 -1
- package/docs/interfaces/FloorplanServerData.html +74 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +92 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +78 -1
- package/docs/interfaces/FloorplanServerEntrance.html +114 -15
- package/docs/interfaces/FloorplanServerFloorData.html +88 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +74 -3
- package/docs/interfaces/FloorplanServerObserver.html +92 -5
- package/docs/interfaces/FloorplanServerOutlineItem.html +88 -3
- package/docs/interfaces/FloorplanServerPosition.html +74 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +145 -20
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +78 -7
- package/docs/interfaces/ItemLabelPluginData.html +64 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +149 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +85 -1
- package/docs/interfaces/LineJson.html +71 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +71 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +107 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +71 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +78 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +115 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +64 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +149 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +71 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +64 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +85 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +109 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +64 -1
- package/docs/interfaces/ModelViewPluginExportType.html +129 -1
- package/docs/interfaces/Object3DHelperState.html +78 -0
- package/docs/interfaces/OpenParameter.html +74 -3
- package/docs/interfaces/PaintBrushAction.html +118 -0
- package/docs/interfaces/PaintBrushConfigs.html +122 -0
- package/docs/interfaces/PaintBrushState.html +99 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +186 -11
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +227 -1
- package/docs/interfaces/PanoMeasureParameterType.html +128 -5
- package/docs/interfaces/PanoRulerPluginExportType.html +138 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +87 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +78 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +114 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +84 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +71 -1
- package/docs/interfaces/PanoRulerProPluginState.html +78 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +241 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +230 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +114 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +96 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +192 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +92 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +113 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +99 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +92 -1
- package/docs/interfaces/Point.html +78 -1
- package/docs/interfaces/PointJson.html +78 -1
- package/docs/interfaces/Room.html +85 -1
- package/docs/interfaces/RoomInfo.html +71 -1
- package/docs/interfaces/RoomLabel.html +141 -13
- package/docs/interfaces/RoomRules.html +230 -1
- package/docs/interfaces/Rooms.html +230 -1
- package/docs/interfaces/Scissor.html +100 -0
- package/docs/interfaces/TagConfig.html +120 -0
- package/docs/interfaces/Tags.html +89 -0
- package/docs/interfaces/Util.MagnifierParameter.html +116 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +79 -0
- package/docs/modules/Util.html +91 -0
- package/docs/modules.html +425 -36
- package/docs/types/ArrayPosition.html +224 -0
- package/docs/types/CSS3DRenderExportType.html +224 -0
- package/docs/types/CSS3DRenderPluginExportType.html +224 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +224 -0
- package/docs/types/Color.html +224 -0
- package/docs/types/ContentTypeConfigKey.html +224 -0
- package/docs/types/ContentTypeConfigKeyArray.html +224 -0
- package/docs/types/Create3DDomContainerReturnType.html +224 -0
- package/docs/types/Create3DElementReturnType.html +224 -0
- package/docs/types/CruisePluginExportType.html +224 -0
- package/docs/types/Direction-1.html +224 -0
- package/docs/types/Direction4.html +224 -0
- package/docs/types/FloorplanRuleLabels.html +226 -0
- package/docs/types/FloorplanServerRuleLabels.html +224 -0
- package/docs/types/GuideLinePluginExportType.html +224 -0
- package/docs/types/HelperEventMap.html +314 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +224 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +224 -0
- package/docs/types/MediaData.html +224 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +224 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +224 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +224 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +224 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +224 -0
- package/docs/types/MoveArgs.html +226 -0
- package/docs/types/MoveOpts.html +226 -0
- package/docs/types/Object3DHelperEventMap.html +317 -0
- package/docs/types/ObjectFit.html +224 -0
- package/docs/types/PaintBrushEventMap.html +255 -0
- package/docs/types/PanoCompassPluginData.html +224 -0
- package/docs/types/PanoCompassPluginExportType.html +224 -0
- package/docs/types/PanoCompassPluginParameterType.html +224 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +224 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +224 -0
- package/docs/types/PanoMeasurePluginEvent.html +224 -0
- package/docs/types/PanoMeasureReturnType.html +224 -0
- package/docs/types/PanoSpatialTagPluginId.html +224 -0
- package/docs/types/PanoTagPluginExportInterface.html +224 -0
- package/docs/types/PanoTagPluginParamsInterface.html +224 -0
- package/docs/types/PlaneTag.html +233 -0
- package/docs/types/PointTag.html +235 -0
- package/docs/types/Position.html +224 -0
- package/docs/types/RotateArgs.html +226 -0
- package/docs/types/RotateOpts.html +226 -0
- package/docs/types/RuleLabelsKey.html +224 -0
- package/docs/types/RuleLabelsValue.html +224 -0
- package/docs/types/Tag.html +235 -0
- package/docs/types/Tag2D.html +233 -0
- package/docs/types/Tag3D.html +233 -0
- package/docs/types/TagId.html +224 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +224 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +224 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +226 -0
- package/docs/variables/PLUGIN.html +224 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +226 -0
- package/docs/variables/ROOM_TYPE_MAP.html +226 -0
- package/docs/variables/VERSION.html +224 -0
- package/docs/variables/itemLabelPluginServerParams.html +231 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +231 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +231 -0
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +150 -119
- package/libs/CSS3DRenderPlugin/Controller.d.ts +3 -3
- package/libs/CSS3DRenderPlugin/Controller.js +45 -42
- package/libs/CSS3DRenderPlugin/index.js +4 -12
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +71 -54
- package/libs/CruisePlugin/Controller.js +331 -287
- package/libs/CruisePlugin/index.js +6 -25
- package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
- package/libs/CruisePlugin/utils/safeCall.js +21 -5
- package/libs/GuideLinePlugin/Controller.js +94 -62
- package/libs/GuideLinePlugin/index.js +4 -13
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +49 -103
- package/libs/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +200 -183
- package/libs/ItemLabelPlugin/ItemLabelItem.js +27 -27
- package/libs/ItemLabelPlugin/Plugin.js +20 -29
- package/libs/ItemLabelPlugin/index.js +5 -18
- package/libs/ItemLabelPlugin/utils/parseData.js +15 -4
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +16 -6
- package/libs/ModelChassisCompassPlugin/Plugin.js +54 -38
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +58 -46
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +145 -129
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +18 -18
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +19 -24
- package/libs/ModelItemLabelPlugin/index.js +5 -14
- package/libs/ModelItemLabelPlugin/utils/parseData.js +16 -6
- package/libs/ModelRoomLabelPlugin/Controller.js +2 -6
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +22 -22
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +105 -94
- package/libs/ModelRoomLabelPlugin/index.js +4 -10
- package/libs/ModelTVVideoPlugin/Plugin.js +101 -94
- package/libs/ModelViewPlugin/Plugin.js +71 -60
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +79 -71
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +8 -11
- package/libs/Object3DHelperPlugin/index.js +8 -40
- package/libs/PanoCompassPlugin/Controller.js +91 -72
- package/libs/PanoCompassPlugin/index.js +4 -22
- package/libs/PanoCursorRaycasterPlugin/index.js +8 -9
- package/libs/PanoDoorLabelPlugin/BaseController.js +42 -33
- package/libs/PanoDoorLabelPlugin/Controller.js +84 -80
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +16 -16
- package/libs/PanoDoorLabelPlugin/index.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +3 -12
- package/libs/PanoDoorLabelPlugin/utils.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +14 -24
- package/libs/PanoMeasurePlugin/Controller/EditController.js +8 -20
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +15 -28
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +15 -26
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +28 -43
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +43 -70
- package/libs/PanoMeasurePlugin/Model/index.d.ts +4 -4
- package/libs/PanoMeasurePlugin/Model/index.js +38 -45
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/line.js +10 -14
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +35 -28
- package/libs/PanoMeasurePlugin/index.js +6 -55
- package/libs/PanoMeasurePlugin/utils/constants.js +29 -16
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +4 -5
- package/libs/PanoRulerPlugin/Plugin.js +180 -157
- package/libs/PanoRulerProPlugin/Controller.js +70 -51
- package/libs/PanoRulerProPlugin/RulerItem.js +55 -45
- package/libs/PanoRulerProPlugin/RulerItems.js +124 -125
- package/libs/PanoRulerProPlugin/index.js +4 -15
- package/libs/PanoSpatialTagPlugin/Components/origins.js +24 -25
- package/libs/PanoSpatialTagPlugin/Components/tag.js +23 -23
- package/libs/PanoSpatialTagPlugin/Plugin.js +61 -72
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -1
- package/libs/PanoSpatialTagPlugin/store.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +47 -47
- package/libs/PanoTagPlugin/Components/Common/Audio.js +95 -92
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +48 -48
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +40 -41
- package/libs/PanoTagPlugin/Components/Common/Media.js +258 -3303
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +60 -60
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +96 -107
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +15 -16
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +22 -23
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +78 -82
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +51 -52
- package/libs/PanoTagPlugin/Components/Common/Text.js +84 -937
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +58 -64
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -34
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +101 -111
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +43 -45
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +123 -96
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +36 -44
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +71 -83
- package/libs/PanoTagPlugin/Components/Tag/index.js +130 -149
- package/libs/PanoTagPlugin/Components/TagContainer.js +69 -100
- package/libs/PanoTagPlugin/Components/TagWrapper.js +86 -116
- package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +262 -13
- package/libs/PanoTagPlugin/controller/index.js +177 -186
- package/libs/PanoTagPlugin/index.js +7 -69
- package/libs/PanoTagPlugin/utils/checkRange.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -1
- package/libs/PanoTagPlugin/utils/search.js +9 -27
- package/libs/base/BasePluginWithData.js +0 -1
- package/libs/components/PaintBrush/Controller.d.ts +2 -2
- package/libs/components/PaintBrush/Controller.js +3 -4
- package/libs/components/PaintBrush/index.js +2 -9
- package/libs/components/PaintBrush/tween.js +7 -11
- package/libs/components/PaintBrush/utils.d.ts +1 -1
- package/libs/env.d.ts +1 -0
- package/libs/floorplan/Components/BaseImage.js +29 -30
- package/libs/floorplan/Components/Camera.js +24 -24
- package/libs/floorplan/Components/Compass.js +36 -36
- package/libs/floorplan/Components/CurrentFloor.js +65 -74
- package/libs/floorplan/Components/Main.js +94 -112
- package/libs/floorplan/Components/Normalmage.js +21 -21
- package/libs/floorplan/Components/RoomHighlight/Room.js +20 -20
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +43 -44
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +60 -59
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +61 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +136 -124
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +21 -21
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +20 -20
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +22 -22
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +68 -68
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +40 -40
- package/libs/floorplan/Components/SvgImage.js +19 -19
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +145 -146
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -47
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +187 -189
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -47
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +32 -31
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +56 -60
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +29 -29
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +75 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +92 -74
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -24
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +181 -173
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -44
- package/libs/floorplan/utils/constant.js +1 -2
- package/libs/floorplan/utils/correctFiveState.js +48 -30
- package/libs/floorplan/utils/formatData.js +58 -36
- package/libs/index.js +90 -328
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-changed-params.js +29 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js +23 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js +14 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js +120 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js +36 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/utils.js +32 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper-slide.js +182 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper.js +254 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -5
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +5 -16
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +16 -24
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +15 -23
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +2 -10
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +27 -29
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +19 -9
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +4 -5
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -102
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +8 -14
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +2 -3
- package/libs/shared-utils/Object3DHelper/index.js +72 -43
- package/libs/shared-utils/Object3DHelper/utils/direction.js +14 -22
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +34 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -1
- package/libs/shared-utils/Subscribe.js +1 -1
- package/libs/shared-utils/animationFrame/BetterTween.js +24 -4
- package/libs/shared-utils/animationFrame/calculateProgress.js +3 -9
- package/libs/shared-utils/animationFrame/formatRad.js +1 -3
- package/libs/shared-utils/animationFrame/index.js +19 -39
- package/libs/shared-utils/animationFrame/tween.js +17 -17
- package/libs/shared-utils/filter.js +6 -26
- package/libs/shared-utils/five/changeMode.js +34 -16
- package/libs/shared-utils/index.js +29 -43
- package/libs/shared-utils/math/planimetry.d.ts +5 -5
- package/libs/shared-utils/math/planimetry.js +34 -121
- package/libs/shared-utils/removeArrayItem.d.ts +1 -1
- package/libs/shared-utils/three/Assets/index.js +1 -2
- package/libs/shared-utils/three/FivePointSelector.d.ts +1 -1
- package/libs/shared-utils/three/FivePointSelector.js +12 -26
- package/libs/shared-utils/three/Magnifier.d.ts +2 -2
- package/libs/shared-utils/three/Magnifier.js +3 -3
- package/libs/shared-utils/three/PointDomHelper.js +27 -35
- package/libs/shared-utils/three/PointHelper.js +1 -1
- package/libs/shared-utils/three/getIntersect.d.ts +1 -1
- package/libs/shared-utils/three/getRaycaster.d.ts +1 -1
- package/libs/shared-utils/three/loadTexture.js +25 -7
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +18 -7
- package/libs/shared-utils/to.js +26 -8
- package/package.json +45 -28
- package/dist/style.css +0 -1
- package/docs/assets/icons.css +0 -1043
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/interfaces/CSS3DRenderPluginExportType.html +0 -4
- package/libs/CSS3DRenderPlugin/typing.js +0 -1
- package/libs/CSS3DRenderPlugin/utils/index.js +0 -13
- package/libs/CSS3DRenderPlugin/utils/random.js +0 -6
- package/libs/CameraMovementPlugin/index.js +0 -15
- package/libs/CruisePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
- package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
- package/libs/GuideLinePlugin/utils/polyline-normals.d.js +0 -1
- package/libs/ItemLabelPlugin/events.type.js +0 -1
- package/libs/ModelChassisCompassPlugin/index.js +0 -10
- package/libs/ModelEntryDoorGuidePlugin/index.js +0 -11
- package/libs/ModelItemLabelPlugin/events.type.js +0 -1
- package/libs/ModelRoomLabelPlugin/typings.js +0 -1
- package/libs/ModelTVVideoPlugin/index.js +0 -19
- package/libs/ModelViewPlugin/index.js +0 -8
- package/libs/Object3DHelperPlugin/mocks/addObject3D.d.ts +0 -2
- package/libs/Object3DHelperPlugin/mocks/addObject3D.js +0 -1377
- package/libs/Object3DHelperPlugin/mocks/objects.d.ts +0 -7
- package/libs/Object3DHelperPlugin/mocks/objects.js +0 -47
- package/libs/Object3DHelperPlugin/typings.js +0 -1
- package/libs/PanoCompassPlugin/typings.js +0 -1
- package/libs/PanoDoorLabelPlugin/typings.js +0 -1
- 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/PanoRulerPlugin/index.js +0 -11
- package/libs/PanoRulerPlugin/typings.js +0 -1
- package/libs/PanoRulerProPlugin/typings.js +0 -1
- package/libs/PanoSpatialTagPlugin/index.js +0 -24
- package/libs/PanoSpatialTagPlugin/typings.js +0 -1
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
- package/libs/PanoTagPlugin/typings/controller.js +0 -1
- package/libs/PanoTagPlugin/typings/index.js +0 -7
- package/libs/PanoTagPlugin/utils/index.js +0 -36
- package/libs/TagComputer.2bc444dc.js +0 -315
- package/libs/components/index.js +0 -13
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +0 -11
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/index.js +0 -67
- package/libs/floorplan/typings/floorplanData.js +0 -1
- package/libs/floorplan/typings/index.js +0 -1
- package/libs/floorplan/typings/utility.js +0 -1
- package/libs/hammer.b5b6115e.js +0 -882
- package/libs/index.164f1850.js +0 -641
- package/libs/index.6a0eead1.js +0 -12
- package/libs/index.ad783a2f.js +0 -31
- package/libs/index.dca207cb.js +0 -37
- package/libs/index.f2f85d71.js +0 -40
- package/libs/index.fd12d787.js +0 -34
- package/libs/shared-utils/Object3DHelper/Helper/index.js +0 -30
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +0 -1
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +0 -18
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +0 -6
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +0 -18
- package/libs/shared-utils/Object3DHelper/utils/index.js +0 -29
- package/libs/shared-utils/Object3DHelper/utils/negateScale.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/utils/negateScale.js +0 -7
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +0 -13
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +0 -5
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.js +0 -4
- package/libs/shared-utils/Preloader.d.ts +0 -6
- package/libs/shared-utils/Preloader.js +0 -18
- package/libs/shared-utils/formatRad.d.ts +0 -7
- package/libs/shared-utils/formatRad.js +0 -7
- package/libs/shared-utils/getRandomColor.d.ts +0 -1
- package/libs/shared-utils/getRandomColor.js +0 -6
- package/libs/shared-utils/logger.d.ts +0 -16
- package/libs/shared-utils/logger.js +0 -27
- package/libs/shared-utils/math/evenNumber.d.ts +0 -3
- package/libs/shared-utils/math/evenNumber.js +0 -7
- package/libs/shared-utils/math/index.js +0 -6
- package/libs/shared-utils/px2rem.d.ts +0 -1
- package/libs/shared-utils/px2rem.js +0 -6
- package/libs/shared-utils/three/getExtraModelLoader.d.ts +0 -6
- package/libs/shared-utils/three/getExtraModelLoader.js +0 -18
- package/libs/shared-utils/three/getNormal.d.ts +0 -2
- package/libs/shared-utils/three/getNormal.js +0 -7
- package/libs/shared-utils/three/getTextureLoader.d.ts +0 -6
- package/libs/shared-utils/three/getTextureLoader.js +0 -16
- package/libs/shared-utils/three/index.js +0 -33
- package/libs/shared-utils/three/loadFbxObj.d.ts +0 -2
- package/libs/shared-utils/three/loadFbxObj.js +0 -16
- package/libs/shared-utils/vectorTocoordinates.d.ts +0 -7
- package/libs/shared-utils/vectorTocoordinates.js +0 -10
- package/libs/style.css +0 -1
- package/libs/tween.esm.bad2b2b4.js +0 -340
- package/libs/typings/math.type.js +0 -1
- package/libs/typings/utils.type.d.ts +0 -2
- package/libs/typings/utils.type.js +0 -1
|
@@ -1,143 +1,130 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
import "
|
|
31
|
-
import "
|
|
32
|
-
import "
|
|
33
|
-
import "
|
|
34
|
-
import "
|
|
35
|
-
import "../Components/
|
|
36
|
-
import "
|
|
37
|
-
import "../
|
|
38
|
-
import "
|
|
39
|
-
import "../
|
|
40
|
-
import "../
|
|
41
|
-
import "
|
|
42
|
-
import "../utils/
|
|
43
|
-
import "../utils/
|
|
44
|
-
import "
|
|
45
|
-
import "
|
|
46
|
-
import "../
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
import "../Components/Common/Media.js";
|
|
50
|
-
import "../Components/Common/MediaItem.js";
|
|
51
|
-
import "../Components/Tag/MarketingTag.js";
|
|
52
|
-
import "../Components/Tag/AudioTag.js";
|
|
53
|
-
import "../Components/Common/Audio.js";
|
|
54
|
-
import "../Components/Tag/MediaPlane.js";
|
|
55
|
-
import "../Components/Tag/LinkTag.js";
|
|
56
|
-
import "../Components/Tag/CustomTag.js";
|
|
57
|
-
import "../../CSS3DRenderPlugin/Controller.js";
|
|
58
|
-
import "../../CSS3DRenderPlugin/CSS3DRender.js";
|
|
59
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
60
|
-
import "../../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
61
|
-
import "../../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
62
|
-
const b = "1.2.6", g = `DnalogelPlugin-PanoTagPlugin@${b}`, B = !1, $e = (l) => `${g}--${l}`;
|
|
63
|
-
class je extends S {
|
|
1
|
+
var A = Object.defineProperty, P = Object.defineProperties;
|
|
2
|
+
var R = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var T = Object.getOwnPropertySymbols;
|
|
4
|
+
var w = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var v = (l, a, e) => a in l ? A(l, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[a] = e, f = (l, a) => {
|
|
6
|
+
for (var e in a || (a = {}))
|
|
7
|
+
w.call(a, e) && v(l, e, a[e]);
|
|
8
|
+
if (T)
|
|
9
|
+
for (var e of T(a))
|
|
10
|
+
E.call(a, e) && v(l, e, a[e]);
|
|
11
|
+
return l;
|
|
12
|
+
}, c = (l, a) => P(l, R(a));
|
|
13
|
+
var h = (l, a, e) => (v(l, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
|
+
var p = (l, a, e) => new Promise((t, s) => {
|
|
15
|
+
var i = (n) => {
|
|
16
|
+
try {
|
|
17
|
+
r(e.next(n));
|
|
18
|
+
} catch (d) {
|
|
19
|
+
s(d);
|
|
20
|
+
}
|
|
21
|
+
}, o = (n) => {
|
|
22
|
+
try {
|
|
23
|
+
r(e.throw(n));
|
|
24
|
+
} catch (d) {
|
|
25
|
+
s(d);
|
|
26
|
+
}
|
|
27
|
+
}, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(i, o);
|
|
28
|
+
r((e = e.apply(l, a)).next());
|
|
29
|
+
});
|
|
30
|
+
import { Subscribe as U } from "@realsee/five";
|
|
31
|
+
import { Quaternion as k } from "three";
|
|
32
|
+
import m from "object-assign-deep";
|
|
33
|
+
import { writable as F } from "svelte/store";
|
|
34
|
+
import L from "../Components/TagContainer.js";
|
|
35
|
+
import B from "../Components/Tag/index.js";
|
|
36
|
+
import { arrayPositionToVector3 as g } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
37
|
+
import { addDebugPoints as O } from "../utils/addDebugPoints.js";
|
|
38
|
+
import { planeNormal as I } from "../utils/planeNormal.js";
|
|
39
|
+
import { actionAfterFiveModelLoad as z } from "../utils/actionAfterFiveModelLoad.js";
|
|
40
|
+
import { normalPositionToPositions as M } from "../utils/normalPositionToPositions.js";
|
|
41
|
+
import { debounce as C } from "../utils/debounce.js";
|
|
42
|
+
import { throttle as N } from "../utils/throttle.js";
|
|
43
|
+
import { resizeObserver as D } from "../utils/resizeObserver.js";
|
|
44
|
+
import { TagComputer as $ } from "./TagComputer.js";
|
|
45
|
+
import { CSS3DRenderPlugin as j } from "../../CSS3DRenderPlugin/index.js";
|
|
46
|
+
import { PointType as u, DimensionType as y } from "../typings/tag.js";
|
|
47
|
+
const S = "1.2.6", b = `DnalogelPlugin-PanoTagPlugin@${S}`, V = !1, re = (l) => `${b}--${l}`;
|
|
48
|
+
class ae extends $ {
|
|
64
49
|
constructor(e, t) {
|
|
65
50
|
super(e);
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
51
|
+
h(this, "version", S);
|
|
52
|
+
h(this, "state", { enabled: !0, visible: !0 });
|
|
53
|
+
h(this, "params");
|
|
54
|
+
h(this, "debug");
|
|
55
|
+
h(this, "css3DRenderPlugin");
|
|
56
|
+
h(this, "TagContainerSvelte");
|
|
57
|
+
h(this, "temporaryState", { visible: !0 });
|
|
58
|
+
h(this, "mediaStore", F({
|
|
74
59
|
currentMediaUrl: ""
|
|
75
60
|
}));
|
|
76
|
-
|
|
61
|
+
h(this, "store", {
|
|
77
62
|
disposers: [],
|
|
78
63
|
disposed: !1,
|
|
79
64
|
resizeObserverDisposerAdding: !1,
|
|
80
65
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
81
66
|
});
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
console.error(`${
|
|
67
|
+
h(this, "staticUrl");
|
|
68
|
+
h(this, "disposedErrorLog", () => {
|
|
69
|
+
console.error(`${b} is disposed`);
|
|
85
70
|
});
|
|
86
|
-
this.params = {
|
|
71
|
+
this.params = f({
|
|
87
72
|
debug: !1,
|
|
88
73
|
mergePluginDefaultConfigToLoadDataConfig: !1,
|
|
89
74
|
config: this.config,
|
|
90
75
|
staticConfig: {
|
|
91
76
|
host: "vrlab-static.ljcdn.com"
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return i;
|
|
77
|
+
}
|
|
78
|
+
}, t), this.debug = this.params.debug, this.config = this.params.config, this.staticUrl = (() => {
|
|
79
|
+
var i;
|
|
80
|
+
const s = this.params.staticConfig;
|
|
81
|
+
if (typeof s == "string")
|
|
82
|
+
return s;
|
|
99
83
|
{
|
|
100
|
-
const o =
|
|
101
|
-
return `${o}//${
|
|
84
|
+
const o = s.protocol ? s.protocol + ":" : "", r = (i = s.host) != null ? i : "vrlab-static.ljcdn.com", n = s.port ? ":" + s.port : "";
|
|
85
|
+
return `${o}//${r}${n}`;
|
|
102
86
|
}
|
|
103
87
|
})(), Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this });
|
|
104
88
|
}
|
|
105
89
|
load(e, t) {
|
|
106
|
-
var
|
|
107
|
-
this.clearTags(), console.log(
|
|
108
|
-
globalConfig: (
|
|
109
|
-
contentTypeConfig: (
|
|
110
|
-
}) : (e.globalConfig && (this.config.globalConfig = e.globalConfig), e.contentTypeConfig && (this.config.contentTypeConfig = e.contentTypeConfig)), this.addTag(e.tagList, t), this.debug &&
|
|
90
|
+
var s, i;
|
|
91
|
+
this.clearTags(), console.log(b, "load:", { data: e }), this.params.mergePluginDefaultConfigToLoadDataConfig ? this.config = m({}, this.config, {
|
|
92
|
+
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
93
|
+
contentTypeConfig: (i = e.contentTypeConfig) != null ? i : {}
|
|
94
|
+
}) : (e.globalConfig && (this.config.globalConfig = e.globalConfig), e.contentTypeConfig && (this.config.contentTypeConfig = e.contentTypeConfig)), this.addTag(e.tagList, t), this.debug && O(this.five, this.tags);
|
|
111
95
|
}
|
|
112
96
|
addTag(e, t) {
|
|
113
|
-
const
|
|
114
|
-
const
|
|
115
|
-
return {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
};
|
|
97
|
+
const i = (Array.isArray(e) ? e : [e]).map((o) => {
|
|
98
|
+
const r = this.getTagConfig(o);
|
|
99
|
+
return c(f({}, o), {
|
|
100
|
+
state: f({ visible: void 0, unfolded: V }, r.initialState),
|
|
101
|
+
hooks: new U(),
|
|
102
|
+
clickable: r.clickable
|
|
103
|
+
});
|
|
121
104
|
}).filter((o) => o.position);
|
|
122
|
-
this.tags.push(...
|
|
123
|
-
var o,
|
|
124
|
-
this.store.eventListenerDisposer && ((
|
|
105
|
+
this.tags.push(...i), z(this.five, () => {
|
|
106
|
+
var o, r, n;
|
|
107
|
+
this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && (this.store.eventListenerDisposer = this.addEventListener()), this.addResizeListener(), this.checkPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags();
|
|
125
108
|
});
|
|
126
109
|
}
|
|
127
110
|
clearTags() {
|
|
128
111
|
this.tags = [], this.clearCache(), this.disposeAllCSS3DContainer(), this.updateRenderAllTags();
|
|
129
112
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
113
|
+
show(e) {
|
|
114
|
+
return p(this, null, function* () {
|
|
115
|
+
const { userAction: t = !0, withAnimation: s = !1 } = e != null ? e : {};
|
|
116
|
+
if (this.store.disposed)
|
|
117
|
+
return this.disposedErrorLog();
|
|
118
|
+
this.setState({ visible: !0 }, { userAction: t, visibleWithAnimation: s }), this.hooks.emit("show", { userAction: t, withAnimation: s });
|
|
119
|
+
});
|
|
135
120
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
121
|
+
hide(e) {
|
|
122
|
+
return p(this, null, function* () {
|
|
123
|
+
const { userAction: t = !0, withAnimation: s = !1 } = e != null ? e : {};
|
|
124
|
+
if (this.store.disposed)
|
|
125
|
+
return this.disposedErrorLog();
|
|
126
|
+
this.setState({ visible: !1 }, { userAction: t, visibleWithAnimation: s }), this.hooks.emit("hide", { userAction: t, withAnimation: s });
|
|
127
|
+
});
|
|
141
128
|
}
|
|
142
129
|
enable(e) {
|
|
143
130
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -152,45 +139,47 @@ class je extends S {
|
|
|
152
139
|
this.setState({ enabled: !1 }, { userAction: t }), this.hooks.emit("disable", { userAction: t });
|
|
153
140
|
}
|
|
154
141
|
dispose() {
|
|
155
|
-
var e, t,
|
|
156
|
-
this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filter3DTag().forEach((
|
|
142
|
+
var e, t, s, i, o, r;
|
|
143
|
+
this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filter3DTag().forEach((n) => {
|
|
157
144
|
var d;
|
|
158
|
-
return (d =
|
|
159
|
-
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((
|
|
145
|
+
return (d = n.tag3DContentSvelte) == null ? void 0 : d.svelteApp.$destroy();
|
|
146
|
+
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((n) => n == null ? void 0 : n()), this.store.disposers = [], this.store.disposed = !0, (i = (s = this.store).eventListenerDisposer) == null || i.call(s), this.store.eventListenerDisposer = void 0, (r = (o = this.store).resizeObserverDisposer) == null || r.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.clearCache(), this.hooks.emit("dispose");
|
|
160
147
|
}
|
|
161
148
|
setState(e, t) {
|
|
162
149
|
if (this.store.disposed)
|
|
163
150
|
return this.disposedErrorLog();
|
|
164
|
-
const { userAction:
|
|
165
|
-
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation =
|
|
151
|
+
const { userAction: s = !0, visibleWithAnimation: i = !1 } = t, o = f({}, this.state);
|
|
152
|
+
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = i, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: s });
|
|
166
153
|
}
|
|
167
154
|
changeTagNormalById(e, t) {
|
|
168
|
-
const i = this.getTagById(e);
|
|
169
|
-
!i || !i.tag3DContentSvelte || (i.tag3DContentSvelte.currentNormal = p(t), this.updateRenderPlaneTag());
|
|
170
|
-
}
|
|
171
|
-
changeDataById(e, t, i = !0) {
|
|
172
155
|
const s = this.getTagById(e);
|
|
173
|
-
!s ||
|
|
156
|
+
!s || !s.tag3DContentSvelte || (s.tag3DContentSvelte.currentNormal = g(t), this.updateRenderPlaneTag());
|
|
174
157
|
}
|
|
175
|
-
|
|
176
|
-
const
|
|
177
|
-
!
|
|
158
|
+
changeDataById(e, t, s = !0) {
|
|
159
|
+
const i = this.getTagById(e);
|
|
160
|
+
!i || (s ? i.data = m({}, i.data, t) : Object.assign(i.data, t), this.checkPanelTag(), this.updateRenderAllTags());
|
|
161
|
+
}
|
|
162
|
+
changeTagById(e, t, s = !0) {
|
|
163
|
+
const i = this.getTagById(e);
|
|
164
|
+
!t || (s ? m(i, t) : Object.assign(i, t), (i == null ? void 0 : i.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (i.tag3DContentSvelte.currentNormal = g(t.normal)), this.updateRenderAllTags(), this.checkPanelTag());
|
|
178
165
|
}
|
|
179
166
|
destroyTagById(e) {
|
|
180
|
-
(Array.isArray(e) ? e : [e]).forEach((
|
|
181
|
-
const
|
|
182
|
-
|
|
167
|
+
(Array.isArray(e) ? e : [e]).forEach((s) => {
|
|
168
|
+
const i = this.tags.findIndex((o) => o.id === s);
|
|
169
|
+
i !== -1 && this.tags.splice(i, 1);
|
|
183
170
|
}), this.updateRenderAllTags();
|
|
184
171
|
}
|
|
185
172
|
pauseCurrentMedia() {
|
|
186
173
|
this.mediaStore.set({ currentMediaUrl: "" });
|
|
187
174
|
}
|
|
188
|
-
|
|
189
|
-
return this
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
175
|
+
setVisibleAndUnfolded() {
|
|
176
|
+
return p(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
|
|
177
|
+
return this.setVisibleByPanoIndex(), e ? new Promise((t, s) => {
|
|
178
|
+
setTimeout(() => {
|
|
179
|
+
this.setUnfoldedByPanoIndex(), t();
|
|
180
|
+
}, 10);
|
|
181
|
+
}) : (this.setUnfoldedByPanoIndex(), Promise.resolve());
|
|
182
|
+
});
|
|
194
183
|
}
|
|
195
184
|
handleShow() {
|
|
196
185
|
this.state.visible = !0, this.updateTagContainerVisible();
|
|
@@ -202,16 +191,16 @@ class je extends S {
|
|
|
202
191
|
this.state.enabled = !0, this.store.eventListenerDisposer = this.addEventListener(), this.updateRenderAllTags();
|
|
203
192
|
}
|
|
204
193
|
handleDisable() {
|
|
205
|
-
var e, t,
|
|
206
|
-
this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), (
|
|
194
|
+
var e, t, s;
|
|
195
|
+
this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), (s = this.TagContainerSvelte) == null || s.$set({ tags: [] }), this.filter3DTag().forEach((i) => {
|
|
207
196
|
var o;
|
|
208
|
-
(o =
|
|
197
|
+
(o = i.tag3DContentSvelte) == null || o.svelteApp.$destroy(), i.tag3DContentSvelte = void 0;
|
|
209
198
|
});
|
|
210
199
|
}
|
|
211
200
|
addEventListener() {
|
|
212
|
-
const { five: e, hooks: t } = this,
|
|
213
|
-
return e.on("wantsMoveToPano",
|
|
214
|
-
e.off("wantsMoveToPano",
|
|
201
|
+
const { five: e, hooks: t } = this, s = this.handleFiveWantsMoveToPano.bind(this), i = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), r = this.handleFiveCameraUpdateDebounce(), n = this.handleFivePanoArrived.bind(this), d = this.clickhandler.bind(this);
|
|
202
|
+
return e.on("wantsMoveToPano", s), e.on("modeChange", i), e.on("cameraUpdate", o), e.on("cameraUpdate", r), e.on("panoArrived", n), t.on("click", d), () => {
|
|
203
|
+
e.off("wantsMoveToPano", s), e.off("modeChange", i), e.off("cameraUpdate", o), e.off("cameraUpdate", r), e.off("panoArrived", n), t.off("click", d), this.store.eventListenerDisposer = void 0;
|
|
215
204
|
};
|
|
216
205
|
}
|
|
217
206
|
addResizeListener() {
|
|
@@ -227,19 +216,19 @@ class je extends S {
|
|
|
227
216
|
return;
|
|
228
217
|
const e = this.five.getElement(), t = () => {
|
|
229
218
|
!this.state.enabled || (this.show(), this.updateRenderAllTags());
|
|
230
|
-
},
|
|
219
|
+
}, s = () => {
|
|
231
220
|
!this.state.enabled || this.hide();
|
|
232
|
-
}, { observe:
|
|
233
|
-
|
|
234
|
-
!this.store.resizeObserverDisposer ||
|
|
221
|
+
}, { observe: i, unobserve: o } = D(
|
|
222
|
+
N(() => {
|
|
223
|
+
!this.store.resizeObserverDisposer || s();
|
|
235
224
|
}, 500),
|
|
236
225
|
e
|
|
237
|
-
), { observe:
|
|
238
|
-
|
|
226
|
+
), { observe: r, unobserve: n } = D(
|
|
227
|
+
C(() => t(), 400),
|
|
239
228
|
e
|
|
240
229
|
);
|
|
241
|
-
return
|
|
242
|
-
o(),
|
|
230
|
+
return i(), r(), () => {
|
|
231
|
+
o(), n();
|
|
243
232
|
};
|
|
244
233
|
}
|
|
245
234
|
handleFiveModeChange(e) {
|
|
@@ -248,7 +237,7 @@ class je extends S {
|
|
|
248
237
|
handleFiveWantsMoveToPano() {
|
|
249
238
|
this.tags.forEach((e) => {
|
|
250
239
|
const t = this.getTagConfig(e);
|
|
251
|
-
typeof t.visibleConfig == "object" && t.visibleConfig.keep ? e.temporaryState = {
|
|
240
|
+
typeof t.visibleConfig == "object" && t.visibleConfig.keep ? e.temporaryState = c(f({}, e.temporaryState), { visible: t.visibleConfig.keep === "visible" }) : typeof t.visibleConfig == "object" && t.visibleConfig.alwaysShowWhenMovePano ? e.temporaryState = c(f({}, e.temporaryState), { visible: !0 }) : e.temporaryState = c(f({}, e.temporaryState), { visible: !1 });
|
|
252
241
|
}), this.updateRenderAllTags();
|
|
253
242
|
}
|
|
254
243
|
temporaryShow() {
|
|
@@ -262,9 +251,9 @@ class je extends S {
|
|
|
262
251
|
return;
|
|
263
252
|
if (!e.tag.state)
|
|
264
253
|
return console.warn("Clickhandler: params.tag.state is undefined");
|
|
265
|
-
const t = this.canBe("fold", e.tag),
|
|
266
|
-
t &&
|
|
267
|
-
|
|
254
|
+
const t = this.canBe("fold", e.tag), s = this.canBe("unfold", e.tag);
|
|
255
|
+
t && s && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((i) => {
|
|
256
|
+
i.id !== e.tag.id && i.state && this.canBe("fold", i) && (i.state.unfolded = !1);
|
|
268
257
|
}), this.updateRenderAllTags());
|
|
269
258
|
}
|
|
270
259
|
updateRenderAllTags() {
|
|
@@ -277,8 +266,8 @@ class je extends S {
|
|
|
277
266
|
temporaryState: this.temporaryState,
|
|
278
267
|
withAnimation: this.store.visibleWithAnimation
|
|
279
268
|
}), this.filter3DTag().forEach((t) => {
|
|
280
|
-
var
|
|
281
|
-
(
|
|
269
|
+
var s;
|
|
270
|
+
(s = t.tag3DContentSvelte) == null || s.svelteApp.$set({
|
|
282
271
|
state: this.state,
|
|
283
272
|
temporaryState: this.temporaryState,
|
|
284
273
|
withAnimation: this.store.visibleWithAnimation
|
|
@@ -286,26 +275,28 @@ class je extends S {
|
|
|
286
275
|
});
|
|
287
276
|
}
|
|
288
277
|
handleFiveCameraUpdateDebounce() {
|
|
289
|
-
return
|
|
278
|
+
return C(() => {
|
|
290
279
|
this.setUnfoldedByCamera(), this.updateRenderAllTags();
|
|
291
280
|
}, 100);
|
|
292
281
|
}
|
|
293
282
|
handleFiveCameraUpdate() {
|
|
294
283
|
this.updateRenderPointTag();
|
|
295
284
|
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
285
|
+
handleFivePanoArrived() {
|
|
286
|
+
return p(this, null, function* () {
|
|
287
|
+
yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
288
|
+
e.temporaryState = c(f({}, e.temporaryState), { visible: !0 });
|
|
289
|
+
}), this.updateRenderAllTags();
|
|
290
|
+
});
|
|
300
291
|
}
|
|
301
292
|
setUnfoldedByCamera() {
|
|
302
293
|
let e = !1;
|
|
303
294
|
this.tags.forEach((t) => {
|
|
304
|
-
const
|
|
305
|
-
!t.state ||
|
|
295
|
+
const s = this.getUnfoldedByCamera(t);
|
|
296
|
+
!t.state || s !== void 0 && (s === !0 && (e = !0), t.state.unfolded = s);
|
|
306
297
|
}), e && this.tags.forEach((t) => {
|
|
307
|
-
const
|
|
308
|
-
typeof
|
|
298
|
+
const s = this.getTagConfig(t).unfoldedConfig;
|
|
299
|
+
typeof s == "object" && (s.autoUnfold || s.disableFold || s.keep) || t.state && (t.state.unfolded = !1);
|
|
309
300
|
});
|
|
310
301
|
}
|
|
311
302
|
updateRenderPointTag() {
|
|
@@ -314,40 +305,40 @@ class je extends S {
|
|
|
314
305
|
if (this.setPointTagPosition(), this.TagContainerSvelte)
|
|
315
306
|
this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
|
|
316
307
|
else {
|
|
317
|
-
const
|
|
318
|
-
if (!
|
|
308
|
+
const s = (t = this.five.getElement()) == null ? void 0 : t.parentElement;
|
|
309
|
+
if (!s)
|
|
319
310
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
320
|
-
this.TagContainerSvelte = new
|
|
321
|
-
target:
|
|
311
|
+
this.TagContainerSvelte = new L({
|
|
312
|
+
target: s,
|
|
322
313
|
props: { hooks: this.hooks, tags: e, state: this.state, temporaryState: this.temporaryState, mediaStore: this.mediaStore }
|
|
323
314
|
});
|
|
324
315
|
}
|
|
325
316
|
}
|
|
326
317
|
updateRenderPlaneTag() {
|
|
327
318
|
[...this.filterPlaneTag(), ...this.filter3DPointTag()].forEach((t) => {
|
|
328
|
-
var
|
|
319
|
+
var s;
|
|
329
320
|
if (t.tag3DContentSvelte) {
|
|
330
|
-
const { svelteApp:
|
|
331
|
-
if (
|
|
321
|
+
const { svelteApp: i, domContainer: o, initialNormal: r, currentNormal: n } = t.tag3DContentSvelte;
|
|
322
|
+
if (i.$set({
|
|
332
323
|
tag: t,
|
|
333
324
|
hooks: this.hooks,
|
|
334
325
|
state: this.state,
|
|
335
326
|
temporaryState: this.temporaryState
|
|
336
|
-
}), !
|
|
337
|
-
const d = new
|
|
327
|
+
}), !r.equals(n)) {
|
|
328
|
+
const d = new k().setFromUnitVectors(r, n);
|
|
338
329
|
o.css3DObject.setRotationFromQuaternion(d);
|
|
339
330
|
}
|
|
340
331
|
} else {
|
|
341
|
-
if (((
|
|
332
|
+
if (((s = t.state) == null ? void 0 : s.visible) === !1)
|
|
342
333
|
return;
|
|
343
|
-
if (this.css3DRenderPlugin || (this.css3DRenderPlugin =
|
|
334
|
+
if (this.css3DRenderPlugin || (this.css3DRenderPlugin = j(this.five)), t.pointType === u.PointTag && !t.normal)
|
|
344
335
|
return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
|
|
345
|
-
const
|
|
346
|
-
if (!
|
|
336
|
+
const i = t.pointType === u.PlaneTag ? t.position : M(this.five.camera.position, g(t.position), g(t.normal)), o = t.pointType === u.PlaneTag ? I(t.position) : g(t.normal), r = this.getTagConfig(t).tag3DConfig, n = this.css3DRenderPlugin.create3DDomContainer(i, r);
|
|
337
|
+
if (!n)
|
|
347
338
|
return;
|
|
348
|
-
this.store.css3DRenderDisposer.set(t.id,
|
|
349
|
-
svelteApp: new
|
|
350
|
-
target:
|
|
339
|
+
this.store.css3DRenderDisposer.set(t.id, n.dispose), t.tag3DContentSvelte = {
|
|
340
|
+
svelteApp: new B({
|
|
341
|
+
target: n.container,
|
|
351
342
|
props: {
|
|
352
343
|
tag: t,
|
|
353
344
|
hooks: this.hooks,
|
|
@@ -356,7 +347,7 @@ class je extends S {
|
|
|
356
347
|
temporaryState: this.temporaryState
|
|
357
348
|
}
|
|
358
349
|
}),
|
|
359
|
-
domContainer:
|
|
350
|
+
domContainer: n,
|
|
360
351
|
initialNormal: o,
|
|
361
352
|
currentNormal: o
|
|
362
353
|
};
|
|
@@ -371,16 +362,16 @@ class je extends S {
|
|
|
371
362
|
checkPanelTag() {
|
|
372
363
|
this.tags.forEach((e) => {
|
|
373
364
|
var t;
|
|
374
|
-
e.dimensionType ===
|
|
365
|
+
e.dimensionType === y.Two && e.pointType === u.PointTag && ((t = e.tag3DContentSvelte) == null || t.domContainer.dispose(), e.tag3DContentSvelte = void 0);
|
|
375
366
|
});
|
|
376
367
|
for (const [e, t] of this.store.css3DRenderDisposer) {
|
|
377
|
-
const
|
|
378
|
-
(!
|
|
368
|
+
const s = this.getTagById(e);
|
|
369
|
+
(!s || s.dimensionType !== y.Three) && (t == null || t(), this.store.css3DRenderDisposer.delete(e));
|
|
379
370
|
}
|
|
380
371
|
}
|
|
381
372
|
}
|
|
382
373
|
export {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
374
|
+
ae as PanoTagPluginController,
|
|
375
|
+
ae as default,
|
|
376
|
+
re as pluginFlag
|
|
386
377
|
};
|
|
@@ -1,71 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { default as
|
|
3
|
-
|
|
4
|
-
import "@realsee/five";
|
|
5
|
-
import "three";
|
|
6
|
-
import "../TagComputer.2bc444dc.js";
|
|
7
|
-
import "./tag.config.js";
|
|
8
|
-
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
9
|
-
import "./utils/planeNormal.js";
|
|
10
|
-
import "./utils/tagPosition.js";
|
|
11
|
-
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
12
|
-
import "./utils/checkRange.js";
|
|
13
|
-
import "./controller/TagCacheController.js";
|
|
14
|
-
import "../base/BasePlugin.js";
|
|
15
|
-
import "../shared-utils/Subscribe.js";
|
|
16
|
-
import "../index.ad783a2f.js";
|
|
17
|
-
import "../index.164f1850.js";
|
|
18
|
-
import "./Components/TagContainer.js";
|
|
19
|
-
import "./Components/TagWrapper.js";
|
|
20
|
-
import "./utils/noTypecheck.js";
|
|
21
|
-
import "./Components/Tag/index.js";
|
|
22
|
-
import "./Components/Tag/TextTag.js";
|
|
23
|
-
import "./Components/Common/Line/Straight.js";
|
|
24
|
-
import "../index.dca207cb.js";
|
|
25
|
-
import "../index.6a0eead1.js";
|
|
26
|
-
import "../shared-utils/uuid.js";
|
|
27
|
-
import "./Components/Common/Shadow.js";
|
|
28
|
-
import "./Components/Common/MultiLineText.js";
|
|
29
|
-
import "./Components/Common/Text.js";
|
|
30
|
-
import "../shared-utils/isNil.js";
|
|
31
|
-
import "./utils/search.js";
|
|
32
|
-
import "./utils/constants.js";
|
|
33
|
-
import "./Components/Common/Arrow.js";
|
|
34
|
-
import "./Assets/Icon.js";
|
|
35
|
-
import "./utils/doUtil.js";
|
|
36
|
-
import "./Components/Tag/ImageTextTag.js";
|
|
37
|
-
import "./Components/Common/Line/Polyline.js";
|
|
38
|
-
import "./Components/Common/Media.js";
|
|
39
|
-
import "./Components/Common/MediaItem.js";
|
|
40
|
-
import "./Components/Tag/MarketingTag.js";
|
|
41
|
-
import "./Components/Tag/AudioTag.js";
|
|
42
|
-
import "./Components/Common/Audio.js";
|
|
43
|
-
import "./Components/Tag/MediaPlane.js";
|
|
44
|
-
import "./Components/Tag/LinkTag.js";
|
|
45
|
-
import "./Components/Tag/CustomTag.js";
|
|
46
|
-
import "./Components/Common/Point/PointSwitch.js";
|
|
47
|
-
import "./Components/Common/Point/CustomPoint.js";
|
|
48
|
-
import "./Components/Common/Point/DefaultPoint.js";
|
|
49
|
-
import "./utils/addDebugPoints.js";
|
|
50
|
-
import "./utils/actionAfterFiveModelLoad.js";
|
|
51
|
-
import "./utils/normalPositionToPositions.js";
|
|
52
|
-
import "./utils/debounce.js";
|
|
53
|
-
import "./utils/throttle.js";
|
|
54
|
-
import "./utils/resizeObserver.js";
|
|
55
|
-
import "../CSS3DRenderPlugin/index.js";
|
|
56
|
-
import "../CSS3DRenderPlugin/Controller.js";
|
|
57
|
-
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
58
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
59
|
-
import "../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
60
|
-
import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
61
|
-
const eo = (o, t) => new r(o, t);
|
|
1
|
+
import l from "./controller/index.js";
|
|
2
|
+
import { default as e, pluginFlag as u } from "./controller/index.js";
|
|
3
|
+
const r = (o, a) => new l(o, a);
|
|
62
4
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
go as PanoTagPluginController,
|
|
68
|
-
yo as PointType,
|
|
69
|
-
eo as default,
|
|
70
|
-
Po as pluginFlag
|
|
5
|
+
r as PanoTagPlugin,
|
|
6
|
+
e as PanoTagPluginController,
|
|
7
|
+
r as default,
|
|
8
|
+
u as pluginFlag
|
|
71
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function o(e, r) {
|
|
2
|
-
if (!r || typeof ResizeObserver
|
|
2
|
+
if (!r || typeof ResizeObserver == "undefined" || !ResizeObserver)
|
|
3
3
|
return {
|
|
4
4
|
observe: () => window.addEventListener("resize", e),
|
|
5
5
|
unobserve: () => window.removeEventListener("resize", e)
|