jquery-datatables 1.10.12 → 1.10.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/app/assets/javascripts/datatables/dataTables.bootstrap.js +2 -2
  4. data/app/assets/javascripts/datatables/dataTables.bootstrap4.js +5 -5
  5. data/app/assets/javascripts/datatables/dataTables.foundation.js +1 -1
  6. data/app/assets/javascripts/datatables/dataTables.material.js +1 -1
  7. data/app/assets/javascripts/datatables/dataTables.semanticui.js +1 -1
  8. data/app/assets/javascripts/datatables/extensions/AutoFill/dataTables.autoFill.js +63 -31
  9. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.colVis.js +2 -3
  10. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.flash.js +145 -55
  11. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.html5.js +224 -206
  12. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.print.js +14 -8
  13. data/app/assets/javascripts/datatables/extensions/Buttons/dataTables.buttons.js +54 -24
  14. data/app/assets/javascripts/datatables/extensions/KeyTable/dataTables.keyTable.js +137 -68
  15. data/app/assets/javascripts/datatables/extensions/Responsive/dataTables.responsive.js +30 -7
  16. data/app/assets/javascripts/datatables/extensions/Responsive/responsive.bootstrap.js +6 -2
  17. data/app/assets/javascripts/datatables/extensions/Responsive/responsive.bootstrap4.js +6 -2
  18. data/app/assets/javascripts/datatables/extensions/RowReorder/dataTables.rowReorder.js +64 -6
  19. data/app/assets/javascripts/datatables/extensions/Select/dataTables.select.js +40 -15
  20. data/app/assets/javascripts/datatables/jquery.dataTables.js +246 -217
  21. data/app/assets/javascripts/datatables/plugins/api/average.js +32 -0
  22. data/app/assets/javascripts/datatables/plugins/api/sum.js +51 -0
  23. data/app/assets/javascripts/datatables/plugins/pagination/input.js +224 -0
  24. data/app/assets/javascripts/datatables/plugins/search/alphabetSearch.js +368 -0
  25. data/app/assets/javascripts/datatables/plugins/sorting/file-size.js +43 -0
  26. data/app/assets/javascripts/datatables/plugins/sorting/ip-address.js +103 -0
  27. data/app/assets/stylesheets/datatables/dataTables.bootstrap.css +0 -1
  28. data/app/assets/stylesheets/datatables/dataTables.semanticui.css +0 -1
  29. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap.css +4 -4
  30. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.bootstrap4.css +4 -4
  31. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.dataTables.css +4 -4
  32. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.foundation.css +4 -4
  33. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.jqueryui.css +4 -4
  34. data/app/assets/stylesheets/datatables/extensions/Responsive/responsive.semanticui.css +4 -4
  35. data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap.css +9 -4
  36. data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap4.css +9 -4
  37. data/app/assets/stylesheets/datatables/extensions/Select/select.dataTables.css +9 -4
  38. data/app/assets/stylesheets/datatables/extensions/Select/select.foundation.css +9 -4
  39. data/app/assets/stylesheets/datatables/extensions/Select/select.jqueryui.css +9 -4
  40. data/app/assets/stylesheets/datatables/extensions/Select/select.semanticui.css +9 -4
  41. data/app/assets/stylesheets/datatables/plugins/search/alphabetSearch.css +43 -0
  42. data/lib/jquery-datatables/version.rb +1 -1
  43. metadata +10 -3
@@ -59,10 +59,13 @@ table.dataTable.display tbody > tr > .selected:hover, table.dataTable.order-colu
59
59
  table.dataTable.order-column.hover tbody > tr > .selected:hover {
60
60
  background-color: #a2aec7;
61
61
  }
62
- table.dataTable td.select-checkbox {
62
+ table.dataTable td.select-checkbox,
63
+ table.dataTable th.select-checkbox {
63
64
  position: relative;
64
65
  }
65
- table.dataTable td.select-checkbox:before, table.dataTable td.select-checkbox:after {
66
+ table.dataTable td.select-checkbox:before, table.dataTable td.select-checkbox:after,
67
+ table.dataTable th.select-checkbox:before,
68
+ table.dataTable th.select-checkbox:after {
66
69
  display: block;
67
70
  position: absolute;
68
71
  top: 1.2em;
@@ -71,14 +74,16 @@ table.dataTable td.select-checkbox:before, table.dataTable td.select-checkbox:af
71
74
  height: 12px;
72
75
  box-sizing: border-box;
73
76
  }
74
- table.dataTable td.select-checkbox:before {
77
+ table.dataTable td.select-checkbox:before,
78
+ table.dataTable th.select-checkbox:before {
75
79
  content: ' ';
76
80
  margin-top: -6px;
77
81
  margin-left: -6px;
78
82
  border: 1px solid black;
79
83
  border-radius: 3px;
80
84
  }
81
- table.dataTable tr.selected td.select-checkbox:after {
85
+ table.dataTable tr.selected td.select-checkbox:after,
86
+ table.dataTable tr.selected th.select-checkbox:after {
82
87
  content: '\2714';
83
88
  margin-top: -11px;
84
89
  margin-left: -4px;
@@ -59,10 +59,13 @@ table.dataTable.display tbody > tr > .selected:hover, table.dataTable.order-colu
59
59
  table.dataTable.order-column.hover tbody > tr > .selected:hover {
60
60
  background-color: rgba(0, 0, 0, 0.1279);
61
61
  }
62
- table.dataTable td.select-checkbox {
62
+ table.dataTable td.select-checkbox,
63
+ table.dataTable th.select-checkbox {
63
64
  position: relative;
64
65
  }
65
- table.dataTable td.select-checkbox:before, table.dataTable td.select-checkbox:after {
66
+ table.dataTable td.select-checkbox:before, table.dataTable td.select-checkbox:after,
67
+ table.dataTable th.select-checkbox:before,
68
+ table.dataTable th.select-checkbox:after {
66
69
  display: block;
67
70
  position: absolute;
68
71
  top: 1.2em;
@@ -71,14 +74,16 @@ table.dataTable td.select-checkbox:before, table.dataTable td.select-checkbox:af
71
74
  height: 12px;
72
75
  box-sizing: border-box;
73
76
  }
74
- table.dataTable td.select-checkbox:before {
77
+ table.dataTable td.select-checkbox:before,
78
+ table.dataTable th.select-checkbox:before {
75
79
  content: ' ';
76
80
  margin-top: -6px;
77
81
  margin-left: -6px;
78
82
  border: 1px solid black;
79
83
  border-radius: 3px;
80
84
  }
81
- table.dataTable tr.selected td.select-checkbox:after {
85
+ table.dataTable tr.selected td.select-checkbox:after,
86
+ table.dataTable tr.selected th.select-checkbox:after {
82
87
  content: '\2714';
83
88
  margin-top: -11px;
84
89
  margin-left: -4px;
@@ -0,0 +1,43 @@
1
+ div.alphabet {
2
+ position: relative;
3
+ display: table;
4
+ width: 100%;
5
+ margin-bottom: 1em;
6
+ }
7
+
8
+ div.alphabet span {
9
+ display: table-cell;
10
+ color: #3174c7;
11
+ cursor: pointer;
12
+ text-align: center;
13
+ width: 3.5%;
14
+ }
15
+
16
+ div.alphabet span:hover {
17
+ text-decoration: underline;
18
+ }
19
+
20
+ div.alphabet span.active {
21
+ color: black;
22
+ }
23
+
24
+ div.alphabet span.empty {
25
+ color: red;
26
+ }
27
+
28
+ div.alphabet_info {
29
+ display: block;
30
+ position: absolute;
31
+ background-color: #111;
32
+ border-radius: 3px;
33
+ color: white;
34
+ top: 2em;
35
+ height: 1.8em;
36
+ padding-top: 0.4em;
37
+ text-align: center;
38
+ z-index: 1;
39
+ }
40
+
41
+ tr.alphabet_group, tr.alphabet_group:hover {
42
+ background-color: rgba(0,0,0,0.15) !important;
43
+ }
@@ -1,6 +1,6 @@
1
1
  module Jquery
2
2
  module Datatables
3
- VERSION = "1.10.12"
3
+ VERSION = "1.10.13"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.12
4
+ version: 1.10.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - mkhairi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-31 00:00:00.000000000 Z
11
+ date: 2016-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -148,6 +148,12 @@ files:
148
148
  - app/assets/javascripts/datatables/extensions/Scroller/dataTables.scroller.js
149
149
  - app/assets/javascripts/datatables/extensions/Select/dataTables.select.js
150
150
  - app/assets/javascripts/datatables/jquery.dataTables.js
151
+ - app/assets/javascripts/datatables/plugins/api/average.js
152
+ - app/assets/javascripts/datatables/plugins/api/sum.js
153
+ - app/assets/javascripts/datatables/plugins/pagination/input.js
154
+ - app/assets/javascripts/datatables/plugins/search/alphabetSearch.js
155
+ - app/assets/javascripts/datatables/plugins/sorting/file-size.js
156
+ - app/assets/javascripts/datatables/plugins/sorting/ip-address.js
151
157
  - app/assets/media/swf/flashExport.swf
152
158
  - app/assets/stylesheets/datatables/dataTables.bootstrap.css
153
159
  - app/assets/stylesheets/datatables/dataTables.bootstrap4.css
@@ -221,6 +227,7 @@ files:
221
227
  - app/assets/stylesheets/datatables/extensions/Select/select.semanticui.css
222
228
  - app/assets/stylesheets/datatables/jquery.dataTables.css
223
229
  - app/assets/stylesheets/datatables/jquery.dataTables_themeroller.css
230
+ - app/assets/stylesheets/datatables/plugins/search/alphabetSearch.css
224
231
  - jquery-datatables.gemspec
225
232
  - lib/generators/jquery/datatables/install_generator.rb
226
233
  - lib/generators/jquery/datatables/templates/bootstrap.css.tt
@@ -262,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
269
  version: '0'
263
270
  requirements: []
264
271
  rubyforge_project:
265
- rubygems_version: 2.6.6
272
+ rubygems_version: 2.5.1
266
273
  signing_key:
267
274
  specification_version: 4
268
275
  summary: Jquery DataTables web assets for Rails, etc.