@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.umd.js
CHANGED
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
return child_ctx;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
|
-
// (
|
|
600
|
+
// (70:2) {#each roomLabels as roomLableItem (roomLableItem.id)}
|
|
601
601
|
function create_each_block$7(key_1, ctx) {
|
|
602
602
|
let first;
|
|
603
603
|
let roomlabelitem;
|
|
@@ -780,9 +780,11 @@
|
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
five.on('cameraUpdate', onFiveCameraUpdate);
|
|
783
|
+
five.on('modelShownFloorChange', onFiveCameraUpdate);
|
|
783
784
|
|
|
784
785
|
svelte.onDestroy(() => {
|
|
785
786
|
five.off('cameraUpdate', onFiveCameraUpdate);
|
|
787
|
+
five.off('modelShownFloorChange', onFiveCameraUpdate);
|
|
786
788
|
});
|
|
787
789
|
|
|
788
790
|
svelte.onMount(() => {
|
|
@@ -1270,12 +1272,13 @@
|
|
|
1270
1272
|
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}");
|
|
1271
1273
|
}
|
|
1272
1274
|
|
|
1273
|
-
// (
|
|
1275
|
+
// (12:0) {#if northRad}
|
|
1274
1276
|
function create_if_block$8(ctx) {
|
|
1275
1277
|
let div1;
|
|
1276
1278
|
let div0;
|
|
1277
1279
|
let t0;
|
|
1278
1280
|
let span;
|
|
1281
|
+
let t1;
|
|
1279
1282
|
|
|
1280
1283
|
return {
|
|
1281
1284
|
c() {
|
|
@@ -1283,20 +1286,23 @@
|
|
|
1283
1286
|
div0 = internal.element("div");
|
|
1284
1287
|
t0 = internal.space();
|
|
1285
1288
|
span = internal.element("span");
|
|
1286
|
-
|
|
1289
|
+
t1 = internal.text(/*northDesc*/ ctx[0]);
|
|
1287
1290
|
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-5l80pv");
|
|
1288
1291
|
internal.set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
|
|
1289
1292
|
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-5l80pv");
|
|
1290
1293
|
internal.attr(div1, "class", "floorplan-plugin__compass svelte-5l80pv");
|
|
1291
|
-
internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[
|
|
1294
|
+
internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
|
|
1292
1295
|
},
|
|
1293
1296
|
m(target, anchor) {
|
|
1294
1297
|
internal.insert(target, div1, anchor);
|
|
1295
1298
|
internal.append(div1, div0);
|
|
1296
1299
|
internal.append(div1, t0);
|
|
1297
1300
|
internal.append(div1, span);
|
|
1301
|
+
internal.append(span, t1);
|
|
1302
|
+
},
|
|
1303
|
+
p(ctx, dirty) {
|
|
1304
|
+
if (dirty & /*northDesc*/ 1) internal.set_data(t1, /*northDesc*/ ctx[0]);
|
|
1298
1305
|
},
|
|
1299
|
-
p: internal.noop,
|
|
1300
1306
|
d(detaching) {
|
|
1301
1307
|
if (detaching) internal.detach(div1);
|
|
1302
1308
|
}
|
|
@@ -1305,7 +1311,7 @@
|
|
|
1305
1311
|
|
|
1306
1312
|
function create_fragment$l(ctx) {
|
|
1307
1313
|
let if_block_anchor;
|
|
1308
|
-
let if_block = /*northRad*/ ctx[
|
|
1314
|
+
let if_block = /*northRad*/ ctx[1] && create_if_block$8(ctx);
|
|
1309
1315
|
|
|
1310
1316
|
return {
|
|
1311
1317
|
c() {
|
|
@@ -1317,7 +1323,7 @@
|
|
|
1317
1323
|
internal.insert(target, if_block_anchor, anchor);
|
|
1318
1324
|
},
|
|
1319
1325
|
p(ctx, [dirty]) {
|
|
1320
|
-
if (/*northRad*/ ctx[
|
|
1326
|
+
if (/*northRad*/ ctx[1]) if_block.p(ctx, dirty);
|
|
1321
1327
|
},
|
|
1322
1328
|
i: internal.noop,
|
|
1323
1329
|
o: internal.noop,
|
|
@@ -1334,21 +1340,23 @@
|
|
|
1334
1340
|
|
|
1335
1341
|
function instance$l($$self, $$props, $$invalidate) {
|
|
1336
1342
|
let { floorplanData } = $$props;
|
|
1343
|
+
let { northDesc } = $$props;
|
|
1337
1344
|
const northRad = floorplanData.entrance?.northRad;
|
|
1338
1345
|
const rotate = !northRad ? 0 : rad2Deg(northRad);
|
|
1339
1346
|
const compassTransformStyle = `translateX(-50%) translateZ(10px) rotate(${-rotate + 90}deg)`;
|
|
1340
1347
|
|
|
1341
1348
|
$$self.$$set = $$props => {
|
|
1342
|
-
if ('floorplanData' in $$props) $$invalidate(
|
|
1349
|
+
if ('floorplanData' in $$props) $$invalidate(3, floorplanData = $$props.floorplanData);
|
|
1350
|
+
if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
|
|
1343
1351
|
};
|
|
1344
1352
|
|
|
1345
|
-
return [northRad, compassTransformStyle, floorplanData];
|
|
1353
|
+
return [northDesc, northRad, compassTransformStyle, floorplanData];
|
|
1346
1354
|
}
|
|
1347
1355
|
|
|
1348
1356
|
class Compass extends internal.SvelteComponent {
|
|
1349
1357
|
constructor(options) {
|
|
1350
1358
|
super();
|
|
1351
|
-
internal.init(this, options, instance$l, create_fragment$l, internal.safe_not_equal, { floorplanData:
|
|
1359
|
+
internal.init(this, options, instance$l, create_fragment$l, internal.safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$g);
|
|
1352
1360
|
}
|
|
1353
1361
|
}
|
|
1354
1362
|
|
|
@@ -3865,7 +3873,7 @@
|
|
|
3865
3873
|
internal.append_styles(target, "svelte-177x2q7", ".floorplan-main.svelte-177x2q7{width:100%;height:100%}");
|
|
3866
3874
|
}
|
|
3867
3875
|
|
|
3868
|
-
// (
|
|
3876
|
+
// (24:0) {#if visible}
|
|
3869
3877
|
function create_if_block$2(ctx) {
|
|
3870
3878
|
let div;
|
|
3871
3879
|
let currentfloor;
|
|
@@ -3877,15 +3885,15 @@
|
|
|
3877
3885
|
|
|
3878
3886
|
const currentfloor_spread_levels = [
|
|
3879
3887
|
{
|
|
3880
|
-
five: /*five*/ ctx[
|
|
3881
|
-
pxmm: /*pxmm*/ ctx[
|
|
3882
|
-
floorIndex: /*floorIndex*/ ctx[
|
|
3883
|
-
hoverEnable: /*hoverEnable*/ ctx[
|
|
3884
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3885
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
3886
|
-
roomLabelsEnable: /*roomLabelsEnable*/ ctx[
|
|
3887
|
-
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[
|
|
3888
|
-
onRoomHeightClick: /*onRoomHeightClick*/ ctx[
|
|
3888
|
+
five: /*five*/ ctx[2],
|
|
3889
|
+
pxmm: /*pxmm*/ ctx[1],
|
|
3890
|
+
floorIndex: /*floorIndex*/ ctx[6],
|
|
3891
|
+
hoverEnable: /*hoverEnable*/ ctx[7],
|
|
3892
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3893
|
+
getLabelElement: /*getLabelElement*/ ctx[15],
|
|
3894
|
+
roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
|
|
3895
|
+
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
|
|
3896
|
+
onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
|
|
3889
3897
|
}
|
|
3890
3898
|
];
|
|
3891
3899
|
|
|
@@ -3899,10 +3907,10 @@
|
|
|
3899
3907
|
|
|
3900
3908
|
const camera_spread_levels = [
|
|
3901
3909
|
{
|
|
3902
|
-
panoIndex: /*panoIndex*/ ctx[
|
|
3903
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3904
|
-
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[
|
|
3905
|
-
cameraImageUrl: /*cameraImageUrl*/ ctx[
|
|
3910
|
+
panoIndex: /*panoIndex*/ ctx[5],
|
|
3911
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3912
|
+
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
|
|
3913
|
+
cameraImageUrl: /*cameraImageUrl*/ ctx[13]
|
|
3906
3914
|
}
|
|
3907
3915
|
];
|
|
3908
3916
|
|
|
@@ -3913,7 +3921,7 @@
|
|
|
3913
3921
|
}
|
|
3914
3922
|
|
|
3915
3923
|
camera = new Camera$1({ props: camera_props });
|
|
3916
|
-
let if_block = /*compassEnable*/ ctx[
|
|
3924
|
+
let if_block = /*compassEnable*/ ctx[8] && create_if_block_1(ctx);
|
|
3917
3925
|
|
|
3918
3926
|
return {
|
|
3919
3927
|
c() {
|
|
@@ -3937,42 +3945,42 @@
|
|
|
3937
3945
|
p(new_ctx, dirty) {
|
|
3938
3946
|
ctx = new_ctx;
|
|
3939
3947
|
|
|
3940
|
-
const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/
|
|
3948
|
+
const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/ 52934)
|
|
3941
3949
|
? internal.get_spread_update(currentfloor_spread_levels, [
|
|
3942
3950
|
{
|
|
3943
|
-
five: /*five*/ ctx[
|
|
3944
|
-
pxmm: /*pxmm*/ ctx[
|
|
3945
|
-
floorIndex: /*floorIndex*/ ctx[
|
|
3946
|
-
hoverEnable: /*hoverEnable*/ ctx[
|
|
3947
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3948
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
3949
|
-
roomLabelsEnable: /*roomLabelsEnable*/ ctx[
|
|
3950
|
-
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[
|
|
3951
|
-
onRoomHeightClick: /*onRoomHeightClick*/ ctx[
|
|
3951
|
+
five: /*five*/ ctx[2],
|
|
3952
|
+
pxmm: /*pxmm*/ ctx[1],
|
|
3953
|
+
floorIndex: /*floorIndex*/ ctx[6],
|
|
3954
|
+
hoverEnable: /*hoverEnable*/ ctx[7],
|
|
3955
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3956
|
+
getLabelElement: /*getLabelElement*/ ctx[15],
|
|
3957
|
+
roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
|
|
3958
|
+
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
|
|
3959
|
+
onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
|
|
3952
3960
|
}
|
|
3953
3961
|
])
|
|
3954
3962
|
: {};
|
|
3955
3963
|
|
|
3956
3964
|
currentfloor.$set(currentfloor_changes);
|
|
3957
3965
|
|
|
3958
|
-
const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/
|
|
3966
|
+
const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/ 14368)
|
|
3959
3967
|
? internal.get_spread_update(camera_spread_levels, [
|
|
3960
3968
|
{
|
|
3961
|
-
panoIndex: /*panoIndex*/ ctx[
|
|
3962
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3963
|
-
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[
|
|
3964
|
-
cameraImageUrl: /*cameraImageUrl*/ ctx[
|
|
3969
|
+
panoIndex: /*panoIndex*/ ctx[5],
|
|
3970
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3971
|
+
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
|
|
3972
|
+
cameraImageUrl: /*cameraImageUrl*/ ctx[13]
|
|
3965
3973
|
}
|
|
3966
3974
|
])
|
|
3967
3975
|
: {};
|
|
3968
3976
|
|
|
3969
3977
|
camera.$set(camera_changes);
|
|
3970
3978
|
|
|
3971
|
-
if (/*compassEnable*/ ctx[
|
|
3979
|
+
if (/*compassEnable*/ ctx[8]) {
|
|
3972
3980
|
if (if_block) {
|
|
3973
3981
|
if_block.p(ctx, dirty);
|
|
3974
3982
|
|
|
3975
|
-
if (dirty & /*compassEnable*/
|
|
3983
|
+
if (dirty & /*compassEnable*/ 256) {
|
|
3976
3984
|
internal.transition_in(if_block, 1);
|
|
3977
3985
|
}
|
|
3978
3986
|
} else {
|
|
@@ -4000,7 +4008,7 @@
|
|
|
4000
4008
|
if (!div_intro) {
|
|
4001
4009
|
internal.add_render_callback(() => {
|
|
4002
4010
|
div_intro = internal.create_in_transition(div, transition.fade, {
|
|
4003
|
-
duration: /*duration*/ ctx[
|
|
4011
|
+
duration: /*duration*/ ctx[3],
|
|
4004
4012
|
easing: easing.linear
|
|
4005
4013
|
});
|
|
4006
4014
|
|
|
@@ -4025,13 +4033,16 @@
|
|
|
4025
4033
|
};
|
|
4026
4034
|
}
|
|
4027
4035
|
|
|
4028
|
-
// (
|
|
4036
|
+
// (40:4) {#if compassEnable}
|
|
4029
4037
|
function create_if_block_1(ctx) {
|
|
4030
4038
|
let compass;
|
|
4031
4039
|
let current;
|
|
4032
4040
|
|
|
4033
4041
|
compass = new Compass({
|
|
4034
|
-
props: {
|
|
4042
|
+
props: {
|
|
4043
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
4044
|
+
northDesc: /*northDesc*/ ctx[0]
|
|
4045
|
+
}
|
|
4035
4046
|
});
|
|
4036
4047
|
|
|
4037
4048
|
return {
|
|
@@ -4044,7 +4055,8 @@
|
|
|
4044
4055
|
},
|
|
4045
4056
|
p(ctx, dirty) {
|
|
4046
4057
|
const compass_changes = {};
|
|
4047
|
-
if (dirty & /*floorplanData*/
|
|
4058
|
+
if (dirty & /*floorplanData*/ 2048) compass_changes.floorplanData = /*floorplanData*/ ctx[11];
|
|
4059
|
+
if (dirty & /*northDesc*/ 1) compass_changes.northDesc = /*northDesc*/ ctx[0];
|
|
4048
4060
|
compass.$set(compass_changes);
|
|
4049
4061
|
},
|
|
4050
4062
|
i(local) {
|
|
@@ -4065,7 +4077,7 @@
|
|
|
4065
4077
|
function create_fragment$6(ctx) {
|
|
4066
4078
|
let if_block_anchor;
|
|
4067
4079
|
let current;
|
|
4068
|
-
let if_block = /*visible*/ ctx[
|
|
4080
|
+
let if_block = /*visible*/ ctx[4] && create_if_block$2(ctx);
|
|
4069
4081
|
|
|
4070
4082
|
return {
|
|
4071
4083
|
c() {
|
|
@@ -4078,11 +4090,11 @@
|
|
|
4078
4090
|
current = true;
|
|
4079
4091
|
},
|
|
4080
4092
|
p(ctx, [dirty]) {
|
|
4081
|
-
if (/*visible*/ ctx[
|
|
4093
|
+
if (/*visible*/ ctx[4]) {
|
|
4082
4094
|
if (if_block) {
|
|
4083
4095
|
if_block.p(ctx, dirty);
|
|
4084
4096
|
|
|
4085
|
-
if (dirty & /*visible*/
|
|
4097
|
+
if (dirty & /*visible*/ 16) {
|
|
4086
4098
|
internal.transition_in(if_block, 1);
|
|
4087
4099
|
}
|
|
4088
4100
|
} else {
|
|
@@ -4118,6 +4130,7 @@
|
|
|
4118
4130
|
}
|
|
4119
4131
|
|
|
4120
4132
|
function instance$6($$self, $$props, $$invalidate) {
|
|
4133
|
+
let { northDesc } = $$props;
|
|
4121
4134
|
let { pxmm } = $$props;
|
|
4122
4135
|
let { five } = $$props;
|
|
4123
4136
|
let { duration = 0 } = $$props;
|
|
@@ -4135,24 +4148,26 @@
|
|
|
4135
4148
|
let { getLabelElement } = $$props;
|
|
4136
4149
|
|
|
4137
4150
|
$$self.$$set = $$props => {
|
|
4138
|
-
if ('
|
|
4139
|
-
if ('
|
|
4140
|
-
if ('
|
|
4141
|
-
if ('
|
|
4142
|
-
if ('
|
|
4143
|
-
if ('
|
|
4144
|
-
if ('
|
|
4145
|
-
if ('
|
|
4146
|
-
if ('
|
|
4147
|
-
if ('
|
|
4148
|
-
if ('
|
|
4149
|
-
if ('
|
|
4150
|
-
if ('
|
|
4151
|
-
if ('
|
|
4152
|
-
if ('
|
|
4151
|
+
if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
|
|
4152
|
+
if ('pxmm' in $$props) $$invalidate(1, pxmm = $$props.pxmm);
|
|
4153
|
+
if ('five' in $$props) $$invalidate(2, five = $$props.five);
|
|
4154
|
+
if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
|
|
4155
|
+
if ('visible' in $$props) $$invalidate(4, visible = $$props.visible);
|
|
4156
|
+
if ('panoIndex' in $$props) $$invalidate(5, panoIndex = $$props.panoIndex);
|
|
4157
|
+
if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
|
|
4158
|
+
if ('hoverEnable' in $$props) $$invalidate(7, hoverEnable = $$props.hoverEnable);
|
|
4159
|
+
if ('compassEnable' in $$props) $$invalidate(8, compassEnable = $$props.compassEnable);
|
|
4160
|
+
if ('roomLabelsEnable' in $$props) $$invalidate(9, roomLabelsEnable = $$props.roomLabelsEnable);
|
|
4161
|
+
if ('ruleLabelsEnable' in $$props) $$invalidate(10, ruleLabelsEnable = $$props.ruleLabelsEnable);
|
|
4162
|
+
if ('floorplanData' in $$props) $$invalidate(11, floorplanData = $$props.floorplanData);
|
|
4163
|
+
if ('lastPanoramaLongitude' in $$props) $$invalidate(12, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
|
|
4164
|
+
if ('cameraImageUrl' in $$props) $$invalidate(13, cameraImageUrl = $$props.cameraImageUrl);
|
|
4165
|
+
if ('onRoomHeightClick' in $$props) $$invalidate(14, onRoomHeightClick = $$props.onRoomHeightClick);
|
|
4166
|
+
if ('getLabelElement' in $$props) $$invalidate(15, getLabelElement = $$props.getLabelElement);
|
|
4153
4167
|
};
|
|
4154
4168
|
|
|
4155
4169
|
return [
|
|
4170
|
+
northDesc,
|
|
4156
4171
|
pxmm,
|
|
4157
4172
|
five,
|
|
4158
4173
|
duration,
|
|
@@ -4182,21 +4197,22 @@
|
|
|
4182
4197
|
create_fragment$6,
|
|
4183
4198
|
internal.safe_not_equal,
|
|
4184
4199
|
{
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
+
northDesc: 0,
|
|
4201
|
+
pxmm: 1,
|
|
4202
|
+
five: 2,
|
|
4203
|
+
duration: 3,
|
|
4204
|
+
visible: 4,
|
|
4205
|
+
panoIndex: 5,
|
|
4206
|
+
floorIndex: 6,
|
|
4207
|
+
hoverEnable: 7,
|
|
4208
|
+
compassEnable: 8,
|
|
4209
|
+
roomLabelsEnable: 9,
|
|
4210
|
+
ruleLabelsEnable: 10,
|
|
4211
|
+
floorplanData: 11,
|
|
4212
|
+
lastPanoramaLongitude: 12,
|
|
4213
|
+
cameraImageUrl: 13,
|
|
4214
|
+
onRoomHeightClick: 14,
|
|
4215
|
+
getLabelElement: 15
|
|
4200
4216
|
},
|
|
4201
4217
|
add_css$5
|
|
4202
4218
|
);
|
|
@@ -4372,9 +4388,10 @@
|
|
|
4372
4388
|
return;
|
|
4373
4389
|
if (this.size.width === 0)
|
|
4374
4390
|
return;
|
|
4375
|
-
const { getLabelElement, cameraImageUrl, preventRoomClick, hoverEnable, compassEnable, roomLabelsEnable, ruleLabelsEnable, } = this.configs;
|
|
4391
|
+
const { northDesc, getLabelElement, cameraImageUrl, preventRoomClick, hoverEnable, compassEnable, roomLabelsEnable, ruleLabelsEnable, } = this.configs;
|
|
4376
4392
|
const handleClick = preventRoomClick ? () => false : undefined;
|
|
4377
4393
|
const props = {
|
|
4394
|
+
northDesc: northDesc ?? '北',
|
|
4378
4395
|
five: this.five,
|
|
4379
4396
|
pxmm: this.pxmm,
|
|
4380
4397
|
cameraImageUrl,
|
|
@@ -5820,8 +5837,9 @@
|
|
|
5820
5837
|
return;
|
|
5821
5838
|
if (this.size.width === 0)
|
|
5822
5839
|
return;
|
|
5823
|
-
const { hoverEnable, cameraImageUrl, getLabelElement, roomLabelsEnable, compassEnable, ruleLabelsEnable } = this.configs;
|
|
5840
|
+
const { northDesc, hoverEnable, cameraImageUrl, getLabelElement, roomLabelsEnable, compassEnable, ruleLabelsEnable } = this.configs;
|
|
5824
5841
|
const props = {
|
|
5842
|
+
northDesc: northDesc ?? '北',
|
|
5825
5843
|
five: this.five,
|
|
5826
5844
|
pxmm: this.pxmm,
|
|
5827
5845
|
cameraImageUrl,
|