@realsee/dnalogel 2.0.0-alpha.15 → 2.0.0-alpha.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/ModelItemLabelPlugin/index.js +27 -23
- package/dist/ModelItemLabelPlugin/typings.d.ts +2 -1
- package/dist/ModelRoomLabelPlugin/index.js +7 -6
- package/dist/PanoMeasurePlugin/index.js +1 -21
- 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 +94 -110
- package/dist/index.js +94 -110
- package/dist/index.umd.js +94 -110
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ModelFloorplanErrorType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelFloorplanParameterType.html +1 -1
- package/docs/interfaces/ModelFloorplanViewEvent.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/PanoCompassPluginData.html +1 -1
- package/docs/interfaces/PanoCompassPluginParameterType.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/modules.html +12 -12
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +17 -15
- package/libs/ModelItemLabelPlugin/index.js +1 -0
- package/libs/ModelItemLabelPlugin/typings.d.ts +2 -1
- package/libs/ModelItemLabelPlugin/typings.js +1 -0
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -0
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -35,21 +35,6 @@ function _interopNamespace(e) {
|
|
|
35
35
|
return Object.freeze(n);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
function _mergeNamespaces(n, m) {
|
|
39
|
-
m.forEach(function (e) {
|
|
40
|
-
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
41
|
-
if (k !== 'default' && !(k in n)) {
|
|
42
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
43
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () { return e[k]; }
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
return Object.freeze(n);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
38
|
var THREE__namespace = /*#__PURE__*/_interopNamespace(THREE);
|
|
54
39
|
var TWEEN__namespace = /*#__PURE__*/_interopNamespace(TWEEN);
|
|
55
40
|
var TWEEN__default = /*#__PURE__*/_interopDefaultLegacy(TWEEN);
|
|
@@ -505,7 +490,7 @@ const ROOM_LABEL_BG = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAY
|
|
|
505
490
|
/* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.47.0 */
|
|
506
491
|
|
|
507
492
|
function add_css$l(target) {
|
|
508
|
-
internal.append_styles(target, "svelte-
|
|
493
|
+
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
494
|
}
|
|
510
495
|
|
|
511
496
|
function create_fragment$q(ctx) {
|
|
@@ -525,11 +510,11 @@ function create_fragment$q(ctx) {
|
|
|
525
510
|
t0 = internal.text(t0_value);
|
|
526
511
|
t1 = internal.space();
|
|
527
512
|
div0 = internal.element("div");
|
|
528
|
-
internal.attr(span, "class", "room-label-item__text svelte-
|
|
513
|
+
internal.attr(span, "class", "room-label-item__text svelte-1ak9fbs");
|
|
529
514
|
internal.set_style(span, "background-image", "url(" + ROOM_LABEL_BG + ")");
|
|
530
515
|
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-
|
|
516
|
+
internal.attr(div0, "class", "room-label-item__bar svelte-1ak9fbs");
|
|
517
|
+
internal.attr(div1, "class", "room-label-item svelte-1ak9fbs");
|
|
533
518
|
internal.set_style(div1, "z-index", /*roomLabel*/ ctx[0].zIndex, false);
|
|
534
519
|
internal.set_style(div1, "transform", /*roomLabel*/ ctx[0].transform, false);
|
|
535
520
|
internal.set_style(div1, "opacity", /*roomLabel*/ ctx[0].visible ? 1 : 0, false);
|
|
@@ -605,7 +590,7 @@ class RoomLabelItem extends internal.SvelteComponent {
|
|
|
605
590
|
/* src/ModelRoomLabelPlugin/RoomLabelItems.svelte generated by Svelte v3.47.0 */
|
|
606
591
|
|
|
607
592
|
function add_css$k(target) {
|
|
608
|
-
internal.append_styles(target, "svelte-
|
|
593
|
+
internal.append_styles(target, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
609
594
|
}
|
|
610
595
|
|
|
611
596
|
function get_each_context$8(ctx, list, i) {
|
|
@@ -686,7 +671,7 @@ function create_fragment$p(ctx) {
|
|
|
686
671
|
each_blocks[i].c();
|
|
687
672
|
}
|
|
688
673
|
|
|
689
|
-
internal.attr(div, "class", "room-labels-container svelte-
|
|
674
|
+
internal.attr(div, "class", "room-labels-container svelte-9eg4zi");
|
|
690
675
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[4].call(div));
|
|
691
676
|
},
|
|
692
677
|
m(target, anchor) {
|
|
@@ -919,6 +904,7 @@ class ModelRoomLabelController {
|
|
|
919
904
|
this.container.style.pointerEvents = 'none';
|
|
920
905
|
this.container.style.left = '0';
|
|
921
906
|
this.container.style.top = '0';
|
|
907
|
+
this.container.style.zIndex = '5';
|
|
922
908
|
// five listener
|
|
923
909
|
this.five.once('dispose', () => this.dispose());
|
|
924
910
|
this.five.on('modeChange', this.onFiveModeChange);
|
|
@@ -1253,7 +1239,7 @@ function rad2Deg$1(rad) {
|
|
|
1253
1239
|
/* src/floorplan/ModelFloorplanPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
1254
1240
|
|
|
1255
1241
|
function add_css$j(target) {
|
|
1256
|
-
internal.append_styles(target, "svelte-
|
|
1242
|
+
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%}");
|
|
1257
1243
|
}
|
|
1258
1244
|
|
|
1259
1245
|
function create_fragment$o(ctx) {
|
|
@@ -1264,7 +1250,7 @@ function create_fragment$o(ctx) {
|
|
|
1264
1250
|
c() {
|
|
1265
1251
|
div1 = internal.element("div");
|
|
1266
1252
|
div0 = internal.element("div");
|
|
1267
|
-
internal.attr(div0, "class", "floorplan__camera-rotate svelte-
|
|
1253
|
+
internal.attr(div0, "class", "floorplan__camera-rotate svelte-17cl35n");
|
|
1268
1254
|
internal.set_style(div0, "background-image", `url(${/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE})`);
|
|
1269
1255
|
internal.set_style(div0, "width", /*domSizeStyle*/ ctx[4], false);
|
|
1270
1256
|
internal.set_style(div0, "height", /*domSizeStyle*/ ctx[4], false);
|
|
@@ -1272,7 +1258,7 @@ function create_fragment$o(ctx) {
|
|
|
1272
1258
|
internal.set_style(div0, "top", '-' + /*domSizeStyle*/ ctx[4], false);
|
|
1273
1259
|
internal.set_style(div0, "transform", `rotate(${/*rotate*/ ctx[3]}deg)`, false);
|
|
1274
1260
|
internal.set_style(div0, "transform-origin", `${/*domSizeStyle*/ ctx[4]} ${/*domSizeStyle*/ ctx[4]}`, false);
|
|
1275
|
-
internal.attr(div1, "class", "floorplan__camera-position svelte-
|
|
1261
|
+
internal.attr(div1, "class", "floorplan__camera-position svelte-17cl35n");
|
|
1276
1262
|
internal.set_style(div1, "left", /*positionLeft*/ ctx[1], false);
|
|
1277
1263
|
internal.set_style(div1, "top", /*positionTop*/ ctx[2], false);
|
|
1278
1264
|
},
|
|
@@ -1358,7 +1344,7 @@ const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAM
|
|
|
1358
1344
|
/* src/floorplan/ModelFloorplanPlugin/Components/Compass.svelte generated by Svelte v3.47.0 */
|
|
1359
1345
|
|
|
1360
1346
|
function add_css$i(target) {
|
|
1361
|
-
internal.append_styles(target, "svelte-
|
|
1347
|
+
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}");
|
|
1362
1348
|
}
|
|
1363
1349
|
|
|
1364
1350
|
// (13:0) {#if northRad}
|
|
@@ -1376,10 +1362,10 @@ function create_if_block$8(ctx) {
|
|
|
1376
1362
|
t0 = internal.space();
|
|
1377
1363
|
span = internal.element("span");
|
|
1378
1364
|
t1 = internal.text(/*northDesc*/ ctx[0]);
|
|
1379
|
-
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-
|
|
1365
|
+
internal.attr(div0, "class", "floorplan-plugin__compass-image svelte-1q44ru9");
|
|
1380
1366
|
internal.set_style(div0, "background-image", `url(${COMPASS_IMAGE})`);
|
|
1381
|
-
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-
|
|
1382
|
-
internal.attr(div1, "class", "floorplan-plugin__compass svelte-
|
|
1367
|
+
internal.attr(span, "class", "floorplan-plugin__compass-text svelte-1q44ru9");
|
|
1368
|
+
internal.attr(div1, "class", "floorplan-plugin__compass svelte-1q44ru9");
|
|
1383
1369
|
internal.set_style(div1, "transform", /*compassTransformStyle*/ ctx[2], false);
|
|
1384
1370
|
},
|
|
1385
1371
|
m(target, anchor) {
|
|
@@ -1457,7 +1443,7 @@ class Compass extends internal.SvelteComponent {
|
|
|
1457
1443
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.47.0 */
|
|
1458
1444
|
|
|
1459
1445
|
function add_css$h(target) {
|
|
1460
|
-
internal.append_styles(target, "svelte-
|
|
1446
|
+
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}");
|
|
1461
1447
|
}
|
|
1462
1448
|
|
|
1463
1449
|
// (22:30)
|
|
@@ -1502,7 +1488,7 @@ function create_if_block$7(ctx) {
|
|
|
1502
1488
|
span1 = internal.element("span");
|
|
1503
1489
|
span1.textContent = `${/*roomSizeDes*/ ctx[3]}`;
|
|
1504
1490
|
internal.attr(span0, "class", "floorplan-plugin__room-name");
|
|
1505
|
-
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-
|
|
1491
|
+
internal.attr(span1, "class", "floorplan-plugin__room-size svelte-i2nwuk");
|
|
1506
1492
|
},
|
|
1507
1493
|
m(target, anchor) {
|
|
1508
1494
|
internal.insert(target, span0, anchor);
|
|
@@ -1536,7 +1522,7 @@ function create_fragment$m(ctx) {
|
|
|
1536
1522
|
c() {
|
|
1537
1523
|
div = internal.element("div");
|
|
1538
1524
|
if (if_block) if_block.c();
|
|
1539
|
-
internal.attr(div, "class", "floorplan-plugin__room-label-item svelte-
|
|
1525
|
+
internal.attr(div, "class", "floorplan-plugin__room-label-item svelte-i2nwuk");
|
|
1540
1526
|
internal.set_style(div, "left", /*left*/ ctx[4], false);
|
|
1541
1527
|
internal.set_style(div, "top", /*top*/ ctx[5], false);
|
|
1542
1528
|
internal.set_style(div, "font-size", /*fontSize*/ ctx[6], false);
|
|
@@ -1611,7 +1597,7 @@ class RoomLabel extends internal.SvelteComponent {
|
|
|
1611
1597
|
/* src/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.47.0 */
|
|
1612
1598
|
|
|
1613
1599
|
function add_css$g(target) {
|
|
1614
|
-
internal.append_styles(target, "svelte-
|
|
1600
|
+
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}");
|
|
1615
1601
|
}
|
|
1616
1602
|
|
|
1617
1603
|
function get_each_context$7(ctx, list, i) {
|
|
@@ -1643,7 +1629,7 @@ function create_if_block$6(ctx) {
|
|
|
1643
1629
|
each_blocks[i].c();
|
|
1644
1630
|
}
|
|
1645
1631
|
|
|
1646
|
-
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-
|
|
1632
|
+
internal.attr(div, "class", "floorplan-plugin__room-labels svelte-vkeyjz");
|
|
1647
1633
|
},
|
|
1648
1634
|
m(target, anchor) {
|
|
1649
1635
|
internal.insert(target, div, anchor);
|
|
@@ -1863,7 +1849,7 @@ function notNil(value) {
|
|
|
1863
1849
|
/* src/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.47.0 */
|
|
1864
1850
|
|
|
1865
1851
|
function add_css$f(target) {
|
|
1866
|
-
internal.append_styles(target, "svelte-
|
|
1852
|
+
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%)}");
|
|
1867
1853
|
}
|
|
1868
1854
|
|
|
1869
1855
|
function get_each_context$6(ctx, list, i) {
|
|
@@ -1890,7 +1876,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
1890
1876
|
first: null,
|
|
1891
1877
|
c() {
|
|
1892
1878
|
div = internal.element("div");
|
|
1893
|
-
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-
|
|
1879
|
+
internal.attr(div, "class", "floorplan-plugin__rule-scale svelte-1d5a0k4");
|
|
1894
1880
|
internal.set_style(div, "left", style_left, false);
|
|
1895
1881
|
this.first = div;
|
|
1896
1882
|
},
|
|
@@ -1923,9 +1909,9 @@ function create_each_block$6(key_1, ctx) {
|
|
|
1923
1909
|
span = internal.element("span");
|
|
1924
1910
|
t0 = internal.text(t0_value);
|
|
1925
1911
|
t1 = internal.space();
|
|
1926
|
-
internal.attr(span, "class", "floorplan-plugin__rule-text svelte-
|
|
1912
|
+
internal.attr(span, "class", "floorplan-plugin__rule-text svelte-1d5a0k4");
|
|
1927
1913
|
internal.toggle_class(span, "is-row", /*isRow*/ ctx[5]);
|
|
1928
|
-
internal.attr(div, "class", "floorplan-plugin__text-wrapper svelte-
|
|
1914
|
+
internal.attr(div, "class", "floorplan-plugin__text-wrapper svelte-1d5a0k4");
|
|
1929
1915
|
internal.toggle_class(div, "floorplan-plugin__text-wrapper--is-left-or-top", /*isLeft*/ ctx[3] || /*isTop*/ ctx[1]);
|
|
1930
1916
|
internal.toggle_class(div, "floorplan-plugin__text-wrapper-is-right-or-bottom", /*isRight*/ ctx[4] || /*isBottom*/ ctx[2]);
|
|
1931
1917
|
internal.set_style(div, "left", style_left, false);
|
|
@@ -1990,8 +1976,8 @@ function create_fragment$k(ctx) {
|
|
|
1990
1976
|
each_blocks[i].c();
|
|
1991
1977
|
}
|
|
1992
1978
|
|
|
1993
|
-
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-
|
|
1994
|
-
internal.attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
1979
|
+
internal.attr(div0, "class", "floorplan-plugin__rule-line svelte-1d5a0k4");
|
|
1980
|
+
internal.attr(div1, "class", div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4");
|
|
1995
1981
|
internal.set_style(div1, "width", /*width*/ ctx[9], false);
|
|
1996
1982
|
internal.set_style(div1, "transform", /*transform*/ ctx[7], false);
|
|
1997
1983
|
internal.set_style(div1, "transform-origin", /*transformOrigin*/ ctx[8], false);
|
|
@@ -2022,7 +2008,7 @@ function create_fragment$k(ctx) {
|
|
|
2022
2008
|
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);
|
|
2023
2009
|
}
|
|
2024
2010
|
|
|
2025
|
-
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-
|
|
2011
|
+
if (dirty & /*type*/ 1 && div1_class_value !== (div1_class_value = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels-" + /*type*/ ctx[0] + " svelte-1d5a0k4")) {
|
|
2026
2012
|
internal.attr(div1, "class", div1_class_value);
|
|
2027
2013
|
}
|
|
2028
2014
|
},
|
|
@@ -2338,7 +2324,7 @@ class RuleLabels extends internal.SvelteComponent {
|
|
|
2338
2324
|
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.47.0 */
|
|
2339
2325
|
|
|
2340
2326
|
function add_css$e(target) {
|
|
2341
|
-
internal.append_styles(target, "svelte-
|
|
2327
|
+
internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
2342
2328
|
}
|
|
2343
2329
|
|
|
2344
2330
|
function create_fragment$i(ctx) {
|
|
@@ -2350,7 +2336,7 @@ function create_fragment$i(ctx) {
|
|
|
2350
2336
|
img = internal.element("img");
|
|
2351
2337
|
if (!internal.src_url_equal(img.src, img_src_value = /*url*/ ctx[0])) internal.attr(img, "src", img_src_value);
|
|
2352
2338
|
internal.attr(img, "alt", "floorplan iamge");
|
|
2353
|
-
internal.attr(img, "class", "svelte-
|
|
2339
|
+
internal.attr(img, "class", "svelte-1gfoniz");
|
|
2354
2340
|
},
|
|
2355
2341
|
m(target, anchor) {
|
|
2356
2342
|
internal.insert(target, img, anchor);
|
|
@@ -2388,7 +2374,7 @@ class Normalmage extends internal.SvelteComponent {
|
|
|
2388
2374
|
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.47.0 */
|
|
2389
2375
|
|
|
2390
2376
|
function add_css$d(target) {
|
|
2391
|
-
internal.append_styles(target, "svelte-
|
|
2377
|
+
internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
2392
2378
|
}
|
|
2393
2379
|
|
|
2394
2380
|
function create_fragment$h(ctx) {
|
|
@@ -2405,7 +2391,7 @@ function create_fragment$h(ctx) {
|
|
|
2405
2391
|
html_tag_1 = new internal.HtmlTag();
|
|
2406
2392
|
html_tag.a = t;
|
|
2407
2393
|
html_tag_1.a = null;
|
|
2408
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
2394
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
2409
2395
|
},
|
|
2410
2396
|
m(target, anchor) {
|
|
2411
2397
|
internal.insert(target, div, anchor);
|
|
@@ -2435,8 +2421,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
2435
2421
|
}
|
|
2436
2422
|
svg [type='lineItemGroup'] g g g g {
|
|
2437
2423
|
stroke: #ffffff;
|
|
2438
|
-
}
|
|
2439
|
-
</style>
|
|
2424
|
+
}</style>
|
|
2440
2425
|
`;
|
|
2441
2426
|
|
|
2442
2427
|
$$self.$$set = $$props => {
|
|
@@ -2456,7 +2441,7 @@ class SvgImage extends internal.SvelteComponent {
|
|
|
2456
2441
|
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.47.0 */
|
|
2457
2442
|
|
|
2458
2443
|
function add_css$c(target) {
|
|
2459
|
-
internal.append_styles(target, "svelte-
|
|
2444
|
+
internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
2460
2445
|
}
|
|
2461
2446
|
|
|
2462
2447
|
// (13:22)
|
|
@@ -2552,7 +2537,7 @@ function create_fragment$g(ctx) {
|
|
|
2552
2537
|
c() {
|
|
2553
2538
|
div = internal.element("div");
|
|
2554
2539
|
if (if_block) if_block.c();
|
|
2555
|
-
internal.attr(div, "class", "floorplan-plugin__base-image svelte-
|
|
2540
|
+
internal.attr(div, "class", "floorplan-plugin__base-image svelte-ozpg4a");
|
|
2556
2541
|
},
|
|
2557
2542
|
m(target, anchor) {
|
|
2558
2543
|
internal.insert(target, div, anchor);
|
|
@@ -2921,7 +2906,7 @@ class RoomMaterial_2 extends internal.SvelteComponent {
|
|
|
2921
2906
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.47.0 */
|
|
2922
2907
|
|
|
2923
2908
|
function add_css$b(target) {
|
|
2924
|
-
internal.append_styles(target, "svelte-
|
|
2909
|
+
internal.append_styles(target, "svelte-1d4xj70", "svg.svelte-1d4xj70{position:absolute;width:100%;height:100%;overflow:visible}");
|
|
2925
2910
|
}
|
|
2926
2911
|
|
|
2927
2912
|
function get_each_context$4(ctx, list, i) {
|
|
@@ -3054,7 +3039,7 @@ function create_each_block$4(ctx) {
|
|
|
3054
3039
|
c() {
|
|
3055
3040
|
svg = internal.svg_element("svg");
|
|
3056
3041
|
if_block.c();
|
|
3057
|
-
internal.attr(svg, "class", "svelte-
|
|
3042
|
+
internal.attr(svg, "class", "svelte-1d4xj70");
|
|
3058
3043
|
},
|
|
3059
3044
|
m(target, anchor) {
|
|
3060
3045
|
internal.insert(target, svg, anchor);
|
|
@@ -3223,7 +3208,7 @@ class RoomMaterial extends internal.SvelteComponent {
|
|
|
3223
3208
|
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.47.0 */
|
|
3224
3209
|
|
|
3225
3210
|
function add_css$a(target) {
|
|
3226
|
-
internal.append_styles(target, "svelte-
|
|
3211
|
+
internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
3227
3212
|
}
|
|
3228
3213
|
|
|
3229
3214
|
function create_fragment$b(ctx) {
|
|
@@ -3234,7 +3219,7 @@ function create_fragment$b(ctx) {
|
|
|
3234
3219
|
path = internal.svg_element("path");
|
|
3235
3220
|
internal.attr(path, "d", /*_pathD*/ ctx[0]);
|
|
3236
3221
|
internal.attr(path, "fill", `#fff`);
|
|
3237
|
-
internal.attr(path, "class", "svelte-
|
|
3222
|
+
internal.attr(path, "class", "svelte-19uvvss");
|
|
3238
3223
|
},
|
|
3239
3224
|
m(target, anchor) {
|
|
3240
3225
|
internal.insert(target, path, anchor);
|
|
@@ -3278,7 +3263,7 @@ class Room extends internal.SvelteComponent {
|
|
|
3278
3263
|
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.47.0 */
|
|
3279
3264
|
|
|
3280
3265
|
function add_css$9(target) {
|
|
3281
|
-
internal.append_styles(target, "svelte-
|
|
3266
|
+
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}");
|
|
3282
3267
|
}
|
|
3283
3268
|
|
|
3284
3269
|
function get_each_context$3(ctx, list, i) {
|
|
@@ -3380,8 +3365,8 @@ function create_fragment$a(ctx) {
|
|
|
3380
3365
|
each_blocks[i].c();
|
|
3381
3366
|
}
|
|
3382
3367
|
|
|
3383
|
-
internal.attr(svg, "class", "svelte-
|
|
3384
|
-
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-
|
|
3368
|
+
internal.attr(svg, "class", "svelte-klfhwd");
|
|
3369
|
+
internal.attr(div, "class", "floorplan-plugin__room-highlight svelte-klfhwd");
|
|
3385
3370
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
3386
3371
|
},
|
|
3387
3372
|
m(target, anchor) {
|
|
@@ -3537,7 +3522,7 @@ class RoomHighlight extends internal.SvelteComponent {
|
|
|
3537
3522
|
/* src/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.47.0 */
|
|
3538
3523
|
|
|
3539
3524
|
function add_css$8(target) {
|
|
3540
|
-
internal.append_styles(target, "svelte-
|
|
3525
|
+
internal.append_styles(target, "svelte-tlo7rk", ".floorplan-current-floor.svelte-tlo7rk{position:relative;width:100%;height:100%}");
|
|
3541
3526
|
}
|
|
3542
3527
|
|
|
3543
3528
|
// (19:2) {#if hoverEnable}
|
|
@@ -3771,7 +3756,7 @@ function create_fragment$9(ctx) {
|
|
|
3771
3756
|
if (if_block1) if_block1.c();
|
|
3772
3757
|
t3 = internal.space();
|
|
3773
3758
|
if (if_block2) if_block2.c();
|
|
3774
|
-
internal.attr(div, "class", "floorplan-current-floor svelte-
|
|
3759
|
+
internal.attr(div, "class", "floorplan-current-floor svelte-tlo7rk");
|
|
3775
3760
|
},
|
|
3776
3761
|
m(target, anchor) {
|
|
3777
3762
|
internal.insert(target, div, anchor);
|
|
@@ -3972,7 +3957,7 @@ class CurrentFloor$1 extends internal.SvelteComponent {
|
|
|
3972
3957
|
/* src/floorplan/ModelFloorplanPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
3973
3958
|
|
|
3974
3959
|
function add_css$7(target) {
|
|
3975
|
-
internal.append_styles(target, "svelte-
|
|
3960
|
+
internal.append_styles(target, "svelte-q5wdnn", ".floorplan-main.svelte-q5wdnn{width:100%;height:100%}");
|
|
3976
3961
|
}
|
|
3977
3962
|
|
|
3978
3963
|
// (24:0) {#if visible}
|
|
@@ -4033,7 +4018,7 @@ function create_if_block$2(ctx) {
|
|
|
4033
4018
|
internal.create_component(camera.$$.fragment);
|
|
4034
4019
|
t1 = internal.space();
|
|
4035
4020
|
if (if_block) if_block.c();
|
|
4036
|
-
internal.attr(div, "class", "floorplan-main svelte-
|
|
4021
|
+
internal.attr(div, "class", "floorplan-main svelte-q5wdnn");
|
|
4037
4022
|
},
|
|
4038
4023
|
m(target, anchor) {
|
|
4039
4024
|
internal.insert(target, div, anchor);
|
|
@@ -4663,7 +4648,7 @@ function throttle(func, wait = 200) {
|
|
|
4663
4648
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.47.0 */
|
|
4664
4649
|
|
|
4665
4650
|
function add_css$6(target) {
|
|
4666
|
-
internal.append_styles(target, "svelte-
|
|
4651
|
+
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%}");
|
|
4667
4652
|
}
|
|
4668
4653
|
|
|
4669
4654
|
function create_fragment$7(ctx) {
|
|
@@ -4676,12 +4661,12 @@ function create_fragment$7(ctx) {
|
|
|
4676
4661
|
div2 = internal.element("div");
|
|
4677
4662
|
div1 = internal.element("div");
|
|
4678
4663
|
div0 = internal.element("div");
|
|
4679
|
-
internal.attr(div0, "class", "plugin-radar__camera-rotate svelte-
|
|
4664
|
+
internal.attr(div0, "class", "plugin-radar__camera-rotate svelte-1ty3s4p");
|
|
4680
4665
|
internal.set_style(div0, "background-image", "url(" + (/*cameraImageUrl*/ ctx[0] || CAMERA_IMAGE) + ")");
|
|
4681
4666
|
internal.set_style(div0, "transform", /*rotateTransform*/ ctx[1], false);
|
|
4682
|
-
internal.attr(div1, "class", "plugin-radar__camera-position svelte-
|
|
4667
|
+
internal.attr(div1, "class", "plugin-radar__camera-position svelte-1ty3s4p");
|
|
4683
4668
|
internal.set_style(div1, "transform", /*positionTransform*/ ctx[2], false);
|
|
4684
|
-
internal.attr(div2, "class", "plugin-radar__camera-wrapper svelte-
|
|
4669
|
+
internal.attr(div2, "class", "plugin-radar__camera-wrapper svelte-1ty3s4p");
|
|
4685
4670
|
},
|
|
4686
4671
|
m(target, anchor) {
|
|
4687
4672
|
internal.insert(target, div2, anchor);
|
|
@@ -4797,7 +4782,7 @@ class Camera extends internal.SvelteComponent {
|
|
|
4797
4782
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.47.0 */
|
|
4798
4783
|
|
|
4799
4784
|
function add_css$5(target) {
|
|
4800
|
-
internal.append_styles(target, "svelte-
|
|
4785
|
+
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%)}");
|
|
4801
4786
|
}
|
|
4802
4787
|
|
|
4803
4788
|
function get_each_context$2(ctx, list, i) {
|
|
@@ -4823,11 +4808,11 @@ function create_each_block$2(key_1, ctx) {
|
|
|
4823
4808
|
div1 = internal.element("div");
|
|
4824
4809
|
div0 = internal.element("div");
|
|
4825
4810
|
t = internal.space();
|
|
4826
|
-
internal.attr(div0, "class", "plugin-pano-floorplan__extra-object-item svelte-
|
|
4811
|
+
internal.attr(div0, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7");
|
|
4827
4812
|
internal.set_style(div0, "background-image", `url(${/*extraObject*/ ctx[1].icon.url})`);
|
|
4828
4813
|
internal.set_style(div0, "width", style_width, false);
|
|
4829
4814
|
internal.set_style(div0, "height", style_height, false);
|
|
4830
|
-
internal.attr(div1, "class", "plugin-pano-floorplan__extra-object-item--position svelte-
|
|
4815
|
+
internal.attr(div1, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7");
|
|
4831
4816
|
internal.set_style(div1, "top", style_top, false);
|
|
4832
4817
|
internal.set_style(div1, "left", style_left, false);
|
|
4833
4818
|
this.first = div1;
|
|
@@ -4887,7 +4872,7 @@ function create_fragment$6(ctx) {
|
|
|
4887
4872
|
each_blocks[i].c();
|
|
4888
4873
|
}
|
|
4889
4874
|
|
|
4890
|
-
internal.attr(div, "class", "plugin-pano-floorplan__extra-objects svelte-
|
|
4875
|
+
internal.attr(div, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
|
|
4891
4876
|
},
|
|
4892
4877
|
m(target, anchor) {
|
|
4893
4878
|
internal.insert(target, div, anchor);
|
|
@@ -5161,7 +5146,7 @@ class CurrentFloor extends internal.SvelteComponent {
|
|
|
5161
5146
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.47.0 */
|
|
5162
5147
|
|
|
5163
5148
|
function add_css$4(target) {
|
|
5164
|
-
internal.append_styles(target, "svelte-
|
|
5149
|
+
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}");
|
|
5165
5150
|
}
|
|
5166
5151
|
|
|
5167
5152
|
// (41:2) {#if clientWidth !== 0}
|
|
@@ -5216,7 +5201,7 @@ function create_if_block(ctx) {
|
|
|
5216
5201
|
internal.create_component(currentfloor.$$.fragment);
|
|
5217
5202
|
t = internal.space();
|
|
5218
5203
|
internal.create_component(camera.$$.fragment);
|
|
5219
|
-
internal.attr(div, "class", "plugin-floorplan-radar-container svelte-
|
|
5204
|
+
internal.attr(div, "class", "plugin-floorplan-radar-container svelte-1mvqyqq");
|
|
5220
5205
|
internal.set_style(div, "width", style_width, false);
|
|
5221
5206
|
internal.set_style(div, "height", style_height, false);
|
|
5222
5207
|
},
|
|
@@ -5293,7 +5278,7 @@ function create_fragment$4(ctx) {
|
|
|
5293
5278
|
c() {
|
|
5294
5279
|
div = internal.element("div");
|
|
5295
5280
|
if (if_block) if_block.c();
|
|
5296
|
-
internal.attr(div, "class", "plugin-floorplan-radar svelte-
|
|
5281
|
+
internal.attr(div, "class", "plugin-floorplan-radar svelte-1mvqyqq");
|
|
5297
5282
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[11].call(div));
|
|
5298
5283
|
},
|
|
5299
5284
|
m(target, anchor) {
|
|
@@ -10660,11 +10645,6 @@ if (typeof undefined$1 === 'function' && undefined$1.amd) {
|
|
|
10660
10645
|
|
|
10661
10646
|
var Hammer = hammer.exports;
|
|
10662
10647
|
|
|
10663
|
-
var Hammer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/_mergeNamespaces({
|
|
10664
|
-
__proto__: null,
|
|
10665
|
-
'default': Hammer
|
|
10666
|
-
}, [hammer.exports]));
|
|
10667
|
-
|
|
10668
10648
|
// uuid
|
|
10669
10649
|
function S4() {
|
|
10670
10650
|
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
|
|
@@ -11660,7 +11640,7 @@ class EditController extends BaseController {
|
|
|
11660
11640
|
const fiveElement = this.five.getElement();
|
|
11661
11641
|
if (fiveElement) {
|
|
11662
11642
|
this.fiveElement = fiveElement;
|
|
11663
|
-
const hammer = new Hammer
|
|
11643
|
+
const hammer = new Hammer(fiveElement);
|
|
11664
11644
|
this.hammer = hammer;
|
|
11665
11645
|
hammer.on('tap', this.onTap);
|
|
11666
11646
|
hammer.on('pan', this.onPan);
|
|
@@ -13223,7 +13203,7 @@ const currentTarget = store.writable(null);
|
|
|
13223
13203
|
/* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.47.0 */
|
|
13224
13204
|
|
|
13225
13205
|
function add_css$3(target) {
|
|
13226
|
-
internal.append_styles(target, "svelte-
|
|
13206
|
+
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}}");
|
|
13227
13207
|
}
|
|
13228
13208
|
|
|
13229
13209
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -13247,7 +13227,7 @@ function create_each_block$1(ctx) {
|
|
|
13247
13227
|
return {
|
|
13248
13228
|
c() {
|
|
13249
13229
|
i = internal.element("i");
|
|
13250
|
-
internal.attr(i, "class", "svelte-
|
|
13230
|
+
internal.attr(i, "class", "svelte-1kuu68s");
|
|
13251
13231
|
internal.toggle_class(i, "PanoSpatialTagPlugin__tag-origin", true);
|
|
13252
13232
|
internal.toggle_class(i, "PanoSpatialTagPlugin__tag-origin-destroy", /*origin*/ ctx[3].destroying);
|
|
13253
13233
|
internal.set_style(i, "top", style_top, false);
|
|
@@ -13372,7 +13352,7 @@ class Origins extends internal.SvelteComponent {
|
|
|
13372
13352
|
/* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.47.0 */
|
|
13373
13353
|
|
|
13374
13354
|
function add_css$2(target) {
|
|
13375
|
-
internal.append_styles(target, "svelte-
|
|
13355
|
+
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)}}");
|
|
13376
13356
|
}
|
|
13377
13357
|
|
|
13378
13358
|
function create_fragment$2(ctx) {
|
|
@@ -13406,19 +13386,19 @@ function create_fragment$2(ctx) {
|
|
|
13406
13386
|
t3 = internal.space();
|
|
13407
13387
|
div3 = internal.element("div");
|
|
13408
13388
|
div2 = internal.element("div");
|
|
13409
|
-
internal.attr(div0, "class", "PanoSpatialTagPlugin__tag-shadow svelte-
|
|
13389
|
+
internal.attr(div0, "class", "PanoSpatialTagPlugin__tag-shadow svelte-1wukaol");
|
|
13410
13390
|
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)");
|
|
13411
|
-
internal.attr(i0, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-
|
|
13391
|
+
internal.attr(i0, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-1wukaol");
|
|
13412
13392
|
internal.set_style(i0, "width", /*lineWidthZoom*/ ctx[4] + "rem");
|
|
13413
|
-
internal.attr(i1, "class", "PanoSpatialTagPlugin__tag-line1 svelte-
|
|
13414
|
-
internal.attr(i2, "class", "PanoSpatialTagPlugin__tag-line2 svelte-
|
|
13415
|
-
internal.attr(div1, "class", "PanoSpatialTagPlugin__tag-line svelte-
|
|
13416
|
-
internal.attr(div2, "class", "PanoSpatialTagPlugin__tag-content svelte-
|
|
13417
|
-
internal.attr(div3, "class", "PanoSpatialTagPlugin__tag-animate svelte-
|
|
13393
|
+
internal.attr(i1, "class", "PanoSpatialTagPlugin__tag-line1 svelte-1wukaol");
|
|
13394
|
+
internal.attr(i2, "class", "PanoSpatialTagPlugin__tag-line2 svelte-1wukaol");
|
|
13395
|
+
internal.attr(div1, "class", "PanoSpatialTagPlugin__tag-line svelte-1wukaol");
|
|
13396
|
+
internal.attr(div2, "class", "PanoSpatialTagPlugin__tag-content svelte-1wukaol");
|
|
13397
|
+
internal.attr(div3, "class", "PanoSpatialTagPlugin__tag-animate svelte-1wukaol");
|
|
13418
13398
|
internal.set_style(div3, "transform", "scale(" + /*contentZoom*/ ctx[3] * 3 + ")");
|
|
13419
13399
|
internal.attr(div4, "id", div4_id_value = 'PanoSpatialTagPlugin__' + /*id*/ ctx[0]);
|
|
13420
13400
|
internal.set_style(div4, "height", 20 * /*lineHeightZoom*/ ctx[5] + "rem");
|
|
13421
|
-
internal.attr(div4, "class", "svelte-
|
|
13401
|
+
internal.attr(div4, "class", "svelte-1wukaol");
|
|
13422
13402
|
internal.toggle_class(div4, "PanoSpatialTagPlugin__tag-x", true);
|
|
13423
13403
|
internal.toggle_class(div4, "PanoSpatialTagPlugin__tag-upside-down", /*upsideDown*/ ctx[1]);
|
|
13424
13404
|
internal.toggle_class(div4, "PanoSpatialTagPlugin__tag-show", /*show*/ ctx[10]);
|
|
@@ -14279,12 +14259,13 @@ var DISPLAY_STRATEGY_TYPE;
|
|
|
14279
14259
|
DISPLAY_STRATEGY_TYPE["SMALL"] = "small";
|
|
14280
14260
|
DISPLAY_STRATEGY_TYPE["MIDLLE"] = "middle";
|
|
14281
14261
|
DISPLAY_STRATEGY_TYPE["LARGE"] = "large";
|
|
14262
|
+
DISPLAY_STRATEGY_TYPE["EXTRA_LARGE"] = "x-large";
|
|
14282
14263
|
})(DISPLAY_STRATEGY_TYPE || (DISPLAY_STRATEGY_TYPE = {}));
|
|
14283
14264
|
|
|
14284
14265
|
/* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.47.0 */
|
|
14285
14266
|
|
|
14286
14267
|
function add_css$1(target) {
|
|
14287
|
-
internal.append_styles(target, "svelte-
|
|
14268
|
+
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 }}");
|
|
14288
14269
|
}
|
|
14289
14270
|
|
|
14290
14271
|
function create_fragment$1(ctx) {
|
|
@@ -14311,12 +14292,12 @@ function create_fragment$1(ctx) {
|
|
|
14311
14292
|
t0 = internal.text(t0_value);
|
|
14312
14293
|
t1 = internal.space();
|
|
14313
14294
|
div1 = internal.element("div");
|
|
14314
|
-
internal.attr(span, "class", "item-label-item__text svelte-
|
|
14315
|
-
internal.attr(div0, "class", "item-label-item__text-wrap svelte-
|
|
14295
|
+
internal.attr(span, "class", "item-label-item__text svelte-1hzvil1");
|
|
14296
|
+
internal.attr(div0, "class", "item-label-item__text-wrap svelte-1hzvil1");
|
|
14316
14297
|
internal.set_style(div0, "top", `-${/*itemLabel*/ ctx[0].strokeLength + 26}px`);
|
|
14317
|
-
internal.attr(div1, "class", "item-label-item__bar svelte-
|
|
14298
|
+
internal.attr(div1, "class", "item-label-item__bar svelte-1hzvil1");
|
|
14318
14299
|
internal.set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
14319
|
-
internal.attr(div2, "class", div2_class_value = "" + (internal.null_to_empty(classNames__default["default"]("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-
|
|
14300
|
+
internal.attr(div2, "class", div2_class_value = "" + (internal.null_to_empty(classNames__default["default"]("item-label-item", { visible: /*itemLabel*/ ctx[0].visible })) + " svelte-1hzvil1"));
|
|
14320
14301
|
internal.set_style(div2, "z-index", /*itemLabel*/ ctx[0].zIndex, false);
|
|
14321
14302
|
internal.set_style(div2, "transform", /*itemLabel*/ ctx[0].transform, false);
|
|
14322
14303
|
},
|
|
@@ -14346,7 +14327,7 @@ function create_fragment$1(ctx) {
|
|
|
14346
14327
|
internal.set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
14347
14328
|
}
|
|
14348
14329
|
|
|
14349
|
-
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-
|
|
14330
|
+
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"))) {
|
|
14350
14331
|
internal.attr(div2, "class", div2_class_value);
|
|
14351
14332
|
}
|
|
14352
14333
|
|
|
@@ -14410,16 +14391,16 @@ function debounce(func, wait = 200) {
|
|
|
14410
14391
|
/* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.47.0 */
|
|
14411
14392
|
|
|
14412
14393
|
function add_css(target) {
|
|
14413
|
-
internal.append_styles(target, "svelte-
|
|
14394
|
+
internal.append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
14414
14395
|
}
|
|
14415
14396
|
|
|
14416
14397
|
function get_each_context(ctx, list, i) {
|
|
14417
14398
|
const child_ctx = ctx.slice();
|
|
14418
|
-
child_ctx[
|
|
14399
|
+
child_ctx[28] = list[i];
|
|
14419
14400
|
return child_ctx;
|
|
14420
14401
|
}
|
|
14421
14402
|
|
|
14422
|
-
// (
|
|
14403
|
+
// (162:1) {#each renderItemLabels as itemLabelItem (itemLabelItem.id)}
|
|
14423
14404
|
function create_each_block(key_1, ctx) {
|
|
14424
14405
|
let first;
|
|
14425
14406
|
let itemlabelitem;
|
|
@@ -14427,7 +14408,7 @@ function create_each_block(key_1, ctx) {
|
|
|
14427
14408
|
|
|
14428
14409
|
itemlabelitem = new ItemLabelItem({
|
|
14429
14410
|
props: {
|
|
14430
|
-
itemLabel: /*itemLabelItem*/ ctx[
|
|
14411
|
+
itemLabel: /*itemLabelItem*/ ctx[28],
|
|
14431
14412
|
hooks: /*hooks*/ ctx[0]
|
|
14432
14413
|
}
|
|
14433
14414
|
});
|
|
@@ -14448,7 +14429,7 @@ function create_each_block(key_1, ctx) {
|
|
|
14448
14429
|
p(new_ctx, dirty) {
|
|
14449
14430
|
ctx = new_ctx;
|
|
14450
14431
|
const itemlabelitem_changes = {};
|
|
14451
|
-
if (dirty & /*renderItemLabels*/ 2) itemlabelitem_changes.itemLabel = /*itemLabelItem*/ ctx[
|
|
14432
|
+
if (dirty & /*renderItemLabels*/ 2) itemlabelitem_changes.itemLabel = /*itemLabelItem*/ ctx[28];
|
|
14452
14433
|
if (dirty & /*hooks*/ 1) itemlabelitem_changes.hooks = /*hooks*/ ctx[0];
|
|
14453
14434
|
itemlabelitem.$set(itemlabelitem_changes);
|
|
14454
14435
|
},
|
|
@@ -14475,7 +14456,7 @@ function create_fragment(ctx) {
|
|
|
14475
14456
|
let div_resize_listener;
|
|
14476
14457
|
let current;
|
|
14477
14458
|
let each_value = /*renderItemLabels*/ ctx[1];
|
|
14478
|
-
const get_key = ctx => /*itemLabelItem*/ ctx[
|
|
14459
|
+
const get_key = ctx => /*itemLabelItem*/ ctx[28].id;
|
|
14479
14460
|
|
|
14480
14461
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
14481
14462
|
let child_ctx = get_each_context(ctx, each_value, i);
|
|
@@ -14491,7 +14472,7 @@ function create_fragment(ctx) {
|
|
|
14491
14472
|
each_blocks[i].c();
|
|
14492
14473
|
}
|
|
14493
14474
|
|
|
14494
|
-
internal.attr(div, "class", "item-labels-container svelte-
|
|
14475
|
+
internal.attr(div, "class", "item-labels-container svelte-gk8s47");
|
|
14495
14476
|
internal.add_render_callback(() => /*div_elementresize_handler*/ ctx[10].call(div));
|
|
14496
14477
|
internal.set_style(div, "opacity", /*itemsVisible*/ ctx[4] ? 1 : 0, false);
|
|
14497
14478
|
},
|
|
@@ -14626,6 +14607,8 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
14626
14607
|
return Math.ceil(-38.9 * itemSpaceHeight + 130);
|
|
14627
14608
|
case DISPLAY_STRATEGY_TYPE.LARGE:
|
|
14628
14609
|
return Math.ceil(-44.44 * itemSpaceHeight + 140);
|
|
14610
|
+
case DISPLAY_STRATEGY_TYPE.EXTRA_LARGE:
|
|
14611
|
+
return Math.ceil(-92.59 * itemSpaceHeight + 300);
|
|
14629
14612
|
}
|
|
14630
14613
|
}
|
|
14631
14614
|
|
|
@@ -14672,16 +14655,17 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
14672
14655
|
addDataUpdateListener();
|
|
14673
14656
|
});
|
|
14674
14657
|
|
|
14658
|
+
const handleCameraUpdateCallback = () => {
|
|
14659
|
+
$$invalidate(4, itemsVisible = false);
|
|
14660
|
+
handleCameraUpdate();
|
|
14661
|
+
};
|
|
14662
|
+
|
|
14675
14663
|
svelte.onMount(() => {
|
|
14676
14664
|
$$invalidate(1, renderItemLabels = itemLabels);
|
|
14677
14665
|
curItemLabels = itemLabels;
|
|
14678
14666
|
onItemLabelUpdate();
|
|
14679
14667
|
addResizeListener();
|
|
14680
|
-
|
|
14681
|
-
five.on('cameraUpdate', () => {
|
|
14682
|
-
$$invalidate(4, itemsVisible = false);
|
|
14683
|
-
handleCameraUpdate();
|
|
14684
|
-
});
|
|
14668
|
+
five.on('cameraUpdate', handleCameraUpdateCallback);
|
|
14685
14669
|
});
|
|
14686
14670
|
|
|
14687
14671
|
const handleCameraUpdate = debounce(
|
|
@@ -14722,12 +14706,11 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
14722
14706
|
});
|
|
14723
14707
|
|
|
14724
14708
|
svelte.onDestroy(() => {
|
|
14725
|
-
five.off('cameraUpdate');
|
|
14709
|
+
five.off('cameraUpdate', handleCameraUpdateCallback);
|
|
14726
14710
|
resizeObserver.unobserve(wrapper);
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
});
|
|
14711
|
+
}); // curItemLabels = null
|
|
14712
|
+
// renderItemLabels = null
|
|
14713
|
+
// wrapperSize = { width: 0, height: 0 }
|
|
14731
14714
|
|
|
14732
14715
|
function div_elementresize_handler() {
|
|
14733
14716
|
containerWidth = this.clientWidth;
|
|
@@ -14809,6 +14792,7 @@ const ModelItemLabelPlugin = (five$1, params) => {
|
|
|
14809
14792
|
top: 0;
|
|
14810
14793
|
width: 100%;
|
|
14811
14794
|
height: 100%;
|
|
14795
|
+
z-index: 5;
|
|
14812
14796
|
`;
|
|
14813
14797
|
pluginState.container.style.pointerEvents = 'none'; // 写到 cssText 里不生效
|
|
14814
14798
|
const appendTo = (wrapper) => {
|