@realsee/dnalogel 2.14.1-alpha.0 → 2.14.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.js +6 -4
- package/dist/index.umd.js +2 -2
- 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 -24
- 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 +46 -46
- 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 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/PanoVideoPlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- 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 -5
- package/docs/index.html +4 -4
- 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 +6 -6
- 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 -5
- 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 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- 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 -5
- package/docs/interfaces/Rooms.html +5 -5
- 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 +9 -9
- 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 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/ModelChassisCompassPlugin/Plugin.js +9 -9
- package/libs/PanoTagPlugin/Components/Common/Media.js +31 -29
- package/libs/PanoTagPlugin/controller/TagRender.js +27 -27
- package/libs/base/BasePlugin.js +1 -1
- package/package.json +1 -1
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
|
@@ -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.14.
|
|
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.14.2-alpha.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.14.2-alpha.0"/><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.14.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.14.2-alpha.0</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.14.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.14.2-alpha.0</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>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/d276fbc/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -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.14.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.14.2-<wbr/>alpha.0</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.14.
|
|
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.14.2-alpha.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.14.2-alpha.0"/><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.14.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.14.2-alpha.0</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.14.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.14.2-alpha.0</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>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/d276fbc/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -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.14.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.14.2-<wbr/>alpha.0</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,26 +1,26 @@
|
|
|
1
|
-
var M = (t,
|
|
1
|
+
var M = (t, a, s) => new Promise((l, o) => {
|
|
2
2
|
var m = (n) => {
|
|
3
3
|
try {
|
|
4
4
|
c(s.next(n));
|
|
5
5
|
} catch (u) {
|
|
6
6
|
o(u);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, i = (n) => {
|
|
9
9
|
try {
|
|
10
10
|
c(s.throw(n));
|
|
11
11
|
} catch (u) {
|
|
12
12
|
o(u);
|
|
13
13
|
}
|
|
14
|
-
}, c = (n) => n.done ? l(n.value) : Promise.resolve(n.value).then(m,
|
|
15
|
-
c((s = s.apply(t,
|
|
14
|
+
}, c = (n) => n.done ? l(n.value) : Promise.resolve(n.value).then(m, i);
|
|
15
|
+
c((s = s.apply(t, a)).next());
|
|
16
16
|
});
|
|
17
17
|
import * as h from "three";
|
|
18
18
|
import { FBXLoader as E } from "three/examples/jsm/loaders/FBXLoader";
|
|
19
19
|
import { bject3d2LocalMatrix as U } from "../shared-utils/object3d2LocalMatrix.js";
|
|
20
20
|
import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
21
|
-
const X = (t,
|
|
21
|
+
const X = (t, a) => {
|
|
22
22
|
var x;
|
|
23
|
-
const s =
|
|
23
|
+
const s = a.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", l = (x = a.north_rad) != null ? x : void 0, o = {}, m = (e) => M(void 0, null, function* () {
|
|
24
24
|
var y;
|
|
25
25
|
const r = (e == null ? void 0 : e.fbx_url) || s, d = (y = e == null ? void 0 : e.north_rad) != null ? y : l;
|
|
26
26
|
if (typeof d != "number")
|
|
@@ -42,7 +42,7 @@ const X = (t, i) => {
|
|
|
42
42
|
o.yBase = p;
|
|
43
43
|
const A = { x: (B + R) / 2, y: p - 1.6, z: (P + w) / 2 }, D = 45e-4 * g;
|
|
44
44
|
return U(f, { position: A, rotation: z, scale: D }), o.object = f, !0;
|
|
45
|
-
}),
|
|
45
|
+
}), i = ({ latitude: e }) => {
|
|
46
46
|
if (!o.object)
|
|
47
47
|
return;
|
|
48
48
|
const r = c(e);
|
|
@@ -57,12 +57,12 @@ const X = (t, i) => {
|
|
|
57
57
|
return o.yBase - (r * d + 1.6);
|
|
58
58
|
};
|
|
59
59
|
return { load: m, disable: () => {
|
|
60
|
-
!o.object || (t.scene.remove(o.object), t.needsRender = !0, t.off("cameraDirectionUpdate",
|
|
60
|
+
!o.object || (t.scene.remove(o.object), t.needsRender = !0, t.off("cameraDirectionUpdate", i));
|
|
61
61
|
}, enable: () => {
|
|
62
62
|
if (!o.object)
|
|
63
63
|
return;
|
|
64
64
|
const e = c(t.getPose().latitude);
|
|
65
|
-
e && (o.object.position.y = e), t.scene.add(o.object), t.needsRender = !0, t.on("cameraDirectionUpdate",
|
|
65
|
+
e && (o.object.position.y = e), t.scene.add(o.object), t.needsRender = !0, t.on("cameraDirectionUpdate", i);
|
|
66
66
|
} };
|
|
67
67
|
};
|
|
68
68
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as ee, init as te, safe_not_equal as ie, append_styles as ne, empty as Q, insert as q, transition_in as d, transition_out as _, check_outros as D, detach as w, getContext as A, onMount as le, onDestroy as ae, element as F, attr as G, toggle_class as k, append as oe, group_outros as M, add_render_callback as re, create_in_transition as me, identity as H, create_out_transition as ue, binding_callbacks as R, assign as U, create_component as E, mount_component as N, get_spread_update as W, get_spread_object as X, destroy_component as S, destroy_each as
|
|
1
|
+
import { SvelteComponent as ee, init as te, safe_not_equal as ie, append_styles as ne, empty as Q, insert as q, transition_in as d, transition_out as _, check_outros as D, detach as w, getContext as A, onMount as le, onDestroy as ae, element as F, attr as G, toggle_class as k, append as oe, group_outros as M, add_render_callback as re, create_in_transition as me, identity as H, create_out_transition as ue, binding_callbacks as R, assign as U, create_component as E, mount_component as N, get_spread_update as W, get_spread_object as X, destroy_component as S, destroy_each as fe, bind as se, add_flush_callback as de } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { Carousel as ce } from "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
3
3
|
import { fly as J } from "../../../vendor/svelte/transition/index.js";
|
|
4
4
|
import Y from "./MediaItem.js";
|
|
@@ -41,26 +41,26 @@ function K(i, t, l) {
|
|
|
41
41
|
}
|
|
42
42
|
function O(i) {
|
|
43
43
|
let t, l, n, e, r, a, o;
|
|
44
|
-
const m = [pe, ge],
|
|
45
|
-
function h(
|
|
46
|
-
return
|
|
44
|
+
const m = [pe, ge], f = [];
|
|
45
|
+
function h(s, c) {
|
|
46
|
+
return s[13] && s[10].length > 1 ? 0 : 1;
|
|
47
47
|
}
|
|
48
|
-
return n = h(i), e =
|
|
48
|
+
return n = h(i), e = f[n] = m[n](i), {
|
|
49
49
|
c() {
|
|
50
50
|
t = F("div"), l = F("div"), e.c(), G(l, "class", "media-list svelte-1mrbqlg"), k(l, "carouselEnabled", i[13]), G(t, "class", "media-list-wrapper svelte-1mrbqlg"), k(t, "unfolded", i[5]);
|
|
51
51
|
},
|
|
52
|
-
m(
|
|
53
|
-
q(
|
|
52
|
+
m(s, c) {
|
|
53
|
+
q(s, t, c), oe(t, l), f[n].m(l, null), o = !0;
|
|
54
54
|
},
|
|
55
|
-
p(
|
|
56
|
-
i =
|
|
55
|
+
p(s, c) {
|
|
56
|
+
i = s;
|
|
57
57
|
let g = n;
|
|
58
|
-
n = h(i), n === g ?
|
|
59
|
-
|
|
60
|
-
}), D(), e =
|
|
58
|
+
n = h(i), n === g ? f[n].p(i, c) : (M(), _(f[g], 1, 1, () => {
|
|
59
|
+
f[g] = null;
|
|
60
|
+
}), D(), e = f[n], e ? e.p(i, c) : (e = f[n] = m[n](i), e.c()), d(e, 1), e.m(l, null)), (!o || c & 8192) && k(l, "carouselEnabled", i[13]), (!o || c & 32) && k(t, "unfolded", i[5]);
|
|
61
61
|
},
|
|
62
|
-
i(
|
|
63
|
-
o || (d(e),
|
|
62
|
+
i(s) {
|
|
63
|
+
o || (d(e), s && re(() => {
|
|
64
64
|
a && a.end(1), r = me(t, J, i[6] ? {
|
|
65
65
|
y: 4,
|
|
66
66
|
duration: i[4],
|
|
@@ -69,16 +69,16 @@ function O(i) {
|
|
|
69
69
|
} : void 0), r.start();
|
|
70
70
|
}), o = !0);
|
|
71
71
|
},
|
|
72
|
-
o(
|
|
73
|
-
_(e), r && r.invalidate(),
|
|
72
|
+
o(s) {
|
|
73
|
+
_(e), r && r.invalidate(), s && (a = ue(t, J, i[6] ? {
|
|
74
74
|
y: 4,
|
|
75
75
|
duration: i[4],
|
|
76
76
|
delay: i[3],
|
|
77
77
|
easing: H
|
|
78
78
|
} : void 0)), o = !1;
|
|
79
79
|
},
|
|
80
|
-
d(
|
|
81
|
-
|
|
80
|
+
d(s) {
|
|
81
|
+
s && w(t), f[n].d(), s && a && a.end();
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
}
|
|
@@ -160,7 +160,7 @@ function P(i) {
|
|
|
160
160
|
let a = {};
|
|
161
161
|
for (let o = 0; o < e.length; o += 1)
|
|
162
162
|
a = U(a, e[o]);
|
|
163
|
-
return i[8][i[26]] !== void 0 && (a.mediaInstance = i[8][i[26]]), t = new Y({ props: a }), R.push(() =>
|
|
163
|
+
return i[8][i[26]] !== void 0 && (a.mediaInstance = i[8][i[26]]), t = new Y({ props: a }), R.push(() => se(t, "mediaInstance", r)), {
|
|
164
164
|
c() {
|
|
165
165
|
E(t.$$.fragment);
|
|
166
166
|
},
|
|
@@ -169,12 +169,12 @@ function P(i) {
|
|
|
169
169
|
},
|
|
170
170
|
p(o, m) {
|
|
171
171
|
i = o;
|
|
172
|
-
const
|
|
172
|
+
const f = m & 1153 ? W(e, [
|
|
173
173
|
m & 128 && X(i[7]),
|
|
174
174
|
m & 1024 && { media: i[24] },
|
|
175
175
|
m & 1 && { tag: i[0] }
|
|
176
176
|
]) : {};
|
|
177
|
-
!l && m & 256 && (l = !0,
|
|
177
|
+
!l && m & 256 && (l = !0, f.mediaInstance = i[8][i[26]], de(() => l = !1)), t.$set(f);
|
|
178
178
|
},
|
|
179
179
|
i(o) {
|
|
180
180
|
n || (d(t.$$.fragment, o), n = !0);
|
|
@@ -210,8 +210,8 @@ function be(i) {
|
|
|
210
210
|
n = a[10];
|
|
211
211
|
let m;
|
|
212
212
|
for (m = 0; m < n.length; m += 1) {
|
|
213
|
-
const
|
|
214
|
-
e[m] ? (e[m].p(
|
|
213
|
+
const f = K(a, n, m);
|
|
214
|
+
e[m] ? (e[m].p(f, o), d(e[m], 1)) : (e[m] = P(f), e[m].c(), d(e[m], 1), e[m].m(t.parentNode, t));
|
|
215
215
|
}
|
|
216
216
|
for (M(), m = n.length; m < e.length; m += 1)
|
|
217
217
|
r(m);
|
|
@@ -232,7 +232,7 @@ function be(i) {
|
|
|
232
232
|
l = !1;
|
|
233
233
|
},
|
|
234
234
|
d(a) {
|
|
235
|
-
|
|
235
|
+
fe(e, a), a && w(t);
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
238
|
}
|
|
@@ -262,7 +262,7 @@ function he(i) {
|
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
264
|
function ye(i, t, l) {
|
|
265
|
-
let n, e, r, a, { tag: o } = t, { mediaData: m } = t, { inDelay:
|
|
265
|
+
let n, e, r, a, { tag: o } = t, { mediaData: m } = t, { inDelay: f = 0 } = t, { outDelay: h = 0 } = t, { duration: s = 0 } = t, { unfolded: c = !0 } = t, { animation: g = !0 } = t, { mediaItemConfig: L } = t, { enableCarousel: I = !0 } = t, { autoplayConfig: v = { autoplay: !0, autoplayVideo: !1 } } = t, p = [], C = 0, b, j = null;
|
|
266
266
|
const B = A("hooks"), T = A("mediaStore");
|
|
267
267
|
function V() {
|
|
268
268
|
var y, z;
|
|
@@ -270,7 +270,9 @@ function ye(i, t, l) {
|
|
|
270
270
|
!u || (u.paused ? (y = u.videoInstance) == null || y.play() : (z = u.videoInstance) == null || z.pause());
|
|
271
271
|
}
|
|
272
272
|
le(() => {
|
|
273
|
-
B.on("click",
|
|
273
|
+
B.on("click", (u) => {
|
|
274
|
+
u.tag.id === o.id && V();
|
|
275
|
+
}), j = setInterval(
|
|
274
276
|
() => {
|
|
275
277
|
a && (b == null || b.goToNext());
|
|
276
278
|
},
|
|
@@ -291,15 +293,15 @@ function ye(i, t, l) {
|
|
|
291
293
|
n || T.set({ currentMediaElement: null }), l(11, C = u.detail);
|
|
292
294
|
};
|
|
293
295
|
return i.$$set = (u) => {
|
|
294
|
-
"tag" in u && l(0, o = u.tag), "mediaData" in u && l(1, m = u.mediaData), "inDelay" in u && l(2,
|
|
296
|
+
"tag" in u && l(0, o = u.tag), "mediaData" in u && l(1, m = u.mediaData), "inDelay" in u && l(2, f = u.inDelay), "outDelay" in u && l(3, h = u.outDelay), "duration" in u && l(4, s = u.duration), "unfolded" in u && l(5, c = u.unfolded), "animation" in u && l(6, g = u.animation), "mediaItemConfig" in u && l(7, L = u.mediaItemConfig), "enableCarousel" in u && l(15, I = u.enableCarousel), "autoplayConfig" in u && l(16, v = u.autoplayConfig);
|
|
295
297
|
}, i.$$.update = () => {
|
|
296
298
|
i.$$.dirty & 256 && l(9, n = p.every((u) => u.paused)), i.$$.dirty & 32770 && l(13, e = I && (m == null ? void 0 : m.length) > 1), i.$$.dirty & 2 && l(10, r = m), i.$$.dirty & 67072 && (a = r.length > 1 && v.autoplay && n);
|
|
297
299
|
}, [
|
|
298
300
|
o,
|
|
299
301
|
m,
|
|
300
|
-
s,
|
|
301
|
-
h,
|
|
302
302
|
f,
|
|
303
|
+
h,
|
|
304
|
+
s,
|
|
303
305
|
c,
|
|
304
306
|
g,
|
|
305
307
|
L,
|
|
@@ -4,18 +4,18 @@ var d = (l, p, t) => (w(l, typeof p != "symbol" ? p + "" : p, t), t);
|
|
|
4
4
|
var D = (l, p, t) => new Promise((e, i) => {
|
|
5
5
|
var o = (s) => {
|
|
6
6
|
try {
|
|
7
|
-
|
|
7
|
+
n(t.next(s));
|
|
8
8
|
} catch (r) {
|
|
9
9
|
i(r);
|
|
10
10
|
}
|
|
11
|
-
},
|
|
11
|
+
}, a = (s) => {
|
|
12
12
|
try {
|
|
13
|
-
|
|
13
|
+
n(t.throw(s));
|
|
14
14
|
} catch (r) {
|
|
15
15
|
i(r);
|
|
16
16
|
}
|
|
17
|
-
},
|
|
18
|
-
|
|
17
|
+
}, n = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(o, a);
|
|
18
|
+
n((t = t.apply(l, p)).next());
|
|
19
19
|
});
|
|
20
20
|
import { TagComputer as O } from "./TagComputer.js";
|
|
21
21
|
import { Group as P, Quaternion as x, Vector3 as f, Matrix4 as T } from "three";
|
|
@@ -151,8 +151,8 @@ class Ue extends O {
|
|
|
151
151
|
if (((s = t.model) == null ? void 0 : s.promise) !== i || (t.model.object = o, !this.tags.includes(t)))
|
|
152
152
|
return;
|
|
153
153
|
o.visible = this.getCurrentVisibleState(t), new T().fromArray(t.matrix).decompose(o.position, o.quaternion, o.scale), o.updateWorldMatrix(!0, !0), o.visible = this.getVisibleByFloorIndex(t);
|
|
154
|
-
const
|
|
155
|
-
if (
|
|
154
|
+
const n = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
|
|
155
|
+
if (n && this.gltfObjectGroup.remove(n), this.getRenderType(t) === "Mesh") {
|
|
156
156
|
if (!t.imagePlane) {
|
|
157
157
|
const r = t.data.mediaPosition.map(b);
|
|
158
158
|
t.imagePlane = new R(t.data.mediaData[0].url, t.data.mediaPosition.map(b));
|
|
@@ -176,9 +176,9 @@ class Ue extends O {
|
|
|
176
176
|
}
|
|
177
177
|
updateRenderImagePlane() {
|
|
178
178
|
this.sort(this.filterImagePlane).forEach((e) => {
|
|
179
|
-
var
|
|
180
|
-
const i = (
|
|
181
|
-
if (!i || (e.imagePlane && (e.imagePlane.visible = (s = (
|
|
179
|
+
var a, n, s, r;
|
|
180
|
+
const i = (a = e.data.mediaData[0]) == null ? void 0 : a.url;
|
|
181
|
+
if (!i || (e.imagePlane && (e.imagePlane.visible = (s = (n = e.state) == null ? void 0 : n.visible) != null ? s : !0), ((r = e.imagePlane) == null ? void 0 : r.imageSrc) === i))
|
|
182
182
|
return;
|
|
183
183
|
const o = e.position.map(b);
|
|
184
184
|
e.imagePlane = new R(i, o), e.imagePlane.setMatrixByCornerPoints(o), this.imagePlaneGroup.add(e.imagePlane);
|
|
@@ -188,10 +188,10 @@ class Ue extends O {
|
|
|
188
188
|
this.sort([...this.filterCSS3DTag]).forEach((e) => {
|
|
189
189
|
var i, o;
|
|
190
190
|
if (e.tag3DContentSvelte) {
|
|
191
|
-
const { svelteApp:
|
|
192
|
-
if (
|
|
191
|
+
const { svelteApp: a, domContainer: n, initialNormal: s, currentNormal: r } = e.tag3DContentSvelte;
|
|
192
|
+
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !s.equals(r)) {
|
|
193
193
|
const m = new x().setFromUnitVectors(s, r);
|
|
194
|
-
|
|
194
|
+
n.css3DObject.setRotationFromQuaternion(m);
|
|
195
195
|
}
|
|
196
196
|
return;
|
|
197
197
|
} else {
|
|
@@ -199,12 +199,12 @@ class Ue extends O {
|
|
|
199
199
|
return;
|
|
200
200
|
if (this.css3DRenderPlugin || (this.css3DRenderPlugin = E(this.five)), e.stickType === "3DPoint" && !e.normal)
|
|
201
201
|
return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
|
|
202
|
-
const
|
|
203
|
-
if (!n)
|
|
204
|
-
return;
|
|
205
|
-
const a = this.getTagNormal(e);
|
|
202
|
+
const a = this.getPositions(e);
|
|
206
203
|
if (!a)
|
|
207
204
|
return;
|
|
205
|
+
const n = this.getTagNormal(e);
|
|
206
|
+
if (!n)
|
|
207
|
+
return;
|
|
208
208
|
const r = (o = this.getTagConfig(e).tag3DConfig) != null ? o : {};
|
|
209
209
|
if (this.getRenderType(e) === "BehindDom") {
|
|
210
210
|
r.mode = "behind", r.container = document.createElement("div");
|
|
@@ -213,13 +213,13 @@ class Ue extends O {
|
|
|
213
213
|
var u;
|
|
214
214
|
if (m.css3DObject.opacityMesh) {
|
|
215
215
|
const g = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (c) => {
|
|
216
|
-
this.hooks.emit("click", { event: c, target: "TagContent", tag: e });
|
|
216
|
+
console.log(e), this.hooks.emit("click", { event: c, target: "TagContent", tag: e });
|
|
217
217
|
});
|
|
218
218
|
(u = this.store.css3DRenderDisposer.get(e.id)) == null || u.push(g);
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
|
-
const m = this.css3DRenderPlugin.create3DDomContainer(
|
|
222
|
+
const m = this.css3DRenderPlugin.create3DDomContainer(a, r);
|
|
223
223
|
if (!m)
|
|
224
224
|
return;
|
|
225
225
|
this.store.css3DRenderDisposer.set(e.id, [m.dispose]), e.tag3DContentSvelte = {
|
|
@@ -234,8 +234,8 @@ class Ue extends O {
|
|
|
234
234
|
}
|
|
235
235
|
}),
|
|
236
236
|
domContainer: m,
|
|
237
|
-
initialNormal:
|
|
238
|
-
currentNormal:
|
|
237
|
+
initialNormal: n,
|
|
238
|
+
currentNormal: n
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
}), this.clearUnusedPanelTag();
|
|
@@ -244,8 +244,8 @@ class Ue extends O {
|
|
|
244
244
|
const t = (i) => !this.enabledModelTagSet.has(i.customID);
|
|
245
245
|
this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(t)), this.tags.filter(S).forEach((i) => {
|
|
246
246
|
var o;
|
|
247
|
-
(o = i.model) == null || o.promise.then((
|
|
248
|
-
|
|
247
|
+
(o = i.model) == null || o.promise.then((a) => {
|
|
248
|
+
a.visible = this.getCurrentVisibleState(i);
|
|
249
249
|
});
|
|
250
250
|
});
|
|
251
251
|
}
|
|
@@ -260,9 +260,9 @@ class Ue extends O {
|
|
|
260
260
|
const i = (M = (v = (C = t.mergedConfig) == null ? void 0 : C.tag3DConfig) == null ? void 0 : v.ratio) != null ? M : 216e-5, o = (y = t.tag3DContentSvelte) == null ? void 0 : y.domContainer.css3DObject;
|
|
261
261
|
if (!o)
|
|
262
262
|
return;
|
|
263
|
-
const
|
|
263
|
+
const a = S(t) ? t.data.mediaPosition : t.position;
|
|
264
264
|
e.updateWorldMatrix(!1, !1);
|
|
265
|
-
const
|
|
265
|
+
const n = e.matrixWorld, s = new f().fromArray(a[0]), r = new f().fromArray(a[2]), m = A(s, r).add(new f(0, 0, 5e-4)), h = new T().setPosition(m), u = new T().makeScale(i, i, i), g = new T().multiply(n).multiply(h).multiply(u);
|
|
266
266
|
g.decompose(o.position, o.quaternion, o.scale);
|
|
267
267
|
const c = o.opacityMesh;
|
|
268
268
|
c && g.decompose(c.position, c.quaternion, c.scale);
|
|
@@ -295,8 +295,8 @@ class Ue extends O {
|
|
|
295
295
|
temporaryState: this.temporaryState,
|
|
296
296
|
withAnimation: this.store.visibleWithAnimation
|
|
297
297
|
}), this.filterCSS3DTag.forEach((e) => {
|
|
298
|
-
var i, o,
|
|
299
|
-
(
|
|
298
|
+
var i, o, a, n, s;
|
|
299
|
+
(n = (o = (i = e.tag3DContentSvelte) == null ? void 0 : i.domContainer) == null ? void 0 : o.css3DObject) == null || n.setVisible((this.state.visible && ((a = e.state) == null ? void 0 : a.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
|
|
300
300
|
state: this.state,
|
|
301
301
|
temporaryState: this.temporaryState,
|
|
302
302
|
withAnimation: this.store.visibleWithAnimation
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -4,7 +4,7 @@ var s = (e, r, t) => (a(e, typeof r != "symbol" ? r + "" : r, t), t);
|
|
|
4
4
|
import { Subscribe as c } from "../shared-utils/Subscribe.js";
|
|
5
5
|
class o {
|
|
6
6
|
constructor(r, t) {
|
|
7
|
-
s(this, "VERSION", "2.14.
|
|
7
|
+
s(this, "VERSION", "2.14.2-alpha.0");
|
|
8
8
|
s(this, "five");
|
|
9
9
|
s(this, "hooks", new c());
|
|
10
10
|
s(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.14.
|
|
10
|
+
"version": "2.14.2-alpha.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
declare const _default: ({
|
|
2
|
-
id: number;
|
|
3
|
-
pointType: string;
|
|
4
|
-
dimensionType: string;
|
|
5
|
-
position: number[];
|
|
6
|
-
normal: number[];
|
|
7
|
-
style: {
|
|
8
|
-
point: {
|
|
9
|
-
iconUrl: string;
|
|
10
|
-
style: string;
|
|
11
|
-
};
|
|
12
|
-
style: string;
|
|
13
|
-
};
|
|
14
|
-
contentType: string;
|
|
15
|
-
data: {
|
|
16
|
-
text: string;
|
|
17
|
-
extraData: {
|
|
18
|
-
baseNormal: number[];
|
|
19
|
-
fiveState: {
|
|
20
|
-
distance: number;
|
|
21
|
-
fov: number;
|
|
22
|
-
latitude: number;
|
|
23
|
-
longitude: number;
|
|
24
|
-
mode: string;
|
|
25
|
-
offset: {
|
|
26
|
-
x: number;
|
|
27
|
-
y: number;
|
|
28
|
-
z: number;
|
|
29
|
-
};
|
|
30
|
-
panoIndex: number;
|
|
31
|
-
};
|
|
32
|
-
style: {
|
|
33
|
-
point: {
|
|
34
|
-
iconUrl: string;
|
|
35
|
-
style: string;
|
|
36
|
-
};
|
|
37
|
-
style: string;
|
|
38
|
-
};
|
|
39
|
-
tagClosedStyle: string;
|
|
40
|
-
tagIconUrl: string;
|
|
41
|
-
};
|
|
42
|
-
mediaData?: undefined;
|
|
43
|
-
};
|
|
44
|
-
} | {
|
|
45
|
-
id: number;
|
|
46
|
-
pointType: string;
|
|
47
|
-
dimensionType: string;
|
|
48
|
-
position: number[];
|
|
49
|
-
normal: number[];
|
|
50
|
-
style: {
|
|
51
|
-
point: {
|
|
52
|
-
iconUrl: string;
|
|
53
|
-
style: string;
|
|
54
|
-
};
|
|
55
|
-
style?: undefined;
|
|
56
|
-
};
|
|
57
|
-
contentType: string;
|
|
58
|
-
data: {
|
|
59
|
-
text: string;
|
|
60
|
-
mediaData: {
|
|
61
|
-
type: string;
|
|
62
|
-
url: string;
|
|
63
|
-
videoCoverUrl: string;
|
|
64
|
-
name: string;
|
|
65
|
-
}[];
|
|
66
|
-
extraData: {
|
|
67
|
-
baseNormal: number[];
|
|
68
|
-
fiveState: {
|
|
69
|
-
distance: number;
|
|
70
|
-
fov: number;
|
|
71
|
-
latitude: number;
|
|
72
|
-
longitude: number;
|
|
73
|
-
mode: string;
|
|
74
|
-
offset: {
|
|
75
|
-
x: number;
|
|
76
|
-
y: number;
|
|
77
|
-
z: number;
|
|
78
|
-
};
|
|
79
|
-
panoIndex: number;
|
|
80
|
-
};
|
|
81
|
-
style: {
|
|
82
|
-
point: {
|
|
83
|
-
iconUrl: string;
|
|
84
|
-
style: string;
|
|
85
|
-
};
|
|
86
|
-
style?: undefined;
|
|
87
|
-
};
|
|
88
|
-
tagClosedStyle: string;
|
|
89
|
-
tagIconUrl: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
})[];
|
|
93
|
-
export default _default;
|