@realsee/dnalogel 2.2.5 → 2.2.6
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/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/dist/index.cjs.js +17 -17
- package/dist/index.js +849 -887
- package/dist/index.umd.js +17 -17
- package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +42 -39
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
- package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
- package/libs/PanoSpatialTagPlugin/Components/origins.js +39 -39
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Media.js +53 -53
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +8 -8
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +13 -13
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +5 -5
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +12 -12
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +48 -78
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +25 -25
- package/libs/PanoTagPlugin/Components/Tag/index.js +35 -35
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -2
- package/libs/PanoTagPlugin/Components/TagWrapper.js +2 -2
- package/libs/floorplan/Components/Camera.js +23 -23
- package/libs/floorplan/Components/Compass.js +2 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +31 -31
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +51 -51
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +26 -26
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +16 -16
- package/libs/index.js +1 -1
- package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
- package/libs/vendor/svelte/internal/index.js +151 -152
- package/package.json +1 -2
|
@@ -64,7 +64,7 @@ function N(o) {
|
|
|
64
64
|
l = W("div");
|
|
65
65
|
for (let e = 0; e < t.length; e += 1)
|
|
66
66
|
t[e].c();
|
|
67
|
-
H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(l, "width", o[3]
|
|
67
|
+
H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(l, "width", o[3]), _(l, "height", o[2]);
|
|
68
68
|
},
|
|
69
69
|
m(e, n) {
|
|
70
70
|
k(e, l, n);
|
|
@@ -73,7 +73,7 @@ function N(o) {
|
|
|
73
73
|
i = !0;
|
|
74
74
|
},
|
|
75
75
|
p(e, [n]) {
|
|
76
|
-
n & 19 && (a = e[4], E(), t = O(t, n, s, 1, e, a, r, l, F, b, null, y), q()), n & 8 && _(l, "width", e[3]
|
|
76
|
+
n & 19 && (a = e[4], E(), t = O(t, n, s, 1, e, a, r, l, F, b, null, y), q()), n & 8 && _(l, "width", e[3]), n & 4 && _(l, "height", e[2]);
|
|
77
77
|
},
|
|
78
78
|
i(e) {
|
|
79
79
|
if (!i) {
|
|
@@ -8,13 +8,13 @@ function R(n) {
|
|
|
8
8
|
let a, t, o;
|
|
9
9
|
return {
|
|
10
10
|
c() {
|
|
11
|
-
a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1]
|
|
11
|
+
a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1]), g(t, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(t, "transform", n[2]), g(a, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
|
|
12
12
|
},
|
|
13
13
|
m(i, r) {
|
|
14
14
|
W(i, a, r), x(a, t), x(t, o);
|
|
15
15
|
},
|
|
16
16
|
p(i, [r]) {
|
|
17
|
-
r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1]
|
|
17
|
+
r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1]), r & 4 && l(t, "transform", i[2]);
|
|
18
18
|
},
|
|
19
19
|
i: I,
|
|
20
20
|
o: I,
|
|
@@ -3,64 +3,64 @@ function x(a) {
|
|
|
3
3
|
w(a, "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%)}");
|
|
4
4
|
}
|
|
5
5
|
function d(a, t, e) {
|
|
6
|
-
const
|
|
7
|
-
return
|
|
6
|
+
const l = a.slice();
|
|
7
|
+
return l[1] = t[e], l;
|
|
8
8
|
}
|
|
9
9
|
function m(a, t) {
|
|
10
|
-
let e,
|
|
10
|
+
let e, l, n = `${t[1].icon.width / 16}rem`, c = `${t[1].icon.height / 16}rem`, i, o = `${t[1].positionInImage.y * 100}%`, s = `${t[1].positionInImage.x * 100}%`;
|
|
11
11
|
return {
|
|
12
12
|
key: a,
|
|
13
13
|
first: null,
|
|
14
14
|
c() {
|
|
15
|
-
e = h("div"),
|
|
15
|
+
e = h("div"), l = h("div"), i = I(), _(l, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), r(l, "background-image", `url(${t[1].icon.url})`), r(l, "width", n), r(l, "height", c), _(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), r(e, "top", o), r(e, "left", s), this.first = e;
|
|
16
16
|
},
|
|
17
|
-
m(
|
|
18
|
-
b(
|
|
17
|
+
m(f, p) {
|
|
18
|
+
b(f, e, p), g(e, l), g(e, i);
|
|
19
19
|
},
|
|
20
|
-
p(
|
|
21
|
-
t =
|
|
20
|
+
p(f, p) {
|
|
21
|
+
t = f, p & 1 && r(l, "background-image", `url(${t[1].icon.url})`), p & 1 && n !== (n = `${t[1].icon.width / 16}rem`) && r(l, "width", n), p & 1 && c !== (c = `${t[1].icon.height / 16}rem`) && r(l, "height", c), p & 1 && o !== (o = `${t[1].positionInImage.y * 100}%`) && r(e, "top", o), p & 1 && s !== (s = `${t[1].positionInImage.x * 100}%`) && r(e, "left", s);
|
|
22
22
|
},
|
|
23
|
-
d(
|
|
24
|
-
|
|
23
|
+
d(f) {
|
|
24
|
+
f && v(e);
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
function O(a) {
|
|
29
|
-
let t, e = [],
|
|
30
|
-
const
|
|
31
|
-
for (let
|
|
32
|
-
let o = d(a, n,
|
|
33
|
-
|
|
29
|
+
let t, e = [], l = /* @__PURE__ */ new Map(), n = a[0];
|
|
30
|
+
const c = (i) => i[1].id;
|
|
31
|
+
for (let i = 0; i < n.length; i += 1) {
|
|
32
|
+
let o = d(a, n, i), s = c(o);
|
|
33
|
+
l.set(s, e[i] = m(s, o));
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
36
|
c() {
|
|
37
37
|
t = h("div");
|
|
38
|
-
for (let
|
|
39
|
-
e[
|
|
38
|
+
for (let i = 0; i < e.length; i += 1)
|
|
39
|
+
e[i].c();
|
|
40
40
|
_(t, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
|
|
41
41
|
},
|
|
42
|
-
m(
|
|
43
|
-
b(
|
|
42
|
+
m(i, o) {
|
|
43
|
+
b(i, t, o);
|
|
44
44
|
for (let s = 0; s < e.length; s += 1)
|
|
45
45
|
e[s].m(t, null);
|
|
46
46
|
},
|
|
47
|
-
p(
|
|
48
|
-
o & 1 && (n =
|
|
47
|
+
p(i, [o]) {
|
|
48
|
+
o & 1 && (n = i[0], e = y(e, o, c, 1, i, n, l, t, z, m, null, d));
|
|
49
49
|
},
|
|
50
50
|
i: u,
|
|
51
51
|
o: u,
|
|
52
|
-
d(
|
|
53
|
-
|
|
52
|
+
d(i) {
|
|
53
|
+
i && v(t);
|
|
54
54
|
for (let o = 0; o < e.length; o += 1)
|
|
55
55
|
e[o].d();
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
function q(a, t, e) {
|
|
60
|
-
let { extraObjects:
|
|
60
|
+
let { extraObjects: l = [] } = t;
|
|
61
61
|
return a.$$set = (n) => {
|
|
62
|
-
"extraObjects" in n && e(0,
|
|
63
|
-
}, [
|
|
62
|
+
"extraObjects" in n && e(0, l = n.extraObjects);
|
|
63
|
+
}, [l];
|
|
64
64
|
}
|
|
65
65
|
class E extends j {
|
|
66
66
|
constructor(t) {
|
|
@@ -62,18 +62,18 @@ function A(o) {
|
|
|
62
62
|
cameraImageUrl: o[4]
|
|
63
63
|
}
|
|
64
64
|
];
|
|
65
|
-
let
|
|
65
|
+
let s = {};
|
|
66
66
|
for (let r = 0; r < _.length; r += 1)
|
|
67
|
-
|
|
68
|
-
return e = new Z({ props:
|
|
67
|
+
s = O(s, _[r]);
|
|
68
|
+
return e = new Z({ props: s }), {
|
|
69
69
|
c() {
|
|
70
|
-
t = F("div"), U(l.$$.fragment), n = X(), U(e.$$.fragment), N(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", i
|
|
70
|
+
t = F("div"), U(l.$$.fragment), n = X(), U(e.$$.fragment), N(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", i), q(t, "height", f);
|
|
71
71
|
},
|
|
72
|
-
m(r,
|
|
73
|
-
y(r, t,
|
|
72
|
+
m(r, m) {
|
|
73
|
+
y(r, t, m), C(l, t, null), Y(t, n), C(e, t, null), c = !0;
|
|
74
74
|
},
|
|
75
|
-
p(r,
|
|
76
|
-
const g =
|
|
75
|
+
p(r, m) {
|
|
76
|
+
const g = m & 1581 ? H(d, [
|
|
77
77
|
{
|
|
78
78
|
five: r[0],
|
|
79
79
|
pxmm: r[9],
|
|
@@ -84,7 +84,7 @@ function A(o) {
|
|
|
84
84
|
}
|
|
85
85
|
]) : {};
|
|
86
86
|
l.$set(g);
|
|
87
|
-
const v =
|
|
87
|
+
const v = m & 537 ? H(_, [
|
|
88
88
|
{
|
|
89
89
|
pxmm: r[9],
|
|
90
90
|
five: r[0],
|
|
@@ -92,7 +92,7 @@ function A(o) {
|
|
|
92
92
|
cameraImageUrl: r[4]
|
|
93
93
|
}
|
|
94
94
|
]) : {};
|
|
95
|
-
e.$set(v),
|
|
95
|
+
e.$set(v), m & 256 && i !== (i = `${r[8]}px`) && q(t, "width", i), m & 2048 && f !== (f = `${r[11]}px`) && q(t, "height", f);
|
|
96
96
|
},
|
|
97
97
|
i(r) {
|
|
98
98
|
c || (u(l.$$.fragment, r), u(e.$$.fragment, r), c = !0);
|
|
@@ -132,7 +132,7 @@ function ee(o) {
|
|
|
132
132
|
}
|
|
133
133
|
function te(o, t, l) {
|
|
134
134
|
var w, D;
|
|
135
|
-
let { five: n } = t, { visible: e } = t, { hoverEnable: i } = t, { floorplanData: f } = t, { cameraImageUrl: c } = t, { extraObjects: d = [] } = t, p = 0, _ = (D = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0,
|
|
135
|
+
let { five: n } = t, { visible: e } = t, { hoverEnable: i } = t, { floorplanData: f } = t, { cameraImageUrl: c } = t, { extraObjects: d = [] } = t, p = 0, _ = (D = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, s = 0, r = 0, m = 0, g = 0;
|
|
136
136
|
function v(a) {
|
|
137
137
|
l(10, _ = n.work.observers[a].floorIndex);
|
|
138
138
|
}
|
|
@@ -140,16 +140,16 @@ function te(o, t, l) {
|
|
|
140
140
|
n.off("panoArrived", v);
|
|
141
141
|
}));
|
|
142
142
|
function B() {
|
|
143
|
-
|
|
143
|
+
s = this.clientWidth, r = this.clientHeight, l(6, s), l(7, r);
|
|
144
144
|
}
|
|
145
145
|
return o.$$set = (a) => {
|
|
146
146
|
"five" in a && l(0, n = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, i = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, c = a.cameraImageUrl), "extraObjects" in a && l(5, d = a.extraObjects);
|
|
147
147
|
}, o.$$.update = () => {
|
|
148
148
|
if (o.$$.dirty & 456) {
|
|
149
|
-
const a = Math.min(
|
|
149
|
+
const a = Math.min(s, r), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
|
|
150
150
|
return b > I ? [a, a / b * I] : [a / I * b, a];
|
|
151
151
|
}();
|
|
152
|
-
l(8,
|
|
152
|
+
l(8, m = E[0]), l(11, g = E[1]), l(9, p = m / b);
|
|
153
153
|
}
|
|
154
154
|
}, [
|
|
155
155
|
n,
|
|
@@ -158,9 +158,9 @@ function te(o, t, l) {
|
|
|
158
158
|
f,
|
|
159
159
|
c,
|
|
160
160
|
d,
|
|
161
|
-
m,
|
|
162
|
-
r,
|
|
163
161
|
s,
|
|
162
|
+
r,
|
|
163
|
+
m,
|
|
164
164
|
p,
|
|
165
165
|
_,
|
|
166
166
|
g,
|
package/libs/index.js
CHANGED
|
@@ -113,7 +113,7 @@ import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloo
|
|
|
113
113
|
import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js";
|
|
114
114
|
import "three/examples/jsm/loaders/FBXLoader";
|
|
115
115
|
import "./shared-utils/object3d2LocalMatrix.js";
|
|
116
|
-
import "./shared-utils/three/
|
|
116
|
+
import "./shared-utils/three/transformToMeshBasicMaterial.js";
|
|
117
117
|
import "./shared-utils/createCanvasTextTexture.js";
|
|
118
118
|
import "./shared-utils/three/transformPositionToVector3.js";
|
|
119
119
|
import "./shared-utils/animationFrame/tween.js";
|
|
File without changes
|
package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js}
RENAMED
|
File without changes
|