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",r="email_accounts/"+i;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){return a.maketext("Page [numf,_1] of [numf,_2]",t,e)};n.templateUrl=e.config.debug?e.buildFullPath(r):i;var u=n.link;return n.compile=function(){return function(t,e,n,i){var r=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=o;var c=r.render;r.render=function(){var e,n;c.apply(r),e=t.pages,n=t.parentId,e&&e.forEach((function(t){t.id=n+"_"+t.text})),function(t){t&&t.forEach((function(t){t.ariaLabel=a.maketext("Go to page “[_1]”.",t.text)}))}(t.pages)}}},t}])}]),{namespace:o,template:i}}));
Back to Directory File Manager