@realsee/dnalogel 2.10.5-alpha.0 → 2.10.5-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +4 -3
- package/dist/index.cjs.js +14 -14
- package/dist/index.js +220 -196
- package/dist/index.umd.js +14 -14
- package/dist/shared-utils/audio.d.ts +1 -0
- package/docs/classes/CSS3DRender.html +4 -4
- package/docs/classes/CruisePluginController.html +4 -4
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +4 -4
- package/docs/classes/PaintBrush.html +4 -4
- package/docs/classes/PanoMeasurePluginLine.html +4 -4
- package/docs/classes/PanoMeasurePluginModel.html +4 -4
- package/docs/classes/PanoMeasurePluginPoint.html +4 -4
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
- package/docs/classes/PanoTagPluginController.html +4 -4
- package/docs/classes/Util.BetterTween.html +4 -4
- package/docs/classes/Util.FivePointSelector.html +4 -4
- package/docs/classes/Util.Interval.html +4 -4
- package/docs/classes/Util.Magnifier.html +4 -4
- package/docs/classes/Util.PointDomHelper.html +4 -4
- package/docs/classes/Util.PointHelper.html +4 -4
- package/docs/classes/Util.Rectangle.html +4 -4
- package/docs/enums/CameraMovementEffect.html +4 -4
- package/docs/enums/ContentType.html +4 -4
- package/docs/enums/DIRECTION.html +4 -4
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -4
- package/docs/enums/DimensionType.html +4 -4
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -4
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -4
- package/docs/enums/PaintBrushTypeEnum.html +4 -4
- package/docs/enums/PointType.html +4 -4
- package/docs/enums/Rotation.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +4 -4
- package/docs/interfaces/EventMap.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +4 -4
- package/docs/interfaces/FloorplanEntrance.html +4 -4
- package/docs/interfaces/FloorplanExtraObject.html +4 -4
- package/docs/interfaces/FloorplanExtraObject3D.html +4 -4
- package/docs/interfaces/FloorplanFloorData.html +4 -4
- package/docs/interfaces/FloorplanImagePosition.html +4 -4
- package/docs/interfaces/FloorplanObserver.html +4 -4
- package/docs/interfaces/FloorplanOutlineItem.html +4 -4
- package/docs/interfaces/FloorplanPosition.html +4 -4
- package/docs/interfaces/FloorplanRoomItem.html +4 -4
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +4 -4
- package/docs/interfaces/FloorplanServerData.html +4 -4
- package/docs/interfaces/FloorplanServerDoorItem.html +4 -4
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -4
- package/docs/interfaces/FloorplanServerEntrance.html +4 -4
- package/docs/interfaces/FloorplanServerFloorData.html +4 -4
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -4
- package/docs/interfaces/FloorplanServerObserver.html +4 -4
- package/docs/interfaces/FloorplanServerOutlineItem.html +4 -4
- package/docs/interfaces/FloorplanServerPosition.html +4 -4
- package/docs/interfaces/FloorplanServerRoomItem.html +4 -4
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/HelperOffset.html +4 -4
- package/docs/interfaces/ItemLabelPluginData.html +4 -4
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -4
- package/docs/interfaces/ItemLabelPluginParametersType.html +4 -4
- package/docs/interfaces/MinMax.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginData.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginData.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -4
- package/docs/interfaces/ModelRoomLabelPluginData.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginData.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -4
- package/docs/interfaces/ModelViewPluginExportType.html +4 -4
- package/docs/interfaces/Object3DHelperState.html +4 -4
- package/docs/interfaces/ObjectHelperControllers.html +4 -4
- package/docs/interfaces/PaintBrushAction.html +4 -4
- package/docs/interfaces/PaintBrushConfigs.html +4 -4
- package/docs/interfaces/PaintBrushState.html +4 -4
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -4
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +4 -4
- package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -4
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -4
- package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -4
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +4 -4
- package/docs/interfaces/PanoRulerPluginOptions.html +4 -4
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginExportType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginOptions.html +4 -4
- package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginState.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +4 -4
- package/docs/interfaces/Point.html +4 -4
- package/docs/interfaces/Room.html +4 -4
- package/docs/interfaces/RoomInfo.html +4 -4
- package/docs/interfaces/RoomLabel.html +4 -4
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +4 -4
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCache.html +4 -4
- package/docs/interfaces/TagConfig.html +4 -4
- package/docs/interfaces/TagIconUrl.html +4 -4
- package/docs/interfaces/Tags.html +4 -4
- package/docs/interfaces/TemporaryState.html +4 -4
- package/docs/interfaces/Util.MagnifierParameter.html +4 -4
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelElement.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/PlaneTagElement.html +4 -4
- package/docs/types/Point2DElement.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DElement.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagElement.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagIconSize.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/VERSION.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +10 -10
- package/libs/PanoTagPlugin/Components/Common/Audio.js +48 -38
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +4 -3
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +72 -43
- package/libs/PanoVideoPlugin/VideoMeshController.js +7 -7
- package/libs/shared-utils/audio.d.ts +1 -0
- package/libs/shared-utils/audio.js +14 -13
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ROOM_TYPE_MAP | 如视看房插件合集 - v2.10.5-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ROOM_TYPE_MAP | 如视看房插件合集 - v2.10.5-alpha.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.10.5-alpha.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.1</a></li>
|
|
16
16
|
<li><a href="ROOM_TYPE_MAP.html">ROOM_TYPE_MAP</a></li></ul>
|
|
17
17
|
<h1>Variable ROOM_TYPE_MAP<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">ROOM_<wbr/>TYPE_<wbr/>MAP<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>description<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>roomType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
37
37
|
<div class="tsd-accordion-details">
|
|
38
38
|
<ul>
|
|
39
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.
|
|
39
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.1</a>
|
|
40
40
|
<ul>
|
|
41
41
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
42
42
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>VERSION | 如视看房插件合集 - v2.10.5-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>VERSION | 如视看房插件合集 - v2.10.5-alpha.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.10.5-alpha.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.1</a></li>
|
|
16
16
|
<li><a href="VERSION.html">VERSION</a></li></ul>
|
|
17
17
|
<h1>Variable VERSION<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">VERSION<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"v1.0.0"</span><span class="tsd-signature-symbol"> = 'v1.0.0'</span></div><aside class="tsd-sources">
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
35
35
|
<div class="tsd-accordion-details">
|
|
36
36
|
<ul>
|
|
37
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.
|
|
37
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.1</a>
|
|
38
38
|
<ul>
|
|
39
39
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
40
40
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v2.10.5-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v2.10.5-alpha.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.10.5-alpha.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.1</a></li>
|
|
16
16
|
<li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable itemLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.1</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
47
47
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.10.5-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.10.5-alpha.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.10.5-alpha.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.1</a></li>
|
|
16
16
|
<li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.1</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
47
47
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.10.5-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.10.5-alpha.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.10.5-alpha.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.10.5-alpha.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.10.5-alpha.1</a></li>
|
|
16
16
|
<li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.10.5-<wbr/>alpha.1</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
47
47
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
2
|
var l = (r, t, e) => t in r ? d(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
|
-
var
|
|
3
|
+
var n = (r, t, e) => (l(r, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
4
|
import { CSS3DRenderer as p } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
5
|
import h from "../getAllCSS3DObject.js";
|
|
6
6
|
import u from "../createResizeObserver.js";
|
|
@@ -8,9 +8,9 @@ import "../even.js";
|
|
|
8
8
|
class A extends p {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
n(this, "wrapper");
|
|
12
|
+
n(this, "requestAnimationFrameId");
|
|
13
|
+
n(this, "resizeDisoper");
|
|
14
14
|
this.domElement.style.position = "absolute", this.domElement.style.top = "0", this.domElement.style.left = "0", this.domElement.style.userSelect = "none", this.domElement.style.pointerEvents = "none";
|
|
15
15
|
}
|
|
16
16
|
setWrapper(e) {
|
|
@@ -23,16 +23,16 @@ class A extends p {
|
|
|
23
23
|
}
|
|
24
24
|
appendToElement(e) {
|
|
25
25
|
e.appendChild(this.domElement);
|
|
26
|
-
const i = (m, a) => this.setSize(m, a), { observe:
|
|
27
|
-
|
|
26
|
+
const i = (m, a) => this.setSize(m, a), { observe: s, unobserve: o } = u(e, i, !0);
|
|
27
|
+
s(), this.resizeDisoper = o, this.wrapper = e;
|
|
28
28
|
}
|
|
29
29
|
renderEveryFrame(e, i) {
|
|
30
30
|
if (this.wrapper || console.warn("wrapper is not find, creating a html element and call setWrapper(wrapper)", this, e), this.requestAnimationFrameId)
|
|
31
|
-
return
|
|
32
|
-
const
|
|
33
|
-
this.requestAnimationFrameId = requestAnimationFrame(
|
|
31
|
+
return;
|
|
32
|
+
const s = () => {
|
|
33
|
+
this.requestAnimationFrameId = requestAnimationFrame(s), !!e.visible && h(e).length !== 0 && this.render(e, i);
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
s();
|
|
36
36
|
}
|
|
37
37
|
stopRender() {
|
|
38
38
|
this.requestAnimationFrameId && cancelAnimationFrame(this.requestAnimationFrameId);
|
|
@@ -1,74 +1,84 @@
|
|
|
1
1
|
var S = Object.defineProperty;
|
|
2
2
|
var _ = Object.getOwnPropertySymbols;
|
|
3
|
-
var C = Object.prototype.hasOwnProperty,
|
|
4
|
-
var g = (o, n, t) => n in o ? S(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t,
|
|
3
|
+
var C = Object.prototype.hasOwnProperty, w = 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, f = (o, n) => {
|
|
5
5
|
for (var t in n || (n = {}))
|
|
6
6
|
C.call(n, t) && g(o, t, n[t]);
|
|
7
7
|
if (_)
|
|
8
8
|
for (var t of _(n))
|
|
9
|
-
|
|
9
|
+
w.call(n, t) && g(o, t, n[t]);
|
|
10
10
|
return o;
|
|
11
11
|
};
|
|
12
|
-
import { SvelteComponent as
|
|
12
|
+
import { SvelteComponent as A, init as E, safe_not_equal as N, append_styles as T, create_slot as P, element as R, attr as y, insert as j, listen as q, stop_propagation as D, update_slot_base as L, get_all_dirty_from_scope as M, get_slot_changes as O, transition_in as z, transition_out as B, detach as F, createEventDispatcher as G, getContext as b } from "../../../vendor/svelte/internal/index.js";
|
|
13
13
|
import { SharedAudio as H } from "../../utils/audio/SharedAudio.js";
|
|
14
14
|
import "../../../shared-utils/audio.js";
|
|
15
15
|
function J(o) {
|
|
16
|
-
|
|
16
|
+
T(o, "svelte-13e7hxv", ".audio.svelte-13e7hxv{pointer-events:auto;cursor:pointer;width:100%;height:100%}");
|
|
17
17
|
}
|
|
18
18
|
function K(o) {
|
|
19
|
-
let n, t,
|
|
20
|
-
const r = o[8].default,
|
|
19
|
+
let n, t, c, m;
|
|
20
|
+
const r = o[8].default, u = P(r, o, o[7], null);
|
|
21
21
|
return {
|
|
22
22
|
c() {
|
|
23
|
-
n = R("div"),
|
|
23
|
+
n = R("div"), u && u.c(), y(n, "class", "audio svelte-13e7hxv"), y(n, "style", o[0]);
|
|
24
24
|
},
|
|
25
|
-
m(a,
|
|
26
|
-
|
|
25
|
+
m(a, i) {
|
|
26
|
+
j(a, n, i), u && u.m(n, null), t = !0, c || (m = q(n, "click", D(o[1])), c = !0);
|
|
27
27
|
},
|
|
28
|
-
p(a, [
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
p(a, [i]) {
|
|
29
|
+
u && u.p && (!t || i & 128) && L(
|
|
30
|
+
u,
|
|
31
31
|
r,
|
|
32
32
|
a,
|
|
33
33
|
a[7],
|
|
34
|
-
t ?
|
|
34
|
+
t ? O(r, a[7], i, null) : M(a[7]),
|
|
35
35
|
null
|
|
36
|
-
), (!t ||
|
|
36
|
+
), (!t || i & 1) && y(n, "style", a[0]);
|
|
37
37
|
},
|
|
38
38
|
i(a) {
|
|
39
|
-
t || (z(
|
|
39
|
+
t || (z(u, a), t = !0);
|
|
40
40
|
},
|
|
41
41
|
o(a) {
|
|
42
|
-
B(
|
|
42
|
+
B(u, a), t = !1;
|
|
43
43
|
},
|
|
44
44
|
d(a) {
|
|
45
|
-
a && F(n),
|
|
45
|
+
a && F(n), u && u.d(a), c = !1, m();
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
let { $$slots:
|
|
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
51
|
const l = G(), p = b("hooks"), h = b("mediaStore");
|
|
52
|
-
let e,
|
|
52
|
+
let e, d = !0;
|
|
53
53
|
function k() {
|
|
54
54
|
t(
|
|
55
55
|
5,
|
|
56
56
|
e.onplay = (s) => {
|
|
57
|
-
p.emit("playStateChange",
|
|
57
|
+
p.emit("playStateChange", f({
|
|
58
58
|
event: s,
|
|
59
59
|
state: "playing",
|
|
60
60
|
mediaInstance: e
|
|
61
|
-
},
|
|
61
|
+
}, i)), l("play"), t(6, d = !1);
|
|
62
62
|
},
|
|
63
63
|
e
|
|
64
64
|
), t(
|
|
65
65
|
5,
|
|
66
66
|
e.onpause = (s) => {
|
|
67
|
-
p.emit("playStateChange",
|
|
67
|
+
p.emit("playStateChange", f({
|
|
68
68
|
event: s,
|
|
69
69
|
state: "paused",
|
|
70
70
|
mediaInstance: e
|
|
71
|
-
},
|
|
71
|
+
}, i)), l("pause"), t(6, d = !0);
|
|
72
|
+
},
|
|
73
|
+
e
|
|
74
|
+
), t(
|
|
75
|
+
5,
|
|
76
|
+
e.onended = (s) => {
|
|
77
|
+
p.emit("playStateChange", f({
|
|
78
|
+
event: s,
|
|
79
|
+
state: "paused",
|
|
80
|
+
mediaInstance: e
|
|
81
|
+
}, i)), l("pause"), t(6, d = !0);
|
|
72
82
|
},
|
|
73
83
|
e
|
|
74
84
|
), t(
|
|
@@ -80,7 +90,7 @@ function O(o, n, t) {
|
|
|
80
90
|
), t(
|
|
81
91
|
5,
|
|
82
92
|
e.onerror = (s) => {
|
|
83
|
-
l("pause"), t(6,
|
|
93
|
+
l("pause"), t(6, d = !0);
|
|
84
94
|
},
|
|
85
95
|
e
|
|
86
96
|
), t(
|
|
@@ -92,33 +102,33 @@ function O(o, n, t) {
|
|
|
92
102
|
);
|
|
93
103
|
}
|
|
94
104
|
h.subscribe(({ currentMediaElement: s }) => {
|
|
95
|
-
s !== e && (
|
|
105
|
+
s !== e && (d || e == null || e.pause());
|
|
96
106
|
});
|
|
97
107
|
function I(s) {
|
|
98
|
-
!e || (p.emit("click",
|
|
108
|
+
!e || (console.log("==========click============ audio.paused: ", e.paused), Object.assign(window, { audio: e }), p.emit("click", f({
|
|
99
109
|
event: s,
|
|
100
110
|
target: "AudioTagPlayIcon",
|
|
101
111
|
audioInstance: e
|
|
102
|
-
},
|
|
112
|
+
}, i)), h.set({ currentMediaElement: e }), p.emit("playStateChange", f({
|
|
103
113
|
event: s,
|
|
104
114
|
state: e.paused ? "playing" : "paused",
|
|
105
115
|
mediaInstance: e
|
|
106
|
-
},
|
|
116
|
+
}, i)), e.paused ? e.play() : e.pause());
|
|
107
117
|
}
|
|
108
118
|
return o.$$set = (s) => {
|
|
109
|
-
"url" in s && t(2, r = s.url), "enable" in s && t(3,
|
|
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);
|
|
110
120
|
}, o.$$.update = () => {
|
|
111
|
-
o.$$.dirty & 4 && (r || l("duration", 0)), o.$$.dirty & 36 && (e == null || e.dispose(), t(5, e = new H(r)), l("audioRef", e), setTimeout(() => l("audioRef", e), 200), k()), o.$$.dirty & 40 && (
|
|
112
|
-
}, [a, I, r,
|
|
121
|
+
o.$$.dirty & 4 && (r || l("duration", 0)), o.$$.dirty & 36 && (e == null || e.dispose(), t(5, e = new H(r)), l("audioRef", e), setTimeout(() => l("audioRef", e), 200), k()), o.$$.dirty & 40 && (u || e == null || e.pause()), o.$$.dirty & 72 && l(u && !d ? "play" : "pause");
|
|
122
|
+
}, [a, I, r, u, i, e, d, m, c];
|
|
113
123
|
}
|
|
114
|
-
class
|
|
124
|
+
class Y extends A {
|
|
115
125
|
constructor(n) {
|
|
116
|
-
super(),
|
|
126
|
+
super(), E(
|
|
117
127
|
this,
|
|
118
128
|
n,
|
|
119
|
-
|
|
129
|
+
Q,
|
|
120
130
|
K,
|
|
121
|
-
|
|
131
|
+
N,
|
|
122
132
|
{
|
|
123
133
|
url: 2,
|
|
124
134
|
enable: 3,
|
|
@@ -130,5 +140,5 @@ class X extends E {
|
|
|
130
140
|
}
|
|
131
141
|
}
|
|
132
142
|
export {
|
|
133
|
-
|
|
143
|
+
Y as default
|
|
134
144
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
export declare class SharedAudio extends Audio {
|
|
2
|
-
sharedAudioSrc?: string;
|
|
3
|
-
private sharedAudioPaused;
|
|
4
2
|
get paused(): boolean;
|
|
5
3
|
get currentTime(): number;
|
|
4
|
+
private sharedAudioSrc?;
|
|
5
|
+
private sharedAudioPaused;
|
|
6
6
|
private sharedAudioCurrentTime;
|
|
7
7
|
private tryplaying;
|
|
8
8
|
private audioInstance?;
|
|
9
9
|
private eventListenerDisposer?;
|
|
10
10
|
constructor(src?: string);
|
|
11
11
|
play(): Promise<void>;
|
|
12
|
-
pause(): void;
|
|
12
|
+
pause(e?: Event): void;
|
|
13
13
|
dispose(): void;
|
|
14
14
|
private clear;
|
|
15
|
+
private endedHandler;
|
|
15
16
|
private addEventListeners;
|
|
16
17
|
}
|
|
@@ -1,84 +1,113 @@
|
|
|
1
|
-
var
|
|
2
|
-
var y = (
|
|
3
|
-
var
|
|
1
|
+
var E = Object.defineProperty;
|
|
2
|
+
var y = (u, r, e) => r in u ? E(u, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[r] = e;
|
|
3
|
+
var c = (u, r, e) => (y(u, typeof r != "symbol" ? r + "" : r, e), e);
|
|
4
|
+
var v = (u, r, e) => new Promise((n, i) => {
|
|
5
|
+
var h = (d) => {
|
|
6
|
+
try {
|
|
7
|
+
o(e.next(d));
|
|
8
|
+
} catch (l) {
|
|
9
|
+
i(l);
|
|
10
|
+
}
|
|
11
|
+
}, a = (d) => {
|
|
12
|
+
try {
|
|
13
|
+
o(e.throw(d));
|
|
14
|
+
} catch (l) {
|
|
15
|
+
i(l);
|
|
16
|
+
}
|
|
17
|
+
}, o = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(h, a);
|
|
18
|
+
o((e = e.apply(u, r)).next());
|
|
19
|
+
});
|
|
4
20
|
import { getAudio as L, AudioNamespace as A } from "../../../shared-utils/audio.js";
|
|
5
21
|
class I extends Audio {
|
|
6
22
|
constructor(e) {
|
|
7
23
|
super();
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
24
|
+
c(this, "sharedAudioSrc");
|
|
25
|
+
c(this, "sharedAudioPaused", !0);
|
|
26
|
+
c(this, "sharedAudioCurrentTime", 0);
|
|
27
|
+
c(this, "tryplaying", !1);
|
|
28
|
+
c(this, "audioInstance");
|
|
29
|
+
c(this, "eventListenerDisposer");
|
|
14
30
|
this.sharedAudioSrc = e;
|
|
15
31
|
}
|
|
16
32
|
get paused() {
|
|
17
|
-
var e;
|
|
18
|
-
return (e = this.sharedAudioPaused) != null ? e : !0;
|
|
33
|
+
var e, n;
|
|
34
|
+
return console.log("get paused", (e = this.sharedAudioPaused) != null ? e : !0), (n = this.sharedAudioPaused) != null ? n : !0;
|
|
19
35
|
}
|
|
20
36
|
get currentTime() {
|
|
21
37
|
return this.sharedAudioCurrentTime;
|
|
22
38
|
}
|
|
23
39
|
play() {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
this.audioInstance.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
40
|
+
return v(this, null, function* () {
|
|
41
|
+
var n, i, h;
|
|
42
|
+
if (this.tryplaying)
|
|
43
|
+
return;
|
|
44
|
+
this.tryplaying = !0, (!this.audioInstance || ((n = this.audioInstance) == null ? void 0 : n.realSrc) !== this.sharedAudioSrc) && (this.audioInstance = L(this.sharedAudioSrc, { namespace: A.PlayAudio })), console.log("play audio! ", this.sharedAudioSrc, this.audioInstance.src), (i = this.eventListenerDisposer) == null || i.call(this), this.eventListenerDisposer = this.addEventListeners(), this.audioInstance.currentTime = (h = this.currentTime) != null ? h : 0;
|
|
45
|
+
const e = this.audioInstance.currentTime !== this.currentTime;
|
|
46
|
+
this.audioInstance.play().then(() => {
|
|
47
|
+
var a;
|
|
48
|
+
this.audioInstance.muted = !1, e && (this.audioInstance.currentTime = (a = this.currentTime) != null ? a : 0), this.sharedAudioPaused = !1;
|
|
49
|
+
}).catch((a) => {
|
|
50
|
+
var o;
|
|
51
|
+
a.message === "The operation is not supported." ? console.error("Error: \u97F3\u9891\u6587\u4EF6\u53EF\u80FD\u635F\u574F\u6216\u4FEE\u6539\u8FC7\u6587\u4EF6\u540E\u7F00", a) : console.error("Error: error playing media in Safari", a), this.endedHandler(), (o = this.onerror) == null || o.call(this, a);
|
|
52
|
+
}).finally(() => {
|
|
53
|
+
this.tryplaying = !1;
|
|
54
|
+
});
|
|
55
|
+
});
|
|
34
56
|
}
|
|
35
|
-
pause() {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
57
|
+
pause(e) {
|
|
58
|
+
var n;
|
|
59
|
+
if (console.log("try pause"), !!this.audioInstance && !this.paused) {
|
|
60
|
+
if (console.log("pause handle"), this.sharedAudioPaused = !0, (n = this.eventListenerDisposer) == null || n.call(this), this.audioInstance.ended) {
|
|
61
|
+
this.endedHandler();
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.audioInstance.paused || this.audioInstance.pause(), this.onpause(e != null ? e : new Event("pause")), this.clear();
|
|
65
|
+
}
|
|
40
66
|
}
|
|
41
67
|
dispose() {
|
|
42
|
-
|
|
68
|
+
var e;
|
|
69
|
+
(e = this.eventListenerDisposer) == null || e.call(this), this.clear(), this.audioInstance = void 0;
|
|
43
70
|
}
|
|
44
71
|
clear() {
|
|
45
72
|
var e;
|
|
46
|
-
(e = this.audioInstance) == null || e.clear();
|
|
73
|
+
console.log("clear"), (e = this.audioInstance) == null || e.clear();
|
|
74
|
+
}
|
|
75
|
+
endedHandler(e) {
|
|
76
|
+
var n, i;
|
|
77
|
+
console.log("ended"), (n = this.onended) == null || n.call(this, e != null ? e : new Event("ended")), (i = this.eventListenerDisposer) == null || i.call(this), this.sharedAudioPaused = !0, this.sharedAudioCurrentTime = 0, this.clear();
|
|
47
78
|
}
|
|
48
79
|
addEventListeners() {
|
|
49
80
|
const e = this.audioInstance;
|
|
50
81
|
if (!e)
|
|
51
82
|
return;
|
|
52
|
-
const
|
|
83
|
+
const n = (s) => {
|
|
53
84
|
var t;
|
|
54
|
-
|
|
55
|
-
}, o = (s) => {
|
|
56
|
-
var t;
|
|
57
|
-
e.isBlankAudio || (this.sharedAudioPaused = !1, (t = this.onplay) == null || t.call(this, s));
|
|
85
|
+
console.debug("ontimeupdate", e.currentTime, e.paused, e.ended), this.sharedAudioCurrentTime = e.currentTime, (t = this.ontimeupdate) == null || t.call(this, s);
|
|
58
86
|
}, i = (s) => {
|
|
59
87
|
var t;
|
|
60
|
-
(t = this.
|
|
61
|
-
}, u = (s) => {
|
|
62
|
-
var t;
|
|
63
|
-
(t = this.onended) == null || t.call(this, s), this.sharedAudioPaused = !0, this.sharedAudioCurrentTime = 0;
|
|
88
|
+
e.isBlankAudio || (this.sharedAudioPaused = !1, (t = this.onplay) == null || t.call(this, s));
|
|
64
89
|
}, h = (s) => {
|
|
90
|
+
console.log("emit onpause"), this.pause(s);
|
|
91
|
+
}, a = (s) => {
|
|
92
|
+
this.endedHandler(s);
|
|
93
|
+
}, o = (s) => {
|
|
65
94
|
var t;
|
|
66
95
|
this.sharedAudioPaused = !0, (t = this.onerror) == null || t.call(this, s);
|
|
67
|
-
},
|
|
96
|
+
}, d = (s) => {
|
|
68
97
|
var t;
|
|
69
98
|
return (t = this.oncanplay) == null ? void 0 : t.call(this, s);
|
|
70
|
-
},
|
|
99
|
+
}, l = (s) => {
|
|
71
100
|
var t;
|
|
72
101
|
return (t = this.oncanplaythrough) == null ? void 0 : t.call(this, s);
|
|
73
|
-
},
|
|
102
|
+
}, p = (s) => {
|
|
74
103
|
var t;
|
|
75
104
|
return (t = this.onloadeddata) == null ? void 0 : t.call(this, s);
|
|
76
|
-
},
|
|
105
|
+
}, m = (s) => {
|
|
77
106
|
var t;
|
|
78
107
|
return (t = this.onloadedmetadata) == null ? void 0 : t.call(this, s);
|
|
79
108
|
};
|
|
80
|
-
return e.addEventListener("timeupdate",
|
|
81
|
-
e.removeEventListener("timeupdate",
|
|
109
|
+
return e.addEventListener("timeupdate", n), e.addEventListener("play", i), e.addEventListener("pause", h), e.addEventListener("ended", a), e.addEventListener("error", o), e.addEventListener("canplay", d), e.addEventListener("canplaythrough", l), e.addEventListener("loadeddata", p), e.addEventListener("loadedmetadata", m), () => {
|
|
110
|
+
e.removeEventListener("timeupdate", n), e.removeEventListener("play", i), e.removeEventListener("pause", h), e.removeEventListener("ended", a), e.removeEventListener("error", o), e.removeEventListener("canplay", d), e.removeEventListener("canplaythrough", l), e.removeEventListener("loadeddata", p), e.removeEventListener("loadedmetadata", m);
|
|
82
111
|
};
|
|
83
112
|
}
|
|
84
113
|
}
|