@realsee/dnalogel 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +13 -13
- package/dist/index.js +275 -274
- package/dist/index.umd.js +13 -13
- 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/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +85 -84
- 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.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.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.2.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.2.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.2.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.2.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.2.1</a></li>
|
|
16
16
|
<li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -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/874845a/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.1</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">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { onMount as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as L, empty as Q, insert as y, transition_in as u, group_outros as M, transition_out as h, check_outros as F, detach as k, element as N, attr as P, add_render_callback as R, add_resize_listener as T, assign as O, create_component as U, space as V, set_style as q, mount_component as C, append as X, get_spread_update as H, destroy_component as S } from "svelte/internal";
|
|
2
|
+
import { onMount as Y } from "svelte";
|
|
3
|
+
import Z from "./Camera.js";
|
|
4
|
+
import x from "./CurrentFloor/CurrentFloor.js";
|
|
5
5
|
import "../../Assets/camera.js";
|
|
6
6
|
import "../../../shared-utils/throttle.js";
|
|
7
7
|
import "./CurrentFloor/ExtraObjects.js";
|
|
@@ -11,70 +11,70 @@ import "../../Components/SvgImage.js";
|
|
|
11
11
|
import "../../Components/RoomHighlight/RoomHighlight.js";
|
|
12
12
|
import "../../Components/RoomHighlight/Room.js";
|
|
13
13
|
import "../../utils/formatPosition.js";
|
|
14
|
-
function
|
|
15
|
-
|
|
14
|
+
function $(o) {
|
|
15
|
+
L(o, "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}");
|
|
16
16
|
}
|
|
17
|
-
function W(
|
|
18
|
-
let t, l, n, e =
|
|
17
|
+
function W(o) {
|
|
18
|
+
let t, l, n, e = o[6] !== 0 && A(o);
|
|
19
19
|
return {
|
|
20
20
|
c() {
|
|
21
|
-
t =
|
|
21
|
+
t = N("div"), e && e.c(), P(t, "class", "plugin-floorplan-radar svelte-1mvqyqq"), R(() => o[12].call(t));
|
|
22
22
|
},
|
|
23
|
-
m(
|
|
24
|
-
|
|
23
|
+
m(i, f) {
|
|
24
|
+
y(i, t, f), e && e.m(t, null), l = T(t, o[12].bind(t)), n = !0;
|
|
25
25
|
},
|
|
26
|
-
p(
|
|
27
|
-
|
|
26
|
+
p(i, f) {
|
|
27
|
+
i[6] !== 0 ? e ? (e.p(i, f), f & 64 && u(e, 1)) : (e = A(i), e.c(), u(e, 1), e.m(t, null)) : e && (M(), h(e, 1, 1, () => {
|
|
28
28
|
e = null;
|
|
29
|
-
}),
|
|
29
|
+
}), F());
|
|
30
30
|
},
|
|
31
|
-
i(
|
|
32
|
-
n || (
|
|
31
|
+
i(i) {
|
|
32
|
+
n || (u(e), n = !0);
|
|
33
33
|
},
|
|
34
|
-
o(
|
|
34
|
+
o(i) {
|
|
35
35
|
h(e), n = !1;
|
|
36
36
|
},
|
|
37
|
-
d(
|
|
38
|
-
|
|
37
|
+
d(i) {
|
|
38
|
+
i && k(t), e && e.d(), l();
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
function A(
|
|
43
|
-
let t, l, n, e,
|
|
42
|
+
function A(o) {
|
|
43
|
+
let t, l, n, e, i = `${o[8]}px`, f = `${o[11]}px`, c;
|
|
44
44
|
const p = [
|
|
45
45
|
{
|
|
46
|
-
five:
|
|
47
|
-
pxmm:
|
|
48
|
-
floorIndex:
|
|
49
|
-
floorplanData:
|
|
50
|
-
hoverEnable:
|
|
51
|
-
extraObjects:
|
|
46
|
+
five: o[0],
|
|
47
|
+
pxmm: o[9],
|
|
48
|
+
floorIndex: o[10],
|
|
49
|
+
floorplanData: o[3],
|
|
50
|
+
hoverEnable: o[2],
|
|
51
|
+
extraObjects: o[5]
|
|
52
52
|
}
|
|
53
53
|
];
|
|
54
|
-
let
|
|
54
|
+
let d = {};
|
|
55
55
|
for (let r = 0; r < p.length; r += 1)
|
|
56
|
-
|
|
57
|
-
l = new
|
|
58
|
-
const
|
|
56
|
+
d = O(d, p[r]);
|
|
57
|
+
l = new x({ props: d });
|
|
58
|
+
const _ = [
|
|
59
59
|
{
|
|
60
|
-
pxmm:
|
|
61
|
-
five:
|
|
62
|
-
floorplanData:
|
|
63
|
-
cameraImageUrl:
|
|
60
|
+
pxmm: o[9],
|
|
61
|
+
five: o[0],
|
|
62
|
+
floorplanData: o[3],
|
|
63
|
+
cameraImageUrl: o[4]
|
|
64
64
|
}
|
|
65
65
|
];
|
|
66
|
-
let
|
|
67
|
-
for (let r = 0; r <
|
|
68
|
-
|
|
69
|
-
return e = new
|
|
66
|
+
let m = {};
|
|
67
|
+
for (let r = 0; r < _.length; r += 1)
|
|
68
|
+
m = O(m, _[r]);
|
|
69
|
+
return e = new Z({ props: m }), {
|
|
70
70
|
c() {
|
|
71
|
-
t =
|
|
71
|
+
t = N("div"), U(l.$$.fragment), n = V(), U(e.$$.fragment), P(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", i, !1), q(t, "height", f, !1);
|
|
72
72
|
},
|
|
73
|
-
m(r,
|
|
74
|
-
|
|
73
|
+
m(r, s) {
|
|
74
|
+
y(r, t, s), C(l, t, null), X(t, n), C(e, t, null), c = !0;
|
|
75
75
|
},
|
|
76
|
-
p(r,
|
|
77
|
-
const g =
|
|
76
|
+
p(r, s) {
|
|
77
|
+
const g = s & 1581 ? H(p, [
|
|
78
78
|
{
|
|
79
79
|
five: r[0],
|
|
80
80
|
pxmm: r[9],
|
|
@@ -85,7 +85,7 @@ function A(i) {
|
|
|
85
85
|
}
|
|
86
86
|
]) : {};
|
|
87
87
|
l.$set(g);
|
|
88
|
-
const v =
|
|
88
|
+
const v = s & 537 ? H(_, [
|
|
89
89
|
{
|
|
90
90
|
pxmm: r[9],
|
|
91
91
|
five: r[0],
|
|
@@ -93,35 +93,35 @@ function A(i) {
|
|
|
93
93
|
cameraImageUrl: r[4]
|
|
94
94
|
}
|
|
95
95
|
]) : {};
|
|
96
|
-
e.$set(v),
|
|
96
|
+
e.$set(v), s & 256 && i !== (i = `${r[8]}px`) && q(t, "width", i, !1), s & 2048 && f !== (f = `${r[11]}px`) && q(t, "height", f, !1);
|
|
97
97
|
},
|
|
98
98
|
i(r) {
|
|
99
|
-
|
|
99
|
+
c || (u(l.$$.fragment, r), u(e.$$.fragment, r), c = !0);
|
|
100
100
|
},
|
|
101
101
|
o(r) {
|
|
102
|
-
h(l.$$.fragment, r), h(e.$$.fragment, r),
|
|
102
|
+
h(l.$$.fragment, r), h(e.$$.fragment, r), c = !1;
|
|
103
103
|
},
|
|
104
104
|
d(r) {
|
|
105
|
-
r && k(t),
|
|
105
|
+
r && k(t), S(l), S(e);
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
let t, l, n =
|
|
109
|
+
function ee(o) {
|
|
110
|
+
let t, l, n = o[1] && W(o);
|
|
111
111
|
return {
|
|
112
112
|
c() {
|
|
113
|
-
n && n.c(), t =
|
|
113
|
+
n && n.c(), t = Q();
|
|
114
114
|
},
|
|
115
|
-
m(e,
|
|
116
|
-
n && n.m(e,
|
|
115
|
+
m(e, i) {
|
|
116
|
+
n && n.m(e, i), y(e, t, i), l = !0;
|
|
117
117
|
},
|
|
118
|
-
p(e, [
|
|
119
|
-
e[1] ? n ? (n.p(e,
|
|
118
|
+
p(e, [i]) {
|
|
119
|
+
e[1] ? n ? (n.p(e, i), i & 2 && u(n, 1)) : (n = W(e), n.c(), u(n, 1), n.m(t.parentNode, t)) : n && (M(), h(n, 1, 1, () => {
|
|
120
120
|
n = null;
|
|
121
|
-
}),
|
|
121
|
+
}), F());
|
|
122
122
|
},
|
|
123
123
|
i(e) {
|
|
124
|
-
l || (
|
|
124
|
+
l || (u(n), l = !0);
|
|
125
125
|
},
|
|
126
126
|
o(e) {
|
|
127
127
|
h(n), l = !1;
|
|
@@ -131,50 +131,51 @@ function x(i) {
|
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
|
|
134
|
+
function te(o, t, l) {
|
|
135
|
+
var w, D;
|
|
136
|
+
let { five: n } = t, { visible: e } = t, { hoverEnable: i } = t, { floorplanData: f } = t, { cameraImageUrl: c } = t, { extraObjects: p = [] } = t, d = 0, _ = (D = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, m = 0, r = 0, s = 0, g = 0;
|
|
136
137
|
function v(a) {
|
|
137
|
-
l(10,
|
|
138
|
+
l(10, _ = n.work.observers[a].floorIndex);
|
|
138
139
|
}
|
|
139
|
-
|
|
140
|
+
Y(() => (n.on("panoArrived", v), () => {
|
|
140
141
|
n.off("panoArrived", v);
|
|
141
142
|
}));
|
|
142
|
-
function
|
|
143
|
-
|
|
143
|
+
function B() {
|
|
144
|
+
m = this.clientWidth, r = this.clientHeight, l(6, m), l(7, r);
|
|
144
145
|
}
|
|
145
|
-
return
|
|
146
|
-
"five" in a && l(0, n = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2,
|
|
147
|
-
},
|
|
148
|
-
if (
|
|
149
|
-
const a = Math.min(
|
|
150
|
-
return b >
|
|
146
|
+
return o.$$set = (a) => {
|
|
147
|
+
"five" in a && l(0, n = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, i = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, c = a.cameraImageUrl), "extraObjects" in a && l(5, p = a.extraObjects);
|
|
148
|
+
}, o.$$.update = () => {
|
|
149
|
+
if (o.$$.dirty & 456) {
|
|
150
|
+
const a = Math.min(m, r), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
|
|
151
|
+
return b > I ? [a, a / b * I] : [a / I * b, a];
|
|
151
152
|
}();
|
|
152
|
-
l(8,
|
|
153
|
+
l(8, s = E[0]), l(11, g = E[1]), l(9, d = s / b);
|
|
153
154
|
}
|
|
154
155
|
}, [
|
|
155
156
|
n,
|
|
156
157
|
e,
|
|
157
|
-
|
|
158
|
+
i,
|
|
158
159
|
f,
|
|
159
|
-
|
|
160
|
+
c,
|
|
160
161
|
p,
|
|
161
|
-
s,
|
|
162
|
-
r,
|
|
163
162
|
m,
|
|
164
|
-
|
|
163
|
+
r,
|
|
164
|
+
s,
|
|
165
165
|
d,
|
|
166
|
+
_,
|
|
166
167
|
g,
|
|
167
|
-
|
|
168
|
+
B
|
|
168
169
|
];
|
|
169
170
|
}
|
|
170
|
-
class
|
|
171
|
+
class he extends G {
|
|
171
172
|
constructor(t) {
|
|
172
|
-
super(),
|
|
173
|
+
super(), J(
|
|
173
174
|
this,
|
|
174
175
|
t,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
te,
|
|
177
|
+
ee,
|
|
178
|
+
K,
|
|
178
179
|
{
|
|
179
180
|
five: 0,
|
|
180
181
|
visible: 1,
|
|
@@ -183,10 +184,10 @@ class _e extends P {
|
|
|
183
184
|
cameraImageUrl: 4,
|
|
184
185
|
extraObjects: 5
|
|
185
186
|
},
|
|
186
|
-
|
|
187
|
+
$
|
|
187
188
|
);
|
|
188
189
|
}
|
|
189
190
|
}
|
|
190
191
|
export {
|
|
191
|
-
|
|
192
|
+
he as default
|
|
192
193
|
};
|
package/package.json
CHANGED