@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.es.js
CHANGED
|
@@ -478,7 +478,7 @@ const ROOM_LABEL_BG = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAY
|
|
|
478
478
|
/* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.47.0 */
|
|
479
479
|
|
|
480
480
|
function add_css$l(target) {
|
|
481
|
-
append_styles(target, "svelte-
|
|
481
|
+
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}");
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
function create_fragment$q(ctx) {
|
|
@@ -498,11 +498,11 @@ function create_fragment$q(ctx) {
|
|
|
498
498
|
t0 = text(t0_value);
|
|
499
499
|
t1 = space();
|
|
500
500
|
div0 = element("div");
|
|
501
|
-
attr(span, "class", "room-label-item__text svelte-
|
|
501
|
+
attr(span, "class", "room-label-item__text svelte-1ak9fbs");
|
|
502
502
|
set_style(span, "background-image", "url(" + ROOM_LABEL_BG + ")");
|
|
503
503
|
toggle_class(span, "wide", /*roomLabel*/ ctx[0].name.length > 3);
|
|
504
|
-
attr(div0, "class", "room-label-item__bar svelte-
|
|
505
|
-
attr(div1, "class", "room-label-item svelte-
|
|
504
|
+
attr(div0, "class", "room-label-item__bar svelte-1ak9fbs");
|
|
505
|
+
attr(div1, "class", "room-label-item svelte-1ak9fbs");
|
|
506
506
|
set_style(div1, "z-index", /*roomLabel*/ ctx[0].zIndex, false);
|
|
507
507
|
set_style(div1, "transform", /*roomLabel*/ ctx[0].transform, false);
|
|
508
508
|
set_style(div1, "opacity", /*roomLabel*/ ctx[0].visible ? 1 : 0, false);
|
|
@@ -578,7 +578,7 @@ class RoomLabelItem extends SvelteComponent {
|
|
|
578
578
|
/* src/ModelRoomLabelPlugin/RoomLabelItems.svelte generated by Svelte v3.47.0 */
|
|
579
579
|
|
|
580
580
|
function add_css$k(target) {
|
|
581
|
-
append_styles(target, "svelte-
|
|
581
|
+
append_styles(target, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
function get_each_context$8(ctx, list, i) {
|
|
@@ -659,7 +659,7 @@ function create_fragment$p(ctx) {
|
|
|
659
659
|
each_blocks[i].c();
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
attr(div, "class", "room-labels-container svelte-
|
|
662
|
+
attr(div, "class", "room-labels-container svelte-9eg4zi");
|
|
663
663
|
add_render_callback(() => /*div_elementresize_handler*/ ctx[4].call(div));
|
|
664
664
|
},
|
|
665
665
|
m(target, anchor) {
|
|
@@ -1227,7 +1227,7 @@ function rad2Deg$1(rad) {
|
|
|
1227
1227
|
/* src/floorplan/ModelFloorplanPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
1228
1228
|
|
|
1229
1229
|
function add_css$j(target) {
|
|
1230
|
-
append_styles(target, "svelte-
|
|
1230
|
+
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%}");
|
|
1231
1231
|
}
|
|
1232
1232
|
|
|
1233
1233
|
function create_fragment$o(ctx) {
|
|
@@ -1238,7 +1238,7 @@ function create_fragment$o(ctx) {
|
|
|
1238
1238
|
c() {
|
|
1239
1239
|
div1 = element("div");
|
|
1240
1240
|
div0 = element("div");
|
|
1241
|
-
attr(div0, "class", "floorplan__camera-rotate svelte-
|
|
1241
|
+
attr(div0, "class", "floorplan__camera-rotate svelte-17cl35n");
|
|
1242
1242
|
set_style(div0, "background-image", `url(${/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE})`);
|
|
1243
1243
|
set_style(div0, "width", /*domSizeStyle*/ ctx[4], false);
|
|
1244
1244
|
set_style(div0, "height", /*domSizeStyle*/ ctx[4], false);
|
|
@@ -1246,7 +1246,7 @@ function create_fragment$o(ctx) {
|
|
|
1246
1246
|
set_style(div0, "top", '-' + /*domSizeStyle*/ ctx[4], false);
|
|
1247
1247
|
set_style(div0, "transform", `rotate(${/*rotate*/ ctx[3]}deg)`, false);
|
|
1248
1248
|
set_style(div0, "transform-origin", `${/*domSizeStyle*/ ctx[4]} ${/*domSizeStyle*/ ctx[4]}`, false);
|
|
1249
|
-
attr(div1, "class", "floorplan__camera-position svelte-
|
|
1249
|
+
attr(div1, "class", "floorplan__camera-position svelte-17cl35n");
|
|
1250
1250
|
set_style(div1, "left", /*positionLeft*/ ctx[1], false);
|
|
1251
1251
|
set_style(div1, "top", /*positionTop*/ ctx[2], false);
|
|
1252
1252
|
},
|
|
@@ -1332,7 +1332,7 @@ const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAM
|
|
|
1332
1332
|
/* src/floorplan/ModelFloorplanPlugin/Components/Compass.svelte generated by Svelte v3.47.0 */
|
|
1333
1333
|
|
|
1334
1334
|
function add_css$i(target) {
|
|
1335
|
-
append_styles(target, "svelte-
|
|
1335
|
+
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}");
|
|
1336
1336
|
}
|
|
1337
1337
|
|
|
1338
1338
|
// (13:0) {#if northRad}
|
|
@@ -1350,10 +1350,10 @@ function create_if_block$8(ctx) {
|
|
|
1350
1350
|
t0 = space();
|
|
1351
1351
|
span = element("span");
|
|
1352
1352
|
t1 = text(/*northDesc*/ ctx[0]);
|
|
1353
|
-
attr(div0, "class", "floorplan-plugin__compass-image svelte-
|
|
1353
|
+
attr(div0, "class", "floorplan-plugin__compass-image svelte-1q44ru9");
|
|
1354
1354
|
set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
|
|
1355
|
-
attr(span, "class", "floorplan-plugin__compass-text svelte-
|
|
1356
|
-
attr(div1, "class", "floorplan-plugin__compass svelte-
|
|
1355
|
+
attr(span, "class", "floorplan-plugin__compass-text svelte-1q44ru9");
|
|
1356
|
+
attr(div1, "class", "floorplan-plugin__compass svelte-1q44ru9");
|
|
1357
1357
|
set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
|
|
1358
1358
|
},
|
|
1359
1359
|
m(target, anchor) {
|
|
@@ -1431,7 +1431,7 @@ class Compass extends SvelteComponent {
|
|
|
1431
1431
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.47.0 */
|
|
1432
1432
|
|
|
1433
1433
|
function add_css$h(target) {
|
|
1434
|
-
append_styles(target, "svelte-
|
|
1434
|
+
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}");
|
|
1435
1435
|
}
|
|
1436
1436
|
|
|
1437
1437
|
// (22:30)
|
|
@@ -1476,7 +1476,7 @@ function create_if_block$7(ctx) {
|
|
|
1476
1476
|
span1 = element("span");
|
|
1477
1477
|
span1.textContent = `${/*roomSizeDes*/ ctx[3]}`;
|
|
1478
1478
|
attr(span0, "class", "floorplan-plugin__room-name");
|
|
1479
|
-
attr(span1, "class", "floorplan-plugin__room-size svelte-
|
|
1479
|
+
attr(span1, "class", "floorplan-plugin__room-size svelte-i2nwuk");
|
|
1480
1480
|
},
|
|
1481
1481
|
m(target, anchor) {
|
|
1482
1482
|
insert(target, span0, anchor);
|
|
@@ -1510,7 +1510,7 @@ function create_fragment$m(ctx) {
|
|
|
1510
1510
|
c() {
|
|
1511
1511
|
div = element("div");
|
|
1512
1512
|
if (if_block) if_block.c();
|
|
1513
|
-
attr(div, "class", "floorplan-plugin__room-label-item svelte-
|
|
1513
|
+
attr(div, "class", "floorplan-plugin__room-label-item svelte-i2nwuk");
|
|
1514
1514
|
set_style(div, "left", /*left*/ ctx[4], false);
|
|
1515
1515
|
set_style(div, "top", /*top*/ ctx[5], false);
|
|
1516
1516
|
set_style(div, "font-size", /*fontSize*/ ctx[6], false);
|
|
@@ -1585,7 +1585,7 @@ class RoomLabel extends SvelteComponent {
|
|
|
1585
1585
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.47.0 */
|
|
1586
1586
|
|
|
1587
1587
|
function add_css$g(target) {
|
|
1588
|
-
append_styles(target, "svelte-
|
|
1588
|
+
append_styles(target, "svelte-vkeyjz", ".floorplan-plugin__room-labels.svelte-vkeyjz{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20}");
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
1591
1591
|
function get_each_context$7(ctx, list, i) {
|
|
@@ -1617,7 +1617,7 @@ function create_if_block$6(ctx) {
|
|
|
1617
1617
|
each_blocks[i].c();
|
|
1618
1618
|
}
|
|
1619
1619
|
|
|
1620
|
-
attr(div, "class", "floorplan-plugin__room-labels svelte-
|
|
1620
|
+
attr(div, "class", "floorplan-plugin__room-labels svelte-vkeyjz");
|
|
1621
1621
|
},
|
|
1622
1622
|
m(target, anchor) {
|
|
1623
1623
|
insert(target, div, anchor);
|
|
@@ -1837,7 +1837,7 @@ function notNil(value) {
|
|
|
1837
1837
|
/* src/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.47.0 */
|
|
1838
1838
|
|
|
1839
1839
|
function add_css$f(target) {
|
|
1840
|
-
append_styles(target, "svelte-
|
|
1840
|
+
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%)}");
|
|
1841
1841
|
}
|
|
1842
1842
|
|
|
1843
1843
|
function get_each_context$6(ctx, list, i) {
|
|
@@ -1864,7 +1864,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
1864
1864
|
first: null,
|
|
1865
1865
|
c() {
|
|
1866
1866
|
div = element("div");
|
|
1867
|
-
attr(div, "class", "floorplan-plugin__rule-scale svelte-
|
|
1867
|
+
attr(div, "class", "floorplan-plugin__rule-scale svelte-1d5a0k4");
|
|
1868
1868
|
set_style(div, "left", style_left, false);
|
|
1869
1869
|
this.first = div;
|
|
1870
1870
|
},
|
|
@@ -1897,9 +1897,9 @@ function create_each_block$6(key_1, ctx) {
|
|
|
1897
1897
|
span = element("span");
|
|
1898
1898
|
t0 = text(t0_value);
|
|
1899
1899
|
t1 = space();
|
|
1900
|
-
attr(span, "class", "floorplan-plugin__rule-text svelte-
|
|
1900
|
+
attr(span, "class", "floorplan-plugin__rule-text svelte-1d5a0k4");
|
|
1901
1901
|
toggle_class(span, "is-row", /*isRow*/ ctx[5]);
|
|
1902
|
-
attr(div, "class", "floorplan-plugin__text-wrapper svelte-
|
|
1902
|
+
attr(div, "class", "floorplan-plugin__text-wrapper svelte-1d5a0k4");
|
|
1903
1903
|
toggle_class(div, "floorplan-plugin__text-wrapper--is-left-or-top", /*isLeft*/ ctx[3] || /*isTop*/ ctx[1]);
|
|
1904
1904
|
toggle_class(div, "floorplan-plugin__text-wrapper-is-right-or-bottom", /*isRight*/ ctx[4] || /*isBottom*/ ctx[2]);
|
|
1905
1905
|
set_style(div, "left", style_left, false);
|
|
@@ -1964,8 +1964,8 @@ function create_fragment$k(ctx) {
|
|
|
1964
1964
|
each_blocks[i].c();
|
|
1965
1965
|
}
|
|
1966
1966
|
|
|
1967
|
-
attr(div0, "class", "floorplan-plugin__rule-line svelte-
|
|
1968
|
-
attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
1967
|
+
attr(div0, "class", "floorplan-plugin__rule-line svelte-1d5a0k4");
|
|
1968
|
+
attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4");
|
|
1969
1969
|
set_style(div1, "width", /*width*/ ctx[9], false);
|
|
1970
1970
|
set_style(div1, "transform", /*transform*/ ctx[7], false);
|
|
1971
1971
|
set_style(div1, "transform-origin", /*transformOrigin*/ ctx[8], false);
|
|
@@ -1996,7 +1996,7 @@ function create_fragment$k(ctx) {
|
|
|
1996
1996
|
each_blocks = update_keyed_each(each_blocks, dirty, get_key_1, 1, ctx, each_value, each1_lookup, div1, destroy_block, create_each_block$6, null, get_each_context$6);
|
|
1997
1997
|
}
|
|
1998
1998
|
|
|
1999
|
-
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
1999
|
+
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4")) {
|
|
2000
2000
|
attr(div1, "class", div1_class_value);
|
|
2001
2001
|
}
|
|
2002
2002
|
},
|
|
@@ -2312,7 +2312,7 @@ class RuleLabels extends SvelteComponent {
|
|
|
2312
2312
|
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.47.0 */
|
|
2313
2313
|
|
|
2314
2314
|
function add_css$e(target) {
|
|
2315
|
-
append_styles(target, "svelte-
|
|
2315
|
+
append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
2316
2316
|
}
|
|
2317
2317
|
|
|
2318
2318
|
function create_fragment$i(ctx) {
|
|
@@ -2324,7 +2324,7 @@ function create_fragment$i(ctx) {
|
|
|
2324
2324
|
img = element("img");
|
|
2325
2325
|
if (!src_url_equal(img.src, img_src_value = /*url*/ ctx[0])) attr(img, "src", img_src_value);
|
|
2326
2326
|
attr(img, "alt", "floorplan iamge");
|
|
2327
|
-
attr(img, "class", "svelte-
|
|
2327
|
+
attr(img, "class", "svelte-1gfoniz");
|
|
2328
2328
|
},
|
|
2329
2329
|
m(target, anchor) {
|
|
2330
2330
|
insert(target, img, anchor);
|
|
@@ -2362,7 +2362,7 @@ class Normalmage extends SvelteComponent {
|
|
|
2362
2362
|
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.47.0 */
|
|
2363
2363
|
|
|
2364
2364
|
function add_css$d(target) {
|
|
2365
|
-
append_styles(target, "svelte-
|
|
2365
|
+
append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
2366
2366
|
}
|
|
2367
2367
|
|
|
2368
2368
|
function create_fragment$h(ctx) {
|
|
@@ -2379,7 +2379,7 @@ function create_fragment$h(ctx) {
|
|
|
2379
2379
|
html_tag_1 = new HtmlTag();
|
|
2380
2380
|
html_tag.a = t;
|
|
2381
2381
|
html_tag_1.a = null;
|
|
2382
|
-
attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
2382
|
+
attr(div, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
2383
2383
|
},
|
|
2384
2384
|
m(target, anchor) {
|
|
2385
2385
|
insert(target, div, anchor);
|
|
@@ -2409,8 +2409,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
2409
2409
|
}
|
|
2410
2410
|
svg [type='lineItemGroup'] g g g g {
|
|
2411
2411
|
stroke: #ffffff;
|
|
2412
|
-
}
|
|
2413
|
-
</style>
|
|
2412
|
+
}</style>
|
|
2414
2413
|
`;
|
|
2415
2414
|
|
|
2416
2415
|
$$self.$$set = $$props => {
|
|
@@ -2430,7 +2429,7 @@ class SvgImage extends SvelteComponent {
|
|
|
2430
2429
|
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.47.0 */
|
|
2431
2430
|
|
|
2432
2431
|
function add_css$c(target) {
|
|
2433
|
-
append_styles(target, "svelte-
|
|
2432
|
+
append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
2434
2433
|
}
|
|
2435
2434
|
|
|
2436
2435
|
// (13:22)
|
|
@@ -2526,7 +2525,7 @@ function create_fragment$g(ctx) {
|
|
|
2526
2525
|
c() {
|
|
2527
2526
|
div = element("div");
|
|
2528
2527
|
if (if_block) if_block.c();
|
|
2529
|
-
attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
2528
|
+
attr(div, "class", "floorplan-plugin__base-image svelte-ozpg4a");
|
|
2530
2529
|
},
|
|
2531
2530
|
m(target, anchor) {
|
|
2532
2531
|
insert(target, div, anchor);
|
|
@@ -2895,7 +2894,7 @@ class RoomMaterial_2 extends SvelteComponent {
|
|
|
2895
2894
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.47.0 */
|
|
2896
2895
|
|
|
2897
2896
|
function add_css$b(target) {
|
|
2898
|
-
append_styles(target, "svelte-
|
|
2897
|
+
append_styles(target, "svelte-1d4xj70", "svg.svelte-1d4xj70{position:absolute;width:100%;height:100%;overflow:visible}");
|
|
2899
2898
|
}
|
|
2900
2899
|
|
|
2901
2900
|
function get_each_context$4(ctx, list, i) {
|
|
@@ -3028,7 +3027,7 @@ function create_each_block$4(ctx) {
|
|
|
3028
3027
|
c() {
|
|
3029
3028
|
svg = svg_element("svg");
|
|
3030
3029
|
if_block.c();
|
|
3031
|
-
attr(svg, "class", "svelte-
|
|
3030
|
+
attr(svg, "class", "svelte-1d4xj70");
|
|
3032
3031
|
},
|
|
3033
3032
|
m(target, anchor) {
|
|
3034
3033
|
insert(target, svg, anchor);
|
|
@@ -3197,7 +3196,7 @@ class RoomMaterial extends SvelteComponent {
|
|
|
3197
3196
|
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.47.0 */
|
|
3198
3197
|
|
|
3199
3198
|
function add_css$a(target) {
|
|
3200
|
-
append_styles(target, "svelte-
|
|
3199
|
+
append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
3201
3200
|
}
|
|
3202
3201
|
|
|
3203
3202
|
function create_fragment$b(ctx) {
|
|
@@ -3208,7 +3207,7 @@ function create_fragment$b(ctx) {
|
|
|
3208
3207
|
path = svg_element("path");
|
|
3209
3208
|
attr(path, "d", /*_pathD*/ ctx[0]);
|
|
3210
3209
|
attr(path, "fill", `#fff`);
|
|
3211
|
-
attr(path, "class", "svelte-
|
|
3210
|
+
attr(path, "class", "svelte-19uvvss");
|
|
3212
3211
|
},
|
|
3213
3212
|
m(target, anchor) {
|
|
3214
3213
|
insert(target, path, anchor);
|
|
@@ -3252,7 +3251,7 @@ class Room extends SvelteComponent {
|
|
|
3252
3251
|
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.47.0 */
|
|
3253
3252
|
|
|
3254
3253
|
function add_css$9(target) {
|
|
3255
|
-
append_styles(target, "svelte-
|
|
3254
|
+
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}");
|
|
3256
3255
|
}
|
|
3257
3256
|
|
|
3258
3257
|
function get_each_context$3(ctx, list, i) {
|
|
@@ -3354,8 +3353,8 @@ function create_fragment$a(ctx) {
|
|
|
3354
3353
|
each_blocks[i].c();
|
|
3355
3354
|
}
|
|
3356
3355
|
|
|
3357
|
-
attr(svg, "class", "svelte-
|
|
3358
|
-
attr(div, "class", "floorplan-plugin__room-highlight svelte-
|
|
3356
|
+
attr(svg, "class", "svelte-klfhwd");
|
|
3357
|
+
attr(div, "class", "floorplan-plugin__room-highlight svelte-klfhwd");
|
|
3359
3358
|
add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
3360
3359
|
},
|
|
3361
3360
|
m(target, anchor) {
|
|
@@ -3511,7 +3510,7 @@ class RoomHighlight extends SvelteComponent {
|
|
|
3511
3510
|
/* src/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.47.0 */
|
|
3512
3511
|
|
|
3513
3512
|
function add_css$8(target) {
|
|
3514
|
-
append_styles(target, "svelte-
|
|
3513
|
+
append_styles(target, "svelte-tlo7rk", ".floorplan-current-floor.svelte-tlo7rk{position:relative;width:100%;height:100%}");
|
|
3515
3514
|
}
|
|
3516
3515
|
|
|
3517
3516
|
// (19:2) {#if hoverEnable}
|
|
@@ -3745,7 +3744,7 @@ function create_fragment$9(ctx) {
|
|
|
3745
3744
|
if (if_block1) if_block1.c();
|
|
3746
3745
|
t3 = space();
|
|
3747
3746
|
if (if_block2) if_block2.c();
|
|
3748
|
-
attr(div, "class", "floorplan-current-floor svelte-
|
|
3747
|
+
attr(div, "class", "floorplan-current-floor svelte-tlo7rk");
|
|
3749
3748
|
},
|
|
3750
3749
|
m(target, anchor) {
|
|
3751
3750
|
insert(target, div, anchor);
|
|
@@ -3946,7 +3945,7 @@ class CurrentFloor$1 extends SvelteComponent {
|
|
|
3946
3945
|
/* src/floorplan/ModelFloorplanPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
3947
3946
|
|
|
3948
3947
|
function add_css$7(target) {
|
|
3949
|
-
append_styles(target, "svelte-
|
|
3948
|
+
append_styles(target, "svelte-q5wdnn", ".floorplan-main.svelte-q5wdnn{width:100%;height:100%}");
|
|
3950
3949
|
}
|
|
3951
3950
|
|
|
3952
3951
|
// (24:0) {#if visible}
|
|
@@ -4007,7 +4006,7 @@ function create_if_block$2(ctx) {
|
|
|
4007
4006
|
create_component(camera.$$.fragment);
|
|
4008
4007
|
t1 = space();
|
|
4009
4008
|
if (if_block) if_block.c();
|
|
4010
|
-
attr(div, "class", "floorplan-main svelte-
|
|
4009
|
+
attr(div, "class", "floorplan-main svelte-q5wdnn");
|
|
4011
4010
|
},
|
|
4012
4011
|
m(target, anchor) {
|
|
4013
4012
|
insert(target, div, anchor);
|
|
@@ -4637,7 +4636,7 @@ function throttle(func, wait = 200) {
|
|
|
4637
4636
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
4638
4637
|
|
|
4639
4638
|
function add_css$6(target) {
|
|
4640
|
-
append_styles(target, "svelte-
|
|
4639
|
+
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%}");
|
|
4641
4640
|
}
|
|
4642
4641
|
|
|
4643
4642
|
function create_fragment$7(ctx) {
|
|
@@ -4650,12 +4649,12 @@ function create_fragment$7(ctx) {
|
|
|
4650
4649
|
div2 = element("div");
|
|
4651
4650
|
div1 = element("div");
|
|
4652
4651
|
div0 = element("div");
|
|
4653
|
-
attr(div0, "class", "plugin-radar__camera-rotate svelte-
|
|
4652
|
+
attr(div0, "class", "plugin-radar__camera-rotate svelte-1ty3s4p");
|
|
4654
4653
|
set_style(div0, "background-image", "url(" + (/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE) + ")");
|
|
4655
4654
|
set_style(div0, "transform", /*rotateTransform*/ ctx[1], false);
|
|
4656
|
-
attr(div1, "class", "plugin-radar__camera-position svelte-
|
|
4655
|
+
attr(div1, "class", "plugin-radar__camera-position svelte-1ty3s4p");
|
|
4657
4656
|
set_style(div1, "transform", /*positionTransform*/ ctx[2], false);
|
|
4658
|
-
attr(div2, "class", "plugin-radar__camera-wrapper svelte-
|
|
4657
|
+
attr(div2, "class", "plugin-radar__camera-wrapper svelte-1ty3s4p");
|
|
4659
4658
|
},
|
|
4660
4659
|
m(target, anchor) {
|
|
4661
4660
|
insert(target, div2, anchor);
|
|
@@ -4771,7 +4770,7 @@ class Camera extends SvelteComponent {
|
|
|
4771
4770
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.47.0 */
|
|
4772
4771
|
|
|
4773
4772
|
function add_css$5(target) {
|
|
4774
|
-
append_styles(target, "svelte-
|
|
4773
|
+
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%)}");
|
|
4775
4774
|
}
|
|
4776
4775
|
|
|
4777
4776
|
function get_each_context$2(ctx, list, i) {
|
|
@@ -4797,11 +4796,11 @@ function create_each_block$2(key_1, ctx) {
|
|
|
4797
4796
|
div1 = element("div");
|
|
4798
4797
|
div0 = element("div");
|
|
4799
4798
|
t = space();
|
|
4800
|
-
attr(div0, "class", "plugin-pano-floorplan__extra-object-item svelte-
|
|
4799
|
+
attr(div0, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7");
|
|
4801
4800
|
set_style(div0, "background-image", `url(${/*extraObject*/ ctx[1].icon.url})`);
|
|
4802
4801
|
set_style(div0, "width", style_width, false);
|
|
4803
4802
|
set_style(div0, "height", style_height, false);
|
|
4804
|
-
attr(div1, "class", "plugin-pano-floorplan__extra-object-item--position svelte-
|
|
4803
|
+
attr(div1, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7");
|
|
4805
4804
|
set_style(div1, "top", style_top, false);
|
|
4806
4805
|
set_style(div1, "left", style_left, false);
|
|
4807
4806
|
this.first = div1;
|
|
@@ -4861,7 +4860,7 @@ function create_fragment$6(ctx) {
|
|
|
4861
4860
|
each_blocks[i].c();
|
|
4862
4861
|
}
|
|
4863
4862
|
|
|
4864
|
-
attr(div, "class", "plugin-pano-floorplan__extra-objects svelte-
|
|
4863
|
+
attr(div, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
|
|
4865
4864
|
},
|
|
4866
4865
|
m(target, anchor) {
|
|
4867
4866
|
insert(target, div, anchor);
|
|
@@ -5135,7 +5134,7 @@ class CurrentFloor extends SvelteComponent {
|
|
|
5135
5134
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
5136
5135
|
|
|
5137
5136
|
function add_css$4(target) {
|
|
5138
|
-
append_styles(target, "svelte-
|
|
5137
|
+
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}");
|
|
5139
5138
|
}
|
|
5140
5139
|
|
|
5141
5140
|
// (41:2) {#if clientWidth !== 0}
|
|
@@ -5190,7 +5189,7 @@ function create_if_block(ctx) {
|
|
|
5190
5189
|
create_component(currentfloor.$$.fragment);
|
|
5191
5190
|
t = space();
|
|
5192
5191
|
create_component(camera.$$.fragment);
|
|
5193
|
-
attr(div, "class", "plugin-floorplan-radar-container svelte-
|
|
5192
|
+
attr(div, "class", "plugin-floorplan-radar-container svelte-1mvqyqq");
|
|
5194
5193
|
set_style(div, "width", style_width, false);
|
|
5195
5194
|
set_style(div, "height", style_height, false);
|
|
5196
5195
|
},
|
|
@@ -5267,7 +5266,7 @@ function create_fragment$4(ctx) {
|
|
|
5267
5266
|
c() {
|
|
5268
5267
|
div = element("div");
|
|
5269
5268
|
if (if_block) if_block.c();
|
|
5270
|
-
attr(div, "class", "plugin-floorplan-radar svelte-
|
|
5269
|
+
attr(div, "class", "plugin-floorplan-radar svelte-1mvqyqq");
|
|
5271
5270
|
add_render_callback(() => /*div_elementresize_handler*/ ctx[11].call(div));
|
|
5272
5271
|
},
|
|
5273
5272
|
m(target, anchor) {
|
|
@@ -13197,7 +13196,7 @@ const currentTarget = writable(null);
|
|
|
13197
13196
|
/* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.47.0 */
|
|
13198
13197
|
|
|
13199
13198
|
function add_css$3(target) {
|
|
13200
|
-
append_styles(target, "svelte-
|
|
13199
|
+
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}}");
|
|
13201
13200
|
}
|
|
13202
13201
|
|
|
13203
13202
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -13221,7 +13220,7 @@ function create_each_block$1(ctx) {
|
|
|
13221
13220
|
return {
|
|
13222
13221
|
c() {
|
|
13223
13222
|
i = element("i");
|
|
13224
|
-
attr(i, "class", "svelte-
|
|
13223
|
+
attr(i, "class", "svelte-1kuu68s");
|
|
13225
13224
|
toggle_class(i, "PanoSpatialTagPlugin__tag-origin", true);
|
|
13226
13225
|
toggle_class(i, "PanoSpatialTagPlugin__tag-origin-destroy", /*origin*/ ctx[3].destroying);
|
|
13227
13226
|
set_style(i, "top", style_top, false);
|
|
@@ -13346,7 +13345,7 @@ class Origins extends SvelteComponent {
|
|
|
13346
13345
|
/* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.47.0 */
|
|
13347
13346
|
|
|
13348
13347
|
function add_css$2(target) {
|
|
13349
|
-
append_styles(target, "svelte-
|
|
13348
|
+
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)}}");
|
|
13350
13349
|
}
|
|
13351
13350
|
|
|
13352
13351
|
function create_fragment$2(ctx) {
|
|
@@ -13380,19 +13379,19 @@ function create_fragment$2(ctx) {
|
|
|
13380
13379
|
t3 = space();
|
|
13381
13380
|
div3 = element("div");
|
|
13382
13381
|
div2 = element("div");
|
|
13383
|
-
attr(div0, "class", "PanoSpatialTagPlugin__tag-shadow svelte-
|
|
13382
|
+
attr(div0, "class", "PanoSpatialTagPlugin__tag-shadow svelte-1wukaol");
|
|
13384
13383
|
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)");
|
|
13385
|
-
attr(i0, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-
|
|
13384
|
+
attr(i0, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-1wukaol");
|
|
13386
13385
|
set_style(i0, "width", /*lineWidthZoom*/ ctx[4] + "rem");
|
|
13387
|
-
attr(i1, "class", "PanoSpatialTagPlugin__tag-line1 svelte-
|
|
13388
|
-
attr(i2, "class", "PanoSpatialTagPlugin__tag-line2 svelte-
|
|
13389
|
-
attr(div1, "class", "PanoSpatialTagPlugin__tag-line svelte-
|
|
13390
|
-
attr(div2, "class", "PanoSpatialTagPlugin__tag-content svelte-
|
|
13391
|
-
attr(div3, "class", "PanoSpatialTagPlugin__tag-animate svelte-
|
|
13386
|
+
attr(i1, "class", "PanoSpatialTagPlugin__tag-line1 svelte-1wukaol");
|
|
13387
|
+
attr(i2, "class", "PanoSpatialTagPlugin__tag-line2 svelte-1wukaol");
|
|
13388
|
+
attr(div1, "class", "PanoSpatialTagPlugin__tag-line svelte-1wukaol");
|
|
13389
|
+
attr(div2, "class", "PanoSpatialTagPlugin__tag-content svelte-1wukaol");
|
|
13390
|
+
attr(div3, "class", "PanoSpatialTagPlugin__tag-animate svelte-1wukaol");
|
|
13392
13391
|
set_style(div3, "transform", "scale(" + /*contentZoom*/ ctx[3] * 3 + ")");
|
|
13393
13392
|
attr(div4, "id", div4_id_value = 'PanoSpatialTagPlugin__' + /*id*/ ctx[0]);
|
|
13394
13393
|
set_style(div4, "height", 20 * /*lineHeightZoom*/ ctx[5] + "rem");
|
|
13395
|
-
attr(div4, "class", "svelte-
|
|
13394
|
+
attr(div4, "class", "svelte-1wukaol");
|
|
13396
13395
|
toggle_class(div4, "PanoSpatialTagPlugin__tag-x", true);
|
|
13397
13396
|
toggle_class(div4, "PanoSpatialTagPlugin__tag-upside-down", /*upsideDown*/ ctx[1]);
|
|
13398
13397
|
toggle_class(div4, "PanoSpatialTagPlugin__tag-show", /*show*/ ctx[10]);
|
|
@@ -14259,7 +14258,7 @@ var DISPLAY_STRATEGY_TYPE;
|
|
|
14259
14258
|
/* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.47.0 */
|
|
14260
14259
|
|
|
14261
14260
|
function add_css$1(target) {
|
|
14262
|
-
append_styles(target, "svelte-
|
|
14261
|
+
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 }}");
|
|
14263
14262
|
}
|
|
14264
14263
|
|
|
14265
14264
|
function create_fragment$1(ctx) {
|
|
@@ -14286,12 +14285,12 @@ function create_fragment$1(ctx) {
|
|
|
14286
14285
|
t0 = text(t0_value);
|
|
14287
14286
|
t1 = space();
|
|
14288
14287
|
div1 = element("div");
|
|
14289
|
-
attr(span, "class", "item-label-item__text svelte-
|
|
14290
|
-
attr(div0, "class", "item-label-item__text-wrap svelte-
|
|
14288
|
+
attr(span, "class", "item-label-item__text svelte-1hzvil1");
|
|
14289
|
+
attr(div0, "class", "item-label-item__text-wrap svelte-1hzvil1");
|
|
14291
14290
|
set_style(div0, "top", `-${/*itemLabel*/ ctx[0].strokeLength + 26}px`);
|
|
14292
|
-
attr(div1, "class", "item-label-item__bar svelte-
|
|
14291
|
+
attr(div1, "class", "item-label-item__bar svelte-1hzvil1");
|
|
14293
14292
|
set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
14294
|
-
attr(div2, "class", div2_class_value = "" + (null_to_empty(classNames("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-
|
|
14293
|
+
attr(div2, "class", div2_class_value = "" + (null_to_empty(classNames("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-1hzvil1"));
|
|
14295
14294
|
set_style(div2, "z-index", /*itemLabel*/ ctx[0].zIndex, false);
|
|
14296
14295
|
set_style(div2, "transform", /*itemLabel*/ ctx[0].transform, false);
|
|
14297
14296
|
},
|
|
@@ -14321,7 +14320,7 @@ function create_fragment$1(ctx) {
|
|
|
14321
14320
|
set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
14322
14321
|
}
|
|
14323
14322
|
|
|
14324
|
-
if (dirty & /*itemLabel*/ 1 && div2_class_value !== (div2_class_value = "" + (null_to_empty(classNames("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-
|
|
14323
|
+
if (dirty & /*itemLabel*/ 1 && div2_class_value !== (div2_class_value = "" + (null_to_empty(classNames("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-1hzvil1"))) {
|
|
14325
14324
|
attr(div2, "class", div2_class_value);
|
|
14326
14325
|
}
|
|
14327
14326
|
|
|
@@ -14385,7 +14384,7 @@ function debounce(func, wait = 200) {
|
|
|
14385
14384
|
/* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.47.0 */
|
|
14386
14385
|
|
|
14387
14386
|
function add_css(target) {
|
|
14388
|
-
append_styles(target, "svelte-
|
|
14387
|
+
append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
14389
14388
|
}
|
|
14390
14389
|
|
|
14391
14390
|
function get_each_context(ctx, list, i) {
|
|
@@ -14466,7 +14465,7 @@ function create_fragment(ctx) {
|
|
|
14466
14465
|
each_blocks[i].c();
|
|
14467
14466
|
}
|
|
14468
14467
|
|
|
14469
|
-
attr(div, "class", "item-labels-container svelte-
|
|
14468
|
+
attr(div, "class", "item-labels-container svelte-gk8s47");
|
|
14470
14469
|
add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
14471
14470
|
set_style(div, "opacity", /*itemsVisible*/ ctx[4] ? 1 : 0, false);
|
|
14472
14471
|
},
|