@realsee/dnalogel 2.13.2-dev.0 → 2.13.2-dev.2
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/index.cjs.js +34 -34
- package/dist/index.js +1375 -1374
- package/dist/index.umd.js +27 -27
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +45 -45
- 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 +19 -19
- 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/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/PanoVideoPlugin.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/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- 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/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.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 +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- 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 +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- 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/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.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/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.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/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.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/LoadTagConfig.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/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- 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/PanoIndex.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/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.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/StickType.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/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.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/base/BasePlugin.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +47 -47
- package/libs/shared-utils/svelte/resizeObserver.js +9 -8
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { svelteResizeObserver as
|
|
1
|
+
import { SvelteComponent as J, init as K, safe_not_equal as L, append_styles as Q, empty as T, insert as I, transition_in as u, transition_out as _, check_outros as F, detach as k, onMount as V, element as N, attr as P, action_destroyer as X, listen as U, group_outros as R, run_all as Y, assign as H, create_component as W, space as Z, set_style as q, mount_component as z, append as x, get_spread_update as C, destroy_component as S } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import $ from "./Camera.js";
|
|
3
|
+
import ee from "./CurrentFloor/CurrentFloor.js";
|
|
4
|
+
import { svelteResizeObserver as te } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
5
5
|
import "../../Assets/camera.js";
|
|
6
6
|
import "../../../shared-utils/throttle.js";
|
|
7
7
|
import "./CurrentFloor/ExtraObjects.js";
|
|
@@ -12,8 +12,8 @@ import "../../Components/RoomHighlight/RoomHighlight.js";
|
|
|
12
12
|
import "../../Components/RoomHighlight/Room.js";
|
|
13
13
|
import "../../utils/formatPosition.js";
|
|
14
14
|
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
15
|
-
function
|
|
16
|
-
|
|
15
|
+
function re(o) {
|
|
16
|
+
Q(o, "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}");
|
|
17
17
|
}
|
|
18
18
|
function A(o) {
|
|
19
19
|
let e, l, r, i, n = o[6] !== 0 && M(o);
|
|
@@ -23,9 +23,9 @@ function A(o) {
|
|
|
23
23
|
},
|
|
24
24
|
m(f, m) {
|
|
25
25
|
I(f, e, m), n && n.m(e, null), l = !0, r || (i = [
|
|
26
|
-
|
|
27
|
-
U(e, "clientWidth", o[
|
|
28
|
-
U(e, "clientHeight", o[
|
|
26
|
+
X(te.call(null, e)),
|
|
27
|
+
U(e, "clientWidth", o[12]),
|
|
28
|
+
U(e, "clientHeight", o[13])
|
|
29
29
|
], r = !0);
|
|
30
30
|
},
|
|
31
31
|
p(f, m) {
|
|
@@ -40,17 +40,17 @@ function A(o) {
|
|
|
40
40
|
_(n), l = !1;
|
|
41
41
|
},
|
|
42
42
|
d(f) {
|
|
43
|
-
f && k(e), n && n.d(), r = !1,
|
|
43
|
+
f && k(e), n && n.d(), r = !1, Y(i);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function M(o) {
|
|
48
|
-
let e, l, r, i, n = `${o[
|
|
48
|
+
let e, l, r, i, n = `${o[8]}px`, f = `${o[11]}px`, m;
|
|
49
49
|
const p = [
|
|
50
50
|
{
|
|
51
51
|
five: o[0],
|
|
52
|
-
pxmm: o[
|
|
53
|
-
floorIndex: o[
|
|
52
|
+
pxmm: o[9],
|
|
53
|
+
floorIndex: o[10],
|
|
54
54
|
floorplanData: o[3],
|
|
55
55
|
hoverEnable: o[2],
|
|
56
56
|
extraObjects: o[5]
|
|
@@ -59,10 +59,10 @@ function M(o) {
|
|
|
59
59
|
let d = {};
|
|
60
60
|
for (let t = 0; t < p.length; t += 1)
|
|
61
61
|
d = H(d, p[t]);
|
|
62
|
-
l = new
|
|
62
|
+
l = new ee({ props: d });
|
|
63
63
|
const h = [
|
|
64
64
|
{
|
|
65
|
-
pxmm: o[
|
|
65
|
+
pxmm: o[9],
|
|
66
66
|
five: o[0],
|
|
67
67
|
floorplanData: o[3],
|
|
68
68
|
cameraImageUrl: o[4]
|
|
@@ -71,34 +71,34 @@ function M(o) {
|
|
|
71
71
|
let c = {};
|
|
72
72
|
for (let t = 0; t < h.length; t += 1)
|
|
73
73
|
c = H(c, h[t]);
|
|
74
|
-
return i = new
|
|
74
|
+
return i = new $({ props: c }), {
|
|
75
75
|
c() {
|
|
76
|
-
e = N("div"), W(l.$$.fragment), r =
|
|
76
|
+
e = N("div"), W(l.$$.fragment), r = Z(), W(i.$$.fragment), P(e, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(e, "width", n), q(e, "height", f);
|
|
77
77
|
},
|
|
78
78
|
m(t, s) {
|
|
79
|
-
I(t, e, s), z(l, e, null),
|
|
79
|
+
I(t, e, s), z(l, e, null), x(e, r), z(i, e, null), m = !0;
|
|
80
80
|
},
|
|
81
81
|
p(t, s) {
|
|
82
|
-
const g = s &
|
|
82
|
+
const g = s & 1581 ? C(p, [
|
|
83
83
|
{
|
|
84
84
|
five: t[0],
|
|
85
|
-
pxmm: t[
|
|
86
|
-
floorIndex: t[
|
|
85
|
+
pxmm: t[9],
|
|
86
|
+
floorIndex: t[10],
|
|
87
87
|
floorplanData: t[3],
|
|
88
88
|
hoverEnable: t[2],
|
|
89
89
|
extraObjects: t[5]
|
|
90
90
|
}
|
|
91
91
|
]) : {};
|
|
92
92
|
l.$set(g);
|
|
93
|
-
const
|
|
93
|
+
const v = s & 537 ? C(h, [
|
|
94
94
|
{
|
|
95
|
-
pxmm: t[
|
|
95
|
+
pxmm: t[9],
|
|
96
96
|
five: t[0],
|
|
97
97
|
floorplanData: t[3],
|
|
98
98
|
cameraImageUrl: t[4]
|
|
99
99
|
}
|
|
100
100
|
]) : {};
|
|
101
|
-
i.$set(
|
|
101
|
+
i.$set(v), s & 256 && n !== (n = `${t[8]}px`) && q(e, "width", n), s & 2048 && f !== (f = `${t[11]}px`) && q(e, "height", f);
|
|
102
102
|
},
|
|
103
103
|
i(t) {
|
|
104
104
|
m || (u(l.$$.fragment, t), u(i.$$.fragment, t), m = !0);
|
|
@@ -111,11 +111,11 @@ function M(o) {
|
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function ne(o) {
|
|
115
115
|
let e, l, r = o[1] && A(o);
|
|
116
116
|
return {
|
|
117
117
|
c() {
|
|
118
|
-
r && r.c(), e =
|
|
118
|
+
r && r.c(), e = T();
|
|
119
119
|
},
|
|
120
120
|
m(i, n) {
|
|
121
121
|
r && r.m(i, n), I(i, e, n), l = !0;
|
|
@@ -136,29 +136,28 @@ function re(o) {
|
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
let ne = 0;
|
|
140
139
|
function le(o, e, l) {
|
|
141
140
|
var w, D;
|
|
142
|
-
let { five: r } = e, { visible: i } = e, { hoverEnable: n } = e, { floorplanData: f } = e, { cameraImageUrl: m } = e, { extraObjects: p = [] } = e, d = 0, h = (D = (w = r.work.observers[r.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, c = 0, t = 0, s = 0;
|
|
143
|
-
function
|
|
144
|
-
l(
|
|
141
|
+
let { five: r } = e, { visible: i } = e, { hoverEnable: n } = e, { floorplanData: f } = e, { cameraImageUrl: m } = e, { extraObjects: p = [] } = e, d = 0, h = (D = (w = r.work.observers[r.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, c = 0, t = 0, s = 0, g = 0;
|
|
142
|
+
function v(a) {
|
|
143
|
+
l(10, h = r.work.observers[a].floorIndex);
|
|
145
144
|
}
|
|
146
|
-
|
|
147
|
-
r.off("panoArrived",
|
|
145
|
+
V(() => (r.on("panoArrived", v), () => {
|
|
146
|
+
r.off("panoArrived", v);
|
|
148
147
|
}));
|
|
149
|
-
const
|
|
148
|
+
const B = (a) => {
|
|
150
149
|
l(6, c = a.detail);
|
|
151
|
-
},
|
|
152
|
-
l(
|
|
150
|
+
}, G = (a) => {
|
|
151
|
+
l(7, t = a.detail);
|
|
153
152
|
};
|
|
154
153
|
return o.$$set = (a) => {
|
|
155
154
|
"five" in a && l(0, r = a.five), "visible" in a && l(1, i = a.visible), "hoverEnable" in a && l(2, n = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, m = a.cameraImageUrl), "extraObjects" in a && l(5, p = a.extraObjects);
|
|
156
155
|
}, o.$$.update = () => {
|
|
157
|
-
if (o.$$.dirty &
|
|
158
|
-
const a = Math.min(c,
|
|
159
|
-
return
|
|
156
|
+
if (o.$$.dirty & 456) {
|
|
157
|
+
const a = Math.min(c, t), { max: j, min: O } = f.bounding, b = j.x - O.x, y = j.y - O.y, E = function() {
|
|
158
|
+
return b > y ? [a, a / b * y] : [a / y * b, a];
|
|
160
159
|
}();
|
|
161
|
-
l(
|
|
160
|
+
l(8, s = E[0]), l(11, g = E[1]), l(9, d = s / b);
|
|
162
161
|
}
|
|
163
162
|
}, [
|
|
164
163
|
r,
|
|
@@ -169,21 +168,22 @@ function le(o, e, l) {
|
|
|
169
168
|
p,
|
|
170
169
|
c,
|
|
171
170
|
t,
|
|
171
|
+
s,
|
|
172
172
|
d,
|
|
173
173
|
h,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
g,
|
|
175
|
+
B,
|
|
176
|
+
G
|
|
177
177
|
];
|
|
178
178
|
}
|
|
179
|
-
class qe extends
|
|
179
|
+
class qe extends J {
|
|
180
180
|
constructor(e) {
|
|
181
|
-
super(),
|
|
181
|
+
super(), K(
|
|
182
182
|
this,
|
|
183
183
|
e,
|
|
184
184
|
le,
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
ne,
|
|
186
|
+
L,
|
|
187
187
|
{
|
|
188
188
|
five: 0,
|
|
189
189
|
visible: 1,
|
|
@@ -192,7 +192,7 @@ class qe extends G {
|
|
|
192
192
|
cameraImageUrl: 4,
|
|
193
193
|
extraObjects: 5
|
|
194
194
|
},
|
|
195
|
-
|
|
195
|
+
re
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { index as
|
|
2
|
-
function
|
|
3
|
-
new
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { index as f } from "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
2
|
+
function E(i) {
|
|
3
|
+
new f((l, p) => {
|
|
4
|
+
var n, e, c, s, o, h;
|
|
5
|
+
for (const d of l) {
|
|
6
|
+
const { borderBoxSize: t, contentRect: v } = d, r = (c = (e = (n = t == null ? void 0 : t[0]) == null ? void 0 : n.inlineSize) != null ? e : v.width) != null ? c : i.clientWidth, a = (h = (o = (s = t == null ? void 0 : t[0]) == null ? void 0 : s.blockSize) != null ? o : v.height) != null ? h : i.clientHeight;
|
|
7
|
+
i.dispatchEvent(new CustomEvent("clientWidth", { detail: r })), i.dispatchEvent(new CustomEvent("clientHeight", { detail: a }));
|
|
7
8
|
}
|
|
8
|
-
}).observe(
|
|
9
|
+
}).observe(i);
|
|
9
10
|
}
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
E as svelteResizeObserver
|
|
12
13
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.13.2-dev.
|
|
10
|
+
"version": "2.13.2-dev.2",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|