@realsee/dnalogel 2.16.0-10 → 2.16.0-12
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/components/index.js +688 -240
- package/dist/CruisePlugin/typing.d.ts +1 -1
- package/dist/GuideLinePlugin/Controller.d.ts +5 -4
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +7 -1
- package/dist/GuideLinePlugin/typing.d.ts +8 -9
- package/dist/GuideLinePlugin/utils/index.d.ts +1 -1
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/line.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +2 -2
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -3
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +1 -1
- package/dist/PanoVideoPlugin/utils/index.d.ts +1 -1
- package/dist/index.cjs.js +100 -86
- package/dist/index.js +14859 -8028
- package/dist/index.umd.js +93 -79
- package/dist/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/dist/shared-utils/animationFrame/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
- package/dist/shared-utils/five/mode.d.ts +1 -1
- package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +29 -18
- 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 +19 -19
- 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/PaintBrushTypeEnum.html +8 -8
- 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/PanoVideoPlugin.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.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +18 -7
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +7 -18
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/EventMap.html +15 -15
- 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/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +26 -26
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
- package/docs/interfaces/GuideLinePluginType.Route.html +17 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.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 +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- 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 +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- 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/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.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/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -7
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.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/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.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/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.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/GuideLinePluginType.GuideLineItem.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -6
- package/docs/types/GuideLinePluginType.PathItem.html +5 -6
- package/docs/types/GuideLinePluginType.PluginData.html +17 -7
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.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/MediaStore.html +5 -5
- package/docs/types/ModelElement.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/PanoIndex.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/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.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/StickType.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/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.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/types/WorkCode.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/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +48 -14
- package/libs/CSS3DRenderPlugin/index.js +7 -9
- package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
- package/libs/CameraMovementPlugin/index.js +7 -9
- package/libs/CruisePlugin/Controller.js +163 -54
- package/libs/CruisePlugin/index.js +38 -32
- package/libs/CruisePlugin/typing.d.ts +1 -1
- package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
- package/libs/GuideLinePlugin/Components/Tag.js +14 -2
- package/libs/GuideLinePlugin/Controller.d.ts +5 -4
- package/libs/GuideLinePlugin/Controller.js +147 -135
- package/libs/GuideLinePlugin/GuideLineItem/index.js +26 -30
- package/libs/GuideLinePlugin/GuideLineItem.js +30 -23
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +126 -72
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +7 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +30 -23
- package/libs/GuideLinePlugin/index.js +40 -33
- package/libs/GuideLinePlugin/typing.d.ts +8 -9
- package/libs/GuideLinePlugin/typing.js +1 -34
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
- package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
- package/libs/GuideLinePlugin/utils/index.d.ts +1 -1
- package/libs/GuideLinePlugin/utils/index.js +9 -44
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
- package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
- package/libs/ItemLabelPlugin/Plugin.js +2 -2
- package/libs/ItemLabelPlugin/index.js +8 -9
- package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
- package/libs/ModelChassisCompassPlugin/index.js +3 -4
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
- package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
- package/libs/ModelItemLabelPlugin/index.js +6 -7
- package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
- package/libs/ModelTVVideoPlugin/Plugin.js +7 -9
- package/libs/ModelTVVideoPlugin/index.js +7 -10
- package/libs/ModelViewPlugin/Plugin.js +3 -3
- package/libs/ModelViewPlugin/index.js +3 -4
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +62 -42
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
- package/libs/Object3DHelperPlugin/index.js +9 -11
- package/libs/PanoCompassPlugin/Controller.js +54 -4
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
- package/libs/PanoCompassPlugin/index.js +3 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
- package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
- package/libs/PanoDoorLabelPlugin/index.js +5 -7
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +25 -7
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +11 -7
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +7 -7
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +44 -14
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/index.js +7 -7
- package/libs/PanoMeasurePlugin/Model/line.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Model/line.js +9 -9
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +26 -25
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +8 -7
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -13
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +5 -6
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
- package/libs/PanoMeasurePlugin/index.js +15 -16
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +2 -2
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -4
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/typings/index.js +1 -20
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +8 -11
- package/libs/PanoRulerPlugin/Plugin.js +54 -54
- package/libs/PanoRulerPlugin/index.js +3 -4
- package/libs/PanoRulerProPlugin/Controller.js +14 -15
- package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
- package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
- package/libs/PanoRulerProPlugin/index.js +4 -5
- package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
- package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
- package/libs/PanoSpatialTagPlugin/index.js +4 -7
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
- package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +220 -58
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
- package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +97 -20
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +68 -17
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +71 -31
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +171 -48
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +43 -20
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +80 -27
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +41 -17
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +175 -36
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +99 -34
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +38 -23
- package/libs/PanoTagPlugin/Components/Tag/index.js +266 -44
- package/libs/PanoTagPlugin/Components/TagContainer.js +112 -61
- package/libs/PanoTagPlugin/Components/TagItem.js +202 -31
- package/libs/PanoTagPlugin/controller/TagCache.js +22 -20
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +40 -21
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +50 -19
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +30 -16
- package/libs/PanoTagPlugin/controller/index.js +93 -31
- package/libs/PanoTagPlugin/index.js +21 -22
- package/libs/PanoTagPlugin/tag.config.js +4 -0
- package/libs/PanoTagPlugin/typings/index.js +4 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.js +2 -5
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +8 -6
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
- package/libs/PanoTagPlugin/utils/index.js +33 -35
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
- package/libs/PanoTagPlugin/utils/planeNormal.js +2 -4
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +8 -10
- package/libs/PanoVideoPlugin/Controller.js +54 -40
- package/libs/PanoVideoPlugin/VideoMeshController.js +90 -44
- package/libs/PanoVideoPlugin/index.js +7 -8
- package/libs/PanoVideoPlugin/utils/index.d.ts +1 -1
- package/libs/PanoVideoPlugin/utils/index.js +0 -1
- package/libs/_commonjsHelpers.js +4 -0
- package/libs/base/BasePlugin.js +24 -16
- package/libs/base/BasePluginWithData.js +2 -2
- package/libs/components/PaintBrush/Controller.js +15 -4
- package/libs/components/PaintBrush/Subscribe.js +37 -0
- package/libs/components/PaintBrush/index.js +17 -4
- package/libs/components/PaintBrush/tween.js +2 -2
- package/libs/components/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +24 -6
- package/libs/floorplan/Components/Camera.js +73 -27
- package/libs/floorplan/Components/Compass.js +20 -3
- package/libs/floorplan/Components/CurrentFloor.js +189 -50
- package/libs/floorplan/Components/Main.js +202 -54
- package/libs/floorplan/Components/Normalmage.js +5 -2
- package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
- package/libs/floorplan/Components/SvgImage.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +118 -76
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +97 -54
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -37
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -7
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +84 -65
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/index.js +2 -4
- package/libs/floorplan/typings/floorplanServerData.js +80 -80
- package/libs/index.js +136 -129
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.js +2 -3
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
- package/libs/shared-utils/Object3DHelper/index.js +15 -0
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -2
- package/libs/shared-utils/Subscribe.js +38 -1
- package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
- package/libs/shared-utils/animationFrame/index.d.ts +1 -1
- package/libs/shared-utils/animationFrame/index.js +14 -14
- package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
- package/libs/shared-utils/animationFrame/tween.js +15 -15
- package/libs/shared-utils/audio.js +9 -9
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
- package/libs/shared-utils/createCanvasTextTexture.js +3 -3
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/five/index.js +1 -1
- package/libs/shared-utils/five/mode.d.ts +1 -1
- package/libs/shared-utils/five/mode.js +2 -3
- package/libs/shared-utils/index.js +15 -15
- package/libs/shared-utils/log.js +2 -2
- package/libs/shared-utils/math/Interval.js +2 -0
- package/libs/shared-utils/math/Rectangle.js +2 -0
- package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/libs/shared-utils/three/FivePointSelector.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +10 -7
- package/libs/shared-utils/three/PointDomHelper.js +12 -11
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/loadTexture.js +10 -10
- package/libs/shared-utils/threex/domevents/index.js +2 -2
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
- package/libs/vendor/classnames/index.js +47 -0
- package/libs/vendor/easy-reactive/main.js +3 -0
- package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
- package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
- package/libs/vendor/gl-vec2/add.js +7 -0
- package/libs/vendor/gl-vec2/dot.js +7 -0
- package/libs/vendor/gl-vec2/normalize.js +8 -0
- package/libs/vendor/gl-vec2/set.js +7 -0
- package/libs/vendor/gl-vec2/subtract.js +7 -0
- package/libs/vendor/lodash.clonedeep/index.js +457 -0
- package/libs/vendor/lodash.get/index.js +236 -0
- package/libs/vendor/lodash.isequal/index.js +489 -0
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
- package/libs/vendor/polyline-miter-util/index.js +18 -0
- package/libs/vendor/polyline-normals/index.js +28 -0
- package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
- package/libs/vendor/svelte/easing/index.js +4 -5
- package/libs/vendor/svelte/index.js +1 -1
- package/libs/vendor/svelte/internal/index.js +412 -388
- package/libs/vendor/svelte/store/index.js +6 -6
- package/libs/vendor/svelte/transition/index.js +23 -20
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
- package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
- package/package.json +11 -13
- package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +0 -77
- package/libs/typings/math.type.js +0 -1
- package/libs/vendor/simply-reactive/main.js +0 -3
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
|
@@ -30,38 +30,92 @@ function tt(e) {
|
|
|
30
30
|
He(e, "svelte-sme1z4", ":root{--sc-color-rgb-light-50p:rgba(93, 93, 93, 0.5);--sc-color-rgb-light:#5d5d5d;--sc-color-hex-dark-50p:rgba(30, 30, 30, 0.5);--sc-color-hex-dark:#1e1e1e}.sc-carousel__carousel-container.svelte-sme1z4{display:flex;width:100%;flex-direction:column;align-items:center}.sc-carousel__content-container.svelte-sme1z4{position:relative;display:flex;width:100%}.sc-carousel__pages-window.svelte-sme1z4{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative}.sc-carousel__pages-container.svelte-sme1z4{width:100%;display:flex;transition-property:transform}.sc-carousel__arrow-container.svelte-sme1z4{padding:5px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.sc-carousel-progress__container.svelte-sme1z4{width:100%;height:5px;background-color:var(--sc-color-rgb-light-50p);position:absolute;bottom:0}.sc-carousel-button{all:unset;cursor:pointer}.sc-carousel-button:focus{outline:5px auto}");
|
|
31
31
|
}
|
|
32
32
|
const nt = (e) => ({
|
|
33
|
-
currentPageIndex: e[0] &
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
currentPageIndex: e[0] & /*currentPageIndex*/
|
|
34
|
+
32,
|
|
35
|
+
pagesCount: e[0] & /*pagesCount*/
|
|
36
|
+
1024,
|
|
37
|
+
loaded: e[0] & /*loaded*/
|
|
38
|
+
64
|
|
36
39
|
}), ue = (e) => ({
|
|
37
|
-
currentPageIndex:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
currentPageIndex: (
|
|
41
|
+
/*currentPageIndex*/
|
|
42
|
+
e[5]
|
|
43
|
+
),
|
|
44
|
+
pagesCount: (
|
|
45
|
+
/*pagesCount*/
|
|
46
|
+
e[10]
|
|
47
|
+
),
|
|
48
|
+
showPage: (
|
|
49
|
+
/*handlePageChange*/
|
|
50
|
+
e[15]
|
|
51
|
+
),
|
|
52
|
+
loaded: (
|
|
53
|
+
/*loaded*/
|
|
54
|
+
e[6]
|
|
55
|
+
)
|
|
41
56
|
}), ot = (e) => ({
|
|
42
|
-
loaded: e[0] &
|
|
43
|
-
|
|
57
|
+
loaded: e[0] & /*loaded*/
|
|
58
|
+
64,
|
|
59
|
+
currentPageIndex: e[0] & /*currentPageIndex*/
|
|
60
|
+
32
|
|
44
61
|
}), ce = (e) => ({
|
|
45
|
-
showNextPage:
|
|
46
|
-
|
|
47
|
-
|
|
62
|
+
showNextPage: (
|
|
63
|
+
/*methods*/
|
|
64
|
+
e[14].showNextPage
|
|
65
|
+
),
|
|
66
|
+
loaded: (
|
|
67
|
+
/*loaded*/
|
|
68
|
+
e[6]
|
|
69
|
+
),
|
|
70
|
+
currentPageIndex: (
|
|
71
|
+
/*currentPageIndex*/
|
|
72
|
+
e[5]
|
|
73
|
+
)
|
|
48
74
|
}), it = (e) => ({
|
|
49
|
-
loaded: e[0] &
|
|
50
|
-
|
|
75
|
+
loaded: e[0] & /*loaded*/
|
|
76
|
+
64,
|
|
77
|
+
currentPageIndex: e[0] & /*currentPageIndex*/
|
|
78
|
+
32
|
|
51
79
|
}), fe = (e) => ({
|
|
52
|
-
loaded:
|
|
53
|
-
|
|
80
|
+
loaded: (
|
|
81
|
+
/*loaded*/
|
|
82
|
+
e[6]
|
|
83
|
+
),
|
|
84
|
+
currentPageIndex: (
|
|
85
|
+
/*currentPageIndex*/
|
|
86
|
+
e[5]
|
|
87
|
+
)
|
|
54
88
|
}), at = (e) => ({
|
|
55
|
-
loaded: e[0] &
|
|
56
|
-
|
|
89
|
+
loaded: e[0] & /*loaded*/
|
|
90
|
+
64,
|
|
91
|
+
currentPageIndex: e[0] & /*currentPageIndex*/
|
|
92
|
+
32
|
|
57
93
|
}), de = (e) => ({
|
|
58
|
-
showPrevPage:
|
|
59
|
-
|
|
60
|
-
|
|
94
|
+
showPrevPage: (
|
|
95
|
+
/*methods*/
|
|
96
|
+
e[14].showPrevPage
|
|
97
|
+
),
|
|
98
|
+
loaded: (
|
|
99
|
+
/*loaded*/
|
|
100
|
+
e[6]
|
|
101
|
+
),
|
|
102
|
+
currentPageIndex: (
|
|
103
|
+
/*currentPageIndex*/
|
|
104
|
+
e[5]
|
|
105
|
+
)
|
|
61
106
|
});
|
|
62
107
|
function ge(e) {
|
|
63
108
|
let o;
|
|
64
|
-
const n =
|
|
109
|
+
const n = (
|
|
110
|
+
/*#slots*/
|
|
111
|
+
e[37].prev
|
|
112
|
+
), l = H(
|
|
113
|
+
n,
|
|
114
|
+
e,
|
|
115
|
+
/*$$scope*/
|
|
116
|
+
e[36],
|
|
117
|
+
de
|
|
118
|
+
), t = l || lt(e);
|
|
65
119
|
return {
|
|
66
120
|
c() {
|
|
67
121
|
t && t.c();
|
|
@@ -70,14 +124,27 @@ function ge(e) {
|
|
|
70
124
|
t && t.m(i, s), o = !0;
|
|
71
125
|
},
|
|
72
126
|
p(i, s) {
|
|
73
|
-
l ? l.p && (!o || s[0] &
|
|
127
|
+
l ? l.p && (!o || s[0] & /*loaded, currentPageIndex*/
|
|
128
|
+
96 | s[1] & /*$$scope*/
|
|
129
|
+
32) && A(
|
|
74
130
|
l,
|
|
75
131
|
n,
|
|
76
132
|
i,
|
|
133
|
+
/*$$scope*/
|
|
77
134
|
i[36],
|
|
78
|
-
o ? q(
|
|
135
|
+
o ? q(
|
|
136
|
+
n,
|
|
137
|
+
/*$$scope*/
|
|
138
|
+
i[36],
|
|
139
|
+
s,
|
|
140
|
+
at
|
|
141
|
+
) : j(
|
|
142
|
+
/*$$scope*/
|
|
143
|
+
i[36]
|
|
144
|
+
),
|
|
79
145
|
de
|
|
80
|
-
) : t && t.p && (!o || s[0] &
|
|
146
|
+
) : t && t.p && (!o || s[0] & /*infinite, currentPageIndex*/
|
|
147
|
+
36) && t.p(i, o ? s : [-1, -1]);
|
|
81
148
|
},
|
|
82
149
|
i(i) {
|
|
83
150
|
o || (m(t, i), o = !0);
|
|
@@ -95,9 +162,15 @@ function lt(e) {
|
|
|
95
162
|
return n = new he({
|
|
96
163
|
props: {
|
|
97
164
|
direction: "prev",
|
|
98
|
-
disabled:
|
|
165
|
+
disabled: !/*infinite*/
|
|
166
|
+
e[2] && /*currentPageIndex*/
|
|
167
|
+
e[5] === 0
|
|
99
168
|
}
|
|
100
|
-
}), n.$on(
|
|
169
|
+
}), n.$on(
|
|
170
|
+
"click",
|
|
171
|
+
/*showPrevPage*/
|
|
172
|
+
e[23]
|
|
173
|
+
), {
|
|
101
174
|
c() {
|
|
102
175
|
o = z("div"), G(n.$$.fragment), D(o, "class", "sc-carousel__arrow-container svelte-sme1z4");
|
|
103
176
|
},
|
|
@@ -106,7 +179,10 @@ function lt(e) {
|
|
|
106
179
|
},
|
|
107
180
|
p(t, i) {
|
|
108
181
|
const s = {};
|
|
109
|
-
i[0] &
|
|
182
|
+
i[0] & /*infinite, currentPageIndex*/
|
|
183
|
+
36 && (s.disabled = !/*infinite*/
|
|
184
|
+
t[2] && /*currentPageIndex*/
|
|
185
|
+
t[5] === 0), n.$set(s);
|
|
110
186
|
},
|
|
111
187
|
i(t) {
|
|
112
188
|
l || (m(n.$$.fragment, t), l = !0);
|
|
@@ -122,7 +198,10 @@ function lt(e) {
|
|
|
122
198
|
function _e(e) {
|
|
123
199
|
let o, n, l;
|
|
124
200
|
return n = new Je({
|
|
125
|
-
props: { value:
|
|
201
|
+
props: { value: (
|
|
202
|
+
/*progressValue*/
|
|
203
|
+
e[7]
|
|
204
|
+
) }
|
|
126
205
|
}), {
|
|
127
206
|
c() {
|
|
128
207
|
o = z("div"), G(n.$$.fragment), D(o, "class", "sc-carousel-progress__container svelte-sme1z4");
|
|
@@ -132,7 +211,9 @@ function _e(e) {
|
|
|
132
211
|
},
|
|
133
212
|
p(t, i) {
|
|
134
213
|
const s = {};
|
|
135
|
-
i[0] &
|
|
214
|
+
i[0] & /*progressValue*/
|
|
215
|
+
128 && (s.value = /*progressValue*/
|
|
216
|
+
t[7]), n.$set(s);
|
|
136
217
|
},
|
|
137
218
|
i(t) {
|
|
138
219
|
l || (m(n.$$.fragment, t), l = !0);
|
|
@@ -147,7 +228,16 @@ function _e(e) {
|
|
|
147
228
|
}
|
|
148
229
|
function me(e) {
|
|
149
230
|
let o;
|
|
150
|
-
const n =
|
|
231
|
+
const n = (
|
|
232
|
+
/*#slots*/
|
|
233
|
+
e[37].next
|
|
234
|
+
), l = H(
|
|
235
|
+
n,
|
|
236
|
+
e,
|
|
237
|
+
/*$$scope*/
|
|
238
|
+
e[36],
|
|
239
|
+
ce
|
|
240
|
+
), t = l || st(e);
|
|
151
241
|
return {
|
|
152
242
|
c() {
|
|
153
243
|
t && t.c();
|
|
@@ -156,14 +246,27 @@ function me(e) {
|
|
|
156
246
|
t && t.m(i, s), o = !0;
|
|
157
247
|
},
|
|
158
248
|
p(i, s) {
|
|
159
|
-
l ? l.p && (!o || s[0] &
|
|
249
|
+
l ? l.p && (!o || s[0] & /*loaded, currentPageIndex*/
|
|
250
|
+
96 | s[1] & /*$$scope*/
|
|
251
|
+
32) && A(
|
|
160
252
|
l,
|
|
161
253
|
n,
|
|
162
254
|
i,
|
|
255
|
+
/*$$scope*/
|
|
163
256
|
i[36],
|
|
164
|
-
o ? q(
|
|
257
|
+
o ? q(
|
|
258
|
+
n,
|
|
259
|
+
/*$$scope*/
|
|
260
|
+
i[36],
|
|
261
|
+
s,
|
|
262
|
+
ot
|
|
263
|
+
) : j(
|
|
264
|
+
/*$$scope*/
|
|
265
|
+
i[36]
|
|
266
|
+
),
|
|
165
267
|
ce
|
|
166
|
-
) : t && t.p && (!o || s[0] &
|
|
268
|
+
) : t && t.p && (!o || s[0] & /*infinite, currentPageIndex, pagesCount*/
|
|
269
|
+
1060) && t.p(i, o ? s : [-1, -1]);
|
|
167
270
|
},
|
|
168
271
|
i(i) {
|
|
169
272
|
o || (m(t, i), o = !0);
|
|
@@ -181,9 +284,16 @@ function st(e) {
|
|
|
181
284
|
return n = new he({
|
|
182
285
|
props: {
|
|
183
286
|
direction: "next",
|
|
184
|
-
disabled:
|
|
287
|
+
disabled: !/*infinite*/
|
|
288
|
+
e[2] && /*currentPageIndex*/
|
|
289
|
+
e[5] === /*pagesCount*/
|
|
290
|
+
e[10] - 1
|
|
185
291
|
}
|
|
186
|
-
}), n.$on(
|
|
292
|
+
}), n.$on(
|
|
293
|
+
"click",
|
|
294
|
+
/*methods*/
|
|
295
|
+
e[14].showNextPage
|
|
296
|
+
), {
|
|
187
297
|
c() {
|
|
188
298
|
o = z("div"), G(n.$$.fragment), D(o, "class", "sc-carousel__arrow-container svelte-sme1z4");
|
|
189
299
|
},
|
|
@@ -192,7 +302,11 @@ function st(e) {
|
|
|
192
302
|
},
|
|
193
303
|
p(t, i) {
|
|
194
304
|
const s = {};
|
|
195
|
-
i[0] &
|
|
305
|
+
i[0] & /*infinite, currentPageIndex, pagesCount*/
|
|
306
|
+
1060 && (s.disabled = !/*infinite*/
|
|
307
|
+
t[2] && /*currentPageIndex*/
|
|
308
|
+
t[5] === /*pagesCount*/
|
|
309
|
+
t[10] - 1), n.$set(s);
|
|
196
310
|
},
|
|
197
311
|
i(t) {
|
|
198
312
|
l || (m(n.$$.fragment, t), l = !0);
|
|
@@ -207,7 +321,16 @@ function st(e) {
|
|
|
207
321
|
}
|
|
208
322
|
function pe(e) {
|
|
209
323
|
let o;
|
|
210
|
-
const n =
|
|
324
|
+
const n = (
|
|
325
|
+
/*#slots*/
|
|
326
|
+
e[37].dots
|
|
327
|
+
), l = H(
|
|
328
|
+
n,
|
|
329
|
+
e,
|
|
330
|
+
/*$$scope*/
|
|
331
|
+
e[36],
|
|
332
|
+
ue
|
|
333
|
+
), t = l || rt(e);
|
|
211
334
|
return {
|
|
212
335
|
c() {
|
|
213
336
|
t && t.c();
|
|
@@ -216,14 +339,27 @@ function pe(e) {
|
|
|
216
339
|
t && t.m(i, s), o = !0;
|
|
217
340
|
},
|
|
218
341
|
p(i, s) {
|
|
219
|
-
l ? l.p && (!o || s[0] &
|
|
342
|
+
l ? l.p && (!o || s[0] & /*currentPageIndex, pagesCount, loaded*/
|
|
343
|
+
1120 | s[1] & /*$$scope*/
|
|
344
|
+
32) && A(
|
|
220
345
|
l,
|
|
221
346
|
n,
|
|
222
347
|
i,
|
|
348
|
+
/*$$scope*/
|
|
223
349
|
i[36],
|
|
224
|
-
o ? q(
|
|
350
|
+
o ? q(
|
|
351
|
+
n,
|
|
352
|
+
/*$$scope*/
|
|
353
|
+
i[36],
|
|
354
|
+
s,
|
|
355
|
+
nt
|
|
356
|
+
) : j(
|
|
357
|
+
/*$$scope*/
|
|
358
|
+
i[36]
|
|
359
|
+
),
|
|
225
360
|
ue
|
|
226
|
-
) : t && t.p && (!o || s[0] &
|
|
361
|
+
) : t && t.p && (!o || s[0] & /*pagesCount, currentPageIndex*/
|
|
362
|
+
1056) && t.p(i, o ? s : [-1, -1]);
|
|
227
363
|
},
|
|
228
364
|
i(i) {
|
|
229
365
|
o || (m(t, i), o = !0);
|
|
@@ -240,10 +376,20 @@ function rt(e) {
|
|
|
240
376
|
let o, n;
|
|
241
377
|
return o = new Ge({
|
|
242
378
|
props: {
|
|
243
|
-
pagesCount:
|
|
244
|
-
|
|
379
|
+
pagesCount: (
|
|
380
|
+
/*pagesCount*/
|
|
381
|
+
e[10]
|
|
382
|
+
),
|
|
383
|
+
currentPageIndex: (
|
|
384
|
+
/*currentPageIndex*/
|
|
385
|
+
e[5]
|
|
386
|
+
)
|
|
245
387
|
}
|
|
246
|
-
}), o.$on(
|
|
388
|
+
}), o.$on(
|
|
389
|
+
"pageChange",
|
|
390
|
+
/*pageChange_handler*/
|
|
391
|
+
e[41]
|
|
392
|
+
), {
|
|
247
393
|
c() {
|
|
248
394
|
G(o.$$.fragment);
|
|
249
395
|
},
|
|
@@ -252,7 +398,11 @@ function rt(e) {
|
|
|
252
398
|
},
|
|
253
399
|
p(l, t) {
|
|
254
400
|
const i = {};
|
|
255
|
-
t[0] &
|
|
401
|
+
t[0] & /*pagesCount*/
|
|
402
|
+
1024 && (i.pagesCount = /*pagesCount*/
|
|
403
|
+
l[10]), t[0] & /*currentPageIndex*/
|
|
404
|
+
32 && (i.currentPageIndex = /*currentPageIndex*/
|
|
405
|
+
l[5]), o.$set(i);
|
|
256
406
|
},
|
|
257
407
|
i(l) {
|
|
258
408
|
n || (m(o.$$.fragment, l), n = !0);
|
|
@@ -266,46 +416,154 @@ function rt(e) {
|
|
|
266
416
|
};
|
|
267
417
|
}
|
|
268
418
|
function ut(e) {
|
|
269
|
-
let o, n, l, t, i, s, v, w, C, P, c, E, u =
|
|
270
|
-
|
|
271
|
-
|
|
419
|
+
let o, n, l, t, i, s, v, w, C, P, c, E, u = (
|
|
420
|
+
/*arrows*/
|
|
421
|
+
e[1] && ge(e)
|
|
422
|
+
);
|
|
423
|
+
const M = (
|
|
424
|
+
/*#slots*/
|
|
425
|
+
e[37].default
|
|
426
|
+
), b = H(
|
|
427
|
+
M,
|
|
428
|
+
e,
|
|
429
|
+
/*$$scope*/
|
|
430
|
+
e[36],
|
|
431
|
+
fe
|
|
432
|
+
);
|
|
433
|
+
let d = (
|
|
434
|
+
/*autoplayProgressVisible*/
|
|
435
|
+
e[3] && _e(e)
|
|
436
|
+
), g = (
|
|
437
|
+
/*arrows*/
|
|
438
|
+
e[1] && me(e)
|
|
439
|
+
), f = (
|
|
440
|
+
/*dots*/
|
|
441
|
+
e[4] && pe(e)
|
|
442
|
+
);
|
|
272
443
|
return {
|
|
273
444
|
c() {
|
|
274
|
-
o = z("div"), n = z("div"), u && u.c(), l = O(), t = z("div"), i = z("div"), b && b.c(), v = O(), d && d.c(), w = O(), g && g.c(), C = O(), f && f.c(), D(i, "class", "sc-carousel__pages-container svelte-sme1z4"), F(i, "transform", "translateX(" +
|
|
445
|
+
o = z("div"), n = z("div"), u && u.c(), l = O(), t = z("div"), i = z("div"), b && b.c(), v = O(), d && d.c(), w = O(), g && g.c(), C = O(), f && f.c(), D(i, "class", "sc-carousel__pages-container svelte-sme1z4"), F(i, "transform", "translateX(" + /*offset*/
|
|
446
|
+
e[8] + "px)"), F(
|
|
447
|
+
i,
|
|
448
|
+
"transition-duration",
|
|
449
|
+
/*durationMs*/
|
|
450
|
+
e[9] + "ms"
|
|
451
|
+
), F(
|
|
452
|
+
i,
|
|
453
|
+
"transition-timing-function",
|
|
454
|
+
/*timingFunction*/
|
|
455
|
+
e[0]
|
|
456
|
+
), D(t, "class", "sc-carousel__pages-window svelte-sme1z4"), D(n, "class", "sc-carousel__content-container svelte-sme1z4"), D(o, "class", "sc-carousel__carousel-container svelte-sme1z4");
|
|
275
457
|
},
|
|
276
458
|
m(r, _) {
|
|
277
459
|
X(r, o, _), S(o, n), u && u.m(n, null), S(n, l), S(n, t), S(t, i), b && b.m(i, null), e[39](i), S(t, v), d && d.m(t, null), e[40](t), S(n, w), g && g.m(n, null), S(o, C), f && f.m(o, null), P = !0, c || (E = [
|
|
278
460
|
$(s = Le.call(null, i, {
|
|
279
|
-
thresholdProvider:
|
|
461
|
+
thresholdProvider: (
|
|
462
|
+
/*swipeable_function*/
|
|
463
|
+
e[38]
|
|
464
|
+
)
|
|
280
465
|
})),
|
|
281
|
-
y(
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
466
|
+
y(
|
|
467
|
+
i,
|
|
468
|
+
"swipeStart",
|
|
469
|
+
/*handleSwipeStart*/
|
|
470
|
+
e[16]
|
|
471
|
+
),
|
|
472
|
+
y(
|
|
473
|
+
i,
|
|
474
|
+
"swipeMove",
|
|
475
|
+
/*handleSwipeMove*/
|
|
476
|
+
e[18]
|
|
477
|
+
),
|
|
478
|
+
y(
|
|
479
|
+
i,
|
|
480
|
+
"swipeEnd",
|
|
481
|
+
/*handleSwipeEnd*/
|
|
482
|
+
e[19]
|
|
483
|
+
),
|
|
484
|
+
y(
|
|
485
|
+
i,
|
|
486
|
+
"swipeFailed",
|
|
487
|
+
/*handleSwipeFailed*/
|
|
488
|
+
e[20]
|
|
489
|
+
),
|
|
490
|
+
y(
|
|
491
|
+
i,
|
|
492
|
+
"swipeThresholdReached",
|
|
493
|
+
/*handleSwipeThresholdReached*/
|
|
494
|
+
e[17]
|
|
495
|
+
),
|
|
286
496
|
$(Qe.call(null, t)),
|
|
287
|
-
y(
|
|
497
|
+
y(
|
|
498
|
+
t,
|
|
499
|
+
"hovered",
|
|
500
|
+
/*handleHovered*/
|
|
501
|
+
e[21]
|
|
502
|
+
),
|
|
288
503
|
$(Ue.call(null, t)),
|
|
289
|
-
y(
|
|
504
|
+
y(
|
|
505
|
+
t,
|
|
506
|
+
"tapped",
|
|
507
|
+
/*handleTapped*/
|
|
508
|
+
e[22]
|
|
509
|
+
)
|
|
290
510
|
], c = !0);
|
|
291
511
|
},
|
|
292
512
|
p(r, _) {
|
|
293
|
-
|
|
513
|
+
/*arrows*/
|
|
514
|
+
r[1] ? u ? (u.p(r, _), _[0] & /*arrows*/
|
|
515
|
+
2 && m(u, 1)) : (u = ge(r), u.c(), m(u, 1), u.m(n, l)) : u && (V(), p(u, 1, 1, () => {
|
|
294
516
|
u = null;
|
|
295
|
-
}), R()), b && b.p && (!P || _[0] &
|
|
517
|
+
}), R()), b && b.p && (!P || _[0] & /*loaded, currentPageIndex*/
|
|
518
|
+
96 | _[1] & /*$$scope*/
|
|
519
|
+
32) && A(
|
|
296
520
|
b,
|
|
297
521
|
M,
|
|
298
522
|
r,
|
|
523
|
+
/*$$scope*/
|
|
299
524
|
r[36],
|
|
300
|
-
P ? q(
|
|
525
|
+
P ? q(
|
|
526
|
+
M,
|
|
527
|
+
/*$$scope*/
|
|
528
|
+
r[36],
|
|
529
|
+
_,
|
|
530
|
+
it
|
|
531
|
+
) : j(
|
|
532
|
+
/*$$scope*/
|
|
533
|
+
r[36]
|
|
534
|
+
),
|
|
301
535
|
fe
|
|
302
|
-
), (!P || _[0] &
|
|
303
|
-
|
|
304
|
-
|
|
536
|
+
), (!P || _[0] & /*offset*/
|
|
537
|
+
256) && F(i, "transform", "translateX(" + /*offset*/
|
|
538
|
+
r[8] + "px)"), (!P || _[0] & /*durationMs*/
|
|
539
|
+
512) && F(
|
|
540
|
+
i,
|
|
541
|
+
"transition-duration",
|
|
542
|
+
/*durationMs*/
|
|
543
|
+
r[9] + "ms"
|
|
544
|
+
), (!P || _[0] & /*timingFunction*/
|
|
545
|
+
1) && F(
|
|
546
|
+
i,
|
|
547
|
+
"transition-timing-function",
|
|
548
|
+
/*timingFunction*/
|
|
549
|
+
r[0]
|
|
550
|
+
), s && Xe(s.update) && _[0] & /*pageWindowWidth*/
|
|
551
|
+
2048 && s.update.call(null, {
|
|
552
|
+
thresholdProvider: (
|
|
553
|
+
/*swipeable_function*/
|
|
554
|
+
r[38]
|
|
555
|
+
)
|
|
556
|
+
}), /*autoplayProgressVisible*/
|
|
557
|
+
r[3] ? d ? (d.p(r, _), _[0] & /*autoplayProgressVisible*/
|
|
558
|
+
8 && m(d, 1)) : (d = _e(r), d.c(), m(d, 1), d.m(t, null)) : d && (V(), p(d, 1, 1, () => {
|
|
305
559
|
d = null;
|
|
306
|
-
}), R()),
|
|
560
|
+
}), R()), /*arrows*/
|
|
561
|
+
r[1] ? g ? (g.p(r, _), _[0] & /*arrows*/
|
|
562
|
+
2 && m(g, 1)) : (g = me(r), g.c(), m(g, 1), g.m(n, null)) : g && (V(), p(g, 1, 1, () => {
|
|
307
563
|
g = null;
|
|
308
|
-
}), R()),
|
|
564
|
+
}), R()), /*dots*/
|
|
565
|
+
r[4] ? f ? (f.p(r, _), _[0] & /*dots*/
|
|
566
|
+
16 && m(f, 1)) : (f = pe(r), f.c(), m(f, 1), f.m(o, null)) : f && (V(), p(f, 1, 1, () => {
|
|
309
567
|
f = null;
|
|
310
568
|
}), R());
|
|
311
569
|
},
|
|
@@ -385,25 +643,25 @@ function ct(e, o, n) {
|
|
|
385
643
|
});
|
|
386
644
|
}
|
|
387
645
|
function Ce() {
|
|
388
|
-
|
|
646
|
+
I && (c.durationMs = 0);
|
|
389
647
|
}
|
|
390
648
|
function Te(a) {
|
|
391
649
|
return k(this, null, function* () {
|
|
392
|
-
|
|
650
|
+
I && (yield re({
|
|
393
651
|
[se]: u.showNextPage,
|
|
394
652
|
[Ke]: u.showPrevPage
|
|
395
653
|
})(a.detail.direction));
|
|
396
654
|
});
|
|
397
655
|
}
|
|
398
656
|
function ke(a) {
|
|
399
|
-
|
|
657
|
+
I && (c.offset += a.detail.dx);
|
|
400
658
|
}
|
|
401
659
|
function Ie() {
|
|
402
|
-
|
|
660
|
+
I && u.showParticle(c.currentParticleIndex);
|
|
403
661
|
}
|
|
404
662
|
function Se() {
|
|
405
663
|
return k(this, null, function* () {
|
|
406
|
-
|
|
664
|
+
I && (yield u.offsetPage({ animated: !0 }));
|
|
407
665
|
});
|
|
408
666
|
}
|
|
409
667
|
function ye(a) {
|
|
@@ -430,7 +688,16 @@ function ct(e, o, n) {
|
|
|
430
688
|
return e.$$set = (a) => {
|
|
431
689
|
"timingFunction" in a && n(0, d = a.timingFunction), "arrows" in a && n(1, g = a.arrows), "infinite" in a && n(2, f = a.infinite), "initialPageIndex" in a && n(24, r = a.initialPageIndex), "duration" in a && n(25, _ = a.duration), "autoplay" in a && n(26, L = a.autoplay), "autoplayDuration" in a && n(27, Q = a.autoplayDuration), "autoplayDirection" in a && n(28, U = a.autoplayDirection), "pauseOnFocus" in a && n(29, Y = a.pauseOnFocus), "autoplayProgressVisible" in a && n(3, te = a.autoplayProgressVisible), "dots" in a && n(4, ne = a.dots), "swiping" in a && n(30, I = a.swiping), "particlesToShow" in a && n(31, Z = a.particlesToShow), "particlesToScroll" in a && n(32, x = a.particlesToScroll), "$$scope" in a && n(36, t = a.$$scope);
|
|
432
690
|
}, e.$$.update = () => {
|
|
433
|
-
e.$$.dirty[0] &
|
|
691
|
+
e.$$.dirty[0] & /*currentPageIndex*/
|
|
692
|
+
32 && b("pageChange", s), e.$$.dirty[0] & /*infinite*/
|
|
693
|
+
4 && (c.infinite = f), e.$$.dirty[0] & /*duration*/
|
|
694
|
+
33554432 && (c.durationMsInit = _), e.$$.dirty[0] & /*autoplay*/
|
|
695
|
+
67108864 && (c.autoplay = L), e.$$.dirty[0] & /*autoplayDuration*/
|
|
696
|
+
134217728 && (c.autoplayDuration = Q), e.$$.dirty[0] & /*autoplayDirection*/
|
|
697
|
+
268435456 && (c.autoplayDirection = U), e.$$.dirty[0] & /*pauseOnFocus*/
|
|
698
|
+
536870912 && (c.pauseOnFocus = Y), e.$$.dirty[1] & /*particlesToShow*/
|
|
699
|
+
1 && (c.particlesToShowInit = Z), e.$$.dirty[1] & /*particlesToScroll*/
|
|
700
|
+
2 && (c.particlesToScrollInit = x);
|
|
434
701
|
}, [
|
|
435
702
|
d,
|
|
436
703
|
g,
|
|
@@ -14,7 +14,7 @@ var i = (s, r, l) => new Promise((a, c) => {
|
|
|
14
14
|
}, o = (t) => t.done ? a(t.value) : Promise.resolve(t.value).then(f, e);
|
|
15
15
|
o((l = l.apply(s, r)).next());
|
|
16
16
|
});
|
|
17
|
-
import { simplyReactive as S } from "../../../../
|
|
17
|
+
import { simplyReactive as S } from "../../../../easy-reactive/src/simply-reactive.js";
|
|
18
18
|
import { NEXT as C, PREV as g } from "../../direction.js";
|
|
19
19
|
import { getCurrentPageIndexByCurrentParticleIndex as I, getPartialPageSize as h, getPagesCountByParticlesCount as w, getParticleIndexByPageIndex as u } from "../../utils/page.js";
|
|
20
20
|
import { getClonesCount as x } from "../../utils/clones.js";
|
|
@@ -32,9 +32,13 @@ function A(s) {
|
|
|
32
32
|
data: {
|
|
33
33
|
particlesCountWithoutClones: 0,
|
|
34
34
|
particlesToShow: 1,
|
|
35
|
+
// normalized
|
|
35
36
|
particlesToShowInit: 1,
|
|
37
|
+
// initial value
|
|
36
38
|
particlesToScroll: 1,
|
|
39
|
+
// normalized
|
|
37
40
|
particlesToScrollInit: 1,
|
|
41
|
+
// initial value
|
|
38
42
|
particlesCount: 1,
|
|
39
43
|
currentParticleIndex: 1,
|
|
40
44
|
infinite: !1,
|
|
@@ -50,6 +54,7 @@ function A(s) {
|
|
|
50
54
|
autoplay: !1,
|
|
51
55
|
autoplayDirection: "next",
|
|
52
56
|
disabled: !1,
|
|
57
|
+
// disable page change while animation is in progress
|
|
53
58
|
durationMsInit: 1e3,
|
|
54
59
|
durationMs: 1e3,
|
|
55
60
|
offset: 0,
|
|
@@ -179,6 +184,7 @@ function A(s) {
|
|
|
179
184
|
}
|
|
180
185
|
});
|
|
181
186
|
},
|
|
187
|
+
// makes delayed jump to 1st or last element
|
|
182
188
|
_jumpIfNeeded(t) {
|
|
183
189
|
return i(this, arguments, function* ({ data: e, methods: o }) {
|
|
184
190
|
let n = !1;
|
|
@@ -8,13 +8,29 @@ function b(e) {
|
|
|
8
8
|
let t, s, c;
|
|
9
9
|
return {
|
|
10
10
|
c() {
|
|
11
|
-
t = u("button"), v(t, "class", "sc-carousel-button sc-carousel-dot__dot svelte-1mgyhhn"), a(
|
|
11
|
+
t = u("button"), v(t, "class", "sc-carousel-button sc-carousel-dot__dot svelte-1mgyhhn"), a(
|
|
12
|
+
t,
|
|
13
|
+
"sc-carousel-dot__dot_active",
|
|
14
|
+
/*active*/
|
|
15
|
+
e[0]
|
|
16
|
+
);
|
|
12
17
|
},
|
|
13
18
|
m(i, o) {
|
|
14
|
-
_(i, t, o), s || (c = m(
|
|
19
|
+
_(i, t, o), s || (c = m(
|
|
20
|
+
t,
|
|
21
|
+
"click",
|
|
22
|
+
/*click_handler*/
|
|
23
|
+
e[1]
|
|
24
|
+
), s = !0);
|
|
15
25
|
},
|
|
16
26
|
p(i, [o]) {
|
|
17
|
-
o &
|
|
27
|
+
o & /*active*/
|
|
28
|
+
1 && a(
|
|
29
|
+
t,
|
|
30
|
+
"sc-carousel-dot__dot_active",
|
|
31
|
+
/*active*/
|
|
32
|
+
i[0]
|
|
33
|
+
);
|
|
18
34
|
},
|
|
19
35
|
i: n,
|
|
20
36
|
o: n,
|