| 
3 | 3 | // license:  MIT   | 
4 | 4 | // homepage: http://github.com/samu/angular-table   | 
5 | 5 | (function() {  | 
6 |  | -  var irk_number_of_pages;  | 
 | 6 | +  var ColumnConfiguration, ConfigurationVariableNames, PageSequence, PaginatedSetup, ScopeConfigWrapper, Setup, StandardSetup, Table, TableConfiguration, irk_number_of_pages, pagination_template,  | 
 | 7 | +    __hasProp = {}.hasOwnProperty,  | 
 | 8 | +    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };  | 
7 | 9 | 
 
  | 
8 | 10 |   angular.module("angular-table", []);  | 
9 | 11 | 
 
  | 
10 | 12 |   irk_number_of_pages = "number_of_pages";  | 
11 | 13 | 
 
  | 
12 |  | -}).call(this);  | 
13 |  | - | 
14 |  | -(function() {  | 
15 |  | -  var ColumnConfiguration;  | 
16 |  | - | 
17 | 14 |   ColumnConfiguration = (function() {  | 
18 | 15 |     function ColumnConfiguration(body_markup, header_markup) {  | 
19 | 16 |       this.attribute = body_markup.attribute;  | 
 | 
77 | 74 | 
 
  | 
78 | 75 |   })();  | 
79 | 76 | 
 
  | 
80 |  | -}).call(this);  | 
81 |  | - | 
82 |  | -(function() {  | 
83 |  | -  var ConfigurationVariableNames;  | 
84 |  | - | 
85 | 77 |   ConfigurationVariableNames = (function() {  | 
86 | 78 |     function ConfigurationVariableNames(config_object_name) {  | 
87 | 79 |       this.config_object_name = config_object_name;  | 
 | 
96 | 88 | 
 
  | 
97 | 89 |   })();  | 
98 | 90 | 
 
  | 
99 |  | -}).call(this);  | 
100 |  | - | 
101 |  | -(function() {  | 
102 |  | -  var ScopeConfigWrapper;  | 
103 |  | - | 
104 | 91 |   ScopeConfigWrapper = (function() {  | 
105 | 92 |     function ScopeConfigWrapper(scope, configuration_variable_names, list_name) {  | 
106 | 93 |       this.scope = scope;  | 
 | 
136 | 123 | 
 
  | 
137 | 124 |   })();  | 
138 | 125 | 
 
  | 
139 |  | -}).call(this);  | 
140 |  | - | 
141 |  | -(function() {  | 
142 |  | -  var TableConfiguration;  | 
143 |  | - | 
144 | 126 |   TableConfiguration = (function() {  | 
145 | 127 |     function TableConfiguration(table_element, attributes) {  | 
146 | 128 |       this.table_element = table_element;  | 
 | 
247 | 229 | 
 
  | 
248 | 230 |   })();  | 
249 | 231 | 
 
  | 
250 |  | -}).call(this);  | 
251 |  | - | 
252 |  | -(function() {  | 
253 |  | -  var Setup;  | 
254 |  | - | 
255 | 232 |   Setup = (function() {  | 
256 | 233 |     function Setup() {}  | 
257 | 234 | 
 
  | 
 | 
267 | 244 | 
 
  | 
268 | 245 |   })();  | 
269 | 246 | 
 
  | 
270 |  | -}).call(this);  | 
271 |  | - | 
272 |  | -(function() {  | 
273 |  | -  var StandardSetup,  | 
274 |  | -    __hasProp = {}.hasOwnProperty,  | 
275 |  | -    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };  | 
276 |  | - | 
277 | 247 |   StandardSetup = (function(_super) {  | 
278 | 248 |     __extends(StandardSetup, _super);  | 
279 | 249 | 
 
  | 
 | 
292 | 262 | 
 
  | 
293 | 263 |   })(Setup);  | 
294 | 264 | 
 
  | 
295 |  | -}).call(this);  | 
296 |  | - | 
297 |  | -(function() {  | 
298 |  | -  var PaginatedSetup,  | 
299 |  | -    __hasProp = {}.hasOwnProperty,  | 
300 |  | -    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };  | 
301 |  | - | 
302 | 265 |   PaginatedSetup = (function(_super) {  | 
303 | 266 |     __extends(PaginatedSetup, _super);  | 
304 | 267 | 
 
  | 
 | 
400 | 363 | 
 
  | 
401 | 364 |   })(Setup);  | 
402 | 365 | 
 
  | 
403 |  | -}).call(this);  | 
404 |  | - | 
405 |  | -(function() {  | 
406 |  | -  var Table;  | 
407 |  | - | 
408 | 366 |   Table = (function() {  | 
409 | 367 |     function Table(element, table_configuration, configuration_variable_names) {  | 
410 | 368 |       this.element = element;  | 
 | 
488 | 446 | 
 
  | 
489 | 447 |   })();  | 
490 | 448 | 
 
  | 
491 |  | -}).call(this);  | 
492 |  | - | 
493 |  | -(function() {  | 
494 |  | -  var PageSequence;  | 
495 |  | - | 
496 | 449 |   PageSequence = (function() {  | 
497 | 450 |     function PageSequence(lower_bound, upper_bound, start, length) {  | 
498 | 451 |       this.lower_bound = lower_bound != null ? lower_bound : 0;  | 
 | 
554 | 507 | 
 
  | 
555 | 508 |   })();  | 
556 | 509 | 
 
  | 
557 |  | -}).call(this);  | 
558 |  | - | 
559 |  | -(function() {  | 
560 |  | -  var pagination_template;  | 
561 |  | - | 
562 | 510 |   pagination_template = "<div style='margin: 0px;'> <ul class='pagination'> <li ng-class='{disabled: get_current_page() <= 0}'> <a href='' ng-click='step_page(-" + irk_number_of_pages + ")'>First</a> </li> <li ng-show='show_sectioning()' ng-class='{disabled: get_current_page() <= 0}'> <a href='' ng-click='jump_back()'>«</a> </li> <li ng-class='{disabled: get_current_page() <= 0}'> <a href='' ng-click='step_page(-1)'>‹</a> </li> <li ng-class='{active: get_current_page() == page}' ng-repeat='page in page_sequence.data'> <a href='' ng-click='go_to_page(page)'>{{page + 1}}</a> </li> <li ng-class='{disabled: get_current_page() >= " + irk_number_of_pages + " - 1}'> <a href='' ng-click='step_page(1)'>›</a> </li> <li ng-show='show_sectioning()' ng-class='{disabled: get_current_page() >= " + irk_number_of_pages + " - 1}'> <a href='' ng-click='jump_ahead()'>»</a> </li> <li ng-class='{disabled: get_current_page() >= " + irk_number_of_pages + " - 1}'> <a href='' ng-click='step_page(" + irk_number_of_pages + ")'>Last</a> </li> </ul> </div>";  | 
563 | 511 | 
 
  | 
564 |  | -}).call(this);  | 
565 |  | - | 
566 |  | -(function() {  | 
567 | 512 |   angular.module("angular-table").directive("atTable", [  | 
568 | 513 |     "$filter", function($filter) {  | 
569 | 514 |       return {  | 
 | 
585 | 530 |     }  | 
586 | 531 |   ]);  | 
587 | 532 | 
 
  | 
588 |  | -}).call(this);  | 
589 |  | - | 
590 |  | -(function() {  | 
591 | 533 |   angular.module("angular-table").directive("atPagination", [  | 
592 | 534 |     function() {  | 
593 | 535 |       return {  | 
 | 
670 | 612 |     }  | 
671 | 613 |   ]);  | 
672 | 614 | 
 
  | 
673 |  | -}).call(this);  | 
674 |  | - | 
675 |  | -(function() {  | 
676 | 615 |   angular.module("angular-table").directive("atImplicit", [  | 
677 | 616 |     function() {  | 
678 | 617 |       return {  | 
 | 
0 commit comments