@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.js
CHANGED
|
@@ -607,7 +607,7 @@ function get_each_context$7(ctx, list, i) {
|
|
|
607
607
|
return child_ctx;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
// (
|
|
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
|
-
// (
|
|
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
|
-
|
|
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[
|
|
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[
|
|
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[
|
|
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(
|
|
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:
|
|
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
|
-
// (
|
|
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[
|
|
3891
|
-
pxmm: /*pxmm*/ ctx[
|
|
3892
|
-
floorIndex: /*floorIndex*/ ctx[
|
|
3893
|
-
hoverEnable: /*hoverEnable*/ ctx[
|
|
3894
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3895
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
3896
|
-
roomLabelsEnable: /*roomLabelsEnable*/ ctx[
|
|
3897
|
-
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[
|
|
3898
|
-
onRoomHeightClick: /*onRoomHeightClick*/ ctx[
|
|
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[
|
|
3913
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3914
|
-
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[
|
|
3915
|
-
cameraImageUrl: /*cameraImageUrl*/ ctx[
|
|
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[
|
|
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*/
|
|
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[
|
|
3954
|
-
pxmm: /*pxmm*/ ctx[
|
|
3955
|
-
floorIndex: /*floorIndex*/ ctx[
|
|
3956
|
-
hoverEnable: /*hoverEnable*/ ctx[
|
|
3957
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3958
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
3959
|
-
roomLabelsEnable: /*roomLabelsEnable*/ ctx[
|
|
3960
|
-
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[
|
|
3961
|
-
onRoomHeightClick: /*onRoomHeightClick*/ ctx[
|
|
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*/
|
|
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[
|
|
3972
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3973
|
-
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[
|
|
3974
|
-
cameraImageUrl: /*cameraImageUrl*/ ctx[
|
|
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[
|
|
3989
|
+
if (/*compassEnable*/ ctx[8]) {
|
|
3982
3990
|
if (if_block) {
|
|
3983
3991
|
if_block.p(ctx, dirty);
|
|
3984
3992
|
|
|
3985
|
-
if (dirty & /*compassEnable*/
|
|
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[
|
|
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
|
-
// (
|
|
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: {
|
|
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*/
|
|
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[
|
|
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[
|
|
4103
|
+
if (/*visible*/ ctx[4]) {
|
|
4092
4104
|
if (if_block) {
|
|
4093
4105
|
if_block.p(ctx, dirty);
|
|
4094
4106
|
|
|
4095
|
-
if (dirty & /*visible*/
|
|
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 ('
|
|
4149
|
-
if ('
|
|
4150
|
-
if ('
|
|
4151
|
-
if ('
|
|
4152
|
-
if ('
|
|
4153
|
-
if ('
|
|
4154
|
-
if ('
|
|
4155
|
-
if ('
|
|
4156
|
-
if ('
|
|
4157
|
-
if ('
|
|
4158
|
-
if ('
|
|
4159
|
-
if ('
|
|
4160
|
-
if ('
|
|
4161
|
-
if ('
|
|
4162
|
-
if ('
|
|
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
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
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,
|