{"version":3,"sources":["kendo.scrollview.js"],"names":["f","define","$","undefined","className","name","Pager","TRANSITION_END","DRAG_START","DRAG_END","ElasticPane","ScrollViewContent","VirtualScrollViewContent","Page","ScrollView","kendo","window","ui","proxy","Transition","effects","Pane","PaneDimensions","Widget","DataBoundWidget","DataSource","data","math","Math","abs","ceil","round","max","min","floor","CHANGE","CLICK","CHANGING","REFRESH","CURRENT_PAGE_CLASS","VIRTUAL_PAGE_CLASS","FUNCTION","ITEM_CHANGE","CLEANUP","VIRTUAL_PAGE_COUNT","LEFT_PAGE","CETER_PAGE","RIGHT_PAGE","LEFT_SWIPE","NUDGE","RIGHT_SWIPE","ScrollViewDataReader","Observable","extend","init","dataSource","that","this","pendingRequestArray","initialFetch","useRanges","options","serverPaging","fn","call","bind","_change","trigger","offset","page","callback","view","range","pageSize","scrollTo","pageCount","total","prevPage","prevPrefetch","currentPage","nextPage","nextPrefetch","push","getViewData","index","length","destroy","unbind","Class","scrollView","element","navigationWrapElement","append","_navigationContainer","_changeProxy","_refreshProxy","on","_click","items","children","_refresh","e","idx","pageHTML","html","eq","addClass","_toggleNavigation","innerNavigationContainer","scrollViewWidth","containerOffset","pageWidth","itemOffset","translate","isDefaultPrevented","find","width","outerWidth","removeClass","position","left","scrollLeft","animate","newPage","currentTarget","off","remove","ScrollViewPager","movable","transition","userEvents","dimensions","dimension","pane","container","parent","Movable","axis","onEnd","UserEvents","fastTap","start","x","velocity","y","capture","cancel","allowSelection","end","elastic","duration","size","getSize","height","getTotal","updateDimension","update","refresh","enabled","moveTo","moveAxis","transitionTo","ease","instant","location","tansition","ScrollViewElasticPane","_getPages","contentHeight","enablePager","pagerOverlay","easeOutExpo","paneMoved","swipeType","bounce","snap","approx","easeOutBack","minSnap","maxSnap","updatePage","forcePageUpdate","resizeTo","containerHeight","pager","pageElements","_outerHeight","css","_paged","roleSelector","_templates","pages","_initPages","forceEnabled","setDataSource","create","_dataReader","_pendingPageRefresh","_pendingWidgetRefresh","_viewShow","setTimeout","_resetPages","dataReader","_pageProxy","_resetProxy","reset","template","emptyTemplate","templateProxy","emptyTemplateProxy","i","setWidth","_repositionPages","silent","pagerScroll","thresholdPassed","isEndReached","delta","Array","_cancelMove","_moveBackward","_moveForward","shift","setPageContent","unshift","pop","_resetMovable","threshold","_onPage","item","_onReset","content","theContent","VirtualPage","empty","stripWhitespace","wrapInner","_initNavigation","inner","first","transitionEnd","dragStart","dragEnd","change","_defaultPrevented","angular","elements","dataItem","_content","viewInit","viewShow","velocityThreshold","bounceVelocityThreshold","enableNavigationButtons","autoBind","events","prev","eventData","next","emptyDataSource","fetch","_dragStart","_dragEnd","_transitionEnd","navigationContainer","prevArrow","hide","nextArrow","show","plugin","jQuery","amd","a1","a2","a3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;CAwBC,SAAUA,EAAGC,QACVA,OAAO,oBACH,WACA,aACA,qBACDD,IACL,WA03BE,MA92BC,UAAUE,EAAGC,GAEV,QAASC,GAAUC,GACf,MAAO,KAAOA,EAHrB,GAiFOC,GAgEAC,EAAkCC,EAA0BC,EAC5DC,EAuGAC,EA+FAC,EA6QAC,EAwBAC,EA5nBAC,EAAQC,OAAOD,MAAOE,EAAKF,EAAME,GAAIC,EAAQhB,EAAEgB,MAAOC,EAAaJ,EAAMK,QAAQD,WAAYE,EAAON,EAAME,GAAGI,KAAMC,EAAiBP,EAAME,GAAGK,eAAgBC,EAASN,EAAGO,gBAAiBC,EAAaV,EAAMW,KAAKD,WAAYE,EAAOC,KAAMC,EAAMF,EAAKE,IAAKC,EAAOH,EAAKG,KAAMC,EAAQJ,EAAKI,MAAOC,EAAML,EAAKK,IAAKC,EAAMN,EAAKM,IAAKC,EAAQP,EAAKO,MAAOC,EAAS,SAAUC,EAAQ,QAASC,EAAW,WAAYC,EAAU,UAAWC,EAAqB,UAAWC,EAAqB,kBAAmBC,EAAW,WAAYC,EAAc,aAAcC,EAAU,UAAWC,EAAqB,EAAGC,KAAgBC,EAAa,EAAGC,EAAa,EAAGC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E,6CACpDuQ,EAAYvQ,EAAE,iFAAiFwQ,OAC/FC,EAAYzQ,EAAE,iFAAiFwQ,MACnGF,GAAoB5K,OAAO6K,GAC3BD,EAAoB5K,OAAO+K,GAC3BnN,EAAKkC,QAAQE,OAAO4K,GACpBA,EAAoBxK,GAAG5D,EAAO,sBAAuBlB,EAAMsC,EAAKwM,KAAMxM,IACtEgN,EAAoBxK,GAAG5D,EAAO,sBAAuBlB,EAAMsC,EAAK0M,KAAM1M,KAE1EmD,kBAAmB,SAAUN,GAAV,GACXhC,GAAOgC,EAAErB,UAA2B,IAAfqB,EAAErB,SAAiBqB,EAAErB,SAAWqB,EAAEtB,YACvDyL,EAAsB/M,KAAKoC,qBAC3B4K,EAAYD,EAAoBrJ,KAAK,wBACrCwJ,EAAYH,EAAoBrJ,KAAK,uBACzCsJ,GAAUC,OACVC,EAAUD,QACNrM,GAAiB,IAATA,KACK,IAATA,GACAoM,EAAUG,OAEVvM,GAAQZ,KAAK+L,SAAS7K,UAAY,GAClCgM,EAAUC,WAK1B3P,EAAG4P,OAAO/P,IACZE,OAAOD,MAAM+P,QACR9P,OAAOD,OACE,kBAAVd,SAAwBA,OAAO8Q,IAAM9Q,OAAS,SAAU+Q,EAAIC,EAAIC,IACrEA,GAAMD","file":"kendo.scrollview.min.js","sourcesContent":["/*!\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n*/\n(function (f, define) {\n define('kendo.scrollview', [\n 'kendo.fx',\n 'kendo.data',\n 'kendo.draganddrop'\n ], f);\n}(function () {\n var __meta__ = {\n id: 'scrollview',\n name: 'ScrollView',\n category: 'web',\n description: 'The Kendo ScrollView widget is used to scroll content wider than the device screen.',\n depends: [\n 'fx',\n 'data',\n 'draganddrop'\n ]\n };\n (function ($, undefined) {\n var kendo = window.kendo, ui = kendo.ui, proxy = $.proxy, Transition = kendo.effects.Transition, Pane = kendo.ui.Pane, PaneDimensions = kendo.ui.PaneDimensions, Widget = ui.DataBoundWidget, DataSource = kendo.data.DataSource, math = Math, abs = math.abs, ceil = math.ceil, round = math.round, max = math.max, min = math.min, floor = math.floor, CHANGE = 'change', CLICK = 'click', CHANGING = 'changing', REFRESH = 'refresh', CURRENT_PAGE_CLASS = 'primary', VIRTUAL_PAGE_CLASS = 'scrollview-page', FUNCTION = 'function', ITEM_CHANGE = 'itemChange', CLEANUP = 'cleanup', VIRTUAL_PAGE_COUNT = 3, LEFT_PAGE = -1, CETER_PAGE = 0, RIGHT_PAGE = 1, LEFT_SWIPE = -1, NUDGE = 0, RIGHT_SWIPE = 1;\n function className(name) {\n return 'k-' + name;\n }\n var ScrollViewDataReader = kendo.Observable.extend({\n init: function (dataSource) {\n var that = this;\n this.dataSource = dataSource;\n this.pendingRequestArray = [];\n this.initialFetch = false;\n this.useRanges = dataSource.options.serverPaging;\n kendo.Observable.fn.init.call(this);\n dataSource.bind('change', function () {\n that._change();\n });\n },\n _change: function () {\n this.trigger('reset', { offset: this.offset });\n },\n page: function (page, callback) {\n var that = this;\n if (!this.useRanges) {\n this.dataSource.page(page + 1);\n if (callback) {\n callback(that.dataSource.view());\n } else {\n that.trigger('page', { page: page });\n }\n }\n if (this.useRanges) {\n this.dataSource.range(page * this.dataSource.pageSize(), this.dataSource.pageSize(), function () {\n if (callback) {\n callback(that.dataSource.view());\n } else {\n that.trigger('page', { page: page });\n }\n });\n }\n },\n scrollTo: function (page) {\n var pageCount = Math.ceil(this.dataSource.total() / this.dataSource.pageSize() || 1);\n var prevPage = page - 1;\n var prevPrefetch = prevPage - 1;\n var currentPage = page;\n var nextPage = pageCount > 0 && page + 1 >= pageCount ? -1 : page + 1;\n var nextPrefetch = pageCount > 0 && nextPage + 1 >= pageCount ? -1 : nextPage + 1;\n if (nextPage >= 0) {\n this.pendingRequestArray.push(nextPage);\n }\n if (prevPage >= 0) {\n this.pendingRequestArray.push(prevPage);\n }\n if (prevPrefetch >= 0) {\n this.pendingRequestArray.push(prevPrefetch);\n }\n if (nextPrefetch >= 0) {\n this.pendingRequestArray.push(nextPrefetch);\n }\n this.page(currentPage);\n },\n getViewData: function () {\n var view = this.dataSource.view();\n var data;\n if (this.dataSource.options.pageSize > 1) {\n data = [];\n for (var index = 0; index < view.length; index++) {\n data.push(view[index]);\n }\n } else {\n data = view[0];\n }\n return data;\n },\n destroy: function () {\n var that = this;\n that.dataSource.unbind();\n that.dataSource = null;\n }\n });\n kendo.ui.ScrollViewDataReader = ScrollViewDataReader;\n var Pager = kendo.Class.extend({\n init: function (scrollView) {\n var that = this, element = $('