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

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 (43) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/ModelRoomLabelPlugin/index.js +3 -1
  3. package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
  4. package/dist/floorplan/ModelFloorplanPlugin/index.js +94 -79
  5. package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
  6. package/dist/floorplan/TopviewFloorplanPlugin/index.js +94 -79
  7. package/dist/index.es.js +99 -81
  8. package/dist/index.js +99 -81
  9. package/dist/index.umd.js +99 -81
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/ModelRoomLabelController.html +6 -6
  12. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  13. package/docs/enums/ModelFloorplanErrorType.html +1 -1
  14. package/docs/interfaces/LineJson.html +1 -1
  15. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  16. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  17. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  18. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  19. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  20. package/docs/interfaces/ModelFloorplanParameterType.html +1 -1
  21. package/docs/interfaces/ModelFloorplanViewEvent.html +2 -2
  22. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  23. package/docs/interfaces/PanoCompassPluginData.html +1 -1
  24. package/docs/interfaces/PanoCompassPluginParameterType.html +1 -1
  25. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  26. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  27. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  28. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  29. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  30. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  31. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  32. package/docs/interfaces/PointJson.html +1 -1
  33. package/docs/interfaces/RoomLabel.html +7 -7
  34. package/docs/interfaces/TopviewFloorplanPluginParameterType.html +1 -1
  35. package/docs/modules.html +12 -12
  36. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +3 -1
  37. package/libs/floorplan/ModelFloorplanPlugin/Components/Compass.js +18 -10
  38. package/libs/floorplan/ModelFloorplanPlugin/Components/Main.js +77 -69
  39. package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
  40. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -1
  41. package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
  42. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -1
  43. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -607,7 +607,7 @@ function get_each_context$7(ctx, list, i) {
607
607
  return child_ctx;
608
608
  }
609
609
 
610
- // (68:2) {#each roomLabels as roomLableItem (roomLableItem.id)}
610
+ // (70:2) {#each roomLabels as roomLableItem (roomLableItem.id)}
611
611
  function create_each_block$7(key_1, ctx) {
612
612
  let first;
613
613
  let roomlabelitem;
@@ -790,9 +790,11 @@ function instance$n($$self, $$props, $$invalidate) {
790
790
  }
791
791
 
792
792
  five.on('cameraUpdate', onFiveCameraUpdate);
793
+ five.on('modelShownFloorChange', onFiveCameraUpdate);
793
794
 
794
795
  svelte.onDestroy(() => {
795
796
  five.off('cameraUpdate', onFiveCameraUpdate);
797
+ five.off('modelShownFloorChange', onFiveCameraUpdate);
796
798
  });
797
799
 
798
800
  svelte.onMount(() => {
@@ -1280,12 +1282,13 @@ function add_css$g(target) {
1280
1282
  internal.append_styles(target, "svelte-5l80pv", ".floorplan-plugin__compass.svelte-5l80pv{position:absolute;left:50%;top:-46px;width:231px;height:41px;will-change:opacity;transform-origin:center 184px}.floorplan-plugin__compass-image.svelte-5l80pv{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-5l80pv{position:absolute;left:50%;top:15px;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:10px;color:#fff}");
1281
1283
  }
1282
1284
 
1283
- // (11:0) {#if northRad}
1285
+ // (12:0) {#if northRad}
1284
1286
  function create_if_block$8(ctx) {
1285
1287
  let div1;
1286
1288
  let div0;
1287
1289
  let t0;
1288
1290
  let span;
1291
+ let t1;
1289
1292
 
1290
1293
  return {
1291
1294
  c() {
@@ -1293,20 +1296,23 @@ function create_if_block$8(ctx) {
1293
1296
  div0 = internal.element("div");
1294
1297
  t0 = internal.space();
1295
1298
  span = internal.element("span");
1296
- span.textContent = "北";
1299
+ t1 = internal.text(/*northDesc*/ ctx[0]);
1297
1300
  internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-5l80pv");
1298
1301
  internal.set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
1299
1302
  internal.attr(span, "class", "floorplan-plugin__compass-text svelte-5l80pv");
1300
1303
  internal.attr(div1, "class", "floorplan-plugin__compass svelte-5l80pv");
1301
- internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[1], false);
1304
+ internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
1302
1305
  },
1303
1306
  m(target, anchor) {
1304
1307
  internal.insert(target, div1, anchor);
1305
1308
  internal.append(div1, div0);
1306
1309
  internal.append(div1, t0);
1307
1310
  internal.append(div1, span);
1311
+ internal.append(span, t1);
1312
+ },
1313
+ p(ctx, dirty) {
1314
+ if (dirty & /*northDesc*/ 1) internal.set_data(t1, /*northDesc*/ ctx[0]);
1308
1315
  },
1309
- p: internal.noop,
1310
1316
  d(detaching) {
1311
1317
  if (detaching) internal.detach(div1);
1312
1318
  }
@@ -1315,7 +1321,7 @@ function create_if_block$8(ctx) {
1315
1321
 
1316
1322
  function create_fragment$l(ctx) {
1317
1323
  let if_block_anchor;
1318
- let if_block = /*northRad*/ ctx[0] && create_if_block$8(ctx);
1324
+ let if_block = /*northRad*/ ctx[1] && create_if_block$8(ctx);
1319
1325
 
1320
1326
  return {
1321
1327
  c() {
@@ -1327,7 +1333,7 @@ function create_fragment$l(ctx) {
1327
1333
  internal.insert(target, if_block_anchor, anchor);
1328
1334
  },
1329
1335
  p(ctx, [dirty]) {
1330
- if (/*northRad*/ ctx[0]) if_block.p(ctx, dirty);
1336
+ if (/*northRad*/ ctx[1]) if_block.p(ctx, dirty);
1331
1337
  },
1332
1338
  i: internal.noop,
1333
1339
  o: internal.noop,
@@ -1344,21 +1350,23 @@ function rad2Deg(rad) {
1344
1350
 
1345
1351
  function instance$l($$self, $$props, $$invalidate) {
1346
1352
  let { floorplanData } = $$props;
1353
+ let { northDesc } = $$props;
1347
1354
  const northRad = floorplanData.entrance?.northRad;
1348
1355
  const rotate = !northRad ? 0 : rad2Deg(northRad);
1349
1356
  const compassTransformStyle = `translateX(-50%) translateZ(10px) rotate(${-rotate + 90}deg)`;
1350
1357
 
1351
1358
  $$self.$$set = $$props => {
1352
- if ('floorplanData' in $$props) $$invalidate(2, floorplanData = $$props.floorplanData);
1359
+ if ('floorplanData' in $$props) $$invalidate(3, floorplanData = $$props.floorplanData);
1360
+ if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
1353
1361
  };
1354
1362
 
1355
- return [northRad, compassTransformStyle, floorplanData];
1363
+ return [northDesc, northRad, compassTransformStyle, floorplanData];
1356
1364
  }
1357
1365
 
1358
1366
  class Compass extends internal.SvelteComponent {
1359
1367
  constructor(options) {
1360
1368
  super();
1361
- internal.init(this, options, instance$l, create_fragment$l, internal.safe_not_equal, { floorplanData: 2 }, add_css$g);
1369
+ internal.init(this, options, instance$l, create_fragment$l, internal.safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$g);
1362
1370
  }
1363
1371
  }
1364
1372
 
@@ -3875,7 +3883,7 @@ function add_css$5(target) {
3875
3883
  internal.append_styles(target, "svelte-177x2q7", ".floorplan-main.svelte-177x2q7{width:100%;height:100%}");
3876
3884
  }
3877
3885
 
3878
- // (23:0) {#if visible}
3886
+ // (24:0) {#if visible}
3879
3887
  function create_if_block$2(ctx) {
3880
3888
  let div;
3881
3889
  let currentfloor;
@@ -3887,15 +3895,15 @@ function create_if_block$2(ctx) {
3887
3895
 
3888
3896
  const currentfloor_spread_levels = [
3889
3897
  {
3890
- five: /*five*/ ctx[1],
3891
- pxmm: /*pxmm*/ ctx[0],
3892
- floorIndex: /*floorIndex*/ ctx[5],
3893
- hoverEnable: /*hoverEnable*/ ctx[6],
3894
- floorplanData: /*floorplanData*/ ctx[10],
3895
- getLabelElement: /*getLabelElement*/ ctx[14],
3896
- roomLabelsEnable: /*roomLabelsEnable*/ ctx[8],
3897
- ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[9],
3898
- onRoomHeightClick: /*onRoomHeightClick*/ ctx[13]
3898
+ five: /*five*/ ctx[2],
3899
+ pxmm: /*pxmm*/ ctx[1],
3900
+ floorIndex: /*floorIndex*/ ctx[6],
3901
+ hoverEnable: /*hoverEnable*/ ctx[7],
3902
+ floorplanData: /*floorplanData*/ ctx[11],
3903
+ getLabelElement: /*getLabelElement*/ ctx[15],
3904
+ roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
3905
+ ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
3906
+ onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
3899
3907
  }
3900
3908
  ];
3901
3909
 
@@ -3909,10 +3917,10 @@ function create_if_block$2(ctx) {
3909
3917
 
3910
3918
  const camera_spread_levels = [
3911
3919
  {
3912
- panoIndex: /*panoIndex*/ ctx[4],
3913
- floorplanData: /*floorplanData*/ ctx[10],
3914
- lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[11],
3915
- cameraImageUrl: /*cameraImageUrl*/ ctx[12]
3920
+ panoIndex: /*panoIndex*/ ctx[5],
3921
+ floorplanData: /*floorplanData*/ ctx[11],
3922
+ lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
3923
+ cameraImageUrl: /*cameraImageUrl*/ ctx[13]
3916
3924
  }
3917
3925
  ];
3918
3926
 
@@ -3923,7 +3931,7 @@ function create_if_block$2(ctx) {
3923
3931
  }
3924
3932
 
3925
3933
  camera = new Camera$1({ props: camera_props });
3926
- let if_block = /*compassEnable*/ ctx[7] && create_if_block_1(ctx);
3934
+ let if_block = /*compassEnable*/ ctx[8] && create_if_block_1(ctx);
3927
3935
 
3928
3936
  return {
3929
3937
  c() {
@@ -3947,42 +3955,42 @@ function create_if_block$2(ctx) {
3947
3955
  p(new_ctx, dirty) {
3948
3956
  ctx = new_ctx;
3949
3957
 
3950
- const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/ 26467)
3958
+ const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/ 52934)
3951
3959
  ? internal.get_spread_update(currentfloor_spread_levels, [
3952
3960
  {
3953
- five: /*five*/ ctx[1],
3954
- pxmm: /*pxmm*/ ctx[0],
3955
- floorIndex: /*floorIndex*/ ctx[5],
3956
- hoverEnable: /*hoverEnable*/ ctx[6],
3957
- floorplanData: /*floorplanData*/ ctx[10],
3958
- getLabelElement: /*getLabelElement*/ ctx[14],
3959
- roomLabelsEnable: /*roomLabelsEnable*/ ctx[8],
3960
- ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[9],
3961
- onRoomHeightClick: /*onRoomHeightClick*/ ctx[13]
3961
+ five: /*five*/ ctx[2],
3962
+ pxmm: /*pxmm*/ ctx[1],
3963
+ floorIndex: /*floorIndex*/ ctx[6],
3964
+ hoverEnable: /*hoverEnable*/ ctx[7],
3965
+ floorplanData: /*floorplanData*/ ctx[11],
3966
+ getLabelElement: /*getLabelElement*/ ctx[15],
3967
+ roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
3968
+ ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
3969
+ onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
3962
3970
  }
3963
3971
  ])
3964
3972
  : {};
3965
3973
 
3966
3974
  currentfloor.$set(currentfloor_changes);
3967
3975
 
3968
- const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/ 7184)
3976
+ const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/ 14368)
3969
3977
  ? internal.get_spread_update(camera_spread_levels, [
3970
3978
  {
3971
- panoIndex: /*panoIndex*/ ctx[4],
3972
- floorplanData: /*floorplanData*/ ctx[10],
3973
- lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[11],
3974
- cameraImageUrl: /*cameraImageUrl*/ ctx[12]
3979
+ panoIndex: /*panoIndex*/ ctx[5],
3980
+ floorplanData: /*floorplanData*/ ctx[11],
3981
+ lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
3982
+ cameraImageUrl: /*cameraImageUrl*/ ctx[13]
3975
3983
  }
3976
3984
  ])
3977
3985
  : {};
3978
3986
 
3979
3987
  camera.$set(camera_changes);
3980
3988
 
3981
- if (/*compassEnable*/ ctx[7]) {
3989
+ if (/*compassEnable*/ ctx[8]) {
3982
3990
  if (if_block) {
3983
3991
  if_block.p(ctx, dirty);
3984
3992
 
3985
- if (dirty & /*compassEnable*/ 128) {
3993
+ if (dirty & /*compassEnable*/ 256) {
3986
3994
  internal.transition_in(if_block, 1);
3987
3995
  }
3988
3996
  } else {
@@ -4010,7 +4018,7 @@ function create_if_block$2(ctx) {
4010
4018
  if (!div_intro) {
4011
4019
  internal.add_render_callback(() => {
4012
4020
  div_intro = internal.create_in_transition(div, transition.fade, {
4013
- duration: /*duration*/ ctx[2],
4021
+ duration: /*duration*/ ctx[3],
4014
4022
  easing: easing.linear
4015
4023
  });
4016
4024
 
@@ -4035,13 +4043,16 @@ function create_if_block$2(ctx) {
4035
4043
  };
4036
4044
  }
4037
4045
 
4038
- // (39:4) {#if compassEnable}
4046
+ // (40:4) {#if compassEnable}
4039
4047
  function create_if_block_1(ctx) {
4040
4048
  let compass;
4041
4049
  let current;
4042
4050
 
4043
4051
  compass = new Compass({
4044
- props: { floorplanData: /*floorplanData*/ ctx[10] }
4052
+ props: {
4053
+ floorplanData: /*floorplanData*/ ctx[11],
4054
+ northDesc: /*northDesc*/ ctx[0]
4055
+ }
4045
4056
  });
4046
4057
 
4047
4058
  return {
@@ -4054,7 +4065,8 @@ function create_if_block_1(ctx) {
4054
4065
  },
4055
4066
  p(ctx, dirty) {
4056
4067
  const compass_changes = {};
4057
- if (dirty & /*floorplanData*/ 1024) compass_changes.floorplanData = /*floorplanData*/ ctx[10];
4068
+ if (dirty & /*floorplanData*/ 2048) compass_changes.floorplanData = /*floorplanData*/ ctx[11];
4069
+ if (dirty & /*northDesc*/ 1) compass_changes.northDesc = /*northDesc*/ ctx[0];
4058
4070
  compass.$set(compass_changes);
4059
4071
  },
4060
4072
  i(local) {
@@ -4075,7 +4087,7 @@ function create_if_block_1(ctx) {
4075
4087
  function create_fragment$6(ctx) {
4076
4088
  let if_block_anchor;
4077
4089
  let current;
4078
- let if_block = /*visible*/ ctx[3] && create_if_block$2(ctx);
4090
+ let if_block = /*visible*/ ctx[4] && create_if_block$2(ctx);
4079
4091
 
4080
4092
  return {
4081
4093
  c() {
@@ -4088,11 +4100,11 @@ function create_fragment$6(ctx) {
4088
4100
  current = true;
4089
4101
  },
4090
4102
  p(ctx, [dirty]) {
4091
- if (/*visible*/ ctx[3]) {
4103
+ if (/*visible*/ ctx[4]) {
4092
4104
  if (if_block) {
4093
4105
  if_block.p(ctx, dirty);
4094
4106
 
4095
- if (dirty & /*visible*/ 8) {
4107
+ if (dirty & /*visible*/ 16) {
4096
4108
  internal.transition_in(if_block, 1);
4097
4109
  }
4098
4110
  } else {
@@ -4128,6 +4140,7 @@ function create_fragment$6(ctx) {
4128
4140
  }
4129
4141
 
4130
4142
  function instance$6($$self, $$props, $$invalidate) {
4143
+ let { northDesc } = $$props;
4131
4144
  let { pxmm } = $$props;
4132
4145
  let { five } = $$props;
4133
4146
  let { duration = 0 } = $$props;
@@ -4145,24 +4158,26 @@ function instance$6($$self, $$props, $$invalidate) {
4145
4158
  let { getLabelElement } = $$props;
4146
4159
 
4147
4160
  $$self.$$set = $$props => {
4148
- if ('pxmm' in $$props) $$invalidate(0, pxmm = $$props.pxmm);
4149
- if ('five' in $$props) $$invalidate(1, five = $$props.five);
4150
- if ('duration' in $$props) $$invalidate(2, duration = $$props.duration);
4151
- if ('visible' in $$props) $$invalidate(3, visible = $$props.visible);
4152
- if ('panoIndex' in $$props) $$invalidate(4, panoIndex = $$props.panoIndex);
4153
- if ('floorIndex' in $$props) $$invalidate(5, floorIndex = $$props.floorIndex);
4154
- if ('hoverEnable' in $$props) $$invalidate(6, hoverEnable = $$props.hoverEnable);
4155
- if ('compassEnable' in $$props) $$invalidate(7, compassEnable = $$props.compassEnable);
4156
- if ('roomLabelsEnable' in $$props) $$invalidate(8, roomLabelsEnable = $$props.roomLabelsEnable);
4157
- if ('ruleLabelsEnable' in $$props) $$invalidate(9, ruleLabelsEnable = $$props.ruleLabelsEnable);
4158
- if ('floorplanData' in $$props) $$invalidate(10, floorplanData = $$props.floorplanData);
4159
- if ('lastPanoramaLongitude' in $$props) $$invalidate(11, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
4160
- if ('cameraImageUrl' in $$props) $$invalidate(12, cameraImageUrl = $$props.cameraImageUrl);
4161
- if ('onRoomHeightClick' in $$props) $$invalidate(13, onRoomHeightClick = $$props.onRoomHeightClick);
4162
- if ('getLabelElement' in $$props) $$invalidate(14, getLabelElement = $$props.getLabelElement);
4161
+ if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
4162
+ if ('pxmm' in $$props) $$invalidate(1, pxmm = $$props.pxmm);
4163
+ if ('five' in $$props) $$invalidate(2, five = $$props.five);
4164
+ if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
4165
+ if ('visible' in $$props) $$invalidate(4, visible = $$props.visible);
4166
+ if ('panoIndex' in $$props) $$invalidate(5, panoIndex = $$props.panoIndex);
4167
+ if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
4168
+ if ('hoverEnable' in $$props) $$invalidate(7, hoverEnable = $$props.hoverEnable);
4169
+ if ('compassEnable' in $$props) $$invalidate(8, compassEnable = $$props.compassEnable);
4170
+ if ('roomLabelsEnable' in $$props) $$invalidate(9, roomLabelsEnable = $$props.roomLabelsEnable);
4171
+ if ('ruleLabelsEnable' in $$props) $$invalidate(10, ruleLabelsEnable = $$props.ruleLabelsEnable);
4172
+ if ('floorplanData' in $$props) $$invalidate(11, floorplanData = $$props.floorplanData);
4173
+ if ('lastPanoramaLongitude' in $$props) $$invalidate(12, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
4174
+ if ('cameraImageUrl' in $$props) $$invalidate(13, cameraImageUrl = $$props.cameraImageUrl);
4175
+ if ('onRoomHeightClick' in $$props) $$invalidate(14, onRoomHeightClick = $$props.onRoomHeightClick);
4176
+ if ('getLabelElement' in $$props) $$invalidate(15, getLabelElement = $$props.getLabelElement);
4163
4177
  };
4164
4178
 
4165
4179
  return [
4180
+ northDesc,
4166
4181
  pxmm,
4167
4182
  five,
4168
4183
  duration,
@@ -4192,21 +4207,22 @@ class Main$1 extends internal.SvelteComponent {
4192
4207
  create_fragment$6,
4193
4208
  internal.safe_not_equal,
4194
4209
  {
4195
- pxmm: 0,
4196
- five: 1,
4197
- duration: 2,
4198
- visible: 3,
4199
- panoIndex: 4,
4200
- floorIndex: 5,
4201
- hoverEnable: 6,
4202
- compassEnable: 7,
4203
- roomLabelsEnable: 8,
4204
- ruleLabelsEnable: 9,
4205
- floorplanData: 10,
4206
- lastPanoramaLongitude: 11,
4207
- cameraImageUrl: 12,
4208
- onRoomHeightClick: 13,
4209
- getLabelElement: 14
4210
+ northDesc: 0,
4211
+ pxmm: 1,
4212
+ five: 2,
4213
+ duration: 3,
4214
+ visible: 4,
4215
+ panoIndex: 5,
4216
+ floorIndex: 6,
4217
+ hoverEnable: 7,
4218
+ compassEnable: 8,
4219
+ roomLabelsEnable: 9,
4220
+ ruleLabelsEnable: 10,
4221
+ floorplanData: 11,
4222
+ lastPanoramaLongitude: 12,
4223
+ cameraImageUrl: 13,
4224
+ onRoomHeightClick: 14,
4225
+ getLabelElement: 15
4210
4226
  },
4211
4227
  add_css$5
4212
4228
  );
@@ -4382,9 +4398,10 @@ class TopviewFloorplanPluginController {
4382
4398
  return;
4383
4399
  if (this.size.width === 0)
4384
4400
  return;
4385
- const { getLabelElement, cameraImageUrl, preventRoomClick, hoverEnable, compassEnable, roomLabelsEnable, ruleLabelsEnable, } = this.configs;
4401
+ const { northDesc, getLabelElement, cameraImageUrl, preventRoomClick, hoverEnable, compassEnable, roomLabelsEnable, ruleLabelsEnable, } = this.configs;
4386
4402
  const handleClick = preventRoomClick ? () => false : undefined;
4387
4403
  const props = {
4404
+ northDesc: northDesc ?? '北',
4388
4405
  five: this.five,
4389
4406
  pxmm: this.pxmm,
4390
4407
  cameraImageUrl,
@@ -5830,8 +5847,9 @@ class ModelFloorplanPluginController {
5830
5847
  return;
5831
5848
  if (this.size.width === 0)
5832
5849
  return;
5833
- const { hoverEnable, cameraImageUrl, getLabelElement, roomLabelsEnable, compassEnable, ruleLabelsEnable } = this.configs;
5850
+ const { northDesc, hoverEnable, cameraImageUrl, getLabelElement, roomLabelsEnable, compassEnable, ruleLabelsEnable } = this.configs;
5834
5851
  const props = {
5852
+ northDesc: northDesc ?? '北',
5835
5853
  five: this.five,
5836
5854
  pxmm: this.pxmm,
5837
5855
  cameraImageUrl,