@realsee/dnalogel 2.0.0-alpha.16 → 2.0.0-alpha.17
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 +3 -0
- package/dist/ModelItemLabelPlugin/index.js +8 -8
- package/dist/ModelRoomLabelPlugin/index.js +6 -6
- package/dist/PanoSpatialTagPlugin/index.js +11 -11
- package/dist/floorplan/ModelFloorplanPlugin/index.js +37 -38
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +23 -24
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +37 -38
- package/dist/index.es.js +73 -74
- package/dist/index.js +73 -74
- package/dist/index.umd.js +73 -74
- 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/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.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/package.json +3 -1
|
@@ -55,7 +55,7 @@ function throttle(func, wait = 200) {
|
|
|
55
55
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
56
56
|
|
|
57
57
|
function add_css$7(target) {
|
|
58
|
-
internal.append_styles(target, "svelte-
|
|
58
|
+
internal.append_styles(target, "svelte-1ty3s4p", ".plugin-radar__camera-wrapper.svelte-1ty3s4p{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1ty3s4p{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1ty3s4p{position:absolute;left:-0.78125rem;top:-0.78125rem;width:0.88542rem;height:0.88542rem;transform-origin:0.78125rem 0.78125rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
function create_fragment$8(ctx) {
|
|
@@ -68,12 +68,12 @@ function create_fragment$8(ctx) {
|
|
|
68
68
|
div2 = internal.element("div");
|
|
69
69
|
div1 = internal.element("div");
|
|
70
70
|
div0 = internal.element("div");
|
|
71
|
-
internal.attr(div0, "class", "plugin-radar__camera-rotate svelte-
|
|
71
|
+
internal.attr(div0, "class", "plugin-radar__camera-rotate svelte-1ty3s4p");
|
|
72
72
|
internal.set_style(div0, "background-image", "url(" + (/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE) + ")");
|
|
73
73
|
internal.set_style(div0, "transform", /*rotateTransform*/ ctx[1], false);
|
|
74
|
-
internal.attr(div1, "class", "plugin-radar__camera-position svelte-
|
|
74
|
+
internal.attr(div1, "class", "plugin-radar__camera-position svelte-1ty3s4p");
|
|
75
75
|
internal.set_style(div1, "transform", /*positionTransform*/ ctx[2], false);
|
|
76
|
-
internal.attr(div2, "class", "plugin-radar__camera-wrapper svelte-
|
|
76
|
+
internal.attr(div2, "class", "plugin-radar__camera-wrapper svelte-1ty3s4p");
|
|
77
77
|
},
|
|
78
78
|
m(target, anchor) {
|
|
79
79
|
internal.insert(target, div2, anchor);
|
|
@@ -189,7 +189,7 @@ class Camera extends internal.SvelteComponent {
|
|
|
189
189
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.47.0 */
|
|
190
190
|
|
|
191
191
|
function add_css$6(target) {
|
|
192
|
-
internal.append_styles(target, "svelte-
|
|
192
|
+
internal.append_styles(target, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -215,11 +215,11 @@ function create_each_block$1(key_1, ctx) {
|
|
|
215
215
|
div1 = internal.element("div");
|
|
216
216
|
div0 = internal.element("div");
|
|
217
217
|
t = internal.space();
|
|
218
|
-
internal.attr(div0, "class", "plugin-pano-floorplan__extra-object-item svelte-
|
|
218
|
+
internal.attr(div0, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7");
|
|
219
219
|
internal.set_style(div0, "background-image", `url(${/*extraObject*/ ctx[1].icon.url})`);
|
|
220
220
|
internal.set_style(div0, "width", style_width, false);
|
|
221
221
|
internal.set_style(div0, "height", style_height, false);
|
|
222
|
-
internal.attr(div1, "class", "plugin-pano-floorplan__extra-object-item--position svelte-
|
|
222
|
+
internal.attr(div1, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7");
|
|
223
223
|
internal.set_style(div1, "top", style_top, false);
|
|
224
224
|
internal.set_style(div1, "left", style_left, false);
|
|
225
225
|
this.first = div1;
|
|
@@ -279,7 +279,7 @@ function create_fragment$7(ctx) {
|
|
|
279
279
|
each_blocks[i].c();
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
internal.attr(div, "class", "plugin-pano-floorplan__extra-objects svelte-
|
|
282
|
+
internal.attr(div, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
|
|
283
283
|
},
|
|
284
284
|
m(target, anchor) {
|
|
285
285
|
internal.insert(target, div, anchor);
|
|
@@ -326,7 +326,7 @@ class ExtraObjects extends internal.SvelteComponent {
|
|
|
326
326
|
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.47.0 */
|
|
327
327
|
|
|
328
328
|
function add_css$5(target) {
|
|
329
|
-
internal.append_styles(target, "svelte-
|
|
329
|
+
internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
function create_fragment$6(ctx) {
|
|
@@ -338,7 +338,7 @@ function create_fragment$6(ctx) {
|
|
|
338
338
|
img = internal.element("img");
|
|
339
339
|
if (!internal.src_url_equal(img.src, img_src_value = /*url*/ ctx[0])) internal.attr(img, "src", img_src_value);
|
|
340
340
|
internal.attr(img, "alt", "floorplan iamge");
|
|
341
|
-
internal.attr(img, "class", "svelte-
|
|
341
|
+
internal.attr(img, "class", "svelte-1gfoniz");
|
|
342
342
|
},
|
|
343
343
|
m(target, anchor) {
|
|
344
344
|
internal.insert(target, img, anchor);
|
|
@@ -376,7 +376,7 @@ class Normalmage extends internal.SvelteComponent {
|
|
|
376
376
|
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.47.0 */
|
|
377
377
|
|
|
378
378
|
function add_css$4(target) {
|
|
379
|
-
internal.append_styles(target, "svelte-
|
|
379
|
+
internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
function create_fragment$5(ctx) {
|
|
@@ -393,7 +393,7 @@ function create_fragment$5(ctx) {
|
|
|
393
393
|
html_tag_1 = new internal.HtmlTag();
|
|
394
394
|
html_tag.a = t;
|
|
395
395
|
html_tag_1.a = null;
|
|
396
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
396
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
397
397
|
},
|
|
398
398
|
m(target, anchor) {
|
|
399
399
|
internal.insert(target, div, anchor);
|
|
@@ -423,8 +423,7 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
423
423
|
}
|
|
424
424
|
svg [type='lineItemGroup'] g g g g {
|
|
425
425
|
stroke: #ffffff;
|
|
426
|
-
}
|
|
427
|
-
</style>
|
|
426
|
+
}</style>
|
|
428
427
|
`;
|
|
429
428
|
|
|
430
429
|
$$self.$$set = $$props => {
|
|
@@ -444,7 +443,7 @@ class SvgImage extends internal.SvelteComponent {
|
|
|
444
443
|
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.47.0 */
|
|
445
444
|
|
|
446
445
|
function add_css$3(target) {
|
|
447
|
-
internal.append_styles(target, "svelte-
|
|
446
|
+
internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
448
447
|
}
|
|
449
448
|
|
|
450
449
|
// (13:22)
|
|
@@ -540,7 +539,7 @@ function create_fragment$4(ctx) {
|
|
|
540
539
|
c() {
|
|
541
540
|
div = internal.element("div");
|
|
542
541
|
if (if_block) if_block.c();
|
|
543
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
542
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ozpg4a");
|
|
544
543
|
},
|
|
545
544
|
m(target, anchor) {
|
|
546
545
|
internal.insert(target, div, anchor);
|
|
@@ -696,7 +695,7 @@ function getFloorIndexFromModelPosition(position, five) {
|
|
|
696
695
|
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.47.0 */
|
|
697
696
|
|
|
698
697
|
function add_css$2(target) {
|
|
699
|
-
internal.append_styles(target, "svelte-
|
|
698
|
+
internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
700
699
|
}
|
|
701
700
|
|
|
702
701
|
function create_fragment$3(ctx) {
|
|
@@ -707,7 +706,7 @@ function create_fragment$3(ctx) {
|
|
|
707
706
|
path = internal.svg_element("path");
|
|
708
707
|
internal.attr(path, "d", /*_pathD*/ ctx[0]);
|
|
709
708
|
internal.attr(path, "fill", `#fff`);
|
|
710
|
-
internal.attr(path, "class", "svelte-
|
|
709
|
+
internal.attr(path, "class", "svelte-19uvvss");
|
|
711
710
|
},
|
|
712
711
|
m(target, anchor) {
|
|
713
712
|
internal.insert(target, path, anchor);
|
|
@@ -751,7 +750,7 @@ class Room extends internal.SvelteComponent {
|
|
|
751
750
|
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.47.0 */
|
|
752
751
|
|
|
753
752
|
function add_css$1(target) {
|
|
754
|
-
internal.append_styles(target, "svelte-
|
|
753
|
+
internal.append_styles(target, "svelte-klfhwd", ".floorplan-plugin__room-highlight.svelte-klfhwd{position:absolute;width:100%;height:100%;pointer-events:all}svg.svelte-klfhwd{width:100%;height:100%;overflow:visible}");
|
|
755
754
|
}
|
|
756
755
|
|
|
757
756
|
function get_each_context(ctx, list, i) {
|
|
@@ -853,8 +852,8 @@ function create_fragment$2(ctx) {
|
|
|
853
852
|
each_blocks[i].c();
|
|
854
853
|
}
|
|
855
854
|
|
|
856
|
-
internal.attr(svg, "class", "svelte-
|
|
857
|
-
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-
|
|
855
|
+
internal.attr(svg, "class", "svelte-klfhwd");
|
|
856
|
+
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-klfhwd");
|
|
858
857
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
859
858
|
},
|
|
860
859
|
m(target, anchor) {
|
|
@@ -1237,7 +1236,7 @@ class CurrentFloor extends internal.SvelteComponent {
|
|
|
1237
1236
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
1238
1237
|
|
|
1239
1238
|
function add_css(target) {
|
|
1240
|
-
internal.append_styles(target, "svelte-
|
|
1239
|
+
internal.append_styles(target, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
|
|
1241
1240
|
}
|
|
1242
1241
|
|
|
1243
1242
|
// (41:2) {#if clientWidth !== 0}
|
|
@@ -1292,7 +1291,7 @@ function create_if_block(ctx) {
|
|
|
1292
1291
|
internal.create_component(currentfloor.$$.fragment);
|
|
1293
1292
|
t = internal.space();
|
|
1294
1293
|
internal.create_component(camera.$$.fragment);
|
|
1295
|
-
internal.attr(div, "class", "plugin-floorplan-radar-container svelte-
|
|
1294
|
+
internal.attr(div, "class", "plugin-floorplan-radar-container svelte-1mvqyqq");
|
|
1296
1295
|
internal.set_style(div, "width", style_width, false);
|
|
1297
1296
|
internal.set_style(div, "height", style_height, false);
|
|
1298
1297
|
},
|
|
@@ -1369,7 +1368,7 @@ function create_fragment(ctx) {
|
|
|
1369
1368
|
c() {
|
|
1370
1369
|
div = internal.element("div");
|
|
1371
1370
|
if (if_block) if_block.c();
|
|
1372
|
-
internal.attr(div, "class", "plugin-floorplan-radar svelte-
|
|
1371
|
+
internal.attr(div, "class", "plugin-floorplan-radar svelte-1mvqyqq");
|
|
1373
1372
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[11].call(div));
|
|
1374
1373
|
},
|
|
1375
1374
|
m(target, anchor) {
|
|
@@ -247,7 +247,7 @@ function rad2Deg$1(rad) {
|
|
|
247
247
|
/* src/floorplan/ModelFloorplanPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
248
248
|
|
|
249
249
|
function add_css$c(target) {
|
|
250
|
-
internal.append_styles(target, "svelte-
|
|
250
|
+
internal.append_styles(target, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
function create_fragment$g(ctx) {
|
|
@@ -258,7 +258,7 @@ function create_fragment$g(ctx) {
|
|
|
258
258
|
c() {
|
|
259
259
|
div1 = internal.element("div");
|
|
260
260
|
div0 = internal.element("div");
|
|
261
|
-
internal.attr(div0, "class", "floorplan__camera-rotate svelte-
|
|
261
|
+
internal.attr(div0, "class", "floorplan__camera-rotate svelte-17cl35n");
|
|
262
262
|
internal.set_style(div0, "background-image", `url(${/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE})`);
|
|
263
263
|
internal.set_style(div0, "width", /*domSizeStyle*/ ctx[4], false);
|
|
264
264
|
internal.set_style(div0, "height", /*domSizeStyle*/ ctx[4], false);
|
|
@@ -266,7 +266,7 @@ function create_fragment$g(ctx) {
|
|
|
266
266
|
internal.set_style(div0, "top", '-' + /*domSizeStyle*/ ctx[4], false);
|
|
267
267
|
internal.set_style(div0, "transform", `rotate(${/*rotate*/ ctx[3]}deg)`, false);
|
|
268
268
|
internal.set_style(div0, "transform-origin", `${/*domSizeStyle*/ ctx[4]} ${/*domSizeStyle*/ ctx[4]}`, false);
|
|
269
|
-
internal.attr(div1, "class", "floorplan__camera-position svelte-
|
|
269
|
+
internal.attr(div1, "class", "floorplan__camera-position svelte-17cl35n");
|
|
270
270
|
internal.set_style(div1, "left", /*positionLeft*/ ctx[1], false);
|
|
271
271
|
internal.set_style(div1, "top", /*positionTop*/ ctx[2], false);
|
|
272
272
|
},
|
|
@@ -352,7 +352,7 @@ const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAM
|
|
|
352
352
|
/* src/floorplan/ModelFloorplanPlugin/Components/Compass.svelte generated by Svelte v3.47.0 */
|
|
353
353
|
|
|
354
354
|
function add_css$b(target) {
|
|
355
|
-
internal.append_styles(target, "svelte-
|
|
355
|
+
internal.append_styles(target, "svelte-1q44ru9", ".floorplan-plugin__compass.svelte-1q44ru9{position:absolute;left:50%;top:-2.39583rem;width:12.03125rem;height:2.13542rem;will-change:opacity;transform-origin:center 9.58333rem}.floorplan-plugin__compass-image.svelte-1q44ru9{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-1q44ru9{position:absolute;left:50%;top:0.78125rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.52083rem;color:#fff}");
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
// (13:0) {#if northRad}
|
|
@@ -370,10 +370,10 @@ function create_if_block$6(ctx) {
|
|
|
370
370
|
t0 = internal.space();
|
|
371
371
|
span = internal.element("span");
|
|
372
372
|
t1 = internal.text(/*northDesc*/ ctx[0]);
|
|
373
|
-
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-
|
|
373
|
+
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-1q44ru9");
|
|
374
374
|
internal.set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
|
|
375
|
-
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-
|
|
376
|
-
internal.attr(div1, "class", "floorplan-plugin__compass svelte-
|
|
375
|
+
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-1q44ru9");
|
|
376
|
+
internal.attr(div1, "class", "floorplan-plugin__compass svelte-1q44ru9");
|
|
377
377
|
internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
|
|
378
378
|
},
|
|
379
379
|
m(target, anchor) {
|
|
@@ -451,7 +451,7 @@ class Compass extends internal.SvelteComponent {
|
|
|
451
451
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.47.0 */
|
|
452
452
|
|
|
453
453
|
function add_css$a(target) {
|
|
454
|
-
internal.append_styles(target, "svelte-
|
|
454
|
+
internal.append_styles(target, "svelte-i2nwuk", ".floorplan-plugin__room-label-item.svelte-i2nwuk{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:0.78125rem;color:#fff;transform:translate(-50%, -50%);white-space:nowrap}.floorplan-plugin__room-size.svelte-i2nwuk{opacity:0.45}");
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
// (22:30)
|
|
@@ -496,7 +496,7 @@ function create_if_block$5(ctx) {
|
|
|
496
496
|
span1 = internal.element("span");
|
|
497
497
|
span1.textContent = `${/*roomSizeDes*/ ctx[3]}`;
|
|
498
498
|
internal.attr(span0, "class", "floorplan-plugin__room-name");
|
|
499
|
-
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-
|
|
499
|
+
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-i2nwuk");
|
|
500
500
|
},
|
|
501
501
|
m(target, anchor) {
|
|
502
502
|
internal.insert(target, span0, anchor);
|
|
@@ -530,7 +530,7 @@ function create_fragment$e(ctx) {
|
|
|
530
530
|
c() {
|
|
531
531
|
div = internal.element("div");
|
|
532
532
|
if (if_block) if_block.c();
|
|
533
|
-
internal.attr(div, "class", "floorplan-plugin__room-label-item svelte-
|
|
533
|
+
internal.attr(div, "class", "floorplan-plugin__room-label-item svelte-i2nwuk");
|
|
534
534
|
internal.set_style(div, "left", /*left*/ ctx[4], false);
|
|
535
535
|
internal.set_style(div, "top", /*top*/ ctx[5], false);
|
|
536
536
|
internal.set_style(div, "font-size", /*fontSize*/ ctx[6], false);
|
|
@@ -605,7 +605,7 @@ class RoomLabel extends internal.SvelteComponent {
|
|
|
605
605
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.47.0 */
|
|
606
606
|
|
|
607
607
|
function add_css$9(target) {
|
|
608
|
-
internal.append_styles(target, "svelte-
|
|
608
|
+
internal.append_styles(target, "svelte-vkeyjz", ".floorplan-plugin__room-labels.svelte-vkeyjz{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20}");
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
function get_each_context$4(ctx, list, i) {
|
|
@@ -637,7 +637,7 @@ function create_if_block$4(ctx) {
|
|
|
637
637
|
each_blocks[i].c();
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-
|
|
640
|
+
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-vkeyjz");
|
|
641
641
|
},
|
|
642
642
|
m(target, anchor) {
|
|
643
643
|
internal.insert(target, div, anchor);
|
|
@@ -857,7 +857,7 @@ function notNil(value) {
|
|
|
857
857
|
/* src/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.47.0 */
|
|
858
858
|
|
|
859
859
|
function add_css$8(target) {
|
|
860
|
-
internal.append_styles(target, "svelte-
|
|
860
|
+
internal.append_styles(target, "svelte-1d5a0k4", ".floorplan-plugin__rule-labels.svelte-1d5a0k4{position:absolute;height:0.26042rem;display:flex;align-items:center}.floorplan-plugin__rule-labels-top.svelte-1d5a0k4{left:0;top:0}.floorplan-plugin__rule-labels-bottom.svelte-1d5a0k4{left:0;bottom:0}.floorplan-plugin__rule-labels-left.svelte-1d5a0k4{bottom:0;left:0}.floorplan-plugin__rule-labels-right.svelte-1d5a0k4{bottom:0;right:0}.floorplan-plugin__rule-line.svelte-1d5a0k4{background:#fff;opacity:0.05;width:100%;height:1px}.floorplan-plugin__rule-scale.svelte-1d5a0k4{position:absolute;background:#fff;opacity:0.05;transform-origin:center;width:1px;height:0.26042rem}.floorplan-plugin__text-wrapper.svelte-1d5a0k4{width:0;height:0;position:absolute}.floorplan-plugin__text-wrapper.floorplan-plugin__text-wrapper--is-left-or-top.svelte-1d5a0k4{top:0.52083rem}.floorplan-plugin__text-wrapper.floorplan-plugin__text-wrapper-is-right-or-bottom.svelte-1d5a0k4{bottom:0.52083rem}.floorplan-plugin__rule-text.svelte-1d5a0k4{position:absolute;width:-webkit-max-content;width:-moz-max-content;width:max-content;display:block;transform:translate(-50%, -50%) rotate(180deg);font-size:0.52083rem;color:#fff;opacity:0.2}.floorplan-plugin__rule-text.is-row.svelte-1d5a0k4{transform:translate(-50%, -50%)}");
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
function get_each_context$3(ctx, list, i) {
|
|
@@ -884,7 +884,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
884
884
|
first: null,
|
|
885
885
|
c() {
|
|
886
886
|
div = internal.element("div");
|
|
887
|
-
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-
|
|
887
|
+
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-1d5a0k4");
|
|
888
888
|
internal.set_style(div, "left", style_left, false);
|
|
889
889
|
this.first = div;
|
|
890
890
|
},
|
|
@@ -917,9 +917,9 @@ function create_each_block$3(key_1, ctx) {
|
|
|
917
917
|
span = internal.element("span");
|
|
918
918
|
t0 = internal.text(t0_value);
|
|
919
919
|
t1 = internal.space();
|
|
920
|
-
internal.attr(span, "class", "floorplan-plugin__rule-text svelte-
|
|
920
|
+
internal.attr(span, "class", "floorplan-plugin__rule-text svelte-1d5a0k4");
|
|
921
921
|
internal.toggle_class(span, "is-row", /*isRow*/ ctx[5]);
|
|
922
|
-
internal.attr(div, "class", "floorplan-plugin__text-wrapper svelte-
|
|
922
|
+
internal.attr(div, "class", "floorplan-plugin__text-wrapper svelte-1d5a0k4");
|
|
923
923
|
internal.toggle_class(div, "floorplan-plugin__text-wrapper--is-left-or-top", /*isLeft*/ ctx[3] || /*isTop*/ ctx[1]);
|
|
924
924
|
internal.toggle_class(div, "floorplan-plugin__text-wrapper-is-right-or-bottom", /*isRight*/ ctx[4] || /*isBottom*/ ctx[2]);
|
|
925
925
|
internal.set_style(div, "left", style_left, false);
|
|
@@ -984,8 +984,8 @@ function create_fragment$c(ctx) {
|
|
|
984
984
|
each_blocks[i].c();
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-
|
|
988
|
-
internal.attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
987
|
+
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-1d5a0k4");
|
|
988
|
+
internal.attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4");
|
|
989
989
|
internal.set_style(div1, "width", /*width*/ ctx[9], false);
|
|
990
990
|
internal.set_style(div1, "transform", /*transform*/ ctx[7], false);
|
|
991
991
|
internal.set_style(div1, "transform-origin", /*transformOrigin*/ ctx[8], false);
|
|
@@ -1016,7 +1016,7 @@ function create_fragment$c(ctx) {
|
|
|
1016
1016
|
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key_1, 1, ctx, each_value, each1_lookup, div1, internal.destroy_block, create_each_block$3, null, get_each_context$3);
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
|
-
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
1019
|
+
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4")) {
|
|
1020
1020
|
internal.attr(div1, "class", div1_class_value);
|
|
1021
1021
|
}
|
|
1022
1022
|
},
|
|
@@ -1332,7 +1332,7 @@ class RuleLabels extends internal.SvelteComponent {
|
|
|
1332
1332
|
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.47.0 */
|
|
1333
1333
|
|
|
1334
1334
|
function add_css$7(target) {
|
|
1335
|
-
internal.append_styles(target, "svelte-
|
|
1335
|
+
internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
1336
1336
|
}
|
|
1337
1337
|
|
|
1338
1338
|
function create_fragment$a(ctx) {
|
|
@@ -1344,7 +1344,7 @@ function create_fragment$a(ctx) {
|
|
|
1344
1344
|
img = internal.element("img");
|
|
1345
1345
|
if (!internal.src_url_equal(img.src, img_src_value = /*url*/ ctx[0])) internal.attr(img, "src", img_src_value);
|
|
1346
1346
|
internal.attr(img, "alt", "floorplan iamge");
|
|
1347
|
-
internal.attr(img, "class", "svelte-
|
|
1347
|
+
internal.attr(img, "class", "svelte-1gfoniz");
|
|
1348
1348
|
},
|
|
1349
1349
|
m(target, anchor) {
|
|
1350
1350
|
internal.insert(target, img, anchor);
|
|
@@ -1382,7 +1382,7 @@ class Normalmage extends internal.SvelteComponent {
|
|
|
1382
1382
|
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.47.0 */
|
|
1383
1383
|
|
|
1384
1384
|
function add_css$6(target) {
|
|
1385
|
-
internal.append_styles(target, "svelte-
|
|
1385
|
+
internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
1388
|
function create_fragment$9(ctx) {
|
|
@@ -1399,7 +1399,7 @@ function create_fragment$9(ctx) {
|
|
|
1399
1399
|
html_tag_1 = new internal.HtmlTag();
|
|
1400
1400
|
html_tag.a = t;
|
|
1401
1401
|
html_tag_1.a = null;
|
|
1402
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
1402
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
1403
1403
|
},
|
|
1404
1404
|
m(target, anchor) {
|
|
1405
1405
|
internal.insert(target, div, anchor);
|
|
@@ -1429,8 +1429,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
svg [type='lineItemGroup'] g g g g {
|
|
1431
1431
|
stroke: #ffffff;
|
|
1432
|
-
}
|
|
1433
|
-
</style>
|
|
1432
|
+
}</style>
|
|
1434
1433
|
`;
|
|
1435
1434
|
|
|
1436
1435
|
$$self.$$set = $$props => {
|
|
@@ -1450,7 +1449,7 @@ class SvgImage extends internal.SvelteComponent {
|
|
|
1450
1449
|
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.47.0 */
|
|
1451
1450
|
|
|
1452
1451
|
function add_css$5(target) {
|
|
1453
|
-
internal.append_styles(target, "svelte-
|
|
1452
|
+
internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
1454
1453
|
}
|
|
1455
1454
|
|
|
1456
1455
|
// (13:22)
|
|
@@ -1546,7 +1545,7 @@ function create_fragment$8(ctx) {
|
|
|
1546
1545
|
c() {
|
|
1547
1546
|
div = internal.element("div");
|
|
1548
1547
|
if (if_block) if_block.c();
|
|
1549
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
1548
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ozpg4a");
|
|
1550
1549
|
},
|
|
1551
1550
|
m(target, anchor) {
|
|
1552
1551
|
internal.insert(target, div, anchor);
|
|
@@ -1915,7 +1914,7 @@ class RoomMaterial_2 extends internal.SvelteComponent {
|
|
|
1915
1914
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.47.0 */
|
|
1916
1915
|
|
|
1917
1916
|
function add_css$4(target) {
|
|
1918
|
-
internal.append_styles(target, "svelte-
|
|
1917
|
+
internal.append_styles(target, "svelte-1d4xj70", "svg.svelte-1d4xj70{position:absolute;width:100%;height:100%;overflow:visible}");
|
|
1919
1918
|
}
|
|
1920
1919
|
|
|
1921
1920
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -2048,7 +2047,7 @@ function create_each_block$1(ctx) {
|
|
|
2048
2047
|
c() {
|
|
2049
2048
|
svg = internal.svg_element("svg");
|
|
2050
2049
|
if_block.c();
|
|
2051
|
-
internal.attr(svg, "class", "svelte-
|
|
2050
|
+
internal.attr(svg, "class", "svelte-1d4xj70");
|
|
2052
2051
|
},
|
|
2053
2052
|
m(target, anchor) {
|
|
2054
2053
|
internal.insert(target, svg, anchor);
|
|
@@ -2217,7 +2216,7 @@ class RoomMaterial extends internal.SvelteComponent {
|
|
|
2217
2216
|
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.47.0 */
|
|
2218
2217
|
|
|
2219
2218
|
function add_css$3(target) {
|
|
2220
|
-
internal.append_styles(target, "svelte-
|
|
2219
|
+
internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
2221
2220
|
}
|
|
2222
2221
|
|
|
2223
2222
|
function create_fragment$3(ctx) {
|
|
@@ -2228,7 +2227,7 @@ function create_fragment$3(ctx) {
|
|
|
2228
2227
|
path = internal.svg_element("path");
|
|
2229
2228
|
internal.attr(path, "d", /*_pathD*/ ctx[0]);
|
|
2230
2229
|
internal.attr(path, "fill", `#fff`);
|
|
2231
|
-
internal.attr(path, "class", "svelte-
|
|
2230
|
+
internal.attr(path, "class", "svelte-19uvvss");
|
|
2232
2231
|
},
|
|
2233
2232
|
m(target, anchor) {
|
|
2234
2233
|
internal.insert(target, path, anchor);
|
|
@@ -2272,7 +2271,7 @@ class Room extends internal.SvelteComponent {
|
|
|
2272
2271
|
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.47.0 */
|
|
2273
2272
|
|
|
2274
2273
|
function add_css$2(target) {
|
|
2275
|
-
internal.append_styles(target, "svelte-
|
|
2274
|
+
internal.append_styles(target, "svelte-klfhwd", ".floorplan-plugin__room-highlight.svelte-klfhwd{position:absolute;width:100%;height:100%;pointer-events:all}svg.svelte-klfhwd{width:100%;height:100%;overflow:visible}");
|
|
2276
2275
|
}
|
|
2277
2276
|
|
|
2278
2277
|
function get_each_context(ctx, list, i) {
|
|
@@ -2374,8 +2373,8 @@ function create_fragment$2(ctx) {
|
|
|
2374
2373
|
each_blocks[i].c();
|
|
2375
2374
|
}
|
|
2376
2375
|
|
|
2377
|
-
internal.attr(svg, "class", "svelte-
|
|
2378
|
-
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-
|
|
2376
|
+
internal.attr(svg, "class", "svelte-klfhwd");
|
|
2377
|
+
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-klfhwd");
|
|
2379
2378
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
2380
2379
|
},
|
|
2381
2380
|
m(target, anchor) {
|
|
@@ -2531,7 +2530,7 @@ class RoomHighlight extends internal.SvelteComponent {
|
|
|
2531
2530
|
/* src/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.47.0 */
|
|
2532
2531
|
|
|
2533
2532
|
function add_css$1(target) {
|
|
2534
|
-
internal.append_styles(target, "svelte-
|
|
2533
|
+
internal.append_styles(target, "svelte-tlo7rk", ".floorplan-current-floor.svelte-tlo7rk{position:relative;width:100%;height:100%}");
|
|
2535
2534
|
}
|
|
2536
2535
|
|
|
2537
2536
|
// (19:2) {#if hoverEnable}
|
|
@@ -2765,7 +2764,7 @@ function create_fragment$1(ctx) {
|
|
|
2765
2764
|
if (if_block1) if_block1.c();
|
|
2766
2765
|
t3 = internal.space();
|
|
2767
2766
|
if (if_block2) if_block2.c();
|
|
2768
|
-
internal.attr(div, "class", "floorplan-current-floor svelte-
|
|
2767
|
+
internal.attr(div, "class", "floorplan-current-floor svelte-tlo7rk");
|
|
2769
2768
|
},
|
|
2770
2769
|
m(target, anchor) {
|
|
2771
2770
|
internal.insert(target, div, anchor);
|
|
@@ -2966,7 +2965,7 @@ class CurrentFloor extends internal.SvelteComponent {
|
|
|
2966
2965
|
/* src/floorplan/ModelFloorplanPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
2967
2966
|
|
|
2968
2967
|
function add_css(target) {
|
|
2969
|
-
internal.append_styles(target, "svelte-
|
|
2968
|
+
internal.append_styles(target, "svelte-q5wdnn", ".floorplan-main.svelte-q5wdnn{width:100%;height:100%}");
|
|
2970
2969
|
}
|
|
2971
2970
|
|
|
2972
2971
|
// (24:0) {#if visible}
|
|
@@ -3027,7 +3026,7 @@ function create_if_block(ctx) {
|
|
|
3027
3026
|
internal.create_component(camera.$$.fragment);
|
|
3028
3027
|
t1 = internal.space();
|
|
3029
3028
|
if (if_block) if_block.c();
|
|
3030
|
-
internal.attr(div, "class", "floorplan-main svelte-
|
|
3029
|
+
internal.attr(div, "class", "floorplan-main svelte-q5wdnn");
|
|
3031
3030
|
},
|
|
3032
3031
|
m(target, anchor) {
|
|
3033
3032
|
internal.insert(target, div, anchor);
|