Update: CommonJS loader to support non-execution loading

pull/389/merge 1.13.4
Allan Jardine 2 years ago
parent 44bd7c34bc
commit 950f84e173

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.Api.register("average()",function(){var e=this.flatten();return e.reduce(function(e,n){return+e+ +n},0)/e.length}),e}); !function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("average()",function(){var e=this.flatten();return e.reduce(function(e,n){return+e+ +n},0)/e.length}),e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* It can sometimes be useful to get the average of data in an API result set, * It can sometimes be useful to get the average of data in an API result set,
* be it from a column, or a collection of cells. This method provides exactly * be it from a column, or a collection of cells. This method provides exactly

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © Alejandro Navarro - datatables.net/license */ /*! © Alejandro Navarro - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(t,e,n,r){"use strict";var u=t.fn.dataTable;return u.Api.register("column().title()",function(){var e=this.header();return t(e).text().trim()}),u}); !function(t){var o,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),i=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),i(e,n),t(n,0,e.document)}:(i(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(n,e,t,o){"use strict";var i=n.fn.dataTable;return i.Api.register("column().title()",function(){var e=this.header();return n(e).text().trim()}),i});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* This plug-in will read the text from the header cell of a column, returning * This plug-in will read the text from the header cell of a column, returning
* that value. * that value.

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(r){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return r(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),r(n,0,e.document)}:r(jQuery,window,document)}(function(e,n,r,t){"use strict";var i=e.fn.dataTable;return i.Api.register("columns().order()",function(u){return this.iterator("columns",function(e,n){for(var r=[],t=0,o=n.length;t<o;t++)r.push([n[t],Array.isArray(u)?u[t]:u]);new i.Api(e).order(r)})}),i}); !function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),o(e,n),t(n,0,e.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t,r){"use strict";var u=e.fn.dataTable;return u.Api.register("columns().order()",function(i){return this.iterator("columns",function(e,n){for(var t=[],r=0,o=n.length;r<o;r++)t.push([n[r],Array.isArray(i)?i[r]:i]);new u.Api(e).order(t)})}),u});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* The DataTables core library provides the ability to set the ordering via the * The DataTables core library provides the ability to set the ordering via the
* `dt-api column().order()` method, but there is no plural equivalent. While * `dt-api column().order()` method, but there is no plural equivalent. While

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";e=e.fn.dataTable;return e.Api.register("order.neutral()",function(){return this.iterator("table",function(e){e.aaSorting.length=0,e.aiDisplay.sort(function(e,t){return e-t}),e.aiDisplayMaster.sort(function(e,t){return e-t})})}),e}); !function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("order.neutral()",function(){return this.iterator("table",function(e){e.aaSorting.length=0,e.aiDisplay.sort(function(e,n){return e-n}),e.aiDisplayMaster.sort(function(e,n){return e-n})})}),e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* This function will restore the order in which data was read into a DataTable * This function will restore the order in which data was read into a DataTable
* (for example from an HTML source). Although you can set `dt-api order()` to * (for example from an HTML source). Although you can set `dt-api order()` to

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";e=e.fn.dataTable;return e.Api.register("page.jumpToData()",function(e,t){t=this.column(t,{order:"current"}).data().indexOf(e);return 0<=t&&(e=Math.floor(t/this.page.info().length),this.page(e).draw(!1)),this}),e}); !function(t){var o,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),i=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),i(e,n),t(n,0,e.document)}:(i(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("page.jumpToData()",function(e,n){n=this.column(n,{order:"current"}).data().indexOf(e);return 0<=n&&(e=Math.floor(n/this.page.info().length),this.page(e).draw(!1)),this}),e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* It can be quite useful to jump straight to a page which contains a certain * It can be quite useful to jump straight to a page which contains a certain
* piece of data (a user name for example). This plug-in provides exactly that * piece of data (a user name for example). This plug-in provides exactly that

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(e,n,t,i){"use strict";e=e.fn.dataTable;return e.Api.register("processing()",function(n){return this.iterator("table",function(e){e.oApi._fnProcessingDisplay(e,n)})}),e}); !function(t){var o,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),i=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),i(e,n),t(n,0,e.document)}:(i(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("processing()",function(n){return this.iterator("table",function(e){e.oApi._fnProcessingDisplay(e,n)})}),e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* Externally trigger the display of DataTables' "processing" indicator. * Externally trigger the display of DataTables' "processing" indicator.
* *

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © Edouard Labre - datatables.net/license */ /*! © Edouard Labre - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,i){"use strict";e=e.fn.dataTable;return e.Api.register("row().show()",function(){var e=this.table().page.info(),t=this.index(),t=this.table().rows({search:"applied"})[0].indexOf(t);return t>=e.start&&t<e.end||t<0||(e=Math.floor(t/this.table().page.len()),this.table().page(e)),this}),e}); !function(n){var i,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?(i=require("jquery"),o=function(e,t){t.fn.dataTable||require("datatables.net")(e,t)},"undefined"!=typeof window?module.exports=function(e,t){return e=e||window,t=t||i(e),o(e,t),n(t,0,e.document)}:(o(window,i),module.exports=n(i,window,window.document))):n(jQuery,window,document)}(function(e,t,n,i){"use strict";e=e.fn.dataTable;return e.Api.register("row().show()",function(){var e=this.table().page.info(),t=this.index(),t=this.table().rows({search:"applied"})[0].indexOf(t);return t>=e.start&&t<e.end||t<0||(e=Math.floor(t/this.table().page.len()),this.table().page(e)),this}),e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* This plugin jumps to the right page of the DataTable to show the required row * This plugin jumps to the right page of the DataTable to show the required row
* *

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.Api.register("rows().generate()",function(){return this.iterator("row",function(e,n){e.oApi._fnCreateTr(e,n)})}),e}); !function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("rows().generate()",function(){return this.iterator("row",function(e,n){e.oApi._fnCreateTr(e,n)})}),e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* When using `-init deferRender` you might find that under a specific set of circumstances you * When using `-init deferRender` you might find that under a specific set of circumstances you
* need the `-tag tr` element for a row which hasn't yet been drawn. This method can be used to * need the `-tag tr` element for a row which hasn't yet been drawn. This method can be used to

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

2
api/sum().min.js vendored

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";e=e.fn.dataTable;return e.Api.register("sum()",function(){return this.flatten().reduce(function(e,t){return(e="string"==typeof e?+e.replace(/[^\d.-]/g,""):e)+(t="string"==typeof t?+t.replace(/[^\d.-]/g,""):t)},0)}),e}); !function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("sum()",function(){return this.flatten().reduce(function(e,n){return(e="string"==typeof e?+e.replace(/[^\d.-]/g,""):e)+(n="string"==typeof n?+n.replace(/[^\d.-]/g,""):n)},0)}),e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* Fairly simply, this plug-in will take the data from an API result set * Fairly simply, this plug-in will take the data from an API result set
* and sum it, returning the summed value. The data can come from any data * and sum it, returning the summed value. The data can come from any data

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,(e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t))).fn.dataTable||require("datatables.net")(t,e),n(e,0,t.document)}:n(jQuery,window,document)}(function(i,t,u,e){"use strict";var n=i.fn.dataTable;return n.ext.buttons.download={text:"Download",action:function(t,e,n,o){var a={},e=(e.page.info().serverSide&&i.extend(a,e.ajax.params()),"function"==typeof o.data?o.data(a):"object"==typeof o.data&&i.extend(a,o.data),function n(t,o,a){return a=a||{},o=o||"",i.isPlainObject(t)||Array.isArray(t)?i.each(t,function(t,e){n(e,""===o?t:o+"["+t.toString()+"]",a)}):a[o]=t,a}(a)),r=i("<iframe/>").css({border:"none",height:0,width:0}).appendTo(u.body)[0].contentWindow.document,d=(r.open(),r.close(),i("<form/>",r).attr("method",o.type).attr("action",o.url).appendTo(r.body));i.each(e,function(t,e){i("<input/>",r).attr("type","text").attr("name",t.toString()).attr("autocomplete","no").val(e).appendTo(d)}),d.submit()},url:"",type:"POST",data:{}},n}); !function(n){var o,a;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?(o=require("jquery"),a=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"!=typeof window?module.exports=function(t,e){return t=t||window,e=e||o(t),a(t,e),n(e,0,t.document)}:(a(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(i,t,u,e){"use strict";var n=i.fn.dataTable;return n.ext.buttons.download={text:"Download",action:function(t,e,n,o){var a={},e=(e.page.info().serverSide&&i.extend(a,e.ajax.params()),"function"==typeof o.data?o.data(a):"object"==typeof o.data&&i.extend(a,o.data),function n(t,o,a){return a=a||{},o=o||"",i.isPlainObject(t)||Array.isArray(t)?i.each(t,function(t,e){n(e,""===o?t:o+"["+t.toString()+"]",a)}):a[o]=t,a}(a)),d=i("<iframe/>").css({border:"none",height:0,width:0}).appendTo(u.body)[0].contentWindow.document,r=(d.open(),d.close(),i("<form/>",d).attr("method",o.type).attr("action",o.url).appendTo(d.body));i.each(e,function(t,e){i("<input/>",d).attr("type","text").attr("name",t.toString()).attr("autocomplete","no").val(e).appendTo(r)}),r.submit()},url:"",type:"POST",data:{}},n});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary Download Button * @summary Download Button
* @author SpryMedia Ltd (www.datatables.net) * @author SpryMedia Ltd (www.datatables.net)

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © Fedonyuk Anton - datatables.net/license */ /*! © Fedonyuk Anton - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";e=e.fn.dataTable;return e.render.anchor=function(e=0,a={},o=null){return function(t,e,n,r={}){if("display"!==e)return t;null===o&&(o=t);var u="function"==typeof a?a(t,n,r):a;if(!u.href)switch(e){case"mail":u.href="mailto:"+t;break;case"phone":u.href="tel:"+t.replace(/[^+\d]+/g,"");break;default:try{u.href=new URL(t)}catch(e){u.href=t}}return jQuery("<a/>").attr(u).text(o||"")[0].outerText}},e}); !function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),o(e,n),t(n,0,e.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.render.anchor=function(e=0,u={},i=null){return function(n,e,t,r={}){if("display"!==e)return n;null===i&&(i=n);var o="function"==typeof u?u(n,t,r):u;if(!o.href)switch(e){case"mail":o.href="mailto:"+n;break;case"phone":o.href="tel:"+n.replace(/[^+\d]+/g,"");break;default:try{o.href=new URL(n)}catch(e){o.href=n}}return jQuery("<a/>").attr(o).text(i||"")[0].outerText}},e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @name anchor * @name anchor
* @summary Renders the column data as HTML anchor (`a` tag) * @summary Renders the column data as HTML anchor (`a` tag)

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,e,e.document)}:n(jQuery,window,document)}(function(e,i,t,n){"use strict";return e.fn.dataTable.render.moment=function(r,o,u){return 1===arguments.length&&(o=r,r="YYYY-MM-DD"),function(e,t,n){return e?i.moment(e,r,u,!0).format("sort"===t||"type"===t?"x":o):"sort"===t||"type"===t?0:e}},DateTime}); !function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,e,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,d,n,t){"use strict";return e.fn.dataTable.render.moment=function(o,r,u){return 1===arguments.length&&(r=o,o="YYYY-MM-DD"),function(e,n,t){return e?d.moment(e,o,u,!0).format("sort"===n||"type"===n?"x":r):"sort"===n||"type"===n?0:e}},DateTime});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* NOTE - As of DataTables 1.12, DataTables has a built in date / time renderer * NOTE - As of DataTables 1.12, DataTables has a built in date / time renderer
* which should be used in place of this renderer. See * which should be used in place of this renderer. See

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.render.ellipsis=function(r,u,i){function o(e){return(""+e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}return function(e,n,t){return"display"!==n?e:"number"!=typeof e&&"string"!=typeof e||(e=e.toString()).length<=r?i?o(e):e:(n=e.substr(0,r-1),u&&(n=n.replace(/\s([^\s]*)$/,"")),i&&(n=o(n)),'<span class="ellipsis" title="'+o(e)+'">'+n+"&#8230;</span>")}},e}); !function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),o(e,n),t(n,0,e.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.render.ellipsis=function(r,o,i){function u(e){return(""+e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}return function(e,n,t){return"display"!==n?e:"number"!=typeof e&&"string"!=typeof e||(e=e.toString()).length<=r?i?u(e):e:(n=e.substr(0,r-1),o&&(n=n.replace(/\s([^\s]*)$/,"")),i&&(n=u(n)),'<span class="ellipsis" title="'+u(e)+'">'+n+"&#8230;</span>")}},e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* This data rendering helper method can be useful for cases where you have * This data rendering helper method can be useful for cases where you have
* potentially large data strings to be shown in a column that is restricted by * potentially large data strings to be shown in a column that is restricted by

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © Lokesh Babu - datatables.net/license */ /*! © Lokesh Babu - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";e=e.fn.dataTable;return e.render.hyperLink=function(u,a,i,o){function e(e,t){return"number"==typeof e||"string"==typeof e&&parseInt(e)?e:t}u=u||"Click Here",a=a||"newTab",i=e(i,600),o=e(o,400);return function(e,t,n){if("display"!==t)return e;var r=e;try{switch(r=new URL(e),a){case"newTab":return'<a title="'+r+'" href="'+r+'" target="_blank">'+u+"</a>";case"popup":return'<a title="'+r+'" href="'+r+'" target="popup" rel="noopener noreferrer" onclick="window.open(\''+r+"', '"+u+"', 'width="+i+",height="+o+"'); return false;\">"+u+"</a>";default:return'<a title="'+r+'" href="'+r+'" target="_blank">'+u+"</a>"}}catch(e){return r}}},e}); !function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),o(e,n),t(n,0,e.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.render.hyperLink=function(o,u,i,a){function e(e,n){return"number"==typeof e||"string"==typeof e&&parseInt(e)?e:n}o=o||"Click Here",u=u||"newTab",i=e(i,600),a=e(a,400);return function(e,n,t){if("display"!==n)return e;var r=e;try{switch(r=new URL(e),u){case"newTab":return'<a title="'+r+'" href="'+r+'" target="_blank">'+o+"</a>";case"popup":return'<a title="'+r+'" href="'+r+'" target="popup" rel="noopener noreferrer" onclick="window.open(\''+r+"', '"+o+"', 'width="+i+",height="+a+"'); return false;\">"+o+"</a>";default:return'<a title="'+r+'" href="'+r+'" target="_blank">'+o+"</a>"}}catch(e){return r}}},e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* This data rendering helper method can be useful when a hyperLink with custom * This data rendering helper method can be useful when a hyperLink with custom
* anchorText has to rendered. The data for the column is still fully searchable and sortable, based on the hyperLink value, * anchorText has to rendered. The data for the column is still fully searchable and sortable, based on the hyperLink value,

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}(function(e,u,n,t){"use strict";e=e.fn.dataTable;return e.render.intlDateTime=function(e,n){var r;return u.Intl?(r=new Intl.DateTimeFormat(e,n),function(e,n){var t;return"string"==typeof e?t=Date.parse(e):e instanceof Date&&(t=e),isNaN(t)||"type"===n||"sort"===n?e:r.format(t)}):function(e){return e}},e.render.intlNumber=function(e,n){var t;return u.Intl?(t=new Intl.NumberFormat(e,n),function(e,n){return"display"===n?t.format(e):"filter"===n?e+" "+t.format(e):e}):function(e){return e}},e}); !function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(n){return t(n,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(n,e){e.fn.dataTable||require("datatables.net")(n,e)},"undefined"!=typeof window?module.exports=function(n,e){return n=n||window,e=e||r(n),o(n,e),t(e,n,n.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(n,o,e,t){"use strict";n=n.fn.dataTable;return n.render.intlDateTime=function(n,e){var r;return o.Intl?(r=new Intl.DateTimeFormat(n,e),function(n,e){var t;return"string"==typeof n?t=Date.parse(n):n instanceof Date&&(t=n),isNaN(t)||"type"===e||"sort"===e?n:r.format(t)}):function(n){return n}},n.render.intlNumber=function(n,e){var t;return o.Intl?(t=new Intl.NumberFormat(n,e),function(n,e){return"display"===e?t.format(n):"filter"===e?n+" "+t.format(n):n}):function(n){return n}},n});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* Rendering methods using the Javascript Intl API. This is supported by IE11, * Rendering methods using the Javascript Intl API. This is supported by IE11,
* Edge, Chrome, Firefox and Safari 10+. Any browser that does not support the * Edge, Chrome, Firefox and Safari 10+. Any browser that does not support the

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(e,n,t,u){"use strict";e=e.fn.dataTable;return e.render.multi=function(r){return function(e,n,t,u){for(var o=0;o<r.length;o++)"function"==typeof r[o]?e=r[o](e,n,t,u):"function"==typeof r[o][n]?e=r[o][n](e,n,t,u):"function"==typeof r[o]._&&(e=r[o]._(e,n,t,u));return e}},e}); !function(t){var o,u;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(n){return t(n,window,document)}):"object"==typeof exports?(o=require("jquery"),u=function(n,e){e.fn.dataTable||require("datatables.net")(n,e)},"undefined"!=typeof window?module.exports=function(n,e){return n=n||window,e=e||o(n),u(n,e),t(e,0,n.document)}:(u(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(n,e,t,o){"use strict";n=n.fn.dataTable;return n.render.multi=function(i){return function(n,e,t,o){for(var u=0;u<i.length;u++)"function"==typeof i[u]?n=i[u](n,e,t,o):"function"==typeof i[u][e]?n=i[u][e](n,e,t,o):"function"==typeof i[u]._&&(n=i[u]._(n,e,t,o));return n}},n});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* This renderer doesn't format the output itself, but rather allows multiple * This renderer doesn't format the output itself, but rather allows multiple
* renderers to be easily called, which will render the content in sequence. * renderers to be easily called, which will render the content in sequence.

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd, Alireza Mohammadi Doost - datatables.net/license */ /*! © SpryMedia Ltd, Alireza Mohammadi Doost - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.render.numberTo=function(r="fa"){let u=null;const i=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],a=["0","1","2","3","4","5","6","7","8","9"],o=["۰","١","٢","٣","٤","٥","٦","٧","٨","٩"];return function(e,n,t){if("display"!==n)return e;if(!e&&"fa"===r)return"مقدار ورودی صحیح نمی‌باشد.";if(!e)return"numbers is empty.";switch(r){case"fa":u=e.toString().replace(/\d/g,e=>i[e]);break;case"en":u=e.toString().replace(/\d/g,e=>a[e]);break;case"ar":u=e.toString().replace(/\d/g,e=>o[e])}return u}},e}); !function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),o(e,n),t(n,0,e.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.render.numberTo=function(r="fa"){let o=null;const u=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],i=["0","1","2","3","4","5","6","7","8","9"],d=["۰","١","٢","٣","٤","٥","٦","٧","٨","٩"];return function(e,n,t){if("display"!==n)return e;if(!e&&"fa"===r)return"مقدار ورودی صحیح نمی‌باشد.";if(!e)return"numbers is empty.";switch(r){case"fa":o=e.toString().replace(/\d/g,e=>u[e]);break;case"en":o=e.toString().replace(/\d/g,e=>i[e]);break;case"ar":o=e.toString().replace(/\d/g,e=>d[e])}return o}},e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* Convert numbers to farsi, english, arabic. * Convert numbers to farsi, english, arabic.
* تبدیل عداد به فارسی, انگلیسی, عربی * تبدیل عداد به فارسی, انگلیسی, عربی

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © Drijkoningen Dirk - datatables.net/license */ /*! © Drijkoningen Dirk - datatables.net/license */
!function(r){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return r(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),r(t,0,e.document)}:r(jQuery,window,document)}(function(e,t,r,i){"use strict";e=e.fn.dataTable;return e.render.percentBar=function(e,t,r,i,n,o,d){o=o||0;var u="border:2px "+(d=d||"ridge")+" "+(r=r||"#BCBCBC")+";line-height:12px;font-size:14px;color:"+(t=t||"#000")+";background:"+(n=n||"#E6E6E6")+";position:relative;",a="height:12px;line-height:12px;text-align:center;background-color:"+(i=i||"#5FD868")+";padding:auto 6px;";return"round"==(e=e||"square")&&(u+="border-radius:5px;",a+="border-top-left-radius:4px;border-bottom-left-radius:4px;"),function(e,t,r){var i=parseFloat(e.toString().replace(/\s%|%/g,"")).toFixed(o);return 100<i&&(i=100),"display"!==t?i:"number"!=typeof e&&"string"!=typeof e?e:'<div style="max-width:100px;height:12px;margin:0 auto;"><div style="'+u+'"><div style="'+a+"width:"+i+'%;"></div><div style="width:100%;text-align:center;position:absolute;left:0;top:0;">'+i+"%</div></div></div>"}},e}); !function(n){var i,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?(i=require("jquery"),o=function(e,t){t.fn.dataTable||require("datatables.net")(e,t)},"undefined"!=typeof window?module.exports=function(e,t){return e=e||window,t=t||i(e),o(e,t),n(t,0,e.document)}:(o(window,i),module.exports=n(i,window,window.document))):n(jQuery,window,document)}(function(e,t,n,i){"use strict";e=e.fn.dataTable;return e.render.percentBar=function(e,t,n,i,o,r,d){r=r||0;var u="border:2px "+(d=d||"ridge")+" "+(n=n||"#BCBCBC")+";line-height:12px;font-size:14px;color:"+(t=t||"#000")+";background:"+(o=o||"#E6E6E6")+";position:relative;",a="height:12px;line-height:12px;text-align:center;background-color:"+(i=i||"#5FD868")+";padding:auto 6px;";return"round"==(e=e||"square")&&(u+="border-radius:5px;",a+="border-top-left-radius:4px;border-bottom-left-radius:4px;"),function(e,t,n){var i=parseFloat(e.toString().replace(/\s%|%/g,"")).toFixed(r);return 100<i&&(i=100),"display"!==t?i:"number"!=typeof e&&"string"!=typeof e?e:'<div style="max-width:100px;height:12px;margin:0 auto;"><div style="'+u+'"><div style="'+a+"width:"+i+'%;"></div><div style="width:100%;text-align:center;position:absolute;left:0;top:0;">'+i+"%</div></div></div>"}},e});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* This data rendering helper method will convert percentage values into a bar. * This data rendering helper method will convert percentage values into a bar.
* Values can either have the % sign or not and decimals get rounded to the * Values can either have the % sign or not and decimals get rounded to the

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(a){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return a(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,(e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t))).fn.dataTable||require("datatables.net")(t,e),a(e,0,t.document)}:a(jQuery,window,document)}(function(o,t,e,r){"use strict";var i=o.fn.dataTable;function c(t,e,a){e.empty(),e.append("Search: ");var t=t.column(a.column).data(),n=function(t,e){for(var a,n={},r=0,i=t.length;r<i;r++)n[a=e.caseSensitive?t[r].toString().replace(/<.*?>/g,"").charAt(0):t[r].toString().replace(/<.*?>/g,"").charAt(0).toUpperCase()]?n[a]++:n[a]=1;return n}(t,a);if(o('<span class="clear active"/>').data("letter","").data("match-count",t.length).html("None").appendTo(e),a.numbers)for(var r=0;r<10;r++){var i=String.fromCharCode(48+r);o("<span/>").data("letter",i).data("match-count",n[i]||0).addClass(n[i]?"":"empty").html(i).appendTo(e)}for(r=0;r<26;r++){i=String.fromCharCode(65+r);o("<span/>").data("letter",i).data("match-count",n[i]||0).addClass(n[i]?"":"empty").html(i).appendTo(e)}if(a.caseSensitive)for(r=0;r<26;r++){i=String.fromCharCode(97+r);o("<span/>").data("letter",i).data("match-count",n[i]||0).addClass(n[i]?"":"empty").html(i).appendTo(e)}o('<div class="alphabetInfo"></div>').appendTo(e)}return i.Api.register("alphabetSearch()",function(e){return this.iterator("table",function(t){t.alphabetSearch=e}),this}),i.Api.register("alphabetSearch.recalc()",function(){return this.iterator("table",function(t){c(new i.Api(t),t._alphabet,t._alphabetOptions)}),this}),i.Api.register("alphabetSearch.node()",function(){return this._context.length?this._context._alphabet:null}),i.ext.search.push(function(t,e){if(!t.alphabetSearch)return!0;var a=0,n=!1;if(t.oInit.alphabet!==r&&(a=t.oInit.alphabet.column!==r?t.oInit.alphabet.column:0,n=t.oInit.alphabet.caseSensitive!==r&&t.oInit.alphabet.caseSensitive),n){if(e[a].charAt(0)===t.alphabetSearch)return!0}else if(e[a].charAt(0).toUpperCase()===t.alphabetSearch)return!0;return!1}),i.AlphabetSearch=function(t){var e=new i.Api(t),a=o('<div class="alphabet"/>'),n=o.extend({column:0,caseSensitive:!1,numbers:!1},e.init().alphabet);c(e,a,n),t._alphabet=a,t._alphabetOptions=n,a.on("click","span",function(){a.find(".active").removeClass("active"),o(this).addClass("active"),e.alphabetSearch(o(this).data("letter")).draw()}),a.on("mouseenter","span",function(){a.find("div.alphabetInfo").css({opacity:1,left:o(this).position().left,width:o(this).width()}).html(o(this).data("match-count"))}).on("mouseleave","span",function(){a.find("div.alphabetInfo").css("opacity",0)})},i.ext.feature.push({fnInit:function(t){return new i.AlphabetSearch(t).node()},cFeature:"A"}),i}); !function(a){var n,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return a(t,window,document)}):"object"==typeof exports?(n=require("jquery"),i=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"!=typeof window?module.exports=function(t,e){return t=t||window,e=e||n(t),i(t,e),a(e,0,t.document)}:(i(window,n),module.exports=a(n,window,window.document))):a(jQuery,window,document)}(function(o,t,e,i){"use strict";var r=o.fn.dataTable;function c(t,e,a){e.empty(),e.append("Search: ");var t=t.column(a.column).data(),n=function(t,e){for(var a,n={},i=0,r=t.length;i<r;i++)n[a=e.caseSensitive?t[i].toString().replace(/<.*?>/g,"").charAt(0):t[i].toString().replace(/<.*?>/g,"").charAt(0).toUpperCase()]?n[a]++:n[a]=1;return n}(t,a);if(o('<span class="clear active"/>').data("letter","").data("match-count",t.length).html("None").appendTo(e),a.numbers)for(var i=0;i<10;i++){var r=String.fromCharCode(48+i);o("<span/>").data("letter",r).data("match-count",n[r]||0).addClass(n[r]?"":"empty").html(r).appendTo(e)}for(i=0;i<26;i++){r=String.fromCharCode(65+i);o("<span/>").data("letter",r).data("match-count",n[r]||0).addClass(n[r]?"":"empty").html(r).appendTo(e)}if(a.caseSensitive)for(i=0;i<26;i++){r=String.fromCharCode(97+i);o("<span/>").data("letter",r).data("match-count",n[r]||0).addClass(n[r]?"":"empty").html(r).appendTo(e)}o('<div class="alphabetInfo"></div>').appendTo(e)}return r.Api.register("alphabetSearch()",function(e){return this.iterator("table",function(t){t.alphabetSearch=e}),this}),r.Api.register("alphabetSearch.recalc()",function(){return this.iterator("table",function(t){c(new r.Api(t),t._alphabet,t._alphabetOptions)}),this}),r.Api.register("alphabetSearch.node()",function(){return this._context.length?this._context._alphabet:null}),r.ext.search.push(function(t,e){if(!t.alphabetSearch)return!0;var a=0,n=!1;if(t.oInit.alphabet!==i&&(a=t.oInit.alphabet.column!==i?t.oInit.alphabet.column:0,n=t.oInit.alphabet.caseSensitive!==i&&t.oInit.alphabet.caseSensitive),n){if(e[a].charAt(0)===t.alphabetSearch)return!0}else if(e[a].charAt(0).toUpperCase()===t.alphabetSearch)return!0;return!1}),r.AlphabetSearch=function(t){var e=new r.Api(t),a=o('<div class="alphabet"/>'),n=o.extend({column:0,caseSensitive:!1,numbers:!1},e.init().alphabet);c(e,a,n),t._alphabet=a,t._alphabetOptions=n,a.on("click","span",function(){a.find(".active").removeClass("active"),o(this).addClass("active"),e.alphabetSearch(o(this).data("letter")).draw()}),a.on("mouseenter","span",function(){a.find("div.alphabetInfo").css({opacity:1,left:o(this).position().left,width:o(this).width()}).html(o(this).data("match-count"))}).on("mouseleave","span",function(){a.find("div.alphabetInfo").css("opacity",0)})},r.ext.feature.push({fnInit:function(t){return new r.AlphabetSearch(t).node()},cFeature:"A"}),r});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary AlphabetSearch * @summary AlphabetSearch
* @description Show an set of alphabet buttons alongside a table providing * @description Show an set of alphabet buttons alongside a table providing

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd, Garrett Hyder - datatables.net/license */ /*! © SpryMedia Ltd, Garrett Hyder - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(r,e,t,i){"use strict";var u=r.fn.dataTable;return r(t).on("init.dt",function(e,t){var a,o,d,s,n;"dt"===e.namespace&&(e=t.oInit.conditionalPageLength||u.defaults.conditionalPageLength,n=t.aLengthMenu||u.defaults.lengthMenu,n=(n=Array.isArray(n[0])?n[0]:n).filter(function(e){return 0<e}),a=Math.min.apply(Math,n),r.isPlainObject(e)||!0===e)&&(o=r.isPlainObject(e)?e:{},d=new u.Api(t),s=500,o.speed!==i&&(s=o.speed),(n=function(e){var t=r(d.table().container()).find("div.dataTables_length"),n=d.page.info().pages,i=d.rows({search:"applied"}).count();e instanceof r.Event?n<=1&&i<=a?"fade"===o.style?t.stop().fadeTo(s,0):t.css("visibility","hidden"):"fade"===o.style?t.stop().fadeTo(s,1):t.css("visibility",""):n<=1&&i<=a&&("fade"===o.style?t.css("opacity",0):t.css("visibility","hidden")),o.conditionalOptions&&t.find("select option").each(function(e){parseInt(r(this).attr("value"),10)>i?r(this).hide():r(this).show()})})(null),d.on("draw.dt",n))}),u}); !function(t){var i,a;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(i=require("jquery"),a=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||i(e),a(e,n),t(n,0,e.document)}:(a(window,i),module.exports=t(i,window,window.document))):t(jQuery,window,document)}(function(r,e,n,i){"use strict";var u=r.fn.dataTable;return r(n).on("init.dt",function(e,n){var a,o,d,s,t;"dt"===e.namespace&&(e=n.oInit.conditionalPageLength||u.defaults.conditionalPageLength,t=n.aLengthMenu||u.defaults.lengthMenu,t=(t=Array.isArray(t[0])?t[0]:t).filter(function(e){return 0<e}),a=Math.min.apply(Math,t),r.isPlainObject(e)||!0===e)&&(o=r.isPlainObject(e)?e:{},d=new u.Api(n),s=500,o.speed!==i&&(s=o.speed),(t=function(e){var n=r(d.table().container()).find("div.dataTables_length"),t=d.page.info().pages,i=d.rows({search:"applied"}).count();e instanceof r.Event?t<=1&&i<=a?"fade"===o.style?n.stop().fadeTo(s,0):n.css("visibility","hidden"):"fade"===o.style?n.stop().fadeTo(s,1):n.css("visibility",""):t<=1&&i<=a&&("fade"===o.style?n.css("opacity",0):n.css("visibility","hidden")),o.conditionalOptions&&n.find("select option").each(function(e){parseInt(r(this).attr("value"),10)>i?r(this).hide():r(this).show()})})(null),d.on("draw.dt",t))}),u});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary ConditionalPageLength * @summary ConditionalPageLength
* @description Hide the page length control when the amount of pages is <= 1 * @description Hide the page length control when the amount of pages is <= 1

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd, Matthew Hasbach - datatables.net/license */ /*! © SpryMedia Ltd, Matthew Hasbach - datatables.net/license */
!function(i){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return i(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),i(n,0,e.document)}:i(jQuery,window,document)}(function(o,e,n,i){"use strict";var s=o.fn.dataTable;return o(n).on("init.dt",function(e,n){var t,a,d;"dt"===e.namespace&&(e=n.oInit.conditionalPaging||s.defaults.conditionalPaging,o.isPlainObject(e)||!0===e)&&(t=o.isPlainObject(e)?e:{},a=new s.Api(n),d=500,t.speed!==i&&(d=t.speed),(e=function(e){var n=o(a.table().container()).find("div.dataTables_paginate"),i=a.page.info().pages;e instanceof o.Event?i<=1?"fade"===t.style?n.stop().fadeTo(d,0):n.css("visibility","hidden"):"fade"===t.style?n.stop().fadeTo(d,1):n.css("visibility",""):i<=1&&("fade"===t.style?n.css("opacity",0):n.css("visibility","hidden"))})(null),a.on("draw.dt",e))}),s}); !function(i){var t,d;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return i(e,window,document)}):"object"==typeof exports?(t=require("jquery"),d=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||t(e),d(e,n),i(n,0,e.document)}:(d(window,t),module.exports=i(t,window,window.document))):i(jQuery,window,document)}(function(o,e,n,i){"use strict";var s=o.fn.dataTable;return o(n).on("init.dt",function(e,n){var t,d,a;"dt"===e.namespace&&(e=n.oInit.conditionalPaging||s.defaults.conditionalPaging,o.isPlainObject(e)||!0===e)&&(t=o.isPlainObject(e)?e:{},d=new s.Api(n),a=500,t.speed!==i&&(a=t.speed),(e=function(e){var n=o(d.table().container()).find("div.dataTables_paginate"),i=d.page.info().pages;e instanceof o.Event?i<=1?"fade"===t.style?n.stop().fadeTo(a,0):n.css("visibility","hidden"):"fade"===t.style?n.stop().fadeTo(a,1):n.css("visibility",""):i<=1&&("fade"===t.style?n.css("opacity",0):n.css("visibility","hidden"))})(null),d.on("draw.dt",e))}),s});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary ConditionalPaging * @summary ConditionalPaging
* @description Hide paging controls when the amount of pages is <= 1 * @description Hide paging controls when the amount of pages is <= 1

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(d,e,n,t){"use strict";var u=d.fn.dataTable;return u.ext.deepLink=function(e){for(var n=location.search.replace(/^\?/,"").split("&"),t={},r=0,i=n.length;r<i;r++){var o=n[r].split("="),a=decodeURIComponent(o[0]),o=decodeURIComponent(o[1]);if("true"===o)o=!0;else if("false"===o)o=!1;else if(o.match(/[^\d]/)||"search.search"===a){if(0===o.indexOf("{")||0===o.indexOf("["))try{o=d.parseJSON(o)}catch(e){}}else o=+o;"all"!==e&&-1===d.inArray(a,e)||u.util.set(a)(t,o,{})}return t},u}); !function(t){var o,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),i=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),i(e,n),t(n,0,e.document)}:(i(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(a,e,n,t){"use strict";var u=a.fn.dataTable;return u.ext.deepLink=function(e){for(var n=location.search.replace(/^\?/,"").split("&"),t={},o=0,i=n.length;o<i;o++){var r=n[o].split("="),d=decodeURIComponent(r[0]),r=decodeURIComponent(r[1]);if("true"===r)r=!0;else if("false"===r)r=!1;else if(r.match(/[^\d]/)||"search.search"===d){if(0===r.indexOf("{")||0===r.indexOf("["))try{r=a.parseJSON(r)}catch(e){}}else r=+r;"all"!==e&&-1===a.inArray(d,e)||u.util.set(d)(t,r,{})}return t},u});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary LengthLinks * @summary LengthLinks
* @description Deep linking options parsing support for DataTables * @description Deep linking options parsing support for DataTables

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © Ulises Gomez / Gravity Lending, SpryMedia Ltd - datatables.net/license */ /*! © Ulises Gomez / Gravity Lending, SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(u,e,t,r){"use strict";var i=u.fn.dataTable;return i.Api.register("excludeSearch()",function(t){return this.iterator("table",function(e){e.exclude_search=t}),this}),i.ext.search.push(function(t,e){if(""===t.exclude_search||t.exclude_search===r||null===t.exclude_search)return!0;let n=!0;return e.forEach(e=>{e.toUpperCase().includes(t.exclude_search.toUpperCase())&&(n=!1)}),n}),i.ExcludeSearch=function(e){let t=new i.Api(e),n=u('<div class="mx-3 dataTables_filter"><label>Exclude: </label><input type="text" /></div>');n.find("input").on("input",function(){t.excludeSearch(u(this).val()).draw()}),this.node=function(){return n}},i.ext.feature.push({fnInit:function(e){return new i.ExcludeSearch(e).node()},cFeature:"X"}),i}); !function(t){var u,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(u=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||u(e),r(e,n),t(n,0,e.document)}:(r(window,u),module.exports=t(u,window,window.document))):t(jQuery,window,document)}(function(u,e,n,r){"use strict";var i=u.fn.dataTable;return i.Api.register("excludeSearch()",function(n){return this.iterator("table",function(e){e.exclude_search=n}),this}),i.ext.search.push(function(n,e){if(""===n.exclude_search||n.exclude_search===r||null===n.exclude_search)return!0;let t=!0;return e.forEach(e=>{e.toUpperCase().includes(n.exclude_search.toUpperCase())&&(t=!1)}),t}),i.ExcludeSearch=function(e){let n=new i.Api(e),t=u('<div class="mx-3 dataTables_filter"><label>Exclude: </label><input type="text" /></div>');t.find("input").on("input",function(){n.excludeSearch(u(this).val()).draw()}),this.node=function(){return t}},i.ext.feature.push({fnInit:function(e){return new i.ExcludeSearch(e).node()},cFeature:"X"}),i});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary ExcludeSearch * @summary ExcludeSearch
* @description Add an input box that will remove matching items from the table * @description Add an input box that will remove matching items from the table

@ -17,6 +17,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -25,18 +33,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

File diff suppressed because one or more lines are too long

@ -11,7 +11,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
function levenshtein(__this, that, limit) { function levenshtein(__this, that, limit) {
var thisLength = __this.length, thatLength = that.length, matrix = []; var thisLength = __this.length, thatLength = that.length, matrix = [];
// If the limit is not defined it will be calculate from this and that args. // If the limit is not defined it will be calculate from this and that args.

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(o,e,n,t){"use strict";var a=o.fn.dataTable;return a.LengthLinks=function(e){var r=new a.Api(e),n=r.settings()[0],i=o("<div></div>").addClass(n.oClasses.sLength),u=null;this.container=function(){return i[0]},i.on("click.dtll","a",function(e){e.preventDefault(),r.page.len(+o(this).data("length")).draw(!1)}),r.on("draw",function(){var t,a,e;r.page.len()!==u&&(e=n.aLengthMenu,t=2===e.length&&Array.isArray(e[0])?e[1]:e,a=2===e.length&&Array.isArray(e[0])?e[0]:e,e=o.map(a,function(e,n){return e==r.page.len()?'<a class="active" data-length="'+a[n]+'">'+t[n]+"</a>":'<a data-length="'+a[n]+'">'+t[n]+"</a>"}),i.html(n.oLanguage.sLengthMenu.replace("_MENU_",e.join(" | "))),u=r.page.len())}),r.on("destroy",function(){i.off("click.dtll","a")})},a.ext.feature.push({fnInit:function(e){return new a.LengthLinks(e).container()},cFeature:"L",sFeature:"LengthLinks"}),a}); !function(t){var a,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(n){return t(n,window,document)}):"object"==typeof exports?(a=require("jquery"),i=function(n,e){e.fn.dataTable||require("datatables.net")(n,e)},"undefined"!=typeof window?module.exports=function(n,e){return n=n||window,e=e||a(n),i(n,e),t(e,0,n.document)}:(i(window,a),module.exports=t(a,window,window.document))):t(jQuery,window,document)}(function(u,n,e,t){"use strict";var a=u.fn.dataTable;return a.LengthLinks=function(n){var i=new a.Api(n),e=i.settings()[0],r=u("<div></div>").addClass(e.oClasses.sLength),o=null;this.container=function(){return r[0]},r.on("click.dtll","a",function(n){n.preventDefault(),i.page.len(+u(this).data("length")).draw(!1)}),i.on("draw",function(){var t,a,n;i.page.len()!==o&&(n=e.aLengthMenu,t=2===n.length&&Array.isArray(n[0])?n[1]:n,a=2===n.length&&Array.isArray(n[0])?n[0]:n,n=u.map(a,function(n,e){return n==i.page.len()?'<a class="active" data-length="'+a[e]+'">'+t[e]+"</a>":'<a data-length="'+a[e]+'">'+t[e]+"</a>"}),r.html(e.oLanguage.sLengthMenu.replace("_MENU_",n.join(" | "))),o=i.page.len())}),i.on("destroy",function(){r.off("click.dtll","a")})},a.ext.feature.push({fnInit:function(n){return new a.LengthLinks(n).container()},cFeature:"L",sFeature:"LengthLinks"}),a});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary LengthLinks * @summary LengthLinks
* @description Page length control via links for DataTables * @description Page length control via links for DataTables

@ -14,6 +14,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -22,18 +30,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -4,4 +4,4 @@
* Copyright (c) 20162020, Julian Kühnel, SpryMedia Ltd * Copyright (c) 20162020, Julian Kühnel, SpryMedia Ltd
* Released under the MIT license https://git.io/voRZ7 * Released under the MIT license https://git.io/voRZ7
*****************************************************/ *****************************************************/
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,(e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t))).fn.dataTable||require("datatables.net")(t,e),n(e,0,t.document)}:n(jQuery,window,document)}(function(r,t,e,n){"use strict";var i=r.fn.dataTable;class s{instance;options;intervalThreshold;intervalMs;constructor(t,e){if(!r.fn.mark||!r.fn.unmark)throw new Error("jquery.mark.js is necessary for datatables.mark.js");this.instance=t,this.options="object"==typeof e?e:{},this.intervalThreshold=49,this.intervalMs=300,this.initMarkListener()}initMarkListener(){let t="draw.dt.dth column-visibility.dt.dth column-reorder.dt.dth",e=(t+=" responsive-display.dt.dth",null);this.instance.on(t,()=>{this.instance.rows({filter:"applied",page:"current"}).nodes().length>this.intervalThreshold?(clearTimeout(e),e=setTimeout(()=>{this.mark()},this.intervalMs)):this.mark()}),this.instance.on("destroy",()=>{this.instance.off(t)}),this.mark()}mark(){const s=this.instance.search();var t=r(this.instance.table().body());t.unmark(this.options),this.instance.table().rows({search:"applied"}).data().length&&t.mark(s,this.options),this.instance.columns({search:"applied",page:"current"}).nodes().each((t,e)=>{const n=this.instance.column(e).search(),i=n||s;i&&t.forEach(t=>{r(t).unmark(this.options).mark(i,this.options)})})}}return r(e).on("init.dt.dth",(e,n)=>{if("dt"===e.namespace){e=new i.Api(n);let t=!1;e.init().mark?t=e.init().mark:i.defaults.mark&&(t=i.defaults.mark),t&&new s(e,t)}}),i}); !function(n){var i,s;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?(i=require("jquery"),s=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"!=typeof window?module.exports=function(t,e){return t=t||window,e=e||i(t),s(t,e),n(e,0,t.document)}:(s(window,i),module.exports=n(i,window,window.document))):n(jQuery,window,document)}(function(a,t,e,n){"use strict";var i=a.fn.dataTable;class s{instance;options;intervalThreshold;intervalMs;constructor(t,e){if(!a.fn.mark||!a.fn.unmark)throw new Error("jquery.mark.js is necessary for datatables.mark.js");this.instance=t,this.options="object"==typeof e?e:{},this.intervalThreshold=49,this.intervalMs=300,this.initMarkListener()}initMarkListener(){let t="draw.dt.dth column-visibility.dt.dth column-reorder.dt.dth",e=(t+=" responsive-display.dt.dth",null);this.instance.on(t,()=>{this.instance.rows({filter:"applied",page:"current"}).nodes().length>this.intervalThreshold?(clearTimeout(e),e=setTimeout(()=>{this.mark()},this.intervalMs)):this.mark()}),this.instance.on("destroy",()=>{this.instance.off(t)}),this.mark()}mark(){const s=this.instance.search();var t=a(this.instance.table().body());t.unmark(this.options),this.instance.table().rows({search:"applied"}).data().length&&t.mark(s,this.options),this.instance.columns({search:"applied",page:"current"}).nodes().each((t,e)=>{const n=this.instance.column(e).search(),i=n||s;i&&t.forEach(t=>{a(t).unmark(this.options).mark(i,this.options)})})}}return a(e).on("init.dt.dth",(e,n)=>{if("dt"===e.namespace){e=new i.Api(n);let t=!1;e.init().mark?t=e.init().mark:i.defaults.mark&&(t=i.defaults.mark),t&&new s(e,t)}}),i});

@ -8,7 +8,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
class MarkDataTables { class MarkDataTables {
instance; instance;
options; options;

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(i){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return i(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),i(t,0,e.document)}:i(jQuery,window,document)}(function(d,e,t,i){"use strict";function o(e,t){var i=e.table();this.s={dt:e,host:d(i.container()).parent(),header:d(i.header()),footer:d(i.footer()),body:d(i.body()),container:d(i.container()),table:d(i.node()),delta:t},this.sizes={offsetTop:this._getOffsetTop(),tableHeight:this._getTableHeight(),containerHeight:this._getContainerHeight(),headerHeight:this._getHeaderHeight(),footerHeight:this._getFooterHeight()};"static"===(i=this.s.host).css("position")&&i.css("position","relative");var o=function(){e.off(".pageResize",o),this.s.obj&&this.s.obj.remove()}.bind(this),s=(e.on("destroy.pageResize",o),this._attach(),"init.pageResize");e.on(s,function(){e.off(s),this._size()}.bind(this))}var s=d.fn.dataTable;return o.prototype={_size:function(){var e=this.s,t=e.dt,i=t.table(),o=d("tr",e.body),o=o.eq(1<o.length?1:0).height(),s=e.host.height(),n=i.header().parentNode!==i.body().parentNode,e=e.delta,a=this.sizes.offsetTop=this._getOffsetTop(),h=this.sizes.tableHeight=this._getTableHeight(),r=this.sizes.containerHeight=this._getContainerHeight(),g=this.sizes.headerHeight=this._getHeaderHeight(),f=this.sizes.footerHeight=this._getFooterHeight(),n=(n||(i.header()&&(s-=g),i.footer()&&(s-=f)),s=s-a-(r-(a+h)),!isNaN(parseFloat(e))&&isFinite(e)&&(s-=e),Math.floor(s/o));n!==1/0&&n!==-1/0&&!isNaN(n)&&0<n&&n!==t.page.len()&&t.page.len(n).draw()},_attach:function(){var o=this,e=d("<object/>").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1}).attr("type","text/html");e[0].onload=function(){var e=this.contentDocument,t=e.body,i=t.offsetHeight;e.defaultView.onresize=function(){var e=t.clientHeight||t.offsetHeight;e!==i?(i=e,o._size()):o.sizes.offsetTop===o._getOffsetTop()&&o.sizes.containerHeight===o._getContainerHeight()&&o.sizes.tableHeight===o._getTableHeight()&&o.sizes.headerHeight===o._getHeaderHeight()&&o.sizes.footerHeight===o._getFooterHeight()||o._size()}},e.appendTo(this.s.host).attr("data","about:blank"),this.s.obj=e},_getOffsetTop:function(){return d(this.s.table).offset().top},_getTableHeight:function(){return this.s.table.height()},_getContainerHeight:function(){return this.s.container.height()},_getHeaderHeight:function(){return this.s.dt.table().header()?this.s.header.height():0},_getFooterHeight:function(){return this.s.dt.table().footer()?this.s.footer.height():0}},s.PageResize=o,d(t).on("preInit.dt",function(e,t){"dt"===e.namespace&&(e=new s.Api(t),d(e.table().node()).hasClass("pageResize")||t.oInit.pageResize||s.defaults.pageResize)&&new o(e,t.oInit.pageResizeManualDelta)}),s}); !function(i){var o,s;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return i(e,window,document)}):"object"==typeof exports?(o=require("jquery"),s=function(e,t){t.fn.dataTable||require("datatables.net")(e,t)},"undefined"!=typeof window?module.exports=function(e,t){return e=e||window,t=t||o(e),s(e,t),i(t,0,e.document)}:(s(window,o),module.exports=i(o,window,window.document))):i(jQuery,window,document)}(function(f,e,t,i){"use strict";function o(e,t){var i=e.table();this.s={dt:e,host:f(i.container()).parent(),header:f(i.header()),footer:f(i.footer()),body:f(i.body()),container:f(i.container()),table:f(i.node()),delta:t},this.sizes={offsetTop:this._getOffsetTop(),tableHeight:this._getTableHeight(),containerHeight:this._getContainerHeight(),headerHeight:this._getHeaderHeight(),footerHeight:this._getFooterHeight()};"static"===(i=this.s.host).css("position")&&i.css("position","relative");var o=function(){e.off(".pageResize",o),this.s.obj&&this.s.obj.remove()}.bind(this),s=(e.on("destroy.pageResize",o),this._attach(),"init.pageResize");e.on(s,function(){e.off(s),this._size()}.bind(this))}var s=f.fn.dataTable;return o.prototype={_size:function(){var e=this.s,t=e.dt,i=t.table(),o=f("tr",e.body),o=o.eq(1<o.length?1:0).height(),s=e.host.height(),n=i.header().parentNode!==i.body().parentNode,e=e.delta,a=this.sizes.offsetTop=this._getOffsetTop(),h=this.sizes.tableHeight=this._getTableHeight(),r=this.sizes.containerHeight=this._getContainerHeight(),g=this.sizes.headerHeight=this._getHeaderHeight(),d=this.sizes.footerHeight=this._getFooterHeight(),n=(n||(i.header()&&(s-=g),i.footer()&&(s-=d)),s=s-a-(r-(a+h)),!isNaN(parseFloat(e))&&isFinite(e)&&(s-=e),Math.floor(s/o));n!==1/0&&n!==-1/0&&!isNaN(n)&&0<n&&n!==t.page.len()&&t.page.len(n).draw()},_attach:function(){var o=this,e=f("<object/>").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1}).attr("type","text/html");e[0].onload=function(){var e=this.contentDocument,t=e.body,i=t.offsetHeight;e.defaultView.onresize=function(){var e=t.clientHeight||t.offsetHeight;e!==i?(i=e,o._size()):o.sizes.offsetTop===o._getOffsetTop()&&o.sizes.containerHeight===o._getContainerHeight()&&o.sizes.tableHeight===o._getTableHeight()&&o.sizes.headerHeight===o._getHeaderHeight()&&o.sizes.footerHeight===o._getFooterHeight()||o._size()}},e.appendTo(this.s.host).attr("data","about:blank"),this.s.obj=e},_getOffsetTop:function(){return f(this.s.table).offset().top},_getTableHeight:function(){return this.s.table.height()},_getContainerHeight:function(){return this.s.container.height()},_getHeaderHeight:function(){return this.s.dt.table().header()?this.s.header.height():0},_getFooterHeight:function(){return this.s.dt.table().footer()?this.s.footer.height():0}},s.PageResize=o,f(t).on("preInit.dt",function(e,t){"dt"===e.namespace&&(e=new s.Api(t),f(e.table().node()).hasClass("pageResize")||t.oInit.pageResize||s.defaults.pageResize)&&new o(e,t.oInit.pageResizeManualDelta)}),s});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary PageResize * @summary PageResize
* @description Automatically alter the DataTables page length to fit the table * @description Automatically alter the DataTables page length to fit the table

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(i,e,t,n){"use strict";function o(e){var t=e.table();this.s={dt:e,body:i(t.body())},this._attach()}var d=i.fn.dataTable;return o.prototype={_attach:function(){var r=this.s.dt,a=this.s.body;r.on("draw",function(){var e=r.columns(":visible").count(),t=r.rows({page:"current"}).count(),n="even",o="odd";(t=0===t?1:t)%2==0&&(n="odd",o="even");for(var d=0;d<r.page.len()-t;d++)a.append(i('<tr><td colspan="'+e+'">&nbsp;</td></tr>').addClass(d%2==0?n:o).addClass("dt-rowFill--filler"))})}},d.RowFill=o,i(t).on("preInit.dt",function(e,t){"dt"===e.namespace&&(e=new d.Api(t),t.oInit.rowFill||d.defaults.rowFill)&&new o(e)}),d}); !function(e){var o,d;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(n){return e(n,window,document)}):"object"==typeof exports?(o=require("jquery"),d=function(n,t){t.fn.dataTable||require("datatables.net")(n,t)},"undefined"!=typeof window?module.exports=function(n,t){return n=n||window,t=t||o(n),d(n,t),e(t,0,n.document)}:(d(window,o),module.exports=e(o,window,window.document))):e(jQuery,window,document)}(function(r,n,t,e){"use strict";function o(n){var t=n.table();this.s={dt:n,body:r(t.body())},this._attach()}var d=r.fn.dataTable;return o.prototype={_attach:function(){var i=this.s.dt,a=this.s.body;i.on("draw",function(){var n=i.columns(":visible").count(),t=i.rows({page:"current"}).count(),e="even",o="odd";(t=0===t?1:t)%2==0&&(e="odd",o="even");for(var d=0;d<i.page.len()-t;d++)a.append(r('<tr><td colspan="'+n+'">&nbsp;</td></tr>').addClass(d%2==0?e:o).addClass("dt-rowFill--filler"))})}},d.RowFill=o,r(t).on("preInit.dt",function(n,t){"dt"===n.namespace&&(n=new d.Api(t),t.oInit.rowFill||d.defaults.rowFill)&&new o(n)}),d});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary RowFill * @summary RowFill
* @description Match the number of rows in a table to the page length * @description Match the number of rows in a table to the page length

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(o){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return o(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,(e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t))).fn.dataTable||require("datatables.net")(t,e),o(e,0,t.document)}:o(jQuery,window,document)}(function(a,t,e,o){"use strict";function i(t){var e=this,o=t.table();this.s={dt:t,host:a(o.container()).parent(),header:a(o.header()),footer:a(o.footer()),body:a(o.body()),container:a(o.container()),table:a(o.node())};"static"===(o=this.s.host).css("position")&&o.css("position","relative"),t.on("draw.scrollResize",function(){e._size()}),t.on("destroy.scrollResize",function(){t.off(".scrollResize"),this.s.obj&&this.s.obj.remove()}.bind(this)),this._attach(),this._size();var o=t.settings()[0],i=(i=o.nScrollBody).scrollHeight>i.clientHeight;o.scrollBarVis&&!i&&t.columns.adjust()}var n=a.fn.dataTable;return i.prototype={_size:function(){var t=this.s,e=t.dt.table(),o=a(t.table).offset().top,i=t.host.height(),n=a("div.dataTables_scrollBody",e.container()),i=(i-=o)-(t.container.height()-(o+n.height()));a("div.dataTables_scrollBody",e.container()).css({maxHeight:i,height:i})},_attach:function(){var s=this,t=a("<iframe/>").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1,border:0}).attr("frameBorder","0").attr("src","about:blank");t[0].onload=function(){var t=this.contentDocument,o=t.body,i=o.offsetHeight,n=t;(n.defaultView||n.parentWindow).onresize=function(){var t=o.clientHeight||o.offsetHeight,e=n.documentElement.clientHeight;(t=!t&&e?e:t)!==i&&(i=t,s._size())}},t.appendTo(this.s.host).attr("data","about:blank"),this.s.obj=t}},n.ScrollResize=i,a(e).on("init.dt",function(t,e){"dt"===t.namespace&&(t=new n.Api(e),e.oInit.scrollResize||n.defaults.scrollResize)&&new i(t)}),n}); !function(o){var n,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return o(t,window,document)}):"object"==typeof exports?(n=require("jquery"),i=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"!=typeof window?module.exports=function(t,e){return t=t||window,e=e||n(t),i(t,e),o(e,0,t.document)}:(i(window,n),module.exports=o(n,window,window.document))):o(jQuery,window,document)}(function(a,t,e,o){"use strict";function n(t){var e=this,o=t.table();this.s={dt:t,host:a(o.container()).parent(),header:a(o.header()),footer:a(o.footer()),body:a(o.body()),container:a(o.container()),table:a(o.node())};"static"===(o=this.s.host).css("position")&&o.css("position","relative"),t.on("draw.scrollResize",function(){e._size()}),t.on("destroy.scrollResize",function(){t.off(".scrollResize"),this.s.obj&&this.s.obj.remove()}.bind(this)),this._attach(),this._size();var o=t.settings()[0],n=(n=o.nScrollBody).scrollHeight>n.clientHeight;o.scrollBarVis&&!n&&t.columns.adjust()}var i=a.fn.dataTable;return n.prototype={_size:function(){var t=this.s,e=t.dt.table(),o=a(t.table).offset().top,n=t.host.height(),i=a("div.dataTables_scrollBody",e.container()),n=(n-=o)-(t.container.height()-(o+i.height()));a("div.dataTables_scrollBody",e.container()).css({maxHeight:n,height:n})},_attach:function(){var s=this,t=a("<iframe/>").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1,border:0}).attr("frameBorder","0").attr("src","about:blank");t[0].onload=function(){var t=this.contentDocument,o=t.body,n=o.offsetHeight,i=t;(i.defaultView||i.parentWindow).onresize=function(){var t=o.clientHeight||o.offsetHeight,e=i.documentElement.clientHeight;(t=!t&&e?e:t)!==n&&(n=t,s._size())}},t.appendTo(this.s.host).attr("data","about:blank"),this.s.obj=t}},i.ScrollResize=n,a(e).on("init.dt",function(t,e){"dt"===t.namespace&&(t=new i.Api(e),e.oInit.scrollResize||i.defaults.scrollResize)&&new n(t)}),i});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary ScrollResize * @summary ScrollResize
* @description Automatically alter the DataTables page length to fit the table * @description Automatically alter the DataTables page length to fit the table

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(o,e,r,n){"use strict";var u=o.fn.dataTable;return o(r).on("preInit.dt",function(e,n){var t;"dt"===e.namespace&&(n.oInit.scrollToTop||u.defaults.scrollToTop)&&(t=new u.Api(n)).on("page",function(){setTimeout(function(){o(r).scrollTop(o(t.table().container()).offset().top)},10)})}),u}); !function(o){var t,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return o(e,window,document)}):"object"==typeof exports?(t=require("jquery"),i=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||t(e),i(e,n),o(n,0,e.document)}:(i(window,t),module.exports=o(t,window,window.document))):o(jQuery,window,document)}(function(t,e,i,n){"use strict";var u=t.fn.dataTable;return t(i).on("preInit.dt",function(e,n){var o;"dt"===e.namespace&&(n.oInit.scrollToTop||u.defaults.scrollToTop)&&(o=new u.Api(n)).on("page",function(){setTimeout(function(){t(i).scrollTop(t(o.table().container()).offset().top)},10)})}),u});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary scrollToTop * @summary scrollToTop
* @description Always return to top of table when page changed * @description Always return to top of table when page changed

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(d,e,n,t){"use strict";var r=d.fn.dataTable;return r.Api.register("searchFade()",function(){return this}),r.Api.register("searchFade().node()",function(){return this.settings()[0].searchFadeNode}),r.SearchFade=function(e){var n,i=new r.Api(e),t=d('<div class="searchFade"/>');i.settings()[0].searchFadeNode=t,e=i,(n=t).empty(),n.append("Search: "),d('<input type="text" class="searchFadeInput'+e.settings()[0].sTableId+'">').appendTo(n),t.on("keyup redraw","input",function(){i.rows(":visible").every(function(e,n,t){var r=!0,a=d(".searchFadeInput"+i.settings()[0].sTableId).val();a.length&&(r=i.row(e).data().some(function(e){return null!=e.match(new RegExp(a,"i"))})),d(i.row(e).node()).toggleClass("notMatched",!r)})}),i.on("draw",function(){d("input",t).trigger("redraw")}),this.node=function(){return t}},r.ext.feature.push({fnInit:function(e){return new r.SearchFade(e).node()},cFeature:"F"}),d(n).on("init.dt",function(e,n){"dt"===e.namespace&&(n.oInit.searchFade||r.defaults.searchFade)&&r.SearchFade(n)}),r}); !function(t){var a,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(a=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||a(e),r(e,n),t(n,0,e.document)}:(r(window,a),module.exports=t(a,window,window.document))):t(jQuery,window,document)}(function(i,e,n,t){"use strict";var a=i.fn.dataTable;return a.Api.register("searchFade()",function(){return this}),a.Api.register("searchFade().node()",function(){return this.settings()[0].searchFadeNode}),a.SearchFade=function(e){var n,d=new a.Api(e),t=i('<div class="searchFade"/>');d.settings()[0].searchFadeNode=t,e=d,(n=t).empty(),n.append("Search: "),i('<input type="text" class="searchFadeInput'+e.settings()[0].sTableId+'">').appendTo(n),t.on("keyup redraw","input",function(){d.rows(":visible").every(function(e,n,t){var a=!0,r=i(".searchFadeInput"+d.settings()[0].sTableId).val();r.length&&(a=d.row(e).data().some(function(e){return null!=e.match(new RegExp(r,"i"))})),i(d.row(e).node()).toggleClass("notMatched",!a)})}),d.on("draw",function(){i("input",t).trigger("redraw")}),this.node=function(){return t}},a.ext.feature.push({fnInit:function(e){return new a.SearchFade(e).node()},cFeature:"F"}),i(n).on("init.dt",function(e,n){"dt"===e.namespace&&(n.oInit.searchFade||a.defaults.searchFade)&&a.SearchFade(n)}),a});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary SearchFade * @summary SearchFade
* @description Search and Fade unmatching rows in a DataTables * @description Search and Fade unmatching rows in a DataTables

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */ /*! © SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,(e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t))).fn.dataTable||require("datatables.net")(t,e),n(e,0,t.document)}:n(jQuery,window,document)}(function(d,t,e,n){"use strict";var r=d.fn.dataTable;function a(t,e){t.unhighlight(),e.rows({filter:"applied"}).data().length&&(e.columns().every(function(){var t=this;t.nodes().flatten().to$().unhighlight({className:"column_highlight"}),t.nodes().flatten().to$().highlight(t.search().trim().split(/\s+/),{className:"column_highlight"})}),t.highlight(e.search().trim().split(/\s+/)))}return d(e).on("init.dt.dth",function(t,e,n){var i,o;"dt"===t.namespace&&(i=new r.Api(e),o=d(i.table().body()),d(i.table().node()).hasClass("searchHighlight")||e.oInit.searchHighlight||r.defaults.searchHighlight)&&(i.on("draw.dt.dth column-visibility.dt.dth column-reorder.dt.dth",function(){a(o,i)}).on("destroy",function(){i.off("draw.dt.dth column-visibility.dt.dth column-reorder.dt.dth")}),i.search())&&a(o,i)}),r}); !function(n){var i,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?(i=require("jquery"),o=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"!=typeof window?module.exports=function(t,e){return t=t||window,e=e||i(t),o(t,e),n(e,0,t.document)}:(o(window,i),module.exports=n(i,window,window.document))):n(jQuery,window,document)}(function(d,t,e,n){"use strict";var a=d.fn.dataTable;function r(t,e){t.unhighlight(),e.rows({filter:"applied"}).data().length&&(e.columns().every(function(){var t=this;t.nodes().flatten().to$().unhighlight({className:"column_highlight"}),t.nodes().flatten().to$().highlight(t.search().trim().split(/\s+/),{className:"column_highlight"})}),t.highlight(e.search().trim().split(/\s+/)))}return d(e).on("init.dt.dth",function(t,e,n){var i,o;"dt"===t.namespace&&(i=new a.Api(e),o=d(i.table().body()),d(i.table().node()).hasClass("searchHighlight")||e.oInit.searchHighlight||a.defaults.searchHighlight)&&(i.on("draw.dt.dth column-visibility.dt.dth column-reorder.dt.dth",function(){r(o,i)}).on("destroy",function(){i.off("draw.dt.dth column-visibility.dt.dth column-reorder.dt.dth")}),i.search())&&r(o,i)}),a});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary SearchHighlight * @summary SearchHighlight
* @description Search term highlighter for DataTables * @description Search term highlighter for DataTables

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

@ -1,2 +1,2 @@
/*! © Nick Adkinson, SpryMedia Ltd - datatables.net/license */ /*! © Nick Adkinson, SpryMedia Ltd - datatables.net/license */
!function(o){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(i){return o(i,window,document)}):"object"==typeof exports?module.exports=function(i,t){return i=i||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(i))).fn.dataTable||require("datatables.net")(i,t),o(t,0,i.document)}:o(jQuery,window,document)}(function(d,i,s,t){"use strict";function a(i,t){var o=this,n=(i.on("draw",function(){o._updateFadedRows()}),i.table()),e=s.createElement("div");e.className="slider",this.s=d.extend({},{dt:i,table:d(n.node()),slider:d(e)},a.defaults,t),this._bind()}var o=d.fn.dataTable;a.prototype._bind=function(){var t=this,o=t.s;d(o.table,"> tbody").on("click",o.selector,function(){var i=d(this),i=i.is("tr")?i:i.closest("tr");i.is("tr")&&(i=o.dt.row(i),t._toggleChild(i))})},a.prototype._toggleChild=function(i){var t,o=this.s;i.child.isShown()?this._hideChild(i,function(){}):(t=o.dt.row(".shown")).length&&o.toggle?this._hideChild(t,this._showChildCallback(i)):this._showChild(i)},a.prototype._showChildCallback=function(i){return function(i){this._showChild(i)}.bind(this,i)},a.prototype._showChild=function(i){var t=d(i.node());this.s.displayLoadingIndicator&&this._addLoadingIndicator(t),this.s.source(t,this._response(i))},a.prototype._response=function(i){return function(i,t){this.__showChild(i,t)}.bind(this,i)},a.prototype.__showChild=function(i,t){var o=this.s,n=o.slider,e=d(i.node());o.displayLoadingIndicator&&d("."+this.s.loadingIndicatorClass).remove(),n.append(t),i.child(n,o.childClass).show(),e.toggleClass("shown"),this._updateFadedRows(),o.animateShow?this._showChildWithAnimation(i):this._showChildWithoutAnimation(i)},a.prototype._showChildWithAnimation=function(i){var t=this.s;d(t.slider,i.child()).slideDown(t.animationSpeed,function(){t.onShown(i)})},a.prototype._showChildWithoutAnimation=function(i){var t=this.s;d(t.slider,i.child()).show(),t.onShown(i)},a.prototype._hideChild=function(i,t){var o=this.s;d(i.node()).toggleClass("shown"),this._updateFadedRows(),o.animateHide?this._hideChildWithAnimation(i,t):this._hideChildWithoutAnimation(i,t)},a.prototype._hideChildWithAnimation=function(i,t){var o=this.s,n=o.slider;d(n,i.child()).slideUp(o.animationSpeed,function(){i.child.remove(),n.empty(),o.onHidden(i),t()})},a.prototype._hideChildWithoutAnimation=function(i,t){var o=this.s,n=o.slider;d(n,i.child()).hide(),i.child.remove(),n.empty(),o.onHidden(i),t()},a.prototype._updateFadedRows=function(){this.s.fadeNonShowingRows?(this._fadeNonShowingRows(),this._removeFadeFromShowingRows()):this._removeFadeFromRows()},a.prototype._fadeNonShowingRows=function(){this.s.dt.rows(".shown:visible").count()?this.s.dt.rows(":visible:not(.shown):not(.faded)").nodes().to$().css("opacity",this.s.fadeOpacity).addClass("faded"):this._removeFadeFromRows()},a.prototype._removeFadeFromShowingRows=function(){this.s.dt.rows(".shown.faded:visible").nodes().to$().css("opacity",1).removeClass("faded")},a.prototype._removeFadeFromRows=function(){this.s.dt.rows(".faded").nodes().to$().css("opacity",1).removeClass("faded")},a.prototype._addLoadingIndicator=function(i){var t=i.position(),o=d(this.s.loadingIndicatorContent);o.addClass(this.s.loadingIndicatorClass),o.css("top",t.top),o.css("left",t.left),o.css("height",i.height()),i.append(o)};return a.defaults={selector:"tr",childClass:"child",source:function(){},toggle:!0,animateShow:!0,animateHide:!0,fadeNonShowingRows:!1,fadeOpacity:.4,animationSpeed:200,onShown:function(){},onHidden:function(){},displayLoadingIndicator:!1,loadingIndicatorClass:"loading-indicator",loadingIndicatorContent:'<div style="background: black; color: white; display: flex; align-items: center; justify-content: center; opacity: 0.5; position: absolute; width: 100%; z-index: 100;">Loading...</div>'},o.SlidingChild=a,d(s).on("init.dt",function(i,t){"dt"===i.namespace&&(i=new o.Api(t),d(i.table().node()).hasClass("slidingChild")||t.oInit.slidingChild||o.defaults.slidingChild)&&new a(i,t.oInit.slidingChild)}),o}); !function(t){var n,e;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(i){return t(i,window,document)}):"object"==typeof exports?(n=require("jquery"),e=function(i,o){o.fn.dataTable||require("datatables.net")(i,o)},"undefined"!=typeof window?module.exports=function(i,o){return i=i||window,o=o||n(i),e(i,o),t(o,0,i.document)}:(e(window,n),module.exports=t(n,window,window.document))):t(jQuery,window,document)}(function(d,i,s,o){"use strict";function a(i,o){var t=this,n=(i.on("draw",function(){t._updateFadedRows()}),i.table()),e=s.createElement("div");e.className="slider",this.s=d.extend({},{dt:i,table:d(n.node()),slider:d(e)},a.defaults,o),this._bind()}var t=d.fn.dataTable;a.prototype._bind=function(){var o=this,t=o.s;d(t.table,"> tbody").on("click",t.selector,function(){var i=d(this),i=i.is("tr")?i:i.closest("tr");i.is("tr")&&(i=t.dt.row(i),o._toggleChild(i))})},a.prototype._toggleChild=function(i){var o,t=this.s;i.child.isShown()?this._hideChild(i,function(){}):(o=t.dt.row(".shown")).length&&t.toggle?this._hideChild(o,this._showChildCallback(i)):this._showChild(i)},a.prototype._showChildCallback=function(i){return function(i){this._showChild(i)}.bind(this,i)},a.prototype._showChild=function(i){var o=d(i.node());this.s.displayLoadingIndicator&&this._addLoadingIndicator(o),this.s.source(o,this._response(i))},a.prototype._response=function(i){return function(i,o){this.__showChild(i,o)}.bind(this,i)},a.prototype.__showChild=function(i,o){var t=this.s,n=t.slider,e=d(i.node());t.displayLoadingIndicator&&d("."+this.s.loadingIndicatorClass).remove(),n.append(o),i.child(n,t.childClass).show(),e.toggleClass("shown"),this._updateFadedRows(),t.animateShow?this._showChildWithAnimation(i):this._showChildWithoutAnimation(i)},a.prototype._showChildWithAnimation=function(i){var o=this.s;d(o.slider,i.child()).slideDown(o.animationSpeed,function(){o.onShown(i)})},a.prototype._showChildWithoutAnimation=function(i){var o=this.s;d(o.slider,i.child()).show(),o.onShown(i)},a.prototype._hideChild=function(i,o){var t=this.s;d(i.node()).toggleClass("shown"),this._updateFadedRows(),t.animateHide?this._hideChildWithAnimation(i,o):this._hideChildWithoutAnimation(i,o)},a.prototype._hideChildWithAnimation=function(i,o){var t=this.s,n=t.slider;d(n,i.child()).slideUp(t.animationSpeed,function(){i.child.remove(),n.empty(),t.onHidden(i),o()})},a.prototype._hideChildWithoutAnimation=function(i,o){var t=this.s,n=t.slider;d(n,i.child()).hide(),i.child.remove(),n.empty(),t.onHidden(i),o()},a.prototype._updateFadedRows=function(){this.s.fadeNonShowingRows?(this._fadeNonShowingRows(),this._removeFadeFromShowingRows()):this._removeFadeFromRows()},a.prototype._fadeNonShowingRows=function(){this.s.dt.rows(".shown:visible").count()?this.s.dt.rows(":visible:not(.shown):not(.faded)").nodes().to$().css("opacity",this.s.fadeOpacity).addClass("faded"):this._removeFadeFromRows()},a.prototype._removeFadeFromShowingRows=function(){this.s.dt.rows(".shown.faded:visible").nodes().to$().css("opacity",1).removeClass("faded")},a.prototype._removeFadeFromRows=function(){this.s.dt.rows(".faded").nodes().to$().css("opacity",1).removeClass("faded")},a.prototype._addLoadingIndicator=function(i){var o=i.position(),t=d(this.s.loadingIndicatorContent);t.addClass(this.s.loadingIndicatorClass),t.css("top",o.top),t.css("left",o.left),t.css("height",i.height()),i.append(t)};return a.defaults={selector:"tr",childClass:"child",source:function(){},toggle:!0,animateShow:!0,animateHide:!0,fadeNonShowingRows:!1,fadeOpacity:.4,animationSpeed:200,onShown:function(){},onHidden:function(){},displayLoadingIndicator:!1,loadingIndicatorClass:"loading-indicator",loadingIndicatorContent:'<div style="background: black; color: white; display: flex; align-items: center; justify-content: center; opacity: 0.5; position: absolute; width: 100%; z-index: 100;">Loading...</div>'},t.SlidingChild=a,d(s).on("init.dt",function(i,o){"dt"===i.namespace&&(i=new t.Api(o),d(i.table().node()).hasClass("slidingChild")||o.oInit.slidingChild||t.defaults.slidingChild)&&new a(i,o.oInit.slidingChild)}),t});

@ -3,7 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import DataTable from 'datatables.net'; import DataTable from 'datatables.net';
/** /**
* @summary SlidingChild * @summary SlidingChild
* @description Show / Hide row child plugin * @description Show / Hide row child plugin

@ -9,6 +9,14 @@
} }
else if ( typeof exports === 'object' ) { else if ( typeof exports === 'object' ) {
// CommonJS // CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window !== 'undefined') {
module.exports = function (root, $) { module.exports = function (root, $) {
if ( ! root ) { if ( ! root ) {
// CommonJS environments without a window global must pass a // CommonJS environments without a window global must pass a
@ -17,18 +25,18 @@
} }
if ( ! $ ) { if ( ! $ ) {
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window $ = jq( root );
require('jquery') :
require('jquery')( root );
}
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
} }
cjsRequires( root, $ );
return factory( $, root, root.document ); return factory( $, root, root.document );
}; };
} }
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else { else {
// Browser // Browser
factory( jQuery, window, document ); factory( jQuery, window, document );

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save