bootstrap-table-rails 1.15.4 → 1.15.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -21
  3. data/lib/bootstrap-table-rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +182 -0
  5. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +1 -1
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +145 -110
  7. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +34 -28
  8. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2 -2
  9. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +6 -2
  10. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +721 -0
  11. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +721 -0
  12. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +1 -1
  13. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +1 -1
  14. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +1 -1
  15. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +1 -1
  16. metadata +4 -12
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.css +0 -3
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by/bootstrap-table-group-by.css +0 -53
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by/bootstrap-table-group-by.js +0 -257
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/multi-column-toggle/bootstrap-table-multi-toggle.js +0 -105
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-search/bootstrap-table-multiple-search.js +0 -85
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-selection-row/bootstrap-table-multiple-selection-row.css +0 -17
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-selection-row/bootstrap-table-multiple-selection-row.js +0 -143
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/select2-filter/bootstrap-table-select2-filter.js +0 -341
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/tree-column/bootstrap-table-tree-column.css +0 -1
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/tree-column/bootstrap-table-tree-column.js +0 -142
@@ -887,7 +887,7 @@
887
887
  this.constants.classes.buttonActive = 'is-active';
888
888
  this.constants.html.toolbarDropdown = ['<div class="dropdown-menu"><div class="dropdown-content">', '</div></div>'];
889
889
  this.constants.html.toolbarDropdownItem = '<label class="dropdown-item">%s</label>';
890
- this.constants.html.toolbarDropdownSeperator = '<li class="dropdown-divider"></li>';
890
+ this.constants.html.toolbarDropdownSeparator = '<li class="dropdown-divider"></li>';
891
891
  this.constants.html.pageDropdown = ['<div class="dropdown-menu"><div class="dropdown-content">', '</div></div>'];
892
892
  this.constants.html.pageDropdownItem = '<a class="dropdown-item %s" href="#">%s</a>';
893
893
  this.constants.html.dropdownCaret = '<span class="icon is-small"><i class="fas fa-angle-down" aria-hidden="true"></i></span>';
@@ -885,7 +885,7 @@
885
885
  this.constants.classes.buttonActive = 'success';
886
886
  this.constants.html.toolbarDropdown = ['<ul class="dropdown-pane" id="toolbar-columns-id" data-dropdown><ul class="vertical menu">', '</ul></div>'];
887
887
  this.constants.html.toolbarDropdownItem = '<li><label class="dropdown-item">%s</label></li>';
888
- this.constants.html.toolbarDropdownSeperator = '<li><hr></li>';
888
+ this.constants.html.toolbarDropdownSeparator = '<li><hr></li>';
889
889
  this.constants.html.pageDropdown = ['<div class="dropdown-pane" id="pagination-list-id" data-dropdown><ul class="vertical menu">', '</ul></div>'];
890
890
  this.constants.html.pageDropdownItem = '<li class="dropdown-item %s"><a href="#">%s</a></li>';
891
891
  this.constants.html.dropdownCaret = '<i class="fa fa-angle-down"></i>';
@@ -900,7 +900,7 @@
900
900
  this.constants.classes.buttonActive = 'green';
901
901
  this.constants.html.toolbarDropdown = ['<ul id="toolbar-columns-id" class="dropdown-content">', '</ul>'];
902
902
  this.constants.html.toolbarDropdownItem = '<li><label>%s</label></li>';
903
- this.constants.html.toolbarDropdownSeperator = '<li class="divider" tabindex="-1"></li>';
903
+ this.constants.html.toolbarDropdownSeparator = '<li class="divider" tabindex="-1"></li>';
904
904
  this.constants.html.pageDropdown = ['<ul id="pagination-list-id" class="dropdown-content">', '</ul>'];
905
905
  this.constants.html.pageDropdownItem = '<li><a class="%s" href="#">%s</a></li>';
906
906
  this.constants.html.dropdownCaret = '<i class="material-icons">arrow_drop_down</i>';
@@ -883,7 +883,7 @@
883
883
  this.constants.classes.paginationDropdown = 'ui dropdown';
884
884
  this.constants.html.toolbarDropdown = ['<div class="menu">', '</div>'];
885
885
  this.constants.html.toolbarDropdownItem = '<label class="item">%s</label>';
886
- this.constants.html.toolbarDropdownSeperator = '<div class="divider"></div>';
886
+ this.constants.html.toolbarDropdownSeparator = '<div class="divider"></div>';
887
887
  this.constants.html.pageDropdown = ['<div class="menu">', '</div>'];
888
888
  this.constants.html.pageDropdownItem = '<a class="item %s" href="#">%s</a>';
889
889
  this.constants.html.dropdownCaret = '<i class="dropdown icon"></i>';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-table-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.4
4
+ version: 1.15.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Chiu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-01 00:00:00.000000000 Z
11
+ date: 2021-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -64,7 +64,6 @@ files:
64
64
  - vendor/assets/javascripts/bootstrap-table/bootstrap-table.js
65
65
  - vendor/assets/javascripts/bootstrap-table/extensions/accent-neutralise/bootstrap-table-accent-neutralise.js
66
66
  - vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js
67
- - vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.css
68
67
  - vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js
69
68
  - vendor/assets/javascripts/bootstrap-table/extensions/cell-input/bootstrap-table-cell-input.css
70
69
  - vendor/assets/javascripts/bootstrap-table/extensions/cell-input/bootstrap-table-cell-input.js
@@ -79,15 +78,9 @@ files:
79
78
  - vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js
80
79
  - vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.css
81
80
  - vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js
82
- - vendor/assets/javascripts/bootstrap-table/extensions/group-by/bootstrap-table-group-by.css
83
- - vendor/assets/javascripts/bootstrap-table/extensions/group-by/bootstrap-table-group-by.js
84
81
  - vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js
85
82
  - vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js
86
83
  - vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js
87
- - vendor/assets/javascripts/bootstrap-table/extensions/multi-column-toggle/bootstrap-table-multi-toggle.js
88
- - vendor/assets/javascripts/bootstrap-table/extensions/multiple-search/bootstrap-table-multiple-search.js
89
- - vendor/assets/javascripts/bootstrap-table/extensions/multiple-selection-row/bootstrap-table-multiple-selection-row.css
90
- - vendor/assets/javascripts/bootstrap-table/extensions/multiple-selection-row/bootstrap-table-multiple-selection-row.js
91
84
  - vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js
92
85
  - vendor/assets/javascripts/bootstrap-table/extensions/natural-sorting/bootstrap-table-natural-sorting.js
93
86
  - vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css
@@ -98,12 +91,9 @@ files:
98
91
  - vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.css
99
92
  - vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js
100
93
  - vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js
101
- - vendor/assets/javascripts/bootstrap-table/extensions/select2-filter/bootstrap-table-select2-filter.js
102
94
  - vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.css
103
95
  - vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js
104
96
  - vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js
105
- - vendor/assets/javascripts/bootstrap-table/extensions/tree-column/bootstrap-table-tree-column.css
106
- - vendor/assets/javascripts/bootstrap-table/extensions/tree-column/bootstrap-table-tree-column.js
107
97
  - vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js
108
98
  - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js
109
99
  - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js
@@ -146,6 +136,8 @@ files:
146
136
  - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js
147
137
  - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js
148
138
  - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js
139
+ - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js
140
+ - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js
149
141
  - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js
150
142
  - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js
151
143
  - vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js
@@ -1,3 +0,0 @@
1
- .btn.enabled {
2
- background-color: #5bc0de;
3
- }
@@ -1,53 +0,0 @@
1
- table.treetable tbody tr td {
2
- cursor: default;
3
- }
4
-
5
- table.treetable span {
6
- background-position: center left;
7
- background-repeat: no-repeat;
8
- padding: .2em 0 .2em 1.5em;
9
- }
10
-
11
- table.treetable tr.collapsed span.indenter a {
12
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcU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S0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHlJREFUeNrcU1sNgDAQ6wgmcAM2MICGGlg1gJnNzWQcvwQGy1j4oUl/7tH0mpwzM7SgQyO+EZAUWh2MkkzSWhJwuRAlHYsJwEwyvs1gABDuzqoJcTw5qxaIJN0bgQRgIjnlmn1heSO5PE6Y2YXe+5Cr5+h++gs12AcAS6FS+7YOsj4AAAAASUVORK5CYII=);
13
- padding-right: 12px;
14
- }
15
-
16
- table.treetable tr.expanded span.indenter a {
17
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90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q86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHFJREFUeNpi/P//PwMlgImBQsA44C6gvhfa29v3MzAwOODRc6CystIRbxi0t7fjDJjKykpGYrwwi1hxnLHQ3t7+jIGBQRJJ6HllZaUUKYEYRYBPOB0gBShKwKGA////48VtbW3/8clTnBIH3gCKkzJgAGvBX0dDm0sCAAAAAElFTkSuQmCC);
18
- padding-right: 12px;
19
- }
20
-
21
- table.treetable tr.branch {
22
- background-color: #f9f9f9;
23
- }
24
-
25
- table.treetable tr.selected {
26
- background-color: #3875d7;
27
- color: #fff;
28
- }
29
-
30
- table.treetable tr span.indenter a {
31
- outline: none; /* Expander shows outline after upgrading to 3.0 (#141) */
32
- }
33
-
34
- table.treetable tr.collapsed.selected span.indenter a {
35
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYC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V70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAFpJREFUeNpi/P//PwMlgHHADWD4//8/NtyAQxwD45KAAQdKDfj//////fgMIsYAZIMw1DKREFwODAwM/4kNRKq64AADA4MjFDOQ6gKyY4HodMA49PMCxQYABgAVYHsjyZ1x7QAAAABJRU5ErkJggg==);
36
- }
37
-
38
- table.treetable tr.expanded.selected span.indenter a {
39
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//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Rs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAFtJREFUeNpi/P//PwMlgImBQsA44C6giQENDAwM//HgBmLCAF/AMBLjBUeixf///48L7/+PCvZjU4fPAAc0AxywqcMXCwegGJ1NckL6jx5wpKYDxqGXEkkCgAEAmrqBIejdgngAAAAASUVORK5CYII=);
40
- }
41
-
42
- table.treetable tr.accept {
43
- background-color: #a3bce4;
44
- color: #fff
45
- }
46
-
47
- table.treetable tr.collapsed.accept td span.indenter a {
48
- background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALE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c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAFpJREFUeNpi/P//PwMlgHHADWD4//8/NtyAQxwD45KAAQdKDfj//////fgMIsYAZIMw1DKREFwODAwM/4kNRKq64AADA4MjFDOQ6gKyY4HodMA49PMCxQYABgAVYHsjyZ1x7QAAAABJRU5ErkJggg==);
49
- }
50
-
51
- table.treetable tr.expanded.accept td span.indenter a {
52
- background-image: url(data:image/x-png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcq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ixf///48L7/+PCvZjU4fPAAc0AxywqcMXCwegGJ1NckL6jx5wpKYDxqGXEkkCgAEAmrqBIejdgngAAAAASUVORK5CYII=);
53
- }
@@ -1,257 +0,0 @@
1
- (function (global, factory) {
2
- if (typeof define === "function" && define.amd) {
3
- define([], factory);
4
- } else if (typeof exports !== "undefined") {
5
- factory();
6
- } else {
7
- var mod = {
8
- exports: {}
9
- };
10
- factory();
11
- global.bootstrapTableGroupBy = mod.exports;
12
- }
13
- })(this, function () {
14
- 'use strict';
15
-
16
- /**
17
- * @author: Dennis Hernández
18
- * @webSite: http://djhvscf.github.io/Blog
19
- * @version: v1.1.0
20
- */
21
-
22
- !function ($) {
23
-
24
- 'use strict';
25
-
26
- var originalRowAttr,
27
- dataTTId = 'data-tt-id',
28
- dataTTParentId = 'data-tt-parent-id',
29
- obj = {},
30
- parentId = undefined;
31
-
32
- var getParentRowId = function getParentRowId(that, id) {
33
- var parentRows = that.$body.find('tr').not('[' + 'data-tt-parent-id]');
34
-
35
- for (var i = 0; i < parentRows.length; i++) {
36
- if (i === id) {
37
- return $(parentRows[i]).attr('data-tt-id');
38
- }
39
- }
40
-
41
- return undefined;
42
- };
43
-
44
- var sumData = function sumData(that, data) {
45
- var sumRow = {};
46
- $.each(data, function (i, row) {
47
- if (!row.IsParent) {
48
- for (var prop in row) {
49
- if (!isNaN(parseFloat(row[prop]))) {
50
- if (that.columns[that.fieldsColumnsIndex[prop]].groupBySumGroup) {
51
- if (sumRow[prop] === undefined) {
52
- sumRow[prop] = 0;
53
- }
54
- sumRow[prop] += +row[prop];
55
- }
56
- }
57
- }
58
- }
59
- });
60
- return sumRow;
61
- };
62
-
63
- var rowAttr = function rowAttr(row, index) {
64
- //Call the User Defined Function
65
- originalRowAttr.apply([row, index]);
66
-
67
- obj[dataTTId.toString()] = index;
68
-
69
- if (!row.IsParent) {
70
- obj[dataTTParentId.toString()] = parentId === undefined ? index : parentId;
71
- } else {
72
- parentId = index;
73
- delete obj[dataTTParentId.toString()];
74
- }
75
-
76
- return obj;
77
- };
78
-
79
- var setObjectKeys = function setObjectKeys() {
80
- // From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys
81
- Object.keys = function (o) {
82
- if (o !== Object(o)) {
83
- throw new TypeError('Object.keys called on a non-object');
84
- }
85
- var k = [],
86
- p;
87
- for (p in o) {
88
- if (Object.prototype.hasOwnProperty.call(o, p)) {
89
- k.push(p);
90
- }
91
- }
92
- return k;
93
- };
94
- };
95
-
96
- var getDataArrayFromItem = function getDataArrayFromItem(that, item) {
97
- var itemDataArray = [];
98
- for (var i = 0; i < that.options.groupByField.length; i++) {
99
- itemDataArray.push(item[that.options.groupByField[i]]);
100
- }
101
-
102
- return itemDataArray;
103
- };
104
-
105
- var getNewRow = function getNewRow(that, result, index) {
106
- var newRow = {};
107
- for (var i = 0; i < that.options.groupByField.length; i++) {
108
- newRow[that.options.groupByField[i].toString()] = result[index][0][that.options.groupByField[i]];
109
- }
110
-
111
- newRow.IsParent = true;
112
-
113
- return newRow;
114
- };
115
-
116
- var groupBy = function groupBy(array, f) {
117
- var groups = {};
118
- $.each(array, function (i, o) {
119
- var group = JSON.stringify(f(o));
120
- groups[group] = groups[group] || [];
121
- groups[group].push(o);
122
- });
123
- return Object.keys(groups).map(function (group) {
124
- return groups[group];
125
- });
126
- };
127
-
128
- var makeGrouped = function makeGrouped(that, data) {
129
- var newData = [],
130
- sumRow = {};
131
-
132
- var result = groupBy(data, function (item) {
133
- return getDataArrayFromItem(that, item);
134
- });
135
-
136
- for (var i = 0; i < result.length; i++) {
137
- result[i].unshift(getNewRow(that, result, i));
138
- if (that.options.groupBySumGroup) {
139
- sumRow = sumData(that, result[i]);
140
- if (!$.isEmptyObject(sumRow)) {
141
- result[i].push(sumRow);
142
- }
143
- }
144
- }
145
-
146
- newData = newData.concat.apply(newData, result);
147
-
148
- if (!that.options.loaded && newData.length > 0) {
149
- that.options.loaded = true;
150
- that.options.originalData = that.options.data;
151
- that.options.data = newData;
152
- }
153
-
154
- return newData;
155
- };
156
-
157
- $.extend($.fn.bootstrapTable.defaults, {
158
- groupBy: false,
159
- groupByField: [],
160
- groupBySumGroup: false,
161
- groupByInitExpanded: undefined, //node, 'all'
162
- //internal variables
163
- loaded: false,
164
- originalData: undefined
165
- });
166
-
167
- $.fn.bootstrapTable.methods.push('collapseAll', 'expandAll', 'refreshGroupByField');
168
-
169
- $.extend($.fn.bootstrapTable.COLUMN_DEFAULTS, {
170
- groupBySumGroup: false
171
- });
172
-
173
- var BootstrapTable = $.fn.bootstrapTable.Constructor,
174
- _init = BootstrapTable.prototype.init,
175
- _initData = BootstrapTable.prototype.initData;
176
-
177
- BootstrapTable.prototype.init = function () {
178
- //Temporal validation
179
- if (!this.options.sortName) {
180
- if (this.options.groupBy && this.options.groupByField.length > 0) {
181
- var that = this;
182
-
183
- // Compatibility: IE < 9 and old browsers
184
- if (!Object.keys) {
185
- $.fn.bootstrapTable.utils.objectKeys();
186
- }
187
-
188
- //Make sure that the internal variables are set correctly
189
- this.options.loaded = false;
190
- this.options.originalData = undefined;
191
-
192
- originalRowAttr = this.options.rowAttributes;
193
- this.options.rowAttributes = rowAttr;
194
- this.$el.off('post-body.bs.table').on('post-body.bs.table', function () {
195
- that.$el.treetable({
196
- expandable: true,
197
- onNodeExpand: function onNodeExpand() {
198
- if (that.options.height) {
199
- that.resetHeader();
200
- }
201
- },
202
- onNodeCollapse: function onNodeCollapse() {
203
- if (that.options.height) {
204
- that.resetHeader();
205
- }
206
- }
207
- }, true);
208
-
209
- if (that.options.groupByInitExpanded !== undefined) {
210
- if (typeof that.options.groupByInitExpanded === 'number') {
211
- that.expandNode(that.options.groupByInitExpanded);
212
- } else if (that.options.groupByInitExpanded.toLowerCase() === 'all') {
213
- that.expandAll();
214
- }
215
- }
216
- });
217
- }
218
- }
219
- _init.apply(this, Array.prototype.slice.apply(arguments));
220
- };
221
-
222
- BootstrapTable.prototype.initData = function (data, type) {
223
- //Temporal validation
224
- if (!this.options.sortName) {
225
- if (this.options.groupBy && this.options.groupByField.length > 0) {
226
-
227
- this.options.groupByField = typeof this.options.groupByField === 'string' ? this.options.groupByField.replace('[', '').replace(']', '').replace(/ /g, '').toLowerCase().split(',') : this.options.groupByField;
228
-
229
- data = makeGrouped(this, data ? data : this.options.data);
230
- }
231
- }
232
- _initData.apply(this, [data, type]);
233
- };
234
-
235
- BootstrapTable.prototype.expandAll = function () {
236
- this.$el.treetable('expandAll');
237
- };
238
-
239
- BootstrapTable.prototype.collapseAll = function () {
240
- this.$el.treetable('collapseAll');
241
- };
242
-
243
- BootstrapTable.prototype.expandNode = function (id) {
244
- id = getParentRowId(this, id);
245
- if (id !== undefined) {
246
- this.$el.treetable('expandNode', id);
247
- }
248
- };
249
-
250
- BootstrapTable.prototype.refreshGroupByField = function (groupByFields) {
251
- if (!$.fn.bootstrapTable.utils.compareObjects(this.options.groupByField, groupByFields)) {
252
- this.options.groupByField = groupByFields;
253
- this.load(this.options.originalData);
254
- }
255
- };
256
- }(jQuery);
257
- });
@@ -1,105 +0,0 @@
1
- (function (global, factory) {
2
- if (typeof define === "function" && define.amd) {
3
- define([], factory);
4
- } else if (typeof exports !== "undefined") {
5
- factory();
6
- } else {
7
- var mod = {
8
- exports: {}
9
- };
10
- factory();
11
- global.bootstrapTableMultiToggle = mod.exports;
12
- }
13
- })(this, function () {
14
- 'use strict';
15
-
16
- /**
17
- * @author Homer Glascock <HopGlascock@gmail.com>
18
- * @version: v1.0.0
19
- */
20
-
21
- !function ($) {
22
- "use strict";
23
-
24
- var sprintf = $.fn.bootstrapTable.utils.sprintf;
25
-
26
- var reInit = function reInit(self) {
27
- self.initHeader();
28
- self.initSearch();
29
- self.initPagination();
30
- self.initBody();
31
- };
32
-
33
- $.extend($.fn.bootstrapTable.defaults, {
34
- showToggleBtn: false,
35
- multiToggleDefaults: [] //column names go here
36
- });
37
-
38
- $.fn.bootstrapTable.methods.push('hideAllColumns', 'showAllColumns');
39
-
40
- var BootstrapTable = $.fn.bootstrapTable.Constructor,
41
- _initToolbar = BootstrapTable.prototype.initToolbar;
42
-
43
- BootstrapTable.prototype.initToolbar = function () {
44
-
45
- _initToolbar.apply(this, Array.prototype.slice.apply(arguments));
46
-
47
- var that = this,
48
- $btnGroup = this.$toolbar.find('>.btn-group');
49
-
50
- if (typeof this.options.multiToggleDefaults === 'string') {
51
- this.options.multiToggleDefaults = JSON.parse(this.options.multiToggleDefaults);
52
- }
53
-
54
- if (this.options.showToggleBtn && this.options.showColumns) {
55
- var showbtn = "<button class='btn btn-default hidden' id='showAllBtn'><span class='glyphicon glyphicon-resize-full icon-zoom-in'></span></button>",
56
- hidebtn = "<button class='btn btn-default' id='hideAllBtn'><span class='glyphicon glyphicon-resize-small icon-zoom-out'></span></button>";
57
-
58
- $btnGroup.append(showbtn + hidebtn);
59
-
60
- $btnGroup.find('#showAllBtn').click(function () {
61
- that.showAllColumns();
62
- $btnGroup.find('#hideAllBtn').toggleClass('hidden');
63
- $btnGroup.find('#showAllBtn').toggleClass('hidden');
64
- });
65
- $btnGroup.find('#hideAllBtn').click(function () {
66
- that.hideAllColumns();
67
- $btnGroup.find('#hideAllBtn').toggleClass('hidden');
68
- $btnGroup.find('#showAllBtn').toggleClass('hidden');
69
- });
70
- }
71
- };
72
-
73
- BootstrapTable.prototype.hideAllColumns = function () {
74
- var that = this,
75
- defaults = that.options.multiToggleDefaults;
76
-
77
- $.each(this.columns, function (index, column) {
78
- //if its one of the defaults dont touch it
79
- if (defaults.indexOf(column.field) == -1 && column.switchable) {
80
- column.visible = false;
81
- var $items = that.$toolbar.find('.keep-open input').prop('disabled', false);
82
- $items.filter(sprintf('[value="%s"]', index)).prop('checked', false);
83
- }
84
- });
85
-
86
- reInit(that);
87
- };
88
-
89
- BootstrapTable.prototype.showAllColumns = function () {
90
- var that = this;
91
- $.each(this.columns, function (index, column) {
92
- if (column.switchable) {
93
- column.visible = true;
94
- }
95
-
96
- var $items = that.$toolbar.find('.keep-open input').prop('disabled', false);
97
- $items.filter(sprintf('[value="%s"]', index)).prop('checked', true);
98
- });
99
-
100
- reInit(that);
101
-
102
- that.toggleColumn(0, that.columns[0].visible, false);
103
- };
104
- }(jQuery);
105
- });
@@ -1,85 +0,0 @@
1
- (function (global, factory) {
2
- if (typeof define === "function" && define.amd) {
3
- define([], factory);
4
- } else if (typeof exports !== "undefined") {
5
- factory();
6
- } else {
7
- var mod = {
8
- exports: {}
9
- };
10
- factory();
11
- global.bootstrapTableMultipleSearch = mod.exports;
12
- }
13
- })(this, function () {
14
- 'use strict';
15
-
16
- /**
17
- * @author: Dennis Hernández
18
- * @webSite: http://djhvscf.github.io/Blog
19
- * @version: v1.0.0
20
- */
21
-
22
- !function ($) {
23
-
24
- 'use strict';
25
-
26
- $.extend($.fn.bootstrapTable.defaults, {
27
- multipleSearch: false,
28
- delimeter: " "
29
- });
30
-
31
- var BootstrapTable = $.fn.bootstrapTable.Constructor,
32
- _initSearch = BootstrapTable.prototype.initSearch;
33
-
34
- BootstrapTable.prototype.initSearch = function () {
35
- if (this.options.multipleSearch) {
36
- if (this.searchText === undefined) {
37
- return;
38
- }
39
- var strArray = this.searchText.split(this.options.delimeter),
40
- that = this,
41
- f = $.isEmptyObject(this.filterColumns) ? null : this.filterColumns,
42
- dataFiltered = [];
43
-
44
- if (strArray.length === 1) {
45
- _initSearch.apply(this, Array.prototype.slice.apply(arguments));
46
- } else {
47
- for (var i = 0; i < strArray.length; i++) {
48
- var str = strArray[i].trim();
49
- dataFiltered = str ? $.grep(dataFiltered.length === 0 ? this.options.data : dataFiltered, function (item, i) {
50
- for (var key in item) {
51
- key = $.isNumeric(key) ? parseInt(key, 10) : key;
52
- var value = item[key],
53
- column = that.columns[that.fieldsColumnsIndex[key]],
54
- j = $.inArray(key, that.header.fields);
55
-
56
- // Fix #142: search use formated data
57
- if (column && column.searchFormatter) {
58
- value = $.fn.bootstrapTable.utils.calculateObjectValue(column, that.header.formatters[j], [value, item, i], value);
59
- }
60
-
61
- var index = $.inArray(key, that.header.fields);
62
- if (index !== -1 && that.header.searchables[index] && (typeof value === 'string' || typeof value === 'number')) {
63
- if (that.options.strictSearch) {
64
- if ((value + '').toLowerCase() === str) {
65
- return true;
66
- }
67
- } else {
68
- if ((value + '').toLowerCase().indexOf(str) !== -1) {
69
- return true;
70
- }
71
- }
72
- }
73
- }
74
- return false;
75
- }) : this.data;
76
- }
77
-
78
- this.data = dataFiltered;
79
- }
80
- } else {
81
- _initSearch.apply(this, Array.prototype.slice.apply(arguments));
82
- }
83
- };
84
- }(jQuery);
85
- });