@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
|
@@ -324,12 +324,13 @@ function add_css$b(target) {
|
|
|
324
324
|
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}");
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
// (
|
|
327
|
+
// (12:0) {#if northRad}
|
|
328
328
|
function create_if_block$6(ctx) {
|
|
329
329
|
let div1;
|
|
330
330
|
let div0;
|
|
331
331
|
let t0;
|
|
332
332
|
let span;
|
|
333
|
+
let t1;
|
|
333
334
|
|
|
334
335
|
return {
|
|
335
336
|
c() {
|
|
@@ -337,20 +338,23 @@ function create_if_block$6(ctx) {
|
|
|
337
338
|
div0 = internal.element("div");
|
|
338
339
|
t0 = internal.space();
|
|
339
340
|
span = internal.element("span");
|
|
340
|
-
|
|
341
|
+
t1 = internal.text(/*northDesc*/ ctx[0]);
|
|
341
342
|
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-5l80pv");
|
|
342
343
|
internal.set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
|
|
343
344
|
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-5l80pv");
|
|
344
345
|
internal.attr(div1, "class", "floorplan-plugin__compass svelte-5l80pv");
|
|
345
|
-
internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[
|
|
346
|
+
internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
|
|
346
347
|
},
|
|
347
348
|
m(target, anchor) {
|
|
348
349
|
internal.insert(target, div1, anchor);
|
|
349
350
|
internal.append(div1, div0);
|
|
350
351
|
internal.append(div1, t0);
|
|
351
352
|
internal.append(div1, span);
|
|
353
|
+
internal.append(span, t1);
|
|
354
|
+
},
|
|
355
|
+
p(ctx, dirty) {
|
|
356
|
+
if (dirty & /*northDesc*/ 1) internal.set_data(t1, /*northDesc*/ ctx[0]);
|
|
352
357
|
},
|
|
353
|
-
p: internal.noop,
|
|
354
358
|
d(detaching) {
|
|
355
359
|
if (detaching) internal.detach(div1);
|
|
356
360
|
}
|
|
@@ -359,7 +363,7 @@ function create_if_block$6(ctx) {
|
|
|
359
363
|
|
|
360
364
|
function create_fragment$f(ctx) {
|
|
361
365
|
let if_block_anchor;
|
|
362
|
-
let if_block = /*northRad*/ ctx[
|
|
366
|
+
let if_block = /*northRad*/ ctx[1] && create_if_block$6(ctx);
|
|
363
367
|
|
|
364
368
|
return {
|
|
365
369
|
c() {
|
|
@@ -371,7 +375,7 @@ function create_fragment$f(ctx) {
|
|
|
371
375
|
internal.insert(target, if_block_anchor, anchor);
|
|
372
376
|
},
|
|
373
377
|
p(ctx, [dirty]) {
|
|
374
|
-
if (/*northRad*/ ctx[
|
|
378
|
+
if (/*northRad*/ ctx[1]) if_block.p(ctx, dirty);
|
|
375
379
|
},
|
|
376
380
|
i: internal.noop,
|
|
377
381
|
o: internal.noop,
|
|
@@ -388,21 +392,23 @@ function rad2Deg(rad) {
|
|
|
388
392
|
|
|
389
393
|
function instance$f($$self, $$props, $$invalidate) {
|
|
390
394
|
let { floorplanData } = $$props;
|
|
395
|
+
let { northDesc } = $$props;
|
|
391
396
|
const northRad = floorplanData.entrance?.northRad;
|
|
392
397
|
const rotate = !northRad ? 0 : rad2Deg(northRad);
|
|
393
398
|
const compassTransformStyle = `translateX(-50%) translateZ(10px) rotate(${-rotate + 90}deg)`;
|
|
394
399
|
|
|
395
400
|
$$self.$$set = $$props => {
|
|
396
|
-
if ('floorplanData' in $$props) $$invalidate(
|
|
401
|
+
if ('floorplanData' in $$props) $$invalidate(3, floorplanData = $$props.floorplanData);
|
|
402
|
+
if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
|
|
397
403
|
};
|
|
398
404
|
|
|
399
|
-
return [northRad, compassTransformStyle, floorplanData];
|
|
405
|
+
return [northDesc, northRad, compassTransformStyle, floorplanData];
|
|
400
406
|
}
|
|
401
407
|
|
|
402
408
|
class Compass extends internal.SvelteComponent {
|
|
403
409
|
constructor(options) {
|
|
404
410
|
super();
|
|
405
|
-
internal.init(this, options, instance$f, create_fragment$f, internal.safe_not_equal, { floorplanData:
|
|
411
|
+
internal.init(this, options, instance$f, create_fragment$f, internal.safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$b);
|
|
406
412
|
}
|
|
407
413
|
}
|
|
408
414
|
|
|
@@ -2919,7 +2925,7 @@ function add_css(target) {
|
|
|
2919
2925
|
internal.append_styles(target, "svelte-177x2q7", ".floorplan-main.svelte-177x2q7{width:100%;height:100%}");
|
|
2920
2926
|
}
|
|
2921
2927
|
|
|
2922
|
-
// (
|
|
2928
|
+
// (24:0) {#if visible}
|
|
2923
2929
|
function create_if_block(ctx) {
|
|
2924
2930
|
let div;
|
|
2925
2931
|
let currentfloor;
|
|
@@ -2931,15 +2937,15 @@ function create_if_block(ctx) {
|
|
|
2931
2937
|
|
|
2932
2938
|
const currentfloor_spread_levels = [
|
|
2933
2939
|
{
|
|
2934
|
-
five: /*five*/ ctx[
|
|
2935
|
-
pxmm: /*pxmm*/ ctx[
|
|
2936
|
-
floorIndex: /*floorIndex*/ ctx[
|
|
2937
|
-
hoverEnable: /*hoverEnable*/ ctx[
|
|
2938
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
2939
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
2940
|
-
roomLabelsEnable: /*roomLabelsEnable*/ ctx[
|
|
2941
|
-
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[
|
|
2942
|
-
onRoomHeightClick: /*onRoomHeightClick*/ ctx[
|
|
2940
|
+
five: /*five*/ ctx[2],
|
|
2941
|
+
pxmm: /*pxmm*/ ctx[1],
|
|
2942
|
+
floorIndex: /*floorIndex*/ ctx[6],
|
|
2943
|
+
hoverEnable: /*hoverEnable*/ ctx[7],
|
|
2944
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
2945
|
+
getLabelElement: /*getLabelElement*/ ctx[15],
|
|
2946
|
+
roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
|
|
2947
|
+
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
|
|
2948
|
+
onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
|
|
2943
2949
|
}
|
|
2944
2950
|
];
|
|
2945
2951
|
|
|
@@ -2953,10 +2959,10 @@ function create_if_block(ctx) {
|
|
|
2953
2959
|
|
|
2954
2960
|
const camera_spread_levels = [
|
|
2955
2961
|
{
|
|
2956
|
-
panoIndex: /*panoIndex*/ ctx[
|
|
2957
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
2958
|
-
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[
|
|
2959
|
-
cameraImageUrl: /*cameraImageUrl*/ ctx[
|
|
2962
|
+
panoIndex: /*panoIndex*/ ctx[5],
|
|
2963
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
2964
|
+
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
|
|
2965
|
+
cameraImageUrl: /*cameraImageUrl*/ ctx[13]
|
|
2960
2966
|
}
|
|
2961
2967
|
];
|
|
2962
2968
|
|
|
@@ -2967,7 +2973,7 @@ function create_if_block(ctx) {
|
|
|
2967
2973
|
}
|
|
2968
2974
|
|
|
2969
2975
|
camera = new Camera({ props: camera_props });
|
|
2970
|
-
let if_block = /*compassEnable*/ ctx[
|
|
2976
|
+
let if_block = /*compassEnable*/ ctx[8] && create_if_block_1(ctx);
|
|
2971
2977
|
|
|
2972
2978
|
return {
|
|
2973
2979
|
c() {
|
|
@@ -2991,42 +2997,42 @@ function create_if_block(ctx) {
|
|
|
2991
2997
|
p(new_ctx, dirty) {
|
|
2992
2998
|
ctx = new_ctx;
|
|
2993
2999
|
|
|
2994
|
-
const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/
|
|
3000
|
+
const currentfloor_changes = (dirty & /*five, pxmm, floorIndex, hoverEnable, floorplanData, getLabelElement, roomLabelsEnable, ruleLabelsEnable, onRoomHeightClick*/ 52934)
|
|
2995
3001
|
? internal.get_spread_update(currentfloor_spread_levels, [
|
|
2996
3002
|
{
|
|
2997
|
-
five: /*five*/ ctx[
|
|
2998
|
-
pxmm: /*pxmm*/ ctx[
|
|
2999
|
-
floorIndex: /*floorIndex*/ ctx[
|
|
3000
|
-
hoverEnable: /*hoverEnable*/ ctx[
|
|
3001
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3002
|
-
getLabelElement: /*getLabelElement*/ ctx[
|
|
3003
|
-
roomLabelsEnable: /*roomLabelsEnable*/ ctx[
|
|
3004
|
-
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[
|
|
3005
|
-
onRoomHeightClick: /*onRoomHeightClick*/ ctx[
|
|
3003
|
+
five: /*five*/ ctx[2],
|
|
3004
|
+
pxmm: /*pxmm*/ ctx[1],
|
|
3005
|
+
floorIndex: /*floorIndex*/ ctx[6],
|
|
3006
|
+
hoverEnable: /*hoverEnable*/ ctx[7],
|
|
3007
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3008
|
+
getLabelElement: /*getLabelElement*/ ctx[15],
|
|
3009
|
+
roomLabelsEnable: /*roomLabelsEnable*/ ctx[9],
|
|
3010
|
+
ruleLabelsEnable: /*ruleLabelsEnable*/ ctx[10],
|
|
3011
|
+
onRoomHeightClick: /*onRoomHeightClick*/ ctx[14]
|
|
3006
3012
|
}
|
|
3007
3013
|
])
|
|
3008
3014
|
: {};
|
|
3009
3015
|
|
|
3010
3016
|
currentfloor.$set(currentfloor_changes);
|
|
3011
3017
|
|
|
3012
|
-
const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/
|
|
3018
|
+
const camera_changes = (dirty & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/ 14368)
|
|
3013
3019
|
? internal.get_spread_update(camera_spread_levels, [
|
|
3014
3020
|
{
|
|
3015
|
-
panoIndex: /*panoIndex*/ ctx[
|
|
3016
|
-
floorplanData: /*floorplanData*/ ctx[
|
|
3017
|
-
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[
|
|
3018
|
-
cameraImageUrl: /*cameraImageUrl*/ ctx[
|
|
3021
|
+
panoIndex: /*panoIndex*/ ctx[5],
|
|
3022
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3023
|
+
lastPanoramaLongitude: /*lastPanoramaLongitude*/ ctx[12],
|
|
3024
|
+
cameraImageUrl: /*cameraImageUrl*/ ctx[13]
|
|
3019
3025
|
}
|
|
3020
3026
|
])
|
|
3021
3027
|
: {};
|
|
3022
3028
|
|
|
3023
3029
|
camera.$set(camera_changes);
|
|
3024
3030
|
|
|
3025
|
-
if (/*compassEnable*/ ctx[
|
|
3031
|
+
if (/*compassEnable*/ ctx[8]) {
|
|
3026
3032
|
if (if_block) {
|
|
3027
3033
|
if_block.p(ctx, dirty);
|
|
3028
3034
|
|
|
3029
|
-
if (dirty & /*compassEnable*/
|
|
3035
|
+
if (dirty & /*compassEnable*/ 256) {
|
|
3030
3036
|
internal.transition_in(if_block, 1);
|
|
3031
3037
|
}
|
|
3032
3038
|
} else {
|
|
@@ -3054,7 +3060,7 @@ function create_if_block(ctx) {
|
|
|
3054
3060
|
if (!div_intro) {
|
|
3055
3061
|
internal.add_render_callback(() => {
|
|
3056
3062
|
div_intro = internal.create_in_transition(div, transition.fade, {
|
|
3057
|
-
duration: /*duration*/ ctx[
|
|
3063
|
+
duration: /*duration*/ ctx[3],
|
|
3058
3064
|
easing: easing.linear
|
|
3059
3065
|
});
|
|
3060
3066
|
|
|
@@ -3079,13 +3085,16 @@ function create_if_block(ctx) {
|
|
|
3079
3085
|
};
|
|
3080
3086
|
}
|
|
3081
3087
|
|
|
3082
|
-
// (
|
|
3088
|
+
// (40:4) {#if compassEnable}
|
|
3083
3089
|
function create_if_block_1(ctx) {
|
|
3084
3090
|
let compass;
|
|
3085
3091
|
let current;
|
|
3086
3092
|
|
|
3087
3093
|
compass = new Compass({
|
|
3088
|
-
props: {
|
|
3094
|
+
props: {
|
|
3095
|
+
floorplanData: /*floorplanData*/ ctx[11],
|
|
3096
|
+
northDesc: /*northDesc*/ ctx[0]
|
|
3097
|
+
}
|
|
3089
3098
|
});
|
|
3090
3099
|
|
|
3091
3100
|
return {
|
|
@@ -3098,7 +3107,8 @@ function create_if_block_1(ctx) {
|
|
|
3098
3107
|
},
|
|
3099
3108
|
p(ctx, dirty) {
|
|
3100
3109
|
const compass_changes = {};
|
|
3101
|
-
if (dirty & /*floorplanData*/
|
|
3110
|
+
if (dirty & /*floorplanData*/ 2048) compass_changes.floorplanData = /*floorplanData*/ ctx[11];
|
|
3111
|
+
if (dirty & /*northDesc*/ 1) compass_changes.northDesc = /*northDesc*/ ctx[0];
|
|
3102
3112
|
compass.$set(compass_changes);
|
|
3103
3113
|
},
|
|
3104
3114
|
i(local) {
|
|
@@ -3119,7 +3129,7 @@ function create_if_block_1(ctx) {
|
|
|
3119
3129
|
function create_fragment(ctx) {
|
|
3120
3130
|
let if_block_anchor;
|
|
3121
3131
|
let current;
|
|
3122
|
-
let if_block = /*visible*/ ctx[
|
|
3132
|
+
let if_block = /*visible*/ ctx[4] && create_if_block(ctx);
|
|
3123
3133
|
|
|
3124
3134
|
return {
|
|
3125
3135
|
c() {
|
|
@@ -3132,11 +3142,11 @@ function create_fragment(ctx) {
|
|
|
3132
3142
|
current = true;
|
|
3133
3143
|
},
|
|
3134
3144
|
p(ctx, [dirty]) {
|
|
3135
|
-
if (/*visible*/ ctx[
|
|
3145
|
+
if (/*visible*/ ctx[4]) {
|
|
3136
3146
|
if (if_block) {
|
|
3137
3147
|
if_block.p(ctx, dirty);
|
|
3138
3148
|
|
|
3139
|
-
if (dirty & /*visible*/
|
|
3149
|
+
if (dirty & /*visible*/ 16) {
|
|
3140
3150
|
internal.transition_in(if_block, 1);
|
|
3141
3151
|
}
|
|
3142
3152
|
} else {
|
|
@@ -3172,6 +3182,7 @@ function create_fragment(ctx) {
|
|
|
3172
3182
|
}
|
|
3173
3183
|
|
|
3174
3184
|
function instance($$self, $$props, $$invalidate) {
|
|
3185
|
+
let { northDesc } = $$props;
|
|
3175
3186
|
let { pxmm } = $$props;
|
|
3176
3187
|
let { five } = $$props;
|
|
3177
3188
|
let { duration = 0 } = $$props;
|
|
@@ -3189,24 +3200,26 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
3189
3200
|
let { getLabelElement } = $$props;
|
|
3190
3201
|
|
|
3191
3202
|
$$self.$$set = $$props => {
|
|
3192
|
-
if ('
|
|
3193
|
-
if ('
|
|
3194
|
-
if ('
|
|
3195
|
-
if ('
|
|
3196
|
-
if ('
|
|
3197
|
-
if ('
|
|
3198
|
-
if ('
|
|
3199
|
-
if ('
|
|
3200
|
-
if ('
|
|
3201
|
-
if ('
|
|
3202
|
-
if ('
|
|
3203
|
-
if ('
|
|
3204
|
-
if ('
|
|
3205
|
-
if ('
|
|
3206
|
-
if ('
|
|
3203
|
+
if ('northDesc' in $$props) $$invalidate(0, northDesc = $$props.northDesc);
|
|
3204
|
+
if ('pxmm' in $$props) $$invalidate(1, pxmm = $$props.pxmm);
|
|
3205
|
+
if ('five' in $$props) $$invalidate(2, five = $$props.five);
|
|
3206
|
+
if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
|
|
3207
|
+
if ('visible' in $$props) $$invalidate(4, visible = $$props.visible);
|
|
3208
|
+
if ('panoIndex' in $$props) $$invalidate(5, panoIndex = $$props.panoIndex);
|
|
3209
|
+
if ('floorIndex' in $$props) $$invalidate(6, floorIndex = $$props.floorIndex);
|
|
3210
|
+
if ('hoverEnable' in $$props) $$invalidate(7, hoverEnable = $$props.hoverEnable);
|
|
3211
|
+
if ('compassEnable' in $$props) $$invalidate(8, compassEnable = $$props.compassEnable);
|
|
3212
|
+
if ('roomLabelsEnable' in $$props) $$invalidate(9, roomLabelsEnable = $$props.roomLabelsEnable);
|
|
3213
|
+
if ('ruleLabelsEnable' in $$props) $$invalidate(10, ruleLabelsEnable = $$props.ruleLabelsEnable);
|
|
3214
|
+
if ('floorplanData' in $$props) $$invalidate(11, floorplanData = $$props.floorplanData);
|
|
3215
|
+
if ('lastPanoramaLongitude' in $$props) $$invalidate(12, lastPanoramaLongitude = $$props.lastPanoramaLongitude);
|
|
3216
|
+
if ('cameraImageUrl' in $$props) $$invalidate(13, cameraImageUrl = $$props.cameraImageUrl);
|
|
3217
|
+
if ('onRoomHeightClick' in $$props) $$invalidate(14, onRoomHeightClick = $$props.onRoomHeightClick);
|
|
3218
|
+
if ('getLabelElement' in $$props) $$invalidate(15, getLabelElement = $$props.getLabelElement);
|
|
3207
3219
|
};
|
|
3208
3220
|
|
|
3209
3221
|
return [
|
|
3222
|
+
northDesc,
|
|
3210
3223
|
pxmm,
|
|
3211
3224
|
five,
|
|
3212
3225
|
duration,
|
|
@@ -3236,21 +3249,22 @@ class Main extends internal.SvelteComponent {
|
|
|
3236
3249
|
create_fragment,
|
|
3237
3250
|
internal.safe_not_equal,
|
|
3238
3251
|
{
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3252
|
+
northDesc: 0,
|
|
3253
|
+
pxmm: 1,
|
|
3254
|
+
five: 2,
|
|
3255
|
+
duration: 3,
|
|
3256
|
+
visible: 4,
|
|
3257
|
+
panoIndex: 5,
|
|
3258
|
+
floorIndex: 6,
|
|
3259
|
+
hoverEnable: 7,
|
|
3260
|
+
compassEnable: 8,
|
|
3261
|
+
roomLabelsEnable: 9,
|
|
3262
|
+
ruleLabelsEnable: 10,
|
|
3263
|
+
floorplanData: 11,
|
|
3264
|
+
lastPanoramaLongitude: 12,
|
|
3265
|
+
cameraImageUrl: 13,
|
|
3266
|
+
onRoomHeightClick: 14,
|
|
3267
|
+
getLabelElement: 15
|
|
3254
3268
|
},
|
|
3255
3269
|
add_css
|
|
3256
3270
|
);
|
|
@@ -3426,9 +3440,10 @@ class TopviewFloorplanPluginController {
|
|
|
3426
3440
|
return;
|
|
3427
3441
|
if (this.size.width === 0)
|
|
3428
3442
|
return;
|
|
3429
|
-
const { getLabelElement, cameraImageUrl, preventRoomClick, hoverEnable, compassEnable, roomLabelsEnable, ruleLabelsEnable, } = this.configs;
|
|
3443
|
+
const { northDesc, getLabelElement, cameraImageUrl, preventRoomClick, hoverEnable, compassEnable, roomLabelsEnable, ruleLabelsEnable, } = this.configs;
|
|
3430
3444
|
const handleClick = preventRoomClick ? () => false : undefined;
|
|
3431
3445
|
const props = {
|
|
3446
|
+
northDesc: northDesc ?? '北',
|
|
3432
3447
|
five: this.five,
|
|
3433
3448
|
pxmm: this.pxmm,
|
|
3434
3449
|
cameraImageUrl,
|