Version Description
Release Date: August 25th, 2015
- Bugfixes:
- Fixes the dashboard tables which were broken in WordPress 4.3 because of a new version of jQuery that was introduced.
Download this release
Release Info
Developer | omarreiss |
Plugin | Google Analytics for WordPress by MonsterInsights |
Version | 5.4.6 |
Comparing to | |
See all releases |
Code changes from version 5.4.5 to 5.4.6
- assets/dependencies/datatables/css/jquery.dataTables.css +79 -105
- assets/dependencies/datatables/css/jquery.dataTables.min.css +1 -1
- assets/dependencies/datatables/css/jquery.dataTables_themeroller.css +0 -330
- assets/dependencies/datatables/js/jquery.dataTables.js +628 -373
- assets/dependencies/datatables/js/jquery.dataTables.min.js +163 -157
- googleanalytics.php +3 -3
- languages/google-analytics-for-wordpress-ca.mo +0 -0
- languages/google-analytics-for-wordpress-da_DK.mo +0 -0
- languages/google-analytics-for-wordpress-de_DE.mo +0 -0
- languages/google-analytics-for-wordpress-en_AU.mo +0 -0
- languages/google-analytics-for-wordpress-en_GB.mo +0 -0
- languages/google-analytics-for-wordpress-es_ES.mo +0 -0
- languages/google-analytics-for-wordpress-es_MX.mo +0 -0
- languages/google-analytics-for-wordpress-fr_FR.mo +0 -0
- languages/google-analytics-for-wordpress-he_IL.mo +0 -0
- languages/google-analytics-for-wordpress-it_IT.mo +0 -0
- languages/google-analytics-for-wordpress-ja.mo +0 -0
- languages/google-analytics-for-wordpress-nb_NO.mo +0 -0
- languages/google-analytics-for-wordpress-nl_NL.mo +0 -0
- languages/google-analytics-for-wordpress-pl_PL.mo +0 -0
- languages/google-analytics-for-wordpress-pt_PT.mo +0 -0
- languages/google-analytics-for-wordpress-ru_RU.mo +0 -0
- languages/google-analytics-for-wordpress-sv_SE.mo +0 -0
- languages/google-analytics-for-wordpress-tr_TR.mo +0 -0
- languages/google-analytics-for-wordpress.pot +2 -2
- readme.txt +11 -4
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/composer/LICENSE +21 -0
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_real_52.php +3 -3
assets/dependencies/datatables/css/jquery.dataTables.css
CHANGED
@@ -21,7 +21,7 @@ table.dataTable tfoot th {
|
|
21 |
table.dataTable thead th,
|
22 |
table.dataTable thead td {
|
23 |
padding: 10px 18px;
|
24 |
-
border-bottom: 1px solid #
|
25 |
}
|
26 |
table.dataTable thead th:active,
|
27 |
table.dataTable thead td:active {
|
@@ -30,41 +30,49 @@ table.dataTable thead td:active {
|
|
30 |
table.dataTable tfoot th,
|
31 |
table.dataTable tfoot td {
|
32 |
padding: 10px 18px 6px 18px;
|
33 |
-
border-top: 1px solid #
|
34 |
}
|
|
|
35 |
table.dataTable thead .sorting_asc,
|
36 |
-
table.dataTable thead .sorting_desc
|
37 |
-
table.dataTable thead .sorting {
|
38 |
cursor: pointer;
|
39 |
*cursor: hand;
|
40 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
table.dataTable thead .sorting {
|
42 |
-
background: url("../images/sort_both.png")
|
43 |
}
|
44 |
table.dataTable thead .sorting_asc {
|
45 |
-
background: url("../images/sort_asc.png")
|
46 |
}
|
47 |
table.dataTable thead .sorting_desc {
|
48 |
-
background: url("../images/sort_desc.png")
|
49 |
}
|
50 |
table.dataTable thead .sorting_asc_disabled {
|
51 |
-
background: url("../images/sort_asc_disabled.png")
|
52 |
}
|
53 |
table.dataTable thead .sorting_desc_disabled {
|
54 |
-
background: url("../images/sort_desc_disabled.png")
|
55 |
}
|
56 |
table.dataTable tbody tr {
|
57 |
-
background-color:
|
58 |
}
|
59 |
table.dataTable tbody tr.selected {
|
60 |
-
background-color: #
|
61 |
}
|
62 |
table.dataTable tbody th,
|
63 |
table.dataTable tbody td {
|
64 |
padding: 8px 10px;
|
65 |
}
|
66 |
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
|
67 |
-
border-top: 1px solid #
|
68 |
}
|
69 |
table.dataTable.row-border tbody tr:first-child th,
|
70 |
table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th,
|
@@ -72,12 +80,12 @@ table.dataTable.display tbody tr:first-child td {
|
|
72 |
border-top: none;
|
73 |
}
|
74 |
table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
|
75 |
-
border-top: 1px solid #
|
76 |
-
border-right: 1px solid #
|
77 |
}
|
78 |
table.dataTable.cell-border tbody tr th:first-child,
|
79 |
table.dataTable.cell-border tbody tr td:first-child {
|
80 |
-
border-left: 1px solid #
|
81 |
}
|
82 |
table.dataTable.cell-border tbody tr:first-child th,
|
83 |
table.dataTable.cell-border tbody tr:first-child td {
|
@@ -87,35 +95,27 @@ table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
|
|
87 |
background-color: #f9f9f9;
|
88 |
}
|
89 |
table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
|
90 |
-
background-color: #
|
91 |
}
|
92 |
-
table.dataTable.hover tbody tr:hover,
|
93 |
-
|
94 |
-
table.dataTable.hover tbody tr.even:hover, table.dataTable.display tbody tr:hover,
|
95 |
-
table.dataTable.display tbody tr.odd:hover,
|
96 |
-
table.dataTable.display tbody tr.even:hover {
|
97 |
-
background-color: whitesmoke;
|
98 |
}
|
99 |
-
table.dataTable.hover tbody tr:hover.selected,
|
100 |
-
|
101 |
-
table.dataTable.hover tbody tr.even:hover.selected, table.dataTable.display tbody tr:hover.selected,
|
102 |
-
table.dataTable.display tbody tr.odd:hover.selected,
|
103 |
-
table.dataTable.display tbody tr.even:hover.selected {
|
104 |
-
background-color: #a9b7d1;
|
105 |
}
|
106 |
table.dataTable.order-column tbody tr > .sorting_1,
|
107 |
table.dataTable.order-column tbody tr > .sorting_2,
|
108 |
table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1,
|
109 |
table.dataTable.display tbody tr > .sorting_2,
|
110 |
table.dataTable.display tbody tr > .sorting_3 {
|
111 |
-
background-color: #
|
112 |
}
|
113 |
table.dataTable.order-column tbody tr.selected > .sorting_1,
|
114 |
table.dataTable.order-column tbody tr.selected > .sorting_2,
|
115 |
table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1,
|
116 |
table.dataTable.display tbody tr.selected > .sorting_2,
|
117 |
table.dataTable.display tbody tr.selected > .sorting_3 {
|
118 |
-
background-color: #
|
119 |
}
|
120 |
table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
|
121 |
background-color: #f1f1f1;
|
@@ -127,91 +127,67 @@ table.dataTable.display tbody tr.odd > .sorting_3, table.dataTable.order-column.
|
|
127 |
background-color: whitesmoke;
|
128 |
}
|
129 |
table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
|
130 |
-
background-color: #
|
131 |
}
|
132 |
table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
|
133 |
-
background-color: #
|
134 |
}
|
135 |
table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
|
136 |
-
background-color: #
|
137 |
}
|
138 |
table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
|
139 |
-
background-color: #
|
140 |
}
|
141 |
table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
|
142 |
-
background-color: #
|
143 |
}
|
144 |
table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
|
145 |
-
background-color: #
|
146 |
}
|
147 |
table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
|
148 |
-
background-color: #
|
149 |
}
|
150 |
table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
|
151 |
-
background-color: #
|
152 |
}
|
153 |
table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
|
154 |
background-color: #afbdd8;
|
155 |
}
|
156 |
-
table.dataTable.display tbody tr:hover > .sorting_1,
|
157 |
-
table.dataTable.display tbody tr.odd:hover > .sorting_1,
|
158 |
-
table.dataTable.display tbody tr.even:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1,
|
159 |
-
table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_1,
|
160 |
-
table.dataTable.order-column.hover tbody tr.even:hover > .sorting_1 {
|
161 |
background-color: #eaeaea;
|
162 |
}
|
163 |
-
table.dataTable.display tbody tr:hover > .sorting_2,
|
164 |
-
|
165 |
-
|
166 |
-
table.dataTable.order-column.hover tbody tr
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
table.dataTable.display tbody tr
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
table.dataTable.display tbody tr:hover.selected > .sorting_1,
|
178 |
-
table.dataTable.display tbody tr.odd:hover.selected > .sorting_1,
|
179 |
-
table.dataTable.display tbody tr.even:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1,
|
180 |
-
table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_1,
|
181 |
-
table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_1 {
|
182 |
-
background-color: #a1aec7;
|
183 |
-
}
|
184 |
-
table.dataTable.display tbody tr:hover.selected > .sorting_2,
|
185 |
-
table.dataTable.display tbody tr.odd:hover.selected > .sorting_2,
|
186 |
-
table.dataTable.display tbody tr.even:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2,
|
187 |
-
table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_2,
|
188 |
-
table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_2 {
|
189 |
-
background-color: #a2afc8;
|
190 |
-
}
|
191 |
-
table.dataTable.display tbody tr:hover.selected > .sorting_3,
|
192 |
-
table.dataTable.display tbody tr.odd:hover.selected > .sorting_3,
|
193 |
-
table.dataTable.display tbody tr.even:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3,
|
194 |
-
table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_3,
|
195 |
-
table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_3 {
|
196 |
-
background-color: #a4b2cb;
|
197 |
}
|
198 |
table.dataTable.no-footer {
|
199 |
-
border-bottom: 1px solid #
|
200 |
}
|
201 |
table.dataTable.nowrap th, table.dataTable.nowrap td {
|
202 |
white-space: nowrap;
|
203 |
}
|
204 |
table.dataTable.compact thead th,
|
205 |
table.dataTable.compact thead td {
|
206 |
-
padding:
|
207 |
}
|
208 |
table.dataTable.compact tfoot th,
|
209 |
table.dataTable.compact tfoot td {
|
210 |
-
padding:
|
211 |
}
|
212 |
table.dataTable.compact tbody th,
|
213 |
table.dataTable.compact tbody td {
|
214 |
-
padding: 4px
|
215 |
}
|
216 |
table.dataTable th.dt-left,
|
217 |
table.dataTable td.dt-left {
|
@@ -332,24 +308,25 @@ table.dataTable td {
|
|
332 |
text-decoration: none !important;
|
333 |
cursor: pointer;
|
334 |
*cursor: hand;
|
335 |
-
color: #
|
336 |
border: 1px solid transparent;
|
|
|
337 |
}
|
338 |
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
|
339 |
-
color: #
|
340 |
-
border: 1px solid #
|
341 |
background-color: white;
|
342 |
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%,
|
343 |
/* Chrome,Safari4+ */
|
344 |
-
background: -webkit-linear-gradient(top, white 0%,
|
345 |
/* Chrome10+,Safari5.1+ */
|
346 |
-
background: -moz-linear-gradient(top, white 0%,
|
347 |
/* FF3.6+ */
|
348 |
-
background: -ms-linear-gradient(top, white 0%,
|
349 |
/* IE10+ */
|
350 |
-
background: -o-linear-gradient(top, white 0%,
|
351 |
/* Opera 11.10+ */
|
352 |
-
background: linear-gradient(to bottom, white 0%,
|
353 |
/* W3C */
|
354 |
}
|
355 |
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
|
@@ -361,19 +338,19 @@ table.dataTable td {
|
|
361 |
}
|
362 |
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
|
363 |
color: white !important;
|
364 |
-
border: 1px solid #
|
365 |
background-color: #585858;
|
366 |
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #
|
367 |
/* Chrome,Safari4+ */
|
368 |
-
background: -webkit-linear-gradient(top, #585858 0%, #
|
369 |
/* Chrome10+,Safari5.1+ */
|
370 |
-
background: -moz-linear-gradient(top, #585858 0%, #
|
371 |
/* FF3.6+ */
|
372 |
-
background: -ms-linear-gradient(top, #585858 0%, #
|
373 |
/* IE10+ */
|
374 |
-
background: -o-linear-gradient(top, #585858 0%, #
|
375 |
/* Opera 11.10+ */
|
376 |
-
background: linear-gradient(to bottom, #585858 0%, #
|
377 |
/* W3C */
|
378 |
}
|
379 |
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
|
@@ -393,6 +370,9 @@ table.dataTable td {
|
|
393 |
/* W3C */
|
394 |
box-shadow: inset 0 0 3px #111;
|
395 |
}
|
|
|
|
|
|
|
396 |
.dataTables_wrapper .dataTables_processing {
|
397 |
position: absolute;
|
398 |
top: 50%;
|
@@ -406,24 +386,18 @@ table.dataTable td {
|
|
406 |
font-size: 1.2em;
|
407 |
background-color: white;
|
408 |
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
|
409 |
-
/* Chrome,Safari4+ */
|
410 |
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
411 |
-
/* Chrome10+,Safari5.1+ */
|
412 |
background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
413 |
-
/* FF3.6+ */
|
414 |
background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
415 |
-
/* IE10+ */
|
416 |
background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
417 |
-
/* Opera 11.10+ */
|
418 |
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
419 |
-
/* W3C */
|
420 |
}
|
421 |
.dataTables_wrapper .dataTables_length,
|
422 |
.dataTables_wrapper .dataTables_filter,
|
423 |
.dataTables_wrapper .dataTables_info,
|
424 |
.dataTables_wrapper .dataTables_processing,
|
425 |
.dataTables_wrapper .dataTables_paginate {
|
426 |
-
color: #
|
427 |
}
|
428 |
.dataTables_wrapper .dataTables_scroll {
|
429 |
clear: both;
|
@@ -440,7 +414,7 @@ table.dataTable td {
|
|
440 |
padding: 0 !important;
|
441 |
}
|
442 |
.dataTables_wrapper.no-footer .dataTables_scrollBody {
|
443 |
-
border-bottom: 1px solid #
|
444 |
}
|
445 |
.dataTables_wrapper.no-footer div.dataTables_scrollHead table,
|
446 |
.dataTables_wrapper.no-footer div.dataTables_scrollBody table {
|
21 |
table.dataTable thead th,
|
22 |
table.dataTable thead td {
|
23 |
padding: 10px 18px;
|
24 |
+
border-bottom: 1px solid #111;
|
25 |
}
|
26 |
table.dataTable thead th:active,
|
27 |
table.dataTable thead td:active {
|
30 |
table.dataTable tfoot th,
|
31 |
table.dataTable tfoot td {
|
32 |
padding: 10px 18px 6px 18px;
|
33 |
+
border-top: 1px solid #111;
|
34 |
}
|
35 |
+
table.dataTable thead .sorting,
|
36 |
table.dataTable thead .sorting_asc,
|
37 |
+
table.dataTable thead .sorting_desc {
|
|
|
38 |
cursor: pointer;
|
39 |
*cursor: hand;
|
40 |
}
|
41 |
+
table.dataTable thead .sorting,
|
42 |
+
table.dataTable thead .sorting_asc,
|
43 |
+
table.dataTable thead .sorting_desc,
|
44 |
+
table.dataTable thead .sorting_asc_disabled,
|
45 |
+
table.dataTable thead .sorting_desc_disabled {
|
46 |
+
background-repeat: no-repeat;
|
47 |
+
background-position: center right;
|
48 |
+
}
|
49 |
table.dataTable thead .sorting {
|
50 |
+
background-image: url("../images/sort_both.png");
|
51 |
}
|
52 |
table.dataTable thead .sorting_asc {
|
53 |
+
background-image: url("../images/sort_asc.png");
|
54 |
}
|
55 |
table.dataTable thead .sorting_desc {
|
56 |
+
background-image: url("../images/sort_desc.png");
|
57 |
}
|
58 |
table.dataTable thead .sorting_asc_disabled {
|
59 |
+
background-image: url("../images/sort_asc_disabled.png");
|
60 |
}
|
61 |
table.dataTable thead .sorting_desc_disabled {
|
62 |
+
background-image: url("../images/sort_desc_disabled.png");
|
63 |
}
|
64 |
table.dataTable tbody tr {
|
65 |
+
background-color: #ffffff;
|
66 |
}
|
67 |
table.dataTable tbody tr.selected {
|
68 |
+
background-color: #B0BED9;
|
69 |
}
|
70 |
table.dataTable tbody th,
|
71 |
table.dataTable tbody td {
|
72 |
padding: 8px 10px;
|
73 |
}
|
74 |
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
|
75 |
+
border-top: 1px solid #ddd;
|
76 |
}
|
77 |
table.dataTable.row-border tbody tr:first-child th,
|
78 |
table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th,
|
80 |
border-top: none;
|
81 |
}
|
82 |
table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
|
83 |
+
border-top: 1px solid #ddd;
|
84 |
+
border-right: 1px solid #ddd;
|
85 |
}
|
86 |
table.dataTable.cell-border tbody tr th:first-child,
|
87 |
table.dataTable.cell-border tbody tr td:first-child {
|
88 |
+
border-left: 1px solid #ddd;
|
89 |
}
|
90 |
table.dataTable.cell-border tbody tr:first-child th,
|
91 |
table.dataTable.cell-border tbody tr:first-child td {
|
95 |
background-color: #f9f9f9;
|
96 |
}
|
97 |
table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
|
98 |
+
background-color: #acbad4;
|
99 |
}
|
100 |
+
table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
|
101 |
+
background-color: #f6f6f6;
|
|
|
|
|
|
|
|
|
102 |
}
|
103 |
+
table.dataTable.hover tbody tr:hover.selected, table.dataTable.display tbody tr:hover.selected {
|
104 |
+
background-color: #aab7d1;
|
|
|
|
|
|
|
|
|
105 |
}
|
106 |
table.dataTable.order-column tbody tr > .sorting_1,
|
107 |
table.dataTable.order-column tbody tr > .sorting_2,
|
108 |
table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1,
|
109 |
table.dataTable.display tbody tr > .sorting_2,
|
110 |
table.dataTable.display tbody tr > .sorting_3 {
|
111 |
+
background-color: #fafafa;
|
112 |
}
|
113 |
table.dataTable.order-column tbody tr.selected > .sorting_1,
|
114 |
table.dataTable.order-column tbody tr.selected > .sorting_2,
|
115 |
table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1,
|
116 |
table.dataTable.display tbody tr.selected > .sorting_2,
|
117 |
table.dataTable.display tbody tr.selected > .sorting_3 {
|
118 |
+
background-color: #acbad5;
|
119 |
}
|
120 |
table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
|
121 |
background-color: #f1f1f1;
|
127 |
background-color: whitesmoke;
|
128 |
}
|
129 |
table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
|
130 |
+
background-color: #a6b4cd;
|
131 |
}
|
132 |
table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
|
133 |
+
background-color: #a8b5cf;
|
134 |
}
|
135 |
table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
|
136 |
+
background-color: #a9b7d1;
|
137 |
}
|
138 |
table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
|
139 |
+
background-color: #fafafa;
|
140 |
}
|
141 |
table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
|
142 |
+
background-color: #fcfcfc;
|
143 |
}
|
144 |
table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
|
145 |
+
background-color: #fefefe;
|
146 |
}
|
147 |
table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
|
148 |
+
background-color: #acbad5;
|
149 |
}
|
150 |
table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
|
151 |
+
background-color: #aebcd6;
|
152 |
}
|
153 |
table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
|
154 |
background-color: #afbdd8;
|
155 |
}
|
156 |
+
table.dataTable.display tbody tr:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
|
|
|
|
|
|
|
|
|
157 |
background-color: #eaeaea;
|
158 |
}
|
159 |
+
table.dataTable.display tbody tr:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2 {
|
160 |
+
background-color: #ececec;
|
161 |
+
}
|
162 |
+
table.dataTable.display tbody tr:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
|
163 |
+
background-color: #efefef;
|
164 |
+
}
|
165 |
+
table.dataTable.display tbody tr:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 {
|
166 |
+
background-color: #a2aec7;
|
167 |
+
}
|
168 |
+
table.dataTable.display tbody tr:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 {
|
169 |
+
background-color: #a3b0c9;
|
170 |
+
}
|
171 |
+
table.dataTable.display tbody tr:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 {
|
172 |
+
background-color: #a5b2cb;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
}
|
174 |
table.dataTable.no-footer {
|
175 |
+
border-bottom: 1px solid #111;
|
176 |
}
|
177 |
table.dataTable.nowrap th, table.dataTable.nowrap td {
|
178 |
white-space: nowrap;
|
179 |
}
|
180 |
table.dataTable.compact thead th,
|
181 |
table.dataTable.compact thead td {
|
182 |
+
padding: 4px 17px 4px 4px;
|
183 |
}
|
184 |
table.dataTable.compact tfoot th,
|
185 |
table.dataTable.compact tfoot td {
|
186 |
+
padding: 4px;
|
187 |
}
|
188 |
table.dataTable.compact tbody th,
|
189 |
table.dataTable.compact tbody td {
|
190 |
+
padding: 4px;
|
191 |
}
|
192 |
table.dataTable th.dt-left,
|
193 |
table.dataTable td.dt-left {
|
308 |
text-decoration: none !important;
|
309 |
cursor: pointer;
|
310 |
*cursor: hand;
|
311 |
+
color: #333 !important;
|
312 |
border: 1px solid transparent;
|
313 |
+
border-radius: 2px;
|
314 |
}
|
315 |
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
|
316 |
+
color: #333 !important;
|
317 |
+
border: 1px solid #979797;
|
318 |
background-color: white;
|
319 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc));
|
320 |
/* Chrome,Safari4+ */
|
321 |
+
background: -webkit-linear-gradient(top, white 0%, #dcdcdc 100%);
|
322 |
/* Chrome10+,Safari5.1+ */
|
323 |
+
background: -moz-linear-gradient(top, white 0%, #dcdcdc 100%);
|
324 |
/* FF3.6+ */
|
325 |
+
background: -ms-linear-gradient(top, white 0%, #dcdcdc 100%);
|
326 |
/* IE10+ */
|
327 |
+
background: -o-linear-gradient(top, white 0%, #dcdcdc 100%);
|
328 |
/* Opera 11.10+ */
|
329 |
+
background: linear-gradient(to bottom, white 0%, #dcdcdc 100%);
|
330 |
/* W3C */
|
331 |
}
|
332 |
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
|
338 |
}
|
339 |
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
|
340 |
color: white !important;
|
341 |
+
border: 1px solid #111;
|
342 |
background-color: #585858;
|
343 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
|
344 |
/* Chrome,Safari4+ */
|
345 |
+
background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
|
346 |
/* Chrome10+,Safari5.1+ */
|
347 |
+
background: -moz-linear-gradient(top, #585858 0%, #111 100%);
|
348 |
/* FF3.6+ */
|
349 |
+
background: -ms-linear-gradient(top, #585858 0%, #111 100%);
|
350 |
/* IE10+ */
|
351 |
+
background: -o-linear-gradient(top, #585858 0%, #111 100%);
|
352 |
/* Opera 11.10+ */
|
353 |
+
background: linear-gradient(to bottom, #585858 0%, #111 100%);
|
354 |
/* W3C */
|
355 |
}
|
356 |
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
|
370 |
/* W3C */
|
371 |
box-shadow: inset 0 0 3px #111;
|
372 |
}
|
373 |
+
.dataTables_wrapper .dataTables_paginate .ellipsis {
|
374 |
+
padding: 0 1em;
|
375 |
+
}
|
376 |
.dataTables_wrapper .dataTables_processing {
|
377 |
position: absolute;
|
378 |
top: 50%;
|
386 |
font-size: 1.2em;
|
387 |
background-color: white;
|
388 |
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
|
|
|
389 |
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
|
|
390 |
background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
|
|
391 |
background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
|
|
392 |
background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
|
|
393 |
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
|
|
394 |
}
|
395 |
.dataTables_wrapper .dataTables_length,
|
396 |
.dataTables_wrapper .dataTables_filter,
|
397 |
.dataTables_wrapper .dataTables_info,
|
398 |
.dataTables_wrapper .dataTables_processing,
|
399 |
.dataTables_wrapper .dataTables_paginate {
|
400 |
+
color: #333;
|
401 |
}
|
402 |
.dataTables_wrapper .dataTables_scroll {
|
403 |
clear: both;
|
414 |
padding: 0 !important;
|
415 |
}
|
416 |
.dataTables_wrapper.no-footer .dataTables_scrollBody {
|
417 |
+
border-bottom: 1px solid #111;
|
418 |
}
|
419 |
.dataTables_wrapper.no-footer div.dataTables_scrollHead table,
|
420 |
.dataTables_wrapper.no-footer div.dataTables_scrollBody table {
|
assets/dependencies/datatables/css/jquery.dataTables.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting{cursor:pointer;*cursor:hand}table.dataTable thead .sorting{background:url("../images/sort_both.png") no-repeat center right}table.dataTable thead .sorting_asc{background:url("../images/sort_asc.png") no-repeat center right}table.dataTable thead .sorting_desc{background:url("../images/sort_desc.png") no-repeat center right}table.dataTable thead .sorting_asc_disabled{background:url("../images/sort_asc_disabled.png") no-repeat center right}table.dataTable thead .sorting_desc_disabled{background:url("../images/sort_desc_disabled.png") no-repeat center right}table.dataTable tbody tr{background-color:#fff}table.dataTable tbody tr.selected{background-color:#b0bed9}table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px}table.dataTable.row-border tbody th,table.dataTable.row-border tbody td,table.dataTable.display tbody th,table.dataTable.display tbody td{border-top:1px solid #ddd}table.dataTable.row-border tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.display tbody tr:first-child td{border-top:none}table.dataTable.cell-border tbody th,table.dataTable.cell-border tbody td{border-top:1px solid #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd}table.dataTable.cell-border tbody tr:first-child th,table.dataTable.cell-border tbody tr:first-child td{border-top:none}table.dataTable.stripe tbody tr.odd,table.dataTable.display tbody tr.odd{background-color:#f9f9f9}table.dataTable.stripe tbody tr.odd.selected,table.dataTable.display tbody tr.odd.selected{background-color:#abb9d3}table.dataTable.hover tbody tr:hover,table.dataTable.hover tbody tr.odd:hover,table.dataTable.hover tbody tr.even:hover,table.dataTable.display tbody tr:hover,table.dataTable.display tbody tr.odd:hover,table.dataTable.display tbody tr.even:hover{background-color:#f5f5f5}table.dataTable.hover tbody tr:hover.selected,table.dataTable.hover tbody tr.odd:hover.selected,table.dataTable.hover tbody tr.even:hover.selected,table.dataTable.display tbody tr:hover.selected,table.dataTable.display tbody tr.odd:hover.selected,table.dataTable.display tbody tr.even:hover.selected{background-color:#a9b7d1}table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#f9f9f9}table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad4}table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1}table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3}table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:#f5f5f5}table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b3cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a7b5ce}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b6d0}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#f9f9f9}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fbfbfb}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fdfdfd}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad4}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#adbbd6}table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8}table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.display tbody tr.odd:hover>.sorting_1,table.dataTable.display tbody tr.even:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr.odd:hover>.sorting_1,table.dataTable.order-column.hover tbody tr.even:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.display tbody tr.odd:hover>.sorting_2,table.dataTable.display tbody tr.even:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr.odd:hover>.sorting_2,table.dataTable.order-column.hover tbody tr.even:hover>.sorting_2{background-color:#ebebeb}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.display tbody tr.odd:hover>.sorting_3,table.dataTable.display tbody tr.even:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr.odd:hover>.sorting_3,table.dataTable.order-column.hover tbody tr.even:hover>.sorting_3{background-color:#eee}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.display tbody tr.odd:hover.selected>.sorting_1,table.dataTable.display tbody tr.even:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr.odd:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr.even:hover.selected>.sorting_1{background-color:#a1aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.display tbody tr.odd:hover.selected>.sorting_2,table.dataTable.display tbody tr.even:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr.odd:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr.even:hover.selected>.sorting_2{background-color:#a2afc8}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.display tbody tr.odd:hover.selected>.sorting_3,table.dataTable.display tbody tr.even:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr.odd:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr.even:hover.selected>.sorting_3{background-color:#a4b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:5px 9px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:5px 9px 3px 9px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px 5px}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable th,table.dataTable td{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dataTables_wrapper{position:relative;clear:both;*zoom:1;zoom:1}.dataTables_wrapper .dataTables_length{float:left}.dataTables_wrapper .dataTables_filter{float:right;text-align:right}.dataTables_wrapper .dataTables_filter input{margin-left:0.5em}.dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:0.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #cacaca;background-color:#fff;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table,.dataTables_wrapper.no-footer div.dataTables_scrollBody table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:0.5em}}
|
1 |
+
table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc{cursor:pointer;*cursor:hand}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("../images/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("../images/sort_asc.png")}table.dataTable thead .sorting_desc{background-image:url("../images/sort_desc.png")}table.dataTable thead .sorting_asc_disabled{background-image:url("../images/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("../images/sort_desc_disabled.png")}table.dataTable tbody tr{background-color:#ffffff}table.dataTable tbody tr.selected{background-color:#B0BED9}table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px}table.dataTable.row-border tbody th,table.dataTable.row-border tbody td,table.dataTable.display tbody th,table.dataTable.display tbody td{border-top:1px solid #ddd}table.dataTable.row-border tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.display tbody tr:first-child td{border-top:none}table.dataTable.cell-border tbody th,table.dataTable.cell-border tbody td{border-top:1px solid #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd}table.dataTable.cell-border tbody tr:first-child th,table.dataTable.cell-border tbody tr:first-child td{border-top:none}table.dataTable.stripe tbody tr.odd,table.dataTable.display tbody tr.odd{background-color:#f9f9f9}table.dataTable.stripe tbody tr.odd.selected,table.dataTable.display tbody tr.odd.selected{background-color:#acbad4}table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6}table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1}table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#fafafa}table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad5}table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1}table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3}table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:whitesmoke}table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8}table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px 4px 4px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable th,table.dataTable td{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.dataTables_wrapper{position:relative;clear:both;*zoom:1;zoom:1}.dataTables_wrapper .dataTables_length{float:left}.dataTables_wrapper .dataTables_filter{float:right;text-align:right}.dataTables_wrapper .dataTables_filter input{margin-left:0.5em}.dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:0.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table,.dataTables_wrapper.no-footer div.dataTables_scrollBody table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:0.5em}}
|
assets/dependencies/datatables/css/jquery.dataTables_themeroller.css
DELETED
@@ -1,330 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Table styles
|
3 |
-
*/
|
4 |
-
table.dataTable {
|
5 |
-
width: 100%;
|
6 |
-
margin: 0 auto;
|
7 |
-
clear: both;
|
8 |
-
border-collapse: separate;
|
9 |
-
border-spacing: 0;
|
10 |
-
/*
|
11 |
-
* Header and footer styles
|
12 |
-
*/
|
13 |
-
/*
|
14 |
-
* Body styles
|
15 |
-
*/
|
16 |
-
}
|
17 |
-
table.dataTable thead th,
|
18 |
-
table.dataTable thead td,
|
19 |
-
table.dataTable tfoot th,
|
20 |
-
table.dataTable tfoot td {
|
21 |
-
padding: 4px 10px;
|
22 |
-
}
|
23 |
-
table.dataTable thead th,
|
24 |
-
table.dataTable tfoot th {
|
25 |
-
font-weight: bold;
|
26 |
-
}
|
27 |
-
table.dataTable thead th:active,
|
28 |
-
table.dataTable thead td:active {
|
29 |
-
outline: none;
|
30 |
-
}
|
31 |
-
table.dataTable thead .sorting_asc,
|
32 |
-
table.dataTable thead .sorting_desc,
|
33 |
-
table.dataTable thead .sorting {
|
34 |
-
cursor: pointer;
|
35 |
-
*cursor: hand;
|
36 |
-
}
|
37 |
-
table.dataTable thead th div.DataTables_sort_wrapper {
|
38 |
-
position: relative;
|
39 |
-
padding-right: 10px;
|
40 |
-
}
|
41 |
-
table.dataTable thead th div.DataTables_sort_wrapper span {
|
42 |
-
position: absolute;
|
43 |
-
top: 50%;
|
44 |
-
margin-top: -8px;
|
45 |
-
right: -5px;
|
46 |
-
}
|
47 |
-
table.dataTable thead th.ui-state-default {
|
48 |
-
border-right-width: 0;
|
49 |
-
}
|
50 |
-
table.dataTable thead th.ui-state-default:last-child {
|
51 |
-
border-right-width: 1px;
|
52 |
-
}
|
53 |
-
table.dataTable tbody tr {
|
54 |
-
background-color: white;
|
55 |
-
}
|
56 |
-
table.dataTable tbody tr.selected {
|
57 |
-
background-color: #b0bed9;
|
58 |
-
}
|
59 |
-
table.dataTable tbody th,
|
60 |
-
table.dataTable tbody td {
|
61 |
-
padding: 8px 10px;
|
62 |
-
}
|
63 |
-
table.dataTable th.center,
|
64 |
-
table.dataTable td.center,
|
65 |
-
table.dataTable td.dataTables_empty {
|
66 |
-
text-align: center;
|
67 |
-
}
|
68 |
-
table.dataTable th.right,
|
69 |
-
table.dataTable td.right {
|
70 |
-
text-align: right;
|
71 |
-
}
|
72 |
-
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
|
73 |
-
border-top: 1px solid #dddddd;
|
74 |
-
}
|
75 |
-
table.dataTable.row-border tbody tr:first-child th,
|
76 |
-
table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th,
|
77 |
-
table.dataTable.display tbody tr:first-child td {
|
78 |
-
border-top: none;
|
79 |
-
}
|
80 |
-
table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
|
81 |
-
border-top: 1px solid #dddddd;
|
82 |
-
border-right: 1px solid #dddddd;
|
83 |
-
}
|
84 |
-
table.dataTable.cell-border tbody tr th:first-child,
|
85 |
-
table.dataTable.cell-border tbody tr td:first-child {
|
86 |
-
border-left: 1px solid #dddddd;
|
87 |
-
}
|
88 |
-
table.dataTable.cell-border tbody tr:first-child th,
|
89 |
-
table.dataTable.cell-border tbody tr:first-child td {
|
90 |
-
border-top: none;
|
91 |
-
}
|
92 |
-
table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
|
93 |
-
background-color: #f9f9f9;
|
94 |
-
}
|
95 |
-
table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
|
96 |
-
background-color: #abb9d3;
|
97 |
-
}
|
98 |
-
table.dataTable.hover tbody tr:hover,
|
99 |
-
table.dataTable.hover tbody tr.odd:hover,
|
100 |
-
table.dataTable.hover tbody tr.even:hover, table.dataTable.display tbody tr:hover,
|
101 |
-
table.dataTable.display tbody tr.odd:hover,
|
102 |
-
table.dataTable.display tbody tr.even:hover {
|
103 |
-
background-color: whitesmoke;
|
104 |
-
}
|
105 |
-
table.dataTable.hover tbody tr:hover.selected,
|
106 |
-
table.dataTable.hover tbody tr.odd:hover.selected,
|
107 |
-
table.dataTable.hover tbody tr.even:hover.selected, table.dataTable.display tbody tr:hover.selected,
|
108 |
-
table.dataTable.display tbody tr.odd:hover.selected,
|
109 |
-
table.dataTable.display tbody tr.even:hover.selected {
|
110 |
-
background-color: #a9b7d1;
|
111 |
-
}
|
112 |
-
table.dataTable.order-column tbody tr > .sorting_1,
|
113 |
-
table.dataTable.order-column tbody tr > .sorting_2,
|
114 |
-
table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1,
|
115 |
-
table.dataTable.display tbody tr > .sorting_2,
|
116 |
-
table.dataTable.display tbody tr > .sorting_3 {
|
117 |
-
background-color: #f9f9f9;
|
118 |
-
}
|
119 |
-
table.dataTable.order-column tbody tr.selected > .sorting_1,
|
120 |
-
table.dataTable.order-column tbody tr.selected > .sorting_2,
|
121 |
-
table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1,
|
122 |
-
table.dataTable.display tbody tr.selected > .sorting_2,
|
123 |
-
table.dataTable.display tbody tr.selected > .sorting_3 {
|
124 |
-
background-color: #acbad4;
|
125 |
-
}
|
126 |
-
table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
|
127 |
-
background-color: #f1f1f1;
|
128 |
-
}
|
129 |
-
table.dataTable.display tbody tr.odd > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd > .sorting_2 {
|
130 |
-
background-color: #f3f3f3;
|
131 |
-
}
|
132 |
-
table.dataTable.display tbody tr.odd > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd > .sorting_3 {
|
133 |
-
background-color: whitesmoke;
|
134 |
-
}
|
135 |
-
table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
|
136 |
-
background-color: #a6b3cd;
|
137 |
-
}
|
138 |
-
table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
|
139 |
-
background-color: #a7b5ce;
|
140 |
-
}
|
141 |
-
table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
|
142 |
-
background-color: #a9b6d0;
|
143 |
-
}
|
144 |
-
table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
|
145 |
-
background-color: #f9f9f9;
|
146 |
-
}
|
147 |
-
table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
|
148 |
-
background-color: #fbfbfb;
|
149 |
-
}
|
150 |
-
table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
|
151 |
-
background-color: #fdfdfd;
|
152 |
-
}
|
153 |
-
table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
|
154 |
-
background-color: #acbad4;
|
155 |
-
}
|
156 |
-
table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
|
157 |
-
background-color: #adbbd6;
|
158 |
-
}
|
159 |
-
table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
|
160 |
-
background-color: #afbdd8;
|
161 |
-
}
|
162 |
-
table.dataTable.display tbody tr:hover > .sorting_1,
|
163 |
-
table.dataTable.display tbody tr.odd:hover > .sorting_1,
|
164 |
-
table.dataTable.display tbody tr.even:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1,
|
165 |
-
table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_1,
|
166 |
-
table.dataTable.order-column.hover tbody tr.even:hover > .sorting_1 {
|
167 |
-
background-color: #eaeaea;
|
168 |
-
}
|
169 |
-
table.dataTable.display tbody tr:hover > .sorting_2,
|
170 |
-
table.dataTable.display tbody tr.odd:hover > .sorting_2,
|
171 |
-
table.dataTable.display tbody tr.even:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2,
|
172 |
-
table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_2,
|
173 |
-
table.dataTable.order-column.hover tbody tr.even:hover > .sorting_2 {
|
174 |
-
background-color: #ebebeb;
|
175 |
-
}
|
176 |
-
table.dataTable.display tbody tr:hover > .sorting_3,
|
177 |
-
table.dataTable.display tbody tr.odd:hover > .sorting_3,
|
178 |
-
table.dataTable.display tbody tr.even:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3,
|
179 |
-
table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_3,
|
180 |
-
table.dataTable.order-column.hover tbody tr.even:hover > .sorting_3 {
|
181 |
-
background-color: #eeeeee;
|
182 |
-
}
|
183 |
-
table.dataTable.display tbody tr:hover.selected > .sorting_1,
|
184 |
-
table.dataTable.display tbody tr.odd:hover.selected > .sorting_1,
|
185 |
-
table.dataTable.display tbody tr.even:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1,
|
186 |
-
table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_1,
|
187 |
-
table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_1 {
|
188 |
-
background-color: #a1aec7;
|
189 |
-
}
|
190 |
-
table.dataTable.display tbody tr:hover.selected > .sorting_2,
|
191 |
-
table.dataTable.display tbody tr.odd:hover.selected > .sorting_2,
|
192 |
-
table.dataTable.display tbody tr.even:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2,
|
193 |
-
table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_2,
|
194 |
-
table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_2 {
|
195 |
-
background-color: #a2afc8;
|
196 |
-
}
|
197 |
-
table.dataTable.display tbody tr:hover.selected > .sorting_3,
|
198 |
-
table.dataTable.display tbody tr.odd:hover.selected > .sorting_3,
|
199 |
-
table.dataTable.display tbody tr.even:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3,
|
200 |
-
table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_3,
|
201 |
-
table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_3 {
|
202 |
-
background-color: #a4b2cb;
|
203 |
-
}
|
204 |
-
|
205 |
-
table.dataTable,
|
206 |
-
table.dataTable th,
|
207 |
-
table.dataTable td {
|
208 |
-
-webkit-box-sizing: content-box;
|
209 |
-
-moz-box-sizing: content-box;
|
210 |
-
box-sizing: content-box;
|
211 |
-
}
|
212 |
-
|
213 |
-
/*
|
214 |
-
* Control feature layout
|
215 |
-
*/
|
216 |
-
.dataTables_wrapper {
|
217 |
-
position: relative;
|
218 |
-
clear: both;
|
219 |
-
*zoom: 1;
|
220 |
-
zoom: 1;
|
221 |
-
}
|
222 |
-
.dataTables_wrapper .dataTables_length {
|
223 |
-
float: left;
|
224 |
-
}
|
225 |
-
.dataTables_wrapper .dataTables_filter {
|
226 |
-
float: right;
|
227 |
-
text-align: right;
|
228 |
-
}
|
229 |
-
.dataTables_wrapper .dataTables_filter input {
|
230 |
-
margin-left: 0.5em;
|
231 |
-
}
|
232 |
-
.dataTables_wrapper .dataTables_info {
|
233 |
-
clear: both;
|
234 |
-
float: left;
|
235 |
-
padding-top: 0.55em;
|
236 |
-
}
|
237 |
-
.dataTables_wrapper .dataTables_paginate {
|
238 |
-
float: right;
|
239 |
-
text-align: right;
|
240 |
-
}
|
241 |
-
.dataTables_wrapper .dataTables_paginate .fg-button {
|
242 |
-
box-sizing: border-box;
|
243 |
-
display: inline-block;
|
244 |
-
min-width: 1.5em;
|
245 |
-
padding: 0.5em;
|
246 |
-
margin-left: 2px;
|
247 |
-
text-align: center;
|
248 |
-
text-decoration: none !important;
|
249 |
-
cursor: pointer;
|
250 |
-
*cursor: hand;
|
251 |
-
color: #333333 !important;
|
252 |
-
border: 1px solid transparent;
|
253 |
-
}
|
254 |
-
.dataTables_wrapper .dataTables_paginate .fg-button:active {
|
255 |
-
outline: none;
|
256 |
-
}
|
257 |
-
.dataTables_wrapper .dataTables_paginate .fg-button:first-child {
|
258 |
-
border-top-left-radius: 3px;
|
259 |
-
border-bottom-left-radius: 3px;
|
260 |
-
}
|
261 |
-
.dataTables_wrapper .dataTables_paginate .fg-button:last-child {
|
262 |
-
border-top-right-radius: 3px;
|
263 |
-
border-bottom-right-radius: 3px;
|
264 |
-
}
|
265 |
-
.dataTables_wrapper .dataTables_processing {
|
266 |
-
position: absolute;
|
267 |
-
top: 50%;
|
268 |
-
left: 50%;
|
269 |
-
width: 100%;
|
270 |
-
height: 40px;
|
271 |
-
margin-left: -50%;
|
272 |
-
margin-top: -25px;
|
273 |
-
padding-top: 20px;
|
274 |
-
text-align: center;
|
275 |
-
font-size: 1.2em;
|
276 |
-
background-color: white;
|
277 |
-
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
|
278 |
-
/* Chrome,Safari4+ */
|
279 |
-
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
280 |
-
/* Chrome10+,Safari5.1+ */
|
281 |
-
background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
282 |
-
/* FF3.6+ */
|
283 |
-
background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
284 |
-
/* IE10+ */
|
285 |
-
background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
286 |
-
/* Opera 11.10+ */
|
287 |
-
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
|
288 |
-
/* W3C */
|
289 |
-
}
|
290 |
-
.dataTables_wrapper .dataTables_length,
|
291 |
-
.dataTables_wrapper .dataTables_filter,
|
292 |
-
.dataTables_wrapper .dataTables_info,
|
293 |
-
.dataTables_wrapper .dataTables_processing,
|
294 |
-
.dataTables_wrapper .dataTables_paginate {
|
295 |
-
color: #333333;
|
296 |
-
}
|
297 |
-
.dataTables_wrapper .dataTables_scroll {
|
298 |
-
clear: both;
|
299 |
-
}
|
300 |
-
.dataTables_wrapper .dataTables_scrollBody {
|
301 |
-
*margin-top: -1px;
|
302 |
-
-webkit-overflow-scrolling: touch;
|
303 |
-
}
|
304 |
-
.dataTables_wrapper .ui-widget-header {
|
305 |
-
font-weight: normal;
|
306 |
-
}
|
307 |
-
.dataTables_wrapper .ui-toolbar {
|
308 |
-
padding: 8px;
|
309 |
-
}
|
310 |
-
.dataTables_wrapper:after {
|
311 |
-
visibility: hidden;
|
312 |
-
display: block;
|
313 |
-
content: "";
|
314 |
-
clear: both;
|
315 |
-
height: 0;
|
316 |
-
}
|
317 |
-
|
318 |
-
@media screen and (max-width: 767px) {
|
319 |
-
.dataTables_wrapper .dataTables_length,
|
320 |
-
.dataTables_wrapper .dataTables_filter,
|
321 |
-
.dataTables_wrapper .dataTables_info,
|
322 |
-
.dataTables_wrapper .dataTables_paginate {
|
323 |
-
float: none;
|
324 |
-
text-align: center;
|
325 |
-
}
|
326 |
-
.dataTables_wrapper .dataTables_filter,
|
327 |
-
.dataTables_wrapper .dataTables_paginate {
|
328 |
-
margin-top: 0.5em;
|
329 |
-
}
|
330 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/dependencies/datatables/js/jquery.dataTables.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
/*! DataTables 1.10.
|
2 |
* ©2008-2014 SpryMedia Ltd - datatables.net/license
|
3 |
*/
|
4 |
|
5 |
/**
|
6 |
* @summary DataTables
|
7 |
* @description Paginate, search and order HTML tables
|
8 |
-
* @version 1.10.
|
9 |
* @file jquery.dataTables.js
|
10 |
* @author SpryMedia Ltd (www.sprymedia.co.uk)
|
11 |
* @contact www.sprymedia.co.uk/contact
|
@@ -22,7 +22,7 @@
|
|
22 |
*/
|
23 |
|
24 |
/*jslint evil: true, undef: true, browser: true */
|
25 |
-
/*globals $,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,
|
26 |
|
27 |
(/** @lends <global> */function( window, document, undefined ) {
|
28 |
|
@@ -33,10 +33,10 @@
|
|
33 |
// Define as an AMD module if possible
|
34 |
define( 'datatables', ['jquery'], factory );
|
35 |
}
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
else if ( jQuery && !jQuery.fn.dataTable ) {
|
41 |
// Define using browser globals otherwise
|
42 |
// Prevent multiple instantiations if the script is loaded twice
|
@@ -111,9 +111,17 @@
|
|
111 |
// Escape regular expression special characters
|
112 |
var _re_escape_regex = new RegExp( '(\\' + [ '/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '$', '^', '-' ].join('|\\') + ')', 'g' );
|
113 |
|
114 |
-
//
|
115 |
-
//
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
|
118 |
|
119 |
var _empty = function ( d ) {
|
@@ -142,6 +150,13 @@
|
|
142 |
var _isNumber = function ( d, decimalPoint, formatted ) {
|
143 |
var strType = typeof d === 'string';
|
144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
if ( decimalPoint && strType ) {
|
146 |
d = _numToDecimal( d, decimalPoint );
|
147 |
}
|
@@ -150,7 +165,7 @@
|
|
150 |
d = d.replace( _re_formatted_numeric, '' );
|
151 |
}
|
152 |
|
153 |
-
return
|
154 |
};
|
155 |
|
156 |
|
@@ -452,6 +467,11 @@
|
|
452 |
_fnCompatMap( init, 'pageLength', 'iDisplayLength' );
|
453 |
_fnCompatMap( init, 'searching', 'bFilter' );
|
454 |
|
|
|
|
|
|
|
|
|
|
|
455 |
// Column search objects are in an array, so it needs to be converted
|
456 |
// element by element
|
457 |
var searchCols = init.aoSearchCols;
|
@@ -478,6 +498,12 @@
|
|
478 |
_fnCompatMap( init, 'orderData', 'aDataSort' );
|
479 |
_fnCompatMap( init, 'orderSequence', 'asSorting' );
|
480 |
_fnCompatMap( init, 'orderDataType', 'sortDataType' );
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
}
|
482 |
|
483 |
|
@@ -493,7 +519,7 @@
|
|
493 |
// Scrolling feature / quirks detection
|
494 |
var n = $('<div/>')
|
495 |
.css( {
|
496 |
-
position: '
|
497 |
top: 0,
|
498 |
left: 0,
|
499 |
height: 1,
|
@@ -528,7 +554,10 @@
|
|
528 |
|
529 |
// In rtl text layout, some browsers (most, but not all) will place the
|
530 |
// scrollbar on the left, rather than the right.
|
531 |
-
browser.bScrollbarLeft = test.offset().left !== 1;
|
|
|
|
|
|
|
532 |
|
533 |
n.remove();
|
534 |
}
|
@@ -595,7 +624,7 @@
|
|
595 |
searchCols[ iCol ] = $.extend( {}, DataTable.models.oSearch, searchCols[ iCol ] );
|
596 |
|
597 |
// Use the default column options function to initialise classes etc
|
598 |
-
_fnColumnOptions( oSettings, iCol,
|
599 |
}
|
600 |
|
601 |
|
@@ -658,7 +687,7 @@
|
|
658 |
/* iDataSort to be applied (backwards compatibility), but aDataSort will take
|
659 |
* priority if defined
|
660 |
*/
|
661 |
-
if (
|
662 |
{
|
663 |
oCol.aDataSort = [ oOptions.iDataSort ];
|
664 |
}
|
@@ -987,7 +1016,8 @@
|
|
987 |
/* Create the object for storing information about this new row */
|
988 |
var iRow = oSettings.aoData.length;
|
989 |
var oData = $.extend( true, {}, DataTable.models.oRow, {
|
990 |
-
src: nTr ? 'dom' : 'data'
|
|
|
991 |
} );
|
992 |
|
993 |
oData._aData = aDataIn;
|
@@ -1010,6 +1040,11 @@
|
|
1010 |
/* Add to the display array */
|
1011 |
oSettings.aiDisplayMaster.push( iRow );
|
1012 |
|
|
|
|
|
|
|
|
|
|
|
1013 |
/* Create the DOM information, or register it if already present */
|
1014 |
if ( nTr || ! oSettings.oFeatures.bDeferRender )
|
1015 |
{
|
@@ -1153,7 +1188,7 @@
|
|
1153 |
*/
|
1154 |
function _fnSplitObjNotation( str )
|
1155 |
{
|
1156 |
-
return $.map( str.match(/(\\.|[^\.])+/g), function ( s ) {
|
1157 |
return s.replace(/\\./g, '.');
|
1158 |
} );
|
1159 |
}
|
@@ -1519,7 +1554,7 @@
|
|
1519 |
}
|
1520 |
|
1521 |
// Update DataTables special `DT_*` attributes for the row
|
1522 |
-
_fnRowAttributes( row );
|
1523 |
}
|
1524 |
}
|
1525 |
|
@@ -1614,12 +1649,18 @@
|
|
1614 |
else {
|
1615 |
// Existing row object passed in
|
1616 |
tds = row.anCells;
|
1617 |
-
|
1618 |
for ( var j=0, jen=tds.length ; j<jen ; j++ ) {
|
1619 |
cellProcess( tds[j] );
|
1620 |
}
|
1621 |
}
|
1622 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1623 |
return {
|
1624 |
data: d,
|
1625 |
cells: tds
|
@@ -1657,7 +1698,7 @@
|
|
1657 |
nTr._DT_RowIndex = iRow;
|
1658 |
|
1659 |
/* Special parameters can be given by the data source to be used on the row */
|
1660 |
-
_fnRowAttributes( row );
|
1661 |
|
1662 |
/* Process each column */
|
1663 |
for ( i=0, iLen=oSettings.aoColumns.length ; i<iLen ; i++ )
|
@@ -1709,17 +1750,20 @@
|
|
1709 |
/**
|
1710 |
* Add attributes to a row based on the special `DT_*` parameters in a data
|
1711 |
* source object.
|
|
|
1712 |
* @param {object} DataTables row object for the row to be modified
|
1713 |
* @memberof DataTable#oApi
|
1714 |
*/
|
1715 |
-
function _fnRowAttributes( row )
|
1716 |
{
|
1717 |
var tr = row.nTr;
|
1718 |
var data = row._aData;
|
1719 |
|
1720 |
if ( tr ) {
|
1721 |
-
|
1722 |
-
|
|
|
|
|
1723 |
}
|
1724 |
|
1725 |
if ( data.DT_RowClass ) {
|
@@ -1734,6 +1778,10 @@
|
|
1734 |
.addClass( data.DT_RowClass );
|
1735 |
}
|
1736 |
|
|
|
|
|
|
|
|
|
1737 |
if ( data.DT_RowData ) {
|
1738 |
$(tr).data( data.DT_RowData );
|
1739 |
}
|
@@ -1780,7 +1828,7 @@
|
|
1780 |
}
|
1781 |
}
|
1782 |
|
1783 |
-
if ( column.sTitle != cell.
|
1784 |
cell.html( column.sTitle );
|
1785 |
}
|
1786 |
|
@@ -2252,6 +2300,7 @@
|
|
2252 |
|
2253 |
/* Built our DOM structure - replace the holding div with what we want */
|
2254 |
holding.replaceWith( insert );
|
|
|
2255 |
}
|
2256 |
|
2257 |
|
@@ -2367,8 +2416,6 @@
|
|
2367 |
return aReturn;
|
2368 |
}
|
2369 |
|
2370 |
-
|
2371 |
-
|
2372 |
/**
|
2373 |
* Create an Ajax call based on the table's settings, taking into account that
|
2374 |
* parameters can have multiple forms, and backwards compatibility.
|
@@ -2411,16 +2458,20 @@
|
|
2411 |
var ajaxData;
|
2412 |
var ajax = oSettings.ajax;
|
2413 |
var instance = oSettings.oInstance;
|
|
|
|
|
|
|
|
|
2414 |
|
2415 |
if ( $.isPlainObject( ajax ) && ajax.data )
|
2416 |
{
|
2417 |
ajaxData = ajax.data;
|
2418 |
|
2419 |
var newData = $.isFunction( ajaxData ) ?
|
2420 |
-
ajaxData( data ) : // fn can manipulate data or return
|
2421 |
-
ajaxData;
|
2422 |
|
2423 |
-
// If the function returned
|
2424 |
data = $.isFunction( ajaxData ) && newData ?
|
2425 |
newData :
|
2426 |
$.extend( true, data, newData );
|
@@ -2435,24 +2486,25 @@
|
|
2435 |
"success": function (json) {
|
2436 |
var error = json.error || json.sError;
|
2437 |
if ( error ) {
|
2438 |
-
|
2439 |
}
|
2440 |
|
2441 |
oSettings.json = json;
|
2442 |
-
|
2443 |
-
fn( json );
|
2444 |
},
|
2445 |
"dataType": "json",
|
2446 |
"cache": false,
|
2447 |
"type": oSettings.sServerMethod,
|
2448 |
"error": function (xhr, error, thrown) {
|
2449 |
-
var
|
2450 |
|
2451 |
-
if (
|
2452 |
-
|
2453 |
-
|
2454 |
-
|
2455 |
-
|
|
|
|
|
2456 |
}
|
2457 |
|
2458 |
_fnProcessingDisplay( oSettings, false );
|
@@ -2473,7 +2525,7 @@
|
|
2473 |
$.map( data, function (val, key) { // Need to convert back to 1.9 trad format
|
2474 |
return { name: key, value: val };
|
2475 |
} ),
|
2476 |
-
|
2477 |
oSettings
|
2478 |
);
|
2479 |
}
|
@@ -2487,7 +2539,7 @@
|
|
2487 |
else if ( $.isFunction( ajax ) )
|
2488 |
{
|
2489 |
// Is a function - let the caller define what needs to be done
|
2490 |
-
oSettings.jqXHR = ajax.call( instance, data,
|
2491 |
}
|
2492 |
else
|
2493 |
{
|
@@ -2653,6 +2705,7 @@
|
|
2653 |
return json[old] !== undefined ? json[old] : json[modern];
|
2654 |
};
|
2655 |
|
|
|
2656 |
var draw = compat( 'sEcho', 'draw' );
|
2657 |
var recordsTotal = compat( 'iTotalRecords', 'recordsTotal' );
|
2658 |
var recordsFiltered = compat( 'iTotalDisplayRecords', 'recordsFiltered' );
|
@@ -2669,7 +2722,6 @@
|
|
2669 |
settings._iRecordsTotal = parseInt(recordsTotal, 10);
|
2670 |
settings._iRecordsDisplay = parseInt(recordsFiltered, 10);
|
2671 |
|
2672 |
-
var data = _fnAjaxDataSrc( settings, json );
|
2673 |
for ( var i=0, ien=data.length ; i<ien ; i++ ) {
|
2674 |
_fnAddData( settings, data[i] );
|
2675 |
}
|
@@ -2712,7 +2764,6 @@
|
|
2712 |
json;
|
2713 |
}
|
2714 |
|
2715 |
-
|
2716 |
/**
|
2717 |
* Generate the node required for filtering text
|
2718 |
* @returns {node} Filter control element
|
@@ -2993,7 +3044,7 @@
|
|
2993 |
*
|
2994 |
* ^(?=.*?\bone\b)(?=.*?\btwo three\b)(?=.*?\bfour\b).*$
|
2995 |
*/
|
2996 |
-
var a = $.map( search.match( /"[^"]+"|[^ ]+/g ) || '', function ( word ) {
|
2997 |
if ( word.charAt(0) === '"' ) {
|
2998 |
var m = word.match( /^"(.*)"$/ );
|
2999 |
word = m ? m[1] : word;
|
@@ -3238,6 +3289,7 @@
|
|
3238 |
var i, iLen, iAjaxStart=settings.iInitDisplayStart;
|
3239 |
var columns = settings.aoColumns, column;
|
3240 |
var features = settings.oFeatures;
|
|
|
3241 |
|
3242 |
/* Ensure that the table data is fully initialised */
|
3243 |
if ( ! settings.bInitialised ) {
|
@@ -3269,6 +3321,8 @@
|
|
3269 |
}
|
3270 |
}
|
3271 |
|
|
|
|
|
3272 |
// If there is default sorting required - let's do it. The sort function
|
3273 |
// will do the drawing for us. Otherwise we draw the table regardless of the
|
3274 |
// Ajax source - this allows the table to look initialised for Ajax sourcing
|
@@ -3277,7 +3331,7 @@
|
|
3277 |
|
3278 |
// Server-side processing init complete is done by _fnAjaxUpdateDraw
|
3279 |
var dataSrc = _fnDataSource( settings );
|
3280 |
-
if ( dataSrc != 'ssp' ) {
|
3281 |
// if there is an ajax source load the data
|
3282 |
if ( dataSrc == 'ajax' ) {
|
3283 |
_fnBuildAjax( settings, [], function(json) {
|
@@ -3318,9 +3372,9 @@
|
|
3318 |
{
|
3319 |
settings._bInitComplete = true;
|
3320 |
|
3321 |
-
//
|
3322 |
-
// sizing
|
3323 |
-
if ( json ) {
|
3324 |
_fnAdjustColumnSizing( settings );
|
3325 |
}
|
3326 |
|
@@ -3660,8 +3714,8 @@
|
|
3660 |
.append(
|
3661 |
$(_div, { 'class': classes.sScrollBody } )
|
3662 |
.css( {
|
|
|
3663 |
overflow: 'auto',
|
3664 |
-
height: size( scrollY ),
|
3665 |
width: size( scrollX )
|
3666 |
} )
|
3667 |
.append( table )
|
@@ -3697,7 +3751,7 @@
|
|
3697 |
|
3698 |
// When the body is scrolled, then we also want to scroll the headers
|
3699 |
if ( scrollX ) {
|
3700 |
-
$(scrollBody).
|
3701 |
var scrollLeft = this.scrollLeft;
|
3702 |
|
3703 |
scrollHead.scrollLeft = scrollLeft;
|
@@ -3708,6 +3762,11 @@
|
|
3708 |
} );
|
3709 |
}
|
3710 |
|
|
|
|
|
|
|
|
|
|
|
3711 |
settings.nScrollHead = scrollHead;
|
3712 |
settings.nScrollBody = scrollBody;
|
3713 |
settings.nScrollFoot = scrollFoot;
|
@@ -3824,13 +3883,6 @@
|
|
3824 |
}, footerSrcEls );
|
3825 |
}
|
3826 |
|
3827 |
-
// If scroll collapse is enabled, when we put the headers back into the body for sizing, we
|
3828 |
-
// will end up forcing the scrollbar to appear, making our measurements wrong for when we
|
3829 |
-
// then hide it (end of this function), so add the header height to the body scroller.
|
3830 |
-
if ( scroll.bCollapse && scrollY !== "" ) {
|
3831 |
-
divBodyStyle.height = (divBody[0].offsetHeight + header[0].offsetHeight)+"px";
|
3832 |
-
}
|
3833 |
-
|
3834 |
// Size the table as a whole
|
3835 |
sanityWidth = table.outerWidth();
|
3836 |
if ( scrollX === "" ) {
|
@@ -3845,32 +3897,17 @@
|
|
3845 |
) {
|
3846 |
tableStyle.width = _fnStringToCss( table.outerWidth() - barWidth);
|
3847 |
}
|
|
|
|
|
|
|
3848 |
}
|
3849 |
-
else
|
3850 |
-
|
3851 |
-
|
3852 |
-
if ( scrollXInner !== "" ) {
|
3853 |
-
// x scroll inner has been given - use it
|
3854 |
-
tableStyle.width = _fnStringToCss(scrollXInner);
|
3855 |
-
}
|
3856 |
-
else if ( sanityWidth == divBody.width() && divBody.height() < table.height() ) {
|
3857 |
-
// There is y-scrolling - try to take account of the y scroll bar
|
3858 |
-
tableStyle.width = _fnStringToCss( sanityWidth-barWidth );
|
3859 |
-
if ( table.outerWidth() > sanityWidth-barWidth ) {
|
3860 |
-
// Not possible to take account of it
|
3861 |
-
tableStyle.width = _fnStringToCss( sanityWidth );
|
3862 |
-
}
|
3863 |
-
}
|
3864 |
-
else {
|
3865 |
-
// When all else fails
|
3866 |
-
tableStyle.width = _fnStringToCss( sanityWidth );
|
3867 |
-
}
|
3868 |
-
}
|
3869 |
|
3870 |
-
|
3871 |
-
|
3872 |
-
|
3873 |
-
sanityWidth = table.outerWidth();
|
3874 |
|
3875 |
// Hidden header should have zero height, so remove padding and borders. Then
|
3876 |
// set the width based on the real headers
|
@@ -3978,18 +4015,6 @@
|
|
3978 |
}
|
3979 |
}
|
3980 |
|
3981 |
-
if ( scrollY && scroll.bCollapse ) {
|
3982 |
-
divBodyStyle.height = _fnStringToCss( scrollY );
|
3983 |
-
|
3984 |
-
var iExtra = (scrollX && tableEl.offsetWidth > divBodyEl.offsetWidth) ?
|
3985 |
-
barWidth :
|
3986 |
-
0;
|
3987 |
-
|
3988 |
-
if ( tableEl.offsetHeight < divBodyEl.offsetHeight ) {
|
3989 |
-
divBodyStyle.height = _fnStringToCss( tableEl.offsetHeight+iExtra );
|
3990 |
-
}
|
3991 |
-
}
|
3992 |
-
|
3993 |
/* Finally set the width's of the header and footer tables */
|
3994 |
var iOuterWidth = table.outerWidth();
|
3995 |
divHeaderTable[0].style.width = _fnStringToCss( iOuterWidth );
|
@@ -4078,10 +4103,17 @@
|
|
4078 |
columnCount = columns.length,
|
4079 |
visibleColumns = _fnGetColumns( oSettings, 'bVisible' ),
|
4080 |
headerCells = $('th', oSettings.nTHead),
|
4081 |
-
tableWidthAttr = table.getAttribute('width'),
|
4082 |
tableContainer = table.parentNode,
|
4083 |
userInputs = false,
|
4084 |
-
i, column, columnIdx, width, outerWidth
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4085 |
|
4086 |
/* Convert any user input sizes into pixel sizes */
|
4087 |
for ( i=0 ; i<visibleColumns.length ; i++ ) {
|
@@ -4099,9 +4131,9 @@
|
|
4099 |
* the web- browser. No custom sizes can be set in order for this to happen,
|
4100 |
* nor scrolling used
|
4101 |
*/
|
4102 |
-
if ( ! userInputs && ! scrollX && ! scrollY &&
|
4103 |
-
|
4104 |
-
|
4105 |
) {
|
4106 |
for ( i=0 ; i<columnCount ; i++ ) {
|
4107 |
columns[i].sWidth = _fnStringToCss( headerCells.eq(i).width() );
|
@@ -4109,22 +4141,29 @@
|
|
4109 |
}
|
4110 |
else
|
4111 |
{
|
4112 |
-
// Otherwise construct a single row table with the widest
|
4113 |
-
// data, assign any user defined widths, then insert it into
|
4114 |
-
// allow the browser to do all the hard work of calculating
|
|
|
4115 |
var tmpTable = $(table).clone() // don't use cloneNode - IE8 will remove events on the main table
|
4116 |
-
.empty()
|
4117 |
.css( 'visibility', 'hidden' )
|
4118 |
-
.removeAttr( 'id' )
|
4119 |
-
|
4120 |
-
|
4121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4122 |
|
4123 |
// Remove any assigned widths from the footer (from scrolling)
|
4124 |
tmpTable.find('tfoot th, tfoot td').css('width', '');
|
4125 |
|
4126 |
-
var tr = tmpTable.find( 'tbody tr' );
|
4127 |
-
|
4128 |
// Apply custom sizing to the cloned header
|
4129 |
headerCells = _fnGetUniqueThs( oSettings, tmpTable.find('thead')[0] );
|
4130 |
|
@@ -4149,8 +4188,24 @@
|
|
4149 |
}
|
4150 |
}
|
4151 |
|
4152 |
-
// Table has been built, attach to the document so we can work with it
|
4153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4154 |
|
4155 |
// When scrolling (X or Y) we want to set the width of the table as
|
4156 |
// appropriate. However, when not scrolling leave the table width as it
|
@@ -4161,20 +4216,17 @@
|
|
4161 |
else if ( scrollX ) {
|
4162 |
tmpTable.css( 'width', 'auto' );
|
4163 |
|
4164 |
-
if ( tmpTable.width() < tableContainer.
|
4165 |
-
tmpTable.width( tableContainer.
|
4166 |
}
|
4167 |
}
|
4168 |
else if ( scrollY ) {
|
4169 |
-
tmpTable.width( tableContainer.
|
4170 |
}
|
4171 |
else if ( tableWidthAttr ) {
|
4172 |
tmpTable.width( tableWidthAttr );
|
4173 |
}
|
4174 |
|
4175 |
-
// Take into account the y scrollbar
|
4176 |
-
_fnScrollingWidthAdjust( oSettings, tmpTable[0] );
|
4177 |
-
|
4178 |
// Browsers need a bit of a hand when a width is assigned to any columns
|
4179 |
// when x-scrolling as they tend to collapse the table to the min-width,
|
4180 |
// even if we sent the column widths. So we need to keep track of what
|
@@ -4186,7 +4238,12 @@
|
|
4186 |
|
4187 |
for ( i=0 ; i<visibleColumns.length ; i++ ) {
|
4188 |
column = columns[ visibleColumns[i] ];
|
4189 |
-
|
|
|
|
|
|
|
|
|
|
|
4190 |
|
4191 |
total += column.sWidthOrig === null ?
|
4192 |
outerWidth :
|
@@ -4210,7 +4267,7 @@
|
|
4210 |
table.style.width = _fnStringToCss( tmpTable.css('width') );
|
4211 |
|
4212 |
// Finished with the table - ditch it
|
4213 |
-
|
4214 |
}
|
4215 |
|
4216 |
// If there is a width attr, we want to attach an event listener which
|
@@ -4222,9 +4279,20 @@
|
|
4222 |
}
|
4223 |
|
4224 |
if ( (tableWidthAttr || scrollX) && ! oSettings._reszEvt ) {
|
4225 |
-
|
4226 |
-
|
4227 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4228 |
|
4229 |
oSettings._reszEvt = true;
|
4230 |
}
|
@@ -4259,12 +4327,9 @@
|
|
4259 |
fn.apply( that, args );
|
4260 |
}, frequency );
|
4261 |
}
|
4262 |
-
else if ( last ) {
|
4263 |
-
last = now;
|
4264 |
-
fn.apply( that, args );
|
4265 |
-
}
|
4266 |
else {
|
4267 |
last = now;
|
|
|
4268 |
}
|
4269 |
};
|
4270 |
}
|
@@ -4294,27 +4359,6 @@
|
|
4294 |
}
|
4295 |
|
4296 |
|
4297 |
-
/**
|
4298 |
-
* Adjust a table's width to take account of vertical scroll bar
|
4299 |
-
* @param {object} oSettings dataTables settings object
|
4300 |
-
* @param {node} n table node
|
4301 |
-
* @memberof DataTable#oApi
|
4302 |
-
*/
|
4303 |
-
|
4304 |
-
function _fnScrollingWidthAdjust ( settings, n )
|
4305 |
-
{
|
4306 |
-
var scroll = settings.oScroll;
|
4307 |
-
|
4308 |
-
if ( scroll.sX || scroll.sY ) {
|
4309 |
-
// When y-scrolling only, we want to remove the width of the scroll bar
|
4310 |
-
// so the table + scroll bar will fit into the area available, otherwise
|
4311 |
-
// we fix the table at its current size with no adjustment
|
4312 |
-
var correction = ! scroll.sX ? scroll.iBarWidth : 0;
|
4313 |
-
n.style.width = _fnStringToCss( $(n).outerWidth() - correction );
|
4314 |
-
}
|
4315 |
-
}
|
4316 |
-
|
4317 |
-
|
4318 |
/**
|
4319 |
* Get the widest node
|
4320 |
* @param {object} settings dataTables settings object
|
@@ -4395,41 +4439,28 @@
|
|
4395 |
{
|
4396 |
// On first run a static variable is set, since this is only needed once.
|
4397 |
// Subsequent runs will just use the previously calculated value
|
4398 |
-
|
4399 |
-
|
4400 |
-
|
4401 |
-
|
4402 |
-
padding: 0
|
4403 |
-
} )[0];
|
4404 |
-
|
4405 |
-
var outer = $('<div/>')
|
4406 |
-
.css( {
|
4407 |
position: 'absolute',
|
4408 |
top: 0,
|
4409 |
left: 0,
|
4410 |
-
width:
|
4411 |
height: 150,
|
4412 |
padding: 0,
|
4413 |
-
overflow: '
|
4414 |
visibility: 'hidden'
|
4415 |
} )
|
4416 |
-
.
|
4417 |
-
.appendTo( 'body' );
|
4418 |
|
4419 |
-
|
4420 |
-
|
4421 |
-
var w2 = inner.offsetWidth;
|
4422 |
|
4423 |
-
|
4424 |
-
w2 = outer[0].clientWidth;
|
4425 |
-
}
|
4426 |
-
|
4427 |
-
outer.remove();
|
4428 |
-
|
4429 |
-
DataTable.__scrollbarWidth = w1 - w2;
|
4430 |
}
|
4431 |
|
4432 |
-
return
|
4433 |
}
|
4434 |
|
4435 |
|
@@ -4720,6 +4751,10 @@
|
|
4720 |
// Yes, modify the sort
|
4721 |
nextSortIdx = next( sorting[sortIdx], true );
|
4722 |
|
|
|
|
|
|
|
|
|
4723 |
if ( nextSortIdx === null ) {
|
4724 |
sorting.splice( sortIdx, 1 );
|
4725 |
}
|
@@ -4954,31 +4989,43 @@
|
|
4954 |
|
4955 |
// Restore key features - todo - for 1.11 this needs to be done by
|
4956 |
// subscribed events
|
4957 |
-
|
4958 |
-
|
4959 |
-
|
4960 |
-
|
|
|
|
|
|
|
4961 |
|
4962 |
// Order
|
4963 |
-
|
4964 |
-
settings.aaSorting
|
4965 |
-
|
4966 |
-
col
|
4967 |
-
|
4968 |
-
|
|
|
|
|
|
|
4969 |
|
4970 |
// Search
|
4971 |
-
|
|
|
|
|
4972 |
|
4973 |
// Columns
|
4974 |
for ( i=0, ien=state.columns.length ; i<ien ; i++ ) {
|
4975 |
var col = state.columns[i];
|
4976 |
|
4977 |
// Visibility
|
4978 |
-
|
|
|
|
|
4979 |
|
4980 |
// Search
|
4981 |
-
|
|
|
|
|
4982 |
}
|
4983 |
|
4984 |
_fnCallbackFire( settings, 'aoStateLoaded', 'stateLoaded', [settings, state] );
|
@@ -5013,7 +5060,7 @@
|
|
5013 |
function _fnLog( settings, level, msg, tn )
|
5014 |
{
|
5015 |
msg = 'DataTables warning: '+
|
5016 |
-
(settings
|
5017 |
|
5018 |
if ( tn ) {
|
5019 |
msg += '. For more information about this error, please see '+
|
@@ -5025,12 +5072,19 @@
|
|
5025 |
var ext = DataTable.ext;
|
5026 |
var type = ext.sErrMode || ext.errMode;
|
5027 |
|
|
|
|
|
|
|
|
|
5028 |
if ( type == 'alert' ) {
|
5029 |
alert( msg );
|
5030 |
}
|
5031 |
-
else {
|
5032 |
throw new Error(msg);
|
5033 |
}
|
|
|
|
|
|
|
5034 |
}
|
5035 |
else if ( window.console && console.log ) {
|
5036 |
console.log( msg );
|
@@ -5173,13 +5227,13 @@
|
|
5173 |
* @param {object} settings dataTables settings object
|
5174 |
* @param {string} callbackArr Name of the array storage for the callbacks in
|
5175 |
* oSettings
|
5176 |
-
* @param {string}
|
5177 |
-
* trigger is fired
|
5178 |
* @param {array} args Array of arguments to pass to the callback function /
|
5179 |
* trigger
|
5180 |
* @memberof DataTable#oApi
|
5181 |
*/
|
5182 |
-
function _fnCallbackFire( settings, callbackArr,
|
5183 |
{
|
5184 |
var ret = [];
|
5185 |
|
@@ -5189,8 +5243,12 @@
|
|
5189 |
} );
|
5190 |
}
|
5191 |
|
5192 |
-
if (
|
5193 |
-
|
|
|
|
|
|
|
|
|
5194 |
}
|
5195 |
|
5196 |
return ret;
|
@@ -5602,8 +5660,8 @@
|
|
5602 |
this.fnDraw = function( complete )
|
5603 |
{
|
5604 |
// Note that this isn't an exact match to the old call to _fnDraw - it takes
|
5605 |
-
// into account the new data, but can
|
5606 |
-
this.api( true ).draw(
|
5607 |
};
|
5608 |
|
5609 |
|
@@ -6051,6 +6109,7 @@
|
|
6051 |
var sId = this.getAttribute( 'id' );
|
6052 |
var bInitHandedOff = false;
|
6053 |
var defaults = DataTable.defaults;
|
|
|
6054 |
|
6055 |
|
6056 |
/* Sanity check */
|
@@ -6069,30 +6128,34 @@
|
|
6069 |
_fnCamelToHungarian( defaults.column, defaults.column, true );
|
6070 |
|
6071 |
/* Setting up the initialisation object */
|
6072 |
-
_fnCamelToHungarian( defaults, oInit );
|
|
|
|
|
6073 |
|
6074 |
/* Check to see if we are re-initialising a table */
|
6075 |
var allSettings = DataTable.settings;
|
6076 |
for ( i=0, iLen=allSettings.length ; i<iLen ; i++ )
|
6077 |
{
|
|
|
|
|
6078 |
/* Base check on table node */
|
6079 |
-
if (
|
6080 |
{
|
6081 |
var bRetrieve = oInit.bRetrieve !== undefined ? oInit.bRetrieve : defaults.bRetrieve;
|
6082 |
var bDestroy = oInit.bDestroy !== undefined ? oInit.bDestroy : defaults.bDestroy;
|
6083 |
|
6084 |
if ( emptyInit || bRetrieve )
|
6085 |
{
|
6086 |
-
return
|
6087 |
}
|
6088 |
else if ( bDestroy )
|
6089 |
{
|
6090 |
-
|
6091 |
break;
|
6092 |
}
|
6093 |
else
|
6094 |
{
|
6095 |
-
_fnLog(
|
6096 |
return;
|
6097 |
}
|
6098 |
}
|
@@ -6102,7 +6165,7 @@
|
|
6102 |
* instance by simply deleting it. This is under the assumption that the table has been
|
6103 |
* destroyed by other methods. Anyone using non-id selectors will need to do this manually
|
6104 |
*/
|
6105 |
-
if (
|
6106 |
{
|
6107 |
allSettings.splice( i, 1 );
|
6108 |
break;
|
@@ -6118,18 +6181,19 @@
|
|
6118 |
|
6119 |
/* Create the settings object for this table and set some of the default parameters */
|
6120 |
var oSettings = $.extend( true, {}, DataTable.models.oSettings, {
|
6121 |
-
"
|
6122 |
-
"oApi": _that.internal,
|
6123 |
-
"oInit": oInit,
|
6124 |
-
"sDestroyWidth": $(this)[0].style.width,
|
6125 |
"sInstance": sId,
|
6126 |
"sTableId": sId
|
6127 |
} );
|
|
|
|
|
|
|
|
|
6128 |
allSettings.push( oSettings );
|
6129 |
|
6130 |
// Need to add the instance after the instance after the settings object has been added
|
6131 |
// to the settings array, so we can self reference the table instance if more than one
|
6132 |
-
oSettings.oInstance = (_that.length===1) ? _that : $
|
6133 |
|
6134 |
// Backwards compatibility, before we apply all the defaults
|
6135 |
_fnCompatOpts( oInit );
|
@@ -6185,6 +6249,7 @@
|
|
6185 |
"fnStateSaveCallback",
|
6186 |
"renderer",
|
6187 |
"searchDelay",
|
|
|
6188 |
[ "iCookieDuration", "iStateDuration" ], // backwards compat
|
6189 |
[ "oSearch", "oPreviousSearch" ],
|
6190 |
[ "aoSearchCols", "aoPreSearchCols" ],
|
@@ -6212,6 +6277,8 @@
|
|
6212 |
_fnCallbackReg( oSettings, 'aoInitComplete', oInit.fnInitComplete, 'user' );
|
6213 |
_fnCallbackReg( oSettings, 'aoPreDrawCallback', oInit.fnPreDrawCallback, 'user' );
|
6214 |
|
|
|
|
|
6215 |
var oClasses = oSettings.oClasses;
|
6216 |
|
6217 |
// @todo Remove in 1.11
|
@@ -6239,16 +6306,13 @@
|
|
6239 |
{
|
6240 |
$.extend( oClasses, DataTable.ext.classes, oInit.oClasses );
|
6241 |
}
|
6242 |
-
$
|
6243 |
|
6244 |
/* Calculate the scroll bar width and cache it for use later on */
|
6245 |
if ( oSettings.oScroll.sX !== "" || oSettings.oScroll.sY !== "" )
|
6246 |
{
|
6247 |
oSettings.oScroll.iBarWidth = _fnScrollBarWidth();
|
6248 |
}
|
6249 |
-
if ( oSettings.oScroll.sX === true ) { // Easy initialisation of x-scrolling
|
6250 |
-
oSettings.oScroll.sX = '100%';
|
6251 |
-
}
|
6252 |
|
6253 |
if ( oSettings.iInitDisplayStart === undefined )
|
6254 |
{
|
@@ -6305,7 +6369,7 @@
|
|
6305 |
|
6306 |
/* Remove row stripe classes if they are already on the table row */
|
6307 |
var stripeClasses = oSettings.asStripeClasses;
|
6308 |
-
var rowOne = $('tbody
|
6309 |
if ( $.inArray( true, $.map( stripeClasses, function(el, i) {
|
6310 |
return rowOne.hasClass(el);
|
6311 |
} ) ) !== -1 ) {
|
@@ -6356,7 +6420,7 @@
|
|
6356 |
*/
|
6357 |
if ( rowOne.length ) {
|
6358 |
var a = function ( cell, name ) {
|
6359 |
-
return cell.getAttribute( 'data-'+name ) ? name : null;
|
6360 |
};
|
6361 |
|
6362 |
$.each( _fnGetRowElements( oSettings, rowOne[0] ).cells, function (i, cell) {
|
@@ -6445,25 +6509,25 @@
|
|
6445 |
_fnBrowserDetect( oSettings );
|
6446 |
|
6447 |
// Work around for Webkit bug 83867 - store the caption-side before removing from doc
|
6448 |
-
var captions = $
|
6449 |
-
this._captionSide = $
|
6450 |
} );
|
6451 |
|
6452 |
-
var thead = $
|
6453 |
if ( thead.length === 0 )
|
6454 |
{
|
6455 |
thead = $('<thead/>').appendTo(this);
|
6456 |
}
|
6457 |
oSettings.nTHead = thead[0];
|
6458 |
|
6459 |
-
var tbody = $
|
6460 |
if ( tbody.length === 0 )
|
6461 |
{
|
6462 |
tbody = $('<tbody/>').appendTo(this);
|
6463 |
}
|
6464 |
oSettings.nTBody = tbody[0];
|
6465 |
|
6466 |
-
var tfoot = $
|
6467 |
if ( tfoot.length === 0 && captions.length > 0 && (oSettings.oScroll.sX !== "" || oSettings.oScroll.sY !== "") )
|
6468 |
{
|
6469 |
// If we are a scrolling table, and no footer has been given, then we need to create
|
@@ -6472,7 +6536,7 @@
|
|
6472 |
}
|
6473 |
|
6474 |
if ( tfoot.length === 0 || tfoot.children().length === 0 ) {
|
6475 |
-
$
|
6476 |
}
|
6477 |
else if ( tfoot.length > 0 ) {
|
6478 |
oSettings.nTFoot = tfoot[0];
|
@@ -6681,10 +6745,8 @@
|
|
6681 |
*/
|
6682 |
_Api = function ( context, data )
|
6683 |
{
|
6684 |
-
if ( ! this instanceof _Api ) {
|
6685 |
-
|
6686 |
-
// or should it do the 'new' for the caller?
|
6687 |
-
// return new _Api.apply( this, arguments );
|
6688 |
}
|
6689 |
|
6690 |
var settings = [];
|
@@ -6725,24 +6787,24 @@
|
|
6725 |
DataTable.Api = _Api;
|
6726 |
|
6727 |
_Api.prototype = /** @lends DataTables.Api */{
|
6728 |
-
|
6729 |
-
|
6730 |
-
|
6731 |
-
|
6732 |
-
|
6733 |
-
|
6734 |
-
* @type method
|
6735 |
-
* @param {*} value1 Arrays and/or values to concatenate.
|
6736 |
-
* @param {*} [...] Additional arrays and/or values to concatenate.
|
6737 |
-
* @returns {DataTables.Api} New API instance, comprising of the combined
|
6738 |
-
* array.
|
6739 |
-
*/
|
6740 |
concat: __arrayProto.concat,
|
6741 |
|
6742 |
|
6743 |
context: [], // array of table settings objects
|
6744 |
|
6745 |
|
|
|
|
|
|
|
|
|
|
|
|
|
6746 |
each: function ( fn )
|
6747 |
{
|
6748 |
for ( var i=0, ien=this.length ; i<ien; i++ ) {
|
@@ -6803,7 +6865,6 @@
|
|
6803 |
return -1;
|
6804 |
},
|
6805 |
|
6806 |
-
// Note that `alwaysNew` is internal - use iteratorNew externally
|
6807 |
iterator: function ( flatten, type, fn, alwaysNew ) {
|
6808 |
var
|
6809 |
a = [], ret,
|
@@ -6977,7 +7038,7 @@
|
|
6977 |
_Api.extend = function ( scope, obj, ext )
|
6978 |
{
|
6979 |
// Only extend API instances and static properties of the API
|
6980 |
-
if ( ! obj || ( ! (obj instanceof _Api) && ! obj.__dt_wrapper ) ) {
|
6981 |
return;
|
6982 |
}
|
6983 |
|
@@ -7226,15 +7287,21 @@
|
|
7226 |
|
7227 |
/**
|
7228 |
* Redraw the tables in the current context.
|
7229 |
-
*
|
7230 |
-
* @param {boolean} [reset=true] Reset (default) or hold the current paging
|
7231 |
-
* position. A full re-sort and re-filter is performed when this method is
|
7232 |
-
* called, which is why the pagination reset is the default action.
|
7233 |
-
* @returns {DataTables.Api} this
|
7234 |
*/
|
7235 |
-
_api_register( 'draw()', function (
|
7236 |
return this.iterator( 'table', function ( settings ) {
|
7237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7238 |
} );
|
7239 |
} );
|
7240 |
|
@@ -7308,7 +7375,8 @@
|
|
7308 |
"end": settings.fnDisplayEnd(),
|
7309 |
"length": len,
|
7310 |
"recordsTotal": settings.fnRecordsTotal(),
|
7311 |
-
"recordsDisplay": visRecords
|
|
|
7312 |
};
|
7313 |
} );
|
7314 |
|
@@ -7343,13 +7411,28 @@
|
|
7343 |
|
7344 |
|
7345 |
var __reload = function ( settings, holdPosition, callback ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7346 |
if ( _fnDataSource( settings ) == 'ssp' ) {
|
7347 |
_fnReDraw( settings, holdPosition );
|
7348 |
}
|
7349 |
else {
|
7350 |
-
// Trigger xhr
|
7351 |
_fnProcessingDisplay( settings, true );
|
7352 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7353 |
_fnBuildAjax( settings, [], function( json ) {
|
7354 |
_fnClearTable( settings );
|
7355 |
|
@@ -7362,16 +7445,6 @@
|
|
7362 |
_fnProcessingDisplay( settings, false );
|
7363 |
} );
|
7364 |
}
|
7365 |
-
|
7366 |
-
// Use the draw event to trigger a callback, regardless of if it is an async
|
7367 |
-
// or sync draw
|
7368 |
-
if ( callback ) {
|
7369 |
-
var api = new _Api( settings );
|
7370 |
-
|
7371 |
-
api.one( 'draw', function () {
|
7372 |
-
callback( api.ajax.json() );
|
7373 |
-
} );
|
7374 |
-
}
|
7375 |
};
|
7376 |
|
7377 |
|
@@ -7487,7 +7560,7 @@
|
|
7487 |
|
7488 |
|
7489 |
|
7490 |
-
var _selector_run = function ( selector,
|
7491 |
{
|
7492 |
var
|
7493 |
out = [], res,
|
@@ -7506,7 +7579,7 @@
|
|
7506 |
[ selector[i] ];
|
7507 |
|
7508 |
for ( j=0, jen=a.length ; j<jen ; j++ ) {
|
7509 |
-
res =
|
7510 |
|
7511 |
if ( res && res.length ) {
|
7512 |
out.push.apply( out, res );
|
@@ -7514,6 +7587,14 @@
|
|
7514 |
}
|
7515 |
}
|
7516 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7517 |
return out;
|
7518 |
};
|
7519 |
|
@@ -7526,15 +7607,15 @@
|
|
7526 |
|
7527 |
// Backwards compatibility for 1.9- which used the terminology filter rather
|
7528 |
// than search
|
7529 |
-
if ( opts.filter &&
|
7530 |
opts.search = opts.filter;
|
7531 |
}
|
7532 |
|
7533 |
-
return {
|
7534 |
-
search:
|
7535 |
-
order:
|
7536 |
-
page:
|
7537 |
-
};
|
7538 |
};
|
7539 |
|
7540 |
|
@@ -7546,6 +7627,7 @@
|
|
7546 |
// Assign the first element to the first item in the instance
|
7547 |
// and truncate the instance and context
|
7548 |
inst[0] = inst[i];
|
|
|
7549 |
inst.length = 1;
|
7550 |
inst.context = [ inst.context[i] ];
|
7551 |
|
@@ -7632,7 +7714,7 @@
|
|
7632 |
|
7633 |
var __row_selector = function ( settings, selector, opts )
|
7634 |
{
|
7635 |
-
|
7636 |
var selInt = _intVal( sel );
|
7637 |
var i, ien;
|
7638 |
|
@@ -7675,6 +7757,26 @@
|
|
7675 |
}
|
7676 |
}
|
7677 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7678 |
// Selector - jQuery selector string, array of nodes or jQuery object/
|
7679 |
// As jQuery's .filter() allows jQuery objects to be passed in filter,
|
7680 |
// it also allows arrays, so this will cope with all three options
|
@@ -7684,13 +7786,12 @@
|
|
7684 |
return this._DT_RowIndex;
|
7685 |
} )
|
7686 |
.toArray();
|
7687 |
-
}
|
|
|
|
|
7688 |
};
|
7689 |
|
7690 |
|
7691 |
-
/**
|
7692 |
-
*
|
7693 |
-
*/
|
7694 |
_api_register( 'rows()', function ( selector, opts ) {
|
7695 |
// argument shifting
|
7696 |
if ( selector === undefined ) {
|
@@ -7714,7 +7815,6 @@
|
|
7714 |
return inst;
|
7715 |
} );
|
7716 |
|
7717 |
-
|
7718 |
_api_register( 'rows().nodes()', function () {
|
7719 |
return this.iterator( 'row', function ( settings, row ) {
|
7720 |
return settings.aoData[ row ].nTr || undefined;
|
@@ -7746,10 +7846,25 @@
|
|
7746 |
}, 1 );
|
7747 |
} );
|
7748 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7749 |
_api_registerPlural( 'rows().remove()', 'row().remove()', function () {
|
7750 |
var that = this;
|
7751 |
|
7752 |
-
|
7753 |
var data = settings.aoData;
|
7754 |
|
7755 |
data.splice( row, 1 );
|
@@ -7761,9 +7876,6 @@
|
|
7761 |
}
|
7762 |
}
|
7763 |
|
7764 |
-
// Remove the target row from the search array
|
7765 |
-
var displayIndex = $.inArray( row, settings.aiDisplay );
|
7766 |
-
|
7767 |
// Delete from the display arrays
|
7768 |
_fnDeleteIndex( settings.aiDisplayMaster, row );
|
7769 |
_fnDeleteIndex( settings.aiDisplay, row );
|
@@ -7772,6 +7884,14 @@
|
|
7772 |
// Check for an 'overflow' they case for displaying the table
|
7773 |
_fnLengthOverflow( settings );
|
7774 |
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7775 |
} );
|
7776 |
|
7777 |
|
@@ -7868,6 +7988,14 @@
|
|
7868 |
// Convert to array of TR elements
|
7869 |
var rows = [];
|
7870 |
var addRow = function ( r, k ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7871 |
// If we get a TR element, then just add it directly - up to the dev
|
7872 |
// to add the correct number of columns etc
|
7873 |
if ( r.nodeName && r.nodeName.toLowerCase() === 'tr' ) {
|
@@ -7885,14 +8013,7 @@
|
|
7885 |
}
|
7886 |
};
|
7887 |
|
7888 |
-
|
7889 |
-
for ( var i=0, ien=data.length ; i<ien ; i++ ) {
|
7890 |
-
addRow( data[i], klass );
|
7891 |
-
}
|
7892 |
-
}
|
7893 |
-
else {
|
7894 |
-
addRow( data, klass );
|
7895 |
-
}
|
7896 |
|
7897 |
if ( row._details ) {
|
7898 |
row._details.remove();
|
@@ -7914,7 +8035,7 @@
|
|
7914 |
if ( ctx.length ) {
|
7915 |
var row = ctx[0].aoData[ idx !== undefined ? idx : api[0] ];
|
7916 |
|
7917 |
-
if ( row._details ) {
|
7918 |
row._details.remove();
|
7919 |
|
7920 |
row._detailsShow = undefined;
|
@@ -8117,7 +8238,7 @@
|
|
8117 |
names = _pluck( columns, 'sName' ),
|
8118 |
nodes = _pluck( columns, 'nTh' );
|
8119 |
|
8120 |
-
|
8121 |
var selInt = _intVal( s );
|
8122 |
|
8123 |
// Selector - all
|
@@ -8183,7 +8304,9 @@
|
|
8183 |
} )
|
8184 |
.toArray();
|
8185 |
}
|
8186 |
-
}
|
|
|
|
|
8187 |
};
|
8188 |
|
8189 |
|
@@ -8246,9 +8369,6 @@
|
|
8246 |
};
|
8247 |
|
8248 |
|
8249 |
-
/**
|
8250 |
-
*
|
8251 |
-
*/
|
8252 |
_api_register( 'columns()', function ( selector, opts ) {
|
8253 |
// argument shifting
|
8254 |
if ( selector === undefined ) {
|
@@ -8272,42 +8392,28 @@
|
|
8272 |
return inst;
|
8273 |
} );
|
8274 |
|
8275 |
-
|
8276 |
-
/**
|
8277 |
-
*
|
8278 |
-
*/
|
8279 |
_api_registerPlural( 'columns().header()', 'column().header()', function ( selector, opts ) {
|
8280 |
return this.iterator( 'column', function ( settings, column ) {
|
8281 |
return settings.aoColumns[column].nTh;
|
8282 |
}, 1 );
|
8283 |
} );
|
8284 |
|
8285 |
-
|
8286 |
-
/**
|
8287 |
-
*
|
8288 |
-
*/
|
8289 |
_api_registerPlural( 'columns().footer()', 'column().footer()', function ( selector, opts ) {
|
8290 |
return this.iterator( 'column', function ( settings, column ) {
|
8291 |
return settings.aoColumns[column].nTf;
|
8292 |
}, 1 );
|
8293 |
} );
|
8294 |
|
8295 |
-
|
8296 |
-
/**
|
8297 |
-
*
|
8298 |
-
*/
|
8299 |
_api_registerPlural( 'columns().data()', 'column().data()', function () {
|
8300 |
return this.iterator( 'column-rows', __columnData, 1 );
|
8301 |
} );
|
8302 |
|
8303 |
-
|
8304 |
_api_registerPlural( 'columns().dataSrc()', 'column().dataSrc()', function () {
|
8305 |
return this.iterator( 'column', function ( settings, column ) {
|
8306 |
return settings.aoColumns[column].mData;
|
8307 |
}, 1 );
|
8308 |
} );
|
8309 |
|
8310 |
-
|
8311 |
_api_registerPlural( 'columns().cache()', 'column().cache()', function ( type ) {
|
8312 |
return this.iterator( 'column-rows', function ( settings, column, i, j, rows ) {
|
8313 |
return _pluck_order( settings.aoData, rows,
|
@@ -8316,15 +8422,12 @@
|
|
8316 |
}, 1 );
|
8317 |
} );
|
8318 |
|
8319 |
-
|
8320 |
_api_registerPlural( 'columns().nodes()', 'column().nodes()', function () {
|
8321 |
return this.iterator( 'column-rows', function ( settings, column, i, j, rows ) {
|
8322 |
return _pluck_order( settings.aoData, rows, 'anCells', column ) ;
|
8323 |
}, 1 );
|
8324 |
} );
|
8325 |
|
8326 |
-
|
8327 |
-
|
8328 |
_api_registerPlural( 'columns().visible()', 'column().visible()', function ( vis, calc ) {
|
8329 |
return this.iterator( 'column', function ( settings, column ) {
|
8330 |
if ( vis === undefined ) {
|
@@ -8334,8 +8437,6 @@
|
|
8334 |
} );
|
8335 |
} );
|
8336 |
|
8337 |
-
|
8338 |
-
|
8339 |
_api_registerPlural( 'columns().indexes()', 'column().index()', function ( type ) {
|
8340 |
return this.iterator( 'column', function ( settings, column ) {
|
8341 |
return type === 'visible' ?
|
@@ -8344,28 +8445,12 @@
|
|
8344 |
}, 1 );
|
8345 |
} );
|
8346 |
|
8347 |
-
|
8348 |
-
// _api_register( 'columns().show()', function () {
|
8349 |
-
// var selector = this.selector;
|
8350 |
-
// return this.columns( selector.cols, selector.opts ).visible( true );
|
8351 |
-
// } );
|
8352 |
-
|
8353 |
-
|
8354 |
-
// _api_register( 'columns().hide()', function () {
|
8355 |
-
// var selector = this.selector;
|
8356 |
-
// return this.columns( selector.cols, selector.opts ).visible( false );
|
8357 |
-
// } );
|
8358 |
-
|
8359 |
-
|
8360 |
-
|
8361 |
_api_register( 'columns.adjust()', function () {
|
8362 |
return this.iterator( 'table', function ( settings ) {
|
8363 |
_fnAdjustColumnSizing( settings );
|
8364 |
}, 1 );
|
8365 |
} );
|
8366 |
|
8367 |
-
|
8368 |
-
// Convert from one column index type, to another type
|
8369 |
_api_register( 'column.index()', function ( type, idx ) {
|
8370 |
if ( this.context.length !== 0 ) {
|
8371 |
var ctx = this.context[0];
|
@@ -8379,7 +8464,6 @@
|
|
8379 |
}
|
8380 |
} );
|
8381 |
|
8382 |
-
|
8383 |
_api_register( 'column()', function ( selector, opts ) {
|
8384 |
return _selector_first( this.columns( selector, opts ) );
|
8385 |
} );
|
@@ -8397,7 +8481,7 @@
|
|
8397 |
var columns = settings.aoColumns.length;
|
8398 |
var a, i, ien, j, o, host;
|
8399 |
|
8400 |
-
|
8401 |
var fnSelector = typeof s === 'function';
|
8402 |
|
8403 |
if ( s === null || s === undefined || fnSelector ) {
|
@@ -8417,7 +8501,7 @@
|
|
8417 |
// Selector - function
|
8418 |
host = settings.aoData[ row ];
|
8419 |
|
8420 |
-
if ( s( o, _fnGetCellData(settings, row, j), host.anCells[j] ) ) {
|
8421 |
a.push( o );
|
8422 |
}
|
8423 |
}
|
@@ -8448,7 +8532,9 @@
|
|
8448 |
};
|
8449 |
} )
|
8450 |
.toArray();
|
8451 |
-
}
|
|
|
|
|
8452 |
};
|
8453 |
|
8454 |
|
@@ -8458,14 +8544,16 @@
|
|
8458 |
// Argument shifting
|
8459 |
if ( $.isPlainObject( rowSelector ) ) {
|
8460 |
// Indexes
|
8461 |
-
if (
|
8462 |
-
|
8463 |
-
columnSelector = null;
|
8464 |
-
}
|
8465 |
-
else {
|
8466 |
opts = rowSelector;
|
8467 |
rowSelector = null;
|
8468 |
}
|
|
|
|
|
|
|
|
|
|
|
8469 |
}
|
8470 |
if ( $.isPlainObject( columnSelector ) ) {
|
8471 |
opts = columnSelector;
|
@@ -8826,7 +8914,10 @@
|
|
8826 |
var is = false;
|
8827 |
|
8828 |
$.each( DataTable.settings, function (i, o) {
|
8829 |
-
|
|
|
|
|
|
|
8830 |
is = true;
|
8831 |
}
|
8832 |
} );
|
@@ -8853,11 +8944,22 @@
|
|
8853 |
*/
|
8854 |
DataTable.tables = DataTable.fnTables = function ( visible )
|
8855 |
{
|
8856 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8857 |
if ( !visible || (visible && $(o.nTable).is(':visible')) ) {
|
8858 |
return o.nTable;
|
8859 |
}
|
8860 |
} );
|
|
|
|
|
|
|
|
|
8861 |
};
|
8862 |
|
8863 |
|
@@ -8954,6 +9056,12 @@
|
|
8954 |
} );
|
8955 |
|
8956 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8957 |
_api_register( 'data()', function () {
|
8958 |
return this.iterator( 'table', function ( settings ) {
|
8959 |
return _pluck( settings.aoData, '_aData' );
|
@@ -9006,10 +9114,6 @@
|
|
9006 |
jqTable.append( tfoot );
|
9007 |
}
|
9008 |
|
9009 |
-
// Remove the DataTables generated nodes, events and classes
|
9010 |
-
jqTable.detach();
|
9011 |
-
jqWrapper.detach();
|
9012 |
-
|
9013 |
settings.aaSorting = [];
|
9014 |
settings.aaSortingFixed = [];
|
9015 |
_fnSortingClasses( settings );
|
@@ -9029,30 +9133,36 @@
|
|
9029 |
} );
|
9030 |
}
|
9031 |
|
9032 |
-
if ( ! remove && orig ) {
|
9033 |
-
// insertBefore acts like appendChild if !arg[1]
|
9034 |
-
orig.insertBefore( table, settings.nTableReinsertBefore );
|
9035 |
-
}
|
9036 |
-
|
9037 |
// Add the TR elements back into the table in their original order
|
9038 |
jqTbody.children().detach();
|
9039 |
jqTbody.append( rows );
|
9040 |
|
9041 |
-
//
|
9042 |
-
|
9043 |
-
jqTable
|
9044 |
-
|
9045 |
-
.removeClass( classes.sTable );
|
9046 |
|
9047 |
-
// If
|
9048 |
-
|
9049 |
-
|
9050 |
-
|
9051 |
|
9052 |
-
|
9053 |
-
|
9054 |
-
|
9055 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9056 |
}
|
9057 |
|
9058 |
/* Remove the settings object from the settings array */
|
@@ -9063,6 +9173,48 @@
|
|
9063 |
} );
|
9064 |
} );
|
9065 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9066 |
|
9067 |
/**
|
9068 |
* Version string for plug-ins to check compatibility. Allowed format is
|
@@ -9072,7 +9224,7 @@
|
|
9072 |
* @type string
|
9073 |
* @default Version number
|
9074 |
*/
|
9075 |
-
DataTable.version = "1.10.
|
9076 |
|
9077 |
/**
|
9078 |
* Private data store, containing all of the settings objects that are
|
@@ -9224,7 +9376,16 @@
|
|
9224 |
* @default null
|
9225 |
* @private
|
9226 |
*/
|
9227 |
-
"src": null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9228 |
};
|
9229 |
|
9230 |
|
@@ -11665,7 +11826,18 @@
|
|
11665 |
* @name DataTable.defaults.renderer
|
11666 |
*
|
11667 |
*/
|
11668 |
-
"renderer": null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11669 |
};
|
11670 |
|
11671 |
_fnHungarianMap( DataTable.defaults );
|
@@ -12764,7 +12936,14 @@
|
|
12764 |
* @type boolean
|
12765 |
* @default false
|
12766 |
*/
|
12767 |
-
"bScrollbarLeft": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12768 |
},
|
12769 |
|
12770 |
|
@@ -12809,6 +12988,13 @@
|
|
12809 |
*/
|
12810 |
"aiDisplayMaster": [],
|
12811 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12812 |
/**
|
12813 |
* Store information about each column that is in use
|
12814 |
* @type array
|
@@ -13417,7 +13603,21 @@
|
|
13417 |
* @type object
|
13418 |
* @default {}
|
13419 |
*/
|
13420 |
-
"oPlugins": {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13421 |
};
|
13422 |
|
13423 |
/**
|
@@ -13446,6 +13646,17 @@
|
|
13446 |
* @namespace
|
13447 |
*/
|
13448 |
DataTable.ext = _ext = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13449 |
/**
|
13450 |
* Element class names
|
13451 |
*
|
@@ -13458,10 +13669,10 @@
|
|
13458 |
/**
|
13459 |
* Error reporting.
|
13460 |
*
|
13461 |
-
* How should DataTables report an error. Can take the value 'alert'
|
13462 |
-
* 'throw'
|
13463 |
*
|
13464 |
-
* @type string
|
13465 |
* @default alert
|
13466 |
*/
|
13467 |
errMode: "alert",
|
@@ -13568,6 +13779,37 @@
|
|
13568 |
search: [],
|
13569 |
|
13570 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13571 |
/**
|
13572 |
* Internal functions, exposed for used in plug-ins.
|
13573 |
*
|
@@ -14061,7 +14303,7 @@
|
|
14061 |
numbers.splice( 0, 0, 0 );
|
14062 |
}
|
14063 |
else {
|
14064 |
-
numbers = _range( page-
|
14065 |
numbers.push( 'ellipsis' );
|
14066 |
numbers.push( pages-1 );
|
14067 |
numbers.splice( 0, 0, 'ellipsis' );
|
@@ -14082,6 +14324,10 @@
|
|
14082 |
return [ 'first', 'previous', 'next', 'last' ];
|
14083 |
},
|
14084 |
|
|
|
|
|
|
|
|
|
14085 |
simple_numbers: function ( page, pages ) {
|
14086 |
return [ 'previous', _numbers(page, pages), 'next' ];
|
14087 |
},
|
@@ -14092,6 +14338,8 @@
|
|
14092 |
|
14093 |
// For testing and plug-ins to use
|
14094 |
_numbers: _numbers,
|
|
|
|
|
14095 |
numbers_length: 7
|
14096 |
} );
|
14097 |
|
@@ -14118,12 +14366,12 @@
|
|
14118 |
attach( inner, button );
|
14119 |
}
|
14120 |
else {
|
14121 |
-
btnDisplay =
|
14122 |
btnClass = '';
|
14123 |
|
14124 |
switch ( button ) {
|
14125 |
case 'ellipsis':
|
14126 |
-
container.append('<span
|
14127 |
break;
|
14128 |
|
14129 |
case 'first':
|
@@ -14157,7 +14405,7 @@
|
|
14157 |
break;
|
14158 |
}
|
14159 |
|
14160 |
-
if ( btnDisplay ) {
|
14161 |
node = $('<a>', {
|
14162 |
'class': classes.sPageButton+' '+btnClass,
|
14163 |
'aria-controls': settings.sTableId,
|
@@ -14183,20 +14431,22 @@
|
|
14183 |
// IE9 throws an 'unknown error' if document.activeElement is used
|
14184 |
// inside an iframe or frame. Try / catch the error. Not good for
|
14185 |
// accessibility, but neither are frames.
|
|
|
|
|
14186 |
try {
|
14187 |
// Because this approach is destroying and recreating the paging
|
14188 |
// elements, focus is lost on the select button which is bad for
|
14189 |
// accessibility. So we want to restore focus once the draw has
|
14190 |
// completed
|
14191 |
-
|
|
|
|
|
14192 |
|
14193 |
-
|
14194 |
|
14195 |
-
|
14196 |
-
|
14197 |
-
}
|
14198 |
}
|
14199 |
-
catch (e) {}
|
14200 |
}
|
14201 |
}
|
14202 |
} );
|
@@ -14486,11 +14736,12 @@
|
|
14486 |
*
|
14487 |
* * `number` - Will format numeric data (defined by `columns.data`) for
|
14488 |
* display, retaining the original unformatted data for sorting and filtering.
|
14489 |
-
* It takes
|
14490 |
* * `string` - Thousands grouping separator
|
14491 |
* * `string` - Decimal point indicator
|
14492 |
* * `integer` - Number of decimal points to show
|
14493 |
* * `string` (optional) - Prefix.
|
|
|
14494 |
*
|
14495 |
* @example
|
14496 |
* // Column definition using the number renderer
|
@@ -14502,9 +14753,13 @@
|
|
14502 |
* @namespace
|
14503 |
*/
|
14504 |
DataTable.render = {
|
14505 |
-
number: function ( thousands, decimal, precision, prefix ) {
|
14506 |
return {
|
14507 |
display: function ( d ) {
|
|
|
|
|
|
|
|
|
14508 |
var negative = d < 0 ? '-' : '';
|
14509 |
d = Math.abs( parseFloat( d ) );
|
14510 |
|
@@ -14517,7 +14772,8 @@
|
|
14517 |
intPart.toString().replace(
|
14518 |
/\B(?=(\d{3})+(?!\d))/g, thousands
|
14519 |
) +
|
14520 |
-
floatPart
|
|
|
14521 |
}
|
14522 |
};
|
14523 |
}
|
@@ -14621,7 +14877,6 @@
|
|
14621 |
_fnCalculateColumnWidths: _fnCalculateColumnWidths,
|
14622 |
_fnThrottle: _fnThrottle,
|
14623 |
_fnConvertToWidth: _fnConvertToWidth,
|
14624 |
-
_fnScrollingWidthAdjust: _fnScrollingWidthAdjust,
|
14625 |
_fnGetWidestNode: _fnGetWidestNode,
|
14626 |
_fnGetMaxLenString: _fnGetMaxLenString,
|
14627 |
_fnStringToCss: _fnStringToCss,
|
1 |
+
/*! DataTables 1.10.8
|
2 |
* ©2008-2014 SpryMedia Ltd - datatables.net/license
|
3 |
*/
|
4 |
|
5 |
/**
|
6 |
* @summary DataTables
|
7 |
* @description Paginate, search and order HTML tables
|
8 |
+
* @version 1.10.8
|
9 |
* @file jquery.dataTables.js
|
10 |
* @author SpryMedia Ltd (www.sprymedia.co.uk)
|
11 |
* @contact www.sprymedia.co.uk/contact
|
22 |
*/
|
23 |
|
24 |
/*jslint evil: true, undef: true, browser: true */
|
25 |
+
/*globals $,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnScrollBarWidth,_fnSortFlatten,_fnSort,_fnSortAria,_fnSortListener,_fnSortAttachListener,_fnSortingClasses,_fnSortData,_fnSaveState,_fnLoadState,_fnSettingsFromNode,_fnLog,_fnMap,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnLengthOverflow,_fnRenderer,_fnDataSource,_fnRowAttributes*/
|
26 |
|
27 |
(/** @lends <global> */function( window, document, undefined ) {
|
28 |
|
33 |
// Define as an AMD module if possible
|
34 |
define( 'datatables', ['jquery'], factory );
|
35 |
}
|
36 |
+
else if ( typeof exports === 'object' ) {
|
37 |
+
// Node/CommonJS
|
38 |
+
module.exports = factory( require( 'jquery' ) );
|
39 |
+
}
|
40 |
else if ( jQuery && !jQuery.fn.dataTable ) {
|
41 |
// Define using browser globals otherwise
|
42 |
// Prevent multiple instantiations if the script is loaded twice
|
111 |
// Escape regular expression special characters
|
112 |
var _re_escape_regex = new RegExp( '(\\' + [ '/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '$', '^', '-' ].join('|\\') + ')', 'g' );
|
113 |
|
114 |
+
// http://en.wikipedia.org/wiki/Foreign_exchange_market
|
115 |
+
// - \u20BD - Russian ruble.
|
116 |
+
// - \u20a9 - South Korean Won
|
117 |
+
// - \u20BA - Turkish Lira
|
118 |
+
// - \u20B9 - Indian Rupee
|
119 |
+
// - R - Brazil (R$) and South Africa
|
120 |
+
// - fr - Swiss Franc
|
121 |
+
// - kr - Swedish krona, Norwegian krone and Danish krone
|
122 |
+
// - \u2009 is thin space and \u202F is narrow no-break space, both used in many
|
123 |
+
// standards as thousands separators.
|
124 |
+
var _re_formatted_numeric = /[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi;
|
125 |
|
126 |
|
127 |
var _empty = function ( d ) {
|
150 |
var _isNumber = function ( d, decimalPoint, formatted ) {
|
151 |
var strType = typeof d === 'string';
|
152 |
|
153 |
+
// If empty return immediately so there must be a number if it is a
|
154 |
+
// formatted string (this stops the string "k", or "kr", etc being detected
|
155 |
+
// as a formatted number for currency
|
156 |
+
if ( _empty( d ) ) {
|
157 |
+
return true;
|
158 |
+
}
|
159 |
+
|
160 |
if ( decimalPoint && strType ) {
|
161 |
d = _numToDecimal( d, decimalPoint );
|
162 |
}
|
165 |
d = d.replace( _re_formatted_numeric, '' );
|
166 |
}
|
167 |
|
168 |
+
return !isNaN( parseFloat(d) ) && isFinite( d );
|
169 |
};
|
170 |
|
171 |
|
467 |
_fnCompatMap( init, 'pageLength', 'iDisplayLength' );
|
468 |
_fnCompatMap( init, 'searching', 'bFilter' );
|
469 |
|
470 |
+
// Boolean initialisation of x-scrolling
|
471 |
+
if ( typeof init.sScrollX === 'boolean' ) {
|
472 |
+
init.sScrollX = init.sScrollX ? '100%' : '';
|
473 |
+
}
|
474 |
+
|
475 |
// Column search objects are in an array, so it needs to be converted
|
476 |
// element by element
|
477 |
var searchCols = init.aoSearchCols;
|
498 |
_fnCompatMap( init, 'orderData', 'aDataSort' );
|
499 |
_fnCompatMap( init, 'orderSequence', 'asSorting' );
|
500 |
_fnCompatMap( init, 'orderDataType', 'sortDataType' );
|
501 |
+
|
502 |
+
// orderData can be given as an integer
|
503 |
+
var dataSort = init.aDataSort;
|
504 |
+
if ( dataSort && ! $.isArray( dataSort ) ) {
|
505 |
+
init.aDataSort = [ dataSort ];
|
506 |
+
}
|
507 |
}
|
508 |
|
509 |
|
519 |
// Scrolling feature / quirks detection
|
520 |
var n = $('<div/>')
|
521 |
.css( {
|
522 |
+
position: 'fixed',
|
523 |
top: 0,
|
524 |
left: 0,
|
525 |
height: 1,
|
554 |
|
555 |
// In rtl text layout, some browsers (most, but not all) will place the
|
556 |
// scrollbar on the left, rather than the right.
|
557 |
+
browser.bScrollbarLeft = Math.round( test.offset().left ) !== 1;
|
558 |
+
|
559 |
+
// IE8- don't provide height and width for getBoundingClientRect
|
560 |
+
browser.bBounding = n[0].getBoundingClientRect().width ? true : false;
|
561 |
|
562 |
n.remove();
|
563 |
}
|
624 |
searchCols[ iCol ] = $.extend( {}, DataTable.models.oSearch, searchCols[ iCol ] );
|
625 |
|
626 |
// Use the default column options function to initialise classes etc
|
627 |
+
_fnColumnOptions( oSettings, iCol, $(nTh).data() );
|
628 |
}
|
629 |
|
630 |
|
687 |
/* iDataSort to be applied (backwards compatibility), but aDataSort will take
|
688 |
* priority if defined
|
689 |
*/
|
690 |
+
if ( oOptions.iDataSort !== undefined )
|
691 |
{
|
692 |
oCol.aDataSort = [ oOptions.iDataSort ];
|
693 |
}
|
1016 |
/* Create the object for storing information about this new row */
|
1017 |
var iRow = oSettings.aoData.length;
|
1018 |
var oData = $.extend( true, {}, DataTable.models.oRow, {
|
1019 |
+
src: nTr ? 'dom' : 'data',
|
1020 |
+
idx: iRow
|
1021 |
} );
|
1022 |
|
1023 |
oData._aData = aDataIn;
|
1040 |
/* Add to the display array */
|
1041 |
oSettings.aiDisplayMaster.push( iRow );
|
1042 |
|
1043 |
+
var id = oSettings.rowIdFn( aDataIn );
|
1044 |
+
if ( id !== undefined ) {
|
1045 |
+
oSettings.aIds[ id ] = oData;
|
1046 |
+
}
|
1047 |
+
|
1048 |
/* Create the DOM information, or register it if already present */
|
1049 |
if ( nTr || ! oSettings.oFeatures.bDeferRender )
|
1050 |
{
|
1188 |
*/
|
1189 |
function _fnSplitObjNotation( str )
|
1190 |
{
|
1191 |
+
return $.map( str.match(/(\\.|[^\.])+/g) || [''], function ( s ) {
|
1192 |
return s.replace(/\\./g, '.');
|
1193 |
} );
|
1194 |
}
|
1554 |
}
|
1555 |
|
1556 |
// Update DataTables special `DT_*` attributes for the row
|
1557 |
+
_fnRowAttributes( settings, row );
|
1558 |
}
|
1559 |
}
|
1560 |
|
1649 |
else {
|
1650 |
// Existing row object passed in
|
1651 |
tds = row.anCells;
|
1652 |
+
|
1653 |
for ( var j=0, jen=tds.length ; j<jen ; j++ ) {
|
1654 |
cellProcess( tds[j] );
|
1655 |
}
|
1656 |
}
|
1657 |
|
1658 |
+
// Read the ID from the DOM if present
|
1659 |
+
var id = row.getAttribute( 'id' );
|
1660 |
+
if ( id ) {
|
1661 |
+
_fnSetObjectDataFn( settings.rowId )( d, id );
|
1662 |
+
}
|
1663 |
+
|
1664 |
return {
|
1665 |
data: d,
|
1666 |
cells: tds
|
1698 |
nTr._DT_RowIndex = iRow;
|
1699 |
|
1700 |
/* Special parameters can be given by the data source to be used on the row */
|
1701 |
+
_fnRowAttributes( oSettings, row );
|
1702 |
|
1703 |
/* Process each column */
|
1704 |
for ( i=0, iLen=oSettings.aoColumns.length ; i<iLen ; i++ )
|
1750 |
/**
|
1751 |
* Add attributes to a row based on the special `DT_*` parameters in a data
|
1752 |
* source object.
|
1753 |
+
* @param {object} settings DataTables settings object
|
1754 |
* @param {object} DataTables row object for the row to be modified
|
1755 |
* @memberof DataTable#oApi
|
1756 |
*/
|
1757 |
+
function _fnRowAttributes( settings, row )
|
1758 |
{
|
1759 |
var tr = row.nTr;
|
1760 |
var data = row._aData;
|
1761 |
|
1762 |
if ( tr ) {
|
1763 |
+
var id = settings.rowIdFn( data );
|
1764 |
+
|
1765 |
+
if ( id ) {
|
1766 |
+
tr.id = id;
|
1767 |
}
|
1768 |
|
1769 |
if ( data.DT_RowClass ) {
|
1778 |
.addClass( data.DT_RowClass );
|
1779 |
}
|
1780 |
|
1781 |
+
if ( data.DT_RowAttr ) {
|
1782 |
+
$(tr).attr( data.DT_RowAttr );
|
1783 |
+
}
|
1784 |
+
|
1785 |
if ( data.DT_RowData ) {
|
1786 |
$(tr).data( data.DT_RowData );
|
1787 |
}
|
1828 |
}
|
1829 |
}
|
1830 |
|
1831 |
+
if ( column.sTitle != cell[0].innerHTML ) {
|
1832 |
cell.html( column.sTitle );
|
1833 |
}
|
1834 |
|
2300 |
|
2301 |
/* Built our DOM structure - replace the holding div with what we want */
|
2302 |
holding.replaceWith( insert );
|
2303 |
+
oSettings.nHolding = null;
|
2304 |
}
|
2305 |
|
2306 |
|
2416 |
return aReturn;
|
2417 |
}
|
2418 |
|
|
|
|
|
2419 |
/**
|
2420 |
* Create an Ajax call based on the table's settings, taking into account that
|
2421 |
* parameters can have multiple forms, and backwards compatibility.
|
2458 |
var ajaxData;
|
2459 |
var ajax = oSettings.ajax;
|
2460 |
var instance = oSettings.oInstance;
|
2461 |
+
var callback = function ( json ) {
|
2462 |
+
_fnCallbackFire( oSettings, null, 'xhr', [oSettings, json, oSettings.jqXHR] );
|
2463 |
+
fn( json );
|
2464 |
+
};
|
2465 |
|
2466 |
if ( $.isPlainObject( ajax ) && ajax.data )
|
2467 |
{
|
2468 |
ajaxData = ajax.data;
|
2469 |
|
2470 |
var newData = $.isFunction( ajaxData ) ?
|
2471 |
+
ajaxData( data, oSettings ) : // fn can manipulate data or return
|
2472 |
+
ajaxData; // an object object or array to merge
|
2473 |
|
2474 |
+
// If the function returned something, use that alone
|
2475 |
data = $.isFunction( ajaxData ) && newData ?
|
2476 |
newData :
|
2477 |
$.extend( true, data, newData );
|
2486 |
"success": function (json) {
|
2487 |
var error = json.error || json.sError;
|
2488 |
if ( error ) {
|
2489 |
+
_fnLog( oSettings, 0, error );
|
2490 |
}
|
2491 |
|
2492 |
oSettings.json = json;
|
2493 |
+
callback( json );
|
|
|
2494 |
},
|
2495 |
"dataType": "json",
|
2496 |
"cache": false,
|
2497 |
"type": oSettings.sServerMethod,
|
2498 |
"error": function (xhr, error, thrown) {
|
2499 |
+
var ret = _fnCallbackFire( oSettings, null, 'xhr', [oSettings, null, oSettings.jqXHR] );
|
2500 |
|
2501 |
+
if ( $.inArray( true, ret ) === -1 ) {
|
2502 |
+
if ( error == "parsererror" ) {
|
2503 |
+
_fnLog( oSettings, 0, 'Invalid JSON response', 1 );
|
2504 |
+
}
|
2505 |
+
else if ( xhr.readyState === 4 ) {
|
2506 |
+
_fnLog( oSettings, 0, 'Ajax error', 7 );
|
2507 |
+
}
|
2508 |
}
|
2509 |
|
2510 |
_fnProcessingDisplay( oSettings, false );
|
2525 |
$.map( data, function (val, key) { // Need to convert back to 1.9 trad format
|
2526 |
return { name: key, value: val };
|
2527 |
} ),
|
2528 |
+
callback,
|
2529 |
oSettings
|
2530 |
);
|
2531 |
}
|
2539 |
else if ( $.isFunction( ajax ) )
|
2540 |
{
|
2541 |
// Is a function - let the caller define what needs to be done
|
2542 |
+
oSettings.jqXHR = ajax.call( instance, data, callback, oSettings );
|
2543 |
}
|
2544 |
else
|
2545 |
{
|
2705 |
return json[old] !== undefined ? json[old] : json[modern];
|
2706 |
};
|
2707 |
|
2708 |
+
var data = _fnAjaxDataSrc( settings, json );
|
2709 |
var draw = compat( 'sEcho', 'draw' );
|
2710 |
var recordsTotal = compat( 'iTotalRecords', 'recordsTotal' );
|
2711 |
var recordsFiltered = compat( 'iTotalDisplayRecords', 'recordsFiltered' );
|
2722 |
settings._iRecordsTotal = parseInt(recordsTotal, 10);
|
2723 |
settings._iRecordsDisplay = parseInt(recordsFiltered, 10);
|
2724 |
|
|
|
2725 |
for ( var i=0, ien=data.length ; i<ien ; i++ ) {
|
2726 |
_fnAddData( settings, data[i] );
|
2727 |
}
|
2764 |
json;
|
2765 |
}
|
2766 |
|
|
|
2767 |
/**
|
2768 |
* Generate the node required for filtering text
|
2769 |
* @returns {node} Filter control element
|
3044 |
*
|
3045 |
* ^(?=.*?\bone\b)(?=.*?\btwo three\b)(?=.*?\bfour\b).*$
|
3046 |
*/
|
3047 |
+
var a = $.map( search.match( /"[^"]+"|[^ ]+/g ) || [''], function ( word ) {
|
3048 |
if ( word.charAt(0) === '"' ) {
|
3049 |
var m = word.match( /^"(.*)"$/ );
|
3050 |
word = m ? m[1] : word;
|
3289 |
var i, iLen, iAjaxStart=settings.iInitDisplayStart;
|
3290 |
var columns = settings.aoColumns, column;
|
3291 |
var features = settings.oFeatures;
|
3292 |
+
var deferLoading = settings.bDeferLoading; // value modified by the draw
|
3293 |
|
3294 |
/* Ensure that the table data is fully initialised */
|
3295 |
if ( ! settings.bInitialised ) {
|
3321 |
}
|
3322 |
}
|
3323 |
|
3324 |
+
_fnCallbackFire( settings, null, 'preInit', [settings] );
|
3325 |
+
|
3326 |
// If there is default sorting required - let's do it. The sort function
|
3327 |
// will do the drawing for us. Otherwise we draw the table regardless of the
|
3328 |
// Ajax source - this allows the table to look initialised for Ajax sourcing
|
3331 |
|
3332 |
// Server-side processing init complete is done by _fnAjaxUpdateDraw
|
3333 |
var dataSrc = _fnDataSource( settings );
|
3334 |
+
if ( dataSrc != 'ssp' || deferLoading ) {
|
3335 |
// if there is an ajax source load the data
|
3336 |
if ( dataSrc == 'ajax' ) {
|
3337 |
_fnBuildAjax( settings, [], function(json) {
|
3372 |
{
|
3373 |
settings._bInitComplete = true;
|
3374 |
|
3375 |
+
// When data was added after the initialisation (data or Ajax) we need to
|
3376 |
+
// calculate the column sizing
|
3377 |
+
if ( json || settings.oInit.aaData ) {
|
3378 |
_fnAdjustColumnSizing( settings );
|
3379 |
}
|
3380 |
|
3714 |
.append(
|
3715 |
$(_div, { 'class': classes.sScrollBody } )
|
3716 |
.css( {
|
3717 |
+
position: 'relative',
|
3718 |
overflow: 'auto',
|
|
|
3719 |
width: size( scrollX )
|
3720 |
} )
|
3721 |
.append( table )
|
3751 |
|
3752 |
// When the body is scrolled, then we also want to scroll the headers
|
3753 |
if ( scrollX ) {
|
3754 |
+
$(scrollBody).on( 'scroll.DT', function (e) {
|
3755 |
var scrollLeft = this.scrollLeft;
|
3756 |
|
3757 |
scrollHead.scrollLeft = scrollLeft;
|
3762 |
} );
|
3763 |
}
|
3764 |
|
3765 |
+
$(scrollBody).css(
|
3766 |
+
scrollY && scroll.bCollapse ? 'max-height' : 'height',
|
3767 |
+
scrollY
|
3768 |
+
);
|
3769 |
+
|
3770 |
settings.nScrollHead = scrollHead;
|
3771 |
settings.nScrollBody = scrollBody;
|
3772 |
settings.nScrollFoot = scrollFoot;
|
3883 |
}, footerSrcEls );
|
3884 |
}
|
3885 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3886 |
// Size the table as a whole
|
3887 |
sanityWidth = table.outerWidth();
|
3888 |
if ( scrollX === "" ) {
|
3897 |
) {
|
3898 |
tableStyle.width = _fnStringToCss( table.outerWidth() - barWidth);
|
3899 |
}
|
3900 |
+
|
3901 |
+
// Recalculate the sanity width
|
3902 |
+
sanityWidth = table.outerWidth();
|
3903 |
}
|
3904 |
+
else if ( scrollXInner !== "" ) {
|
3905 |
+
// legacy x scroll inner has been given - use it
|
3906 |
+
tableStyle.width = _fnStringToCss(scrollXInner);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3907 |
|
3908 |
+
// Recalculate the sanity width
|
3909 |
+
sanityWidth = table.outerWidth();
|
3910 |
+
}
|
|
|
3911 |
|
3912 |
// Hidden header should have zero height, so remove padding and borders. Then
|
3913 |
// set the width based on the real headers
|
4015 |
}
|
4016 |
}
|
4017 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4018 |
/* Finally set the width's of the header and footer tables */
|
4019 |
var iOuterWidth = table.outerWidth();
|
4020 |
divHeaderTable[0].style.width = _fnStringToCss( iOuterWidth );
|
4103 |
columnCount = columns.length,
|
4104 |
visibleColumns = _fnGetColumns( oSettings, 'bVisible' ),
|
4105 |
headerCells = $('th', oSettings.nTHead),
|
4106 |
+
tableWidthAttr = table.getAttribute('width'), // from DOM element
|
4107 |
tableContainer = table.parentNode,
|
4108 |
userInputs = false,
|
4109 |
+
i, column, columnIdx, width, outerWidth,
|
4110 |
+
browser = oSettings.oBrowser,
|
4111 |
+
ie67 = browser.bScrollOversize;
|
4112 |
+
|
4113 |
+
var styleWidth = table.style.width;
|
4114 |
+
if ( styleWidth && styleWidth.indexOf('%') !== -1 ) {
|
4115 |
+
tableWidthAttr = styleWidth;
|
4116 |
+
}
|
4117 |
|
4118 |
/* Convert any user input sizes into pixel sizes */
|
4119 |
for ( i=0 ; i<visibleColumns.length ; i++ ) {
|
4131 |
* the web- browser. No custom sizes can be set in order for this to happen,
|
4132 |
* nor scrolling used
|
4133 |
*/
|
4134 |
+
if ( ie67 || ! userInputs && ! scrollX && ! scrollY &&
|
4135 |
+
columnCount == _fnVisbleColumns( oSettings ) &&
|
4136 |
+
columnCount == headerCells.length
|
4137 |
) {
|
4138 |
for ( i=0 ; i<columnCount ; i++ ) {
|
4139 |
columns[i].sWidth = _fnStringToCss( headerCells.eq(i).width() );
|
4141 |
}
|
4142 |
else
|
4143 |
{
|
4144 |
+
// Otherwise construct a single row, worst case, table with the widest
|
4145 |
+
// node in the data, assign any user defined widths, then insert it into
|
4146 |
+
// the DOM and allow the browser to do all the hard work of calculating
|
4147 |
+
// table widths
|
4148 |
var tmpTable = $(table).clone() // don't use cloneNode - IE8 will remove events on the main table
|
|
|
4149 |
.css( 'visibility', 'hidden' )
|
4150 |
+
.removeAttr( 'id' );
|
4151 |
+
|
4152 |
+
// Clean up the table body
|
4153 |
+
tmpTable.find('tbody tr').remove();
|
4154 |
+
var tr = $('<tr/>').appendTo( tmpTable.find('tbody') );
|
4155 |
+
|
4156 |
+
// Clone the table header and footer - we can't use the header / footer
|
4157 |
+
// from the cloned table, since if scrolling is active, the table's
|
4158 |
+
// real header and footer are contained in different table tags
|
4159 |
+
tmpTable.find('thead, tfoot').remove();
|
4160 |
+
tmpTable
|
4161 |
+
.append( $(oSettings.nTHead).clone() )
|
4162 |
+
.append( $(oSettings.nTFoot).clone() );
|
4163 |
|
4164 |
// Remove any assigned widths from the footer (from scrolling)
|
4165 |
tmpTable.find('tfoot th, tfoot td').css('width', '');
|
4166 |
|
|
|
|
|
4167 |
// Apply custom sizing to the cloned header
|
4168 |
headerCells = _fnGetUniqueThs( oSettings, tmpTable.find('thead')[0] );
|
4169 |
|
4188 |
}
|
4189 |
}
|
4190 |
|
4191 |
+
// Table has been built, attach to the document so we can work with it.
|
4192 |
+
// A holding element is used, positioned at the top of the container
|
4193 |
+
// with minimal height, so it has no effect on if the container scrolls
|
4194 |
+
// or not. Otherwise it might trigger scrolling when it actually isn't
|
4195 |
+
// needed
|
4196 |
+
var holder = $('<div/>').css( scrollX || scrollY ?
|
4197 |
+
{
|
4198 |
+
position: 'absolute',
|
4199 |
+
top: 0,
|
4200 |
+
left: 0,
|
4201 |
+
height: 1,
|
4202 |
+
right: 0,
|
4203 |
+
overflow: 'hidden'
|
4204 |
+
} :
|
4205 |
+
{}
|
4206 |
+
)
|
4207 |
+
.append( tmpTable )
|
4208 |
+
.appendTo( tableContainer );
|
4209 |
|
4210 |
// When scrolling (X or Y) we want to set the width of the table as
|
4211 |
// appropriate. However, when not scrolling leave the table width as it
|
4216 |
else if ( scrollX ) {
|
4217 |
tmpTable.css( 'width', 'auto' );
|
4218 |
|
4219 |
+
if ( tmpTable.width() < tableContainer.clientWidth ) {
|
4220 |
+
tmpTable.width( tableContainer.clientWidth );
|
4221 |
}
|
4222 |
}
|
4223 |
else if ( scrollY ) {
|
4224 |
+
tmpTable.width( tableContainer.clientWidth );
|
4225 |
}
|
4226 |
else if ( tableWidthAttr ) {
|
4227 |
tmpTable.width( tableWidthAttr );
|
4228 |
}
|
4229 |
|
|
|
|
|
|
|
4230 |
// Browsers need a bit of a hand when a width is assigned to any columns
|
4231 |
// when x-scrolling as they tend to collapse the table to the min-width,
|
4232 |
// even if we sent the column widths. So we need to keep track of what
|
4238 |
|
4239 |
for ( i=0 ; i<visibleColumns.length ; i++ ) {
|
4240 |
column = columns[ visibleColumns[i] ];
|
4241 |
+
|
4242 |
+
// Much prefer to use getBoundingClientRect due to its sub-pixel
|
4243 |
+
// resolution, but IE8- do not support the width property.
|
4244 |
+
outerWidth = browser.bBounding ?
|
4245 |
+
headerCells[i].getBoundingClientRect().width :
|
4246 |
+
$(headerCells[i]).outerWidth();
|
4247 |
|
4248 |
total += column.sWidthOrig === null ?
|
4249 |
outerWidth :
|
4267 |
table.style.width = _fnStringToCss( tmpTable.css('width') );
|
4268 |
|
4269 |
// Finished with the table - ditch it
|
4270 |
+
holder.remove();
|
4271 |
}
|
4272 |
|
4273 |
// If there is a width attr, we want to attach an event listener which
|
4279 |
}
|
4280 |
|
4281 |
if ( (tableWidthAttr || scrollX) && ! oSettings._reszEvt ) {
|
4282 |
+
var bindResize = function () {
|
4283 |
+
$(window).bind('resize.DT-'+oSettings.sInstance, _fnThrottle( function () {
|
4284 |
+
_fnAdjustColumnSizing( oSettings );
|
4285 |
+
} ) );
|
4286 |
+
};
|
4287 |
+
|
4288 |
+
// IE6/7 will crash if we bind a resize event handler on page load.
|
4289 |
+
// To be removed in 1.11 which drops IE6/7 support
|
4290 |
+
if ( ie67 ) {
|
4291 |
+
setTimeout( bindResize, 1000 );
|
4292 |
+
}
|
4293 |
+
else {
|
4294 |
+
bindResize();
|
4295 |
+
}
|
4296 |
|
4297 |
oSettings._reszEvt = true;
|
4298 |
}
|
4327 |
fn.apply( that, args );
|
4328 |
}, frequency );
|
4329 |
}
|
|
|
|
|
|
|
|
|
4330 |
else {
|
4331 |
last = now;
|
4332 |
+
fn.apply( that, args );
|
4333 |
}
|
4334 |
};
|
4335 |
}
|
4359 |
}
|
4360 |
|
4361 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4362 |
/**
|
4363 |
* Get the widest node
|
4364 |
* @param {object} settings dataTables settings object
|
4439 |
{
|
4440 |
// On first run a static variable is set, since this is only needed once.
|
4441 |
// Subsequent runs will just use the previously calculated value
|
4442 |
+
var width = DataTable.__scrollbarWidth;
|
4443 |
+
|
4444 |
+
if ( width === undefined ) {
|
4445 |
+
var sizer = $('<p/>').css( {
|
|
|
|
|
|
|
|
|
|
|
4446 |
position: 'absolute',
|
4447 |
top: 0,
|
4448 |
left: 0,
|
4449 |
+
width: '100%',
|
4450 |
height: 150,
|
4451 |
padding: 0,
|
4452 |
+
overflow: 'scroll',
|
4453 |
visibility: 'hidden'
|
4454 |
} )
|
4455 |
+
.appendTo('body');
|
|
|
4456 |
|
4457 |
+
width = sizer[0].offsetWidth - sizer[0].clientWidth;
|
4458 |
+
DataTable.__scrollbarWidth = width;
|
|
|
4459 |
|
4460 |
+
sizer.remove();
|
|
|
|
|
|
|
|
|
|
|
|
|
4461 |
}
|
4462 |
|
4463 |
+
return width;
|
4464 |
}
|
4465 |
|
4466 |
|
4751 |
// Yes, modify the sort
|
4752 |
nextSortIdx = next( sorting[sortIdx], true );
|
4753 |
|
4754 |
+
if ( nextSortIdx === null && sorting.length === 1 ) {
|
4755 |
+
nextSortIdx = 0; // can't remove sorting completely
|
4756 |
+
}
|
4757 |
+
|
4758 |
if ( nextSortIdx === null ) {
|
4759 |
sorting.splice( sortIdx, 1 );
|
4760 |
}
|
4989 |
|
4990 |
// Restore key features - todo - for 1.11 this needs to be done by
|
4991 |
// subscribed events
|
4992 |
+
if ( state.start !== undefined ) {
|
4993 |
+
settings._iDisplayStart = state.start;
|
4994 |
+
settings.iInitDisplayStart = state.start;
|
4995 |
+
}
|
4996 |
+
if ( state.length !== undefined ) {
|
4997 |
+
settings._iDisplayLength = state.length;
|
4998 |
+
}
|
4999 |
|
5000 |
// Order
|
5001 |
+
if ( state.order !== undefined ) {
|
5002 |
+
settings.aaSorting = [];
|
5003 |
+
$.each( state.order, function ( i, col ) {
|
5004 |
+
settings.aaSorting.push( col[0] >= columns.length ?
|
5005 |
+
[ 0, col[1] ] :
|
5006 |
+
col
|
5007 |
+
);
|
5008 |
+
} );
|
5009 |
+
}
|
5010 |
|
5011 |
// Search
|
5012 |
+
if ( state.search !== undefined ) {
|
5013 |
+
$.extend( settings.oPreviousSearch, _fnSearchToHung( state.search ) );
|
5014 |
+
}
|
5015 |
|
5016 |
// Columns
|
5017 |
for ( i=0, ien=state.columns.length ; i<ien ; i++ ) {
|
5018 |
var col = state.columns[i];
|
5019 |
|
5020 |
// Visibility
|
5021 |
+
if ( col.visible !== undefined ) {
|
5022 |
+
columns[i].bVisible = col.visible;
|
5023 |
+
}
|
5024 |
|
5025 |
// Search
|
5026 |
+
if ( col.search !== undefined ) {
|
5027 |
+
$.extend( settings.aoPreSearchCols[i], _fnSearchToHung( col.search ) );
|
5028 |
+
}
|
5029 |
}
|
5030 |
|
5031 |
_fnCallbackFire( settings, 'aoStateLoaded', 'stateLoaded', [settings, state] );
|
5060 |
function _fnLog( settings, level, msg, tn )
|
5061 |
{
|
5062 |
msg = 'DataTables warning: '+
|
5063 |
+
(settings ? 'table id='+settings.sTableId+' - ' : '')+msg;
|
5064 |
|
5065 |
if ( tn ) {
|
5066 |
msg += '. For more information about this error, please see '+
|
5072 |
var ext = DataTable.ext;
|
5073 |
var type = ext.sErrMode || ext.errMode;
|
5074 |
|
5075 |
+
if ( settings ) {
|
5076 |
+
_fnCallbackFire( settings, null, 'error', [ settings, tn, msg ] );
|
5077 |
+
}
|
5078 |
+
|
5079 |
if ( type == 'alert' ) {
|
5080 |
alert( msg );
|
5081 |
}
|
5082 |
+
else if ( type == 'throw' ) {
|
5083 |
throw new Error(msg);
|
5084 |
}
|
5085 |
+
else if ( typeof type == 'function' ) {
|
5086 |
+
type( settings, tn, msg );
|
5087 |
+
}
|
5088 |
}
|
5089 |
else if ( window.console && console.log ) {
|
5090 |
console.log( msg );
|
5227 |
* @param {object} settings dataTables settings object
|
5228 |
* @param {string} callbackArr Name of the array storage for the callbacks in
|
5229 |
* oSettings
|
5230 |
+
* @param {string} eventName Name of the jQuery custom event to trigger. If
|
5231 |
+
* null no trigger is fired
|
5232 |
* @param {array} args Array of arguments to pass to the callback function /
|
5233 |
* trigger
|
5234 |
* @memberof DataTable#oApi
|
5235 |
*/
|
5236 |
+
function _fnCallbackFire( settings, callbackArr, eventName, args )
|
5237 |
{
|
5238 |
var ret = [];
|
5239 |
|
5243 |
} );
|
5244 |
}
|
5245 |
|
5246 |
+
if ( eventName !== null ) {
|
5247 |
+
var e = $.Event( eventName+'.dt' );
|
5248 |
+
|
5249 |
+
$(settings.nTable).trigger( e, args );
|
5250 |
+
|
5251 |
+
ret.push( e.result );
|
5252 |
}
|
5253 |
|
5254 |
return ret;
|
5660 |
this.fnDraw = function( complete )
|
5661 |
{
|
5662 |
// Note that this isn't an exact match to the old call to _fnDraw - it takes
|
5663 |
+
// into account the new data, but can hold position.
|
5664 |
+
this.api( true ).draw( complete );
|
5665 |
};
|
5666 |
|
5667 |
|
6109 |
var sId = this.getAttribute( 'id' );
|
6110 |
var bInitHandedOff = false;
|
6111 |
var defaults = DataTable.defaults;
|
6112 |
+
var $this = $(this);
|
6113 |
|
6114 |
|
6115 |
/* Sanity check */
|
6128 |
_fnCamelToHungarian( defaults.column, defaults.column, true );
|
6129 |
|
6130 |
/* Setting up the initialisation object */
|
6131 |
+
_fnCamelToHungarian( defaults, $.extend( oInit, $this.data() ) );
|
6132 |
+
|
6133 |
+
|
6134 |
|
6135 |
/* Check to see if we are re-initialising a table */
|
6136 |
var allSettings = DataTable.settings;
|
6137 |
for ( i=0, iLen=allSettings.length ; i<iLen ; i++ )
|
6138 |
{
|
6139 |
+
var s = allSettings[i];
|
6140 |
+
|
6141 |
/* Base check on table node */
|
6142 |
+
if ( s.nTable == this || s.nTHead.parentNode == this || (s.nTFoot && s.nTFoot.parentNode == this) )
|
6143 |
{
|
6144 |
var bRetrieve = oInit.bRetrieve !== undefined ? oInit.bRetrieve : defaults.bRetrieve;
|
6145 |
var bDestroy = oInit.bDestroy !== undefined ? oInit.bDestroy : defaults.bDestroy;
|
6146 |
|
6147 |
if ( emptyInit || bRetrieve )
|
6148 |
{
|
6149 |
+
return s.oInstance;
|
6150 |
}
|
6151 |
else if ( bDestroy )
|
6152 |
{
|
6153 |
+
s.oInstance.fnDestroy();
|
6154 |
break;
|
6155 |
}
|
6156 |
else
|
6157 |
{
|
6158 |
+
_fnLog( s, 0, 'Cannot reinitialise DataTable', 3 );
|
6159 |
return;
|
6160 |
}
|
6161 |
}
|
6165 |
* instance by simply deleting it. This is under the assumption that the table has been
|
6166 |
* destroyed by other methods. Anyone using non-id selectors will need to do this manually
|
6167 |
*/
|
6168 |
+
if ( s.sTableId == this.id )
|
6169 |
{
|
6170 |
allSettings.splice( i, 1 );
|
6171 |
break;
|
6181 |
|
6182 |
/* Create the settings object for this table and set some of the default parameters */
|
6183 |
var oSettings = $.extend( true, {}, DataTable.models.oSettings, {
|
6184 |
+
"sDestroyWidth": $this[0].style.width,
|
|
|
|
|
|
|
6185 |
"sInstance": sId,
|
6186 |
"sTableId": sId
|
6187 |
} );
|
6188 |
+
oSettings.nTable = this;
|
6189 |
+
oSettings.oApi = _that.internal;
|
6190 |
+
oSettings.oInit = oInit;
|
6191 |
+
|
6192 |
allSettings.push( oSettings );
|
6193 |
|
6194 |
// Need to add the instance after the instance after the settings object has been added
|
6195 |
// to the settings array, so we can self reference the table instance if more than one
|
6196 |
+
oSettings.oInstance = (_that.length===1) ? _that : $this.dataTable();
|
6197 |
|
6198 |
// Backwards compatibility, before we apply all the defaults
|
6199 |
_fnCompatOpts( oInit );
|
6249 |
"fnStateSaveCallback",
|
6250 |
"renderer",
|
6251 |
"searchDelay",
|
6252 |
+
"rowId",
|
6253 |
[ "iCookieDuration", "iStateDuration" ], // backwards compat
|
6254 |
[ "oSearch", "oPreviousSearch" ],
|
6255 |
[ "aoSearchCols", "aoPreSearchCols" ],
|
6277 |
_fnCallbackReg( oSettings, 'aoInitComplete', oInit.fnInitComplete, 'user' );
|
6278 |
_fnCallbackReg( oSettings, 'aoPreDrawCallback', oInit.fnPreDrawCallback, 'user' );
|
6279 |
|
6280 |
+
oSettings.rowIdFn = _fnGetObjectDataFn( oInit.rowId );
|
6281 |
+
|
6282 |
var oClasses = oSettings.oClasses;
|
6283 |
|
6284 |
// @todo Remove in 1.11
|
6306 |
{
|
6307 |
$.extend( oClasses, DataTable.ext.classes, oInit.oClasses );
|
6308 |
}
|
6309 |
+
$this.addClass( oClasses.sTable );
|
6310 |
|
6311 |
/* Calculate the scroll bar width and cache it for use later on */
|
6312 |
if ( oSettings.oScroll.sX !== "" || oSettings.oScroll.sY !== "" )
|
6313 |
{
|
6314 |
oSettings.oScroll.iBarWidth = _fnScrollBarWidth();
|
6315 |
}
|
|
|
|
|
|
|
6316 |
|
6317 |
if ( oSettings.iInitDisplayStart === undefined )
|
6318 |
{
|
6369 |
|
6370 |
/* Remove row stripe classes if they are already on the table row */
|
6371 |
var stripeClasses = oSettings.asStripeClasses;
|
6372 |
+
var rowOne = $this.children('tbody').find('tr').eq(0);
|
6373 |
if ( $.inArray( true, $.map( stripeClasses, function(el, i) {
|
6374 |
return rowOne.hasClass(el);
|
6375 |
} ) ) !== -1 ) {
|
6420 |
*/
|
6421 |
if ( rowOne.length ) {
|
6422 |
var a = function ( cell, name ) {
|
6423 |
+
return cell.getAttribute( 'data-'+name ) !== null ? name : null;
|
6424 |
};
|
6425 |
|
6426 |
$.each( _fnGetRowElements( oSettings, rowOne[0] ).cells, function (i, cell) {
|
6509 |
_fnBrowserDetect( oSettings );
|
6510 |
|
6511 |
// Work around for Webkit bug 83867 - store the caption-side before removing from doc
|
6512 |
+
var captions = $this.children('caption').each( function () {
|
6513 |
+
this._captionSide = $this.css('caption-side');
|
6514 |
} );
|
6515 |
|
6516 |
+
var thead = $this.children('thead');
|
6517 |
if ( thead.length === 0 )
|
6518 |
{
|
6519 |
thead = $('<thead/>').appendTo(this);
|
6520 |
}
|
6521 |
oSettings.nTHead = thead[0];
|
6522 |
|
6523 |
+
var tbody = $this.children('tbody');
|
6524 |
if ( tbody.length === 0 )
|
6525 |
{
|
6526 |
tbody = $('<tbody/>').appendTo(this);
|
6527 |
}
|
6528 |
oSettings.nTBody = tbody[0];
|
6529 |
|
6530 |
+
var tfoot = $this.children('tfoot');
|
6531 |
if ( tfoot.length === 0 && captions.length > 0 && (oSettings.oScroll.sX !== "" || oSettings.oScroll.sY !== "") )
|
6532 |
{
|
6533 |
// If we are a scrolling table, and no footer has been given, then we need to create
|
6536 |
}
|
6537 |
|
6538 |
if ( tfoot.length === 0 || tfoot.children().length === 0 ) {
|
6539 |
+
$this.addClass( oClasses.sNoFooter );
|
6540 |
}
|
6541 |
else if ( tfoot.length > 0 ) {
|
6542 |
oSettings.nTFoot = tfoot[0];
|
6745 |
*/
|
6746 |
_Api = function ( context, data )
|
6747 |
{
|
6748 |
+
if ( ! (this instanceof _Api) ) {
|
6749 |
+
return new _Api( context, data );
|
|
|
|
|
6750 |
}
|
6751 |
|
6752 |
var settings = [];
|
6787 |
DataTable.Api = _Api;
|
6788 |
|
6789 |
_Api.prototype = /** @lends DataTables.Api */{
|
6790 |
+
any: function ()
|
6791 |
+
{
|
6792 |
+
return this.count() !== 0;
|
6793 |
+
},
|
6794 |
+
|
6795 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
6796 |
concat: __arrayProto.concat,
|
6797 |
|
6798 |
|
6799 |
context: [], // array of table settings objects
|
6800 |
|
6801 |
|
6802 |
+
count: function ()
|
6803 |
+
{
|
6804 |
+
return this.flatten().length;
|
6805 |
+
},
|
6806 |
+
|
6807 |
+
|
6808 |
each: function ( fn )
|
6809 |
{
|
6810 |
for ( var i=0, ien=this.length ; i<ien; i++ ) {
|
6865 |
return -1;
|
6866 |
},
|
6867 |
|
|
|
6868 |
iterator: function ( flatten, type, fn, alwaysNew ) {
|
6869 |
var
|
6870 |
a = [], ret,
|
7038 |
_Api.extend = function ( scope, obj, ext )
|
7039 |
{
|
7040 |
// Only extend API instances and static properties of the API
|
7041 |
+
if ( ! ext.length || ! obj || ( ! (obj instanceof _Api) && ! obj.__dt_wrapper ) ) {
|
7042 |
return;
|
7043 |
}
|
7044 |
|
7287 |
|
7288 |
/**
|
7289 |
* Redraw the tables in the current context.
|
|
|
|
|
|
|
|
|
|
|
7290 |
*/
|
7291 |
+
_api_register( 'draw()', function ( paging ) {
|
7292 |
return this.iterator( 'table', function ( settings ) {
|
7293 |
+
if ( paging === 'page' ) {
|
7294 |
+
_fnDraw( settings );
|
7295 |
+
}
|
7296 |
+
else {
|
7297 |
+
if ( typeof paging === 'string' ) {
|
7298 |
+
paging = paging === 'full-hold' ?
|
7299 |
+
false :
|
7300 |
+
true;
|
7301 |
+
}
|
7302 |
+
|
7303 |
+
_fnReDraw( settings, paging===false );
|
7304 |
+
}
|
7305 |
} );
|
7306 |
} );
|
7307 |
|
7375 |
"end": settings.fnDisplayEnd(),
|
7376 |
"length": len,
|
7377 |
"recordsTotal": settings.fnRecordsTotal(),
|
7378 |
+
"recordsDisplay": visRecords,
|
7379 |
+
"serverSide": _fnDataSource( settings ) === 'ssp'
|
7380 |
};
|
7381 |
} );
|
7382 |
|
7411 |
|
7412 |
|
7413 |
var __reload = function ( settings, holdPosition, callback ) {
|
7414 |
+
// Use the draw event to trigger a callback
|
7415 |
+
if ( callback ) {
|
7416 |
+
var api = new _Api( settings );
|
7417 |
+
|
7418 |
+
api.one( 'draw', function () {
|
7419 |
+
callback( api.ajax.json() );
|
7420 |
+
} );
|
7421 |
+
}
|
7422 |
+
|
7423 |
if ( _fnDataSource( settings ) == 'ssp' ) {
|
7424 |
_fnReDraw( settings, holdPosition );
|
7425 |
}
|
7426 |
else {
|
|
|
7427 |
_fnProcessingDisplay( settings, true );
|
7428 |
|
7429 |
+
// Cancel an existing request
|
7430 |
+
var xhr = settings.jqXHR;
|
7431 |
+
if ( xhr && xhr.readyState !== 4 ) {
|
7432 |
+
xhr.abort();
|
7433 |
+
}
|
7434 |
+
|
7435 |
+
// Trigger xhr
|
7436 |
_fnBuildAjax( settings, [], function( json ) {
|
7437 |
_fnClearTable( settings );
|
7438 |
|
7445 |
_fnProcessingDisplay( settings, false );
|
7446 |
} );
|
7447 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7448 |
};
|
7449 |
|
7450 |
|
7560 |
|
7561 |
|
7562 |
|
7563 |
+
var _selector_run = function ( type, selector, selectFn, settings, opts )
|
7564 |
{
|
7565 |
var
|
7566 |
out = [], res,
|
7579 |
[ selector[i] ];
|
7580 |
|
7581 |
for ( j=0, jen=a.length ; j<jen ; j++ ) {
|
7582 |
+
res = selectFn( typeof a[j] === 'string' ? $.trim(a[j]) : a[j] );
|
7583 |
|
7584 |
if ( res && res.length ) {
|
7585 |
out.push.apply( out, res );
|
7587 |
}
|
7588 |
}
|
7589 |
|
7590 |
+
// selector extensions
|
7591 |
+
var ext = _ext.selector[ type ];
|
7592 |
+
if ( ext.length ) {
|
7593 |
+
for ( i=0, ien=ext.length ; i<ien ; i++ ) {
|
7594 |
+
out = ext[i]( settings, opts, out );
|
7595 |
+
}
|
7596 |
+
}
|
7597 |
+
|
7598 |
return out;
|
7599 |
};
|
7600 |
|
7607 |
|
7608 |
// Backwards compatibility for 1.9- which used the terminology filter rather
|
7609 |
// than search
|
7610 |
+
if ( opts.filter && opts.search === undefined ) {
|
7611 |
opts.search = opts.filter;
|
7612 |
}
|
7613 |
|
7614 |
+
return $.extend( {
|
7615 |
+
search: 'none',
|
7616 |
+
order: 'current',
|
7617 |
+
page: 'all'
|
7618 |
+
}, opts );
|
7619 |
};
|
7620 |
|
7621 |
|
7627 |
// Assign the first element to the first item in the instance
|
7628 |
// and truncate the instance and context
|
7629 |
inst[0] = inst[i];
|
7630 |
+
inst[0].length = 1;
|
7631 |
inst.length = 1;
|
7632 |
inst.context = [ inst.context[i] ];
|
7633 |
|
7714 |
|
7715 |
var __row_selector = function ( settings, selector, opts )
|
7716 |
{
|
7717 |
+
var run = function ( sel ) {
|
7718 |
var selInt = _intVal( sel );
|
7719 |
var i, ien;
|
7720 |
|
7757 |
}
|
7758 |
}
|
7759 |
|
7760 |
+
// ID selector. Want to always be able to select rows by id, regardless
|
7761 |
+
// of if the tr element has been created or not, so can't rely upon
|
7762 |
+
// jQuery here - hence a custom implementation. This does not match
|
7763 |
+
// Sizzle's fast selector or HTML4 - in HTML5 the ID can be anything,
|
7764 |
+
// but to select it using a CSS selector engine (like Sizzle or
|
7765 |
+
// querySelect) it would need to need to be escaped for some characters.
|
7766 |
+
// DataTables simplifies this for row selectors since you can select
|
7767 |
+
// only a row. A # indicates an id any anything that follows is the id -
|
7768 |
+
// unescaped.
|
7769 |
+
if ( typeof sel === 'string' && sel.charAt(0) === '#' ) {
|
7770 |
+
// get row index from id
|
7771 |
+
var rowObj = settings.aIds[ sel.replace( /^#/, '' ) ];
|
7772 |
+
if ( rowObj !== undefined ) {
|
7773 |
+
return [ rowObj.idx ];
|
7774 |
+
}
|
7775 |
+
|
7776 |
+
// need to fall through to jQuery in case there is DOM id that
|
7777 |
+
// matches
|
7778 |
+
}
|
7779 |
+
|
7780 |
// Selector - jQuery selector string, array of nodes or jQuery object/
|
7781 |
// As jQuery's .filter() allows jQuery objects to be passed in filter,
|
7782 |
// it also allows arrays, so this will cope with all three options
|
7786 |
return this._DT_RowIndex;
|
7787 |
} )
|
7788 |
.toArray();
|
7789 |
+
};
|
7790 |
+
|
7791 |
+
return _selector_run( 'row', selector, run, settings, opts );
|
7792 |
};
|
7793 |
|
7794 |
|
|
|
|
|
|
|
7795 |
_api_register( 'rows()', function ( selector, opts ) {
|
7796 |
// argument shifting
|
7797 |
if ( selector === undefined ) {
|
7815 |
return inst;
|
7816 |
} );
|
7817 |
|
|
|
7818 |
_api_register( 'rows().nodes()', function () {
|
7819 |
return this.iterator( 'row', function ( settings, row ) {
|
7820 |
return settings.aoData[ row ].nTr || undefined;
|
7846 |
}, 1 );
|
7847 |
} );
|
7848 |
|
7849 |
+
_api_registerPlural( 'rows().ids()', 'row().id()', function ( hash ) {
|
7850 |
+
var a = [];
|
7851 |
+
var context = this.context;
|
7852 |
+
|
7853 |
+
// `iterator` will drop undefined values, but in this case we want them
|
7854 |
+
for ( var i=0, ien=context.length ; i<ien ; i++ ) {
|
7855 |
+
for ( var j=0, jen=this[i].length ; j<jen ; j++ ) {
|
7856 |
+
var id = context[i].rowIdFn( context[i].aoData[ this[i][j] ]._aData );
|
7857 |
+
a.push( (hash === true ? '#' : '' )+ id );
|
7858 |
+
}
|
7859 |
+
}
|
7860 |
+
|
7861 |
+
return new _Api( context, a );
|
7862 |
+
} );
|
7863 |
+
|
7864 |
_api_registerPlural( 'rows().remove()', 'row().remove()', function () {
|
7865 |
var that = this;
|
7866 |
|
7867 |
+
this.iterator( 'row', function ( settings, row, thatIdx ) {
|
7868 |
var data = settings.aoData;
|
7869 |
|
7870 |
data.splice( row, 1 );
|
7876 |
}
|
7877 |
}
|
7878 |
|
|
|
|
|
|
|
7879 |
// Delete from the display arrays
|
7880 |
_fnDeleteIndex( settings.aiDisplayMaster, row );
|
7881 |
_fnDeleteIndex( settings.aiDisplay, row );
|
7884 |
// Check for an 'overflow' they case for displaying the table
|
7885 |
_fnLengthOverflow( settings );
|
7886 |
} );
|
7887 |
+
|
7888 |
+
this.iterator( 'table', function ( settings ) {
|
7889 |
+
for ( var i=0, ien=settings.aoData.length ; i<ien ; i++ ) {
|
7890 |
+
settings.aoData[i].idx = i;
|
7891 |
+
}
|
7892 |
+
} );
|
7893 |
+
|
7894 |
+
return this;
|
7895 |
} );
|
7896 |
|
7897 |
|
7988 |
// Convert to array of TR elements
|
7989 |
var rows = [];
|
7990 |
var addRow = function ( r, k ) {
|
7991 |
+
// Recursion to allow for arrays of jQuery objects
|
7992 |
+
if ( $.isArray( r ) || r instanceof $ ) {
|
7993 |
+
for ( var i=0, ien=r.length ; i<ien ; i++ ) {
|
7994 |
+
addRow( r[i], k );
|
7995 |
+
}
|
7996 |
+
return;
|
7997 |
+
}
|
7998 |
+
|
7999 |
// If we get a TR element, then just add it directly - up to the dev
|
8000 |
// to add the correct number of columns etc
|
8001 |
if ( r.nodeName && r.nodeName.toLowerCase() === 'tr' ) {
|
8013 |
}
|
8014 |
};
|
8015 |
|
8016 |
+
addRow( data, klass );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8017 |
|
8018 |
if ( row._details ) {
|
8019 |
row._details.remove();
|
8035 |
if ( ctx.length ) {
|
8036 |
var row = ctx[0].aoData[ idx !== undefined ? idx : api[0] ];
|
8037 |
|
8038 |
+
if ( row && row._details ) {
|
8039 |
row._details.remove();
|
8040 |
|
8041 |
row._detailsShow = undefined;
|
8238 |
names = _pluck( columns, 'sName' ),
|
8239 |
nodes = _pluck( columns, 'nTh' );
|
8240 |
|
8241 |
+
var run = function ( s ) {
|
8242 |
var selInt = _intVal( s );
|
8243 |
|
8244 |
// Selector - all
|
8304 |
} )
|
8305 |
.toArray();
|
8306 |
}
|
8307 |
+
};
|
8308 |
+
|
8309 |
+
return _selector_run( 'column', selector, run, settings, opts );
|
8310 |
};
|
8311 |
|
8312 |
|
8369 |
};
|
8370 |
|
8371 |
|
|
|
|
|
|
|
8372 |
_api_register( 'columns()', function ( selector, opts ) {
|
8373 |
// argument shifting
|
8374 |
if ( selector === undefined ) {
|
8392 |
return inst;
|
8393 |
} );
|
8394 |
|
|
|
|
|
|
|
|
|
8395 |
_api_registerPlural( 'columns().header()', 'column().header()', function ( selector, opts ) {
|
8396 |
return this.iterator( 'column', function ( settings, column ) {
|
8397 |
return settings.aoColumns[column].nTh;
|
8398 |
}, 1 );
|
8399 |
} );
|
8400 |
|
|
|
|
|
|
|
|
|
8401 |
_api_registerPlural( 'columns().footer()', 'column().footer()', function ( selector, opts ) {
|
8402 |
return this.iterator( 'column', function ( settings, column ) {
|
8403 |
return settings.aoColumns[column].nTf;
|
8404 |
}, 1 );
|
8405 |
} );
|
8406 |
|
|
|
|
|
|
|
|
|
8407 |
_api_registerPlural( 'columns().data()', 'column().data()', function () {
|
8408 |
return this.iterator( 'column-rows', __columnData, 1 );
|
8409 |
} );
|
8410 |
|
|
|
8411 |
_api_registerPlural( 'columns().dataSrc()', 'column().dataSrc()', function () {
|
8412 |
return this.iterator( 'column', function ( settings, column ) {
|
8413 |
return settings.aoColumns[column].mData;
|
8414 |
}, 1 );
|
8415 |
} );
|
8416 |
|
|
|
8417 |
_api_registerPlural( 'columns().cache()', 'column().cache()', function ( type ) {
|
8418 |
return this.iterator( 'column-rows', function ( settings, column, i, j, rows ) {
|
8419 |
return _pluck_order( settings.aoData, rows,
|
8422 |
}, 1 );
|
8423 |
} );
|
8424 |
|
|
|
8425 |
_api_registerPlural( 'columns().nodes()', 'column().nodes()', function () {
|
8426 |
return this.iterator( 'column-rows', function ( settings, column, i, j, rows ) {
|
8427 |
return _pluck_order( settings.aoData, rows, 'anCells', column ) ;
|
8428 |
}, 1 );
|
8429 |
} );
|
8430 |
|
|
|
|
|
8431 |
_api_registerPlural( 'columns().visible()', 'column().visible()', function ( vis, calc ) {
|
8432 |
return this.iterator( 'column', function ( settings, column ) {
|
8433 |
if ( vis === undefined ) {
|
8437 |
} );
|
8438 |
} );
|
8439 |
|
|
|
|
|
8440 |
_api_registerPlural( 'columns().indexes()', 'column().index()', function ( type ) {
|
8441 |
return this.iterator( 'column', function ( settings, column ) {
|
8442 |
return type === 'visible' ?
|
8445 |
}, 1 );
|
8446 |
} );
|
8447 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8448 |
_api_register( 'columns.adjust()', function () {
|
8449 |
return this.iterator( 'table', function ( settings ) {
|
8450 |
_fnAdjustColumnSizing( settings );
|
8451 |
}, 1 );
|
8452 |
} );
|
8453 |
|
|
|
|
|
8454 |
_api_register( 'column.index()', function ( type, idx ) {
|
8455 |
if ( this.context.length !== 0 ) {
|
8456 |
var ctx = this.context[0];
|
8464 |
}
|
8465 |
} );
|
8466 |
|
|
|
8467 |
_api_register( 'column()', function ( selector, opts ) {
|
8468 |
return _selector_first( this.columns( selector, opts ) );
|
8469 |
} );
|
8481 |
var columns = settings.aoColumns.length;
|
8482 |
var a, i, ien, j, o, host;
|
8483 |
|
8484 |
+
var run = function ( s ) {
|
8485 |
var fnSelector = typeof s === 'function';
|
8486 |
|
8487 |
if ( s === null || s === undefined || fnSelector ) {
|
8501 |
// Selector - function
|
8502 |
host = settings.aoData[ row ];
|
8503 |
|
8504 |
+
if ( s( o, _fnGetCellData(settings, row, j), host.anCells ? host.anCells[j] : null ) ) {
|
8505 |
a.push( o );
|
8506 |
}
|
8507 |
}
|
8532 |
};
|
8533 |
} )
|
8534 |
.toArray();
|
8535 |
+
};
|
8536 |
+
|
8537 |
+
return _selector_run( 'cell', selector, run, settings, opts );
|
8538 |
};
|
8539 |
|
8540 |
|
8544 |
// Argument shifting
|
8545 |
if ( $.isPlainObject( rowSelector ) ) {
|
8546 |
// Indexes
|
8547 |
+
if ( rowSelector.row === undefined ) {
|
8548 |
+
// Selector options in first parameter
|
|
|
|
|
|
|
8549 |
opts = rowSelector;
|
8550 |
rowSelector = null;
|
8551 |
}
|
8552 |
+
else {
|
8553 |
+
// Cell index objects in first parameter
|
8554 |
+
opts = columnSelector;
|
8555 |
+
columnSelector = null;
|
8556 |
+
}
|
8557 |
}
|
8558 |
if ( $.isPlainObject( columnSelector ) ) {
|
8559 |
opts = columnSelector;
|
8914 |
var is = false;
|
8915 |
|
8916 |
$.each( DataTable.settings, function (i, o) {
|
8917 |
+
var head = o.nScrollHead ? $('table', o.nScrollHead)[0] : null;
|
8918 |
+
var foot = o.nScrollFoot ? $('table', o.nScrollFoot)[0] : null;
|
8919 |
+
|
8920 |
+
if ( o.nTable === t || head === t || foot === t ) {
|
8921 |
is = true;
|
8922 |
}
|
8923 |
} );
|
8944 |
*/
|
8945 |
DataTable.tables = DataTable.fnTables = function ( visible )
|
8946 |
{
|
8947 |
+
var api = false;
|
8948 |
+
|
8949 |
+
if ( $.isPlainObject( visible ) ) {
|
8950 |
+
api = visible.api;
|
8951 |
+
visible = visible.visible;
|
8952 |
+
}
|
8953 |
+
|
8954 |
+
var a = $.map( DataTable.settings, function (o) {
|
8955 |
if ( !visible || (visible && $(o.nTable).is(':visible')) ) {
|
8956 |
return o.nTable;
|
8957 |
}
|
8958 |
} );
|
8959 |
+
|
8960 |
+
return api ?
|
8961 |
+
new _Api( a ) :
|
8962 |
+
a;
|
8963 |
};
|
8964 |
|
8965 |
|
9056 |
} );
|
9057 |
|
9058 |
|
9059 |
+
_api_register( 'init()', function () {
|
9060 |
+
var ctx = this.context;
|
9061 |
+
return ctx.length ? ctx[0].oInit : null;
|
9062 |
+
} );
|
9063 |
+
|
9064 |
+
|
9065 |
_api_register( 'data()', function () {
|
9066 |
return this.iterator( 'table', function ( settings ) {
|
9067 |
return _pluck( settings.aoData, '_aData' );
|
9114 |
jqTable.append( tfoot );
|
9115 |
}
|
9116 |
|
|
|
|
|
|
|
|
|
9117 |
settings.aaSorting = [];
|
9118 |
settings.aaSortingFixed = [];
|
9119 |
_fnSortingClasses( settings );
|
9133 |
} );
|
9134 |
}
|
9135 |
|
|
|
|
|
|
|
|
|
|
|
9136 |
// Add the TR elements back into the table in their original order
|
9137 |
jqTbody.children().detach();
|
9138 |
jqTbody.append( rows );
|
9139 |
|
9140 |
+
// Remove the DataTables generated nodes, events and classes
|
9141 |
+
var removedMethod = remove ? 'remove' : 'detach';
|
9142 |
+
jqTable[ removedMethod ]();
|
9143 |
+
jqWrapper[ removedMethod ]();
|
|
|
9144 |
|
9145 |
+
// If we need to reattach the table to the document
|
9146 |
+
if ( ! remove && orig ) {
|
9147 |
+
// insertBefore acts like appendChild if !arg[1]
|
9148 |
+
orig.insertBefore( table, settings.nTableReinsertBefore );
|
9149 |
|
9150 |
+
// Restore the width of the original table - was read from the style property,
|
9151 |
+
// so we can restore directly to that
|
9152 |
+
jqTable
|
9153 |
+
.css( 'width', settings.sDestroyWidth )
|
9154 |
+
.removeClass( classes.sTable );
|
9155 |
+
|
9156 |
+
// If the were originally stripe classes - then we add them back here.
|
9157 |
+
// Note this is not fool proof (for example if not all rows had stripe
|
9158 |
+
// classes - but it's a good effort without getting carried away
|
9159 |
+
ien = settings.asDestroyStripes.length;
|
9160 |
+
|
9161 |
+
if ( ien ) {
|
9162 |
+
jqTbody.children().each( function (i) {
|
9163 |
+
$(this).addClass( settings.asDestroyStripes[i % ien] );
|
9164 |
+
} );
|
9165 |
+
}
|
9166 |
}
|
9167 |
|
9168 |
/* Remove the settings object from the settings array */
|
9173 |
} );
|
9174 |
} );
|
9175 |
|
9176 |
+
|
9177 |
+
// Add the `every()` method for rows, columns and cells in a compact form
|
9178 |
+
$.each( [ 'column', 'row', 'cell' ], function ( i, type ) {
|
9179 |
+
_api_register( type+'s().every()', function ( fn ) {
|
9180 |
+
return this.iterator( type, function ( settings, arg1, arg2, arg3, arg4 ) {
|
9181 |
+
// Rows and columns:
|
9182 |
+
// arg1 - index
|
9183 |
+
// arg2 - table counter
|
9184 |
+
// arg3 - loop counter
|
9185 |
+
// arg4 - undefined
|
9186 |
+
// Cells:
|
9187 |
+
// arg1 - row index
|
9188 |
+
// arg2 - column index
|
9189 |
+
// arg3 - table counter
|
9190 |
+
// arg4 - loop counter
|
9191 |
+
fn.call(
|
9192 |
+
new _Api( settings )[ type ]( arg1, type==='cell' ? arg2 : undefined ),
|
9193 |
+
arg1, arg2, arg3, arg4
|
9194 |
+
);
|
9195 |
+
} );
|
9196 |
+
} );
|
9197 |
+
} );
|
9198 |
+
|
9199 |
+
|
9200 |
+
// i18n method for extensions to be able to use the language object from the
|
9201 |
+
// DataTable
|
9202 |
+
_api_register( 'i18n()', function ( token, def, plural ) {
|
9203 |
+
var ctx = this.context[0];
|
9204 |
+
var resolved = _fnGetObjectDataFn( token )( ctx.oLanguage );
|
9205 |
+
|
9206 |
+
if ( resolved === undefined ) {
|
9207 |
+
resolved = def;
|
9208 |
+
}
|
9209 |
+
|
9210 |
+
if ( plural !== undefined && $.isPlainObject( resolved ) ) {
|
9211 |
+
resolved = resolved[ plural ] !== undefined ?
|
9212 |
+
resolved[ plural ] :
|
9213 |
+
resolved._;
|
9214 |
+
}
|
9215 |
+
|
9216 |
+
return resolved.replace( '%d', plural ); // nb: plural might be undefined,
|
9217 |
+
} );
|
9218 |
|
9219 |
/**
|
9220 |
* Version string for plug-ins to check compatibility. Allowed format is
|
9224 |
* @type string
|
9225 |
* @default Version number
|
9226 |
*/
|
9227 |
+
DataTable.version = "1.10.8";
|
9228 |
|
9229 |
/**
|
9230 |
* Private data store, containing all of the settings objects that are
|
9376 |
* @default null
|
9377 |
* @private
|
9378 |
*/
|
9379 |
+
"src": null,
|
9380 |
+
|
9381 |
+
/**
|
9382 |
+
* Index in the aoData array. This saves an indexOf lookup when we have the
|
9383 |
+
* object, but want to know the index
|
9384 |
+
* @type integer
|
9385 |
+
* @default -1
|
9386 |
+
* @private
|
9387 |
+
*/
|
9388 |
+
"idx": -1
|
9389 |
};
|
9390 |
|
9391 |
|
11826 |
* @name DataTable.defaults.renderer
|
11827 |
*
|
11828 |
*/
|
11829 |
+
"renderer": null,
|
11830 |
+
|
11831 |
+
|
11832 |
+
/**
|
11833 |
+
* Set the data property name that DataTables should use to get a row's id
|
11834 |
+
* to set as the `id` property in the node.
|
11835 |
+
* @type string
|
11836 |
+
* @default DT_RowId
|
11837 |
+
*
|
11838 |
+
* @name DataTable.defaults.rowId
|
11839 |
+
*/
|
11840 |
+
"rowId": "DT_RowId"
|
11841 |
};
|
11842 |
|
11843 |
_fnHungarianMap( DataTable.defaults );
|
12936 |
* @type boolean
|
12937 |
* @default false
|
12938 |
*/
|
12939 |
+
"bScrollbarLeft": false,
|
12940 |
+
|
12941 |
+
/**
|
12942 |
+
* Flag for if `getBoundingClientRect` is fully supported or not
|
12943 |
+
* @type boolean
|
12944 |
+
* @default false
|
12945 |
+
*/
|
12946 |
+
"bBounding": false
|
12947 |
},
|
12948 |
|
12949 |
|
12988 |
*/
|
12989 |
"aiDisplayMaster": [],
|
12990 |
|
12991 |
+
/**
|
12992 |
+
* Map of row ids to data indexes
|
12993 |
+
* @type object
|
12994 |
+
* @default {}
|
12995 |
+
*/
|
12996 |
+
"aIds": {},
|
12997 |
+
|
12998 |
/**
|
12999 |
* Store information about each column that is in use
|
13000 |
* @type array
|
13603 |
* @type object
|
13604 |
* @default {}
|
13605 |
*/
|
13606 |
+
"oPlugins": {},
|
13607 |
+
|
13608 |
+
/**
|
13609 |
+
* Function used to get a row's id from the row's data
|
13610 |
+
* @type function
|
13611 |
+
* @default null
|
13612 |
+
*/
|
13613 |
+
"rowIdFn": null,
|
13614 |
+
|
13615 |
+
/**
|
13616 |
+
* Data location where to store a row's id
|
13617 |
+
* @type string
|
13618 |
+
* @default null
|
13619 |
+
*/
|
13620 |
+
"rowId": null
|
13621 |
};
|
13622 |
|
13623 |
/**
|
13646 |
* @namespace
|
13647 |
*/
|
13648 |
DataTable.ext = _ext = {
|
13649 |
+
/**
|
13650 |
+
* Buttons. For use with the Buttons extension for DataTables. This is
|
13651 |
+
* defined here so other extensions can define buttons regardless of load
|
13652 |
+
* order. It is _not_ used by DataTables core.
|
13653 |
+
*
|
13654 |
+
* @type object
|
13655 |
+
* @default {}
|
13656 |
+
*/
|
13657 |
+
buttons: {},
|
13658 |
+
|
13659 |
+
|
13660 |
/**
|
13661 |
* Element class names
|
13662 |
*
|
13669 |
/**
|
13670 |
* Error reporting.
|
13671 |
*
|
13672 |
+
* How should DataTables report an error. Can take the value 'alert',
|
13673 |
+
* 'throw', 'none' or a function.
|
13674 |
*
|
13675 |
+
* @type string|function
|
13676 |
* @default alert
|
13677 |
*/
|
13678 |
errMode: "alert",
|
13779 |
search: [],
|
13780 |
|
13781 |
|
13782 |
+
/**
|
13783 |
+
* Selector extensions
|
13784 |
+
*
|
13785 |
+
* The `selector` option can be used to extend the options available for the
|
13786 |
+
* selector modifier options (`selector-modifier` object data type) that
|
13787 |
+
* each of the three built in selector types offer (row, column and cell +
|
13788 |
+
* their plural counterparts). For example the Select extension uses this
|
13789 |
+
* mechanism to provide an option to select only rows, columns and cells
|
13790 |
+
* that have been marked as selected by the end user (`{selected: true}`),
|
13791 |
+
* which can be used in conjunction with the existing built in selector
|
13792 |
+
* options.
|
13793 |
+
*
|
13794 |
+
* Each property is an array to which functions can be pushed. The functions
|
13795 |
+
* take three attributes:
|
13796 |
+
*
|
13797 |
+
* * Settings object for the host table
|
13798 |
+
* * Options object (`selector-modifier` object type)
|
13799 |
+
* * Array of selected item indexes
|
13800 |
+
*
|
13801 |
+
* The return is an array of the resulting item indexes after the custom
|
13802 |
+
* selector has been applied.
|
13803 |
+
*
|
13804 |
+
* @type object
|
13805 |
+
*/
|
13806 |
+
selector: {
|
13807 |
+
cell: [],
|
13808 |
+
column: [],
|
13809 |
+
row: []
|
13810 |
+
},
|
13811 |
+
|
13812 |
+
|
13813 |
/**
|
13814 |
* Internal functions, exposed for used in plug-ins.
|
13815 |
*
|
14303 |
numbers.splice( 0, 0, 0 );
|
14304 |
}
|
14305 |
else {
|
14306 |
+
numbers = _range( page-half+2, page+half-1 );
|
14307 |
numbers.push( 'ellipsis' );
|
14308 |
numbers.push( pages-1 );
|
14309 |
numbers.splice( 0, 0, 'ellipsis' );
|
14324 |
return [ 'first', 'previous', 'next', 'last' ];
|
14325 |
},
|
14326 |
|
14327 |
+
numbers: function ( page, pages ) {
|
14328 |
+
return [ _numbers(page, pages) ];
|
14329 |
+
},
|
14330 |
+
|
14331 |
simple_numbers: function ( page, pages ) {
|
14332 |
return [ 'previous', _numbers(page, pages), 'next' ];
|
14333 |
},
|
14338 |
|
14339 |
// For testing and plug-ins to use
|
14340 |
_numbers: _numbers,
|
14341 |
+
|
14342 |
+
// Number of number buttons (including ellipsis) to show. _Must be odd!_
|
14343 |
numbers_length: 7
|
14344 |
} );
|
14345 |
|
14366 |
attach( inner, button );
|
14367 |
}
|
14368 |
else {
|
14369 |
+
btnDisplay = null;
|
14370 |
btnClass = '';
|
14371 |
|
14372 |
switch ( button ) {
|
14373 |
case 'ellipsis':
|
14374 |
+
container.append('<span class="ellipsis">…</span>');
|
14375 |
break;
|
14376 |
|
14377 |
case 'first':
|
14405 |
break;
|
14406 |
}
|
14407 |
|
14408 |
+
if ( btnDisplay !== null ) {
|
14409 |
node = $('<a>', {
|
14410 |
'class': classes.sPageButton+' '+btnClass,
|
14411 |
'aria-controls': settings.sTableId,
|
14431 |
// IE9 throws an 'unknown error' if document.activeElement is used
|
14432 |
// inside an iframe or frame. Try / catch the error. Not good for
|
14433 |
// accessibility, but neither are frames.
|
14434 |
+
var activeEl;
|
14435 |
+
|
14436 |
try {
|
14437 |
// Because this approach is destroying and recreating the paging
|
14438 |
// elements, focus is lost on the select button which is bad for
|
14439 |
// accessibility. So we want to restore focus once the draw has
|
14440 |
// completed
|
14441 |
+
activeEl = $(host).find(document.activeElement).data('dt-idx');
|
14442 |
+
}
|
14443 |
+
catch (e) {}
|
14444 |
|
14445 |
+
attach( $(host).empty(), buttons );
|
14446 |
|
14447 |
+
if ( activeEl ) {
|
14448 |
+
$(host).find( '[data-dt-idx='+activeEl+']' ).focus();
|
|
|
14449 |
}
|
|
|
14450 |
}
|
14451 |
}
|
14452 |
} );
|
14736 |
*
|
14737 |
* * `number` - Will format numeric data (defined by `columns.data`) for
|
14738 |
* display, retaining the original unformatted data for sorting and filtering.
|
14739 |
+
* It takes 5 parameters:
|
14740 |
* * `string` - Thousands grouping separator
|
14741 |
* * `string` - Decimal point indicator
|
14742 |
* * `integer` - Number of decimal points to show
|
14743 |
* * `string` (optional) - Prefix.
|
14744 |
+
* * `string` (optional) - Postfix (/suffix).
|
14745 |
*
|
14746 |
* @example
|
14747 |
* // Column definition using the number renderer
|
14753 |
* @namespace
|
14754 |
*/
|
14755 |
DataTable.render = {
|
14756 |
+
number: function ( thousands, decimal, precision, prefix, postfix ) {
|
14757 |
return {
|
14758 |
display: function ( d ) {
|
14759 |
+
if ( typeof d !== 'number' && typeof d !== 'string' ) {
|
14760 |
+
return d;
|
14761 |
+
}
|
14762 |
+
|
14763 |
var negative = d < 0 ? '-' : '';
|
14764 |
d = Math.abs( parseFloat( d ) );
|
14765 |
|
14772 |
intPart.toString().replace(
|
14773 |
/\B(?=(\d{3})+(?!\d))/g, thousands
|
14774 |
) +
|
14775 |
+
floatPart +
|
14776 |
+
(postfix||'');
|
14777 |
}
|
14778 |
};
|
14779 |
}
|
14877 |
_fnCalculateColumnWidths: _fnCalculateColumnWidths,
|
14878 |
_fnThrottle: _fnThrottle,
|
14879 |
_fnConvertToWidth: _fnConvertToWidth,
|
|
|
14880 |
_fnGetWidestNode: _fnGetWidestNode,
|
14881 |
_fnGetMaxLenString: _fnGetMaxLenString,
|
14882 |
_fnStringToCss: _fnStringToCss,
|
assets/dependencies/datatables/js/jquery.dataTables.min.js
CHANGED
@@ -1,157 +1,163 @@
|
|
1 |
-
/*!
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
(b.
|
11 |
-
|
12 |
-
b
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
a.
|
20 |
-
|
21 |
-
d.length;f
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
[
|
34 |
-
|
35 |
-
|
36 |
-
b.
|
37 |
-
|
38 |
-
|
39 |
-
a.
|
40 |
-
|
41 |
-
b.
|
42 |
-
|
43 |
-
function
|
44 |
-
|
45 |
-
d=a.
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
b
|
58 |
-
|
59 |
-
i.
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
b
|
64 |
-
|
65 |
-
e[
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
a,
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
b,c
|
77 |
-
|
78 |
-
|
79 |
-
(c===
|
80 |
-
return
|
81 |
-
function(a,b,c){
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
b)
|
97 |
-
this
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
a)}
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
function(
|
119 |
-
b)
|
120 |
-
function(a,b){return
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
c.
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
function(
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
"":"
|
152 |
-
"
|
153 |
-
0
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
g.
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
DataTables 1.10.8
|
3 |
+
©2008-2014 SpryMedia Ltd - datatables.net/license
|
4 |
+
*/
|
5 |
+
(function(Fa,T,k){var S=function(g){function X(a){var b,c,d={};g.each(a,function(e){if((b=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=e.replace(b[0],b[2].toLowerCase()),d[c]=e,"o"===b[1]&&X(a[e])});a._hungarianMap=d}function I(a,b,c){a._hungarianMap||X(a);var d;g.each(b,function(e){d=a._hungarianMap[e];if(d!==k&&(c||b[d]===k))"o"===d.charAt(0)?(b[d]||(b[d]={}),g.extend(!0,b[d],b[e]),I(a[d],b[d],c)):b[d]=b[e]})}function S(a){var b=m.defaults.oLanguage,c=a.sZeroRecords;
|
6 |
+
!a.sEmptyTable&&(c&&"No data available in table"===b.sEmptyTable)&&F(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(c&&"Loading..."===b.sLoadingRecords)&&F(a,a,"sZeroRecords","sLoadingRecords");a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&db(a)}function eb(a){B(a,"ordering","bSort");B(a,"orderMulti","bSortMulti");B(a,"orderClasses","bSortClasses");B(a,"orderCellsTop","bSortCellsTop");B(a,"order","aaSorting");B(a,"orderFixed","aaSortingFixed");B(a,"paging","bPaginate");
|
7 |
+
B(a,"pagingType","sPaginationType");B(a,"pageLength","iDisplayLength");B(a,"searching","bFilter");"boolean"===typeof a.sScrollX&&(a.sScrollX=a.sScrollX?"100%":"");if(a=a.aoSearchCols)for(var b=0,c=a.length;b<c;b++)a[b]&&I(m.models.oSearch,a[b])}function fb(a){B(a,"orderable","bSortable");B(a,"orderData","aDataSort");B(a,"orderSequence","asSorting");B(a,"orderDataType","sortDataType");var b=a.aDataSort;b&&!g.isArray(b)&&(a.aDataSort=[b])}function gb(a){var a=a.oBrowser,b=g("<div/>").css({position:"fixed",
|
8 |
+
top:0,left:0,height:1,width:1,overflow:"hidden"}).append(g("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(g('<div class="test"/>').css({width:"100%",height:10}))).appendTo("body"),c=b.find(".test");a.bScrollOversize=100===c[0].offsetWidth;a.bScrollbarLeft=1!==Math.round(c.offset().left);a.bBounding=b[0].getBoundingClientRect().width?!0:!1;b.remove()}function hb(a,b,c,d,e,f){var h,i=!1;c!==k&&(h=c,i=!0);for(;d!==e;)a.hasOwnProperty(d)&&(h=i?b(h,a[d],d,a):a[d],
|
9 |
+
i=!0,d+=f);return h}function Ga(a,b){var c=m.defaults.column,d=a.aoColumns.length,c=g.extend({},m.models.oColumn,c,{nTh:b?b:T.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.mData:d,idx:d});a.aoColumns.push(c);c=a.aoPreSearchCols;c[d]=g.extend({},m.models.oSearch,c[d]);ka(a,d,g(b).data())}function ka(a,b,c){var b=a.aoColumns[b],d=a.oClasses,e=g(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=e.attr("width")||null;var f=(e.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);
|
10 |
+
f&&(b.sWidthOrig=f[1])}c!==k&&null!==c&&(fb(c),I(m.defaults.column,c),c.mDataProp!==k&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&&!c.sClass&&(c.sClass=c.className),g.extend(b,c),F(b,c,"sWidth","sWidthOrig"),c.iDataSort!==k&&(b.aDataSort=[c.iDataSort]),F(b,c,"aDataSort"));var h=b.mData,i=P(h),j=b.mRender?P(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=g.isPlainObject(h)&&(c(h.sort)||c(h.type)||c(h.filter));b.fnGetData=
|
11 |
+
function(a,b,c){var d=i(a,b,k,c);return j&&b?j(d,b,a,c):d};b.fnSetData=function(a,b,c){return Q(h)(a,b,c)};"number"!==typeof h&&(a._rowReadObject=!0);a.oFeatures.bSort||(b.bSortable=!1,e.addClass(d.sSortableNone));a=-1!==g.inArray("asc",b.asSorting);c=-1!==g.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=d.sSortableNone,b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=d.sSortableAsc,b.sSortingClassJUI=d.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=d.sSortableDesc,b.sSortingClassJUI=
|
12 |
+
d.sSortJUIDescAllowed):(b.sSortingClass=d.sSortable,b.sSortingClassJUI=d.sSortJUI)}function Y(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Ha(a);for(var c=0,d=b.length;c<d;c++)b[c].nTh.style.width=b[c].sWidth}b=a.oScroll;(""!==b.sY||""!==b.sX)&&Z(a);w(a,null,"column-sizing",[a])}function la(a,b){var c=$(a,"bVisible");return"number"===typeof c[b]?c[b]:null}function aa(a,b){var c=$(a,"bVisible"),c=g.inArray(b,c);return-1!==c?c:null}function ba(a){return $(a,"bVisible").length}function $(a,b){var c=
|
13 |
+
[];g.map(a.aoColumns,function(a,e){a[b]&&c.push(e)});return c}function Ia(a){var b=a.aoColumns,c=a.aoData,d=m.ext.type.detect,e,f,h,i,j,g,l,r,q;e=0;for(f=b.length;e<f;e++)if(l=b[e],q=[],!l.sType&&l._sManualType)l.sType=l._sManualType;else if(!l.sType){h=0;for(i=d.length;h<i;h++){j=0;for(g=c.length;j<g;j++){q[j]===k&&(q[j]=y(a,j,e,"type"));r=d[h](q[j],a);if(!r&&h!==d.length-1)break;if("html"===r)break}if(r){l.sType=r;break}}l.sType||(l.sType="string")}}function ib(a,b,c,d){var e,f,h,i,j,n,l=a.aoColumns;
|
14 |
+
if(b)for(e=b.length-1;0<=e;e--){n=b[e];var r=n.targets!==k?n.targets:n.aTargets;g.isArray(r)||(r=[r]);f=0;for(h=r.length;f<h;f++)if("number"===typeof r[f]&&0<=r[f]){for(;l.length<=r[f];)Ga(a);d(r[f],n)}else if("number"===typeof r[f]&&0>r[f])d(l.length+r[f],n);else if("string"===typeof r[f]){i=0;for(j=l.length;i<j;i++)("_all"==r[f]||g(l[i].nTh).hasClass(r[f]))&&d(i,n)}}if(c){e=0;for(a=c.length;e<a;e++)d(e,c[e])}}function L(a,b,c,d){var e=a.aoData.length,f=g.extend(!0,{},m.models.oRow,{src:c?"dom":
|
15 |
+
"data",idx:e});f._aData=b;a.aoData.push(f);for(var h=a.aoColumns,i=0,j=h.length;i<j;i++)c&&Ja(a,e,i,y(a,e,i)),h[i].sType=null;a.aiDisplayMaster.push(e);b=a.rowIdFn(b);b!==k&&(a.aIds[b]=f);(c||!a.oFeatures.bDeferRender)&&Ka(a,e,c,d);return e}function ma(a,b){var c;b instanceof g||(b=g(b));return b.map(function(b,e){c=na(a,e);return L(a,c.data,e,c.cells)})}function y(a,b,c,d){var e=a.iDraw,f=a.aoColumns[c],h=a.aoData[b]._aData,i=f.sDefaultContent,c=f.fnGetData(h,d,{settings:a,row:b,col:c});if(c===k)return a.iDrawError!=
|
16 |
+
e&&null===i&&(J(a,0,"Requested unknown parameter "+("function"==typeof f.mData?"{function}":"'"+f.mData+"'")+" for row "+b,4),a.iDrawError=e),i;if((c===h||null===c)&&null!==i)c=i;else if("function"===typeof c)return c.call(h);return null===c&&"display"==d?"":c}function Ja(a,b,c,d){a.aoColumns[c].fnSetData(a.aoData[b]._aData,d,{settings:a,row:b,col:c})}function La(a){return g.map(a.match(/(\\.|[^\.])+/g)||[""],function(a){return a.replace(/\\./g,".")})}function P(a){if(g.isPlainObject(a)){var b={};
|
17 |
+
g.each(a,function(a,c){c&&(b[a]=P(c))});return function(a,c,f,h){var i=b[c]||b._;return i!==k?i(a,c,f,h):a}}if(null===a)return function(a){return a};if("function"===typeof a)return function(b,c,f,h){return a(b,c,f,h)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("[")||-1!==a.indexOf("("))){var c=function(a,b,f){var h,i;if(""!==f){i=La(f);for(var j=0,g=i.length;j<g;j++){f=i[j].match(ca);h=i[j].match(U);if(f){i[j]=i[j].replace(ca,"");""!==i[j]&&(a=a[i[j]]);h=[];i.splice(0,j+1);i=i.join(".");
|
18 |
+
j=0;for(g=a.length;j<g;j++)h.push(c(a[j],b,i));a=f[0].substring(1,f[0].length-1);a=""===a?h:h.join(a);break}else if(h){i[j]=i[j].replace(U,"");a=a[i[j]]();continue}if(null===a||a[i[j]]===k)return k;a=a[i[j]]}}return a};return function(b,e){return c(b,e,a)}}return function(b){return b[a]}}function Q(a){if(g.isPlainObject(a))return Q(a._);if(null===a)return function(){};if("function"===typeof a)return function(b,d,e){a(b,"set",d,e)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("[")||
|
19 |
+
-1!==a.indexOf("("))){var b=function(a,d,e){var e=La(e),f;f=e[e.length-1];for(var h,i,j=0,g=e.length-1;j<g;j++){h=e[j].match(ca);i=e[j].match(U);if(h){e[j]=e[j].replace(ca,"");a[e[j]]=[];f=e.slice();f.splice(0,j+1);h=f.join(".");i=0;for(g=d.length;i<g;i++)f={},b(f,d[i],h),a[e[j]].push(f);return}i&&(e[j]=e[j].replace(U,""),a=a[e[j]](d));if(null===a[e[j]]||a[e[j]]===k)a[e[j]]={};a=a[e[j]]}if(f.match(U))a[f.replace(U,"")](d);else a[f.replace(ca,"")]=d};return function(c,d){return b(c,d,a)}}return function(b,
|
20 |
+
d){b[a]=d}}function Ma(a){return D(a.aoData,"_aData")}function oa(a){a.aoData.length=0;a.aiDisplayMaster.length=0;a.aiDisplay.length=0}function pa(a,b,c){for(var d=-1,e=0,f=a.length;e<f;e++)a[e]==b?d=e:a[e]>b&&a[e]--; -1!=d&&c===k&&a.splice(d,1)}function da(a,b,c,d){var e=a.aoData[b],f,h=function(c,f){for(;c.childNodes.length;)c.removeChild(c.firstChild);c.innerHTML=y(a,b,f,"display")};if("dom"===c||(!c||"auto"===c)&&"dom"===e.src)e._aData=na(a,e,d,d===k?k:e._aData).data;else{var i=e.anCells;if(i)if(d!==
|
21 |
+
k)h(i[d],d);else{c=0;for(f=i.length;c<f;c++)h(i[c],c)}}e._aSortData=null;e._aFilterData=null;h=a.aoColumns;if(d!==k)h[d].sType=null;else{c=0;for(f=h.length;c<f;c++)h[c].sType=null;Na(a,e)}}function na(a,b,c,d){var e=[],f=b.firstChild,h,i,j=0,n,l=a.aoColumns,r=a._rowReadObject,d=d||r?{}:[],q=function(a,b){if("string"===typeof a){var c=a.indexOf("@");-1!==c&&(c=a.substring(c+1),Q(a)(d,b.getAttribute(c)))}},jb=function(a){if(c===k||c===j)i=l[j],n=g.trim(a.innerHTML),i&&i._bAttrSrc?(Q(i.mData._)(d,n),
|
22 |
+
q(i.mData.sort,a),q(i.mData.type,a),q(i.mData.filter,a)):r?(i._setter||(i._setter=Q(i.mData)),i._setter(d,n)):d[j]=n;j++};if(f)for(;f;){h=f.nodeName.toUpperCase();if("TD"==h||"TH"==h)jb(f),e.push(f);f=f.nextSibling}else{e=b.anCells;f=0;for(h=e.length;f<h;f++)jb(e[f])}(b=b.getAttribute("id"))&&Q(a.rowId)(d,b);return{data:d,cells:e}}function Ka(a,b,c,d){var e=a.aoData[b],f=e._aData,h=[],i,j,g,l,r;if(null===e.nTr){i=c||T.createElement("tr");e.nTr=i;e.anCells=h;i._DT_RowIndex=b;Na(a,e);l=0;for(r=a.aoColumns.length;l<
|
23 |
+
r;l++){g=a.aoColumns[l];j=c?d[l]:T.createElement(g.sCellType);h.push(j);if(!c||g.mRender||g.mData!==l)j.innerHTML=y(a,b,l,"display");g.sClass&&(j.className+=" "+g.sClass);g.bVisible&&!c?i.appendChild(j):!g.bVisible&&c&&j.parentNode.removeChild(j);g.fnCreatedCell&&g.fnCreatedCell.call(a.oInstance,j,y(a,b,l),f,b,l)}w(a,"aoRowCreatedCallback",null,[i,f,b])}e.nTr.setAttribute("role","row")}function Na(a,b){var c=b.nTr,d=b._aData;if(c){var e=a.rowIdFn(d);e&&(c.id=e);d.DT_RowClass&&(e=d.DT_RowClass.split(" "),
|
24 |
+
b.__rowc=b.__rowc?Oa(b.__rowc.concat(e)):e,g(c).removeClass(b.__rowc.join(" ")).addClass(d.DT_RowClass));d.DT_RowAttr&&g(c).attr(d.DT_RowAttr);d.DT_RowData&&g(c).data(d.DT_RowData)}}function kb(a){var b,c,d,e,f,h=a.nTHead,i=a.nTFoot,j=0===g("th, td",h).length,n=a.oClasses,l=a.aoColumns;j&&(e=g("<tr/>").appendTo(h));b=0;for(c=l.length;b<c;b++)f=l[b],d=g(f.nTh).addClass(f.sClass),j&&d.appendTo(e),a.oFeatures.bSort&&(d.addClass(f.sSortingClass),!1!==f.bSortable&&(d.attr("tabindex",a.iTabIndex).attr("aria-controls",
|
25 |
+
a.sTableId),Pa(a,f.nTh,b))),f.sTitle!=d[0].innerHTML&&d.html(f.sTitle),Qa(a,"header")(a,d,f,n);j&&ea(a.aoHeader,h);g(h).find(">tr").attr("role","row");g(h).find(">tr>th, >tr>td").addClass(n.sHeaderTH);g(i).find(">tr>th, >tr>td").addClass(n.sFooterTH);if(null!==i){a=a.aoFooter[0];b=0;for(c=a.length;b<c;b++)f=l[b],f.nTf=a[b].cell,f.sClass&&g(f.nTf).addClass(f.sClass)}}function fa(a,b,c){var d,e,f,h=[],i=[],j=a.aoColumns.length,n;if(b){c===k&&(c=!1);d=0;for(e=b.length;d<e;d++){h[d]=b[d].slice();h[d].nTr=
|
26 |
+
b[d].nTr;for(f=j-1;0<=f;f--)!a.aoColumns[f].bVisible&&!c&&h[d].splice(f,1);i.push([])}d=0;for(e=h.length;d<e;d++){if(a=h[d].nTr)for(;f=a.firstChild;)a.removeChild(f);f=0;for(b=h[d].length;f<b;f++)if(n=j=1,i[d][f]===k){a.appendChild(h[d][f].cell);for(i[d][f]=1;h[d+j]!==k&&h[d][f].cell==h[d+j][f].cell;)i[d+j][f]=1,j++;for(;h[d][f+n]!==k&&h[d][f].cell==h[d][f+n].cell;){for(c=0;c<j;c++)i[d+c][f+n]=1;n++}g(h[d][f].cell).attr("rowspan",j).attr("colspan",n)}}}}function M(a){var b=w(a,"aoPreDrawCallback",
|
27 |
+
"preDraw",[a]);if(-1!==g.inArray(!1,b))C(a,!1);else{var b=[],c=0,d=a.asStripeClasses,e=d.length,f=a.oLanguage,h=a.iInitDisplayStart,i="ssp"==z(a),j=a.aiDisplay;a.bDrawing=!0;h!==k&&-1!==h&&(a._iDisplayStart=i?h:h>=a.fnRecordsDisplay()?0:h,a.iInitDisplayStart=-1);var h=a._iDisplayStart,n=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,C(a,!1);else if(i){if(!a.bDestroying&&!lb(a))return}else a.iDraw++;if(0!==j.length){f=i?a.aoData.length:n;for(i=i?0:h;i<f;i++){var l=j[i],r=a.aoData[l];
|
28 |
+
null===r.nTr&&Ka(a,l);l=r.nTr;if(0!==e){var q=d[c%e];r._sRowStripe!=q&&(g(l).removeClass(r._sRowStripe).addClass(q),r._sRowStripe=q)}w(a,"aoRowCallback",null,[l,r._aData,c,i]);b.push(l);c++}}else c=f.sZeroRecords,1==a.iDraw&&"ajax"==z(a)?c=f.sLoadingRecords:f.sEmptyTable&&0===a.fnRecordsTotal()&&(c=f.sEmptyTable),b[0]=g("<tr/>",{"class":e?d[0]:""}).append(g("<td />",{valign:"top",colSpan:ba(a),"class":a.oClasses.sRowEmpty}).html(c))[0];w(a,"aoHeaderCallback","header",[g(a.nTHead).children("tr")[0],
|
29 |
+
Ma(a),h,n,j]);w(a,"aoFooterCallback","footer",[g(a.nTFoot).children("tr")[0],Ma(a),h,n,j]);d=g(a.nTBody);d.children().detach();d.append(g(b));w(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function R(a,b){var c=a.oFeatures,d=c.bFilter;c.bSort&&mb(a);d?ga(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;M(a);a._drawHold=!1}function nb(a){var b=a.oClasses,c=g(a.nTable),c=g("<div/>").insertBefore(c),d=a.oFeatures,e=g("<div/>",
|
30 |
+
{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});a.nHolding=c[0];a.nTableWrapper=e[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var f=a.sDom.split(""),h,i,j,n,l,r,q=0;q<f.length;q++){h=null;i=f[q];if("<"==i){j=g("<div/>")[0];n=f[q+1];if("'"==n||'"'==n){l="";for(r=2;f[q+r]!=n;)l+=f[q+r],r++;"H"==l?l=b.sJUIHeader:"F"==l&&(l=b.sJUIFooter);-1!=l.indexOf(".")?(n=l.split("."),j.id=n[0].substr(1,n[0].length-1),j.className=n[1]):"#"==l.charAt(0)?j.id=l.substr(1,l.length-
|
31 |
+
1):j.className=l;q+=r}e.append(j);e=g(j)}else if(">"==i)e=e.parent();else if("l"==i&&d.bPaginate&&d.bLengthChange)h=ob(a);else if("f"==i&&d.bFilter)h=pb(a);else if("r"==i&&d.bProcessing)h=qb(a);else if("t"==i)h=rb(a);else if("i"==i&&d.bInfo)h=sb(a);else if("p"==i&&d.bPaginate)h=tb(a);else if(0!==m.ext.feature.length){j=m.ext.feature;r=0;for(n=j.length;r<n;r++)if(i==j[r].cFeature){h=j[r].fnInit(a);break}}h&&(j=a.aanFeatures,j[i]||(j[i]=[]),j[i].push(h),e.append(h))}c.replaceWith(e);a.nHolding=null}
|
32 |
+
function ea(a,b){var c=g(b).children("tr"),d,e,f,h,i,j,n,l,r,q;a.splice(0,a.length);f=0;for(j=c.length;f<j;f++)a.push([]);f=0;for(j=c.length;f<j;f++){d=c[f];for(e=d.firstChild;e;){if("TD"==e.nodeName.toUpperCase()||"TH"==e.nodeName.toUpperCase()){l=1*e.getAttribute("colspan");r=1*e.getAttribute("rowspan");l=!l||0===l||1===l?1:l;r=!r||0===r||1===r?1:r;h=0;for(i=a[f];i[h];)h++;n=h;q=1===l?!0:!1;for(i=0;i<l;i++)for(h=0;h<r;h++)a[f+h][n+i]={cell:e,unique:q},a[f+h].nTr=d}e=e.nextSibling}}}function qa(a,
|
33 |
+
b,c){var d=[];c||(c=a.aoHeader,b&&(c=[],ea(c,b)));for(var b=0,e=c.length;b<e;b++)for(var f=0,h=c[b].length;f<h;f++)if(c[b][f].unique&&(!d[f]||!a.bSortCellsTop))d[f]=c[b][f].cell;return d}function ra(a,b,c){w(a,"aoServerParams","serverParams",[b]);if(b&&g.isArray(b)){var d={},e=/(.*?)\[\]$/;g.each(b,function(a,b){var c=b.name.match(e);c?(c=c[0],d[c]||(d[c]=[]),d[c].push(b.value)):d[b.name]=b.value});b=d}var f,h=a.ajax,i=a.oInstance,j=function(b){w(a,null,"xhr",[a,b,a.jqXHR]);c(b)};if(g.isPlainObject(h)&&
|
34 |
+
h.data){f=h.data;var n=g.isFunction(f)?f(b,a):f,b=g.isFunction(f)&&n?n:g.extend(!0,b,n);delete h.data}n={data:b,success:function(b){var c=b.error||b.sError;c&&J(a,0,c);a.json=b;j(b)},dataType:"json",cache:!1,type:a.sServerMethod,error:function(b,c){var f=w(a,null,"xhr",[a,null,a.jqXHR]);-1===g.inArray(!0,f)&&("parsererror"==c?J(a,0,"Invalid JSON response",1):4===b.readyState&&J(a,0,"Ajax error",7));C(a,!1)}};a.oAjaxData=b;w(a,null,"preXhr",[a,b]);a.fnServerData?a.fnServerData.call(i,a.sAjaxSource,
|
35 |
+
g.map(b,function(a,b){return{name:b,value:a}}),j,a):a.sAjaxSource||"string"===typeof h?a.jqXHR=g.ajax(g.extend(n,{url:h||a.sAjaxSource})):g.isFunction(h)?a.jqXHR=h.call(i,b,j,a):(a.jqXHR=g.ajax(g.extend(n,h)),h.data=f)}function lb(a){return a.bAjaxDataGet?(a.iDraw++,C(a,!0),ra(a,ub(a),function(b){vb(a,b)}),!1):!0}function ub(a){var b=a.aoColumns,c=b.length,d=a.oFeatures,e=a.oPreviousSearch,f=a.aoPreSearchCols,h,i=[],j,n,l,r=V(a);h=a._iDisplayStart;j=!1!==d.bPaginate?a._iDisplayLength:-1;var q=function(a,
|
36 |
+
b){i.push({name:a,value:b})};q("sEcho",a.iDraw);q("iColumns",c);q("sColumns",D(b,"sName").join(","));q("iDisplayStart",h);q("iDisplayLength",j);var k={draw:a.iDraw,columns:[],order:[],start:h,length:j,search:{value:e.sSearch,regex:e.bRegex}};for(h=0;h<c;h++)n=b[h],l=f[h],j="function"==typeof n.mData?"function":n.mData,k.columns.push({data:j,name:n.sName,searchable:n.bSearchable,orderable:n.bSortable,search:{value:l.sSearch,regex:l.bRegex}}),q("mDataProp_"+h,j),d.bFilter&&(q("sSearch_"+h,l.sSearch),
|
37 |
+
q("bRegex_"+h,l.bRegex),q("bSearchable_"+h,n.bSearchable)),d.bSort&&q("bSortable_"+h,n.bSortable);d.bFilter&&(q("sSearch",e.sSearch),q("bRegex",e.bRegex));d.bSort&&(g.each(r,function(a,b){k.order.push({column:b.col,dir:b.dir});q("iSortCol_"+a,b.col);q("sSortDir_"+a,b.dir)}),q("iSortingCols",r.length));b=m.ext.legacy.ajax;return null===b?a.sAjaxSource?i:k:b?i:k}function vb(a,b){var c=sa(a,b),d=b.sEcho!==k?b.sEcho:b.draw,e=b.iTotalRecords!==k?b.iTotalRecords:b.recordsTotal,f=b.iTotalDisplayRecords!==
|
38 |
+
k?b.iTotalDisplayRecords:b.recordsFiltered;if(d){if(1*d<a.iDraw)return;a.iDraw=1*d}oa(a);a._iRecordsTotal=parseInt(e,10);a._iRecordsDisplay=parseInt(f,10);d=0;for(e=c.length;d<e;d++)L(a,c[d]);a.aiDisplay=a.aiDisplayMaster.slice();a.bAjaxDataGet=!1;M(a);a._bInitComplete||ta(a,b);a.bAjaxDataGet=!0;C(a,!1)}function sa(a,b){var c=g.isPlainObject(a.ajax)&&a.ajax.dataSrc!==k?a.ajax.dataSrc:a.sAjaxDataProp;return"data"===c?b.aaData||b[c]:""!==c?P(c)(b):b}function pb(a){var b=a.oClasses,c=a.sTableId,d=a.oLanguage,
|
39 |
+
e=a.oPreviousSearch,f=a.aanFeatures,h='<input type="search" class="'+b.sFilterInput+'"/>',i=d.sSearch,i=i.match(/_INPUT_/)?i.replace("_INPUT_",h):i+h,b=g("<div/>",{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(g("<label/>").append(i)),f=function(){var b=!this.value?"":this.value;b!=e.sSearch&&(ga(a,{sSearch:b,bRegex:e.bRegex,bSmart:e.bSmart,bCaseInsensitive:e.bCaseInsensitive}),a._iDisplayStart=0,M(a))},h=null!==a.searchDelay?a.searchDelay:"ssp"===z(a)?400:0,j=g("input",b).val(e.sSearch).attr("placeholder",
|
40 |
+
d.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",h?ua(f,h):f).bind("keypress.DT",function(a){if(13==a.keyCode)return!1}).attr("aria-controls",c);g(a.nTable).on("search.dt.DT",function(b,c){if(a===c)try{j[0]!==T.activeElement&&j.val(e.sSearch)}catch(f){}});return b[0]}function ga(a,b,c){var d=a.oPreviousSearch,e=a.aoPreSearchCols,f=function(a){d.sSearch=a.sSearch;d.bRegex=a.bRegex;d.bSmart=a.bSmart;d.bCaseInsensitive=a.bCaseInsensitive};Ia(a);if("ssp"!=z(a)){wb(a,b.sSearch,
|
41 |
+
c,b.bEscapeRegex!==k?!b.bEscapeRegex:b.bRegex,b.bSmart,b.bCaseInsensitive);f(b);for(b=0;b<e.length;b++)xb(a,e[b].sSearch,b,e[b].bEscapeRegex!==k?!e[b].bEscapeRegex:e[b].bRegex,e[b].bSmart,e[b].bCaseInsensitive);yb(a)}else f(b);a.bFiltered=!0;w(a,null,"search",[a])}function yb(a){for(var b=m.ext.search,c=a.aiDisplay,d,e,f=0,h=b.length;f<h;f++){for(var i=[],j=0,g=c.length;j<g;j++)e=c[j],d=a.aoData[e],b[f](a,d._aFilterData,e,d._aData,j)&&i.push(e);c.length=0;c.push.apply(c,i)}}function xb(a,b,c,d,e,
|
42 |
+
f){if(""!==b)for(var h=a.aiDisplay,d=Ra(b,d,e,f),e=h.length-1;0<=e;e--)b=a.aoData[h[e]]._aFilterData[c],d.test(b)||h.splice(e,1)}function wb(a,b,c,d,e,f){var d=Ra(b,d,e,f),e=a.oPreviousSearch.sSearch,f=a.aiDisplayMaster,h;0!==m.ext.search.length&&(c=!0);h=zb(a);if(0>=b.length)a.aiDisplay=f.slice();else{if(h||c||e.length>b.length||0!==b.indexOf(e)||a.bSorted)a.aiDisplay=f.slice();b=a.aiDisplay;for(c=b.length-1;0<=c;c--)d.test(a.aoData[b[c]]._sFilterRow)||b.splice(c,1)}}function Ra(a,b,c,d){a=b?a:va(a);
|
43 |
+
c&&(a="^(?=.*?"+g.map(a.match(/"[^"]+"|[^ ]+/g)||[""],function(a){if('"'===a.charAt(0))var b=a.match(/^"(.*)"$/),a=b?b[1]:a;return a.replace('"',"")}).join(")(?=.*?")+").*$");return RegExp(a,d?"i":"")}function va(a){return a.replace(Zb,"\\$1")}function zb(a){var b=a.aoColumns,c,d,e,f,h,i,j,g,l=m.ext.type.search;c=!1;d=0;for(f=a.aoData.length;d<f;d++)if(g=a.aoData[d],!g._aFilterData){i=[];e=0;for(h=b.length;e<h;e++)c=b[e],c.bSearchable?(j=y(a,d,e,"filter"),l[c.sType]&&(j=l[c.sType](j)),null===j&&(j=
|
44 |
+
""),"string"!==typeof j&&j.toString&&(j=j.toString())):j="",j.indexOf&&-1!==j.indexOf("&")&&(wa.innerHTML=j,j=$b?wa.textContent:wa.innerText),j.replace&&(j=j.replace(/[\r\n]/g,"")),i.push(j);g._aFilterData=i;g._sFilterRow=i.join(" ");c=!0}return c}function Ab(a){return{search:a.sSearch,smart:a.bSmart,regex:a.bRegex,caseInsensitive:a.bCaseInsensitive}}function Bb(a){return{sSearch:a.search,bSmart:a.smart,bRegex:a.regex,bCaseInsensitive:a.caseInsensitive}}function sb(a){var b=a.sTableId,c=a.aanFeatures.i,
|
45 |
+
d=g("<div/>",{"class":a.oClasses.sInfo,id:!c?b+"_info":null});c||(a.aoDrawCallback.push({fn:Cb,sName:"information"}),d.attr("role","status").attr("aria-live","polite"),g(a.nTable).attr("aria-describedby",b+"_info"));return d[0]}function Cb(a){var b=a.aanFeatures.i;if(0!==b.length){var c=a.oLanguage,d=a._iDisplayStart+1,e=a.fnDisplayEnd(),f=a.fnRecordsTotal(),h=a.fnRecordsDisplay(),i=h?c.sInfo:c.sInfoEmpty;h!==f&&(i+=" "+c.sInfoFiltered);i+=c.sInfoPostFix;i=Db(a,i);c=c.fnInfoCallback;null!==c&&(i=
|
46 |
+
c.call(a.oInstance,a,d,e,f,h,i));g(b).html(i)}}function Db(a,b){var c=a.fnFormatNumber,d=a._iDisplayStart+1,e=a._iDisplayLength,f=a.fnRecordsDisplay(),h=-1===e;return b.replace(/_START_/g,c.call(a,d)).replace(/_END_/g,c.call(a,a.fnDisplayEnd())).replace(/_MAX_/g,c.call(a,a.fnRecordsTotal())).replace(/_TOTAL_/g,c.call(a,f)).replace(/_PAGE_/g,c.call(a,h?1:Math.ceil(d/e))).replace(/_PAGES_/g,c.call(a,h?1:Math.ceil(f/e)))}function ha(a){var b,c,d=a.iInitDisplayStart,e=a.aoColumns,f;c=a.oFeatures;var h=
|
47 |
+
a.bDeferLoading;if(a.bInitialised){nb(a);kb(a);fa(a,a.aoHeader);fa(a,a.aoFooter);C(a,!0);c.bAutoWidth&&Ha(a);b=0;for(c=e.length;b<c;b++)f=e[b],f.sWidth&&(f.nTh.style.width=u(f.sWidth));w(a,null,"preInit",[a]);R(a);e=z(a);if("ssp"!=e||h)"ajax"==e?ra(a,[],function(c){var f=sa(a,c);for(b=0;b<f.length;b++)L(a,f[b]);a.iInitDisplayStart=d;R(a);C(a,!1);ta(a,c)},a):(C(a,!1),ta(a))}else setTimeout(function(){ha(a)},200)}function ta(a,b){a._bInitComplete=!0;(b||a.oInit.aaData)&&Y(a);w(a,"aoInitComplete","init",
|
48 |
+
[a,b])}function Sa(a,b){var c=parseInt(b,10);a._iDisplayLength=c;Ta(a);w(a,null,"length",[a,c])}function ob(a){for(var b=a.oClasses,c=a.sTableId,d=a.aLengthMenu,e=g.isArray(d[0]),f=e?d[0]:d,d=e?d[1]:d,e=g("<select/>",{name:c+"_length","aria-controls":c,"class":b.sLengthSelect}),h=0,i=f.length;h<i;h++)e[0][h]=new Option(d[h],f[h]);var j=g("<div><label/></div>").addClass(b.sLength);a.aanFeatures.l||(j[0].id=c+"_length");j.children().append(a.oLanguage.sLengthMenu.replace("_MENU_",e[0].outerHTML));g("select",
|
49 |
+
j).val(a._iDisplayLength).bind("change.DT",function(){Sa(a,g(this).val());M(a)});g(a.nTable).bind("length.dt.DT",function(b,c,f){a===c&&g("select",j).val(f)});return j[0]}function tb(a){var b=a.sPaginationType,c=m.ext.pager[b],d="function"===typeof c,e=function(a){M(a)},b=g("<div/>").addClass(a.oClasses.sPaging+b)[0],f=a.aanFeatures;d||c.fnInit(a,b,e);f.p||(b.id=a.sTableId+"_paginate",a.aoDrawCallback.push({fn:function(a){if(d){var b=a._iDisplayStart,g=a._iDisplayLength,n=a.fnRecordsDisplay(),l=-1===
|
50 |
+
g,b=l?0:Math.ceil(b/g),g=l?1:Math.ceil(n/g),n=c(b,g),k,l=0;for(k=f.p.length;l<k;l++)Qa(a,"pageButton")(a,f.p[l],l,n,b,g)}else c.fnUpdate(a,e)},sName:"pagination"}));return b}function Ua(a,b,c){var d=a._iDisplayStart,e=a._iDisplayLength,f=a.fnRecordsDisplay();0===f||-1===e?d=0:"number"===typeof b?(d=b*e,d>f&&(d=0)):"first"==b?d=0:"previous"==b?(d=0<=e?d-e:0,0>d&&(d=0)):"next"==b?d+e<f&&(d+=e):"last"==b?d=Math.floor((f-1)/e)*e:J(a,0,"Unknown paging action: "+b,5);b=a._iDisplayStart!==d;a._iDisplayStart=
|
51 |
+
d;b&&(w(a,null,"page",[a]),c&&M(a));return b}function qb(a){return g("<div/>",{id:!a.aanFeatures.r?a.sTableId+"_processing":null,"class":a.oClasses.sProcessing}).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0]}function C(a,b){a.oFeatures.bProcessing&&g(a.aanFeatures.r).css("display",b?"block":"none");w(a,null,"processing",[a,b])}function rb(a){var b=g(a.nTable);b.attr("role","grid");var c=a.oScroll;if(""===c.sX&&""===c.sY)return a.nTable;var d=c.sX,e=c.sY,f=a.oClasses,h=b.children("caption"),
|
52 |
+
i=h.length?h[0]._captionSide:null,j=g(b[0].cloneNode(!1)),n=g(b[0].cloneNode(!1)),l=b.children("tfoot");c.sX&&"100%"===b.attr("width")&&b.removeAttr("width");l.length||(l=null);j=g("<div/>",{"class":f.sScrollWrapper}).append(g("<div/>",{"class":f.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:d?!d?null:u(d):"100%"}).append(g("<div/>",{"class":f.sScrollHeadInner}).css({"box-sizing":"content-box",width:c.sXInner||"100%"}).append(j.removeAttr("id").css("margin-left",0).append("top"===
|
53 |
+
i?h:null).append(b.children("thead"))))).append(g("<div/>",{"class":f.sScrollBody}).css({position:"relative",overflow:"auto",width:!d?null:u(d)}).append(b));l&&j.append(g("<div/>",{"class":f.sScrollFoot}).css({overflow:"hidden",border:0,width:d?!d?null:u(d):"100%"}).append(g("<div/>",{"class":f.sScrollFootInner}).append(n.removeAttr("id").css("margin-left",0).append("bottom"===i?h:null).append(b.children("tfoot")))));var b=j.children(),k=b[0],f=b[1],q=l?b[2]:null;if(d)g(f).on("scroll.DT",function(){var a=
|
54 |
+
this.scrollLeft;k.scrollLeft=a;l&&(q.scrollLeft=a)});g(f).css(e&&c.bCollapse?"max-height":"height",e);a.nScrollHead=k;a.nScrollBody=f;a.nScrollFoot=q;a.aoDrawCallback.push({fn:Z,sName:"scrolling"});return j[0]}function Z(a){var b=a.oScroll,c=b.sX,d=b.sXInner,e=b.sY,b=b.iBarWidth,f=g(a.nScrollHead),h=f[0].style,i=f.children("div"),j=i[0].style,n=i.children("table"),i=a.nScrollBody,l=g(i),k=i.style,q=g(a.nScrollFoot).children("div"),m=q.children("table"),o=g(a.nTHead),E=g(a.nTable),p=E[0],t=p.style,
|
55 |
+
N=a.nTFoot?g(a.nTFoot):null,Eb=a.oBrowser,w=Eb.bScrollOversize,s,v,O,x,y=[],z=[],A=[],B,C=function(a){a=a.style;a.paddingTop="0";a.paddingBottom="0";a.borderTopWidth="0";a.borderBottomWidth="0";a.height=0};E.children("thead, tfoot").remove();x=o.clone().prependTo(E);o=o.find("tr");v=x.find("tr");x.find("th, td").removeAttr("tabindex");N&&(O=N.clone().prependTo(E),s=N.find("tr"),O=O.find("tr"));c||(k.width="100%",f[0].style.width="100%");g.each(qa(a,x),function(b,c){B=la(a,b);c.style.width=a.aoColumns[B].sWidth});
|
56 |
+
N&&H(function(a){a.style.width=""},O);f=E.outerWidth();if(""===c){t.width="100%";if(w&&(E.find("tbody").height()>i.offsetHeight||"scroll"==l.css("overflow-y")))t.width=u(E.outerWidth()-b);f=E.outerWidth()}else""!==d&&(t.width=u(d),f=E.outerWidth());H(C,v);H(function(a){A.push(a.innerHTML);y.push(u(g(a).css("width")))},v);H(function(a,b){a.style.width=y[b]},o);g(v).height(0);N&&(H(C,O),H(function(a){z.push(u(g(a).css("width")))},O),H(function(a,b){a.style.width=z[b]},s),g(O).height(0));H(function(a,
|
57 |
+
b){a.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+A[b]+"</div>";a.style.width=y[b]},v);N&&H(function(a,b){a.innerHTML="";a.style.width=z[b]},O);if(E.outerWidth()<f){s=i.scrollHeight>i.offsetHeight||"scroll"==l.css("overflow-y")?f+b:f;if(w&&(i.scrollHeight>i.offsetHeight||"scroll"==l.css("overflow-y")))t.width=u(s-b);(""===c||""!==d)&&J(a,1,"Possible column misalignment",6)}else s="100%";k.width=u(s);h.width=u(s);N&&(a.nScrollFoot.style.width=u(s));!e&&w&&(k.height=
|
58 |
+
u(p.offsetHeight+b));c=E.outerWidth();n[0].style.width=u(c);j.width=u(c);d=E.height()>i.clientHeight||"scroll"==l.css("overflow-y");e="padding"+(Eb.bScrollbarLeft?"Left":"Right");j[e]=d?b+"px":"0px";N&&(m[0].style.width=u(c),q[0].style.width=u(c),q[0].style[e]=d?b+"px":"0px");l.scroll();if((a.bSorted||a.bFiltered)&&!a._drawHold)i.scrollTop=0}function H(a,b,c){for(var d=0,e=0,f=b.length,h,i;e<f;){h=b[e].firstChild;for(i=c?c[e].firstChild:null;h;)1===h.nodeType&&(c?a(h,i,d):a(h,d),d++),h=h.nextSibling,
|
59 |
+
i=c?i.nextSibling:null;e++}}function Ha(a){var b=a.nTable,c=a.aoColumns,d=a.oScroll,e=d.sY,f=d.sX,h=d.sXInner,i=c.length,j=$(a,"bVisible"),n=g("th",a.nTHead),l=b.getAttribute("width"),k=b.parentNode,q=!1,m,o,p;p=a.oBrowser;d=p.bScrollOversize;(m=b.style.width)&&-1!==m.indexOf("%")&&(l=m);for(m=0;m<j.length;m++)o=c[j[m]],null!==o.sWidth&&(o.sWidth=Fb(o.sWidthOrig,k),q=!0);if(d||!q&&!f&&!e&&i==ba(a)&&i==n.length)for(m=0;m<i;m++)c[m].sWidth=u(n.eq(m).width());else{i=g(b).clone().css("visibility","hidden").removeAttr("id");
|
60 |
+
i.find("tbody tr").remove();var t=g("<tr/>").appendTo(i.find("tbody"));i.find("thead, tfoot").remove();i.append(g(a.nTHead).clone()).append(g(a.nTFoot).clone());i.find("tfoot th, tfoot td").css("width","");n=qa(a,i.find("thead")[0]);for(m=0;m<j.length;m++)o=c[j[m]],n[m].style.width=null!==o.sWidthOrig&&""!==o.sWidthOrig?u(o.sWidthOrig):"";if(a.aoData.length)for(m=0;m<j.length;m++)q=j[m],o=c[q],g(Gb(a,q)).clone(!1).append(o.sContentPadding).appendTo(t);q=g("<div/>").css(f||e?{position:"absolute",top:0,
|
61 |
+
left:0,height:1,right:0,overflow:"hidden"}:{}).append(i).appendTo(k);f&&h?i.width(h):f?(i.css("width","auto"),i.width()<k.clientWidth&&i.width(k.clientWidth)):e?i.width(k.clientWidth):l&&i.width(l);if(f){for(m=h=0;m<j.length;m++)o=c[j[m]],e=p.bBounding?n[m].getBoundingClientRect().width:g(n[m]).outerWidth(),h+=null===o.sWidthOrig?e:parseInt(o.sWidth,10)+e-g(n[m]).width();i.width(u(h));b.style.width=u(h)}for(m=0;m<j.length;m++)if(o=c[j[m]],p=g(n[m]).width())o.sWidth=u(p);b.style.width=u(i.css("width"));
|
62 |
+
q.remove()}l&&(b.style.width=u(l));if((l||f)&&!a._reszEvt)b=function(){g(Fa).bind("resize.DT-"+a.sInstance,ua(function(){Y(a)}))},d?setTimeout(b,1E3):b(),a._reszEvt=!0}function ua(a,b){var c=b!==k?b:200,d,e;return function(){var b=this,h=+new Date,i=arguments;d&&h<d+c?(clearTimeout(e),e=setTimeout(function(){d=k;a.apply(b,i)},c)):(d=h,a.apply(b,i))}}function Fb(a,b){if(!a)return 0;var c=g("<div/>").css("width",u(a)).appendTo(b||T.body),d=c[0].offsetWidth;c.remove();return d}function Gb(a,b){var c=
|
63 |
+
Hb(a,b);if(0>c)return null;var d=a.aoData[c];return!d.nTr?g("<td/>").html(y(a,c,b,"display"))[0]:d.anCells[b]}function Hb(a,b){for(var c,d=-1,e=-1,f=0,h=a.aoData.length;f<h;f++)c=y(a,f,b,"display")+"",c=c.replace(ac,""),c.length>d&&(d=c.length,e=f);return e}function u(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function Ib(){var a=m.__scrollbarWidth;if(a===k){var b=g("<p/>").css({position:"absolute",top:0,left:0,width:"100%",height:150,padding:0,overflow:"scroll",
|
64 |
+
visibility:"hidden"}).appendTo("body"),a=b[0].offsetWidth-b[0].clientWidth;m.__scrollbarWidth=a;b.remove()}return a}function V(a){var b,c,d=[],e=a.aoColumns,f,h,i,j;b=a.aaSortingFixed;c=g.isPlainObject(b);var n=[];f=function(a){a.length&&!g.isArray(a[0])?n.push(a):n.push.apply(n,a)};g.isArray(b)&&f(b);c&&b.pre&&f(b.pre);f(a.aaSorting);c&&b.post&&f(b.post);for(a=0;a<n.length;a++){j=n[a][0];f=e[j].aDataSort;b=0;for(c=f.length;b<c;b++)h=f[b],i=e[h].sType||"string",n[a]._idx===k&&(n[a]._idx=g.inArray(n[a][1],
|
65 |
+
e[h].asSorting)),d.push({src:j,col:h,dir:n[a][1],index:n[a]._idx,type:i,formatter:m.ext.type.order[i+"-pre"]})}return d}function mb(a){var b,c,d=[],e=m.ext.type.order,f=a.aoData,h=0,i,g=a.aiDisplayMaster,n;Ia(a);n=V(a);b=0;for(c=n.length;b<c;b++)i=n[b],i.formatter&&h++,Jb(a,i.col);if("ssp"!=z(a)&&0!==n.length){b=0;for(c=g.length;b<c;b++)d[g[b]]=b;h===n.length?g.sort(function(a,b){var c,e,h,i,g=n.length,j=f[a]._aSortData,k=f[b]._aSortData;for(h=0;h<g;h++)if(i=n[h],c=j[i.col],e=k[i.col],c=c<e?-1:c>
|
66 |
+
e?1:0,0!==c)return"asc"===i.dir?c:-c;c=d[a];e=d[b];return c<e?-1:c>e?1:0}):g.sort(function(a,b){var c,h,i,g,j=n.length,k=f[a]._aSortData,m=f[b]._aSortData;for(i=0;i<j;i++)if(g=n[i],c=k[g.col],h=m[g.col],g=e[g.type+"-"+g.dir]||e["string-"+g.dir],c=g(c,h),0!==c)return c;c=d[a];h=d[b];return c<h?-1:c>h?1:0})}a.bSorted=!0}function Kb(a){for(var b,c,d=a.aoColumns,e=V(a),a=a.oLanguage.oAria,f=0,h=d.length;f<h;f++){c=d[f];var i=c.asSorting;b=c.sTitle.replace(/<.*?>/g,"");var g=c.nTh;g.removeAttribute("aria-sort");
|
67 |
+
c.bSortable&&(0<e.length&&e[0].col==f?(g.setAttribute("aria-sort","asc"==e[0].dir?"ascending":"descending"),c=i[e[0].index+1]||i[0]):c=i[0],b+="asc"===c?a.sSortAscending:a.sSortDescending);g.setAttribute("aria-label",b)}}function Va(a,b,c,d){var e=a.aaSorting,f=a.aoColumns[b].asSorting,h=function(a,b){var c=a._idx;c===k&&(c=g.inArray(a[1],f));return c+1<f.length?c+1:b?null:0};"number"===typeof e[0]&&(e=a.aaSorting=[e]);c&&a.oFeatures.bSortMulti?(c=g.inArray(b,D(e,"0")),-1!==c?(b=h(e[c],!0),null===
|
68 |
+
b&&1===e.length&&(b=0),null===b?e.splice(c,1):(e[c][1]=f[b],e[c]._idx=b)):(e.push([b,f[0],0]),e[e.length-1]._idx=0)):e.length&&e[0][0]==b?(b=h(e[0]),e.length=1,e[0][1]=f[b],e[0]._idx=b):(e.length=0,e.push([b,f[0]]),e[0]._idx=0);R(a);"function"==typeof d&&d(a)}function Pa(a,b,c,d){var e=a.aoColumns[c];Wa(b,{},function(b){!1!==e.bSortable&&(a.oFeatures.bProcessing?(C(a,!0),setTimeout(function(){Va(a,c,b.shiftKey,d);"ssp"!==z(a)&&C(a,!1)},0)):Va(a,c,b.shiftKey,d))})}function xa(a){var b=a.aLastSort,
|
69 |
+
c=a.oClasses.sSortColumn,d=V(a),e=a.oFeatures,f,h;if(e.bSort&&e.bSortClasses){e=0;for(f=b.length;e<f;e++)h=b[e].src,g(D(a.aoData,"anCells",h)).removeClass(c+(2>e?e+1:3));e=0;for(f=d.length;e<f;e++)h=d[e].src,g(D(a.aoData,"anCells",h)).addClass(c+(2>e?e+1:3))}a.aLastSort=d}function Jb(a,b){var c=a.aoColumns[b],d=m.ext.order[c.sSortDataType],e;d&&(e=d.call(a.oInstance,a,b,aa(a,b)));for(var f,h=m.ext.type.order[c.sType+"-pre"],i=0,g=a.aoData.length;i<g;i++)if(c=a.aoData[i],c._aSortData||(c._aSortData=
|
70 |
+
[]),!c._aSortData[b]||d)f=d?e[i]:y(a,i,b,"sort"),c._aSortData[b]=h?h(f):f}function ya(a){if(a.oFeatures.bStateSave&&!a.bDestroying){var b={time:+new Date,start:a._iDisplayStart,length:a._iDisplayLength,order:g.extend(!0,[],a.aaSorting),search:Ab(a.oPreviousSearch),columns:g.map(a.aoColumns,function(b,d){return{visible:b.bVisible,search:Ab(a.aoPreSearchCols[d])}})};w(a,"aoStateSaveParams","stateSaveParams",[a,b]);a.oSavedState=b;a.fnStateSaveCallback.call(a.oInstance,a,b)}}function Lb(a){var b,c,d=
|
71 |
+
a.aoColumns;if(a.oFeatures.bStateSave){var e=a.fnStateLoadCallback.call(a.oInstance,a);if(e&&e.time&&(b=w(a,"aoStateLoadParams","stateLoadParams",[a,e]),-1===g.inArray(!1,b)&&(b=a.iStateDuration,!(0<b&&e.time<+new Date-1E3*b)&&d.length===e.columns.length))){a.oLoadedState=g.extend(!0,{},e);e.start!==k&&(a._iDisplayStart=e.start,a.iInitDisplayStart=e.start);e.length!==k&&(a._iDisplayLength=e.length);e.order!==k&&(a.aaSorting=[],g.each(e.order,function(b,c){a.aaSorting.push(c[0]>=d.length?[0,c[1]]:
|
72 |
+
c)}));e.search!==k&&g.extend(a.oPreviousSearch,Bb(e.search));b=0;for(c=e.columns.length;b<c;b++){var f=e.columns[b];f.visible!==k&&(d[b].bVisible=f.visible);f.search!==k&&g.extend(a.aoPreSearchCols[b],Bb(f.search))}w(a,"aoStateLoaded","stateLoaded",[a,e])}}}function za(a){var b=m.settings,a=g.inArray(a,D(b,"nTable"));return-1!==a?b[a]:null}function J(a,b,c,d){c="DataTables warning: "+(a?"table id="+a.sTableId+" - ":"")+c;d&&(c+=". For more information about this error, please see http://datatables.net/tn/"+
|
73 |
+
d);if(b)Fa.console&&console.log&&console.log(c);else if(b=m.ext,b=b.sErrMode||b.errMode,a&&w(a,null,"error",[a,d,c]),"alert"==b)alert(c);else{if("throw"==b)throw Error(c);"function"==typeof b&&b(a,d,c)}}function F(a,b,c,d){g.isArray(c)?g.each(c,function(c,f){g.isArray(f)?F(a,b,f[0],f[1]):F(a,b,f)}):(d===k&&(d=c),b[c]!==k&&(a[d]=b[c]))}function Mb(a,b,c){var d,e;for(e in b)b.hasOwnProperty(e)&&(d=b[e],g.isPlainObject(d)?(g.isPlainObject(a[e])||(a[e]={}),g.extend(!0,a[e],d)):a[e]=c&&"data"!==e&&"aaData"!==
|
74 |
+
e&&g.isArray(d)?d.slice():d);return a}function Wa(a,b,c){g(a).bind("click.DT",b,function(b){a.blur();c(b)}).bind("keypress.DT",b,function(a){13===a.which&&(a.preventDefault(),c(a))}).bind("selectstart.DT",function(){return!1})}function A(a,b,c,d){c&&a[b].push({fn:c,sName:d})}function w(a,b,c,d){var e=[];b&&(e=g.map(a[b].slice().reverse(),function(b){return b.fn.apply(a.oInstance,d)}));null!==c&&(b=g.Event(c+".dt"),g(a.nTable).trigger(b,d),e.push(b.result));return e}function Ta(a){var b=a._iDisplayStart,
|
75 |
+
c=a.fnDisplayEnd(),d=a._iDisplayLength;b>=c&&(b=c-d);b-=b%d;if(-1===d||0>b)b=0;a._iDisplayStart=b}function Qa(a,b){var c=a.renderer,d=m.ext.renderer[b];return g.isPlainObject(c)&&c[b]?d[c[b]]||d._:"string"===typeof c?d[c]||d._:d._}function z(a){return a.oFeatures.bServerSide?"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function Aa(a,b){var c=[],c=Nb.numbers_length,d=Math.floor(c/2);b<=c?c=W(0,b):a<=d?(c=W(0,c-2),c.push("ellipsis"),c.push(b-1)):(a>=b-1-d?c=W(b-(c-2),b):(c=W(a-d+2,a+d-1),c.push("ellipsis"),
|
76 |
+
c.push(b-1)),c.splice(0,0,"ellipsis"),c.splice(0,0,0));c.DT_el="span";return c}function db(a){g.each({num:function(b){return Ba(b,a)},"num-fmt":function(b){return Ba(b,a,Xa)},"html-num":function(b){return Ba(b,a,Ca)},"html-num-fmt":function(b){return Ba(b,a,Ca,Xa)}},function(b,c){v.type.order[b+a+"-pre"]=c;b.match(/^html\-/)&&(v.type.search[b+a]=v.type.search.html)})}function Ob(a){return function(){var b=[za(this[m.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return m.ext.internal[a].apply(this,
|
77 |
+
b)}}var m,v,t,p,s,Ya={},Pb=/[\r\n]/g,Ca=/<.*?>/g,bc=/^[\w\+\-]/,cc=/[\w\+\-]$/,Zb=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Xa=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,K=function(a){return!a||!0===a||"-"===a?!0:!1},Qb=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Rb=function(a,b){Ya[b]||(Ya[b]=RegExp(va(b),"g"));return"string"===typeof a&&"."!==b?a.replace(/\./g,"").replace(Ya[b],"."):a},Za=function(a,b,c){var d="string"===typeof a;
|
78 |
+
if(K(a))return!0;b&&d&&(a=Rb(a,b));c&&d&&(a=a.replace(Xa,""));return!isNaN(parseFloat(a))&&isFinite(a)},Sb=function(a,b,c){return K(a)?!0:!(K(a)||"string"===typeof a)?null:Za(a.replace(Ca,""),b,c)?!0:null},D=function(a,b,c){var d=[],e=0,f=a.length;if(c!==k)for(;e<f;e++)a[e]&&a[e][b]&&d.push(a[e][b][c]);else for(;e<f;e++)a[e]&&d.push(a[e][b]);return d},ia=function(a,b,c,d){var e=[],f=0,h=b.length;if(d!==k)for(;f<h;f++)a[b[f]][c]&&e.push(a[b[f]][c][d]);else for(;f<h;f++)e.push(a[b[f]][c]);return e},
|
79 |
+
W=function(a,b){var c=[],d;b===k?(b=0,d=a):(d=b,b=a);for(var e=b;e<d;e++)c.push(e);return c},Tb=function(a){for(var b=[],c=0,d=a.length;c<d;c++)a[c]&&b.push(a[c]);return b},Oa=function(a){var b=[],c,d,e=a.length,f,h=0;d=0;a:for(;d<e;d++){c=a[d];for(f=0;f<h;f++)if(b[f]===c)continue a;b.push(c);h++}return b},B=function(a,b,c){a[b]!==k&&(a[c]=a[b])},ca=/\[.*?\]$/,U=/\(\)$/,wa=g("<div>")[0],$b=wa.textContent!==k,ac=/<.*?>/g;m=function(a){this.$=function(a,b){return this.api(!0).$(a,b)};this._=function(a,
|
80 |
+
b){return this.api(!0).rows(a,b).data()};this.api=function(a){return a?new t(za(this[v.iApiIndex])):new t(this)};this.fnAddData=function(a,b){var c=this.api(!0),d=g.isArray(a)&&(g.isArray(a[0])||g.isPlainObject(a[0]))?c.rows.add(a):c.row.add(a);(b===k||b)&&c.draw();return d.flatten().toArray()};this.fnAdjustColumnSizing=function(a){var b=this.api(!0).columns.adjust(),c=b.settings()[0],d=c.oScroll;a===k||a?b.draw(!1):(""!==d.sX||""!==d.sY)&&Z(c)};this.fnClearTable=function(a){var b=this.api(!0).clear();
|
81 |
+
(a===k||a)&&b.draw()};this.fnClose=function(a){this.api(!0).row(a).child.hide()};this.fnDeleteRow=function(a,b,c){var d=this.api(!0),a=d.rows(a),e=a.settings()[0],g=e.aoData[a[0][0]];a.remove();b&&b.call(this,e,g);(c===k||c)&&d.draw();return g};this.fnDestroy=function(a){this.api(!0).destroy(a)};this.fnDraw=function(a){this.api(!0).draw(a)};this.fnFilter=function(a,b,c,d,e,g){e=this.api(!0);null===b||b===k?e.search(a,c,d,g):e.column(b).search(a,c,d,g);e.draw()};this.fnGetData=function(a,b){var c=
|
82 |
+
this.api(!0);if(a!==k){var d=a.nodeName?a.nodeName.toLowerCase():"";return b!==k||"td"==d||"th"==d?c.cell(a,b).data():c.row(a).data()||null}return c.data().toArray()};this.fnGetNodes=function(a){var b=this.api(!0);return a!==k?b.row(a).node():b.rows().nodes().flatten().toArray()};this.fnGetPosition=function(a){var b=this.api(!0),c=a.nodeName.toUpperCase();return"TR"==c?b.row(a).index():"TD"==c||"TH"==c?(a=b.cell(a).index(),[a.row,a.columnVisible,a.column]):null};this.fnIsOpen=function(a){return this.api(!0).row(a).child.isShown()};
|
83 |
+
this.fnOpen=function(a,b,c){return this.api(!0).row(a).child(b,c).show().child()[0]};this.fnPageChange=function(a,b){var c=this.api(!0).page(a);(b===k||b)&&c.draw(!1)};this.fnSetColumnVis=function(a,b,c){a=this.api(!0).column(a).visible(b);(c===k||c)&&a.columns.adjust().draw()};this.fnSettings=function(){return za(this[v.iApiIndex])};this.fnSort=function(a){this.api(!0).order(a).draw()};this.fnSortListener=function(a,b,c){this.api(!0).order.listener(a,b,c)};this.fnUpdate=function(a,b,c,d,e){var g=
|
84 |
+
this.api(!0);c===k||null===c?g.row(b).data(a):g.cell(b,c).data(a);(e===k||e)&&g.columns.adjust();(d===k||d)&&g.draw();return 0};this.fnVersionCheck=v.fnVersionCheck;var b=this,c=a===k,d=this.length;c&&(a={});this.oApi=this.internal=v.internal;for(var e in m.ext.internal)e&&(this[e]=Ob(e));this.each(function(){var f={},f=1<d?Mb(f,a,!0):a,e=0,i,j=this.getAttribute("id"),n=!1,l=m.defaults,r=g(this);if("table"!=this.nodeName.toLowerCase())J(null,0,"Non-table node initialisation ("+this.nodeName+")",2);
|
85 |
+
else{eb(l);fb(l.column);I(l,l,!0);I(l.column,l.column,!0);I(l,g.extend(f,r.data()));var q=m.settings,e=0;for(i=q.length;e<i;e++){var p=q[e];if(p.nTable==this||p.nTHead.parentNode==this||p.nTFoot&&p.nTFoot.parentNode==this){e=f.bRetrieve!==k?f.bRetrieve:l.bRetrieve;if(c||e)return p.oInstance;if(f.bDestroy!==k?f.bDestroy:l.bDestroy){p.oInstance.fnDestroy();break}else{J(p,0,"Cannot reinitialise DataTable",3);return}}if(p.sTableId==this.id){q.splice(e,1);break}}if(null===j||""===j)this.id=j="DataTables_Table_"+
|
86 |
+
m.ext._unique++;var o=g.extend(!0,{},m.models.oSettings,{sDestroyWidth:r[0].style.width,sInstance:j,sTableId:j});o.nTable=this;o.oApi=b.internal;o.oInit=f;q.push(o);o.oInstance=1===b.length?b:r.dataTable();eb(f);f.oLanguage&&S(f.oLanguage);f.aLengthMenu&&!f.iDisplayLength&&(f.iDisplayLength=g.isArray(f.aLengthMenu[0])?f.aLengthMenu[0][0]:f.aLengthMenu[0]);f=Mb(g.extend(!0,{},l),f);F(o.oFeatures,f,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" "));
|
87 |
+
F(o,f,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"],["bJQueryUI","bJUI"]]);F(o.oScroll,f,[["sScrollX","sX"],["sScrollXInner",
|
88 |
+
"sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]);F(o.oLanguage,f,"fnInfoCallback");A(o,"aoDrawCallback",f.fnDrawCallback,"user");A(o,"aoServerParams",f.fnServerParams,"user");A(o,"aoStateSaveParams",f.fnStateSaveParams,"user");A(o,"aoStateLoadParams",f.fnStateLoadParams,"user");A(o,"aoStateLoaded",f.fnStateLoaded,"user");A(o,"aoRowCallback",f.fnRowCallback,"user");A(o,"aoRowCreatedCallback",f.fnCreatedRow,"user");A(o,"aoHeaderCallback",f.fnHeaderCallback,"user");A(o,"aoFooterCallback",
|
89 |
+
f.fnFooterCallback,"user");A(o,"aoInitComplete",f.fnInitComplete,"user");A(o,"aoPreDrawCallback",f.fnPreDrawCallback,"user");o.rowIdFn=P(f.rowId);j=o.oClasses;f.bJQueryUI?(g.extend(j,m.ext.oJUIClasses,f.oClasses),f.sDom===l.sDom&&"lfrtip"===l.sDom&&(o.sDom='<"H"lfr>t<"F"ip>'),o.renderer)?g.isPlainObject(o.renderer)&&!o.renderer.header&&(o.renderer.header="jqueryui"):o.renderer="jqueryui":g.extend(j,m.ext.classes,f.oClasses);r.addClass(j.sTable);if(""!==o.oScroll.sX||""!==o.oScroll.sY)o.oScroll.iBarWidth=
|
90 |
+
Ib();o.iInitDisplayStart===k&&(o.iInitDisplayStart=f.iDisplayStart,o._iDisplayStart=f.iDisplayStart);null!==f.iDeferLoading&&(o.bDeferLoading=!0,e=g.isArray(f.iDeferLoading),o._iRecordsDisplay=e?f.iDeferLoading[0]:f.iDeferLoading,o._iRecordsTotal=e?f.iDeferLoading[1]:f.iDeferLoading);var t=o.oLanguage;g.extend(!0,t,f.oLanguage);""!==t.sUrl&&(g.ajax({dataType:"json",url:t.sUrl,success:function(a){S(a);I(l.oLanguage,a);g.extend(true,t,a);ha(o)},error:function(){ha(o)}}),n=!0);null===f.asStripeClasses&&
|
91 |
+
(o.asStripeClasses=[j.sStripeOdd,j.sStripeEven]);var e=o.asStripeClasses,s=r.children("tbody").find("tr").eq(0);-1!==g.inArray(!0,g.map(e,function(a){return s.hasClass(a)}))&&(g("tbody tr",this).removeClass(e.join(" ")),o.asDestroyStripes=e.slice());q=[];e=this.getElementsByTagName("thead");0!==e.length&&(ea(o.aoHeader,e[0]),q=qa(o));if(null===f.aoColumns){p=[];e=0;for(i=q.length;e<i;e++)p.push(null)}else p=f.aoColumns;e=0;for(i=p.length;e<i;e++)Ga(o,q?q[e]:null);ib(o,f.aoColumnDefs,p,function(a,
|
92 |
+
b){ka(o,a,b)});if(s.length){var u=function(a,b){return a.getAttribute("data-"+b)!==null?b:null};g.each(na(o,s[0]).cells,function(a,b){var c=o.aoColumns[a];if(c.mData===a){var d=u(b,"sort")||u(b,"order"),e=u(b,"filter")||u(b,"search");if(d!==null||e!==null){c.mData={_:a+".display",sort:d!==null?a+".@data-"+d:k,type:d!==null?a+".@data-"+d:k,filter:e!==null?a+".@data-"+e:k};ka(o,a)}}})}var v=o.oFeatures;f.bStateSave&&(v.bStateSave=!0,Lb(o,f),A(o,"aoDrawCallback",ya,"state_save"));if(f.aaSorting===k){q=
|
93 |
+
o.aaSorting;e=0;for(i=q.length;e<i;e++)q[e][1]=o.aoColumns[e].asSorting[0]}xa(o);v.bSort&&A(o,"aoDrawCallback",function(){if(o.bSorted){var a=V(o),b={};g.each(a,function(a,c){b[c.src]=c.dir});w(o,null,"order",[o,a,b]);Kb(o)}});A(o,"aoDrawCallback",function(){(o.bSorted||z(o)==="ssp"||v.bDeferRender)&&xa(o)},"sc");gb(o);e=r.children("caption").each(function(){this._captionSide=r.css("caption-side")});i=r.children("thead");0===i.length&&(i=g("<thead/>").appendTo(this));o.nTHead=i[0];i=r.children("tbody");
|
94 |
+
0===i.length&&(i=g("<tbody/>").appendTo(this));o.nTBody=i[0];i=r.children("tfoot");if(0===i.length&&0<e.length&&(""!==o.oScroll.sX||""!==o.oScroll.sY))i=g("<tfoot/>").appendTo(this);0===i.length||0===i.children().length?r.addClass(j.sNoFooter):0<i.length&&(o.nTFoot=i[0],ea(o.aoFooter,o.nTFoot));if(f.aaData)for(e=0;e<f.aaData.length;e++)L(o,f.aaData[e]);else(o.bDeferLoading||"dom"==z(o))&&ma(o,g(o.nTBody).children("tr"));o.aiDisplay=o.aiDisplayMaster.slice();o.bInitialised=!0;!1===n&&ha(o)}});b=null;
|
95 |
+
return this};var Ub=[],x=Array.prototype,dc=function(a){var b,c,d=m.settings,e=g.map(d,function(a){return a.nTable});if(a){if(a.nTable&&a.oApi)return[a];if(a.nodeName&&"table"===a.nodeName.toLowerCase())return b=g.inArray(a,e),-1!==b?[d[b]]:null;if(a&&"function"===typeof a.settings)return a.settings().toArray();"string"===typeof a?c=g(a):a instanceof g&&(c=a)}else return[];if(c)return c.map(function(){b=g.inArray(this,e);return-1!==b?d[b]:null}).toArray()};t=function(a,b){if(!(this instanceof t))return new t(a,
|
96 |
+
b);var c=[],d=function(a){(a=dc(a))&&c.push.apply(c,a)};if(g.isArray(a))for(var e=0,f=a.length;e<f;e++)d(a[e]);else d(a);this.context=Oa(c);b&&this.push.apply(this,b.toArray?b.toArray():b);this.selector={rows:null,cols:null,opts:null};t.extend(this,this,Ub)};m.Api=t;t.prototype={any:function(){return 0!==this.count()},concat:x.concat,context:[],count:function(){return this.flatten().length},each:function(a){for(var b=0,c=this.length;b<c;b++)a.call(this,this[b],b,this);return this},eq:function(a){var b=
|
97 |
+
this.context;return b.length>a?new t(b[a],this[a]):null},filter:function(a){var b=[];if(x.filter)b=x.filter.call(this,a,this);else for(var c=0,d=this.length;c<d;c++)a.call(this,this[c],c,this)&&b.push(this[c]);return new t(this.context,b)},flatten:function(){var a=[];return new t(this.context,a.concat.apply(a,this.toArray()))},join:x.join,indexOf:x.indexOf||function(a,b){for(var c=b||0,d=this.length;c<d;c++)if(this[c]===a)return c;return-1},iterator:function(a,b,c,d){var e=[],f,h,g,j,n,l=this.context,
|
98 |
+
m,q,p=this.selector;"string"===typeof a&&(d=c,c=b,b=a,a=!1);h=0;for(g=l.length;h<g;h++){var o=new t(l[h]);if("table"===b)f=c.call(o,l[h],h),f!==k&&e.push(f);else if("columns"===b||"rows"===b)f=c.call(o,l[h],this[h],h),f!==k&&e.push(f);else if("column"===b||"column-rows"===b||"row"===b||"cell"===b){q=this[h];"column-rows"===b&&(m=Da(l[h],p.opts));j=0;for(n=q.length;j<n;j++)f=q[j],f="cell"===b?c.call(o,l[h],f.row,f.column,h,j):c.call(o,l[h],f,h,j,m),f!==k&&e.push(f)}}return e.length||d?(a=new t(l,a?
|
99 |
+
e.concat.apply([],e):e),b=a.selector,b.rows=p.rows,b.cols=p.cols,b.opts=p.opts,a):this},lastIndexOf:x.lastIndexOf||function(a,b){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(a){var b=[];if(x.map)b=x.map.call(this,a,this);else for(var c=0,d=this.length;c<d;c++)b.push(a.call(this,this[c],c));return new t(this.context,b)},pluck:function(a){return this.map(function(b){return b[a]})},pop:x.pop,push:x.push,reduce:x.reduce||function(a,b){return hb(this,a,b,0,this.length,
|
100 |
+
1)},reduceRight:x.reduceRight||function(a,b){return hb(this,a,b,this.length-1,-1,-1)},reverse:x.reverse,selector:null,shift:x.shift,sort:x.sort,splice:x.splice,toArray:function(){return x.slice.call(this)},to$:function(){return g(this)},toJQuery:function(){return g(this)},unique:function(){return new t(this.context,Oa(this))},unshift:x.unshift};t.extend=function(a,b,c){if(c.length&&b&&(b instanceof t||b.__dt_wrapper)){var d,e,f,h=function(a,b,c){return function(){var d=b.apply(a,arguments);t.extend(d,
|
101 |
+
d,c.methodExt);return d}};d=0;for(e=c.length;d<e;d++)f=c[d],b[f.name]="function"===typeof f.val?h(a,f.val,f):g.isPlainObject(f.val)?{}:f.val,b[f.name].__dt_wrapper=!0,t.extend(a,b[f.name],f.propExt)}};t.register=p=function(a,b){if(g.isArray(a))for(var c=0,d=a.length;c<d;c++)t.register(a[c],b);else for(var e=a.split("."),f=Ub,h,i,c=0,d=e.length;c<d;c++){h=(i=-1!==e[c].indexOf("()"))?e[c].replace("()",""):e[c];var j;a:{j=0;for(var n=f.length;j<n;j++)if(f[j].name===h){j=f[j];break a}j=null}j||(j={name:h,
|
102 |
+
val:{},methodExt:[],propExt:[]},f.push(j));c===d-1?j.val=b:f=i?j.methodExt:j.propExt}};t.registerPlural=s=function(a,b,c){t.register(a,c);t.register(b,function(){var a=c.apply(this,arguments);return a===this?this:a instanceof t?a.length?g.isArray(a[0])?new t(a.context,a[0]):a[0]:k:a})};p("tables()",function(a){var b;if(a){b=t;var c=this.context;if("number"===typeof a)a=[c[a]];else var d=g.map(c,function(a){return a.nTable}),a=g(d).filter(a).map(function(){var a=g.inArray(this,d);return c[a]}).toArray();
|
103 |
+
b=new b(a)}else b=this;return b});p("table()",function(a){var a=this.tables(a),b=a.context;return b.length?new t(b[0]):a});s("tables().nodes()","table().node()",function(){return this.iterator("table",function(a){return a.nTable},1)});s("tables().body()","table().body()",function(){return this.iterator("table",function(a){return a.nTBody},1)});s("tables().header()","table().header()",function(){return this.iterator("table",function(a){return a.nTHead},1)});s("tables().footer()","table().footer()",
|
104 |
+
function(){return this.iterator("table",function(a){return a.nTFoot},1)});s("tables().containers()","table().container()",function(){return this.iterator("table",function(a){return a.nTableWrapper},1)});p("draw()",function(a){return this.iterator("table",function(b){"page"===a?M(b):("string"===typeof a&&(a="full-hold"===a?!1:!0),R(b,!1===a))})});p("page()",function(a){return a===k?this.page.info().page:this.iterator("table",function(b){Ua(b,a)})});p("page.info()",function(){if(0===this.context.length)return k;
|
105 |
+
var a=this.context[0],b=a._iDisplayStart,c=a._iDisplayLength,d=a.fnRecordsDisplay(),e=-1===c;return{page:e?0:Math.floor(b/c),pages:e?1:Math.ceil(d/c),start:b,end:a.fnDisplayEnd(),length:c,recordsTotal:a.fnRecordsTotal(),recordsDisplay:d,serverSide:"ssp"===z(a)}});p("page.len()",function(a){return a===k?0!==this.context.length?this.context[0]._iDisplayLength:k:this.iterator("table",function(b){Sa(b,a)})});var Vb=function(a,b,c){if(c){var d=new t(a);d.one("draw",function(){c(d.ajax.json())})}if("ssp"==
|
106 |
+
z(a))R(a,b);else{C(a,!0);var e=a.jqXHR;e&&4!==e.readyState&&e.abort();ra(a,[],function(c){oa(a);for(var c=sa(a,c),d=0,e=c.length;d<e;d++)L(a,c[d]);R(a,b);C(a,!1)})}};p("ajax.json()",function(){var a=this.context;if(0<a.length)return a[0].json});p("ajax.params()",function(){var a=this.context;if(0<a.length)return a[0].oAjaxData});p("ajax.reload()",function(a,b){return this.iterator("table",function(c){Vb(c,!1===b,a)})});p("ajax.url()",function(a){var b=this.context;if(a===k){if(0===b.length)return k;
|
107 |
+
b=b[0];return b.ajax?g.isPlainObject(b.ajax)?b.ajax.url:b.ajax:b.sAjaxSource}return this.iterator("table",function(b){g.isPlainObject(b.ajax)?b.ajax.url=a:b.ajax=a})});p("ajax.url().load()",function(a,b){return this.iterator("table",function(c){Vb(c,!1===b,a)})});var $a=function(a,b,c,d,e){var f=[],h,i,j,n,l,m;j=typeof b;if(!b||"string"===j||"function"===j||b.length===k)b=[b];j=0;for(n=b.length;j<n;j++){i=b[j]&&b[j].split?b[j].split(","):[b[j]];l=0;for(m=i.length;l<m;l++)(h=c("string"===typeof i[l]?
|
108 |
+
g.trim(i[l]):i[l]))&&h.length&&f.push.apply(f,h)}a=v.selector[a];if(a.length){j=0;for(n=a.length;j<n;j++)f=a[j](d,e,f)}return f},ab=function(a){a||(a={});a.filter&&a.search===k&&(a.search=a.filter);return g.extend({search:"none",order:"current",page:"all"},a)},bb=function(a){for(var b=0,c=a.length;b<c;b++)if(0<a[b].length)return a[0]=a[b],a[0].length=1,a.length=1,a.context=[a.context[b]],a;a.length=0;return a},Da=function(a,b){var c,d,e,f=[],h=a.aiDisplay;c=a.aiDisplayMaster;var i=b.search;d=b.order;
|
109 |
+
e=b.page;if("ssp"==z(a))return"removed"===i?[]:W(0,c.length);if("current"==e){c=a._iDisplayStart;for(d=a.fnDisplayEnd();c<d;c++)f.push(h[c])}else if("current"==d||"applied"==d)f="none"==i?c.slice():"applied"==i?h.slice():g.map(c,function(a){return-1===g.inArray(a,h)?a:null});else if("index"==d||"original"==d){c=0;for(d=a.aoData.length;c<d;c++)"none"==i?f.push(c):(e=g.inArray(c,h),(-1===e&&"removed"==i||0<=e&&"applied"==i)&&f.push(c))}return f};p("rows()",function(a,b){a===k?a="":g.isPlainObject(a)&&
|
110 |
+
(b=a,a="");var b=ab(b),c=this.iterator("table",function(c){var e=b;return $a("row",a,function(a){var b=Qb(a);if(b!==null&&!e)return[b];var i=Da(c,e);if(b!==null&&g.inArray(b,i)!==-1)return[b];if(!a)return i;if(typeof a==="function")return g.map(i,function(b){var e=c.aoData[b];return a(b,e._aData,e.nTr)?b:null});b=Tb(ia(c.aoData,i,"nTr"));if(a.nodeName&&g.inArray(a,b)!==-1)return[a._DT_RowIndex];if(typeof a==="string"&&a.charAt(0)==="#"){i=c.aIds[a.replace(/^#/,"")];if(i!==k)return[i.idx]}return g(b).filter(a).map(function(){return this._DT_RowIndex}).toArray()},
|
111 |
+
c,e)},1);c.selector.rows=a;c.selector.opts=b;return c});p("rows().nodes()",function(){return this.iterator("row",function(a,b){return a.aoData[b].nTr||k},1)});p("rows().data()",function(){return this.iterator(!0,"rows",function(a,b){return ia(a.aoData,b,"_aData")},1)});s("rows().cache()","row().cache()",function(a){return this.iterator("row",function(b,c){var d=b.aoData[c];return"search"===a?d._aFilterData:d._aSortData},1)});s("rows().invalidate()","row().invalidate()",function(a){return this.iterator("row",
|
112 |
+
function(b,c){da(b,c,a)})});s("rows().indexes()","row().index()",function(){return this.iterator("row",function(a,b){return b},1)});s("rows().ids()","row().id()",function(a){for(var b=[],c=this.context,d=0,e=c.length;d<e;d++)for(var f=0,g=this[d].length;f<g;f++){var i=c[d].rowIdFn(c[d].aoData[this[d][f]]._aData);b.push((!0===a?"#":"")+i)}return new t(c,b)});s("rows().remove()","row().remove()",function(){var a=this;this.iterator("row",function(b,c,d){var e=b.aoData;e.splice(c,1);for(var f=0,g=e.length;f<
|
113 |
+
g;f++)null!==e[f].nTr&&(e[f].nTr._DT_RowIndex=f);pa(b.aiDisplayMaster,c);pa(b.aiDisplay,c);pa(a[d],c,!1);Ta(b)});this.iterator("table",function(a){for(var c=0,d=a.aoData.length;c<d;c++)a.aoData[c].idx=c});return this});p("rows.add()",function(a){var b=this.iterator("table",function(b){var c,f,g,i=[];f=0;for(g=a.length;f<g;f++)c=a[f],c.nodeName&&"TR"===c.nodeName.toUpperCase()?i.push(ma(b,c)[0]):i.push(L(b,c));return i},1),c=this.rows(-1);c.pop();c.push.apply(c,b.toArray());return c});p("row()",function(a,
|
114 |
+
b){return bb(this.rows(a,b))});p("row().data()",function(a){var b=this.context;if(a===k)return b.length&&this.length?b[0].aoData[this[0]]._aData:k;b[0].aoData[this[0]]._aData=a;da(b[0],this[0],"data");return this});p("row().node()",function(){var a=this.context;return a.length&&this.length?a[0].aoData[this[0]].nTr||null:null});p("row.add()",function(a){a instanceof g&&a.length&&(a=a[0]);var b=this.iterator("table",function(b){return a.nodeName&&"TR"===a.nodeName.toUpperCase()?ma(b,a)[0]:L(b,a)});
|
115 |
+
return this.row(b[0])});var cb=function(a,b){var c=a.context;if(c.length&&(c=c[0].aoData[b!==k?b:a[0]])&&c._details)c._details.remove(),c._detailsShow=k,c._details=k},Wb=function(a,b){var c=a.context;if(c.length&&a.length){var d=c[0].aoData[a[0]];if(d._details){(d._detailsShow=b)?d._details.insertAfter(d.nTr):d._details.detach();var e=c[0],f=new t(e),g=e.aoData;f.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details");0<D(g,"_details").length&&(f.on("draw.dt.DT_details",function(a,
|
116 |
+
b){e===b&&f.rows({page:"current"}).eq(0).each(function(a){a=g[a];a._detailsShow&&a._details.insertAfter(a.nTr)})}),f.on("column-visibility.dt.DT_details",function(a,b){if(e===b)for(var c,d=ba(b),f=0,k=g.length;f<k;f++)c=g[f],c._details&&c._details.children("td[colspan]").attr("colspan",d)}),f.on("destroy.dt.DT_details",function(a,b){if(e===b)for(var c=0,d=g.length;c<d;c++)g[c]._details&&cb(f,c)}))}}};p("row().child()",function(a,b){var c=this.context;if(a===k)return c.length&&this.length?c[0].aoData[this[0]]._details:
|
117 |
+
k;if(!0===a)this.child.show();else if(!1===a)cb(this);else if(c.length&&this.length){var d=c[0],c=c[0].aoData[this[0]],e=[],f=function(a,b){if(g.isArray(a)||a instanceof g)for(var c=0,k=a.length;c<k;c++)f(a[c],b);else a.nodeName&&"tr"===a.nodeName.toLowerCase()?e.push(a):(c=g("<tr><td/></tr>").addClass(b),g("td",c).addClass(b).html(a)[0].colSpan=ba(d),e.push(c[0]))};f(a,b);c._details&&c._details.remove();c._details=g(e);c._detailsShow&&c._details.insertAfter(c.nTr)}return this});p(["row().child.show()",
|
118 |
+
"row().child().show()"],function(){Wb(this,!0);return this});p(["row().child.hide()","row().child().hide()"],function(){Wb(this,!1);return this});p(["row().child.remove()","row().child().remove()"],function(){cb(this);return this});p("row().child.isShown()",function(){var a=this.context;return a.length&&this.length?a[0].aoData[this[0]]._detailsShow||!1:!1});var ec=/^(.+):(name|visIdx|visible)$/,Xb=function(a,b,c,d,e){for(var c=[],d=0,f=e.length;d<f;d++)c.push(y(a,e[d],b));return c};p("columns()",
|
119 |
+
function(a,b){a===k?a="":g.isPlainObject(a)&&(b=a,a="");var b=ab(b),c=this.iterator("table",function(c){var e=a,f=b,h=c.aoColumns,i=D(h,"sName"),j=D(h,"nTh");return $a("column",e,function(a){var b=Qb(a);if(a==="")return W(h.length);if(b!==null)return[b>=0?b:h.length+b];if(typeof a==="function"){var e=Da(c,f);return g.map(h,function(b,f){return a(f,Xb(c,f,0,0,e),j[f])?f:null})}var k=typeof a==="string"?a.match(ec):"";if(k)switch(k[2]){case "visIdx":case "visible":b=parseInt(k[1],10);if(b<0){var m=
|
120 |
+
g.map(h,function(a,b){return a.bVisible?b:null});return[m[m.length+b]]}return[la(c,b)];case "name":return g.map(i,function(a,b){return a===k[1]?b:null})}else return g(j).filter(a).map(function(){return g.inArray(this,j)}).toArray()},c,f)},1);c.selector.cols=a;c.selector.opts=b;return c});s("columns().header()","column().header()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTh},1)});s("columns().footer()","column().footer()",function(){return this.iterator("column",
|
121 |
+
function(a,b){return a.aoColumns[b].nTf},1)});s("columns().data()","column().data()",function(){return this.iterator("column-rows",Xb,1)});s("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].mData},1)});s("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(b,c,d,e,f){return ia(b.aoData,f,"search"===a?"_aFilterData":"_aSortData",c)},1)});s("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",
|
122 |
+
function(a,b,c,d,e){return ia(a.aoData,e,"anCells",b)},1)});s("columns().visible()","column().visible()",function(a,b){return this.iterator("column",function(c,d){if(a===k)return c.aoColumns[d].bVisible;var e=c.aoColumns,f=e[d],h=c.aoData,i,j,n;if(a!==k&&f.bVisible!==a){if(a){var l=g.inArray(!0,D(e,"bVisible"),d+1);i=0;for(j=h.length;i<j;i++)n=h[i].nTr,e=h[i].anCells,n&&n.insertBefore(e[d],e[l]||null)}else g(D(c.aoData,"anCells",d)).detach();f.bVisible=a;fa(c,c.aoHeader);fa(c,c.aoFooter);if(b===k||
|
123 |
+
b)Y(c),(c.oScroll.sX||c.oScroll.sY)&&Z(c);w(c,null,"column-visibility",[c,d,a]);ya(c)}})});s("columns().indexes()","column().index()",function(a){return this.iterator("column",function(b,c){return"visible"===a?aa(b,c):c},1)});p("columns.adjust()",function(){return this.iterator("table",function(a){Y(a)},1)});p("column.index()",function(a,b){if(0!==this.context.length){var c=this.context[0];if("fromVisible"===a||"toData"===a)return la(c,b);if("fromData"===a||"toVisible"===a)return aa(c,b)}});p("column()",
|
124 |
+
function(a,b){return bb(this.columns(a,b))});p("cells()",function(a,b,c){g.isPlainObject(a)&&(a.row===k?(c=a,a=null):(c=b,b=null));g.isPlainObject(b)&&(c=b,b=null);if(null===b||b===k)return this.iterator("table",function(b){var d=a,e=ab(c),f=b.aoData,h=Da(b,e),i=Tb(ia(f,h,"anCells")),j=g([].concat.apply([],i)),l,n=b.aoColumns.length,m,p,t,s,u,v;return $a("cell",d,function(a){var c=typeof a==="function";if(a===null||a===k||c){m=[];p=0;for(t=h.length;p<t;p++){l=h[p];for(s=0;s<n;s++){u={row:l,column:s};
|
125 |
+
if(c){v=b.aoData[l];a(u,y(b,l,s),v.anCells?v.anCells[s]:null)&&m.push(u)}else m.push(u)}}return m}return g.isPlainObject(a)?[a]:j.filter(a).map(function(a,b){l=b.parentNode._DT_RowIndex;return{row:l,column:g.inArray(b,f[l].anCells)}}).toArray()},b,e)});var d=this.columns(b,c),e=this.rows(a,c),f,h,i,j,n,l=this.iterator("table",function(a,b){f=[];h=0;for(i=e[b].length;h<i;h++){j=0;for(n=d[b].length;j<n;j++)f.push({row:e[b][h],column:d[b][j]})}return f},1);g.extend(l.selector,{cols:b,rows:a,opts:c});
|
126 |
+
return l});s("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(a,b,c){return(a=a.aoData[b].anCells)?a[c]:k},1)});p("cells().data()",function(){return this.iterator("cell",function(a,b,c){return y(a,b,c)},1)});s("cells().cache()","cell().cache()",function(a){a="search"===a?"_aFilterData":"_aSortData";return this.iterator("cell",function(b,c,d){return b.aoData[c][a][d]},1)});s("cells().render()","cell().render()",function(a){return this.iterator("cell",function(b,c,d){return y(b,
|
127 |
+
c,d,a)},1)});s("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(a,b,c){return{row:b,column:c,columnVisible:aa(a,c)}},1)});s("cells().invalidate()","cell().invalidate()",function(a){return this.iterator("cell",function(b,c,d){da(b,c,a,d)})});p("cell()",function(a,b,c){return bb(this.cells(a,b,c))});p("cell().data()",function(a){var b=this.context,c=this[0];if(a===k)return b.length&&c.length?y(b[0],c[0].row,c[0].column):k;Ja(b[0],c[0].row,c[0].column,a);da(b[0],c[0].row,
|
128 |
+
"data",c[0].column);return this});p("order()",function(a,b){var c=this.context;if(a===k)return 0!==c.length?c[0].aaSorting:k;"number"===typeof a?a=[[a,b]]:g.isArray(a[0])||(a=Array.prototype.slice.call(arguments));return this.iterator("table",function(b){b.aaSorting=a.slice()})});p("order.listener()",function(a,b,c){return this.iterator("table",function(d){Pa(d,a,b,c)})});p(["columns().order()","column().order()"],function(a){var b=this;return this.iterator("table",function(c,d){var e=[];g.each(b[d],
|
129 |
+
function(b,c){e.push([c,a])});c.aaSorting=e})});p("search()",function(a,b,c,d){var e=this.context;return a===k?0!==e.length?e[0].oPreviousSearch.sSearch:k:this.iterator("table",function(e){e.oFeatures.bFilter&&ga(e,g.extend({},e.oPreviousSearch,{sSearch:a+"",bRegex:null===b?!1:b,bSmart:null===c?!0:c,bCaseInsensitive:null===d?!0:d}),1)})});s("columns().search()","column().search()",function(a,b,c,d){return this.iterator("column",function(e,f){var h=e.aoPreSearchCols;if(a===k)return h[f].sSearch;e.oFeatures.bFilter&&
|
130 |
+
(g.extend(h[f],{sSearch:a+"",bRegex:null===b?!1:b,bSmart:null===c?!0:c,bCaseInsensitive:null===d?!0:d}),ga(e,e.oPreviousSearch,1))})});p("state()",function(){return this.context.length?this.context[0].oSavedState:null});p("state.clear()",function(){return this.iterator("table",function(a){a.fnStateSaveCallback.call(a.oInstance,a,{})})});p("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null});p("state.save()",function(){return this.iterator("table",function(a){ya(a)})});
|
131 |
+
m.versionCheck=m.fnVersionCheck=function(a){for(var b=m.version.split("."),a=a.split("."),c,d,e=0,f=a.length;e<f;e++)if(c=parseInt(b[e],10)||0,d=parseInt(a[e],10)||0,c!==d)return c>d;return!0};m.isDataTable=m.fnIsDataTable=function(a){var b=g(a).get(0),c=!1;g.each(m.settings,function(a,e){var f=e.nScrollHead?g("table",e.nScrollHead)[0]:null,h=e.nScrollFoot?g("table",e.nScrollFoot)[0]:null;if(e.nTable===b||f===b||h===b)c=!0});return c};m.tables=m.fnTables=function(a){var b=!1;g.isPlainObject(a)&&(b=
|
132 |
+
a.api,a=a.visible);var c=g.map(m.settings,function(b){if(!a||a&&g(b.nTable).is(":visible"))return b.nTable});return b?new t(c):c};m.util={throttle:ua,escapeRegex:va};m.camelToHungarian=I;p("$()",function(a,b){var c=this.rows(b).nodes(),c=g(c);return g([].concat(c.filter(a).toArray(),c.find(a).toArray()))});g.each(["on","one","off"],function(a,b){p(b+"()",function(){var a=Array.prototype.slice.call(arguments);a[0].match(/\.dt\b/)||(a[0]+=".dt");var d=g(this.tables().nodes());d[b].apply(d,a);return this})});
|
133 |
+
p("clear()",function(){return this.iterator("table",function(a){oa(a)})});p("settings()",function(){return new t(this.context,this.context)});p("init()",function(){var a=this.context;return a.length?a[0].oInit:null});p("data()",function(){return this.iterator("table",function(a){return D(a.aoData,"_aData")}).flatten()});p("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,d=b.oClasses,e=b.nTable,f=b.nTBody,h=b.nTHead,i=b.nTFoot,j=g(e),f=g(f),
|
134 |
+
k=g(b.nTableWrapper),l=g.map(b.aoData,function(a){return a.nTr}),p;b.bDestroying=!0;w(b,"aoDestroyCallback","destroy",[b]);a||(new t(b)).columns().visible(!0);k.unbind(".DT").find(":not(tbody *)").unbind(".DT");g(Fa).unbind(".DT-"+b.sInstance);e!=h.parentNode&&(j.children("thead").detach(),j.append(h));i&&e!=i.parentNode&&(j.children("tfoot").detach(),j.append(i));b.aaSorting=[];b.aaSortingFixed=[];xa(b);g(l).removeClass(b.asStripeClasses.join(" "));g("th, td",h).removeClass(d.sSortable+" "+d.sSortableAsc+
|
135 |
+
" "+d.sSortableDesc+" "+d.sSortableNone);b.bJUI&&(g("th span."+d.sSortIcon+", td span."+d.sSortIcon,h).detach(),g("th, td",h).each(function(){var a=g("div."+d.sSortJUIWrapper,this);g(this).append(a.contents());a.detach()}));f.children().detach();f.append(l);h=a?"remove":"detach";j[h]();k[h]();!a&&c&&(c.insertBefore(e,b.nTableReinsertBefore),j.css("width",b.sDestroyWidth).removeClass(d.sTable),(p=b.asDestroyStripes.length)&&f.children().each(function(a){g(this).addClass(b.asDestroyStripes[a%p])}));
|
136 |
+
c=g.inArray(b,m.settings);-1!==c&&m.settings.splice(c,1)})});g.each(["column","row","cell"],function(a,b){p(b+"s().every()",function(a){return this.iterator(b,function(d,e,f,g,i){a.call((new t(d))[b](e,"cell"===b?f:k),e,f,g,i)})})});p("i18n()",function(a,b,c){var d=this.context[0],a=P(a)(d.oLanguage);a===k&&(a=b);c!==k&&g.isPlainObject(a)&&(a=a[c]!==k?a[c]:a._);return a.replace("%d",c)});m.version="1.10.8";m.settings=[];m.models={};m.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0};
|
137 |
+
m.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1};m.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,
|
138 |
+
sWidth:null,sWidthOrig:null};m.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(a){return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,
|
139 |
+
this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(a){try{return JSON.parse((-1===a.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+a.sInstance+"_"+location.pathname))}catch(b){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(a,b){try{(-1===a.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+a.sInstance+
|
140 |
+
"_"+location.pathname,JSON.stringify(b))}catch(c){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",
|
141 |
+
sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:g.extend({},m.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"};
|
142 |
+
X(m.defaults);m.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};X(m.defaults.column);m.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,
|
143 |
+
bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],
|
144 |
+
aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:k,oAjaxData:k,fnServerData:null,aoServerParams:[],
|
145 |
+
sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==z(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==z(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var a=this._iDisplayLength,
|
146 |
+
b=this._iDisplayStart,c=b+a,d=this.aiDisplay.length,e=this.oFeatures,f=e.bPaginate;return e.bServerSide?!1===f||-1===a?b+d:Math.min(b+a,this._iRecordsDisplay):!f||c>d||-1===a?d:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null};m.ext=v={buttons:{},classes:{},errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],
|
147 |
+
search:{},order:{}},_unique:0,fnVersionCheck:m.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:m.version};g.extend(v,{afnFiltering:v.search,aTypes:v.type.detect,ofnSearch:v.type.search,oSort:v.type.order,afnSortData:v.order,aoFeatures:v.feature,oApi:v.internal,oStdClasses:v.classes,oPagination:v.pager});g.extend(m.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",
|
148 |
+
sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",
|
149 |
+
sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ea="",Ea="",G=Ea+"ui-state-default",ja=Ea+"css_right ui-icon ui-icon-",Yb=Ea+"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";g.extend(m.ext.oJUIClasses,m.ext.classes,{sPageButton:"fg-button ui-button "+
|
150 |
+
G,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:G+" sorting_asc",sSortDesc:G+" sorting_desc",sSortable:G+" sorting",sSortableAsc:G+" sorting_asc_disabled",sSortableDesc:G+" sorting_desc_disabled",sSortableNone:G+" sorting_disabled",sSortJUIAsc:ja+"triangle-1-n",sSortJUIDesc:ja+"triangle-1-s",sSortJUI:ja+"carat-2-n-s",sSortJUIAscAllowed:ja+"carat-1-n",sSortJUIDescAllowed:ja+
|
151 |
+
"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+G,sScrollFoot:"dataTables_scrollFoot "+G,sHeaderTH:G,sFooterTH:G,sJUIHeader:Yb+" ui-corner-tl ui-corner-tr",sJUIFooter:Yb+" ui-corner-bl ui-corner-br"});var Nb=m.ext.pager;g.extend(Nb,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(a,b){return[Aa(a,b)]},simple_numbers:function(a,b){return["previous",Aa(a,
|
152 |
+
b),"next"]},full_numbers:function(a,b){return["first","previous",Aa(a,b),"next","last"]},_numbers:Aa,numbers_length:7});g.extend(!0,m.ext.renderer,{pageButton:{_:function(a,b,c,d,e,f){var h=a.oClasses,i=a.oLanguage.oPaginate,j,k,l=0,m=function(b,d){var p,q,t,s,u=function(b){Ua(a,b.data.action,true)};p=0;for(q=d.length;p<q;p++){s=d[p];if(g.isArray(s)){t=g("<"+(s.DT_el||"div")+"/>").appendTo(b);m(t,s)}else{j=null;k="";switch(s){case "ellipsis":b.append('<span class="ellipsis">…</span>');break;
|
153 |
+
case "first":j=i.sFirst;k=s+(e>0?"":" "+h.sPageButtonDisabled);break;case "previous":j=i.sPrevious;k=s+(e>0?"":" "+h.sPageButtonDisabled);break;case "next":j=i.sNext;k=s+(e<f-1?"":" "+h.sPageButtonDisabled);break;case "last":j=i.sLast;k=s+(e<f-1?"":" "+h.sPageButtonDisabled);break;default:j=s+1;k=e===s?h.sPageButtonActive:""}if(j!==null){t=g("<a>",{"class":h.sPageButton+" "+k,"aria-controls":a.sTableId,"data-dt-idx":l,tabindex:a.iTabIndex,id:c===0&&typeof s==="string"?a.sTableId+"_"+s:null}).html(j).appendTo(b);
|
154 |
+
Wa(t,{action:s},u);l++}}}},p;try{p=g(b).find(T.activeElement).data("dt-idx")}catch(t){}m(g(b).empty(),d);p&&g(b).find("[data-dt-idx="+p+"]").focus()}}});g.extend(m.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c)?"num"+c:null},function(a){if(a&&!(a instanceof Date)&&(!bc.test(a)||!cc.test(a)))return null;var b=Date.parse(a);return null!==b&&!isNaN(b)||K(a)?"date":null},function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c,!0)?"num-fmt"+c:null},function(a,b){var c=b.oLanguage.sDecimal;
|
155 |
+
return Sb(a,c)?"html-num"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Sb(a,c,!0)?"html-num-fmt"+c:null},function(a){return K(a)||"string"===typeof a&&-1!==a.indexOf("<")?"html":null}]);g.extend(m.ext.type.search,{html:function(a){return K(a)?a:"string"===typeof a?a.replace(Pb," ").replace(Ca,""):""},string:function(a){return K(a)?a:"string"===typeof a?a.replace(Pb," "):a}});var Ba=function(a,b,c,d){if(0!==a&&(!a||"-"===a))return-Infinity;b&&(a=Rb(a,b));a.replace&&(c&&(a=a.replace(c,"")),
|
156 |
+
d&&(a=a.replace(d,"")));return 1*a};g.extend(v.type.order,{"date-pre":function(a){return Date.parse(a)||0},"html-pre":function(a){return K(a)?"":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return K(a)?"":"string"===typeof a?a.toLowerCase():!a.toString?"":a.toString()},"string-asc":function(a,b){return a<b?-1:a>b?1:0},"string-desc":function(a,b){return a<b?1:a>b?-1:0}});db("");g.extend(!0,m.ext.renderer,{header:{_:function(a,b,c,d){g(a.nTable).on("order.dt.DT",function(e,
|
157 |
+
f,g,i){if(a===f){e=c.idx;b.removeClass(c.sSortingClass+" "+d.sSortAsc+" "+d.sSortDesc).addClass(i[e]=="asc"?d.sSortAsc:i[e]=="desc"?d.sSortDesc:c.sSortingClass)}})},jqueryui:function(a,b,c,d){g("<div/>").addClass(d.sSortJUIWrapper).append(b.contents()).append(g("<span/>").addClass(d.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);g(a.nTable).on("order.dt.DT",function(e,f,g,i){if(a===f){e=c.idx;b.removeClass(d.sSortAsc+" "+d.sSortDesc).addClass(i[e]=="asc"?d.sSortAsc:i[e]=="desc"?d.sSortDesc:c.sSortingClass);
|
158 |
+
b.find("span."+d.sSortIcon).removeClass(d.sSortJUIAsc+" "+d.sSortJUIDesc+" "+d.sSortJUI+" "+d.sSortJUIAscAllowed+" "+d.sSortJUIDescAllowed).addClass(i[e]=="asc"?d.sSortJUIAsc:i[e]=="desc"?d.sSortJUIDesc:c.sSortingClassJUI)}})}}});m.render={number:function(a,b,c,d,e){return{display:function(f){if("number"!==typeof f&&"string"!==typeof f)return f;var g=0>f?"-":"",f=Math.abs(parseFloat(f)),i=parseInt(f,10),f=c?b+(f-i).toFixed(c).substring(2):"";return g+(d||"")+i.toString().replace(/\B(?=(\d{3})+(?!\d))/g,
|
159 |
+
a)+f+(e||"")}}}};g.extend(m.ext.internal,{_fnExternApiFunc:Ob,_fnBuildAjax:ra,_fnAjaxUpdate:lb,_fnAjaxParameters:ub,_fnAjaxUpdateDraw:vb,_fnAjaxDataSrc:sa,_fnAddColumn:Ga,_fnColumnOptions:ka,_fnAdjustColumnSizing:Y,_fnVisibleToColumnIndex:la,_fnColumnIndexToVisible:aa,_fnVisbleColumns:ba,_fnGetColumns:$,_fnColumnTypes:Ia,_fnApplyColumnDefs:ib,_fnHungarianMap:X,_fnCamelToHungarian:I,_fnLanguageCompat:S,_fnBrowserDetect:gb,_fnAddData:L,_fnAddTr:ma,_fnNodeToDataIndex:function(a,b){return b._DT_RowIndex!==
|
160 |
+
k?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b,c){return g.inArray(c,a.aoData[b].anCells)},_fnGetCellData:y,_fnSetCellData:Ja,_fnSplitObjNotation:La,_fnGetObjectDataFn:P,_fnSetObjectDataFn:Q,_fnGetDataMaster:Ma,_fnClearTable:oa,_fnDeleteIndex:pa,_fnInvalidate:da,_fnGetRowElements:na,_fnCreateTr:Ka,_fnBuildHead:kb,_fnDrawHead:fa,_fnDraw:M,_fnReDraw:R,_fnAddOptionsHtml:nb,_fnDetectHeader:ea,_fnGetUniqueThs:qa,_fnFeatureHtmlFilter:pb,_fnFilterComplete:ga,_fnFilterCustom:yb,_fnFilterColumn:xb,
|
161 |
+
_fnFilter:wb,_fnFilterCreateSearch:Ra,_fnEscapeRegex:va,_fnFilterData:zb,_fnFeatureHtmlInfo:sb,_fnUpdateInfo:Cb,_fnInfoMacros:Db,_fnInitialise:ha,_fnInitComplete:ta,_fnLengthChange:Sa,_fnFeatureHtmlLength:ob,_fnFeatureHtmlPaginate:tb,_fnPageChange:Ua,_fnFeatureHtmlProcessing:qb,_fnProcessingDisplay:C,_fnFeatureHtmlTable:rb,_fnScrollDraw:Z,_fnApplyToChildren:H,_fnCalculateColumnWidths:Ha,_fnThrottle:ua,_fnConvertToWidth:Fb,_fnGetWidestNode:Gb,_fnGetMaxLenString:Hb,_fnStringToCss:u,_fnScrollBarWidth:Ib,
|
162 |
+
_fnSortFlatten:V,_fnSort:mb,_fnSortAria:Kb,_fnSortListener:Va,_fnSortAttachListener:Pa,_fnSortingClasses:xa,_fnSortData:Jb,_fnSaveState:ya,_fnLoadState:Lb,_fnSettingsFromNode:za,_fnLog:J,_fnMap:F,_fnBindAction:Wa,_fnCallbackReg:A,_fnCallbackFire:w,_fnLengthOverflow:Ta,_fnRenderer:Qa,_fnDataSource:z,_fnRowAttributes:Na,_fnCalculateEnd:function(){}});g.fn.dataTable=m;g.fn.dataTableSettings=m.settings;g.fn.dataTableExt=m.ext;g.fn.DataTable=function(a){return g(this).dataTable(a).api()};g.each(m,function(a,
|
163 |
+
b){g.fn.DataTable[a]=b});return g.fn.dataTable};"function"===typeof define&&define.amd?define("datatables",["jquery"],S):"object"===typeof exports?module.exports=S(require("jquery")):jQuery&&!jQuery.fn.dataTable&&S(jQuery)})(window,document);
|
googleanalytics.php
CHANGED
@@ -9,8 +9,8 @@
|
|
9 |
* Plugin URI: https://yoast.com/wordpress/plugins/google-analytics/#utm_source=wordpress&utm_medium=plugin&utm_campaign=wpgaplugin&utm_content=v504
|
10 |
* Description: This plugin makes it simple to add Google Analytics to your WordPress site, adding lots of features, e.g. error page, search result and automatic outgoing links and download tracking.
|
11 |
* Author: Team Yoast
|
12 |
-
* Version: 5.4.
|
13 |
-
* Requires at least: 3.
|
14 |
* Author URI: https://yoast.com/
|
15 |
* License: GPL v3
|
16 |
* Text Domain: google-analytics-for-wordpress
|
@@ -35,7 +35,7 @@
|
|
35 |
|
36 |
// This plugin was originally based on Rich Boakes' Analytics plugin: http://boakes.org/analytics, but has since been rewritten and refactored multiple times.
|
37 |
|
38 |
-
define( 'GAWP_VERSION', '5.4.
|
39 |
|
40 |
define( 'GAWP_FILE', __FILE__ );
|
41 |
|
9 |
* Plugin URI: https://yoast.com/wordpress/plugins/google-analytics/#utm_source=wordpress&utm_medium=plugin&utm_campaign=wpgaplugin&utm_content=v504
|
10 |
* Description: This plugin makes it simple to add Google Analytics to your WordPress site, adding lots of features, e.g. error page, search result and automatic outgoing links and download tracking.
|
11 |
* Author: Team Yoast
|
12 |
+
* Version: 5.4.6
|
13 |
+
* Requires at least: 3.9
|
14 |
* Author URI: https://yoast.com/
|
15 |
* License: GPL v3
|
16 |
* Text Domain: google-analytics-for-wordpress
|
35 |
|
36 |
// This plugin was originally based on Rich Boakes' Analytics plugin: http://boakes.org/analytics, but has since been rewritten and refactored multiple times.
|
37 |
|
38 |
+
define( 'GAWP_VERSION', '5.4.6' );
|
39 |
|
40 |
define( 'GAWP_FILE', __FILE__ );
|
41 |
|
languages/google-analytics-for-wordpress-ca.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-da_DK.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-de_DE.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-en_AU.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-en_GB.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-es_ES.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-es_MX.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-fr_FR.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-he_IL.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-it_IT.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-ja.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-nb_NO.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-nl_NL.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-pl_PL.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-pt_PT.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-ru_RU.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-sv_SE.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress-tr_TR.mo
CHANGED
Binary file
|
languages/google-analytics-for-wordpress.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the GPL v3.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Google Analytics by Yoast 5.4.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://github.com/yoast/google-analytics-for-wordpress/issues\n"
|
8 |
-
"POT-Creation-Date: 2015-08-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the GPL v3.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Google Analytics by Yoast 5.4.6\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://github.com/yoast/google-analytics-for-wordpress/issues\n"
|
8 |
+
"POT-Creation-Date: 2015-08-25 13:38:43+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: joostdevalk
|
3 |
Donate link: https://yoast.com/donate/
|
4 |
Tags: analytics, google analytics, statistics, tracking, stats, google, yoast
|
5 |
-
Requires at least: 3.
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 5.4.
|
8 |
License: GPL v3
|
9 |
|
10 |
Track your WordPress site easily with the latest tracking codes and lots added data for search result pages and error pages.
|
@@ -51,12 +51,19 @@ This section describes how to install the plugin and get it working.
|
|
51 |
|
52 |
== Changelog ==
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
= 5.4.5 =
|
55 |
|
56 |
Release Date: August 5th, 2015
|
57 |
|
58 |
* Security:
|
59 |
-
* Fixes a small stored XSS issue (only exploitable by admins), thanks [
|
60 |
|
61 |
* Enhancements:
|
62 |
* Only allows showing and saving the custom code field for users with the `unfiltered_html` capability.
|
2 |
Contributors: joostdevalk
|
3 |
Donate link: https://yoast.com/donate/
|
4 |
Tags: analytics, google analytics, statistics, tracking, stats, google, yoast
|
5 |
+
Requires at least: 3.9
|
6 |
+
Tested up to: 4.3
|
7 |
+
Stable tag: 5.4.6
|
8 |
License: GPL v3
|
9 |
|
10 |
Track your WordPress site easily with the latest tracking codes and lots added data for search result pages and error pages.
|
51 |
|
52 |
== Changelog ==
|
53 |
|
54 |
+
= 5.4.6 =
|
55 |
+
|
56 |
+
Release Date: August 25th, 2015
|
57 |
+
|
58 |
+
* Bugfixes:
|
59 |
+
* Fixes the dashboard tables which were broken in WordPress 4.3 because of a new version of jQuery that was introduced.
|
60 |
+
|
61 |
= 5.4.5 =
|
62 |
|
63 |
Release Date: August 5th, 2015
|
64 |
|
65 |
* Security:
|
66 |
+
* Fixes a small stored XSS issue (only exploitable by admins), thanks [Tom Adams](https://twitter.com/tom_dxw) from [dxw security](https://security.dxw.com/) for responsibly disclosing the issue.
|
67 |
|
68 |
* Enhancements:
|
69 |
* Only allows showing and saving the custom code field for users with the `unfiltered_html` capability.
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitec33147af8d6c19b361db19af97b2617::getLoader();
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit533edffc20215a88c20f549b8bca05ad::getLoader();
|
vendor/composer/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
Copyright (c) 2015 Nils Adermann, Jordi Boggiano
|
3 |
+
|
4 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
+
of this software and associated documentation files (the "Software"), to deal
|
6 |
+
in the Software without restriction, including without limitation the rights
|
7 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8 |
+
copies of the Software, and to permit persons to whom the Software is furnished
|
9 |
+
to do so, subject to the following conditions:
|
10 |
+
|
11 |
+
The above copyright notice and this permission notice shall be included in all
|
12 |
+
copies or substantial portions of the Software.
|
13 |
+
|
14 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20 |
+
THE SOFTWARE.
|
21 |
+
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit07e08207a7d196b9c94dfa7fedb0c086
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -44,7 +44,7 @@ class ComposerAutoloaderInit07e08207a7d196b9c94dfa7fedb0c086
|
|
44 |
}
|
45 |
}
|
46 |
|
47 |
-
function
|
48 |
{
|
49 |
require $file;
|
50 |
}
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitec33147af8d6c19b361db19af97b2617
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitec33147af8d6c19b361db19af97b2617', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitec33147af8d6c19b361db19af97b2617', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
44 |
}
|
45 |
}
|
46 |
|
47 |
+
function composerRequireec33147af8d6c19b361db19af97b2617($file)
|
48 |
{
|
49 |
require $file;
|
50 |
}
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit8dc05da1f58e0d8ca53cd6f350960591 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInit533edffc20215a88c20f549b8bca05ad {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit533edffc20215a88c20f549b8bca05ad', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit533edffc20215a88c20f549b8bca05ad', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|