"use strict";exports.__esModule=!0,exports.default=stopPullToRefresh;var _invoker=_interopRequireWildcard(require("./invoker"));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,t&&t.set(e,o),o}function stopPullToRefresh(){return _invoker.default.invoke("stopPullToRefresh",{_apiName:"stopPullToRefresh"})}_invoker.default.registerAPI("stopPullToRefresh",{mobile:function(e,r){var t=r.resolve,o=r.reject,n=r.context,i=r.containerType,l=r.platformType;if(i){l===_invoker.PLATFORM_TYPE_ENUM.ANDROID?n&&n((function(){t()}),(function(){o()}),"ui.pullToRefresh","stop",e):l===_invoker.PLATFORM_TYPE_ENUM.IOS&&n.callHandler("ui.pullToRefresh.stop",Object.assign({},e),(function(){t()}))}else n&&n.call("restorePullToRefresh",e,(function(){t()}))}}),stopPullToRefresh.version={android:"1.3.0",ios:"1.3.0"},module.exports=exports.default,module.exports.default=exports.default;