jquery-datatables 1.10.19.1 → 1.10.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.gitattributes +1 -0
  3. data/README.md +28 -1
  4. data/app/assets/javascripts/datatables/dataTables.uikit.js +2 -2
  5. data/app/assets/javascripts/datatables/extensions/AutoFill/dataTables.autoFill.js +42 -29
  6. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.bootstrap.js +1 -1
  7. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.bootstrap4.js +8 -2
  8. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.colVis.js +6 -3
  9. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.foundation.js +5 -4
  10. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.html5.js +58 -6
  11. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.print.js +16 -5
  12. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.semanticui.js +1 -1
  13. data/app/assets/javascripts/datatables/extensions/Buttons/dataTables.buttons.js +267 -152
  14. data/app/assets/javascripts/datatables/extensions/ColReorder/colReorder.foundation.js +1 -1
  15. data/app/assets/javascripts/datatables/extensions/ColReorder/dataTables.colReorder.js +121 -52
  16. data/app/assets/javascripts/datatables/extensions/FixedColumns/dataTables.fixedColumns.js +32 -5
  17. data/app/assets/javascripts/datatables/extensions/KeyTable/dataTables.keyTable.js +166 -63
  18. data/app/assets/javascripts/datatables/extensions/KeyTable/keyTable.foundation.js +1 -1
  19. data/app/assets/javascripts/datatables/extensions/RowGroup/dataTables.rowGroup.js +105 -53
  20. data/app/assets/javascripts/datatables/extensions/RowGroup/rowGroup.foundation.js +1 -1
  21. data/app/assets/javascripts/datatables/extensions/RowGroup/{rowGroup.semanicui.js → rowGroup.semanticui.js} +0 -0
  22. data/app/assets/javascripts/datatables/extensions/RowReorder/dataTables.rowReorder.js +10 -9
  23. data/app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.foundation.js +1 -1
  24. data/app/assets/javascripts/datatables/extensions/Scroller/dataTables.scroller.js +519 -636
  25. data/app/assets/javascripts/datatables/extensions/Scroller/scroller.foundation.js +1 -1
  26. data/app/assets/javascripts/datatables/extensions/Select/dataTables.select.js +49 -18
  27. data/app/assets/javascripts/datatables/extensions/Select/select.foundation.js +1 -1
  28. data/app/assets/javascripts/datatables/jquery.dataTables.js +97 -60
  29. data/app/assets/javascripts/datatables/plugins/api/average.js +7 -6
  30. data/app/assets/javascripts/datatables/plugins/api/sum.js +7 -6
  31. data/app/assets/javascripts/datatables/plugins/pagination/ellipses.js +160 -0
  32. data/app/assets/javascripts/datatables/plugins/pagination/extjs.js +137 -0
  33. data/app/assets/javascripts/datatables/plugins/pagination/four_button.js +110 -0
  34. data/app/assets/javascripts/datatables/plugins/pagination/full_numbers_no_ellipses.js +59 -0
  35. data/app/assets/javascripts/datatables/plugins/pagination/input.js +22 -19
  36. data/app/assets/javascripts/datatables/plugins/pagination/scrolling.js +130 -0
  37. data/app/assets/javascripts/datatables/plugins/pagination/select.js +97 -0
  38. data/app/assets/javascripts/datatables/plugins/pagination/simple_incremental_bootstrap.js +154 -0
  39. data/app/assets/javascripts/datatables/plugins/pagination/simple_numbers_no_ellipses.js +59 -0
  40. data/app/assets/javascripts/datatables/plugins/search/dataTables.alphabetSearch.js +440 -399
  41. data/app/assets/javascripts/datatables/plugins/sorting/enum.js +51 -0
  42. data/app/assets/javascripts/datatables/plugins/type-detection/date-dd-MMM-yyyy.js +63 -0
  43. data/app/assets/javascripts/datatables/plugins/type-detection/date-de.js +125 -0
  44. data/app/assets/javascripts/datatables/plugins/type-detection/date-eu.js +64 -0
  45. data/app/assets/javascripts/datatables/plugins/type-detection/date-euro.js +48 -0
  46. data/app/assets/javascripts/datatables/plugins/type-detection/date-uk.js +35 -12
  47. data/app/assets/javascripts/datatables/plugins/type-detection/datetime-moment.js +74 -0
  48. data/app/assets/javascripts/datatables/plugins/type-detection/datetime-us.js +86 -0
  49. data/app/assets/javascripts/datatables/plugins/type-detection/file-size.js +37 -13
  50. data/app/assets/javascripts/datatables/plugins/type-detection/ip-address.js +113 -11
  51. data/app/assets/javascripts/datatables/plugins/type-detection/numString.js +63 -0
  52. data/app/assets/javascripts/datatables/plugins/type-detection/percent.js +34 -0
  53. data/app/assets/javascripts/datatables/plugins/type-detection/time-elapsed-dhms.js +42 -0
  54. data/app/assets/javascripts/datatables/plugins/type-detection/time.js +56 -0
  55. data/app/assets/javascripts/datatables/plugins/type-detection/title-numeric.js +40 -0
  56. data/app/assets/javascripts/datatables/plugins/type-detection/title-string.js +36 -0
  57. data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.dataTables.scss +10 -3
  58. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap.scss +12 -3
  59. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap4.scss +13 -6
  60. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.dataTables.scss +2 -0
  61. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.foundation.scss +5 -1
  62. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.jqueryui.scss +1 -0
  63. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.semanticui.scss +2 -1
  64. data/app/assets/stylesheets/datatables/extensions/Buttons/common.scss +10 -0
  65. data/app/assets/stylesheets/datatables/extensions/Buttons/mixins.scss +42 -30
  66. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap.scss +11 -7
  67. data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.foundation.scss +1 -0
  68. data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.dataTables.scss +13 -5
  69. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.dataTables.scss +20 -2
  70. data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.dataTables.scss +15 -2
  71. data/lib/jquery-datatables/version.rb +1 -1
  72. metadata +26 -12
  73. data/app/assets/javascripts/datatables/dataTables.bootstrap2.js +0 -162
  74. data/app/assets/javascripts/datatables/extensions/ColReorder/colReorder.semanicui.js +0 -38
  75. data/app/assets/javascripts/datatables/extensions/FixedColumns/fixedColumns.semanicui.js +0 -38
  76. data/app/assets/javascripts/datatables/extensions/FixedHeader/fixedHeader.semanicui.js +0 -38
  77. data/app/assets/javascripts/datatables/extensions/KeyTable/keyTable.semanicui.js +0 -38
  78. data/app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.semanicui.js +0 -38
  79. data/app/assets/stylesheets/datatables/dataTables.bootstrap2.scss +0 -178
@@ -1,38 +0,0 @@
1
- /*! Semanic UI styling wrapper for RowReorder
2
- * ©2018 SpryMedia Ltd - datatables.net/license
3
- */
4
-
5
- (function( factory ){
6
- if ( typeof define === 'function' && define.amd ) {
7
- // AMD
8
- define( ['jquery', 'datatables.net-se', 'datatables.net-rowreorder'], function ( $ ) {
9
- return factory( $, window, document );
10
- } );
11
- }
12
- else if ( typeof exports === 'object' ) {
13
- // CommonJS
14
- module.exports = function (root, $) {
15
- if ( ! root ) {
16
- root = window;
17
- }
18
-
19
- if ( ! $ || ! $.fn.dataTable ) {
20
- $ = require('datatables.net-se')(root, $).$;
21
- }
22
-
23
- if ( ! $.fn.dataTable.RowReorder ) {
24
- require('datatables.net-rowreorder')(root, $);
25
- }
26
-
27
- return factory( $, root, root.document );
28
- };
29
- }
30
- else {
31
- // Browser
32
- factory( jQuery, window, document );
33
- }
34
- }(function( $, window, document, undefined ) {
35
-
36
- return $.fn.dataTable;
37
-
38
- }));
@@ -1,178 +0,0 @@
1
-
2
- div.dataTables_length label {
3
- float: left;
4
- text-align: left;
5
- }
6
-
7
- div.dataTables_length select {
8
- width: 75px;
9
- }
10
-
11
- div.dataTables_filter label {
12
- float: right;
13
- }
14
-
15
- div.dataTables_info {
16
- padding-top: 8px;
17
- }
18
-
19
- div.dataTables_paginate {
20
- float: right;
21
- margin: 0;
22
- }
23
-
24
- table.table {
25
- clear: both;
26
- margin-bottom: 6px !important;
27
- max-width: none !important;
28
- }
29
-
30
- table.table thead .sorting,
31
- table.table thead .sorting_asc,
32
- table.table thead .sorting_desc,
33
- table.table thead .sorting_asc_disabled,
34
- table.table thead .sorting_desc_disabled {
35
- cursor: pointer;
36
- *cursor: hand;
37
- }
38
-
39
- table.table thead .sorting { background-image: image-url("datatables/sort_both.png") no-repeat center right; }
40
- table.table thead .sorting_asc { background-image: image-url("datatables/sort_asc.png") no-repeat center right; }
41
- table.table thead .sorting_desc { background-image: image-url("datatables/sort_desc.png") no-repeat center right; }
42
-
43
- table.table thead .sorting_asc_disabled { background-image: image-url("datatables/sort_asc_disabled.png") no-repeat center right; }
44
- table.table thead .sorting_desc_disabled { background-image: image-url("datatables/sort_desc_disabled.png") no-repeat center right; }
45
-
46
- table.dataTable th:active {
47
- outline: none;
48
- }
49
-
50
- /* Scrolling */
51
- div.dataTables_scrollHead table {
52
- margin-bottom: 0 !important;
53
- border-bottom-left-radius: 0;
54
- border-bottom-right-radius: 0;
55
- }
56
-
57
- div.dataTables_scrollHead table thead tr:last-child th:first-child,
58
- div.dataTables_scrollHead table thead tr:last-child td:first-child {
59
- border-bottom-left-radius: 0 !important;
60
- border-bottom-right-radius: 0 !important;
61
- }
62
-
63
- div.dataTables_scrollBody table {
64
- border-top: none;
65
- margin-bottom: 0 !important;
66
- }
67
-
68
- div.dataTables_scrollBody tbody tr:first-child th,
69
- div.dataTables_scrollBody tbody tr:first-child td {
70
- border-top: none;
71
- }
72
-
73
- div.dataTables_scrollFoot table {
74
- border-top: none;
75
- }
76
-
77
-
78
-
79
-
80
- /*
81
- * TableTools styles
82
- */
83
- .table tbody tr.active td,
84
- .table tbody tr.active th {
85
- background-color: #08C;
86
- color: white;
87
- }
88
-
89
- .table tbody tr.active:hover td,
90
- .table tbody tr.active:hover th {
91
- background-color: #0075b0 !important;
92
- }
93
-
94
- .table-striped tbody tr.active:nth-child(odd) td,
95
- .table-striped tbody tr.active:nth-child(odd) th {
96
- background-color: #017ebc;
97
- }
98
-
99
- table.DTTT_selectable tbody tr {
100
- cursor: pointer;
101
- *cursor: hand;
102
- }
103
-
104
- div.DTTT .btn {
105
- color: #333 !important;
106
- font-size: 12px;
107
- }
108
-
109
- div.DTTT .btn:hover {
110
- text-decoration: none !important;
111
- }
112
-
113
-
114
- ul.DTTT_dropdown.dropdown-menu a {
115
- color: #333 !important; /* needed only when demo_page.css is included */
116
- }
117
-
118
- ul.DTTT_dropdown.dropdown-menu li:hover a {
119
- background-color: #0088cc;
120
- color: white !important;
121
- }
122
-
123
- /* TableTools information display */
124
- div.DTTT_print_info.modal {
125
- height: 150px;
126
- margin-top: -75px;
127
- text-align: center;
128
- }
129
-
130
- div.DTTT_print_info h6 {
131
- font-weight: normal;
132
- font-size: 28px;
133
- line-height: 28px;
134
- margin: 1em;
135
- }
136
-
137
- div.DTTT_print_info p {
138
- font-size: 14px;
139
- line-height: 20px;
140
- }
141
-
142
-
143
-
144
- /*
145
- * FixedColumns styles
146
- */
147
- div.DTFC_LeftHeadWrapper table,
148
- div.DTFC_LeftFootWrapper table,
149
- table.DTFC_Cloned tr.even {
150
- background-color: white;
151
- }
152
-
153
- div.DTFC_LeftHeadWrapper table {
154
- margin-bottom: 0 !important;
155
- border-top-right-radius: 0 !important;
156
- border-bottom-left-radius: 0 !important;
157
- border-bottom-right-radius: 0 !important;
158
- }
159
-
160
- div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
161
- div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
162
- border-bottom-left-radius: 0 !important;
163
- border-bottom-right-radius: 0 !important;
164
- }
165
-
166
- div.DTFC_LeftBodyWrapper table {
167
- border-top: none;
168
- margin-bottom: 0 !important;
169
- }
170
-
171
- div.DTFC_LeftBodyWrapper tbody tr:first-child th,
172
- div.DTFC_LeftBodyWrapper tbody tr:first-child td {
173
- border-top: none;
174
- }
175
-
176
- div.DTFC_LeftFootWrapper table {
177
- border-top: none;
178
- }