@realsee/dnalogel 2.2.3 → 2.2.5-alpha.0
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/CSS3DRenderPlugin/CSS3DRender.d.ts +47 -34
- package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +12 -0
- package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +25 -11
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/dist/index.cjs.js +63 -58
- package/dist/index.js +5827 -5094
- package/dist/index.umd.js +51 -46
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/docs/assets/highlight.css +7 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +533 -0
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -5
- package/docs/functions/CameraMovementPlugin.html +6 -5
- package/docs/functions/CruisePlugin.html +6 -5
- package/docs/functions/GuideLinePlugin.html +7 -6
- package/docs/functions/ItemLabelPlugin.html +6 -5
- package/docs/functions/MapviewFloorplanPlugin.html +6 -5
- package/docs/functions/ModelChassisCompassPlugin.html +6 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
- package/docs/functions/ModelFloorplanPlugin.html +6 -5
- package/docs/functions/ModelItemLabelPlugin.html +6 -5
- package/docs/functions/ModelRoomLabelPlugin.html +6 -5
- package/docs/functions/ModelTVVideoPlugin.html +6 -5
- package/docs/functions/ModelViewPlugin.html +6 -5
- package/docs/functions/Object3DHelperPlugin.html +6 -5
- package/docs/functions/PanoCompassPlugin.html +6 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
- package/docs/functions/PanoDoorLabelPlugin.html +6 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
- package/docs/functions/PanoMeasurePlugin.html +6 -5
- package/docs/functions/PanoRulerPlugin.html +6 -5
- package/docs/functions/PanoRulerProPlugin.html +6 -5
- package/docs/functions/PanoSpatialTagPlugin.html +6 -5
- package/docs/functions/PanoTagPlugin.html +6 -5
- package/docs/functions/TopviewFloorplanPlugin.html +6 -5
- 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 +7 -6
- package/docs/index.html +6 -5
- 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 +7 -6
- 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 +7 -6
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
- 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 +7 -6
- package/docs/interfaces/Rooms.html +7 -6
- 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 +7 -5
- package/docs/types/ArrayPosition.html +7 -6
- package/docs/types/CSS3DRenderExportType.html +8 -7
- package/docs/types/CSS3DRenderPluginExportType.html +7 -6
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
- package/docs/types/Color.html +7 -6
- package/docs/types/ContentTypeConfigKey.html +7 -6
- package/docs/types/ContentTypeConfigKeyArray.html +7 -6
- package/docs/types/Create3DDomContainerReturnType.html +7 -6
- package/docs/types/Create3DElementReturnType.html +8 -7
- package/docs/types/CruisePluginExportType.html +7 -6
- package/docs/types/Direction-1.html +7 -6
- package/docs/types/Direction4.html +7 -6
- package/docs/types/FloorplanRuleLabels.html +7 -6
- package/docs/types/FloorplanServerRuleLabels.html +7 -6
- package/docs/types/GuideLinePluginExportType.html +7 -6
- package/docs/types/HelperEventMap.html +7 -6
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
- package/docs/types/MediaData.html +7 -6
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
- package/docs/types/MoveArgs.html +7 -6
- package/docs/types/MoveOpts.html +7 -6
- package/docs/types/Object3DHelperEventMap.html +7 -6
- package/docs/types/ObjectFit.html +7 -6
- package/docs/types/PaintBrushEventMap.html +7 -6
- package/docs/types/PanoCompassPluginData.html +7 -6
- package/docs/types/PanoCompassPluginExportType.html +7 -6
- package/docs/types/PanoCompassPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
- package/docs/types/PanoMeasurePluginEvent.html +7 -6
- package/docs/types/PanoMeasureReturnType.html +7 -6
- package/docs/types/PanoSpatialTagPluginId.html +7 -6
- package/docs/types/PanoTagPluginExportInterface.html +7 -6
- package/docs/types/PanoTagPluginParamsInterface.html +7 -6
- package/docs/types/PlaneTag.html +7 -6
- package/docs/types/PointTag.html +7 -6
- package/docs/types/Position.html +7 -6
- package/docs/types/RotateArgs.html +7 -6
- package/docs/types/RotateOpts.html +7 -6
- package/docs/types/RuleLabelsKey.html +7 -6
- package/docs/types/RuleLabelsValue.html +7 -6
- package/docs/types/Tag.html +7 -6
- package/docs/types/Tag2D.html +7 -6
- package/docs/types/Tag3D.html +7 -6
- package/docs/types/TagId.html +7 -6
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
- package/docs/variables/PLUGIN.html +7 -6
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
- package/docs/variables/ROOM_TYPE_MAP.html +7 -6
- package/docs/variables/VERSION.html +7 -6
- package/docs/variables/itemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +47 -34
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +187 -251
- package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +48 -57
- package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/index.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
- package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +12 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +39 -0
- package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +25 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +93 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
- package/libs/CruisePlugin/Controller.js +16 -16
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +13 -14
- package/libs/ItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ItemLabelPlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +11 -12
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelItemLabelPlugin/index.js +3 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +17 -18
- package/libs/ModelTVVideoPlugin/index.js +2 -1
- package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/libs/Object3DHelperPlugin/Controller.js +89 -74
- package/libs/PanoDoorLabelPlugin/Controller.js +72 -73
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
- package/libs/PanoRulerProPlugin/RulerItems.js +18 -19
- package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -41
- package/libs/PanoSpatialTagPlugin/Components/tag.js +8 -9
- package/libs/PanoSpatialTagPlugin/index.js +3 -4
- 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 +75 -76
- 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 +11 -11
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +15 -15
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +9 -9
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +14 -13
- 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 +18 -19
- 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 +52 -81
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +10 -11
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +32 -33
- package/libs/PanoTagPlugin/Components/Tag/index.js +39 -40
- package/libs/PanoTagPlugin/Components/TagContainer.js +12 -13
- package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -10
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +4 -4
- package/libs/floorplan/Components/Camera.js +23 -23
- package/libs/floorplan/Components/Compass.js +2 -2
- 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 +37 -38
- 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 +53 -53
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +8 -8
- package/libs/floorplan/Components/SvgImage.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +5 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +27 -27
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +34 -35
- package/libs/floorplan/index.js +1 -5
- package/libs/index.js +110 -102
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/three/index.js +2 -1
- package/libs/vendor/svelte/easing/index.js +12 -0
- package/libs/vendor/svelte/index.js +1 -0
- package/libs/vendor/svelte/internal/index.js +641 -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 +15 -15
- package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
- package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as
|
|
1
|
+
import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as c, attr as d, set_style as a, insert as U, append as A, noop as f, 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
|
-
function S(
|
|
5
|
-
P(
|
|
4
|
+
function S(t) {
|
|
5
|
+
P(t, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
|
|
6
6
|
}
|
|
7
|
-
function w(
|
|
8
|
-
let
|
|
7
|
+
function w(t) {
|
|
8
|
+
let o, e;
|
|
9
9
|
return {
|
|
10
10
|
c() {
|
|
11
|
-
|
|
11
|
+
o = c("div"), e = c("div"), d(e, "class", "floorplan__camera-rotate svelte-17cl35n"), a(e, "background-image", `url(${t[0] || g})`), a(e, "width", t[4]), a(e, "height", t[4]), a(e, "left", "-" + t[4]), a(e, "top", "-" + t[4]), a(e, "transform", `rotate(${t[3]}deg)`), a(e, "transform-origin", `${t[4]} ${t[4]}`), d(o, "class", "floorplan__camera-position svelte-17cl35n"), a(o, "left", t[1]), a(o, "top", t[2]);
|
|
12
12
|
},
|
|
13
|
-
m(n,
|
|
14
|
-
U(n,
|
|
13
|
+
m(n, l) {
|
|
14
|
+
U(n, o, l), A(o, e);
|
|
15
15
|
},
|
|
16
|
-
p(n, [
|
|
17
|
-
|
|
16
|
+
p(n, [l]) {
|
|
17
|
+
l & 1 && a(e, "background-image", `url(${n[0] || g})`);
|
|
18
18
|
},
|
|
19
|
-
i:
|
|
20
|
-
o:
|
|
19
|
+
i: f,
|
|
20
|
+
o: f,
|
|
21
21
|
d(n) {
|
|
22
|
-
n && C(
|
|
22
|
+
n && C(o);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
function E(
|
|
27
|
-
let { panoIndex: n } =
|
|
28
|
-
const { observers: u } =
|
|
29
|
-
return
|
|
30
|
-
"panoIndex" in
|
|
26
|
+
function E(t, o, e) {
|
|
27
|
+
let { panoIndex: n } = o, { floorplanData: l } = o, { lastPanoramaLongitude: r } = o, { cameraImageUrl: s } = o;
|
|
28
|
+
const { observers: u } = l, m = u[n], p = m.positionInImage.x, _ = m.positionInImage.y, I = p * 100 + "%", b = _ * 100 + "%", h = -R(r) + 45, v = document.body.clientWidth, y = document.body.clientHeight, D = `${(v < 500 || y < 500 ? 17 : 37) / 16}rem`;
|
|
29
|
+
return t.$$set = (i) => {
|
|
30
|
+
"panoIndex" in i && e(5, n = i.panoIndex), "floorplanData" in i && e(6, l = i.floorplanData), "lastPanoramaLongitude" in i && e(7, r = i.lastPanoramaLongitude), "cameraImageUrl" in i && e(0, s = i.cameraImageUrl);
|
|
31
31
|
}, [
|
|
32
|
-
|
|
32
|
+
s,
|
|
33
33
|
I,
|
|
34
34
|
b,
|
|
35
35
|
h,
|
|
36
36
|
D,
|
|
37
37
|
n,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
l,
|
|
39
|
+
r
|
|
40
40
|
];
|
|
41
41
|
}
|
|
42
42
|
class G extends L {
|
|
43
|
-
constructor(
|
|
43
|
+
constructor(o) {
|
|
44
44
|
super(), k(
|
|
45
45
|
this,
|
|
46
|
-
|
|
46
|
+
o,
|
|
47
47
|
E,
|
|
48
48
|
w,
|
|
49
49
|
z,
|
|
@@ -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
|
|
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 c, space as w, text as S, attr as f, 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}");
|
|
@@ -7,7 +7,7 @@ function z(a) {
|
|
|
7
7
|
let t, e, o, n, r;
|
|
8
8
|
return {
|
|
9
9
|
c() {
|
|
10
|
-
t =
|
|
10
|
+
t = c("div"), e = c("div"), o = w(), n = c("span"), r = S(a[0]), f(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), _(e, "background-image", `url(${x})`), f(n, "class", "floorplan-plugin__compass-text svelte-rpkaro"), f(t, "class", "floorplan-plugin__compass svelte-rpkaro"), _(t, "transform", a[2]);
|
|
11
11
|
},
|
|
12
12
|
m(s, l) {
|
|
13
13
|
d(s, t, l), p(t, e), p(t, o), p(t, n), p(n, r);
|
|
@@ -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);
|
|
@@ -20,41 +19,41 @@ function se(i) {
|
|
|
20
19
|
}
|
|
21
20
|
};
|
|
22
21
|
}
|
|
23
|
-
function
|
|
24
|
-
let e, n = i[0].name + "", l, t, o,
|
|
22
|
+
function ce(i) {
|
|
23
|
+
let e, n = i[0].name + "", l, t, o, a;
|
|
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"), a = V(i[5]), C(e, "class", "floorplan-plugin__room-name"), C(o, "class", "floorplan-plugin__room-size svelte-12pzct5");
|
|
28
27
|
},
|
|
29
|
-
m(
|
|
30
|
-
p(
|
|
28
|
+
m(f, c) {
|
|
29
|
+
p(f, e, c), A(e, l), p(f, t, c), p(f, o, c), A(o, a);
|
|
31
30
|
},
|
|
32
|
-
p(
|
|
33
|
-
|
|
31
|
+
p(f, c) {
|
|
32
|
+
c & 1 && n !== (n = f[0].name + "") && j(l, n), c & 32 && j(a, f[5]);
|
|
34
33
|
},
|
|
35
|
-
d(
|
|
36
|
-
|
|
34
|
+
d(f) {
|
|
35
|
+
f && g(e), f && g(t), f && g(o);
|
|
37
36
|
}
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
|
-
function
|
|
39
|
+
function fe(i) {
|
|
41
40
|
let e;
|
|
42
|
-
function n(o,
|
|
41
|
+
function n(o, a) {
|
|
43
42
|
if (o[1] === void 0)
|
|
44
|
-
return
|
|
43
|
+
return ce;
|
|
45
44
|
if (o[4])
|
|
46
45
|
return se;
|
|
47
46
|
}
|
|
48
47
|
let l = n(i), t = l && l(i);
|
|
49
48
|
return {
|
|
50
49
|
c() {
|
|
51
|
-
e = k("div"), t && t.c(), C(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), _(e, "left", i[6]
|
|
50
|
+
e = k("div"), t && t.c(), C(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), _(e, "left", i[6]), _(e, "top", i[7]), _(e, "font-size", i[8]), _(e, "opacity", i[3] ? "1" : "0");
|
|
52
51
|
},
|
|
53
|
-
m(o,
|
|
54
|
-
p(o, e,
|
|
52
|
+
m(o, a) {
|
|
53
|
+
p(o, e, a), t && t.m(e, null), i[16](e);
|
|
55
54
|
},
|
|
56
|
-
p(o, [
|
|
57
|
-
l === (l = n(o)) && t ? t.p(o,
|
|
55
|
+
p(o, [a]) {
|
|
56
|
+
l === (l = n(o)) && t ? t.p(o, a) : (t && t.d(1), t = l && l(o), t && (t.c(), t.m(e, null))), a & 8 && _(e, "opacity", o[3] ? "1" : "0");
|
|
58
57
|
},
|
|
59
58
|
i: E,
|
|
60
59
|
o: E,
|
|
@@ -63,17 +62,17 @@ function ae(i) {
|
|
|
63
62
|
}
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
|
-
function
|
|
65
|
+
function ae(i, e) {
|
|
67
66
|
const n = i[0], l = i[1];
|
|
68
67
|
let t = !1;
|
|
69
|
-
for (let o = 0,
|
|
70
|
-
const
|
|
71
|
-
|
|
68
|
+
for (let o = 0, a = e.length - 1; o < e.length; a = o++) {
|
|
69
|
+
const f = e[o][0], c = e[o][1], h = e[a][0], r = e[a][1];
|
|
70
|
+
c > l != r > l && n < (h - f) * (l - c) / (r - c) + f && (t = !t);
|
|
72
71
|
}
|
|
73
72
|
return t;
|
|
74
73
|
}
|
|
75
74
|
function re(i, e, n) {
|
|
76
|
-
let l, t, o,
|
|
75
|
+
let l, t, o, a, { pxmm: f } = e, { room: c } = e, { hoveredRoom: h } = e, { getRoomAreaText: r } = e, { getLabelElement: m } = e, { adaptiveRoomLabelVisibleEnable: v } = e;
|
|
77
76
|
function M(s, b) {
|
|
78
77
|
if (b.width === 0 || b.height === 0)
|
|
79
78
|
return () => !1;
|
|
@@ -85,14 +84,14 @@ function re(i, e, n) {
|
|
|
85
84
|
[z - R, w - L],
|
|
86
85
|
[z - R, w + L],
|
|
87
86
|
[z + R, w + L]
|
|
88
|
-
].every((T) =>
|
|
87
|
+
].every((T) => ae(T, K));
|
|
89
88
|
};
|
|
90
89
|
}
|
|
91
|
-
const W = document.body.clientWidth, x = document.body.clientHeight, I =
|
|
90
|
+
const W = document.body.clientWidth, x = document.body.clientHeight, I = c.roomLabel, D = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", q = (W < 500 || x < 500 ? 10 : 14) / 16 + "rem";
|
|
92
91
|
let H = !1, u, y;
|
|
93
92
|
h.subscribe(function(b) {
|
|
94
|
-
n(13, H = !!b && b.id ===
|
|
95
|
-
}),
|
|
93
|
+
n(13, H = !!b && b.id === c.id);
|
|
94
|
+
}), ee(() => {
|
|
96
95
|
const s = u == null ? void 0 : u.getClientRects()[0];
|
|
97
96
|
n(14, y = {
|
|
98
97
|
width: s.width,
|
|
@@ -100,25 +99,25 @@ 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
|
}
|
|
107
106
|
return i.$$set = (s) => {
|
|
108
|
-
"pxmm" in s && n(9,
|
|
107
|
+
"pxmm" in s && n(9, f = s.pxmm), "room" in s && n(0, c = s.room), "hoveredRoom" in s && n(10, h = s.hoveredRoom), "getRoomAreaText" in s && n(11, r = s.getRoomAreaText), "getLabelElement" in s && n(1, m = s.getLabelElement), "adaptiveRoomLabelVisibleEnable" in s && n(12, v = s.adaptiveRoomLabelVisibleEnable);
|
|
109
108
|
}, i.$$.update = () => {
|
|
110
|
-
i.$$.dirty & 2049 && n(5, l =
|
|
109
|
+
i.$$.dirty & 2049 && n(5, l = c.size ? r(c.size) : ""), i.$$.dirty & 16385 && n(15, t = y ? M(c, y) : void 0), i.$$.dirty & 3 && n(4, o = m == null ? void 0 : m(c)), i.$$.dirty & 45568 && n(3, a = v ? H ? !0 : !!(t != null && t(f)) : !0);
|
|
111
110
|
}, [
|
|
112
|
-
|
|
111
|
+
c,
|
|
113
112
|
m,
|
|
114
113
|
u,
|
|
115
|
-
|
|
114
|
+
a,
|
|
116
115
|
o,
|
|
117
116
|
l,
|
|
118
117
|
D,
|
|
119
118
|
S,
|
|
120
119
|
q,
|
|
121
|
-
|
|
120
|
+
f,
|
|
122
121
|
h,
|
|
123
122
|
r,
|
|
124
123
|
v,
|
|
@@ -128,13 +127,13 @@ 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,
|
|
135
134
|
e,
|
|
136
135
|
re,
|
|
137
|
-
|
|
136
|
+
fe,
|
|
138
137
|
Z,
|
|
139
138
|
{
|
|
140
139
|
pxmm: 9,
|
|
@@ -149,5 +148,5 @@ class de extends O {
|
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
150
|
export {
|
|
152
|
-
|
|
151
|
+
be as default
|
|
153
152
|
};
|