jquery-datatables 1.10.19.1 → 1.10.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitattributes +1 -0
- data/README.md +28 -1
- data/app/assets/javascripts/datatables/dataTables.uikit.js +2 -2
- data/app/assets/javascripts/datatables/extensions/AutoFill/dataTables.autoFill.js +42 -29
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.bootstrap.js +1 -1
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.bootstrap4.js +8 -2
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.colVis.js +6 -3
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.foundation.js +5 -4
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.html5.js +58 -6
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.print.js +16 -5
- data/app/assets/javascripts/datatables/extensions/Buttons/buttons.semanticui.js +1 -1
- data/app/assets/javascripts/datatables/extensions/Buttons/dataTables.buttons.js +267 -152
- data/app/assets/javascripts/datatables/extensions/ColReorder/colReorder.foundation.js +1 -1
- data/app/assets/javascripts/datatables/extensions/ColReorder/dataTables.colReorder.js +121 -52
- data/app/assets/javascripts/datatables/extensions/FixedColumns/dataTables.fixedColumns.js +32 -5
- data/app/assets/javascripts/datatables/extensions/KeyTable/dataTables.keyTable.js +166 -63
- data/app/assets/javascripts/datatables/extensions/KeyTable/keyTable.foundation.js +1 -1
- data/app/assets/javascripts/datatables/extensions/RowGroup/dataTables.rowGroup.js +105 -53
- data/app/assets/javascripts/datatables/extensions/RowGroup/rowGroup.foundation.js +1 -1
- data/app/assets/javascripts/datatables/extensions/RowGroup/{rowGroup.semanicui.js → rowGroup.semanticui.js} +0 -0
- data/app/assets/javascripts/datatables/extensions/RowReorder/dataTables.rowReorder.js +10 -9
- data/app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.foundation.js +1 -1
- data/app/assets/javascripts/datatables/extensions/Scroller/dataTables.scroller.js +519 -636
- data/app/assets/javascripts/datatables/extensions/Scroller/scroller.foundation.js +1 -1
- data/app/assets/javascripts/datatables/extensions/Select/dataTables.select.js +49 -18
- data/app/assets/javascripts/datatables/extensions/Select/select.foundation.js +1 -1
- data/app/assets/javascripts/datatables/jquery.dataTables.js +97 -60
- data/app/assets/javascripts/datatables/plugins/api/average.js +7 -6
- data/app/assets/javascripts/datatables/plugins/api/sum.js +7 -6
- data/app/assets/javascripts/datatables/plugins/pagination/ellipses.js +160 -0
- data/app/assets/javascripts/datatables/plugins/pagination/extjs.js +137 -0
- data/app/assets/javascripts/datatables/plugins/pagination/four_button.js +110 -0
- data/app/assets/javascripts/datatables/plugins/pagination/full_numbers_no_ellipses.js +59 -0
- data/app/assets/javascripts/datatables/plugins/pagination/input.js +22 -19
- data/app/assets/javascripts/datatables/plugins/pagination/scrolling.js +130 -0
- data/app/assets/javascripts/datatables/plugins/pagination/select.js +97 -0
- data/app/assets/javascripts/datatables/plugins/pagination/simple_incremental_bootstrap.js +154 -0
- data/app/assets/javascripts/datatables/plugins/pagination/simple_numbers_no_ellipses.js +59 -0
- data/app/assets/javascripts/datatables/plugins/search/dataTables.alphabetSearch.js +440 -399
- data/app/assets/javascripts/datatables/plugins/sorting/enum.js +51 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/date-dd-MMM-yyyy.js +63 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/date-de.js +125 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/date-eu.js +64 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/date-euro.js +48 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/date-uk.js +35 -12
- data/app/assets/javascripts/datatables/plugins/type-detection/datetime-moment.js +74 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/datetime-us.js +86 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/file-size.js +37 -13
- data/app/assets/javascripts/datatables/plugins/type-detection/ip-address.js +113 -11
- data/app/assets/javascripts/datatables/plugins/type-detection/numString.js +63 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/percent.js +34 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/time-elapsed-dhms.js +42 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/time.js +56 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/title-numeric.js +40 -0
- data/app/assets/javascripts/datatables/plugins/type-detection/title-string.js +36 -0
- data/app/assets/stylesheets/datatables/extensions/AutoFill/autoFill.dataTables.scss +10 -3
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap.scss +12 -3
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap4.scss +13 -6
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.dataTables.scss +2 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.foundation.scss +5 -1
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.jqueryui.scss +1 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.semanticui.scss +2 -1
- data/app/assets/stylesheets/datatables/extensions/Buttons/common.scss +10 -0
- data/app/assets/stylesheets/datatables/extensions/Buttons/mixins.scss +42 -30
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.bootstrap.scss +11 -7
- data/app/assets/stylesheets/datatables/extensions/FixedColumns/fixedColumns.foundation.scss +1 -0
- data/app/assets/stylesheets/datatables/extensions/KeyTable/keyTable.dataTables.scss +13 -5
- data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.dataTables.scss +20 -2
- data/app/assets/stylesheets/datatables/extensions/Scroller/scroller.dataTables.scss +15 -2
- data/lib/jquery-datatables/version.rb +1 -1
- metadata +26 -12
- data/app/assets/javascripts/datatables/dataTables.bootstrap2.js +0 -162
- data/app/assets/javascripts/datatables/extensions/ColReorder/colReorder.semanicui.js +0 -38
- data/app/assets/javascripts/datatables/extensions/FixedColumns/fixedColumns.semanicui.js +0 -38
- data/app/assets/javascripts/datatables/extensions/FixedHeader/fixedHeader.semanicui.js +0 -38
- data/app/assets/javascripts/datatables/extensions/KeyTable/keyTable.semanicui.js +0 -38
- data/app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.semanicui.js +0 -38
- data/app/assets/stylesheets/datatables/dataTables.bootstrap2.scss +0 -178
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.
|
4
|
+
version: 1.10.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mkhairi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
@@ -59,6 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".gitattributes"
|
62
63
|
- ".gitignore"
|
63
64
|
- Gemfile
|
64
65
|
- LICENSE.txt
|
@@ -70,7 +71,6 @@ files:
|
|
70
71
|
- app/assets/images/datatables/sort_desc.png
|
71
72
|
- app/assets/images/datatables/sort_desc_disabled.png
|
72
73
|
- app/assets/javascripts/datatables/dataTables.bootstrap.js
|
73
|
-
- app/assets/javascripts/datatables/dataTables.bootstrap2.js
|
74
74
|
- app/assets/javascripts/datatables/dataTables.bootstrap4.js
|
75
75
|
- app/assets/javascripts/datatables/dataTables.dataTables.js
|
76
76
|
- app/assets/javascripts/datatables/dataTables.foundation.js
|
@@ -101,7 +101,6 @@ files:
|
|
101
101
|
- app/assets/javascripts/datatables/extensions/ColReorder/colReorder.dataTables.js
|
102
102
|
- app/assets/javascripts/datatables/extensions/ColReorder/colReorder.foundation.js
|
103
103
|
- app/assets/javascripts/datatables/extensions/ColReorder/colReorder.jqueryui.js
|
104
|
-
- app/assets/javascripts/datatables/extensions/ColReorder/colReorder.semanicui.js
|
105
104
|
- app/assets/javascripts/datatables/extensions/ColReorder/colReorder.semanticui.js
|
106
105
|
- app/assets/javascripts/datatables/extensions/ColReorder/dataTables.colReorder.js
|
107
106
|
- app/assets/javascripts/datatables/extensions/FixedColumns/dataTables.fixedColumns.js
|
@@ -110,7 +109,6 @@ files:
|
|
110
109
|
- app/assets/javascripts/datatables/extensions/FixedColumns/fixedColumns.dataTables.js
|
111
110
|
- app/assets/javascripts/datatables/extensions/FixedColumns/fixedColumns.foundation.js
|
112
111
|
- app/assets/javascripts/datatables/extensions/FixedColumns/fixedColumns.jqueryui.js
|
113
|
-
- app/assets/javascripts/datatables/extensions/FixedColumns/fixedColumns.semanicui.js
|
114
112
|
- app/assets/javascripts/datatables/extensions/FixedColumns/fixedColumns.semanticui.js
|
115
113
|
- app/assets/javascripts/datatables/extensions/FixedHeader/dataTables.fixedHeader.js
|
116
114
|
- app/assets/javascripts/datatables/extensions/FixedHeader/fixedHeader.bootstrap.js
|
@@ -118,7 +116,6 @@ files:
|
|
118
116
|
- app/assets/javascripts/datatables/extensions/FixedHeader/fixedHeader.dataTables.js
|
119
117
|
- app/assets/javascripts/datatables/extensions/FixedHeader/fixedHeader.foundation.js
|
120
118
|
- app/assets/javascripts/datatables/extensions/FixedHeader/fixedHeader.jqueryui.js
|
121
|
-
- app/assets/javascripts/datatables/extensions/FixedHeader/fixedHeader.semanicui.js
|
122
119
|
- app/assets/javascripts/datatables/extensions/FixedHeader/fixedHeader.semanticui.js
|
123
120
|
- app/assets/javascripts/datatables/extensions/KeyTable/dataTables.keyTable.js
|
124
121
|
- app/assets/javascripts/datatables/extensions/KeyTable/keyTable.bootstrap.js
|
@@ -126,7 +123,6 @@ files:
|
|
126
123
|
- app/assets/javascripts/datatables/extensions/KeyTable/keyTable.dataTables.js
|
127
124
|
- app/assets/javascripts/datatables/extensions/KeyTable/keyTable.foundation.js
|
128
125
|
- app/assets/javascripts/datatables/extensions/KeyTable/keyTable.jqueryui.js
|
129
|
-
- app/assets/javascripts/datatables/extensions/KeyTable/keyTable.semanicui.js
|
130
126
|
- app/assets/javascripts/datatables/extensions/KeyTable/keyTable.semanticui.js
|
131
127
|
- app/assets/javascripts/datatables/extensions/Responsive/dataTables.responsive.js
|
132
128
|
- app/assets/javascripts/datatables/extensions/Responsive/responsive.bootstrap.js
|
@@ -141,14 +137,13 @@ files:
|
|
141
137
|
- app/assets/javascripts/datatables/extensions/RowGroup/rowGroup.dataTables.js
|
142
138
|
- app/assets/javascripts/datatables/extensions/RowGroup/rowGroup.foundation.js
|
143
139
|
- app/assets/javascripts/datatables/extensions/RowGroup/rowGroup.jqueryui.js
|
144
|
-
- app/assets/javascripts/datatables/extensions/RowGroup/rowGroup.
|
140
|
+
- app/assets/javascripts/datatables/extensions/RowGroup/rowGroup.semanticui.js
|
145
141
|
- app/assets/javascripts/datatables/extensions/RowReorder/dataTables.rowReorder.js
|
146
142
|
- app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.bootstrap.js
|
147
143
|
- app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.bootstrap4.js
|
148
144
|
- app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.dataTables.js
|
149
145
|
- app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.foundation.js
|
150
146
|
- app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.jqueryui.js
|
151
|
-
- app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.semanicui.js
|
152
147
|
- app/assets/javascripts/datatables/extensions/RowReorder/rowReorder.semanticui.js
|
153
148
|
- app/assets/javascripts/datatables/extensions/Scroller/dataTables.scroller.js
|
154
149
|
- app/assets/javascripts/datatables/extensions/Scroller/scroller.bootstrap.js
|
@@ -167,25 +162,45 @@ files:
|
|
167
162
|
- app/assets/javascripts/datatables/jquery.dataTables.js
|
168
163
|
- app/assets/javascripts/datatables/plugins/api/average.js
|
169
164
|
- app/assets/javascripts/datatables/plugins/api/sum.js
|
165
|
+
- app/assets/javascripts/datatables/plugins/pagination/ellipses.js
|
166
|
+
- app/assets/javascripts/datatables/plugins/pagination/extjs.js
|
167
|
+
- app/assets/javascripts/datatables/plugins/pagination/four_button.js
|
168
|
+
- app/assets/javascripts/datatables/plugins/pagination/full_numbers_no_ellipses.js
|
170
169
|
- app/assets/javascripts/datatables/plugins/pagination/input.js
|
170
|
+
- app/assets/javascripts/datatables/plugins/pagination/scrolling.js
|
171
|
+
- app/assets/javascripts/datatables/plugins/pagination/select.js
|
172
|
+
- app/assets/javascripts/datatables/plugins/pagination/simple_incremental_bootstrap.js
|
173
|
+
- app/assets/javascripts/datatables/plugins/pagination/simple_numbers_no_ellipses.js
|
171
174
|
- app/assets/javascripts/datatables/plugins/search/dataTables.alphabetSearch.js
|
172
175
|
- app/assets/javascripts/datatables/plugins/sorting/currency.js
|
173
176
|
- app/assets/javascripts/datatables/plugins/sorting/date-uk.js
|
177
|
+
- app/assets/javascripts/datatables/plugins/sorting/enum.js
|
174
178
|
- app/assets/javascripts/datatables/plugins/sorting/file-size.js
|
175
179
|
- app/assets/javascripts/datatables/plugins/sorting/formatted-numbers.js
|
176
180
|
- app/assets/javascripts/datatables/plugins/sorting/ip-address.js
|
177
181
|
- app/assets/javascripts/datatables/plugins/sorting/num-html.js
|
178
182
|
- app/assets/javascripts/datatables/plugins/sorting/numeric-comma.js
|
179
183
|
- app/assets/javascripts/datatables/plugins/type-detection/currency.js
|
184
|
+
- app/assets/javascripts/datatables/plugins/type-detection/date-dd-MMM-yyyy.js
|
185
|
+
- app/assets/javascripts/datatables/plugins/type-detection/date-de.js
|
186
|
+
- app/assets/javascripts/datatables/plugins/type-detection/date-eu.js
|
187
|
+
- app/assets/javascripts/datatables/plugins/type-detection/date-euro.js
|
180
188
|
- app/assets/javascripts/datatables/plugins/type-detection/date-uk.js
|
189
|
+
- app/assets/javascripts/datatables/plugins/type-detection/datetime-moment.js
|
190
|
+
- app/assets/javascripts/datatables/plugins/type-detection/datetime-us.js
|
181
191
|
- app/assets/javascripts/datatables/plugins/type-detection/file-size.js
|
182
192
|
- app/assets/javascripts/datatables/plugins/type-detection/formatted-num.js
|
183
193
|
- app/assets/javascripts/datatables/plugins/type-detection/ip-address.js
|
184
194
|
- app/assets/javascripts/datatables/plugins/type-detection/num-html.js
|
195
|
+
- app/assets/javascripts/datatables/plugins/type-detection/numString.js
|
185
196
|
- app/assets/javascripts/datatables/plugins/type-detection/numeric-comma.js
|
197
|
+
- app/assets/javascripts/datatables/plugins/type-detection/percent.js
|
198
|
+
- app/assets/javascripts/datatables/plugins/type-detection/time-elapsed-dhms.js
|
199
|
+
- app/assets/javascripts/datatables/plugins/type-detection/time.js
|
200
|
+
- app/assets/javascripts/datatables/plugins/type-detection/title-numeric.js
|
201
|
+
- app/assets/javascripts/datatables/plugins/type-detection/title-string.js
|
186
202
|
- app/assets/media/swf/flashExport.swf
|
187
203
|
- app/assets/stylesheets/datatables/dataTables.bootstrap.scss
|
188
|
-
- app/assets/stylesheets/datatables/dataTables.bootstrap2.scss
|
189
204
|
- app/assets/stylesheets/datatables/dataTables.bootstrap4.scss
|
190
205
|
- app/assets/stylesheets/datatables/dataTables.foundation.scss
|
191
206
|
- app/assets/stylesheets/datatables/dataTables.jqueryui.scss
|
@@ -308,8 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
308
323
|
- !ruby/object:Gem::Version
|
309
324
|
version: '0'
|
310
325
|
requirements: []
|
311
|
-
|
312
|
-
rubygems_version: 2.7.6
|
326
|
+
rubygems_version: 3.0.3
|
313
327
|
signing_key:
|
314
328
|
specification_version: 4
|
315
329
|
summary: Jquery DataTables web assets for Rails, etc.
|
@@ -1,162 +0,0 @@
|
|
1
|
-
/*! DataTables Bootstrap 2 integration
|
2
|
-
* ©2011-2014 SpryMedia Ltd - datatables.net/license
|
3
|
-
*/
|
4
|
-
|
5
|
-
/**
|
6
|
-
* DataTables integration for Bootstrap 2. This requires Bootstrap 2 and
|
7
|
-
* DataTables 1.10 or newer.
|
8
|
-
*
|
9
|
-
* This file sets the defaults and adds options to DataTables to style its
|
10
|
-
* controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
|
11
|
-
* for further information.
|
12
|
-
*/
|
13
|
-
(function(window, document, $, DataTable, undefined){
|
14
|
-
|
15
|
-
$.extend( true, DataTable.defaults, {
|
16
|
-
"dom":
|
17
|
-
"<'row-fluid'<'span6'l><'span6'f>r>" +
|
18
|
-
"<'row-fluid'<'span12't>>" +
|
19
|
-
"<'row-fluid'<'span6'i><'span6'p>>",
|
20
|
-
renderer: 'bootstrap'
|
21
|
-
} );
|
22
|
-
|
23
|
-
|
24
|
-
/* Default class modification */
|
25
|
-
$.extend( DataTable.ext.classes, {
|
26
|
-
sWrapper: "dataTables_wrapper form-inline dt-bootstrap"
|
27
|
-
} );
|
28
|
-
|
29
|
-
|
30
|
-
/* Bootstrap paging button renderer */
|
31
|
-
DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
|
32
|
-
var api = new DataTable.Api( settings );
|
33
|
-
var classes = settings.oClasses;
|
34
|
-
var lang = settings.oLanguage.oPaginate;
|
35
|
-
var btnDisplay, btnClass;
|
36
|
-
|
37
|
-
var attach = function( container, buttons ) {
|
38
|
-
var i, ien, node, button;
|
39
|
-
var clickHandler = function ( e ) {
|
40
|
-
e.preventDefault();
|
41
|
-
if ( !$(e.currentTarget).hasClass('disabled') ) {
|
42
|
-
api.page( e.data.action ).draw( false );
|
43
|
-
}
|
44
|
-
};
|
45
|
-
|
46
|
-
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
47
|
-
button = buttons[i];
|
48
|
-
|
49
|
-
if ( $.isArray( button ) ) {
|
50
|
-
attach( container, button );
|
51
|
-
}
|
52
|
-
else {
|
53
|
-
btnDisplay = '';
|
54
|
-
btnClass = '';
|
55
|
-
|
56
|
-
switch ( button ) {
|
57
|
-
case 'ellipsis':
|
58
|
-
btnDisplay = '…';
|
59
|
-
btnClass = 'disabled';
|
60
|
-
break;
|
61
|
-
|
62
|
-
case 'first':
|
63
|
-
btnDisplay = lang.sFirst;
|
64
|
-
btnClass = button + (page > 0 ?
|
65
|
-
'' : ' disabled');
|
66
|
-
break;
|
67
|
-
|
68
|
-
case 'previous':
|
69
|
-
btnDisplay = lang.sPrevious;
|
70
|
-
btnClass = button + (page > 0 ?
|
71
|
-
'' : ' disabled');
|
72
|
-
break;
|
73
|
-
|
74
|
-
case 'next':
|
75
|
-
btnDisplay = lang.sNext;
|
76
|
-
btnClass = button + (page < pages-1 ?
|
77
|
-
'' : ' disabled');
|
78
|
-
break;
|
79
|
-
|
80
|
-
case 'last':
|
81
|
-
btnDisplay = lang.sLast;
|
82
|
-
btnClass = button + (page < pages-1 ?
|
83
|
-
'' : ' disabled');
|
84
|
-
break;
|
85
|
-
|
86
|
-
default:
|
87
|
-
btnDisplay = button + 1;
|
88
|
-
btnClass = page === button ?
|
89
|
-
'active' : '';
|
90
|
-
break;
|
91
|
-
}
|
92
|
-
|
93
|
-
if ( btnDisplay ) {
|
94
|
-
node = $('<li>', {
|
95
|
-
'class': classes.sPageButton+' '+btnClass,
|
96
|
-
'aria-controls': settings.sTableId,
|
97
|
-
'tabindex': settings.iTabIndex,
|
98
|
-
'id': idx === 0 && typeof button === 'string' ?
|
99
|
-
settings.sTableId +'_'+ button :
|
100
|
-
null
|
101
|
-
} )
|
102
|
-
.append( $('<a>', {
|
103
|
-
'href': '#'
|
104
|
-
} )
|
105
|
-
.html( btnDisplay )
|
106
|
-
)
|
107
|
-
.appendTo( container );
|
108
|
-
|
109
|
-
settings.oApi._fnBindAction(
|
110
|
-
node, {action: button}, clickHandler
|
111
|
-
);
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
115
|
-
};
|
116
|
-
|
117
|
-
attach(
|
118
|
-
$(host).empty().html('<div class="pagination"><ul/></div>').find('ul'),
|
119
|
-
buttons
|
120
|
-
);
|
121
|
-
};
|
122
|
-
|
123
|
-
|
124
|
-
/*
|
125
|
-
* TableTools Bootstrap compatibility
|
126
|
-
* Required TableTools 2.1+
|
127
|
-
*/
|
128
|
-
if ( DataTable.TableTools ) {
|
129
|
-
// Set the classes that TableTools uses to something suitable for Bootstrap
|
130
|
-
$.extend( true, DataTable.TableTools.classes, {
|
131
|
-
"container": "DTTT btn-group",
|
132
|
-
"buttons": {
|
133
|
-
"normal": "btn",
|
134
|
-
"disabled": "disabled"
|
135
|
-
},
|
136
|
-
"collection": {
|
137
|
-
"container": "DTTT_dropdown dropdown-menu",
|
138
|
-
"buttons": {
|
139
|
-
"normal": "",
|
140
|
-
"disabled": "disabled"
|
141
|
-
}
|
142
|
-
},
|
143
|
-
"print": {
|
144
|
-
"info": "DTTT_print_info modal"
|
145
|
-
},
|
146
|
-
"select": {
|
147
|
-
"row": "active"
|
148
|
-
}
|
149
|
-
} );
|
150
|
-
|
151
|
-
// Have the collection use a bootstrap compatible dropdown
|
152
|
-
$.extend( true, DataTable.TableTools.DEFAULTS.oTags, {
|
153
|
-
"collection": {
|
154
|
-
"container": "ul",
|
155
|
-
"button": "li",
|
156
|
-
"liner": "a"
|
157
|
-
}
|
158
|
-
} );
|
159
|
-
}
|
160
|
-
|
161
|
-
|
162
|
-
})(window, document, jQuery, jQuery.fn.dataTable);
|
@@ -1,38 +0,0 @@
|
|
1
|
-
/*! Semanic UI styling wrapper for ColReorder
|
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-colreorder'], 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.ColReorder ) {
|
24
|
-
require('datatables.net-colreorder')(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,38 +0,0 @@
|
|
1
|
-
/*! Semanic UI styling wrapper for FixedColumns
|
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-fixedcolumns'], 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.FixedColumns ) {
|
24
|
-
require('datatables.net-fixedcolumns')(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,38 +0,0 @@
|
|
1
|
-
/*! Semanic UI styling wrapper for FixedHeader
|
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-fixedheader'], 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.FixedHeader ) {
|
24
|
-
require('datatables.net-fixedheader')(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,38 +0,0 @@
|
|
1
|
-
/*! Semanic UI styling wrapper for KeyTable
|
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-keytable'], 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.KeyTable ) {
|
24
|
-
require('datatables.net-keytable')(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
|
-
}));
|