' + + '' + + Documentation.gettext("Hide Search Matches") + + "
" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + const url = new URL(window.location); + url.searchParams.delete("highlight"); + window.history.replaceState({}, "", url); + }, + + /** + * helper function to focus on search bar + */ + focusSearchBar: () => { + document.querySelectorAll("input[name=q]")[0]?.focus(); + }, + + /** + * Initialise the domain index toggle buttons + */ + initDomainIndexTable: () => { + const toggler = (el) => { + const idNumber = el.id.substr(7); + const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`); + if (el.src.substr(-9) === "minus.png") { + el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`; + toggledRows.forEach((el) => (el.style.display = "none")); + } else { + el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`; + toggledRows.forEach((el) => (el.style.display = "")); + } + }; + + const togglerElements = document.querySelectorAll("img.toggler"); + togglerElements.forEach((el) => + el.addEventListener("click", (event) => toggler(event.currentTarget)) + ); + togglerElements.forEach((el) => (el.style.display = "")); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler); + }, + + initOnKeyListeners: () => { + // only install a listener if it is really needed + if ( + !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && + !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS + ) + return; + + const blacklistedElements = new Set([ + "TEXTAREA", + "INPUT", + "SELECT", + "BUTTON", + ]); + document.addEventListener("keydown", (event) => { + if (blacklistedElements.has(document.activeElement.tagName)) return; // bail for input elements + if (event.altKey || event.ctrlKey || event.metaKey) return; // bail with special keys + + if (!event.shiftKey) { + switch (event.key) { + case "ArrowLeft": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const prevLink = document.querySelector('link[rel="prev"]'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + event.preventDefault(); + } + break; + case "ArrowRight": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const nextLink = document.querySelector('link[rel="next"]'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + event.preventDefault(); + } + break; + case "Escape": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.hideSearchWords(); + event.preventDefault(); + } + } + + // some keyboard layouts may need Shift to get / + switch (event.key) { + case "/": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.focusSearchBar(); + event.preventDefault(); + } + }); + }, +}; + +// quick alias for translations +const _ = Documentation.gettext; + +_ready(Documentation.init); diff --git a/sdjwt/en/_static/documentation_options.js b/sdjwt/en/_static/documentation_options.js new file mode 100644 index 000000000..860ac2179 --- /dev/null +++ b/sdjwt/en/_static/documentation_options.js @@ -0,0 +1,14 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: 'version: latest', + LANGUAGE: 'en', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false, + SHOW_SEARCH_SUMMARY: true, + ENABLE_SEARCH_SHORTCUTS: false, +}; \ No newline at end of file diff --git a/sdjwt/en/_static/file.png b/sdjwt/en/_static/file.png new file mode 100644 index 000000000..a858a410e Binary files /dev/null and b/sdjwt/en/_static/file.png differ diff --git a/sdjwt/en/_static/font/docs-italia.eot b/sdjwt/en/_static/font/docs-italia.eot new file mode 100644 index 000000000..169c6163b Binary files /dev/null and b/sdjwt/en/_static/font/docs-italia.eot differ diff --git a/sdjwt/en/_static/font/docs-italia.svg b/sdjwt/en/_static/font/docs-italia.svg new file mode 100644 index 000000000..aac6164e3 --- /dev/null +++ b/sdjwt/en/_static/font/docs-italia.svg @@ -0,0 +1,68 @@ + + + \ No newline at end of file diff --git a/sdjwt/en/_static/font/docs-italia.ttf b/sdjwt/en/_static/font/docs-italia.ttf new file mode 100644 index 000000000..96a7767f4 Binary files /dev/null and b/sdjwt/en/_static/font/docs-italia.ttf differ diff --git a/sdjwt/en/_static/font/docs-italia.woff b/sdjwt/en/_static/font/docs-italia.woff new file mode 100644 index 000000000..cda2cacb9 Binary files /dev/null and b/sdjwt/en/_static/font/docs-italia.woff differ diff --git a/sdjwt/en/_static/font/italia-icon-font.eot b/sdjwt/en/_static/font/italia-icon-font.eot new file mode 100644 index 000000000..5242e5383 Binary files /dev/null and b/sdjwt/en/_static/font/italia-icon-font.eot differ diff --git a/sdjwt/en/_static/font/italia-icon-font.svg b/sdjwt/en/_static/font/italia-icon-font.svg new file mode 100644 index 000000000..183080348 --- /dev/null +++ b/sdjwt/en/_static/font/italia-icon-font.svg @@ -0,0 +1,134 @@ + + + \ No newline at end of file diff --git a/sdjwt/en/_static/font/italia-icon-font.ttf b/sdjwt/en/_static/font/italia-icon-font.ttf new file mode 100644 index 000000000..f290bd6e0 Binary files /dev/null and b/sdjwt/en/_static/font/italia-icon-font.ttf differ diff --git a/sdjwt/en/_static/font/italia-icon-font.woff b/sdjwt/en/_static/font/italia-icon-font.woff new file mode 100644 index 000000000..101f487bc Binary files /dev/null and b/sdjwt/en/_static/font/italia-icon-font.woff differ diff --git a/sdjwt/en/_static/font/italia-icon-font.woff2 b/sdjwt/en/_static/font/italia-icon-font.woff2 new file mode 100644 index 000000000..4598d5a99 Binary files /dev/null and b/sdjwt/en/_static/font/italia-icon-font.woff2 differ diff --git a/sdjwt/en/_static/images/agid-logo.svg b/sdjwt/en/_static/images/agid-logo.svg new file mode 100644 index 000000000..a81f5eb84 --- /dev/null +++ b/sdjwt/en/_static/images/agid-logo.svg @@ -0,0 +1,25 @@ + + diff --git a/sdjwt/en/_static/images/may.svg b/sdjwt/en/_static/images/may.svg new file mode 100644 index 000000000..53670ba97 --- /dev/null +++ b/sdjwt/en/_static/images/may.svg @@ -0,0 +1,37 @@ + + + diff --git a/sdjwt/en/_static/images/must.svg b/sdjwt/en/_static/images/must.svg new file mode 100644 index 000000000..177c3c51e --- /dev/null +++ b/sdjwt/en/_static/images/must.svg @@ -0,0 +1,71 @@ + + + diff --git a/sdjwt/en/_static/images/must_not.svg b/sdjwt/en/_static/images/must_not.svg new file mode 100644 index 000000000..8c0c0d852 --- /dev/null +++ b/sdjwt/en/_static/images/must_not.svg @@ -0,0 +1,65 @@ + + + diff --git a/sdjwt/en/_static/images/should.svg b/sdjwt/en/_static/images/should.svg new file mode 100644 index 000000000..c1f35d655 --- /dev/null +++ b/sdjwt/en/_static/images/should.svg @@ -0,0 +1,52 @@ + + + diff --git a/sdjwt/en/_static/images/should_not.svg b/sdjwt/en/_static/images/should_not.svg new file mode 100644 index 000000000..88e64a64c --- /dev/null +++ b/sdjwt/en/_static/images/should_not.svg @@ -0,0 +1,52 @@ + + + diff --git a/sdjwt/en/_static/images/team-digitale-logo.svg b/sdjwt/en/_static/images/team-digitale-logo.svg new file mode 100644 index 000000000..fa557011d --- /dev/null +++ b/sdjwt/en/_static/images/team-digitale-logo.svg @@ -0,0 +1,15 @@ + + diff --git a/sdjwt/en/_static/jquery-3.6.0.js b/sdjwt/en/_static/jquery-3.6.0.js new file mode 100644 index 000000000..fc6c299b7 --- /dev/null +++ b/sdjwt/en/_static/jquery-3.6.0.js @@ -0,0 +1,10881 @@ +/*! + * jQuery JavaScript Library v3.6.0 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright OpenJS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2021-03-02T17:08Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML