diff --git a/package-lock.json b/package-lock.json index 873c036a..19ee14fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "jquery-formatcurrency": "1.6.3", "js-cookie": "3.0.5", "jspreadsheet-ce": "4.15.0", - "jsuites": "5.8.0", + "jsuites": "5.8.2", "leaflet": "1.9.4", "leaflet.markercluster": "1.5.3", "masonry-layout": "4.2.2", @@ -1314,9 +1314,9 @@ } }, "node_modules/jsuites": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/jsuites/-/jsuites-5.8.0.tgz", - "integrity": "sha512-f8LW5FtMrrhz+8T7QXj8GMvWnByU4LET6dQXTzanxLFvtZDK751GjUAZgNZS/HSklUqwkr5UdG71vYAyiLSHdQ==" + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/jsuites/-/jsuites-5.8.2.tgz", + "integrity": "sha512-HvVFuOWc5C5ASwddh7FwUS645cRVC0Yvt89uWAtaSCA0NNAh1TdL5LoK0TFbB2NlNEMO31pjvCv94tCcCuwysw==" }, "node_modules/jwt-decode": { "version": "4.0.0", diff --git a/package.json b/package.json index 6ebd3b82..4d061b63 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "jquery-formatcurrency": "1.6.3", "js-cookie": "3.0.5", "jspreadsheet-ce": "4.15.0", - "jsuites": "5.8.0", + "jsuites": "5.8.2", "leaflet": "1.9.4", "leaflet.markercluster": "1.5.3", "masonry-layout": "4.2.2", diff --git a/src/main/webapp/WEB-INF/dependencies.json b/src/main/webapp/WEB-INF/dependencies.json index cc93d206..d38ece4c 100644 --- a/src/main/webapp/WEB-INF/dependencies.json +++ b/src/main/webapp/WEB-INF/dependencies.json @@ -99,7 +99,7 @@ ] }, "jsuites": { - "version": "5.8.0", + "version": "5.8.2", "paths": [ "node_modules/jsuites/dist/jsuites.css", "node_modules/jsuites/dist/jsuites.d.ts", diff --git a/src/main/webapp/javascript/jsuites-5.8.0/jsuites.css b/src/main/webapp/javascript/jsuites-5.8.2/jsuites.css similarity index 99% rename from src/main/webapp/javascript/jsuites-5.8.0/jsuites.css rename to src/main/webapp/javascript/jsuites-5.8.2/jsuites.css index 7589f11f..c8baca51 100644 --- a/src/main/webapp/javascript/jsuites-5.8.0/jsuites.css +++ b/src/main/webapp/javascript/jsuites-5.8.2/jsuites.css @@ -2293,7 +2293,7 @@ div[data-before]:before { color:#000; } -.jprogressbar::focus { +.jprogressbar:focus { outline: auto 5px -webkit-focus-ring-color; } diff --git a/src/main/webapp/javascript/jsuites-5.8.0/jsuites.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/jsuites.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/jsuites.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/jsuites.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/jsuites.js b/src/main/webapp/javascript/jsuites-5.8.2/jsuites.js similarity index 99% rename from src/main/webapp/javascript/jsuites-5.8.0/jsuites.js rename to src/main/webapp/javascript/jsuites-5.8.2/jsuites.js index 3dc1e329..c2dfeb7f 100644 --- a/src/main/webapp/javascript/jsuites-5.8.0/jsuites.js +++ b/src/main/webapp/javascript/jsuites-5.8.2/jsuites.js @@ -4650,7 +4650,7 @@ function Tabs(el, options) { obj.create = function(title, url) { if (typeof(obj.options.onbeforecreate) == 'function') { - var ret = obj.options.onbeforecreate(el); + var ret = obj.options.onbeforecreate(el, title); if (ret === false) { return false; } else { @@ -12861,7 +12861,7 @@ var jsuites_jSuites = { ...dictionary, ...helpers, /** Current version */ - version: '5.8.0', + version: '5.8.2', /** Bind new extensions to Jsuites */ setExtensions: function(o) { if (typeof(o) == 'object') { diff --git a/src/main/webapp/javascript/jsuites-5.8.0/jsuites.webcomponents.js b/src/main/webapp/javascript/jsuites-5.8.2/jsuites.webcomponents.js similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/jsuites.webcomponents.js rename to src/main/webapp/javascript/jsuites-5.8.2/jsuites.webcomponents.js diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/animation.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/animation.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/animation.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/animation.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/calendar.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/calendar.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/calendar.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/calendar.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/color.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/color.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/color.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/color.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/contextmenu.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/contextmenu.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/contextmenu.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/contextmenu.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/dropdown.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/dropdown.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/dropdown.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/dropdown.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/editor.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/editor.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/editor.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/editor.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/floating.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/floating.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/floating.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/floating.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/form.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/form.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/form.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/form.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/index.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/index.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/index.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/index.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/mask.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/mask.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/mask.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/mask.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/modal.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/modal.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/modal.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/modal.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/notification.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/notification.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/notification.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/notification.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/picker.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/picker.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/picker.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/picker.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/rating.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/rating.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/rating.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/rating.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/search.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/search.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/search.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/search.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/slider.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/slider.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/slider.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/slider.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/tabs.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/tabs.d.ts similarity index 97% rename from src/main/webapp/javascript/jsuites-5.8.0/types/tabs.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/tabs.d.ts index edee0147..4c447b0d 100644 --- a/src/main/webapp/javascript/jsuites-5.8.0/types/tabs.d.ts +++ b/src/main/webapp/javascript/jsuites-5.8.2/types/tabs.d.ts @@ -34,7 +34,7 @@ interface Options { * On before create new tab event * @return {string} Header title */ - onbeforecreate: (el: HTMLElement) => string; + onbeforecreate: (el: HTMLElement, title: string | undefined) => string | false; /** On change tab position event */ onchangeposition: (headers: HTMLElement[], from: number, to: number) => void; /** Enable animation. Default: false */ diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/tags.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/tags.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/tags.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/tags.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/toolbar.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/toolbar.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/toolbar.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/toolbar.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/upload.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/upload.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/upload.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/upload.d.ts diff --git a/src/main/webapp/javascript/jsuites-5.8.0/types/validations.d.ts b/src/main/webapp/javascript/jsuites-5.8.2/types/validations.d.ts similarity index 100% rename from src/main/webapp/javascript/jsuites-5.8.0/types/validations.d.ts rename to src/main/webapp/javascript/jsuites-5.8.2/types/validations.d.ts