@realsee/dnalogel 2.13.2 → 2.14.0-dev.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 +1 -1
- package/dist/CSS3DRenderPlugin/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/typing.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/{CSS3DRender.d.ts → utils/three/CSS3DRender.d.ts} +9 -7
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +9 -4
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +5 -4
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +12 -4
- package/dist/PanoTagPlugin/typings/controller.d.ts +4 -6
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +3 -3
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -9
- package/{libs/PanoTagPlugin/utils/model/imageModel.d.ts → dist/PanoTagPlugin/utils/model/imagePlane.d.ts} +3 -2
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +5 -4
- package/dist/index.cjs.js +47 -47
- package/dist/index.js +5101 -5083
- package/dist/index.umd.js +43 -43
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -1
- package/{libs/shared-utils/Object3DHelper/utils → dist/shared-utils}/threex/domevents/index.d.ts +9 -7
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -31
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +90 -222
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -8
- package/docs/functions/CameraMovementPlugin.html +5 -8
- package/docs/functions/CruisePlugin.html +5 -8
- package/docs/functions/GuideLinePlugin.html +5 -8
- package/docs/functions/ItemLabelPlugin.html +5 -8
- package/docs/functions/MapviewFloorplanPlugin.html +5 -8
- package/docs/functions/ModelChassisCompassPlugin.html +5 -8
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -8
- package/docs/functions/ModelFloorplanPlugin.html +5 -8
- package/docs/functions/ModelItemLabelPlugin.html +5 -8
- package/docs/functions/ModelRoomLabelPlugin.html +5 -8
- package/docs/functions/ModelTVVideoPlugin.html +5 -8
- package/docs/functions/ModelViewPlugin.html +5 -8
- package/docs/functions/Object3DHelperPlugin.html +5 -8
- package/docs/functions/PanoCompassPlugin.html +5 -8
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -8
- package/docs/functions/PanoDoorLabelPlugin.html +5 -8
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -8
- package/docs/functions/PanoMeasurePlugin.html +5 -8
- package/docs/functions/PanoRulerPlugin.html +5 -8
- package/docs/functions/PanoRulerProPlugin.html +5 -8
- package/docs/functions/PanoSpatialTagPlugin.html +5 -8
- package/docs/functions/PanoTagPlugin.html +5 -8
- package/docs/functions/PanoVideoPlugin.html +5 -8
- package/docs/functions/TopviewFloorplanPlugin.html +5 -8
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -8
- package/docs/index.html +4 -7
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -8
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -8
- package/docs/interfaces/Rooms.html +5 -8
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +10 -10
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -10
- package/docs/types/ArrayPosition.html +5 -8
- package/docs/types/AudioAppearance.html +5 -8
- package/docs/types/AudioTagTypeConfigKey.html +5 -8
- package/docs/types/CSS3DRenderExportType.html +5 -8
- package/docs/types/CSS3DRenderPluginExportType.html +5 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -8
- package/docs/types/ClassFunctionParameters.html +5 -8
- package/docs/types/Color.html +5 -8
- package/docs/types/ContentTypeConfigKey.html +5 -8
- package/docs/types/ContentTypeConfigKeySplit.html +5 -8
- package/docs/types/ContentTypeMap.html +5 -8
- package/docs/types/Create3DDomContainerReturnType.html +5 -8
- package/docs/types/Create3DElementReturnType.html +5 -8
- package/docs/types/CruisePluginExportType.html +5 -8
- package/docs/types/Direction-1.html +5 -8
- package/docs/types/Direction4.html +5 -8
- package/docs/types/FloorplanRuleLabels.html +5 -8
- package/docs/types/FloorplanServerRuleLabels.html +5 -8
- package/docs/types/GuideLinePluginExportType.html +5 -8
- package/docs/types/HelperEventMap.html +5 -8
- package/docs/types/LoadTagConfig.html +5 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -8
- package/docs/types/MediaData.html +5 -8
- package/docs/types/MediaStore.html +5 -8
- package/docs/types/ModelElement.html +5 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -8
- package/docs/types/MoveArgs.html +5 -8
- package/docs/types/MoveOpts.html +5 -8
- package/docs/types/Object3DHelperEventMap.html +5 -8
- package/docs/types/ObjectFit.html +5 -8
- package/docs/types/PaintBrushEventMap.html +5 -8
- package/docs/types/PanoCompassPluginData.html +5 -8
- package/docs/types/PanoCompassPluginExportType.html +5 -8
- package/docs/types/PanoCompassPluginParameterType.html +5 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -8
- package/docs/types/PanoIndex.html +5 -8
- package/docs/types/PanoMeasurePluginEvent.html +5 -8
- package/docs/types/PanoMeasureReturnType.html +5 -8
- package/docs/types/PanoSpatialTagPluginId.html +5 -8
- package/docs/types/PanoTagPluginExportInterface.html +5 -8
- package/docs/types/PanoTagPluginParamsInterface.html +5 -8
- package/docs/types/PanoVideoPluginParameterType.html +5 -8
- package/docs/types/PanoVideoPluginReturnType.html +5 -8
- package/docs/types/PlaneTag.html +5 -8
- package/docs/types/PlaneTagElement.html +5 -8
- package/docs/types/Point2DElement.html +5 -8
- package/docs/types/Point2DTag.html +5 -8
- package/docs/types/Point3DElement.html +5 -8
- package/docs/types/Point3DTag.html +5 -8
- package/docs/types/PointTag.html +5 -8
- package/docs/types/PointTagElement.html +5 -8
- package/docs/types/Position.html +5 -8
- package/docs/types/RotateArgs.html +5 -8
- package/docs/types/RotateOpts.html +5 -8
- package/docs/types/RuleLabelsKey.html +5 -8
- package/docs/types/RuleLabelsValue.html +5 -8
- package/docs/types/StickType.html +5 -8
- package/docs/types/Tag.html +6 -9
- package/docs/types/Tag2D.html +5 -8
- package/docs/types/Tag3D.html +5 -8
- package/docs/types/TagContentType.html +5 -8
- package/docs/types/TagDimensionType.html +5 -8
- package/docs/types/TagElement.html +6 -9
- package/docs/types/TagEvents.html +5 -8
- package/docs/types/TagGLTFObject.html +5 -8
- package/docs/types/TagHooks.html +5 -8
- package/docs/types/TagIconSize.html +5 -8
- package/docs/types/TagId.html +5 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -8
- package/docs/types/WorkCode.html +5 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -8
- package/docs/variables/PLUGIN.html +6 -9
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -8
- package/docs/variables/ROOM_TYPE_MAP.html +5 -8
- package/docs/variables/itemLabelPluginServerParams.html +5 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -8
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +2 -4
- package/libs/CSS3DRenderPlugin/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/typing.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +21 -21
- package/libs/CSS3DRenderPlugin/{CSS3DRender.d.ts → utils/three/CSS3DRender.d.ts} +9 -7
- package/libs/CSS3DRenderPlugin/{CSS3DRender.js → utils/three/CSS3DRender.js} +13 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +11 -11
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -3
- package/libs/Object3DHelperPlugin/Controller.js +50 -52
- package/libs/Object3DHelperPlugin/index.js +3 -4
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Archive/deprecated.d.ts +7 -0
- package/libs/PanoTagPlugin/Archive/deprecated.js +4 -0
- package/libs/PanoTagPlugin/Archive/index.d.ts +1 -0
- package/libs/PanoTagPlugin/Archive/index.js +4 -0
- package/libs/PanoTagPlugin/Components/Common/Audio.js +93 -97
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +206 -205
- package/libs/PanoTagPlugin/Components/Common/Media.js +115 -109
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +100 -100
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +66 -68
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +14 -15
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +4 -2
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +45 -45
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +101 -106
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +82 -84
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +62 -61
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +13 -13
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +49 -48
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +52 -51
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +108 -115
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +25 -36
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +49 -50
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +68 -70
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +55 -54
- package/libs/PanoTagPlugin/Components/Tag/index.js +153 -163
- package/libs/PanoTagPlugin/Components/TagContainer.js +5 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +80 -87
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +9 -4
- package/libs/PanoTagPlugin/controller/TagComputer.js +80 -58
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +5 -4
- package/libs/PanoTagPlugin/controller/TagRender.js +161 -153
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +12 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +179 -77
- package/libs/PanoTagPlugin/controller/index.js +54 -49
- package/libs/PanoTagPlugin/index.js +16 -16
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +4 -6
- package/libs/PanoTagPlugin/typings/index.js +7 -5
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +3 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -9
- package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -3
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +6 -4
- package/libs/PanoTagPlugin/utils/index.js +35 -33
- package/{dist/PanoTagPlugin/utils/model/imageModel.d.ts → libs/PanoTagPlugin/utils/model/imagePlane.d.ts} +3 -2
- package/libs/PanoTagPlugin/utils/model/imagePlane.js +33 -0
- package/libs/PanoTagPlugin/utils/planeNormal.js +4 -2
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +5 -4
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +8 -4
- package/libs/PanoTagPlugin/utils/tagPosition.js +9 -7
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +31 -33
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -1
- package/libs/shared-utils/three/index.js +1 -1
- package/{dist/shared-utils/Object3DHelper/utils → libs/shared-utils}/threex/domevents/index.d.ts +9 -7
- package/libs/shared-utils/{Object3DHelper/utils/threex → threex}/domevents/index.js +4 -3
- package/package.json +1 -1
- package/docs/enums/PointType.html +0 -72
- package/docs/types/TagPointType.html +0 -272
- package/docs/variables/VERSION.html +0 -269
- package/libs/PanoTagPlugin/tsconfig.js +0 -9
- package/libs/PanoTagPlugin/utils/model/imageModel.js +0 -31
|
@@ -1,187 +1,187 @@
|
|
|
1
|
-
import { SvelteComponent as T, init as M, safe_not_equal as q, append_styles as A, empty as J, insert as
|
|
1
|
+
import { SvelteComponent as T, init as M, safe_not_equal as q, append_styles as A, empty as J, insert as k, noop as C, detach as y, getContext as S, onMount as R, element as g, attr as s, binding_callbacks as X, space as D, set_style as j, toggle_class as m, append as U, listen as P, src_url_equal as b, run_all as G } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { Image_Play_Icon_With_Text as K, Image_Play_Icon as Q } from "../../Assets/Icon.js";
|
|
3
|
-
function Y(
|
|
4
|
-
A(
|
|
3
|
+
function Y(o) {
|
|
4
|
+
A(o, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
|
|
5
5
|
}
|
|
6
|
-
function L(
|
|
6
|
+
function L(o) {
|
|
7
7
|
let e;
|
|
8
|
-
function
|
|
8
|
+
function i(n, r) {
|
|
9
9
|
if (n[2].type === "Image")
|
|
10
10
|
return x;
|
|
11
11
|
if (n[2].type === "Video")
|
|
12
12
|
return Z;
|
|
13
13
|
}
|
|
14
|
-
let
|
|
14
|
+
let t = i(o), l = t && t(o);
|
|
15
15
|
return {
|
|
16
16
|
c() {
|
|
17
|
-
e =
|
|
17
|
+
e = g("div"), l && l.c(), s(e, "class", "media-item svelte-159ski6"), s(e, "draggable", "false");
|
|
18
18
|
},
|
|
19
|
-
m(n,
|
|
20
|
-
|
|
19
|
+
m(n, r) {
|
|
20
|
+
k(n, e, r), l && l.m(e, null);
|
|
21
21
|
},
|
|
22
|
-
p(n,
|
|
23
|
-
|
|
22
|
+
p(n, r) {
|
|
23
|
+
t === (t = i(n)) && l ? l.p(n, r) : (l && l.d(1), l = t && t(n), l && (l.c(), l.m(e, null)));
|
|
24
24
|
},
|
|
25
25
|
d(n) {
|
|
26
|
-
n &&
|
|
26
|
+
n && y(e), l && l.d();
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
function Z(
|
|
31
|
-
let e,
|
|
32
|
-
function
|
|
33
|
-
return
|
|
30
|
+
function Z(o) {
|
|
31
|
+
let e, i, t, l, n, r;
|
|
32
|
+
function c(d, v) {
|
|
33
|
+
return d[7] && d[2].videoCoverUrl ? ee : $;
|
|
34
34
|
}
|
|
35
|
-
let
|
|
35
|
+
let u = c(o), f = u(o);
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
|
|
38
|
+
f.c(), e = D(), i = g("div"), t = g("div"), l = g("div"), s(l, "class", "video-icon-img svelte-159ski6"), j(l, "background-image", "url(" + o[18]() + ")"), m(l, "canPlay", o[5]), s(t, "class", "video-icon svelte-159ski6"), m(t, "large", o[4] === "large"), m(t, "small", o[4] === "small"), s(i, "class", "video-play-button-container svelte-159ski6"), m(i, "showPlayButton", o[9]);
|
|
39
39
|
},
|
|
40
|
-
m(
|
|
41
|
-
|
|
40
|
+
m(d, v) {
|
|
41
|
+
f.m(d, v), k(d, e, v), k(d, i, v), U(i, t), U(t, l), n || (r = P(l, "click", o[19]), n = !0);
|
|
42
42
|
},
|
|
43
|
-
p(
|
|
44
|
-
|
|
43
|
+
p(d, v) {
|
|
44
|
+
u === (u = c(d)) && f ? f.p(d, v) : (f.d(1), f = u(d), f && (f.c(), f.m(e.parentNode, e))), v & 8 && j(l, "background-image", "url(" + d[18]() + ")"), v & 32 && m(l, "canPlay", d[5]), v & 16 && m(t, "large", d[4] === "large"), v & 16 && m(t, "small", d[4] === "small"), v & 512 && m(i, "showPlayButton", d[9]);
|
|
45
45
|
},
|
|
46
|
-
d(
|
|
47
|
-
|
|
46
|
+
d(d) {
|
|
47
|
+
f.d(d), d && y(e), d && y(i), n = !1, r();
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
function x(
|
|
52
|
-
let e,
|
|
51
|
+
function x(o) {
|
|
52
|
+
let e, i, t, l;
|
|
53
53
|
return {
|
|
54
54
|
c() {
|
|
55
|
-
e =
|
|
55
|
+
e = g("img"), s(e, "class", "media-content svelte-159ski6"), s(e, "style", i = `object-fit: ${o[6]};`), b(e.src, t = o[2].url) || s(e, "src", t), s(e, "alt", l = o[2].name), s(e, "draggable", !1);
|
|
56
56
|
},
|
|
57
|
-
m(n,
|
|
58
|
-
|
|
57
|
+
m(n, r) {
|
|
58
|
+
k(n, e, r);
|
|
59
59
|
},
|
|
60
|
-
p(n,
|
|
61
|
-
|
|
60
|
+
p(n, r) {
|
|
61
|
+
r & 64 && i !== (i = `object-fit: ${n[6]};`) && s(e, "style", i), r & 4 && !b(e.src, t = n[2].url) && s(e, "src", t), r & 4 && l !== (l = n[2].name) && s(e, "alt", l);
|
|
62
62
|
},
|
|
63
63
|
d(n) {
|
|
64
|
-
n &&
|
|
64
|
+
n && y(e);
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
function $(
|
|
69
|
-
let e,
|
|
68
|
+
function $(o) {
|
|
69
|
+
let e, i, t, l, n, r, c;
|
|
70
70
|
return {
|
|
71
71
|
c() {
|
|
72
|
-
e =
|
|
72
|
+
e = g("video"), s(e, "class", "media-content svelte-159ski6"), s(e, "style", i = `object-fit: ${o[6]};`), b(e.src, t = o[2].videoCoverUrl ? o[2].url : o[2].url + "#t=0.1") || s(e, "src", t), s(e, "poster", l = o[2].videoCoverUrl), s(e, "preload", n = o[2].videoCoverUrl ? "none" : "auto"), s(e, "disablepictureinpicture", ""), e.playsInline = !0, s(e, "paused", ""), e.muted = !0, s(e, "draggable", !1), e.loop = !1, s(e, "crossorigin", ""), e.controls = !1, m(e, "showPlayButton", o[9]);
|
|
73
73
|
},
|
|
74
|
-
m(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
],
|
|
74
|
+
m(u, f) {
|
|
75
|
+
k(u, e, f), o[17](e), r || (c = [
|
|
76
|
+
P(e, "play", o[14]),
|
|
77
|
+
P(e, "pause", o[15]),
|
|
78
|
+
P(e, "click", o[16])
|
|
79
|
+
], r = !0);
|
|
80
80
|
},
|
|
81
|
-
p(
|
|
82
|
-
|
|
81
|
+
p(u, f) {
|
|
82
|
+
f & 64 && i !== (i = `object-fit: ${u[6]};`) && s(e, "style", i), f & 4 && !b(e.src, t = u[2].videoCoverUrl ? u[2].url : u[2].url + "#t=0.1") && s(e, "src", t), f & 4 && l !== (l = u[2].videoCoverUrl) && s(e, "poster", l), f & 4 && n !== (n = u[2].videoCoverUrl ? "none" : "auto") && s(e, "preload", n), f & 512 && m(e, "showPlayButton", u[9]);
|
|
83
83
|
},
|
|
84
|
-
d(
|
|
85
|
-
|
|
84
|
+
d(u) {
|
|
85
|
+
u && y(e), o[17](null), r = !1, G(c);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
function ee(
|
|
90
|
-
let e,
|
|
89
|
+
function ee(o) {
|
|
90
|
+
let e, i, t, l;
|
|
91
91
|
return {
|
|
92
92
|
c() {
|
|
93
|
-
e =
|
|
93
|
+
e = g("img"), s(e, "class", "media-content svelte-159ski6"), s(e, "style", i = `object-fit: ${o[6]};`), b(e.src, t = o[2].videoCoverUrl) || s(e, "src", t), s(e, "alt", l = o[2].name), s(e, "draggable", !1);
|
|
94
94
|
},
|
|
95
|
-
m(n,
|
|
96
|
-
|
|
95
|
+
m(n, r) {
|
|
96
|
+
k(n, e, r);
|
|
97
97
|
},
|
|
98
|
-
p(n,
|
|
99
|
-
|
|
98
|
+
p(n, r) {
|
|
99
|
+
r & 64 && i !== (i = `object-fit: ${n[6]};`) && s(e, "style", i), r & 4 && !b(e.src, t = n[2].videoCoverUrl) && s(e, "src", t), r & 4 && l !== (l = n[2].name) && s(e, "alt", l);
|
|
100
100
|
},
|
|
101
101
|
d(n) {
|
|
102
|
-
n &&
|
|
102
|
+
n && y(e);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
-
function te(
|
|
107
|
-
let e,
|
|
106
|
+
function te(o) {
|
|
107
|
+
let e, i = o[2] && L(o);
|
|
108
108
|
return {
|
|
109
109
|
c() {
|
|
110
|
-
|
|
110
|
+
i && i.c(), e = J();
|
|
111
111
|
},
|
|
112
|
-
m(
|
|
113
|
-
|
|
112
|
+
m(t, l) {
|
|
113
|
+
i && i.m(t, l), k(t, e, l);
|
|
114
114
|
},
|
|
115
|
-
p(
|
|
116
|
-
|
|
115
|
+
p(t, [l]) {
|
|
116
|
+
t[2] ? i ? i.p(t, l) : (i = L(t), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
117
117
|
},
|
|
118
118
|
i: C,
|
|
119
119
|
o: C,
|
|
120
|
-
d(
|
|
121
|
-
|
|
120
|
+
d(t) {
|
|
121
|
+
i && i.d(t), t && y(e);
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
function ie(
|
|
126
|
-
let
|
|
125
|
+
function ie(o, e, i) {
|
|
126
|
+
let t, l, { mediaInstance: n = { videoInstance: void 0, paused: !0 } } = e, { tag: r } = e, { media: c } = e, { playButtonIfNeed: u = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: d = !0 } = e, { objectFit: v = "fill" } = e, { disableVideoIfHavePoster: B = !1 } = e, p = !0, h = !1;
|
|
127
127
|
function N() {
|
|
128
|
-
|
|
128
|
+
i(12, h = (c == null ? void 0 : c.type) === "Video" && Boolean(c.videoCoverUrl));
|
|
129
129
|
}
|
|
130
|
-
const
|
|
131
|
-
|
|
130
|
+
const w = S("mediaStore"), I = S("hooks"), _ = () => {
|
|
131
|
+
h || !t || (t.play(), t.pause(), i(12, h = !0));
|
|
132
132
|
};
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
I.on("loadVideoFirstFrame", _), R(() => {
|
|
134
|
+
w.subscribe(({ currentMediaElement: a }) => {
|
|
135
|
+
a !== t && (t == null || t.pause());
|
|
136
136
|
});
|
|
137
137
|
});
|
|
138
|
-
const V = (
|
|
139
|
-
|
|
140
|
-
event:
|
|
138
|
+
const V = (a) => {
|
|
139
|
+
i(9, p = !1), i(0, n.paused = !1, n), t && w.set({ currentMediaElement: t }), I.emit("playStateChange", {
|
|
140
|
+
event: a,
|
|
141
141
|
state: "playing",
|
|
142
|
-
tag:
|
|
143
|
-
mediaInstance:
|
|
142
|
+
tag: r,
|
|
143
|
+
mediaInstance: t
|
|
144
144
|
});
|
|
145
|
-
}, E = (
|
|
146
|
-
|
|
147
|
-
event:
|
|
145
|
+
}, E = (a) => {
|
|
146
|
+
i(9, p = !0), i(0, n.paused = !0, n), I.emit("playStateChange", {
|
|
147
|
+
event: a,
|
|
148
148
|
state: "paused",
|
|
149
|
-
tag:
|
|
150
|
-
mediaInstance:
|
|
149
|
+
tag: r,
|
|
150
|
+
mediaInstance: t
|
|
151
151
|
});
|
|
152
|
-
}, z = (
|
|
153
|
-
|
|
152
|
+
}, z = (a) => {
|
|
153
|
+
t && t.pause();
|
|
154
154
|
};
|
|
155
|
-
function F(
|
|
156
|
-
X[
|
|
157
|
-
|
|
155
|
+
function F(a) {
|
|
156
|
+
X[a ? "unshift" : "push"](() => {
|
|
157
|
+
n.videoInstance = a, i(0, n);
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
const O = () =>
|
|
161
|
-
!
|
|
160
|
+
const O = () => u === "withText" ? K : u === "withoutText" ? Q : u, W = (a) => {
|
|
161
|
+
!d || t && (i(8, t.muted = !1, t), t.play());
|
|
162
162
|
};
|
|
163
|
-
return
|
|
164
|
-
"mediaInstance" in
|
|
165
|
-
},
|
|
166
|
-
if (
|
|
167
|
-
const
|
|
168
|
-
|
|
163
|
+
return o.$$set = (a) => {
|
|
164
|
+
"mediaInstance" in a && i(0, n = a.mediaInstance), "tag" in a && i(1, r = a.tag), "media" in a && i(2, c = a.media), "playButtonIfNeed" in a && i(3, u = a.playButtonIfNeed), "playButtonSizeIfNeed" in a && i(4, f = a.playButtonSizeIfNeed), "canPlay" in a && i(5, d = a.canPlay), "objectFit" in a && i(6, v = a.objectFit), "disableVideoIfHavePoster" in a && i(7, B = a.disableVideoIfHavePoster);
|
|
165
|
+
}, o.$$.update = () => {
|
|
166
|
+
if (o.$$.dirty & 1 && i(8, t = n.videoInstance), o.$$.dirty & 4 && i(13, l = c == null ? void 0 : c.url), o.$$.dirty & 8192 && Boolean(l) && N(), o.$$.dirty & 256 && t && i(9, p = t.paused), o.$$.dirty & 4356 && (c == null ? void 0 : c.type) === "Video" && !h) {
|
|
167
|
+
const a = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, H = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && a;
|
|
168
|
+
t && H && t.paused && (document.removeEventListener("WeixinJSBridgeReady", _), document.removeEventListener("touchstart", _), document.removeEventListener("click", _), document.addEventListener("WeixinJSBridgeReady", _), document.addEventListener("touchstart", _), document.addEventListener("click", _));
|
|
169
169
|
}
|
|
170
170
|
}, [
|
|
171
|
-
i,
|
|
172
171
|
n,
|
|
173
|
-
|
|
174
|
-
m,
|
|
172
|
+
r,
|
|
175
173
|
c,
|
|
176
174
|
u,
|
|
177
175
|
f,
|
|
178
|
-
v,
|
|
179
176
|
d,
|
|
180
|
-
|
|
177
|
+
v,
|
|
181
178
|
B,
|
|
182
|
-
|
|
179
|
+
t,
|
|
183
180
|
p,
|
|
184
|
-
|
|
181
|
+
w,
|
|
182
|
+
I,
|
|
183
|
+
h,
|
|
184
|
+
l,
|
|
185
185
|
V,
|
|
186
186
|
E,
|
|
187
187
|
z,
|
|
@@ -1,111 +1,109 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Image_Default_Point as
|
|
1
|
+
import { SvelteComponent as F, init as M, safe_not_equal as U, append_styles as W, element as v, space as b, create_component as D, attr as h, set_style as j, toggle_class as y, insert as X, append as c, mount_component as I, listen as B, transition_in as R, transition_out as q, detach as E, destroy_component as A, getContext as G, bubble as H } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import J from "./Shadow.js";
|
|
3
|
+
import K from "./Icon/Icon.js";
|
|
4
|
+
import { Image_Default_Point as N } from "../../Assets/Icon.js";
|
|
5
5
|
import "../../../vendor/svelte/transition/index.js";
|
|
6
6
|
import "../../../vendor/svelte/easing/index.js";
|
|
7
7
|
import "three";
|
|
8
8
|
import "../../utils/noTypecheck.js";
|
|
9
|
+
import "@realsee/five/gltf-loader";
|
|
10
|
+
import "../../../shared-utils/three/loadTexture.js";
|
|
9
11
|
import "../../utils/getImageInfo.js";
|
|
10
12
|
import "../../utils/px2rem.js";
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
+
function O(t) {
|
|
14
|
+
W(t, "svelte-1jkrwn7", '@charset "UTF-8";.tag-point-click-helper.svelte-1jkrwn7.svelte-1jkrwn7{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1jkrwn7.svelte-1jkrwn7{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1jkrwn7.svelte-1jkrwn7,.tag-unfolded-point.svelte-1jkrwn7.svelte-1jkrwn7{transition:all 0.5s}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:1;scale:1}');
|
|
13
15
|
}
|
|
14
|
-
function
|
|
15
|
-
let n,
|
|
16
|
-
return p = new
|
|
16
|
+
function Q(t) {
|
|
17
|
+
let n, a, f, p, m, d, w, o, i, l, g, k;
|
|
18
|
+
return p = new J({
|
|
17
19
|
props: {
|
|
18
20
|
center: !0,
|
|
19
21
|
blurRadius: 15,
|
|
20
22
|
spreadRadius: 5,
|
|
21
23
|
opacity: 0.3
|
|
22
24
|
}
|
|
23
|
-
}),
|
|
25
|
+
}), i = new K({
|
|
24
26
|
props: {
|
|
25
|
-
icon:
|
|
26
|
-
width:
|
|
27
|
+
icon: t[2],
|
|
28
|
+
width: t[1]
|
|
27
29
|
}
|
|
28
|
-
}),
|
|
30
|
+
}), i.$on("iconLoaded", t[7]), {
|
|
29
31
|
c() {
|
|
30
|
-
n =
|
|
32
|
+
n = v("div"), a = v("div"), f = b(), D(p.$$.fragment), m = b(), d = v("div"), w = b(), o = v("div"), D(i.$$.fragment), h(a, "class", "tag-point-click-helper svelte-1jkrwn7"), h(d, "class", "tag-unfolded-point svelte-1jkrwn7"), j(d, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(o, "class", "tag-folded-point svelte-1jkrwn7"), j(o, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(n, "class", "tag-point-wrapper svelte-1jkrwn7"), y(n, "unfolded", t[0]), y(n, "folded", t[3]);
|
|
31
33
|
},
|
|
32
|
-
m(
|
|
33
|
-
|
|
34
|
+
m(e, s) {
|
|
35
|
+
X(e, n, s), c(n, a), c(n, f), I(p, n, null), c(n, m), c(n, d), c(n, w), c(n, o), I(i, o, null), l = !0, g || (k = B(a, "click", t[4]), g = !0);
|
|
34
36
|
},
|
|
35
|
-
p(
|
|
36
|
-
|
|
37
|
-
const
|
|
38
|
-
|
|
37
|
+
p(e, [s]) {
|
|
38
|
+
s & 8 && j(d, "transition-delay", (e[3] ? e[5] : 0) + "ms");
|
|
39
|
+
const r = {};
|
|
40
|
+
s & 4 && (r.icon = e[2]), s & 2 && (r.width = e[1]), i.$set(r), s & 8 && j(o, "transition-delay", (e[3] ? e[5] : 0) + "ms"), (!l || s & 1) && y(n, "unfolded", e[0]), (!l || s & 8) && y(n, "folded", e[3]);
|
|
39
41
|
},
|
|
40
|
-
i(
|
|
41
|
-
|
|
42
|
+
i(e) {
|
|
43
|
+
l || (R(p.$$.fragment, e), R(i.$$.fragment, e), l = !0);
|
|
42
44
|
},
|
|
43
|
-
o(
|
|
44
|
-
|
|
45
|
+
o(e) {
|
|
46
|
+
q(p.$$.fragment, e), q(i.$$.fragment, e), l = !1;
|
|
45
47
|
},
|
|
46
|
-
d(
|
|
47
|
-
|
|
48
|
+
d(e) {
|
|
49
|
+
e && E(n), A(p), A(i), g = !1, k();
|
|
48
50
|
}
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
|
-
function
|
|
52
|
-
let
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
t !== void 0 && clearTimeout(t), l = !0, t = setTimeout(
|
|
53
|
+
function V(t, n, a) {
|
|
54
|
+
let f, p, m, d;
|
|
55
|
+
const w = G("hooks");
|
|
56
|
+
let { tag: o } = n, i, l = !1;
|
|
57
|
+
const g = () => {
|
|
58
|
+
i !== void 0 && clearTimeout(i), l = !0, i = setTimeout(
|
|
58
59
|
() => {
|
|
59
60
|
l = !1;
|
|
60
61
|
},
|
|
61
62
|
800
|
|
62
63
|
);
|
|
63
|
-
},
|
|
64
|
-
l ||
|
|
65
|
-
},
|
|
66
|
-
function
|
|
67
|
-
|
|
64
|
+
}, k = (r) => {
|
|
65
|
+
l || w.emit("click", { event: r, target: "TagPoint", tag: o });
|
|
66
|
+
}, e = (() => o.contentType === "Text" && o.data.appearance === "plane" ? 500 : 800)();
|
|
67
|
+
function s(r) {
|
|
68
|
+
H.call(this, t, r);
|
|
68
69
|
}
|
|
69
|
-
return
|
|
70
|
-
"tag" in
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
70
|
+
return t.$$set = (r) => {
|
|
71
|
+
"tag" in r && a(6, o = r.tag);
|
|
72
|
+
}, t.$$.update = () => {
|
|
73
|
+
var r, _, T, L;
|
|
74
|
+
t.$$.dirty & 64 && a(0, f = (r = o.state) == null ? void 0 : r.unfolded), t.$$.dirty & 1 && a(3, p = !f), t.$$.dirty & 64 && a(2, m = (T = (_ = o.style) == null ? void 0 : _.point) != null && T.url ? (L = o.style) == null ? void 0 : L.point : { url: N }), t.$$.dirty & 64 && a(1, d = (() => {
|
|
75
|
+
var $, z, C, S;
|
|
76
|
+
const P = (z = ($ = o.style) == null ? void 0 : $.point) == null ? void 0 : z.width;
|
|
77
|
+
if (typeof P == "number")
|
|
78
|
+
return P;
|
|
79
|
+
const u = (S = (C = o.style) == null ? void 0 : C.point) == null ? void 0 : S.size;
|
|
80
|
+
if (typeof u == "number")
|
|
81
|
+
return u;
|
|
82
|
+
if (u === "S")
|
|
81
83
|
return 18;
|
|
82
|
-
if (
|
|
84
|
+
if (u === "M")
|
|
83
85
|
return 20;
|
|
84
|
-
if (
|
|
86
|
+
if (u === "L")
|
|
85
87
|
return 24;
|
|
86
|
-
if (
|
|
88
|
+
if (u === "XL")
|
|
87
89
|
return 28;
|
|
88
90
|
})());
|
|
89
|
-
},
|
|
90
|
-
c,
|
|
91
|
-
u,
|
|
92
|
-
w,
|
|
93
|
-
p,
|
|
94
|
-
q,
|
|
95
|
-
A,
|
|
96
|
-
i,
|
|
91
|
+
}, g(), [
|
|
97
92
|
f,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
93
|
+
d,
|
|
94
|
+
m,
|
|
95
|
+
p,
|
|
96
|
+
k,
|
|
97
|
+
e,
|
|
98
|
+
o,
|
|
99
|
+
s
|
|
102
100
|
];
|
|
103
101
|
}
|
|
104
|
-
class
|
|
102
|
+
class pt extends F {
|
|
105
103
|
constructor(n) {
|
|
106
|
-
super(),
|
|
104
|
+
super(), M(this, n, V, Q, U, { tag: 6 }, O);
|
|
107
105
|
}
|
|
108
106
|
}
|
|
109
107
|
export {
|
|
110
|
-
|
|
108
|
+
pt as default
|
|
111
109
|
};
|
|
@@ -1,23 +1,25 @@
|
|
|
1
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 p, 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
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import M from "./FlyText.js";
|
|
3
|
+
import j from "../Arrow.js";
|
|
4
|
+
import G from "../../../utils/doUtil.js";
|
|
5
5
|
import "animejs";
|
|
6
6
|
import "../../../../shared-utils/uuid.js";
|
|
7
7
|
import "../../../../shared-utils/isNil.js";
|
|
8
8
|
import "three";
|
|
9
|
+
import "@realsee/five/gltf-loader";
|
|
10
|
+
import "../../../../shared-utils/three/loadTexture.js";
|
|
9
11
|
import "../../../utils/search.js";
|
|
10
12
|
import "../../../utils/constants.js";
|
|
11
13
|
import "../../../../vendor/svelte/transition/index.js";
|
|
12
14
|
import "../../../../vendor/svelte/easing/index.js";
|
|
13
15
|
import "../../../Assets/Icon.js";
|
|
14
16
|
import "../Shadow.js";
|
|
15
|
-
function
|
|
17
|
+
function I(o) {
|
|
16
18
|
Y(o, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
|
|
17
19
|
}
|
|
18
20
|
function w(o) {
|
|
19
21
|
let r, t, l;
|
|
20
|
-
return t = new
|
|
22
|
+
return t = new M({
|
|
21
23
|
props: {
|
|
22
24
|
unfolded: o[0],
|
|
23
25
|
content: o[1],
|
|
@@ -48,7 +50,7 @@ function w(o) {
|
|
|
48
50
|
}
|
|
49
51
|
function k(o) {
|
|
50
52
|
let r, t, l;
|
|
51
|
-
return t = new
|
|
53
|
+
return t = new j({
|
|
52
54
|
props: {
|
|
53
55
|
direction: o[6],
|
|
54
56
|
visible: o[0],
|
|
@@ -77,7 +79,7 @@ function k(o) {
|
|
|
77
79
|
}
|
|
78
80
|
};
|
|
79
81
|
}
|
|
80
|
-
function
|
|
82
|
+
function J(o) {
|
|
81
83
|
let r, t, l, e = o[1] && w(o), i = o[3] < o[4] && k(o);
|
|
82
84
|
return {
|
|
83
85
|
c() {
|
|
@@ -104,7 +106,7 @@ function G(o) {
|
|
|
104
106
|
}
|
|
105
107
|
};
|
|
106
108
|
}
|
|
107
|
-
function
|
|
109
|
+
function K(o, r, t) {
|
|
108
110
|
let l, e, i, { visible: n = !1 } = r, { textUnfolded: f = !1 } = r, { content: _ } = r, m, g = 0, b = 0, c = 0;
|
|
109
111
|
function S(s) {
|
|
110
112
|
B[s ? "unshift" : "push"](() => {
|
|
@@ -116,10 +118,7 @@ function I(o, r, t) {
|
|
|
116
118
|
}, o.$$.update = () => {
|
|
117
119
|
if (o.$$.dirty & 7 && m && n && _) {
|
|
118
120
|
const { lineHeight: s } = getComputedStyle(m);
|
|
119
|
-
t(4, c = m.offsetHeight),
|
|
120
|
-
() => m == null ? void 0 : m.offsetHeight,
|
|
121
|
-
Boolean
|
|
122
|
-
).then(() => {
|
|
121
|
+
t(4, c = m.offsetHeight), G(() => m == null ? void 0 : m.offsetHeight, Boolean).then(() => {
|
|
123
122
|
t(4, c = m.offsetHeight);
|
|
124
123
|
}), t(3, b = Number(s.replace("px", "")));
|
|
125
124
|
}
|
|
@@ -138,11 +137,11 @@ function I(o, r, t) {
|
|
|
138
137
|
S
|
|
139
138
|
];
|
|
140
139
|
}
|
|
141
|
-
class
|
|
140
|
+
class oe extends T {
|
|
142
141
|
constructor(r) {
|
|
143
|
-
super(), C(this, r,
|
|
142
|
+
super(), C(this, r, K, J, F, { visible: 0, textUnfolded: 8, content: 1 }, I);
|
|
144
143
|
}
|
|
145
144
|
}
|
|
146
145
|
export {
|
|
147
|
-
|
|
146
|
+
oe as default
|
|
148
147
|
};
|
|
@@ -3,6 +3,8 @@ import U from "animejs";
|
|
|
3
3
|
import { uuid as M } from "../../../../shared-utils/uuid.js";
|
|
4
4
|
import { notNil as z } from "../../../../shared-utils/isNil.js";
|
|
5
5
|
import "three";
|
|
6
|
+
import "@realsee/five/gltf-loader";
|
|
7
|
+
import "../../../../shared-utils/three/loadTexture.js";
|
|
6
8
|
import { searchFirstValueSmallThanLastValue as H } from "../../../utils/search.js";
|
|
7
9
|
import { RANDON_STRING as b } from "../../../utils/constants.js";
|
|
8
10
|
function K(i) {
|
|
@@ -171,7 +173,7 @@ function $(i, e, o) {
|
|
|
171
173
|
P
|
|
172
174
|
];
|
|
173
175
|
}
|
|
174
|
-
class
|
|
176
|
+
class ue extends J {
|
|
175
177
|
constructor(e) {
|
|
176
178
|
super(), V(
|
|
177
179
|
this,
|
|
@@ -191,5 +193,5 @@ class re extends J {
|
|
|
191
193
|
}
|
|
192
194
|
}
|
|
193
195
|
export {
|
|
194
|
-
|
|
196
|
+
ue as default
|
|
195
197
|
};
|