@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,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,20 +1,20 @@
|
|
|
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,
|
|
2
|
-
function F(
|
|
3
|
-
S(
|
|
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
|
+
function F(r) {
|
|
3
|
+
S(r, "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
|
}
|
|
5
|
-
function q(
|
|
6
|
-
const i =
|
|
5
|
+
function q(r, e, n) {
|
|
6
|
+
const i = r.slice();
|
|
7
7
|
return i[11] = e[n], i[13] = n, i;
|
|
8
8
|
}
|
|
9
|
-
function C(
|
|
10
|
-
const i =
|
|
9
|
+
function C(r, e, n) {
|
|
10
|
+
const i = r.slice();
|
|
11
11
|
return i[14] = e[n], i;
|
|
12
12
|
}
|
|
13
|
-
function H(
|
|
13
|
+
function H(r) {
|
|
14
14
|
let e;
|
|
15
15
|
return {
|
|
16
16
|
c() {
|
|
17
|
-
e = h("div"), d(e, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), j(e, "left",
|
|
17
|
+
e = h("div"), d(e, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), j(e, "left", r[14].left * 100 + "%"), j(e, "bottom", r[14].bottom * 100 + "%");
|
|
18
18
|
},
|
|
19
19
|
m(n, i) {
|
|
20
20
|
D(n, e, i);
|
|
@@ -25,91 +25,91 @@ function H(s) {
|
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
function I(
|
|
29
|
-
let n, i,
|
|
28
|
+
function I(r, e) {
|
|
29
|
+
let n, i, p = e[1](e[11].distance) + "", u, m;
|
|
30
30
|
return {
|
|
31
|
-
key:
|
|
31
|
+
key: r,
|
|
32
32
|
first: null,
|
|
33
33
|
c() {
|
|
34
|
-
n = h("div"), i = h("div"), u =
|
|
34
|
+
n = h("div"), i = h("div"), u = A(p), 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 + "%"), j(n, "bottom", e[11].bottom * 100 + "%"), this.first = n;
|
|
35
35
|
},
|
|
36
|
-
m(
|
|
37
|
-
D(
|
|
36
|
+
m(s, _) {
|
|
37
|
+
D(s, n, _), c(n, i), c(i, u), c(n, m);
|
|
38
38
|
},
|
|
39
|
-
p(
|
|
40
|
-
e =
|
|
39
|
+
p(s, _) {
|
|
40
|
+
e = s, _ & 2 && p !== (p = e[1](e[11].distance) + "") && B(u, p);
|
|
41
41
|
},
|
|
42
|
-
d(
|
|
43
|
-
|
|
42
|
+
d(s) {
|
|
43
|
+
s && z(n);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function G(
|
|
48
|
-
let e, n, i,
|
|
49
|
-
for (let l = 0; l <
|
|
50
|
-
a[l] = H(C(
|
|
51
|
-
let v =
|
|
47
|
+
function G(r) {
|
|
48
|
+
let e, n, i, p, u, m, s = [], _ = /* @__PURE__ */ new Map(), g, f = r[3], a = [];
|
|
49
|
+
for (let l = 0; l < f.length; l += 1)
|
|
50
|
+
a[l] = H(C(r, f, l));
|
|
51
|
+
let v = r[4];
|
|
52
52
|
const w = (l) => l[13];
|
|
53
53
|
for (let l = 0; l < v.length; l += 1) {
|
|
54
|
-
let o = q(
|
|
55
|
-
_.set(t,
|
|
54
|
+
let o = q(r, v, l), t = w(o);
|
|
55
|
+
_.set(t, s[l] = I(t, o));
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
58
|
c() {
|
|
59
|
-
e = h("div"), n = h("div"), i = R(),
|
|
59
|
+
e = h("div"), n = h("div"), i = R(), p = h("div");
|
|
60
60
|
for (let l = 0; l < a.length; l += 1)
|
|
61
61
|
a[l].c();
|
|
62
62
|
u = R(), m = h("div");
|
|
63
|
-
for (let l = 0; l <
|
|
64
|
-
|
|
65
|
-
d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(
|
|
63
|
+
for (let l = 0; l < s.length; l += 1)
|
|
64
|
+
s[l].c();
|
|
65
|
+
d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(p, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), x(p, "is-row", r[2]), d(m, "class", "floorplan-plugin__rule-text-wrapper svelte-djlmk4"), d(e, "class", g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + r[0] + " svelte-djlmk4"), x(e, "is-row", r[2]), j(e, "width", r[2] ? "100%" : 1 / 16 + "rem"), j(e, "height", r[2] ? 1 / 16 + "rem" : "100%");
|
|
66
66
|
},
|
|
67
67
|
m(l, o) {
|
|
68
|
-
D(l, e, o), c(e, n), c(e, i), c(e,
|
|
68
|
+
D(l, e, o), c(e, n), c(e, i), c(e, p);
|
|
69
69
|
for (let t = 0; t < a.length; t += 1)
|
|
70
|
-
a[t].m(
|
|
70
|
+
a[t].m(p, null);
|
|
71
71
|
c(e, u), c(e, m);
|
|
72
|
-
for (let t = 0; t <
|
|
73
|
-
|
|
72
|
+
for (let t = 0; t < s.length; t += 1)
|
|
73
|
+
s[t].m(m, null);
|
|
74
74
|
},
|
|
75
75
|
p(l, [o]) {
|
|
76
76
|
if (o & 8) {
|
|
77
|
-
|
|
77
|
+
f = l[3];
|
|
78
78
|
let t;
|
|
79
|
-
for (t = 0; t <
|
|
80
|
-
const y = C(l,
|
|
81
|
-
a[t] ? a[t].p(y, o) : (a[t] = H(y), a[t].c(), a[t].m(
|
|
79
|
+
for (t = 0; t < f.length; t += 1) {
|
|
80
|
+
const y = C(l, f, t);
|
|
81
|
+
a[t] ? a[t].p(y, o) : (a[t] = H(y), a[t].c(), a[t].m(p, null));
|
|
82
82
|
}
|
|
83
83
|
for (; t < a.length; t += 1)
|
|
84
84
|
a[t].d(1);
|
|
85
|
-
a.length =
|
|
85
|
+
a.length = f.length;
|
|
86
86
|
}
|
|
87
|
-
o & 22 && (v = l[4],
|
|
87
|
+
o & 22 && (v = l[4], s = X(s, 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),
|
|
93
|
-
for (let o = 0; o <
|
|
94
|
-
|
|
92
|
+
l && z(e), Y(a, l);
|
|
93
|
+
for (let o = 0; o < s.length; o += 1)
|
|
94
|
+
s[o].d();
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
98
|
const k = 1e3, b = 180;
|
|
99
|
-
function J(
|
|
100
|
-
let { type: i } = e, { data:
|
|
101
|
-
const
|
|
102
|
-
const o =
|
|
99
|
+
function J(r, e, n) {
|
|
100
|
+
let { type: i } = e, { data: p } = e, { bounding: u } = e, { getRuleDistanceText: m } = e;
|
|
101
|
+
const s = i === "top" || i === "bottom", _ = u.max.x - u.min.x - (k - b) * 2, g = u.max.y - u.min.y - (k - b) * 2, f = p.map(([l, o]) => s ? [l.x, o.x] : [l.y, o.y]).flat().sort().filter((l, o, t) => o === 0 ? !0 : l !== t[o - 1]), a = f.map((l) => {
|
|
102
|
+
const o = s ? (l - u.min.x - k + b) / _ : 0, t = s ? 0 : (l - u.min.y - k + b) / g;
|
|
103
103
|
return { left: o, bottom: t };
|
|
104
104
|
});
|
|
105
|
-
a.unshift({ left: 0, bottom: 0 }), a.push(
|
|
106
|
-
const v =
|
|
107
|
-
const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L =
|
|
105
|
+
a.unshift({ left: 0, bottom: 0 }), a.push(s ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
|
|
106
|
+
const v = f[f.length - 1] - f[0], w = f.map((l, o, t) => {
|
|
107
|
+
const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L = s ? (W - u.min.x - k + b) / _ : 0, M = s ? 0 : (W - u.min.y - k + b) / g;
|
|
108
108
|
return { left: L, bottom: M, distance: y };
|
|
109
109
|
}).filter(({ distance: l }) => l / v > 0.1);
|
|
110
|
-
return
|
|
111
|
-
"type" in l && n(0, i = l.type), "data" in l && n(5,
|
|
112
|
-
}, [i, m,
|
|
110
|
+
return r.$$set = (l) => {
|
|
111
|
+
"type" in l && n(0, i = l.type), "data" in l && n(5, p = l.data), "bounding" in l && n(6, u = l.bounding), "getRuleDistanceText" in l && n(1, m = l.getRuleDistanceText);
|
|
112
|
+
}, [i, m, s, a, w, p, u];
|
|
113
113
|
}
|
|
114
114
|
class Q extends N {
|
|
115
115
|
constructor(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as I, init as j, safe_not_equal as L, append_styles as z, element as W, attr as H, set_style as _, insert as k,
|
|
1
|
+
import { SvelteComponent as I, init as j, safe_not_equal as L, append_styles as z, element as W, attr as H, set_style as _, insert as k, update_keyed_each as O, check_outros as q, transition_in as R, transition_out as w, detach as T, assign as A, empty as C, create_component as K, mount_component as M, get_spread_update as S, destroy_component as B, group_outros as E, outro_and_destroy_block as F } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import G from "./RuleItem.js";
|
|
3
3
|
function J(o) {
|
|
4
4
|
z(o, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
|
|
@@ -19,19 +19,19 @@ function b(o, l) {
|
|
|
19
19
|
];
|
|
20
20
|
let s = {};
|
|
21
21
|
for (let e = 0; e < a.length; e += 1)
|
|
22
|
-
s =
|
|
22
|
+
s = A(s, a[e]);
|
|
23
23
|
return r = new G({ props: s }), {
|
|
24
24
|
key: o,
|
|
25
25
|
first: null,
|
|
26
26
|
c() {
|
|
27
|
-
t =
|
|
27
|
+
t = C(), K(r.$$.fragment), this.first = t;
|
|
28
28
|
},
|
|
29
29
|
m(e, n) {
|
|
30
|
-
k(e, t, n),
|
|
30
|
+
k(e, t, n), M(r, e, n), i = !0;
|
|
31
31
|
},
|
|
32
32
|
p(e, n) {
|
|
33
33
|
l = e;
|
|
34
|
-
const u = n & 19 ?
|
|
34
|
+
const u = n & 19 ? S(a, [
|
|
35
35
|
{
|
|
36
36
|
type: l[13],
|
|
37
37
|
data: l[14],
|
|
@@ -48,7 +48,7 @@ function b(o, l) {
|
|
|
48
48
|
w(r.$$.fragment, e), i = !1;
|
|
49
49
|
},
|
|
50
50
|
d(e) {
|
|
51
|
-
e && T(t),
|
|
51
|
+
e && T(t), B(r, e);
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -64,7 +64,7 @@ function N(o) {
|
|
|
64
64
|
l = W("div");
|
|
65
65
|
for (let e = 0; e < t.length; e += 1)
|
|
66
66
|
t[e].c();
|
|
67
|
-
H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(l, "width", o[3]
|
|
67
|
+
H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(l, "width", o[3]), _(l, "height", o[2]);
|
|
68
68
|
},
|
|
69
69
|
m(e, n) {
|
|
70
70
|
k(e, l, n);
|
|
@@ -73,7 +73,7 @@ function N(o) {
|
|
|
73
73
|
i = !0;
|
|
74
74
|
},
|
|
75
75
|
p(e, [n]) {
|
|
76
|
-
n & 19 && (a = e[4],
|
|
76
|
+
n & 19 && (a = e[4], E(), t = O(t, n, s, 1, e, a, r, l, F, b, null, y), q()), n & 8 && _(l, "width", e[3]), n & 4 && _(l, "height", e[2]);
|
|
77
77
|
},
|
|
78
78
|
i(e) {
|
|
79
79
|
if (!i) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as p, init as r, safe_not_equal as g, append_styles as c, element as u,
|
|
1
|
+
import { SvelteComponent as p, init as r, safe_not_equal as g, append_styles as c, element as u, space as m, attr as _, insert as d, append as v, noop as o, detach as y, HtmlTag as i } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
function h(n) {
|
|
3
3
|
c(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
4
4
|
}
|
|
@@ -6,7 +6,7 @@ function b(n) {
|
|
|
6
6
|
let e, f, l, a;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
e = u("div"), f = new
|
|
9
|
+
e = u("div"), f = new i(!1), l = m(), a = new i(!1), f.a = l, a.a = null, _(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
10
10
|
},
|
|
11
11
|
m(t, s) {
|
|
12
12
|
d(t, e, s), f.m(n[1], e), v(e, l), a.m(n[0], e);
|
|
@@ -14,8 +14,8 @@ function b(n) {
|
|
|
14
14
|
p(t, [s]) {
|
|
15
15
|
s & 1 && a.p(t[0]);
|
|
16
16
|
},
|
|
17
|
-
i,
|
|
18
|
-
o
|
|
17
|
+
i: o,
|
|
18
|
+
o,
|
|
19
19
|
d(t) {
|
|
20
20
|
t && y(e);
|
|
21
21
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as w, init as y, safe_not_equal as k, append_styles as T, element as p, attr as g, set_style as l, insert as W, append as x, noop as I, detach as P } from "svelte/internal";
|
|
2
|
-
import { onMount as S } from "svelte";
|
|
1
|
+
import { SvelteComponent as w, init as y, safe_not_equal as k, append_styles as T, element as p, attr as g, set_style as l, insert as W, append as x, noop as I, detach as P, onMount as S } from "../../../vendor/svelte/internal/index.js";
|
|
3
2
|
import { CAMERA_IMAGE as b } from "../../Assets/camera.js";
|
|
4
3
|
import { throttle as E } from "../../../shared-utils/throttle.js";
|
|
5
4
|
function F(n) {
|
|
@@ -9,13 +8,13 @@ function R(n) {
|
|
|
9
8
|
let a, t, o;
|
|
10
9
|
return {
|
|
11
10
|
c() {
|
|
12
|
-
a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1]
|
|
11
|
+
a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1]), g(t, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(t, "transform", n[2]), g(a, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
|
|
13
12
|
},
|
|
14
13
|
m(i, r) {
|
|
15
14
|
W(i, a, r), x(a, t), x(t, o);
|
|
16
15
|
},
|
|
17
16
|
p(i, [r]) {
|
|
18
|
-
r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1]
|
|
17
|
+
r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1]), r & 4 && l(t, "transform", i[2]);
|
|
19
18
|
},
|
|
20
19
|
i: I,
|
|
21
20
|
o: I,
|
|
@@ -62,7 +61,7 @@ function G(n, a, t) {
|
|
|
62
61
|
d
|
|
63
62
|
];
|
|
64
63
|
}
|
|
65
|
-
class
|
|
64
|
+
class B extends w {
|
|
66
65
|
constructor(a) {
|
|
67
66
|
super(), y(
|
|
68
67
|
this,
|
|
@@ -81,5 +80,5 @@ class J extends w {
|
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
82
|
export {
|
|
84
|
-
|
|
83
|
+
B as default
|
|
85
84
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as E, init as O, safe_not_equal as C, assign as D, create_component as c, space as j, empty as H, mount_component as p, insert as h, get_spread_update as k, transition_in as g,
|
|
1
|
+
import { SvelteComponent as E, init as O, safe_not_equal as C, assign as D, create_component as c, space as j, empty as H, mount_component as p, insert as h, get_spread_update as k, transition_in as g, transition_out as _, check_outros as R, destroy_component as d, detach as b, group_outros as w } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import F from "./ExtraObjects.js";
|
|
3
3
|
import q from "../../../Components/BaseImage.js";
|
|
4
4
|
import B from "../../../Components/RoomHighlight/RoomHighlight.js";
|
|
@@ -83,9 +83,9 @@ function N(f) {
|
|
|
83
83
|
]) : {};
|
|
84
84
|
n.$set(v);
|
|
85
85
|
const I = {};
|
|
86
|
-
o & 32 && (I.extraObjects = e[5]), i.$set(I), e[3] ? r ? (r.p(e, o), o & 8 && g(r, 1)) : (r = x(e), r.c(), g(r, 1), r.m(t.parentNode, t)) : r && (
|
|
86
|
+
o & 32 && (I.extraObjects = e[5]), i.$set(I), e[3] ? r ? (r.p(e, o), o & 8 && g(r, 1)) : (r = x(e), r.c(), g(r, 1), r.m(t.parentNode, t)) : r && (w(), _(r, 1, 1, () => {
|
|
87
87
|
r = null;
|
|
88
|
-
}),
|
|
88
|
+
}), R());
|
|
89
89
|
},
|
|
90
90
|
i(e) {
|
|
91
91
|
a || (g(n.$$.fragment, e), g(i.$$.fragment, e), g(r), a = !0);
|