diff --git a/otterdog/webapp/static/assets/package.json b/otterdog/webapp/static/assets/package.json index 96aaa9e4..edbfba7a 100644 --- a/otterdog/webapp/static/assets/package.json +++ b/otterdog/webapp/static/assets/package.json @@ -54,21 +54,6 @@ "bs-stepper": "^1.7.0", "chart.js": "^2.9.4", "codemirror": "^5.62.3", - "datatables.net": "^1.11.1", - "datatables.net-autofill-bs4": "^2.3.9", - "datatables.net-bs4": "^1.11.1", - "datatables.net-buttons-bs4": "^1.7.1", - "datatables.net-colreorder-bs4": "^1.5.4", - "datatables.net-fixedcolumns-bs4": "^3.3.3", - "datatables.net-fixedheader-bs4": "^3.1.9", - "datatables.net-keytable-bs4": "^2.6.4", - "datatables.net-responsive-bs4": "^2.2.9", - "datatables.net-rowgroup-bs4": "^1.1.3", - "datatables.net-rowreorder-bs4": "^1.2.8", - "datatables.net-scroller-bs4": "^2.0.5", - "datatables.net-searchbuilder-bs4": "^1.2.0", - "datatables.net-searchpanes-bs4": "^1.4.0", - "datatables.net-select-bs4": "^1.3.3", "daterangepicker": "^3.1.0", "dropzone": "^5.9.2", "ekko-lightbox": "^5.3.0", diff --git a/otterdog/webapp/static/assets/plugins/datatables-autofill/css/autoFill.bootstrap4.css b/otterdog/webapp/static/assets/plugins/datatables-autofill/css/autoFill.bootstrap4.css deleted file mode 100644 index 6abac442..00000000 --- a/otterdog/webapp/static/assets/plugins/datatables-autofill/css/autoFill.bootstrap4.css +++ /dev/null @@ -1,91 +0,0 @@ -div.dt-autofill-handle { - position: absolute; - height: 8px; - width: 8px; - z-index: 102; - box-sizing: border-box; - background: #0275d8; - cursor: pointer; -} - -div.dtk-focus-alt div.dt-autofill-handle { - background: #ff8b33; -} - -div.dt-autofill-select { - position: absolute; - z-index: 1001; - background-color: #0275d8; - background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.5) 10px); -} -div.dt-autofill-select.top, div.dt-autofill-select.bottom { - height: 3px; - margin-top: -1px; -} -div.dt-autofill-select.left, div.dt-autofill-select.right { - width: 3px; - margin-left: -1px; -} - -div.dt-autofill-list { - position: fixed; - top: 50%; - left: 50%; - width: 500px; - margin-left: -250px; - background-color: white; - border-radius: 6px; - box-shadow: 0 0 5px #555; - border: 2px solid #444; - z-index: 11; - box-sizing: border-box; - padding: 1.5em 2em; -} -div.dt-autofill-list ul { - display: table; - margin: 0; - padding: 0; - list-style: none; - width: 100%; -} -div.dt-autofill-list ul li { - display: table-row; -} -div.dt-autofill-list ul li:last-child div.dt-autofill-question, div.dt-autofill-list ul li:last-child div.dt-autofill-button { - border-bottom: none; -} -div.dt-autofill-list ul li:hover { - background-color: #f6f6f6; -} -div.dt-autofill-list div.dt-autofill-question { - display: table-cell; - padding: 0.5em 0; - border-bottom: 1px solid #ccc; -} -div.dt-autofill-list div.dt-autofill-question input[type=number] { - padding: 6px; - width: 30px; - margin: -2px 0; -} -div.dt-autofill-list div.dt-autofill-button { - display: table-cell; - padding: 0.5em 0; - border-bottom: 1px solid #ccc; -} - -div.dt-autofill-background { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.7); - background: radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%); - z-index: 10; -} - -div.dt-autofill-list div.dt-autofill-question input[type=number] { - padding: 6px; - width: 60px; - margin: -2px 0; -} diff --git a/otterdog/webapp/static/assets/plugins/datatables-autofill/css/autoFill.bootstrap4.min.css b/otterdog/webapp/static/assets/plugins/datatables-autofill/css/autoFill.bootstrap4.min.css deleted file mode 100644 index c40c1f98..00000000 --- a/otterdog/webapp/static/assets/plugins/datatables-autofill/css/autoFill.bootstrap4.min.css +++ /dev/null @@ -1 +0,0 @@ -div.dt-autofill-handle{position:absolute;height:8px;width:8px;z-index:102;box-sizing:border-box;background:#0275d8;cursor:pointer}div.dtk-focus-alt div.dt-autofill-handle{background:#ff8b33}div.dt-autofill-select{position:absolute;z-index:1001;background-color:#0275d8;background-image:repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255,255,255,0.5) 5px, rgba(255,255,255,0.5) 10px)}div.dt-autofill-select.top,div.dt-autofill-select.bottom{height:3px;margin-top:-1px}div.dt-autofill-select.left,div.dt-autofill-select.right{width:3px;margin-left:-1px}div.dt-autofill-list{position:fixed;top:50%;left:50%;width:500px;margin-left:-250px;background-color:white;border-radius:6px;box-shadow:0 0 5px #555;border:2px solid #444;z-index:11;box-sizing:border-box;padding:1.5em 2em}div.dt-autofill-list ul{display:table;margin:0;padding:0;list-style:none;width:100%}div.dt-autofill-list ul li{display:table-row}div.dt-autofill-list ul li:last-child div.dt-autofill-question,div.dt-autofill-list ul li:last-child div.dt-autofill-button{border-bottom:none}div.dt-autofill-list ul li:hover{background-color:#f6f6f6}div.dt-autofill-list div.dt-autofill-question{display:table-cell;padding:0.5em 0;border-bottom:1px solid #ccc}div.dt-autofill-list div.dt-autofill-question input[type=number]{padding:6px;width:30px;margin:-2px 0}div.dt-autofill-list div.dt-autofill-button{display:table-cell;padding:0.5em 0;border-bottom:1px solid #ccc}div.dt-autofill-background{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);background:radial-gradient(ellipse farthest-corner at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);z-index:10}div.dt-autofill-list div.dt-autofill-question input[type=number]{padding:6px;width:60px;margin:-2px 0} diff --git a/otterdog/webapp/static/assets/plugins/datatables-autofill/js/autoFill.bootstrap4.js b/otterdog/webapp/static/assets/plugins/datatables-autofill/js/autoFill.bootstrap4.js deleted file mode 100644 index a73cf983..00000000 --- a/otterdog/webapp/static/assets/plugins/datatables-autofill/js/autoFill.bootstrap4.js +++ /dev/null @@ -1,43 +0,0 @@ -/*! Bootstrap integration for DataTables' AutoFill - * ©2015 SpryMedia Ltd - datatables.net/license - */ - -(function( factory ){ - if ( typeof define === 'function' && define.amd ) { - // AMD - define( ['jquery', 'datatables.net-bs4', 'datatables.net-autofill'], function ( $ ) { - return factory( $, window, document ); - } ); - } - else if ( typeof exports === 'object' ) { - // CommonJS - module.exports = function (root, $) { - if ( ! root ) { - root = window; - } - - if ( ! $ || ! $.fn.dataTable ) { - $ = require('datatables.net-bs4')(root, $).$; - } - - if ( ! $.fn.dataTable.AutoFill ) { - require('datatables.net-autofill')(root, $); - } - - return factory( $, root, root.document ); - }; - } - else { - // Browser - factory( jQuery, window, document ); - } -}(function( $, window, document, undefined ) { -'use strict'; -var DataTable = $.fn.dataTable; - - -DataTable.AutoFill.classes.btn = 'btn btn-primary'; - - -return DataTable; -})); diff --git a/otterdog/webapp/static/assets/plugins/datatables-autofill/js/autoFill.bootstrap4.min.js b/otterdog/webapp/static/assets/plugins/datatables-autofill/js/autoFill.bootstrap4.min.js deleted file mode 100644 index 87ea58cd..00000000 --- a/otterdog/webapp/static/assets/plugins/datatables-autofill/js/autoFill.bootstrap4.min.js +++ /dev/null @@ -1,5 +0,0 @@ -/*! - Bootstrap integration for DataTables' AutoFill - ©2015 SpryMedia Ltd - datatables.net/license -*/ -(function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-autofill"],function(b){return a(b,window,document)}):"object"===typeof exports?module.exports=function(b,c){b||(b=window);if(!c||!c.fn.dataTable)c=require("datatables.net-bs4")(b,c).$;c.fn.dataTable.AutoFill||require("datatables.net-autofill")(b,c);return a(c,b,b.document)}:a(jQuery,window,document)})(function(a){a=a.fn.dataTable;a.AutoFill.classes.btn="btn btn-primary";return a}); diff --git a/otterdog/webapp/static/assets/plugins/datatables-autofill/js/dataTables.autoFill.js b/otterdog/webapp/static/assets/plugins/datatables-autofill/js/dataTables.autoFill.js deleted file mode 100644 index f85a033d..00000000 --- a/otterdog/webapp/static/assets/plugins/datatables-autofill/js/dataTables.autoFill.js +++ /dev/null @@ -1,1212 +0,0 @@ -/*! AutoFill 2.3.5 - * ©2008-2020 SpryMedia Ltd - datatables.net/license - */ - -/** - * @summary AutoFill - * @description Add Excel like click and drag auto-fill options to DataTables - * @version 2.3.5 - * @file dataTables.autoFill.js - * @author SpryMedia Ltd (www.sprymedia.co.uk) - * @contact www.sprymedia.co.uk/contact - * @copyright Copyright 2010-2020 SpryMedia Ltd. - * - * This source file is free software, available under the following license: - * MIT license - http://datatables.net/license/mit - * - * This source file is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. - * - * For details please refer to: http://www.datatables.net - */ -(function( factory ){ - if ( typeof define === 'function' && define.amd ) { - // AMD - define( ['jquery', 'datatables.net'], function ( $ ) { - return factory( $, window, document ); - } ); - } - else if ( typeof exports === 'object' ) { - // CommonJS - module.exports = function (root, $) { - if ( ! root ) { - root = window; - } - - if ( ! $ || ! $.fn.dataTable ) { - $ = require('datatables.net')(root, $).$; - } - - return factory( $, root, root.document ); - }; - } - else { - // Browser - factory( jQuery, window, document ); - } -}(function( $, window, document, undefined ) { -'use strict'; -var DataTable = $.fn.dataTable; - - -var _instance = 0; - -/** - * AutoFill provides Excel like auto-fill features for a DataTable - * - * @class AutoFill - * @constructor - * @param {object} oTD DataTables settings object - * @param {object} oConfig Configuration object for AutoFill - */ -var AutoFill = function( dt, opts ) -{ - if ( ! DataTable.versionCheck || ! DataTable.versionCheck( '1.10.8' ) ) { - throw( "Warning: AutoFill requires DataTables 1.10.8 or greater"); - } - - // User and defaults configuration object - this.c = $.extend( true, {}, - DataTable.defaults.autoFill, - AutoFill.defaults, - opts - ); - - /** - * @namespace Settings object which contains customisable information for AutoFill instance - */ - this.s = { - /** @type {DataTable.Api} DataTables' API instance */ - dt: new DataTable.Api( dt ), - - /** @type {String} Unique namespace for events attached to the document */ - namespace: '.autoFill'+(_instance++), - - /** @type {Object} Cached dimension information for use in the mouse move event handler */ - scroll: {}, - - /** @type {integer} Interval object used for smooth scrolling */ - scrollInterval: null, - - handle: { - height: 0, - width: 0 - }, - - /** - * Enabled setting - * @type {Boolean} - */ - enabled: false - }; - - - /** - * @namespace Common and useful DOM elements for the class instance - */ - this.dom = { - /** @type {jQuery} AutoFill handle */ - handle: $('
'), - - /** - * @type {Object} Selected cells outline - Need to use 4 elements, - * otherwise the mouse over if you back into the selected rectangle - * will be over that element, rather than the cells! - */ - select: { - top: $(''), - right: $(''), - bottom: $(''), - left: $('') - }, - - /** @type {jQuery} Fill type chooser background */ - background: $(''), - - /** @type {jQuery} Fill type chooser */ - list: $('