diff --git a/v18.3.4/.nojekyll b/v18.3.4/.nojekyll new file mode 100644 index 00000000..e2ac6616 --- /dev/null +++ b/v18.3.4/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/v18.3.4/assets/highlight.css b/v18.3.4/assets/highlight.css new file mode 100644 index 00000000..315a3395 --- /dev/null +++ b/v18.3.4/assets/highlight.css @@ -0,0 +1,120 @@ +:root { + --light-hl-0: #795E26; + --dark-hl-0: #DCDCAA; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #A31515; + --dark-hl-2: #CE9178; + --light-hl-3: #0000FF; + --dark-hl-3: #569CD6; + --light-hl-4: #001080; + --dark-hl-4: #9CDCFE; + --light-hl-5: #267F99; + --dark-hl-5: #4EC9B0; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; + --light-hl-7: #CD3131; + --dark-hl-7: #F44747; + --light-hl-8: #0070C1; + --dark-hl-8: #4FC1FF; + --light-hl-9: #000000; + --dark-hl-9: #C8C8C8; + --light-hl-10: #AF00DB; + --dark-hl-10: #C586C0; + --light-hl-11: #098658; + --dark-hl-11: #B5CEA8; + --light-hl-12: #EE0000; + --dark-hl-12: #D7BA7D; + --light-hl-13: #000000FF; + --dark-hl-13: #D4D4D4; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --hl-11: var(--light-hl-11); + --hl-12: var(--light-hl-12); + --hl-13: var(--light-hl-13); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --hl-11: var(--dark-hl-11); + --hl-12: var(--dark-hl-12); + --hl-13: var(--dark-hl-13); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --hl-11: var(--light-hl-11); + --hl-12: var(--light-hl-12); + --hl-13: var(--light-hl-13); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --hl-11: var(--dark-hl-11); + --hl-12: var(--dark-hl-12); + --hl-13: var(--dark-hl-13); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +.hl-9 { color: var(--hl-9); } +.hl-10 { color: var(--hl-10); } +.hl-11 { color: var(--hl-11); } +.hl-12 { color: var(--hl-12); } +.hl-13 { color: var(--hl-13); } +pre, code { background: var(--code-background); } diff --git a/v18.3.4/assets/icons.js b/v18.3.4/assets/icons.js new file mode 100644 index 00000000..b79c9e89 --- /dev/null +++ b/v18.3.4/assets/icons.js @@ -0,0 +1,15 @@ +(function(svg) { + svg.innerHTML = ``; + svg.style.display = 'none'; + if (location.protocol === 'file:') { + if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', updateUseElements); + else updateUseElements() + function updateUseElements() { + document.querySelectorAll('use').forEach(el => { + if (el.getAttribute('href').includes('#icon-')) { + el.setAttribute('href', el.getAttribute('href').replace(/.*#/, '#')); + } + }); + } + } +})(document.body.appendChild(document.createElementNS('http://www.w3.org/2000/svg', 'svg'))) \ No newline at end of file diff --git a/v18.3.4/assets/icons.svg b/v18.3.4/assets/icons.svg new file mode 100644 index 00000000..7dead611 --- /dev/null +++ b/v18.3.4/assets/icons.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/v18.3.4/assets/main.js b/v18.3.4/assets/main.js new file mode 100644 index 00000000..d6f13886 --- /dev/null +++ b/v18.3.4/assets/main.js @@ -0,0 +1,59 @@ +"use strict"; +"use strict";(()=>{var Ce=Object.create;var ne=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Ce(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),y=s.str.charAt(1),p;y in s.node.edges?p=s.node.edges[y]:(p=new t.TokenSet,s.node.edges[y]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(console.log("Show page"),document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){console.log("Scorlling");let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!e.checkVisibility()){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ve(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ne(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ve(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` + ${ce(l.parent,i)}.${d}`);let y=document.createElement("li");y.classList.value=l.classes??"";let p=document.createElement("a");p.href=r.base+l.url,p.innerHTML=u+d,y.append(p),e.appendChild(y)}}function ue(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ne(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var He={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>He[e])}var I=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",fe="mousemove",H="mouseup",J={x:0,y:0},pe=!1,ee=!1,Be=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",fe="touchmove",H="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(H,()=>{ee=!1});document.addEventListener("click",t=>{pe&&(t.preventDefault(),t.stopImmediatePropagation(),pe=!1)});var X=class extends I{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(H,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(H,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ye=document.head.appendChild(document.createElement("style"));ye.dataset.for="filters";var Y=class extends I{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ye.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.app.updateIndexVisibility()}};var Z=class extends I{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ve(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ve(t.value)})}function ve(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function we(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.pathname===r.pathname&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/v18.3.4/assets/navigation.js b/v18.3.4/assets/navigation.js new file mode 100644 index 00000000..2ccb7cdd --- /dev/null +++ b/v18.3.4/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA53VyW7CMBAG4HdJr6jsVHBDUNQeEEh0OVQ9DMkErBhPZJtCW/XdK8qSODh21PP/z2dncfL2HWjc62AQRBjDluugFqSg18Eg2FC05ahu13rDb7I0YSIKBp1mv9NudH5ql/kRbZY0SzUjoTKECY0yhhBVPV/4Qy9Yq9vLQWPaCU4QuaxCx8VNIZwt5pI0hcStmNFwUa4dVdjJKxPt1hQ1RKDBZdmKHjiinVqwlfCwhZoLHcpwfaxlmP5MUdWzpDDf6N81u62cMWECOPvCOYQJrPAJ5Aq1eiBKJlsR2mz/hG9Nl/5f515KkiPgfAlh4kKNom+Fx5UgiYfRIpkl1Q3b9Zqpz5pCgs+CfaBUwGepVkXuquATZ3HMQgb88MYUsXxW1Zlz0DHJTZl1zr2e2lsPy0kz0gpW/p6UgMWKTz1fif0EmqnPWmzTlKTGyPYYjLCyVPYgrgo+8XjAbRvLkmrGGGMmmO1uFfNqXtklmqnPAs7zL7qakDyPDkX0glIZG45PR1XVKw2aq/fyv+P0+AGVNvucOcYVSgb88GlTNiEXXyHvv0WFqplUCAAA" \ No newline at end of file diff --git a/v18.3.4/assets/search.js b/v18.3.4/assets/search.js new file mode 100644 index 00000000..1c0c6206 --- /dev/null +++ b/v18.3.4/assets/search.js @@ -0,0 +1 @@ +window.searchData = "data:application/octet-stream;base64,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"; \ No newline at end of file diff --git a/v18.3.4/assets/style.css b/v18.3.4/assets/style.css new file mode 100644 index 00000000..778b9492 --- /dev/null +++ b/v18.3.4/assets/style.css @@ -0,0 +1,1412 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-keyword: #056bd6; + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: #a55c0e; + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-keyword: #3399ff; + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: #e07d13; + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 > a:not(.link), +h2 > a:not(.link), +h3 > a:not(.link), +h4 > a:not(.link), +h5 > a:not(.link), +h6 > a:not(.link) { + text-decoration: none; + color: var(--color-text); +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +footer { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} +.tsd-generator { + margin: 0 1em; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h4, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-full-hierarchy:not(:last-child) { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid var(--color-accent); +} +.tsd-full-hierarchy, +.tsd-full-hierarchy ul { + list-style: none; + margin: 0; + padding: 0; +} +.tsd-full-hierarchy ul { + padding-left: 1.5rem; +} +.tsd-full-hierarchy a { + padding: 0.25rem 0 !important; + font-size: 1rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.25rem); + display: flex; + align-items: center; +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: flex; + width: calc(100% - 0.25rem); + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + background-color: var(--color-background); + line-height: initial; + padding: 4px; +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: flex; + align-items: center; + padding: 0.25rem; + box-sizing: border-box; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: + opacity 0.1s, + background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through !important; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/v18.3.4/functions/allOfficialArchsForPlatformAndVersion.html b/v18.3.4/functions/allOfficialArchsForPlatformAndVersion.html new file mode 100644 index 00000000..18d90d5f --- /dev/null +++ b/v18.3.4/functions/allOfficialArchsForPlatformAndVersion.html @@ -0,0 +1 @@ +allOfficialArchsForPlatformAndVersion | @electron/packager - v0.0.0-development

Function allOfficialArchsForPlatformAndVersion

\ No newline at end of file diff --git a/v18.3.4/functions/packager.html b/v18.3.4/functions/packager.html new file mode 100644 index 00000000..17d48f77 --- /dev/null +++ b/v18.3.4/functions/packager.html @@ -0,0 +1,13 @@ +packager | @electron/packager - v0.0.0-development
  • Bundles Electron-based application source code with a renamed/customized Electron executable and +its supporting files into folders ready for distribution.

    +

    Briefly, this function:

    +
      +
    • finds or downloads the correct release of Electron
    • +
    • uses that version of Electron to create a app in <out>/<appname>-<platform>-<arch>
    • +
    +

    Short example:

    +
    const packager = require('@electron/packager')

    async function bundleElectronApp(options) {
    const appPaths = await packager(options)
    console.log(`Electron app bundles created:\n${appPaths.join("\n")}`)
    } +
    +

    Parameters

    • opts: Options

      Options to configure packaging.

      +

    Returns Promise<string[]>

    A Promise containing the paths to the newly created application bundles.

    +
\ No newline at end of file diff --git a/v18.3.4/functions/serialHooks.html b/v18.3.4/functions/serialHooks.html new file mode 100644 index 00000000..0a2d7ace --- /dev/null +++ b/v18.3.4/functions/serialHooks.html @@ -0,0 +1,6 @@ +serialHooks | @electron/packager - v0.0.0-development

Function serialHooks

  • By default, the functions are called in parallel (via +Promise.all). +If you need the functions called serially, you can use the serialHooks utility function:

    +
    const { packager, serialHooks } = require('@electron/packager')

    packager({
    // ...
    afterCopy: [serialHooks([
    (buildPath, electronVersion, platform, arch, callback) => {
    setTimeout(() => {
    console.log('first function')
    callback()
    }, 1000)
    },
    (buildPath, electronVersion, platform, arch, callback) => {
    console.log('second function')
    callback()
    }
    ])],
    // ...
    }) +
    +

    Parameters

    Returns ((...serialHookParams) => Promise<void>)

\ No newline at end of file diff --git a/v18.3.4/hierarchy.html b/v18.3.4/hierarchy.html new file mode 100644 index 00000000..4ba5d0c3 --- /dev/null +++ b/v18.3.4/hierarchy.html @@ -0,0 +1 @@ +@electron/packager - v0.0.0-development

@electron/packager - v0.0.0-development

Class Hierarchy

\ No newline at end of file diff --git a/v18.3.4/index.html b/v18.3.4/index.html new file mode 100644 index 00000000..9606ad64 --- /dev/null +++ b/v18.3.4/index.html @@ -0,0 +1,142 @@ +@electron/packager - v0.0.0-development

@electron/packager - v0.0.0-development

@electron/packager

Package your Electron app into OS-specific bundles (.app, .exe, etc.) via JavaScript or the command line.

+

CircleCI Build Status +electron-nightly Canary +Coverage Status +npm +Discord

+

Supported Platforms | +Installation | +Usage | +API | +Contributing | +Support | +Related Apps/Libraries | +FAQ | +Release Notes

+
+

About

Electron Packager is a command line tool and Node.js library that bundles Electron-based application +source code with a renamed Electron executable and supporting files into folders ready for distribution.

+

For creating distributables like installers and Linux packages, consider using either Electron +Forge (which uses Electron Packager +internally), or one of the related Electron tools, which utilizes +Electron Packager-created folders as a basis.

+

Note that packaged Electron applications can be relatively large. A zipped, minimal Electron +application is approximately the same size as the zipped prebuilt binary for a given target +platform, target arch, and Electron version +(files named electron-v${version}-${platform}-${arch}.zip).

+

Supported Platforms

Electron Packager is known to run on the following host platforms:

+
    +
  • Windows (32/64 bit)
  • +
  • macOS (formerly known as OS X)
  • +
  • Linux (x86/x86_64)
  • +
+

It generates executables/bundles for the following target platforms:

+
    +
  • Windows (also known as win32, for x86, x86_64, and arm64 architectures)
  • +
  • macOS (also known as darwin) / Mac App Store (also known as mas)* (for x86_64, arm64, and universal architectures)
  • +
  • Linux (for x86, x86_64, armv7l, arm64, and mips64el architectures)
  • +
+

* Note for macOS / Mac App Store target bundles: the .app bundle can only be signed when building on a host macOS platform.

+

Installation

This module requires Node.js 16.13.0 or higher to run.

+
npm install --save-dev @electron/packager
+
+

It is not recommended to install @electron/packager globally.

+

Usage

Via JavaScript

JavaScript API usage can be found in the API documentation.

+

From the command line

Running Electron Packager from the command line has this basic form:

+
npx @electron/packager <sourcedir> <appname> --platform=<platform> --arch=<arch> [optional flags...]
+
+
+

Note: +npx can be substituted for yarn or npm exec depending on what package manager and +the version you have installed.

+
+

This will:

+
    +
  • Find or download the correct release of Electron
  • +
  • Use that version of Electron to create an app in <out>/<appname>-<platform>-<arch> (this can be customized via an optional flag)
  • +
+

--platform and --arch can be omitted, in two cases:

+
    +
  • If you specify --all instead, bundles for all valid combinations of target +platforms/architectures will be created.
  • +
  • Otherwise, a single bundle for the host platform/architecture will be created.
  • +
+

For an overview of the other optional flags, run electron-packager --help or see +usage.txt. For +detailed descriptions, see the API documentation.

+

For flags that are structured as objects, you can pass each option as via dot notation as such:

+
npx @electron/packager --flag.foo="bar"
# will pass in { flag: { foo: "bar"} } as an option to the Electron Packager API +
+

If appname is omitted, this will use the name specified by "productName" or "name" in the nearest package.json.

+

Characters in the Electron app name which are not allowed in all target platforms' filenames +(e.g., /), will be replaced by hyphens (-).

+

You should be able to launch the app on the platform you built for. If not, check your settings and try again.

+

Be careful not to include node_modules you don't want into your final app. If you put them in +the devDependencies section of package.json, by default none of the modules related to those +dependencies will be copied in the app bundles. (This behavior can be turned off with the +prune: false API option or --no-prune CLI flag.) In addition, folders like .git and +node_modules/.bin will be ignored by default. You can use --ignore to ignore files and folders +via a regular expression (not a glob pattern). +Examples include --ignore=\.gitignore or --ignore="\.git(ignore|modules)".

+

Example

Let's assume that you have made an app based on the electron-quick-start repository on a macOS host platform with the following file structure:

+
foobar
├── package.json
├── index.html
├── […other files, like the app's LICENSE…]
└── script.js +
+

…and that the following is true:

+
    +
  • @electron/packager is installed locally
  • +
  • productName in package.json has been set to Foo Bar
  • +
  • The electron module is in the devDependencies section of package.json, and set to the exact version of 1.4.15.
  • +
  • npm install for the Foo Bar app has been run at least once
  • +
+

When one runs the following command for the first time in the foobar directory:

+
npx @electron/packager .
+
+

@electron/packager will do the following:

+
    +
  • Use the current directory for the sourcedir
  • +
  • Infer the appname from the productName in package.json
  • +
  • Infer the appVersion from the version in package.json
  • +
  • Infer the platform and arch from the host, in this example, darwin platform and x64 arch.
  • +
  • Download the darwin x64 build of Electron 1.4.15 (and cache the downloads in ~/.electron)
  • +
  • Build the macOS Foo Bar.app
  • +
  • Place Foo Bar.app in foobar/Foo Bar-darwin-x64/ (since an out directory was not specified, it used the current working directory)
  • +
+

The file structure now looks like:

+
foobar
├── Foo Bar-darwin-x64
│   ├── Foo Bar.app
│   │   └── […Mac app contents…]
│ ├── LICENSE [the Electron license]
│ └── version
├── […other application bundles, like "Foo Bar-win32-x64" (sans quotes)…]
├── package.json
├── index.html
├── […other files, like the app's LICENSE…]
└── script.js +
+

The Foo Bar.app folder generated can be executed by a system running macOS, which will start the packaged Electron app. This is also true of the Windows x64 build on a system running a new enough version of Windows for a 64-bit system (via Foo Bar-win32-x64/Foo Bar.exe), and so on.

+

Related

+

Distributable Creators

+

Windows:

+ +

macOS:

+ +

Linux:

+ +

Plugins

These Node modules utilize Electron Packager API hooks:

+ +
\ No newline at end of file diff --git a/v18.3.4/interfaces/ComboOptions.html b/v18.3.4/interfaces/ComboOptions.html new file mode 100644 index 00000000..61e11fde --- /dev/null +++ b/v18.3.4/interfaces/ComboOptions.html @@ -0,0 +1,290 @@ +ComboOptions | @electron/packager - v0.0.0-development

Interface ComboOptions

Options passed to the packager() function.

+
interface ComboOptions {
    afterAsar?: HookFunction[];
    afterComplete?: HookFunction[];
    afterCopy?: HookFunction[];
    afterCopyExtraResources?: HookFunction[];
    afterExtract?: HookFunction[];
    afterFinalizePackageTargets?: FinalizePackageTargetsHookFunction[];
    afterInitialize?: HookFunction[];
    afterPrune?: HookFunction[];
    all?: boolean;
    appBundleId?: string;
    appCategoryType?: string;
    appCopyright?: string;
    appVersion?: string;
    arch: string | string[];
    asar?: boolean | CreateOptions;
    beforeAsar?: HookFunction[];
    beforeCopy?: HookFunction[];
    beforeCopyExtraResources?: HookFunction[];
    buildVersion?: string;
    darwinDarkModeSupport?: boolean;
    derefSymlinks?: boolean;
    dir: string;
    download?: ElectronDownloadRequestOptions;
    electronVersion?: string;
    electronZipDir?: string;
    executableName?: string;
    extendHelperInfo?: string | {
        [property: string]: any;
    };
    extendInfo?: string | {
        [property: string]: any;
    };
    extraResource?: string | string[];
    helperBundleId?: string;
    icon?: string;
    ignore?: RegExp | (string | RegExp)[] | IgnoreFunction;
    junk?: boolean;
    name?: string;
    osxNotarize?: NotaryToolCredentials;
    osxSign?: true | OsxSignOptions;
    osxUniversal?: OsxUniversalOptions;
    out?: string;
    overwrite?: boolean;
    platform: string | string[];
    prebuiltAsar?: string;
    protocols?: MacOSProtocol[];
    prune?: boolean;
    quiet?: boolean;
    tmpdir?: string | false;
    usageDescription?: {
        [property: string]: string;
    };
    win32metadata?: Win32MetadataOptions;
    windowsSign?: true | WindowsSignOptions;
}

Hierarchy (view full)

Other

afterAsar?: HookFunction[]

Functions to be called after your app directory has been packaged into an .asar file.

+

Note: afterAsar will only be called if the asar option is set.

+
afterComplete?: HookFunction[]

Functions to be called after the packaged application has been moved to the final directory.

+
afterCopy?: HookFunction[]

Functions to be called after your app directory has been copied to a temporary directory.

+

Note: afterCopy will not be called if the prebuiltAsar option is set.

+
afterCopyExtraResources?: HookFunction[]

Functions to be called after the files specified in the extraResource option have been copied.

+
afterExtract?: HookFunction[]

Functions to be called after the prebuilt Electron binary has been extracted to a temporary directory.

+
afterFinalizePackageTargets?: FinalizePackageTargetsHookFunction[]

Functions to be called after the final matrix of platform/arch combination is determined. Use this to +learn what archs/platforms packager is targetting when you pass "all" as a value.

+
afterInitialize?: HookFunction[]
afterPrune?: HookFunction[]

Functions to be called after Node module pruning has been applied to the application.

+

Note: None of these functions will be called if the prune option is false or +the prebuiltAsar option is set.

+
all?: boolean

When true, sets both arch and platform to all.

+
appBundleId?: string
appCopyright?: string

The human-readable copyright line for the app. Maps to the LegalCopyright metadata +property on Windows, and NSHumanReadableCopyright on macOS.

+
appVersion?: string

The release version of the application.

+

By default the version property in the package.json is used, but it can be overridden +with this argument. If neither are provided, the version of Electron will be used. Maps +to the ProductVersion metadata property on Windows, and CFBundleShortVersionString +on macOS.

+
arch: string | string[]

The target system architecture(s) to build for.

+

Not required if the all option is set. If arch is set to all, all supported +architectures for the target platforms specified by platform will be built. +Arbitrary combinations of individual architectures are also supported via a comma-delimited +string or array of strings. The non-all values correspond to the architecture names used +by Electron releases. This value +is not restricted to the official set if [[download|download.mirrorOptions]] is set.

+

Defaults to the arch of the host computer running Electron Packager.

+

Arch values for the official prebuilt Electron binaries:

+
    +
  • ia32
  • +
  • x64
  • +
  • armv7l
  • +
  • arm64 (Linux: Electron 1.8.0 and above; Windows: 6.0.8 and above; macOS: 11.0.0-beta.1 and above)
  • +
  • mips64el (Electron 1.8.2-beta.5 to 1.8.8)
  • +
+
asar?: boolean | CreateOptions

Whether to package the application's source code into an archive, using Electron's +archive format. Reasons why you may want to enable +this feature include mitigating issues around long path names on Windows, slightly speeding +up require, and concealing your source code from cursory inspection. When the value +is true, it passes the default configuration to the asar module. The configuration +values can be customized when the value is an Object. Supported sub-options include, but +are not limited to:

+
    +
  • ordering (string): A path to an ordering file for packing files. An explanation can be +found on the Atom issue tracker.
  • +
  • unpack (string): A glob expression, +when specified, unpacks the file with matching names to the app.asar.unpacked directory.
  • +
  • unpackDir (string): Unpacks the dir to the app.asar.unpacked directory whose names +exactly or pattern match this string. The asar.unpackDir is relative to dir.
  • +
+

Defaults to false.

+

Some examples:

+
    +
  • asar.unpackDir = 'sub_dir' will unpack the directory /<dir>/sub_dir
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '*') will unpack the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2, but it will not include their subdirectories.
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '**') will unpack the subdirectories of the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2.
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '**', '*') will unpack the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2 and their subdirectories.
  • +
+

Note: asar will have no effect if the prebuiltAsar option is set.

+
beforeAsar?: HookFunction[]

Functions to be called before your app directory is packaged into an .asar file.

+

Note: beforeAsar will only be called if the asar option is set.

+
beforeCopy?: HookFunction[]

Functions to be called before your app directory is copied to a temporary directory.

+

Note: beforeCopy will not be called if the prebuiltAsar option is set.

+
beforeCopyExtraResources?: HookFunction[]

Functions to be called before the files specified in the extraResource option are copied.

+
buildVersion?: string

The build version of the application. Defaults to the value of the appVersion option. +Maps to the FileVersion metadata property on Windows, and CFBundleVersion on macOS.

+
derefSymlinks?: boolean

Whether symlinks should be dereferenced during the copying of the application source. +Defaults to true.

+

Note: derefSymlinks will have no effect if the prebuiltAsar option is set.

+
dir: string

The source directory.

+
download?: ElectronDownloadRequestOptions

If present, passes custom options to @electron/get. See +the module for option descriptions, proxy support, and defaults. Supported parameters +include, but are not limited to:

+
    +
  • cacheRoot (string): The directory where prebuilt, pre-packaged Electron downloads are cached.
  • +
  • mirrorOptions (Object): Options to override the default Electron download location.
  • +
+

Note: download sub-options will have no effect if the electronZipDir option is set.

+
electronVersion?: string

The Electron version with which the app is built (without the leading 'v') - for example, +1.4.13. See Electron +releases for valid versions. If omitted, it

+
    +
  • will use the version of the nearest local installation of electron or electron-nightly
  • +
  • defined in package.json in either devDependencies or dependencies.
  • +
+
electronZipDir?: string

The local path to a directory containing Electron ZIP files for Electron Packager to unzip, instead +of downloading them. The ZIP filenames should be in the same format as the ones downloaded from the +Electron releases site.

+

Note: Setting this option prevents the download sub-options from being used, as +the functionality gets skipped over.

+
executableName?: string

The name of the executable file, sans file extension. Defaults to the value for the name +option. For darwin or mas target platforms, this does not affect the name of the +.app folder - this will use the name option instead.

+
extraResource?: string | string[]

One or more files to be copied directly into the app's Contents/Resources directory for +macOS target platforms, and the resources directory for other target platforms. The +resources directory can be referenced in the packaged app via the +process.resourcesPath value.

+
icon?: string

The local path to the icon file, if the target platform supports setting embedding an icon.

+

Currently you must look for conversion tools in order to supply an icon in the format required by the platform:

+
    +
  • macOS: .icns
  • +
  • Windows: .ico (See the readme for details on non-Windows platforms)
  • +
  • Linux: this option is not supported, as the dock/window list icon is set via +the icon option in the BrowserWindow constructor. +Please note that you need to use a PNG, and not the macOS or Windows icon formats, in order for it +to show up in the dock/window list. Setting the icon in the file manager is not currently supported.
  • +
+

If the file extension is omitted, it is auto-completed to the correct extension based on the +platform, including when [[platform|platform: 'all']] is in effect.

+
ignore?: RegExp | (string | RegExp)[] | IgnoreFunction

One or more additional regular expression +patterns which specify which files to ignore when copying files to create the app bundle(s). The +regular expressions are matched against the absolute path of a given file/directory to be copied.

+

Please note that glob patterns will not work.

+

The following paths are always ignored (when you aren't using an IgnoreFunction):

+
    +
  • the directory specified by the out option
  • +
  • the temporary directory used to build the Electron app
  • +
  • node_modules/.bin
  • +
  • node_modules/electron
      +
      • +
      • node_modules/electron-nightly
      • +
      +
    • +
    +
  • +
  • .git
  • +
  • files and folders ending in .o and .obj
  • +
+

Note: Node modules specified in devDependencies are ignored by default, via the +prune option.

+

Note: ignore will have no effect if the prebuiltAsar option is set.

+
junk?: boolean

Ignores system junk files when copying the Electron app, +regardless of the ignore option.

+

Note: junk will have no effect if the prebuiltAsar option is set.

+
name?: string

The application name. If omitted, it will use the productName or name value from the +nearest package.json.

+

Regardless of source, characters in the Electron app name which are not allowed in all target +platforms' filenames (e.g., /), will be replaced by hyphens (-).

+
osxUniversal?: OsxUniversalOptions

Used to provide custom options to the internal call to @electron/universal when building a macOS +app with the target architecture of "universal". Unused otherwise, providing a value does not imply +a universal app is built.

+
out?: string

The base directory where the finished package(s) are created.

+

Defaults to the current working directory.

+
overwrite?: boolean

Whether to replace an already existing output directory for a given platform (true) or +skip recreating it (false). Defaults to false.

+
platform: string | string[]

The target platform(s) to build for.

+

Not required if the all option is set. If platform is set to all, all officially +supported target platforms for the target architectures specified by the arch option +will be built. Arbitrary combinations of individual platforms are also supported via a +comma-delimited string or array of strings.

+

The official non-all values correspond to the platform names used by Electron +releases. This value is not restricted to +the official set if [[download|`download.mirrorOptions]] is set.

+

Defaults to the platform of the host computer running Electron Packager.

+

Platform values for the official prebuilt Electron binaries:

+
    +
  • darwin (macOS)
  • +
  • linux
  • +
  • mas (macOS, specifically for submitting to the Mac App Store)
  • +
  • win32
  • +
+
prebuiltAsar?: string

The path to a prebuilt ASAR file.

+

Note: Setting this option prevents the following options from being used, as the functionality +gets skipped over:

+ +
prune?: boolean

Walks the node_modules dependency tree to remove all of the packages specified in the +devDependencies section of package.json from the outputted Electron app.

+

Defaults to true.

+

Note: prune will have no effect if the prebuiltAsar option is set.

+
quiet?: boolean

If true, disables printing informational and warning messages to the console when +packaging the application. This does not disable errors.

+

Defaults to false.

+
tmpdir?: string | false

The base directory to use as a temporary directory. Set to false to disable use of a +temporary directory. Defaults to the system's temporary directory.

+

Windows

win32metadata?: Win32MetadataOptions

Application metadata to embed into the Windows executable.

+
windowsSign?: true | WindowsSignOptions

If present, signs Windows binary files. +When the value is true, pass default configuration to the signing module. See +@electron/windows-sign for sub-option descriptions and +their defaults.

+

macOS

appCategoryType?: string

The application category type, as shown in the Finder via View → Arrange by Application +Category when viewing the Applications directory.

+

For example, app-category-type=public.app-category.developer-tools will set the +application category to Developer Tools.

+

Valid values are listed in Apple's documentation.

+
darwinDarkModeSupport?: boolean

Forces support for Mojave (macOS 10.14) dark mode in your packaged app. This sets the +NSRequiresAquaSystemAppearance key to false in your app's Info.plist. For more information, +see the Electron documentation +and the Apple developer documentation.

+
extendHelperInfo?: string | {
    [property: string]: any;
}

When the value is a string, specifies the filename of a plist file. Its contents are merged +into all the Helper apps' Info.plist files. +When the value is an Object, it specifies an already-parsed plist data structure that is +merged into all the Helper apps' Info.plist files.

+

Entries from extendHelperInfo override entries in the helper apps' Info.plist file supplied by

+
    +
  • electron or electron-nightly, but are overridden by other +options such as appVersion or appBundleId.
  • +
+

Type declaration

  • [property: string]: any
extendInfo?: string | {
    [property: string]: any;
}

When the value is a string, specifies the filename of a plist file. Its contents are merged +into the app's Info.plist. +When the value is an Object, it specifies an already-parsed plist data structure that is +merged into the app's Info.plist.

+

Entries from extendInfo override entries in the base Info.plist file supplied by

+
    +
  • electron or electron-nightly, but are overridden by other +options such as appVersion or appBundleId.
  • +
+

Type declaration

  • [property: string]: any
helperBundleId?: string

The bundle identifier to use in the application helper's Info.plist.

+
osxNotarize?: NotaryToolCredentials

If present, notarizes macOS target apps when the host platform is macOS and Xcode is installed. +See @electron/notarize +for option descriptions, such as how to use appleIdPassword safely or obtain an API key.

+

Requires the osxSign option to be set.

+
osxSign?: true | OsxSignOptions

If present, signs macOS target apps when the host platform is macOS and Xcode is installed. +When the value is true, pass default configuration to the signing module. See +@electron/osx-sign for sub-option descriptions and +their defaults. Options include, but are not limited to:

+
    +
  • identity (string): The identity used when signing the package via codesign.
  • +
  • binaries (array): Path to additional binaries that will be signed along with built-ins of Electron/
  • +
+
protocols?: MacOSProtocol[]

The URL protocol schemes associated with the Electron app.

+
usageDescription?: {
    [property: string]: string;
}

Human-readable descriptions of how the Electron app uses certain macOS features. These are displayed +in the App Store. A non-exhaustive list of available properties:

+
    +
  • Camera - required for media access API usage in macOS Catalina
  • +
  • Microphone - required for media access API usage in macOS Catalina
  • +
+

Valid properties are the Cocoa keys for MacOS +of the pattern NS(.*)UsageDescription, where the captured group is the key to use.

+

Example:

+
{
usageDescription: {
Camera: 'Needed for video calls',
Microphone: 'Needed for voice calls'
}
} +
+

Type declaration

  • [property: string]: string
\ No newline at end of file diff --git a/v18.3.4/interfaces/DownloadOptions.html b/v18.3.4/interfaces/DownloadOptions.html new file mode 100644 index 00000000..e60d80f9 --- /dev/null +++ b/v18.3.4/interfaces/DownloadOptions.html @@ -0,0 +1,259 @@ +DownloadOptions | @electron/packager - v0.0.0-development

Interface DownloadOptions

interface DownloadOptions {
    afterAsar?: HookFunction[];
    afterComplete?: HookFunction[];
    afterCopy?: HookFunction[];
    afterCopyExtraResources?: HookFunction[];
    afterExtract?: HookFunction[];
    afterFinalizePackageTargets?: FinalizePackageTargetsHookFunction[];
    afterInitialize?: HookFunction[];
    afterPrune?: HookFunction[];
    all?: boolean;
    appBundleId?: string;
    appCategoryType?: string;
    appCopyright?: string;
    appVersion?: string;
    arch: string | string[];
    artifactName: string;
    asar?: boolean | CreateOptions;
    beforeAsar?: HookFunction[];
    beforeCopy?: HookFunction[];
    beforeCopyExtraResources?: HookFunction[];
    buildVersion?: string;
    darwinDarkModeSupport?: boolean;
    derefSymlinks?: boolean;
    dir: string;
    download?: ElectronDownloadRequestOptions;
    electronVersion?: string;
    electronZipDir?: string;
    executableName?: string;
    extendHelperInfo?: string | {
        [property: string]: any;
    };
    extendInfo?: string | {
        [property: string]: any;
    };
    extraResource?: string | string[];
    helperBundleId?: string;
    icon?: string;
    ignore?: RegExp | (string | RegExp)[] | IgnoreFunction;
    junk?: boolean;
    name?: string;
    osxNotarize?: NotaryToolCredentials;
    osxSign?: true | OsxSignOptions;
    osxUniversal?: OsxUniversalOptions;
    out?: string;
    overwrite?: boolean;
    platform: string | string[];
    prebuiltAsar?: string;
    protocols?: MacOSProtocol[];
    prune?: boolean;
    quiet?: boolean;
    tmpdir?: string | false;
    usageDescription?: {
        [property: string]: string;
    };
    version: string;
    win32metadata?: Win32MetadataOptions;
    windowsSign?: true | WindowsSignOptions;
}

Hierarchy

  • OptionsWithRequiredArchAndPlatform
    • DownloadOptions

Other

afterAsar?: HookFunction[]

Functions to be called after your app directory has been packaged into an .asar file.

+

Note: afterAsar will only be called if the asar option is set.

+
afterComplete?: HookFunction[]

Functions to be called after the packaged application has been moved to the final directory.

+
afterCopy?: HookFunction[]

Functions to be called after your app directory has been copied to a temporary directory.

+

Note: afterCopy will not be called if the prebuiltAsar option is set.

+
afterCopyExtraResources?: HookFunction[]

Functions to be called after the files specified in the extraResource option have been copied.

+
afterExtract?: HookFunction[]

Functions to be called after the prebuilt Electron binary has been extracted to a temporary directory.

+
afterFinalizePackageTargets?: FinalizePackageTargetsHookFunction[]

Functions to be called after the final matrix of platform/arch combination is determined. Use this to +learn what archs/platforms packager is targetting when you pass "all" as a value.

+
afterInitialize?: HookFunction[]
afterPrune?: HookFunction[]

Functions to be called after Node module pruning has been applied to the application.

+

Note: None of these functions will be called if the prune option is false or +the prebuiltAsar option is set.

+
all?: boolean

When true, sets both arch and platform to all.

+
appBundleId?: string
appCopyright?: string

The human-readable copyright line for the app. Maps to the LegalCopyright metadata +property on Windows, and NSHumanReadableCopyright on macOS.

+
appVersion?: string

The release version of the application.

+

By default the version property in the package.json is used, but it can be overridden +with this argument. If neither are provided, the version of Electron will be used. Maps +to the ProductVersion metadata property on Windows, and CFBundleShortVersionString +on macOS.

+
arch: string | string[]
artifactName: string
asar?: boolean | CreateOptions

Whether to package the application's source code into an archive, using Electron's +archive format. Reasons why you may want to enable +this feature include mitigating issues around long path names on Windows, slightly speeding +up require, and concealing your source code from cursory inspection. When the value +is true, it passes the default configuration to the asar module. The configuration +values can be customized when the value is an Object. Supported sub-options include, but +are not limited to:

+
    +
  • ordering (string): A path to an ordering file for packing files. An explanation can be +found on the Atom issue tracker.
  • +
  • unpack (string): A glob expression, +when specified, unpacks the file with matching names to the app.asar.unpacked directory.
  • +
  • unpackDir (string): Unpacks the dir to the app.asar.unpacked directory whose names +exactly or pattern match this string. The asar.unpackDir is relative to dir.
  • +
+

Defaults to false.

+

Some examples:

+
    +
  • asar.unpackDir = 'sub_dir' will unpack the directory /<dir>/sub_dir
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '*') will unpack the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2, but it will not include their subdirectories.
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '**') will unpack the subdirectories of the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2.
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '**', '*') will unpack the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2 and their subdirectories.
  • +
+

Note: asar will have no effect if the prebuiltAsar option is set.

+
beforeAsar?: HookFunction[]

Functions to be called before your app directory is packaged into an .asar file.

+

Note: beforeAsar will only be called if the asar option is set.

+
beforeCopy?: HookFunction[]

Functions to be called before your app directory is copied to a temporary directory.

+

Note: beforeCopy will not be called if the prebuiltAsar option is set.

+
beforeCopyExtraResources?: HookFunction[]

Functions to be called before the files specified in the extraResource option are copied.

+
buildVersion?: string

The build version of the application. Defaults to the value of the appVersion option. +Maps to the FileVersion metadata property on Windows, and CFBundleVersion on macOS.

+
derefSymlinks?: boolean

Whether symlinks should be dereferenced during the copying of the application source. +Defaults to true.

+

Note: derefSymlinks will have no effect if the prebuiltAsar option is set.

+
dir: string

The source directory.

+
download?: ElectronDownloadRequestOptions

If present, passes custom options to @electron/get. See +the module for option descriptions, proxy support, and defaults. Supported parameters +include, but are not limited to:

+
    +
  • cacheRoot (string): The directory where prebuilt, pre-packaged Electron downloads are cached.
  • +
  • mirrorOptions (Object): Options to override the default Electron download location.
  • +
+

Note: download sub-options will have no effect if the electronZipDir option is set.

+
electronVersion?: string

The Electron version with which the app is built (without the leading 'v') - for example, +1.4.13. See Electron +releases for valid versions. If omitted, it

+
    +
  • will use the version of the nearest local installation of electron or electron-nightly
  • +
  • defined in package.json in either devDependencies or dependencies.
  • +
+
electronZipDir?: string

The local path to a directory containing Electron ZIP files for Electron Packager to unzip, instead +of downloading them. The ZIP filenames should be in the same format as the ones downloaded from the +Electron releases site.

+

Note: Setting this option prevents the download sub-options from being used, as +the functionality gets skipped over.

+
executableName?: string

The name of the executable file, sans file extension. Defaults to the value for the name +option. For darwin or mas target platforms, this does not affect the name of the +.app folder - this will use the name option instead.

+
extraResource?: string | string[]

One or more files to be copied directly into the app's Contents/Resources directory for +macOS target platforms, and the resources directory for other target platforms. The +resources directory can be referenced in the packaged app via the +process.resourcesPath value.

+
icon?: string

The local path to the icon file, if the target platform supports setting embedding an icon.

+

Currently you must look for conversion tools in order to supply an icon in the format required by the platform:

+
    +
  • macOS: .icns
  • +
  • Windows: .ico (See the readme for details on non-Windows platforms)
  • +
  • Linux: this option is not supported, as the dock/window list icon is set via +the icon option in the BrowserWindow constructor. +Please note that you need to use a PNG, and not the macOS or Windows icon formats, in order for it +to show up in the dock/window list. Setting the icon in the file manager is not currently supported.
  • +
+

If the file extension is omitted, it is auto-completed to the correct extension based on the +platform, including when [[platform|platform: 'all']] is in effect.

+
ignore?: RegExp | (string | RegExp)[] | IgnoreFunction

One or more additional regular expression +patterns which specify which files to ignore when copying files to create the app bundle(s). The +regular expressions are matched against the absolute path of a given file/directory to be copied.

+

Please note that glob patterns will not work.

+

The following paths are always ignored (when you aren't using an IgnoreFunction):

+
    +
  • the directory specified by the out option
  • +
  • the temporary directory used to build the Electron app
  • +
  • node_modules/.bin
  • +
  • node_modules/electron
      +
      • +
      • node_modules/electron-nightly
      • +
      +
    • +
    +
  • +
  • .git
  • +
  • files and folders ending in .o and .obj
  • +
+

Note: Node modules specified in devDependencies are ignored by default, via the +prune option.

+

Note: ignore will have no effect if the prebuiltAsar option is set.

+
junk?: boolean

Ignores system junk files when copying the Electron app, +regardless of the ignore option.

+

Note: junk will have no effect if the prebuiltAsar option is set.

+
name?: string

The application name. If omitted, it will use the productName or name value from the +nearest package.json.

+

Regardless of source, characters in the Electron app name which are not allowed in all target +platforms' filenames (e.g., /), will be replaced by hyphens (-).

+
osxUniversal?: OsxUniversalOptions

Used to provide custom options to the internal call to @electron/universal when building a macOS +app with the target architecture of "universal". Unused otherwise, providing a value does not imply +a universal app is built.

+
out?: string

The base directory where the finished package(s) are created.

+

Defaults to the current working directory.

+
overwrite?: boolean

Whether to replace an already existing output directory for a given platform (true) or +skip recreating it (false). Defaults to false.

+
platform: string | string[]
prebuiltAsar?: string

The path to a prebuilt ASAR file.

+

Note: Setting this option prevents the following options from being used, as the functionality +gets skipped over:

+ +
prune?: boolean

Walks the node_modules dependency tree to remove all of the packages specified in the +devDependencies section of package.json from the outputted Electron app.

+

Defaults to true.

+

Note: prune will have no effect if the prebuiltAsar option is set.

+
quiet?: boolean

If true, disables printing informational and warning messages to the console when +packaging the application. This does not disable errors.

+

Defaults to false.

+
tmpdir?: string | false

The base directory to use as a temporary directory. Set to false to disable use of a +temporary directory. Defaults to the system's temporary directory.

+
version: string

Windows

win32metadata?: Win32MetadataOptions

Application metadata to embed into the Windows executable.

+
windowsSign?: true | WindowsSignOptions

If present, signs Windows binary files. +When the value is true, pass default configuration to the signing module. See +@electron/windows-sign for sub-option descriptions and +their defaults.

+

macOS

appCategoryType?: string

The application category type, as shown in the Finder via View → Arrange by Application +Category when viewing the Applications directory.

+

For example, app-category-type=public.app-category.developer-tools will set the +application category to Developer Tools.

+

Valid values are listed in Apple's documentation.

+
darwinDarkModeSupport?: boolean

Forces support for Mojave (macOS 10.14) dark mode in your packaged app. This sets the +NSRequiresAquaSystemAppearance key to false in your app's Info.plist. For more information, +see the Electron documentation +and the Apple developer documentation.

+
extendHelperInfo?: string | {
    [property: string]: any;
}

When the value is a string, specifies the filename of a plist file. Its contents are merged +into all the Helper apps' Info.plist files. +When the value is an Object, it specifies an already-parsed plist data structure that is +merged into all the Helper apps' Info.plist files.

+

Entries from extendHelperInfo override entries in the helper apps' Info.plist file supplied by

+
    +
  • electron or electron-nightly, but are overridden by other +options such as appVersion or appBundleId.
  • +
+

Type declaration

  • [property: string]: any
extendInfo?: string | {
    [property: string]: any;
}

When the value is a string, specifies the filename of a plist file. Its contents are merged +into the app's Info.plist. +When the value is an Object, it specifies an already-parsed plist data structure that is +merged into the app's Info.plist.

+

Entries from extendInfo override entries in the base Info.plist file supplied by

+
    +
  • electron or electron-nightly, but are overridden by other +options such as appVersion or appBundleId.
  • +
+

Type declaration

  • [property: string]: any
helperBundleId?: string

The bundle identifier to use in the application helper's Info.plist.

+
osxNotarize?: NotaryToolCredentials

If present, notarizes macOS target apps when the host platform is macOS and Xcode is installed. +See @electron/notarize +for option descriptions, such as how to use appleIdPassword safely or obtain an API key.

+

Requires the osxSign option to be set.

+
osxSign?: true | OsxSignOptions

If present, signs macOS target apps when the host platform is macOS and Xcode is installed. +When the value is true, pass default configuration to the signing module. See +@electron/osx-sign for sub-option descriptions and +their defaults. Options include, but are not limited to:

+
    +
  • identity (string): The identity used when signing the package via codesign.
  • +
  • binaries (array): Path to additional binaries that will be signed along with built-ins of Electron/
  • +
+
protocols?: MacOSProtocol[]

The URL protocol schemes associated with the Electron app.

+
usageDescription?: {
    [property: string]: string;
}

Human-readable descriptions of how the Electron app uses certain macOS features. These are displayed +in the App Store. A non-exhaustive list of available properties:

+
    +
  • Camera - required for media access API usage in macOS Catalina
  • +
  • Microphone - required for media access API usage in macOS Catalina
  • +
+

Valid properties are the Cocoa keys for MacOS +of the pattern NS(.*)UsageDescription, where the captured group is the key to use.

+

Example:

+
{
usageDescription: {
Camera: 'Needed for video calls',
Microphone: 'Needed for voice calls'
}
} +
+

Type declaration

  • [property: string]: string
\ No newline at end of file diff --git a/v18.3.4/interfaces/MacOSProtocol.html b/v18.3.4/interfaces/MacOSProtocol.html new file mode 100644 index 00000000..58894b13 --- /dev/null +++ b/v18.3.4/interfaces/MacOSProtocol.html @@ -0,0 +1,8 @@ +MacOSProtocol | @electron/packager - v0.0.0-development

Interface MacOSProtocol

Defines URL protocol schemes to be used on macOS.

+
interface MacOSProtocol {
    name: string;
    schemes: string[];
}

Properties

Properties

name: string

The descriptive name. Maps to the CFBundleURLName metadata property.

+
schemes: string[]

One or more protocol schemes associated with the app. For example, specifying myapp +would cause URLs such as myapp://path to be opened with the app. Maps to the +CFBundleURLSchemes metadata property.

+
\ No newline at end of file diff --git a/v18.3.4/interfaces/Options.html b/v18.3.4/interfaces/Options.html new file mode 100644 index 00000000..fefb2d8a --- /dev/null +++ b/v18.3.4/interfaces/Options.html @@ -0,0 +1,290 @@ +Options | @electron/packager - v0.0.0-development

Interface Options

Options passed to the packager() function.

+
interface Options {
    afterAsar?: HookFunction[];
    afterComplete?: HookFunction[];
    afterCopy?: HookFunction[];
    afterCopyExtraResources?: HookFunction[];
    afterExtract?: HookFunction[];
    afterFinalizePackageTargets?: FinalizePackageTargetsHookFunction[];
    afterInitialize?: HookFunction[];
    afterPrune?: HookFunction[];
    all?: boolean;
    appBundleId?: string;
    appCategoryType?: string;
    appCopyright?: string;
    appVersion?: string;
    arch?: string | string[];
    asar?: boolean | CreateOptions;
    beforeAsar?: HookFunction[];
    beforeCopy?: HookFunction[];
    beforeCopyExtraResources?: HookFunction[];
    buildVersion?: string;
    darwinDarkModeSupport?: boolean;
    derefSymlinks?: boolean;
    dir: string;
    download?: ElectronDownloadRequestOptions;
    electronVersion?: string;
    electronZipDir?: string;
    executableName?: string;
    extendHelperInfo?: string | {
        [property: string]: any;
    };
    extendInfo?: string | {
        [property: string]: any;
    };
    extraResource?: string | string[];
    helperBundleId?: string;
    icon?: string;
    ignore?: RegExp | (string | RegExp)[] | IgnoreFunction;
    junk?: boolean;
    name?: string;
    osxNotarize?: NotaryToolCredentials;
    osxSign?: true | OsxSignOptions;
    osxUniversal?: OsxUniversalOptions;
    out?: string;
    overwrite?: boolean;
    platform?: string | string[];
    prebuiltAsar?: string;
    protocols?: MacOSProtocol[];
    prune?: boolean;
    quiet?: boolean;
    tmpdir?: string | false;
    usageDescription?: {
        [property: string]: string;
    };
    win32metadata?: Win32MetadataOptions;
    windowsSign?: true | WindowsSignOptions;
}

Hierarchy (view full)

Other

afterAsar?: HookFunction[]

Functions to be called after your app directory has been packaged into an .asar file.

+

Note: afterAsar will only be called if the asar option is set.

+
afterComplete?: HookFunction[]

Functions to be called after the packaged application has been moved to the final directory.

+
afterCopy?: HookFunction[]

Functions to be called after your app directory has been copied to a temporary directory.

+

Note: afterCopy will not be called if the prebuiltAsar option is set.

+
afterCopyExtraResources?: HookFunction[]

Functions to be called after the files specified in the extraResource option have been copied.

+
afterExtract?: HookFunction[]

Functions to be called after the prebuilt Electron binary has been extracted to a temporary directory.

+
afterFinalizePackageTargets?: FinalizePackageTargetsHookFunction[]

Functions to be called after the final matrix of platform/arch combination is determined. Use this to +learn what archs/platforms packager is targetting when you pass "all" as a value.

+
afterInitialize?: HookFunction[]
afterPrune?: HookFunction[]

Functions to be called after Node module pruning has been applied to the application.

+

Note: None of these functions will be called if the prune option is false or +the prebuiltAsar option is set.

+
all?: boolean

When true, sets both arch and platform to all.

+
appBundleId?: string
appCopyright?: string

The human-readable copyright line for the app. Maps to the LegalCopyright metadata +property on Windows, and NSHumanReadableCopyright on macOS.

+
appVersion?: string

The release version of the application.

+

By default the version property in the package.json is used, but it can be overridden +with this argument. If neither are provided, the version of Electron will be used. Maps +to the ProductVersion metadata property on Windows, and CFBundleShortVersionString +on macOS.

+
arch?: string | string[]

The target system architecture(s) to build for.

+

Not required if the all option is set. If arch is set to all, all supported +architectures for the target platforms specified by platform will be built. +Arbitrary combinations of individual architectures are also supported via a comma-delimited +string or array of strings. The non-all values correspond to the architecture names used +by Electron releases. This value +is not restricted to the official set if [[download|download.mirrorOptions]] is set.

+

Defaults to the arch of the host computer running Electron Packager.

+

Arch values for the official prebuilt Electron binaries:

+
    +
  • ia32
  • +
  • x64
  • +
  • armv7l
  • +
  • arm64 (Linux: Electron 1.8.0 and above; Windows: 6.0.8 and above; macOS: 11.0.0-beta.1 and above)
  • +
  • mips64el (Electron 1.8.2-beta.5 to 1.8.8)
  • +
+
asar?: boolean | CreateOptions

Whether to package the application's source code into an archive, using Electron's +archive format. Reasons why you may want to enable +this feature include mitigating issues around long path names on Windows, slightly speeding +up require, and concealing your source code from cursory inspection. When the value +is true, it passes the default configuration to the asar module. The configuration +values can be customized when the value is an Object. Supported sub-options include, but +are not limited to:

+
    +
  • ordering (string): A path to an ordering file for packing files. An explanation can be +found on the Atom issue tracker.
  • +
  • unpack (string): A glob expression, +when specified, unpacks the file with matching names to the app.asar.unpacked directory.
  • +
  • unpackDir (string): Unpacks the dir to the app.asar.unpacked directory whose names +exactly or pattern match this string. The asar.unpackDir is relative to dir.
  • +
+

Defaults to false.

+

Some examples:

+
    +
  • asar.unpackDir = 'sub_dir' will unpack the directory /<dir>/sub_dir
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '*') will unpack the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2, but it will not include their subdirectories.
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '**') will unpack the subdirectories of the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2.
  • +
  • asar.unpackDir = path.join('**', '{sub_dir1/sub_sub_dir,sub_dir2}', '**', '*') will unpack the directories /<dir>/sub_dir1/sub_sub_dir and /<dir>/sub_dir2 and their subdirectories.
  • +
+

Note: asar will have no effect if the prebuiltAsar option is set.

+
beforeAsar?: HookFunction[]

Functions to be called before your app directory is packaged into an .asar file.

+

Note: beforeAsar will only be called if the asar option is set.

+
beforeCopy?: HookFunction[]

Functions to be called before your app directory is copied to a temporary directory.

+

Note: beforeCopy will not be called if the prebuiltAsar option is set.

+
beforeCopyExtraResources?: HookFunction[]

Functions to be called before the files specified in the extraResource option are copied.

+
buildVersion?: string

The build version of the application. Defaults to the value of the appVersion option. +Maps to the FileVersion metadata property on Windows, and CFBundleVersion on macOS.

+
derefSymlinks?: boolean

Whether symlinks should be dereferenced during the copying of the application source. +Defaults to true.

+

Note: derefSymlinks will have no effect if the prebuiltAsar option is set.

+
dir: string

The source directory.

+
download?: ElectronDownloadRequestOptions

If present, passes custom options to @electron/get. See +the module for option descriptions, proxy support, and defaults. Supported parameters +include, but are not limited to:

+
    +
  • cacheRoot (string): The directory where prebuilt, pre-packaged Electron downloads are cached.
  • +
  • mirrorOptions (Object): Options to override the default Electron download location.
  • +
+

Note: download sub-options will have no effect if the electronZipDir option is set.

+
electronVersion?: string

The Electron version with which the app is built (without the leading 'v') - for example, +1.4.13. See Electron +releases for valid versions. If omitted, it

+
    +
  • will use the version of the nearest local installation of electron or electron-nightly
  • +
  • defined in package.json in either devDependencies or dependencies.
  • +
+
electronZipDir?: string

The local path to a directory containing Electron ZIP files for Electron Packager to unzip, instead +of downloading them. The ZIP filenames should be in the same format as the ones downloaded from the +Electron releases site.

+

Note: Setting this option prevents the download sub-options from being used, as +the functionality gets skipped over.

+
executableName?: string

The name of the executable file, sans file extension. Defaults to the value for the name +option. For darwin or mas target platforms, this does not affect the name of the +.app folder - this will use the name option instead.

+
extraResource?: string | string[]

One or more files to be copied directly into the app's Contents/Resources directory for +macOS target platforms, and the resources directory for other target platforms. The +resources directory can be referenced in the packaged app via the +process.resourcesPath value.

+
icon?: string

The local path to the icon file, if the target platform supports setting embedding an icon.

+

Currently you must look for conversion tools in order to supply an icon in the format required by the platform:

+
    +
  • macOS: .icns
  • +
  • Windows: .ico (See the readme for details on non-Windows platforms)
  • +
  • Linux: this option is not supported, as the dock/window list icon is set via +the icon option in the BrowserWindow constructor. +Please note that you need to use a PNG, and not the macOS or Windows icon formats, in order for it +to show up in the dock/window list. Setting the icon in the file manager is not currently supported.
  • +
+

If the file extension is omitted, it is auto-completed to the correct extension based on the +platform, including when [[platform|platform: 'all']] is in effect.

+
ignore?: RegExp | (string | RegExp)[] | IgnoreFunction

One or more additional regular expression +patterns which specify which files to ignore when copying files to create the app bundle(s). The +regular expressions are matched against the absolute path of a given file/directory to be copied.

+

Please note that glob patterns will not work.

+

The following paths are always ignored (when you aren't using an IgnoreFunction):

+
    +
  • the directory specified by the out option
  • +
  • the temporary directory used to build the Electron app
  • +
  • node_modules/.bin
  • +
  • node_modules/electron
      +
      • +
      • node_modules/electron-nightly
      • +
      +
    • +
    +
  • +
  • .git
  • +
  • files and folders ending in .o and .obj
  • +
+

Note: Node modules specified in devDependencies are ignored by default, via the +prune option.

+

Note: ignore will have no effect if the prebuiltAsar option is set.

+
junk?: boolean

Ignores system junk files when copying the Electron app, +regardless of the ignore option.

+

Note: junk will have no effect if the prebuiltAsar option is set.

+
name?: string

The application name. If omitted, it will use the productName or name value from the +nearest package.json.

+

Regardless of source, characters in the Electron app name which are not allowed in all target +platforms' filenames (e.g., /), will be replaced by hyphens (-).

+
osxUniversal?: OsxUniversalOptions

Used to provide custom options to the internal call to @electron/universal when building a macOS +app with the target architecture of "universal". Unused otherwise, providing a value does not imply +a universal app is built.

+
out?: string

The base directory where the finished package(s) are created.

+

Defaults to the current working directory.

+
overwrite?: boolean

Whether to replace an already existing output directory for a given platform (true) or +skip recreating it (false). Defaults to false.

+
platform?: string | string[]

The target platform(s) to build for.

+

Not required if the all option is set. If platform is set to all, all officially +supported target platforms for the target architectures specified by the arch option +will be built. Arbitrary combinations of individual platforms are also supported via a +comma-delimited string or array of strings.

+

The official non-all values correspond to the platform names used by Electron +releases. This value is not restricted to +the official set if [[download|`download.mirrorOptions]] is set.

+

Defaults to the platform of the host computer running Electron Packager.

+

Platform values for the official prebuilt Electron binaries:

+
    +
  • darwin (macOS)
  • +
  • linux
  • +
  • mas (macOS, specifically for submitting to the Mac App Store)
  • +
  • win32
  • +
+
prebuiltAsar?: string

The path to a prebuilt ASAR file.

+

Note: Setting this option prevents the following options from being used, as the functionality +gets skipped over:

+ +
prune?: boolean

Walks the node_modules dependency tree to remove all of the packages specified in the +devDependencies section of package.json from the outputted Electron app.

+

Defaults to true.

+

Note: prune will have no effect if the prebuiltAsar option is set.

+
quiet?: boolean

If true, disables printing informational and warning messages to the console when +packaging the application. This does not disable errors.

+

Defaults to false.

+
tmpdir?: string | false

The base directory to use as a temporary directory. Set to false to disable use of a +temporary directory. Defaults to the system's temporary directory.

+

Windows

win32metadata?: Win32MetadataOptions

Application metadata to embed into the Windows executable.

+
windowsSign?: true | WindowsSignOptions

If present, signs Windows binary files. +When the value is true, pass default configuration to the signing module. See +@electron/windows-sign for sub-option descriptions and +their defaults.

+

macOS

appCategoryType?: string

The application category type, as shown in the Finder via View → Arrange by Application +Category when viewing the Applications directory.

+

For example, app-category-type=public.app-category.developer-tools will set the +application category to Developer Tools.

+

Valid values are listed in Apple's documentation.

+
darwinDarkModeSupport?: boolean

Forces support for Mojave (macOS 10.14) dark mode in your packaged app. This sets the +NSRequiresAquaSystemAppearance key to false in your app's Info.plist. For more information, +see the Electron documentation +and the Apple developer documentation.

+
extendHelperInfo?: string | {
    [property: string]: any;
}

When the value is a string, specifies the filename of a plist file. Its contents are merged +into all the Helper apps' Info.plist files. +When the value is an Object, it specifies an already-parsed plist data structure that is +merged into all the Helper apps' Info.plist files.

+

Entries from extendHelperInfo override entries in the helper apps' Info.plist file supplied by

+
    +
  • electron or electron-nightly, but are overridden by other +options such as appVersion or appBundleId.
  • +
+

Type declaration

  • [property: string]: any
extendInfo?: string | {
    [property: string]: any;
}

When the value is a string, specifies the filename of a plist file. Its contents are merged +into the app's Info.plist. +When the value is an Object, it specifies an already-parsed plist data structure that is +merged into the app's Info.plist.

+

Entries from extendInfo override entries in the base Info.plist file supplied by

+
    +
  • electron or electron-nightly, but are overridden by other +options such as appVersion or appBundleId.
  • +
+

Type declaration

  • [property: string]: any
helperBundleId?: string

The bundle identifier to use in the application helper's Info.plist.

+
osxNotarize?: NotaryToolCredentials

If present, notarizes macOS target apps when the host platform is macOS and Xcode is installed. +See @electron/notarize +for option descriptions, such as how to use appleIdPassword safely or obtain an API key.

+

Requires the osxSign option to be set.

+
osxSign?: true | OsxSignOptions

If present, signs macOS target apps when the host platform is macOS and Xcode is installed. +When the value is true, pass default configuration to the signing module. See +@electron/osx-sign for sub-option descriptions and +their defaults. Options include, but are not limited to:

+
    +
  • identity (string): The identity used when signing the package via codesign.
  • +
  • binaries (array): Path to additional binaries that will be signed along with built-ins of Electron/
  • +
+
protocols?: MacOSProtocol[]

The URL protocol schemes associated with the Electron app.

+
usageDescription?: {
    [property: string]: string;
}

Human-readable descriptions of how the Electron app uses certain macOS features. These are displayed +in the App Store. A non-exhaustive list of available properties:

+
    +
  • Camera - required for media access API usage in macOS Catalina
  • +
  • Microphone - required for media access API usage in macOS Catalina
  • +
+

Valid properties are the Cocoa keys for MacOS +of the pattern NS(.*)UsageDescription, where the captured group is the key to use.

+

Example:

+
{
usageDescription: {
Camera: 'Needed for video calls',
Microphone: 'Needed for voice calls'
}
} +
+

Type declaration

  • [property: string]: string
\ No newline at end of file diff --git a/v18.3.4/interfaces/Win32MetadataOptions.html b/v18.3.4/interfaces/Win32MetadataOptions.html new file mode 100644 index 00000000..a9423ff2 --- /dev/null +++ b/v18.3.4/interfaces/Win32MetadataOptions.html @@ -0,0 +1,17 @@ +Win32MetadataOptions | @electron/packager - v0.0.0-development

Interface Win32MetadataOptions

A collection of application metadata to embed into the Windows executable.

+
interface Win32MetadataOptions {
    CompanyName?: string;
    FileDescription?: string;
    InternalName?: string;
    OriginalFilename?: string;
    ProductName?: string;
    application-manifest?: string;
    requested-execution-level?: "asInvoker" | "highestAvailable" | "requireAdministrator";
}

Properties

CompanyName?: string

Defaults to the author name from the nearest package.json.

+
FileDescription?: string

Defaults to either productName or name from the nearest package.json.

+
InternalName?: string

Defaults to either productName or name from the nearest package.json.

+
OriginalFilename?: string

Defaults to the renamed Electron .exe file.

+
ProductName?: string

Defaults to either productName or name from the nearest package.json.

+
application-manifest?: string

Path to a local manifest file.

+

See MSDN for more details.

+
requested-execution-level?: "asInvoker" | "highestAvailable" | "requireAdministrator"

See MSDN for details.

+
\ No newline at end of file diff --git a/v18.3.4/interfaces/WindowsSignOptions.html b/v18.3.4/interfaces/WindowsSignOptions.html new file mode 100644 index 00000000..1b54a93c --- /dev/null +++ b/v18.3.4/interfaces/WindowsSignOptions.html @@ -0,0 +1,4 @@ +WindowsSignOptions | @electron/packager - v0.0.0-development

Interface WindowsSignOptions

See the documentation for @electron/windows-sign +for details.

+
interface WindowsSignOptions {
    continueOnError?: boolean;
}

Hierarchy

  • Omit<WindowsInternalSignOptions, "appDirectory">
    • WindowsSignOptions

Properties

Properties

continueOnError?: boolean
\ No newline at end of file diff --git a/v18.3.4/modules.html b/v18.3.4/modules.html new file mode 100644 index 00000000..c0c11790 --- /dev/null +++ b/v18.3.4/modules.html @@ -0,0 +1,28 @@ +@electron/packager - v0.0.0-development
\ No newline at end of file diff --git a/v18.3.4/types/ArchOption.html b/v18.3.4/types/ArchOption.html new file mode 100644 index 00000000..032b8c9e --- /dev/null +++ b/v18.3.4/types/ArchOption.html @@ -0,0 +1 @@ +ArchOption | @electron/packager - v0.0.0-development

Type alias ArchOption

ArchOption: TargetArch | "all"
\ No newline at end of file diff --git a/v18.3.4/types/FinalizePackageTargetsHookFunction.html b/v18.3.4/types/FinalizePackageTargetsHookFunction.html new file mode 100644 index 00000000..4cbcbd33 --- /dev/null +++ b/v18.3.4/types/FinalizePackageTargetsHookFunction.html @@ -0,0 +1 @@ +FinalizePackageTargetsHookFunction | @electron/packager - v0.0.0-development

Type alias FinalizePackageTargetsHookFunction

FinalizePackageTargetsHookFunction: ((targets, callback) => void)

Type declaration

\ No newline at end of file diff --git a/v18.3.4/types/HookFunction.html b/v18.3.4/types/HookFunction.html new file mode 100644 index 00000000..6b031ac3 --- /dev/null +++ b/v18.3.4/types/HookFunction.html @@ -0,0 +1,10 @@ +HookFunction | @electron/packager - v0.0.0-development

Type alias HookFunction

HookFunction: ((buildPath, electronVersion, platform, arch, callback) => void)

A function that is called on the completion of a packaging stage.

+

By default, the functions are called in parallel (via +Promise.all). +If you need the functions called serially, there is a utility function provided. Please note that +callback-style functions are not supported by serialHooks. For example:

+
const packager = require('@electron/packager')
* const { serialHooks } = require('@electron/packager/src/hooks')

packager({
// ...
afterCopy: [serialHooks([
(buildPath, electronVersion, platform, arch) => {
return new Promise((resolve, reject) => {
setTimeout(() => {
console.log('first function')
resolve()
}, 1000)
})
},
(buildPath, electronVersion, platform, arch) => {
console.log('second function')
}
])],
// ...
}) +
+

For real-world examples of HookFunctions, see the list of related +plugins.

+

Type declaration

\ No newline at end of file diff --git a/v18.3.4/types/HookFunctionErrorCallback.html b/v18.3.4/types/HookFunctionErrorCallback.html new file mode 100644 index 00000000..84aab0c1 --- /dev/null +++ b/v18.3.4/types/HookFunctionErrorCallback.html @@ -0,0 +1 @@ +HookFunctionErrorCallback | @electron/packager - v0.0.0-development

Type alias HookFunctionErrorCallback

HookFunctionErrorCallback: ((err?) => void)

Type declaration

    • (err?): void
    • Parameters

      • Optional err: Error | null

      Returns void

\ No newline at end of file diff --git a/v18.3.4/types/IgnoreFunc.html b/v18.3.4/types/IgnoreFunc.html new file mode 100644 index 00000000..b0dd6948 --- /dev/null +++ b/v18.3.4/types/IgnoreFunc.html @@ -0,0 +1 @@ +IgnoreFunc | @electron/packager - v0.0.0-development

Type alias IgnoreFunc

IgnoreFunc: ((platform, arch) => boolean)

Type declaration

    • (platform, arch): boolean
    • Parameters

      • platform: string
      • arch: string

      Returns boolean

\ No newline at end of file diff --git a/v18.3.4/types/IgnoreFunction.html b/v18.3.4/types/IgnoreFunction.html new file mode 100644 index 00000000..ca354ba8 --- /dev/null +++ b/v18.3.4/types/IgnoreFunction.html @@ -0,0 +1,4 @@ +IgnoreFunction | @electron/packager - v0.0.0-development

Type alias IgnoreFunction

IgnoreFunction: ((path) => boolean)

A predicate function that, given an absolute file path, returns true if the file should be +ignored, or false if the file should be kept. This does not use any of the default ignored +files/directories listed for the ignore option.

+

Type declaration

    • (path): boolean
    • Parameters

      • path: string

      Returns boolean

\ No newline at end of file diff --git a/v18.3.4/types/MakeUniversalOpts.html b/v18.3.4/types/MakeUniversalOpts.html new file mode 100644 index 00000000..0114fb91 --- /dev/null +++ b/v18.3.4/types/MakeUniversalOpts.html @@ -0,0 +1 @@ +MakeUniversalOpts | @electron/packager - v0.0.0-development

Type alias MakeUniversalOpts

MakeUniversalOpts: Parameters<typeof makeUniversalApp>[0]
\ No newline at end of file diff --git a/v18.3.4/types/OfficialArch.html b/v18.3.4/types/OfficialArch.html new file mode 100644 index 00000000..e86fd203 --- /dev/null +++ b/v18.3.4/types/OfficialArch.html @@ -0,0 +1,3 @@ +OfficialArch | @electron/packager - v0.0.0-development

Type alias OfficialArch

OfficialArch: "ia32" | "x64" | "armv7l" | "arm64" | "mips64el" | "universal"

Architectures that have been supported by the official Electron prebuilt binaries, past +and present.

+
\ No newline at end of file diff --git a/v18.3.4/types/OfficialPlatform.html b/v18.3.4/types/OfficialPlatform.html new file mode 100644 index 00000000..6b56fd81 --- /dev/null +++ b/v18.3.4/types/OfficialPlatform.html @@ -0,0 +1,2 @@ +OfficialPlatform | @electron/packager - v0.0.0-development

Type alias OfficialPlatform

OfficialPlatform: "linux" | "win32" | "darwin" | "mas"

Platforms that have been supported by the official Electron prebuilt binaries, past and present.

+
\ No newline at end of file diff --git a/v18.3.4/types/OsxSignOptions.html b/v18.3.4/types/OsxSignOptions.html new file mode 100644 index 00000000..22ca2946 --- /dev/null +++ b/v18.3.4/types/OsxSignOptions.html @@ -0,0 +1,2 @@ +OsxSignOptions | @electron/packager - v0.0.0-development

Type alias OsxSignOptions

OsxSignOptions: Omit<OSXInternalSignOptions, "app" | "binaries" | "platform" | "version">

See the documentation for @electron/osx-sign for details.

+
\ No newline at end of file diff --git a/v18.3.4/types/OsxUniversalOptions.html b/v18.3.4/types/OsxUniversalOptions.html new file mode 100644 index 00000000..c494cbd1 --- /dev/null +++ b/v18.3.4/types/OsxUniversalOptions.html @@ -0,0 +1,3 @@ +OsxUniversalOptions | @electron/packager - v0.0.0-development

Type alias OsxUniversalOptions

OsxUniversalOptions: Omit<MakeUniversalOpts, "x64AppPath" | "arm64AppPath" | "outAppPath" | "force">

See the documentation for @electron/universal +for details.

+
\ No newline at end of file diff --git a/v18.3.4/types/PlatformOption.html b/v18.3.4/types/PlatformOption.html new file mode 100644 index 00000000..dccd2a08 --- /dev/null +++ b/v18.3.4/types/PlatformOption.html @@ -0,0 +1 @@ +PlatformOption | @electron/packager - v0.0.0-development

Type alias PlatformOption

PlatformOption: TargetPlatform | "all"
\ No newline at end of file diff --git a/v18.3.4/types/SupportedArch.html b/v18.3.4/types/SupportedArch.html new file mode 100644 index 00000000..b1cf2b45 --- /dev/null +++ b/v18.3.4/types/SupportedArch.html @@ -0,0 +1,3 @@ +SupportedArch | @electron/packager - v0.0.0-development

Type alias SupportedArch

SupportedArch: OfficialArch | "all"

Architecture values that we actually support out of the box (not considering unofficial values provided in +download.mirrorOptions).

+
\ No newline at end of file diff --git a/v18.3.4/types/SupportedPlatform.html b/v18.3.4/types/SupportedPlatform.html new file mode 100644 index 00000000..0dce0d9a --- /dev/null +++ b/v18.3.4/types/SupportedPlatform.html @@ -0,0 +1,3 @@ +SupportedPlatform | @electron/packager - v0.0.0-development

Type alias SupportedPlatform

SupportedPlatform: OfficialPlatform | "all"

Platform values that we actually support out of the box (not considering unofficial values provided in +download.mirrorOptions).

+
\ No newline at end of file diff --git a/v18.3.4/types/TargetArch.html b/v18.3.4/types/TargetArch.html new file mode 100644 index 00000000..bd9d69c2 --- /dev/null +++ b/v18.3.4/types/TargetArch.html @@ -0,0 +1 @@ +TargetArch | @electron/packager - v0.0.0-development

Type alias TargetArch

TargetArch: OfficialArch | string
\ No newline at end of file diff --git a/v18.3.4/types/TargetDefinition.html b/v18.3.4/types/TargetDefinition.html new file mode 100644 index 00000000..90bb23d2 --- /dev/null +++ b/v18.3.4/types/TargetDefinition.html @@ -0,0 +1 @@ +TargetDefinition | @electron/packager - v0.0.0-development

Type alias TargetDefinition

TargetDefinition: {
    arch: TargetArch;
    platform: TargetPlatform;
}

Type declaration

\ No newline at end of file diff --git a/v18.3.4/types/TargetPlatform.html b/v18.3.4/types/TargetPlatform.html new file mode 100644 index 00000000..a8909887 --- /dev/null +++ b/v18.3.4/types/TargetPlatform.html @@ -0,0 +1 @@ +TargetPlatform | @electron/packager - v0.0.0-development

Type alias TargetPlatform

TargetPlatform: OfficialPlatform | string
\ No newline at end of file