@realsee/dnalogel 2.0.0-alpha.46 → 2.0.0-alpha.49

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.
Files changed (174) hide show
  1. package/dist/CSS3DRenderPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  2. package/dist/CSS3DRenderPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  3. package/dist/CameraMovementPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  4. package/dist/CameraMovementPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  5. package/dist/ItemLabelPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  6. package/dist/ItemLabelPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  7. package/dist/ItemLabelPlugin/index.js +2 -2
  8. package/dist/ModelChassisCompassPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  9. package/dist/ModelChassisCompassPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  10. package/dist/ModelEntryDoorGuidePlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  11. package/dist/ModelEntryDoorGuidePlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  12. package/dist/ModelItemLabelPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  13. package/dist/ModelItemLabelPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  14. package/dist/ModelItemLabelPlugin/index.js +2 -2
  15. package/dist/ModelRoomLabelPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  16. package/dist/ModelRoomLabelPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  17. package/dist/ModelRoomLabelPlugin/index.js +2 -2
  18. package/dist/ModelTVVideoPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  19. package/dist/ModelTVVideoPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  20. package/dist/ModelTVVideoPlugin/index.js +2 -2
  21. package/dist/ModelViewPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  22. package/dist/ModelViewPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  23. package/dist/PanoCompassPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  24. package/dist/PanoCompassPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  25. package/dist/PanoCursorRaycasterPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  26. package/dist/PanoCursorRaycasterPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  27. package/dist/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  28. package/dist/PanoDoorLabelPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  29. package/dist/PanoDoorLabelPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  30. package/dist/PanoDoorLabelPlugin/index.js +17 -12
  31. package/dist/PanoDoorLabelPlugin/typings.d.ts +5 -0
  32. package/dist/PanoMeasurePlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  33. package/dist/PanoMeasurePlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  34. package/dist/PanoRulerPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  35. package/dist/PanoRulerPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  36. package/dist/PanoRulerProPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  37. package/dist/PanoRulerProPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  38. package/dist/PanoRulerProPlugin/index.js +2 -2
  39. package/dist/PanoSpatialTagPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  40. package/dist/PanoSpatialTagPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  41. package/dist/PanoSpatialTagPlugin/index.js +2 -2
  42. package/dist/floorplan/ModelFloorplanPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  43. package/dist/floorplan/ModelFloorplanPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  44. package/dist/floorplan/ModelFloorplanPlugin/index.js +17 -17
  45. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  46. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  47. package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +9 -9
  48. package/dist/floorplan/TopviewFloorplanPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  49. package/dist/floorplan/TopviewFloorplanPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
  50. package/dist/floorplan/TopviewFloorplanPlugin/index.js +17 -17
  51. package/dist/index.d.ts +1 -1
  52. package/dist/index.es.js +51 -46
  53. package/dist/index.js +51 -46
  54. package/dist/index.umd.js +51 -46
  55. package/docs/classes/Magnifier.html +4 -4
  56. package/docs/classes/ModelRoomLabelController.html +4 -4
  57. package/docs/enums/CameraMovementEffect.html +2 -2
  58. package/docs/enums/DIRECTION.html +1 -1
  59. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  60. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  61. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  62. package/docs/enums/Rotation.html +2 -2
  63. package/docs/index.html +1 -1
  64. package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
  65. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  66. package/docs/interfaces/FloorplanBounding.html +4 -4
  67. package/docs/interfaces/FloorplanData.html +2 -2
  68. package/docs/interfaces/FloorplanEntrance.html +7 -7
  69. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  70. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  71. package/docs/interfaces/FloorplanFloorData.html +2 -2
  72. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  73. package/docs/interfaces/FloorplanObserver.html +2 -2
  74. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  75. package/docs/interfaces/FloorplanPosition.html +2 -2
  76. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  77. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  78. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  79. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  80. package/docs/interfaces/FloorplanServerData.html +2 -2
  81. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  82. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  83. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  84. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  85. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  86. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  87. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  88. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  89. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  90. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  91. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  92. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  93. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  94. package/docs/interfaces/LineJson.html +1 -1
  95. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  96. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  97. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  98. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  99. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  100. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  101. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  102. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  103. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  104. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  105. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  106. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  107. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  108. package/docs/interfaces/OpenParameter.html +2 -2
  109. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  110. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  111. package/docs/interfaces/PanoMeasureParameterType.html +1 -1
  112. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  113. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  114. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  115. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  116. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  117. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  118. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  119. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  120. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  121. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  122. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  123. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  124. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  125. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  126. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  127. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  128. package/docs/interfaces/Point.html +1 -1
  129. package/docs/interfaces/PointJson.html +1 -1
  130. package/docs/interfaces/Room.html +1 -1
  131. package/docs/interfaces/RoomInfo.html +1 -1
  132. package/docs/interfaces/RoomLabel.html +7 -7
  133. package/docs/interfaces/RoomRules.html +1 -1
  134. package/docs/interfaces/Rooms.html +1 -1
  135. package/docs/modules.html +18 -18
  136. package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -1
  137. package/libs/ItemLabelPlugin/ItemLabelItem.js +1 -1
  138. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -1
  139. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +1 -1
  140. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -1
  141. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -1
  142. package/libs/ModelTVVideoPlugin/Plugin.js +2 -2
  143. package/libs/PanoDoorLabelPlugin/Controller.d.ts +2 -1
  144. package/libs/PanoDoorLabelPlugin/Controller.js +9 -4
  145. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +8 -8
  146. package/libs/PanoDoorLabelPlugin/typings.d.ts +5 -0
  147. package/libs/PanoRulerProPlugin/RulerItem.js +1 -1
  148. package/libs/PanoRulerProPlugin/RulerItems.js +1 -1
  149. package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -1
  150. package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -1
  151. package/libs/floorplan/Components/BaseImage.js +1 -1
  152. package/libs/floorplan/Components/Camera.js +1 -1
  153. package/libs/floorplan/Components/Compass.js +1 -1
  154. package/libs/floorplan/Components/CurrentFloor.js +1 -1
  155. package/libs/floorplan/Components/Main.js +1 -1
  156. package/libs/floorplan/Components/Normalmage.js +1 -1
  157. package/libs/floorplan/Components/RoomHighlight/Room.js +1 -1
  158. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -1
  159. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -1
  160. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +1 -1
  161. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -1
  162. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -1
  163. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -1
  164. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -1
  165. package/libs/floorplan/Components/RuleLabels/RuleItem.js +1 -1
  166. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +1 -1
  167. package/libs/floorplan/Components/SvgImage.js +1 -1
  168. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  169. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -1
  170. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -1
  171. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -1
  172. package/libs/index.d.ts +1 -1
  173. package/libs/index.js +1 -1
  174. package/package.json +1 -1
@@ -31,3 +31,8 @@ export interface NeverOverlapLabel {
31
31
  index: number;
32
32
  transform?: string;
33
33
  }
34
+ export interface DoorLabelConfig {
35
+ MinVisibledistance: number;
36
+ MaxVisibledistance: number;
37
+ OffsetHeight: number;
38
+ }
@@ -241,7 +241,7 @@ function throttle(func, wait = 200) {
241
241
  };
242
242
  }
243
243
 
244
- /* src/PanoRulerProPlugin/RulerItem.svelte generated by Svelte v3.48.0 */
244
+ /* src/PanoRulerProPlugin/RulerItem.svelte generated by Svelte v3.49.0 */
245
245
 
246
246
  function add_css(target) {
247
247
  internal.append_styles(target, "svelte-qy4ud2", ".PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2 em.svelte-qy4ud2{display:block;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-qy4ud2.svelte-qy4ud2{display:flex;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;align-items:center}.em-solid.svelte-qy4ud2.svelte-qy4ud2{height:100%;background:#ffffff}.em-dotted.svelte-qy4ud2.svelte-qy4ud2{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-qy4ud2.svelte-qy4ud2{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-qy4ud2.svelte-qy4ud2{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;-webkit-animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@-webkit-keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
@@ -534,7 +534,7 @@ class RulerItem extends internal.SvelteComponent {
534
534
  }
535
535
  }
536
536
 
537
- /* src/PanoRulerProPlugin/RulerItems.svelte generated by Svelte v3.48.0 */
537
+ /* src/PanoRulerProPlugin/RulerItems.svelte generated by Svelte v3.49.0 */
538
538
 
539
539
  function get_each_context(ctx, list, i) {
540
540
  const child_ctx = ctx.slice();
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
2
2
  import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
3
3
  import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
4
4
  import { BasePanoPluginController } from './BaseController';
5
+ import type { DoorLabelConfig } from './typings';
5
6
  /**
6
7
  * 分间标签插件
7
8
  * @author kyleju
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
22
23
  private doorLabels;
23
24
  private roomObservers;
24
25
  constructor(five: Five);
25
- loadData: (floorplanServerData: FloorplanServerData) => void;
26
+ loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
26
27
  stateChangedCallback(prevState: State, options?: BaseOptions): void;
27
28
  render(): void;
28
29
  initState(): State;
@@ -31,3 +31,8 @@ export interface NeverOverlapLabel {
31
31
  index: number;
32
32
  transform?: string;
33
33
  }
34
+ export interface DoorLabelConfig {
35
+ MinVisibledistance: number;
36
+ MaxVisibledistance: number;
37
+ OffsetHeight: number;
38
+ }
@@ -236,7 +236,7 @@ const CSS3DRenderPlugin = (five) => {
236
236
 
237
237
  const currentTarget = store.writable(null);
238
238
 
239
- /* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.48.0 */
239
+ /* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.49.0 */
240
240
 
241
241
  function add_css$1(target) {
242
242
  internal.append_styles(target, "svelte-1kuu68s", ".PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-1kuu68s{transform:translate(-50%, -50%) scale(0.6);-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
@@ -385,7 +385,7 @@ class Origins extends internal.SvelteComponent {
385
385
  }
386
386
  }
387
387
 
388
- /* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.48.0 */
388
+ /* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.49.0 */
389
389
 
390
390
  function add_css(target) {
391
391
  internal.append_styles(target, "svelte-eb8bdm", ".PanoSpatialTagPlugin__tag-x.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#FFF;transform:translate(0, -100%);transition:height .5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm.svelte-eb8bdm{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity .8s .6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-eb8bdm.svelte-eb8bdm{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .1));box-shadow:0 .1rem .5rem rgba(0, 0, 0, .2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .4s cubic-bezier(.44,.44,.74,.98) , opacity .4s cubic-bezier(.44,.44,.74,.98), width .5s linear, height .5s linear ;transform-origin:center bottom}.PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.3rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.5rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s}.PanoSpatialTagPlugin__tag-x.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line.svelte-eb8bdm{transform:scaleY(-1)}.PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm.svelte-eb8bdm{position:relative;height:100%;overflow:hidden;transform-origin:left top;transition:transform .5s linear}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm{transform-origin:left bottom}.PanoSpatialTagPlugin__tag-content.svelte-eb8bdm.svelte-eb8bdm{position:absolute;display:inline-block;transform:translate(-100%, 0);transition:transform .9s cubic-bezier(0,.65,.16,1.08) .6s;padding-left:.5rem;font-size:1rem}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{bottom:0}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:1;transform:translate(-50%, 0) scaleY(1)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{top:unset;bottom:-15rem}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:.32}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .5s .55s, opacity .4s .55s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:0;transition:opacity .8s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(-100%, 0);transition:transform .6s cubic-bezier(.53,.06,.88,.59)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content .svelte-eb8bdm{pointer-events:none}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 10%) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 0) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}");
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
2
2
  import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
3
3
  import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
4
4
  import { BasePanoPluginController } from './BaseController';
5
+ import type { DoorLabelConfig } from './typings';
5
6
  /**
6
7
  * 分间标签插件
7
8
  * @author kyleju
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
22
23
  private doorLabels;
23
24
  private roomObservers;
24
25
  constructor(five: Five);
25
- loadData: (floorplanServerData: FloorplanServerData) => void;
26
+ loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
26
27
  stateChangedCallback(prevState: State, options?: BaseOptions): void;
27
28
  render(): void;
28
29
  initState(): State;
@@ -31,3 +31,8 @@ export interface NeverOverlapLabel {
31
31
  index: number;
32
32
  transform?: string;
33
33
  }
34
+ export interface DoorLabelConfig {
35
+ MinVisibledistance: number;
36
+ MaxVisibledistance: number;
37
+ OffsetHeight: number;
38
+ }
@@ -159,7 +159,7 @@ function rad2Deg$1(rad) {
159
159
  return (rad * 180) / Math.PI;
160
160
  }
161
161
 
162
- /* src/floorplan/Components/Camera.svelte generated by Svelte v3.48.0 */
162
+ /* src/floorplan/Components/Camera.svelte generated by Svelte v3.49.0 */
163
163
 
164
164
  function add_css$d(target) {
165
165
  internal.append_styles(target, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
@@ -264,7 +264,7 @@ class Camera extends internal.SvelteComponent {
264
264
 
265
265
  const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAMAAABdA4ieAAAC91BMVEUAAACOpP/H0P+yxP/a4/+asv/W3/+/z/+cs//S3f+mu//Q2//5+v/H1P/d5f/l6//y9f++zf/i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cVWGFu9BRWkW7+Z3rapEizdy7ZVm8V5Gtr8AtSnix59eOmYAAAAASUVORK5CYII=';
266
266
 
267
- /* src/floorplan/Components/Compass.svelte generated by Svelte v3.48.0 */
267
+ /* src/floorplan/Components/Compass.svelte generated by Svelte v3.49.0 */
268
268
 
269
269
  function add_css$c(target) {
270
270
  internal.append_styles(target, "svelte-z9kwkx", ".floorplan-plugin__compass.svelte-z9kwkx{position:absolute;left:50%;top:-2.39583rem;width:12.03125rem;height:2.13542rem;will-change:opacity;transform-origin:center 9.58333rem}.floorplan-plugin__compass-image.svelte-z9kwkx{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-z9kwkx{position:absolute;left:50%;top:0.78125rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.52083rem;color:#fff}");
@@ -364,7 +364,7 @@ class Compass extends internal.SvelteComponent {
364
364
  }
365
365
  }
366
366
 
367
- /* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.48.0 */
367
+ /* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.49.0 */
368
368
 
369
369
  function add_css$b(target) {
370
370
  internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
@@ -414,7 +414,7 @@ class Normalmage extends internal.SvelteComponent {
414
414
  }
415
415
  }
416
416
 
417
- /* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.48.0 */
417
+ /* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.49.0 */
418
418
 
419
419
  function add_css$a(target) {
420
420
  internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
@@ -481,7 +481,7 @@ class SvgImage extends internal.SvelteComponent {
481
481
  }
482
482
  }
483
483
 
484
- /* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.48.0 */
484
+ /* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.49.0 */
485
485
 
486
486
  function add_css$9(target) {
487
487
  internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
@@ -682,7 +682,7 @@ class BaseImage extends internal.SvelteComponent {
682
682
  }
683
683
  }
684
684
 
685
- /* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.48.0 */
685
+ /* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.49.0 */
686
686
 
687
687
  function add_css$8(target) {
688
688
  internal.append_styles(target, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
@@ -982,7 +982,7 @@ class RoomLabel extends internal.SvelteComponent {
982
982
  }
983
983
  }
984
984
 
985
- /* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.48.0 */
985
+ /* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.49.0 */
986
986
 
987
987
  function add_css$7(target) {
988
988
  internal.append_styles(target, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
@@ -1264,7 +1264,7 @@ class RoomLabels extends internal.SvelteComponent {
1264
1264
  }
1265
1265
  }
1266
1266
 
1267
- /* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.48.0 */
1267
+ /* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.49.0 */
1268
1268
 
1269
1269
  function add_css$6(target) {
1270
1270
  internal.append_styles(target, "svelte-xt7p1v", ".floorplan-plugin__rule-labels.svelte-xt7p1v.svelte-xt7p1v{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-xt7p1v.svelte-xt7p1v{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v.svelte-xt7p1v{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v.svelte-xt7p1v{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v.svelte-xt7p1v{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-xt7p1v.svelte-xt7p1v{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-xt7p1v.svelte-xt7p1v{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale.svelte-xt7p1v{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute}.floorplan-plugin__rule-labels--top.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-xt7p1v.svelte-xt7p1v{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-text-item.svelte-xt7p1v{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-xt7p1v.svelte-xt7p1v{width:-webkit-max-content;width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
@@ -1528,7 +1528,7 @@ class RuleItem extends internal.SvelteComponent {
1528
1528
  }
1529
1529
  }
1530
1530
 
1531
- /* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.48.0 */
1531
+ /* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.49.0 */
1532
1532
 
1533
1533
  function add_css$5(target) {
1534
1534
  internal.append_styles(target, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
@@ -1797,7 +1797,7 @@ function formatFloorplanPoint({ x, y }, bounding) {
1797
1797
  return { x: x - min.x, y: max.y - y };
1798
1798
  }
1799
1799
 
1800
- /* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.48.0 */
1800
+ /* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.49.0 */
1801
1801
 
1802
1802
  function create_fragment$7(ctx) {
1803
1803
  let path_1;
@@ -1848,7 +1848,7 @@ class RoomMaterial_0 extends internal.SvelteComponent {
1848
1848
  }
1849
1849
  }
1850
1850
 
1851
- /* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.48.0 */
1851
+ /* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.49.0 */
1852
1852
 
1853
1853
  function create_fragment$6(ctx) {
1854
1854
  let defs;
@@ -1937,7 +1937,7 @@ class RoomMaterial_1 extends internal.SvelteComponent {
1937
1937
  }
1938
1938
  }
1939
1939
 
1940
- /* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.48.0 */
1940
+ /* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.49.0 */
1941
1941
 
1942
1942
  function create_fragment$5(ctx) {
1943
1943
  let defs;
@@ -2064,7 +2064,7 @@ class RoomMaterial_2 extends internal.SvelteComponent {
2064
2064
  }
2065
2065
  }
2066
2066
 
2067
- /* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.48.0 */
2067
+ /* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.49.0 */
2068
2068
 
2069
2069
  function add_css$4(target) {
2070
2070
  internal.append_styles(target, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
@@ -2369,7 +2369,7 @@ class RoomMaterial extends internal.SvelteComponent {
2369
2369
  }
2370
2370
  }
2371
2371
 
2372
- /* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.48.0 */
2372
+ /* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.49.0 */
2373
2373
 
2374
2374
  function add_css$3(target) {
2375
2375
  internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
@@ -2459,7 +2459,7 @@ class Room extends internal.SvelteComponent {
2459
2459
  }
2460
2460
  }
2461
2461
 
2462
- /* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.48.0 */
2462
+ /* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.49.0 */
2463
2463
 
2464
2464
  function add_css$2(target) {
2465
2465
  internal.append_styles(target, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
@@ -2647,7 +2647,7 @@ class RoomHighlight extends internal.SvelteComponent {
2647
2647
  }
2648
2648
  }
2649
2649
 
2650
- /* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.48.0 */
2650
+ /* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.49.0 */
2651
2651
 
2652
2652
  function add_css$1(target) {
2653
2653
  internal.append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
@@ -3086,7 +3086,7 @@ class CurrentFloor extends internal.SvelteComponent {
3086
3086
  }
3087
3087
  }
3088
3088
 
3089
- /* src/floorplan/Components/Main.svelte generated by Svelte v3.48.0 */
3089
+ /* src/floorplan/Components/Main.svelte generated by Svelte v3.49.0 */
3090
3090
 
3091
3091
  function add_css(target) {
3092
3092
  internal.append_styles(target, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
2
2
  import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
3
3
  import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
4
4
  import { BasePanoPluginController } from './BaseController';
5
+ import type { DoorLabelConfig } from './typings';
5
6
  /**
6
7
  * 分间标签插件
7
8
  * @author kyleju
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
22
23
  private doorLabels;
23
24
  private roomObservers;
24
25
  constructor(five: Five);
25
- loadData: (floorplanServerData: FloorplanServerData) => void;
26
+ loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
26
27
  stateChangedCallback(prevState: State, options?: BaseOptions): void;
27
28
  render(): void;
28
29
  initState(): State;
@@ -31,3 +31,8 @@ export interface NeverOverlapLabel {
31
31
  index: number;
32
32
  transform?: string;
33
33
  }
34
+ export interface DoorLabelConfig {
35
+ MinVisibledistance: number;
36
+ MaxVisibledistance: number;
37
+ OffsetHeight: number;
38
+ }
@@ -27,7 +27,7 @@ function throttle(func, wait = 200) {
27
27
  };
28
28
  }
29
29
 
30
- /* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.48.0 */
30
+ /* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.49.0 */
31
31
 
32
32
  function add_css$7(target) {
33
33
  internal.append_styles(target, "svelte-1ty3s4p", ".plugin-radar__camera-wrapper.svelte-1ty3s4p{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1ty3s4p{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1ty3s4p{position:absolute;left:-0.78125rem;top:-0.78125rem;width:0.88542rem;height:0.88542rem;transform-origin:0.78125rem 0.78125rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
@@ -177,7 +177,7 @@ class Camera extends internal.SvelteComponent {
177
177
  }
178
178
  }
179
179
 
180
- /* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.48.0 */
180
+ /* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.49.0 */
181
181
 
182
182
  function add_css$6(target) {
183
183
  internal.append_styles(target, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
@@ -314,7 +314,7 @@ class ExtraObjects extends internal.SvelteComponent {
314
314
  }
315
315
  }
316
316
 
317
- /* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.48.0 */
317
+ /* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.49.0 */
318
318
 
319
319
  function add_css$5(target) {
320
320
  internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
@@ -364,7 +364,7 @@ class Normalmage extends internal.SvelteComponent {
364
364
  }
365
365
  }
366
366
 
367
- /* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.48.0 */
367
+ /* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.49.0 */
368
368
 
369
369
  function add_css$4(target) {
370
370
  internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
@@ -431,7 +431,7 @@ class SvgImage extends internal.SvelteComponent {
431
431
  }
432
432
  }
433
433
 
434
- /* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.48.0 */
434
+ /* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.49.0 */
435
435
 
436
436
  function add_css$3(target) {
437
437
  internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
@@ -683,7 +683,7 @@ function getFloorIndexFromModelPosition(position, five) {
683
683
  return floorIndex;
684
684
  }
685
685
 
686
- /* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.48.0 */
686
+ /* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.49.0 */
687
687
 
688
688
  function add_css$2(target) {
689
689
  internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
@@ -773,7 +773,7 @@ class Room extends internal.SvelteComponent {
773
773
  }
774
774
  }
775
775
 
776
- /* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.48.0 */
776
+ /* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.49.0 */
777
777
 
778
778
  function add_css$1(target) {
779
779
  internal.append_styles(target, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
@@ -961,7 +961,7 @@ class RoomHighlight extends internal.SvelteComponent {
961
961
  }
962
962
  }
963
963
 
964
- /* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.48.0 */
964
+ /* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.49.0 */
965
965
 
966
966
  function create_if_block$1(ctx) {
967
967
  let highlight;
@@ -1188,7 +1188,7 @@ class CurrentFloor extends internal.SvelteComponent {
1188
1188
  }
1189
1189
  }
1190
1190
 
1191
- /* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.48.0 */
1191
+ /* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.49.0 */
1192
1192
 
1193
1193
  function add_css(target) {
1194
1194
  internal.append_styles(target, "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}");
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
2
2
  import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
3
3
  import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
4
4
  import { BasePanoPluginController } from './BaseController';
5
+ import type { DoorLabelConfig } from './typings';
5
6
  /**
6
7
  * 分间标签插件
7
8
  * @author kyleju
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
22
23
  private doorLabels;
23
24
  private roomObservers;
24
25
  constructor(five: Five);
25
- loadData: (floorplanServerData: FloorplanServerData) => void;
26
+ loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
26
27
  stateChangedCallback(prevState: State, options?: BaseOptions): void;
27
28
  render(): void;
28
29
  initState(): State;
@@ -31,3 +31,8 @@ export interface NeverOverlapLabel {
31
31
  index: number;
32
32
  transform?: string;
33
33
  }
34
+ export interface DoorLabelConfig {
35
+ MinVisibledistance: number;
36
+ MaxVisibledistance: number;
37
+ OffsetHeight: number;
38
+ }
@@ -141,7 +141,7 @@ function rad2Deg$1(rad) {
141
141
  return (rad * 180) / Math.PI;
142
142
  }
143
143
 
144
- /* src/floorplan/Components/Camera.svelte generated by Svelte v3.48.0 */
144
+ /* src/floorplan/Components/Camera.svelte generated by Svelte v3.49.0 */
145
145
 
146
146
  function add_css$d(target) {
147
147
  internal.append_styles(target, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
@@ -246,7 +246,7 @@ class Camera extends internal.SvelteComponent {
246
246
 
247
247
  const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAMAAABdA4ieAAAC91BMVEUAAACOpP/H0P+yxP/a4/+asv/W3/+/z/+cs//S3f+mu//Q2//5+v/H1P/d5f/l6//y9f++zf/i6f+ww/+ovP/7/P/u8v/N2f+Mp//q7/+4yf+uwf+Wr/+7y/+1xv+Ho//x9P+9zP+2x/+swP+gt/+Oqf/Y4v/r8P/l7P/b4//F0/+juf+Zsv+XsP+Trf/p7v97mv9wj/+kuv+ftf/x9P92lf/3+f/I1f+5yv+Eof98m//8/f/4+f90lf+9zf/j6f/T3f/L1/+Bnv/6+/+SrP/m7P/f5v/O2v/L2P/E0v/Az//+///s8P/e5v+rv/+pvv+Anv+qvv+Pqv+Kpv+CoP93l/9xlP/z9v/p7v90lf9uj//P2//v8//o7f/k6v/K1v+6yv9rjv98nv/E0v/9/v/09//h6P/X4f9pjP/9/f/N2f/K1v/C0f+Ho/99nP/1+P9sj//6+//u8/+iuP/u8//g6P/U3v+3x/+0xv+etf+Vrv9pjf/B0P9ukf+ht/+Vr/94mP/G0/+8zP+2x//+/v/09v/W4f9ojv/c5P+xxP/d5v+xw/+vwv+Jo//g6P+nvP+SrP/R3P/1+f/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4nErGg/hl6RN4Jc5Lt++2rVjHMdCIIqiqtoRQW2mMogIyZFjlsB2B9wjjaY1PXa3wcbSPaEDR1fP9fVt8aPai2+f2+TlWu2l0yweZHlEO5S9cyu1lDKj5T/fWCH4jLaUnXMbvFyrzby8xRrayqUM2+ZWqvuM1nmpgHWkl8F9z9yG7LNa5yEMa0n8yHb93Er1oXjnoMVyFn3KQVcP7VRpFn+sDiznaiuHNufsHnkIwy7aPA/r5jbFGW3m7S12ku55WPN7Li1PPIRhN6sjtBjTmm+KmYcwPEOKs9tHF1JDHCoHLZ5DQ8yPBic9DoHjAKvsb85qjbFxHOCprMZaf5qdhlorxwGeTsPIttvPlno0y3GAZfbHp6n3ynGAV0m99u/2J6H3znGAvW4n+J25tdY7xwFey1pvQe6/DlrjOMDLqfXW7N5pbs0YWhxgtpj0rl1uiaHFISzccSWohUCzOIemm0VKChwHOMutKCVwHOA4av/JVi0xtDiRpCRfRcvQ4lBfxSnG0OJc/+xTjKHFyVRMP38iDC0O92lZVRhanO+vcVWGFu9BRWkW7+Z3rapEizdy7ZVm8V5Gtr8AtSnix59eOmYAAAAASUVORK5CYII=';
248
248
 
249
- /* src/floorplan/Components/Compass.svelte generated by Svelte v3.48.0 */
249
+ /* src/floorplan/Components/Compass.svelte generated by Svelte v3.49.0 */
250
250
 
251
251
  function add_css$c(target) {
252
252
  internal.append_styles(target, "svelte-z9kwkx", ".floorplan-plugin__compass.svelte-z9kwkx{position:absolute;left:50%;top:-2.39583rem;width:12.03125rem;height:2.13542rem;will-change:opacity;transform-origin:center 9.58333rem}.floorplan-plugin__compass-image.svelte-z9kwkx{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-z9kwkx{position:absolute;left:50%;top:0.78125rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.52083rem;color:#fff}");
@@ -346,7 +346,7 @@ class Compass extends internal.SvelteComponent {
346
346
  }
347
347
  }
348
348
 
349
- /* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.48.0 */
349
+ /* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.49.0 */
350
350
 
351
351
  function add_css$b(target) {
352
352
  internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
@@ -396,7 +396,7 @@ class Normalmage extends internal.SvelteComponent {
396
396
  }
397
397
  }
398
398
 
399
- /* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.48.0 */
399
+ /* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.49.0 */
400
400
 
401
401
  function add_css$a(target) {
402
402
  internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
@@ -463,7 +463,7 @@ class SvgImage extends internal.SvelteComponent {
463
463
  }
464
464
  }
465
465
 
466
- /* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.48.0 */
466
+ /* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.49.0 */
467
467
 
468
468
  function add_css$9(target) {
469
469
  internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
@@ -664,7 +664,7 @@ class BaseImage extends internal.SvelteComponent {
664
664
  }
665
665
  }
666
666
 
667
- /* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.48.0 */
667
+ /* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.49.0 */
668
668
 
669
669
  function add_css$8(target) {
670
670
  internal.append_styles(target, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
@@ -964,7 +964,7 @@ class RoomLabel extends internal.SvelteComponent {
964
964
  }
965
965
  }
966
966
 
967
- /* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.48.0 */
967
+ /* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.49.0 */
968
968
 
969
969
  function add_css$7(target) {
970
970
  internal.append_styles(target, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
@@ -1246,7 +1246,7 @@ class RoomLabels extends internal.SvelteComponent {
1246
1246
  }
1247
1247
  }
1248
1248
 
1249
- /* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.48.0 */
1249
+ /* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.49.0 */
1250
1250
 
1251
1251
  function add_css$6(target) {
1252
1252
  internal.append_styles(target, "svelte-xt7p1v", ".floorplan-plugin__rule-labels.svelte-xt7p1v.svelte-xt7p1v{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-xt7p1v.svelte-xt7p1v{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v.svelte-xt7p1v{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v.svelte-xt7p1v{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v.svelte-xt7p1v{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-xt7p1v.svelte-xt7p1v{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-xt7p1v.svelte-xt7p1v{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale.svelte-xt7p1v{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute}.floorplan-plugin__rule-labels--top.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-xt7p1v.svelte-xt7p1v{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-text-item.svelte-xt7p1v{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-xt7p1v.svelte-xt7p1v{width:-webkit-max-content;width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
@@ -1510,7 +1510,7 @@ class RuleItem extends internal.SvelteComponent {
1510
1510
  }
1511
1511
  }
1512
1512
 
1513
- /* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.48.0 */
1513
+ /* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.49.0 */
1514
1514
 
1515
1515
  function add_css$5(target) {
1516
1516
  internal.append_styles(target, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
@@ -1779,7 +1779,7 @@ function formatFloorplanPoint({ x, y }, bounding) {
1779
1779
  return { x: x - min.x, y: max.y - y };
1780
1780
  }
1781
1781
 
1782
- /* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.48.0 */
1782
+ /* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.49.0 */
1783
1783
 
1784
1784
  function create_fragment$7(ctx) {
1785
1785
  let path_1;
@@ -1830,7 +1830,7 @@ class RoomMaterial_0 extends internal.SvelteComponent {
1830
1830
  }
1831
1831
  }
1832
1832
 
1833
- /* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.48.0 */
1833
+ /* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.49.0 */
1834
1834
 
1835
1835
  function create_fragment$6(ctx) {
1836
1836
  let defs;
@@ -1919,7 +1919,7 @@ class RoomMaterial_1 extends internal.SvelteComponent {
1919
1919
  }
1920
1920
  }
1921
1921
 
1922
- /* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.48.0 */
1922
+ /* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.49.0 */
1923
1923
 
1924
1924
  function create_fragment$5(ctx) {
1925
1925
  let defs;
@@ -2046,7 +2046,7 @@ class RoomMaterial_2 extends internal.SvelteComponent {
2046
2046
  }
2047
2047
  }
2048
2048
 
2049
- /* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.48.0 */
2049
+ /* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.49.0 */
2050
2050
 
2051
2051
  function add_css$4(target) {
2052
2052
  internal.append_styles(target, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
@@ -2351,7 +2351,7 @@ class RoomMaterial extends internal.SvelteComponent {
2351
2351
  }
2352
2352
  }
2353
2353
 
2354
- /* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.48.0 */
2354
+ /* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.49.0 */
2355
2355
 
2356
2356
  function add_css$3(target) {
2357
2357
  internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
@@ -2441,7 +2441,7 @@ class Room extends internal.SvelteComponent {
2441
2441
  }
2442
2442
  }
2443
2443
 
2444
- /* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.48.0 */
2444
+ /* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.49.0 */
2445
2445
 
2446
2446
  function add_css$2(target) {
2447
2447
  internal.append_styles(target, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
@@ -2629,7 +2629,7 @@ class RoomHighlight extends internal.SvelteComponent {
2629
2629
  }
2630
2630
  }
2631
2631
 
2632
- /* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.48.0 */
2632
+ /* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.49.0 */
2633
2633
 
2634
2634
  function add_css$1(target) {
2635
2635
  internal.append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
@@ -3068,7 +3068,7 @@ class CurrentFloor extends internal.SvelteComponent {
3068
3068
  }
3069
3069
  }
3070
3070
 
3071
- /* src/floorplan/Components/Main.svelte generated by Svelte v3.48.0 */
3071
+ /* src/floorplan/Components/Main.svelte generated by Svelte v3.49.0 */
3072
3072
 
3073
3073
  function add_css(target) {
3074
3074
  internal.append_styles(target, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
package/dist/index.d.ts CHANGED
@@ -15,4 +15,4 @@ export * from './ModelItemLabelPlugin';
15
15
  export * from './ModelTVVideoPlugin';
16
16
  export * from './ItemLabelPlugin';
17
17
  export * from './PanoDoorLabelPlugin';
18
- export declare const DnalogelVersion = "2.0.0-alpha.43";
18
+ export declare const DnalogelVersion = "2.0.0-alpha.49";