Improve dataTables integration within the app:

- Manage lib through NPM
- Move portal / Bootstrap files back to the itop-portal-base module (not managed through NPM yet)
- Fix SCSS classes for the backoffice as it was based on the bootstrap CSS classes which are not there anymore

Note: jQuery is included as a dependency, will check with the team if we can force it not to be retrieved
This commit is contained in:
Molkobain
2021-03-26 17:46:13 +01:00
parent 2e8c0346d3
commit 6f659a3431
183 changed files with 115480 additions and 395 deletions

26
node_modules/jquery/src/css/var/swap.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
define( function() {
"use strict";
// A method for quickly swapping in/out CSS properties to get correct calculations.
return function( elem, options, callback ) {
var ret, name,
old = {};
// Remember the old values, and insert the new ones
for ( name in options ) {
old[ name ] = elem.style[ name ];
elem.style[ name ] = options[ name ];
}
ret = callback.call( elem );
// Revert the old values
for ( name in options ) {
elem.style[ name ] = old[ name ];
}
return ret;
};
} );