Viewing File: /usr/local/cpanel/base/frontend/jupiter/email_accounts/decorators/paginationDecorator.min.js

define(["angular","cjt/core","cjt/util/locale","uiBootstrap"],(function(t,e,a){"use strict";var n,o="cpanel.emailAccounts",i="decorators/pagination.phtml";try{n=t.module(o)}catch(e){n=t.module(o,["ui.bootstrap.pagination"])}return n.config(["$provide",function(t){t.decorator("uibPaginationDirective",["$delegate",function(t){var n=t[0],o=function(t,e){t&&t.forEach((function(t){t.id=e+"_"+t.text}))},r=function(t){t&&t.forEach((function(t){t.ariaLabel=a.maketext("Go to page “[_1]”.",t.text)}))},c=function(t,e){return a.maketext("Page [numf,_1] of [numf,_2]",t,e)};n.templateUrl=e.config.debug?e.buildFullPath("email_accounts/decorators/pagination.phtml"):i;var u=n.link;return n.compile=function(){return function(t,e,n,i){var p=i[0];u.apply(this,arguments),t.parentId=n.id,t.ariaLabels={title:a.maketext("Pagination"),firstPage:a.maketext("Go to first page."),previousPage:a.maketext("Go to previous page."),nextPage:a.maketext("Go to next page."),lastPage:a.maketext("Go to last page.")},t.updateCurrentSelectedText=c;var l=p.render;p.render=function(){l.apply(p),o(t.pages,t.parentId),r(t.pages)}}},t}])}]),{namespace:o,template:i}}));
Back to Directory File Manager