@realsee/dnalogel 2.0.0-alpha.14 → 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 +10 -0
- package/dist/ModelItemLabelPlugin/index.js +77 -100
- package/dist/ModelItemLabelPlugin/typings.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/index.js +7 -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 +143 -166
- package/dist/index.js +143 -166
- package/dist/index.umd.js +143 -166
- 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/libs/ModelItemLabelPlugin/ItemLabelComponent.js +48 -61
- package/libs/ModelItemLabelPlugin/index.js +2 -66
- package/libs/ModelItemLabelPlugin/typings.d.ts +2 -2
- package/libs/ModelItemLabelPlugin/typings.js +1 -0
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -0
- package/package.json +4 -1
|
@@ -62,7 +62,7 @@ function rad2Deg$1(rad) {
|
|
|
62
62
|
/* src/floorplan/ModelFloorplanPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
63
63
|
|
|
64
64
|
function add_css$c(target) {
|
|
65
|
-
internal.append_styles(target, "svelte-
|
|
65
|
+
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%}");
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
function create_fragment$g(ctx) {
|
|
@@ -73,7 +73,7 @@ function create_fragment$g(ctx) {
|
|
|
73
73
|
c() {
|
|
74
74
|
div1 = internal.element("div");
|
|
75
75
|
div0 = internal.element("div");
|
|
76
|
-
internal.attr(div0, "class", "floorplan__camera-rotate svelte-
|
|
76
|
+
internal.attr(div0, "class", "floorplan__camera-rotate svelte-17cl35n");
|
|
77
77
|
internal.set_style(div0, "background-image", `url(${/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE})`);
|
|
78
78
|
internal.set_style(div0, "width", /*domSizeStyle*/ ctx[4], false);
|
|
79
79
|
internal.set_style(div0, "height", /*domSizeStyle*/ ctx[4], false);
|
|
@@ -81,7 +81,7 @@ function create_fragment$g(ctx) {
|
|
|
81
81
|
internal.set_style(div0, "top", '-' + /*domSizeStyle*/ ctx[4], false);
|
|
82
82
|
internal.set_style(div0, "transform", `rotate(${/*rotate*/ ctx[3]}deg)`, false);
|
|
83
83
|
internal.set_style(div0, "transform-origin", `${/*domSizeStyle*/ ctx[4]} ${/*domSizeStyle*/ ctx[4]}`, false);
|
|
84
|
-
internal.attr(div1, "class", "floorplan__camera-position svelte-
|
|
84
|
+
internal.attr(div1, "class", "floorplan__camera-position svelte-17cl35n");
|
|
85
85
|
internal.set_style(div1, "left", /*positionLeft*/ ctx[1], false);
|
|
86
86
|
internal.set_style(div1, "top", /*positionTop*/ ctx[2], false);
|
|
87
87
|
},
|
|
@@ -167,7 +167,7 @@ const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAM
|
|
|
167
167
|
/* src/floorplan/ModelFloorplanPlugin/Components/Compass.svelte generated by Svelte v3.47.0 */
|
|
168
168
|
|
|
169
169
|
function add_css$b(target) {
|
|
170
|
-
internal.append_styles(target, "svelte-
|
|
170
|
+
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}");
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
// (13:0) {#if northRad}
|
|
@@ -185,10 +185,10 @@ function create_if_block$6(ctx) {
|
|
|
185
185
|
t0 = internal.space();
|
|
186
186
|
span = internal.element("span");
|
|
187
187
|
t1 = internal.text(/*northDesc*/ ctx[0]);
|
|
188
|
-
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-
|
|
188
|
+
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-1q44ru9");
|
|
189
189
|
internal.set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
|
|
190
|
-
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-
|
|
191
|
-
internal.attr(div1, "class", "floorplan-plugin__compass svelte-
|
|
190
|
+
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-1q44ru9");
|
|
191
|
+
internal.attr(div1, "class", "floorplan-plugin__compass svelte-1q44ru9");
|
|
192
192
|
internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
|
|
193
193
|
},
|
|
194
194
|
m(target, anchor) {
|
|
@@ -266,7 +266,7 @@ class Compass extends internal.SvelteComponent {
|
|
|
266
266
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.47.0 */
|
|
267
267
|
|
|
268
268
|
function add_css$a(target) {
|
|
269
|
-
internal.append_styles(target, "svelte-
|
|
269
|
+
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}");
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
// (22:30)
|
|
@@ -311,7 +311,7 @@ function create_if_block$5(ctx) {
|
|
|
311
311
|
span1 = internal.element("span");
|
|
312
312
|
span1.textContent = `${/*roomSizeDes*/ ctx[3]}`;
|
|
313
313
|
internal.attr(span0, "class", "floorplan-plugin__room-name");
|
|
314
|
-
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-
|
|
314
|
+
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-i2nwuk");
|
|
315
315
|
},
|
|
316
316
|
m(target, anchor) {
|
|
317
317
|
internal.insert(target, span0, anchor);
|
|
@@ -345,7 +345,7 @@ function create_fragment$e(ctx) {
|
|
|
345
345
|
c() {
|
|
346
346
|
div = internal.element("div");
|
|
347
347
|
if (if_block) if_block.c();
|
|
348
|
-
internal.attr(div, "class", "floorplan-plugin__room-label-item svelte-
|
|
348
|
+
internal.attr(div, "class", "floorplan-plugin__room-label-item svelte-i2nwuk");
|
|
349
349
|
internal.set_style(div, "left", /*left*/ ctx[4], false);
|
|
350
350
|
internal.set_style(div, "top", /*top*/ ctx[5], false);
|
|
351
351
|
internal.set_style(div, "font-size", /*fontSize*/ ctx[6], false);
|
|
@@ -420,7 +420,7 @@ class RoomLabel extends internal.SvelteComponent {
|
|
|
420
420
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.47.0 */
|
|
421
421
|
|
|
422
422
|
function add_css$9(target) {
|
|
423
|
-
internal.append_styles(target, "svelte-
|
|
423
|
+
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}");
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
function get_each_context$4(ctx, list, i) {
|
|
@@ -452,7 +452,7 @@ function create_if_block$4(ctx) {
|
|
|
452
452
|
each_blocks[i].c();
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-
|
|
455
|
+
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-vkeyjz");
|
|
456
456
|
},
|
|
457
457
|
m(target, anchor) {
|
|
458
458
|
internal.insert(target, div, anchor);
|
|
@@ -672,7 +672,7 @@ function notNil(value) {
|
|
|
672
672
|
/* src/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.47.0 */
|
|
673
673
|
|
|
674
674
|
function add_css$8(target) {
|
|
675
|
-
internal.append_styles(target, "svelte-
|
|
675
|
+
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%)}");
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
function get_each_context$3(ctx, list, i) {
|
|
@@ -699,7 +699,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
699
699
|
first: null,
|
|
700
700
|
c() {
|
|
701
701
|
div = internal.element("div");
|
|
702
|
-
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-
|
|
702
|
+
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-1d5a0k4");
|
|
703
703
|
internal.set_style(div, "left", style_left, false);
|
|
704
704
|
this.first = div;
|
|
705
705
|
},
|
|
@@ -732,9 +732,9 @@ function create_each_block$3(key_1, ctx) {
|
|
|
732
732
|
span = internal.element("span");
|
|
733
733
|
t0 = internal.text(t0_value);
|
|
734
734
|
t1 = internal.space();
|
|
735
|
-
internal.attr(span, "class", "floorplan-plugin__rule-text svelte-
|
|
735
|
+
internal.attr(span, "class", "floorplan-plugin__rule-text svelte-1d5a0k4");
|
|
736
736
|
internal.toggle_class(span, "is-row", /*isRow*/ ctx[5]);
|
|
737
|
-
internal.attr(div, "class", "floorplan-plugin__text-wrapper svelte-
|
|
737
|
+
internal.attr(div, "class", "floorplan-plugin__text-wrapper svelte-1d5a0k4");
|
|
738
738
|
internal.toggle_class(div, "floorplan-plugin__text-wrapper--is-left-or-top", /*isLeft*/ ctx[3] || /*isTop*/ ctx[1]);
|
|
739
739
|
internal.toggle_class(div, "floorplan-plugin__text-wrapper-is-right-or-bottom", /*isRight*/ ctx[4] || /*isBottom*/ ctx[2]);
|
|
740
740
|
internal.set_style(div, "left", style_left, false);
|
|
@@ -799,8 +799,8 @@ function create_fragment$c(ctx) {
|
|
|
799
799
|
each_blocks[i].c();
|
|
800
800
|
}
|
|
801
801
|
|
|
802
|
-
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-
|
|
803
|
-
internal.attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
802
|
+
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-1d5a0k4");
|
|
803
|
+
internal.attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4");
|
|
804
804
|
internal.set_style(div1, "width", /*width*/ ctx[9], false);
|
|
805
805
|
internal.set_style(div1, "transform", /*transform*/ ctx[7], false);
|
|
806
806
|
internal.set_style(div1, "transform-origin", /*transformOrigin*/ ctx[8], false);
|
|
@@ -831,7 +831,7 @@ function create_fragment$c(ctx) {
|
|
|
831
831
|
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);
|
|
832
832
|
}
|
|
833
833
|
|
|
834
|
-
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
834
|
+
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4")) {
|
|
835
835
|
internal.attr(div1, "class", div1_class_value);
|
|
836
836
|
}
|
|
837
837
|
},
|
|
@@ -1147,7 +1147,7 @@ class RuleLabels extends internal.SvelteComponent {
|
|
|
1147
1147
|
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.47.0 */
|
|
1148
1148
|
|
|
1149
1149
|
function add_css$7(target) {
|
|
1150
|
-
internal.append_styles(target, "svelte-
|
|
1150
|
+
internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
function create_fragment$a(ctx) {
|
|
@@ -1159,7 +1159,7 @@ function create_fragment$a(ctx) {
|
|
|
1159
1159
|
img = internal.element("img");
|
|
1160
1160
|
if (!internal.src_url_equal(img.src, img_src_value = /*url*/ ctx[0])) internal.attr(img, "src", img_src_value);
|
|
1161
1161
|
internal.attr(img, "alt", "floorplan iamge");
|
|
1162
|
-
internal.attr(img, "class", "svelte-
|
|
1162
|
+
internal.attr(img, "class", "svelte-1gfoniz");
|
|
1163
1163
|
},
|
|
1164
1164
|
m(target, anchor) {
|
|
1165
1165
|
internal.insert(target, img, anchor);
|
|
@@ -1197,7 +1197,7 @@ class Normalmage extends internal.SvelteComponent {
|
|
|
1197
1197
|
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.47.0 */
|
|
1198
1198
|
|
|
1199
1199
|
function add_css$6(target) {
|
|
1200
|
-
internal.append_styles(target, "svelte-
|
|
1200
|
+
internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
1203
|
function create_fragment$9(ctx) {
|
|
@@ -1214,7 +1214,7 @@ function create_fragment$9(ctx) {
|
|
|
1214
1214
|
html_tag_1 = new internal.HtmlTag();
|
|
1215
1215
|
html_tag.a = t;
|
|
1216
1216
|
html_tag_1.a = null;
|
|
1217
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
1217
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
1218
1218
|
},
|
|
1219
1219
|
m(target, anchor) {
|
|
1220
1220
|
internal.insert(target, div, anchor);
|
|
@@ -1244,8 +1244,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
svg [type='lineItemGroup'] g g g g {
|
|
1246
1246
|
stroke: #ffffff;
|
|
1247
|
-
}
|
|
1248
|
-
</style>
|
|
1247
|
+
}</style>
|
|
1249
1248
|
`;
|
|
1250
1249
|
|
|
1251
1250
|
$$self.$$set = $$props => {
|
|
@@ -1265,7 +1264,7 @@ class SvgImage extends internal.SvelteComponent {
|
|
|
1265
1264
|
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.47.0 */
|
|
1266
1265
|
|
|
1267
1266
|
function add_css$5(target) {
|
|
1268
|
-
internal.append_styles(target, "svelte-
|
|
1267
|
+
internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
1269
1268
|
}
|
|
1270
1269
|
|
|
1271
1270
|
// (13:22)
|
|
@@ -1361,7 +1360,7 @@ function create_fragment$8(ctx) {
|
|
|
1361
1360
|
c() {
|
|
1362
1361
|
div = internal.element("div");
|
|
1363
1362
|
if (if_block) if_block.c();
|
|
1364
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
1363
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ozpg4a");
|
|
1365
1364
|
},
|
|
1366
1365
|
m(target, anchor) {
|
|
1367
1366
|
internal.insert(target, div, anchor);
|
|
@@ -1756,7 +1755,7 @@ class RoomMaterial_2 extends internal.SvelteComponent {
|
|
|
1756
1755
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.47.0 */
|
|
1757
1756
|
|
|
1758
1757
|
function add_css$4(target) {
|
|
1759
|
-
internal.append_styles(target, "svelte-
|
|
1758
|
+
internal.append_styles(target, "svelte-1d4xj70", "svg.svelte-1d4xj70{position:absolute;width:100%;height:100%;overflow:visible}");
|
|
1760
1759
|
}
|
|
1761
1760
|
|
|
1762
1761
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -1889,7 +1888,7 @@ function create_each_block$1(ctx) {
|
|
|
1889
1888
|
c() {
|
|
1890
1889
|
svg = internal.svg_element("svg");
|
|
1891
1890
|
if_block.c();
|
|
1892
|
-
internal.attr(svg, "class", "svelte-
|
|
1891
|
+
internal.attr(svg, "class", "svelte-1d4xj70");
|
|
1893
1892
|
},
|
|
1894
1893
|
m(target, anchor) {
|
|
1895
1894
|
internal.insert(target, svg, anchor);
|
|
@@ -2058,7 +2057,7 @@ class RoomMaterial extends internal.SvelteComponent {
|
|
|
2058
2057
|
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.47.0 */
|
|
2059
2058
|
|
|
2060
2059
|
function add_css$3(target) {
|
|
2061
|
-
internal.append_styles(target, "svelte-
|
|
2060
|
+
internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
2062
2061
|
}
|
|
2063
2062
|
|
|
2064
2063
|
function create_fragment$3(ctx) {
|
|
@@ -2069,7 +2068,7 @@ function create_fragment$3(ctx) {
|
|
|
2069
2068
|
path = internal.svg_element("path");
|
|
2070
2069
|
internal.attr(path, "d", /*_pathD*/ ctx[0]);
|
|
2071
2070
|
internal.attr(path, "fill", `#fff`);
|
|
2072
|
-
internal.attr(path, "class", "svelte-
|
|
2071
|
+
internal.attr(path, "class", "svelte-19uvvss");
|
|
2073
2072
|
},
|
|
2074
2073
|
m(target, anchor) {
|
|
2075
2074
|
internal.insert(target, path, anchor);
|
|
@@ -2113,7 +2112,7 @@ class Room extends internal.SvelteComponent {
|
|
|
2113
2112
|
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.47.0 */
|
|
2114
2113
|
|
|
2115
2114
|
function add_css$2(target) {
|
|
2116
|
-
internal.append_styles(target, "svelte-
|
|
2115
|
+
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}");
|
|
2117
2116
|
}
|
|
2118
2117
|
|
|
2119
2118
|
function get_each_context(ctx, list, i) {
|
|
@@ -2215,8 +2214,8 @@ function create_fragment$2(ctx) {
|
|
|
2215
2214
|
each_blocks[i].c();
|
|
2216
2215
|
}
|
|
2217
2216
|
|
|
2218
|
-
internal.attr(svg, "class", "svelte-
|
|
2219
|
-
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-
|
|
2217
|
+
internal.attr(svg, "class", "svelte-klfhwd");
|
|
2218
|
+
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-klfhwd");
|
|
2220
2219
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
2221
2220
|
},
|
|
2222
2221
|
m(target, anchor) {
|
|
@@ -2372,7 +2371,7 @@ class RoomHighlight extends internal.SvelteComponent {
|
|
|
2372
2371
|
/* src/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.47.0 */
|
|
2373
2372
|
|
|
2374
2373
|
function add_css$1(target) {
|
|
2375
|
-
internal.append_styles(target, "svelte-
|
|
2374
|
+
internal.append_styles(target, "svelte-tlo7rk", ".floorplan-current-floor.svelte-tlo7rk{position:relative;width:100%;height:100%}");
|
|
2376
2375
|
}
|
|
2377
2376
|
|
|
2378
2377
|
// (19:2) {#if hoverEnable}
|
|
@@ -2606,7 +2605,7 @@ function create_fragment$1(ctx) {
|
|
|
2606
2605
|
if (if_block1) if_block1.c();
|
|
2607
2606
|
t3 = internal.space();
|
|
2608
2607
|
if (if_block2) if_block2.c();
|
|
2609
|
-
internal.attr(div, "class", "floorplan-current-floor svelte-
|
|
2608
|
+
internal.attr(div, "class", "floorplan-current-floor svelte-tlo7rk");
|
|
2610
2609
|
},
|
|
2611
2610
|
m(target, anchor) {
|
|
2612
2611
|
internal.insert(target, div, anchor);
|
|
@@ -2807,7 +2806,7 @@ class CurrentFloor extends internal.SvelteComponent {
|
|
|
2807
2806
|
/* src/floorplan/ModelFloorplanPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
2808
2807
|
|
|
2809
2808
|
function add_css(target) {
|
|
2810
|
-
internal.append_styles(target, "svelte-
|
|
2809
|
+
internal.append_styles(target, "svelte-q5wdnn", ".floorplan-main.svelte-q5wdnn{width:100%;height:100%}");
|
|
2811
2810
|
}
|
|
2812
2811
|
|
|
2813
2812
|
// (24:0) {#if visible}
|
|
@@ -2868,7 +2867,7 @@ function create_if_block(ctx) {
|
|
|
2868
2867
|
internal.create_component(camera.$$.fragment);
|
|
2869
2868
|
t1 = internal.space();
|
|
2870
2869
|
if (if_block) if_block.c();
|
|
2871
|
-
internal.attr(div, "class", "floorplan-main svelte-
|
|
2870
|
+
internal.attr(div, "class", "floorplan-main svelte-q5wdnn");
|
|
2872
2871
|
},
|
|
2873
2872
|
m(target, anchor) {
|
|
2874
2873
|
internal.insert(target, div, anchor);
|
|
@@ -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) {
|