@realsee/dnalogel 2.14.2-alpha.2 → 2.14.3-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/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +4 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/dist/index.cjs.js +27 -27
- package/dist/index.js +548 -531
- package/dist/index.umd.js +23 -23
- 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 +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- 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 +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/CruisePlugin/Controller.js +4 -4
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +64 -60
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +104 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +4 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +60 -51
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- 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>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.3-alpha.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.14.3-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.3-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.3-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/ffa4c2e/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.3-<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>
|
|
@@ -54,7 +54,7 @@ const D = "v1.0.6", M = "CruisePlugin", w = `${M}@${D}`, ye = (y) => `${w}--${y}
|
|
|
54
54
|
}, q = () => {
|
|
55
55
|
console.error(`${w} is disabled`);
|
|
56
56
|
}, E = /* @__PURE__ */ new Map();
|
|
57
|
-
class
|
|
57
|
+
class z extends V {
|
|
58
58
|
constructor(e, t) {
|
|
59
59
|
super(e, t);
|
|
60
60
|
I(this, "state", {
|
|
@@ -187,7 +187,7 @@ class B extends V {
|
|
|
187
187
|
if (!c || !u || ((b = t[r]) == null ? void 0 : b.floorIndex) !== ((S = t[h]) == null ? void 0 : S.floorIndex))
|
|
188
188
|
return;
|
|
189
189
|
const m = new j.Vector3().subVectors(c, u);
|
|
190
|
-
return N(m);
|
|
190
|
+
return N(m.normalize());
|
|
191
191
|
})();
|
|
192
192
|
i.moveType === void 0 || i.moveType === "justMove" ? a.push({
|
|
193
193
|
moveIndex: s,
|
|
@@ -496,8 +496,8 @@ class B extends V {
|
|
|
496
496
|
!this.privateState.fiveOriginGetProgress || (this.five.controller.cameraMotion.getProgress = this.privateState.fiveOriginGetProgress);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
I(
|
|
499
|
+
I(z, "PluginVersion", D);
|
|
500
500
|
export {
|
|
501
|
-
|
|
501
|
+
z as default,
|
|
502
502
|
ye as pluginFlag
|
|
503
503
|
};
|
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.3-alpha.0");
|
|
8
8
|
s(this, "five");
|
|
9
9
|
s(this, "hooks", new c());
|
|
10
10
|
s(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as E, init as O, safe_not_equal as C, assign as
|
|
1
|
+
import { SvelteComponent as E, init as O, safe_not_equal as C, assign as v, create_component as D, space as j, empty as H, mount_component as p, insert as b, get_spread_update as x, transition_in as u, transition_out as _, check_outros as R, destroy_component as d, detach as c, group_outros as w } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import F from "./ExtraObjects.js";
|
|
3
3
|
import { BaseImage as q } from "../../../Components/BaseImage.js";
|
|
4
4
|
import { RoomHighlight as B } from "../../../Components/RoomHighlight/RoomHighlight.js";
|
|
@@ -6,125 +6,129 @@ import "../../../Components/Normalmage.js";
|
|
|
6
6
|
import "../../../Components/SvgImage.js";
|
|
7
7
|
import "../../../Components/RoomHighlight/Room.js";
|
|
8
8
|
import "../../../utils/formatPosition.js";
|
|
9
|
-
function
|
|
10
|
-
let
|
|
11
|
-
const
|
|
9
|
+
function k(l) {
|
|
10
|
+
let o, r;
|
|
11
|
+
const f = [
|
|
12
12
|
{
|
|
13
|
-
five:
|
|
14
|
-
pxmm:
|
|
15
|
-
floorIndex:
|
|
16
|
-
floorplanData:
|
|
17
|
-
onRoomHeightClick:
|
|
13
|
+
five: l[0],
|
|
14
|
+
pxmm: l[1],
|
|
15
|
+
floorIndex: l[2],
|
|
16
|
+
floorplanData: l[4],
|
|
17
|
+
onRoomHeightClick: l[7],
|
|
18
|
+
highlightData: l[5]
|
|
18
19
|
}
|
|
19
20
|
];
|
|
20
|
-
let
|
|
21
|
-
for (let t = 0; t <
|
|
22
|
-
|
|
23
|
-
return
|
|
21
|
+
let g = {};
|
|
22
|
+
for (let t = 0; t < f.length; t += 1)
|
|
23
|
+
g = v(g, f[t]);
|
|
24
|
+
return o = new B({ props: g }), {
|
|
24
25
|
c() {
|
|
25
|
-
|
|
26
|
+
D(o.$$.fragment);
|
|
26
27
|
},
|
|
27
|
-
m(t,
|
|
28
|
-
p(
|
|
28
|
+
m(t, m) {
|
|
29
|
+
p(o, t, m), r = !0;
|
|
29
30
|
},
|
|
30
|
-
p(t,
|
|
31
|
-
const
|
|
31
|
+
p(t, m) {
|
|
32
|
+
const h = m & 183 ? x(f, [
|
|
32
33
|
{
|
|
33
34
|
five: t[0],
|
|
34
35
|
pxmm: t[1],
|
|
35
36
|
floorIndex: t[2],
|
|
36
37
|
floorplanData: t[4],
|
|
37
|
-
onRoomHeightClick: t[
|
|
38
|
+
onRoomHeightClick: t[7],
|
|
39
|
+
highlightData: t[5]
|
|
38
40
|
}
|
|
39
41
|
]) : {};
|
|
40
|
-
|
|
42
|
+
o.$set(h);
|
|
41
43
|
},
|
|
42
44
|
i(t) {
|
|
43
|
-
|
|
45
|
+
r || (u(o.$$.fragment, t), r = !0);
|
|
44
46
|
},
|
|
45
47
|
o(t) {
|
|
46
|
-
_(
|
|
48
|
+
_(o.$$.fragment, t), r = !1;
|
|
47
49
|
},
|
|
48
50
|
d(t) {
|
|
49
|
-
d(
|
|
51
|
+
d(o, t);
|
|
50
52
|
}
|
|
51
53
|
};
|
|
52
54
|
}
|
|
53
|
-
function N(
|
|
54
|
-
let
|
|
55
|
-
const
|
|
55
|
+
function N(l) {
|
|
56
|
+
let o, r, f, g, t, m;
|
|
57
|
+
const h = [
|
|
56
58
|
{
|
|
57
|
-
floorIndex:
|
|
58
|
-
floorplanData:
|
|
59
|
+
floorIndex: l[2],
|
|
60
|
+
floorplanData: l[4]
|
|
59
61
|
}
|
|
60
62
|
];
|
|
61
|
-
let
|
|
62
|
-
for (let e = 0; e <
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
let s = {};
|
|
64
|
+
for (let e = 0; e < h.length; e += 1)
|
|
65
|
+
s = v(s, h[e]);
|
|
66
|
+
o = new q({ props: s }), f = new F({
|
|
65
67
|
props: {
|
|
66
|
-
extraObjects:
|
|
68
|
+
extraObjects: l[6]
|
|
67
69
|
}
|
|
68
70
|
});
|
|
69
|
-
let
|
|
71
|
+
let n = l[3] && k(l);
|
|
70
72
|
return {
|
|
71
73
|
c() {
|
|
72
|
-
|
|
74
|
+
D(o.$$.fragment), r = j(), D(f.$$.fragment), g = j(), n && n.c(), t = H();
|
|
73
75
|
},
|
|
74
|
-
m(e,
|
|
75
|
-
p(
|
|
76
|
+
m(e, a) {
|
|
77
|
+
p(o, e, a), b(e, r, a), p(f, e, a), b(e, g, a), n && n.m(e, a), b(e, t, a), m = !0;
|
|
76
78
|
},
|
|
77
|
-
p(e, [
|
|
78
|
-
const
|
|
79
|
+
p(e, [a]) {
|
|
80
|
+
const i = a & 20 ? x(h, [
|
|
79
81
|
{
|
|
80
82
|
floorIndex: e[2],
|
|
81
83
|
floorplanData: e[4]
|
|
82
84
|
}
|
|
83
85
|
]) : {};
|
|
84
|
-
|
|
86
|
+
o.$set(i);
|
|
85
87
|
const I = {};
|
|
86
|
-
|
|
87
|
-
|
|
88
|
+
a & 64 && (I.extraObjects = e[6]), f.$set(I), e[3] ? n ? (n.p(e, a), a & 8 && u(n, 1)) : (n = k(e), n.c(), u(n, 1), n.m(t.parentNode, t)) : n && (w(), _(n, 1, 1, () => {
|
|
89
|
+
n = null;
|
|
88
90
|
}), R());
|
|
89
91
|
},
|
|
90
92
|
i(e) {
|
|
91
|
-
|
|
93
|
+
m || (u(o.$$.fragment, e), u(f.$$.fragment, e), u(n), m = !0);
|
|
92
94
|
},
|
|
93
95
|
o(e) {
|
|
94
|
-
_(
|
|
96
|
+
_(o.$$.fragment, e), _(f.$$.fragment, e), _(n), m = !1;
|
|
95
97
|
},
|
|
96
98
|
d(e) {
|
|
97
|
-
d(
|
|
99
|
+
d(o, e), e && c(r), d(f, e), e && c(g), n && n.d(e), e && c(t);
|
|
98
100
|
}
|
|
99
101
|
};
|
|
100
102
|
}
|
|
101
|
-
function S(
|
|
102
|
-
let
|
|
103
|
-
const
|
|
104
|
-
return
|
|
105
|
-
"five" in
|
|
106
|
-
},
|
|
107
|
-
|
|
103
|
+
function S(l, o, r) {
|
|
104
|
+
let f, { five: g } = o, { pxmm: t } = o, { floorIndex: m } = o, { hoverEnable: h } = o, { floorplanData: s } = o, { extraObjects: n = [] } = o, { highlightData: e } = o;
|
|
105
|
+
const a = void 0;
|
|
106
|
+
return l.$$set = (i) => {
|
|
107
|
+
"five" in i && r(0, g = i.five), "pxmm" in i && r(1, t = i.pxmm), "floorIndex" in i && r(2, m = i.floorIndex), "hoverEnable" in i && r(3, h = i.hoverEnable), "floorplanData" in i && r(4, s = i.floorplanData), "extraObjects" in i && r(8, n = i.extraObjects), "highlightData" in i && r(5, e = i.highlightData);
|
|
108
|
+
}, l.$$.update = () => {
|
|
109
|
+
l.$$.dirty & 260 && r(6, f = n == null ? void 0 : n.filter((i) => i.floorIndex === m));
|
|
108
110
|
}, [
|
|
109
|
-
|
|
111
|
+
g,
|
|
110
112
|
t,
|
|
111
|
-
|
|
113
|
+
m,
|
|
114
|
+
h,
|
|
112
115
|
s,
|
|
113
|
-
u,
|
|
114
|
-
i,
|
|
115
116
|
e,
|
|
116
|
-
|
|
117
|
+
f,
|
|
118
|
+
a,
|
|
119
|
+
n
|
|
117
120
|
];
|
|
118
121
|
}
|
|
119
122
|
class P extends E {
|
|
120
|
-
constructor(
|
|
121
|
-
super(), O(this,
|
|
123
|
+
constructor(o) {
|
|
124
|
+
super(), O(this, o, S, N, C, {
|
|
122
125
|
five: 0,
|
|
123
126
|
pxmm: 1,
|
|
124
127
|
floorIndex: 2,
|
|
125
128
|
hoverEnable: 3,
|
|
126
129
|
floorplanData: 4,
|
|
127
|
-
extraObjects:
|
|
130
|
+
extraObjects: 8,
|
|
131
|
+
highlightData: 5
|
|
128
132
|
});
|
|
129
133
|
}
|
|
130
134
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { svelteResizeObserver as
|
|
1
|
+
import { SvelteComponent as K, init as L, safe_not_equal as Q, append_styles as T, empty as V, insert as y, transition_in as u, transition_out as p, check_outros as N, detach as I, onMount as X, element as P, attr as R, action_destroyer as Y, listen as H, group_outros as B, run_all as Z, assign as W, create_component as z, space as x, set_style as q, mount_component as C, append as $, get_spread_update as S, destroy_component as A } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import ee from "./Camera.js";
|
|
3
|
+
import te from "./CurrentFloor/CurrentFloor.js";
|
|
4
|
+
import { svelteResizeObserver as ne } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
5
5
|
import "../../Assets/camera.js";
|
|
6
6
|
import "../../../shared-utils/throttle.js";
|
|
7
7
|
import "./CurrentFloor/ExtraObjects.js";
|
|
@@ -12,190 +12,194 @@ import "../../Components/RoomHighlight/RoomHighlight.js";
|
|
|
12
12
|
import "../../Components/RoomHighlight/Room.js";
|
|
13
13
|
import "../../utils/formatPosition.js";
|
|
14
14
|
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
15
|
-
function re(
|
|
16
|
-
|
|
15
|
+
function re(i) {
|
|
16
|
+
T(i, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
let e, l,
|
|
18
|
+
function M(i) {
|
|
19
|
+
let e, l, n, o, r = i[7] !== 0 && F(i);
|
|
20
20
|
return {
|
|
21
21
|
c() {
|
|
22
|
-
e =
|
|
22
|
+
e = P("div"), r && r.c(), R(e, "class", "plugin-floorplan-radar svelte-1mvqyqq");
|
|
23
23
|
},
|
|
24
24
|
m(f, m) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
],
|
|
25
|
+
y(f, e, m), r && r.m(e, null), l = !0, n || (o = [
|
|
26
|
+
Y(ne.call(null, e)),
|
|
27
|
+
H(e, "clientWidth", i[13]),
|
|
28
|
+
H(e, "clientHeight", i[14])
|
|
29
|
+
], n = !0);
|
|
30
30
|
},
|
|
31
31
|
p(f, m) {
|
|
32
|
-
f[
|
|
33
|
-
|
|
34
|
-
}),
|
|
32
|
+
f[7] !== 0 ? r ? (r.p(f, m), m & 128 && u(r, 1)) : (r = F(f), r.c(), u(r, 1), r.m(e, null)) : r && (B(), p(r, 1, 1, () => {
|
|
33
|
+
r = null;
|
|
34
|
+
}), N());
|
|
35
35
|
},
|
|
36
36
|
i(f) {
|
|
37
|
-
l || (u(
|
|
37
|
+
l || (u(r), l = !0);
|
|
38
38
|
},
|
|
39
39
|
o(f) {
|
|
40
|
-
|
|
40
|
+
p(r), l = !1;
|
|
41
41
|
},
|
|
42
42
|
d(f) {
|
|
43
|
-
f &&
|
|
43
|
+
f && I(e), r && r.d(), n = !1, Z(o);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
let e, l,
|
|
49
|
-
const
|
|
47
|
+
function F(i) {
|
|
48
|
+
let e, l, n, o, r = `${i[9]}px`, f = `${i[12]}px`, m;
|
|
49
|
+
const c = [
|
|
50
50
|
{
|
|
51
|
-
five:
|
|
52
|
-
pxmm:
|
|
53
|
-
floorIndex:
|
|
54
|
-
floorplanData:
|
|
55
|
-
hoverEnable:
|
|
56
|
-
extraObjects:
|
|
51
|
+
five: i[0],
|
|
52
|
+
pxmm: i[10],
|
|
53
|
+
floorIndex: i[11],
|
|
54
|
+
floorplanData: i[3],
|
|
55
|
+
hoverEnable: i[2],
|
|
56
|
+
extraObjects: i[5],
|
|
57
|
+
highlightData: i[6]
|
|
57
58
|
}
|
|
58
59
|
];
|
|
59
|
-
let
|
|
60
|
-
for (let t = 0; t <
|
|
61
|
-
|
|
62
|
-
l = new
|
|
63
|
-
const
|
|
60
|
+
let h = {};
|
|
61
|
+
for (let t = 0; t < c.length; t += 1)
|
|
62
|
+
h = W(h, c[t]);
|
|
63
|
+
l = new te({ props: h });
|
|
64
|
+
const g = [
|
|
64
65
|
{
|
|
65
|
-
pxmm:
|
|
66
|
-
five:
|
|
67
|
-
floorplanData:
|
|
68
|
-
cameraImageUrl:
|
|
66
|
+
pxmm: i[10],
|
|
67
|
+
five: i[0],
|
|
68
|
+
floorplanData: i[3],
|
|
69
|
+
cameraImageUrl: i[4]
|
|
69
70
|
}
|
|
70
71
|
];
|
|
71
|
-
let
|
|
72
|
-
for (let t = 0; t <
|
|
73
|
-
|
|
74
|
-
return
|
|
72
|
+
let d = {};
|
|
73
|
+
for (let t = 0; t < g.length; t += 1)
|
|
74
|
+
d = W(d, g[t]);
|
|
75
|
+
return o = new ee({ props: d }), {
|
|
75
76
|
c() {
|
|
76
|
-
e =
|
|
77
|
+
e = P("div"), z(l.$$.fragment), n = x(), z(o.$$.fragment), R(e, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(e, "width", r), q(e, "height", f);
|
|
77
78
|
},
|
|
78
79
|
m(t, s) {
|
|
79
|
-
|
|
80
|
+
y(t, e, s), C(l, e, null), $(e, n), C(o, e, null), m = !0;
|
|
80
81
|
},
|
|
81
82
|
p(t, s) {
|
|
82
|
-
const
|
|
83
|
+
const _ = s & 3181 ? S(c, [
|
|
83
84
|
{
|
|
84
85
|
five: t[0],
|
|
85
|
-
pxmm: t[
|
|
86
|
-
floorIndex: t[
|
|
86
|
+
pxmm: t[10],
|
|
87
|
+
floorIndex: t[11],
|
|
87
88
|
floorplanData: t[3],
|
|
88
89
|
hoverEnable: t[2],
|
|
89
|
-
extraObjects: t[5]
|
|
90
|
+
extraObjects: t[5],
|
|
91
|
+
highlightData: t[6]
|
|
90
92
|
}
|
|
91
93
|
]) : {};
|
|
92
|
-
l.$set(
|
|
93
|
-
const v = s &
|
|
94
|
+
l.$set(_);
|
|
95
|
+
const v = s & 1049 ? S(g, [
|
|
94
96
|
{
|
|
95
|
-
pxmm: t[
|
|
97
|
+
pxmm: t[10],
|
|
96
98
|
five: t[0],
|
|
97
99
|
floorplanData: t[3],
|
|
98
100
|
cameraImageUrl: t[4]
|
|
99
101
|
}
|
|
100
102
|
]) : {};
|
|
101
|
-
|
|
103
|
+
o.$set(v), s & 512 && r !== (r = `${t[9]}px`) && q(e, "width", r), s & 4096 && f !== (f = `${t[12]}px`) && q(e, "height", f);
|
|
102
104
|
},
|
|
103
105
|
i(t) {
|
|
104
|
-
m || (u(l.$$.fragment, t), u(
|
|
106
|
+
m || (u(l.$$.fragment, t), u(o.$$.fragment, t), m = !0);
|
|
105
107
|
},
|
|
106
108
|
o(t) {
|
|
107
|
-
|
|
109
|
+
p(l.$$.fragment, t), p(o.$$.fragment, t), m = !1;
|
|
108
110
|
},
|
|
109
111
|
d(t) {
|
|
110
|
-
t &&
|
|
112
|
+
t && I(e), A(l), A(o);
|
|
111
113
|
}
|
|
112
114
|
};
|
|
113
115
|
}
|
|
114
|
-
function
|
|
115
|
-
let e, l,
|
|
116
|
+
function le(i) {
|
|
117
|
+
let e, l, n = i[1] && M(i);
|
|
116
118
|
return {
|
|
117
119
|
c() {
|
|
118
|
-
|
|
120
|
+
n && n.c(), e = V();
|
|
119
121
|
},
|
|
120
|
-
m(
|
|
121
|
-
|
|
122
|
+
m(o, r) {
|
|
123
|
+
n && n.m(o, r), y(o, e, r), l = !0;
|
|
122
124
|
},
|
|
123
|
-
p(
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}),
|
|
125
|
+
p(o, [r]) {
|
|
126
|
+
o[1] ? n ? (n.p(o, r), r & 2 && u(n, 1)) : (n = M(o), n.c(), u(n, 1), n.m(e.parentNode, e)) : n && (B(), p(n, 1, 1, () => {
|
|
127
|
+
n = null;
|
|
128
|
+
}), N());
|
|
127
129
|
},
|
|
128
|
-
i(
|
|
129
|
-
l || (u(
|
|
130
|
+
i(o) {
|
|
131
|
+
l || (u(n), l = !0);
|
|
130
132
|
},
|
|
131
|
-
o(
|
|
132
|
-
|
|
133
|
+
o(o) {
|
|
134
|
+
p(n), l = !1;
|
|
133
135
|
},
|
|
134
|
-
d(
|
|
135
|
-
|
|
136
|
+
d(o) {
|
|
137
|
+
n && n.d(o), o && I(e);
|
|
136
138
|
}
|
|
137
139
|
};
|
|
138
140
|
}
|
|
139
|
-
function
|
|
140
|
-
var w,
|
|
141
|
-
let { five:
|
|
142
|
-
function
|
|
143
|
-
l(
|
|
141
|
+
function ie(i, e, l) {
|
|
142
|
+
var w, j;
|
|
143
|
+
let { five: n } = e, { visible: o } = e, { hoverEnable: r } = e, { floorplanData: f } = e, { cameraImageUrl: m } = e, { extraObjects: c = [] } = e, { highlightData: h } = e, g = 0, d = (j = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? j : 0, t = 0, s = 0, _ = 0, v = 0;
|
|
144
|
+
function k(a) {
|
|
145
|
+
l(11, d = n.work.observers[a].floorIndex);
|
|
144
146
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
X(() => (n.on("panoArrived", k), () => {
|
|
148
|
+
n.off("panoArrived", k);
|
|
147
149
|
}));
|
|
148
|
-
const
|
|
149
|
-
l(6, c = a.detail);
|
|
150
|
-
}, G = (a) => {
|
|
150
|
+
const G = (a) => {
|
|
151
151
|
l(7, t = a.detail);
|
|
152
|
+
}, J = (a) => {
|
|
153
|
+
l(8, s = a.detail);
|
|
152
154
|
};
|
|
153
|
-
return
|
|
154
|
-
"five" in a && l(0,
|
|
155
|
-
},
|
|
156
|
-
if (
|
|
157
|
-
const a = Math.min(
|
|
158
|
-
return b >
|
|
155
|
+
return i.$$set = (a) => {
|
|
156
|
+
"five" in a && l(0, n = a.five), "visible" in a && l(1, o = a.visible), "hoverEnable" in a && l(2, r = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, m = a.cameraImageUrl), "extraObjects" in a && l(5, c = a.extraObjects), "highlightData" in a && l(6, h = a.highlightData);
|
|
157
|
+
}, i.$$.update = () => {
|
|
158
|
+
if (i.$$.dirty & 904) {
|
|
159
|
+
const a = Math.min(t, s), { max: O, min: E } = f.bounding, b = O.x - E.x, D = O.y - E.y, U = function() {
|
|
160
|
+
return b > D ? [a, a / b * D] : [a / D * b, a];
|
|
159
161
|
}();
|
|
160
|
-
l(
|
|
162
|
+
l(9, _ = U[0]), l(12, v = U[1]), l(10, g = _ / b);
|
|
161
163
|
}
|
|
162
164
|
}, [
|
|
163
|
-
r,
|
|
164
|
-
i,
|
|
165
165
|
n,
|
|
166
|
+
o,
|
|
167
|
+
r,
|
|
166
168
|
f,
|
|
167
169
|
m,
|
|
168
|
-
p,
|
|
169
170
|
c,
|
|
171
|
+
h,
|
|
170
172
|
t,
|
|
171
173
|
s,
|
|
172
|
-
|
|
173
|
-
h,
|
|
174
|
+
_,
|
|
174
175
|
g,
|
|
175
|
-
|
|
176
|
-
|
|
176
|
+
d,
|
|
177
|
+
v,
|
|
178
|
+
G,
|
|
179
|
+
J
|
|
177
180
|
];
|
|
178
181
|
}
|
|
179
|
-
class
|
|
182
|
+
class De extends K {
|
|
180
183
|
constructor(e) {
|
|
181
|
-
super(),
|
|
184
|
+
super(), L(
|
|
182
185
|
this,
|
|
183
186
|
e,
|
|
187
|
+
ie,
|
|
184
188
|
le,
|
|
185
|
-
|
|
186
|
-
L,
|
|
189
|
+
Q,
|
|
187
190
|
{
|
|
188
191
|
five: 0,
|
|
189
192
|
visible: 1,
|
|
190
193
|
hoverEnable: 2,
|
|
191
194
|
floorplanData: 3,
|
|
192
195
|
cameraImageUrl: 4,
|
|
193
|
-
extraObjects: 5
|
|
196
|
+
extraObjects: 5,
|
|
197
|
+
highlightData: 6
|
|
194
198
|
},
|
|
195
199
|
re
|
|
196
200
|
);
|
|
197
201
|
}
|
|
198
202
|
}
|
|
199
203
|
export {
|
|
200
|
-
|
|
204
|
+
De as default
|
|
201
205
|
};
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions } from '../../base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../typings/floorplanServerData';
|
|
4
4
|
import type { FloorplanExtraObject3D } from '../typings/floorplanData';
|
|
5
|
+
import type { HighlightData } from '../typings';
|
|
5
6
|
import type { State, Config, EventMap, Parameters, PluginData, PluginServerData } from './typing';
|
|
6
7
|
import * as BasePlugin from '../../base/BasePluginWithData';
|
|
7
8
|
export declare class Controller extends BasePlugin.Controller<State, EventMap, PluginServerData, PluginData> {
|
|
@@ -13,6 +14,7 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
|
|
|
13
14
|
private wrapper;
|
|
14
15
|
private disposed;
|
|
15
16
|
private extraObjects;
|
|
17
|
+
private highlightData;
|
|
16
18
|
constructor(five: Five, params?: Parameters);
|
|
17
19
|
dispose: () => void;
|
|
18
20
|
load(serverData: PluginServerData | FloorplanServerData, state?: Partial<State>, userAction?: boolean): Promise<void>;
|
|
@@ -20,6 +22,8 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
|
|
|
20
22
|
hide(options?: BaseOptions): Promise<void>;
|
|
21
23
|
enable(options?: BaseOptions): void;
|
|
22
24
|
disable(options?: BaseOptions): void;
|
|
25
|
+
highlight: (highlightData: HighlightData) => void;
|
|
26
|
+
unhighlight: () => void;
|
|
23
27
|
/** 更改插件 State */
|
|
24
28
|
setState(state: Partial<State>, options?: BaseOptions): void;
|
|
25
29
|
/** 把插件的渲染DOM插入到对应的容器中去 */
|