@realsee/dnalogel 2.2.6 → 2.3.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 +48 -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 +25 -0
- package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -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 +46 -46
- package/dist/index.js +4987 -4817
- package/dist/index.umd.js +39 -39
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/docs/assets/highlight.css +7 -0
- package/docs/assets/main.js +1 -1
- 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 +48 -34
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +198 -251
- package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +63 -58
- package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/index.js +21 -3
- 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 +25 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +53 -0
- package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +115 -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/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
- package/libs/CameraMovementPlugin/index.js +13 -0
- package/libs/CruisePlugin/Controller.js +65 -54
- 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/Plugin.js +33 -23
- package/libs/ItemLabelPlugin/events.type.js +1 -0
- package/libs/ItemLabelPlugin/index.js +16 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +2 -1
- package/libs/ModelChassisCompassPlugin/index.js +8 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +44 -39
- package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
- package/libs/ModelItemLabelPlugin/index.js +12 -2
- package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
- package/libs/ModelRoomLabelPlugin/index.js +10 -3
- package/libs/ModelRoomLabelPlugin/typings.js +1 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +80 -62
- package/libs/ModelTVVideoPlugin/index.js +25 -0
- package/libs/ModelViewPlugin/Plugin.js +2 -1
- package/libs/ModelViewPlugin/index.js +6 -0
- package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/libs/Object3DHelperPlugin/Controller.js +114 -73
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
- package/libs/Object3DHelperPlugin/index.js +48 -3
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoCompassPlugin/Controller.js +60 -40
- package/libs/PanoCompassPlugin/index.js +31 -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/index.js +16 -3
- package/libs/PanoRulerProPlugin/typings.js +1 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
- package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +91 -71
- package/libs/PanoSpatialTagPlugin/index.js +28 -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 +47 -55
- 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 +5 -7
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +21 -23
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
- package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +19 -27
- 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 +3 -5
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +54 -65
- package/libs/PanoTagPlugin/Components/Tag/index.js +74 -103
- 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 +90 -3
- package/libs/PanoTagPlugin/tag.config.js +2 -1
- package/libs/floorplan/Components/BaseImage.js +7 -7
- package/libs/floorplan/Components/Camera.js +10 -10
- package/libs/floorplan/Components/Compass.js +1 -1
- 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 +1 -1
- 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 +6 -6
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +14 -14
- 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 +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
- 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 +123 -114
- 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/package.json +31 -30
- 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
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
|
@@ -9,15 +9,15 @@ var F = (t, e, i) => e in t ? N(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
P.call(e, i) && F(t, i, e[i]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { SvelteComponent as T, init as U, safe_not_equal as j, append_styles as G, empty as H, insert as q, transition_in as v, transition_out as z, check_outros as
|
|
12
|
+
import { SvelteComponent as T, init as U, safe_not_equal as j, append_styles as G, empty as H, insert as q, transition_in as v, group_outros as J, transition_out as z, check_outros as K, detach as R, getContext as A, element as b, create_component as Q, space as I, attr as h, src_url_equal as D, toggle_class as M, mount_component as V, append as k, listen as C, stop_propagation as W, add_render_callback as X, create_in_transition as Y, create_out_transition as Z, destroy_component as x, run_all as $, binding_callbacks as ee } from "../../../vendor/svelte/internal/index.js";
|
|
13
13
|
import { fade as S } from "../../../vendor/svelte/transition/index.js";
|
|
14
14
|
import { cubicInOut as B } from "../../../vendor/svelte/easing/index.js";
|
|
15
|
-
import te from "./Shadow.js";
|
|
15
|
+
import { Shadow as te } from "./Shadow.js";
|
|
16
16
|
function ie(t) {
|
|
17
17
|
G(t, "svelte-1ku3wt4", `.audio.svelte-1ku3wt4.svelte-1ku3wt4{position:relative;width:100%;height:100%;cursor:pointer}@keyframes svelte-1ku3wt4-playing{25%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' transform='translate(-1 -1)' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}50%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.533 6.685L4.169 8.049l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}75%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm-.656 4.874l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .875-.333 1.67-.88 2.268l.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}}.paused.svelte-1ku3wt4 .audio-icon.svelte-1ku3wt4{animation:none}.audio-icon.svelte-1ku3wt4.svelte-1ku3wt4{width:100%;height:100%;border-radius:50%;background-size:100%;animation:svelte-1ku3wt4-playing 2s steps(1) infinite;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1.428 2.79l-.953.952a6.222 6.222 0 0 1 1.775 4.36c0 1.571-.58 3.006-1.538 4.103l-.184.202.793.794a7.344 7.344 0 0 0 2.21-5.26A7.341 7.341 0 0 0 9.428 2.79zM7.344 4.873l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .802-.28 1.537-.748 2.115l-.132.153.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}`);
|
|
18
18
|
}
|
|
19
19
|
function L(t) {
|
|
20
|
-
let e, i,
|
|
20
|
+
let e, i, a, o, r, u, f, d = !0, c, g, n, m, w;
|
|
21
21
|
return i = new te({
|
|
22
22
|
props: {
|
|
23
23
|
center: !0,
|
|
@@ -26,113 +26,113 @@ function L(t) {
|
|
|
26
26
|
}
|
|
27
27
|
}), {
|
|
28
28
|
c() {
|
|
29
|
-
e = b("div"),
|
|
29
|
+
e = b("div"), Q(i.$$.fragment), a = I(), o = b("div"), r = I(), u = b("audio"), h(o, "class", "audio-icon svelte-1ku3wt4"), u.controls = !1, h(u, "playsinline", ""), D(u.src, f = t[3]) || h(u, "src", f), h(e, "class", "audio svelte-1ku3wt4"), M(e, "paused", t[6]);
|
|
30
30
|
},
|
|
31
31
|
m(s, _) {
|
|
32
|
-
q(s, e, _),
|
|
32
|
+
q(s, e, _), V(i, e, null), k(e, a), k(e, o), k(e, r), k(e, u), t[9](u), n = !0, m || (w = [
|
|
33
33
|
C(u, "play", t[10]),
|
|
34
34
|
C(u, "pause", t[10]),
|
|
35
|
-
C(e, "click",
|
|
35
|
+
C(e, "click", W(t[7]))
|
|
36
36
|
], m = !0);
|
|
37
37
|
},
|
|
38
38
|
p(s, _) {
|
|
39
|
-
t = s, (!
|
|
39
|
+
t = s, (!n || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), (!n || _ & 64) && M(e, "paused", t[6]);
|
|
40
40
|
},
|
|
41
41
|
i(s) {
|
|
42
|
-
|
|
43
|
-
g && g.end(1), c =
|
|
42
|
+
n || (v(i.$$.fragment, s), s && X(() => {
|
|
43
|
+
g && g.end(1), c = Y(e, S, {
|
|
44
44
|
duration: t[2],
|
|
45
45
|
delay: t[0],
|
|
46
46
|
easing: B
|
|
47
47
|
}), c.start();
|
|
48
|
-
}),
|
|
48
|
+
}), n = !0);
|
|
49
49
|
},
|
|
50
50
|
o(s) {
|
|
51
|
-
z(i.$$.fragment, s), c && c.invalidate(), s && (g =
|
|
51
|
+
z(i.$$.fragment, s), c && c.invalidate(), s && (g = Z(e, S, {
|
|
52
52
|
duration: t[2],
|
|
53
53
|
delay: t[1],
|
|
54
54
|
easing: B
|
|
55
|
-
})),
|
|
55
|
+
})), n = !1;
|
|
56
56
|
},
|
|
57
57
|
d(s) {
|
|
58
|
-
s && R(e),
|
|
58
|
+
s && R(e), x(i), t[9](null), s && g && g.end(), m = !1, $(w);
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
let e, i,
|
|
62
|
+
function ne(t) {
|
|
63
|
+
let e, i, a = t[4] && L(t);
|
|
64
64
|
return {
|
|
65
65
|
c() {
|
|
66
|
-
|
|
66
|
+
a && a.c(), e = H();
|
|
67
67
|
},
|
|
68
68
|
m(o, r) {
|
|
69
|
-
|
|
69
|
+
a && a.m(o, r), q(o, e, r), i = !0;
|
|
70
70
|
},
|
|
71
71
|
p(o, [r]) {
|
|
72
|
-
o[4] ?
|
|
73
|
-
|
|
74
|
-
}),
|
|
72
|
+
o[4] ? a ? (a.p(o, r), r & 16 && v(a, 1)) : (a = L(o), a.c(), v(a, 1), a.m(e.parentNode, e)) : a && (J(), z(a, 1, 1, () => {
|
|
73
|
+
a = null;
|
|
74
|
+
}), K());
|
|
75
75
|
},
|
|
76
76
|
i(o) {
|
|
77
|
-
i || (v(
|
|
77
|
+
i || (v(a), i = !0);
|
|
78
78
|
},
|
|
79
79
|
o(o) {
|
|
80
|
-
z(
|
|
80
|
+
z(a), i = !1;
|
|
81
81
|
},
|
|
82
82
|
d(o) {
|
|
83
|
-
|
|
83
|
+
a && a.d(o), o && R(e);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
let { inDelay:
|
|
87
|
+
function ae(t, e, i) {
|
|
88
|
+
let { inDelay: a = 0 } = e, { outDelay: o = 0 } = e, { duration: r = 0 } = e, { url: u } = e, { unfolded: f } = e, { hooksInfo: d = {} } = e;
|
|
89
89
|
const c = A("hooks"), g = A("mediaStore");
|
|
90
|
-
let
|
|
90
|
+
let n, m = !0;
|
|
91
91
|
g.subscribe(({ currentMediaUrl: l }) => {
|
|
92
|
-
l !== u && (
|
|
92
|
+
l !== u && (n == null || n.pause());
|
|
93
93
|
});
|
|
94
94
|
function w(l) {
|
|
95
|
-
g.set({ currentMediaUrl: u }),
|
|
95
|
+
g.set({ currentMediaUrl: u }), n && (c.emit("click", p({
|
|
96
96
|
event: l,
|
|
97
97
|
target: "AudioTagPlayIcon",
|
|
98
|
-
audioInstance:
|
|
99
|
-
}, d)),
|
|
98
|
+
audioInstance: n
|
|
99
|
+
}, d)), n.paused ? n.play() : n.pause(), i(
|
|
100
100
|
5,
|
|
101
|
-
|
|
101
|
+
n.onplay = (y) => c.emit("playStateChange", p({
|
|
102
102
|
event: y,
|
|
103
103
|
state: "playing",
|
|
104
|
-
mediaInstance:
|
|
104
|
+
mediaInstance: n
|
|
105
105
|
}, d)),
|
|
106
|
-
|
|
106
|
+
n
|
|
107
107
|
), i(
|
|
108
108
|
5,
|
|
109
|
-
|
|
109
|
+
n.onpause = (y) => c.emit("playStateChange", p({
|
|
110
110
|
event: y,
|
|
111
111
|
state: "paused",
|
|
112
|
-
mediaInstance:
|
|
112
|
+
mediaInstance: n
|
|
113
113
|
}, d)),
|
|
114
|
-
|
|
114
|
+
n
|
|
115
115
|
));
|
|
116
116
|
}
|
|
117
117
|
function s(l) {
|
|
118
118
|
ee[l ? "unshift" : "push"](() => {
|
|
119
|
-
|
|
119
|
+
n = l, i(5, n);
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
function _() {
|
|
123
123
|
m = this.paused, i(6, m);
|
|
124
124
|
}
|
|
125
125
|
return t.$$set = (l) => {
|
|
126
|
-
"inDelay" in l && i(0,
|
|
126
|
+
"inDelay" in l && i(0, a = l.inDelay), "outDelay" in l && i(1, o = l.outDelay), "duration" in l && i(2, r = l.duration), "url" in l && i(3, u = l.url), "unfolded" in l && i(4, f = l.unfolded), "hooksInfo" in l && i(8, d = l.hooksInfo);
|
|
127
127
|
}, t.$$.update = () => {
|
|
128
|
-
t.$$.dirty & 48 && (f ||
|
|
128
|
+
t.$$.dirty & 48 && (f || n == null || n.pause());
|
|
129
129
|
}, [
|
|
130
|
-
|
|
130
|
+
a,
|
|
131
131
|
o,
|
|
132
132
|
r,
|
|
133
133
|
u,
|
|
134
134
|
f,
|
|
135
|
-
|
|
135
|
+
n,
|
|
136
136
|
m,
|
|
137
137
|
w,
|
|
138
138
|
d,
|
|
@@ -145,8 +145,8 @@ class de extends T {
|
|
|
145
145
|
super(), U(
|
|
146
146
|
this,
|
|
147
147
|
e,
|
|
148
|
-
ne,
|
|
149
148
|
ae,
|
|
149
|
+
ne,
|
|
150
150
|
j,
|
|
151
151
|
{
|
|
152
152
|
inDelay: 0,
|
|
@@ -161,5 +161,5 @@ class de extends T {
|
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
export {
|
|
164
|
-
de as
|
|
164
|
+
de as Audio
|
|
165
165
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as D, init as g, safe_not_equal as v, append_styles as w, svg_element as s, attr as l, insert as y, append as d, transition_in as c, transition_out as _, check_outros as
|
|
1
|
+
import { SvelteComponent as D, init as g, safe_not_equal as v, append_styles as w, svg_element as s, attr as l, insert as y, append as d, transition_in as c, group_outros as b, transition_out as _, check_outros as k, detach as p, add_render_callback as O, create_in_transition as G, create_out_transition as I } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { uuid as L } from "../../../../shared-utils/uuid.js";
|
|
3
3
|
import { draw as h } from "../../../../vendor/svelte/transition/index.js";
|
|
4
4
|
import { cubicOut as S, cubicInOut as U } from "../../../../vendor/svelte/easing/index.js";
|
|
@@ -18,8 +18,8 @@ function m(n) {
|
|
|
18
18
|
n = i;
|
|
19
19
|
},
|
|
20
20
|
i(i) {
|
|
21
|
-
r || (i &&
|
|
22
|
-
o && o.end(1), a =
|
|
21
|
+
r || (i && O(() => {
|
|
22
|
+
o && o.end(1), a = G(e, h, {
|
|
23
23
|
duration: n[1],
|
|
24
24
|
delay: n[0],
|
|
25
25
|
easing: S
|
|
@@ -27,7 +27,7 @@ function m(n) {
|
|
|
27
27
|
}), r = !0);
|
|
28
28
|
},
|
|
29
29
|
o(i) {
|
|
30
|
-
a && a.invalidate(), i && (o =
|
|
30
|
+
a && a.invalidate(), i && (o = I(e, h, {
|
|
31
31
|
duration: n[1],
|
|
32
32
|
delay: n[2],
|
|
33
33
|
easing: U
|
|
@@ -48,9 +48,9 @@ function B(n) {
|
|
|
48
48
|
y(f, e, u), d(e, a), d(a, o), d(o, r), d(o, i), t && t.m(e, null);
|
|
49
49
|
},
|
|
50
50
|
p(f, [u]) {
|
|
51
|
-
f[3] ? t ? (t.p(f, u), u & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (
|
|
51
|
+
f[3] ? t ? (t.p(f, u), u & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (b(), _(t, 1, 1, () => {
|
|
52
52
|
t = null;
|
|
53
|
-
}),
|
|
53
|
+
}), k());
|
|
54
54
|
},
|
|
55
55
|
i(f) {
|
|
56
56
|
c(t);
|
|
@@ -89,5 +89,5 @@ class A extends D {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
export {
|
|
92
|
-
A as
|
|
92
|
+
A as Polyline
|
|
93
93
|
};
|
|
@@ -1,54 +1,53 @@
|
|
|
1
|
-
import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c, transition_out as _, check_outros as
|
|
1
|
+
import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c, group_outros as w, transition_out as _, check_outros as b, detach as p, add_render_callback as z, create_in_transition as S, create_out_transition as G } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { draw as h } from "../../../../vendor/svelte/transition/index.js";
|
|
3
3
|
import { uuid as U } from "../../../../shared-utils/uuid.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
k(o, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
|
|
4
|
+
function q(n) {
|
|
5
|
+
k(n, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
|
|
7
6
|
}
|
|
8
|
-
function m(
|
|
9
|
-
let e, a,
|
|
7
|
+
function m(n) {
|
|
8
|
+
let e, a, o, r;
|
|
10
9
|
return {
|
|
11
10
|
c() {
|
|
12
|
-
e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" +
|
|
11
|
+
e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" + n[4] + ")"), l(e, "stroke-width", "1"), l(e, "d", "M0 0.5 L 148 0.5");
|
|
13
12
|
},
|
|
14
13
|
m(i, t) {
|
|
15
14
|
y(i, e, t), r = !0;
|
|
16
15
|
},
|
|
17
16
|
p(i, t) {
|
|
18
|
-
|
|
17
|
+
n = i;
|
|
19
18
|
},
|
|
20
19
|
i(i) {
|
|
21
|
-
r || (i &&
|
|
22
|
-
|
|
23
|
-
duration:
|
|
24
|
-
delay:
|
|
20
|
+
r || (i && z(() => {
|
|
21
|
+
o && o.end(1), a = S(e, h, {
|
|
22
|
+
duration: n[1],
|
|
23
|
+
delay: n[0]
|
|
25
24
|
}), a.start();
|
|
26
25
|
}), r = !0);
|
|
27
26
|
},
|
|
28
27
|
o(i) {
|
|
29
|
-
a && a.invalidate(), i && (
|
|
30
|
-
duration:
|
|
31
|
-
delay:
|
|
28
|
+
a && a.invalidate(), i && (o = G(e, h, {
|
|
29
|
+
duration: n[1],
|
|
30
|
+
delay: n[2]
|
|
32
31
|
})), r = !1;
|
|
33
32
|
},
|
|
34
33
|
d(i) {
|
|
35
|
-
i && p(e), i &&
|
|
34
|
+
i && p(e), i && o && o.end();
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
|
-
function A(
|
|
40
|
-
let e, a,
|
|
38
|
+
function A(n) {
|
|
39
|
+
let e, a, o, r, i, t = n[3] && m(n);
|
|
41
40
|
return {
|
|
42
41
|
c() {
|
|
43
|
-
e = u("svg"), a = u("defs"),
|
|
42
|
+
e = u("svg"), a = u("defs"), o = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), l(r, "offset", "25%"), l(r, "stop-color", "white"), l(r, "stop-opacity", "1"), l(i, "offset", "100%"), l(i, "stop-color", "white"), l(i, "stop-opacity", "0.5"), l(o, "id", n[4]), l(o, "gradientUnits", "userSpaceOnUse"), l(e, "class", "straight-line svelte-1omzoh4"), l(e, "viewBox", "0 0 148 1"), l(e, "preserveAspectRatio", "none");
|
|
44
43
|
},
|
|
45
44
|
m(f, s) {
|
|
46
|
-
y(f, e, s), d(e, a), d(a,
|
|
45
|
+
y(f, e, s), d(e, a), d(a, o), d(o, r), d(o, i), t && t.m(e, null);
|
|
47
46
|
},
|
|
48
47
|
p(f, [s]) {
|
|
49
|
-
f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (
|
|
48
|
+
f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (w(), _(t, 1, 1, () => {
|
|
50
49
|
t = null;
|
|
51
|
-
}),
|
|
50
|
+
}), b());
|
|
52
51
|
},
|
|
53
52
|
i(f) {
|
|
54
53
|
c(t);
|
|
@@ -61,14 +60,14 @@ function A(o) {
|
|
|
61
60
|
}
|
|
62
61
|
};
|
|
63
62
|
}
|
|
64
|
-
function B(
|
|
65
|
-
let { inDelay:
|
|
63
|
+
function B(n, e, a) {
|
|
64
|
+
let { inDelay: o = 0 } = e, { duration: r = 0 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
|
|
66
65
|
const f = U();
|
|
67
|
-
return
|
|
68
|
-
"inDelay" in s && a(0,
|
|
69
|
-
}, [
|
|
66
|
+
return n.$$set = (s) => {
|
|
67
|
+
"inDelay" in s && a(0, o = s.inDelay), "duration" in s && a(1, r = s.duration), "outDelay" in s && a(2, i = s.outDelay), "unfolded" in s && a(3, t = s.unfolded);
|
|
68
|
+
}, [o, r, i, t, f];
|
|
70
69
|
}
|
|
71
|
-
class
|
|
70
|
+
class M extends g {
|
|
72
71
|
constructor(e) {
|
|
73
72
|
super(), v(
|
|
74
73
|
this,
|
|
@@ -87,5 +86,5 @@ class O extends g {
|
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
88
|
export {
|
|
90
|
-
|
|
89
|
+
M as Straight
|
|
91
90
|
};
|
|
@@ -14,26 +14,18 @@ var z = (a, n, i) => new Promise((e, t) => {
|
|
|
14
14
|
}, u = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, l);
|
|
15
15
|
u((i = i.apply(a, n)).next());
|
|
16
16
|
});
|
|
17
|
-
import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _, transition_out as
|
|
17
|
+
import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _, group_outros as D, transition_out as g, check_outros as j, detach as I, getContext as G, element as le, attr as oe, toggle_class as J, add_render_callback as re, create_in_transition as fe, identity as K, create_out_transition as ue, create_component as C, mount_component as L, destroy_component as P, destroy_each as se, space as ce } from "../../../vendor/svelte/internal/index.js";
|
|
18
18
|
import { fly as Q } from "../../../vendor/svelte/transition/index.js";
|
|
19
|
-
import { Swiper_1 as
|
|
19
|
+
import { Swiper_1 as de } from "../../../vendor/swiper/svelte/swiper.js";
|
|
20
20
|
import { Swiper_slide as me } from "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
21
21
|
import { Autoplay as _e } from "swiper";
|
|
22
22
|
import "swiper/css";
|
|
23
23
|
import "swiper/css/autoplay";
|
|
24
24
|
import "three";
|
|
25
25
|
import { noTypecheck as R } from "../../utils/noTypecheck.js";
|
|
26
|
-
import x from "./MediaItem.js";
|
|
26
|
+
import { MediaItem as x } from "./MediaItem.js";
|
|
27
27
|
import { notNil as ye } from "../../../shared-utils/isNil.js";
|
|
28
|
-
|
|
29
|
-
import "../../../vendor/swiper/components-shared/get-params.js";
|
|
30
|
-
import "../../../vendor/swiper/components-shared/utils.js";
|
|
31
|
-
import "../../../vendor/swiper/components-shared/params-list.js";
|
|
32
|
-
import "../../../vendor/swiper/components-shared/mount-swiper.js";
|
|
33
|
-
import "../../../vendor/swiper/components-shared/get-changed-params.js";
|
|
34
|
-
import "../../../vendor/swiper/components-shared/update-swiper.js";
|
|
35
|
-
import "../../Assets/Icon.js";
|
|
36
|
-
function pe(a) {
|
|
28
|
+
function ge(a) {
|
|
37
29
|
ae(a, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
|
|
38
30
|
}
|
|
39
31
|
function W(a, n, i) {
|
|
@@ -42,23 +34,23 @@ function W(a, n, i) {
|
|
|
42
34
|
}
|
|
43
35
|
function X(a) {
|
|
44
36
|
let n, i, e, t, o, l;
|
|
45
|
-
const u = [
|
|
46
|
-
function m(s,
|
|
37
|
+
const u = [pe, he], r = [];
|
|
38
|
+
function m(s, h) {
|
|
47
39
|
return s[13] ? 0 : 1;
|
|
48
40
|
}
|
|
49
41
|
return i = m(a), e = r[i] = u[i](a), {
|
|
50
42
|
c() {
|
|
51
43
|
n = le("div"), e.c(), oe(n, "class", "media svelte-ai0lv9"), J(n, "unfolded", a[4]);
|
|
52
44
|
},
|
|
53
|
-
m(s,
|
|
54
|
-
w(s, n,
|
|
45
|
+
m(s, h) {
|
|
46
|
+
w(s, n, h), r[i].m(n, null), l = !0;
|
|
55
47
|
},
|
|
56
|
-
p(s,
|
|
48
|
+
p(s, h) {
|
|
57
49
|
a = s;
|
|
58
50
|
let b = i;
|
|
59
|
-
i = m(a), i === b ? r[i].p(a,
|
|
51
|
+
i = m(a), i === b ? r[i].p(a, h) : (D(), g(r[b], 1, 1, () => {
|
|
60
52
|
r[b] = null;
|
|
61
|
-
}),
|
|
53
|
+
}), j(), e = r[i], e ? e.p(a, h) : (e = r[i] = u[i](a), e.c()), _(e, 1), e.m(n, null)), (!l || h & 16) && J(n, "unfolded", a[4]);
|
|
62
54
|
},
|
|
63
55
|
i(s) {
|
|
64
56
|
l || (_(e), s && re(() => {
|
|
@@ -71,7 +63,7 @@ function X(a) {
|
|
|
71
63
|
}), l = !0);
|
|
72
64
|
},
|
|
73
65
|
o(s) {
|
|
74
|
-
|
|
66
|
+
g(e), t && t.invalidate(), s && (o = ue(n, Q, a[5] ? {
|
|
75
67
|
y: 4,
|
|
76
68
|
duration: a[3],
|
|
77
69
|
delay: a[2],
|
|
@@ -83,7 +75,7 @@ function X(a) {
|
|
|
83
75
|
}
|
|
84
76
|
};
|
|
85
77
|
}
|
|
86
|
-
function
|
|
78
|
+
function he(a) {
|
|
87
79
|
let n, i;
|
|
88
80
|
return n = new x({
|
|
89
81
|
props: {
|
|
@@ -107,16 +99,16 @@ function ge(a) {
|
|
|
107
99
|
i || (_(n.$$.fragment, e), i = !0);
|
|
108
100
|
},
|
|
109
101
|
o(e) {
|
|
110
|
-
|
|
102
|
+
g(n.$$.fragment, e), i = !1;
|
|
111
103
|
},
|
|
112
104
|
d(e) {
|
|
113
105
|
P(n, e);
|
|
114
106
|
}
|
|
115
107
|
};
|
|
116
108
|
}
|
|
117
|
-
function
|
|
109
|
+
function pe(a) {
|
|
118
110
|
let n, i;
|
|
119
|
-
return n = new
|
|
111
|
+
return n = new de({
|
|
120
112
|
props: {
|
|
121
113
|
style: "height: 100%",
|
|
122
114
|
modules: [_e],
|
|
@@ -149,7 +141,7 @@ function he(a) {
|
|
|
149
141
|
i || (_(n.$$.fragment, e), i = !0);
|
|
150
142
|
},
|
|
151
143
|
o(e) {
|
|
152
|
-
|
|
144
|
+
g(n.$$.fragment, e), i = !1;
|
|
153
145
|
},
|
|
154
146
|
d(e) {
|
|
155
147
|
P(n, e);
|
|
@@ -167,7 +159,7 @@ function be(a) {
|
|
|
167
159
|
}
|
|
168
160
|
}), {
|
|
169
161
|
c() {
|
|
170
|
-
C(n.$$.fragment), i =
|
|
162
|
+
C(n.$$.fragment), i = ce();
|
|
171
163
|
},
|
|
172
164
|
m(t, o) {
|
|
173
165
|
L(n, t, o), w(t, i, o), e = !0;
|
|
@@ -180,7 +172,7 @@ function be(a) {
|
|
|
180
172
|
e || (_(n.$$.fragment, t), e = !0);
|
|
181
173
|
},
|
|
182
174
|
o(t) {
|
|
183
|
-
|
|
175
|
+
g(n.$$.fragment, t), e = !1;
|
|
184
176
|
},
|
|
185
177
|
d(t) {
|
|
186
178
|
P(n, t), t && I(i);
|
|
@@ -209,7 +201,7 @@ function Y(a) {
|
|
|
209
201
|
i || (_(n.$$.fragment, e), i = !0);
|
|
210
202
|
},
|
|
211
203
|
o(e) {
|
|
212
|
-
|
|
204
|
+
g(n.$$.fragment, e), i = !1;
|
|
213
205
|
},
|
|
214
206
|
d(e) {
|
|
215
207
|
P(n, e);
|
|
@@ -220,7 +212,7 @@ function ve(a) {
|
|
|
220
212
|
let n, i, e = a[11], t = [];
|
|
221
213
|
for (let l = 0; l < e.length; l += 1)
|
|
222
214
|
t[l] = Y(W(a, e, l));
|
|
223
|
-
const o = (l) =>
|
|
215
|
+
const o = (l) => g(t[l], 1, 1, () => {
|
|
224
216
|
t[l] = null;
|
|
225
217
|
});
|
|
226
218
|
return {
|
|
@@ -242,9 +234,9 @@ function ve(a) {
|
|
|
242
234
|
const m = W(l, e, r);
|
|
243
235
|
t[r] ? (t[r].p(m, u), _(t[r], 1)) : (t[r] = Y(m), t[r].c(), _(t[r], 1), t[r].m(n.parentNode, n));
|
|
244
236
|
}
|
|
245
|
-
for (
|
|
237
|
+
for (D(), r = e.length; r < t.length; r += 1)
|
|
246
238
|
o(r);
|
|
247
|
-
|
|
239
|
+
j();
|
|
248
240
|
}
|
|
249
241
|
},
|
|
250
242
|
i(l) {
|
|
@@ -257,7 +249,7 @@ function ve(a) {
|
|
|
257
249
|
o(l) {
|
|
258
250
|
t = t.filter(Boolean);
|
|
259
251
|
for (let u = 0; u < t.length; u += 1)
|
|
260
|
-
|
|
252
|
+
g(t[u]);
|
|
261
253
|
i = !1;
|
|
262
254
|
},
|
|
263
255
|
d(l) {
|
|
@@ -275,15 +267,15 @@ function ke(a) {
|
|
|
275
267
|
e && e.m(t, o), w(t, n, o), i = !0;
|
|
276
268
|
},
|
|
277
269
|
p(t, [o]) {
|
|
278
|
-
t[4] ? e ? (e.p(t, o), o & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (
|
|
270
|
+
t[4] ? e ? (e.p(t, o), o & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (D(), g(e, 1, 1, () => {
|
|
279
271
|
e = null;
|
|
280
|
-
}),
|
|
272
|
+
}), j());
|
|
281
273
|
},
|
|
282
274
|
i(t) {
|
|
283
275
|
i || (_(e), i = !0);
|
|
284
276
|
},
|
|
285
277
|
o(t) {
|
|
286
|
-
|
|
278
|
+
g(e), i = !1;
|
|
287
279
|
},
|
|
288
280
|
d(t) {
|
|
289
281
|
e && e.d(t), t && I(n);
|
|
@@ -291,28 +283,28 @@ function ke(a) {
|
|
|
291
283
|
};
|
|
292
284
|
}
|
|
293
285
|
function we(a, n, i) {
|
|
294
|
-
let e, t, o, { tag: l } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded:
|
|
286
|
+
let e, t, o, { tag: l } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded: h = !0 } = n, { animation: b = !0 } = n, { playButtonIfNeed: F = "small" } = n, { canPlay: V = !0 } = n, { objectFit: q = "cover" } = n, { enableCarousel: E = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
|
|
295
287
|
const O = G("mediaStore"), M = G("hooks");
|
|
296
|
-
let
|
|
288
|
+
let p;
|
|
297
289
|
function B(f) {
|
|
298
|
-
!e || !
|
|
290
|
+
!e || !p || (O.set({ currentMediaUrl: this.src }), M.emit("playStateChange", {
|
|
299
291
|
event: f,
|
|
300
292
|
state: "playing",
|
|
301
293
|
tag: l,
|
|
302
294
|
mediaInstance: this
|
|
303
|
-
}),
|
|
295
|
+
}), p.autoplay.stop());
|
|
304
296
|
}
|
|
305
297
|
function N(f) {
|
|
306
|
-
!e || !
|
|
298
|
+
!e || !p || (M.emit("playStateChange", {
|
|
307
299
|
event: f,
|
|
308
300
|
state: "paused",
|
|
309
301
|
tag: l,
|
|
310
302
|
mediaInstance: this
|
|
311
|
-
}),
|
|
303
|
+
}), p.autoplay.running || p.autoplay.start());
|
|
312
304
|
}
|
|
313
305
|
let S = null;
|
|
314
306
|
const $ = (f) => {
|
|
315
|
-
i(10,
|
|
307
|
+
i(10, p = f.detail[0]);
|
|
316
308
|
}, ee = (f) => z(this, null, function* () {
|
|
317
309
|
var H, T, U;
|
|
318
310
|
if (!o || !k.autoplayVideo)
|
|
@@ -327,18 +319,18 @@ function we(a, n, i) {
|
|
|
327
319
|
const A = t[v];
|
|
328
320
|
if (!A || A.type !== "Video")
|
|
329
321
|
return;
|
|
330
|
-
y.autoplay.stop(), y.slides.map((
|
|
331
|
-
const
|
|
332
|
-
if (
|
|
333
|
-
|
|
334
|
-
const
|
|
335
|
-
|
|
322
|
+
y.autoplay.stop(), y.slides.map((c) => c.querySelector("video")).filter(ye).forEach((c) => c.pause());
|
|
323
|
+
const d = (H = y.slides[y.activeIndex]) == null ? void 0 : H.querySelector("video");
|
|
324
|
+
if (d && (d.removeEventListener("play", B), d.removeEventListener("pause", N), d.addEventListener("play", B), d.addEventListener("pause", N)), d) {
|
|
325
|
+
d.addEventListener("click", () => d.pause());
|
|
326
|
+
const c = (U = (T = d.parentElement) == null ? void 0 : T.getElementsByClassName("video-play-button-container")) == null ? void 0 : U[0];
|
|
327
|
+
d.addEventListener("play", () => c == null ? void 0 : c.classList.remove("showPlayButton")), d.addEventListener("pause", () => c == null ? void 0 : c.classList.add("showPlayButton")), c && (d.paused ? c.classList.add("showPlayButton") : c.classList.remove("showPlayButton"), c.addEventListener("click", () => d.play()));
|
|
336
328
|
}
|
|
337
329
|
});
|
|
338
330
|
return a.$$set = (f) => {
|
|
339
|
-
"tag" in f && i(17, l = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4,
|
|
331
|
+
"tag" in f && i(17, l = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4, h = f.unfolded), "animation" in f && i(5, b = f.animation), "playButtonIfNeed" in f && i(6, F = f.playButtonIfNeed), "canPlay" in f && i(7, V = f.canPlay), "objectFit" in f && i(8, q = f.objectFit), "enableCarousel" in f && i(18, E = f.enableCarousel), "autoplayConfig" in f && i(9, k = f.autoplayConfig);
|
|
340
332
|
}, a.$$.update = () => {
|
|
341
|
-
a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, o = t.length > 1 && k.autoplay), a.$$.dirty & 1024 &&
|
|
333
|
+
a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, o = t.length > 1 && k.autoplay), a.$$.dirty & 1024 && p && p.slides.forEach((f) => {
|
|
342
334
|
const y = f.querySelector("video");
|
|
343
335
|
y && O.subscribe(({ currentMediaUrl: v }) => {
|
|
344
336
|
v !== y.src && y.pause();
|
|
@@ -349,13 +341,13 @@ function we(a, n, i) {
|
|
|
349
341
|
r,
|
|
350
342
|
m,
|
|
351
343
|
s,
|
|
352
|
-
|
|
344
|
+
h,
|
|
353
345
|
b,
|
|
354
346
|
F,
|
|
355
347
|
V,
|
|
356
348
|
q,
|
|
357
349
|
k,
|
|
358
|
-
|
|
350
|
+
p,
|
|
359
351
|
t,
|
|
360
352
|
S,
|
|
361
353
|
e,
|
|
@@ -368,7 +360,7 @@ function we(a, n, i) {
|
|
|
368
360
|
ee
|
|
369
361
|
];
|
|
370
362
|
}
|
|
371
|
-
class
|
|
363
|
+
class Oe extends te {
|
|
372
364
|
constructor(n) {
|
|
373
365
|
super(), ne(
|
|
374
366
|
this,
|
|
@@ -390,10 +382,10 @@ class Je extends te {
|
|
|
390
382
|
enableCarousel: 18,
|
|
391
383
|
autoplayConfig: 9
|
|
392
384
|
},
|
|
393
|
-
|
|
385
|
+
ge
|
|
394
386
|
);
|
|
395
387
|
}
|
|
396
388
|
}
|
|
397
389
|
export {
|
|
398
|
-
|
|
390
|
+
Oe as Media
|
|
399
391
|
};
|