@realsee/dnalogel 2.2.3 → 2.2.5
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 +63 -58
- package/dist/index.js +4577 -3937
- package/dist/index.umd.js +51 -46
- 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 +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/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 +12 -13
- package/libs/ItemLabelPlugin/ItemLabelItem.js +1 -1
- package/libs/ItemLabelPlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +10 -11
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +1 -1
- package/libs/ModelItemLabelPlugin/index.js +3 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +17 -18
- package/libs/PanoDoorLabelPlugin/Controller.js +72 -73
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItems.js +18 -19
- package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +8 -9
- package/libs/PanoSpatialTagPlugin/index.js +1 -3
- package/libs/PanoSpatialTagPlugin/store.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +25 -26
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +8 -8
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +30 -29
- package/libs/PanoTagPlugin/Components/Common/Media.js +27 -28
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +18 -19
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +3 -3
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +3 -3
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +9 -9
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +11 -10
- package/libs/PanoTagPlugin/Components/Common/Text.js +15 -16
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +10 -10
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +9 -10
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +27 -28
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +9 -10
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +7 -6
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -4
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +10 -11
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +19 -20
- package/libs/PanoTagPlugin/Components/Tag/index.js +8 -9
- package/libs/PanoTagPlugin/Components/TagContainer.js +11 -12
- package/libs/PanoTagPlugin/Components/TagWrapper.js +8 -9
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +4 -4
- package/libs/floorplan/Components/Camera.js +1 -1
- package/libs/floorplan/Components/Compass.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +9 -10
- package/libs/floorplan/Components/Main.js +24 -25
- package/libs/floorplan/Components/Normalmage.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +7 -7
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +7 -8
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +39 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +7 -7
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -1
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +5 -5
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +7 -7
- package/libs/floorplan/Components/SvgImage.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +23 -24
- package/libs/floorplan/index.js +1 -5
- package/libs/index.js +94 -95
- package/libs/vendor/svelte/easing/index.js +12 -0
- package/libs/vendor/svelte/index.js +1 -0
- package/libs/vendor/svelte/internal/index.js +642 -0
- package/libs/vendor/svelte/store/index.js +31 -0
- package/libs/vendor/svelte/transition/index.js +37 -0
- package/libs/vendor/swiper/svelte/swiper-slide.js +10 -11
- package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -2
- package/libs/vendor/swiper/svelte/swiper.js +9 -10
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as d, init as b, safe_not_equal as v, append_styles as k, element as h, attr as y, insert as I,
|
|
1
|
+
import { SvelteComponent as d, init as b, safe_not_equal as v, append_styles as k, element as h, attr as y, insert as I, transition_out as u, check_outros as D, transition_in as c, detach as x, group_outros as z, create_component as _, mount_component as g, destroy_component as p } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import w from "./Normalmage.js";
|
|
3
3
|
import C from "./SvgImage.js";
|
|
4
4
|
function S(l) {
|
|
@@ -69,9 +69,9 @@ function B(l) {
|
|
|
69
69
|
},
|
|
70
70
|
p(o, [s]) {
|
|
71
71
|
let m = t;
|
|
72
|
-
t = f(o), t === m ? ~t && a[t].p(o, s) : (e && (
|
|
72
|
+
t = f(o), t === m ? ~t && a[t].p(o, s) : (e && (z(), u(a[m], 1, 1, () => {
|
|
73
73
|
a[m] = null;
|
|
74
|
-
}),
|
|
74
|
+
}), D()), ~t ? (e = a[t], e ? e.p(o, s) : (e = a[t] = i[t](o), e.c()), c(e, 1), e.m(n, null)) : e = null);
|
|
75
75
|
},
|
|
76
76
|
i(o) {
|
|
77
77
|
r || (c(e), r = !0);
|
|
@@ -80,7 +80,7 @@ function B(l) {
|
|
|
80
80
|
u(e), r = !1;
|
|
81
81
|
},
|
|
82
82
|
d(o) {
|
|
83
|
-
o &&
|
|
83
|
+
o && x(n), ~t && a[t].d();
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as m, attr as c, set_style as o, insert as U, append as A, noop as d, detach as C } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as m, attr as c, set_style as o, insert as U, append as A, noop as d, detach as C } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { CAMERA_IMAGE as g } from "../Assets/camera.js";
|
|
3
3
|
import { rad2Deg as R } from "../../shared-utils/math/rad2Deg.js";
|
|
4
4
|
function S(a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as u, detach as g, element as f, space as w, text as S, attr as c, set_style as _, append as p, set_data as C } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as u, detach as g, element as f, space as w, text as S, attr as c, set_style as _, append as p, set_data as C } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { COMPASS_IMAGE as x } from "../Assets/compass.js";
|
|
3
3
|
function M(a) {
|
|
4
4
|
D(a, "svelte-rpkaro", ".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{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-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SvelteComponent as S, init as j, safe_not_equal as G, append_styles as J, assign as v, element as K, create_component as L, space as z, attr as C, null_to_empty as V, insert as N, mount_component as D, append as k, get_spread_update as I, transition_in as b,
|
|
2
|
-
import { writable as P } from "svelte/store";
|
|
1
|
+
import { SvelteComponent as S, init as j, safe_not_equal as G, append_styles as J, assign as v, element as K, create_component as L, space as z, attr as C, null_to_empty as V, insert as N, mount_component as D, append as k, get_spread_update as I, transition_in as b, transition_out as p, check_outros as w, detach as O, destroy_component as T, group_outros as A } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { writable as P } from "../../vendor/svelte/store/index.js";
|
|
3
3
|
import Q from "./BaseImage.js";
|
|
4
4
|
import U from "./RoomLabels/RoomLabels.js";
|
|
5
5
|
import W from "./RuleLabels/RuleLabels.js";
|
|
@@ -8,7 +8,6 @@ import Y from "./RoomHighlight/RoomHighlight.js";
|
|
|
8
8
|
import "./Normalmage.js";
|
|
9
9
|
import "./SvgImage.js";
|
|
10
10
|
import "./RoomLabels/RoomLabel.js";
|
|
11
|
-
import "svelte";
|
|
12
11
|
import "./RuleLabels/RuleItem.js";
|
|
13
12
|
import "../utils/formatPosition.js";
|
|
14
13
|
import "./RoomMaterials/RoomMaterial_0.js";
|
|
@@ -182,20 +181,20 @@ function y(n) {
|
|
|
182
181
|
floorplanData: t[5]
|
|
183
182
|
}
|
|
184
183
|
]) : {};
|
|
185
|
-
o.$set(H), t[2] ? a ? (a.p(t, _), _ & 4 && b(a, 1)) : (a = q(t), a.c(), b(a, 1), a.m(l, i)) : a && (
|
|
184
|
+
o.$set(H), t[2] ? a ? (a.p(t, _), _ & 4 && b(a, 1)) : (a = q(t), a.c(), b(a, 1), a.m(l, i)) : a && (A(), p(a, 1, 1, () => {
|
|
186
185
|
a = null;
|
|
187
|
-
}),
|
|
186
|
+
}), w());
|
|
188
187
|
const M = _ & 34 ? I(E, [
|
|
189
188
|
{
|
|
190
189
|
floorplanData: t[5],
|
|
191
190
|
floorIndex: t[1]
|
|
192
191
|
}
|
|
193
192
|
]) : {};
|
|
194
|
-
e.$set(M), t[3] ? f ? (f.p(t, _), _ & 8 && b(f, 1)) : (f = B(t), f.c(), b(f, 1), f.m(l, g)) : f && (
|
|
193
|
+
e.$set(M), t[3] ? f ? (f.p(t, _), _ & 8 && b(f, 1)) : (f = B(t), f.c(), b(f, 1), f.m(l, g)) : f && (A(), p(f, 1, 1, () => {
|
|
195
194
|
f = null;
|
|
196
|
-
}),
|
|
195
|
+
}), w()), t[4] ? m ? (m.p(t, _), _ & 16 && b(m, 1)) : (m = F(t), m.c(), b(m, 1), m.m(l, null)) : m && (A(), p(m, 1, 1, () => {
|
|
197
196
|
m = null;
|
|
198
|
-
}),
|
|
197
|
+
}), w()), (!h || _ & 1 && d !== (d = V(`floorplan-plugin__floor${t[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && C(l, "class", d);
|
|
199
198
|
},
|
|
200
199
|
i(t) {
|
|
201
200
|
h || (b(o.$$.fragment, t), b(a), b(e.$$.fragment, t), b(f), b(m), h = !0);
|
|
@@ -227,7 +226,7 @@ function x(n, l, o) {
|
|
|
227
226
|
E
|
|
228
227
|
];
|
|
229
228
|
}
|
|
230
|
-
class
|
|
229
|
+
class pe extends S {
|
|
231
230
|
constructor(l) {
|
|
232
231
|
super(), j(
|
|
233
232
|
this,
|
|
@@ -252,5 +251,5 @@ class he extends S {
|
|
|
252
251
|
}
|
|
253
252
|
}
|
|
254
253
|
export {
|
|
255
|
-
|
|
254
|
+
pe as default
|
|
256
255
|
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { SvelteComponent as S, init as j, safe_not_equal as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import Z from "./Compass.js";
|
|
1
|
+
import { SvelteComponent as S, init as j, safe_not_equal as z, append_styles as G, empty as H, insert as B, transition_in as g, transition_out as _, check_outros as I, detach as F, assign as M, element as J, space as C, create_component as v, attr as K, append as P, mount_component as T, group_outros as R, get_spread_update as N, add_render_callback as O, create_in_transition as Q, identity as W, destroy_each as X, destroy_component as k } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { fade as Y } from "../../vendor/svelte/transition/index.js";
|
|
3
|
+
import Z from "./Camera.js";
|
|
4
|
+
import p from "./Compass.js";
|
|
6
5
|
import y from "./CurrentFloor.js";
|
|
6
|
+
import "../../vendor/svelte/easing/index.js";
|
|
7
7
|
import "../Assets/camera.js";
|
|
8
8
|
import "../../shared-utils/math/rad2Deg.js";
|
|
9
9
|
import "../Assets/compass.js";
|
|
10
|
-
import "svelte/store";
|
|
10
|
+
import "../../vendor/svelte/store/index.js";
|
|
11
11
|
import "./BaseImage.js";
|
|
12
12
|
import "./Normalmage.js";
|
|
13
13
|
import "./SvgImage.js";
|
|
14
14
|
import "./RoomLabels/RoomLabels.js";
|
|
15
15
|
import "./RoomLabels/RoomLabel.js";
|
|
16
|
-
import "svelte";
|
|
17
16
|
import "./RuleLabels/RuleLabels.js";
|
|
18
17
|
import "./RuleLabels/RuleItem.js";
|
|
19
18
|
import "./RoomMaterials/RoomMaterial.js";
|
|
@@ -24,7 +23,7 @@ import "./RoomMaterials/RoomMaterial_2.js";
|
|
|
24
23
|
import "./RoomHighlight/RoomHighlight.js";
|
|
25
24
|
import "./RoomHighlight/Room.js";
|
|
26
25
|
function x(a) {
|
|
27
|
-
|
|
26
|
+
G(a, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
|
|
28
27
|
}
|
|
29
28
|
function U(a, e, t) {
|
|
30
29
|
const l = a.slice();
|
|
@@ -47,14 +46,14 @@ function V(a) {
|
|
|
47
46
|
let E = {};
|
|
48
47
|
for (let r = 0; r < h.length; r += 1)
|
|
49
48
|
E = M(E, h[r]);
|
|
50
|
-
l = new
|
|
49
|
+
l = new Z({ props: E });
|
|
51
50
|
let m = a[6] && w(a);
|
|
52
51
|
return {
|
|
53
52
|
c() {
|
|
54
|
-
e =
|
|
53
|
+
e = J("div");
|
|
55
54
|
for (let r = 0; r < f.length; r += 1)
|
|
56
55
|
f[r].c();
|
|
57
|
-
t = C(), v(l.$$.fragment), i = C(), m && m.c(),
|
|
56
|
+
t = C(), v(l.$$.fragment), i = C(), m && m.c(), K(e, "class", "floorplan-main svelte-86bqav");
|
|
58
57
|
},
|
|
59
58
|
m(r, s) {
|
|
60
59
|
B(r, e, s);
|
|
@@ -70,9 +69,9 @@ function V(a) {
|
|
|
70
69
|
const L = U(a, c, u);
|
|
71
70
|
f[u] ? (f[u].p(L, s), g(f[u], 1)) : (f[u] = q(L), f[u].c(), g(f[u], 1), f[u].m(e, t));
|
|
72
71
|
}
|
|
73
|
-
for (
|
|
72
|
+
for (R(), u = c.length; u < f.length; u += 1)
|
|
74
73
|
D(u);
|
|
75
|
-
|
|
74
|
+
I();
|
|
76
75
|
}
|
|
77
76
|
const d = s & 3592 ? N(h, [
|
|
78
77
|
{
|
|
@@ -82,16 +81,16 @@ function V(a) {
|
|
|
82
81
|
cameraImageUrl: a[11]
|
|
83
82
|
}
|
|
84
83
|
]) : {};
|
|
85
|
-
l.$set(d), a[6] ? m ? (m.p(a, s), s & 64 && g(m, 1)) : (m = w(a), m.c(), g(m, 1), m.m(e, null)) : m && (
|
|
84
|
+
l.$set(d), a[6] ? m ? (m.p(a, s), s & 64 && g(m, 1)) : (m = w(a), m.c(), g(m, 1), m.m(e, null)) : m && (R(), _(m, 1, 1, () => {
|
|
86
85
|
m = null;
|
|
87
|
-
}),
|
|
86
|
+
}), I());
|
|
88
87
|
},
|
|
89
88
|
i(r) {
|
|
90
89
|
if (!b) {
|
|
91
90
|
for (let s = 0; s < c.length; s += 1)
|
|
92
91
|
g(f[s]);
|
|
93
|
-
g(l.$$.fragment, r), g(m), n ||
|
|
94
|
-
n =
|
|
92
|
+
g(l.$$.fragment, r), g(m), n || O(() => {
|
|
93
|
+
n = Q(e, Y, {
|
|
95
94
|
duration: a[0],
|
|
96
95
|
easing: W
|
|
97
96
|
}), n.start();
|
|
@@ -105,7 +104,7 @@ function V(a) {
|
|
|
105
104
|
_(l.$$.fragment, r), _(m), b = !1;
|
|
106
105
|
},
|
|
107
106
|
d(r) {
|
|
108
|
-
r && F(e),
|
|
107
|
+
r && F(e), X(f, r), k(l), m && m.d();
|
|
109
108
|
}
|
|
110
109
|
};
|
|
111
110
|
}
|
|
@@ -173,7 +172,7 @@ function q(a) {
|
|
|
173
172
|
}
|
|
174
173
|
function w(a) {
|
|
175
174
|
let e, t;
|
|
176
|
-
return e = new
|
|
175
|
+
return e = new p({
|
|
177
176
|
props: {
|
|
178
177
|
floorplanData: a[9],
|
|
179
178
|
northDesc: a[2]
|
|
@@ -204,15 +203,15 @@ function $(a) {
|
|
|
204
203
|
let e, t, l = a[1] && V(a);
|
|
205
204
|
return {
|
|
206
205
|
c() {
|
|
207
|
-
l && l.c(), e =
|
|
206
|
+
l && l.c(), e = H();
|
|
208
207
|
},
|
|
209
208
|
m(i, n) {
|
|
210
209
|
l && l.m(i, n), B(i, e, n), t = !0;
|
|
211
210
|
},
|
|
212
211
|
p(i, [n]) {
|
|
213
|
-
i[1] ? l ? (l.p(i, n), n & 2 && g(l, 1)) : (l = V(i), l.c(), g(l, 1), l.m(e.parentNode, e)) : l && (
|
|
212
|
+
i[1] ? l ? (l.p(i, n), n & 2 && g(l, 1)) : (l = V(i), l.c(), g(l, 1), l.m(e.parentNode, e)) : l && (R(), _(l, 1, 1, () => {
|
|
214
213
|
l = null;
|
|
215
|
-
}),
|
|
214
|
+
}), I());
|
|
216
215
|
},
|
|
217
216
|
i(i) {
|
|
218
217
|
t || (g(l), t = !0);
|
|
@@ -248,14 +247,14 @@ function ee(a, e, t) {
|
|
|
248
247
|
A
|
|
249
248
|
];
|
|
250
249
|
}
|
|
251
|
-
class
|
|
250
|
+
class ke extends S {
|
|
252
251
|
constructor(e) {
|
|
253
252
|
super(), j(
|
|
254
253
|
this,
|
|
255
254
|
e,
|
|
256
255
|
ee,
|
|
257
256
|
$,
|
|
258
|
-
|
|
257
|
+
z,
|
|
259
258
|
{
|
|
260
259
|
duration: 0,
|
|
261
260
|
visible: 1,
|
|
@@ -279,5 +278,5 @@ class Ae extends S {
|
|
|
279
278
|
}
|
|
280
279
|
}
|
|
281
280
|
export {
|
|
282
|
-
|
|
281
|
+
ke as default
|
|
283
282
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as o, init as c, safe_not_equal as u, append_styles as f, element as m, src_url_equal as l, attr as s, insert as g, noop as a, detach as _ } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as o, init as c, safe_not_equal as u, append_styles as f, element as m, src_url_equal as l, attr as s, insert as g, noop as a, detach as _ } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
function d(n) {
|
|
3
3
|
f(n, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as d, init as h, safe_not_equal as p, append_styles as _, svg_element as D, attr as r, insert as R, listen as i, noop as f, detach as g, run_all as y } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as d, init as h, safe_not_equal as p, append_styles as _, svg_element as D, attr as r, insert as R, listen as i, noop as f, detach as g, run_all as y } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { pathD as M, formatFloorplanPoint as b } from "../../utils/formatPosition.js";
|
|
3
3
|
function q(t) {
|
|
4
4
|
_(t, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as v, init as k, safe_not_equal as b, append_styles as y, element as D, svg_element as R, attr as u, insert as _, append as w,
|
|
1
|
+
import { SvelteComponent as v, init as k, safe_not_equal as b, append_styles as y, element as D, svg_element as R, attr as u, insert as _, append as w, update_keyed_each as q, check_outros as I, transition_in as g, transition_out as c, detach as p, assign as x, empty as H, create_component as B, mount_component as C, get_spread_update as M, destroy_component as S, group_outros as W, outro_and_destroy_block as j } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import z from "./Room.js";
|
|
3
3
|
import "../../utils/formatPosition.js";
|
|
4
4
|
function A(i) {
|
|
@@ -19,19 +19,19 @@ function d(i, t) {
|
|
|
19
19
|
];
|
|
20
20
|
let f = {};
|
|
21
21
|
for (let l = 0; l < s.length; l += 1)
|
|
22
|
-
f =
|
|
22
|
+
f = x(f, s[l]);
|
|
23
23
|
return o = new z({ props: f }), {
|
|
24
24
|
key: i,
|
|
25
25
|
first: null,
|
|
26
26
|
c() {
|
|
27
|
-
r =
|
|
27
|
+
r = H(), B(o.$$.fragment), this.first = r;
|
|
28
28
|
},
|
|
29
29
|
m(l, e) {
|
|
30
|
-
_(l, r, e),
|
|
30
|
+
_(l, r, e), C(o, l, e), a = !0;
|
|
31
31
|
},
|
|
32
32
|
p(l, e) {
|
|
33
33
|
t = l;
|
|
34
|
-
const n = e & 7 ?
|
|
34
|
+
const n = e & 7 ? M(s, [
|
|
35
35
|
{
|
|
36
36
|
room: t[5],
|
|
37
37
|
floorplanData: t[1],
|
|
@@ -47,7 +47,7 @@ function d(i, t) {
|
|
|
47
47
|
c(o.$$.fragment, l), a = !1;
|
|
48
48
|
},
|
|
49
49
|
d(l) {
|
|
50
|
-
l && p(r),
|
|
50
|
+
l && p(r), S(o, l);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
}
|
|
@@ -72,7 +72,7 @@ function E(i) {
|
|
|
72
72
|
s = !0;
|
|
73
73
|
},
|
|
74
74
|
p(e, [n]) {
|
|
75
|
-
n & 7 && (f = e[1].floorDatas[e[0]].rooms,
|
|
75
|
+
n & 7 && (f = e[1].floorDatas[e[0]].rooms, W(), o = q(o, n, l, 1, e, f, a, r, j, d, null, m), I());
|
|
76
76
|
},
|
|
77
77
|
i(e) {
|
|
78
78
|
if (!s) {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as O, init as Q, safe_not_equal as Z, append_styles as $, element as k, attr as C, set_style as _, insert as p, noop as E, detach as g,
|
|
2
|
-
import { onMount as ie } from "svelte";
|
|
1
|
+
import { SvelteComponent as O, init as Q, safe_not_equal as Z, append_styles as $, element as k, attr as C, set_style as _, insert as p, noop as E, detach as g, onMount as ee, binding_callbacks as te, HtmlTag as oe, empty as ne, text as V, space as ie, append as A, set_data as j } from "../../../vendor/svelte/internal/index.js";
|
|
3
2
|
function le(i) {
|
|
4
3
|
$(i, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
|
|
5
4
|
}
|
|
@@ -7,7 +6,7 @@ function se(i) {
|
|
|
7
6
|
let e, n = i[4].outerHTML + "", l;
|
|
8
7
|
return {
|
|
9
8
|
c() {
|
|
10
|
-
e = new
|
|
9
|
+
e = new oe(!1), l = ne(), e.a = l;
|
|
11
10
|
},
|
|
12
11
|
m(t, o) {
|
|
13
12
|
e.m(n, t, o), p(t, l, o);
|
|
@@ -24,7 +23,7 @@ function fe(i) {
|
|
|
24
23
|
let e, n = i[0].name + "", l, t, o, c;
|
|
25
24
|
return {
|
|
26
25
|
c() {
|
|
27
|
-
e = k("span"), l = V(n), t =
|
|
26
|
+
e = k("span"), l = V(n), t = ie(), o = k("span"), c = V(i[5]), C(e, "class", "floorplan-plugin__room-name"), C(o, "class", "floorplan-plugin__room-size svelte-12pzct5");
|
|
28
27
|
},
|
|
29
28
|
m(a, f) {
|
|
30
29
|
p(a, e, f), A(e, l), p(a, t, f), p(a, o, f), A(o, c);
|
|
@@ -92,7 +91,7 @@ function re(i, e, n) {
|
|
|
92
91
|
let H = !1, u, y;
|
|
93
92
|
h.subscribe(function(b) {
|
|
94
93
|
n(13, H = !!b && b.id === f.id);
|
|
95
|
-
}),
|
|
94
|
+
}), ee(() => {
|
|
96
95
|
const s = u == null ? void 0 : u.getClientRects()[0];
|
|
97
96
|
n(14, y = {
|
|
98
97
|
width: s.width,
|
|
@@ -100,7 +99,7 @@ function re(i, e, n) {
|
|
|
100
99
|
});
|
|
101
100
|
});
|
|
102
101
|
function U(s) {
|
|
103
|
-
|
|
102
|
+
te[s ? "unshift" : "push"](() => {
|
|
104
103
|
u = s, n(2, u);
|
|
105
104
|
});
|
|
106
105
|
}
|
|
@@ -128,7 +127,7 @@ function re(i, e, n) {
|
|
|
128
127
|
U
|
|
129
128
|
];
|
|
130
129
|
}
|
|
131
|
-
class
|
|
130
|
+
class be extends O {
|
|
132
131
|
constructor(e) {
|
|
133
132
|
super(), Q(
|
|
134
133
|
this,
|
|
@@ -149,5 +148,5 @@ class de extends O {
|
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
150
|
export {
|
|
152
|
-
|
|
151
|
+
be as default
|
|
153
152
|
};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { SvelteComponent as A, init as T, safe_not_equal as V, append_styles as D, empty as v, insert as b, transition_in as _,
|
|
1
|
+
import { SvelteComponent as A, init as T, safe_not_equal as V, append_styles as D, empty as v, insert as b, transition_in as _, transition_out as d, check_outros as L, detach as c, element as z, attr as I, add_render_callback as w, add_resize_listener as W, group_outros as k, update_keyed_each as q, outro_and_destroy_block as C, assign as M, create_component as N, mount_component as S, get_spread_update as j, destroy_component as B } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import F from "./RoomLabel.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
D(a, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
|
|
3
|
+
function G(r) {
|
|
4
|
+
D(r, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
|
|
6
5
|
}
|
|
7
|
-
function g(
|
|
8
|
-
const t =
|
|
6
|
+
function g(r, e, o) {
|
|
7
|
+
const t = r.slice();
|
|
9
8
|
return t[10] = e[o], t;
|
|
10
9
|
}
|
|
11
|
-
function R(
|
|
12
|
-
let e, o = [], t = /* @__PURE__ */ new Map(), i, m, s =
|
|
13
|
-
const
|
|
10
|
+
function R(r) {
|
|
11
|
+
let e, o = [], t = /* @__PURE__ */ new Map(), i, m, s = r[6];
|
|
12
|
+
const a = (l) => l[10].id;
|
|
14
13
|
for (let l = 0; l < s.length; l += 1) {
|
|
15
|
-
let n = g(
|
|
14
|
+
let n = g(r, s, l), u = a(n);
|
|
16
15
|
t.set(u, o[l] = p(u, n));
|
|
17
16
|
}
|
|
18
17
|
return {
|
|
@@ -20,16 +19,16 @@ function R(a) {
|
|
|
20
19
|
e = z("div");
|
|
21
20
|
for (let l = 0; l < o.length; l += 1)
|
|
22
21
|
o[l].c();
|
|
23
|
-
I(e, "class", "floorplan-plugin__room-labels svelte-13xux0b"), w(() =>
|
|
22
|
+
I(e, "class", "floorplan-plugin__room-labels svelte-13xux0b"), w(() => r[9].call(e));
|
|
24
23
|
},
|
|
25
24
|
m(l, n) {
|
|
26
25
|
b(l, e, n);
|
|
27
26
|
for (let u = 0; u < o.length; u += 1)
|
|
28
27
|
o[u].m(e, null);
|
|
29
|
-
i = W(e,
|
|
28
|
+
i = W(e, r[9].bind(e)), m = !0;
|
|
30
29
|
},
|
|
31
30
|
p(l, n) {
|
|
32
|
-
n & 111 && (s = l[6],
|
|
31
|
+
n & 111 && (s = l[6], k(), o = q(o, n, a, 1, l, s, t, e, C, p, null, g), L());
|
|
33
32
|
},
|
|
34
33
|
i(l) {
|
|
35
34
|
if (!m) {
|
|
@@ -51,7 +50,7 @@ function R(a) {
|
|
|
51
50
|
}
|
|
52
51
|
};
|
|
53
52
|
}
|
|
54
|
-
function p(
|
|
53
|
+
function p(r, e) {
|
|
55
54
|
let o, t, i;
|
|
56
55
|
const m = [
|
|
57
56
|
{
|
|
@@ -64,19 +63,19 @@ function p(a, e) {
|
|
|
64
63
|
}
|
|
65
64
|
];
|
|
66
65
|
let s = {};
|
|
67
|
-
for (let
|
|
68
|
-
s = M(s, m[
|
|
66
|
+
for (let a = 0; a < m.length; a += 1)
|
|
67
|
+
s = M(s, m[a]);
|
|
69
68
|
return t = new F({ props: s }), {
|
|
70
|
-
key:
|
|
69
|
+
key: r,
|
|
71
70
|
first: null,
|
|
72
71
|
c() {
|
|
73
72
|
o = v(), N(t.$$.fragment), this.first = o;
|
|
74
73
|
},
|
|
75
|
-
m(
|
|
76
|
-
b(
|
|
74
|
+
m(a, l) {
|
|
75
|
+
b(a, o, l), S(t, a, l), i = !0;
|
|
77
76
|
},
|
|
78
|
-
p(
|
|
79
|
-
e =
|
|
77
|
+
p(a, l) {
|
|
78
|
+
e = a;
|
|
80
79
|
const n = l & 111 ? j(m, [
|
|
81
80
|
{
|
|
82
81
|
pxmm: e[5],
|
|
@@ -89,19 +88,19 @@ function p(a, e) {
|
|
|
89
88
|
]) : {};
|
|
90
89
|
t.$set(n);
|
|
91
90
|
},
|
|
92
|
-
i(
|
|
93
|
-
i || (_(t.$$.fragment,
|
|
91
|
+
i(a) {
|
|
92
|
+
i || (_(t.$$.fragment, a), i = !0);
|
|
94
93
|
},
|
|
95
|
-
o(
|
|
96
|
-
d(t.$$.fragment,
|
|
94
|
+
o(a) {
|
|
95
|
+
d(t.$$.fragment, a), i = !1;
|
|
97
96
|
},
|
|
98
|
-
d(
|
|
99
|
-
|
|
97
|
+
d(a) {
|
|
98
|
+
a && c(o), B(t, a);
|
|
100
99
|
}
|
|
101
100
|
};
|
|
102
101
|
}
|
|
103
|
-
function H(
|
|
104
|
-
let e, o, t =
|
|
102
|
+
function H(r) {
|
|
103
|
+
let e, o, t = r[6] && R(r);
|
|
105
104
|
return {
|
|
106
105
|
c() {
|
|
107
106
|
t && t.c(), e = v();
|
|
@@ -110,9 +109,9 @@ function H(a) {
|
|
|
110
109
|
t && t.m(i, m), b(i, e, m), o = !0;
|
|
111
110
|
},
|
|
112
111
|
p(i, [m]) {
|
|
113
|
-
i[6] ? t ? (t.p(i, m), m & 64 && _(t, 1)) : (t = R(i), t.c(), _(t, 1), t.m(e.parentNode, e)) : t && (
|
|
112
|
+
i[6] ? t ? (t.p(i, m), m & 64 && _(t, 1)) : (t = R(i), t.c(), _(t, 1), t.m(e.parentNode, e)) : t && (k(), d(t, 1, 1, () => {
|
|
114
113
|
t = null;
|
|
115
|
-
}),
|
|
114
|
+
}), L());
|
|
116
115
|
},
|
|
117
116
|
i(i) {
|
|
118
117
|
o || (_(t), o = !0);
|
|
@@ -125,21 +124,21 @@ function H(a) {
|
|
|
125
124
|
}
|
|
126
125
|
};
|
|
127
126
|
}
|
|
128
|
-
function J(
|
|
129
|
-
let t, { floorIndex: i } = e, { floorplanData: m } = e, { hoveredRoom: s } = e, { getRoomAreaText:
|
|
127
|
+
function J(r, e, o) {
|
|
128
|
+
let t, { floorIndex: i } = e, { floorplanData: m } = e, { hoveredRoom: s } = e, { getRoomAreaText: a } = e, { getLabelElement: l } = e, { adaptiveRoomLabelVisibleEnable: n } = e, u = 0, h = 0;
|
|
130
129
|
function E() {
|
|
131
130
|
u = this.clientWidth, o(4, u);
|
|
132
131
|
}
|
|
133
|
-
return
|
|
134
|
-
"floorIndex" in f && o(7, i = f.floorIndex), "floorplanData" in f && o(8, m = f.floorplanData), "hoveredRoom" in f && o(0, s = f.hoveredRoom), "getRoomAreaText" in f && o(1,
|
|
135
|
-
},
|
|
136
|
-
if (
|
|
132
|
+
return r.$$set = (f) => {
|
|
133
|
+
"floorIndex" in f && o(7, i = f.floorIndex), "floorplanData" in f && o(8, m = f.floorplanData), "hoveredRoom" in f && o(0, s = f.hoveredRoom), "getRoomAreaText" in f && o(1, a = f.getRoomAreaText), "getLabelElement" in f && o(2, l = f.getLabelElement), "adaptiveRoomLabelVisibleEnable" in f && o(3, n = f.adaptiveRoomLabelVisibleEnable);
|
|
134
|
+
}, r.$$.update = () => {
|
|
135
|
+
if (r.$$.dirty & 384 && o(6, t = m.floorDatas[i].rooms), r.$$.dirty & 272) {
|
|
137
136
|
const { max: f, min: x } = m.bounding, y = f.x - x.x;
|
|
138
137
|
o(5, h = u / y);
|
|
139
138
|
}
|
|
140
139
|
}, [
|
|
141
140
|
s,
|
|
142
|
-
|
|
141
|
+
a,
|
|
143
142
|
l,
|
|
144
143
|
n,
|
|
145
144
|
u,
|
|
@@ -150,7 +149,7 @@ function J(a, e, o) {
|
|
|
150
149
|
E
|
|
151
150
|
];
|
|
152
151
|
}
|
|
153
|
-
class
|
|
152
|
+
class P extends A {
|
|
154
153
|
constructor(e) {
|
|
155
154
|
super(), T(
|
|
156
155
|
this,
|
|
@@ -171,5 +170,5 @@ class Q extends A {
|
|
|
171
170
|
}
|
|
172
171
|
}
|
|
173
172
|
export {
|
|
174
|
-
|
|
173
|
+
P as default
|
|
175
174
|
};
|
|
@@ -10,7 +10,7 @@ var b = (l, e, o) => e in l ? M(l, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
q.call(e, o) && b(l, o, e[o]);
|
|
11
11
|
return l;
|
|
12
12
|
}, v = (l, e) => R(l, B(e));
|
|
13
|
-
import { SvelteComponent as C, init as F, safe_not_equal as H, append_styles as P, element as S, attr as m, insert as x, transition_in as c,
|
|
13
|
+
import { SvelteComponent as C, init as F, safe_not_equal as H, append_styles as P, element as S, attr as m, insert as x, transition_in as c, check_outros as w, transition_out as s, detach as D, destroy_each as W, svg_element as j, group_outros as I, create_component as p, mount_component as h, destroy_component as g } from "../../../vendor/svelte/internal/index.js";
|
|
14
14
|
import { formatFloorplanPoint as z } from "../../utils/formatPosition.js";
|
|
15
15
|
import A from "./RoomMaterial_0.js";
|
|
16
16
|
import E from "./RoomMaterial_1.js";
|
|
@@ -109,9 +109,9 @@ function $(l) {
|
|
|
109
109
|
},
|
|
110
110
|
p(r, u) {
|
|
111
111
|
let _ = o;
|
|
112
|
-
o = f(r), o === _ ? a[o].p(r, u) : (
|
|
112
|
+
o = f(r), o === _ ? a[o].p(r, u) : (I(), s(a[_], 1, 1, () => {
|
|
113
113
|
a[_] = null;
|
|
114
|
-
}),
|
|
114
|
+
}), w(), t = a[o], t ? t.p(r, u) : (t = a[o] = i[o](r), t.c()), c(t, 1), t.m(e, null));
|
|
115
115
|
},
|
|
116
116
|
i(r) {
|
|
117
117
|
n || (c(t), n = !0);
|
|
@@ -120,7 +120,7 @@ function $(l) {
|
|
|
120
120
|
s(t), n = !1;
|
|
121
121
|
},
|
|
122
122
|
d(r) {
|
|
123
|
-
r &&
|
|
123
|
+
r && D(e), a[o].d();
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
}
|
|
@@ -152,9 +152,9 @@ function O(l) {
|
|
|
152
152
|
const u = y(a, t, r);
|
|
153
153
|
n[r] ? (n[r].p(u, f), c(n[r], 1)) : (n[r] = $(u), n[r].c(), c(n[r], 1), n[r].m(e, null));
|
|
154
154
|
}
|
|
155
|
-
for (
|
|
155
|
+
for (I(), r = t.length; r < n.length; r += 1)
|
|
156
156
|
i(r);
|
|
157
|
-
|
|
157
|
+
w();
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
i(a) {
|
|
@@ -171,7 +171,7 @@ function O(l) {
|
|
|
171
171
|
o = !1;
|
|
172
172
|
},
|
|
173
173
|
d(a) {
|
|
174
|
-
a &&
|
|
174
|
+
a && D(e), W(n, a);
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
177
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as f, init as u, safe_not_equal as c, svg_element as d, attr as i, insert as h, noop as p, detach as m } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as f, init as u, safe_not_equal as c, svg_element as d, attr as i, insert as h, noop as p, detach as m } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { pathD as s } from "../../utils/formatPosition.js";
|
|
3
3
|
function l(n) {
|
|
4
4
|
let t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as _, init as w, safe_not_equal as y, svg_element as l, space as k, attr as t, insert as h, append as d, noop as c, detach as m } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as _, init as w, safe_not_equal as y, svg_element as l, space as k, attr as t, insert as h, append as d, noop as c, detach as m } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { pathD as M } from "../../utils/formatPosition.js";
|
|
3
3
|
function v(n) {
|
|
4
4
|
let i, e, p, a, f, o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as S, init as c, safe_not_equal as x, svg_element as o, space as U, attr as t, insert as s, append as w, noop as y, detach as m } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as S, init as c, safe_not_equal as x, svg_element as o, space as U, attr as t, insert as s, append as w, noop as y, detach as m } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { pathD as D } from "../../utils/formatPosition.js";
|
|
3
3
|
function O(f) {
|
|
4
4
|
let n, i, l, r, p, _, d, k, h, B, u;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as N, init as O, safe_not_equal as P, append_styles as S, element as h, space as R, attr as d, toggle_class as x, set_style as j, insert as D, append as c, update_keyed_each as X,
|
|
1
|
+
import { SvelteComponent as N, init as O, safe_not_equal as P, append_styles as S, element as h, space as R, attr as d, toggle_class as x, set_style as j, insert as D, append as c, update_keyed_each as X, noop as T, detach as z, destroy_each as Y, text as A, set_data as B, destroy_block as E } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
function F(s) {
|
|
3
3
|
S(s, "svelte-djlmk4", ".floorplan-plugin__rule-labels.svelte-djlmk4.svelte-djlmk4{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-djlmk4.svelte-djlmk4{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4.svelte-djlmk4{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4.svelte-djlmk4{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4.svelte-djlmk4{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-djlmk4.svelte-djlmk4{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale-wrapper.svelte-djlmk4{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-djlmk4.svelte-djlmk4{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale.svelte-djlmk4{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute}.floorplan-plugin__rule-labels--top.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-djlmk4.svelte-djlmk4{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-text-item.svelte-djlmk4{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-djlmk4.svelte-djlmk4{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
|
|
4
4
|
}
|
|
@@ -31,13 +31,13 @@ function I(s, e) {
|
|
|
31
31
|
key: s,
|
|
32
32
|
first: null,
|
|
33
33
|
c() {
|
|
34
|
-
n = h("div"), i = h("div"), u =
|
|
34
|
+
n = h("div"), i = h("div"), u = A(f), m = R(), d(i, "class", "floorplan-plugin__rule-text svelte-djlmk4"), x(i, "is-row", e[2]), d(n, "class", "floorplan-plugin__rule-text-item svelte-djlmk4"), j(n, "left", e[11].left * 100 + "%", !1), j(n, "bottom", e[11].bottom * 100 + "%", !1), this.first = n;
|
|
35
35
|
},
|
|
36
36
|
m(r, _) {
|
|
37
37
|
D(r, n, _), c(n, i), c(i, u), c(n, m);
|
|
38
38
|
},
|
|
39
39
|
p(r, _) {
|
|
40
|
-
e = r, _ & 2 && f !== (f = e[1](e[11].distance) + "") &&
|
|
40
|
+
e = r, _ & 2 && f !== (f = e[1](e[11].distance) + "") && B(u, f);
|
|
41
41
|
},
|
|
42
42
|
d(r) {
|
|
43
43
|
r && z(n);
|
|
@@ -84,12 +84,12 @@ function G(s) {
|
|
|
84
84
|
a[t].d(1);
|
|
85
85
|
a.length = p.length;
|
|
86
86
|
}
|
|
87
|
-
o & 22 && (v = l[4], r = X(r, o, w, 1, l, v, _, m,
|
|
87
|
+
o & 22 && (v = l[4], r = X(r, o, w, 1, l, v, _, m, E, I, null, q)), o & 1 && g !== (g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + l[0] + " svelte-djlmk4") && d(e, "class", g), o & 5 && x(e, "is-row", l[2]);
|
|
88
88
|
},
|
|
89
89
|
i: T,
|
|
90
90
|
o: T,
|
|
91
91
|
d(l) {
|
|
92
|
-
l && z(e),
|
|
92
|
+
l && z(e), Y(a, l);
|
|
93
93
|
for (let o = 0; o < r.length; o += 1)
|
|
94
94
|
r[o].d();
|
|
95
95
|
}
|