@realsee/dnalogel 2.0.0-alpha.45 → 2.0.0-alpha.48
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/dist/ItemLabelPlugin/index.js +12 -12
- package/dist/PanoDoorLabelPlugin/index.js +11 -11
- package/dist/index.es.js +23 -23
- package/dist/index.js +23 -23
- package/dist/index.umd.js +23 -23
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.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/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/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/modules.html +18 -18
- package/libs/ItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/PanoDoorLabelPlugin/Controller.js +4 -4
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +7 -7
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ import "./events.type";
|
|
|
23
23
|
import classNames from 'classnames';
|
|
24
24
|
|
|
25
25
|
function add_css(target) {
|
|
26
|
-
append_styles(target, "svelte-
|
|
26
|
+
append_styles(target, "svelte-1mppr0a", ".item-label-item.svelte-1mppr0a.svelte-1mppr0a{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-animation:svelte-1mppr0a-fadeIn .3s ease-in;animation:svelte-1mppr0a-fadeIn .3s ease-in}.item-label-item.fold.svelte-1mppr0a>.item-label-item__text-wrap.svelte-1mppr0a{visibility:hidden}.item-label-item.fold.svelte-1mppr0a>.item-label-item__bar.anchor.svelte-1mppr0a{visibility:hidden}.item-label-item.fold.svelte-1mppr0a>.item-label-item__bar.anchor.svelte-1mppr0a:after{visibility:visible}.item-label-item__text-wrap.svelte-1mppr0a.svelte-1mppr0a{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:0.625rem 1.04167rem 0.625rem 0.625rem;position:absolute;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:24.63542rem;min-height:4.79167rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:1.5px solid rgba(255, 255, 255, .65);border-radius:0.15625rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-1mppr0a.svelte-1mppr0a{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-1mppr0a.svelte-1mppr0a{width:3.54167rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-1mppr0a.svelte-1mppr0a{width:3.54167rem;height:3.54167rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-1mppr0a.svelte-1mppr0a{margin-left:0.625rem;padding-left:0.625rem;min-height:3.54167rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 1px;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-1mppr0a.svelte-1mppr0a{white-space:nowrap;font-size:1.14583rem;font-weight:bold;line-height:1.5625rem}.item-name.svelte-1mppr0a.svelte-1mppr0a{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.04167rem;line-height:1.45833rem}.item-label-item__bar.svelte-1mppr0a.svelte-1mppr0a{position:absolute;bottom:0;width:0.15625rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 2px 0.41667rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-1mppr0a.svelte-1mppr0a:after{content:'';position:absolute;bottom:0;width:1.25rem;height:1.25rem;background-image:url(\"//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png \");background-position:center;background-size:contain;transform:translate(-0.54688rem, 50%)}@-webkit-keyframes svelte-1mppr0a-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-1mppr0a-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// (34:8) {:else}
|
|
@@ -49,9 +49,9 @@ function create_else_block(ctx) {
|
|
|
49
49
|
t2 = space();
|
|
50
50
|
span1 = element("span");
|
|
51
51
|
t3 = text(t3_value);
|
|
52
|
-
attr(span0, "class", "item-model svelte-
|
|
53
|
-
attr(span1, "class", "item-name svelte-
|
|
54
|
-
attr(div, "class", "item-label-text svelte-
|
|
52
|
+
attr(span0, "class", "item-model svelte-1mppr0a");
|
|
53
|
+
attr(span1, "class", "item-name svelte-1mppr0a");
|
|
54
|
+
attr(div, "class", "item-label-text svelte-1mppr0a");
|
|
55
55
|
},
|
|
56
56
|
m(target, anchor) {
|
|
57
57
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -120,9 +120,9 @@ function create_if_block_1(ctx) {
|
|
|
120
120
|
c() {
|
|
121
121
|
div1 = element("div");
|
|
122
122
|
div0 = element("div");
|
|
123
|
-
attr(div0, "class", "icon svelte-
|
|
123
|
+
attr(div0, "class", "icon svelte-1mppr0a");
|
|
124
124
|
attr(div0, "style", div0_style_value = `background-image: url(${/*itemLabel*/ ctx[0].icon})`);
|
|
125
|
-
attr(div1, "class", "icon-wrap svelte-
|
|
125
|
+
attr(div1, "class", "icon-wrap svelte-1mppr0a");
|
|
126
126
|
},
|
|
127
127
|
m(target, anchor) {
|
|
128
128
|
insert(target, div1, anchor);
|
|
@@ -178,12 +178,12 @@ function create_fragment(ctx) {
|
|
|
178
178
|
|
|
179
179
|
attr(div0, "class", div0_class_value = "" + (null_to_empty(classNames("item-label-item__text-wrap", {
|
|
180
180
|
'item-label-item__custom': Boolean(typeof /*itemLabel*/ ctx[0].render === 'function')
|
|
181
|
-
})) + " svelte-
|
|
181
|
+
})) + " svelte-1mppr0a"));
|
|
182
182
|
|
|
183
183
|
set_style(div0, "bottom", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
184
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(classNames("item-label-item__bar", { anchor: /*anchorEnabled*/ ctx[1] })) + " svelte-
|
|
184
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(classNames("item-label-item__bar", { anchor: /*anchorEnabled*/ ctx[1] })) + " svelte-1mppr0a"));
|
|
185
185
|
set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
186
|
-
attr(div2, "class", div2_class_value = "" + (null_to_empty(classNames("item-label-item", { fold: /*itemLabel*/ ctx[0].isFold })) + " svelte-
|
|
186
|
+
attr(div2, "class", div2_class_value = "" + (null_to_empty(classNames("item-label-item", { fold: /*itemLabel*/ ctx[0].isFold })) + " svelte-1mppr0a"));
|
|
187
187
|
set_style(div2, "z-index", /*itemLabel*/ ctx[0].zIndex, false);
|
|
188
188
|
set_style(div2, "transform", /*itemLabel*/ ctx[0].transform, false);
|
|
189
189
|
},
|
|
@@ -214,7 +214,7 @@ function create_fragment(ctx) {
|
|
|
214
214
|
|
|
215
215
|
if (dirty & /*itemLabel*/ 1 && div0_class_value !== (div0_class_value = "" + (null_to_empty(classNames("item-label-item__text-wrap", {
|
|
216
216
|
'item-label-item__custom': Boolean(typeof /*itemLabel*/ ctx[0].render === 'function')
|
|
217
|
-
})) + " svelte-
|
|
217
|
+
})) + " svelte-1mppr0a"))) {
|
|
218
218
|
attr(div0, "class", div0_class_value);
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -222,7 +222,7 @@ function create_fragment(ctx) {
|
|
|
222
222
|
set_style(div0, "bottom", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
if (dirty & /*anchorEnabled*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(classNames("item-label-item__bar", { anchor: /*anchorEnabled*/ ctx[1] })) + " svelte-
|
|
225
|
+
if (dirty & /*anchorEnabled*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(classNames("item-label-item__bar", { anchor: /*anchorEnabled*/ ctx[1] })) + " svelte-1mppr0a"))) {
|
|
226
226
|
attr(div1, "class", div1_class_value);
|
|
227
227
|
}
|
|
228
228
|
|
|
@@ -230,7 +230,7 @@ function create_fragment(ctx) {
|
|
|
230
230
|
set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
if (dirty & /*itemLabel*/ 1 && div2_class_value !== (div2_class_value = "" + (null_to_empty(classNames("item-label-item", { fold: /*itemLabel*/ ctx[0].isFold })) + " svelte-
|
|
233
|
+
if (dirty & /*itemLabel*/ 1 && div2_class_value !== (div2_class_value = "" + (null_to_empty(classNames("item-label-item", { fold: /*itemLabel*/ ctx[0].isFold })) + " svelte-1mppr0a"))) {
|
|
234
234
|
attr(div2, "class", div2_class_value);
|
|
235
235
|
}
|
|
236
236
|
|
|
@@ -14,13 +14,13 @@ export class PanoDoorLabelPluginController extends BasePanoPluginController {
|
|
|
14
14
|
enumerable: true,
|
|
15
15
|
configurable: true,
|
|
16
16
|
writable: true,
|
|
17
|
-
value:
|
|
17
|
+
value: 2.3
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(this, "MaxVisibledistance", {
|
|
20
20
|
enumerable: true,
|
|
21
21
|
configurable: true,
|
|
22
22
|
writable: true,
|
|
23
|
-
value:
|
|
23
|
+
value: 5
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(this, "OffsetHeight", {
|
|
26
26
|
enumerable: true,
|
|
@@ -270,14 +270,14 @@ export class PanoDoorLabelPluginController extends BasePanoPluginController {
|
|
|
270
270
|
configurable: true,
|
|
271
271
|
writable: true,
|
|
272
272
|
value: (roomName, position) => {
|
|
273
|
-
if (!this.
|
|
273
|
+
if (!this.roomObservers)
|
|
274
274
|
return;
|
|
275
275
|
const { work } = this.five;
|
|
276
276
|
let nearestIndex;
|
|
277
277
|
let nearestVector;
|
|
278
278
|
let minDistance = Infinity;
|
|
279
279
|
for (let index = 0; index < work.observers.length; index++) {
|
|
280
|
-
if (this.
|
|
280
|
+
if (this.roomObservers[index].name !== roomName)
|
|
281
281
|
continue;
|
|
282
282
|
const observer = work.observers[index];
|
|
283
283
|
const observerPoint = observer.standingPosition;
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import classnames from 'classnames';
|
|
20
20
|
|
|
21
21
|
function add_css(target) {
|
|
22
|
-
append_styles(target, "svelte-
|
|
22
|
+
append_styles(target, "svelte-16kdbw2", ".plugin-DoorLabelPlugin-item.svelte-16kdbw2.svelte-16kdbw2{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-16kdbw2.svelte-16kdbw2{position:absolute;top:50%;left:50%;border-radius:2px;background:rgba(0, 0, 0, 0.35);line-height:0.625rem;padding:0.3125rem;white-space:nowrap;font-size:0.625rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-16kdbw2.svelte-16kdbw2::after{content:\"\";display:block;position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;border-radius:2px;border:1px solid rgba(0, 0, 0, 0);-o-border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-16kdbw2.svelte-16kdbw2:active,.plugin-DoorLabelPlugin-cnt.svelte-16kdbw2.svelte-16kdbw2:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-16kdbw2.svelte-16kdbw2{background:url(\"//vrlab-image4.ljcdn.com/release/web/DoorLabel-icon.de1304ae.svg\") no-repeat;background-size:100%;display:inline-block;width:0.52083rem;height:0.52083rem;margin-left:0.20833rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-16kdbw2 .plugin-DoorLabelPlugin-txt.svelte-16kdbw2{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(-90deg);margin-left:0;margin-right:0.20833rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-16kdbw2 .plugin-DoorLabelPlugin-txt.svelte-16kdbw2{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(-90deg);margin-left:0;margin-right:0.20833rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-16kdbw2 .plugin-DoorLabelPlugin-txt.svelte-16kdbw2{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(-90deg);margin-left:0;margin-right:0.20833rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-16kdbw2 .plugin-DoorLabelPlugin-txt.svelte-16kdbw2{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{transform:rotate(-90deg);margin-left:0;margin-right:0.20833rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-16kdbw2.svelte-16kdbw2{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-16kdbw2 .plugin-DoorLabelPlugin-icon.svelte-16kdbw2{background:url(\"//vrlab-image4.ljcdn.com/release/web/arrow.6e8ec00e.svg\") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-16kdbw2.svelte-16kdbw2:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-16kdbw2.svelte-16kdbw2:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}");
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
function create_fragment(ctx) {
|
|
@@ -42,13 +42,13 @@ function create_fragment(ctx) {
|
|
|
42
42
|
span.textContent = `${/*name*/ ctx[8]}`;
|
|
43
43
|
t1 = space();
|
|
44
44
|
i = element("i");
|
|
45
|
-
attr(span, "class", "plugin-DoorLabelPlugin-txt svelte-
|
|
46
|
-
attr(i, "class", "plugin-DoorLabelPlugin-icon svelte-
|
|
47
|
-
attr(div0, "class", div0_class_value = "" + (null_to_empty(classnames('plugin-DoorLabelPlugin-cnt', /*props*/ ctx[0].toward)) + " svelte-
|
|
48
|
-
attr(div0, "style", div0_style_value = `transform: ${/*transform*/ ctx[6] || 'initial'};
|
|
45
|
+
attr(span, "class", "plugin-DoorLabelPlugin-txt svelte-16kdbw2");
|
|
46
|
+
attr(i, "class", "plugin-DoorLabelPlugin-icon svelte-16kdbw2");
|
|
47
|
+
attr(div0, "class", div0_class_value = "" + (null_to_empty(classnames('plugin-DoorLabelPlugin-cnt', /*props*/ ctx[0].toward)) + " svelte-16kdbw2"));
|
|
48
|
+
attr(div0, "style", div0_style_value = `transform: ${/*transform*/ ctx[6] || 'initial'};pointer-events: ${/*inSight*/ ctx[5] ? 'auto' : 'none'};opacity: ${/*inSight*/ ctx[5] ? 1 : 0}`);
|
|
49
49
|
attr(div0, "data-camera-toward", /*cameraToward*/ ctx[7]);
|
|
50
50
|
attr(div1, "style", div1_style_value = `left: ${/*left*/ ctx[3] || 0}%;top: ${/*top*/ ctx[4] || 0}%;opacity: ${/*inSight*/ ctx[5] ? 1 : 0}`);
|
|
51
|
-
attr(div1, "class", "plugin-DoorLabelPlugin-item svelte-
|
|
51
|
+
attr(div1, "class", "plugin-DoorLabelPlugin-item svelte-16kdbw2");
|
|
52
52
|
},
|
|
53
53
|
m(target, anchor) {
|
|
54
54
|
insert(target, div1, anchor);
|
|
@@ -64,7 +64,7 @@ function create_fragment(ctx) {
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
p(ctx, [dirty]) {
|
|
67
|
-
if (dirty & /*props*/ 1 && div0_class_value !== (div0_class_value = "" + (null_to_empty(classnames('plugin-DoorLabelPlugin-cnt', /*props*/ ctx[0].toward)) + " svelte-
|
|
67
|
+
if (dirty & /*props*/ 1 && div0_class_value !== (div0_class_value = "" + (null_to_empty(classnames('plugin-DoorLabelPlugin-cnt', /*props*/ ctx[0].toward)) + " svelte-16kdbw2"))) {
|
|
68
68
|
attr(div0, "class", div0_class_value);
|
|
69
69
|
}
|
|
70
70
|
},
|
package/package.json
CHANGED