@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
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as B, init as F, safe_not_equal as G, assign as h, element as D, set_attributes as z, insert as E, group_outros as H, transition_out as v, check_outros as J, transition_in as b, get_spread_update as K, detach as S, compute_rest_props as O, exclude_internal_props as L, binding_callbacks as Q, create_slot as q, update_slot_base as A, get_all_dirty_from_scope as N, get_slot_changes as P, attr as w } from "svelte/internal";
|
|
2
|
-
import { getContext as R, onMount as T, afterUpdate as W, beforeUpdate as X, onDestroy as Y } from "svelte";
|
|
3
|
-
import { uniqueClasses as C } from "../components-shared/utils.js";
|
|
4
|
-
const Z = (s) => ({ data: s & 32 }), I = (s) => ({ data: s[5] }), x = (s) => ({ data: s & 32 }), y = (s) => ({ data: s[5] });
|
|
5
|
-
function $(s) {
|
|
6
|
-
let e;
|
|
7
|
-
const i = s[8].default, t = q(i, s, s[7], I);
|
|
8
|
-
return {
|
|
9
|
-
c() {
|
|
10
|
-
t && t.c();
|
|
11
|
-
},
|
|
12
|
-
m(o, n) {
|
|
13
|
-
t && t.m(o, n), e = !0;
|
|
14
|
-
},
|
|
15
|
-
p(o, n) {
|
|
16
|
-
t && t.p && (!e || n & 160) && A(
|
|
17
|
-
t,
|
|
18
|
-
i,
|
|
19
|
-
o,
|
|
20
|
-
o[7],
|
|
21
|
-
e ? P(i, o[7], n, Z) : N(o[7]),
|
|
22
|
-
I
|
|
23
|
-
);
|
|
24
|
-
},
|
|
25
|
-
i(o) {
|
|
26
|
-
e || (b(t, o), e = !0);
|
|
27
|
-
},
|
|
28
|
-
o(o) {
|
|
29
|
-
v(t, o), e = !1;
|
|
30
|
-
},
|
|
31
|
-
d(o) {
|
|
32
|
-
t && t.d(o);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
function ee(s) {
|
|
37
|
-
let e, i, t;
|
|
38
|
-
const o = s[8].default, n = q(o, s, s[7], y);
|
|
39
|
-
return {
|
|
40
|
-
c() {
|
|
41
|
-
e = D("div"), n && n.c(), w(e, "class", "swiper-zoom-container"), w(e, "data-swiper-zoom", i = typeof s[0] == "number" ? s[0] : void 0);
|
|
42
|
-
},
|
|
43
|
-
m(a, d) {
|
|
44
|
-
E(a, e, d), n && n.m(e, null), t = !0;
|
|
45
|
-
},
|
|
46
|
-
p(a, d) {
|
|
47
|
-
n && n.p && (!t || d & 160) && A(
|
|
48
|
-
n,
|
|
49
|
-
o,
|
|
50
|
-
a,
|
|
51
|
-
a[7],
|
|
52
|
-
t ? P(o, a[7], d, x) : N(a[7]),
|
|
53
|
-
y
|
|
54
|
-
), (!t || d & 1 && i !== (i = typeof a[0] == "number" ? a[0] : void 0)) && w(e, "data-swiper-zoom", i);
|
|
55
|
-
},
|
|
56
|
-
i(a) {
|
|
57
|
-
t || (b(n, a), t = !0);
|
|
58
|
-
},
|
|
59
|
-
o(a) {
|
|
60
|
-
v(n, a), t = !1;
|
|
61
|
-
},
|
|
62
|
-
d(a) {
|
|
63
|
-
a && S(e), n && n.d(a);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function te(s) {
|
|
68
|
-
let e, i, t, o, n;
|
|
69
|
-
const a = [ee, $], d = [];
|
|
70
|
-
function p(l, r) {
|
|
71
|
-
return l[0] ? 0 : 1;
|
|
72
|
-
}
|
|
73
|
-
i = p(s), t = d[i] = a[i](s);
|
|
74
|
-
let _ = [
|
|
75
|
-
{
|
|
76
|
-
class: o = C(`${s[3]}${s[2] ? ` ${s[2]}` : ""}`)
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"data-swiper-slide-index": s[1]
|
|
80
|
-
},
|
|
81
|
-
s[6]
|
|
82
|
-
], c = {};
|
|
83
|
-
for (let l = 0; l < _.length; l += 1)
|
|
84
|
-
c = h(c, _[l]);
|
|
85
|
-
return {
|
|
86
|
-
c() {
|
|
87
|
-
e = D("div"), t.c(), z(e, c);
|
|
88
|
-
},
|
|
89
|
-
m(l, r) {
|
|
90
|
-
E(l, e, r), d[i].m(e, null), s[9](e), n = !0;
|
|
91
|
-
},
|
|
92
|
-
p(l, [r]) {
|
|
93
|
-
let f = i;
|
|
94
|
-
i = p(l), i === f ? d[i].p(l, r) : (H(), v(d[f], 1, 1, () => {
|
|
95
|
-
d[f] = null;
|
|
96
|
-
}), J(), t = d[i], t ? t.p(l, r) : (t = d[i] = a[i](l), t.c()), b(t, 1), t.m(e, null)), z(e, c = K(_, [
|
|
97
|
-
(!n || r & 12 && o !== (o = C(`${l[3]}${l[2] ? ` ${l[2]}` : ""}`))) && { class: o },
|
|
98
|
-
(!n || r & 2) && {
|
|
99
|
-
"data-swiper-slide-index": l[1]
|
|
100
|
-
},
|
|
101
|
-
r & 64 && l[6]
|
|
102
|
-
]));
|
|
103
|
-
},
|
|
104
|
-
i(l) {
|
|
105
|
-
n || (b(t), n = !0);
|
|
106
|
-
},
|
|
107
|
-
o(l) {
|
|
108
|
-
v(t), n = !1;
|
|
109
|
-
},
|
|
110
|
-
d(l) {
|
|
111
|
-
l && S(e), d[i].d(), s[9](null);
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
function se(s, e, i) {
|
|
116
|
-
let t;
|
|
117
|
-
const o = ["zoom", "virtualIndex", "class"];
|
|
118
|
-
let n = O(e, o), { $$slots: a = {}, $$scope: d } = e, { zoom: p = void 0 } = e, { virtualIndex: _ = void 0 } = e, { class: c = void 0 } = e, l = null, r = "swiper-slide", f = R("swiper"), g = !1;
|
|
119
|
-
const k = (u, V, j) => {
|
|
120
|
-
V === l && i(3, r = j);
|
|
121
|
-
}, m = () => {
|
|
122
|
-
!f || g || (f.on("_slideClass", k), g = !0);
|
|
123
|
-
}, U = () => {
|
|
124
|
-
!f || (f.off("_slideClass", k), g = !1);
|
|
125
|
-
};
|
|
126
|
-
T(() => {
|
|
127
|
-
typeof _ != "undefined" && (i(
|
|
128
|
-
4,
|
|
129
|
-
l.onSwiper = (u) => {
|
|
130
|
-
f = u, m();
|
|
131
|
-
},
|
|
132
|
-
l
|
|
133
|
-
), m());
|
|
134
|
-
}), W(() => {
|
|
135
|
-
if (!(!l || !f)) {
|
|
136
|
-
if (f.destroyed) {
|
|
137
|
-
r !== "swiper-slide" && i(3, r = "swiper-slide");
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
m();
|
|
141
|
-
}
|
|
142
|
-
}), X(() => {
|
|
143
|
-
m();
|
|
144
|
-
}), Y(() => {
|
|
145
|
-
!f || U();
|
|
146
|
-
});
|
|
147
|
-
function M(u) {
|
|
148
|
-
Q[u ? "unshift" : "push"](() => {
|
|
149
|
-
l = u, i(4, l);
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
return s.$$set = (u) => {
|
|
153
|
-
e = h(h({}, e), L(u)), i(6, n = O(e, o)), "zoom" in u && i(0, p = u.zoom), "virtualIndex" in u && i(1, _ = u.virtualIndex), "class" in u && i(2, c = u.class), "$$scope" in u && i(7, d = u.$$scope);
|
|
154
|
-
}, s.$$.update = () => {
|
|
155
|
-
s.$$.dirty & 8 && i(5, t = {
|
|
156
|
-
isActive: r.indexOf("swiper-slide-active") >= 0 || r.indexOf("swiper-slide-duplicate-active") >= 0,
|
|
157
|
-
isVisible: r.indexOf("swiper-slide-visible") >= 0,
|
|
158
|
-
isDuplicate: r.indexOf("swiper-slide-duplicate") >= 0,
|
|
159
|
-
isPrev: r.indexOf("swiper-slide-prev") >= 0 || r.indexOf("swiper-slide-duplicate-prev") >= 0,
|
|
160
|
-
isNext: r.indexOf("swiper-slide-next") >= 0 || r.indexOf("swiper-slide-duplicate-next") >= 0
|
|
161
|
-
});
|
|
162
|
-
}, [
|
|
163
|
-
p,
|
|
164
|
-
_,
|
|
165
|
-
c,
|
|
166
|
-
r,
|
|
167
|
-
l,
|
|
168
|
-
t,
|
|
169
|
-
n,
|
|
170
|
-
d,
|
|
171
|
-
a,
|
|
172
|
-
M
|
|
173
|
-
];
|
|
174
|
-
}
|
|
175
|
-
class oe extends B {
|
|
176
|
-
constructor(e) {
|
|
177
|
-
super(), F(this, e, se, te, G, { zoom: 0, virtualIndex: 1, class: 2 });
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
export {
|
|
181
|
-
oe as default
|
|
182
|
-
};
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as _e, init as pe, safe_not_equal as ue, create_slot as F, assign as T, element as M, space as C, attr as R, set_attributes as Y, insert as A, append as E, update_slot_base as G, get_all_dirty_from_scope as H, get_slot_changes as J, get_spread_update as de, transition_in as K, transition_out as L, detach as I, compute_rest_props as Z, exclude_internal_props as me, noop as X, binding_callbacks as Q } from "svelte/internal";
|
|
2
|
-
import { createEventDispatcher as ce, setContext as we, onMount as ge, afterUpdate as ve, onDestroy as he, tick as be } from "svelte";
|
|
3
|
-
import De from "swiper";
|
|
4
|
-
import { getParams as Pe } from "../components-shared/get-params.js";
|
|
5
|
-
import { mountSwiper as Se } from "../components-shared/mount-swiper.js";
|
|
6
|
-
import { needsNavigation as y, needsScrollbar as $, needsPagination as x, uniqueClasses as ee, extend as te } from "../components-shared/utils.js";
|
|
7
|
-
import { getChangedParams as ke } from "../components-shared/get-changed-params.js";
|
|
8
|
-
import { updateSwiper as Ee } from "../components-shared/update-swiper.js";
|
|
9
|
-
const Ce = (e) => ({ virtualData: e & 512 }), se = (e) => ({ virtualData: e[9] }), ze = (e) => ({ virtualData: e & 512 }), ne = (e) => ({ virtualData: e[9] }), Be = (e) => ({ virtualData: e & 512 }), le = (e) => ({ virtualData: e[9] }), qe = (e) => ({ virtualData: e & 512 }), ie = (e) => ({ virtualData: e[9] }), Ne = (e) => ({ virtualData: e & 512 }), re = (e) => ({ virtualData: e[9] });
|
|
10
|
-
function ae(e) {
|
|
11
|
-
let s, i, o;
|
|
12
|
-
return {
|
|
13
|
-
c() {
|
|
14
|
-
s = M("div"), i = C(), o = M("div"), R(s, "class", "swiper-button-prev"), R(o, "class", "swiper-button-next");
|
|
15
|
-
},
|
|
16
|
-
m(w, k) {
|
|
17
|
-
A(w, s, k), e[13](s), A(w, i, k), A(w, o, k), e[14](o);
|
|
18
|
-
},
|
|
19
|
-
p: X,
|
|
20
|
-
d(w) {
|
|
21
|
-
w && I(s), e[13](null), w && I(i), w && I(o), e[14](null);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
function oe(e) {
|
|
26
|
-
let s;
|
|
27
|
-
return {
|
|
28
|
-
c() {
|
|
29
|
-
s = M("div"), R(s, "class", "swiper-scrollbar");
|
|
30
|
-
},
|
|
31
|
-
m(i, o) {
|
|
32
|
-
A(i, s, o), e[15](s);
|
|
33
|
-
},
|
|
34
|
-
p: X,
|
|
35
|
-
d(i) {
|
|
36
|
-
i && I(s), e[15](null);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function fe(e) {
|
|
41
|
-
let s;
|
|
42
|
-
return {
|
|
43
|
-
c() {
|
|
44
|
-
s = M("div"), R(s, "class", "swiper-pagination");
|
|
45
|
-
},
|
|
46
|
-
m(i, o) {
|
|
47
|
-
A(i, s, o), e[16](s);
|
|
48
|
-
},
|
|
49
|
-
p: X,
|
|
50
|
-
d(i) {
|
|
51
|
-
i && I(s), e[16](null);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function Ue(e) {
|
|
56
|
-
let s, i, o, w, k, O, q = y(e[2]), N, U = $(e[2]), z, l = x(e[2]), B, v, r;
|
|
57
|
-
const h = e[12]["container-start"], m = F(h, e, e[11], re), b = e[12]["wrapper-start"], f = F(b, e, e[11], ie), D = e[12].default, _ = F(D, e, e[11], le), P = e[12]["wrapper-end"], c = F(P, e, e[11], ne);
|
|
58
|
-
let u = q && ae(e), d = U && oe(e), p = l && fe(e);
|
|
59
|
-
const V = e[12]["container-end"], g = F(V, e, e[11], se);
|
|
60
|
-
let W = [
|
|
61
|
-
{
|
|
62
|
-
class: v = ee(`${e[1]}${e[0] ? ` ${e[0]}` : ""}`)
|
|
63
|
-
},
|
|
64
|
-
e[3]
|
|
65
|
-
], j = {};
|
|
66
|
-
for (let t = 0; t < W.length; t += 1)
|
|
67
|
-
j = T(j, W[t]);
|
|
68
|
-
return {
|
|
69
|
-
c() {
|
|
70
|
-
s = M("div"), m && m.c(), i = C(), o = M("div"), f && f.c(), w = C(), _ && _.c(), k = C(), c && c.c(), O = C(), u && u.c(), N = C(), d && d.c(), z = C(), p && p.c(), B = C(), g && g.c(), R(o, "class", "swiper-wrapper"), Y(s, j);
|
|
71
|
-
},
|
|
72
|
-
m(t, a) {
|
|
73
|
-
A(t, s, a), m && m.m(s, null), E(s, i), E(s, o), f && f.m(o, null), E(o, w), _ && _.m(o, null), E(o, k), c && c.m(o, null), E(s, O), u && u.m(s, null), E(s, N), d && d.m(s, null), E(s, z), p && p.m(s, null), E(s, B), g && g.m(s, null), e[17](s), r = !0;
|
|
74
|
-
},
|
|
75
|
-
p(t, [a]) {
|
|
76
|
-
m && m.p && (!r || a & 2560) && G(
|
|
77
|
-
m,
|
|
78
|
-
h,
|
|
79
|
-
t,
|
|
80
|
-
t[11],
|
|
81
|
-
r ? J(h, t[11], a, Ne) : H(t[11]),
|
|
82
|
-
re
|
|
83
|
-
), f && f.p && (!r || a & 2560) && G(
|
|
84
|
-
f,
|
|
85
|
-
b,
|
|
86
|
-
t,
|
|
87
|
-
t[11],
|
|
88
|
-
r ? J(b, t[11], a, qe) : H(t[11]),
|
|
89
|
-
ie
|
|
90
|
-
), _ && _.p && (!r || a & 2560) && G(
|
|
91
|
-
_,
|
|
92
|
-
D,
|
|
93
|
-
t,
|
|
94
|
-
t[11],
|
|
95
|
-
r ? J(D, t[11], a, Be) : H(t[11]),
|
|
96
|
-
le
|
|
97
|
-
), c && c.p && (!r || a & 2560) && G(
|
|
98
|
-
c,
|
|
99
|
-
P,
|
|
100
|
-
t,
|
|
101
|
-
t[11],
|
|
102
|
-
r ? J(P, t[11], a, ze) : H(t[11]),
|
|
103
|
-
ne
|
|
104
|
-
), a & 4 && (q = y(t[2])), q ? u ? u.p(t, a) : (u = ae(t), u.c(), u.m(s, N)) : u && (u.d(1), u = null), a & 4 && (U = $(t[2])), U ? d ? d.p(t, a) : (d = oe(t), d.c(), d.m(s, z)) : d && (d.d(1), d = null), a & 4 && (l = x(t[2])), l ? p ? p.p(t, a) : (p = fe(t), p.c(), p.m(s, B)) : p && (p.d(1), p = null), g && g.p && (!r || a & 2560) && G(
|
|
105
|
-
g,
|
|
106
|
-
V,
|
|
107
|
-
t,
|
|
108
|
-
t[11],
|
|
109
|
-
r ? J(V, t[11], a, Ce) : H(t[11]),
|
|
110
|
-
se
|
|
111
|
-
), Y(s, j = de(W, [
|
|
112
|
-
(!r || a & 3 && v !== (v = ee(`${t[1]}${t[0] ? ` ${t[0]}` : ""}`))) && { class: v },
|
|
113
|
-
a & 8 && t[3]
|
|
114
|
-
]));
|
|
115
|
-
},
|
|
116
|
-
i(t) {
|
|
117
|
-
r || (K(m, t), K(f, t), K(_, t), K(c, t), K(g, t), r = !0);
|
|
118
|
-
},
|
|
119
|
-
o(t) {
|
|
120
|
-
L(m, t), L(f, t), L(_, t), L(c, t), L(g, t), r = !1;
|
|
121
|
-
},
|
|
122
|
-
d(t) {
|
|
123
|
-
t && I(s), m && m.d(t), f && f.d(t), _ && _.d(t), c && c.d(t), u && u.d(), d && d.d(), p && p.d(), g && g.d(t), e[17](null);
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
function je(e, s, i) {
|
|
128
|
-
const o = ["class", "swiper"];
|
|
129
|
-
let w = Z(s, o), { $$slots: k = {}, $$scope: O } = s;
|
|
130
|
-
const q = ce();
|
|
131
|
-
let { class: N = void 0 } = s, U = "swiper", z = !1, l = null, B = null, v, r, h, m, b = null, f = null, D = null, _ = null, P = null, c = { slides: [] };
|
|
132
|
-
function u() {
|
|
133
|
-
return l;
|
|
134
|
-
}
|
|
135
|
-
const d = (n) => {
|
|
136
|
-
i(9, c = n), be().then(() => {
|
|
137
|
-
l.$wrapperEl.children(".swiper-slide").each((S) => {
|
|
138
|
-
S.onSwiper && S.onSwiper(l);
|
|
139
|
-
}), l.updateSlides(), l.updateProgress(), l.updateSlidesClasses(), l.lazy && l.params.lazy.enabled && l.lazy.load();
|
|
140
|
-
});
|
|
141
|
-
}, p = () => {
|
|
142
|
-
v = Pe(w), i(2, r = v.params), h = v.passedParams, i(3, m = v.rest);
|
|
143
|
-
};
|
|
144
|
-
p(), B = h;
|
|
145
|
-
const V = () => {
|
|
146
|
-
z = !0;
|
|
147
|
-
};
|
|
148
|
-
if (r.onAny = (n, ...S) => {
|
|
149
|
-
q(n, S);
|
|
150
|
-
}, Object.assign(r.on, {
|
|
151
|
-
_beforeBreakpoint: V,
|
|
152
|
-
_containerClasses(n, S) {
|
|
153
|
-
i(1, U = S);
|
|
154
|
-
}
|
|
155
|
-
}), l = new De(r), we("swiper", l), l.virtual && l.params.virtual.enabled) {
|
|
156
|
-
const n = {
|
|
157
|
-
cache: !1,
|
|
158
|
-
renderExternal: (S) => {
|
|
159
|
-
d(S), r.virtual && r.virtual.renderExternal && r.virtual.renderExternal(S);
|
|
160
|
-
},
|
|
161
|
-
renderExternalUpdate: !1
|
|
162
|
-
};
|
|
163
|
-
te(l.params.virtual, n), te(l.originalParams.virtual, n);
|
|
164
|
-
}
|
|
165
|
-
ge(() => {
|
|
166
|
-
!b || (Se(
|
|
167
|
-
{
|
|
168
|
-
el: b,
|
|
169
|
-
nextEl: D,
|
|
170
|
-
prevEl: f,
|
|
171
|
-
paginationEl: P,
|
|
172
|
-
scrollbarEl: _,
|
|
173
|
-
swiper: l
|
|
174
|
-
},
|
|
175
|
-
r
|
|
176
|
-
), q("swiper", [l]), !r.virtual && l.slides.each((n) => {
|
|
177
|
-
n.onSwiper && n.onSwiper(l);
|
|
178
|
-
}));
|
|
179
|
-
}), ve(() => {
|
|
180
|
-
if (!l)
|
|
181
|
-
return;
|
|
182
|
-
p();
|
|
183
|
-
const n = ke(h, B);
|
|
184
|
-
(n.length || z) && l && !l.destroyed && Ee({
|
|
185
|
-
swiper: l,
|
|
186
|
-
passedParams: h,
|
|
187
|
-
changedParams: n,
|
|
188
|
-
nextEl: D,
|
|
189
|
-
prevEl: f,
|
|
190
|
-
scrollbarEl: _,
|
|
191
|
-
paginationEl: P
|
|
192
|
-
}), z = !1, B = h;
|
|
193
|
-
}), he(() => {
|
|
194
|
-
typeof window != "undefined" && l && !l.destroyed && l.destroy(!0, !1);
|
|
195
|
-
});
|
|
196
|
-
function g(n) {
|
|
197
|
-
Q[n ? "unshift" : "push"](() => {
|
|
198
|
-
f = n, i(5, f);
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
function W(n) {
|
|
202
|
-
Q[n ? "unshift" : "push"](() => {
|
|
203
|
-
D = n, i(6, D);
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
function j(n) {
|
|
207
|
-
Q[n ? "unshift" : "push"](() => {
|
|
208
|
-
_ = n, i(7, _);
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
function t(n) {
|
|
212
|
-
Q[n ? "unshift" : "push"](() => {
|
|
213
|
-
P = n, i(8, P);
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
function a(n) {
|
|
217
|
-
Q[n ? "unshift" : "push"](() => {
|
|
218
|
-
b = n, i(4, b);
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
return e.$$set = (n) => {
|
|
222
|
-
s = T(T({}, s), me(n)), i(27, w = Z(s, o)), "class" in n && i(0, N = n.class), "$$scope" in n && i(11, O = n.$$scope);
|
|
223
|
-
}, [
|
|
224
|
-
N,
|
|
225
|
-
U,
|
|
226
|
-
r,
|
|
227
|
-
m,
|
|
228
|
-
b,
|
|
229
|
-
f,
|
|
230
|
-
D,
|
|
231
|
-
_,
|
|
232
|
-
P,
|
|
233
|
-
c,
|
|
234
|
-
u,
|
|
235
|
-
O,
|
|
236
|
-
k,
|
|
237
|
-
g,
|
|
238
|
-
W,
|
|
239
|
-
j,
|
|
240
|
-
t,
|
|
241
|
-
a
|
|
242
|
-
];
|
|
243
|
-
}
|
|
244
|
-
class He extends _e {
|
|
245
|
-
constructor(s) {
|
|
246
|
-
super(), pe(this, s, je, Ue, ue, { class: 0, swiper: 10 });
|
|
247
|
-
}
|
|
248
|
-
get swiper() {
|
|
249
|
-
return this.$$.ctx[10];
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
export {
|
|
253
|
-
He as default
|
|
254
|
-
};
|