@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,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var C = (i, o, e) => o in i ?
|
|
1
|
+
var R = Object.defineProperty;
|
|
2
|
+
var E = Object.getOwnPropertySymbols;
|
|
3
|
+
var F = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var C = (i, o, e) => o in i ? R(i, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[o] = e, b = (i, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
6
|
+
F.call(o, e) && C(i, e, o[e]);
|
|
7
|
+
if (E)
|
|
8
|
+
for (var e of E(o))
|
|
9
|
+
P.call(o, e) && C(i, e, o[e]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var c = (i, o, e) => (C(i, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
13
|
var H = (i, o, e) => new Promise((t, r) => {
|
|
14
14
|
var s = (p) => {
|
|
15
15
|
try {
|
|
@@ -26,24 +26,24 @@ var H = (i, o, e) => new Promise((t, r) => {
|
|
|
26
26
|
}, m = (p) => p.done ? t(p.value) : Promise.resolve(p.value).then(s, a);
|
|
27
27
|
m((e = e.apply(i, o)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Subscribe as
|
|
30
|
-
import { Controller as
|
|
29
|
+
import { Subscribe as j } from "@realsee/five";
|
|
30
|
+
import { Controller as y } from "../base/BasePlugin.js";
|
|
31
31
|
import "three";
|
|
32
32
|
import { MoveHelper as k } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
33
33
|
import { RotateHelper as x } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
34
|
-
import { CSS3DScaleHelper as
|
|
35
|
-
import { BoundingBoxHelper as
|
|
36
|
-
import { MoveController as
|
|
34
|
+
import { CSS3DScaleHelper as I } from "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
35
|
+
import { BoundingBoxHelper as W } from "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
36
|
+
import { MoveController as L } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
37
37
|
import { ControllerWrapper as v } from "./FiveControllerWrapper.js";
|
|
38
38
|
import { Object3DHelper as _ } from "../shared-utils/Object3DHelper/index.js";
|
|
39
|
-
import { RotateController as
|
|
40
|
-
import { CSS3DScaleController as
|
|
41
|
-
import { CSS3DRender as U } from "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import { BoundingBoxController as
|
|
45
|
-
import { ScaleHelper as
|
|
46
|
-
import { ScaleController as
|
|
39
|
+
import { RotateController as $ } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
40
|
+
import { CSS3DScaleController as G } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
41
|
+
import { CSS3DRender as U } from "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
42
|
+
import N from "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
43
|
+
import V from "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
44
|
+
import { BoundingBoxController as q } from "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
45
|
+
import { ScaleHelper as z } from "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
46
|
+
import { ScaleController as A } from "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
47
47
|
import "../shared-utils/Subscribe.js";
|
|
48
48
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
49
49
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -55,7 +55,7 @@ import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
|
55
55
|
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
56
56
|
import "../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
57
57
|
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
58
|
-
import "../shared-utils/
|
|
58
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
59
59
|
import "../shared-utils/isNil.js";
|
|
60
60
|
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
61
61
|
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
@@ -74,26 +74,25 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
74
74
|
import "../shared-utils/three/centerPoint.js";
|
|
75
75
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
76
76
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
77
|
-
const
|
|
77
|
+
const S = "Object3DHelperPlugin", w = S, J = () => {
|
|
78
78
|
console.error(`${w} is disposed`);
|
|
79
|
-
},
|
|
79
|
+
}, K = () => {
|
|
80
80
|
console.warn(`${w} is disabled`);
|
|
81
|
-
},
|
|
81
|
+
}, Q = () => {
|
|
82
82
|
console.error(`${w} is disabled`);
|
|
83
83
|
};
|
|
84
|
-
class
|
|
84
|
+
class ze extends y {
|
|
85
85
|
constructor(e) {
|
|
86
86
|
super(e);
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
h(this, "state", {
|
|
87
|
+
c(this, "name", S);
|
|
88
|
+
c(this, "state", {
|
|
90
89
|
visible: !0,
|
|
91
90
|
enabled: !0,
|
|
92
91
|
disposed: !1
|
|
93
92
|
});
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
c(this, "objectHelperMap", /* @__PURE__ */ new Map());
|
|
94
|
+
c(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
95
|
+
c(this, "css3DRender");
|
|
97
96
|
this.five = e, this.css3DRender = new U(this.five.scene), console.warn("Object3DHelper: \u4F7F\u7528\u6B64\u63D2\u4EF6\uFF0C\u9700\u8981\u5728\u521D\u59CB\u5316five\u65F6\uFF0C\u8BBE\u7F6Efive\u53C2\u6570: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${S.toUpperCase()}_DEBUG__`]: this });
|
|
98
97
|
}
|
|
99
98
|
show(e) {
|
|
@@ -117,9 +116,9 @@ class Ae extends I {
|
|
|
117
116
|
}
|
|
118
117
|
setState(e, t) {
|
|
119
118
|
if (this.state.disposed)
|
|
120
|
-
return
|
|
119
|
+
return J();
|
|
121
120
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
122
|
-
return
|
|
121
|
+
return Q();
|
|
123
122
|
const r = b({}, this.state);
|
|
124
123
|
this.state = b(b({}, this.state), e), e.disposed !== void 0 && e.disposed !== r.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== r.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== r.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: r });
|
|
125
124
|
}
|
|
@@ -134,34 +133,34 @@ class Ae extends I {
|
|
|
134
133
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
135
134
|
return;
|
|
136
135
|
}
|
|
137
|
-
const r = new _(), s = [], a = (g = this.five.getElement()) == null ? void 0 : g.parentElement, m = this.five.camera, { moveHelper: p = !0, rotateHelper: f = !0, scaleHelper:
|
|
136
|
+
const r = new _(), s = [], a = (g = this.five.getElement()) == null ? void 0 : g.parentElement, m = this.five.camera, { moveHelper: p = !0, rotateHelper: f = !0, scaleHelper: O = !0, boundingBoxHelper: B = !1 } = t, u = new j();
|
|
138
137
|
if (p) {
|
|
139
|
-
const n = new k(e), l = this.getConfig(t.moveHelper), d = new v(this.five,
|
|
138
|
+
const n = new k(e), l = this.getConfig(t.moveHelper), d = new v(this.five, L, e, n, l, u);
|
|
140
139
|
r.addControllers({ moveController: d.helperController }), s.push(() => d.dispose());
|
|
141
140
|
}
|
|
142
141
|
if (f) {
|
|
143
|
-
const n = this.getConfig(t.rotateHelper), l = new x(e, b({ container: a }, n)), d = new v(this.five,
|
|
142
|
+
const n = this.getConfig(t.rotateHelper), l = new x(e, b({ container: a }, n)), d = new v(this.five, $, e, l, n, u);
|
|
144
143
|
r.addControllers({ rotateController: d.helperController }), s.push(() => d.dispose());
|
|
145
144
|
}
|
|
146
|
-
if (
|
|
147
|
-
const n = new
|
|
145
|
+
if (B) {
|
|
146
|
+
const n = new W(e), l = new v(this.five, q, e, n, void 0, u);
|
|
148
147
|
r.addControllers({ boundingBoxController: l.helperController });
|
|
149
148
|
}
|
|
150
|
-
if (
|
|
149
|
+
if (O)
|
|
151
150
|
if (e.isCSS3DObjectPlus && a) {
|
|
152
|
-
const n = new
|
|
153
|
-
r.addControllers({ scaleController: l.helperController }), s.push(() => l.dispose()),
|
|
151
|
+
const n = new I(e, a, m, this.five.scene), l = new v(this.five, G, e, n, void 0, u);
|
|
152
|
+
r.addControllers({ scaleController: l.helperController }), s.push(() => l.dispose()), N(this.five).then(() => {
|
|
154
153
|
var d, D;
|
|
155
154
|
if (e.isCSS3DObjectPlus) {
|
|
156
|
-
const
|
|
157
|
-
if (!
|
|
155
|
+
const h = e;
|
|
156
|
+
if (!h || h.mode !== "front")
|
|
158
157
|
return;
|
|
159
|
-
const
|
|
160
|
-
|
|
158
|
+
const M = (d = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? d : V(this.five);
|
|
159
|
+
M && (this.css3DObjectParentMap.set(h, h.parent), h.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(M), (D = this.css3DRender.getBehindCSS3DObjectGroup()) == null || D.add(h), this.css3DRender.render(this.five.camera));
|
|
161
160
|
}
|
|
162
161
|
});
|
|
163
162
|
} else {
|
|
164
|
-
const n = new
|
|
163
|
+
const n = new z(e), l = new v(this.five, A, e, n, void 0, u);
|
|
165
164
|
r.addControllers({ scaleController: l.helperController }), s.push(() => l.dispose());
|
|
166
165
|
}
|
|
167
166
|
return this.objectHelperMap.set(e, { helper: r, disposers: s }), r.controllers;
|
|
@@ -197,7 +196,7 @@ class Ae extends I {
|
|
|
197
196
|
actionIfStateIsEnabled(e, t) {
|
|
198
197
|
if (this.state.enabled)
|
|
199
198
|
return e();
|
|
200
|
-
t != null && t.warnLog &&
|
|
199
|
+
t != null && t.warnLog && K();
|
|
201
200
|
}
|
|
202
201
|
getConfig(e) {
|
|
203
202
|
if (!!e && typeof e != "boolean" && e.enable)
|
|
@@ -205,7 +204,6 @@ class Ae extends I {
|
|
|
205
204
|
}
|
|
206
205
|
}
|
|
207
206
|
export {
|
|
208
|
-
|
|
209
|
-
w as PLUGIN
|
|
210
|
-
O as VERSION
|
|
207
|
+
ze as Object3DHelperController,
|
|
208
|
+
w as PLUGIN
|
|
211
209
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "three";
|
|
2
|
-
import "../shared-utils/
|
|
2
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
3
3
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
4
|
-
import { Object3DHelperController as rr, PLUGIN as or
|
|
4
|
+
import { Object3DHelperController as rr, PLUGIN as or } from "./Controller.js";
|
|
5
5
|
import "@realsee/five";
|
|
6
6
|
import "../base/BasePlugin.js";
|
|
7
7
|
import "../shared-utils/Subscribe.js";
|
|
@@ -11,7 +11,7 @@ import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
|
11
11
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
12
12
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
13
13
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
14
|
-
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
14
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
15
15
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
16
16
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
17
17
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -53,6 +53,5 @@ export {
|
|
|
53
53
|
rr as Object3DHelperController,
|
|
54
54
|
Z as Object3DHelperPlugin,
|
|
55
55
|
or as PLUGIN,
|
|
56
|
-
tr as VERSION,
|
|
57
56
|
Z as default
|
|
58
57
|
};
|
|
@@ -37,7 +37,7 @@ import "../base/BasePlugin.js";
|
|
|
37
37
|
import "../shared-utils/Subscribe.js";
|
|
38
38
|
import "./Assets/roomInfoIcon.js";
|
|
39
39
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
40
|
-
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
40
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
41
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
42
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
43
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -9,7 +9,7 @@ import "./Assets/roomInfoIcon.js";
|
|
|
9
9
|
import "../shared-utils/three/loadTexture.js";
|
|
10
10
|
import "../CSS3DRenderPlugin/index.js";
|
|
11
11
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
12
|
-
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
12
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
13
13
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
14
14
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
15
15
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -6,7 +6,7 @@ import Pe from "./Components/tag.js";
|
|
|
6
6
|
import { pluginStyle as xe } from "./style.js";
|
|
7
7
|
import { render as Ee } from "../shared-utils/tinyEJSrender.js";
|
|
8
8
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
9
|
-
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
9
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
10
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
11
11
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
12
12
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -4,7 +4,7 @@ import "three";
|
|
|
4
4
|
import "@realsee/five";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
6
6
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
7
|
-
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
7
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
8
8
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
9
9
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
10
10
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './deprecated';
|
|
@@ -1,148 +1,144 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var S = Object.defineProperty;
|
|
2
|
+
var _ = Object.getOwnPropertySymbols;
|
|
3
|
+
var C = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var g = (o, n, t) => n in o ? S(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t, d = (o, n) => {
|
|
5
|
+
for (var t in n || (n = {}))
|
|
6
|
+
C.call(n, t) && g(o, t, n[t]);
|
|
7
|
+
if (_)
|
|
8
|
+
for (var t of _(n))
|
|
9
|
+
A.call(n, t) && g(o, t, n[t]);
|
|
10
|
+
return o;
|
|
11
|
+
};
|
|
12
|
+
import { SvelteComponent as E, init as N, safe_not_equal as T, append_styles as w, create_slot as P, element as R, attr as y, insert as q, listen as D, stop_propagation as L, update_slot_base as M, get_all_dirty_from_scope as j, get_slot_changes as z, transition_in as B, transition_out as F, detach as G, createEventDispatcher as H, getContext as I } from "../../../vendor/svelte/internal/index.js";
|
|
13
|
+
import { SharedAudio as J } from "../../utils/audio/SharedAudio.js";
|
|
3
14
|
import "../../../shared-utils/audio.js";
|
|
4
|
-
function
|
|
5
|
-
|
|
15
|
+
function K(o) {
|
|
16
|
+
w(o, "svelte-13e7hxv", ".audio.svelte-13e7hxv{pointer-events:auto;cursor:pointer;width:100%;height:100%}");
|
|
6
17
|
}
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
const r =
|
|
18
|
+
function O(o) {
|
|
19
|
+
let n, t, c, m;
|
|
20
|
+
const r = o[8].default, u = P(r, o, o[7], null);
|
|
10
21
|
return {
|
|
11
22
|
c() {
|
|
12
|
-
|
|
23
|
+
n = R("div"), u && u.c(), y(n, "class", "audio svelte-13e7hxv"), y(n, "style", o[0]);
|
|
13
24
|
},
|
|
14
|
-
m(
|
|
15
|
-
|
|
25
|
+
m(a, i) {
|
|
26
|
+
q(a, n, i), u && u.m(n, null), t = !0, c || (m = D(n, "click", L(o[1])), c = !0);
|
|
16
27
|
},
|
|
17
|
-
p(
|
|
18
|
-
|
|
19
|
-
|
|
28
|
+
p(a, [i]) {
|
|
29
|
+
u && u.p && (!t || i & 128) && M(
|
|
30
|
+
u,
|
|
20
31
|
r,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
32
|
+
a,
|
|
33
|
+
a[7],
|
|
34
|
+
t ? z(r, a[7], i, null) : j(a[7]),
|
|
24
35
|
null
|
|
25
|
-
), (!
|
|
36
|
+
), (!t || i & 1) && y(n, "style", a[0]);
|
|
26
37
|
},
|
|
27
|
-
i(
|
|
28
|
-
|
|
38
|
+
i(a) {
|
|
39
|
+
t || (B(u, a), t = !0);
|
|
29
40
|
},
|
|
30
|
-
o(
|
|
31
|
-
|
|
41
|
+
o(a) {
|
|
42
|
+
F(u, a), t = !1;
|
|
32
43
|
},
|
|
33
|
-
d(
|
|
34
|
-
|
|
44
|
+
d(a) {
|
|
45
|
+
a && G(n), u && u.d(a), c = !1, m();
|
|
35
46
|
}
|
|
36
47
|
};
|
|
37
48
|
}
|
|
38
|
-
function
|
|
39
|
-
let { $$slots:
|
|
40
|
-
const l =
|
|
41
|
-
let e,
|
|
42
|
-
function
|
|
43
|
-
|
|
49
|
+
function Q(o, n, t) {
|
|
50
|
+
let { $$slots: c = {}, $$scope: m } = n, { url: r } = n, { enable: u = !0 } = n, { style: a = "" } = n, { hooksInfo: i } = n;
|
|
51
|
+
const l = H(), p = I("hooks"), h = I("mediaStore");
|
|
52
|
+
let e, f = !0;
|
|
53
|
+
function b() {
|
|
54
|
+
t(
|
|
44
55
|
5,
|
|
45
|
-
e.onplay = (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
u
|
|
53
|
-
)), l("play"), n(6, d = !1);
|
|
56
|
+
e.onplay = (s) => {
|
|
57
|
+
p.emit("playStateChange", d({
|
|
58
|
+
event: s,
|
|
59
|
+
state: "playing",
|
|
60
|
+
mediaInstance: e
|
|
61
|
+
}, i)), l("play"), t(6, f = !1);
|
|
54
62
|
},
|
|
55
63
|
e
|
|
56
|
-
),
|
|
64
|
+
), t(
|
|
57
65
|
5,
|
|
58
|
-
e.onpause = (
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
u
|
|
66
|
-
)), l("pause"), n(6, d = !0);
|
|
66
|
+
e.onpause = (s) => {
|
|
67
|
+
p.emit("playStateChange", d({
|
|
68
|
+
event: s,
|
|
69
|
+
state: "paused",
|
|
70
|
+
mediaInstance: e
|
|
71
|
+
}, i)), l("pause"), t(6, f = !0);
|
|
67
72
|
},
|
|
68
73
|
e
|
|
69
|
-
),
|
|
74
|
+
), t(
|
|
70
75
|
5,
|
|
71
|
-
e.onended = (
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
u
|
|
79
|
-
)), l("pause"), n(6, d = !0);
|
|
76
|
+
e.onended = (s) => {
|
|
77
|
+
p.emit("playStateChange", d({
|
|
78
|
+
event: s,
|
|
79
|
+
state: "paused",
|
|
80
|
+
mediaInstance: e
|
|
81
|
+
}, i)), l("pause"), t(6, f = !0);
|
|
80
82
|
},
|
|
81
83
|
e
|
|
82
|
-
),
|
|
84
|
+
), t(
|
|
83
85
|
5,
|
|
84
|
-
e.onloadedmetadata = (
|
|
86
|
+
e.onloadedmetadata = (s) => {
|
|
85
87
|
typeof e.duration == "number" && !Number.isNaN(e.duration) && l("duration", e.duration);
|
|
86
88
|
},
|
|
87
89
|
e
|
|
88
|
-
),
|
|
90
|
+
), t(
|
|
89
91
|
5,
|
|
90
|
-
e.onerror = (
|
|
91
|
-
l("pause"),
|
|
92
|
+
e.onerror = (s) => {
|
|
93
|
+
l("pause"), t(6, f = !0);
|
|
92
94
|
},
|
|
93
95
|
e
|
|
94
|
-
),
|
|
96
|
+
), t(
|
|
95
97
|
5,
|
|
96
|
-
e.ontimeupdate = (
|
|
98
|
+
e.ontimeupdate = (s) => {
|
|
97
99
|
l("timeupdate", e.currentTime);
|
|
98
100
|
},
|
|
99
101
|
e
|
|
100
102
|
);
|
|
101
103
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
+
h.subscribe(({ currentMediaElement: s }) => {
|
|
105
|
+
s !== e && (f || e == null || e.pause());
|
|
104
106
|
});
|
|
105
|
-
function
|
|
106
|
-
!e || (
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
event: t,
|
|
116
|
-
state: e.paused ? "playing" : "paused",
|
|
117
|
-
mediaInstance: e
|
|
118
|
-
},
|
|
119
|
-
u
|
|
120
|
-
)), e.paused ? e.play() : e.pause());
|
|
107
|
+
function k(s) {
|
|
108
|
+
!e || (p.emit("click", d({
|
|
109
|
+
event: s,
|
|
110
|
+
target: "AudioTagPlayIcon",
|
|
111
|
+
audioInstance: e
|
|
112
|
+
}, i)), h.set({ currentMediaElement: e }), p.emit("playStateChange", d({
|
|
113
|
+
event: s,
|
|
114
|
+
state: e.paused ? "playing" : "paused",
|
|
115
|
+
mediaInstance: e
|
|
116
|
+
}, i)), e.paused ? e.play() : e.pause());
|
|
121
117
|
}
|
|
122
|
-
return
|
|
123
|
-
"url" in
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
}, [
|
|
118
|
+
return o.$$set = (s) => {
|
|
119
|
+
"url" in s && t(2, r = s.url), "enable" in s && t(3, u = s.enable), "style" in s && t(0, a = s.style), "hooksInfo" in s && t(4, i = s.hooksInfo), "$$scope" in s && t(7, m = s.$$scope);
|
|
120
|
+
}, o.$$.update = () => {
|
|
121
|
+
o.$$.dirty & 4 && (r || l("duration", 0)), o.$$.dirty & 36 && (e == null || e.dispose(), t(5, e = new J(r)), l("audioRef", e), setTimeout(() => l("audioRef", e), 200), b()), o.$$.dirty & 40 && (u || e == null || e.pause()), o.$$.dirty & 72 && l(u && !f ? "play" : "pause");
|
|
122
|
+
}, [a, k, r, u, i, e, f, m, c];
|
|
127
123
|
}
|
|
128
|
-
class
|
|
129
|
-
constructor(
|
|
130
|
-
super(),
|
|
124
|
+
class Y extends E {
|
|
125
|
+
constructor(n) {
|
|
126
|
+
super(), N(
|
|
131
127
|
this,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
128
|
+
n,
|
|
129
|
+
Q,
|
|
130
|
+
O,
|
|
131
|
+
T,
|
|
136
132
|
{
|
|
137
133
|
url: 2,
|
|
138
134
|
enable: 3,
|
|
139
135
|
style: 0,
|
|
140
136
|
hooksInfo: 4
|
|
141
137
|
},
|
|
142
|
-
|
|
138
|
+
K
|
|
143
139
|
);
|
|
144
140
|
}
|
|
145
141
|
}
|
|
146
142
|
export {
|
|
147
|
-
|
|
143
|
+
Y as default
|
|
148
144
|
};
|