@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.
- package/CHANGELOG.md +4 -0
- package/dist/ModelRoomLabelPlugin/index.js +3 -1
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/index.js +94 -79
- package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +94 -79
- package/dist/index.es.js +99 -81
- package/dist/index.js +99 -81
- package/dist/index.umd.js +99 -81
- package/docs/assets/search.js +1 -1
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ModelFloorplanErrorType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelFloorplanParameterType.html +1 -1
- package/docs/interfaces/ModelFloorplanViewEvent.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/PanoCompassPluginData.html +1 -1
- package/docs/interfaces/PanoCompassPluginParameterType.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/modules.html +12 -12
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +3 -1
- package/libs/floorplan/ModelFloorplanPlugin/Components/Compass.js +18 -10
- package/libs/floorplan/ModelFloorplanPlugin/Components/Main.js +77 -69
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -581,7 +581,7 @@ function get_each_context$7(ctx, list, i) {
|
|
|
581
581
|
return child_ctx;
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
-
// (
|
|
584
|
+
// (70:2) {#each roomLabels as roomLableItem (roomLableItem.id)}
|
|
585
585
|
function create_each_block$7(key_1, ctx) {
|
|
586
586
|
let first;
|
|
587
587
|
let roomlabelitem;
|
|
@@ -764,9 +764,11 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
764
764
|
}
|
|
765
765
|
|
|
766
766
|
five.on('cameraUpdate', onFiveCameraUpdate);
|
|
767
|
+
five.on('modelShownFloorChange', onFiveCameraUpdate);
|
|
767
768
|
|
|
768
769
|
onDestroy(() => {
|
|
769
770
|
five.off('cameraUpdate', onFiveCameraUpdate);
|
|
771
|
+
five.off('modelShownFloorChange', onFiveCameraUpdate);
|
|
770
772
|
});
|
|
771
773
|
|
|
772
774
|
onMount(() => {
|
|
@@ -1254,12 +1256,13 @@ function add_css$g(target) {
|
|
|
1254
1256
|
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}");
|
|
1255
1257
|
}
|
|
1256
1258
|
|
|
1257
|
-
// (
|
|
1259
|
+
// (12:0) {#if northRad}
|
|
1258
1260
|
function create_if_block$8(ctx) {
|
|
1259
1261
|
let div1;
|
|
1260
1262
|
let div0;
|
|
1261
1263
|
let t0;
|
|
1262
1264
|
let span;
|
|
1265
|
+
let t1;
|
|
1263
1266
|
|
|
1264
1267
|
return {
|
|
1265
1268
|
c() {
|
|
@@ -1267,20 +1270,23 @@ function create_if_block$8(ctx) {
|
|
|
1267
1270
|
div0 = element("div");
|
|
1268
1271
|
t0 = space();
|
|
1269
1272
|
span = element("span");
|
|
1270
|
-
|
|
1273
|
+
t1 = text(/*northDesc*/ ctx[0]);
|
|
1271
1274
|
attr(div0, "class", "floorplan-plugin__compass-image svelte-5l80pv");
|
|
1272
1275
|
set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
|
|
1273
1276
|
attr(span, "class", "floorplan-plugin__compass-text svelte-5l80pv");
|
|
1274
1277
|
attr(div1, "class", "floorplan-plugin__compass svelte-5l80pv");
|
|
1275
|
-
set_style(div1, "transform", /*compassTransformStyle*/ ctx[
|
|
1278
|
+
set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
|
|
1276
1279
|
},
|
|
1277
1280
|
m(target, anchor) {
|
|
1278
1281
|
insert(target, div1, anchor);
|
|
1279
1282
|
append(div1, div0);
|
|
1280
1283
|
append(div1, t0);
|
|
1281
1284
|
append(div1, span);
|
|
1285
|
+
append(span, t1);
|
|
1286
|
+
},
|
|
1287
|
+
p(ctx, dirty) {
|
|
1288
|
+
if (dirty & /*northDesc*/ 1) set_data(t1, /*northDesc*/ ctx[0]);
|
|
1282
1289
|
},
|
|
1283
|
-
p: noop,
|
|
1284
1290
|
d(detaching) {
|
|
1285
1291
|
if (detaching) detach(div1);
|
|
1286
1292
|
}
|
|
@@ -1289,7 +1295,7 @@ function create_if_block$8(ctx) {
|
|
|
1289
1295
|
|
|
1290
1296
|
function create_fragment$l(ctx) {
|
|
1291
1297
|
let if_block_anchor;
|
|
1292
|
-
let if_block = /*northRad*/ ctx[
|
|
1298
|
+
let if_block = /*northRad*/ ctx[1] && create_if_block$8(ctx);
|
|
1293
1299
|
|
|
1294
1300
|
return {
|
|
1295
1301
|
c() {
|
|
@@ -1301,7 +1307,7 @@ function create_fragment$l(ctx) {
|
|
|
1301
1307
|
insert(target, if_block_anchor, anchor);
|
|
1302
1308
|
},
|
|
1303
1309
|
p(ctx, [dirty]) {
|
|
1304
|
-
if (/*northRad*/ ctx[
|
|
1310
|
+
if (/*northRad*/ ctx[1]) if_block.p(ctx, dirty);
|
|
1305
1311
|
},
|
|
1306
1312
|
i: noop,
|
|
1307
1313
|
o: noop,
|
|
@@ -1318,21 +1324,23 @@ function rad2Deg(rad) {
|
|
|
1318
1324
|
|
|
1319
1325
|
function instance$l($$self, $$props, $$invalidate) {
|
|
1320
1326
|
let { floorplanData } = $$props;
|
|
1327
|
+
let { northDesc } = $$props;
|
|
1321
1328
|
const northRad = floorplanData.entrance?.northRad;
|
|
1322
1329
|
const rotate = !northRad ? 0 : rad2Deg(northRad);
|
|
1323
1330
|
const compassTransformStyle = `translateX(-50%) translateZ(10px) rotate(${-rotate + 90}deg)`;
|
|
1324
1331
|
|
|
1325
1332
|
$$self.$$set = $$props => {
|
|
1326
|
-
if ('floorplanData' in $$props) $$invalidate(
|
|
1333
|
+
if ('floorplanData' in $$props) $$invalidate(3, floorplanData = $$props.floorplanData);
|
|
1334
|
+
if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
|
|
1327
1335
|
};
|
|
1328
1336
|
|
|
1329
|
-
return [northRad, compassTransformStyle, floorplanData];
|
|
1337
|
+
return [northDesc, northRad, compassTransformStyle, floorplanData];
|
|
1330
1338
|
}
|
|
1331
1339
|
|
|
1332
1340
|
class Compass extends SvelteComponent {
|
|
1333
1341
|
constructor(options) {
|
|
1334
1342
|
super();
|
|
1335
|
-
init(this, options, instance$l, create_fragment$l, safe_not_equal, { floorplanData:
|
|
1343
|
+
init(this, options, instance$l, create_fragment$l, safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$g);
|
|
1336
1344
|
}
|
|
1337
1345
|
}
|
|
1338
1346
|
|
|
@@ -3849,7 +3857,7 @@ function add_css$5(target) {
|
|
|
3849
3857
|
append_styles(target, "svelte-177x2q7", ".floorplan-main.svelte-177x2q7{width:100%;height:100%}");
|
|
3850
3858
|
}
|
|
3851
3859
|
|
|
3852
|
-
// (
|
|
3860
|
+
// (24:0) {#if visible}
|
|
3853
3861
|
function create_if_block$2(ctx) {
|
|
3854
3862
|
let div;
|
|
3855
3863
|
let currentfloor;
|
|
@@ -3861,15 +3869,15 @@ function create_if_block$2(ctx) {
|
|
|
3861
3869
|
|
|
3862
3870
|
const currentfloor_spread_levels = [
|
|
3863
3871
|
{
|
|
3864
|
-
five: /*five*/ ctx[
|
|
3865
|
-
pxmm: /*pxmm*/ ctx[
|
|
3866
|
-
floorIndex: /*floorIndex*/ ctx[
|
|
3867
|
-
hoverEnable: /*hoverEnable*/ ctx[
|
|
3868
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3869
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
3870
|
-
roomLabelsEnable: /*roomLabelsEnable*/ ctx[
|
|
3871
|
-
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[
|
|
3872
|
-
onRoomHeightClick: /*onRoomHeightClick*/ ctx[
|
|
3872
|
+
five: /*five*/ ctx[2],
|
|
3873
|
+
pxmm: /*pxmm*/ ctx[1],
|
|
3874
|
+
floorIndex: /*floorIndex*/ ctx[6],
|
|
3875
|
+
hoverEnable: /*hoverEnable*/ ctx[7],
|
|
3876
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3877
|
+
getLabelElement: /*getLabelElement*/ ctx[15],
|
|
3878
|
+
roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
|
|
3879
|
+
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
|
|
3880
|
+
onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
|
|
3873
3881
|
}
|
|
3874
3882
|
];
|
|
3875
3883
|
|
|
@@ -3883,10 +3891,10 @@ function create_if_block$2(ctx) {
|
|
|
3883
3891
|
|
|
3884
3892
|
const camera_spread_levels = [
|
|
3885
3893
|
{
|
|
3886
|
-
panoIndex: /*panoIndex*/ ctx[
|
|
3887
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3888
|
-
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[
|
|
3889
|
-
cameraImageUrl: /*cameraImageUrl*/ ctx[
|
|
3894
|
+
panoIndex: /*panoIndex*/ ctx[5],
|
|
3895
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3896
|
+
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
|
|
3897
|
+
cameraImageUrl: /*cameraImageUrl*/ ctx[13]
|
|
3890
3898
|
}
|
|
3891
3899
|
];
|
|
3892
3900
|
|
|
@@ -3897,7 +3905,7 @@ function create_if_block$2(ctx) {
|
|
|
3897
3905
|
}
|
|
3898
3906
|
|
|
3899
3907
|
camera = new Camera$1({ props: camera_props });
|
|
3900
|
-
let if_block = /*compassEnable*/ ctx[
|
|
3908
|
+
let if_block = /*compassEnable*/ ctx[8] && create_if_block_1(ctx);
|
|
3901
3909
|
|
|
3902
3910
|
return {
|
|
3903
3911
|
c() {
|
|
@@ -3921,42 +3929,42 @@ function create_if_block$2(ctx) {
|
|
|
3921
3929
|
p(new_ctx, dirty) {
|
|
3922
3930
|
ctx = new_ctx;
|
|
3923
3931
|
|
|
3924
|
-
const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/
|
|
3932
|
+
const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/ 52934)
|
|
3925
3933
|
? get_spread_update(currentfloor_spread_levels, [
|
|
3926
3934
|
{
|
|
3927
|
-
five: /*five*/ ctx[
|
|
3928
|
-
pxmm: /*pxmm*/ ctx[
|
|
3929
|
-
floorIndex: /*floorIndex*/ ctx[
|
|
3930
|
-
hoverEnable: /*hoverEnable*/ ctx[
|
|
3931
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3932
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
3933
|
-
roomLabelsEnable: /*roomLabelsEnable*/ ctx[
|
|
3934
|
-
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[
|
|
3935
|
-
onRoomHeightClick: /*onRoomHeightClick*/ ctx[
|
|
3935
|
+
five: /*five*/ ctx[2],
|
|
3936
|
+
pxmm: /*pxmm*/ ctx[1],
|
|
3937
|
+
floorIndex: /*floorIndex*/ ctx[6],
|
|
3938
|
+
hoverEnable: /*hoverEnable*/ ctx[7],
|
|
3939
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3940
|
+
getLabelElement: /*getLabelElement*/ ctx[15],
|
|
3941
|
+
roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
|
|
3942
|
+
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
|
|
3943
|
+
onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
|
|
3936
3944
|
}
|
|
3937
3945
|
])
|
|
3938
3946
|
: {};
|
|
3939
3947
|
|
|
3940
3948
|
currentfloor.$set(currentfloor_changes);
|
|
3941
3949
|
|
|
3942
|
-
const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/
|
|
3950
|
+
const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/ 14368)
|
|
3943
3951
|
? get_spread_update(camera_spread_levels, [
|
|
3944
3952
|
{
|
|
3945
|
-
panoIndex: /*panoIndex*/ ctx[
|
|
3946
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3947
|
-
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[
|
|
3948
|
-
cameraImageUrl: /*cameraImageUrl*/ ctx[
|
|
3953
|
+
panoIndex: /*panoIndex*/ ctx[5],
|
|
3954
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3955
|
+
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
|
|
3956
|
+
cameraImageUrl: /*cameraImageUrl*/ ctx[13]
|
|
3949
3957
|
}
|
|
3950
3958
|
])
|
|
3951
3959
|
: {};
|
|
3952
3960
|
|
|
3953
3961
|
camera.$set(camera_changes);
|
|
3954
3962
|
|
|
3955
|
-
if (/*compassEnable*/ ctx[
|
|
3963
|
+
if (/*compassEnable*/ ctx[8]) {
|
|
3956
3964
|
if (if_block) {
|
|
3957
3965
|
if_block.p(ctx, dirty);
|
|
3958
3966
|
|
|
3959
|
-
if (dirty & /*compassEnable*/
|
|
3967
|
+
if (dirty & /*compassEnable*/ 256) {
|
|
3960
3968
|
transition_in(if_block, 1);
|
|
3961
3969
|
}
|
|
3962
3970
|
} else {
|
|
@@ -3984,7 +3992,7 @@ function create_if_block$2(ctx) {
|
|
|
3984
3992
|
if (!div_intro) {
|
|
3985
3993
|
add_render_callback(() => {
|
|
3986
3994
|
div_intro = create_in_transition(div, fade, {
|
|
3987
|
-
duration: /*duration*/ ctx[
|
|
3995
|
+
duration: /*duration*/ ctx[3],
|
|
3988
3996
|
easing: linear
|
|
3989
3997
|
});
|
|
3990
3998
|
|
|
@@ -4009,13 +4017,16 @@ function create_if_block$2(ctx) {
|
|
|
4009
4017
|
};
|
|
4010
4018
|
}
|
|
4011
4019
|
|
|
4012
|
-
// (
|
|
4020
|
+
// (40:4) {#if compassEnable}
|
|
4013
4021
|
function create_if_block_1(ctx) {
|
|
4014
4022
|
let compass;
|
|
4015
4023
|
let current;
|
|
4016
4024
|
|
|
4017
4025
|
compass = new Compass({
|
|
4018
|
-
props: {
|
|
4026
|
+
props: {
|
|
4027
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
4028
|
+
northDesc: /*northDesc*/ ctx[0]
|
|
4029
|
+
}
|
|
4019
4030
|
});
|
|
4020
4031
|
|
|
4021
4032
|
return {
|
|
@@ -4028,7 +4039,8 @@ function create_if_block_1(ctx) {
|
|
|
4028
4039
|
},
|
|
4029
4040
|
p(ctx, dirty) {
|
|
4030
4041
|
const compass_changes = {};
|
|
4031
|
-
if (dirty & /*floorplanData*/
|
|
4042
|
+
if (dirty & /*floorplanData*/ 2048) compass_changes.floorplanData = /*floorplanData*/ ctx[11];
|
|
4043
|
+
if (dirty & /*northDesc*/ 1) compass_changes.northDesc = /*northDesc*/ ctx[0];
|
|
4032
4044
|
compass.$set(compass_changes);
|
|
4033
4045
|
},
|
|
4034
4046
|
i(local) {
|
|
@@ -4049,7 +4061,7 @@ function create_if_block_1(ctx) {
|
|
|
4049
4061
|
function create_fragment$6(ctx) {
|
|
4050
4062
|
let if_block_anchor;
|
|
4051
4063
|
let current;
|
|
4052
|
-
let if_block = /*visible*/ ctx[
|
|
4064
|
+
let if_block = /*visible*/ ctx[4] && create_if_block$2(ctx);
|
|
4053
4065
|
|
|
4054
4066
|
return {
|
|
4055
4067
|
c() {
|
|
@@ -4062,11 +4074,11 @@ function create_fragment$6(ctx) {
|
|
|
4062
4074
|
current = true;
|
|
4063
4075
|
},
|
|
4064
4076
|
p(ctx, [dirty]) {
|
|
4065
|
-
if (/*visible*/ ctx[
|
|
4077
|
+
if (/*visible*/ ctx[4]) {
|
|
4066
4078
|
if (if_block) {
|
|
4067
4079
|
if_block.p(ctx, dirty);
|
|
4068
4080
|
|
|
4069
|
-
if (dirty & /*visible*/
|
|
4081
|
+
if (dirty & /*visible*/ 16) {
|
|
4070
4082
|
transition_in(if_block, 1);
|
|
4071
4083
|
}
|
|
4072
4084
|
} else {
|
|
@@ -4102,6 +4114,7 @@ function create_fragment$6(ctx) {
|
|
|
4102
4114
|
}
|
|
4103
4115
|
|
|
4104
4116
|
function instance$6($$self, $$props, $$invalidate) {
|
|
4117
|
+
let { northDesc } = $$props;
|
|
4105
4118
|
let { pxmm } = $$props;
|
|
4106
4119
|
let { five } = $$props;
|
|
4107
4120
|
let { duration = 0 } = $$props;
|
|
@@ -4119,24 +4132,26 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
4119
4132
|
let { getLabelElement } = $$props;
|
|
4120
4133
|
|
|
4121
4134
|
$$self.$$set = $$props => {
|
|
4122
|
-
if ('
|
|
4123
|
-
if ('
|
|
4124
|
-
if ('
|
|
4125
|
-
if ('
|
|
4126
|
-
if ('
|
|
4127
|
-
if ('
|
|
4128
|
-
if ('
|
|
4129
|
-
if ('
|
|
4130
|
-
if ('
|
|
4131
|
-
if ('
|
|
4132
|
-
if ('
|
|
4133
|
-
if ('
|
|
4134
|
-
if ('
|
|
4135
|
-
if ('
|
|
4136
|
-
if ('
|
|
4135
|
+
if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
|
|
4136
|
+
if ('pxmm' in $$props) $$invalidate(1, pxmm = $$props.pxmm);
|
|
4137
|
+
if ('five' in $$props) $$invalidate(2, five = $$props.five);
|
|
4138
|
+
if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
|
|
4139
|
+
if ('visible' in $$props) $$invalidate(4, visible = $$props.visible);
|
|
4140
|
+
if ('panoIndex' in $$props) $$invalidate(5, panoIndex = $$props.panoIndex);
|
|
4141
|
+
if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
|
|
4142
|
+
if ('hoverEnable' in $$props) $$invalidate(7, hoverEnable = $$props.hoverEnable);
|
|
4143
|
+
if ('compassEnable' in $$props) $$invalidate(8, compassEnable = $$props.compassEnable);
|
|
4144
|
+
if ('roomLabelsEnable' in $$props) $$invalidate(9, roomLabelsEnable = $$props.roomLabelsEnable);
|
|
4145
|
+
if ('ruleLabelsEnable' in $$props) $$invalidate(10, ruleLabelsEnable = $$props.ruleLabelsEnable);
|
|
4146
|
+
if ('floorplanData' in $$props) $$invalidate(11, floorplanData = $$props.floorplanData);
|
|
4147
|
+
if ('lastPanoramaLongitude' in $$props) $$invalidate(12, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
|
|
4148
|
+
if ('cameraImageUrl' in $$props) $$invalidate(13, cameraImageUrl = $$props.cameraImageUrl);
|
|
4149
|
+
if ('onRoomHeightClick' in $$props) $$invalidate(14, onRoomHeightClick = $$props.onRoomHeightClick);
|
|
4150
|
+
if ('getLabelElement' in $$props) $$invalidate(15, getLabelElement = $$props.getLabelElement);
|
|
4137
4151
|
};
|
|
4138
4152
|
|
|
4139
4153
|
return [
|
|
4154
|
+
northDesc,
|
|
4140
4155
|
pxmm,
|
|
4141
4156
|
five,
|
|
4142
4157
|
duration,
|
|
@@ -4166,21 +4181,22 @@ class Main$1 extends SvelteComponent {
|
|
|
4166
4181
|
create_fragment$6,
|
|
4167
4182
|
safe_not_equal,
|
|
4168
4183
|
{
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
+
northDesc: 0,
|
|
4185
|
+
pxmm: 1,
|
|
4186
|
+
five: 2,
|
|
4187
|
+
duration: 3,
|
|
4188
|
+
visible: 4,
|
|
4189
|
+
panoIndex: 5,
|
|
4190
|
+
floorIndex: 6,
|
|
4191
|
+
hoverEnable: 7,
|
|
4192
|
+
compassEnable: 8,
|
|
4193
|
+
roomLabelsEnable: 9,
|
|
4194
|
+
ruleLabelsEnable: 10,
|
|
4195
|
+
floorplanData: 11,
|
|
4196
|
+
lastPanoramaLongitude: 12,
|
|
4197
|
+
cameraImageUrl: 13,
|
|
4198
|
+
onRoomHeightClick: 14,
|
|
4199
|
+
getLabelElement: 15
|
|
4184
4200
|
},
|
|
4185
4201
|
add_css$5
|
|
4186
4202
|
);
|
|
@@ -4356,9 +4372,10 @@ class TopviewFloorplanPluginController {
|
|
|
4356
4372
|
return;
|
|
4357
4373
|
if (this.size.width === 0)
|
|
4358
4374
|
return;
|
|
4359
|
-
const { getLabelElement, cameraImageUrl, preventRoomClick, hoverEnable, compassEnable, roomLabelsEnable, ruleLabelsEnable, } = this.configs;
|
|
4375
|
+
const { northDesc, getLabelElement, cameraImageUrl, preventRoomClick, hoverEnable, compassEnable, roomLabelsEnable, ruleLabelsEnable, } = this.configs;
|
|
4360
4376
|
const handleClick = preventRoomClick ? () => false : undefined;
|
|
4361
4377
|
const props = {
|
|
4378
|
+
northDesc: northDesc ?? '北',
|
|
4362
4379
|
five: this.five,
|
|
4363
4380
|
pxmm: this.pxmm,
|
|
4364
4381
|
cameraImageUrl,
|
|
@@ -5804,8 +5821,9 @@ class ModelFloorplanPluginController {
|
|
|
5804
5821
|
return;
|
|
5805
5822
|
if (this.size.width === 0)
|
|
5806
5823
|
return;
|
|
5807
|
-
const { hoverEnable, cameraImageUrl, getLabelElement, roomLabelsEnable, compassEnable, ruleLabelsEnable } = this.configs;
|
|
5824
|
+
const { northDesc, hoverEnable, cameraImageUrl, getLabelElement, roomLabelsEnable, compassEnable, ruleLabelsEnable } = this.configs;
|
|
5808
5825
|
const props = {
|
|
5826
|
+
northDesc: northDesc ?? '北',
|
|
5809
5827
|
five: this.five,
|
|
5810
5828
|
pxmm: this.pxmm,
|
|
5811
5829
|
cameraImageUrl,
|