@realsee/dnalogel 2.2.5 → 2.2.7
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/assets/main.js +1 -1
- 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/CSS3DRenderPlugin/CSS3DRender.js +39 -33
- package/libs/CSS3DRenderPlugin/Controller.js +30 -22
- package/libs/CSS3DRenderPlugin/index.js +12 -3
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +2 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
- package/libs/CameraMovementPlugin/index.js +13 -0
- package/libs/CruisePlugin/Controller.js +52 -41
- package/libs/CruisePlugin/index.js +26 -3
- package/libs/CruisePlugin/typing.js +1 -0
- package/libs/GuideLinePlugin/Controller.js +14 -9
- package/libs/GuideLinePlugin/index.js +14 -3
- package/libs/GuideLinePlugin/typing.js +1 -0
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
- package/libs/ItemLabelPlugin/Plugin.js +33 -23
- package/libs/ItemLabelPlugin/events.type.js +1 -0
- package/libs/ItemLabelPlugin/index.js +16 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +3 -2
- package/libs/ModelChassisCompassPlugin/index.js +8 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +52 -44
- package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
- package/libs/ModelItemLabelPlugin/index.js +12 -2
- package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
- package/libs/ModelRoomLabelPlugin/index.js +10 -3
- package/libs/ModelRoomLabelPlugin/typings.js +1 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +35 -25
- package/libs/ModelTVVideoPlugin/index.js +17 -0
- package/libs/ModelViewPlugin/Plugin.js +2 -1
- package/libs/ModelViewPlugin/index.js +6 -0
- package/libs/Object3DHelperPlugin/Controller.js +48 -27
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
- package/libs/Object3DHelperPlugin/index.js +40 -3
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoCompassPlugin/Controller.js +25 -13
- package/libs/PanoCompassPlugin/index.js +23 -3
- package/libs/PanoCompassPlugin/typings.js +1 -0
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
- package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
- package/libs/PanoDoorLabelPlugin/index.js +12 -2
- package/libs/PanoDoorLabelPlugin/typings.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +56 -5
- package/libs/PanoRulerPlugin/Plugin.js +22 -17
- package/libs/PanoRulerPlugin/index.js +9 -0
- package/libs/PanoRulerPlugin/style.js +1 -1
- package/libs/PanoRulerPlugin/typings.js +1 -0
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
- package/libs/PanoRulerProPlugin/index.js +16 -3
- package/libs/PanoRulerProPlugin/typings.js +1 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -42
- package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +74 -62
- package/libs/PanoSpatialTagPlugin/index.js +20 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
- package/libs/PanoTagPlugin/Components/Common/Media.js +92 -100
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +13 -15
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +26 -28
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +12 -13
- package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +24 -32
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -83
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +48 -59
- package/libs/PanoTagPlugin/Components/Tag/index.js +75 -104
- package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
- package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
- package/libs/PanoTagPlugin/controller/index.js +2 -2
- package/libs/PanoTagPlugin/index.js +82 -3
- package/libs/PanoTagPlugin/tag.config.js +2 -1
- package/libs/floorplan/Components/BaseImage.js +7 -7
- package/libs/floorplan/Components/Camera.js +24 -24
- package/libs/floorplan/Components/Compass.js +3 -3
- package/libs/floorplan/Components/CurrentFloor.js +47 -56
- package/libs/floorplan/Components/Main.js +80 -99
- package/libs/floorplan/Components/Normalmage.js +5 -5
- package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +32 -32
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +54 -54
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +15 -15
- package/libs/floorplan/Components/SvgImage.js +12 -12
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
- package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +38 -38
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +71 -80
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/typings/index.js +1 -0
- package/libs/index.js +34 -34
- 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 +17 -18
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
|
@@ -1,25 +1,16 @@
|
|
|
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
|
|
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, group_outros as w, transition_out as h, check_outros as A, detach as O, destroy_component as T } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { writable as P } from "../../vendor/svelte/store/index.js";
|
|
3
|
-
import Q from "./BaseImage.js";
|
|
4
|
-
import U from "./RoomLabels/RoomLabels.js";
|
|
5
|
-
import W from "./RuleLabels/RuleLabels.js";
|
|
6
|
-
import X from "./RoomMaterials/RoomMaterial.js";
|
|
7
|
-
import Y from "./RoomHighlight/RoomHighlight.js";
|
|
8
|
-
import "./Normalmage.js";
|
|
9
|
-
import "./SvgImage.js";
|
|
10
|
-
import "./RoomLabels/RoomLabel.js";
|
|
11
|
-
import "./RuleLabels/RuleItem.js";
|
|
12
|
-
import "../utils/formatPosition.js";
|
|
13
|
-
import "./RoomMaterials/RoomMaterial_0.js";
|
|
14
|
-
import "./RoomMaterials/RoomMaterial_1.js";
|
|
15
|
-
import "./RoomMaterials/RoomMaterial_2.js";
|
|
16
|
-
import "./RoomHighlight/Room.js";
|
|
3
|
+
import { BaseImage as Q } from "./BaseImage.js";
|
|
4
|
+
import { RoomLabels as U } from "./RoomLabels/RoomLabels.js";
|
|
5
|
+
import { RuleLabels as W } from "./RuleLabels/RuleLabels.js";
|
|
6
|
+
import { RoomMaterial as X } from "./RoomMaterials/RoomMaterial.js";
|
|
7
|
+
import { RoomHighlight as Y } from "./RoomHighlight/RoomHighlight.js";
|
|
17
8
|
function Z(n) {
|
|
18
9
|
J(n, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
|
|
19
10
|
}
|
|
20
11
|
function q(n) {
|
|
21
12
|
let l, o;
|
|
22
|
-
const
|
|
13
|
+
const m = [
|
|
23
14
|
{
|
|
24
15
|
floorIndex: n[1],
|
|
25
16
|
floorplanData: n[5],
|
|
@@ -27,8 +18,8 @@ function q(n) {
|
|
|
27
18
|
}
|
|
28
19
|
];
|
|
29
20
|
let i = {};
|
|
30
|
-
for (let e = 0; e <
|
|
31
|
-
i = v(i,
|
|
21
|
+
for (let e = 0; e < m.length; e += 1)
|
|
22
|
+
i = v(i, m[e]);
|
|
32
23
|
return l = new Y({ props: i }), {
|
|
33
24
|
c() {
|
|
34
25
|
L(l.$$.fragment);
|
|
@@ -37,7 +28,7 @@ function q(n) {
|
|
|
37
28
|
D(l, e, u), o = !0;
|
|
38
29
|
},
|
|
39
30
|
p(e, u) {
|
|
40
|
-
const g = u & 1058 ? I(
|
|
31
|
+
const g = u & 1058 ? I(m, [
|
|
41
32
|
{
|
|
42
33
|
floorIndex: e[1],
|
|
43
34
|
floorplanData: e[5],
|
|
@@ -50,7 +41,7 @@ function q(n) {
|
|
|
50
41
|
o || (b(l.$$.fragment, e), o = !0);
|
|
51
42
|
},
|
|
52
43
|
o(e) {
|
|
53
|
-
|
|
44
|
+
h(l.$$.fragment, e), o = !1;
|
|
54
45
|
},
|
|
55
46
|
d(e) {
|
|
56
47
|
T(l, e);
|
|
@@ -59,7 +50,7 @@ function q(n) {
|
|
|
59
50
|
}
|
|
60
51
|
function B(n) {
|
|
61
52
|
let l, o;
|
|
62
|
-
const
|
|
53
|
+
const m = [
|
|
63
54
|
{
|
|
64
55
|
floorplanData: n[5],
|
|
65
56
|
floorIndex: n[1],
|
|
@@ -70,8 +61,8 @@ function B(n) {
|
|
|
70
61
|
}
|
|
71
62
|
];
|
|
72
63
|
let i = {};
|
|
73
|
-
for (let e = 0; e <
|
|
74
|
-
i = v(i,
|
|
64
|
+
for (let e = 0; e < m.length; e += 1)
|
|
65
|
+
i = v(i, m[e]);
|
|
75
66
|
return l = new U({ props: i }), {
|
|
76
67
|
c() {
|
|
77
68
|
L(l.$$.fragment);
|
|
@@ -80,7 +71,7 @@ function B(n) {
|
|
|
80
71
|
D(l, e, u), o = !0;
|
|
81
72
|
},
|
|
82
73
|
p(e, u) {
|
|
83
|
-
const g = u & 1762 ? I(
|
|
74
|
+
const g = u & 1762 ? I(m, [
|
|
84
75
|
{
|
|
85
76
|
floorplanData: e[5],
|
|
86
77
|
floorIndex: e[1],
|
|
@@ -96,7 +87,7 @@ function B(n) {
|
|
|
96
87
|
o || (b(l.$$.fragment, e), o = !0);
|
|
97
88
|
},
|
|
98
89
|
o(e) {
|
|
99
|
-
|
|
90
|
+
h(l.$$.fragment, e), o = !1;
|
|
100
91
|
},
|
|
101
92
|
d(e) {
|
|
102
93
|
T(l, e);
|
|
@@ -105,7 +96,7 @@ function B(n) {
|
|
|
105
96
|
}
|
|
106
97
|
function F(n) {
|
|
107
98
|
let l, o;
|
|
108
|
-
const
|
|
99
|
+
const m = [
|
|
109
100
|
{
|
|
110
101
|
floorplanData: n[5],
|
|
111
102
|
floorIndex: n[1],
|
|
@@ -113,8 +104,8 @@ function F(n) {
|
|
|
113
104
|
}
|
|
114
105
|
];
|
|
115
106
|
let i = {};
|
|
116
|
-
for (let e = 0; e <
|
|
117
|
-
i = v(i,
|
|
107
|
+
for (let e = 0; e < m.length; e += 1)
|
|
108
|
+
i = v(i, m[e]);
|
|
118
109
|
return l = new W({ props: i }), {
|
|
119
110
|
c() {
|
|
120
111
|
L(l.$$.fragment);
|
|
@@ -123,7 +114,7 @@ function F(n) {
|
|
|
123
114
|
D(l, e, u), o = !0;
|
|
124
115
|
},
|
|
125
116
|
p(e, u) {
|
|
126
|
-
const g = u & 290 ? I(
|
|
117
|
+
const g = u & 290 ? I(m, [
|
|
127
118
|
{
|
|
128
119
|
floorplanData: e[5],
|
|
129
120
|
floorIndex: e[1],
|
|
@@ -136,7 +127,7 @@ function F(n) {
|
|
|
136
127
|
o || (b(l.$$.fragment, e), o = !0);
|
|
137
128
|
},
|
|
138
129
|
o(e) {
|
|
139
|
-
|
|
130
|
+
h(l.$$.fragment, e), o = !1;
|
|
140
131
|
},
|
|
141
132
|
d(e) {
|
|
142
133
|
T(l, e);
|
|
@@ -144,7 +135,7 @@ function F(n) {
|
|
|
144
135
|
};
|
|
145
136
|
}
|
|
146
137
|
function y(n) {
|
|
147
|
-
let l, o,
|
|
138
|
+
let l, o, m, i, e, u, g, d, p;
|
|
148
139
|
const c = [
|
|
149
140
|
{
|
|
150
141
|
floorIndex: n[1],
|
|
@@ -155,24 +146,24 @@ function y(n) {
|
|
|
155
146
|
for (let t = 0; t < c.length; t += 1)
|
|
156
147
|
R = v(R, c[t]);
|
|
157
148
|
o = new X({ props: R });
|
|
158
|
-
let
|
|
149
|
+
let r = n[2] && q(n);
|
|
159
150
|
const E = [
|
|
160
151
|
{
|
|
161
152
|
floorplanData: n[5],
|
|
162
153
|
floorIndex: n[1]
|
|
163
154
|
}
|
|
164
155
|
];
|
|
165
|
-
let
|
|
156
|
+
let a = {};
|
|
166
157
|
for (let t = 0; t < E.length; t += 1)
|
|
167
|
-
|
|
168
|
-
e = new Q({ props:
|
|
169
|
-
let f = n[3] && B(n),
|
|
158
|
+
a = v(a, E[t]);
|
|
159
|
+
e = new Q({ props: a });
|
|
160
|
+
let f = n[3] && B(n), s = n[4] && F(n);
|
|
170
161
|
return {
|
|
171
162
|
c() {
|
|
172
|
-
l = K("div"), L(o.$$.fragment),
|
|
163
|
+
l = K("div"), L(o.$$.fragment), m = z(), r && r.c(), i = z(), L(e.$$.fragment), u = z(), f && f.c(), g = z(), s && s.c(), C(l, "class", d = V(`floorplan-plugin__floor${n[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz");
|
|
173
164
|
},
|
|
174
165
|
m(t, _) {
|
|
175
|
-
N(t, l, _), D(o, l, null), k(l,
|
|
166
|
+
N(t, l, _), D(o, l, null), k(l, m), r && r.m(l, null), k(l, i), D(e, l, null), k(l, u), f && f.m(l, null), k(l, g), s && s.m(l, null), p = !0;
|
|
176
167
|
},
|
|
177
168
|
p(t, [_]) {
|
|
178
169
|
const H = _ & 34 ? I(c, [
|
|
@@ -181,52 +172,52 @@ function y(n) {
|
|
|
181
172
|
floorplanData: t[5]
|
|
182
173
|
}
|
|
183
174
|
]) : {};
|
|
184
|
-
o.$set(H), t[2] ?
|
|
185
|
-
|
|
186
|
-
}),
|
|
175
|
+
o.$set(H), t[2] ? r ? (r.p(t, _), _ & 4 && b(r, 1)) : (r = q(t), r.c(), b(r, 1), r.m(l, i)) : r && (w(), h(r, 1, 1, () => {
|
|
176
|
+
r = null;
|
|
177
|
+
}), A());
|
|
187
178
|
const M = _ & 34 ? I(E, [
|
|
188
179
|
{
|
|
189
180
|
floorplanData: t[5],
|
|
190
181
|
floorIndex: t[1]
|
|
191
182
|
}
|
|
192
183
|
]) : {};
|
|
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 && (
|
|
184
|
+
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 && (w(), h(f, 1, 1, () => {
|
|
194
185
|
f = null;
|
|
195
|
-
}),
|
|
196
|
-
|
|
197
|
-
}),
|
|
186
|
+
}), A()), t[4] ? s ? (s.p(t, _), _ & 16 && b(s, 1)) : (s = F(t), s.c(), b(s, 1), s.m(l, null)) : s && (w(), h(s, 1, 1, () => {
|
|
187
|
+
s = null;
|
|
188
|
+
}), A()), (!p || _ & 1 && d !== (d = V(`floorplan-plugin__floor${t[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && C(l, "class", d);
|
|
198
189
|
},
|
|
199
190
|
i(t) {
|
|
200
|
-
|
|
191
|
+
p || (b(o.$$.fragment, t), b(r), b(e.$$.fragment, t), b(f), b(s), p = !0);
|
|
201
192
|
},
|
|
202
193
|
o(t) {
|
|
203
|
-
|
|
194
|
+
h(o.$$.fragment, t), h(r), h(e.$$.fragment, t), h(f), h(s), p = !1;
|
|
204
195
|
},
|
|
205
196
|
d(t) {
|
|
206
|
-
t && O(l), T(o),
|
|
197
|
+
t && O(l), T(o), r && r.d(), T(e), f && f.d(), s && s.d();
|
|
207
198
|
}
|
|
208
199
|
};
|
|
209
200
|
}
|
|
210
201
|
function x(n, l, o) {
|
|
211
|
-
let { isCurrent:
|
|
202
|
+
let { isCurrent: m } = l, { floorIndex: i } = l, { hoverEnable: e } = l, { roomLabelsEnable: u } = l, { ruleLabelsEnable: g } = l, { floorplanData: d } = l, { getRoomAreaText: p } = l, { getLabelElement: c } = l, { getRuleDistanceText: R } = l, { adaptiveRoomLabelVisibleEnable: r } = l;
|
|
212
203
|
const E = P(void 0);
|
|
213
|
-
return n.$$set = (
|
|
214
|
-
"isCurrent" in
|
|
204
|
+
return n.$$set = (a) => {
|
|
205
|
+
"isCurrent" in a && o(0, m = a.isCurrent), "floorIndex" in a && o(1, i = a.floorIndex), "hoverEnable" in a && o(2, e = a.hoverEnable), "roomLabelsEnable" in a && o(3, u = a.roomLabelsEnable), "ruleLabelsEnable" in a && o(4, g = a.ruleLabelsEnable), "floorplanData" in a && o(5, d = a.floorplanData), "getRoomAreaText" in a && o(6, p = a.getRoomAreaText), "getLabelElement" in a && o(7, c = a.getLabelElement), "getRuleDistanceText" in a && o(8, R = a.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in a && o(9, r = a.adaptiveRoomLabelVisibleEnable);
|
|
215
206
|
}, [
|
|
216
|
-
|
|
207
|
+
m,
|
|
217
208
|
i,
|
|
218
209
|
e,
|
|
219
210
|
u,
|
|
220
211
|
g,
|
|
221
212
|
d,
|
|
222
|
-
|
|
213
|
+
p,
|
|
223
214
|
c,
|
|
224
215
|
R,
|
|
225
|
-
|
|
216
|
+
r,
|
|
226
217
|
E
|
|
227
218
|
];
|
|
228
219
|
}
|
|
229
|
-
class
|
|
220
|
+
class re extends S {
|
|
230
221
|
constructor(l) {
|
|
231
222
|
super(), j(
|
|
232
223
|
this,
|
|
@@ -251,5 +242,5 @@ class pe extends S {
|
|
|
251
242
|
}
|
|
252
243
|
}
|
|
253
244
|
export {
|
|
254
|
-
|
|
245
|
+
re as CurrentFloor
|
|
255
246
|
};
|
|
@@ -1,53 +1,34 @@
|
|
|
1
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
2
|
import { fade as Y } from "../../vendor/svelte/transition/index.js";
|
|
3
|
-
import Z from "./Camera.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import "../../shared-utils/math/rad2Deg.js";
|
|
9
|
-
import "../Assets/compass.js";
|
|
10
|
-
import "../../vendor/svelte/store/index.js";
|
|
11
|
-
import "./BaseImage.js";
|
|
12
|
-
import "./Normalmage.js";
|
|
13
|
-
import "./SvgImage.js";
|
|
14
|
-
import "./RoomLabels/RoomLabels.js";
|
|
15
|
-
import "./RoomLabels/RoomLabel.js";
|
|
16
|
-
import "./RuleLabels/RuleLabels.js";
|
|
17
|
-
import "./RuleLabels/RuleItem.js";
|
|
18
|
-
import "./RoomMaterials/RoomMaterial.js";
|
|
19
|
-
import "../utils/formatPosition.js";
|
|
20
|
-
import "./RoomMaterials/RoomMaterial_0.js";
|
|
21
|
-
import "./RoomMaterials/RoomMaterial_1.js";
|
|
22
|
-
import "./RoomMaterials/RoomMaterial_2.js";
|
|
23
|
-
import "./RoomHighlight/RoomHighlight.js";
|
|
24
|
-
import "./RoomHighlight/Room.js";
|
|
25
|
-
function x(a) {
|
|
26
|
-
G(a, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
|
|
3
|
+
import { Camera as Z } from "./Camera.js";
|
|
4
|
+
import { Compass as y } from "./Compass.js";
|
|
5
|
+
import { CurrentFloor as x } from "./CurrentFloor.js";
|
|
6
|
+
function p(n) {
|
|
7
|
+
G(n, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
|
|
27
8
|
}
|
|
28
|
-
function U(
|
|
29
|
-
const l =
|
|
9
|
+
function U(n, e, t) {
|
|
10
|
+
const l = n.slice();
|
|
30
11
|
return l[16] = e[t], l;
|
|
31
12
|
}
|
|
32
|
-
function V(
|
|
33
|
-
let e, t, l, i,
|
|
13
|
+
function V(n) {
|
|
14
|
+
let e, t, l, i, a, b, c = n[9].floorDatas, f = [];
|
|
34
15
|
for (let r = 0; r < c.length; r += 1)
|
|
35
|
-
f[r] = q(U(
|
|
16
|
+
f[r] = q(U(n, c, r));
|
|
36
17
|
const D = (r) => _(f[r], 1, 1, () => {
|
|
37
18
|
f[r] = null;
|
|
38
19
|
}), h = [
|
|
39
20
|
{
|
|
40
|
-
panoIndex:
|
|
41
|
-
floorplanData:
|
|
42
|
-
lastPanoramaLongitude:
|
|
43
|
-
cameraImageUrl:
|
|
21
|
+
panoIndex: n[3],
|
|
22
|
+
floorplanData: n[9],
|
|
23
|
+
lastPanoramaLongitude: n[10],
|
|
24
|
+
cameraImageUrl: n[11]
|
|
44
25
|
}
|
|
45
26
|
];
|
|
46
27
|
let E = {};
|
|
47
28
|
for (let r = 0; r < h.length; r += 1)
|
|
48
29
|
E = M(E, h[r]);
|
|
49
30
|
l = new Z({ props: E });
|
|
50
|
-
let m =
|
|
31
|
+
let m = n[6] && w(n);
|
|
51
32
|
return {
|
|
52
33
|
c() {
|
|
53
34
|
e = J("div");
|
|
@@ -62,11 +43,11 @@ function V(a) {
|
|
|
62
43
|
P(e, t), T(l, e, null), P(e, i), m && m.m(e, null), b = !0;
|
|
63
44
|
},
|
|
64
45
|
p(r, s) {
|
|
65
|
-
if (
|
|
66
|
-
c =
|
|
46
|
+
if (n = r, s & 62384) {
|
|
47
|
+
c = n[9].floorDatas;
|
|
67
48
|
let u;
|
|
68
49
|
for (u = 0; u < c.length; u += 1) {
|
|
69
|
-
const L = U(
|
|
50
|
+
const L = U(n, c, u);
|
|
70
51
|
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));
|
|
71
52
|
}
|
|
72
53
|
for (R(), u = c.length; u < f.length; u += 1)
|
|
@@ -75,13 +56,13 @@ function V(a) {
|
|
|
75
56
|
}
|
|
76
57
|
const d = s & 3592 ? N(h, [
|
|
77
58
|
{
|
|
78
|
-
panoIndex:
|
|
79
|
-
floorplanData:
|
|
80
|
-
lastPanoramaLongitude:
|
|
81
|
-
cameraImageUrl:
|
|
59
|
+
panoIndex: n[3],
|
|
60
|
+
floorplanData: n[9],
|
|
61
|
+
lastPanoramaLongitude: n[10],
|
|
62
|
+
cameraImageUrl: n[11]
|
|
82
63
|
}
|
|
83
64
|
]) : {};
|
|
84
|
-
l.$set(d),
|
|
65
|
+
l.$set(d), n[6] ? m ? (m.p(n, s), s & 64 && g(m, 1)) : (m = w(n), m.c(), g(m, 1), m.m(e, null)) : m && (R(), _(m, 1, 1, () => {
|
|
85
66
|
m = null;
|
|
86
67
|
}), I());
|
|
87
68
|
},
|
|
@@ -89,11 +70,11 @@ function V(a) {
|
|
|
89
70
|
if (!b) {
|
|
90
71
|
for (let s = 0; s < c.length; s += 1)
|
|
91
72
|
g(f[s]);
|
|
92
|
-
g(l.$$.fragment, r), g(m),
|
|
93
|
-
|
|
94
|
-
duration:
|
|
73
|
+
g(l.$$.fragment, r), g(m), a || O(() => {
|
|
74
|
+
a = Q(e, Y, {
|
|
75
|
+
duration: n[0],
|
|
95
76
|
easing: W
|
|
96
|
-
}),
|
|
77
|
+
}), a.start();
|
|
97
78
|
}), b = !0;
|
|
98
79
|
}
|
|
99
80
|
},
|
|
@@ -108,74 +89,74 @@ function V(a) {
|
|
|
108
89
|
}
|
|
109
90
|
};
|
|
110
91
|
}
|
|
111
|
-
function q(
|
|
92
|
+
function q(n) {
|
|
112
93
|
let e, t;
|
|
113
94
|
const l = [
|
|
114
95
|
{
|
|
115
|
-
hoverEnable:
|
|
116
|
-
floorplanData:
|
|
117
|
-
getRoomAreaText:
|
|
118
|
-
getLabelElement:
|
|
119
|
-
getRuleDistanceText:
|
|
120
|
-
roomLabelsEnable:
|
|
121
|
-
ruleLabelsEnable:
|
|
122
|
-
adaptiveRoomLabelVisibleEnable:
|
|
96
|
+
hoverEnable: n[5],
|
|
97
|
+
floorplanData: n[9],
|
|
98
|
+
getRoomAreaText: n[12],
|
|
99
|
+
getLabelElement: n[13],
|
|
100
|
+
getRuleDistanceText: n[14],
|
|
101
|
+
roomLabelsEnable: n[7],
|
|
102
|
+
ruleLabelsEnable: n[8],
|
|
103
|
+
adaptiveRoomLabelVisibleEnable: n[15]
|
|
123
104
|
},
|
|
124
105
|
{
|
|
125
|
-
floorIndex:
|
|
106
|
+
floorIndex: n[16].floorIndex
|
|
126
107
|
},
|
|
127
108
|
{
|
|
128
|
-
isCurrent:
|
|
109
|
+
isCurrent: n[16].floorIndex === n[4]
|
|
129
110
|
}
|
|
130
111
|
];
|
|
131
112
|
let i = {};
|
|
132
|
-
for (let
|
|
133
|
-
i = M(i, l[
|
|
134
|
-
return e = new
|
|
113
|
+
for (let a = 0; a < l.length; a += 1)
|
|
114
|
+
i = M(i, l[a]);
|
|
115
|
+
return e = new x({ props: i }), {
|
|
135
116
|
c() {
|
|
136
117
|
v(e.$$.fragment);
|
|
137
118
|
},
|
|
138
|
-
m(
|
|
139
|
-
T(e,
|
|
119
|
+
m(a, b) {
|
|
120
|
+
T(e, a, b), t = !0;
|
|
140
121
|
},
|
|
141
|
-
p(
|
|
122
|
+
p(a, b) {
|
|
142
123
|
const c = b & 62384 ? N(l, [
|
|
143
124
|
b & 62368 && {
|
|
144
|
-
hoverEnable:
|
|
145
|
-
floorplanData:
|
|
146
|
-
getRoomAreaText:
|
|
147
|
-
getLabelElement:
|
|
148
|
-
getRuleDistanceText:
|
|
149
|
-
roomLabelsEnable:
|
|
150
|
-
ruleLabelsEnable:
|
|
151
|
-
adaptiveRoomLabelVisibleEnable:
|
|
125
|
+
hoverEnable: a[5],
|
|
126
|
+
floorplanData: a[9],
|
|
127
|
+
getRoomAreaText: a[12],
|
|
128
|
+
getLabelElement: a[13],
|
|
129
|
+
getRuleDistanceText: a[14],
|
|
130
|
+
roomLabelsEnable: a[7],
|
|
131
|
+
ruleLabelsEnable: a[8],
|
|
132
|
+
adaptiveRoomLabelVisibleEnable: a[15]
|
|
152
133
|
},
|
|
153
134
|
b & 512 && {
|
|
154
|
-
floorIndex:
|
|
135
|
+
floorIndex: a[16].floorIndex
|
|
155
136
|
},
|
|
156
137
|
b & 528 && {
|
|
157
|
-
isCurrent:
|
|
138
|
+
isCurrent: a[16].floorIndex === a[4]
|
|
158
139
|
}
|
|
159
140
|
]) : {};
|
|
160
141
|
e.$set(c);
|
|
161
142
|
},
|
|
162
|
-
i(
|
|
163
|
-
t || (g(e.$$.fragment,
|
|
143
|
+
i(a) {
|
|
144
|
+
t || (g(e.$$.fragment, a), t = !0);
|
|
164
145
|
},
|
|
165
|
-
o(
|
|
166
|
-
_(e.$$.fragment,
|
|
146
|
+
o(a) {
|
|
147
|
+
_(e.$$.fragment, a), t = !1;
|
|
167
148
|
},
|
|
168
|
-
d(
|
|
169
|
-
k(e,
|
|
149
|
+
d(a) {
|
|
150
|
+
k(e, a);
|
|
170
151
|
}
|
|
171
152
|
};
|
|
172
153
|
}
|
|
173
|
-
function w(
|
|
154
|
+
function w(n) {
|
|
174
155
|
let e, t;
|
|
175
|
-
return e = new
|
|
156
|
+
return e = new y({
|
|
176
157
|
props: {
|
|
177
|
-
floorplanData:
|
|
178
|
-
northDesc:
|
|
158
|
+
floorplanData: n[9],
|
|
159
|
+
northDesc: n[2]
|
|
179
160
|
}
|
|
180
161
|
}), {
|
|
181
162
|
c() {
|
|
@@ -185,8 +166,8 @@ function w(a) {
|
|
|
185
166
|
T(e, l, i), t = !0;
|
|
186
167
|
},
|
|
187
168
|
p(l, i) {
|
|
188
|
-
const
|
|
189
|
-
i & 512 && (
|
|
169
|
+
const a = {};
|
|
170
|
+
i & 512 && (a.floorplanData = l[9]), i & 4 && (a.northDesc = l[2]), e.$set(a);
|
|
190
171
|
},
|
|
191
172
|
i(l) {
|
|
192
173
|
t || (g(e.$$.fragment, l), t = !0);
|
|
@@ -199,17 +180,17 @@ function w(a) {
|
|
|
199
180
|
}
|
|
200
181
|
};
|
|
201
182
|
}
|
|
202
|
-
function $(
|
|
203
|
-
let e, t, l =
|
|
183
|
+
function $(n) {
|
|
184
|
+
let e, t, l = n[1] && V(n);
|
|
204
185
|
return {
|
|
205
186
|
c() {
|
|
206
187
|
l && l.c(), e = H();
|
|
207
188
|
},
|
|
208
|
-
m(i,
|
|
209
|
-
l && l.m(i,
|
|
189
|
+
m(i, a) {
|
|
190
|
+
l && l.m(i, a), B(i, e, a), t = !0;
|
|
210
191
|
},
|
|
211
|
-
p(i, [
|
|
212
|
-
i[1] ? l ? (l.p(i,
|
|
192
|
+
p(i, [a]) {
|
|
193
|
+
i[1] ? l ? (l.p(i, a), a & 2 && g(l, 1)) : (l = V(i), l.c(), g(l, 1), l.m(e.parentNode, e)) : l && (R(), _(l, 1, 1, () => {
|
|
213
194
|
l = null;
|
|
214
195
|
}), I());
|
|
215
196
|
},
|
|
@@ -224,14 +205,14 @@ function $(a) {
|
|
|
224
205
|
}
|
|
225
206
|
};
|
|
226
207
|
}
|
|
227
|
-
function ee(
|
|
228
|
-
let { duration: l = 0 } = e, { visible: i } = e, { northDesc:
|
|
229
|
-
return
|
|
230
|
-
"duration" in o && t(0, l = o.duration), "visible" in o && t(1, i = o.visible), "northDesc" in o && t(2,
|
|
208
|
+
function ee(n, e, t) {
|
|
209
|
+
let { duration: l = 0 } = e, { visible: i } = e, { northDesc: a } = e, { panoIndex: b } = e, { floorIndex: c } = e, { hoverEnable: f } = e, { compassEnable: D } = e, { roomLabelsEnable: h } = e, { ruleLabelsEnable: E } = e, { floorplanData: m } = e, { lastPanoramaLongitude: r } = e, { cameraImageUrl: s } = e, { getRoomAreaText: d } = e, { getLabelElement: u } = e, { getRuleDistanceText: L } = e, { adaptiveRoomLabelVisibleEnable: A } = e;
|
|
210
|
+
return n.$$set = (o) => {
|
|
211
|
+
"duration" in o && t(0, l = o.duration), "visible" in o && t(1, i = o.visible), "northDesc" in o && t(2, a = o.northDesc), "panoIndex" in o && t(3, b = o.panoIndex), "floorIndex" in o && t(4, c = o.floorIndex), "hoverEnable" in o && t(5, f = o.hoverEnable), "compassEnable" in o && t(6, D = o.compassEnable), "roomLabelsEnable" in o && t(7, h = o.roomLabelsEnable), "ruleLabelsEnable" in o && t(8, E = o.ruleLabelsEnable), "floorplanData" in o && t(9, m = o.floorplanData), "lastPanoramaLongitude" in o && t(10, r = o.lastPanoramaLongitude), "cameraImageUrl" in o && t(11, s = o.cameraImageUrl), "getRoomAreaText" in o && t(12, d = o.getRoomAreaText), "getLabelElement" in o && t(13, u = o.getLabelElement), "getRuleDistanceText" in o && t(14, L = o.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in o && t(15, A = o.adaptiveRoomLabelVisibleEnable);
|
|
231
212
|
}, [
|
|
232
213
|
l,
|
|
233
214
|
i,
|
|
234
|
-
|
|
215
|
+
a,
|
|
235
216
|
b,
|
|
236
217
|
c,
|
|
237
218
|
f,
|
|
@@ -247,7 +228,7 @@ function ee(a, e, t) {
|
|
|
247
228
|
A
|
|
248
229
|
];
|
|
249
230
|
}
|
|
250
|
-
class
|
|
231
|
+
class re extends S {
|
|
251
232
|
constructor(e) {
|
|
252
233
|
super(), j(
|
|
253
234
|
this,
|
|
@@ -273,10 +254,10 @@ class ke extends S {
|
|
|
273
254
|
getRuleDistanceText: 14,
|
|
274
255
|
adaptiveRoomLabelVisibleEnable: 15
|
|
275
256
|
},
|
|
276
|
-
|
|
257
|
+
p
|
|
277
258
|
);
|
|
278
259
|
}
|
|
279
260
|
}
|
|
280
261
|
export {
|
|
281
|
-
|
|
262
|
+
re as Main
|
|
282
263
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
1
|
+
import { SvelteComponent as a, 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 o, 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
|
}
|
|
@@ -14,8 +14,8 @@ function p(n) {
|
|
|
14
14
|
p(t, [i]) {
|
|
15
15
|
i & 1 && !l(e.src, r = t[0]) && s(e, "src", r);
|
|
16
16
|
},
|
|
17
|
-
i:
|
|
18
|
-
o
|
|
17
|
+
i: o,
|
|
18
|
+
o,
|
|
19
19
|
d(t) {
|
|
20
20
|
t && _(e);
|
|
21
21
|
}
|
|
@@ -27,11 +27,11 @@ function h(n, e, r) {
|
|
|
27
27
|
"url" in i && r(0, t = i.url);
|
|
28
28
|
}, [t];
|
|
29
29
|
}
|
|
30
|
-
class z extends
|
|
30
|
+
class z extends a {
|
|
31
31
|
constructor(e) {
|
|
32
32
|
super(), c(this, e, h, p, u, { url: 0 }, d);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
export {
|
|
36
|
-
z as
|
|
36
|
+
z as Normalmage
|
|
37
37
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
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
|
-
function q(
|
|
4
|
-
_(
|
|
3
|
+
function q(o) {
|
|
4
|
+
_(o, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
5
5
|
}
|
|
6
|
-
function C(
|
|
6
|
+
function C(o) {
|
|
7
7
|
let e, n, a;
|
|
8
8
|
return {
|
|
9
9
|
c() {
|
|
10
|
-
e = D("path"), r(e, "d",
|
|
10
|
+
e = D("path"), r(e, "d", o[2]), r(e, "fill", "#fff"), r(e, "class", "svelte-19uvvss");
|
|
11
11
|
},
|
|
12
12
|
m(s, l) {
|
|
13
13
|
R(s, e, l), n || (a = [
|
|
14
|
-
i(e, "mouseenter",
|
|
15
|
-
i(e, "mouseleave",
|
|
14
|
+
i(e, "mouseenter", o[0]),
|
|
15
|
+
i(e, "mouseleave", o[1])
|
|
16
16
|
], n = !0);
|
|
17
17
|
},
|
|
18
18
|
p: f,
|
|
@@ -23,7 +23,7 @@ function C(t) {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
function E(
|
|
26
|
+
function E(o, e, n) {
|
|
27
27
|
let { room: a } = e, { floorplanData: s } = e, { hoveredRoom: l } = e;
|
|
28
28
|
function u() {
|
|
29
29
|
l.set(a);
|
|
@@ -33,10 +33,10 @@ function E(t, e, n) {
|
|
|
33
33
|
}
|
|
34
34
|
const { bounding: v } = s, c = M(a.path, {
|
|
35
35
|
needZ: !0,
|
|
36
|
-
format: (
|
|
36
|
+
format: (t) => b(t, v)
|
|
37
37
|
});
|
|
38
|
-
return
|
|
39
|
-
"room" in
|
|
38
|
+
return o.$$set = (t) => {
|
|
39
|
+
"room" in t && n(3, a = t.room), "floorplanData" in t && n(4, s = t.floorplanData), "hoveredRoom" in t && n(5, l = t.hoveredRoom);
|
|
40
40
|
}, [u, m, c, a, s, l];
|
|
41
41
|
}
|
|
42
42
|
class P extends d {
|
|
@@ -57,5 +57,5 @@ class P extends d {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
export {
|
|
60
|
-
P as
|
|
60
|
+
P as Room
|
|
61
61
|
};
|