@realsee/dnalogel 2.0.0-alpha.10 → 2.0.0-alpha.13

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 (123) hide show
  1. package/dist/CSS3DRenderPlugin/index.js +17 -14
  2. package/dist/CameraMovementPlugin/index.js +40 -15
  3. package/dist/ModelChassisCompassPlugin/index.js +32 -6
  4. package/dist/ModelEntryDoorGuidePlugin/index.js +48 -18
  5. package/dist/ModelItemLabelPlugin/events.type.d.ts +9 -0
  6. package/dist/ModelItemLabelPlugin/index.d.ts +4 -0
  7. package/dist/ModelItemLabelPlugin/index.js +679 -0
  8. package/dist/ModelItemLabelPlugin/typings.d.ts +55 -0
  9. package/dist/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
  10. package/dist/ModelRoomLabelPlugin/index.js +71 -28
  11. package/dist/PanoCompassPlugin/index.js +311 -164
  12. package/dist/PanoCursorRaycasterPlugin/index.js +5 -3
  13. package/dist/PanoMeasurePlugin/index.js +1337 -583
  14. package/dist/PanoRulerPlugin/index.js +32 -5
  15. package/dist/PanoSpatialTagPlugin/index.js +73 -38
  16. package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
  17. package/dist/floorplan/ModelFloorplanPlugin/index.js +678 -439
  18. package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +164 -72
  19. package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
  20. package/dist/floorplan/TopviewFloorplanPlugin/index.js +403 -230
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.es.js +3596 -1612
  23. package/dist/index.js +3602 -1616
  24. package/dist/index.umd.js +3605 -1620
  25. package/docs/assets/main.js +1 -1
  26. package/docs/assets/search.js +1 -1
  27. package/docs/classes/ModelRoomLabelController.html +6 -6
  28. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  29. package/docs/enums/ModelFloorplanErrorType.html +1 -1
  30. package/docs/index.html +1 -1
  31. package/docs/interfaces/LineJson.html +1 -1
  32. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  33. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  34. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  35. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  36. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  37. package/docs/interfaces/ModelFloorplanParameterType.html +1 -1
  38. package/docs/interfaces/ModelFloorplanViewEvent.html +2 -2
  39. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  40. package/docs/interfaces/PanoCompassPluginData.html +1 -1
  41. package/docs/interfaces/PanoCompassPluginParameterType.html +1 -1
  42. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  43. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  44. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  45. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  46. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  47. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  48. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  49. package/docs/interfaces/PointJson.html +1 -1
  50. package/docs/interfaces/RoomLabel.html +7 -7
  51. package/docs/interfaces/TopviewFloorplanPluginParameterType.html +1 -1
  52. package/docs/modules.html +12 -12
  53. package/libs/CSS3DRenderPlugin/index.js +16 -13
  54. package/libs/CameraMovementPlugin/index.js +24 -15
  55. package/libs/ModelChassisCompassPlugin/index.js +14 -5
  56. package/libs/ModelEntryDoorGuidePlugin/index.js +24 -12
  57. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +422 -0
  58. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +133 -0
  59. package/libs/ModelItemLabelPlugin/events.type.d.ts +9 -0
  60. package/libs/ModelItemLabelPlugin/events.type.js +1 -0
  61. package/libs/ModelItemLabelPlugin/index.d.ts +4 -0
  62. package/libs/ModelItemLabelPlugin/index.js +172 -0
  63. package/libs/ModelItemLabelPlugin/typings.d.ts +55 -0
  64. package/libs/ModelItemLabelPlugin/typings.js +6 -0
  65. package/libs/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
  66. package/libs/ModelItemLabelPlugin/utils/parseData.js +4 -0
  67. package/libs/ModelRoomLabelPlugin/Controller.js +64 -23
  68. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +7 -5
  69. package/libs/PanoCompassPlugin/index.js +225 -128
  70. package/libs/PanoCursorRaycasterPlugin/index.js +5 -3
  71. package/libs/PanoMeasurePlugin/Controller/BaseController.js +68 -13
  72. package/libs/PanoMeasurePlugin/Controller/EditController.js +267 -154
  73. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +40 -20
  74. package/libs/PanoMeasurePlugin/Controller/WatchController.js +234 -152
  75. package/libs/PanoMeasurePlugin/Controller/index.js +131 -47
  76. package/libs/PanoMeasurePlugin/Model/index.js +30 -5
  77. package/libs/PanoMeasurePlugin/Model/line.js +60 -10
  78. package/libs/PanoMeasurePlugin/Model/point.js +24 -4
  79. package/libs/PanoMeasurePlugin/Model/polyline.js +20 -3
  80. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +59 -14
  81. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +23 -8
  82. package/libs/PanoMeasurePlugin/Modules/GuideController.js +61 -26
  83. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +60 -10
  84. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +83 -37
  85. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +52 -17
  86. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +61 -30
  87. package/libs/PanoMeasurePlugin/utils/distanceDom.js +3 -2
  88. package/libs/PanoMeasurePlugin/utils/line.js +8 -7
  89. package/libs/PanoRulerPlugin/index.js +16 -5
  90. package/libs/PanoSpatialTagPlugin/Components/tag.js +9 -9
  91. package/libs/PanoSpatialTagPlugin/index.js +11 -9
  92. package/libs/floorplan/Components/BaseImage.js +10 -5
  93. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -1
  94. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +5 -6
  95. package/libs/floorplan/ModelFloorplanPlugin/Components/Compass.js +24 -11
  96. package/libs/floorplan/ModelFloorplanPlugin/Components/Main.js +77 -69
  97. package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.js +3 -1
  98. package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
  99. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +457 -273
  100. package/libs/floorplan/ModelFloorplanPlugin/utils/correctFiveState.js +33 -22
  101. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +3 -1
  102. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +97 -36
  103. package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
  104. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +232 -108
  105. package/libs/floorplan/utils/formatData.js +43 -28
  106. package/libs/floorplan/utils/formatPosition.js +1 -1
  107. package/libs/index.d.ts +1 -0
  108. package/libs/index.js +2 -0
  109. package/libs/shared-utils/Subscribe.js +8 -1
  110. package/libs/shared-utils/animationFrame/BetterTween.js +47 -18
  111. package/libs/shared-utils/createCanvasTextTexture.js +6 -5
  112. package/libs/shared-utils/five/changeMode.js +23 -12
  113. package/libs/shared-utils/getPxmm.js +1 -1
  114. package/libs/shared-utils/math/evenNumber.js +1 -1
  115. package/libs/shared-utils/three/loadFbxObj.js +20 -9
  116. package/libs/shared-utils/three/loadTexture.js +17 -6
  117. package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +2 -1
  118. package/libs/shared-utils/tinyEJSrender.js +36 -6
  119. package/libs/shared-utils/to.js +21 -10
  120. package/libs/shared-utils/useDebounce.js +1 -1
  121. package/libs/shared-utils/useThrottle.js +2 -1
  122. package/package.json +2 -2
  123. package/CHANGELOG.md +0 -34
@@ -34,7 +34,7 @@ function add_css(target) {
34
34
  append_styles(target, "svelte-177x2q7", ".floorplan-main.svelte-177x2q7{width:100%;height:100%}");
35
35
  }
36
36
 
37
- // (23:0) {#if visible}
37
+ // (24:0) {#if visible}
38
38
  function create_if_block(ctx) {
39
39
  let div;
40
40
  let currentfloor;
@@ -46,15 +46,15 @@ function create_if_block(ctx) {
46
46
 
47
47
  const currentfloor_spread_levels = [
48
48
  {
49
- five: /*five*/ ctx[1],
50
- pxmm: /*pxmm*/ ctx[0],
51
- floorIndex: /*floorIndex*/ ctx[5],
52
- hoverEnable: /*hoverEnable*/ ctx[6],
53
- floorplanData: /*floorplanData*/ ctx[10],
54
- getLabelElement: /*getLabelElement*/ ctx[14],
55
- roomLabelsEnable: /*roomLabelsEnable*/ ctx[8],
56
- ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[9],
57
- onRoomHeightClick: /*onRoomHeightClick*/ ctx[13]
49
+ five: /*five*/ ctx[2],
50
+ pxmm: /*pxmm*/ ctx[1],
51
+ floorIndex: /*floorIndex*/ ctx[6],
52
+ hoverEnable: /*hoverEnable*/ ctx[7],
53
+ floorplanData: /*floorplanData*/ ctx[11],
54
+ getLabelElement: /*getLabelElement*/ ctx[15],
55
+ roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
56
+ ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
57
+ onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
58
58
  }
59
59
  ];
60
60
 
@@ -68,10 +68,10 @@ function create_if_block(ctx) {
68
68
 
69
69
  const camera_spread_levels = [
70
70
  {
71
- panoIndex: /*panoIndex*/ ctx[4],
72
- floorplanData: /*floorplanData*/ ctx[10],
73
- lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[11],
74
- cameraImageUrl: /*cameraImageUrl*/ ctx[12]
71
+ panoIndex: /*panoIndex*/ ctx[5],
72
+ floorplanData: /*floorplanData*/ ctx[11],
73
+ lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
74
+ cameraImageUrl: /*cameraImageUrl*/ ctx[13]
75
75
  }
76
76
  ];
77
77
 
@@ -82,7 +82,7 @@ function create_if_block(ctx) {
82
82
  }
83
83
 
84
84
  camera = new Camera({ props: camera_props });
85
- let if_block = /*compassEnable*/ ctx[7] && create_if_block_1(ctx);
85
+ let if_block = /*compassEnable*/ ctx[8] && create_if_block_1(ctx);
86
86
 
87
87
  return {
88
88
  c() {
@@ -106,42 +106,42 @@ function create_if_block(ctx) {
106
106
  p(new_ctx, dirty) {
107
107
  ctx = new_ctx;
108
108
 
109
- const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/ 26467)
109
+ const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/ 52934)
110
110
  ? get_spread_update(currentfloor_spread_levels, [
111
111
  {
112
- five: /*five*/ ctx[1],
113
- pxmm: /*pxmm*/ ctx[0],
114
- floorIndex: /*floorIndex*/ ctx[5],
115
- hoverEnable: /*hoverEnable*/ ctx[6],
116
- floorplanData: /*floorplanData*/ ctx[10],
117
- getLabelElement: /*getLabelElement*/ ctx[14],
118
- roomLabelsEnable: /*roomLabelsEnable*/ ctx[8],
119
- ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[9],
120
- onRoomHeightClick: /*onRoomHeightClick*/ ctx[13]
112
+ five: /*five*/ ctx[2],
113
+ pxmm: /*pxmm*/ ctx[1],
114
+ floorIndex: /*floorIndex*/ ctx[6],
115
+ hoverEnable: /*hoverEnable*/ ctx[7],
116
+ floorplanData: /*floorplanData*/ ctx[11],
117
+ getLabelElement: /*getLabelElement*/ ctx[15],
118
+ roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
119
+ ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
120
+ onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
121
121
  }
122
122
  ])
123
123
  : {};
124
124
 
125
125
  currentfloor.$set(currentfloor_changes);
126
126
 
127
- const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/ 7184)
127
+ const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/ 14368)
128
128
  ? get_spread_update(camera_spread_levels, [
129
129
  {
130
- panoIndex: /*panoIndex*/ ctx[4],
131
- floorplanData: /*floorplanData*/ ctx[10],
132
- lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[11],
133
- cameraImageUrl: /*cameraImageUrl*/ ctx[12]
130
+ panoIndex: /*panoIndex*/ ctx[5],
131
+ floorplanData: /*floorplanData*/ ctx[11],
132
+ lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
133
+ cameraImageUrl: /*cameraImageUrl*/ ctx[13]
134
134
  }
135
135
  ])
136
136
  : {};
137
137
 
138
138
  camera.$set(camera_changes);
139
139
 
140
- if (/*compassEnable*/ ctx[7]) {
140
+ if (/*compassEnable*/ ctx[8]) {
141
141
  if (if_block) {
142
142
  if_block.p(ctx, dirty);
143
143
 
144
- if (dirty & /*compassEnable*/ 128) {
144
+ if (dirty & /*compassEnable*/ 256) {
145
145
  transition_in(if_block, 1);
146
146
  }
147
147
  } else {
@@ -169,7 +169,7 @@ function create_if_block(ctx) {
169
169
  if (!div_intro) {
170
170
  add_render_callback(() => {
171
171
  div_intro = create_in_transition(div, fade, {
172
- duration: /*duration*/ ctx[2],
172
+ duration: /*duration*/ ctx[3],
173
173
  easing: linear
174
174
  });
175
175
 
@@ -194,13 +194,16 @@ function create_if_block(ctx) {
194
194
  };
195
195
  }
196
196
 
197
- // (39:4) {#if compassEnable}
197
+ // (40:4) {#if compassEnable}
198
198
  function create_if_block_1(ctx) {
199
199
  let compass;
200
200
  let current;
201
201
 
202
202
  compass = new Compass({
203
- props: { floorplanData: /*floorplanData*/ ctx[10] }
203
+ props: {
204
+ floorplanData: /*floorplanData*/ ctx[11],
205
+ northDesc: /*northDesc*/ ctx[0]
206
+ }
204
207
  });
205
208
 
206
209
  return {
@@ -213,7 +216,8 @@ function create_if_block_1(ctx) {
213
216
  },
214
217
  p(ctx, dirty) {
215
218
  const compass_changes = {};
216
- if (dirty & /*floorplanData*/ 1024) compass_changes.floorplanData = /*floorplanData*/ ctx[10];
219
+ if (dirty & /*floorplanData*/ 2048) compass_changes.floorplanData = /*floorplanData*/ ctx[11];
220
+ if (dirty & /*northDesc*/ 1) compass_changes.northDesc = /*northDesc*/ ctx[0];
217
221
  compass.$set(compass_changes);
218
222
  },
219
223
  i(local) {
@@ -234,7 +238,7 @@ function create_if_block_1(ctx) {
234
238
  function create_fragment(ctx) {
235
239
  let if_block_anchor;
236
240
  let current;
237
- let if_block = /*visible*/ ctx[3] && create_if_block(ctx);
241
+ let if_block = /*visible*/ ctx[4] && create_if_block(ctx);
238
242
 
239
243
  return {
240
244
  c() {
@@ -247,11 +251,11 @@ function create_fragment(ctx) {
247
251
  current = true;
248
252
  },
249
253
  p(ctx, [dirty]) {
250
- if (/*visible*/ ctx[3]) {
254
+ if (/*visible*/ ctx[4]) {
251
255
  if (if_block) {
252
256
  if_block.p(ctx, dirty);
253
257
 
254
- if (dirty & /*visible*/ 8) {
258
+ if (dirty & /*visible*/ 16) {
255
259
  transition_in(if_block, 1);
256
260
  }
257
261
  } else {
@@ -287,6 +291,7 @@ function create_fragment(ctx) {
287
291
  }
288
292
 
289
293
  function instance($$self, $$props, $$invalidate) {
294
+ let { northDesc } = $$props;
290
295
  let { pxmm } = $$props;
291
296
  let { five } = $$props;
292
297
  let { duration = 0 } = $$props;
@@ -304,24 +309,26 @@ function instance($$self, $$props, $$invalidate) {
304
309
  let { getLabelElement } = $$props;
305
310
 
306
311
  $$self.$$set = $$props => {
307
- if ('pxmm' in $$props) $$invalidate(0, pxmm = $$props.pxmm);
308
- if ('five' in $$props) $$invalidate(1, five = $$props.five);
309
- if ('duration' in $$props) $$invalidate(2, duration = $$props.duration);
310
- if ('visible' in $$props) $$invalidate(3, visible = $$props.visible);
311
- if ('panoIndex' in $$props) $$invalidate(4, panoIndex = $$props.panoIndex);
312
- if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
313
- if ('hoverEnable' in $$props) $$invalidate(6, hoverEnable = $$props.hoverEnable);
314
- if ('compassEnable' in $$props) $$invalidate(7, compassEnable = $$props.compassEnable);
315
- if ('roomLabelsEnable' in $$props) $$invalidate(8, roomLabelsEnable = $$props.roomLabelsEnable);
316
- if ('ruleLabelsEnable' in $$props) $$invalidate(9, ruleLabelsEnable = $$props.ruleLabelsEnable);
317
- if ('floorplanData' in $$props) $$invalidate(10, floorplanData = $$props.floorplanData);
318
- if ('lastPanoramaLongitude' in $$props) $$invalidate(11, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
319
- if ('cameraImageUrl' in $$props) $$invalidate(12, cameraImageUrl = $$props.cameraImageUrl);
320
- if ('onRoomHeightClick' in $$props) $$invalidate(13, onRoomHeightClick = $$props.onRoomHeightClick);
321
- if ('getLabelElement' in $$props) $$invalidate(14, getLabelElement = $$props.getLabelElement);
312
+ if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
313
+ if ('pxmm' in $$props) $$invalidate(1, pxmm = $$props.pxmm);
314
+ if ('five' in $$props) $$invalidate(2, five = $$props.five);
315
+ if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
316
+ if ('visible' in $$props) $$invalidate(4, visible = $$props.visible);
317
+ if ('panoIndex' in $$props) $$invalidate(5, panoIndex = $$props.panoIndex);
318
+ if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
319
+ if ('hoverEnable' in $$props) $$invalidate(7, hoverEnable = $$props.hoverEnable);
320
+ if ('compassEnable' in $$props) $$invalidate(8, compassEnable = $$props.compassEnable);
321
+ if ('roomLabelsEnable' in $$props) $$invalidate(9, roomLabelsEnable = $$props.roomLabelsEnable);
322
+ if ('ruleLabelsEnable' in $$props) $$invalidate(10, ruleLabelsEnable = $$props.ruleLabelsEnable);
323
+ if ('floorplanData' in $$props) $$invalidate(11, floorplanData = $$props.floorplanData);
324
+ if ('lastPanoramaLongitude' in $$props) $$invalidate(12, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
325
+ if ('cameraImageUrl' in $$props) $$invalidate(13, cameraImageUrl = $$props.cameraImageUrl);
326
+ if ('onRoomHeightClick' in $$props) $$invalidate(14, onRoomHeightClick = $$props.onRoomHeightClick);
327
+ if ('getLabelElement' in $$props) $$invalidate(15, getLabelElement = $$props.getLabelElement);
322
328
  };
323
329
 
324
330
  return [
331
+ northDesc,
325
332
  pxmm,
326
333
  five,
327
334
  duration,
@@ -351,21 +358,22 @@ class Component extends SvelteComponent {
351
358
  create_fragment,
352
359
  safe_not_equal,
353
360
  {
354
- pxmm: 0,
355
- five: 1,
356
- duration: 2,
357
- visible: 3,
358
- panoIndex: 4,
359
- floorIndex: 5,
360
- hoverEnable: 6,
361
- compassEnable: 7,
362
- roomLabelsEnable: 8,
363
- ruleLabelsEnable: 9,
364
- floorplanData: 10,
365
- lastPanoramaLongitude: 11,
366
- cameraImageUrl: 12,
367
- onRoomHeightClick: 13,
368
- getLabelElement: 14
361
+ northDesc: 0,
362
+ pxmm: 1,
363
+ five: 2,
364
+ duration: 3,
365
+ visible: 4,
366
+ panoIndex: 5,
367
+ floorIndex: 6,
368
+ hoverEnable: 7,
369
+ compassEnable: 8,
370
+ roomLabelsEnable: 9,
371
+ ruleLabelsEnable: 10,
372
+ floorplanData: 11,
373
+ lastPanoramaLongitude: 12,
374
+ cameraImageUrl: 13,
375
+ onRoomHeightClick: 14,
376
+ getLabelElement: 15
369
377
  },
370
378
  add_css
371
379
  );
@@ -154,7 +154,9 @@ function instance($$self, $$props, $$invalidate) {
154
154
 
155
155
  $$self.$$.update = () => {
156
156
  if ($$self.$$.dirty & /*getLabelElement, room*/ 3) {
157
- $: $$invalidate(2, userConfigElement = getLabelElement?.(room));
157
+ $: $$invalidate(2, userConfigElement = getLabelElement === null || getLabelElement === void 0
158
+ ? void 0
159
+ : getLabelElement(room));
158
160
  }
159
161
  };
160
162
 
@@ -4,6 +4,7 @@ import type { FloorplanServerData } from '../typings/floorplanServerData';
4
4
  import type { FloorplanRoomItem } from '../typings/floorplanData';
5
5
  import { FLOOR_PLAN_ATTACHED_TO } from '../constant';
6
6
  export interface ModelFloorplanParameterType {
7
+ northDesc?: string;
7
8
  selector?: string | Element;
8
9
  scale?: number;
9
10
  modelOpacity?: number;