@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
package/dist/index.js
CHANGED
|
@@ -505,7 +505,7 @@ const ROOM_LABEL_BG = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAY
|
|
|
505
505
|
/* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.47.0 */
|
|
506
506
|
|
|
507
507
|
function add_css$l(target) {
|
|
508
|
-
internal.append_styles(target, "svelte-
|
|
508
|
+
internal.append_styles(target, "svelte-1ak9fbs", ".room-label-item.svelte-1ak9fbs{position:absolute;font-size:0.41667rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.room-label-item__text.svelte-1ak9fbs{position:absolute;left:0;top:-3.33333rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.04167rem;min-width:1.66667rem;padding:0 0.3125rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1ak9fbs{position:absolute;top:-2.29167rem;height:2.5rem;width:1px;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1ak9fbs{font-size:0.52083rem}");
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
function create_fragment$q(ctx) {
|
|
@@ -525,11 +525,11 @@ function create_fragment$q(ctx) {
|
|
|
525
525
|
t0 = internal.text(t0_value);
|
|
526
526
|
t1 = internal.space();
|
|
527
527
|
div0 = internal.element("div");
|
|
528
|
-
internal.attr(span, "class", "room-label-item__text svelte-
|
|
528
|
+
internal.attr(span, "class", "room-label-item__text svelte-1ak9fbs");
|
|
529
529
|
internal.set_style(span, "background-image", "url(" + ROOM_LABEL_BG + ")");
|
|
530
530
|
internal.toggle_class(span, "wide", /*roomLabel*/ ctx[0].name.length > 3);
|
|
531
|
-
internal.attr(div0, "class", "room-label-item__bar svelte-
|
|
532
|
-
internal.attr(div1, "class", "room-label-item svelte-
|
|
531
|
+
internal.attr(div0, "class", "room-label-item__bar svelte-1ak9fbs");
|
|
532
|
+
internal.attr(div1, "class", "room-label-item svelte-1ak9fbs");
|
|
533
533
|
internal.set_style(div1, "z-index", /*roomLabel*/ ctx[0].zIndex, false);
|
|
534
534
|
internal.set_style(div1, "transform", /*roomLabel*/ ctx[0].transform, false);
|
|
535
535
|
internal.set_style(div1, "opacity", /*roomLabel*/ ctx[0].visible ? 1 : 0, false);
|
|
@@ -605,7 +605,7 @@ class RoomLabelItem extends internal.SvelteComponent {
|
|
|
605
605
|
/* src/ModelRoomLabelPlugin/RoomLabelItems.svelte generated by Svelte v3.47.0 */
|
|
606
606
|
|
|
607
607
|
function add_css$k(target) {
|
|
608
|
-
internal.append_styles(target, "svelte-
|
|
608
|
+
internal.append_styles(target, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
function get_each_context$8(ctx, list, i) {
|
|
@@ -686,7 +686,7 @@ function create_fragment$p(ctx) {
|
|
|
686
686
|
each_blocks[i].c();
|
|
687
687
|
}
|
|
688
688
|
|
|
689
|
-
internal.attr(div, "class", "room-labels-container svelte-
|
|
689
|
+
internal.attr(div, "class", "room-labels-container svelte-9eg4zi");
|
|
690
690
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[4].call(div));
|
|
691
691
|
},
|
|
692
692
|
m(target, anchor) {
|
|
@@ -1254,7 +1254,7 @@ function rad2Deg$1(rad) {
|
|
|
1254
1254
|
/* src/floorplan/ModelFloorplanPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
1255
1255
|
|
|
1256
1256
|
function add_css$j(target) {
|
|
1257
|
-
internal.append_styles(target, "svelte-
|
|
1257
|
+
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%}");
|
|
1258
1258
|
}
|
|
1259
1259
|
|
|
1260
1260
|
function create_fragment$o(ctx) {
|
|
@@ -1265,7 +1265,7 @@ function create_fragment$o(ctx) {
|
|
|
1265
1265
|
c() {
|
|
1266
1266
|
div1 = internal.element("div");
|
|
1267
1267
|
div0 = internal.element("div");
|
|
1268
|
-
internal.attr(div0, "class", "floorplan__camera-rotate svelte-
|
|
1268
|
+
internal.attr(div0, "class", "floorplan__camera-rotate svelte-17cl35n");
|
|
1269
1269
|
internal.set_style(div0, "background-image", `url(${/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE})`);
|
|
1270
1270
|
internal.set_style(div0, "width", /*domSizeStyle*/ ctx[4], false);
|
|
1271
1271
|
internal.set_style(div0, "height", /*domSizeStyle*/ ctx[4], false);
|
|
@@ -1273,7 +1273,7 @@ function create_fragment$o(ctx) {
|
|
|
1273
1273
|
internal.set_style(div0, "top", '-' + /*domSizeStyle*/ ctx[4], false);
|
|
1274
1274
|
internal.set_style(div0, "transform", `rotate(${/*rotate*/ ctx[3]}deg)`, false);
|
|
1275
1275
|
internal.set_style(div0, "transform-origin", `${/*domSizeStyle*/ ctx[4]} ${/*domSizeStyle*/ ctx[4]}`, false);
|
|
1276
|
-
internal.attr(div1, "class", "floorplan__camera-position svelte-
|
|
1276
|
+
internal.attr(div1, "class", "floorplan__camera-position svelte-17cl35n");
|
|
1277
1277
|
internal.set_style(div1, "left", /*positionLeft*/ ctx[1], false);
|
|
1278
1278
|
internal.set_style(div1, "top", /*positionTop*/ ctx[2], false);
|
|
1279
1279
|
},
|
|
@@ -1359,7 +1359,7 @@ const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAM
|
|
|
1359
1359
|
/* src/floorplan/ModelFloorplanPlugin/Components/Compass.svelte generated by Svelte v3.47.0 */
|
|
1360
1360
|
|
|
1361
1361
|
function add_css$i(target) {
|
|
1362
|
-
internal.append_styles(target, "svelte-
|
|
1362
|
+
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}");
|
|
1363
1363
|
}
|
|
1364
1364
|
|
|
1365
1365
|
// (13:0) {#if northRad}
|
|
@@ -1377,10 +1377,10 @@ function create_if_block$8(ctx) {
|
|
|
1377
1377
|
t0 = internal.space();
|
|
1378
1378
|
span = internal.element("span");
|
|
1379
1379
|
t1 = internal.text(/*northDesc*/ ctx[0]);
|
|
1380
|
-
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-
|
|
1380
|
+
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-1q44ru9");
|
|
1381
1381
|
internal.set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
|
|
1382
|
-
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-
|
|
1383
|
-
internal.attr(div1, "class", "floorplan-plugin__compass svelte-
|
|
1382
|
+
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-1q44ru9");
|
|
1383
|
+
internal.attr(div1, "class", "floorplan-plugin__compass svelte-1q44ru9");
|
|
1384
1384
|
internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
|
|
1385
1385
|
},
|
|
1386
1386
|
m(target, anchor) {
|
|
@@ -1458,7 +1458,7 @@ class Compass extends internal.SvelteComponent {
|
|
|
1458
1458
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.47.0 */
|
|
1459
1459
|
|
|
1460
1460
|
function add_css$h(target) {
|
|
1461
|
-
internal.append_styles(target, "svelte-
|
|
1461
|
+
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}");
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
1464
|
// (22:30)
|
|
@@ -1503,7 +1503,7 @@ function create_if_block$7(ctx) {
|
|
|
1503
1503
|
span1 = internal.element("span");
|
|
1504
1504
|
span1.textContent = `${/*roomSizeDes*/ ctx[3]}`;
|
|
1505
1505
|
internal.attr(span0, "class", "floorplan-plugin__room-name");
|
|
1506
|
-
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-
|
|
1506
|
+
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-i2nwuk");
|
|
1507
1507
|
},
|
|
1508
1508
|
m(target, anchor) {
|
|
1509
1509
|
internal.insert(target, span0, anchor);
|
|
@@ -1537,7 +1537,7 @@ function create_fragment$m(ctx) {
|
|
|
1537
1537
|
c() {
|
|
1538
1538
|
div = internal.element("div");
|
|
1539
1539
|
if (if_block) if_block.c();
|
|
1540
|
-
internal.attr(div, "class", "floorplan-plugin__room-label-item svelte-
|
|
1540
|
+
internal.attr(div, "class", "floorplan-plugin__room-label-item svelte-i2nwuk");
|
|
1541
1541
|
internal.set_style(div, "left", /*left*/ ctx[4], false);
|
|
1542
1542
|
internal.set_style(div, "top", /*top*/ ctx[5], false);
|
|
1543
1543
|
internal.set_style(div, "font-size", /*fontSize*/ ctx[6], false);
|
|
@@ -1612,7 +1612,7 @@ class RoomLabel extends internal.SvelteComponent {
|
|
|
1612
1612
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.47.0 */
|
|
1613
1613
|
|
|
1614
1614
|
function add_css$g(target) {
|
|
1615
|
-
internal.append_styles(target, "svelte-
|
|
1615
|
+
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}");
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
1618
|
function get_each_context$7(ctx, list, i) {
|
|
@@ -1644,7 +1644,7 @@ function create_if_block$6(ctx) {
|
|
|
1644
1644
|
each_blocks[i].c();
|
|
1645
1645
|
}
|
|
1646
1646
|
|
|
1647
|
-
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-
|
|
1647
|
+
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-vkeyjz");
|
|
1648
1648
|
},
|
|
1649
1649
|
m(target, anchor) {
|
|
1650
1650
|
internal.insert(target, div, anchor);
|
|
@@ -1864,7 +1864,7 @@ function notNil(value) {
|
|
|
1864
1864
|
/* src/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.47.0 */
|
|
1865
1865
|
|
|
1866
1866
|
function add_css$f(target) {
|
|
1867
|
-
internal.append_styles(target, "svelte-
|
|
1867
|
+
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%)}");
|
|
1868
1868
|
}
|
|
1869
1869
|
|
|
1870
1870
|
function get_each_context$6(ctx, list, i) {
|
|
@@ -1891,7 +1891,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
1891
1891
|
first: null,
|
|
1892
1892
|
c() {
|
|
1893
1893
|
div = internal.element("div");
|
|
1894
|
-
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-
|
|
1894
|
+
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-1d5a0k4");
|
|
1895
1895
|
internal.set_style(div, "left", style_left, false);
|
|
1896
1896
|
this.first = div;
|
|
1897
1897
|
},
|
|
@@ -1924,9 +1924,9 @@ function create_each_block$6(key_1, ctx) {
|
|
|
1924
1924
|
span = internal.element("span");
|
|
1925
1925
|
t0 = internal.text(t0_value);
|
|
1926
1926
|
t1 = internal.space();
|
|
1927
|
-
internal.attr(span, "class", "floorplan-plugin__rule-text svelte-
|
|
1927
|
+
internal.attr(span, "class", "floorplan-plugin__rule-text svelte-1d5a0k4");
|
|
1928
1928
|
internal.toggle_class(span, "is-row", /*isRow*/ ctx[5]);
|
|
1929
|
-
internal.attr(div, "class", "floorplan-plugin__text-wrapper svelte-
|
|
1929
|
+
internal.attr(div, "class", "floorplan-plugin__text-wrapper svelte-1d5a0k4");
|
|
1930
1930
|
internal.toggle_class(div, "floorplan-plugin__text-wrapper--is-left-or-top", /*isLeft*/ ctx[3] || /*isTop*/ ctx[1]);
|
|
1931
1931
|
internal.toggle_class(div, "floorplan-plugin__text-wrapper-is-right-or-bottom", /*isRight*/ ctx[4] || /*isBottom*/ ctx[2]);
|
|
1932
1932
|
internal.set_style(div, "left", style_left, false);
|
|
@@ -1991,8 +1991,8 @@ function create_fragment$k(ctx) {
|
|
|
1991
1991
|
each_blocks[i].c();
|
|
1992
1992
|
}
|
|
1993
1993
|
|
|
1994
|
-
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-
|
|
1995
|
-
internal.attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
1994
|
+
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-1d5a0k4");
|
|
1995
|
+
internal.attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4");
|
|
1996
1996
|
internal.set_style(div1, "width", /*width*/ ctx[9], false);
|
|
1997
1997
|
internal.set_style(div1, "transform", /*transform*/ ctx[7], false);
|
|
1998
1998
|
internal.set_style(div1, "transform-origin", /*transformOrigin*/ ctx[8], false);
|
|
@@ -2023,7 +2023,7 @@ function create_fragment$k(ctx) {
|
|
|
2023
2023
|
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$6, null, get_each_context$6);
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
2026
|
-
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
2026
|
+
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4")) {
|
|
2027
2027
|
internal.attr(div1, "class", div1_class_value);
|
|
2028
2028
|
}
|
|
2029
2029
|
},
|
|
@@ -2339,7 +2339,7 @@ class RuleLabels extends internal.SvelteComponent {
|
|
|
2339
2339
|
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.47.0 */
|
|
2340
2340
|
|
|
2341
2341
|
function add_css$e(target) {
|
|
2342
|
-
internal.append_styles(target, "svelte-
|
|
2342
|
+
internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
2343
2343
|
}
|
|
2344
2344
|
|
|
2345
2345
|
function create_fragment$i(ctx) {
|
|
@@ -2351,7 +2351,7 @@ function create_fragment$i(ctx) {
|
|
|
2351
2351
|
img = internal.element("img");
|
|
2352
2352
|
if (!internal.src_url_equal(img.src, img_src_value = /*url*/ ctx[0])) internal.attr(img, "src", img_src_value);
|
|
2353
2353
|
internal.attr(img, "alt", "floorplan iamge");
|
|
2354
|
-
internal.attr(img, "class", "svelte-
|
|
2354
|
+
internal.attr(img, "class", "svelte-1gfoniz");
|
|
2355
2355
|
},
|
|
2356
2356
|
m(target, anchor) {
|
|
2357
2357
|
internal.insert(target, img, anchor);
|
|
@@ -2389,7 +2389,7 @@ class Normalmage extends internal.SvelteComponent {
|
|
|
2389
2389
|
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.47.0 */
|
|
2390
2390
|
|
|
2391
2391
|
function add_css$d(target) {
|
|
2392
|
-
internal.append_styles(target, "svelte-
|
|
2392
|
+
internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
2393
2393
|
}
|
|
2394
2394
|
|
|
2395
2395
|
function create_fragment$h(ctx) {
|
|
@@ -2406,7 +2406,7 @@ function create_fragment$h(ctx) {
|
|
|
2406
2406
|
html_tag_1 = new internal.HtmlTag();
|
|
2407
2407
|
html_tag.a = t;
|
|
2408
2408
|
html_tag_1.a = null;
|
|
2409
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
2409
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
2410
2410
|
},
|
|
2411
2411
|
m(target, anchor) {
|
|
2412
2412
|
internal.insert(target, div, anchor);
|
|
@@ -2436,8 +2436,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
2436
2436
|
}
|
|
2437
2437
|
svg [type='lineItemGroup'] g g g g {
|
|
2438
2438
|
stroke: #ffffff;
|
|
2439
|
-
}
|
|
2440
|
-
</style>
|
|
2439
|
+
}</style>
|
|
2441
2440
|
`;
|
|
2442
2441
|
|
|
2443
2442
|
$$self.$$set = $$props => {
|
|
@@ -2457,7 +2456,7 @@ class SvgImage extends internal.SvelteComponent {
|
|
|
2457
2456
|
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.47.0 */
|
|
2458
2457
|
|
|
2459
2458
|
function add_css$c(target) {
|
|
2460
|
-
internal.append_styles(target, "svelte-
|
|
2459
|
+
internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
2461
2460
|
}
|
|
2462
2461
|
|
|
2463
2462
|
// (13:22)
|
|
@@ -2553,7 +2552,7 @@ function create_fragment$g(ctx) {
|
|
|
2553
2552
|
c() {
|
|
2554
2553
|
div = internal.element("div");
|
|
2555
2554
|
if (if_block) if_block.c();
|
|
2556
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
2555
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ozpg4a");
|
|
2557
2556
|
},
|
|
2558
2557
|
m(target, anchor) {
|
|
2559
2558
|
internal.insert(target, div, anchor);
|
|
@@ -2922,7 +2921,7 @@ class RoomMaterial_2 extends internal.SvelteComponent {
|
|
|
2922
2921
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.47.0 */
|
|
2923
2922
|
|
|
2924
2923
|
function add_css$b(target) {
|
|
2925
|
-
internal.append_styles(target, "svelte-
|
|
2924
|
+
internal.append_styles(target, "svelte-1d4xj70", "svg.svelte-1d4xj70{position:absolute;width:100%;height:100%;overflow:visible}");
|
|
2926
2925
|
}
|
|
2927
2926
|
|
|
2928
2927
|
function get_each_context$4(ctx, list, i) {
|
|
@@ -3055,7 +3054,7 @@ function create_each_block$4(ctx) {
|
|
|
3055
3054
|
c() {
|
|
3056
3055
|
svg = internal.svg_element("svg");
|
|
3057
3056
|
if_block.c();
|
|
3058
|
-
internal.attr(svg, "class", "svelte-
|
|
3057
|
+
internal.attr(svg, "class", "svelte-1d4xj70");
|
|
3059
3058
|
},
|
|
3060
3059
|
m(target, anchor) {
|
|
3061
3060
|
internal.insert(target, svg, anchor);
|
|
@@ -3224,7 +3223,7 @@ class RoomMaterial extends internal.SvelteComponent {
|
|
|
3224
3223
|
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.47.0 */
|
|
3225
3224
|
|
|
3226
3225
|
function add_css$a(target) {
|
|
3227
|
-
internal.append_styles(target, "svelte-
|
|
3226
|
+
internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
3228
3227
|
}
|
|
3229
3228
|
|
|
3230
3229
|
function create_fragment$b(ctx) {
|
|
@@ -3235,7 +3234,7 @@ function create_fragment$b(ctx) {
|
|
|
3235
3234
|
path = internal.svg_element("path");
|
|
3236
3235
|
internal.attr(path, "d", /*_pathD*/ ctx[0]);
|
|
3237
3236
|
internal.attr(path, "fill", `#fff`);
|
|
3238
|
-
internal.attr(path, "class", "svelte-
|
|
3237
|
+
internal.attr(path, "class", "svelte-19uvvss");
|
|
3239
3238
|
},
|
|
3240
3239
|
m(target, anchor) {
|
|
3241
3240
|
internal.insert(target, path, anchor);
|
|
@@ -3279,7 +3278,7 @@ class Room extends internal.SvelteComponent {
|
|
|
3279
3278
|
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.47.0 */
|
|
3280
3279
|
|
|
3281
3280
|
function add_css$9(target) {
|
|
3282
|
-
internal.append_styles(target, "svelte-
|
|
3281
|
+
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}");
|
|
3283
3282
|
}
|
|
3284
3283
|
|
|
3285
3284
|
function get_each_context$3(ctx, list, i) {
|
|
@@ -3381,8 +3380,8 @@ function create_fragment$a(ctx) {
|
|
|
3381
3380
|
each_blocks[i].c();
|
|
3382
3381
|
}
|
|
3383
3382
|
|
|
3384
|
-
internal.attr(svg, "class", "svelte-
|
|
3385
|
-
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-
|
|
3383
|
+
internal.attr(svg, "class", "svelte-klfhwd");
|
|
3384
|
+
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-klfhwd");
|
|
3386
3385
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
3387
3386
|
},
|
|
3388
3387
|
m(target, anchor) {
|
|
@@ -3538,7 +3537,7 @@ class RoomHighlight extends internal.SvelteComponent {
|
|
|
3538
3537
|
/* src/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.47.0 */
|
|
3539
3538
|
|
|
3540
3539
|
function add_css$8(target) {
|
|
3541
|
-
internal.append_styles(target, "svelte-
|
|
3540
|
+
internal.append_styles(target, "svelte-tlo7rk", ".floorplan-current-floor.svelte-tlo7rk{position:relative;width:100%;height:100%}");
|
|
3542
3541
|
}
|
|
3543
3542
|
|
|
3544
3543
|
// (19:2) {#if hoverEnable}
|
|
@@ -3772,7 +3771,7 @@ function create_fragment$9(ctx) {
|
|
|
3772
3771
|
if (if_block1) if_block1.c();
|
|
3773
3772
|
t3 = internal.space();
|
|
3774
3773
|
if (if_block2) if_block2.c();
|
|
3775
|
-
internal.attr(div, "class", "floorplan-current-floor svelte-
|
|
3774
|
+
internal.attr(div, "class", "floorplan-current-floor svelte-tlo7rk");
|
|
3776
3775
|
},
|
|
3777
3776
|
m(target, anchor) {
|
|
3778
3777
|
internal.insert(target, div, anchor);
|
|
@@ -3973,7 +3972,7 @@ class CurrentFloor$1 extends internal.SvelteComponent {
|
|
|
3973
3972
|
/* src/floorplan/ModelFloorplanPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
3974
3973
|
|
|
3975
3974
|
function add_css$7(target) {
|
|
3976
|
-
internal.append_styles(target, "svelte-
|
|
3975
|
+
internal.append_styles(target, "svelte-q5wdnn", ".floorplan-main.svelte-q5wdnn{width:100%;height:100%}");
|
|
3977
3976
|
}
|
|
3978
3977
|
|
|
3979
3978
|
// (24:0) {#if visible}
|
|
@@ -4034,7 +4033,7 @@ function create_if_block$2(ctx) {
|
|
|
4034
4033
|
internal.create_component(camera.$$.fragment);
|
|
4035
4034
|
t1 = internal.space();
|
|
4036
4035
|
if (if_block) if_block.c();
|
|
4037
|
-
internal.attr(div, "class", "floorplan-main svelte-
|
|
4036
|
+
internal.attr(div, "class", "floorplan-main svelte-q5wdnn");
|
|
4038
4037
|
},
|
|
4039
4038
|
m(target, anchor) {
|
|
4040
4039
|
internal.insert(target, div, anchor);
|
|
@@ -4664,7 +4663,7 @@ function throttle(func, wait = 200) {
|
|
|
4664
4663
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
4665
4664
|
|
|
4666
4665
|
function add_css$6(target) {
|
|
4667
|
-
internal.append_styles(target, "svelte-
|
|
4666
|
+
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%}");
|
|
4668
4667
|
}
|
|
4669
4668
|
|
|
4670
4669
|
function create_fragment$7(ctx) {
|
|
@@ -4677,12 +4676,12 @@ function create_fragment$7(ctx) {
|
|
|
4677
4676
|
div2 = internal.element("div");
|
|
4678
4677
|
div1 = internal.element("div");
|
|
4679
4678
|
div0 = internal.element("div");
|
|
4680
|
-
internal.attr(div0, "class", "plugin-radar__camera-rotate svelte-
|
|
4679
|
+
internal.attr(div0, "class", "plugin-radar__camera-rotate svelte-1ty3s4p");
|
|
4681
4680
|
internal.set_style(div0, "background-image", "url(" + (/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE) + ")");
|
|
4682
4681
|
internal.set_style(div0, "transform", /*rotateTransform*/ ctx[1], false);
|
|
4683
|
-
internal.attr(div1, "class", "plugin-radar__camera-position svelte-
|
|
4682
|
+
internal.attr(div1, "class", "plugin-radar__camera-position svelte-1ty3s4p");
|
|
4684
4683
|
internal.set_style(div1, "transform", /*positionTransform*/ ctx[2], false);
|
|
4685
|
-
internal.attr(div2, "class", "plugin-radar__camera-wrapper svelte-
|
|
4684
|
+
internal.attr(div2, "class", "plugin-radar__camera-wrapper svelte-1ty3s4p");
|
|
4686
4685
|
},
|
|
4687
4686
|
m(target, anchor) {
|
|
4688
4687
|
internal.insert(target, div2, anchor);
|
|
@@ -4798,7 +4797,7 @@ class Camera extends internal.SvelteComponent {
|
|
|
4798
4797
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.47.0 */
|
|
4799
4798
|
|
|
4800
4799
|
function add_css$5(target) {
|
|
4801
|
-
internal.append_styles(target, "svelte-
|
|
4800
|
+
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%)}");
|
|
4802
4801
|
}
|
|
4803
4802
|
|
|
4804
4803
|
function get_each_context$2(ctx, list, i) {
|
|
@@ -4824,11 +4823,11 @@ function create_each_block$2(key_1, ctx) {
|
|
|
4824
4823
|
div1 = internal.element("div");
|
|
4825
4824
|
div0 = internal.element("div");
|
|
4826
4825
|
t = internal.space();
|
|
4827
|
-
internal.attr(div0, "class", "plugin-pano-floorplan__extra-object-item svelte-
|
|
4826
|
+
internal.attr(div0, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7");
|
|
4828
4827
|
internal.set_style(div0, "background-image", `url(${/*extraObject*/ ctx[1].icon.url})`);
|
|
4829
4828
|
internal.set_style(div0, "width", style_width, false);
|
|
4830
4829
|
internal.set_style(div0, "height", style_height, false);
|
|
4831
|
-
internal.attr(div1, "class", "plugin-pano-floorplan__extra-object-item--position svelte-
|
|
4830
|
+
internal.attr(div1, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7");
|
|
4832
4831
|
internal.set_style(div1, "top", style_top, false);
|
|
4833
4832
|
internal.set_style(div1, "left", style_left, false);
|
|
4834
4833
|
this.first = div1;
|
|
@@ -4888,7 +4887,7 @@ function create_fragment$6(ctx) {
|
|
|
4888
4887
|
each_blocks[i].c();
|
|
4889
4888
|
}
|
|
4890
4889
|
|
|
4891
|
-
internal.attr(div, "class", "plugin-pano-floorplan__extra-objects svelte-
|
|
4890
|
+
internal.attr(div, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
|
|
4892
4891
|
},
|
|
4893
4892
|
m(target, anchor) {
|
|
4894
4893
|
internal.insert(target, div, anchor);
|
|
@@ -5162,7 +5161,7 @@ class CurrentFloor extends internal.SvelteComponent {
|
|
|
5162
5161
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
5163
5162
|
|
|
5164
5163
|
function add_css$4(target) {
|
|
5165
|
-
internal.append_styles(target, "svelte-
|
|
5164
|
+
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}");
|
|
5166
5165
|
}
|
|
5167
5166
|
|
|
5168
5167
|
// (41:2) {#if clientWidth !== 0}
|
|
@@ -5217,7 +5216,7 @@ function create_if_block(ctx) {
|
|
|
5217
5216
|
internal.create_component(currentfloor.$$.fragment);
|
|
5218
5217
|
t = internal.space();
|
|
5219
5218
|
internal.create_component(camera.$$.fragment);
|
|
5220
|
-
internal.attr(div, "class", "plugin-floorplan-radar-container svelte-
|
|
5219
|
+
internal.attr(div, "class", "plugin-floorplan-radar-container svelte-1mvqyqq");
|
|
5221
5220
|
internal.set_style(div, "width", style_width, false);
|
|
5222
5221
|
internal.set_style(div, "height", style_height, false);
|
|
5223
5222
|
},
|
|
@@ -5294,7 +5293,7 @@ function create_fragment$4(ctx) {
|
|
|
5294
5293
|
c() {
|
|
5295
5294
|
div = internal.element("div");
|
|
5296
5295
|
if (if_block) if_block.c();
|
|
5297
|
-
internal.attr(div, "class", "plugin-floorplan-radar svelte-
|
|
5296
|
+
internal.attr(div, "class", "plugin-floorplan-radar svelte-1mvqyqq");
|
|
5298
5297
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[11].call(div));
|
|
5299
5298
|
},
|
|
5300
5299
|
m(target, anchor) {
|
|
@@ -13224,7 +13223,7 @@ const currentTarget = store.writable(null);
|
|
|
13224
13223
|
/* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.47.0 */
|
|
13225
13224
|
|
|
13226
13225
|
function add_css$3(target) {
|
|
13227
|
-
internal.append_styles(target, "svelte-
|
|
13226
|
+
internal.append_styles(target, "svelte-1kuu68s", ".PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-1kuu68s{transform:translate(-50%, -50%) scale(0.6);-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
|
|
13228
13227
|
}
|
|
13229
13228
|
|
|
13230
13229
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -13248,7 +13247,7 @@ function create_each_block$1(ctx) {
|
|
|
13248
13247
|
return {
|
|
13249
13248
|
c() {
|
|
13250
13249
|
i = internal.element("i");
|
|
13251
|
-
internal.attr(i, "class", "svelte-
|
|
13250
|
+
internal.attr(i, "class", "svelte-1kuu68s");
|
|
13252
13251
|
internal.toggle_class(i, "PanoSpatialTagPlugin__tag-origin", true);
|
|
13253
13252
|
internal.toggle_class(i, "PanoSpatialTagPlugin__tag-origin-destroy", /*origin*/ ctx[3].destroying);
|
|
13254
13253
|
internal.set_style(i, "top", style_top, false);
|
|
@@ -13373,7 +13372,7 @@ class Origins extends internal.SvelteComponent {
|
|
|
13373
13372
|
/* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.47.0 */
|
|
13374
13373
|
|
|
13375
13374
|
function add_css$2(target) {
|
|
13376
|
-
internal.append_styles(target, "svelte-
|
|
13375
|
+
internal.append_styles(target, "svelte-1wukaol", ".PanoSpatialTagPlugin__tag-x.svelte-1wukaol.svelte-1wukaol{position:relative;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#FFF;transform:translate(0, -100%);transition:height .5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-1wukaol.svelte-1wukaol{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity .8s .6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-1wukaol.svelte-1wukaol{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-1wukaol.svelte-1wukaol{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .1));box-shadow:0 .1rem .5rem rgba(0, 0, 0, .2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .4s cubic-bezier(.44,.44,.74,.98) , opacity .4s cubic-bezier(.44,.44,.74,.98), width .5s linear, height .5s linear ;transform-origin:center bottom}.PanoSpatialTagPlugin__tag-line1.svelte-1wukaol.svelte-1wukaol{position:absolute;top:0;left:0.3rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-line2.svelte-1wukaol.svelte-1wukaol{position:absolute;top:0;left:0.5rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-show.svelte-1wukaol .PanoSpatialTagPlugin__tag-line1.svelte-1wukaol{-webkit-animation:svelte-1wukaol-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s;animation:svelte-1wukaol-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s}.PanoSpatialTagPlugin__tag-show.svelte-1wukaol .PanoSpatialTagPlugin__tag-line2.svelte-1wukaol{-webkit-animation:svelte-1wukaol-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s;animation:svelte-1wukaol-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s}.PanoSpatialTagPlugin__tag-x.PanoSpatialTagPlugin__tag-upside-down.svelte-1wukaol.svelte-1wukaol{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-upside-down.svelte-1wukaol .PanoSpatialTagPlugin__tag-line.svelte-1wukaol{transform:scaleY(-1)}.PanoSpatialTagPlugin__tag-animate.svelte-1wukaol.svelte-1wukaol{position:relative;height:100%;overflow:hidden;transform-origin:left top;transition:transform .5s linear}.PanoSpatialTagPlugin__tag-upside-down.svelte-1wukaol .PanoSpatialTagPlugin__tag-animate.svelte-1wukaol{transform-origin:left bottom}.PanoSpatialTagPlugin__tag-content.svelte-1wukaol.svelte-1wukaol{position:absolute;display:inline-block;transform:translate(-100%, 0);transition:transform .9s cubic-bezier(0,.65,.16,1.08) .6s;padding-left:.5rem;font-size:1rem}.PanoSpatialTagPlugin__tag-upside-down.svelte-1wukaol .PanoSpatialTagPlugin__tag-content.svelte-1wukaol{bottom:0}.PanoSpatialTagPlugin__tag-show.svelte-1wukaol .PanoSpatialTagPlugin__tag-flagpole.svelte-1wukaol{opacity:1;transform:translate(-50%, 0) scaleY(1)}.PanoSpatialTagPlugin__tag-upside-down.svelte-1wukaol .PanoSpatialTagPlugin__tag-shadow.svelte-1wukaol{top:unset;bottom:-15rem}.PanoSpatialTagPlugin__tag-show.svelte-1wukaol .PanoSpatialTagPlugin__tag-shadow.svelte-1wukaol{opacity:.32}.PanoSpatialTagPlugin__tag-show.svelte-1wukaol .PanoSpatialTagPlugin__tag-content.svelte-1wukaol{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-hide.svelte-1wukaol .PanoSpatialTagPlugin__tag-flagpole.svelte-1wukaol{opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .5s .55s, opacity .4s .55s}.PanoSpatialTagPlugin__tag-hide.svelte-1wukaol .PanoSpatialTagPlugin__tag-shadow.svelte-1wukaol{opacity:0;transition:opacity .8s}.PanoSpatialTagPlugin__tag-hide.svelte-1wukaol .PanoSpatialTagPlugin__tag-content.svelte-1wukaol{transform:translate(-100%, 0);transition:transform .6s cubic-bezier(.53,.06,.88,.59)}.PanoSpatialTagPlugin__tag-hide.svelte-1wukaol .PanoSpatialTagPlugin__tag-content .svelte-1wukaol{pointer-events:none}.PanoSpatialTagPlugin__tag-hide.svelte-1wukaol .PanoSpatialTagPlugin__tag-line1.svelte-1wukaol{opacity:0.5;transform:translate(-50%, 10%) scaleY(0);-webkit-animation:svelte-1wukaol-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s;animation:svelte-1wukaol-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s}.PanoSpatialTagPlugin__tag-hide.svelte-1wukaol .PanoSpatialTagPlugin__tag-line2.svelte-1wukaol{opacity:0.5;transform:translate(-50%, 0) scaleY(0);-webkit-animation:svelte-1wukaol-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s;animation:svelte-1wukaol-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s}@-webkit-keyframes svelte-1wukaol-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@keyframes svelte-1wukaol-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@-webkit-keyframes svelte-1wukaol-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@keyframes svelte-1wukaol-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@-webkit-keyframes svelte-1wukaol-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-1wukaol-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@-webkit-keyframes svelte-1wukaol-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-1wukaol-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}");
|
|
13377
13376
|
}
|
|
13378
13377
|
|
|
13379
13378
|
function create_fragment$2(ctx) {
|
|
@@ -13407,19 +13406,19 @@ function create_fragment$2(ctx) {
|
|
|
13407
13406
|
t3 = internal.space();
|
|
13408
13407
|
div3 = internal.element("div");
|
|
13409
13408
|
div2 = internal.element("div");
|
|
13410
|
-
internal.attr(div0, "class", "PanoSpatialTagPlugin__tag-shadow svelte-
|
|
13409
|
+
internal.attr(div0, "class", "PanoSpatialTagPlugin__tag-shadow svelte-1wukaol");
|
|
13411
13410
|
internal.set_style(div0, "transform", "translate(" + /*contentWidth*/ ctx[7] / 2 * /*contentZoom*/ ctx[3] * 3 + "px, " + /*contentHeight*/ ctx[8] / 2 * (/*upsideDown*/ ctx[1] ? -1 : 1) * /*contentZoom*/ ctx[3] * 3 + "px)");
|
|
13412
|
-
internal.attr(i0, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-
|
|
13411
|
+
internal.attr(i0, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-1wukaol");
|
|
13413
13412
|
internal.set_style(i0, "width", /*lineWidthZoom*/ ctx[4] + "rem");
|
|
13414
|
-
internal.attr(i1, "class", "PanoSpatialTagPlugin__tag-line1 svelte-
|
|
13415
|
-
internal.attr(i2, "class", "PanoSpatialTagPlugin__tag-line2 svelte-
|
|
13416
|
-
internal.attr(div1, "class", "PanoSpatialTagPlugin__tag-line svelte-
|
|
13417
|
-
internal.attr(div2, "class", "PanoSpatialTagPlugin__tag-content svelte-
|
|
13418
|
-
internal.attr(div3, "class", "PanoSpatialTagPlugin__tag-animate svelte-
|
|
13413
|
+
internal.attr(i1, "class", "PanoSpatialTagPlugin__tag-line1 svelte-1wukaol");
|
|
13414
|
+
internal.attr(i2, "class", "PanoSpatialTagPlugin__tag-line2 svelte-1wukaol");
|
|
13415
|
+
internal.attr(div1, "class", "PanoSpatialTagPlugin__tag-line svelte-1wukaol");
|
|
13416
|
+
internal.attr(div2, "class", "PanoSpatialTagPlugin__tag-content svelte-1wukaol");
|
|
13417
|
+
internal.attr(div3, "class", "PanoSpatialTagPlugin__tag-animate svelte-1wukaol");
|
|
13419
13418
|
internal.set_style(div3, "transform", "scale(" + /*contentZoom*/ ctx[3] * 3 + ")");
|
|
13420
13419
|
internal.attr(div4, "id", div4_id_value = 'PanoSpatialTagPlugin__' + /*id*/ ctx[0]);
|
|
13421
13420
|
internal.set_style(div4, "height", 20 * /*lineHeightZoom*/ ctx[5] + "rem");
|
|
13422
|
-
internal.attr(div4, "class", "svelte-
|
|
13421
|
+
internal.attr(div4, "class", "svelte-1wukaol");
|
|
13423
13422
|
internal.toggle_class(div4, "PanoSpatialTagPlugin__tag-x", true);
|
|
13424
13423
|
internal.toggle_class(div4, "PanoSpatialTagPlugin__tag-upside-down", /*upsideDown*/ ctx[1]);
|
|
13425
13424
|
internal.toggle_class(div4, "PanoSpatialTagPlugin__tag-show", /*show*/ ctx[10]);
|
|
@@ -14286,7 +14285,7 @@ var DISPLAY_STRATEGY_TYPE;
|
|
|
14286
14285
|
/* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.47.0 */
|
|
14287
14286
|
|
|
14288
14287
|
function add_css$1(target) {
|
|
14289
|
-
internal.append_styles(target, "svelte-
|
|
14288
|
+
internal.append_styles(target, "svelte-1hzvil1", ".item-label-item.svelte-1hzvil1{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1hzvil1{opacity:1;-webkit-animation:svelte-1hzvil1-fadeIn .3s ease-in;animation:svelte-1hzvil1-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-1hzvil1::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);filter:blur(0.83333rem);z-index:-1}.item-label-item__text-wrap.svelte-1hzvil1{padding:0.3125rem 0.3125rem 0;position:absolute;height:1.04167rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.52083rem;font-size:0.57292rem;font-weight:bold;color:#FFEAC0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1hzvil1{padding-bottom:0.20833rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:1px solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1hzvil1{position:absolute;bottom:0;width:1px;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@-webkit-keyframes svelte-1hzvil1-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-1hzvil1-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
|
|
14290
14289
|
}
|
|
14291
14290
|
|
|
14292
14291
|
function create_fragment$1(ctx) {
|
|
@@ -14313,12 +14312,12 @@ function create_fragment$1(ctx) {
|
|
|
14313
14312
|
t0 = internal.text(t0_value);
|
|
14314
14313
|
t1 = internal.space();
|
|
14315
14314
|
div1 = internal.element("div");
|
|
14316
|
-
internal.attr(span, "class", "item-label-item__text svelte-
|
|
14317
|
-
internal.attr(div0, "class", "item-label-item__text-wrap svelte-
|
|
14315
|
+
internal.attr(span, "class", "item-label-item__text svelte-1hzvil1");
|
|
14316
|
+
internal.attr(div0, "class", "item-label-item__text-wrap svelte-1hzvil1");
|
|
14318
14317
|
internal.set_style(div0, "top", `-${/*itemLabel*/ ctx[0].strokeLength + 26}px`);
|
|
14319
|
-
internal.attr(div1, "class", "item-label-item__bar svelte-
|
|
14318
|
+
internal.attr(div1, "class", "item-label-item__bar svelte-1hzvil1");
|
|
14320
14319
|
internal.set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
14321
|
-
internal.attr(div2, "class", div2_class_value = "" + (internal.null_to_empty(classNames__default["default"]("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-
|
|
14320
|
+
internal.attr(div2, "class", div2_class_value = "" + (internal.null_to_empty(classNames__default["default"]("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-1hzvil1"));
|
|
14322
14321
|
internal.set_style(div2, "z-index", /*itemLabel*/ ctx[0].zIndex, false);
|
|
14323
14322
|
internal.set_style(div2, "transform", /*itemLabel*/ ctx[0].transform, false);
|
|
14324
14323
|
},
|
|
@@ -14348,7 +14347,7 @@ function create_fragment$1(ctx) {
|
|
|
14348
14347
|
internal.set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
14349
14348
|
}
|
|
14350
14349
|
|
|
14351
|
-
if (dirty & /*itemLabel*/ 1 && div2_class_value !== (div2_class_value = "" + (internal.null_to_empty(classNames__default["default"]("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-
|
|
14350
|
+
if (dirty & /*itemLabel*/ 1 && div2_class_value !== (div2_class_value = "" + (internal.null_to_empty(classNames__default["default"]("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-1hzvil1"))) {
|
|
14352
14351
|
internal.attr(div2, "class", div2_class_value);
|
|
14353
14352
|
}
|
|
14354
14353
|
|
|
@@ -14412,7 +14411,7 @@ function debounce(func, wait = 200) {
|
|
|
14412
14411
|
/* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.47.0 */
|
|
14413
14412
|
|
|
14414
14413
|
function add_css(target) {
|
|
14415
|
-
internal.append_styles(target, "svelte-
|
|
14414
|
+
internal.append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
14416
14415
|
}
|
|
14417
14416
|
|
|
14418
14417
|
function get_each_context(ctx, list, i) {
|
|
@@ -14493,7 +14492,7 @@ function create_fragment(ctx) {
|
|
|
14493
14492
|
each_blocks[i].c();
|
|
14494
14493
|
}
|
|
14495
14494
|
|
|
14496
|
-
internal.attr(div, "class", "item-labels-container svelte-
|
|
14495
|
+
internal.attr(div, "class", "item-labels-container svelte-gk8s47");
|
|
14497
14496
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
14498
14497
|
internal.set_style(div, "opacity", /*itemsVisible*/ ctx[4] ? 1 : 0, false);
|
|
14499
14498
|
},
|