@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.2
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/README.md +3 -12
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +6 -11
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -331
- package/libs/CSS3DRenderPlugin/Controller.js +1 -84
- package/libs/CSS3DRenderPlugin/index.js +1 -6
- package/libs/CSS3DRenderPlugin/typing.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -67
- package/libs/CSS3DRenderPlugin/utils/centerPoint.js +1 -10
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +1 -88
- package/libs/CameraMovementPlugin/index.js +1 -0
- package/libs/CameraMovementPlugin/typing.js +1 -5
- package/libs/CruisePlugin/Controller.js +1 -484
- package/libs/CruisePlugin/index.js +1 -8
- package/libs/CruisePlugin/utils/coordinatesAngle.js +1 -8
- package/libs/CruisePlugin/utils/coordinatesToVector.js +1 -12
- package/libs/CruisePlugin/utils/formatRad.js +1 -7
- package/libs/CruisePlugin/utils/linerValue.js +1 -7
- package/libs/CruisePlugin/utils/safeCall.js +1 -28
- package/libs/CruisePlugin/utils/sleep.js +1 -10
- package/libs/CruisePlugin/utils/vectorToCoordinates.js +1 -10
- package/libs/GuideLinePlugin/Controller.js +1 -144
- package/libs/GuideLinePlugin/index.js +1 -6
- package/libs/GuideLinePlugin/utils/getArrowMaterial.js +1 -13
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -64
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -271
- package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -133
- package/libs/ItemLabelPlugin/Plugin.js +2 -76
- package/libs/ItemLabelPlugin/index.js +1 -12
- package/libs/ItemLabelPlugin/typings.js +1 -4
- package/libs/ItemLabelPlugin/utils/getLabelTransform.js +1 -4
- package/libs/ItemLabelPlugin/utils/getStrokeLength.js +1 -16
- package/libs/ItemLabelPlugin/utils/isImpacted.js +1 -10
- package/libs/ItemLabelPlugin/utils/parseData.js +1 -21
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +1 -21
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -71
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +1 -78
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -212
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +2 -42
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +2 -74
- package/libs/ModelItemLabelPlugin/events.type.js +1 -0
- package/libs/ModelItemLabelPlugin/index.js +1 -12
- package/libs/ModelItemLabelPlugin/typings.js +1 -4
- package/libs/ModelItemLabelPlugin/utils/parseData.js +1 -19
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -4
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -60
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -45
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -162
- package/libs/ModelRoomLabelPlugin/index.js +1 -10
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +1 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -164
- package/libs/ModelTVVideoPlugin/index.js +1 -0
- package/libs/ModelTVVideoPlugin/typings.js +1 -4
- package/libs/ModelTVVideoPlugin/utils/parseData.js +1 -20
- package/libs/ModelViewPlugin/Plugin.js +1 -107
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +1 -145
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +1 -32
- package/libs/Object3DHelperPlugin/index.js +1 -10
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +1 -4
- package/libs/PanoCompassPlugin/Controller.js +1 -224
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -24
- package/libs/PanoCompassPlugin/index.js +1 -6
- package/libs/PanoCursorRaycasterPlugin/index.js +1 -59
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -59
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -219
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -65
- package/libs/PanoDoorLabelPlugin/index.js +1 -6
- package/libs/PanoDoorLabelPlugin/utils.js +1 -23
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +1 -53
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -102
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -125
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -33
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -90
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -154
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -140
- package/libs/PanoMeasurePlugin/Model/index.js +1 -92
- package/libs/PanoMeasurePlugin/Model/line.js +1 -56
- package/libs/PanoMeasurePlugin/Model/point.js +1 -30
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -47
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +2 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +3 -67
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +1 -28
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +1 -41
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -103
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +8 -12
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +1 -50
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -36
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -48
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +3 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +1 -39
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +1 -62
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +2 -7
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -130
- package/libs/PanoMeasurePlugin/index.js +1 -11
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -12
- package/libs/PanoMeasurePlugin/utils/constants.js +1 -36
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -62
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +1 -13
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +1 -15
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +1 -9
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +1 -8
- package/libs/PanoMeasurePlugin/utils/ironbox.js +1 -4
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +1 -7
- package/libs/PanoMeasurePlugin/utils/line.js +1 -18
- package/libs/PanoMeasurePlugin/utils/math.js +1 -13
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +3 -33
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +1 -8
- package/libs/PanoRulerPlugin/Plugin.js +2 -263
- package/libs/PanoRulerPlugin/index.js +1 -0
- package/libs/PanoRulerPlugin/style.js +2 -5
- package/libs/PanoRulerProPlugin/Controller.js +1 -93
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -128
- package/libs/PanoRulerProPlugin/RulerItems.js +1 -180
- package/libs/PanoRulerProPlugin/index.js +1 -6
- package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -81
- package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -124
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -247
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -5
- package/libs/PanoSpatialTagPlugin/style.js +1 -11
- package/libs/PanoSpatialTagPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Assets/Icon.js +1 -6
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -103
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -166
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -93
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -90
- package/libs/PanoTagPlugin/Components/Common/Media.js +1 -393
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -139
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +1 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +1 -51
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +1 -51
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +1 -166
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +15 -124
- package/libs/PanoTagPlugin/Components/Common/Text.js +1 -131
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +1 -134
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +1 -73
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -192
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +1 -126
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -258
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +1 -87
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +1 -122
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -289
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -156
- package/libs/PanoTagPlugin/Components/TagWrapper.js +1 -153
- package/libs/PanoTagPlugin/controller/TagCacheController.js +1 -31
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -264
- package/libs/PanoTagPlugin/controller/index.js +1 -377
- package/libs/PanoTagPlugin/index.js +1 -9
- package/libs/PanoTagPlugin/tag.config.js +1 -44
- package/libs/PanoTagPlugin/typings/controller.js +1 -0
- package/libs/PanoTagPlugin/typings/index.js +1 -0
- package/libs/PanoTagPlugin/typings/tag.js +1 -7
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +1 -6
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -27
- package/libs/PanoTagPlugin/utils/checkRange.js +1 -10
- package/libs/PanoTagPlugin/utils/constants.js +1 -8
- package/libs/PanoTagPlugin/utils/debounce.js +1 -12
- package/libs/PanoTagPlugin/utils/doUtil.js +1 -12
- package/libs/PanoTagPlugin/utils/index.js +1 -0
- package/libs/PanoTagPlugin/utils/noTypecheck.js +1 -4
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +1 -13
- package/libs/PanoTagPlugin/utils/planeNormal.js +1 -11
- package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -17
- package/libs/PanoTagPlugin/utils/search.js +1 -15
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -13
- package/libs/PanoTagPlugin/utils/throttle.js +1 -11
- package/libs/base/BasePlugin.js +1 -18
- package/libs/base/BasePluginWithData.js +1 -6
- package/libs/components/PaintBrush/Controller.js +1 -308
- package/libs/components/PaintBrush/Subscribe.js +1 -47
- package/libs/components/PaintBrush/index.js +1 -45
- package/libs/components/PaintBrush/style.js +2 -5
- package/libs/components/PaintBrush/tween.js +1 -11
- package/libs/components/PaintBrush/typings.js +1 -4
- package/libs/components/PaintBrush/utils.js +1 -45
- package/libs/components/index.js +1 -0
- package/libs/floorplan/Assets/camera.js +1 -4
- package/libs/floorplan/Assets/compass.js +1 -4
- package/libs/floorplan/Assets/floorplanExtraObject.js +1 -4
- package/libs/floorplan/Components/BaseImage.js +1 -103
- package/libs/floorplan/Components/Camera.js +1 -62
- package/libs/floorplan/Components/Compass.js +1 -60
- package/libs/floorplan/Components/CurrentFloor.js +1 -246
- package/libs/floorplan/Components/Main.js +1 -264
- package/libs/floorplan/Components/Normalmage.js +1 -37
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -61
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -121
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -153
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +1 -174
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -196
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -39
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -37
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +1 -134
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +1 -139
- package/libs/floorplan/Components/SvgImage.js +2 -39
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -321
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -316
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -85
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -129
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -72
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -183
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -164
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -273
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/constant.js +1 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/typings/floorplanData.js +1 -0
- package/libs/floorplan/typings/floorplanServerData.js +1 -101
- package/libs/floorplan/utils/constant.js +1 -7
- package/libs/floorplan/utils/correctFiveState.js +1 -54
- package/libs/floorplan/utils/formatData.js +1 -104
- package/libs/floorplan/utils/formatPosition.js +1 -35
- package/libs/index.js +1 -92
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -152
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -53
- package/libs/shared-utils/Object3DHelper/Constants/color.js +1 -21
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +1 -18
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -66
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -109
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -134
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -79
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -41
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -30
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +1 -35
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -2
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +1 -137
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +1 -136
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/index.js +1 -169
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +1 -11
- package/libs/shared-utils/Object3DHelper/utils/direction.js +1 -22
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +1 -14
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -191
- package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.js +1 -6
- package/libs/shared-utils/Subscribe.js +1 -50
- package/libs/shared-utils/animationFrame/BetterTween.js +1 -26
- package/libs/shared-utils/animationFrame/calculateProgress.js +1 -6
- package/libs/shared-utils/animationFrame/formatRad.js +1 -11
- package/libs/shared-utils/animationFrame/index.js +1 -31
- package/libs/shared-utils/animationFrame/tween.js +1 -30
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -12
- package/libs/shared-utils/createCanvasTextTexture.js +1 -11
- package/libs/shared-utils/createLine/index.js +1 -9
- package/libs/shared-utils/debounce.js +1 -11
- package/libs/shared-utils/equal.js +1 -54
- package/libs/shared-utils/filter.js +1 -10
- package/libs/shared-utils/five/changeMode.js +1 -39
- package/libs/shared-utils/getPxmm.js +1 -21
- package/libs/shared-utils/index.js +1 -31
- package/libs/shared-utils/isNil.js +1 -10
- package/libs/shared-utils/isTruelyObject.js +1 -6
- package/libs/shared-utils/math/Interval.js +1 -23
- package/libs/shared-utils/math/Rectangle.js +1 -23
- package/libs/shared-utils/math/index.js +1 -0
- package/libs/shared-utils/math/planimetry.js +1 -48
- package/libs/shared-utils/math/rad2Deg.js +1 -6
- package/libs/shared-utils/nearlyEqual.js +1 -6
- package/libs/shared-utils/nextFrame.js +1 -6
- package/libs/shared-utils/noop.js +1 -5
- package/libs/shared-utils/object3d2LocalMatrix.js +1 -19
- package/libs/shared-utils/removeArrayItem.js +1 -8
- package/libs/shared-utils/tap.js +1 -6
- package/libs/shared-utils/three/Assets/index.js +1 -4
- package/libs/shared-utils/three/FivePointSelector.js +1 -49
- package/libs/shared-utils/three/Magnifier.js +1 -104
- package/libs/shared-utils/three/PointDomHelper.js +1 -60
- package/libs/shared-utils/three/PointHelper.js +3 -60
- package/libs/shared-utils/three/getCoords.js +1 -13
- package/libs/shared-utils/three/getIntersect.js +1 -8
- package/libs/shared-utils/three/getRaycaster.js +1 -12
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/shared-utils/three/loadTexture.js +1 -28
- package/libs/shared-utils/three/transformPositionToVector3.js +1 -5
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +1 -24
- package/libs/shared-utils/throttle.js +1 -11
- package/libs/shared-utils/tinyEJSrender.js +14 -138
- package/libs/shared-utils/to.js +1 -29
- package/libs/shared-utils/uuid.js +1 -10
- package/libs/vendor/swiper/components-shared/get-changed-params.js +1 -0
- package/libs/vendor/swiper/components-shared/get-params.js +1 -0
- package/libs/vendor/swiper/components-shared/mount-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/params-list.js +1 -0
- package/libs/vendor/swiper/components-shared/update-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/utils.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-slide.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -0
- package/libs/vendor/swiper/svelte/swiper.js +1 -0
- package/package.json +187 -17
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-changed-params.js +0 -29
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js +0 -23
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js +0 -14
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js +0 -120
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js +0 -36
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/utils.js +0 -32
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper-slide.js +0 -182
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper.js +0 -254
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require("svelte/internal");require("svelte");require("swiper");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("svelte/internal"),A=require("svelte"),Q=require("swiper"),R=require("../components-shared/get-params.js"),T=require("../components-shared/mount-swiper.js"),b=require("../components-shared/utils.js"),X=require("../components-shared/get-changed-params.js"),Y=require("../components-shared/update-swiper.js"),Z=t=>t&&typeof t=="object"&&"default"in t?t:{default:t},y=Z(Q),$=t=>({virtualData:t&512}),O=t=>({virtualData:t[9]}),x=t=>({virtualData:t&512}),V=t=>({virtualData:t[9]}),ee=t=>({virtualData:t&512}),W=t=>({virtualData:t[9]}),te=t=>({virtualData:t&512}),F=t=>({virtualData:t[9]}),se=t=>({virtualData:t&512}),G=t=>({virtualData:t[9]});function H(t){let n,r,_;return{c(){n=e.element("div"),r=e.space(),_=e.element("div"),e.attr(n,"class","swiper-button-prev"),e.attr(_,"class","swiper-button-next")},m(w,E){e.insert(w,n,E),t[13](n),e.insert(w,r,E),e.insert(w,_,E),t[14](_)},p:e.noop,d(w){w&&e.detach(n),t[13](null),w&&e.detach(r),w&&e.detach(_),t[14](null)}}}function J(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","swiper-scrollbar")},m(r,_){e.insert(r,n,_),t[15](n)},p:e.noop,d(r){r&&e.detach(n),t[15](null)}}}function K(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","swiper-pagination")},m(r,_){e.insert(r,n,_),t[16](n)},p:e.noop,d(r){r&&e.detach(n),t[16](null)}}}function ne(t){let n,r,_,w,E,I,z=b.needsNavigation(t[2]),B,N=b.needsScrollbar(t[2]),C,i=b.needsPagination(t[2]),j,v,l;const S=t[12]["container-start"],m=e.create_slot(S,t,t[11],G),P=t[12]["wrapper-start"],p=e.create_slot(P,t,t[11],F),D=t[12].default,u=e.create_slot(D,t,t[11],W),k=t[12]["wrapper-end"],g=e.create_slot(k,t,t[11],V);let f=z&&H(t),c=N&&J(t),d=i&&K(t);const L=t[12]["container-end"],h=e.create_slot(L,t,t[11],O);let M=[{class:v=b.uniqueClasses(`${t[1]}${t[0]?` ${t[0]}`:""}`)},t[3]],U={};for(let s=0;s<M.length;s+=1)U=e.assign(U,M[s]);return{c(){n=e.element("div"),m&&m.c(),r=e.space(),_=e.element("div"),p&&p.c(),w=e.space(),u&&u.c(),E=e.space(),g&&g.c(),I=e.space(),f&&f.c(),B=e.space(),c&&c.c(),C=e.space(),d&&d.c(),j=e.space(),h&&h.c(),e.attr(_,"class","swiper-wrapper"),e.set_attributes(n,U)},m(s,o){e.insert(s,n,o),m&&m.m(n,null),e.append(n,r),e.append(n,_),p&&p.m(_,null),e.append(_,w),u&&u.m(_,null),e.append(_,E),g&&g.m(_,null),e.append(n,I),f&&f.m(n,null),e.append(n,B),c&&c.m(n,null),e.append(n,C),d&&d.m(n,null),e.append(n,j),h&&h.m(n,null),t[17](n),l=!0},p(s,[o]){m&&m.p&&(!l||o&2560)&&e.update_slot_base(m,S,s,s[11],l?e.get_slot_changes(S,s[11],o,se):e.get_all_dirty_from_scope(s[11]),G),p&&p.p&&(!l||o&2560)&&e.update_slot_base(p,P,s,s[11],l?e.get_slot_changes(P,s[11],o,te):e.get_all_dirty_from_scope(s[11]),F),u&&u.p&&(!l||o&2560)&&e.update_slot_base(u,D,s,s[11],l?e.get_slot_changes(D,s[11],o,ee):e.get_all_dirty_from_scope(s[11]),W),g&&g.p&&(!l||o&2560)&&e.update_slot_base(g,k,s,s[11],l?e.get_slot_changes(k,s[11],o,x):e.get_all_dirty_from_scope(s[11]),V),o&4&&(z=b.needsNavigation(s[2])),z?f?f.p(s,o):(f=H(s),f.c(),f.m(n,B)):f&&(f.d(1),f=null),o&4&&(N=b.needsScrollbar(s[2])),N?c?c.p(s,o):(c=J(s),c.c(),c.m(n,C)):c&&(c.d(1),c=null),o&4&&(i=b.needsPagination(s[2])),i?d?d.p(s,o):(d=K(s),d.c(),d.m(n,j)):d&&(d.d(1),d=null),h&&h.p&&(!l||o&2560)&&e.update_slot_base(h,L,s,s[11],l?e.get_slot_changes(L,s[11],o,$):e.get_all_dirty_from_scope(s[11]),O),e.set_attributes(n,U=e.get_spread_update(M,[(!l||o&3&&v!==(v=b.uniqueClasses(`${s[1]}${s[0]?` ${s[0]}`:""}`)))&&{class:v},o&8&&s[3]]))},i(s){l||(e.transition_in(m,s),e.transition_in(p,s),e.transition_in(u,s),e.transition_in(g,s),e.transition_in(h,s),l=!0)},o(s){e.transition_out(m,s),e.transition_out(p,s),e.transition_out(u,s),e.transition_out(g,s),e.transition_out(h,s),l=!1},d(s){s&&e.detach(n),m&&m.d(s),p&&p.d(s),u&&u.d(s),g&&g.d(s),f&&f.d(),c&&c.d(),d&&d.d(),h&&h.d(s),t[17](null)}}}function ae(t,n,r){const _=["class","swiper"];let w=e.compute_rest_props(n,_),{$$slots:E={},$$scope:I}=n;const z=A.createEventDispatcher();let{class:B=void 0}=n,N="swiper",C=!1,i=null,j=null,v,l,S,m,P=null,p=null,D=null,u=null,k=null,g={slides:[]};function f(){return i}const c=a=>{r(9,g=a),A.tick().then(()=>{i.$wrapperEl.children(".swiper-slide").each(q=>{q.onSwiper&&q.onSwiper(i)}),i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.lazy&&i.params.lazy.enabled&&i.lazy.load()})},d=()=>{v=R.getParams(w),r(2,l=v.params),S=v.passedParams,r(3,m=v.rest)};d(),j=S;const L=()=>{C=!0};if(l.onAny=(a,...q)=>{z(a,q)},Object.assign(l.on,{_beforeBreakpoint:L,_containerClasses(a,q){r(1,N=q)}}),i=new y.default(l),A.setContext("swiper",i),i.virtual&&i.params.virtual.enabled){const a={cache:!1,renderExternal:q=>{c(q),l.virtual&&l.virtual.renderExternal&&l.virtual.renderExternal(q)},renderExternalUpdate:!1};b.extend(i.params.virtual,a),b.extend(i.originalParams.virtual,a)}A.onMount(()=>{!P||(T.mountSwiper({el:P,nextEl:D,prevEl:p,paginationEl:k,scrollbarEl:u,swiper:i},l),z("swiper",[i]),!l.virtual&&i.slides.each(a=>{a.onSwiper&&a.onSwiper(i)}))}),A.afterUpdate(()=>{if(!i)return;d();const a=X.getChangedParams(S,j);(a.length||C)&&i&&!i.destroyed&&Y.updateSwiper({swiper:i,passedParams:S,changedParams:a,nextEl:D,prevEl:p,scrollbarEl:u,paginationEl:k}),C=!1,j=S}),A.onDestroy(()=>{typeof window!="undefined"&&i&&!i.destroyed&&i.destroy(!0,!1)});function h(a){e.binding_callbacks[a?"unshift":"push"](()=>{p=a,r(5,p)})}function M(a){e.binding_callbacks[a?"unshift":"push"](()=>{D=a,r(6,D)})}function U(a){e.binding_callbacks[a?"unshift":"push"](()=>{u=a,r(7,u)})}function s(a){e.binding_callbacks[a?"unshift":"push"](()=>{k=a,r(8,k)})}function o(a){e.binding_callbacks[a?"unshift":"push"](()=>{P=a,r(4,P)})}return t.$$set=a=>{n=e.assign(e.assign({},n),e.exclude_internal_props(a)),r(27,w=e.compute_rest_props(n,_)),"class"in a&&r(0,B=a.class),"$$scope"in a&&r(11,I=a.$$scope)},[B,N,l,m,P,p,D,u,k,g,f,I,E,h,M,U,s,o]}class ie extends e.SvelteComponent{constructor(n){super(),e.init(this,n,ae,ne,e.safe_not_equal,{class:0,swiper:10})}get swiper(){return this.$$.ctx[10]}}exports.Swiper_1=ie;
|
package/package.json
CHANGED
|
@@ -1,27 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realsee/dnalogel",
|
|
3
|
-
"main": "./
|
|
4
|
-
"module": "./
|
|
5
|
-
"types": "./
|
|
3
|
+
"main": "./libs/index.js",
|
|
4
|
+
"module": "./esm/index.js",
|
|
5
|
+
"types": "./esm/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"author": "REALSEE-DEVELOPER",
|
|
8
8
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
9
9
|
"description": "如视 VR 看房插件合集",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "2.1.2-alpha.
|
|
11
|
+
"version": "2.1.2-alpha.2",
|
|
12
12
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"dev": "run-p dev:*",
|
|
15
|
-
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
16
|
-
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
17
|
-
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
18
|
-
"build": "run-p build:*",
|
|
19
|
-
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
20
|
-
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
21
|
-
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
22
|
-
"docs": "typedoc --options ./typedoc.json",
|
|
23
|
-
"prepublishOnly": "run-p build docs"
|
|
24
|
-
},
|
|
25
13
|
"files": [
|
|
26
14
|
"libs",
|
|
27
15
|
"dist",
|
|
@@ -84,5 +72,187 @@
|
|
|
84
72
|
"peerDependencies": {
|
|
85
73
|
"@realsee/five": ">=5.0.0",
|
|
86
74
|
"three": ">=0.115.0 <=0.117.1"
|
|
75
|
+
},
|
|
76
|
+
"exports": {
|
|
77
|
+
".": {
|
|
78
|
+
"import": "./esm/index.js",
|
|
79
|
+
"require": "./libs/index.js",
|
|
80
|
+
"default": "./esm/index.js"
|
|
81
|
+
},
|
|
82
|
+
"./floorplan": {
|
|
83
|
+
"import": "./esm/floorplan/index.js",
|
|
84
|
+
"require": "./libs/floorplan/index.js",
|
|
85
|
+
"default": "./esm/floorplan/index.js"
|
|
86
|
+
},
|
|
87
|
+
"./floorplan/TopviewFloorplanPlugin": {
|
|
88
|
+
"import": "./esm/floorplan/TopviewFloorplanPlugin/index.js",
|
|
89
|
+
"require": "./libs/floorplan/TopviewFloorplanPlugin/index.js",
|
|
90
|
+
"default": "./esm/floorplan/TopviewFloorplanPlugin/index.js"
|
|
91
|
+
},
|
|
92
|
+
"./TopviewFloorplanPlugin": {
|
|
93
|
+
"import": "./esm/floorplan/TopviewFloorplanPlugin/index.js",
|
|
94
|
+
"require": "./libs/floorplan/TopviewFloorplanPlugin/index.js",
|
|
95
|
+
"default": "./esm/floorplan/TopviewFloorplanPlugin/index.js"
|
|
96
|
+
},
|
|
97
|
+
"./floorplan/PanoFloorplanRadarPlugin": {
|
|
98
|
+
"import": "./esm/floorplan/PanoFloorplanRadarPlugin/index.js",
|
|
99
|
+
"require": "./libs/floorplan/PanoFloorplanRadarPlugin/index.js",
|
|
100
|
+
"default": "./esm/floorplan/PanoFloorplanRadarPlugin/index.js"
|
|
101
|
+
},
|
|
102
|
+
"./PanoFloorplanRadarPlugin": {
|
|
103
|
+
"import": "./esm/floorplan/PanoFloorplanRadarPlugin/index.js",
|
|
104
|
+
"require": "./libs/floorplan/PanoFloorplanRadarPlugin/index.js",
|
|
105
|
+
"default": "./esm/floorplan/PanoFloorplanRadarPlugin/index.js"
|
|
106
|
+
},
|
|
107
|
+
"./floorplan/ModelFloorplanPlugin": {
|
|
108
|
+
"import": "./esm/floorplan/ModelFloorplanPlugin/index.js",
|
|
109
|
+
"require": "./libs/floorplan/ModelFloorplanPlugin/index.js",
|
|
110
|
+
"default": "./esm/floorplan/ModelFloorplanPlugin/index.js"
|
|
111
|
+
},
|
|
112
|
+
"./ModelFloorplanPlugin": {
|
|
113
|
+
"import": "./esm/floorplan/ModelFloorplanPlugin/index.js",
|
|
114
|
+
"require": "./libs/floorplan/ModelFloorplanPlugin/index.js",
|
|
115
|
+
"default": "./esm/floorplan/ModelFloorplanPlugin/index.js"
|
|
116
|
+
},
|
|
117
|
+
"./floorplan/MapviewFloorplanPlugin": {
|
|
118
|
+
"import": "./esm/floorplan/MapviewFloorplanPlugin/index.js",
|
|
119
|
+
"require": "./libs/floorplan/MapviewFloorplanPlugin/index.js",
|
|
120
|
+
"default": "./esm/floorplan/MapviewFloorplanPlugin/index.js"
|
|
121
|
+
},
|
|
122
|
+
"./MapviewFloorplanPlugin": {
|
|
123
|
+
"import": "./esm/floorplan/MapviewFloorplanPlugin/index.js",
|
|
124
|
+
"require": "./libs/floorplan/MapviewFloorplanPlugin/index.js",
|
|
125
|
+
"default": "./esm/floorplan/MapviewFloorplanPlugin/index.js"
|
|
126
|
+
},
|
|
127
|
+
"./components": {
|
|
128
|
+
"import": "./esm/components/index.js",
|
|
129
|
+
"require": "./libs/components/index.js",
|
|
130
|
+
"default": "./esm/components/index.js"
|
|
131
|
+
},
|
|
132
|
+
"./components/PaintBrush": {
|
|
133
|
+
"import": "./esm/components/PaintBrush/index.js",
|
|
134
|
+
"require": "./libs/components/PaintBrush/index.js",
|
|
135
|
+
"default": "./esm/components/PaintBrush/index.js"
|
|
136
|
+
},
|
|
137
|
+
"./PaintBrush": {
|
|
138
|
+
"import": "./esm/components/PaintBrush/index.js",
|
|
139
|
+
"require": "./libs/components/PaintBrush/index.js",
|
|
140
|
+
"default": "./esm/components/PaintBrush/index.js"
|
|
141
|
+
},
|
|
142
|
+
"./PanoTagPlugin": {
|
|
143
|
+
"import": "./esm/PanoTagPlugin/index.js",
|
|
144
|
+
"require": "./libs/PanoTagPlugin/index.js",
|
|
145
|
+
"default": "./esm/PanoTagPlugin/index.js"
|
|
146
|
+
},
|
|
147
|
+
"./PanoSpatialTagPlugin": {
|
|
148
|
+
"import": "./esm/PanoSpatialTagPlugin/index.js",
|
|
149
|
+
"require": "./libs/PanoSpatialTagPlugin/index.js",
|
|
150
|
+
"default": "./esm/PanoSpatialTagPlugin/index.js"
|
|
151
|
+
},
|
|
152
|
+
"./PanoRulerProPlugin": {
|
|
153
|
+
"import": "./esm/PanoRulerProPlugin/index.js",
|
|
154
|
+
"require": "./libs/PanoRulerProPlugin/index.js",
|
|
155
|
+
"default": "./esm/PanoRulerProPlugin/index.js"
|
|
156
|
+
},
|
|
157
|
+
"./PanoRulerPlugin": {
|
|
158
|
+
"import": "./esm/PanoRulerPlugin/index.js",
|
|
159
|
+
"require": "./libs/PanoRulerPlugin/index.js",
|
|
160
|
+
"default": "./esm/PanoRulerPlugin/index.js"
|
|
161
|
+
},
|
|
162
|
+
"./PanoMeasurePlugin": {
|
|
163
|
+
"import": "./esm/PanoMeasurePlugin/index.js",
|
|
164
|
+
"require": "./libs/PanoMeasurePlugin/index.js",
|
|
165
|
+
"default": "./esm/PanoMeasurePlugin/index.js"
|
|
166
|
+
},
|
|
167
|
+
"./PanoDoorLabelPlugin": {
|
|
168
|
+
"import": "./esm/PanoDoorLabelPlugin/index.js",
|
|
169
|
+
"require": "./libs/PanoDoorLabelPlugin/index.js",
|
|
170
|
+
"default": "./esm/PanoDoorLabelPlugin/index.js"
|
|
171
|
+
},
|
|
172
|
+
"./PanoCursorRaycasterPlugin": {
|
|
173
|
+
"import": "./esm/PanoCursorRaycasterPlugin/index.js",
|
|
174
|
+
"require": "./libs/PanoCursorRaycasterPlugin/index.js",
|
|
175
|
+
"default": "./esm/PanoCursorRaycasterPlugin/index.js"
|
|
176
|
+
},
|
|
177
|
+
"./PanoCompassPlugin": {
|
|
178
|
+
"import": "./esm/PanoCompassPlugin/index.js",
|
|
179
|
+
"require": "./libs/PanoCompassPlugin/index.js",
|
|
180
|
+
"default": "./esm/PanoCompassPlugin/index.js"
|
|
181
|
+
},
|
|
182
|
+
"./Object3DHelperPlugin": {
|
|
183
|
+
"import": "./esm/Object3DHelperPlugin/index.js",
|
|
184
|
+
"require": "./libs/Object3DHelperPlugin/index.js",
|
|
185
|
+
"default": "./esm/Object3DHelperPlugin/index.js"
|
|
186
|
+
},
|
|
187
|
+
"./ModelViewPlugin": {
|
|
188
|
+
"import": "./esm/ModelViewPlugin/index.js",
|
|
189
|
+
"require": "./libs/ModelViewPlugin/index.js",
|
|
190
|
+
"default": "./esm/ModelViewPlugin/index.js"
|
|
191
|
+
},
|
|
192
|
+
"./ModelTVVideoPlugin": {
|
|
193
|
+
"import": "./esm/ModelTVVideoPlugin/index.js",
|
|
194
|
+
"require": "./libs/ModelTVVideoPlugin/index.js",
|
|
195
|
+
"default": "./esm/ModelTVVideoPlugin/index.js"
|
|
196
|
+
},
|
|
197
|
+
"./ModelRoomLabelPlugin": {
|
|
198
|
+
"import": "./esm/ModelRoomLabelPlugin/index.js",
|
|
199
|
+
"require": "./libs/ModelRoomLabelPlugin/index.js",
|
|
200
|
+
"default": "./esm/ModelRoomLabelPlugin/index.js"
|
|
201
|
+
},
|
|
202
|
+
"./ModelItemLabelPlugin": {
|
|
203
|
+
"import": "./esm/ModelItemLabelPlugin/index.js",
|
|
204
|
+
"require": "./libs/ModelItemLabelPlugin/index.js",
|
|
205
|
+
"default": "./esm/ModelItemLabelPlugin/index.js"
|
|
206
|
+
},
|
|
207
|
+
"./ModelEntryDoorGuidePlugin": {
|
|
208
|
+
"import": "./esm/ModelEntryDoorGuidePlugin/index.js",
|
|
209
|
+
"require": "./libs/ModelEntryDoorGuidePlugin/index.js",
|
|
210
|
+
"default": "./esm/ModelEntryDoorGuidePlugin/index.js"
|
|
211
|
+
},
|
|
212
|
+
"./ModelChassisCompassPlugin": {
|
|
213
|
+
"import": "./esm/ModelChassisCompassPlugin/index.js",
|
|
214
|
+
"require": "./libs/ModelChassisCompassPlugin/index.js",
|
|
215
|
+
"default": "./esm/ModelChassisCompassPlugin/index.js"
|
|
216
|
+
},
|
|
217
|
+
"./ItemLabelPlugin": {
|
|
218
|
+
"import": "./esm/ItemLabelPlugin/index.js",
|
|
219
|
+
"require": "./libs/ItemLabelPlugin/index.js",
|
|
220
|
+
"default": "./esm/ItemLabelPlugin/index.js"
|
|
221
|
+
},
|
|
222
|
+
"./GuideLinePlugin": {
|
|
223
|
+
"import": "./esm/GuideLinePlugin/index.js",
|
|
224
|
+
"require": "./libs/GuideLinePlugin/index.js",
|
|
225
|
+
"default": "./esm/GuideLinePlugin/index.js"
|
|
226
|
+
},
|
|
227
|
+
"./CruisePlugin": {
|
|
228
|
+
"import": "./esm/CruisePlugin/index.js",
|
|
229
|
+
"require": "./libs/CruisePlugin/index.js",
|
|
230
|
+
"default": "./esm/CruisePlugin/index.js"
|
|
231
|
+
},
|
|
232
|
+
"./CameraMovementPlugin": {
|
|
233
|
+
"import": "./esm/CameraMovementPlugin/index.js",
|
|
234
|
+
"require": "./libs/CameraMovementPlugin/index.js",
|
|
235
|
+
"default": "./esm/CameraMovementPlugin/index.js"
|
|
236
|
+
},
|
|
237
|
+
"./CSS3DRenderPlugin": {
|
|
238
|
+
"import": "./esm/CSS3DRenderPlugin/index.js",
|
|
239
|
+
"require": "./libs/CSS3DRenderPlugin/index.js",
|
|
240
|
+
"default": "./esm/CSS3DRenderPlugin/index.js"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"scripts": {
|
|
244
|
+
"clean": "rm -rf components dist docs esm libs types",
|
|
245
|
+
"dev": "run-p dev:* generateExports",
|
|
246
|
+
"dev:main": "NODE_ENV=development BUILD_MODULE=main vite build -m development",
|
|
247
|
+
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
248
|
+
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
249
|
+
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
250
|
+
"build": "run-p build:* generateExports",
|
|
251
|
+
"build:main": "NODE_ENV=production BUILD_MODULE=main vite build -m production",
|
|
252
|
+
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
253
|
+
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
254
|
+
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
255
|
+
"docs": "typedoc --options ./typedoc.json",
|
|
256
|
+
"generateExports": "node ./bin/generateExports.cjs"
|
|
87
257
|
}
|
|
88
|
-
}
|
|
258
|
+
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { paramsList as O } from "./params-list.js";
|
|
2
|
-
import { isObject as u } from "./utils.js";
|
|
3
|
-
function r(f, n, s, g, j) {
|
|
4
|
-
const h = [];
|
|
5
|
-
if (!n)
|
|
6
|
-
return h;
|
|
7
|
-
const c = (t) => {
|
|
8
|
-
h.indexOf(t) < 0 && h.push(t);
|
|
9
|
-
};
|
|
10
|
-
if (s && g) {
|
|
11
|
-
const t = g.map(j), o = s.map(j);
|
|
12
|
-
t.join("") !== o.join("") && c("children"), g.length !== s.length && c("children");
|
|
13
|
-
}
|
|
14
|
-
return O.filter((t) => t[0] === "_").map((t) => t.replace(/_/, "")).forEach((t) => {
|
|
15
|
-
if (t in f && t in n)
|
|
16
|
-
if (u(f[t]) && u(n[t])) {
|
|
17
|
-
const o = Object.keys(f[t]), p = Object.keys(n[t]);
|
|
18
|
-
o.length !== p.length ? c(t) : (o.forEach((i) => {
|
|
19
|
-
f[t][i] !== n[t][i] && c(t);
|
|
20
|
-
}), p.forEach((i) => {
|
|
21
|
-
f[t][i] !== n[t][i] && c(t);
|
|
22
|
-
}));
|
|
23
|
-
} else
|
|
24
|
-
f[t] !== n[t] && c(t);
|
|
25
|
-
}), h;
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
r as getChangedParams
|
|
29
|
-
};
|
package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import f from "swiper";
|
|
2
|
-
import { extend as n, isObject as p } from "./utils.js";
|
|
3
|
-
import { paramsList as m } from "./params-list.js";
|
|
4
|
-
function g(a = {}, o = !0) {
|
|
5
|
-
const t = {
|
|
6
|
-
on: {}
|
|
7
|
-
}, e = {}, r = {};
|
|
8
|
-
n(t, f.defaults), n(t, f.extendedDefaults), t._emitClasses = !0, t.init = !1;
|
|
9
|
-
const i = {}, c = m.map((s) => s.replace(/_/, "")), l = Object.assign({}, a);
|
|
10
|
-
return Object.keys(l).forEach((s) => {
|
|
11
|
-
typeof a[s] != "undefined" && (c.indexOf(s) >= 0 ? p(a[s]) ? (t[s] = {}, r[s] = {}, n(t[s], a[s]), n(r[s], a[s])) : (t[s] = a[s], r[s] = a[s]) : s.search(/on[A-Z]/) === 0 && typeof a[s] == "function" ? o ? e[`${s[2].toLowerCase()}${s.substr(3)}`] = a[s] : t.on[`${s[2].toLowerCase()}${s.substr(3)}`] = a[s] : i[s] = a[s]);
|
|
12
|
-
}), ["navigation", "pagination", "scrollbar"].forEach((s) => {
|
|
13
|
-
t[s] === !0 && (t[s] = {}), t[s] === !1 && delete t[s];
|
|
14
|
-
}), {
|
|
15
|
-
params: t,
|
|
16
|
-
passedParams: r,
|
|
17
|
-
rest: i,
|
|
18
|
-
events: e
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
g as getParams
|
|
23
|
-
};
|
package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { needsNavigation as l, needsPagination as r, needsScrollbar as f } from "./utils.js";
|
|
2
|
-
function d({
|
|
3
|
-
el: m,
|
|
4
|
-
nextEl: n,
|
|
5
|
-
prevEl: i,
|
|
6
|
-
paginationEl: o,
|
|
7
|
-
scrollbarEl: t,
|
|
8
|
-
swiper: a
|
|
9
|
-
}, g) {
|
|
10
|
-
l(g) && n && i && (a.params.navigation.nextEl = n, a.originalParams.navigation.nextEl = n, a.params.navigation.prevEl = i, a.originalParams.navigation.prevEl = i), r(g) && o && (a.params.pagination.el = o, a.originalParams.pagination.el = o), f(g) && t && (a.params.scrollbar.el = t, a.originalParams.scrollbar.el = t), a.init(m);
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
d as mountSwiper
|
|
14
|
-
};
|
package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
const e = [
|
|
2
|
-
"modules",
|
|
3
|
-
"init",
|
|
4
|
-
"_direction",
|
|
5
|
-
"touchEventsTarget",
|
|
6
|
-
"initialSlide",
|
|
7
|
-
"_speed",
|
|
8
|
-
"cssMode",
|
|
9
|
-
"updateOnWindowResize",
|
|
10
|
-
"resizeObserver",
|
|
11
|
-
"nested",
|
|
12
|
-
"focusableElements",
|
|
13
|
-
"_enabled",
|
|
14
|
-
"_width",
|
|
15
|
-
"_height",
|
|
16
|
-
"preventInteractionOnTransition",
|
|
17
|
-
"userAgent",
|
|
18
|
-
"url",
|
|
19
|
-
"_edgeSwipeDetection",
|
|
20
|
-
"_edgeSwipeThreshold",
|
|
21
|
-
"_freeMode",
|
|
22
|
-
"_autoHeight",
|
|
23
|
-
"setWrapperSize",
|
|
24
|
-
"virtualTranslate",
|
|
25
|
-
"_effect",
|
|
26
|
-
"breakpoints",
|
|
27
|
-
"_spaceBetween",
|
|
28
|
-
"_slidesPerView",
|
|
29
|
-
"maxBackfaceHiddenSlides",
|
|
30
|
-
"_grid",
|
|
31
|
-
"_slidesPerGroup",
|
|
32
|
-
"_slidesPerGroupSkip",
|
|
33
|
-
"_slidesPerGroupAuto",
|
|
34
|
-
"_centeredSlides",
|
|
35
|
-
"_centeredSlidesBounds",
|
|
36
|
-
"_slidesOffsetBefore",
|
|
37
|
-
"_slidesOffsetAfter",
|
|
38
|
-
"normalizeSlideIndex",
|
|
39
|
-
"_centerInsufficientSlides",
|
|
40
|
-
"_watchOverflow",
|
|
41
|
-
"roundLengths",
|
|
42
|
-
"touchRatio",
|
|
43
|
-
"touchAngle",
|
|
44
|
-
"simulateTouch",
|
|
45
|
-
"_shortSwipes",
|
|
46
|
-
"_longSwipes",
|
|
47
|
-
"longSwipesRatio",
|
|
48
|
-
"longSwipesMs",
|
|
49
|
-
"_followFinger",
|
|
50
|
-
"allowTouchMove",
|
|
51
|
-
"_threshold",
|
|
52
|
-
"touchMoveStopPropagation",
|
|
53
|
-
"touchStartPreventDefault",
|
|
54
|
-
"touchStartForcePreventDefault",
|
|
55
|
-
"touchReleaseOnEdges",
|
|
56
|
-
"uniqueNavElements",
|
|
57
|
-
"_resistance",
|
|
58
|
-
"_resistanceRatio",
|
|
59
|
-
"_watchSlidesProgress",
|
|
60
|
-
"_grabCursor",
|
|
61
|
-
"preventClicks",
|
|
62
|
-
"preventClicksPropagation",
|
|
63
|
-
"_slideToClickedSlide",
|
|
64
|
-
"_preloadImages",
|
|
65
|
-
"updateOnImagesReady",
|
|
66
|
-
"_loop",
|
|
67
|
-
"_loopAdditionalSlides",
|
|
68
|
-
"_loopedSlides",
|
|
69
|
-
"_loopedSlidesLimit",
|
|
70
|
-
"_loopFillGroupWithBlank",
|
|
71
|
-
"loopPreventsSlide",
|
|
72
|
-
"_rewind",
|
|
73
|
-
"_allowSlidePrev",
|
|
74
|
-
"_allowSlideNext",
|
|
75
|
-
"_swipeHandler",
|
|
76
|
-
"_noSwiping",
|
|
77
|
-
"noSwipingClass",
|
|
78
|
-
"noSwipingSelector",
|
|
79
|
-
"passiveListeners",
|
|
80
|
-
"containerModifierClass",
|
|
81
|
-
"slideClass",
|
|
82
|
-
"slideBlankClass",
|
|
83
|
-
"slideActiveClass",
|
|
84
|
-
"slideDuplicateActiveClass",
|
|
85
|
-
"slideVisibleClass",
|
|
86
|
-
"slideDuplicateClass",
|
|
87
|
-
"slideNextClass",
|
|
88
|
-
"slideDuplicateNextClass",
|
|
89
|
-
"slidePrevClass",
|
|
90
|
-
"slideDuplicatePrevClass",
|
|
91
|
-
"wrapperClass",
|
|
92
|
-
"runCallbacksOnInit",
|
|
93
|
-
"observer",
|
|
94
|
-
"observeParents",
|
|
95
|
-
"observeSlideChildren",
|
|
96
|
-
"a11y",
|
|
97
|
-
"_autoplay",
|
|
98
|
-
"_controller",
|
|
99
|
-
"coverflowEffect",
|
|
100
|
-
"cubeEffect",
|
|
101
|
-
"fadeEffect",
|
|
102
|
-
"flipEffect",
|
|
103
|
-
"creativeEffect",
|
|
104
|
-
"cardsEffect",
|
|
105
|
-
"hashNavigation",
|
|
106
|
-
"history",
|
|
107
|
-
"keyboard",
|
|
108
|
-
"lazy",
|
|
109
|
-
"mousewheel",
|
|
110
|
-
"_navigation",
|
|
111
|
-
"_pagination",
|
|
112
|
-
"parallax",
|
|
113
|
-
"_scrollbar",
|
|
114
|
-
"_thumbs",
|
|
115
|
-
"virtual",
|
|
116
|
-
"zoom"
|
|
117
|
-
];
|
|
118
|
-
export {
|
|
119
|
-
e as paramsList
|
|
120
|
-
};
|
package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { isObject as T, extend as C } from "./utils.js";
|
|
2
|
-
function M({
|
|
3
|
-
swiper: t,
|
|
4
|
-
slides: x,
|
|
5
|
-
passedParams: i,
|
|
6
|
-
changedParams: e,
|
|
7
|
-
nextEl: u,
|
|
8
|
-
prevEl: f,
|
|
9
|
-
scrollbarEl: d,
|
|
10
|
-
paginationEl: v
|
|
11
|
-
}) {
|
|
12
|
-
const a = e.filter((n) => n !== "children" && n !== "direction"), {
|
|
13
|
-
params: l,
|
|
14
|
-
pagination: o,
|
|
15
|
-
navigation: r,
|
|
16
|
-
scrollbar: c,
|
|
17
|
-
virtual: b,
|
|
18
|
-
thumbs: z
|
|
19
|
-
} = t;
|
|
20
|
-
let I, g, N, E, h;
|
|
21
|
-
e.includes("thumbs") && i.thumbs && i.thumbs.swiper && l.thumbs && !l.thumbs.swiper && (I = !0), e.includes("controller") && i.controller && i.controller.control && l.controller && !l.controller.control && (g = !0), e.includes("pagination") && i.pagination && (i.pagination.el || v) && (l.pagination || l.pagination === !1) && o && !o.el && (N = !0), e.includes("scrollbar") && i.scrollbar && (i.scrollbar.el || d) && (l.scrollbar || l.scrollbar === !1) && c && !c.el && (E = !0), e.includes("navigation") && i.navigation && (i.navigation.prevEl || f) && (i.navigation.nextEl || u) && (l.navigation || l.navigation === !1) && r && !r.prevEl && !r.nextEl && (h = !0);
|
|
22
|
-
const j = (n) => {
|
|
23
|
-
!t[n] || (t[n].destroy(), n === "navigation" ? (l[n].prevEl = void 0, l[n].nextEl = void 0, t[n].prevEl = void 0, t[n].nextEl = void 0) : (l[n].el = void 0, t[n].el = void 0));
|
|
24
|
-
};
|
|
25
|
-
a.forEach((n) => {
|
|
26
|
-
if (T(l[n]) && T(i[n]))
|
|
27
|
-
C(l[n], i[n]);
|
|
28
|
-
else {
|
|
29
|
-
const S = i[n];
|
|
30
|
-
(S === !0 || S === !1) && (n === "navigation" || n === "pagination" || n === "scrollbar") ? S === !1 && j(n) : l[n] = i[n];
|
|
31
|
-
}
|
|
32
|
-
}), a.includes("controller") && !g && t.controller && t.controller.control && l.controller && l.controller.control && (t.controller.control = l.controller.control), e.includes("children") && x && b && l.virtual.enabled ? (b.slides = x, b.update(!0)) : e.includes("children") && t.lazy && t.params.lazy.enabled && t.lazy.load(), I && z.init() && z.update(!0), g && (t.controller.control = l.controller.control), N && (v && (l.pagination.el = v), o.init(), o.render(), o.update()), E && (d && (l.scrollbar.el = d), c.init(), c.updateSize(), c.setTranslate()), h && (u && (l.navigation.nextEl = u), f && (l.navigation.prevEl = f), r.init(), r.update()), e.includes("allowSlideNext") && (t.allowSlideNext = i.allowSlideNext), e.includes("allowSlidePrev") && (t.allowSlidePrev = i.allowSlidePrev), e.includes("direction") && t.changeDirection(i.direction, !1), t.update();
|
|
33
|
-
}
|
|
34
|
-
export {
|
|
35
|
-
M as updateSwiper
|
|
36
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
function o(n) {
|
|
2
|
-
return typeof n == "object" && n !== null && n.constructor && Object.prototype.toString.call(n).slice(8, -1) === "Object";
|
|
3
|
-
}
|
|
4
|
-
function f(n, t) {
|
|
5
|
-
const i = ["__proto__", "constructor", "prototype"];
|
|
6
|
-
Object.keys(t).filter((e) => i.indexOf(e) < 0).forEach((e) => {
|
|
7
|
-
typeof n[e] == "undefined" ? n[e] = t[e] : o(t[e]) && o(n[e]) && Object.keys(t[e]).length > 0 ? t[e].__swiper__ ? n[e] = t[e] : f(n[e], t[e]) : n[e] = t[e];
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
function l(n = {}) {
|
|
11
|
-
return n.navigation && typeof n.navigation.nextEl == "undefined" && typeof n.navigation.prevEl == "undefined";
|
|
12
|
-
}
|
|
13
|
-
function u(n = {}) {
|
|
14
|
-
return n.pagination && typeof n.pagination.el == "undefined";
|
|
15
|
-
}
|
|
16
|
-
function c(n = {}) {
|
|
17
|
-
return n.scrollbar && typeof n.scrollbar.el == "undefined";
|
|
18
|
-
}
|
|
19
|
-
function d(n = "") {
|
|
20
|
-
const t = n.split(" ").map((e) => e.trim()).filter((e) => !!e), i = [];
|
|
21
|
-
return t.forEach((e) => {
|
|
22
|
-
i.indexOf(e) < 0 && i.push(e);
|
|
23
|
-
}), i.join(" ");
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
f as extend,
|
|
27
|
-
o as isObject,
|
|
28
|
-
l as needsNavigation,
|
|
29
|
-
u as needsPagination,
|
|
30
|
-
c as needsScrollbar,
|
|
31
|
-
d as uniqueClasses
|
|
32
|
-
};
|