@realsee/dnalogel 2.2.2 → 2.2.4
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 +63 -58
- package/dist/index.js +4972 -4332
- package/dist/index.umd.js +51 -46
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- 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 +12 -12
- 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/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- 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/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/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- 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/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.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 +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- 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 +11 -11
- 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/Point.html +8 -8
- package/docs/interfaces/PointJson.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/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.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/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.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/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.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/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/PlaneTag.html +5 -5
- package/docs/types/PointTag.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/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.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/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/VERSION.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/ItemLabelPlugin/ItemLabelComponent.js +12 -13
- package/libs/ItemLabelPlugin/ItemLabelItem.js +1 -1
- package/libs/ItemLabelPlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +10 -11
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +1 -1
- package/libs/ModelItemLabelPlugin/index.js +3 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +17 -18
- package/libs/PanoDoorLabelPlugin/Controller.js +96 -97
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItems.js +18 -19
- package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +8 -9
- package/libs/PanoSpatialTagPlugin/index.js +1 -3
- package/libs/PanoSpatialTagPlugin/store.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +25 -26
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +8 -8
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +30 -29
- package/libs/PanoTagPlugin/Components/Common/Media.js +27 -28
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +18 -19
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +3 -3
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +3 -3
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +9 -9
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +11 -10
- package/libs/PanoTagPlugin/Components/Common/Text.js +15 -16
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +10 -10
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +9 -10
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +27 -28
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +9 -10
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +7 -6
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -4
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +10 -11
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +19 -20
- package/libs/PanoTagPlugin/Components/Tag/index.js +8 -9
- package/libs/PanoTagPlugin/Components/TagContainer.js +11 -12
- package/libs/PanoTagPlugin/Components/TagWrapper.js +8 -9
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +4 -4
- package/libs/floorplan/Components/Camera.js +1 -1
- package/libs/floorplan/Components/Compass.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +9 -10
- package/libs/floorplan/Components/Main.js +24 -25
- package/libs/floorplan/Components/Normalmage.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +7 -7
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +7 -8
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +39 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +7 -7
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -1
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +5 -5
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +7 -7
- package/libs/floorplan/Components/SvgImage.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +23 -24
- package/libs/floorplan/index.js +1 -5
- package/libs/index.js +94 -95
- package/libs/vendor/svelte/easing/index.js +12 -0
- package/libs/vendor/svelte/index.js +1 -0
- package/libs/vendor/svelte/internal/index.js +642 -0
- package/libs/vendor/svelte/store/index.js +31 -0
- package/libs/vendor/svelte/transition/index.js +37 -0
- package/libs/vendor/swiper/svelte/swiper-slide.js +10 -11
- package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -2
- package/libs/vendor/swiper/svelte/swiper.js +9 -10
- package/package.json +2 -2
|
@@ -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.2.
|
|
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.2.4</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.2.4"/><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.2.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.2.4</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.2.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.2.4</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/1f9cbc4/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</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.2.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.2.4</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
47
47
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
@@ -10,9 +10,8 @@ var H = (i, t, e) => t in i ? ae(i, t, { enumerable: !0, configurable: !0, writa
|
|
|
10
10
|
me.call(t, e) && H(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
12
|
}, y = (i, t) => ce(i, le(t));
|
|
13
|
-
import { SvelteComponent as fe, init as ue, safe_not_equal as pe, append_styles as he, element as _e, attr as be, add_render_callback as Ie, set_style as W, insert as v, add_resize_listener as ge,
|
|
13
|
+
import { SvelteComponent as fe, init as ue, safe_not_equal as pe, append_styles as he, element as _e, attr as be, add_render_callback as Ie, set_style as W, insert as v, add_resize_listener as ge, update_keyed_each as ke, check_outros as Z, transition_in as w, transition_out as z, detach as T, beforeUpdate as ye, onMount as Pe, onDestroy as we, empty as A, group_outros as G, outro_and_destroy_block as Le, create_component as Me, mount_component as ze, destroy_component as Ce } from "../vendor/svelte/internal/index.js";
|
|
14
14
|
import { Five as P } from "@realsee/five";
|
|
15
|
-
import { beforeUpdate as Me, onMount as ze, onDestroy as Ce } from "svelte";
|
|
16
15
|
import * as Ee from "three";
|
|
17
16
|
import Fe from "./ItemLabelItem.js";
|
|
18
17
|
import { debounce as Oe } from "../shared-utils/debounce.js";
|
|
@@ -40,10 +39,10 @@ function X(i) {
|
|
|
40
39
|
}
|
|
41
40
|
}), {
|
|
42
41
|
c() {
|
|
43
|
-
|
|
42
|
+
Me(t.$$.fragment);
|
|
44
43
|
},
|
|
45
44
|
m(r, f) {
|
|
46
|
-
|
|
45
|
+
ze(t, r, f), e = !0;
|
|
47
46
|
},
|
|
48
47
|
p(r, f) {
|
|
49
48
|
const o = {};
|
|
@@ -56,7 +55,7 @@ function X(i) {
|
|
|
56
55
|
z(t.$$.fragment, r), e = !1;
|
|
57
56
|
},
|
|
58
57
|
d(r) {
|
|
59
|
-
|
|
58
|
+
Ce(t, r);
|
|
60
59
|
}
|
|
61
60
|
};
|
|
62
61
|
}
|
|
@@ -72,9 +71,9 @@ function Y(i, t) {
|
|
|
72
71
|
v(d, e, h), o && o.m(d, h), v(d, r, h), f = !0;
|
|
73
72
|
},
|
|
74
73
|
p(d, h) {
|
|
75
|
-
t = d, t[30].visible ? o ? (o.p(t, h), h[0] & 2 && w(o, 1)) : (o = X(t), o.c(), w(o, 1), o.m(r.parentNode, r)) : o && (
|
|
74
|
+
t = d, t[30].visible ? o ? (o.p(t, h), h[0] & 2 && w(o, 1)) : (o = X(t), o.c(), w(o, 1), o.m(r.parentNode, r)) : o && (G(), z(o, 1, 1, () => {
|
|
76
75
|
o = null;
|
|
77
|
-
}),
|
|
76
|
+
}), Z());
|
|
78
77
|
},
|
|
79
78
|
i(d) {
|
|
80
79
|
f || (w(o), f = !0);
|
|
@@ -108,7 +107,7 @@ function Te(i) {
|
|
|
108
107
|
f = ge(t, i[12].bind(t)), o = !0;
|
|
109
108
|
},
|
|
110
109
|
p(c, a) {
|
|
111
|
-
a[0] & 71 && (d = c[1],
|
|
110
|
+
a[0] & 71 && (d = c[1], G(), e = ke(e, a, h, 1, c, d, r, t, Le, Y, null, q), Z()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0, !1);
|
|
112
111
|
},
|
|
113
112
|
i(c) {
|
|
114
113
|
if (!o) {
|
|
@@ -219,11 +218,11 @@ function Ue(i, t, e) {
|
|
|
219
218
|
});
|
|
220
219
|
}
|
|
221
220
|
};
|
|
222
|
-
|
|
221
|
+
ye(() => {
|
|
223
222
|
ne();
|
|
224
|
-
}),
|
|
223
|
+
}), Pe(() => {
|
|
225
224
|
e(1, g = N(h)), C = h, L(), oe(), o.on("cameraUpdate", U);
|
|
226
|
-
}),
|
|
225
|
+
}), we(() => {
|
|
227
226
|
o.off("cameraUpdate", U), window.removeEventListener("resize", R, !1);
|
|
228
227
|
});
|
|
229
228
|
function re() {
|
|
@@ -247,7 +246,7 @@ function Ue(i, t, e) {
|
|
|
247
246
|
re
|
|
248
247
|
];
|
|
249
248
|
}
|
|
250
|
-
class
|
|
249
|
+
class Ze extends fe {
|
|
251
250
|
constructor(t) {
|
|
252
251
|
super(), ue(
|
|
253
252
|
this,
|
|
@@ -269,5 +268,5 @@ class Ge extends fe {
|
|
|
269
268
|
}
|
|
270
269
|
}
|
|
271
270
|
export {
|
|
272
|
-
|
|
271
|
+
Ze as default
|
|
273
272
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as B, init as x, safe_not_equal as F, append_styles as N, element as w, space as z, attr as c, null_to_empty as p, set_style as _, insert as q, append as v, listen as j, noop as I, detach as y, binding_callbacks as S, text as L, set_data as C } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as B, init as x, safe_not_equal as F, append_styles as N, element as w, space as z, attr as c, null_to_empty as p, set_style as _, insert as q, append as v, listen as j, noop as I, detach as y, binding_callbacks as S, text as L, set_data as C } from "../vendor/svelte/internal/index.js";
|
|
2
2
|
import k from "classnames";
|
|
3
3
|
function A(l) {
|
|
4
4
|
N(l, "svelte-gduhqw", `.item-label-item.svelte-gduhqw.svelte-gduhqw{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-gduhqw-fadeIn .3s ease-in}.item-label-item.fold.svelte-gduhqw>.item-label-item__text-wrap.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw:after{visibility:visible}.item-label-item__text-wrap.svelte-gduhqw.svelte-gduhqw{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-gduhqw.svelte-gduhqw{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-gduhqw.svelte-gduhqw{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-gduhqw.svelte-gduhqw{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-gduhqw.svelte-gduhqw{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-gduhqw.svelte-gduhqw{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-gduhqw.svelte-gduhqw:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url("//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png ");background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-gduhqw-fadeIn{from{opacity:0
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "@realsee/five";
|
|
2
|
-
import "svelte/internal";
|
|
3
|
-
import "svelte";
|
|
2
|
+
import "../vendor/svelte/internal/index.js";
|
|
4
3
|
import "three";
|
|
5
4
|
import "classnames";
|
|
6
|
-
const
|
|
5
|
+
const t = {
|
|
7
6
|
name: "ItemLabelPlugin",
|
|
8
7
|
version: 0
|
|
9
8
|
};
|
|
10
9
|
export {
|
|
11
|
-
|
|
10
|
+
t as itemLabelPluginServerParams
|
|
12
11
|
};
|
|
@@ -10,9 +10,8 @@ var O = (o, t, e) => t in o ? Z(o, t, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
ne.call(t, e) && O(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
12
|
}, I = (o, t) => $(o, ee(t));
|
|
13
|
-
import { SvelteComponent as oe, init as se, safe_not_equal as ie, append_styles as re, element as le, attr as ae, add_render_callback as ce, set_style as U, insert as V, add_resize_listener as me,
|
|
13
|
+
import { SvelteComponent as oe, init as se, safe_not_equal as ie, append_styles as re, element as le, attr as ae, add_render_callback as ce, set_style as U, insert as V, add_resize_listener as me, update_keyed_each as de, check_outros as ue, transition_in as W, transition_out as G, detach as Y, beforeUpdate as fe, onMount as he, onDestroy as _e, empty as Le, create_component as be, mount_component as ge, destroy_component as ye, group_outros as pe, outro_and_destroy_block as ke } from "../vendor/svelte/internal/index.js";
|
|
14
14
|
import { DISPLAY_STRATEGY_TYPE as E } from "./typings.js";
|
|
15
|
-
import { beforeUpdate as ye, onMount as pe, onDestroy as ke } from "svelte";
|
|
16
15
|
import * as Ie from "three";
|
|
17
16
|
import Ee from "./ItemLabelItem.js";
|
|
18
17
|
import { debounce as we } from "../shared-utils/debounce.js";
|
|
@@ -35,10 +34,10 @@ function S(o, t) {
|
|
|
35
34
|
key: o,
|
|
36
35
|
first: null,
|
|
37
36
|
c() {
|
|
38
|
-
e =
|
|
37
|
+
e = Le(), be(c.$$.fragment), this.first = e;
|
|
39
38
|
},
|
|
40
39
|
m(r, m) {
|
|
41
|
-
V(r, e, m),
|
|
40
|
+
V(r, e, m), ge(c, r, m), h = !0;
|
|
42
41
|
},
|
|
43
42
|
p(r, m) {
|
|
44
43
|
t = r;
|
|
@@ -52,7 +51,7 @@ function S(o, t) {
|
|
|
52
51
|
G(c.$$.fragment, r), h = !1;
|
|
53
52
|
},
|
|
54
53
|
d(r) {
|
|
55
|
-
r && Y(e),
|
|
54
|
+
r && Y(e), ye(c, r);
|
|
56
55
|
}
|
|
57
56
|
};
|
|
58
57
|
}
|
|
@@ -77,7 +76,7 @@ function Te(o) {
|
|
|
77
76
|
h = me(t, o[9].bind(t)), r = !0;
|
|
78
77
|
},
|
|
79
78
|
p(l, [s]) {
|
|
80
|
-
s & 3 && (m = l[1],
|
|
79
|
+
s & 3 && (m = l[1], pe(), e = de(e, s, d, 1, l, m, c, t, ke, S, null, C), ue()), s & 16 && U(t, "opacity", l[4] ? 1 : 0, !1);
|
|
81
80
|
},
|
|
82
81
|
i(l) {
|
|
83
82
|
if (!r) {
|
|
@@ -147,13 +146,13 @@ function Re(o, t, e) {
|
|
|
147
146
|
}, p = () => {
|
|
148
147
|
y = [], e(1, g = X(r, g));
|
|
149
148
|
};
|
|
150
|
-
|
|
149
|
+
fe(() => {
|
|
151
150
|
K();
|
|
152
151
|
});
|
|
153
152
|
const R = () => {
|
|
154
153
|
e(4, T = !1), B();
|
|
155
154
|
};
|
|
156
|
-
|
|
155
|
+
he(() => {
|
|
157
156
|
e(1, g = d), _ = d, p(), J(), r.on("cameraUpdate", R);
|
|
158
157
|
});
|
|
159
158
|
const B = we(
|
|
@@ -168,7 +167,7 @@ function Re(o, t, e) {
|
|
|
168
167
|
}, v = () => {
|
|
169
168
|
r.once("renderFrame", p);
|
|
170
169
|
};
|
|
171
|
-
|
|
170
|
+
_e(() => {
|
|
172
171
|
r.off("cameraUpdate", R), window.removeEventListener("resize", v, !1);
|
|
173
172
|
});
|
|
174
173
|
function N() {
|
|
@@ -189,7 +188,7 @@ function Re(o, t, e) {
|
|
|
189
188
|
N
|
|
190
189
|
];
|
|
191
190
|
}
|
|
192
|
-
class
|
|
191
|
+
class De extends oe {
|
|
193
192
|
constructor(t) {
|
|
194
193
|
super(), se(
|
|
195
194
|
this,
|
|
@@ -209,5 +208,5 @@ class Ve extends oe {
|
|
|
209
208
|
}
|
|
210
209
|
}
|
|
211
210
|
export {
|
|
212
|
-
|
|
211
|
+
De as default
|
|
213
212
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as y, init as k, safe_not_equal as L, append_styles as w, element as g, text as z, space as I, attr as b, set_style as r, null_to_empty as v, insert as x, append as c, listen as C, set_data as F, noop as h, detach as j } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as y, init as k, safe_not_equal as L, append_styles as w, element as g, text as z, space as I, attr as b, set_style as r, null_to_empty as v, insert as x, append as c, listen as C, set_data as F, noop as h, detach as j } from "../vendor/svelte/internal/index.js";
|
|
2
2
|
import u from "classnames";
|
|
3
3
|
function q(t) {
|
|
4
4
|
w(t, "svelte-1ir3cyd", `.item-label-item.svelte-1ir3cyd{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1ir3cyd{opacity:1;animation:svelte-1ir3cyd-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-1ir3cyd::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1ir3cyd{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#FFEAC0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1ir3cyd{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1ir3cyd{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1ir3cyd-fadeIn{from{opacity:0
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "@realsee/five";
|
|
2
|
-
import "svelte/internal";
|
|
3
|
-
import "svelte";
|
|
2
|
+
import "../vendor/svelte/internal/index.js";
|
|
4
3
|
import "three";
|
|
5
4
|
import "classnames";
|
|
6
|
-
const
|
|
5
|
+
const t = {
|
|
7
6
|
name: "ModelItemLabelPlugin",
|
|
8
7
|
version: 0
|
|
9
8
|
};
|
|
10
9
|
export {
|
|
11
|
-
|
|
10
|
+
t as modelItemLabelPluginServerParams
|
|
12
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as g, init as h, safe_not_equal as _, append_styles as z, element as u, text as w, space as k, attr as b, set_style as r, toggle_class as p, insert as L, append as d, listen as I, set_data as x, noop as v, detach as y } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as g, init as h, safe_not_equal as _, append_styles as z, element as u, text as w, space as k, attr as b, set_style as r, toggle_class as p, insert as L, append as d, listen as I, set_data as x, noop as v, detach as y } from "../vendor/svelte/internal/index.js";
|
|
2
2
|
import { ROOM_LABEL_BG as B } from "./Assets/roomLabelBg.js";
|
|
3
3
|
function C(t) {
|
|
4
4
|
z(t, "svelte-1d7uzh5", ".room-label-item.svelte-1d7uzh5{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-label-item__text.svelte-1d7uzh5{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1d7uzh5{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1d7uzh5{font-size:0.625rem}");
|
|
@@ -10,12 +10,11 @@ var D = (o, t, e) => t in o ? q(o, t, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
E.call(t, e) && D(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
12
|
}, S = (o, t) => P(o, A(t));
|
|
13
|
-
import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as N, element as Q, attr as X, add_render_callback as Y, insert as H, add_resize_listener as Z,
|
|
14
|
-
import { onDestroy as ce } from "svelte";
|
|
13
|
+
import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as N, element as Q, attr as X, add_render_callback as Y, insert as H, add_resize_listener as Z, update_keyed_each as $, check_outros as ee, transition_in as O, transition_out as V, detach as W, onDestroy as te, globals as oe, empty as ne, create_component as re, mount_component as ie, destroy_component as se, group_outros as le, outro_and_destroy_block as ce } from "../vendor/svelte/internal/index.js";
|
|
15
14
|
import { Raycaster as ae, Vector3 as w } from "three";
|
|
16
15
|
import fe from "./RoomLabelItem.js";
|
|
17
16
|
import "./Assets/roomLabelBg.js";
|
|
18
|
-
const { Map: me } =
|
|
17
|
+
const { Map: me } = oe;
|
|
19
18
|
function ue(o) {
|
|
20
19
|
N(o, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
21
20
|
}
|
|
@@ -34,10 +33,10 @@ function U(o, t) {
|
|
|
34
33
|
key: o,
|
|
35
34
|
first: null,
|
|
36
35
|
c() {
|
|
37
|
-
e =
|
|
36
|
+
e = ne(), re(l.$$.fragment), this.first = e;
|
|
38
37
|
},
|
|
39
38
|
m(r, a) {
|
|
40
|
-
H(r, e, a),
|
|
39
|
+
H(r, e, a), ie(l, r, a), s = !0;
|
|
41
40
|
},
|
|
42
41
|
p(r, a) {
|
|
43
42
|
t = r;
|
|
@@ -51,7 +50,7 @@ function U(o, t) {
|
|
|
51
50
|
V(l.$$.fragment, r), s = !1;
|
|
52
51
|
},
|
|
53
52
|
d(r) {
|
|
54
|
-
r && W(e),
|
|
53
|
+
r && W(e), se(l, r);
|
|
55
54
|
}
|
|
56
55
|
};
|
|
57
56
|
}
|
|
@@ -76,7 +75,7 @@ function de(o) {
|
|
|
76
75
|
s = Z(t, o[6].bind(t)), r = !0;
|
|
77
76
|
},
|
|
78
77
|
p(n, [i]) {
|
|
79
|
-
i & 3 && (a = n[0],
|
|
78
|
+
i & 3 && (a = n[0], le(), e = $(e, i, m, 1, n, a, l, t, ce, U, null, T), ee());
|
|
80
79
|
},
|
|
81
80
|
i(n) {
|
|
82
81
|
if (!r) {
|
|
@@ -109,22 +108,22 @@ function he(o, t, e) {
|
|
|
109
108
|
const [f] = s.model.intersectRaycaster(g);
|
|
110
109
|
return !(f && f.distance + 1 < b);
|
|
111
110
|
}
|
|
112
|
-
function d(c,
|
|
113
|
-
const u = new w(c.position.x, c.position.y, c.position.z).clone().project(s.camera), h = Math.ceil((u.x + 1) / 2 *
|
|
111
|
+
function d(c, _) {
|
|
112
|
+
const u = new w(c.position.x, c.position.y, c.position.z).clone().project(s.camera), h = Math.ceil((u.x + 1) / 2 * _.x), b = Math.ceil((-u.y + 1) / 2 * _.y);
|
|
114
113
|
return `translate(${h}px, ${b}px)`;
|
|
115
114
|
}
|
|
116
115
|
function z(c) {
|
|
117
|
-
const { rendererSize:
|
|
116
|
+
const { rendererSize: _, shownFloor: g } = c, u = /* @__PURE__ */ new Map();
|
|
118
117
|
function h(f) {
|
|
119
|
-
const
|
|
120
|
-
if (
|
|
121
|
-
return
|
|
118
|
+
const p = u.get(f.id);
|
|
119
|
+
if (p)
|
|
120
|
+
return p;
|
|
122
121
|
const { x: L, y: v, z: x } = f.position, y = new w(L, v, x).clone().distanceTo(s.camera.position);
|
|
123
122
|
return u.set(f.id, y), y;
|
|
124
123
|
}
|
|
125
124
|
return r.map((f) => {
|
|
126
|
-
const
|
|
127
|
-
return S(R({}, f), { visible:
|
|
125
|
+
const p = i(f), L = p ? d(f, _) : f.transform, v = h(f), y = r.filter((M) => M.visible && h(M) < v).length * 10;
|
|
126
|
+
return S(R({}, f), { visible: p, transform: L, zIndex: y });
|
|
128
127
|
});
|
|
129
128
|
}
|
|
130
129
|
function F() {
|
|
@@ -133,7 +132,7 @@ function he(o, t, e) {
|
|
|
133
132
|
function I(c) {
|
|
134
133
|
e(4, n = c);
|
|
135
134
|
}
|
|
136
|
-
s.on("cameraUpdate", F), s.on("modelShownFloorChange", I),
|
|
135
|
+
s.on("cameraUpdate", F), s.on("modelShownFloorChange", I), te(() => {
|
|
137
136
|
s.off("cameraUpdate", F), s.off("modelShownFloorChange", I);
|
|
138
137
|
});
|
|
139
138
|
function j() {
|
|
@@ -153,11 +152,11 @@ function he(o, t, e) {
|
|
|
153
152
|
j
|
|
154
153
|
];
|
|
155
154
|
}
|
|
156
|
-
class
|
|
155
|
+
class Le extends G {
|
|
157
156
|
constructor(t) {
|
|
158
157
|
super(), J(this, t, he, de, K, { five: 1, roomLabels: 0 }, ue);
|
|
159
158
|
}
|
|
160
159
|
}
|
|
161
160
|
export {
|
|
162
|
-
|
|
161
|
+
Le as default
|
|
163
162
|
};
|