@realsee/dnalogel 2.2.5 → 2.2.6
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/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/dist/index.cjs.js +17 -17
- package/dist/index.js +849 -887
- package/dist/index.umd.js +17 -17
- package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- 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 +6 -6
- 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 +2 -2
- package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +42 -39
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
- package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
- package/libs/PanoSpatialTagPlugin/Components/origins.js +39 -39
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Media.js +53 -53
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +8 -8
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +13 -13
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +5 -5
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +12 -12
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +48 -78
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +25 -25
- package/libs/PanoTagPlugin/Components/Tag/index.js +35 -35
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -2
- package/libs/PanoTagPlugin/Components/TagWrapper.js +2 -2
- package/libs/floorplan/Components/Camera.js +23 -23
- package/libs/floorplan/Components/Compass.js +2 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +31 -31
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +51 -51
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +26 -26
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +16 -16
- package/libs/index.js +1 -1
- package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
- package/libs/vendor/svelte/internal/index.js +151 -152
- package/package.json +1 -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.6</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.2.6"/><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.6</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.6</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/f314091/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.6</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">
|
|
@@ -98,7 +98,7 @@ function Te(i) {
|
|
|
98
98
|
t = _e("div");
|
|
99
99
|
for (let c = 0; c < e.length; c += 1)
|
|
100
100
|
e[c].c();
|
|
101
|
-
be(t, "class", "item-labels-container svelte-gk8s47"), Ie(() => i[12].call(t)), W(t, "opacity", i[5] ? 1 : 0
|
|
101
|
+
be(t, "class", "item-labels-container svelte-gk8s47"), Ie(() => i[12].call(t)), W(t, "opacity", i[5] ? 1 : 0);
|
|
102
102
|
},
|
|
103
103
|
m(c, a) {
|
|
104
104
|
v(c, t, a);
|
|
@@ -107,7 +107,7 @@ function Te(i) {
|
|
|
107
107
|
f = ge(t, i[12].bind(t)), o = !0;
|
|
108
108
|
},
|
|
109
109
|
p(c, a) {
|
|
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
|
|
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);
|
|
111
111
|
},
|
|
112
112
|
i(c) {
|
|
113
113
|
if (!o) {
|
|
@@ -11,11 +11,11 @@ function D(l) {
|
|
|
11
11
|
c() {
|
|
12
12
|
a && a.c(), e = z(), t = w("div"), n = w("span"), h = L(s), o = z(), m = w("span"), g = L(r), c(n, "class", "item-model svelte-gduhqw"), c(m, "class", "item-name svelte-gduhqw"), c(t, "class", "item-label-text svelte-gduhqw");
|
|
13
13
|
},
|
|
14
|
-
m(i,
|
|
15
|
-
a && a.m(i,
|
|
14
|
+
m(i, b) {
|
|
15
|
+
a && a.m(i, b), q(i, e, b), q(i, t, b), v(t, n), v(n, h), v(t, o), v(t, m), v(m, g);
|
|
16
16
|
},
|
|
17
|
-
p(i,
|
|
18
|
-
i[0].icon ? a ? a.p(i,
|
|
17
|
+
p(i, b) {
|
|
18
|
+
i[0].icon ? a ? a.p(i, b) : (a = E(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), b & 1 && s !== (s = (i[0].code || i[0].id) + "") && C(h, s), b & 1 && r !== (r = i[0].name + "") && C(g, r);
|
|
19
19
|
},
|
|
20
20
|
d(i) {
|
|
21
21
|
a && a.d(i), i && y(e), i && y(t);
|
|
@@ -59,25 +59,25 @@ function H(l) {
|
|
|
59
59
|
function i(d, u) {
|
|
60
60
|
return u & 1 && (n = null), n == null && (n = !!Boolean(typeof d[0].render == "function")), n ? G : D;
|
|
61
61
|
}
|
|
62
|
-
let
|
|
62
|
+
let b = i(l, -1), f = b(l);
|
|
63
63
|
return {
|
|
64
64
|
c() {
|
|
65
|
-
e = w("div"), t = w("div"),
|
|
65
|
+
e = w("div"), t = w("div"), f.c(), h = z(), o = w("div"), c(t, "class", s = p(k("item-label-item__text-wrap", {
|
|
66
66
|
"item-label-item__custom": Boolean(typeof l[0].render == "function")
|
|
67
|
-
})) + " svelte-gduhqw"), _(t, "bottom", `${l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: l[1] })) + " svelte-gduhqw"), _(o, "height", `${l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: l[0].isFold })) + " svelte-gduhqw"), _(e, "z-index", l[0].zIndex
|
|
67
|
+
})) + " svelte-gduhqw"), _(t, "bottom", `${l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: l[1] })) + " svelte-gduhqw"), _(o, "height", `${l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: l[0].isFold })) + " svelte-gduhqw"), _(e, "z-index", l[0].zIndex), _(e, "transform", l[0].transform);
|
|
68
68
|
},
|
|
69
69
|
m(d, u) {
|
|
70
|
-
q(d, e, u), v(e, t),
|
|
70
|
+
q(d, e, u), v(e, t), f.m(t, null), v(e, h), v(e, o), g || (a = j(t, "click", l[4]), g = !0);
|
|
71
71
|
},
|
|
72
72
|
p(d, [u]) {
|
|
73
|
-
|
|
73
|
+
b === (b = i(d, u)) && f ? f.p(d, u) : (f.d(1), f = b(d), f && (f.c(), f.m(t, null))), u & 1 && s !== (s = p(k("item-label-item__text-wrap", {
|
|
74
74
|
"item-label-item__custom": Boolean(typeof d[0].render == "function")
|
|
75
|
-
})) + " svelte-gduhqw") && c(t, "class", s), u & 1 && _(t, "bottom", `${d[0].strokeLength}px`), u & 2 && m !== (m = p(k("item-label-item__bar", { anchor: d[1] })) + " svelte-gduhqw") && c(o, "class", m), u & 1 && _(o, "height", `${d[0].strokeLength}px`), u & 1 && r !== (r = p(k("item-label-item", { fold: d[0].isFold })) + " svelte-gduhqw") && c(e, "class", r), u & 1 && _(e, "z-index", d[0].zIndex
|
|
75
|
+
})) + " svelte-gduhqw") && c(t, "class", s), u & 1 && _(t, "bottom", `${d[0].strokeLength}px`), u & 2 && m !== (m = p(k("item-label-item__bar", { anchor: d[1] })) + " svelte-gduhqw") && c(o, "class", m), u & 1 && _(o, "height", `${d[0].strokeLength}px`), u & 1 && r !== (r = p(k("item-label-item", { fold: d[0].isFold })) + " svelte-gduhqw") && c(e, "class", r), u & 1 && _(e, "z-index", d[0].zIndex), u & 1 && _(e, "transform", d[0].transform);
|
|
76
76
|
},
|
|
77
77
|
i: I,
|
|
78
78
|
o: I,
|
|
79
79
|
d(d) {
|
|
80
|
-
d && y(e),
|
|
80
|
+
d && y(e), f.d(), g = !1, a();
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
}
|
|
@@ -17,7 +17,7 @@ var M = (t, i, s) => new Promise((l, o) => {
|
|
|
17
17
|
import * as h from "three";
|
|
18
18
|
import { FBXLoader as E } from "three/examples/jsm/loaders/FBXLoader";
|
|
19
19
|
import { bject3d2LocalMatrix as U } from "../shared-utils/object3d2LocalMatrix.js";
|
|
20
|
-
import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/
|
|
20
|
+
import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
21
21
|
const X = (t, i) => {
|
|
22
22
|
var x;
|
|
23
23
|
const s = i.fbx_url || "//vrlab-static.ljcdn.com/release/web/v3/dipan3/dipan.FBX", l = (x = i.north_rad) != null ? x : void 0, o = {}, m = (e) => M(void 0, null, function* () {
|
|
@@ -7,6 +7,7 @@ export interface ModelEntryDoorGuidePluginData {
|
|
|
7
7
|
}
|
|
8
8
|
export declare type ModelEntryDoorGuidePluginParameterType = {
|
|
9
9
|
animationEnabled?: boolean;
|
|
10
|
+
name?: string;
|
|
10
11
|
} & ModelEntryDoorGuidePluginData;
|
|
11
12
|
export interface ModelEntryDoorGuidePluginExportType {
|
|
12
13
|
enable: (config?: {
|
|
@@ -1,77 +1,80 @@
|
|
|
1
|
-
var
|
|
1
|
+
var C = (t, s, e) => new Promise((x, E) => {
|
|
2
2
|
var y = (r) => {
|
|
3
3
|
try {
|
|
4
4
|
c(e.next(r));
|
|
5
5
|
} catch (m) {
|
|
6
|
-
|
|
6
|
+
E(m);
|
|
7
7
|
}
|
|
8
8
|
}, P = (r) => {
|
|
9
9
|
try {
|
|
10
10
|
c(e.throw(r));
|
|
11
11
|
} catch (m) {
|
|
12
|
-
|
|
12
|
+
E(m);
|
|
13
13
|
}
|
|
14
14
|
}, c = (r) => r.done ? x(r.value) : Promise.resolve(r.value).then(y, P);
|
|
15
15
|
c((e = e.apply(t, s)).next());
|
|
16
16
|
});
|
|
17
|
-
import * as
|
|
18
|
-
import { MeshBasicMaterial as
|
|
19
|
-
import { FBXLoader as
|
|
20
|
-
import { createCanvasTextTexture as
|
|
21
|
-
import { transformPositionToVector3 as
|
|
22
|
-
import { transfromToMeshBasicMaterial as
|
|
23
|
-
const
|
|
24
|
-
var g,
|
|
25
|
-
const e = {}, x = (g = s.animationEnabled) != null ? g : !0,
|
|
26
|
-
var
|
|
27
|
-
const l = (
|
|
17
|
+
import * as z from "three";
|
|
18
|
+
import { MeshBasicMaterial as B, AnimationMixer as S } from "three";
|
|
19
|
+
import { FBXLoader as _ } from "three/examples/jsm/loaders/FBXLoader";
|
|
20
|
+
import { createCanvasTextTexture as H } from "../shared-utils/createCanvasTextTexture.js";
|
|
21
|
+
import { transformPositionToVector3 as L } from "../shared-utils/three/transformPositionToVector3.js";
|
|
22
|
+
import { transfromToMeshBasicMaterial as U } from "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
23
|
+
const K = (t, s) => {
|
|
24
|
+
var g, G, R;
|
|
25
|
+
const e = {}, x = (g = s.animationEnabled) != null ? g : !0, E = (G = s.position) != null ? G : void 0, y = (R = s.rad) != null ? R : void 0, P = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", c = [], r = (n) => C(void 0, null, function* () {
|
|
26
|
+
var u, b, M, f, p, j, h, q;
|
|
27
|
+
const l = (u = n == null ? void 0 : n.position) != null ? u : E;
|
|
28
28
|
if (!l)
|
|
29
|
-
return Promise.reject("ModelEntryDoorGuidePlugin.load(): position is undefined");
|
|
30
|
-
const i =
|
|
31
|
-
if (e.rad =
|
|
32
|
-
return Promise.reject(`ModelEntryDoorGuidePlugin.load(): rad is ${
|
|
33
|
-
const a = yield new
|
|
34
|
-
a.position.copy(i), a.rotation.z =
|
|
35
|
-
const d = (
|
|
36
|
-
|
|
29
|
+
return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
|
|
30
|
+
const i = L(l), o = (b = n == null ? void 0 : n.rad) != null ? b : y, D = (M = n == null ? void 0 : n.fbx_url) != null ? M : P;
|
|
31
|
+
if (e.rad = o, o === void 0)
|
|
32
|
+
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${o}`));
|
|
33
|
+
const a = yield new _().loadAsync(D);
|
|
34
|
+
a.position.copy(i), a.rotation.z = o, a.scale.set(0.8, 0.8, 0.8), U(a, { transparent: !0, side: z.DoubleSide });
|
|
35
|
+
const d = (h = (j = (p = (f = a.children) == null ? void 0 : f[0]) == null ? void 0 : p.children) == null ? void 0 : j[3]) == null ? void 0 : h.clone();
|
|
36
|
+
if (!d)
|
|
37
|
+
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${d}`));
|
|
38
|
+
const w = (q = s.name) != null ? q : "\u5165\u6237\u95E8";
|
|
39
|
+
return d.material = new B({ transparent: !0, map: H(w) }), d.renderOrder = 3, a.children[0].add(d), e.object = a, !0;
|
|
37
40
|
}), m = () => {
|
|
38
41
|
if (e.animation)
|
|
39
42
|
return;
|
|
40
43
|
if (!e.object)
|
|
41
44
|
return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
|
|
42
|
-
const
|
|
45
|
+
const n = 1, l = new S(e.object);
|
|
43
46
|
c.push(l);
|
|
44
47
|
const i = l.clipAction(e.object.animations[0]);
|
|
45
|
-
i.timeScale =
|
|
46
|
-
let
|
|
48
|
+
i.timeScale = n;
|
|
49
|
+
let o;
|
|
47
50
|
const D = () => {
|
|
48
51
|
let u = 0, b = 0;
|
|
49
|
-
const
|
|
50
|
-
u = requestAnimationFrame(
|
|
51
|
-
const j =
|
|
52
|
-
j <
|
|
52
|
+
const M = 1e3 / 30, f = (p) => {
|
|
53
|
+
u = requestAnimationFrame(f);
|
|
54
|
+
const j = p - b;
|
|
55
|
+
j < M || (b = p, c.forEach((h) => h.update(j / 1e3)), t.needsRender = !0);
|
|
53
56
|
};
|
|
54
|
-
return u = requestAnimationFrame(
|
|
57
|
+
return u = requestAnimationFrame(f), () => {
|
|
55
58
|
cancelAnimationFrame(u);
|
|
56
59
|
};
|
|
57
|
-
},
|
|
58
|
-
|
|
60
|
+
}, w = { play: () => {
|
|
61
|
+
o || (i.play(), o = D(), requestAnimationFrame(() => {
|
|
59
62
|
e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
|
|
60
63
|
}));
|
|
61
64
|
}, stop: () => {
|
|
62
|
-
i.stop(),
|
|
65
|
+
i.stop(), o == null || o(), o = void 0;
|
|
63
66
|
} };
|
|
64
|
-
e.animation =
|
|
65
|
-
}, F = (
|
|
67
|
+
e.animation = w;
|
|
68
|
+
}, F = (n) => {
|
|
66
69
|
var i;
|
|
67
70
|
if (!e.object)
|
|
68
71
|
return console.error("ModelEntryDoorGuidePlugin.enable(): object is ", e.object);
|
|
69
|
-
((i =
|
|
72
|
+
((i = n == null ? void 0 : n.animationEnable) != null ? i : x) && (e.animation || m(), e.animation.play()), t.scene.add(e.object), t.needsRender = !0;
|
|
70
73
|
}, T = () => {
|
|
71
74
|
!e.object || (e.animation && e.animation.stop(), t.scene.remove(e.object), t.needsRender = !0);
|
|
72
|
-
}, A = (
|
|
73
|
-
return { load: r, enable: (
|
|
75
|
+
}, A = (n) => n === "Floorplan" ? F() : T();
|
|
76
|
+
return { load: r, enable: (n) => (e.enabled || (e.enabled = !0, A(t.currentMode), t.on("modeChange", A), F(n)), !0), disable: () => (e.enabled && (e.enabled = !1, T(), t.off("modeChange", A)), !0) };
|
|
74
77
|
};
|
|
75
78
|
export {
|
|
76
|
-
|
|
79
|
+
K as ModelEntryDoorGuidePlugin
|
|
77
80
|
};
|
|
@@ -67,7 +67,7 @@ function Te(o) {
|
|
|
67
67
|
t = le("div");
|
|
68
68
|
for (let l = 0; l < e.length; l += 1)
|
|
69
69
|
e[l].c();
|
|
70
|
-
ae(t, "class", "item-labels-container svelte-gk8s47"), ce(() => o[9].call(t)), U(t, "opacity", o[4] ? 1 : 0
|
|
70
|
+
ae(t, "class", "item-labels-container svelte-gk8s47"), ce(() => o[9].call(t)), U(t, "opacity", o[4] ? 1 : 0);
|
|
71
71
|
},
|
|
72
72
|
m(l, s) {
|
|
73
73
|
V(l, t, s);
|
|
@@ -76,7 +76,7 @@ function Te(o) {
|
|
|
76
76
|
h = me(t, o[9].bind(t)), r = !0;
|
|
77
77
|
},
|
|
78
78
|
p(l, [s]) {
|
|
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
|
|
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);
|
|
80
80
|
},
|
|
81
81
|
i(l) {
|
|
82
82
|
if (!r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as y, init as k, safe_not_equal as L, append_styles as w, element as
|
|
1
|
+
import { SvelteComponent as y, init as k, safe_not_equal as L, append_styles as w, element as f, 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
|
|
@@ -6,16 +6,16 @@ function q(t) {
|
|
|
6
6
|
}}`);
|
|
7
7
|
}
|
|
8
8
|
function A(t) {
|
|
9
|
-
let e,
|
|
9
|
+
let e, o, l, n = (t[0].name.length > 6 ? `${t[0].name.slice(0, 6)}...` : t[0].name) + "", m, s, d, g, p, _;
|
|
10
10
|
return {
|
|
11
11
|
c() {
|
|
12
|
-
e =
|
|
12
|
+
e = f("div"), o = f("div"), l = f("span"), m = z(n), s = I(), d = f("div"), b(l, "class", "item-label-item__text svelte-1ir3cyd"), b(o, "class", "item-label-item__text-wrap svelte-1ir3cyd"), r(o, "top", `-${t[0].strokeLength + 26}px`), b(d, "class", "item-label-item__bar svelte-1ir3cyd"), r(d, "height", `${t[0].strokeLength}px`), b(e, "class", g = v(u("item-label-item", { visible: t[0].visible })) + " svelte-1ir3cyd"), r(e, "z-index", t[0].zIndex), r(e, "transform", t[0].transform);
|
|
13
13
|
},
|
|
14
|
-
m(i,
|
|
15
|
-
x(i, e,
|
|
14
|
+
m(i, a) {
|
|
15
|
+
x(i, e, a), c(e, o), c(o, l), c(l, m), c(e, s), c(e, d), p || (_ = C(l, "click", t[1]), p = !0);
|
|
16
16
|
},
|
|
17
|
-
p(i, [
|
|
18
|
-
|
|
17
|
+
p(i, [a]) {
|
|
18
|
+
a & 1 && n !== (n = (i[0].name.length > 6 ? `${i[0].name.slice(0, 6)}...` : i[0].name) + "") && F(m, n), a & 1 && r(o, "top", `-${i[0].strokeLength + 26}px`), a & 1 && r(d, "height", `${i[0].strokeLength}px`), a & 1 && g !== (g = v(u("item-label-item", { visible: i[0].visible })) + " svelte-1ir3cyd") && b(e, "class", g), a & 1 && r(e, "z-index", i[0].zIndex), a & 1 && r(e, "transform", i[0].transform);
|
|
19
19
|
},
|
|
20
20
|
i: h,
|
|
21
21
|
o: h,
|
|
@@ -24,14 +24,14 @@ function A(t) {
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
function E(t, e,
|
|
28
|
-
let { itemLabel: l } = e, { hooks:
|
|
27
|
+
function E(t, e, o) {
|
|
28
|
+
let { itemLabel: l } = e, { hooks: n } = e;
|
|
29
29
|
function m() {
|
|
30
|
-
console.log("__onclick___: ", l),
|
|
30
|
+
console.log("__onclick___: ", l), n.emit("onLabelClick", l);
|
|
31
31
|
}
|
|
32
32
|
return t.$$set = (s) => {
|
|
33
|
-
"itemLabel" in s &&
|
|
34
|
-
}, [l, m,
|
|
33
|
+
"itemLabel" in s && o(0, l = s.itemLabel), "hooks" in s && o(2, n = s.hooks);
|
|
34
|
+
}, [l, m, n];
|
|
35
35
|
}
|
|
36
36
|
class B extends y {
|
|
37
37
|
constructor(e) {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { SvelteComponent as g, init as h, safe_not_equal as _, append_styles as z, element as
|
|
1
|
+
import { SvelteComponent as g, init as h, safe_not_equal as _, append_styles as z, element as f, 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}");
|
|
5
5
|
}
|
|
6
6
|
function O(t) {
|
|
7
|
-
let e, n,
|
|
7
|
+
let e, n, i = t[0].name + "", a, m, l, u, c;
|
|
8
8
|
return {
|
|
9
9
|
c() {
|
|
10
|
-
e =
|
|
10
|
+
e = f("div"), n = f("span"), a = w(i), m = k(), l = f("div"), b(n, "class", "room-label-item__text svelte-1d7uzh5"), r(n, "background-image", "url(" + B + ")"), p(n, "wide", t[0].name.length > 3), b(l, "class", "room-label-item__bar svelte-1d7uzh5"), b(e, "class", "room-label-item svelte-1d7uzh5"), r(e, "z-index", t[0].zIndex), r(e, "transform", t[0].transform), r(e, "opacity", t[0].visible ? 1 : 0);
|
|
11
11
|
},
|
|
12
12
|
m(o, s) {
|
|
13
|
-
L(o, e, s), d(e, n), d(n,
|
|
13
|
+
L(o, e, s), d(e, n), d(n, a), d(e, m), d(e, l), u || (c = I(n, "click", t[1]), u = !0);
|
|
14
14
|
},
|
|
15
15
|
p(o, [s]) {
|
|
16
|
-
s & 1 &&
|
|
16
|
+
s & 1 && i !== (i = o[0].name + "") && x(a, i), s & 1 && p(n, "wide", o[0].name.length > 3), s & 1 && r(e, "z-index", o[0].zIndex), s & 1 && r(e, "transform", o[0].transform), s & 1 && r(e, "opacity", o[0].visible ? 1 : 0);
|
|
17
17
|
},
|
|
18
18
|
i: v,
|
|
19
19
|
o: v,
|
|
20
20
|
d(o) {
|
|
21
|
-
o && y(e),
|
|
21
|
+
o && y(e), u = !1, c();
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
function R(t, e, n) {
|
|
26
|
-
let { five:
|
|
26
|
+
let { five: i } = e, { roomLabel: a } = e;
|
|
27
27
|
function m() {
|
|
28
|
-
|
|
29
|
-
panoIndex:
|
|
28
|
+
i.setState({
|
|
29
|
+
panoIndex: a.panoIndex,
|
|
30
30
|
mode: "Panorama",
|
|
31
|
-
longitude:
|
|
31
|
+
longitude: a.longitude
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
return t.$$set = (
|
|
35
|
-
"five" in
|
|
36
|
-
}, [
|
|
34
|
+
return t.$$set = (l) => {
|
|
35
|
+
"five" in l && n(2, i = l.five), "roomLabel" in l && n(0, a = l.roomLabel);
|
|
36
|
+
}, [a, m, i];
|
|
37
37
|
}
|
|
38
38
|
class q extends g {
|
|
39
39
|
constructor(e) {
|
|
@@ -1,122 +1,112 @@
|
|
|
1
|
-
import { SvelteComponent as R, init as W, safe_not_equal as H, append_styles as M, element as c, space as z, text as N, attr as d, add_render_callback as j, set_style as
|
|
1
|
+
import { SvelteComponent as R, init as W, safe_not_equal as H, append_styles as M, element as c, space as z, text as N, attr as d, add_render_callback as j, set_style as a, insert as P, append as g, add_resize_listener as B, set_data as S, noop as G, detach as w, destroy_each as V, null_to_empty as Z } from "../vendor/svelte/internal/index.js";
|
|
2
2
|
function J(i) {
|
|
3
3
|
M(i, "svelte-1h27ktp", ".PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1.5s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp em.svelte-1h27ktp{display:block;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-1h27ktp.svelte-1h27ktp{display:flex;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;align-items:center}.em-solid.svelte-1h27ktp.svelte-1h27ktp{height:100%;background:#ffffff}.em-dotted.svelte-1h27ktp.svelte-1h27ktp{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-1h27ktp.svelte-1h27ktp{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-1h27ktp.svelte-1h27ktp{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;animation:svelte-1h27ktp-viewport-rule-label 0.25s ease 1s;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@keyframes svelte-1h27ktp-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-1h27ktp-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-1h27ktp-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
|
|
4
4
|
}
|
|
5
|
-
function y(i, e,
|
|
6
|
-
const
|
|
7
|
-
return
|
|
5
|
+
function y(i, e, n) {
|
|
6
|
+
const l = i.slice();
|
|
7
|
+
return l[6] = e[n], l;
|
|
8
8
|
}
|
|
9
9
|
function D(i) {
|
|
10
|
-
let e,
|
|
11
|
-
for (let
|
|
12
|
-
t
|
|
10
|
+
let e, n = i[0].children, l = [];
|
|
11
|
+
for (let t = 0; t < n.length; t += 1)
|
|
12
|
+
l[t] = X(y(i, n, t));
|
|
13
13
|
return {
|
|
14
14
|
c() {
|
|
15
15
|
e = c("div");
|
|
16
|
-
for (let
|
|
17
|
-
t
|
|
16
|
+
for (let t = 0; t < l.length; t += 1)
|
|
17
|
+
l[t].c();
|
|
18
18
|
d(e, "class", "rule-mixed-line svelte-1h27ktp");
|
|
19
19
|
},
|
|
20
|
-
m(
|
|
21
|
-
P(
|
|
22
|
-
for (let
|
|
23
|
-
|
|
20
|
+
m(t, o) {
|
|
21
|
+
P(t, e, o);
|
|
22
|
+
for (let s = 0; s < l.length; s += 1)
|
|
23
|
+
l[s].m(e, null);
|
|
24
24
|
},
|
|
25
|
-
p(
|
|
26
|
-
if (
|
|
27
|
-
|
|
28
|
-
let
|
|
29
|
-
for (
|
|
30
|
-
const p = y(
|
|
31
|
-
|
|
25
|
+
p(t, o) {
|
|
26
|
+
if (o & 9) {
|
|
27
|
+
n = t[0].children;
|
|
28
|
+
let s;
|
|
29
|
+
for (s = 0; s < n.length; s += 1) {
|
|
30
|
+
const p = y(t, n, s);
|
|
31
|
+
l[s] ? l[s].p(p, o) : (l[s] = X(p), l[s].c(), l[s].m(e, null));
|
|
32
32
|
}
|
|
33
|
-
for (;
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
for (; s < l.length; s += 1)
|
|
34
|
+
l[s].d(1);
|
|
35
|
+
l.length = n.length;
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
d(
|
|
39
|
-
|
|
38
|
+
d(t) {
|
|
39
|
+
t && w(e), V(l, t);
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
function A(i) {
|
|
44
|
-
let e,
|
|
44
|
+
let e, n;
|
|
45
45
|
return {
|
|
46
46
|
c() {
|
|
47
|
-
e = c("em"), d(e, "class",
|
|
47
|
+
e = c("em"), d(e, "class", n = Z(i[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]);
|
|
48
48
|
},
|
|
49
|
-
m(
|
|
50
|
-
P(
|
|
49
|
+
m(l, t) {
|
|
50
|
+
P(l, e, t);
|
|
51
51
|
},
|
|
52
|
-
p(
|
|
53
|
-
|
|
52
|
+
p(l, t) {
|
|
53
|
+
t & 1 && n !== (n = Z(l[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", n), t & 8 && d(e, "style", l[3]);
|
|
54
54
|
},
|
|
55
|
-
d(
|
|
56
|
-
|
|
55
|
+
d(l) {
|
|
56
|
+
l && w(e);
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
function X(i) {
|
|
61
|
-
let e,
|
|
61
|
+
let e, n, l = `${i[6].width}px`;
|
|
62
62
|
return {
|
|
63
63
|
c() {
|
|
64
|
-
e = c("div"), d(e, "class",
|
|
64
|
+
e = c("div"), d(e, "class", n = Z(i[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]), a(e, "width", l);
|
|
65
65
|
},
|
|
66
|
-
m(
|
|
67
|
-
P(
|
|
66
|
+
m(t, o) {
|
|
67
|
+
P(t, e, o);
|
|
68
68
|
},
|
|
69
|
-
p(
|
|
70
|
-
|
|
69
|
+
p(t, o) {
|
|
70
|
+
o & 1 && n !== (n = Z(t[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", n), o & 8 && d(e, "style", t[3]), o & 1 && l !== (l = `${t[6].width}px`) && a(e, "width", l);
|
|
71
71
|
},
|
|
72
|
-
d(
|
|
73
|
-
|
|
72
|
+
d(t) {
|
|
73
|
+
t && w(e);
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
function C(i) {
|
|
78
|
-
let e,
|
|
79
|
-
function _(
|
|
80
|
-
return
|
|
78
|
+
let e, n, l, t, o = i[0].labelElement + "", s, p, f = `${i[0].labelOffset}%`, u = `${i[0].width}px`, v = `${i[0].left}px`, b = `${i[0].top}px`, I = `rotate(${i[0].rotateDeg}deg)`;
|
|
79
|
+
function _(r, m) {
|
|
80
|
+
return r[0].children.length === 0 ? A : D;
|
|
81
81
|
}
|
|
82
82
|
let k = _(i), h = k(i);
|
|
83
83
|
return {
|
|
84
84
|
c() {
|
|
85
|
-
e = c("div"), h.c(),
|
|
86
|
-
e,
|
|
87
|
-
"display",
|
|
88
|
-
i[0].visible && i[2] ? "block" : "none",
|
|
89
|
-
!1
|
|
90
|
-
);
|
|
85
|
+
e = c("div"), h.c(), n = z(), l = c("div"), t = c("div"), s = N(o), d(t, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), j(() => i[4].call(t)), d(l, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), a(l, "left", f), d(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), a(e, "width", u), a(e, "left", v), a(e, "top", b), a(e, "transform", I), a(e, "display", i[0].visible && i[2] ? "block" : "none");
|
|
91
86
|
},
|
|
92
|
-
m(
|
|
93
|
-
P(
|
|
87
|
+
m(r, m) {
|
|
88
|
+
P(r, e, m), h.m(e, null), g(e, n), g(e, l), g(l, t), g(t, s), p = B(t, i[4].bind(t));
|
|
94
89
|
},
|
|
95
|
-
p(
|
|
96
|
-
k === (k = _(
|
|
97
|
-
e,
|
|
98
|
-
"display",
|
|
99
|
-
o[0].visible && o[2] ? "block" : "none",
|
|
100
|
-
!1
|
|
101
|
-
);
|
|
90
|
+
p(r, [m]) {
|
|
91
|
+
k === (k = _(r)) && h ? h.p(r, m) : (h.d(1), h = k(r), h && (h.c(), h.m(e, n))), m & 1 && o !== (o = r[0].labelElement + "") && S(s, o), m & 1 && f !== (f = `${r[0].labelOffset}%`) && a(l, "left", f), m & 1 && u !== (u = `${r[0].width}px`) && a(e, "width", u), m & 1 && v !== (v = `${r[0].left}px`) && a(e, "left", v), m & 1 && b !== (b = `${r[0].top}px`) && a(e, "top", b), m & 1 && I !== (I = `rotate(${r[0].rotateDeg}deg)`) && a(e, "transform", I), m & 5 && a(e, "display", r[0].visible && r[2] ? "block" : "none");
|
|
102
92
|
},
|
|
103
93
|
i: G,
|
|
104
94
|
o: G,
|
|
105
|
-
d(
|
|
106
|
-
|
|
95
|
+
d(r) {
|
|
96
|
+
r && w(e), h.d(), p();
|
|
107
97
|
}
|
|
108
98
|
};
|
|
109
99
|
}
|
|
110
|
-
function Y(i, e,
|
|
111
|
-
let
|
|
112
|
-
function
|
|
113
|
-
|
|
100
|
+
function Y(i, e, n) {
|
|
101
|
+
let l, { rulerItemProp: t } = e, o = !0, s, p = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
|
|
102
|
+
function f() {
|
|
103
|
+
s = this.offsetWidth, n(1, s);
|
|
114
104
|
}
|
|
115
|
-
return i.$$set = (
|
|
116
|
-
"rulerItemProp" in
|
|
105
|
+
return i.$$set = (u) => {
|
|
106
|
+
"rulerItemProp" in u && n(0, t = u.rulerItemProp);
|
|
117
107
|
}, i.$$.update = () => {
|
|
118
|
-
i.$$.dirty & 3 && (
|
|
119
|
-
},
|
|
108
|
+
i.$$.dirty & 3 && (s >= t.width || s / 2 >= t.labelOffset / 100 * t.width || s / 2 >= (1 - t.labelOffset / 100) * t.width ? n(2, o = !1) : n(2, o = !0));
|
|
109
|
+
}, n(3, l = `--background-image: url(${p})`), [t, s, o, l, f];
|
|
120
110
|
}
|
|
121
111
|
class U extends R {
|
|
122
112
|
constructor(e) {
|