/* * Kendo UI v2015.3.1111 (http://www.telerik.com/kendo-ui) * Copyright 2015 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial license terms. */ !function(e,define){define(["./kendo.data.min"],e)}(function(){return function(e,t){function n(e,t,n,i,o){return e({idx:t,text:n,ns:c.ns,numeric:i,title:o||""})}function i(e,t,n){return x({className:e.substring(1),text:t,wrapClassName:n||""})}function o(e,t,n,i){e.find(t).parent().attr(c.attr("page"),n).attr("tabindex",-1).toggleClass("k-state-disabled",i)}function r(e,t){o(e,f,1,1>=t)}function s(e,t){o(e,g,Math.max(1,t-1),1>=t)}function a(e,t,n){o(e,m,Math.min(n,t+1),t>=n)}function l(e,t,n){o(e,p,n,t>=n)}var c=window.kendo,u=c.ui,d=u.Widget,h=e.proxy,f=".k-i-seek-w",p=".k-i-seek-e",g=".k-i-arrow-w",m=".k-i-arrow-e",v="change",_=".kendoPager",w="click",b="keydown",y="disabled",x=c.template('#=text#'),k=d.extend({init:function(t,n){var o,u,y,x,k=this;d.fn.init.call(k,t,n),n=k.options,k.dataSource=c.data.DataSource.create(n.dataSource),k.linkTemplate=c.template(k.options.linkTemplate),k.selectTemplate=c.template(k.options.selectTemplate),k.currentPageTemplate=c.template(k.options.currentPageTemplate),o=k.page(),u=k.totalPages(),k._refreshHandler=h(k.refresh,k),k.dataSource.bind(v,k._refreshHandler),n.previousNext&&(k.element.find(f).length||(k.element.append(i(f,n.messages.first,"k-pager-first")),r(k.element,o,u)),k.element.find(g).length||(k.element.append(i(g,n.messages.previous)),s(k.element,o,u))),n.numeric&&(k.list=k.element.find(".k-pager-numbers"),k.list.length||(k.list=e('