@realsee/dnalogel 2.16.0-2 → 2.16.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/Controller.d.ts +0 -1
- package/dist/CruisePlugin/Controller.d.ts +2 -1
- package/dist/CruisePlugin/typing.d.ts +2 -12
- package/dist/GuideLinePlugin/Controller.d.ts +12 -20
- package/dist/GuideLinePlugin/index.d.ts +0 -4
- package/dist/GuideLinePlugin/typing.d.ts +1 -70
- package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +5 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -3
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +4 -1
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +69 -0
- package/dist/base/BasePlugin.d.ts +0 -1
- package/dist/index.cjs.js +115 -162
- package/dist/index.js +5234 -5141
- package/dist/index.umd.js +116 -163
- package/dist/shared-utils/five/FiveDomEvents.d.ts +11 -0
- package/dist/shared-utils/index.d.ts +0 -3
- package/dist/shared-utils/logger.d.ts +17 -0
- package/dist/shared-utils/math/pointIsRectangle.d.ts +2 -0
- package/dist/shared-utils/offscreenCanvas.d.ts +2 -0
- package/dist/shared-utils/three/Quadrangle.d.ts +20 -0
- package/dist/shared-utils/three/getPositionsByObjectFit.d.ts +2 -0
- package/dist/shared-utils/three/loadVideoTexture.d.ts +4 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -34
- package/docs/classes/CruisePluginController.html +27 -46
- package/docs/classes/Magnifier.html +20 -23
- package/docs/classes/ModelRoomLabelController.html +11 -14
- package/docs/classes/Object3DHelperController.html +24 -43
- package/docs/classes/PaintBrush.html +15 -18
- package/docs/classes/PanoMeasurePluginLine.html +23 -26
- package/docs/classes/PanoMeasurePluginModel.html +22 -25
- package/docs/classes/PanoMeasurePluginPoint.html +14 -17
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -29
- package/docs/classes/PanoTagPluginController.html +65 -84
- package/docs/classes/Util.BetterTween.html +8 -11
- package/docs/classes/Util.FivePointSelector.html +12 -15
- package/docs/classes/Util.Interval.html +12 -15
- package/docs/classes/Util.Magnifier.html +17 -20
- package/docs/classes/Util.PointDomHelper.html +11 -14
- package/docs/classes/Util.PointHelper.html +11 -14
- package/docs/classes/Util.Rectangle.html +13 -16
- package/docs/enums/CameraMovementEffect.html +7 -10
- package/docs/enums/ContentType.html +19 -22
- package/docs/enums/DIRECTION.html +9 -12
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -12
- package/docs/enums/DimensionType.html +7 -10
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -11
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -12
- package/docs/enums/PaintBrushTypeEnum.html +8 -11
- package/docs/enums/Rotation.html +8 -11
- package/docs/functions/CSS3DRenderPlugin.html +5 -7
- package/docs/functions/CameraMovementPlugin.html +5 -7
- package/docs/functions/CruisePlugin.html +5 -7
- package/docs/functions/GuideLinePlugin.html +6 -8
- package/docs/functions/ItemLabelPlugin.html +5 -7
- package/docs/functions/MapviewFloorplanPlugin.html +5 -7
- package/docs/functions/ModelChassisCompassPlugin.html +5 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -7
- package/docs/functions/ModelFloorplanPlugin.html +5 -7
- package/docs/functions/ModelItemLabelPlugin.html +5 -7
- package/docs/functions/ModelRoomLabelPlugin.html +5 -7
- package/docs/functions/ModelTVVideoPlugin.html +5 -7
- package/docs/functions/ModelViewPlugin.html +5 -7
- package/docs/functions/Object3DHelperPlugin.html +5 -7
- package/docs/functions/PanoCompassPlugin.html +5 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -7
- package/docs/functions/PanoDoorLabelPlugin.html +5 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -7
- package/docs/functions/PanoMeasurePlugin.html +5 -7
- package/docs/functions/PanoRulerPlugin.html +5 -7
- package/docs/functions/PanoRulerProPlugin.html +5 -7
- package/docs/functions/PanoSpatialTagPlugin.html +5 -7
- package/docs/functions/PanoTagPlugin.html +5 -7
- package/docs/functions/PanoVideoPlugin.html +5 -7
- package/docs/functions/TopviewFloorplanPlugin.html +5 -7
- package/docs/functions/Util.getCoordsFromClient.html +6 -13
- package/docs/functions/Util.getCoordsFromElement.html +6 -13
- package/docs/functions/Util.getFrameTime.html +6 -13
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -13
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -13
- package/docs/functions/Util.isNil.html +6 -13
- package/docs/functions/Util.nextFrame.html +6 -13
- package/docs/functions/Util.notNil.html +6 -13
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -13
- package/docs/functions/Util.tweenProgress.html +6 -13
- package/docs/functions/pluginFlag.html +6 -8
- package/docs/index.html +5 -7
- package/docs/interfaces/AddTagConfig.html +6 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -14
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -11
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -10
- package/docs/interfaces/EventMap.html +15 -18
- package/docs/interfaces/FloorplanBounding.html +8 -11
- package/docs/interfaces/FloorplanData.html +10 -13
- package/docs/interfaces/FloorplanEntrance.html +11 -14
- package/docs/interfaces/FloorplanExtraObject.html +10 -13
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -11
- package/docs/interfaces/FloorplanFloorData.html +9 -12
- package/docs/interfaces/FloorplanImagePosition.html +7 -10
- package/docs/interfaces/FloorplanObserver.html +9 -12
- package/docs/interfaces/FloorplanOutlineItem.html +9 -12
- package/docs/interfaces/FloorplanPosition.html +7 -10
- package/docs/interfaces/FloorplanRoomItem.html +13 -16
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -10
- package/docs/interfaces/FloorplanServerBounding.html +8 -11
- package/docs/interfaces/FloorplanServerComputedData.html +10 -13
- package/docs/interfaces/FloorplanServerData.html +7 -10
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -13
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -11
- package/docs/interfaces/FloorplanServerEntrance.html +11 -14
- package/docs/interfaces/FloorplanServerFloorData.html +9 -12
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -10
- package/docs/interfaces/FloorplanServerObserver.html +9 -12
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -12
- package/docs/interfaces/FloorplanServerPosition.html +7 -10
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -17
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -10
- package/docs/interfaces/HelperOffset.html +8 -11
- package/docs/interfaces/ImagePlaneGroup.html +6 -9
- package/docs/interfaces/ItemLabelPluginData.html +6 -9
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -14
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -12
- package/docs/interfaces/MinMax.html +7 -10
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -10
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -11
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -11
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -11
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -9
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -14
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -10
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -9
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -12
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -11
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -9
- package/docs/interfaces/ModelViewPluginExportType.html +11 -14
- package/docs/interfaces/Object3DHelperState.html +8 -11
- package/docs/interfaces/ObjectHelperControllers.html +9 -12
- package/docs/interfaces/PaintBrushAction.html +12 -15
- package/docs/interfaces/PaintBrushConfigs.html +12 -15
- package/docs/interfaces/PaintBrushState.html +10 -13
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -13
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -8
- package/docs/interfaces/PanoMeasureParameterType.html +14 -17
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -11
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -10
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -10
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -13
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -10
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -11
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -12
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -10
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -10
- package/docs/interfaces/PanoRulerProPluginState.html +8 -11
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -14
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -13
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -16
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -13
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -16
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -14
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -13
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -9
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -11
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -9
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -18
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -9
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -11
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -13
- package/docs/interfaces/Point.html +8 -11
- package/docs/interfaces/Room.html +9 -12
- package/docs/interfaces/RoomInfo.html +7 -10
- package/docs/interfaces/RoomLabel.html +14 -17
- package/docs/interfaces/RoomRules.html +6 -8
- package/docs/interfaces/Rooms.html +6 -8
- package/docs/interfaces/Scissor.html +9 -12
- package/docs/interfaces/State.html +8 -11
- package/docs/interfaces/TagCacheInterface.html +12 -15
- package/docs/interfaces/TagConfig.html +11 -14
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -9
- package/docs/interfaces/TagIconUrl.html +11 -14
- package/docs/interfaces/TagObjectGroup.html +6 -9
- package/docs/interfaces/TagStyle.html +6 -9
- package/docs/interfaces/Tags.html +10 -13
- package/docs/interfaces/TemporaryState.html +6 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -14
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -11
- package/docs/modules/PanoVideoPluginType.html +5 -8
- package/docs/modules/Util.html +6 -17
- package/docs/modules.html +7 -11
- package/docs/types/ArrayPosition.html +6 -8
- package/docs/types/AudioAppearance.html +6 -8
- package/docs/types/AudioTagTypeConfigKey.html +6 -8
- package/docs/types/CSS3DRenderExportType.html +6 -8
- package/docs/types/CSS3DRenderPluginExportType.html +6 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -8
- package/docs/types/ClassFunctionParameters.html +6 -8
- package/docs/types/Color.html +6 -8
- package/docs/types/ContentTypeConfigKey.html +6 -8
- package/docs/types/ContentTypeConfigKeySplit.html +6 -8
- package/docs/types/ContentTypeMap.html +6 -8
- package/docs/types/Create3DDomContainerReturnType.html +6 -8
- package/docs/types/Create3DElementReturnType.html +6 -8
- package/docs/types/CruisePluginExportType.html +6 -8
- package/docs/types/Direction-1.html +6 -8
- package/docs/types/Direction4.html +6 -8
- package/docs/types/ElementRenderer.html +288 -0
- package/docs/types/FloorplanRuleLabels.html +6 -8
- package/docs/types/FloorplanServerRuleLabels.html +6 -8
- package/docs/types/GuideLinePluginExportType.html +6 -8
- package/docs/types/HelperEventMap.html +6 -8
- package/docs/types/LoadTagConfig.html +6 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -8
- package/docs/types/MediaData.html +6 -8
- package/docs/types/MediaStore.html +6 -8
- package/docs/types/ModelElement.html +6 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -8
- package/docs/types/MoveArgs.html +6 -8
- package/docs/types/MoveOpts.html +6 -8
- package/docs/types/Object3DHelperEventMap.html +6 -8
- package/docs/types/ObjectFit.html +6 -8
- package/docs/types/PaintBrushEventMap.html +6 -8
- package/docs/types/PanoCompassPluginData.html +6 -8
- package/docs/types/PanoCompassPluginExportType.html +6 -8
- package/docs/types/PanoCompassPluginParameterType.html +6 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -8
- package/docs/types/PanoIndex.html +6 -8
- package/docs/types/PanoMeasurePluginEvent.html +6 -8
- package/docs/types/PanoMeasureReturnType.html +6 -8
- package/docs/types/PanoSpatialTagPluginId.html +6 -8
- package/docs/types/PanoTagPluginExportInterface.html +6 -8
- package/docs/types/PanoTagPluginParamsInterface.html +6 -8
- package/docs/types/PanoVideoPluginParameterType.html +6 -8
- package/docs/types/PanoVideoPluginReturnType.html +6 -8
- package/docs/types/PlaneTag.html +6 -8
- package/docs/types/PlaneTagElement.html +6 -8
- package/docs/types/Point2DElement.html +6 -8
- package/docs/types/Point2DTag.html +6 -8
- package/docs/types/Point3DElement.html +6 -8
- package/docs/types/Point3DTag.html +6 -8
- package/docs/types/PointTag.html +6 -8
- package/docs/types/PointTagElement.html +6 -8
- package/docs/types/Position.html +6 -8
- package/docs/types/RotateArgs.html +6 -8
- package/docs/types/RotateOpts.html +6 -8
- package/docs/types/RuleLabelsKey.html +6 -8
- package/docs/types/RuleLabelsValue.html +6 -8
- package/docs/types/StickType.html +6 -8
- package/docs/types/Tag.html +7 -9
- package/docs/types/Tag2D.html +6 -8
- package/docs/types/Tag3D.html +6 -8
- package/docs/types/TagContentType.html +6 -8
- package/docs/types/TagDimensionType.html +6 -8
- package/docs/types/TagElement.html +7 -9
- package/docs/types/TagEvents.html +6 -8
- package/docs/types/TagGLTFObject.html +7 -9
- package/docs/types/TagHooks.html +6 -8
- package/docs/types/TagIconSize.html +6 -8
- package/docs/types/TagId.html +6 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -8
- package/docs/types/WorkCode.html +6 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -8
- package/docs/variables/PLUGIN.html +6 -8
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -8
- package/docs/variables/ROOM_TYPE_MAP.html +6 -8
- package/docs/variables/itemLabelPluginServerParams.html +6 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -8
- package/libs/CSS3DRenderPlugin/Controller.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/Controller.js +31 -40
- package/libs/CSS3DRenderPlugin/index.js +6 -12
- package/libs/CruisePlugin/Controller.d.ts +2 -1
- package/libs/CruisePlugin/Controller.js +174 -197
- package/libs/CruisePlugin/index.js +10 -33
- package/libs/CruisePlugin/typing.d.ts +2 -12
- package/libs/GuideLinePlugin/Controller.d.ts +12 -20
- package/libs/GuideLinePlugin/Controller.js +88 -125
- package/libs/GuideLinePlugin/index.d.ts +0 -4
- package/libs/GuideLinePlugin/index.js +7 -33
- package/libs/GuideLinePlugin/typing.d.ts +1 -70
- package/libs/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +64 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +45 -53
- package/libs/ModelTVVideoPlugin/index.js +5 -11
- package/libs/Object3DHelperPlugin/Controller.js +28 -33
- package/libs/Object3DHelperPlugin/index.js +13 -18
- package/libs/PanoCompassPlugin/Controller.js +6 -8
- package/libs/PanoCompassPlugin/index.js +10 -12
- package/libs/PanoDoorLabelPlugin/BaseController.js +28 -47
- package/libs/PanoDoorLabelPlugin/Controller.js +22 -40
- package/libs/PanoDoorLabelPlugin/index.js +3 -21
- package/libs/PanoMeasurePlugin/typings/index.js +1 -20
- package/libs/PanoSpatialTagPlugin/Plugin.js +3 -8
- package/libs/PanoSpatialTagPlugin/index.js +3 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +4 -2
- package/libs/PanoTagPlugin/Components/Common/Media.js +49 -49
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +4 -2
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +13 -11
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +20 -18
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +38 -36
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +25 -23
- package/libs/PanoTagPlugin/Components/Tag/index.js +26 -25
- package/libs/PanoTagPlugin/Components/TagContainer.js +4 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +4 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +22 -42
- package/libs/PanoTagPlugin/controller/TagComputer.js +4 -5
- package/libs/PanoTagPlugin/controller/TagRender.js +82 -63
- package/libs/PanoTagPlugin/controller/TagUtil.js +13 -20
- package/libs/PanoTagPlugin/controller/index.js +22 -15
- package/libs/PanoTagPlugin/index.js +17 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +5 -2
- package/libs/PanoTagPlugin/typings/index.js +6 -4
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +4 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.js +2 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -2
- package/libs/PanoTagPlugin/utils/index.js +35 -33
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +69 -0
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +214 -0
- package/libs/PanoTagPlugin/utils/planeNormal.js +4 -2
- package/libs/PanoTagPlugin/utils/tagPosition.js +9 -7
- package/libs/PanoVideoPlugin/Controller.js +3 -4
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +6 -7
- package/libs/base/BasePlugin.d.ts +0 -1
- package/libs/base/BasePlugin.js +10 -21
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +38 -57
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -22
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +29 -48
- package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -22
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +11 -31
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -23
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +40 -59
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -22
- package/libs/floorplan/index.js +0 -6
- package/libs/index.js +120 -118
- package/libs/shared-utils/five/FiveDomEvents.d.ts +11 -0
- package/libs/shared-utils/five/FiveDomEvents.js +77 -0
- package/libs/shared-utils/index.d.ts +0 -3
- package/libs/shared-utils/index.js +29 -36
- package/libs/shared-utils/logger.d.ts +17 -0
- package/libs/shared-utils/logger.js +16 -0
- package/libs/shared-utils/math/pointIsRectangle.d.ts +2 -0
- package/libs/shared-utils/math/pointIsRectangle.js +10 -0
- package/libs/shared-utils/offscreenCanvas.d.ts +2 -0
- package/libs/shared-utils/offscreenCanvas.js +12 -0
- package/libs/shared-utils/three/PointDomHelper.js +1 -1
- package/libs/shared-utils/three/Quadrangle.d.ts +20 -0
- package/libs/shared-utils/three/Quadrangle.js +41 -0
- package/libs/shared-utils/three/getPositionsByObjectFit.d.ts +2 -0
- package/libs/shared-utils/three/getPositionsByObjectFit.js +20 -0
- package/libs/shared-utils/three/loadTexture.js +19 -21
- package/libs/shared-utils/three/loadVideoTexture.d.ts +4 -0
- package/libs/shared-utils/three/loadVideoTexture.js +14 -0
- package/package.json +2 -2
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +0 -26
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -64
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -19
- package/dist/GuideLinePlugin/utils/index.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/model/imagePlane.d.ts +0 -9
- package/dist/shared-utils/five/index.d.ts +0 -1
- package/dist/shared-utils/five/mode.d.ts +0 -3
- package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/dist/shared-utils/log.d.ts +0 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -169
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -344
- package/docs/functions/Util.isAbsoluteURL.html +0 -79
- package/docs/functions/Util.isModelLike.html +0 -79
- package/docs/functions/Util.isPanoramaLike.html +0 -79
- package/docs/functions/Util.uuid.html +0 -76
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -97
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -258
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -92
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -87
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -108
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -85
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +0 -76
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -71
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -82
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -99
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -103
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -92
- package/docs/modules/GuideLineItem.html +0 -53
- package/docs/modules/GuideLineModeItem.html +0 -53
- package/docs/modules/GuideLinePluginType.html +0 -99
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -67
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -65
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -67
- package/docs/types/GuideLinePluginType.PathItem.html +0 -67
- package/docs/types/GuideLinePluginType.PluginData.html +0 -65
- package/libs/GuideLinePlugin/GuideLineItem/index.js +0 -35
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +0 -26
- package/libs/GuideLinePlugin/GuideLineItem.js +0 -31
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +0 -231
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -64
- package/libs/GuideLinePlugin/GuideLineModeItem.js +0 -29
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -19
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +0 -35
- package/libs/GuideLinePlugin/utils/dataFormatter.d.ts +0 -2
- package/libs/GuideLinePlugin/utils/dataFormatter.js +0 -6
- package/libs/GuideLinePlugin/utils/index.d.ts +0 -7
- package/libs/GuideLinePlugin/utils/index.js +0 -32
- package/libs/PanoTagPlugin/utils/model/imagePlane.d.ts +0 -9
- package/libs/PanoTagPlugin/utils/model/imagePlane.js +0 -33
- package/libs/shared-utils/five/index.d.ts +0 -1
- package/libs/shared-utils/five/index.js +0 -1
- package/libs/shared-utils/five/mode.d.ts +0 -3
- package/libs/shared-utils/five/mode.js +0 -11
- package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/libs/shared-utils/isAbsoluteURL.js +0 -6
- package/libs/shared-utils/log.d.ts +0 -2
- package/libs/shared-utils/log.js +0 -10
|
@@ -8,6 +8,8 @@ import "three";
|
|
|
8
8
|
import "../../utils/noTypecheck.js";
|
|
9
9
|
import "@realsee/five/gltf-loader";
|
|
10
10
|
import "../../../shared-utils/three/loadTexture.js";
|
|
11
|
+
import "@realsee/five";
|
|
12
|
+
import "../../../shared-utils/threex/domevents/index.js";
|
|
11
13
|
import "../../utils/getImageInfo.js";
|
|
12
14
|
import "../../utils/px2rem.js";
|
|
13
15
|
function O(t) {
|
|
@@ -99,11 +101,11 @@ function V(t, n, a) {
|
|
|
99
101
|
s
|
|
100
102
|
];
|
|
101
103
|
}
|
|
102
|
-
class
|
|
104
|
+
class ft extends F {
|
|
103
105
|
constructor(n) {
|
|
104
106
|
super(), M(this, n, V, Q, U, { tag: 6 }, O);
|
|
105
107
|
}
|
|
106
108
|
}
|
|
107
109
|
export {
|
|
108
|
-
|
|
110
|
+
ft as default
|
|
109
111
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as T, init as C, safe_not_equal as F, append_styles as Y, space as q, empty as A, insert as
|
|
1
|
+
import { SvelteComponent as T, init as C, safe_not_equal as F, append_styles as Y, space as q, empty as A, insert as c, transition_in as u, transition_out as a, check_outros as h, detach as d, element as z, create_component as H, attr as D, set_style as v, mount_component as U, destroy_component as N, group_outros as y, binding_callbacks as B } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import M from "./FlyText.js";
|
|
3
3
|
import j from "../Arrow.js";
|
|
4
4
|
import G from "../../../utils/doUtil.js";
|
|
@@ -8,6 +8,8 @@ import "../../../../shared-utils/isNil.js";
|
|
|
8
8
|
import "three";
|
|
9
9
|
import "@realsee/five/gltf-loader";
|
|
10
10
|
import "../../../../shared-utils/three/loadTexture.js";
|
|
11
|
+
import "@realsee/five";
|
|
12
|
+
import "../../../../shared-utils/threex/domevents/index.js";
|
|
11
13
|
import "../../../utils/search.js";
|
|
12
14
|
import "../../../utils/constants.js";
|
|
13
15
|
import "../../../../vendor/svelte/transition/index.js";
|
|
@@ -31,7 +33,7 @@ function w(o) {
|
|
|
31
33
|
r = z("div"), H(t.$$.fragment), D(r, "class", "text svelte-1fuzm7v"), v(r, "transform", o[7]);
|
|
32
34
|
},
|
|
33
35
|
m(e, i) {
|
|
34
|
-
|
|
36
|
+
c(e, r, i), U(t, r, null), o[10](r), l = !0;
|
|
35
37
|
},
|
|
36
38
|
p(e, i) {
|
|
37
39
|
const n = {};
|
|
@@ -62,7 +64,7 @@ function k(o) {
|
|
|
62
64
|
r = z("div"), H(t.$$.fragment), D(r, "class", "arrow svelte-1fuzm7v");
|
|
63
65
|
},
|
|
64
66
|
m(e, i) {
|
|
65
|
-
|
|
67
|
+
c(e, r, i), U(t, r, null), l = !0;
|
|
66
68
|
},
|
|
67
69
|
p(e, i) {
|
|
68
70
|
const n = {};
|
|
@@ -86,7 +88,7 @@ function J(o) {
|
|
|
86
88
|
e && e.c(), r = q(), i && i.c(), t = A();
|
|
87
89
|
},
|
|
88
90
|
m(n, f) {
|
|
89
|
-
e && e.m(n, f),
|
|
91
|
+
e && e.m(n, f), c(n, r, f), i && i.m(n, f), c(n, t, f), l = !0;
|
|
90
92
|
},
|
|
91
93
|
p(n, [f]) {
|
|
92
94
|
n[1] ? e ? (e.p(n, f), f & 2 && u(e, 1)) : (e = w(n), e.c(), u(e, 1), e.m(r.parentNode, r)) : e && (y(), a(e, 1, 1, () => {
|
|
@@ -107,7 +109,7 @@ function J(o) {
|
|
|
107
109
|
};
|
|
108
110
|
}
|
|
109
111
|
function K(o, r, t) {
|
|
110
|
-
let l, e, i, { visible: n = !1 } = r, { textUnfolded: f = !1 } = r, { content: _ } = r, m, g = 0, b = 0,
|
|
112
|
+
let l, e, i, { visible: n = !1 } = r, { textUnfolded: f = !1 } = r, { content: _ } = r, m, g = 0, b = 0, p = 0;
|
|
111
113
|
function S(s) {
|
|
112
114
|
B[s ? "unshift" : "push"](() => {
|
|
113
115
|
m = s, t(2, m);
|
|
@@ -118,17 +120,17 @@ function K(o, r, t) {
|
|
|
118
120
|
}, o.$$.update = () => {
|
|
119
121
|
if (o.$$.dirty & 7 && m && n && _) {
|
|
120
122
|
const { lineHeight: s } = getComputedStyle(m);
|
|
121
|
-
t(4,
|
|
122
|
-
t(4,
|
|
123
|
+
t(4, p = m.offsetHeight), G(() => m == null ? void 0 : m.offsetHeight, Boolean).then(() => {
|
|
124
|
+
t(4, p = m.offsetHeight);
|
|
123
125
|
}), t(3, b = Number(s.replace("px", "")));
|
|
124
126
|
}
|
|
125
|
-
o.$$.dirty & 280 && t(9, g = f ? b -
|
|
127
|
+
o.$$.dirty & 280 && t(9, g = f ? b - p : 0), o.$$.dirty & 512 && t(7, l = `translateY(${g}px)`), o.$$.dirty & 256 && t(6, e = f ? "left" : "right"), o.$$.dirty & 256 && t(5, i = f ? 450 : 0);
|
|
126
128
|
}, [
|
|
127
129
|
n,
|
|
128
130
|
_,
|
|
129
131
|
m,
|
|
130
132
|
b,
|
|
131
|
-
|
|
133
|
+
p,
|
|
132
134
|
i,
|
|
133
135
|
e,
|
|
134
136
|
l,
|
|
@@ -137,11 +139,11 @@ function K(o, r, t) {
|
|
|
137
139
|
S
|
|
138
140
|
];
|
|
139
141
|
}
|
|
140
|
-
class
|
|
142
|
+
class le extends T {
|
|
141
143
|
constructor(r) {
|
|
142
144
|
super(), C(this, r, K, J, F, { visible: 0, textUnfolded: 8, content: 1 }, I);
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
export {
|
|
146
|
-
|
|
148
|
+
le as default
|
|
147
149
|
};
|
|
@@ -5,6 +5,8 @@ import { notNil as z } from "../../../../shared-utils/isNil.js";
|
|
|
5
5
|
import "three";
|
|
6
6
|
import "@realsee/five/gltf-loader";
|
|
7
7
|
import "../../../../shared-utils/three/loadTexture.js";
|
|
8
|
+
import "@realsee/five";
|
|
9
|
+
import "../../../../shared-utils/threex/domevents/index.js";
|
|
8
10
|
import { searchFirstValueSmallThanLastValue as H } from "../../../utils/search.js";
|
|
9
11
|
import { RANDON_STRING as b } from "../../../utils/constants.js";
|
|
10
12
|
function K(i) {
|
|
@@ -173,7 +175,7 @@ function $(i, e, o) {
|
|
|
173
175
|
P
|
|
174
176
|
];
|
|
175
177
|
}
|
|
176
|
-
class
|
|
178
|
+
class fe extends J {
|
|
177
179
|
constructor(e) {
|
|
178
180
|
super(), V(
|
|
179
181
|
this,
|
|
@@ -193,5 +195,5 @@ class ue extends J {
|
|
|
193
195
|
}
|
|
194
196
|
}
|
|
195
197
|
export {
|
|
196
|
-
|
|
198
|
+
fe as default
|
|
197
199
|
};
|
|
@@ -16,6 +16,8 @@ import "../../../../shared-utils/isNil.js";
|
|
|
16
16
|
import "three";
|
|
17
17
|
import "@realsee/five/gltf-loader";
|
|
18
18
|
import "../../../../shared-utils/three/loadTexture.js";
|
|
19
|
+
import "@realsee/five";
|
|
20
|
+
import "../../../../shared-utils/threex/domevents/index.js";
|
|
19
21
|
import "../../../utils/search.js";
|
|
20
22
|
import "../../../utils/constants.js";
|
|
21
23
|
import "../../Common/Arrow.js";
|
|
@@ -224,11 +226,11 @@ function de(e, i, n) {
|
|
|
224
226
|
u
|
|
225
227
|
];
|
|
226
228
|
}
|
|
227
|
-
class
|
|
229
|
+
class Ne extends J {
|
|
228
230
|
constructor(i) {
|
|
229
231
|
super(), K(this, i, de, ue, P, { tag: 0 }, se);
|
|
230
232
|
}
|
|
231
233
|
}
|
|
232
234
|
export {
|
|
233
|
-
|
|
235
|
+
Ne as default
|
|
234
236
|
};
|
|
@@ -16,6 +16,8 @@ import "../../../../shared-utils/isNil.js";
|
|
|
16
16
|
import "three";
|
|
17
17
|
import "@realsee/five/gltf-loader";
|
|
18
18
|
import "../../../../shared-utils/three/loadTexture.js";
|
|
19
|
+
import "@realsee/five";
|
|
20
|
+
import "../../../../shared-utils/threex/domevents/index.js";
|
|
19
21
|
import "../../../utils/search.js";
|
|
20
22
|
import "../../../utils/constants.js";
|
|
21
23
|
import "../../Common/Arrow.js";
|
|
@@ -116,11 +118,11 @@ function N(n, t, o) {
|
|
|
116
118
|
n.$$.dirty & 1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
|
|
117
119
|
}, [r, e, p];
|
|
118
120
|
}
|
|
119
|
-
class
|
|
121
|
+
class at extends g {
|
|
120
122
|
constructor(t) {
|
|
121
123
|
super(), $(this, t, N, C, k, { tag: 0 });
|
|
122
124
|
}
|
|
123
125
|
}
|
|
124
126
|
export {
|
|
125
|
-
|
|
127
|
+
at as default
|
|
126
128
|
};
|
|
@@ -9,6 +9,8 @@ import "../../../shared-utils/isNil.js";
|
|
|
9
9
|
import "three";
|
|
10
10
|
import "@realsee/five/gltf-loader";
|
|
11
11
|
import "../../../shared-utils/three/loadTexture.js";
|
|
12
|
+
import "@realsee/five";
|
|
13
|
+
import "../../../shared-utils/threex/domevents/index.js";
|
|
12
14
|
import "../../utils/search.js";
|
|
13
15
|
import "../../utils/constants.js";
|
|
14
16
|
import "../../../vendor/svelte/transition/index.js";
|
|
@@ -48,7 +50,7 @@ function V(l) {
|
|
|
48
50
|
z(l, "svelte-1f7m1lj", ".line.svelte-1f7m1lj{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%)}.text.svelte-1f7m1lj{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;font-weight:600}.media-wrapper.svelte-1f7m1lj{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;font-weight:600}");
|
|
49
51
|
}
|
|
50
52
|
function I(l) {
|
|
51
|
-
let r, o, t, e, m,
|
|
53
|
+
let r, o, t, e, m, p, s, d;
|
|
52
54
|
r = new M({
|
|
53
55
|
props: {
|
|
54
56
|
visible: l[3],
|
|
@@ -67,18 +69,18 @@ function I(l) {
|
|
|
67
69
|
let f = l[2] && N(l), n = l[1] && P(l);
|
|
68
70
|
return {
|
|
69
71
|
c() {
|
|
70
|
-
b(r.$$.fragment), o = v(), t = h("div"), b(e.$$.fragment), m = v(), f && f.c(),
|
|
72
|
+
b(r.$$.fragment), o = v(), t = h("div"), b(e.$$.fragment), m = v(), f && f.c(), p = v(), n && n.c(), s = S(), j(t, "class", "line svelte-1f7m1lj");
|
|
71
73
|
},
|
|
72
|
-
m(i,
|
|
73
|
-
g(r, i,
|
|
74
|
+
m(i, a) {
|
|
75
|
+
g(r, i, a), c(i, o, a), c(i, t, a), g(e, t, null), c(i, m, a), f && f.m(i, a), c(i, p, a), n && n.m(i, a), c(i, s, a), d = !0;
|
|
74
76
|
},
|
|
75
|
-
p(i,
|
|
77
|
+
p(i, a) {
|
|
76
78
|
const D = {};
|
|
77
|
-
|
|
79
|
+
a & 8 && (D.visible = i[3]), r.$set(D);
|
|
78
80
|
const C = {};
|
|
79
|
-
|
|
81
|
+
a & 8 && (C.unfolded = i[3]), e.$set(C), i[2] ? f ? (f.p(i, a), a & 4 && u(f, 1)) : (f = N(i), f.c(), u(f, 1), f.m(p.parentNode, p)) : f && (y(), _(f, 1, 1, () => {
|
|
80
82
|
f = null;
|
|
81
|
-
}), k()), i[1] ? n ? (n.p(i,
|
|
83
|
+
}), k()), i[1] ? n ? (n.p(i, a), a & 2 && u(n, 1)) : (n = P(i), n.c(), u(n, 1), n.m(s.parentNode, s)) : n && (y(), _(n, 1, 1, () => {
|
|
82
84
|
n = null;
|
|
83
85
|
}), k());
|
|
84
86
|
},
|
|
@@ -89,7 +91,7 @@ function I(l) {
|
|
|
89
91
|
_(r.$$.fragment, i), _(e.$$.fragment, i), _(f), _(n), d = !1;
|
|
90
92
|
},
|
|
91
93
|
d(i) {
|
|
92
|
-
w(r, i), i && $(o), i && $(t), w(e), i && $(m), f && f.d(i), i && $(
|
|
94
|
+
w(r, i), i && $(o), i && $(t), w(e), i && $(m), f && f.d(i), i && $(p), n && n.d(i), i && $(s);
|
|
93
95
|
}
|
|
94
96
|
};
|
|
95
97
|
}
|
|
@@ -109,8 +111,8 @@ function N(l) {
|
|
|
109
111
|
c(e, r, m), g(o, r, null), t = !0;
|
|
110
112
|
},
|
|
111
113
|
p(e, m) {
|
|
112
|
-
const
|
|
113
|
-
m & 8 && (
|
|
114
|
+
const p = {};
|
|
115
|
+
m & 8 && (p.unfolded = e[3]), m & 4 && (p.content = e[2]), o.$set(p);
|
|
114
116
|
},
|
|
115
117
|
i(e) {
|
|
116
118
|
t || (u(o.$$.fragment, e), t = !0);
|
|
@@ -148,8 +150,8 @@ function P(l) {
|
|
|
148
150
|
c(e, r, m), g(o, r, null), t = !0;
|
|
149
151
|
},
|
|
150
152
|
p(e, m) {
|
|
151
|
-
const
|
|
152
|
-
m & 8 && (
|
|
153
|
+
const p = {};
|
|
154
|
+
m & 8 && (p.unfolded = e[3]), m & 2 && (p.mediaData = e[1]), m & 1 && (p.tag = e[0]), o.$set(p);
|
|
153
155
|
},
|
|
154
156
|
i(e) {
|
|
155
157
|
t || (u(o.$$.fragment, e), t = !0);
|
|
@@ -188,19 +190,19 @@ function Y(l) {
|
|
|
188
190
|
};
|
|
189
191
|
}
|
|
190
192
|
function A(l, r, o) {
|
|
191
|
-
let t, e, m,
|
|
193
|
+
let t, e, m, p, { tag: s } = r;
|
|
192
194
|
return l.$$set = (d) => {
|
|
193
195
|
"tag" in d && o(0, s = d.tag);
|
|
194
196
|
}, l.$$.update = () => {
|
|
195
197
|
var d, f, n;
|
|
196
|
-
l.$$.dirty & 1 && o(3, t = s.state ? s.state.unfolded : !1), l.$$.dirty & 1 && o(4, e = (f = (d = s.data.title) != null ? d : s.data.text) != null ? f : ""), l.$$.dirty & 16 && o(2, m = ((n = e.length) != null ? n : 0) > 7 ? e.substring(0, 6) + "..." : e), l.$$.dirty & 1 && o(1,
|
|
197
|
-
}, [s,
|
|
198
|
+
l.$$.dirty & 1 && o(3, t = s.state ? s.state.unfolded : !1), l.$$.dirty & 1 && o(4, e = (f = (d = s.data.title) != null ? d : s.data.text) != null ? f : ""), l.$$.dirty & 16 && o(2, m = ((n = e.length) != null ? n : 0) > 7 ? e.substring(0, 6) + "..." : e), l.$$.dirty & 1 && o(1, p = s.data.mediaData);
|
|
199
|
+
}, [s, p, m, t, e];
|
|
198
200
|
}
|
|
199
|
-
class
|
|
201
|
+
class Fe extends T {
|
|
200
202
|
constructor(r) {
|
|
201
203
|
super(), R(this, r, A, Y, q, { tag: 0 }, V);
|
|
202
204
|
}
|
|
203
205
|
}
|
|
204
206
|
export {
|
|
205
|
-
|
|
207
|
+
Fe as default
|
|
206
208
|
};
|
|
@@ -7,6 +7,8 @@ import "three";
|
|
|
7
7
|
import "../../utils/noTypecheck.js";
|
|
8
8
|
import "@realsee/five/gltf-loader";
|
|
9
9
|
import "../../../shared-utils/three/loadTexture.js";
|
|
10
|
+
import "@realsee/five";
|
|
11
|
+
import "../../../shared-utils/threex/domevents/index.js";
|
|
10
12
|
import "../../utils/getImageInfo.js";
|
|
11
13
|
import "../../utils/px2rem.js";
|
|
12
14
|
function I(r) {
|
|
@@ -87,11 +89,11 @@ function A(r, i, n) {
|
|
|
87
89
|
r.$$.dirty & 8 && n(1, a = (s = t.data.title) != null ? s : t.data.text), r.$$.dirty & 8 && n(0, e = (g = t.data.icon) != null ? g : (d = t.style) == null ? void 0 : d.point);
|
|
88
90
|
}, n(2, l = !1), [e, a, l, t, o];
|
|
89
91
|
}
|
|
90
|
-
class
|
|
92
|
+
class V extends j {
|
|
91
93
|
constructor(i) {
|
|
92
94
|
super(), b(this, i, A, T, $, { tag: 3 }, I);
|
|
93
95
|
}
|
|
94
96
|
}
|
|
95
97
|
export {
|
|
96
|
-
|
|
98
|
+
V as default
|
|
97
99
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SvelteComponent as te, init as le, safe_not_equal as ie, append_styles as se, element as p, create_component as re, space as T, text as L, attr as g, set_style as C, null_to_empty as D, toggle_class as Y, insert as k, mount_component as ne, append as d, set_data as S, transition_in as ae, transition_out as oe, detach as y, destroy_component as ce, src_url_equal as F, add_render_callback as fe, add_resize_listener as me, destroy_each as j } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import "@realsee/five";
|
|
3
2
|
import "hammerjs";
|
|
4
3
|
import "three";
|
|
4
|
+
import "@realsee/five";
|
|
5
5
|
import "@tweenjs/tween.js";
|
|
6
6
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
7
7
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -12,22 +12,24 @@ import "../../../../shared-utils/isNil.js";
|
|
|
12
12
|
import "three";
|
|
13
13
|
import "@realsee/five/gltf-loader";
|
|
14
14
|
import "../../../../shared-utils/three/loadTexture.js";
|
|
15
|
+
import "@realsee/five";
|
|
16
|
+
import "../../../../shared-utils/threex/domevents/index.js";
|
|
15
17
|
import "../../../utils/search.js";
|
|
16
18
|
import "../../../utils/constants.js";
|
|
17
19
|
import "../../Common/Arrow.js";
|
|
18
20
|
import "../../../Assets/Icon.js";
|
|
19
21
|
import "../../../utils/doUtil.js";
|
|
20
22
|
import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
21
|
-
function G(
|
|
22
|
-
C(
|
|
23
|
+
function G(o) {
|
|
24
|
+
C(o, "svelte-nlvd3x", ".content.svelte-nlvd3x{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
23
25
|
}
|
|
24
|
-
function M(
|
|
26
|
+
function M(o) {
|
|
25
27
|
var c, g;
|
|
26
|
-
let i, f, t,
|
|
28
|
+
let i, f, t, n, r, s, p, m, _;
|
|
27
29
|
return i = new A({
|
|
28
30
|
props: {
|
|
29
|
-
visible:
|
|
30
|
-
left:
|
|
31
|
+
visible: o[2],
|
|
32
|
+
left: o[3] / 2 + "px",
|
|
31
33
|
bottom: 12,
|
|
32
34
|
width: 2,
|
|
33
35
|
blurRadius: 120,
|
|
@@ -35,26 +37,26 @@ function M(n) {
|
|
|
35
37
|
}
|
|
36
38
|
}), t = new j({
|
|
37
39
|
props: {
|
|
38
|
-
unfolded:
|
|
39
|
-
length:
|
|
40
|
-
outDelay:
|
|
40
|
+
unfolded: o[2],
|
|
41
|
+
length: o[3],
|
|
42
|
+
outDelay: o[4] + 40 * Math.min((g = (c = o[6][0]) == null ? void 0 : c.content.length) != null ? g : 10, 15),
|
|
41
43
|
useLinearColor: !0
|
|
42
44
|
}
|
|
43
45
|
}), s = new B({
|
|
44
46
|
props: {
|
|
45
|
-
visible:
|
|
46
|
-
textUnfolded:
|
|
47
|
-
content:
|
|
47
|
+
visible: o[2],
|
|
48
|
+
textUnfolded: o[1],
|
|
49
|
+
content: o[5]
|
|
48
50
|
}
|
|
49
51
|
}), {
|
|
50
52
|
c() {
|
|
51
|
-
$(i.$$.fragment), f = U(), $(t.$$.fragment),
|
|
53
|
+
$(i.$$.fragment), f = U(), $(t.$$.fragment), n = U(), r = F("div"), $(s.$$.fragment), I(r, "class", "content svelte-nlvd3x");
|
|
52
54
|
},
|
|
53
55
|
m(e, l) {
|
|
54
|
-
y(i, e, l), w(e, f, l), y(t, e, l), w(e,
|
|
56
|
+
y(i, e, l), w(e, f, l), y(t, e, l), w(e, n, l), w(e, r, l), y(s, r, null), p = !0, m || (_ = [
|
|
55
57
|
L(E.call(null, r)),
|
|
56
|
-
D(r, "clientWidth",
|
|
57
|
-
D(r, "click",
|
|
58
|
+
D(r, "clientWidth", o[8]),
|
|
59
|
+
D(r, "click", o[7])
|
|
58
60
|
], m = !0);
|
|
59
61
|
},
|
|
60
62
|
p(e, l) {
|
|
@@ -73,70 +75,70 @@ function M(n) {
|
|
|
73
75
|
d(i.$$.fragment, e), d(t.$$.fragment, e), d(s.$$.fragment, e), p = !1;
|
|
74
76
|
},
|
|
75
77
|
d(e) {
|
|
76
|
-
T(i, e), e && v(f), T(t, e), e && v(
|
|
78
|
+
T(i, e), e && v(f), T(t, e), e && v(n), e && v(r), T(s), m = !1, N(_);
|
|
77
79
|
}
|
|
78
80
|
};
|
|
79
81
|
}
|
|
80
|
-
function H(
|
|
81
|
-
let i, f, t =
|
|
82
|
+
function H(o) {
|
|
83
|
+
let i, f, t = o[0].state && M(o);
|
|
82
84
|
return {
|
|
83
85
|
c() {
|
|
84
86
|
t && t.c(), i = q();
|
|
85
87
|
},
|
|
86
|
-
m(
|
|
87
|
-
t && t.m(
|
|
88
|
+
m(n, r) {
|
|
89
|
+
t && t.m(n, r), w(n, i, r), f = !0;
|
|
88
90
|
},
|
|
89
|
-
p(
|
|
90
|
-
|
|
91
|
+
p(n, [r]) {
|
|
92
|
+
n[0].state ? t ? (t.p(n, r), r & 1 && u(t, 1)) : (t = M(n), t.c(), u(t, 1), t.m(i.parentNode, i)) : t && (O(), d(t, 1, 1, () => {
|
|
91
93
|
t = null;
|
|
92
94
|
}), x());
|
|
93
95
|
},
|
|
94
|
-
i(
|
|
96
|
+
i(n) {
|
|
95
97
|
f || (u(t), f = !0);
|
|
96
98
|
},
|
|
97
|
-
o(
|
|
99
|
+
o(n) {
|
|
98
100
|
d(t), f = !1;
|
|
99
101
|
},
|
|
100
|
-
d(
|
|
101
|
-
t && t.d(
|
|
102
|
+
d(n) {
|
|
103
|
+
t && t.d(n), n && v(i);
|
|
102
104
|
}
|
|
103
105
|
};
|
|
104
106
|
}
|
|
105
|
-
function J(
|
|
106
|
-
let t,
|
|
107
|
+
function J(o, i, f) {
|
|
108
|
+
let t, n, r, { tag: s } = i, p, m = !1, _ = [];
|
|
107
109
|
function c() {
|
|
108
110
|
f(1, m = !m);
|
|
109
111
|
}
|
|
110
112
|
const g = (e) => {
|
|
111
113
|
f(3, p = e.detail);
|
|
112
114
|
};
|
|
113
|
-
return
|
|
115
|
+
return o.$$set = (e) => {
|
|
114
116
|
"tag" in e && f(0, s = e.tag);
|
|
115
|
-
},
|
|
117
|
+
}, o.$$.update = () => {
|
|
116
118
|
var e, l, a;
|
|
117
|
-
|
|
119
|
+
o.$$.dirty & 1 && f(2, t = !!((e = s.state) != null && e.unfolded)), o.$$.dirty & 1 && f(5, n = (a = (l = s.data.title) != null ? l : s.data.text) != null ? a : ""), o.$$.dirty & 4 && (t || setTimeout(
|
|
118
120
|
() => {
|
|
119
121
|
f(1, m = !1);
|
|
120
122
|
},
|
|
121
123
|
20
|
|
122
|
-
)),
|
|
124
|
+
)), o.$$.dirty & 2 && f(4, r = m ? 450 : 0);
|
|
123
125
|
}, [
|
|
124
126
|
s,
|
|
125
127
|
m,
|
|
126
128
|
t,
|
|
127
129
|
p,
|
|
128
130
|
r,
|
|
129
|
-
|
|
131
|
+
n,
|
|
130
132
|
_,
|
|
131
133
|
c,
|
|
132
134
|
g
|
|
133
135
|
];
|
|
134
136
|
}
|
|
135
|
-
class
|
|
137
|
+
class ce extends R {
|
|
136
138
|
constructor(i) {
|
|
137
139
|
super(), S(this, i, J, H, W, { tag: 0 }, G);
|
|
138
140
|
}
|
|
139
141
|
}
|
|
140
142
|
export {
|
|
141
|
-
|
|
143
|
+
ce as default
|
|
142
144
|
};
|
|
@@ -13,6 +13,8 @@ import "../../../../shared-utils/isNil.js";
|
|
|
13
13
|
import "three";
|
|
14
14
|
import "@realsee/five/gltf-loader";
|
|
15
15
|
import "../../../../shared-utils/three/loadTexture.js";
|
|
16
|
+
import "@realsee/five";
|
|
17
|
+
import "../../../../shared-utils/threex/domevents/index.js";
|
|
16
18
|
import "../../../utils/search.js";
|
|
17
19
|
import "../../../utils/constants.js";
|
|
18
20
|
import "../../Common/Arrow.js";
|
|
@@ -32,8 +34,8 @@ function v(a) {
|
|
|
32
34
|
_(t, e, o), r = !0;
|
|
33
35
|
},
|
|
34
36
|
p(e, o) {
|
|
35
|
-
const
|
|
36
|
-
o & 1 && (
|
|
37
|
+
const n = {};
|
|
38
|
+
o & 1 && (n.tag = e[0]), t.$set(n);
|
|
37
39
|
},
|
|
38
40
|
i(e) {
|
|
39
41
|
r || (f(t.$$.fragment, e), r = !0);
|
|
@@ -56,8 +58,8 @@ function C(a) {
|
|
|
56
58
|
_(t, e, o), r = !0;
|
|
57
59
|
},
|
|
58
60
|
p(e, o) {
|
|
59
|
-
const
|
|
60
|
-
o & 1 && (
|
|
61
|
+
const n = {};
|
|
62
|
+
o & 1 && (n.tag = e[0]), t.$set(n);
|
|
61
63
|
},
|
|
62
64
|
i(e) {
|
|
63
65
|
r || (f(t.$$.fragment, e), r = !0);
|
|
@@ -72,48 +74,48 @@ function C(a) {
|
|
|
72
74
|
}
|
|
73
75
|
function N(a) {
|
|
74
76
|
let t, r, e, o;
|
|
75
|
-
const
|
|
76
|
-
function u(
|
|
77
|
-
return
|
|
77
|
+
const n = [C, v], p = [];
|
|
78
|
+
function u(i, m) {
|
|
79
|
+
return i[1] === "line" ? 0 : i[1] === "plane" ? 1 : -1;
|
|
78
80
|
}
|
|
79
|
-
return ~(t = u(a)) && (r = p[t] =
|
|
81
|
+
return ~(t = u(a)) && (r = p[t] = n[t](a)), {
|
|
80
82
|
c() {
|
|
81
83
|
r && r.c(), e = b();
|
|
82
84
|
},
|
|
83
|
-
m(
|
|
84
|
-
~t && p[t].m(
|
|
85
|
+
m(i, m) {
|
|
86
|
+
~t && p[t].m(i, m), x(i, e, m), o = !0;
|
|
85
87
|
},
|
|
86
|
-
p(
|
|
88
|
+
p(i, [m]) {
|
|
87
89
|
let l = t;
|
|
88
|
-
t = u(
|
|
90
|
+
t = u(i), t === l ? ~t && p[t].p(i, m) : (r && (h(), c(p[l], 1, 1, () => {
|
|
89
91
|
p[l] = null;
|
|
90
|
-
}), T()), ~t ? (r = p[t], r ? r.p(
|
|
92
|
+
}), T()), ~t ? (r = p[t], r ? r.p(i, m) : (r = p[t] = n[t](i), r.c()), f(r, 1), r.m(e.parentNode, e)) : r = null);
|
|
91
93
|
},
|
|
92
|
-
i(
|
|
94
|
+
i(i) {
|
|
93
95
|
o || (f(r), o = !0);
|
|
94
96
|
},
|
|
95
|
-
o(
|
|
97
|
+
o(i) {
|
|
96
98
|
c(r), o = !1;
|
|
97
99
|
},
|
|
98
|
-
d(
|
|
99
|
-
~t && p[t].d(
|
|
100
|
+
d(i) {
|
|
101
|
+
~t && p[t].d(i), i && y(e);
|
|
100
102
|
}
|
|
101
103
|
};
|
|
102
104
|
}
|
|
103
105
|
function P(a, t, r) {
|
|
104
106
|
let e, { tag: o } = t;
|
|
105
|
-
return a.$$set = (
|
|
106
|
-
"tag" in
|
|
107
|
+
return a.$$set = (n) => {
|
|
108
|
+
"tag" in n && r(0, o = n.tag);
|
|
107
109
|
}, a.$$.update = () => {
|
|
108
|
-
var
|
|
109
|
-
a.$$.dirty & 1 && r(1, e = (
|
|
110
|
+
var n;
|
|
111
|
+
a.$$.dirty & 1 && r(1, e = (n = o.data.appearance) != null ? n : "line");
|
|
110
112
|
}, [o, e];
|
|
111
113
|
}
|
|
112
|
-
class
|
|
114
|
+
class rt extends d {
|
|
113
115
|
constructor(t) {
|
|
114
116
|
super(), $(this, t, P, N, k, { tag: 0 });
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
export {
|
|
118
|
-
|
|
120
|
+
rt as default
|
|
119
121
|
};
|